PageSourceSearch

https://www.bouncie.com/api/checkout-embed/bouncie-embedded-cart/cart.min.js

js bouncie.com collected 2026-09-24 12:49:56 UTC 1,895,093 bytes, 48,411 lines download raw bytes

1var BouncieEmbeddedCart;
2/******/ (() => { // webpackBootstrap
3/******/ 	var __webpack_modules__ = ({
4
5/***/ "./node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js"
6/*!***********************************************************************************!*\
7  !*** ./node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js ***!
8  \***********************************************************************************/
9(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10
11"use strict";
12__webpack_require__.r(__webpack_exports__);
13/* harmony export */ __webpack_require__.d(__webpack_exports__, {
14/* harmony export */   "default": () => (/* binding */ createCache)
15/* harmony export */ });
16/* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/sheet */ "./node_modules/@emotion/sheet/dist/emotion-sheet.development.esm.js");
17/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Enum.js");
18/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Utility.js");
19/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Parser.js");
20/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Tokenizer.js");
21/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Serializer.js");
22/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Middleware.js");
23/* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js");
24/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js");
25
26
27
28
29
30var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
31  var previous = 0;
32  var character = 0;
33
34  while (true) {
35    previous = character;
36    character = (0,stylis__WEBPACK_IMPORTED_MODULE_4__.peek)(); // &\f
37
38    if (previous === 38 && character === 12) {
39      points[index] = 1;
40    }
41
42    if ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.token)(character)) {
43      break;
44    }
45
46    (0,stylis__WEBPACK_IMPORTED_MODULE_4__.next)();
47  }
48
49  return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.slice)(begin, stylis__WEBPACK_IMPORTED_MODULE_4__.position);
50};
51
52var toRules = function toRules(parsed, points) {
53  // pretend we've started with a comma
54  var index = -1;
55  var character = 44;
56
57  do {
58    switch ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.token)(character)) {
59      case 0:
60        // &\f
61        if (character === 38 && (0,stylis__WEBPACK_IMPORTED_MODULE_4__.peek)() === 12) {
62          // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
63          // stylis inserts \f after & to know when & where it should replace this sequence with the context selector
64          // and when it should just concatenate the outer and inner selectors
65          // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here
66          points[index] = 1;
67        }
68
69        parsed[index] += identifierWithPointTracking(stylis__WEBPACK_IMPORTED_MODULE_4__.position - 1, points, index);
70        break;
71
72      case 2:
73        parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_4__.delimit)(character);
74        break;
75
76      case 4:
77        // comma
78        if (character === 44) {
79          // colon
80          parsed[++index] = (0,stylis__WEBPACK_IMPORTED_MODULE_4__.peek)() === 58 ? '&\f' : '';
81          points[index] = parsed[index].length;
82          break;
83        }
84
85      // fallthrough
86
87      default:
88        parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_2__.from)(character);
89    }
90  } while (character = (0,stylis__WEBPACK_IMPORTED_MODULE_4__.next)());
91
92  return parsed;
93};
94
95var getRules = function getRules(value, points) {
96  return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.dealloc)(toRules((0,stylis__WEBPACK_IMPORTED_MODULE_4__.alloc)(value), points));
97}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11
98
99
100var fixedElements = /* #__PURE__ */new WeakMap();
101var compat = function compat(element) {
102  if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo
103  // negative .length indicates that this rule has been already prefixed
104  element.length < 1) {
105    return;
106  }
107
108  var value = element.value;
109  var parent = element.parent;
110  var isImplicitRule = element.column === parent.column && element.line === parent.line;
111
112  while (parent.type !== 'rule') {
113    parent = parent.parent;
114    if (!parent) return;
115  } // short-circuit for the simplest case
116
117
118  if (element.props.length === 1 && value.charCodeAt(0) !== 58
119  /* colon */
120  && !fixedElements.get(parent)) {
121    return;
122  } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)
123  // then the props has already been manipulated beforehand as they that array is shared between it and its "rule parent"
124
125
126  if (isImplicitRule) {
127    return;
128  }
129
130  fixedElements.set(element, true);
131  var points = [];
132  var rules = getRules(value, points);
133  var parentRules = parent.props;
134
135  for (var i = 0, k = 0; i < rules.length; i++) {
136    for (var j = 0; j < parentRules.length; j++, k++) {
137      element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
138    }
139  }
140};
141var removeLabel = function removeLabel(element) {
142  if (element.type === 'decl') {
143    var value = element.value;
144
145    if ( // charcode for l
146    value.charCodeAt(0) === 108 && // charcode for b
147    value.charCodeAt(2) === 98) {
148      // this ignores label
149      element["return"] = '';
150      element.value = '';
151    }
152  }
153};
154var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
155
156var isIgnoringComment = function isIgnoringComment(element) {
157  return element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;
158};
159
160var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
161  return function (element, index, children) {
162    if (element.type !== 'rule' || cache.compat) return;
163    var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
164
165    if (unsafePseudoClasses) {
166      var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
167      //
168      // considering this input:
169      // .a {
170      //   .b /* comm */ {}
171      //   color: hotpink;
172      // }
173      // we get output corresponding to this:
174      // .a {
175      //   & {
176      //     /* comm */
177      //     color: hotpink;
178      //   }
179      //   .b {}
180      // }
181
182      var commentContainer = isNested ? element.parent.children : // global rule at the root level
183      children;
184
185      for (var i = commentContainer.length - 1; i >= 0; i--) {
186        var node = commentContainer[i];
187
188        if (node.line < element.line) {
189          break;
190        } // it is quite weird but comments are *usually* put at `column: element.column - 1`
191        // so we seek *from the end* for the node that is earlier than the rule's `element` and check that
192        // this will also match inputs like this:
193        // .a {
194        //   /* comm */
195        //   .b {}
196        // }
197        //
198        // but that is fine
199        //
200        // it would be the easiest to change the placement of the comment to be the first child of the rule:
201        // .a {
202        //   .b { /* comm */ }
203        // }
204        // with such inputs we wouldn't have to search for the comment at all
205        // TODO: consider changing this comment placement in the next major version
206
207
208        if (node.column < element.column) {
209          if (isIgnoringComment(node)) {
210            return;
211          }
212
213          break;
214        }
215      }
216
217      unsafePseudoClasses.forEach(function (unsafePseudoClass) {
218        console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
219      });
220    }
221  };
222};
223
224var isImportRule = function isImportRule(element) {
225  return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
226};
227
228var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {
229  for (var i = index - 1; i >= 0; i--) {
230    if (!isImportRule(children[i])) {
231      return true;
232    }
233  }
234
235  return false;
236}; // use this to remove incorrect elements from further processing
237// so they don't get handed to the `sheet` (or anything else)
238// as that could potentially lead to additional logs which in turn could be overhelming to the user
239
240
241var nullifyElement = function nullifyElement(element) {
242  element.type = '';
243  element.value = '';
244  element["return"] = '';
245  element.children = '';
246  element.props = '';
247};
248
249var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {
250  if (!isImportRule(element)) {
251    return;
252  }
253
254  if (element.parent) {
255    console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.");
256    nullifyElement(element);
257  } else if (isPrependedWithRegularRules(index, children)) {
258    console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
259    nullifyElement(element);
260  }
261};
262
263/* eslint-disable no-fallthrough */
264
265function prefix(value, length) {
266  switch ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.hash)(value, length)) {
267    // color-adjust
268    case 5103:
269      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'print-' + value + value;
270    // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
271
272    case 5737:
273    case 4201:
274    case 3177:
275    case 3433:
276    case 1641:
277    case 4457:
278    case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
279
280    case 5572:
281    case 6356:
282    case 5844:
283    case 3191:
284    case 6645:
285    case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
286
287    case 6391:
288    case 5879:
289    case 5623:
290    case 6135:
291    case 4599:
292    case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
293
294    case 4215:
295    case 6389:
296    case 5109:
297    case 5365:
298    case 5621:
299    case 3829:
300      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + value;
301    // appearance, user-select, transform, hyphens, text-size-adjust
302
303    case 5349:
304    case 4246:
305    case 4810:
306    case 6968:
307    case 2756:
308      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MOZ + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + value + value;
309    // flex, flex-direction
310
311    case 6828:
312    case 4268:
313      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + value + value;
314    // order
315
316    case 6165:
317      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-' + value + value;
318    // align-items
319
320    case 5187:
321      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(\w+).+(:[^]+)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-$1$2' + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-$1$2') + value;
322    // align-self
323
324    case 5443:
325      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-item-' + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /flex-|-self/, '') + value;
326    // align-content
327
328    case 4675:
329      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-line-pack' 
329+ (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /align-content|flex-|-self/, '') + value;
330    // flex-shrink
331
332    case 5548:
333      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, 'shrink', 'negative') + value;
334    // flex-basis
335
336    case 5292:
337      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, 'basis', 'preferred-size') + value;
338    // flex-grow
339
340    case 6060:
341      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-' + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, '-grow', '') + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, 'grow', 'positive') + value;
342    // transition
343
344    case 4554:
345      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /([^-])(transform)/g, '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2') + value;
346    // cursor
347
348    case 6187:
349      return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)((0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)((0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(zoom-|grab)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1'), /(image-set)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1'), value, '') + value;
350    // background, background-image
351
352    case 5495:
353    case 3959:
354      return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(image-set\([^]*)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1' + '$`$1');
355    // justify-content
356
357    case 4968:
358      return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)((0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(.+:)(flex-)?(.*)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-pack:$3' + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + value;
359    // (margin|padding)-inline-(start|end)
360
361    case 4095:
362    case 3583:
363    case 4068:
364    case 2532:
365      return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(.+)-inline(.+)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1$2') + value;
366    // (min|max)?(width|height|inline-size|block-size)
367
368    case 8116:
369    case 7059:
370    case 5753:
371    case 5535:
372    case 5445:
373    case 5701:
374    case 4933:
375    case 4677:
376    case 5533:
377    case 5789:
378    case 5021:
379    case 4765:
380      // stretch, max-content, min-content, fill-available
381      if ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.strlen)(value) - 1 - length > 6) switch ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, length + 1)) {
382        // (m)ax-content, (m)in-content
383        case 109:
384          // -
385          if ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, length + 4) !== 45) break;
386        // (f)ill-available, (f)it-content
387
388        case 102:
389          return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(.+:)(.+)-([^]+)/, '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2-$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.MOZ + ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
390        // (s)tretch
391
392        case 115:
393          return ~(0,stylis__WEBPACK_IMPORTED_MODULE_2__.indexof)(value, 'stretch') ? prefix((0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, 'stretch', 'fill-available'), length) + value : value;
394      }
395      break;
396    // position: sticky
397
398    case 4949:
399      // (s)ticky?
400      if ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, length + 1) !== 115) break;
401    // display: (flex|inline-flex)
402
403    case 6444:
404      switch ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, (0,stylis__WEBPACK_IMPORTED_MODULE_2__.strlen)(value) - 3 - (~(0,stylis__WEBPACK_IMPORTED_MODULE_2__.indexof)(value, '!important') && 10))) {
405        // stic(k)y
406        case 107:
407          return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, ':', ':' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT) + value;
408        // (inline-)?fl(e)x
409
410        case 101:
411          return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + '$2box$3') + value;
412      }
413
414      break;
415    // writing-mode
416
417    case 5936:
418      switch ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, length + 11)) {
419        // vertical-l(r)
420        case 114:
421          return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
422        // vertical-r(l)
423
424        case 108:
425          return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
426        // horizontal(-)tb
427
428        case 45:
429          return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
430      }
431
432      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + value + value;
433  }
434
435  return value;
436}
437
438var prefixer = function prefixer(element, index, children, callback) {
439  if (element.length > -1) if (!element["return"]) switch (element.type) {
440    case stylis__WEBPACK_IMPORTED_MODULE_1__.DECLARATION:
441      element["return"] = prefix(element.value, element.length);
442      break;
443
444    case stylis__WEBPACK_IMPORTED_MODULE_1__.KEYFRAMES:
445      return (0,stylis__WEBPACK_IMPORTED_MODULE_5__.serialize)([(0,stylis__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {
446        value: (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(element.value, '@', '@' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT)
447      })], callback);
448
449    case stylis__WEBPACK_IMPORTED_MODULE_1__.RULESET:
450      if (element.length) return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.combine)(element.props, function (value) {
451        switch ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.match)(value, /(::plac\w+|:read-\w+)/)) {
452          // :read-(only|write)
453          case ':read-only':
454          case ':read-write':
455            return (0,stylis__WEBPACK_IMPORTED_MODULE_5__.serialize)([(0,stylis__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {
456              props: [(0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /:(read-\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_1__.MOZ + '$1')]
457            })], callback);
458          // :placeholder
459
460          case '::placeholder':
461            return (0,stylis__WEBPACK_IMPORTED_MODULE_5__.serialize)([(0,stylis__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {
462              props: [(0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /:(plac\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'input-$1')]
463            }), (0,stylis__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {
464              props: [(0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /:(plac\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_1__.MOZ + '$1')]
465            }), (0,stylis__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {
466              props: [(0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /:(plac\w+)/, stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'input-$1')]
467            })], callback);
468        }
469
470        return '';
471      });
472  }
473};
474
475var defaultStylisPlugins = [prefixer];
476var getSourceMap;
477
478{
479  var sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
480
481  getSourceMap = function getSourceMap(styles) {
482    var matches = styles.match(sourceMapPattern);
483    if (!matches) return;
484    return matches[matches.length - 1];
485  };
486}
487
488var createCache = function createCache(options) {
489  var key = options.key;
490
491  if (!key) {
492    throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + "If multiple caches share the same key they might \"fight\" for each other's style elements.");
493  }
494
495  if (key === 'css') {
496    var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
497    // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
498    // note this very very intentionally targets all style elements regardless of the key to ensure
499    // that creating a cache works inside of render of a React component
500
501    Array.prototype.forEach.call(ssrStyles, function (node) {
502      // we want to only move elements which have a space in the data-emotion attribute value
503      // because that indicates that it is an Emotion 11 server-side rendered style elements
504      // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector
505      // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)
506      // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles
507      // will not result in the Emotion 10 styles being destroyed
508      var dataEmotionAttribute = node.getAttribute('data-emotion');
509
510      if (dataEmotionAttribute.indexOf(' ') === -1) {
511        return;
512      }
513
514      document.head.appendChild(node);
515      node.setAttribute('data-s', '');
516    });
517  }
518
519  var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
520
521  {
522    if (/[^a-z-]/.test(key)) {
523      throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
524    }
525  }
526
527  var inserted = {};
528  var container;
529  var nodesToHydrate = [];
530
531  {
532    container = options.container || document.head;
533    Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
534    // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
535    document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node) {
536      var attrib = node.getAttribute("data-emotion").split(' ');
537
538      for (var i = 1; i < attrib.length; i++) {
539        inserted[attrib[i]] = true;
540      }
541
542      nodesToHydrate.push(node);
543    });
544  }
545
546  var _insert;
547
548  var omnipresentPlugins = [compat, removeLabel];
549
550  {
551    omnipresentPlugins.push(createUnsafeSelectorsAlarm({
552      get compat() {
553        return cache.compat;
554      }
555
556    }), incorrectImportAlarm);
557  }
558
559  {
560    var currentSheet;
561    var finalizingPlugins = [stylis__WEBPACK_IMPORTED_MODULE_5__.stringify, function (element) {
562      if (!element.root) {
563        if (element["return"]) {
564          currentSheet.insert(element["return"]);
565        } else if (element.value && element.type !== stylis__WEBPACK_IMPORTED_MODULE_1__.COMMENT) {
566          // insert empty rule in non-production environments
567          // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet
568          currentSheet.insert(element.value + "{}");
569        }
570      }
571    } ];
572    var serializer = (0,stylis__WEBPACK_IMPORTED_MODULE_6__.middleware)(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
573
574    var stylis = function stylis(styles) {
575      return (0,stylis__WEBPACK_IMPORTED_MODULE_5__.serialize)((0,stylis__WEBPACK_IMPORTED_MODULE_3__.compile)(styles), serializer);
576    };
577
578    _insert = function insert(selector, serialized, sheet, shouldCache) {
579      currentSheet = sheet;
580
581      if (getSourceMap) {
582        var sourceMap = getSourceMap(serialized.styles);
583
584        if (sourceMap) {
585          currentSheet = {
586            insert: function insert(rule) {
587              sheet.insert(rule + sourceMap);
588            }
589          };
590        }
591      }
592
593      stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
594
595      if (shouldCache) {
596        cache.inserted[serialized.name] = true;
597      }
598    };
599  }
600
601  var cache = {
602    key: key,
603    sheet: new _emotion_sheet__WEBPACK_IMPORTED_MODULE_0__.StyleSheet({
604      key: key,
605      container: container,
606      nonce: options.nonce,
607      speedy: options.speedy,
608      prepend: options.prepend,
609      insertionPoint: options.insertionPoint
610    }),
611    nonce: options.nonce,
612    inserted: inserted,
613    registered: {},
614    insert: _insert
615  };
616  cache.sheet.hydrate(nodesToHydrate);
617  return cache;
618};
619
620
621
622
623/***/ },
624
625/***/ "./node_modules/@emotion/hash/dist/emotion-hash.esm.js"
626/*!*************************************************************!*\
627  !*** ./node_modules/@emotion/hash/dist/emotion-hash.esm.js ***!
628  \*************************************************************/
629(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
630
631"use strict";
632__webpack_require__.r(__webpack_exports__);
633/* harmony export */ __webpack_require__.d(__webpack_exports__, {
634/* harmony export */   "default": () => (/* binding */ murmur2)
635/* harmony export */ });
636/* eslint-disable */
637// Inspired by https://github.com/garycourt/murmurhash-js
638// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
639function murmur2(str) {
640  // 'm' and 'r' are mixing constants generated offline.
641  // They're not really 'magic', they just happen to work well.
642  // const m = 0x5bd1e995;
643  // const r = 24;
644  // Initialize the hash
645  var h = 0; // Mix 4 bytes at a time into the hash
646
647  var k,
648      i = 0,
649      len = str.length;
650
651  for (; len >= 4; ++i, len -= 4) {
652    k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
653    k =
654    /* Math.imul(k, m): */
655    (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
656    k ^=
657    /* k >>> r: */
658    k >>> 24;
659    h =
660    /* Math.imul(k, m): */
661    (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
662    /* Math.imul(h, m): */
663    (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
664  } // Handle the last few bytes of the input array
665
666
667  switch (len) {
668    case 3:
669      h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
670
671    case 2:
672      h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
673
674    case 1:
675      h ^= str.charCodeAt(i) & 0xff;
676      h =
677      /* Math.imul(h, m): */
678      (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
679  } // Do a few final mixes of the hash to ensure the last few
680  // bytes are well-incorporated.
681
682
683  h ^= h >>> 13;
684  h =
685  /* Math.imul(h, m): */
686  (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
687  return ((h ^ h >>> 15) >>> 0).toString(36);
688}
689
690
691
692
693/***/ },
694
695/***/ "./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"
696/*!*******************************************************************************!*\
697  !*** ./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js ***!
698  \*******************************************************************************/
699(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
700
701"use strict";
702__webpack_require__.r(__webpack_exports__);
703/* harmony export */ __webpack_require__.d(__webpack_exports__, {
704/* harmony export */   "default": () => (/* binding */ isPropValid)
705/* harmony export */ });
706/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js");
707
708
709// eslint-disable-next-line no-undef
710var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackgroun
710d|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
711
712var isPropValid = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_0__["default"])(function (prop) {
713  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
714  /* o */
715  && prop.charCodeAt(1) === 110
716  /* n */
717  && prop.charCodeAt(2) < 91;
718}
719/* Z+1 */
720);
721
722
723
724
725/***/ },
726
727/***/ "./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"
728/*!*******************************************************************!*\
729  !*** ./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js ***!
730  \*******************************************************************/
731(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
732
733"use strict";
734__webpack_require__.r(__webpack_exports__);
735/* harmony export */ __webpack_require__.d(__webpack_exports__, {
736/* harmony export */   "default": () => (/* binding */ memoize)
737/* harmony export */ });
738function memoize(fn) {
739  var cache = Object.create(null);
740  return function (arg) {
741    if (cache[arg] === undefined) cache[arg] = fn(arg);
742    return cache[arg];
743  };
744}
745
746
747
748
749/***/ },
750
751/***/ "./node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js"
752/*!*****************************************************************************************************************!*\
753  !*** ./node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js ***!
754  \*****************************************************************************************************************/
755(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
756
757"use strict";
758__webpack_require__.r(__webpack_exports__);
759/* harmony export */ __webpack_require__.d(__webpack_exports__, {
760/* harmony export */   "default": () => (/* binding */ hoistNonReactStatics)
761/* harmony export */ });
762/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
763/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0__);
764
765
766// this file isolates this package that is not tree-shakeable
767// and if this module doesn't actually contain any logic of its own
768// then Rollup just use 'hoist-non-react-statics' directly in other chunks
769
770var hoistNonReactStatics = (function (targetComponent, sourceComponent) {
771  return hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0___default()(targetComponent, sourceComponent);
772});
773
774
775
776
777/***/ },
778
779/***/ "./node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js"
780/*!**********************************************************************************************!*\
781  !*** ./node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js ***!
782  \**********************************************************************************************/
783(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
784
785"use strict";
786__webpack_require__.r(__webpack_exports__);
787/* harmony export */ __webpack_require__.d(__webpack_exports__, {
788/* harmony export */   C: () => (/* binding */ CacheProvider),
789/* harmony export */   E: () => (/* binding */ Emotion$1),
790/* harmony export */   T: () => (/* binding */ ThemeContext),
791/* harmony export */   _: () => (/* binding */ __unsafe_useEmotionCache),
792/* harmony export */   a: () => (/* binding */ ThemeProvider),
793/* harmony export */   b: () => (/* binding */ withTheme),
vendor: 8,756 bytes, lines 794-978
794/* harmony export */   c: () => (/* binding */ createEmotionProps),
795/* harmony export */   h: () => (/* binding */ hasOwn),
796/* harmony export */   u: () => (/* binding */ useTheme),
797/* harmony export */   w: () => (/* binding */ withEmotionCache)
798/* harmony export */ });
799/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
800/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
801/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js");
802/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
803/* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js");
804/* harmony import */ var _isolated_hnrs_dist_emotion_react_isolated_hnrs_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js */ "./node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js");
805/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js");
806/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js");
807/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js");
808
809
810
811
812
813
814
815
816
817
818var EmotionCacheContext = /* #__PURE__ */react__WEBPACK_IMPORTED_MODULE_0__.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
819// because this module is primarily intended for the browser and node
820// but it's also required in react native and similar environments sometimes
821// and we could have a special build just for that
822// but this is much easier and the native packages
823// might use a different theme context in the future anyway
824typeof HTMLElement !== 'undefined' ? /* #__PURE__ */(0,_emotion_cache__WEBPACK_IMPORTED_MODULE_1__["default"])({
825  key: 'css'
826}) : null);
827
828{
829  EmotionCacheContext.displayName = 'EmotionCacheContext';
830}
831
832var CacheProvider = EmotionCacheContext.Provider;
833var __unsafe_useEmotionCache = function useEmotionCache() {
834  return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(EmotionCacheContext);
835};
836
837var withEmotionCache = function withEmotionCache(func) {
838  return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (props, ref) {
839    // the cache will never be null in the browser
840    var cache = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(EmotionCacheContext);
841    return func(props, cache, ref);
842  });
843};
844
845var ThemeContext = /* #__PURE__ */react__WEBPACK_IMPORTED_MODULE_0__.createContext({});
846
847{
848  ThemeContext.displayName = 'EmotionThemeContext';
849}
850
851var useTheme = function useTheme() {
852  return react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext);
853};
854
855var getTheme = function getTheme(outerTheme, theme) {
856  if (typeof theme === 'function') {
857    var mergedTheme = theme(outerTheme);
858
859    if ((mergedTheme == null || typeof mergedTheme !== 'object' || Array.isArray(mergedTheme))) {
860      throw new Error('[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!');
861    }
862
863    return mergedTheme;
864  }
865
866  if ((theme == null || typeof theme !== 'object' || Array.isArray(theme))) {
867    throw new Error('[ThemeProvider] Please make your theme prop a plain object');
868  }
869
870  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, outerTheme, theme);
871};
872
873var createCacheWithTheme = /* #__PURE__ */(0,_emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__["default"])(function (outerTheme) {
874  return (0,_emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__["default"])(function (theme) {
875    return getTheme(outerTheme, theme);
876  });
877});
878var ThemeProvider = function ThemeProvider(props) {
879  var theme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext);
880
881  if (props.theme !== theme) {
882    theme = createCacheWithTheme(theme)(props.theme);
883  }
884
885  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(ThemeContext.Provider, {
886    value: theme
887  }, props.children);
888};
889function withTheme(Component) {
890  var componentName = Component.displayName || Component.name || 'Component';
891  var WithTheme = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function render(props, ref) {
892    var theme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext);
893    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({
894      theme: theme,
895      ref: ref
896    }, props));
897  });
898  WithTheme.displayName = "WithTheme(" + componentName + ")";
899  return (0,_isolated_hnrs_dist_emotion_react_isolated_hnrs_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_4__["default"])(WithTheme, Component);
900}
901
902var hasOwn = {}.hasOwnProperty;
903
904var getLastPart = function getLastPart(functionName) {
905  // The match may be something like 'Object.createEmotionProps' or
906  // 'Loader.prototype.render'
907  var parts = functionName.split('.');
908  return parts[parts.length - 1];
909};
910
911var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
912  // V8
913  var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);
914  if (match) return getLastPart(match[1]); // Safari / Firefox
915
916  match = /^([A-Za-z0-9$.]+)@/.exec(line);
917  if (match) return getLastPart(match[1]);
918  return undefined;
919};
920
921var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
922// identifiers, thus we only need to replace what is a valid character for JS,
923// but not for CSS.
924
925var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
926  return identifier.replace(/\$/g, '-');
927};
928
929var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
930  if (!stackTrace) return undefined;
931  var lines = stackTrace.split('\n');
932
933  for (var i = 0; i < lines.length; i++) {
934    var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"
935
936    if (!functionName) continue; // If we reach one of these, we have gone too far and should quit
937
938    if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
939    // uppercase letter
940
941    if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
942  }
943
944  return undefined;
945};
946
947var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
948var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
949var createEmotionProps = function createEmotionProps(type, props) {
950  if (typeof props.css === 'string' && // check if there is a css declaration
951  props.css.indexOf(':') !== -1) {
952    throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + props.css + "`");
953  }
954
955  var newProps = {};
956
957  for (var _key in props) {
958    if (hasOwn.call(props, _key)) {
959      newProps[_key] = props[_key];
960    }
961  }
962
963  newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:
964  // - It causes hydration warnings when using Safari and SSR
965  // - It can degrade performance if there are a huge number of elements
966  //
967  // Even if the flag is set, we still don't compute the label if it has already
968  // been determined by the Babel plugin.
969
970  if (typeof globalThis !== 'undefined' && !!globalThis.EMOTION_RUNTIME_AUTO_LABEL && !!props.css && (typeof props.css !== 'object' || !('name' in props.css) || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {
971    var label = getLabelFromStackTrace(new Error().stack);
972    if (label) newProps[labelPropName] = label;
973  }
974
975  return newProps;
976};
977
978var Insertion = function Insertion(_ref) {
979  var cache = _ref.cache,
980      serialized = _ref.serialized,
981      isStringTag = _ref.isStringTag;
982  (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_5__.registerStyles)(cache, serialized, isStringTag);
983  (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_7__.useInsertionEffectAlwaysWithSyncFallback)(function () {
984    return (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_5__.insertStyles)(cache, serialized, isStringTag);
985  });
986
987  return null;
988};
989
990var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
991  var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
992  // not passing the registered cache to serializeStyles because it would
993  // make certain babel optimisations not possible
994
995  if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
996    cssProp = cache.registered[cssProp];
997  }
998
999  var WrappedComponent = props[typePropName];
1000  var registeredStyles = [cssProp];
1001  var className = '';
1002
1003  if (typeof props.className === 'string') {
1004    className = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_5__.getRegisteredStyles)(cache.registered, registeredStyles, props.className);
1005  } else if (props.className != null) {
1006    className = props.className + " ";
1007  }
1008
1009  var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_6__.serializeStyles)(registeredStyles, undefined, react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext));
1010
1011  if (serialized.name.indexOf('-') === -1) {
1012    var labelFromStack = props[labelPropName];
1013
1014    if (labelFromStack) {
1015      serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_6__.serializeStyles)([serialized, 'label:' + labelFromStack + ';']);
1016    }
1017  }
1018
1019  className += cache.key + "-" + serialized.name;
1020  var newProps = {};
1021
1022  for (var _key2 in props) {
1023    if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (_key2 !== labelPropName)) {
1024      newProps[_key2] = props[_key2];
1025    }
1026  }
1027
1028  newProps.className = className;
1029
1030  if (ref) {
1031    newProps.ref = ref;
1032  }
1033
1034  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Insertion, {
1035    cache: cache,
1036    serialized: serialized,
1037    isStringTag: typeof WrappedComponent === 'string'
1038  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(WrappedComponent, newProps));
1039});
1040
1041{
1042  Emotion.displayName = 'EmotionCssPropInternal';
1043}
1044
1045var Emotion$1 = Emotion;
1046
1047
1048
1049
1050/***/ },
1051
1052/***/ "./node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js"
1053/*!***********************************************************************************!*\
1054  !*** ./node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js ***!
1055  \***********************************************************************************/
1056(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1057
1058"use strict";
1059__webpack_require__.r(__webpack_exports__);
1060/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1061/* harmony export */   CacheProvider: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.C),
1062/* harmony export */   ClassNames: () => (/* binding */ ClassNames),
1063/* harmony export */   Global: () => (/* binding */ Global),
1064/* harmony export */   ThemeContext: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.T),
1065/* harmony export */   ThemeProvider: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.a),
1066/* harmony export */   __unsafe_useEmotionCache: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__._),
1067/* harmony export */   createElement: () => (/* binding */ jsx),
1068/* harmony export */   css: () => (/* binding */ css),
1069/* harmony export */   jsx: () => (/* binding */ jsx),
1070/* harmony export */   keyframes: () => (/* binding */ keyframes),
1071/* harmony export */   useTheme: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.u),
1072/* harmony export */   withEmotionCache: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.w),
1073/* harmony export */   withTheme: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.b)
1074/* harmony export */ });
1075/* harmony import */ var _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./emotion-element-489459f2.browser.development.esm.js */ "./node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
1076/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
1077/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
1078/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js");
1079/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js");
1080/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js");
1081/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js");
1082/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
1083/* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js");
1084/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
1085/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_8__);
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098var isDevelopment = true;
1099
1100var pkg = {
1101	name: "@emotion/react",
1102	version: "11.14.0",
1103	main: "dist/emotion-react.cjs.js",
1104	module: "dist/emotion-react.esm.js",
1105	types: "dist/emotion-react.cjs.d.ts",
1106	exports: {
1107		".": {
1108			types: {
1109				"import": "./dist/emotion-react.cjs.mjs",
1110				"default": "./dist/emotion-react.cjs.js"
1111			},
1112			development: {
1113				"edge-light": {
1114					module: "./dist/emotion-react.development.edge-light.esm.js",
1115					"import": "./dist/emotion-react.development.edge-light.cjs.mjs",
1116					"default": "./dist/emotion-react.development.edge-light.cjs.js"
1117				},
1118				worker: {
1119					module: "./dist/emotion-react.development.edge-light.esm.js",
1120					"import": "./dist/emotion-react.development.edge-light.cjs.mjs",
1121					"default": "./dist/emotion-react.development.edge-light.cjs.js"
1122				},
1123				workerd: {
1124					module: "./dist/emotion-react.development.edge-light.esm.js",
1125					"import": "./dist/emotion-react.development.edge-light.cjs.mjs",
1126					"default": "./dist/emotion-react.development.edge-light.cjs.js"
1127				},
1128				browser: {
1129					module: "./dist/emotion-react.browser.development.esm.js",
1130					"import": "./dist/emotion-react.browser.development.cjs.mjs",
1131					"default": "./dist/emotion-react.browser.development.cjs.js"
1132				},
1133				module: "./dist/emotion-react.development.esm.js",
1134				"import": "./dist/emotion-react.development.cjs.mjs",
1135				"default": "./dist/emotion-react.development.cjs.js"
1136			},
1137			"edge-light": {
1138				module: "./dist/emotion-react.edge-light.esm.js",
1139				"import": "./dist/emotion-react.edge-light.cjs.mjs",
1140				"default": "./dist/emotion-react.edge-light.cjs.js"
1141			},
1142			worker: {
1143				module: "./dist/emotion-react.edge-light.esm.js",
1144				"import": "./dist/emotion-react.edge-light.cjs.mjs",
1145				"default": "./dist/emotion-react.edge-light.cjs.js"
1146			},
1147			workerd: {
1148				module: "./dist/emotion-react.edge-light.esm.js",
1149				"import": "./dist/emotion-react.edge-light.cjs.mjs",
1150				"default": "./dist/emotion-react.edge-light.cjs.js"
1151			},
1152			browser: {
1153				module: "./dist/emotion-react.browser.esm.js",
1154				"import": "./dist/emotion-react.browser.cjs.mjs",
1155				"default": "./dist/emotion-react.browser.cjs.js"
1156			},
1157			module: "./dist/emotion-react.esm.js",
1158			"import": "./dist/emotion-react.cjs.mjs",
1159			"default": "./dist/emotion-react.cjs.js"
1160		},
1161		"./jsx-runtime": {
1162			types: {
1163				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
1164				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
1165			},
1166			development: {
1167				"edge-light": {
1168					module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js",
1169					"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.mjs",
1170					"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js"
1171				},
1172				worker: {
1173					module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js",
1174					"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.mjs",
1175					"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js"
1176				},
1177				workerd: {
1178					module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js",
1179					"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.mjs",
1180					"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js"
1181				},
1182				browser: {
1183					module: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js",
1184					"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.cjs.mjs",
1185					"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.cjs.js"
1186				},
1187				module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.esm.js",
1188				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.cjs.mjs",
1189				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.cjs.js"
1190			},
1191			"edge-light": {
1192				module: "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js",
1193				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.mjs",
1194				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js"
1195			},
1196			worker: {
1197				module: "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js",
1198				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.mjs",
1199				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js"
1200			},
1201			workerd: {
1202				module: "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js",
1203				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.mjs",
1204				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js"
1205			},
1206			browser: {
1207				module: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
1208				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.mjs",
1209				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.js"
1210			},
1211			module: "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js",
1212			"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
1213			"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
1214		},
1215		"./_isolated-hnrs": {
1216			types: {
1217				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
1218				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
1219			},
1220			development: {
1221				"edge-light": {
1222					module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.esm.js",
1223					"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.mjs",
1224					"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.js"
1225				},
1226				worker: {
1227					module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.esm.js",
1228					"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.mjs",
1229					"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.js"
1230				},
1231				workerd: {
1232					module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.esm.js",
1233					"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.mjs",
1234					"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.js"
1235				},
1236				browser: {
1237					module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js",
1238					"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.cjs.mjs",
1239					"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.cjs.js"
1240				},
1241				module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.esm.js",
1242				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.cjs.mjs",
1243				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.cjs.js"
1244			},
1245			"edge-light": {
1246				module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.esm.js",
1247				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.mjs",
1248				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.js"
1249			},
1250			worker: {
1251				module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.esm.js",
1252				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.mjs",
1253				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.js"
1254			},
1255			workerd: {
1256				module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.esm.js",
1257				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.mjs",
1258				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.js"
1259			},
1260			browser: {
1261				module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
1262				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.mjs",
1263				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.js"
1264			},
1265			module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js",
1266			"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
1267			"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
1268		},
1269		"./jsx-dev-runtime": {
1270			types: {
1271				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
1272				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
1273			},
1274			development: {
1275				"edge-light": {
1276					module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js",
1277					"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.mjs",
1278					"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js"
1279				},
1280				worker: {
1281					module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js",
1282					"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.mjs",
1283					"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js"
1284				},
1285				workerd: {
1286					module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js",
1287					"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.mjs",
1288					"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js"
1289				},
1290				browser: {
1291					module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.esm.js",
1292					"import": "./jsx-dev-runtime/dist
vendor: 5,760 bytes, lines 1292-1455
1292/emotion-react-jsx-dev-runtime.browser.development.cjs.mjs",
1293					"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.cjs.js"
1294				},
1295				module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.esm.js",
1296				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.cjs.mjs",
1297				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.cjs.js"
1298			},
1299			"edge-light": {
1300				module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js",
1301				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.mjs",
1302				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js"
1303			},
1304			worker: {
1305				module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js",
1306				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.mjs",
1307				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js"
1308			},
1309			workerd: {
1310				module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js",
1311				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.mjs",
1312				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js"
1313			},
1314			browser: {
1315				module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
1316				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.mjs",
1317				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js"
1318			},
1319			module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js",
1320			"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
1321			"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
1322		},
1323		"./package.json": "./package.json",
1324		"./types/css-prop": "./types/css-prop.d.ts",
1325		"./macro": {
1326			types: {
1327				"import": "./macro.d.mts",
1328				"default": "./macro.d.ts"
1329			},
1330			"default": "./macro.js"
1331		}
1332	},
1333	imports: {
1334		"#is-development": {
1335			development: "./src/conditions/true.ts",
1336			"default": "./src/conditions/false.ts"
1337		},
1338		"#is-browser": {
1339			"edge-light": "./src/conditions/false.ts",
1340			workerd: "./src/conditions/false.ts",
1341			worker: "./src/conditions/false.ts",
1342			browser: "./src/conditions/true.ts",
1343			"default": "./src/conditions/is-browser.ts"
1344		}
1345	},
1346	files: [
1347		"src",
1348		"dist",
1349		"jsx-runtime",
1350		"jsx-dev-runtime",
1351		"_isolated-hnrs",
1352		"types/css-prop.d.ts",
1353		"macro.*"
1354	],
1355	sideEffects: false,
1356	author: "Emotion Contributors",
1357	license: "MIT",
1358	scripts: {
1359		"test:typescript": "dtslint types"
1360	},
1361	dependencies: {
1362		"@babel/runtime": "^7.18.3",
1363		"@emotion/babel-plugin": "^11.13.5",
1364		"@emotion/cache": "^11.14.0",
1365		"@emotion/serialize": "^1.3.3",
1366		"@emotion/use-insertion-effect-with-fallbacks": "^1.2.0",
1367		"@emotion/utils": "^1.4.2",
1368		"@emotion/weak-memoize": "^0.4.0",
1369		"hoist-non-react-statics": "^3.3.1"
1370	},
1371	peerDependencies: {
1372		react: ">=16.8.0"
1373	},
1374	peerDependenciesMeta: {
1375		"@types/react": {
1376			optional: true
1377		}
1378	},
1379	devDependencies: {
1380		"@definitelytyped/dtslint": "0.0.112",
1381		"@emotion/css": "11.13.5",
1382		"@emotion/css-prettifier": "1.2.0",
1383		"@emotion/server": "11.11.0",
1384		"@emotion/styled": "11.14.0",
1385		"@types/hoist-non-react-statics": "^3.3.5",
1386		"html-tag-names": "^1.1.2",
1387		react: "16.14.0",
1388		"svg-tag-names": "^1.1.1",
1389		typescript: "^5.4.5"
1390	},
1391	repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
1392	publishConfig: {
1393		access: "public"
1394	},
1395	"umd:main": "dist/emotion-react.umd.min.js",
1396	preconstruct: {
1397		entrypoints: [
1398			"./index.ts",
1399			"./jsx-runtime.ts",
1400			"./jsx-dev-runtime.ts",
1401			"./_isolated-hnrs.ts"
1402		],
1403		umdName: "emotionReact",
1404		exports: {
1405			extra: {
1406				"./types/css-prop": "./types/css-prop.d.ts",
1407				"./macro": {
1408					types: {
1409						"import": "./macro.d.mts",
1410						"default": "./macro.d.ts"
1411					},
1412					"default": "./macro.js"
1413				}
1414			}
1415		}
1416	}
1417};
1418
1419var jsx = function jsx(type, props) {
1420  // eslint-disable-next-line prefer-rest-params
1421  var args = arguments;
1422
1423  if (props == null || !_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.h.call(props, 'css')) {
1424    return react__WEBPACK_IMPORTED_MODULE_1__.createElement.apply(undefined, args);
1425  }
1426
1427  var argsLength = args.length;
1428  var createElementArgArray = new Array(argsLength);
1429  createElementArgArray[0] = _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.E;
1430  createElementArgArray[1] = (0,_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.c)(type, props);
1431
1432  for (var i = 2; i < argsLength; i++) {
1433    createElementArgArray[i] = args[i];
1434  }
1435
1436  return react__WEBPACK_IMPORTED_MODULE_1__.createElement.apply(null, createElementArgArray);
1437};
1438
1439(function (_jsx) {
1440  var JSX;
1441
1442  (function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
1443})(jsx || (jsx = {}));
1444
1445var warnedAboutCssPropForGlobal = false; // maintain place over rerenders.
1446// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
1447// initial client-side render from SSR, use place of hydrating tag
1448
1449var Global = /* #__PURE__ */(0,_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.w)(function (props, cache) {
1450  if (!warnedAboutCssPropForGlobal && ( // check for className as well since the user is
1451  // probably using the custom createElement which
1452  // means it will be turned into a className prop
1453  // I don't really want to add it to the type since it shouldn't be used
1454  'className' in props && props.className || 'css' in props && props.css)) {
1455    console.error("It looks like you're using the css prop on Global, did 
vendor: 4,566 bytes, lines 1455-1609
1455you mean to use the styles prop instead?");
1456    warnedAboutCssPropForGlobal = true;
1457  }
1458
1459  var styles = props.styles;
1460  var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_4__.serializeStyles)([styles], undefined, react__WEBPACK_IMPORTED_MODULE_1__.useContext(_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.T));
1461  // but it is based on a constant that will never change at runtime
1462  // it's effectively like having two implementations and switching them out
1463  // so it's not actually breaking anything
1464
1465
1466  var sheetRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef();
1467  (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__.useInsertionEffectWithLayoutFallback)(function () {
1468    var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
1469
1470    var sheet = new cache.sheet.constructor({
1471      key: key,
1472      nonce: cache.sheet.nonce,
1473      container: cache.sheet.container,
1474      speedy: cache.sheet.isSpeedy
1475    });
1476    var rehydrating = false;
1477    var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]");
1478
1479    if (cache.sheet.tags.length) {
1480      sheet.before = cache.sheet.tags[0];
1481    }
1482
1483    if (node !== null) {
1484      rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s
1485
1486      node.setAttribute('data-emotion', key);
1487      sheet.hydrate([node]);
1488    }
1489
1490    sheetRef.current = [sheet, rehydrating];
1491    return function () {
1492      sheet.flush();
1493    };
1494  }, [cache]);
1495  (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__.useInsertionEffectWithLayoutFallback)(function () {
1496    var sheetRefCurrent = sheetRef.current;
1497    var sheet = sheetRefCurrent[0],
1498        rehydrating = sheetRefCurrent[1];
1499
1500    if (rehydrating) {
1501      sheetRefCurrent[1] = false;
1502      return;
1503    }
1504
1505    if (serialized.next !== undefined) {
1506      // insert keyframes
1507      (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.insertStyles)(cache, serialized.next, true);
1508    }
1509
1510    if (sheet.tags.length) {
1511      // if this doesn't exist then it will be null so the style element will be appended
1512      var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
1513      sheet.before = element;
1514      sheet.flush();
1515    }
1516
1517    cache.insert("", serialized, sheet, false);
1518  }, [cache, serialized.name]);
1519  return null;
1520});
1521
1522{
1523  Global.displayName = 'EmotionGlobal';
1524}
1525
1526function css() {
1527  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1528    args[_key] = arguments[_key];
1529  }
1530
1531  return (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_4__.serializeStyles)(args);
1532}
1533
1534function keyframes() {
1535  var insertable = css.apply(void 0, arguments);
1536  var name = "animation-" + insertable.name;
1537  return {
1538    name: name,
1539    styles: "@keyframes " + name + "{" + insertable.styles + "}",
1540    anim: 1,
1541    toString: function toString() {
1542      return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
1543    }
1544  };
1545}
1546
1547var classnames = function classnames(args) {
1548  var len = args.length;
1549  var i = 0;
1550  var cls = '';
1551
1552  for (; i < len; i++) {
1553    var arg = args[i];
1554    if (arg == null) continue;
1555    var toAdd = void 0;
1556
1557    switch (typeof arg) {
1558      case 'boolean':
1559        break;
1560
1561      case 'object':
1562        {
1563          if (Array.isArray(arg)) {
1564            toAdd = classnames(arg);
1565          } else {
1566            if (arg.styles !== undefined && arg.name !== undefined) {
1567              console.error('You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n' + '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component.');
1568            }
1569
1570            toAdd = '';
1571
1572            for (var k in arg) {
1573              if (arg[k] && k) {
1574                toAdd && (toAdd += ' ');
1575                toAdd += k;
1576              }
1577            }
1578          }
1579
1580          break;
1581        }
1582
1583      default:
1584        {
1585          toAdd = arg;
1586        }
1587    }
1588
1589    if (toAdd) {
1590      cls && (cls += ' ');
1591      cls += toAdd;
1592    }
1593  }
1594
1595  return cls;
1596};
1597
1598function merge(registered, css, className) {
1599  var registeredStyles = [];
1600  var rawClassName = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.getRegisteredStyles)(registered, registeredStyles, className);
1601
1602  if (registeredStyles.length < 2) {
1603    return className;
1604  }
1605
1606  return rawClassName + css(registeredStyles);
1607}
1608
1609var Insertion = function Insertion(_ref) {
1610  var cache = _ref.cache,
1611      serializedArr = _ref.serializedArr;
1612  (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__.useInsertionEffectAlwaysWithSyncFallback)(function () {
1613
1614    for (var i = 0; i < serializedArr.length; i++) {
1615      (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.insertStyles)(cache, serializedArr[i], false);
1616    }
1617  });
1618
1619  return null;
1620};
1621
1622var ClassNames = /* #__PURE__ */(0,_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.w)(function (props, cache) {
1623  var hasRendered = false;
1624  var serializedArr = [];
1625
1626  var css = function css() {
1627    if (hasRendered && isDevelopment) {
1628      throw new Error('css can only be used during render');
1629    }
1630
1631    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1632      args[_key] = arguments[_key];
1633    }
1634
1635    var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_4__.serializeStyles)(args, cache.registered);
1636    serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`
1637
1638    (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.registerStyles)(cache, serialized, false);
1639    return cache.key + "-" + serialized.name;
1640  };
1641
1642  var cx = function cx() {
1643    if (hasRendered && isDevelopment) {
1644      throw new Error('cx can only be used during render');
1645    }
1646
1647    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
1648      args[_key2] = arguments[_key2];
1649    }
1650
1651    return merge(cache.registered, css, classnames(args));
1652  };
1653
1654  var content = {
1655    css: css,
1656    cx: cx,
1657    theme: react__WEBPACK_IMPORTED_MODULE_1__.useContext(_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.T)
1658  };
1659  var ele = props.children(content);
1660  hasRendered = true;
1661  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Insertion, {
1662    cache: cache,
1663    serializedArr: serializedArr
1664  }), ele);
1665});
1666
1667{
1668  ClassNames.displayName = 'EmotionClassNames';
1669}
1670
1671{
1672  var isBrowser = typeof document !== 'undefined'; // #1727, #2905 for some reason Jest and Vitest evaluate modules twice if some consuming module gets mocked
1673
1674  var isTestEnv = typeof jest !== 'undefined' || typeof vi !== 'undefined';
1675
1676  if (isBrowser && !isTestEnv) {
1677    // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later
1678    var globalContext = typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef
1679    : isBrowser ? window : __webpack_require__.g;
1680    var globalKey = "__EMOTION_REACT_" + pkg.version.split('.')[0] + "__";
1681
1682    if (globalContext[globalKey]) {
1683      console.warn('You are loading @emotion/react when it is already loaded. Running ' + 'multiple instances may cause problems. This can happen if multiple ' + 'versions are used, or if multiple builds of the same version are ' + 'used.');
1684    }
1685
1686    globalContext[globalKey] = true;
1687  }
1688}
1689
1690
1691
1692
1693/***/ },
1694
1695/***/ "./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js"
1696/*!***********************************************************************************************************!*\
1697  !*** ./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js ***!
1698  \***********************************************************************************************************/
1699(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1700
1701"use strict";
1702__webpack_require__.r(__webpack_exports__);
1703/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1704/* harmony export */   Fragment: () => (/* binding */ Fragment),
1705/* harmony export */   jsx: () => (/* binding */ jsx),
1706/* harmony export */   jsxs: () => (/* binding */ jsxs)
1707/* harmony export */ });
1708/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
1709/* harmony import */ var _dist_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../dist/emotion-element-489459f2.browser.development.esm.js */ "./node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
1710/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
1711/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
1712/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js");
1713/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
1714/* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js");
1715/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
1716/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_6__);
1717/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js");
1718/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js");
1719/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js");
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732var Fragment = react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment;
1733var jsx = function jsx(type, props, key) {
1734  if (!_dist_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_1__.h.call(props, 'css')) {
1735    return react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(type, props, key);
1736  }
1737
1738  return react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_dist_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_1__.E, (0,_dist_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_1__.c)(type, props), key);
1739};
1740var jsxs = function jsxs(type, props, key) {
1741  if (!_dist_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_1__.h.call(props, 'css')) {
1742    return react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs(type, props, key);
1743  }
1744
1745  return react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs(_dist_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_1__.E, (0,_dist_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_1__.c)(type, props), key);
1746};
1747
1748
1749
1750
1751/***/ },
1752
1753/***/ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js"
1754/*!***********************************************************************************!*\
1755  !*** ./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js ***!
1756  \***********************************************************************************/
1757(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1758
1759"use strict";
1760__webpack_require__.r(__webpack_exports__);
1761/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1762/* harmony export */   serializeStyles: () => (/* binding */ serializeStyles)
1763/* harmony export */ });
1764/* harmony import */ var _emotion_hash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/hash */ "./node_modules/@emotion/hash/dist/emotion-hash.esm.js");
1765/* harmony import */ var _emotion_unitless__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/unitless */ "./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js");
1766/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js");
1767
1768
1769
1770
1771var isDevelopment = true;
1772
1773var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
1774var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
1775var hyphenateRegex = /[A-Z]|^ms/g;
1776var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
1777
1778var isCustomProperty = function isCustomProperty(property) {
1779  return property.charCodeAt(1) === 45;
1780};
1781
1782var isProcessableValue = function isProcessableValue(value) {
1783  return value != null && typeof value !== 'boolean';
1784};
1785
1786var processStyleName = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_2__["default"])(function (styleName) {
1787  return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
1788});
1789
1790var processStyleValue = function processStyleValue(key, value) {
1791  switch (key) {
1792    case 'animation':
1793    case 'animationName':
1794      {
1795        if (typeof value === 'string') {
1796          return value.replace(animationRegex, function (match, p1, p2) {
1797            cursor = {
1798              name: p1,
1799              styles: p2,
1800              next: cursor
1801            };
1802            return p1;
1803          });
1804        }
1805      }
1806  }
1807
1808  if (_emotion_unitless__WEBPACK_IMPORTED_MODULE_1__["default"][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
1809    return value + 'px';
1810  }
1811
1812  return value;
1813};
1814
1815{
1816  var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
1817  var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
1818  var oldProcessStyleValue = processStyleValue;
1819  var msPattern = /^-ms-/;
1820  var hyphenPattern = /-(.)/g;
1821  var hyphenatedCache = {};
1822
1823  processStyleValue = function processStyleValue(key, value) {
1824    if (key === 'content') {
1825      if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
1826        throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
1827      }
1828    }
1829
1830    var processed = oldProcessStyleValue(key, value);
1831
1832    if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
1833      hyphenatedCache[key] = true;
1834      console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
1835        return _char.toUpperCase();
1836      }) + "?");
1837    }
1838
1839    return processed;
1840  };
1841}
1842
1843var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
1844
1845function handleInterpolation(mergedProps, registered, interpolation) {
1846  if (interpolation == null) {
1847    return '';
1848  }
1849
1850  var componentSelector = interpolation;
1851
1852  if (componentSelector.__emotion_styles !== undefined) {
1853    if (String(componentSelector) === 'NO_COMPONENT_SELECTOR') {
1854      throw new Error(noComponentSelectorMessage);
1855    }
1856
1857    return componentSelector;
1858  }
1859
1860  switch (typeof interpolation) {
1861    case 'boolean':
1862      {
1863        return '';
1864      }
1865
1866    case 'object':
1867      {
1868        var keyframes = interpolation;
1869
1870        if (keyframes.anim === 1) {
1871          cursor = {
1872            name: keyframes.name,
1873            styles: keyframes.styles,
1874            next: cursor
1875          };
1876          return keyframes.name;
1877        }
1878
1879        var serializedStyles = interpolation;
1880
1881        if (serializedStyles.styles !== undefined) {
1882          var next = serializedStyles.next;
1883
1884          if (next !== undefined) {
1885            // not the most efficient thing ever but this is a pretty rare case
1886            // and there will be very few iterations of this generally
1887            while (next !== undefined) {
1888              cursor = {
1889                name: next.name,
1890                styles: next.styles,
1891                next: cursor
1892              };
1893              next = next.next;
1894            }
1895          }
1896
1897          var styles = serializedStyles.styles + ";";
1898          return styles;
1899        }
1900
1901        return createStringFromObject(mergedProps, registered, interpolation);
1902      }
1903
1904    case 'function':
1905      {
1906        if (mergedProps !== undefined) {
1907          var previousCursor = cursor;
1908          var result = interpolation(mergedProps);
1909          cursor = previousCursor;
1910          return handleInterpolation(mergedProps, registered, result);
1911        } else {
1912          console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
1913        }
1914
1915        break;
1916      }
1917
1918    case 'string':
1919      {
1920        var matched = [];
1921        var replaced = interpolation.replace(animationRegex, function (_match, _p1, p2) {
1922          var fakeVarName = "animation" + matched.length;
1923          matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
1924          return "${" + fakeVarName + "}";
1925        });
1926
1927        if (matched.length) {
1928          console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(matched, ["`" + replaced + "`"]).join('\n') + "\n\nYou should wrap it with `css` like this:\n\ncss`" + replaced + "`");
1929        }
1930      }
1931
1932      break;
1933  } // finalize string values (regular strings and functions interpolated into css calls)
1934
1935
1936  var asString = interpolation;
1937
1938  if (registered == null) {
1939    return asString;
1940  }
1941
1942  var cached = registered[asString];
1943  return cached !== undefined ? cached : asString;
1944}
1945
1946function createStringFromObject(mergedProps, registered, obj) {
1947  var string = '';
1948
1949  if (Array.isArray(obj)) {
1950    for (var i = 0; i < obj.length; i++) {
1951      string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
1952    }
1953  } else {
1954    for (var key in obj) {
1955      var value = obj[key];
1956
1957      if (typeof value !== 'object') {
1958        var asString = value;
1959
1960        if (registered != null && registered[asString] !== undefined) {
1961          string += key + "{" + registered[asString] + "}";
1962        } else if (isProcessableValue(asString)) {
1963          string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
1964        }
1965      } else {
1966        if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {
1967          throw new Error(noComponentSelectorMessage);
1968        }
1969
1970        if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
1971          for (var _i = 0; _i < value.length; _i++) {
1972            if (isProcessableValue(value[_i])) {
1973              string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
1974            }
1975          }
1976        } else {
1977          var interpolated = handleInterpolation(mergedProps, registered, value);
1978
1979          switch (key) {
1980            case 'animation':
1981            case 'animationName':
1982              {
1983                string += processStyleName(key) + ":" + interpolated + ";";
1984                break;
1985              }
1986
1987            default:
1988              {
1989                if (key === 'undefined') {
1990                  console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
1991                }
1992
1993                string += key + "{" + interpolated + "}";
1994              }
1995          }
1996        }
1997      }
1998    }
1999  }
2000
2001  return string;
2002}
2003
2004var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g; // this is the cursor for keyframes
2005// keyframes are stored on the SerializedStyles object as a linked list
2006
2007var cursor;
2008function serializeStyles(args, registered, mergedProps) {
2009  if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
2010    return args[0];
2011  }
2012
2013  var stringMode = true;
2014  var styles = '';
2015  cursor = undefined;
2016  var strings = args[0];
2017
2018  if (strings == null || strings.raw === undefined) {
2019    stringMode = false;
2020    styles += handleInterpolation(mergedProps, registered, strings);
2021  } else {
2022    var asTemplateStringsArr = strings;
2023
2024    if (asTemplateStringsArr[0] === undefined) {
2025      console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
2026    }
2027
2028    styles += asTemplateStringsArr[0];
2029  } // we start at 1 since we've already handled the first arg
2030
2031
2032  for (var i = 1; i < args.length; i++) {
2033    styles += handleInterpolation(mergedProps, registered, args[i]);
2034
2035    if (stringMode) {
2036      var templateStringsArr = strings;
2037
2038      if (templateStringsArr[i] === undefined) {
2039        console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
2040      }
2041
2042      styles += templateStringsArr[i];
2043    }
2044  } // using a global regex with .exec is stateful so lastIndex has to be reset each time
2045
2046
2047  labelPattern.lastIndex = 0;
2048  var identifierName = '';
2049  var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
2050
2051  while ((match = labelPattern.exec(styles)) !== null) {
2052    identifierName += '-' + match[1];
2053  }
2054
2055  var name = (0,_emotion_hash__WEBPACK_IMPORTED_MODULE_0__["default"])(styles) + identifierName;
2056
2057  {
2058    var devStyles = {
2059      name: name,
2060      styles: styles,
vendor: 4,777 bytes, lines 2061-2211
2061      next: cursor,
2062      toString: function toString() {
2063        return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
2064      }
2065    };
2066    return devStyles;
2067  }
2068}
2069
2070
2071
2072
2073/***/ },
2074
2075/***/ "./node_modules/@emotion/sheet/dist/emotion-sheet.development.esm.js"
2076/*!***************************************************************************!*\
2077  !*** ./node_modules/@emotion/sheet/dist/emotion-sheet.development.esm.js ***!
2078  \***************************************************************************/
2079(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2080
2081"use strict";
2082__webpack_require__.r(__webpack_exports__);
2083/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2084/* harmony export */   StyleSheet: () => (/* binding */ StyleSheet)
2085/* harmony export */ });
2086var isDevelopment = true;
2087
2088/*
2089
2090Based off glamor's StyleSheet, thanks Sunil ❤️
2091
2092high performance StyleSheet for css-in-js systems
2093
2094- uses multiple style tags behind the scenes for millions of rules
2095- uses `insertRule` for appending in production for *much* faster performance
2096
2097// usage
2098
2099import { StyleSheet } from '@emotion/sheet'
2100
2101let styleSheet = new StyleSheet({ key: '', container: document.head })
2102
2103styleSheet.insert('#box { border: 1px solid red; }')
2104- appends a css rule into the stylesheet
2105
2106styleSheet.flush()
2107- empties the stylesheet of all its contents
2108
2109*/
2110
2111function sheetForTag(tag) {
2112  if (tag.sheet) {
2113    return tag.sheet;
2114  } // this weirdness brought to you by firefox
2115
2116  /* istanbul ignore next */
2117
2118
2119  for (var i = 0; i < document.styleSheets.length; i++) {
2120    if (document.styleSheets[i].ownerNode === tag) {
2121      return document.styleSheets[i];
2122    }
2123  } // this function should always return with a value
2124  // TS can't understand it though so we make it stop complaining here
2125
2126
2127  return undefined;
2128}
2129
2130function createStyleElement(options) {
2131  var tag = document.createElement('style');
2132  tag.setAttribute('data-emotion', options.key);
2133
2134  if (options.nonce !== undefined) {
2135    tag.setAttribute('nonce', options.nonce);
2136  }
2137
2138  tag.appendChild(document.createTextNode(''));
2139  tag.setAttribute('data-s', '');
2140  return tag;
2141}
2142
2143var StyleSheet = /*#__PURE__*/function () {
2144  // Using Node instead of HTMLElement since container may be a ShadowRoot
2145  function StyleSheet(options) {
2146    var _this = this;
2147
2148    this._insertTag = function (tag) {
2149      var before;
2150
2151      if (_this.tags.length === 0) {
2152        if (_this.insertionPoint) {
2153          before = _this.insertionPoint.nextSibling;
2154        } else if (_this.prepend) {
2155          before = _this.container.firstChild;
2156        } else {
2157          before = _this.before;
2158        }
2159      } else {
2160        before = _this.tags[_this.tags.length - 1].nextSibling;
2161      }
2162
2163      _this.container.insertBefore(tag, before);
2164
2165      _this.tags.push(tag);
2166    };
2167
2168    this.isSpeedy = options.speedy === undefined ? !isDevelopment : options.speedy;
2169    this.tags = [];
2170    this.ctr = 0;
2171    this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
2172
2173    this.key = options.key;
2174    this.container = options.container;
2175    this.prepend = options.prepend;
2176    this.insertionPoint = options.insertionPoint;
2177    this.before = null;
2178  }
2179
2180  var _proto = StyleSheet.prototype;
2181
2182  _proto.hydrate = function hydrate(nodes) {
2183    nodes.forEach(this._insertTag);
2184  };
2185
2186  _proto.insert = function insert(rule) {
2187    // the max length is how many rules we have per style tag, it's 65000 in speedy mode
2188    // it's 1 in dev because we insert source maps that map a single rule to a location
2189    // and you can only have one source map per style tag
2190    if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
2191      this._insertTag(createStyleElement(this));
2192    }
2193
2194    var tag = this.tags[this.tags.length - 1];
2195
2196    {
2197      var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
2198
2199      if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {
2200        // this would only cause problem in speedy mode
2201        // but we don't want enabling speedy to affect the observable behavior
2202        // so we report this error at all times
2203        console.error("You're attempting to insert the following rule:\n" + rule + '\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');
2204      }
2205
2206      this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;
2207    }
2208
2209    if (this.isSpeedy) {
2210      var sheet = sheetForTag(tag);
2211
2212      try {
2213        // this is the ultrafast version, works across browsers
2214        // the big drawback is that the css won't be editable in devtools
2215        sheet.insertRule(rule, sheet.cssRules.length);
2216      } catch (e) {
2217        if (!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {
2218          console.error("There was a problem inserting the following rule: \"" + rule + "\"", e);
2219        }
2220      }
2221    } else {
2222      tag.appendChild(document.createTextNode(rule));
2223    }
2224
2225    this.ctr++;
2226  };
2227
2228  _proto.flush = function flush() {
2229    this.tags.forEach(function (tag) {
2230      var _tag$parentNode;
2231
2232      return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
2233    });
2234    this.tags = [];
2235    this.ctr = 0;
2236
2237    {
2238      this._alreadyInsertedOrderInsensitiveRule = false;
2239    }
2240  };
2241
2242  return StyleSheet;
2243}();
2244
2245
2246
2247
2248/***/ },
2249
2250/***/ "./node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js"
2251/*!***********************************************************************************************!*\
2252  !*** ./node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js ***!
2253  \***********************************************************************************************/
2254(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2255
2256"use strict";
2257__webpack_require__.r(__webpack_exports__);
2258/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2259/* harmony export */   "default": () => (/* binding */ createStyled)
2260/* harmony export */ });
2261/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
2262/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/react */ "./node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
2263/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js");
2264/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js");
2265/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js");
2266/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
2267/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
2268/* harmony import */ var _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/is-prop-valid */ "./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js");
2269
2270
2271
2272
2273
2274
2275
2276
2277var isDevelopment = true;
2278
2279var testOmitPropsOnStringTag = _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_6__["default"];
2280
2281var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {
2282  return key !== 'theme';
2283};
2284
2285var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) {
2286  return typeof tag === 'string' && // 96 is one less than the char code
2287  // for "a" so this is checking that
2288  // it's a lowercase character
2289  tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;
2290};
2291var composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) {
2292  var shouldForwardProp;
2293
2294  if (options) {
2295    var optionsShouldForwardProp = options.shouldForwardProp;
2296    shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName) {
2297      return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);
2298    } : optionsShouldForwardProp;
2299  }
2300
2301  if (typeof shouldForwardProp !== 'function' && isReal) {
2302    shouldForwardProp = tag.__emotion_forwardProp;
2303  }
2304
2305  return shouldForwardProp;
2306};
2307
2308var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
2309
2310var Insertion = function Insertion(_ref) {
2311  var cache = _ref.cache,
2312      serialized = _ref.serialized,
2313      isStringTag = _ref.isStringTag;
2314  (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.registerStyles)(cache, serialized, isStringTag);
2315  (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__.useInsertionEffectAlwaysWithSyncFallback)(function () {
2316    return (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.insertStyles)(cache, serialized, isStringTag);
2317  });
2318
2319  return null;
2320};
2321
2322var createStyled = function createStyled(tag, options) {
2323  {
2324    if (tag === undefined) {
2325      throw new Error('You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.');
2326    }
2327  }
2328
2329  var isReal = tag.__emotion_real === tag;
2330  var baseTag = isReal && tag.__emotion_base || tag;
2331  var identifierName;
2332  var targetClassName;
2333
2334  if (options !== undefined) {
2335    identifierName = options.label;
2336    targetClassName = options.target;
2337  }
2338
2339  var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);
2340  var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);
2341  var shouldUseAs = !defaultShouldForwardProp('as');
2342  return function () {
2343    // eslint-disable-next-line prefer-rest-params
2344    var args = arguments;
2345    var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];
2346
2347    if (identifierName !== undefined) {
2348      styles.push("label:" + identifierName + ";");
2349    }
2350
2351    if (args[0] == null || args[0].raw === undefined) {
2352      // eslint-disable-next-line prefer-spread
2353      styles.push.apply(styles, args);
2354    } else {
2355      var templateStringsArr = args[0];
2356
2357      if (templateStringsArr[0] === undefined) {
2358        console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
2359      }
2360
2361      styles.push(templateStringsArr[0]);
2362      var len = args.length;
2363      var i = 1;
2364
2365      for (; i < len; i++) {
2366        if (templateStringsArr[i] === undefined) {
2367          console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
2368        }
2369
2370        styles.push(args[i], templateStringsArr[i]);
2371      }
2372    }
2373
2374    var Styled = (0,_emotion_react__WEBPACK_IMPORTED_MODULE_1__.w)(function (props, cache, ref) {
2375      var FinalTag = shouldUseAs && props.as || baseTag;
2376      var className = '';
2377      var classInterpolations = [];
2378      var mergedProps = props;
2379
2380      if (props.theme == null) {
2381        mergedProps = {};
2382
2383        for (var key in props) {
2384          mergedProps[key] = props[key];
2385        }
2386
2387        mergedProps.theme = react__WEBPACK_IMPORTED_MODULE_5__.useContext(_emotion_react__WEBPACK_IMPORTED_MODULE_1__.T);
2388      }
2389
2390      if (typeof props.className === 'string') {
2391        className = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.getRegisteredStyles)(cache.registered, classInterpolations, props.className);
2392      } else if (props.className != null) {
2393        className = props.className + " ";
2394      }
2395
2396      var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_2__.serializeStyles)(styles.concat(classInterpolations), cache.registered, mergedProps);
2397      className += cache.key + "-" + serialized.name;
2398
2399      if (targetClassName !== undefined) {
2400        className += " " + targetClassName;
2401      }
2402
2403      var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;
2404      var newProps = {};
2405
2406      for (var _key in props) {
2407        if (shouldUseAs && _key === 'as') continue;
2408
2409        if (finalShouldForwardProp(_key)) {
2410          newProps[_key] = props[_key];
2411        }
2412      }
2413
2414      newProps.className = className;
2415
2416      if (ref) {
2417        newProps.ref = ref;
2418      }
2419
2420      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(react__WEBPACK_IMPORTED_MODULE_5__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(Insertion, {
2421        cache: cache,
2422        serialized: serialized,
2423        isStringTag: typeof FinalTag === 'string'
2424      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(FinalTag, newProps));
2425    });
2426    Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
2427    Styled.defaultProps = tag.defaultProps;
2428    Styled.__emotion_real = Styled;
2429    Styled.__emotion_base = baseTag;
2430    Styled.__emotion_styles = styles;
2431    Styled.__emotion_forwardProp = shouldForwardProp;
2432    Object.defineProperty(Styled, 'toString', {
2433      value: function value() {
2434        if (targetClassName === undefined && isDevelopment) {
2435          return 'NO_COMPONENT_SELECTOR';
2436        }
2437
2438        return "." + targetClassName;
2439      }
2440    });
2441
2442    Styled.withComponent = function (nextTag, nextOptions) {
2443      var newStyled = createStyled(nextTag, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, nextOptions, {
2444        shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
2445      }));
2446      return newStyled.apply(void 0, styles);
2447    };
2448
2449    return Styled;
2450  };
2451};
2452
2453
2454
2455
2456/***/ },
2457
2458/***/ "./node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js"
2459/*!*************************************************************************************!*\
2460  !*** ./node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js ***!
2461  \*************************************************************************************/
2462(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2463
2464"use strict";
2465__webpack_require__.r(__webpack_exports__);
2466/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2467/* harmony export */   "default": () => (/* binding */ styled)
2468/* harmony export */ });
2469/* harmony import */ var _base_dist_emotion_styled_base_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../base/dist/emotion-styled-base.browser.development.esm.js */ "./node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js");
2470/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
2471/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js");
2472/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js");
2473/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js");
2474/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
2475/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
2476/* harmony import */ var _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/is-prop-valid */ "./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js");
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486var tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', // SVG
2487'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'];
2488
2489// bind it to avoid mutating the original function
2490var styled = _base_dist_emotion_styled_base_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__["default"].bind(null);
2491tags.forEach(function (tagName) {
2492  styled[tagName] = styled(tagName);
2493});
2494
2495
2496
2497
2498/***/ },
2499
2500/***/ "./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js"
2501/*!*********************************************************************!*\
2502  !*** ./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js ***!
2503  \*********************************************************************/
2504(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2505
2506"use strict";
2507__webpack_require__.r(__webpack_exports__);
2508/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2509/* harmony export */   "default": () => (/* binding */ unitlessKeys)
2510/* harmony export */ });
2511var unitlessKeys = {
2512  animationIterationCount: 1,
2513  aspectRatio: 1,
2514  borderImageOutset: 1,
2515  borderImageSlice: 1,
2516  borderImageWidth: 1,
2517  boxFlex: 1,
2518  boxFlexGroup: 1,
2519  boxOrdinalGroup: 1,
2520  columnCount: 1,
2521  columns: 1,
2522  flex: 1,
2523  flexGrow: 1,
2524  flexPositive: 1,
2525  flexShrink: 1,
2526  flexNegative: 1,
2527  flexOrder: 1,
2528  gridRow: 1,
2529  gridRowEnd: 1,
2530  gridRowSpan: 1,
2531  gridRowStart: 1,
2532  gridColumn: 1,
2533  gridColumnEnd: 1,
2534  gridColumnSpan: 1,
2535  gridColumnStart: 1,
2536  msGridRow: 1,
2537  msGridRowSpan: 1,
2538  msGridColumn: 1,
2539  msGridColumnSpan: 1,
2540  fontWeight: 1,
2541  lineHeight: 1,
2542  opacity: 1,
2543  order: 1,
2544  orphans: 1,
2545  scale: 1,
2546  tabSize: 1,
2547  widows: 1,
2548  zIndex: 1,
2549  zoom: 1,
2550  WebkitLineClamp: 1,
2551  // SVG-related properties
2552  fillOpacity: 1,
2553  floodOpacity: 1,
2554  stopOpacity: 1,
2555  strokeDasharray: 1,
2556  strokeDashoffset: 1,
2557  strokeMiterlimit: 1,
2558  strokeOpacity: 1,
2559  strokeWidth: 1
2560};
2561
2562
2563
2564
2565/***/ },
2566
2567/***/ "./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"
2568/*!***********************************************************************************************************************************!*\
2569  !*** ./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js ***!
2570  \***********************************************************************************************************************************/
2571(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2572
2573"use strict";
2574__webpack_require__.r(__webpack_exports__);
2575/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2576/* harmony export */   useInsertionEffectAlwaysWithSyncFallback: () => (/* binding */ useInsertionEffectAlwaysWithSyncFallback),
2577/* harmony export */   useInsertionEffectWithLayoutFallback: () => (/* binding */ useInsertionEffectWithLayoutFallback)
2578/* harmony export */ });
2579/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
2580/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
2581
2582
2583var syncFallback = function syncFallback(create) {
2584  return create();
2585};
2586
2587var useInsertionEffect = react__WEBPACK_IMPORTED_MODULE_0__['useInsertion' + 'Effect'] ? react__WEBPACK_IMPORTED_MODULE_0__['useInsertion' + 'Effect'] : false;
2588var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
2589var useInsertionEffectWithLayoutFallback = useInsertionEffect || react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect;
2590
2591
2592
2593
2594/***/ },
2595
2596/***/ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"
2597/*!***********************************************************************!*\
2598  !*** ./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js ***!
2599  \***********************************************************************/
2600(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2601
2602"use strict";
2603__webpack_require__.r(__webpack_exports__);
2604/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2605/* harmony export */   getRegisteredStyles: () => (/* binding */ getRegisteredStyles),
2606/* harmony export */   insertStyles: () => (/* binding */ insertStyles),
2607/* harmony export */   registerStyles: () => (/* binding */ registerStyles)
2608/* harmony export */ });
2609var isBrowser = true;
2610
2611function getRegisteredStyles(registered, registeredStyles, classNames) {
2612  var rawClassName = '';
2613  classNames.split(' ').forEach(function (className) {
2614    if (registered[className] !== undefined) {
2615      registeredStyles.push(registered[className] + ";");
2616    } else if (className) {
2617      rawClassName += className + " ";
2618    }
2619  });
2620  return rawClassName;
2621}
2622var registerStyles = function registerStyles(cache, serialized, isStringTag) {
2623  var className = cache.key + "-" + serialized.name;
2624
2625  if ( // we only need to add the styles to the registered cache if the
2626  // class name could be used further down
2627  // the tree but if it's a string tag, we know it won't
2628  // so we don't have to add it to registered cache.
2629  // this improves memory usage since we can avoid storing the whole style string
2630  (isStringTag === false || // we need to always store it if we're in compat mode and
2631  // in node since emotion-server relies on whether a style is in
2632  // the registered cache to know whether a style is global or not
2633  // also, note that this check will be dead code eliminated in the browser
2634  isBrowser === false ) && cache.registered[className] === undefined) {
2635    cache.registered[className] = serialized.styles;
2636  }
2637};
2638var insertStyles = function insertStyles(cache, serialized, isStringTag) {
2639  registerStyles(cache, serialized, isStringTag);
2640  var className = cache.key + "-" + serialized.name;
2641
2642  if (cache.inserted[serialized.name] === undefined) {
2643    var current = serialized;
2644
2645    do {
2646      cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
2647
2648      current = current.next;
2649    } while (current !== undefined);
2650  }
2651};
2652
2653
2654
2655
2656/***/ },
2657
2658/***/ "./node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js"
2659/*!*****************************************************************************!*\
2660  !*** ./node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js ***!
2661  \*****************************************************************************/
2662(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2663
2664"use strict";
2665__webpack_require__.r(__webpack_exports__);
2666/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2667/* harmony export */   "default": () => (/* binding */ weakMemoize)
2668/* harmony export */ });
2669var weakMemoize = function weakMemoize(func) {
2670  var cache = new WeakMap();
2671  return function (arg) {
2672    if (cache.has(arg)) {
2673      // Use non-null assertion because we just checked that the cache `has` it
2674      // This allows us to remove `undefined` from the return value
2675      return cache.get(arg);
2676    }
2677
2678    var ret = func(arg);
2679    cache.set(arg, ret);
2680    return ret;
2681  };
2682};
2683
2684
2685
2686
2687/***/ },
2688
2689/***/ "./node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js"
2690/*!***********************************************************************************!*\
2691  !*** ./node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js ***!
2692  \***********************************************************************************/
2693(__unused_webpack_module, exports) {
2694
2695"use strict";
2696/**
2697 * @license React
2698 * react-is.development.js
2699 *
2700 * Copyright (c) Meta Platforms, Inc. and affiliates.
2701 *
2702 * This source code is licensed under the MIT license found in the
2703 * LICENSE file in the root directory of this source tree.
2704 */
2705
2706
2707 true &&
2708  (function () {
2709    function typeOf(object) {
2710      if ("object" === typeof object && null !== object) {
2711        var $$typeof = object.$$typeof;
2712        switch ($$typeof) {
2713          case REACT_ELEMENT_TYPE:
2714            switch (((object = object.type), object)) {
2715              case REACT_FRAGMENT_TYPE:
2716              case REACT_PROFILER_TYPE:
2717              case REACT_STRICT_MODE_TYPE:
2718              case REACT_SUSPENSE_TYPE:
2719              case REACT_SUSPENSE_LIST_TYPE:
2720              case REACT_VIEW_TRANSITION_TYPE:
2721                return object;
2722              default:
2723                switch (((object = object && object.$$typeof), object)) {
2724                  case REACT_CONTEXT_TYPE:
2725                  case REACT_FORWARD_REF_TYPE:
2726                  case REACT_LAZY_TYPE:
2727                  case REACT_MEMO_TYPE:
2728                    return object;
2729                  case REACT_CONSUMER_TYPE:
2730                    return object;
2731                  default:
2732                    return $$typeof;
2733                }
2734            }
2735          case REACT_PORTAL_TYPE:
2736            return $$typeof;
2737        }
2738      }
2739    }
2740    var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
2741      REACT_PORTAL_TYPE = Symbol.for("react.portal"),
2742      REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
2743      REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
2744      REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2745    Symbol.for("react.provider");
2746    var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
2747      REACT_CONTEXT_TYPE = Symbol.for("react.context"),
2748      REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
2749      REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
2750      REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
2751      REACT_MEMO_TYPE = Symbol.for("react.memo"),
2752      REACT_LAZY_TYPE = Symbol.for("react.lazy"),
2753      REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
2754      REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
2755    exports.ContextConsumer = REACT_CONSUMER_TYPE;
2756    exports.ContextProvider = REACT_CONTEXT_TYPE;
2757    exports.Element = REACT_ELEMENT_TYPE;
2758    exports.ForwardRef = REACT_FORWARD_REF_TYPE;
2759    exports.Fragment = REACT_FRAGMENT_TYPE;
2760    exports.Lazy = REACT_LAZY_TYPE;
2761    exports.Memo = REACT_MEMO_TYPE;
2762    exports.Portal = REACT_PORTAL_TYPE;
2763    exports.Profiler = REACT_PROFILER_TYPE;
2764    exports.StrictMode = REACT_STRICT_MODE_TYPE;
2765    exports.Suspense = REACT_SUSPENSE_TYPE;
2766    exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
2767    exports.isContextConsumer = function (object) {
2768      return typeOf(object) === REACT_CONSUMER_TYPE;
2769    };
2770    exports.isContextProvider = function (object) {
2771      return typeOf(object) === REACT_CONTEXT_TYPE;
2772    };
2773    exports.isElement = function (object) {
2774      return (
2775        "object" === typeof object &&
2776        null !== object &&
2777        object.$$typeof === REACT_ELEMENT_TYPE
2778      );
2779    };
2780    exports.isForwardRef = function (object) {
2781      return typeOf(object) === REACT_FORWARD_REF_TYPE;
2782    };
2783    exports.isFragment = function (object) {
2784      return typeOf(object) === REACT_FRAGMENT_TYPE;
2785    };
2786    exports.isLazy = function (object) {
2787      return typeOf(object) === REACT_LAZY_TYPE;
2788    };
2789    exports.isMemo = function (object) {
2790      return typeOf(object) === REACT_MEMO_TYPE;
2791    };
2792    exports.isPortal = function (object) {
2793      return typeOf(object) === REACT_PORTAL_TYPE;
2794    };
2795    exports.isProfiler = function (object) {
2796      return typeOf(object) === REACT_PROFILER_TYPE;
2797    };
2798    exports.isStrictMode = function (object) {
2799      return typeOf(object) === REACT_STRICT_MODE_TYPE;
2800    };
2801    exports.isSuspense = function (object) {
2802      return typeOf(object) === REACT_SUSPENSE_TYPE;
2803    };
2804    exports.isSuspenseList = function (object) {
2805      return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
2806    };
2807    exports.isValidElementType = function (type) {
2808      return "string" === typeof type ||
2809        "function" === typeof type ||
2810        type === REACT_FRAGMENT_TYPE ||
2811        type === REACT_PROFILER_TYPE ||
2812        type === REACT_STRICT_MODE_TYPE ||
2813        type === REACT_SUSPENSE_TYPE ||
2814        type === REACT_SUSPENSE_LIST_TYPE ||
2815        ("object" === typeof type &&
2816          null !== type &&
2817          (type.$$typeof === REACT_LAZY_TYPE ||
2818            type.$$typeof === REACT_MEMO_TYPE ||
2819            type.$$typeof === REACT_CONTEXT_TYPE ||
2820            type.$$typeof === REACT_CONSUMER_TYPE ||
2821            type.$$typeof === REACT_FORWARD_REF_TYPE ||
2822            type.$$typeof === REACT_CLIENT_REFERENCE ||
2823            void 0 !== type.getModuleId))
2824        ? !0
2825        : !1;
2826    };
2827    exports.typeOf = typeOf;
2828  })();
2829
2830
2831/***/ },
2832
2833/***/ "./app/_components/LoadingSpinner.jsx"
2834/*!********************************************!*\
2835  !*** ./app/_components/LoadingSpinner.jsx ***!
2836  \********************************************/
2837(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2838
2839"use strict";
2840__webpack_require__.r(__webpack_exports__);
2841/* harmony export */ __webpack_require__.d(__webpack_exports__, {
2842/* harmony export */   RoundLoadingAnimation: () => (/* binding */ RoundLoadingAnimation),
2843/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2844/* harmony export */ });
2845/* harmony import */ var _emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/react/jsx-runtime */ "./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js");
2846/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system */ "./node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js");
2847/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/@mui/material/esm/Box/Box.js");
2848
2849
2850
2851const spinnerDefaultBorderColor = "#A5A5A5";
2852const spin = (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__.keyframes)({
2853  "0%": {
2854    transform: "rotate(0deg)"
2855  },
2856  "100%": {
2857    transform: "rotate(360deg)"
2858  }
2859});
2860const RoundLoadingAnimation = ({
2861  size = 40,
2862  primaryColor = "",
2863  animationSpeed = "500ms",
2864  secondaryColor = "",
2865  circumferenceWidth = 5
2866}) => /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
2867  _mui_material__WEBPACK_IMPORTED_MODULE_2__["default"],
2868  {
2869    sx: (theme) => ({
2870      border: `${circumferenceWidth}px solid ${primaryColor ? primaryColor : spinnerDefaultBorderColor}`,
2871      borderRadius: "50%",
2872      borderTop: `${circumferenceWidth}px solid ${secondaryColor ? secondaryColor : theme.palette.page.light}`,
2873      width: size,
2874      height: size,
2875      animation: `${spin} ${animationSpeed} linear infinite`
2876    })
2877  }
2878);
2879/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RoundLoadingAnimation);
2880
2881
2882/***/ },
2883
2884/***/ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"
2885/*!**********************************************************************************!*\
2886  !*** ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js ***!
2887  \**********************************************************************************/
2888(module, __unused_webpack_exports, __webpack_require__) {
2889
2890"use strict";
2891
2892
2893var reactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
2894
2895/**
2896 * Copyright 2015, Yahoo! Inc.
2897 * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
2898 */
2899var REACT_STATICS = {
2900  childContextTypes: true,
2901  contextType: true,
2902  contextTypes: true,
2903  defaultProps: true,
2904  displayName: true,
2905  getDefaultProps: true,
2906  getDerivedStateFromError: true,
2907  getDerivedStateFromProps: true,
2908  mixins: true,
2909  propTypes: true,
vendor: 2,579 bytes, lines 2910-3008
2910  type: true
2911};
2912var KNOWN_STATICS = {
2913  name: true,
2914  length: true,
2915  prototype: true,
2916  caller: true,
2917  callee: true,
2918  arguments: true,
2919  arity: true
2920};
2921var FORWARD_REF_STATICS = {
2922  '$$typeof': true,
2923  render: true,
2924  defaultProps: true,
2925  displayName: true,
2926  propTypes: true
2927};
2928var MEMO_STATICS = {
2929  '$$typeof': true,
2930  compare: true,
2931  defaultProps: true,
2932  displayName: true,
2933  propTypes: true,
2934  type: true
2935};
2936var TYPE_STATICS = {};
2937TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
2938TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
2939
2940function getStatics(component) {
2941  // React v16.11 and below
2942  if (reactIs.isMemo(component)) {
2943    return MEMO_STATICS;
2944  } // React v16.12 and above
2945
2946
2947  return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
2948}
2949
2950var defineProperty = Object.defineProperty;
2951var getOwnPropertyNames = Object.getOwnPropertyNames;
2952var getOwnPropertySymbols = Object.getOwnPropertySymbols;
2953var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2954var getPrototypeOf = Object.getPrototypeOf;
2955var objectPrototype = Object.prototype;
2956function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
2957  if (typeof sourceComponent !== 'string') {
2958    // don't hoist over string (html) components
2959    if (objectPrototype) {
2960      var inheritedComponent = getPrototypeOf(sourceComponent);
2961
2962      if (inheritedComponent && inheritedComponent !== objectPrototype) {
2963        hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
2964      }
2965    }
2966
2967    var keys = getOwnPropertyNames(sourceComponent);
2968
2969    if (getOwnPropertySymbols) {
2970      keys = keys.concat(getOwnPropertySymbols(sourceComponent));
2971    }
2972
2973    var targetStatics = getStatics(targetComponent);
2974    var sourceStatics = getStatics(sourceComponent);
2975
2976    for (var i = 0; i < keys.length; ++i) {
2977      var key = keys[i];
2978
2979      if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
2980        var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
2981
2982        try {
2983          // Avoid failures from read-only properties
2984          defineProperty(targetComponent, key, descriptor);
2985        } catch (e) {}
2986      }
2987    }
2988  }
2989
2990  return targetComponent;
2991}
2992
2993module.exports = hoistNonReactStatics;
2994
2995
2996/***/ },
2997
2998/***/ "./node_modules/object-assign/index.js"
2999/*!*********************************************!*\
3000  !*** ./node_modules/object-assign/index.js ***!
3001  \*********************************************/
3002(module) {
3003
3004"use strict";
3005/*
3006object-assign
3007(c) Sindre Sorhus
3008@license MIT
vendor: 16,309 bytes, lines 3009-3475
3009*/
3010
3011
3012/* eslint-disable no-unused-vars */
3013var getOwnPropertySymbols = Object.getOwnPropertySymbols;
3014var hasOwnProperty = Object.prototype.hasOwnProperty;
3015var propIsEnumerable = Object.prototype.propertyIsEnumerable;
3016
3017function toObject(val) {
3018	if (val === null || val === undefined) {
3019		throw new TypeError('Object.assign cannot be called with null or undefined');
3020	}
3021
3022	return Object(val);
3023}
3024
3025function shouldUseNative() {
3026	try {
3027		if (!Object.assign) {
3028			return false;
3029		}
3030
3031		// Detect buggy property enumeration order in older V8 versions.
3032
3033		// https://bugs.chromium.org/p/v8/issues/detail?id=4118
3034		var test1 = new String('abc');  // eslint-disable-line no-new-wrappers
3035		test1[5] = 'de';
3036		if (Object.getOwnPropertyNames(test1)[0] === '5') {
3037			return false;
3038		}
3039
3040		// https://bugs.chromium.org/p/v8/issues/detail?id=3056
3041		var test2 = {};
3042		for (var i = 0; i < 10; i++) {
3043			test2['_' + String.fromCharCode(i)] = i;
3044		}
3045		var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
3046			return test2[n];
3047		});
3048		if (order2.join('') !== '0123456789') {
3049			return false;
3050		}
3051
3052		// https://bugs.chromium.org/p/v8/issues/detail?id=3056
3053		var test3 = {};
3054		'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
3055			test3[letter] = letter;
3056		});
3057		if (Object.keys(Object.assign({}, test3)).join('') !==
3058				'abcdefghijklmnopqrst') {
3059			return false;
3060		}
3061
3062		return true;
3063	} catch (err) {
3064		// We don't expect any of the above to throw, but better to be safe.
3065		return false;
3066	}
3067}
3068
3069module.exports = shouldUseNative() ? Object.assign : function (target, source) {
3070	var from;
3071	var to = toObject(target);
3072	var symbols;
3073
3074	for (var s = 1; s < arguments.length; s++) {
3075		from = Object(arguments[s]);
3076
3077		for (var key in from) {
3078			if (hasOwnProperty.call(from, key)) {
3079				to[key] = from[key];
3080			}
3081		}
3082
3083		if (getOwnPropertySymbols) {
3084			symbols = getOwnPropertySymbols(from);
3085			for (var i = 0; i < symbols.length; i++) {
3086				if (propIsEnumerable.call(from, symbols[i])) {
3087					to[symbols[i]] = from[symbols[i]];
3088				}
3089			}
3090		}
3091	}
3092
3093	return to;
3094};
3095
3096
3097/***/ },
3098
3099/***/ "./node_modules/prop-types/checkPropTypes.js"
3100/*!***************************************************!*\
3101  !*** ./node_modules/prop-types/checkPropTypes.js ***!
3102  \***************************************************/
3103(module, __unused_webpack_exports, __webpack_require__) {
3104
3105"use strict";
3106/**
3107 * Copyright (c) 2013-present, Facebook, Inc.
3108 *
3109 * This source code is licensed under the MIT license found in the
3110 * LICENSE file in the root directory of this source tree.
3111 */
3112
3113
3114
3115var printWarning = function() {};
3116
3117if (true) {
3118  var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js");
3119  var loggedTypeFailures = {};
3120  var has = __webpack_require__(/*! ./lib/has */ "./node_modules/prop-types/lib/has.js");
3121
3122  printWarning = function(text) {
3123    var message = 'Warning: ' + text;
3124    if (typeof console !== 'undefined') {
3125      console.error(message);
3126    }
3127    try {
3128      // --- Welcome to debugging React ---
3129      // This error was thrown as a convenience so that you can use this stack
3130      // to find the callsite that caused this warning to fire.
3131      throw new Error(message);
3132    } catch (x) { /**/ }
3133  };
3134}
3135
3136/**
3137 * Assert that the values match with the type specs.
3138 * Error messages are memorized and will only be shown once.
3139 *
3140 * @param {object} typeSpecs Map of name to a ReactPropType
3141 * @param {object} values Runtime values that need to be type-checked
3142 * @param {string} location e.g. "prop", "context", "child context"
3143 * @param {string} componentName Name of the component for error messages.
3144 * @param {?Function} getStack Returns the component stack.
3145 * @private
3146 */
3147function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
3148  if (true) {
3149    for (var typeSpecName in typeSpecs) {
3150      if (has(typeSpecs, typeSpecName)) {
3151        var error;
3152        // Prop type validation may throw. In case they do, we don't want to
3153        // fail the render phase where it didn't fail before. So we log it.
3154        // After these have been cleaned up, we'll let them throw.
3155        try {
3156          // This is intentionally an invariant that gets caught. It's the same
3157          // behavior as without this statement except with a better message.
3158          if (typeof typeSpecs[typeSpecName] !== 'function') {
3159            var err = Error(
3160              (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
3161              'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
3162              'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
3163            );
3164            err.name = 'Invariant Violation';
3165            throw err;
3166          }
3167          error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
3168        } catch (ex) {
3169          error = ex;
3170        }
3171        if (error && !(error instanceof Error)) {
3172          printWarning(
3173            (componentName || 'React class') + ': type specification of ' +
3174            location + ' `' + typeSpecName + '` is invalid; the type checker ' +
3175            'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
3176            'You may have forgotten to pass an argument to the type checker ' +
3177            'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
3178            'shape all require an argument).'
3179          );
3180        }
3181        if (error instanceof Error && !(error.message in loggedTypeFailures)) {
3182          // Only monitor this failure once because there tends to be a lot of the
3183          // same error.
3184          loggedTypeFailures[error.message] = true;
3185
3186          var stack = getStack ? getStack() : '';
3187
3188          printWarning(
3189            'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
3190          );
3191        }
3192      }
3193    }
3194  }
3195}
3196
3197/**
3198 * Resets warning cache when testing.
3199 *
3200 * @private
3201 */
3202checkPropTypes.resetWarningCache = function() {
3203  if (true) {
3204    loggedTypeFailures = {};
3205  }
3206}
3207
3208module.exports = checkPropTypes;
3209
3210
3211/***/ },
3212
3213/***/ "./node_modules/prop-types/factoryWithTypeCheckers.js"
3214/*!************************************************************!*\
3215  !*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***!
3216  \************************************************************/
3217(module, __unused_webpack_exports, __webpack_require__) {
3218
3219"use strict";
3220/**
3221 * Copyright (c) 2013-present, Facebook, Inc.
3222 *
3223 * This source code is licensed under the MIT license found in the
3224 * LICENSE file in the root directory of this source tree.
3225 */
3226
3227
3228
3229var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
3230var assign = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js");
3231
3232var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js");
3233var has = __webpack_require__(/*! ./lib/has */ "./node_modules/prop-types/lib/has.js");
3234var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "./node_modules/prop-types/checkPropTypes.js");
3235
3236var printWarning = function() {};
3237
3238if (true) {
3239  printWarning = function(text) {
3240    var message = 'Warning: ' + text;
3241    if (typeof console !== 'undefined') {
3242      console.error(message);
3243    }
3244    try {
3245      // --- Welcome to debugging React ---
3246      // This error was thrown as a convenience so that you can use this stack
3247      // to find the callsite that caused this warning to fire.
3248      throw new Error(message);
3249    } catch (x) {}
3250  };
3251}
3252
3253function emptyFunctionThatReturnsNull() {
3254  return null;
3255}
3256
3257module.exports = function(isValidElement, throwOnDirectAccess) {
3258  /* global Symbol */
3259  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
3260  var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
3261
3262  /**
3263   * Returns the iterator method function contained on the iterable object.
3264   *
3265   * Be sure to invoke the function with the iterable as context:
3266   *
3267   *     var iteratorFn = getIteratorFn(myIterable);
3268   *     if (iteratorFn) {
3269   *       var iterator = iteratorFn.call(myIterable);
3270   *       ...
3271   *     }
3272   *
3273   * @param {?object} maybeIterable
3274   * @return {?function}
3275   */
3276  function getIteratorFn(maybeIterable) {
3277    var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
3278    if (typeof iteratorFn === 'function') {
3279      return iteratorFn;
3280    }
3281  }
3282
3283  /**
3284   * Collection of methods that allow declaration and validation of props that are
3285   * supplied to React components. Example usage:
3286   *
3287   *   var Props = require('ReactPropTypes');
3288   *   var MyArticle = React.createClass({
3289   *     propTypes: {
3290   *       // An optional string prop named "description".
3291   *       description: Props.string,
3292   *
3293   *       // A required enum prop named "category".
3294   *       category: Props.oneOf(['News','Photos']).isRequired,
3295   *
3296   *       // A prop named "dialog" that requires an instance of Dialog.
3297   *       dialog: Props.instanceOf(Dialog).isRequired
3298   *     },
3299   *     render: function() { ... }
3300   *   });
3301   *
3302   * A more formal specification of how these methods are used:
3303   *
3304   *   type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
3305   *   decl := ReactPropTypes.{type}(.isRequired)?
3306   *
3307   * Each and every declaration produces a function with the same signature. This
3308   * allows the creation of custom validation functions. For example:
3309   *
3310   *  var MyLink = React.createClass({
3311   *    propTypes: {
3312   *      // An optional string or URI prop named "href".
3313   *      href: function(props, propName, componentName) {
3314   *        var propValue = props[propName];
3315   *        if (propValue != null && typeof propValue !== 'string' &&
3316   *            !(propValue instanceof URI)) {
3317   *          return new Error(
3318   *            'Expected a string or an URI for ' + propName + ' in ' +
3319   *            componentName
3320   *          );
3321   *        }
3322   *      }
3323   *    },
3324   *    render: function() {...}
3325   *  });
3326   *
3327   * @internal
3328   */
3329
3330  var ANONYMOUS = '<<anonymous>>';
3331
3332  // Important!
3333  // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
3334  var ReactPropTypes = {
3335    array: createPrimitiveTypeChecker('array'),
3336    bigint: createPrimitiveTypeChecker('bigint'),
3337    bool: createPrimitiveTypeChecker('boolean'),
3338    func: createPrimitiveTypeChecker('function'),
3339    number: createPrimitiveTypeChecker('number'),
3340    object: createPrimitiveTypeChecker('object'),
3341    string: createPrimitiveTypeChecker('string'),
3342    symbol: createPrimitiveTypeChecker('symbol'),
3343
3344    any: createAnyTypeChecker(),
3345    arrayOf: createArrayOfTypeChecker,
3346    element: createElementTypeChecker(),
3347    elementType: createElementTypeTypeChecker(),
3348    instanceOf: createInstanceTypeChecker,
3349    node: createNodeChecker(),
3350    objectOf: createObjectOfTypeChecker,
3351    oneOf: createEnumTypeChecker,
3352    oneOfType: createUnionTypeChecker,
3353    shape: createShapeTypeChecker,
3354    exact: createStrictShapeTypeChecker,
3355  };
3356
3357  /**
3358   * inlined Object.is polyfill to avoid requiring consumers ship their own
3359   * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
3360   */
3361  /*eslint-disable no-self-compare*/
3362  function is(x, y) {
3363    // SameValue algorithm
3364    if (x === y) {
3365      // Steps 1-5, 7-10
3366      // Steps 6.b-6.e: +0 != -0
3367      return x !== 0 || 1 / x === 1 / y;
3368    } else {
3369      // Step 6.a: NaN == NaN
3370      return x !== x && y !== y;
3371    }
3372  }
3373  /*eslint-enable no-self-compare*/
3374
3375  /**
3376   * We use an Error-like object for backward compatibility as people may call
3377   * PropTypes directly and inspect their output. However, we don't use real
3378   * Errors anymore. We don't inspect their stack anyway, and creating them
3379   * is prohibitively expensive if they are created too often, such as what
3380   * happens in oneOfType() for any type before the one that matched.
3381   */
3382  function PropTypeError(message, data) {
3383    this.message = message;
3384    this.data = data && typeof data === 'object' ? data: {};
3385    this.stack = '';
3386  }
3387  // Make `instanceof Error` still work for returned errors.
3388  PropTypeError.prototype = Error.prototype;
3389
3390  function createChainableTypeChecker(validate) {
3391    if (true) {
3392      var manualPropTypeCallCache = {};
3393      var manualPropTypeWarningCount = 0;
3394    }
3395    function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
3396      componentName = componentName || ANONYMOUS;
3397      propFullName = propFullName || propName;
3398
3399      if (secret !== ReactPropTypesSecret) {
3400        if (throwOnDirectAccess) {
3401          // New behavior only for users of `prop-types` package
3402          var err = new Error(
3403            'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
3404            'Use `PropTypes.checkPropTypes()` to call them. ' +
3405            'Read more at http://fb.me/use-check-prop-types'
3406          );
3407          err.name = 'Invariant Violation';
3408          throw err;
3409        } else if ( true && typeof console !== 'undefined') {
3410          // Old behavior for people using React.PropTypes
3411          var cacheKey = componentName + ':' + propName;
3412          if (
3413            !manualPropTypeCallCache[cacheKey] &&
3414            // Avoid spamming the console because they are often not actionable except for lib authors
3415            manualPropTypeWarningCount < 3
3416          ) {
3417            printWarning(
3418              'You are manually calling a React.PropTypes validation ' +
3419              'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
3420              'and will throw in the standalone `prop-types` package. ' +
3421              'You may be seeing this warning due to a third-party PropTypes ' +
3422              'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
3423            );
3424            manualPropTypeCallCache[cacheKey] = true;
3425            manualPropTypeWarningCount++;
3426          }
3427        }
3428      }
3429      if (props[propName] == null) {
3430        if (isRequired) {
3431          if (props[propName] === null) {
3432            return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
3433          }
3434          return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
3435        }
3436        return null;
3437      } else {
3438        return validate(props, propName, componentName, location, propFullName);
3439      }
3440    }
3441
3442    var chainedCheckType = checkType.bind(null, false);
3443    chainedCheckType.isRequired = checkType.bind(null, true);
3444
3445    return chainedCheckType;
3446  }
3447
3448  function createPrimitiveTypeChecker(expectedType) {
3449    function validate(props, propName, componentName, location, propFullName, secret) {
3450      var propValue = props[propName];
3451      var propType = getPropType(propValue);
3452      if (propType !== expectedType) {
3453        // `propValue` being instance of, say, date/regexp, pass the 'object'
3454        // check, but we can offer a more precise error message here rather than
3455        // 'of type `object`'.
3456        var preciseType = getPreciseType(propValue);
3457
3458        return new PropTypeError(
3459          'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
3460          {expectedType: expectedType}
3461        );
3462      }
3463      return null;
3464    }
3465    return createChainableTypeChecker(validate);
3466  }
3467
3468  function createAnyTypeChecker() {
3469    return createChainableTypeChecker(emptyFunctionThatReturnsNull);
3470  }
3471
3472  function createArrayOfTypeChecker(typeChecker) {
3473    function validate(props, propName, componentName, location, propFullName) {
3474      if (typeof typeChecker !== 'function') {
3475        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invali
vendor: 4,256 bytes, lines 3475-3572
3475d PropType notation inside arrayOf.');
3476      }
3477      var propValue = props[propName];
3478      if (!Array.isArray(propValue)) {
3479        var propType = getPropType(propValue);
3480        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
3481      }
3482      for (var i = 0; i < propValue.length; i++) {
3483        var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
3484        if (error instanceof Error) {
3485          return error;
3486        }
3487      }
3488      return null;
3489    }
3490    return createChainableTypeChecker(validate);
3491  }
3492
3493  function createElementTypeChecker() {
3494    function validate(props, propName, componentName, location, propFullName) {
3495      var propValue = props[propName];
3496      if (!isValidElement(propValue)) {
3497        var propType = getPropType(propValue);
3498        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
3499      }
3500      return null;
3501    }
3502    return createChainableTypeChecker(validate);
3503  }
3504
3505  function createElementTypeTypeChecker() {
3506    function validate(props, propName, componentName, location, propFullName) {
3507      var propValue = props[propName];
3508      if (!ReactIs.isValidElementType(propValue)) {
3509        var propType = getPropType(propValue);
3510        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
3511      }
3512      return null;
3513    }
3514    return createChainableTypeChecker(validate);
3515  }
3516
3517  function createInstanceTypeChecker(expectedClass) {
3518    function validate(props, propName, componentName, location, propFullName) {
3519      if (!(props[propName] instanceof expectedClass)) {
3520        var expectedClassName = expectedClass.name || ANONYMOUS;
3521        var actualClassName = getClassName(props[propName]);
3522        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
3523      }
3524      return null;
3525    }
3526    return createChainableTypeChecker(validate);
3527  }
3528
3529  function createEnumTypeChecker(expectedValues) {
3530    if (!Array.isArray(expectedValues)) {
3531      if (true) {
3532        if (arguments.length > 1) {
3533          printWarning(
3534            'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
3535            'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
3536          );
3537        } else {
3538          printWarning('Invalid argument supplied to oneOf, expected an array.');
3539        }
3540      }
3541      return emptyFunctionThatReturnsNull;
3542    }
3543
3544    function validate(props, propName, componentName, location, propFullName) {
3545      var propValue = props[propName];
3546      for (var i = 0; i < expectedValues.length; i++) {
3547        if (is(propValue, expectedValues[i])) {
3548          return null;
3549        }
3550      }
3551
3552      var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
3553        var type = getPreciseType(value);
3554        if (type === 'symbol') {
3555          return String(value);
3556        }
3557        return value;
3558      });
3559      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
3560    }
3561    return createChainableTypeChecker(validate);
3562  }
3563
3564  function createObjectOfTypeChecker(typeChecker) {
3565    function validate(props, propName, componentName, location, propFullName) {
3566      if (typeof typeChecker !== 'function') {
3567        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
3568      }
3569      var propValue = props[propName];
3570      var propType = getPropType(propValue);
3571      if (propType !== 'object') {
3572        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propT
3572ype + '` supplied to `' + componentName + '`, expected an object.'));
3573      }
3574      for (var key in propValue) {
3575        if (has(propValue, key)) {
3576          var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
3577          if (error instanceof Error) {
3578            return error;
3579          }
3580        }
3581      }
3582      return null;
3583    }
3584    return createChainableTypeChecker(validate);
3585  }
3586
3587  function createUnionTypeChecker(arrayOfTypeCheckers) {
3588    if (!Array.isArray(arrayOfTypeCheckers)) {
3589       true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') :
vendor: 8,200 bytes, lines 3589-3829
3589 0;
3590      return emptyFunctionThatReturnsNull;
3591    }
3592
3593    for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
3594      var checker = arrayOfTypeCheckers[i];
3595      if (typeof checker !== 'function') {
3596        printWarning(
3597          'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
3598          'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
3599        );
3600        return emptyFunctionThatReturnsNull;
3601      }
3602    }
3603
3604    function validate(props, propName, componentName, location, propFullName) {
3605      var expectedTypes = [];
3606      for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
3607        var checker = arrayOfTypeCheckers[i];
3608        var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
3609        if (checkerResult == null) {
3610          return null;
3611        }
3612        if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
3613          expectedTypes.push(checkerResult.data.expectedType);
3614        }
3615      }
3616      var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
3617      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
3618    }
3619    return createChainableTypeChecker(validate);
3620  }
3621
3622  function createNodeChecker() {
3623    function validate(props, propName, componentName, location, propFullName) {
3624      if (!isNode(props[propName])) {
3625        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
3626      }
3627      return null;
3628    }
3629    return createChainableTypeChecker(validate);
3630  }
3631
3632  function invalidValidatorError(componentName, location, propFullName, key, type) {
3633    return new PropTypeError(
3634      (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
3635      'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
3636    );
3637  }
3638
3639  function createShapeTypeChecker(shapeTypes) {
3640    function validate(props, propName, componentName, location, propFullName) {
3641      var propValue = props[propName];
3642      var propType = getPropType(propValue);
3643      if (propType !== 'object') {
3644        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
3645      }
3646      for (var key in shapeTypes) {
3647        var checker = shapeTypes[key];
3648        if (typeof checker !== 'function') {
3649          return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
3650        }
3651        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
3652        if (error) {
3653          return error;
3654        }
3655      }
3656      return null;
3657    }
3658    return createChainableTypeChecker(validate);
3659  }
3660
3661  function createStrictShapeTypeChecker(shapeTypes) {
3662    function validate(props, propName, componentName, location, propFullName) {
3663      var propValue = props[propName];
3664      var propType = getPropType(propValue);
3665      if (propType !== 'object') {
3666        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
3667      }
3668      // We need to check all keys in case some are required but missing from props.
3669      var allKeys = assign({}, props[propName], shapeTypes);
3670      for (var key in allKeys) {
3671        var checker = shapeTypes[key];
3672        if (has(shapeTypes, key) && typeof checker !== 'function') {
3673          return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
3674        }
3675        if (!checker) {
3676          return new PropTypeError(
3677            'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
3678            '\nBad object: ' + JSON.stringify(props[propName], null, '  ') +
3679            '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, '  ')
3680          );
3681        }
3682        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
3683        if (error) {
3684          return error;
3685        }
3686      }
3687      return null;
3688    }
3689
3690    return createChainableTypeChecker(validate);
3691  }
3692
3693  function isNode(propValue) {
3694    switch (typeof propValue) {
3695      case 'number':
3696      case 'string':
3697      case 'undefined':
3698        return true;
3699      case 'boolean':
3700        return !propValue;
3701      case 'object':
3702        if (Array.isArray(propValue)) {
3703          return propValue.every(isNode);
3704        }
3705        if (propValue === null || isValidElement(propValue)) {
3706          return true;
3707        }
3708
3709        var iteratorFn = getIteratorFn(propValue);
3710        if (iteratorFn) {
3711          var iterator = iteratorFn.call(propValue);
3712          var step;
3713          if (iteratorFn !== propValue.entries) {
3714            while (!(step = iterator.next()).done) {
3715              if (!isNode(step.value)) {
3716                return false;
3717              }
3718            }
3719          } else {
3720            // Iterator will provide entry [k,v] tuples rather than values.
3721            while (!(step = iterator.next()).done) {
3722              var entry = step.value;
3723              if (entry) {
3724                if (!isNode(entry[1])) {
3725                  return false;
3726                }
3727              }
3728            }
3729          }
3730        } else {
3731          return false;
3732        }
3733
3734        return true;
3735      default:
3736        return false;
3737    }
3738  }
3739
3740  function isSymbol(propType, propValue) {
3741    // Native Symbol.
3742    if (propType === 'symbol') {
3743      return true;
3744    }
3745
3746    // falsy value can't be a Symbol
3747    if (!propValue) {
3748      return false;
3749    }
3750
3751    // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
3752    if (propValue['@@toStringTag'] === 'Symbol') {
3753      return true;
3754    }
3755
3756    // Fallback for non-spec compliant Symbols which are polyfilled.
3757    if (typeof Symbol === 'function' && propValue instanceof Symbol) {
3758      return true;
3759    }
3760
3761    return false;
3762  }
3763
3764  // Equivalent of `typeof` but with special handling for array and regexp.
3765  function getPropType(propValue) {
3766    var propType = typeof propValue;
3767    if (Array.isArray(propValue)) {
3768      return 'array';
3769    }
3770    if (propValue instanceof RegExp) {
3771      // Old webkits (at least until Android 4.0) return 'function' rather than
3772      // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
3773      // passes PropTypes.object.
3774      return 'object';
3775    }
3776    if (isSymbol(propType, propValue)) {
3777      return 'symbol';
3778    }
3779    return propType;
3780  }
3781
3782  // This handles more types than `getPropType`. Only used for error messages.
3783  // See `createPrimitiveTypeChecker`.
3784  function getPreciseType(propValue) {
3785    if (typeof propValue === 'undefined' || propValue === null) {
3786      return '' + propValue;
3787    }
3788    var propType = getPropType(propValue);
3789    if (propType === 'object') {
3790      if (propValue instanceof Date) {
3791        return 'date';
3792      } else if (propValue instanceof RegExp) {
3793        return 'regexp';
3794      }
3795    }
3796    return propType;
3797  }
3798
3799  // Returns a string that is postfixed to a warning about an invalid type.
3800  // For example, "undefined" or "of type array"
3801  function getPostfixForTypeWarning(value) {
3802    var type = getPreciseType(value);
3803    switch (type) {
3804      case 'array':
3805      case 'object':
3806        return 'an ' + type;
3807      case 'boolean':
3808      case 'date':
3809      case 'regexp':
3810        return 'a ' + type;
3811      default:
3812        return type;
3813    }
3814  }
3815
3816  // Returns class name of the object, if any.
3817  function getClassName(propValue) {
3818    if (!propValue.constructor || !propValue.constructor.name) {
3819      return ANONYMOUS;
3820    }
3821    return propValue.constructor.name;
3822  }
3823
3824  ReactPropTypes.checkPropTypes = checkPropTypes;
3825  ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
3826  ReactPropTypes.PropTypes = ReactPropTypes;
3827
3828  return ReactPropTypes;
3829};
3830
3831
3832/***/ },
3833
3834/***/ "./node_modules/prop-types/index.js"
3835/*!******************************************!*\
3836  !*** ./node_modules/prop-types/index.js ***!
3837  \******************************************/
3838(module, __unused_webpack_exports, __webpack_require__) {
3839
3840/**
3841 * Copyright (c) 2013-present, Facebook, Inc.
3842 *
3843 * This source code is licensed under the MIT license found in the
3844 * LICENSE file in the root directory of this source tree.
3845 */
3846
3847if (true) {
3848  var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
3849
3850  // By explicitly using `prop-types` you are opting into new development behavior.
3851  // http://fb.me/prop-types-in-prod
3852  var throwOnDirectAccess = true;
3853  module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "./node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess);
3854} else // removed by dead control flow
3855{}
3856
3857
3858/***/ },
3859
3860/***/ "./node_modules/prop-types/lib/ReactPropTypesSecret.js"
3861/*!*************************************************************!*\
3862  !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
3863  \*************************************************************/
3864(module) {
3865
3866"use strict";
3867/**
3868 * Copyright (c) 2013-present, Facebook, Inc.
3869 *
3870 * This source code is licensed under the MIT license found in the
3871 * LICENSE file in the root directory of this source tree.
3872 */
3873
3874
3875
3876var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
3877
3878module.exports = ReactPropTypesSecret;
3879
3880
3881/***/ },
3882
3883/***/ "./node_modules/prop-types/lib/has.js"
3884/*!********************************************!*\
3885  !*** ./node_modules/prop-types/lib/has.js ***!
3886  \********************************************/
3887(module) {
3888
3889module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
3890
3891
3892/***/ },
3893
3894/***/ "./node_modules/react-dom/cjs/react-dom-client.development.js"
3895/*!********************************************************************!*\
3896  !*** ./node_modules/react-dom/cjs/react-dom-client.development.js ***!
3897  \********************************************************************/
3898(__unused_webpack_module, exports, __webpack_require__) {
3899
3900"use strict";
3901/**
3902 * @license React
3903 * react-dom-client.development.js
3904 *
3905 * Copyright (c) Meta Platforms, Inc. and affiliates.
3906 *
3907 * This source code is licensed under the MIT license found in the
3908 * LICENSE file in the root directory of this source tree.
3909 */
3910
3911/*
3912 Modernizr 3.0.0pre (Custom Build) | MIT
3913*/
3914
3915 true &&
3916  (function () {
3917    function findHook(fiber, id) {
3918      for (fiber = fiber.memoizedState; null !== fiber && 0 < id; )
3919        (fiber = fiber.next), id--;
3920      return fiber;
3921    }
3922    function copyWithSetImpl(obj, path, index, value) {
3923      if (index >= path.length) return value;
3924      var key = path[index],
3925        updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
3926      updated[key] = copyWithSetImpl(obj[key], path, index + 1, value);
3927      return updated;
3928    }
3929    function copyWithRename(obj, oldPath, newPath) {
3930      if (oldPath.length !== newPath.length)
3931        console.warn("copyWithRename() expects paths of the same length");
3932      else {
3933        for (var i = 0; i < newPath.length - 1; i++)
3934          if (oldPath[i] !== newPath[i]) {
3935            console.warn(
3936              "copyWithRename() expects paths to be the same except for the deepest key"
3937            );
3938            return;
3939          }
3940        return copyWithRenameImpl(obj, oldPath, newPath, 0);
3941      }
3942    }
3943    function copyWithRenameImpl(obj, oldPath, newPath, index) {
3944      var oldKey = oldPath[index],
3945        updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
3946      index + 1 === oldPath.length
3947        ? ((updated[newPath[index]] = updated[oldKey]),
3948          isArrayImpl(updated)
3949            ? updated.splice(oldKey, 1)
3950            : delete updated[oldKey])
3951        : (updated[oldKey] = copyWithRenameImpl(
3952            obj[oldKey],
3953            oldPath,
3954            newPath,
3955            index + 1
3956          ));
3957      return updated;
3958    }
3959    function copyWithDeleteImpl(obj, path, index) {
3960      var key = path[index],
3961        updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
3962      if (index + 1 === path.length)
3963        return (
3964          isArrayImpl(updated) ? updated.splice(key, 1) : delete updated[key],
3965          updated
3966        );
3967      updated[key] = copyWithDeleteImpl(obj[key], path, index + 1);
3968      return updated;
3969    }
3970    function shouldSuspendImpl() {
3971      return !1;
3972    }
3973    function shouldErrorImpl() {
3974      return null;
3975    }
3976    function warnForMissingKey() {}
3977    function warnInvalidHookAccess() {
3978      console.error(
3979        "Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks"
3980      );
3981    }
3982    function warnInvalidContextAccess() {
3983      console.error(
3984        "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
3985      );
3986    }
3987    function noop$2() {}
3988    function setToSortedString(set) {
3989      var array = [];
3990      set.forEach(function (value) {
3991        array.push(value);
3992      });
3993      return array.sort().join(", ");
3994    }
3995    function createFiber(tag, pendingProps, key, mode) {
3996      return new FiberNode(tag, pendingProps, key, mode);
3997    }
3998    function scheduleRoot(root, element) {
3999      root.context === emptyContextObject &&
4000        (updateContainerImpl(root.current, 2, element, root, null, null),
4001        flushSyncWork$1());
4002    }
4003    function scheduleRefresh(root, update) {
4004      if (null !== resolveFamily) {
4005        var staleFamilies = update.staleFamilies;
4006        update = update.updatedFamilies;
4007        flushPendingEffects();
4008        scheduleFibersWithFamiliesRecursively(
4009          root.current,
4010          update,
4011          staleFamilies
4012        );
4013        flushSyncWork$1();
4014      }
4015    }
4016    function setRefreshHandler(handler) {
4017      resolveFamily = handler;
4018    }
4019    function isValidContainer(node) {
4020      return !(
4021        !node ||
4022        (1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType)
4023      );
4024    }
4025    function getNearestMountedFiber(fiber) {
4026      var node = fiber,
4027        nearestMounted = fiber;
4028      if (fiber.alternate) for (; node.return; ) node = node.return;
4029      else {
4030        fiber = node;
4031        do
4032          (node = fiber),
4033            0 !== (node.flags & 4098) && (nearestMounted = node.return),
4034            (fiber = node.return);
4035        while (fiber);
4036      }
4037      return 3 === node.tag ? nearestMounted : null;
4038    }
4039    function getSuspenseInstanceFromFiber(fiber) {
4040      if (13 === fiber.tag) {
4041        var suspenseState = fiber.memoizedState;
4042        null === suspenseState &&
4043          ((fiber = fiber.alternate),
4044          null !== fiber && (suspenseState = fiber.memoizedState));
4045        if (null !== suspenseState) return suspenseState.dehydrated;
4046      }
4047      return null;
4048    }
4049    function assertIsMounted(fiber) {
4050      if (getNearestMountedFiber(fiber) !== fiber)
4051        throw Error("Unable to find node on an unmounted component.");
4052    }
4053    function findCurrentFiberUsingSlowPath(fiber) {
4054      var alternate = fiber.alternate;
4055      if (!alternate) {
4056        alternate = getNearestMountedFiber(fiber);
4057        if (null === alternate)
4058          throw Error("Unable to find node on an unmounted component.");
4059        return alternate !== fiber ? null : fiber;
4060      }
4061      for (var a = fiber, b = alternate; ; ) {
4062        var parentA = a.return;
4063        if (null === parentA) break;
4064        var parentB = parentA.alternate;
4065        if (null === parentB) {
4066          b = parentA.return;
4067          if (null !== b) {
4068            a = b;
4069            continue;
4070          }
4071          break;
4072        }
4073        if (parentA.child === parentB.child) {
4074          for (parentB = parentA.child; parentB; ) {
4075            if (parentB === a) return assertIsMounted(parentA), fiber;
4076            if (parentB === b) return assertIsMounted(parentA), alternate;
4077            parentB = parentB.sibling;
4078          }
4079          throw Error("Unable to find node on an unmounted component.");
4080        }
4081        if (a.return !== b.return) (a = parentA), (b = parentB);
4082        else {
4083          for (var didFindChild = !1, _child = parentA.child; _child; ) {
4084            if (_child === a) {
4085              didFindChild = !0;
4086              a = parentA;
4087              b = parentB;
4088              break;
4089            }
4090            if (_child === b) {
4091              didFindChild = !0;
4092              b = parentA;
4093              a = parentB;
4094              break;
4095            }
4096            _child = _child.sibling;
4097          }
4098          if (!didFindChild) {
4099            for (_child = parentB.child; _child; ) {
4100              if (_child === a) {
4101                didFindChild = !0;
4102                a = parentB;
4103                b = parentA;
4104                break;
4105              }
4106              if (_child === b) {
4107                didFindChild = !0;
4108                b = parentB;
4109                a = parentA;
4110                break;
4111              }
4112              _child = _child.sibling;
4113            }
4114            if (!didFindChild)
4115              throw Error(
4116                "Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue."
4117              );
4118          }
4119        }
4120        if (a.alternate !== b)
4121          throw Error(
4122            "Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue."
4123          );
4124      }
4125      if (3 !== a.tag)
4126        throw Error("Unable to find node on an unmounted component.");
4127      return a.stateNode.current === a ? fiber : alternate;
4128    }
4129    function findCurrentHostFiberImpl(node) {
4130      var tag = node.tag;
4131      if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;
4132      for (node = node.child; null !== node; ) {
4133        tag = findCurrentHostFiberImpl(node);
4134        if (null !== tag) return tag;
4135        node = node.sibling;
4136      }
4137      return null;
4138    }
4139    function getIteratorFn(maybeIterable) {
4140      if (null === maybeIterable || "object" !== typeof maybeIterable)
4141        return null;
4142      maybeIterable =
4143        (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
4144        maybeIterable["@@iterator"];
4145      return "function" === typeof maybeIterable ? maybeIterable : null;
4146    }
4147    function getComponentNameFromType(type) {
4148      if (null == type) return null;
4149      if ("function" === typeof type)
4150        return type.$$typeof === REACT_CLIENT_REFERENCE
4151          ? null
4152          : type.displayName || type.name || null;
4153      if ("string" === typeof type) return type;
4154      switch (type) {
4155        case REACT_FRAGMENT_TYPE:
4156          return "Fragment";
4157        case REACT_PROFILER_TYPE:
4158          return "Profiler";
4159        case REACT_STRICT_MODE_TYPE:
4160          return "StrictMode";
4161        case REACT_SUSPENSE_TYPE:
4162          return "Suspense";
4163        case REACT_SUSPENSE_LIST_TYPE:
4164          return "SuspenseList";
4165        case REACT_ACTIVITY_TYPE:
4166          return "Activity";
4167      }
4168      if ("object" === typeof type)
4169        switch (
4170          ("number" === typeof type.tag &&
4171            console.error(
4172              "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
4173            ),
4174          type.$$typeof)
4175        ) {
4176          case REACT_PORTAL_TYPE:
4177            return "Portal";
4178          case REACT_CONTEXT_TYPE:
4179            return (type.displayName || "Context") + ".Provider";
4180          case REACT_CONSUMER_TYPE:
4181            return (type._context.displayName || "Context") + ".Consumer";
4182          case REACT_FORWARD_REF_TYPE:
4183            var innerType = type.render;
4184            type = type.displayName;
4185            type ||
4186              ((type = innerType.displayName || innerType.name || ""),
4187              (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
4188            return type;
4189          case REACT_MEMO_TYPE:
4190            return (
4191              (innerType = type.displayName || null),
4192              null !== innerType
4193                ? innerType
4194                : getComponentNameFromType(type.type) || "Memo"
4195            );
4196          case REACT_LAZY_TYPE:
4197            innerType = type._payload;
4198            type = type._init;
4199            try {
4200              return getComponentNameFromType(type(innerType));
4201            } catch (x) {}
4202        }
4203      return null;
4204    }
4205    function getComponentNameFromOwner(owner) {
4206      return "number" === typeof owner.tag
4207        ? getComponentNameFromFiber(owner)
4208        : "string" === typeof owner.name
4209          ? owner.name
4210          : null;
4211    }
4212    function getComponentNameFromFiber(fiber) {
4213      var type = fiber.type;
4214      switch (fiber.tag) {
4215        case 31:
4216          return "Activity";
4217        case 24:
4218          return "Cache";
4219        case 9:
4220          return (type._context.displayName || "Context") + ".Consumer";
4221        case 10:
4222          return (type.displayName || "Context") + ".Provider";
4223        case 18:
4224          return "DehydratedFragment";
4225        case 11:
4226          return (
4227            (fiber = type.render),
4228            (fiber = fiber.displayName || fiber.name || ""),
4229            type.displayName ||
4230              ("" !== fiber ? "ForwardRef(" + fiber + ")" : "ForwardRef")
4231          );
4232        case 7:
4233          return "Fragment";
4234        case 26:
4235        case 27:
4236        case 5:
4237          return type;
4238        case 4:
4239          return "Portal";
4240        case 3:
4241          return "Root";
4242        case 6:
4243          return "Text";
4244        case 16:
4245          return getComponentNameFromType(type);
4246        case 8:
4247          return type === REACT_STRICT_MODE_TYPE ? "StrictMode" : "Mode";
4248        case 22:
4249          return "Offscreen";
4250        case 12:
4251          return "Profiler";
4252        case 21:
4253          return "Scope";
4254        case 13:
4255          return "Suspense";
4256        case 19:
4257          return "SuspenseList";
4258        case 25:
4259          return "TracingMarker";
4260        case 1:
4261        case 0:
4262        case 14:
4263        case 15:
4264          if ("function" === typeof type)
4265            return type.displayName || type.name || null;
4266          if ("string" === typeof type) return type;
4267          break;
4268        case 29:
4269          type = fiber._debugInfo;
4270          if (null != type)
4271            for (var i = type.length - 1; 0 <= i; i--)
4272              if ("string" === typeof type[i].name) return type[i].name;
4273          if (null !== fiber.return)
4274            return getComponentNameFromFiber(fiber.return);
4275      }
4276      return null;
4277    }
4278    function createCursor(defaultValue) {
4279      return { current: defaultValue };
4280    }
4281    function pop(cursor, fiber) {
4282      0 > index$jscomp$0
4283        ? console.error("Unexpected pop.")
4284        : (fiber !== fiberStack[index$jscomp$0] &&
4285            console.error("Unexpected Fiber popped."),
4286          (cursor.current = valueStack[index$jscomp$0]),
4287          (valueStack[index$jscomp$0] = null),
4288          (fiberStack[index$jscomp$0] = null),
4289          index$jscomp$0--);
4290    }
4291    function push(cursor, value, fiber) {
4292      index$jscomp$0++;
4293      valueStack[index$jscomp$0] = cursor.current;
4294      fiberStack[index$jscomp$0] = fiber;
4295      cursor.current = value;
4296    }
4297    function requiredContext(c) {
4298      null === c &&
4299        console.error(
4300          "Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."
4301        );
4302      return c;
4303    }
4304    function pushHostContainer(fiber, nextRootInstance) {
4305      push(rootInstanceStackCursor, nextRootInstance, fiber);
4306      push(contextFiberStackCursor, fiber, fiber);
4307      push(contextStackCursor, null, fiber);
4308      var nextRootContext = nextRootInstance.nodeType;
4309      switch (nextRootContext) {
4310        case 9:
4311        case 11:
4312          nextRootContext = 9 === nextRootContext ? "#document" : "#fragment";
4313          nextRootInstance = (nextRootInstance =
4314            nextRootInstance.documentElement)
4315            ? (nextRootInstance = nextRootInstance.namespaceURI)
4316              ? getOwnHostContext(nextRootInstance)
4317              : HostContextNamespaceNone
4318            : HostContextNamespaceNone;
4319          break;
4320        default:
4321          if (
4322            ((nextRootContext = nextRootInstance.tagName),
4323            (nextRootInstance = nextRootInstance.namespaceURI))
4324          )
4325            (nextRootInstance = getOwnHostContext(nextRootInstance)),
4326              (nextRootInstance = getChildHostContextProd(
4327                nextRootInstance,
4328                nextRootContext
4329              ));
4330          else
4331            switch (nextRootContext) {
4332              case "svg":
4333                nextRootInstance = HostContextNamespaceSvg;
4334                break;
4335              case "math":
4336                nextRootInstance = HostContextNamespaceMath;
4337                break;
4338              default:
4339                nextRootInstance = HostContextNamespaceNone;
4340            }
4341      }
4342      nextRootContext = nextRootContext.toLowerCase();
4343      nextRootContext = updatedAncestorInfoDev(null, nextRootContext);
4344      nextRootContext = {
4345        context: nextRootInstance,
4346        ancestorInfo: nextRootContext
4347      };
4348      pop(contextStackCursor, fiber);
4349      push(contextStackCursor, nextRootContext, fiber);
4350    }
4351    function popHostContainer(fiber) {
4352      pop(contextStackCursor, fiber);
4353      pop(contextFiberStackCursor, fiber);
4354      pop(rootInstanceStackCursor, fiber);
4355    }
4356    function getHostContext() {
4357      return requiredContext(contextStackCursor.current);
4358    }
4359    function pushHostContext(fiber) {
4360      null !== fiber.memoizedState &&
4361        push(hostTransitionProviderCursor, fiber, fiber);
4362      var context = requiredContext(contextStackCursor.current);
4363      var type = fiber.type;
4364      var nextContext = getChildHostContextProd(context.context, type);
4365      type = updatedAncestorInfoDev(context.ancestorInfo, type);
4366      nextContext = { context: nextContext, ancestorInfo: type };
4367      context !== nextContext &&
4368        (push(contextFiberStackCursor, fiber, fiber),
4369        push(contextStackCursor, nextContext, fiber));
4370    }
4371    function popHostContext(fiber) {
4372      contextFiberStackCursor.current === fiber &&
4373        (pop(contextStackCursor, fiber), pop(contextFiberStackCursor, fiber));
4374      hostTransitionProviderCursor.current === fiber &&
4375        (pop(hostTransitionProviderCursor, fiber),
4376        (HostTransitionContext._currentValue = NotPendingTransition));
4377    }
4378    function typeName(value) {
4379      return (
4380        ("function" === typeof Symbol &&
4381          Symbol.toStringTag &&
4382          value[Symbol.toStringTag]) ||
4383        value.constructor.name ||
4384        "Object"
4385      );
4386    }
4387    function willCoercionThrow(value) {
4388      try {
4389        return testStringCoercion(value), !1;
4390      } catch (e) {
4391        return !0;
4392      }
4393    }
4394    function testStringCoercion(value) {
4395      return "" + value;
4396    }
4397    function checkAttributeStringCoercion(value, attributeName) {
4398      if (willCoercionThrow(value))
4399        return (
4400          console.error(
4401            "The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",
4402            attributeName,
4403            typeName(value)
4404          ),
4405          testStringCoercion(value)
4406        );
4407    }
4408    function checkCSSPropertyStringCoercion(value, propName) {
4409      if (willCoercionThrow(value))
4410        return (
4411          console.error(
4412            "The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",
4413            propName,
4414            typeName(value)
4415          ),
4416          testStringCoercion(value)
4417        );
4418    }
4419    function checkFormFieldValueStringCoercion(value) {
4420      if (willCoercionThrow(value))
4421        return (
4422          console.error(
4423            "Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",
4424            typeName(value)
4425          ),
4426          testStringCoercion(value)
4427        );
4428    }
4429    function injectInternals(internals) {
4430      if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;
4431      var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__;
4432      if (hook.isDisabled) return !0;
4433      if (!hook.supportsFiber)
4434        return (
4435          console.error(
4436            "The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"
4437          ),
4438          !0
4439        );
4440      try {
4441        (rendererID = hook.inject(internals)), (injectedHook = hook);
4442      } catch (err) {
4443        console.error("React instrumentation encountered an error: %s.", err);
4444      }
4445      return hook.checkDCE ? !0 : !1;
4446    }
4447    function setIsStrictModeForDevtools(newIsStrictMode) {
4448      "function" === typeof log$1 &&
4449        unstable_setDisableYieldValue(newIsStrictMode);
4450      if (injectedHook && "function" === typeof injectedHook.setStrictMode)
4451        try {
4452          injectedHook.setStrictMode(rendererID, newIsStrictMode);
4453        } catch (err) {
4454          hasLoggedError ||
4455            ((hasLoggedError = !0),
4456            console.error(
4457              "React instrumentation encountered an error: %s",
4458              err
4459            ));
4460        }
4461    }
4462    function injectProfilingHooks(profilingHooks) {
4463      injectedProfilingHooks = profilingHooks;
4464    }
4465    function markCommitStopped() {
4466      null !== injectedProfilingHooks &&
4467        "function" === typeof injectedProfilingHooks.markCommitStopped &&
4468        injectedProfilingHooks.markCommitStopped();
4469    }
4470    function markComponentRenderStarted(fiber) {
4471      null !== injectedProfilingHooks &&
4472        "function" ===
4473          typeof injectedProfilingHooks.markComponentRenderStarted &&
4474        injectedProfilingHooks.markComponentRenderStarted(fiber);
4475    }
4476    function markComponentRenderStopped() {
4477      null !== injectedProfilingHooks &&
4478        "function" ===
4479          typeof injectedProfilingHooks.markComponentRenderStopped &&
4480        injectedProfilingHooks.markComponentRenderStopped();
4481    }
4482    function markRenderStarted(lanes) {
4483      null !== injectedProfilingHooks &&
4484        "function" === typeof injectedProfilingHooks.markRenderStarted &&
4485        injectedProfilingHooks.markRenderStarted(lanes);
4486    }
4487    function markRenderStopped() {
4488      null !== injectedProfilingHooks &&
4489        "function" === typeof injectedProfilingHooks.markRenderStopped &&
4490        injectedProfilingHooks.markRenderStopped();
4491    }
4492    function markStateUpdateScheduled(fiber, lane) {
4493      null !== injectedProfilingHooks &&
4494        "function" === typeof injectedProfilingHooks.markStateUpdateScheduled &&
4495        injectedProfilingHooks.markStateUpdateScheduled(fiber, lane);
4496    }
4497    function clz32Fallback(x) {
4498      x >>>= 0;
4499      return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
4500    }
4501    function getLabelForLane(lane) {
4502      if (lane & 1) return "SyncHydrationLane";
4503      if (lane & 2) return "Sync";
4504      if (lane & 4) return "InputContinuousHydration";
4505      if (lane & 8) return "InputContinuous";
4506      if (lane & 16) return "DefaultHydration";
4507      if (lane & 32) return "Default";
4508      if (lane & 128) return "TransitionHydration";
4509      if (lane & 4194048) return "Transition";
4510      if (lane & 62914560) return "Retry";
4511      if (lane & 67108864) return "SelectiveHydration";
4512      if (lane & 134217728) return "IdleHydration";
4513      if (lane & 268435456) return "Idle";
4514      if (lane & 536870912) return "Offscreen";
4515      if (lane & 1073741824) return "Deferred";
4516    }
4517    function getHighestPriorityLanes(lanes) {
4518      var pendingSyncLanes = lanes & 42;
4519      if (0 !== pendingSyncLanes) return pendingSyncLanes;
4520      switch (lanes & -lanes) {
4521        case 1:
4522          return 1;
4523        case 2:
4524          return 2;
4525        case 4:
4526          return 4;
4527        case 8:
4528          return 8;
4529        case 16:
4530          return 16;
4531        case 32:
4532          return 32;
4533        case 64:
4534          return 64;
4535        case 128:
4536          return 128;
4537        case 256:
4538        case 512:
4539        case 1024:
4540        case 2048:
4541        case 4096:
4542        case 8192:
4543        case 16384:
4544        case 32768:
4545        case 65536:
4546        case 131072:
4547        case 262144:
4548        case 524288:
4549        case 1048576:
4550        case 2097152:
4551          return lanes & 4194048;
4552        case 4194304:
4553        case 8388608:
4554        case 16777216:
4555        case 33554432:
4556          return lanes & 62914560;
4557        case 67108864:
4558          return 67108864;
4559        case 134217728:
4560          return 134217728;
4561        case 268435456:
4562          return 268435456;
4563        case 536870912:
4564          return 536870912;
4565        case 1073741824:
4566          return 0;
4567        default:
4568          return (
4569            console.error(
4570              "Should have found matching lanes. This is a bug in React."
4571            ),
4572            lanes
4573          );
4574      }
4575    }
4576    function getNextLanes(root, wipLanes, rootHasPendingCommit) {
4577      var pendingLanes = root.pendingLanes;
4578      if (0 === pendingLanes) return 0;
4579      var nextLanes = 0,
4580        suspendedLanes = root.suspendedLanes,
4581        pingedLanes = root.pingedLanes;
4582      root = root.warmLanes;
4583      var nonIdlePendingLanes = pendingLanes & 134217727;
4584      0 !== nonIdlePendingLanes
4585        ? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),
4586          0 !== pendingLanes
4587            ? (nextLanes = getHighestPriorityLanes(pendingLanes))
4588            : ((pingedLanes &= nonIdlePendingLanes),
4589              0 !== pingedLanes
4590                ? (nextLanes = getHighestPriorityLanes(pingedLanes))
4591                : rootHasPendingCommit ||
4592                  ((rootHasPendingCommit = nonIdlePendingLanes & ~root),
4593                  0 !== rootHasPendingCommit &&
4594                    (nextLanes =
4595                      getHighestPriorityLanes(rootHasPendingCommit)))))
4596        : ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),
4597          0 !== nonIdlePendingLanes
4598            ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
4599            : 0 !== pingedLanes
4600              ? (nextLanes = getHighestPriorityLanes(pingedLanes))
4601              : rootHasPendingCommit ||
4602                ((rootHasPendingCommit = pendingLanes & ~root),
4603                0 !== rootHasPendingCommit &&
4604                  (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
4605      return 0 === nextLanes
4606        ? 0
4607        : 0 !== wipLanes &&
4608            wipLanes !== nextLanes &&
4609            0 === (wipLanes & suspendedLanes) &&
4610            ((suspendedLanes = nextLanes & -nextLanes),
4611            (rootHasPendingCommit = wipLanes & -wipLanes),
4612            suspendedLanes >= rootHasPendingCommit ||
4613              (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)))
4614          ? wipLanes
4615          : nextLanes;
4616    }
4617    function checkIfRootIsPrerendering(root, renderLanes) {
4618      return (
4619        0 ===
4620        (root.pendingLanes &
4621          ~(root.suspendedLanes & ~root.pingedLanes) &
4622          renderLanes)
4623      );
4624    }
4625    function computeExpirationTime(lane, currentTime) {
4626      switch (lane) {
4627        case 1:
4628        case 2:
4629        case 4:
4630        case 8:
4631        case 64:
4632          return currentTime + 250;
4633        case 16:
4634        case 32:
4635        case 128:
4636        case 256:
4637        case 512:
4638        case 1024:
4639        case 2048:
4640        case 4096:
4641        case 8192:
4642        case 16384:
4643        case 32768:
4644        case 65536:
4645        case 131072:
4646        case 262144:
4647        case 524288:
4648        case 1048576:
4649        case 2097152:
4650          return currentTime + 5e3;
4651        case 4194304:
4652        case 8388608:
4653        case 16777216:
4654        case 33554432:
4655          return -1;
4656        case 67108864:
4657        case 134217728:
4658        case 268435456:
4659        case 536870912:
4660        case 1073741824:
4661          return -1;
4662        default:
4663          return (
4664            console.error(
4665              "Should have found matching lanes. This is a bug in React."
4666            ),
4667            -1
4668          );
4669      }
4670    }
4671    function claimNextTransitionLane() {
4672      var lane = nextTransitionLane;
4673      nextTransitionLane <<= 1;
4674      0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256);
4675      return lane;
4676    }
4677    function claimNextRetryLane() {
4678      var lane = nextRetryLane;
4679      nextRetryLane <<= 1;
4680      0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304);
4681      return lane;
4682    }
4683    function createLaneMap(initial) {
4684      for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);
4685      return laneMap;
4686    }
4687    function markRootUpdated$1(root, updateLane) {
4688      root.pendingLanes |= updateLane;
4689      268435456 !== updateLane &&
4690        ((root.suspendedLanes = 0),
4691        (root.pingedLanes = 0),
4692        (root.warmLanes = 0));
4693    }
4694    function markRootFinished(
4695      root,
4696      finishedLanes,
4697      remainingLanes,
4698      spawnedLane,
4699      updatedLanes,
4700      suspendedRetryLanes
4701    ) {
4702      var previouslyPendingLanes = root.pendingLanes;
4703      root.pendingLanes = remainingLanes;
4704      root.suspendedLanes = 0;
4705      root.pingedLanes = 0;
4706      root.warmLanes = 0;
4707      root.expiredLanes &= remainingLanes;
4708      root.entangledLanes &= remainingLanes;
4709      root.errorRecoveryDisabledLanes &= remainingLanes;
4710      root.shellSuspendCounter = 0;
4711      var entanglements = root.entanglements,
4712        expirationTimes = root.expirationTimes,
4713        hiddenUpdates = root.hiddenUpdates;
4714      for (
4715        remainingLanes = previouslyPendingLanes & ~remainingLanes;
4716        0 < remainingLanes;
4717
4718      ) {
4719        var index = 31 - clz32(remainingLanes),
4720          lane = 1 << index;
4721        entanglements[index] = 0;
4722        expirationTimes[index] = -1;
4723        var hiddenUpdatesForLane = hiddenUpdates[index];
4724        if (null !== hiddenUpdatesForLane)
4725          for (
4726            hiddenUpdates[index] = null, index = 0;
4727            index < hiddenUpdatesForLane.length;
4728            index++
4729          ) {
4730            var update = hiddenUpdatesForLane[index];
4731            null !== update && (update.lane &= -536870913);
4732          }
4733        remainingLanes &= ~lane;
4734      }
4735      0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
4736      0 !== suspendedRetryLanes &&
4737        0 === updatedLanes &&
4738        0 !== root.tag &&
4739        (root.suspendedLanes |=
4740          suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
4741    }
4742    function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
4743      root.pendingLanes |= spawnedLane;
4744      root.suspendedLanes &= ~spawnedLane;
4745      var spawnedLaneIndex = 31 - clz32(spawnedLane);
4746      root.entangledLanes |= spawnedLane;
4747      root.entanglements[spawnedLaneIndex] =
4748        root.entanglements[spawnedLaneIndex] |
4749        1073741824 |
4750        (entangledLanes & 4194090);
4751    }
4752    function markRootEntangled(root, entangledLanes) {
4753      var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
4754      for (root = root.entanglements; rootEntangledLanes; ) {
4755        var index = 31 - clz32(rootEntangledLanes),
4756          lane = 1 << index;
4757        (lane & entangledLanes) | (root[index] & entangledLanes) &&
4758          (root[index] |= entangledLanes);
4759        rootEntangledLanes &= ~lane;
4760      }
4761    }
4762    function getBumpedLaneForHydrationByLane(lane) {
4763      switch (lane) {
4764        case 2:
4765          lane = 1;
4766          break;
4767        case 8:
4768          lane = 4;
4769          break;
4770        case 32:
4771          lane = 16;
4772          break;
4773        case 256:
4774        case 512:
4775        case 1024:
4776        case 2048:
4777        case 4096:
4778        case 8192:
4779        case 16384:
4780        case 32768:
4781        case 65536:
4782        case 131072:
4783        case 262144:
4784        case 524288:
4785        case 1048576:
4786        case 2097152:
4787        case 4194304:
4788        case 8388608:
4789        case 16777216:
4790        case 33554432:
4791          lane = 128;
4792          break;
4793        case 268435456:
4794          lane = 134217728;
4795          break;
4796        default:
4797          lane = 0;
4798      }
4799      return lane;
4800    }
4801    function addFiberToLanesMap(root, fiber, lanes) {
4802      if (isDevToolsPresent)
4803        for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) {
4804          var index = 31 - clz32(lanes),
4805            lane = 1 << index;
4806          root[index].add(fiber);
4807          lanes &= ~lane;
4808        }
4809    }
4810    function movePendingFibersToMemoized(root, lanes) {
4811      if (isDevToolsPresent)
4812        for (
4813          var pendingUpdatersLaneMap = root.pendingUpdatersLaneMap,
4814            memoizedUpdaters = root.memoizedUpdaters;
4815          0 < lanes;
4816
4817        ) {
4818          var index = 31 - clz32(lanes);
4819          root = 1 << index;
4820          index = pendingUpdatersLaneMap[index];
4821          0 < index.size &&
4822            (index.forEach(function (fiber) {
4823              var alternate = fiber.alternate;
4824              (null !== alternate && memoizedUpdaters.has(alternate)) ||
4825                memoizedUpdaters.add(fiber);
4826            }),
4827            index.clear());
4828          lanes &= ~root;
4829        }
4830    }
4831    function lanesToEventPriority(lanes) {
4832      lanes &= -lanes;
4833      return 0 !== DiscreteEventPriority && DiscreteEventPriority < lanes
4834        ? 0 !== ContinuousEventPriority && ContinuousEventPriority < lanes
4835          ? 0 !== (lanes & 134217727)
4836            ? DefaultEventPriority
4837            : IdleEventPriority
4838          : ContinuousEventPriority
4839        : DiscreteEventPriority;
4840    }
4841    function resolveUpdatePriority() {
4842      var updatePriority = ReactDOMSharedInternals.p;
4843      if (0 !== updatePriority) return updatePriority;
4844      updatePriority = window.event;
4845      return void 0 === updatePriority
4846        ? DefaultEventPriority
4847        : getEventPriority(updatePriority.type);
4848    }
4849    function runWithPriority(priority, fn) {
4850      var previousPriority = ReactDOMSharedInternals.p;
4851      try {
4852        return (ReactDOMSharedInternals.p = priority), fn();
4853      } finally {
4854        ReactDOMSharedInternals.p = previousPriority;
4855      }
4856    }
4857    function detachDeletedInstance(node) {
4858      delete node[internalInstanceKey];
4859      delete node[internalPropsKey];
4860      delete node[internalEventHandlersKey];
4861      delete node[internalEventHandlerListenersKey];
4862      delete node[internalEventHandlesSetKey];
4863    }
4864    function getClosestInstanceFromNode(targetNode) {
4865      var targetInst = targetNode[internalInstanceKey];
4866      if (targetInst) return targetInst;
4867      for (var parentNode = targetNode.parentNode; parentNode; ) {
4868        if (
4869          (targetInst =
4870            parentNode[internalContainerInstanceKey] ||
4871            parentNode[internalInstanceKey])
4872        ) {
4873          parentNode = targetInst.alternate;
4874          if (
4875            null !== targetInst.child ||
4876            (null !== parentNode && null !== parentNode.child)
4877          )
4878            for (
4879              targetNode = getParentSuspenseInstance(targetNode);
4880              null !== targetNode;
4881
4882            ) {
4883              if ((parentNode = targetNode[internalInstanceKey]))
4884                return parentNode;
4885              targetNode = getParentSuspenseInstance(targetNode);
4886            }
4887          return targetInst;
4888        }
4889        targetNode = parentNode;
4890        parentNode = targetNode.parentNode;
4891      }
4892      return null;
4893    }
4894    function getInstanceFromNode(node) {
4895      if (
4896        (node = node[internalInstanceKey] || node[internalContainerInstanceKey])
4897      ) {
4898        var tag = node.tag;
4899        if (
4900          5 === tag ||
4901          6 === tag ||
4902          13 === tag ||
4903          26 === tag ||
4904          27 === tag ||
4905          3 === tag
4906        )
4907          return node;
4908      }
4909      return null;
4910    }
4911    function getNodeFromInstance(inst) {
4912      var tag = inst.tag;
4913      if (5 === tag || 26 === tag || 27 === tag || 6 === tag)
4914        return inst.stateNode;
4915      throw Error("getNodeFromInstance: Invalid argument.");
4916    }
4917    function getResourcesFromRoot(root) {
4918      var resources = root[internalRootNodeResourcesKey];
4919      resources ||
4920        (resources = root[internalRootNodeResourcesKey] =
4921          { hoistableStyles: new Map(), hoistableScripts: new Map() });
4922      return resources;
4923    }
4924    function markNodeAsHoistable(node) {
4925      node[internalHoistableMarker] = !0;
4926    }
4927    function registerTwoPhaseEvent(registrationName, dependencies) {
4928      registerDirectEvent(registrationName, dependencies);
4929      registerDirectEvent(registrationName + "Capture", dependencies);
4930    }
4931    function registerDirectEvent(registrationName, dependencies) {
4932      registrationNameDependencies[registrationName] &&
4933        console.error(
4934          "EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",
4935          registrationName
4936        );
4937      registrationNameDependencies[registrationName] = dependencies;
4938      var lowerCasedName = registrationName.toLowerCase();
4939      possibleRegistrationNames[lowerCasedName] = registrationName;
4940      "onDoubleClick" === registrationName &&
4941        (possibleRegistrationNames.ondblclick = registrationName);
4942      for (
4943        registrationName = 0;
4944        registrationName < dependencies.length;
4945        registrationName++
4946      )
4947        allNativeEvents.add(dependencies[registrationName]);
4948    }
4949    function checkControlledValueProps(tagName, props) {
4950      hasReadOnlyValue[props.type] ||
4951        props.onChange ||
4952        props.onInput ||
4953        props.readOnly ||
4954        props.disabled ||
4955        null == props.value ||
4956        ("select" === tagName
4957          ? console.error(
4958              "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."
4959            )
4960          : console.error(
4961              "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."
4962            ));
4963      props.onChange ||
4964        props.readOnly ||
4965        props.disabled ||
4966        null == props.checked ||
4967        console.error(
4968          "You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`."
4969        );
4970    }
4971    function isAttributeNameSafe(attributeName) {
4972      if (hasOwnProperty.call(validatedAttributeNameCache, attributeName))
4973        return !0;
4974      if (hasOwnProperty.call(illegalAttributeNameCache, attributeName))
4975        return !1;
4976      if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName))
4977        return (validatedAttributeNameCache[attributeName] = !0);
4978      illegalAttributeNameCache[attributeName] = !0;
4979      console.error("Invalid attribute name: `%s`", attributeName);
4980      return !1;
4981    }
4982    function getValueForAttributeOnCustomComponent(node, name, expected) {
4983      if (isAttributeNameSafe(name)) {
4984        if (!node.hasAttribute(name)) {
4985          switch (typeof expected) {
4986            case "symbol":
4987            case "object":
4988              return expected;
4989            case "function":
4990              return expected;
4991            case "boolean":
4992              if (!1 === expected) return expected;
4993          }
4994          return void 0 === expected ? void 0 : null;
4995        }
4996        node = node.getAttribute(name);
4997        if ("" === node && !0 === expected) return !0;
4998        checkAttributeStringCoercion(expected, name);
4999        return node === "" + expected ? expected : node;
5000      }
5001    }
5002    function setValueForAttribute(node, name, value) {
5003      if (isAttributeNameSafe(name))
5004        if (null === value) node.removeAttribute(name);
5005        else {
5006          switch (typeof value) {
5007            case "undefined":
5008            case "function":
5009            case "symbol":
5010              node.removeAttribute(name);
5011              return;
5012            case "boolean":
5013              var prefix = name.toLowerCase().slice(0, 5);
5014              if ("data-" !== prefix && "aria-" !== prefix) {
5015                node.removeAttribute(name);
5016                return;
5017              }
5018          }
5019          checkAttributeStringCoercion(value, name);
5020          node.setAttribute(name, "" + value);
5021        }
5022    }
5023    function setValueForKnownAttribute(node, name, value) {
5024      if (null === value) node.removeAttribute(name);
5025      else {
5026        switch (typeof value) {
5027          case "undefined":
5028          case "function":
5029          case "symbol":
5030          case "boolean":
5031            node.removeAttribute(name);
5032            return;
5033        }
5034        checkAttributeStringCoercion(value, name);
5035        node.setAttribute(name, "" + value);
5036      }
5037    }
5038    function setValueForNamespacedAttribute(node, namespace, name, value) {
5039      if (null === value) node.removeAttribute(name);
5040      else {
5041        switch (typeof value) {
5042          case "undefined":
5043          case "function":
5044          case "symbol":
5045          case "boolean":
5046            node.removeAttribute(name);
5047            return;
5048        }
5049        checkAttributeStringCoercion(value, name);
5050        node.setAttributeNS(namespace, name, "" + value);
5051      }
5052    }
5053    function disabledLog() {}
5054    function disableLogs() {
5055      if (0 === disabledDepth) {
5056        prevLog = console.log;
5057        prevInfo = console.info;
5058        prevWarn = console.warn;
5059        prevError = console.error;
5060        prevGroup = console.group;
5061        prevGroupCollapsed = console.groupCollapsed;
5062        prevGroupEnd = console.groupEnd;
5063        var props = {
5064          configurable: !0,
5065          enumerable: !0,
5066          value: disabledLog,
5067          writable: !0
5068        };
5069        Object.defineProperties(console, {
5070          info: props,
5071          log: props,
5072          warn: props,
5073          error: props,
5074          group: props,
5075          groupCollapsed: props,
5076          groupEnd: props
5077        });
5078      }
5079      disabledDepth++;
5080    }
5081    function reenableLogs() {
5082      disabledDepth--;
5083      if (0 === disabledDepth) {
5084        var props = { configurable: !0, enumerable: !0, writable: !0 };
5085        Object.defineProperties(console, {
5086          log: assign({}, props, { value: prevLog }),
5087          info: assign({}, props, { value: prevInfo }),
5088          warn: assign({}, props, { value: prevWarn }),
5089          error: assign({}, props, { value: prevError }),
5090          group: assign({}, props, { value: prevGroup }),
5091          groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
5092          groupEnd: assign({}, props, { value: prevGroupEnd })
5093        });
5094      }
5095      0 > disabledDepth &&
5096        console.error(
5097          "disabledDepth fell below zero. This is a bug in React. Please file an issue."
5098        );
5099    }
5100    function describeBuiltInComponentFrame(name) {
5101      if (void 0 === prefix)
5102        try {
5103          throw Error();
5104        } catch (x) {
5105          var match = x.stack.trim().match(/\n( *(at )?)/);
5106          prefix = (match && match[1]) || "";
5107          suffix =
5108            -1 < x.stack.indexOf("\n    at")
5109              ? " (<anonymous>)"
5110              : -1 < x.stack.indexOf("@")
5111                ? "@unknown:0:0"
5112                : "";
5113        }
5114      return "\n" + prefix + name + suffix;
5115    }
5116    function describeNativeComponentFrame(fn, construct) {
5117      if (!fn || reentry) return "";
5118      var frame = componentFrameCache.get(fn);
5119      if (void 0 !== frame) return frame;
5120      reentry = !0;
5121      frame = Error.prepareStackTrace;
5122      Error.prepareStackTrace = void 0;
5123      var previousDispatcher = null;
5124      previousDispatcher = ReactSharedInternals.H;
5125      ReactSharedInternals.H = null;
5126      disableLogs();
5127      try {
5128        var RunInRootFrame = {
5129          DetermineComponentFrameRoot: function () {
5130            try {
5131              if (construct) {
5132                var Fake = function () {
5133                  throw Error();
5134                };
5135                Object.defineProperty(Fake.prototype, "props", {
5136                  set: function () {
5137                    throw Error();
5138                  }
5139                });
5140                if ("object" === typeof Reflect && Reflect.construct) {
5141                  try {
5142                    Reflect.construct(Fake, []);
5143                  } catch (x) {
5144                    var control = x;
5145                  }
5146                  Reflect.construct(fn, [], Fake);
5147                } else {
5148                  try {
5149                    Fake.call();
5150                  } catch (x$0) {
5151                    control = x$0;
5152                  }
5153                  fn.call(Fake.prototype);
5154                }
5155              } else {
5156                try {
5157                  throw Error();
5158                } catch (x$1) {
5159                  control = x$1;
5160                }
5161                (Fake = fn()) &&
5162                  "function" === typeof Fake.catch &&
5163                  Fake.catch(function () {});
5164              }
5165            } catch (sample) {
5166              if (sample && control && "string" === typeof sample.stack)
5167                return [sample.stack, control.stack];
5168            }
5169            return [null, null];
5170          }
5171        };
5172        RunInRootFrame.DetermineComponentFrameRoot.displayName =
5173          "DetermineComponentFrameRoot";
5174        var namePropDescriptor = Object.getOwnPropertyDescriptor(
5175          RunInRootFrame.DetermineComponentFrameRoot,
5176          "name"
5177        );
5178        namePropDescriptor &&
5179          namePropDescriptor.configurable &&
5180          Object.defineProperty(
5181            RunInRootFrame.DetermineComponentFrameRoot,
5182            "name",
5183            { value: "DetermineComponentFrameRoot" }
5184          );
5185        var _RunInRootFrame$Deter =
5186            RunInRootFrame.DetermineComponentFrameRoot(),
5187          sampleStack = _RunInRootFrame$Deter[0],
5188          controlStack = _RunInRootFrame$Deter[1];
5189        if (sampleStack && controlStack) {
5190          var sampleLines = sampleStack.split("\n"),
5191            controlLines = controlStack.split("\n");
5192          for (
5193            _RunInRootFrame$Deter = namePropDescriptor = 0;
5194            namePropDescriptor < sampleLines.length &&
5195            !sampleLines[namePropDescriptor].includes(
5196              "DetermineComponentFrameRoot"
5197            );
5198
5199          )
5200            namePropDescriptor++;
5201          for (
5202            ;
5203            _RunInRootFrame$Deter < controlLines.length &&
5204            !controlLines[_RunInRootFrame$Deter].includes(
5205              "DetermineComponentFrameRoot"
5206            );
5207
5208          )
5209            _RunInRootFrame$Deter++;
5210          if (
5211            namePropDescriptor === sampleLines.length ||
5212            _RunInRootFrame$Deter === controlLines.length
5213          )
5214            for (
5215              namePropDescriptor = sampleLines.length - 1,
5216                _RunInRootFrame$Deter = controlLines.length - 1;
5217              1 <= namePropDescriptor &&
5218              0 <= _RunInRootFrame$Deter &&
5219              sampleLines[namePropDescriptor] !==
5220                controlLines[_RunInRootFrame$Deter];
5221
5222            )
5223              _RunInRootFrame$Deter--;
5224          for (
5225            ;
5226            1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
5227            namePropDescriptor--, _RunInRootFrame$Deter--
5228          )
5229            if (
5230              sampleLines[namePropDescriptor] !==
5231              controlLines[_RunInRootFrame$Deter]
5232            ) {
5233              if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
5234                do
5235                  if (
5236                    (namePropDescriptor--,
5237                    _RunInRootFrame$Deter--,
5238                    0 > _RunInRootFrame$Deter ||
5239                      sampleLines[namePropDescriptor] !==
5240                        controlLines[_RunInRootFrame$Deter])
5241                  ) {
5242                    var _frame =
5243                      "\n" +
5244                      sampleLines[namePropDescriptor].replace(
5245                        " at new ",
5246                        " at "
5247                      );
5248                    fn.displayName &&
5249                      _frame.includes("<anonymous>") &&
5250                      (_frame = _frame.replace("<anonymous>", fn.displayName));
5251                    "function" === typeof fn &&
5252                      componentFrameCache.set(fn, _frame);
5253                    return _frame;
5254                  }
5255                while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
5256              }
5257              break;
5258            }
5259        }
5260      } finally {
5261        (reentry = !1),
5262          (ReactSharedInternals.H = previousDispatcher),
5263          reenableLogs(),
5264          (Error.prepareStackTrace = frame);
5265      }
5266      sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
5267        ? describeBuiltInComponentFrame(sampleLines)
5268        : "";
5269      "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
5270      return sampleLines;
5271    }
5272    function formatOwnerStack(error) {
5273      var prevPrepareStackTrace = Error.prepareStackTrace;
5274      Error.prepareStackTrace = void 0;
5275      error = error.stack;
5276      Error.prepareStackTrace = prevPrepareStackTrace;
5277      error.startsWith("Error: react-stack-top-frame\n") &&
5278        (error = error.slice(29));
5279      prevPrepareStackTrace = error.indexOf("\n");
5280      -1 !== prevPrepareStackTrace &&
5281        (error = error.slice(prevPrepareStackTrace + 1));
5282      prevPrepareStackTrace = error.indexOf("react_stack_bottom_frame");
5283      -1 !== prevPrepareStackTrace &&
5284        (prevPrepareStackTrace = error.lastIndexOf(
5285          "\n",
5286          prevPrepareStackTrace
5287        ));
5288      if (-1 !== prevPrepareStackTrace)
5289        error = error.slice(0, prevPrepareStackTrace);
5290      else return "";
5291      return error;
5292    }
5293    function describeFiber(fiber) {
5294      switch (fiber.tag) {
5295        case 26:
5296        case 27:
5297        case 5:
5298          return describeBuiltInComponentFrame(fiber.type);
5299        case 16:
5300          return describeBuiltInComponentFrame("Lazy");
5301        case 13:
5302          return describeBuiltInComponentFrame("Suspense");
5303        case 19:
5304          return describeBuiltInComponentFrame("SuspenseList");
5305        case 0:
5306        case 15:
5307          return describeNativeComponentFrame(fiber.type, !1);
5308        case 11:
5309          return describeNativeComponentFrame(fiber.type.render, !1);
5310        case 1:
5311          return describeNativeComponentFrame(fiber.type, !0);
5312        case 31:
5313          return describeBuiltInComponentFrame("Activity");
5314        default:
5315          return "";
5316      }
5317    }
5318    function getStackByFiberInDevAndProd(workInProgress) {
5319      try {
5320        var info = "";
5321        do {
5322          info += describeFiber(workInProgress);
5323          var debugInfo = workInProgress._debugInfo;
5324          if (debugInfo)
5325            for (var i = debugInfo.length - 1; 0 <= i; i--) {
5326              var entry = debugInfo[i];
5327              if ("string" === typeof entry.name) {
5328                var JSCompiler_temp_const = info,
5329                  env = entry.env;
5330                var JSCompiler_inline_result = describeBuiltInComponentFrame(
5331                  entry.name + (env ? " [" + env + "]" : "")
5332                );
5333                info = JSCompiler_temp_const + JSCompiler_inline_result;
5334              }
5335            }
5336          workInProgress = workInProgress.return;
5337        } while (workInProgress);
5338        return info;
5339      } catch (x) {
5340        return "\nError generating stack: " + x.message + "\n" + x.stack;
5341      }
5342    }
5343    function describeFunctionComponentFrameWithoutLineNumber(fn) {
5344      return (fn = fn ? fn.displayName || fn.name : "")
5345        ? describeBuiltInComponentFrame(fn)
5346        : "";
5347    }
5348    function getCurrentFiberOwnerNameInDevOrNull() {
5349      if (null === current) return null;
5350      var owner = current._debugOwner;
5351      return null != owner ? getComponentNameFromOwner(owner) : null;
5352    }
5353    function getCurrentFiberStackInDev() {
5354      if (null === current) return "";
5355      var workInProgress = current;
5356      try {
5357        var info = "";
5358        6 === workInProgress.tag && (workInProgress = workInProgress.return);
5359        switch (workInProgress.tag) {
5360          case 26:
5361          case 27:
5362          case 5:
5363            info += describeBuiltInComponentFrame(workInProgress.type);
5364            break;
5365          case 13:
5366            info += describeBuiltInComponentFrame("Suspense");
5367            break;
5368          case 19:
5369            info += describeBuiltInComponentFrame("SuspenseList");
5370            break;
5371          case 31:
5372            info += describeBuiltInComponentFrame("Activity");
5373            break;
5374          case 30:
5375          case 0:
5376          case 15:
5377          case 1:
5378            workInProgress._debugOwner ||
5379              "" !== info ||
5380              (info += describeFunctionComponentFrameWithoutLineNumber(
5381                workInProgress.type
5382              ));
5383            break;
5384          case 11:
5385            workInProgress._debugOwner ||
5386              "" !== info ||
5387              (info += describeFunctionComponentFrameWithoutLineNumber(
5388                workInProgress.type.render
5389              ));
5390        }
5391        for (; workInProgress; )
5392          if ("number" === typeof workInProgress.tag) {
5393            var fiber = workInProgress;
5394            workInProgress = fiber._debugOwner;
5395            var debugStack = fiber._debugStack;
5396            workInProgress &&
5397              debugStack &&
5398              ("string" !== typeof debugStack &&
5399                (fiber._debugStack = debugStack = formatOwnerStack(debugStack)),
5400              "" !== debugStack && (info += "\n" + debugStack));
5401          } else if (null != workInProgress.debugStack) {
5402            var ownerStack = workInProgress.debugStack;
5403            (workInProgress = workInProgress.owner) &&
5404              ownerStack &&
5405              (info += "\n" + formatOwnerStack(ownerStack));
5406          } else break;
5407        var JSCompiler_inline_result = info;
5408      } catch (x) {
5409        JSCompiler_inline_result =
5410          "\nError generating stack: " + x.message + "\n" + x.stack;
5411      }
5412      return JSCompiler_inline_result;
5413    }
5414    function runWithFiberInDEV(fiber, callback, arg0, arg1, arg2, arg3, arg4) {
5415      var previousFiber = current;
5416      setCurrentFiber(fiber);
5417      try {
5418        return null !== fiber && fiber._debugTask
5419          ? fiber._debugTask.run(
5420              callback.bind(null, arg0, arg1, arg2, arg3, arg4)
5421            )
5422          : callback(arg0, arg1, arg2, arg3, arg4);
5423      } finally {
5424        setCurrentFiber(previousFiber);
5425      }
5426      // removed by dead control flow
5427
5428    }
5429    function setCurrentFiber(fiber) {
5430      ReactSharedInternals.getCurrentStack =
5431        null === fiber ? null : getCurrentFiberStackInDev;
5432      isRendering = !1;
5433      current = fiber;
5434    }
5435    function getToStringValue(value) {
5436      switch (typeof value) {
5437        case "bigint":
5438        case "boolean":
5439        case "number":
5440        case "string":
5441        case "undefined":
5442          return value;
5443        case "object":
5444          return checkFormFieldValueStringCoercion(value), value;
5445        default:
5446          return "";
5447      }
5448    }
5449    function isCheckable(elem) {
5450      var type = elem.type;
5451      return (
5452        (elem = elem.nodeName) &&
5453        "input" === elem.toLowerCase() &&
5454        ("checkbox" === type || "radio" === type)
5455      );
5456    }
5457    function trackValueOnNode(node) {
5458      var valueField = isCheckable(node) ? "checked" : "value",
5459        descriptor = Object.getOwnPropertyDescriptor(
5460          node.constructor.prototype,
5461          valueField
5462        );
5463      checkFormFieldValueStringCoercion(node[valueField]);
5464      var currentValue = "" + node[valueField];
5465      if (
5466        !node.hasOwnProperty(valueField) &&
5467        "undefined" !== typeof descriptor &&
5468        "function" === typeof descriptor.get &&
5469        "function" === typeof descriptor.set
5470      ) {
5471        var get = descriptor.get,
5472          set = descriptor.set;
5473        Object.defineProperty(node, valueField, {
5474          configurable: !0,
5475          get: function () {
5476            return get.call(this);
5477          },
5478          set: function (value) {
5479            checkFormFieldValueStringCoercion(value);
5480            currentValue = "" + value;
5481            set.call(this, value);
5482          }
5483        });
5484        Object.defineProperty(node, valueField, {
5485          enumerable: descriptor.enumerable
5486        });
5487        return {
5488          getValue: function () {
5489            return currentValue;
5490          },
5491          setValue: function (value) {
5492            checkFormFieldValueStringCoercion(value);
5493            currentValue = "" + value;
5494          },
5495          stopTracking: function () {
5496            node._valueTracker = null;
5497            delete node[valueField];
5498          }
5499        };
5500      }
5501    }
5502    function track(node) {
5503      node._valueTracker || (node._valueTracker = trackValueOnNode(node));
5504    }
5505    function updateValueIfChanged(node) {
5506      if (!node) return !1;
5507      var tracker = node._valueTracker;
5508      if (!tracker) return !0;
5509      var lastValue = tracker.getValue();
5510      var value = "";
5511      node &&
5512        (value = isCheckable(node)
5513          ? node.checked
5514            ? "true"
5515            : "false"
5516          : node.value);
5517      node = value;
5518      return node !== lastValue ? (tracker.setValue(node), !0) : !1;
5519    }
5520    function getActiveElement(doc) {
5521      doc = doc || ("undefined" !== typeof document ? document : void 0);
5522      if ("undefined" === typeof doc) return null;
5523      try {
5524        return doc.activeElement || doc.body;
5525      } catch (e) {
5526        return doc.body;
5527      }
5528    }
5529    function escapeSelectorAttributeValueInsideDoubleQuotes(value) {
5530      return value.replace(
5531        escapeSelectorAttributeValueInsideDoubleQuotesRegex,
5532        function (ch) {
5533          return "\\" + ch.charCodeAt(0).toString(16) + " ";
5534        }
5535      );
5536    }
5537    function validateInputProps(element, props) {
5538      void 0 === props.checked ||
5539        void 0 === props.defaultChecked ||
5540        didWarnCheckedDefaultChecked ||
5541        (console.error(
5542          "%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",
5543          getCurrentFiberOwnerNameInDevOrNull() || "A component",
5544          props.type
5545        ),
5546        (didWarnCheckedDefaultChecked = !0));
5547      void 0 === props.value ||
5548        void 0 === props.defaultValue ||
5549        didWarnValueDefaultValue$1 ||
5550        (console.error(
5551          "%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",
5552          getCurrentFiberOwnerNameInDevOrNull() || "A component",
5553          props.type
5554        ),
5555        (didWarnValueDefaultValue$1 = !0));
5556    }
5557    function updateInput(
5558      element,
5559      value,
5560      defaultValue,
5561      lastDefaultValue,
5562      checked,
5563      defaultChecked,
5564      type,
5565      name
5566    ) {
5567      element.name = "";
5568      null != type &&
5569      "function" !== typeof type &&
5570      "symbol" !== typeof type &&
5571      "boolean" !== typeof type
5572        ? (checkAttributeStringCoercion(type, "type"), (element.type = type))
5573        : element.removeAttribute("type");
5574      if (null != value)
5575        if ("number" === type) {
5576          if ((0 === value && "" === element.value) || element.value != value)
5577            element.value = "" + getToStringValue(value);
5578        } else
5579          element.value !== "" + getToStringValue(value) &&
5580            (element.value = "" + getToStringValue(value));
5581      else
5582        ("submit" !== type && "reset" !== type) ||
5583          element.removeAttribute("value");
5584      null != value
5585        ? setDefaultValue(element, type, getToStringValue(value))
5586        : null != defaultValue
5587          ? setDefaultValue(element, type, getToStringValue(defaultValue))
5588          : null != lastDefaultValue && element.removeAttribute("value");
5589      null == checked &&
5590        null != defaultChecked &&
5591        (element.defaultChecked = !!defaultChecked);
5592      null != checked &&
5593        (element.checked =
5594          checked &&
5595          "function" !== typeof checked &&
5596          "symbol" !== typeof checked);
5597      null != name &&
5598      "function" !== typeof name &&
5599      "symbol" !== typeof name &&
5600      "boolean" !== typeof name
5601        ? (checkAttributeStringCoercion(name, "name"),
5602          (element.name = "" + getToStringValue(name)))
5603        : element.removeAttribute("name");
5604    }
5605    function initInput(
5606      element,
5607      value,
5608      defaultValue,
5609      checked,
5610      defaultChecked,
5611      type,
5612      name,
5613      isHydrating
5614    ) {
5615      null != type &&
5616        "function" !== typeof type &&
5617        "symbol" !== typeof type &&
5618        "boolean" !== typeof type &&
5619        (checkAttributeStringCoercion(type, "type"), (element.type = type));
5620      if (null != value || null != defaultValue) {
5621        if (
5622          !(
5623            ("submit" !== type && "reset" !== type) ||
5624            (void 0 !== value && null !== value)
5625          )
5626        )
5627          return;
5628        defaultValue =
5629          null != defaultValue ? "" + getToStringValue(defaultValue) : "";
5630        value = null != value ? "" + getToStringValue(value) : defaultValue;
5631        isHydrating || value === element.value || (element.value = value);
5632        element.defaultValue = value;
5633      }
5634      checked = null != checked ? checked : defaultChecked;
5635      checked =
5636        "function" !== typeof checked &&
5637        "symbol" !== typeof checked &&
5638        !!checked;
5639      element.checked = isHydrating ? element.checked : !!checked;
5640      element.defaultChecked = !!checked;
5641      null != name &&
5642        "function" !== typeof name &&
5643        "symbol" !== typeof name &&
5644        "boolean" !== typeof name &&
5645        (checkAttributeStringCoercion(name, "name"), (element.name = name));
5646    }
5647    function setDefaultValue(node, type, value) {
5648      ("number" === type && getActiveElement(node.ownerDocument) === no
5648de) ||
5649        node.defaultValue === "" + value ||
5650        (node.defaultValue = "" + value);
5651    }
5652    function validateOptionProps(element, props) {
5653      null == props.value &&
5654        ("object" === typeof props.children && null !== props.children
5655          ? React.Children.forEach(props.children, function (child) {
5656              null == child ||
5657                "string" === typeof child ||
5658                "number" === typeof child ||
5659                "bigint" === typeof child ||
5660                didWarnInvalidChild ||
5661                ((didWarnInvalidChild = !0),
5662                console.error(
5663                  "Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."
5664                ));
5665            })
5666          : null == props.dangerouslySetInnerHTML ||
5667            didWarnInvalidInnerHTML ||
5668            ((didWarnInvalidInnerHTML = !0),
5669            console.error(
5670              "Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."
5671            )));
5672      null == props.selected ||
5673        didWarnSelectedSetOnOption ||
5674        (console.error(
5675          "Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."
5676        ),
5677        (didWarnSelectedSetOnOption = !0));
5678    }
5679    function getDeclarationErrorAddendum() {
5680      var ownerName = getCurrentFiberOwnerNameInDevOrNull();
5681      return ownerName
5682        ? "\n\nCheck the render method of `" + ownerName + "`."
5683        : "";
5684    }
5685    function updateOptions(node, multiple, propValue, setDefaultSelected) {
5686      node = node.options;
5687      if (multiple) {
5688        multiple = {};
5689        for (var i = 0; i < propValue.length; i++)
5690          multiple["$" + propValue[i]] = !0;
5691        for (propValue = 0; propValue < node.length; propValue++)
5692          (i = multiple.hasOwnProperty("$" + node[propValue].value)),
5693            node[propValue].selected !== i && (node[propValue].selected = i),
5694            i && setDefaultSelected && (node[propValue].defaultSelected = !0);
5695      } else {
5696        propValue = "" + getToStringValue(propValue);
5697        multiple = null;
5698        for (i = 0; i < node.length; i++) {
5699          if (node[i].value === propValue) {
5700            node[i].selected = !0;
5701            setDefaultSelected && (node[i].defaultSelected = !0);
5702            return;
5703          }
5704          null !== multiple || node[i].disabled || (multiple = node[i]);
5705        }
5706        null !== multiple && (multiple.selected = !0);
5707      }
5708    }
5709    function validateSelectProps(element, props) {
5710      for (element = 0; element < valuePropNames.length; element++) {
5711        var propName = valuePropNames[element];
5712        if (null != props[propName]) {
5713          var propNameIsArray = isArrayImpl(props[propName]);
5714          props.multiple && !propNameIsArray
5715            ? console.error(
5716                "The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",
5717                propName,
5718                getDeclarationErrorAddendum()
5719              )
5720            : !props.multiple &&
5721              propNameIsArray &&
5722              console.error(
5723                "The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",
5724                propName,
5725                getDeclarationErrorAddendum()
5726              );
5727        }
5728      }
5729      void 0 === props.value ||
5730        void 0 === props.defaultValue ||
5731        didWarnValueDefaultValue ||
5732        (console.error(
5733          "Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"
5734        ),
5735        (didWarnValueDefaultValue = !0));
5736    }
5737    function validateTextareaProps(element, props) {
5738      void 0 === props.value ||
5739        void 0 === props.defaultValue ||
5740        didWarnValDefaultVal ||
5741        (console.error(
5742          "%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",
5743          getCurrentFiberOwnerNameInDevOrNull() || "A component"
5744        ),
5745        (didWarnValDefaultVal = !0));
5746      null != props.children &&
5747        null == props.value &&
5748        console.error(
5749          "Use the `defaultValue` or `value` props instead of setting children on <textarea>."
5750        );
5751    }
5752    function updateTextarea(element, value, defaultValue) {
5753      if (
5754        null != value &&
5755        ((value = "" + getToStringValue(value)),
5756        value !== element.value && (element.value = value),
5757        null == defaultValue)
5758      ) {
5759        element.defaultValue !== value && (element.defaultValue = value);
5760        return;
5761      }
5762      element.defaultValue =
5763        null != defaultValue ? "" + getToStringValue(defaultValue) : "";
5764    }
5765    function initTextarea(element, value, defaultValue, children) {
5766      if (null == value) {
5767        if (null != children) {
5768          if (null != defaultValue)
5769            throw Error(
5770              "If you supply `defaultValue` on a <textarea>, do not pass children."
5771            );
5772          if (isArrayImpl(children)) {
5773            if (1 < children.length)
5774              throw Error("<textarea> can only have at most one child.");
5775            children = children[0];
5776          }
5777          defaultValue = children;
5778        }
5779        null == defaultValue && (defaultValue = "");
5780        value = defaultValue;
5781      }
5782      defaultValue = getToStringValue(value);
5783      element.defaultValue = defaultValue;
5784      children = element.textContent;
5785      children === defaultValue &&
5786        "" !== children &&
5787        null !== children &&
5788        (element.value = children);
5789    }
5790    function findNotableNode(node, indent) {
5791      return void 0 === node.serverProps &&
5792        0 === node.serverTail.length &&
5793        1 === node.children.length &&
5794        3 < node.distanceFromLeaf &&
5795        node.distanceFromLeaf > 15 - indent
5796        ? findNotableNode(node.children[0], indent)
5797        : node;
5798    }
5799    function indentation(indent) {
5800      return "  " + "  ".repeat(indent);
5801    }
5802    function added(indent) {
5803      return "+ " + "  ".repeat(indent);
5804    }
5805    function removed(indent) {
5806      return "- " + "  ".repeat(indent);
5807    }
5808    function describeFiberType(fiber) {
5809      switch (fiber.tag) {
5810        case 26:
5811        case 27:
5812        case 5:
5813          return fiber.type;
5814        case 16:
5815          return "Lazy";
5816        case 13:
5817          return "Suspense";
5818        case 19:
5819          return "SuspenseList";
5820        case 0:
5821        case 15:
5822          return (fiber = fiber.type), fiber.displayName || fiber.name || null;
5823        case 11:
5824          return (
5825            (fiber = fiber.type.render), fiber.displayName || fiber.name || null
5826          );
5827        case 1:
5828          return (fiber = fiber.type), fiber.displayName || fiber.name || null;
5829        default:
5830          return null;
5831      }
5832    }
5833    function describeTextNode(content, maxLength) {
5834      return needsEscaping.test(content)
5835        ? ((content = JSON.stringify(content)),
5836          content.length > maxLength - 2
5837            ? 8 > maxLength
5838              ? '{"..."}'
5839              : "{" + content.slice(0, maxLength - 7) + '..."}'
5840            : "{" + content + "}")
5841        : content.length > maxLength
5842          ? 5 > maxLength
5843            ? '{"..."}'
5844            : content.slice(0, maxLength - 3) + "..."
5845          : content;
5846    }
5847    function describeTextDiff(clientText, serverProps, indent) {
5848      var maxLength = 120 - 2 * indent;
5849      if (null === serverProps)
5850        return added(indent) + describeTextNode(clientText, maxLength) + "\n";
5851      if ("string" === typeof serverProps) {
5852        for (
5853          var firstDiff = 0;
5854          firstDiff < serverProps.length &&
5855          firstDiff < clientText.length &&
5856          serverProps.charCodeAt(firstDiff) ===
5857            clientText.charCodeAt(firstDiff);
5858          firstDiff++
5859        );
5860        firstDiff > maxLength - 8 &&
5861          10 < firstDiff &&
5862          ((clientText = "..." + clientText.slice(firstDiff - 8)),
5863          (serverProps = "..." + serverProps.slice(firstDiff - 8)));
5864        return (
5865          added(indent) +
5866          describeTextNode(clientText, maxLength) +
5867          "\n" +
5868          removed(indent) +
5869          describeTextNode(serverProps, maxLength) +
5870          "\n"
5871        );
5872      }
5873      return (
5874        indentation(indent) + describeTextNode(clientText, maxLength) + "\n"
5875      );
5876    }
5877    function objectName(object) {
5878      return Object.prototype.toString
5879        .call(object)
5880        .replace(/^\[object (.*)\]$/, function (m, p0) {
5881          return p0;
5882        });
5883    }
5884    function describeValue(value, maxLength) {
5885      switch (typeof value) {
5886        case "string":
5887          return (
5888            (value = JSON.stringify(value)),
5889            value.length > maxLength
5890              ? 5 > maxLength
5891                ? '"..."'
5892                : value.slice(0, maxLength - 4) + '..."'
5893              : value
5894          );
5895        case "object":
5896          if (null === value) return "null";
5897          if (isArrayImpl(value)) return "[...]";
5898          if (value.$$typeof === REACT_ELEMENT_TYPE)
5899            return (maxLength = getComponentNameFromType(value.type))
5900              ? "<" + maxLength + ">"
5901              : "<...>";
5902          var name = objectName(value);
5903          if ("Object" === name) {
5904            name = "";
5905            maxLength -= 2;
5906            for (var propName in value)
5907              if (value.hasOwnProperty(propName)) {
5908                var jsonPropName = JSON.stringify(propName);
5909                jsonPropName !== '"' + propName + '"' &&
5910                  (propName = jsonPropName);
5911                maxLength -= propName.length - 2;
5912                jsonPropName = describeValue(
5913                  value[propName],
5914                  15 > maxLength ? maxLength : 15
5915                );
5916                maxLength -= jsonPropName.length;
5917                if (0 > maxLength) {
5918                  name += "" === name ? "..." : ", ...";
5919                  break;
5920                }
5921                name +=
5922                  ("" === name ? "" : ",") + propName + ":" + jsonPropName;
5923              }
5924            return "{" + name + "}";
5925          }
5926          return name;
5927        case "function":
5928          return (maxLength = value.displayName || value.name)
5929            ? "function " + maxLength
5930            : "function";
5931        default:
5932          return String(value);
5933      }
5934    }
5935    function describePropValue(value, maxLength) {
5936      return "string" !== typeof value || needsEscaping.test(value)
5937        ? "{" + describeValue(value, maxLength - 2) + "}"
5938        : value.length > maxLength - 2
5939          ? 5 > maxLength
5940            ? '"..."'
5941            : '"' + value.slice(0, maxLength - 5) + '..."'
5942          : '"' + value + '"';
5943    }
5944    function describeExpandedElement(type, props, rowPrefix) {
5945      var remainingRowLength = 120 - rowPrefix.length - type.length,
5946        properties = [],
5947        propName;
5948      for (propName in props)
5949        if (props.hasOwnProperty(propName) && "children" !== propName) {
5950          var propValue = describePropValue(
5951            props[propName],
5952            120 - rowPrefix.length - propName.length - 1
5953          );
5954          remainingRowLength -= propName.length + propValue.length + 2;
5955          properties.push(propName + "=" + propValue);
5956        }
5957      return 0 === properties.length
5958        ? rowPrefix + "<" + type + ">\n"
5959        : 0 < remainingRowLength
5960          ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n"
5961          : rowPrefix +
5962            "<" +
5963            type +
5964            "\n" +
5965            rowPrefix +
5966            "  " +
5967            properties.join("\n" + rowPrefix + "  ") +
5968            "\n" +
5969            rowPrefix +
5970            ">\n";
5971    }
5972    function describePropertiesDiff(clientObject, serverObject, indent) {
5973      var properties = "",
5974        remainingServerProperties = assign({}, serverObject),
5975        propName;
5976      for (propName in clientObject)
5977        if (clientObject.hasOwnProperty(propName)) {
5978          delete remainingServerProperties[propName];
5979          var maxLength = 120 - 2 * indent - propName.length - 2,
5980            clientPropValue = describeValue(clientObject[propName], maxLength);
5981          serverObject.hasOwnProperty(propName)
5982            ? ((maxLength = describeValue(serverObject[propName], maxLength)),
5983              (properties +=
5984                added(indent) + propName + ": " + clientPropValue + "\n"),
5985              (properties +=
5986                removed(indent) + propName + ": " + maxLength + "\n"))
5987            : (properties +=
5988                added(indent) + propName + ": " + clientPropValue + "\n");
5989        }
5990      for (var _propName in remainingServerProperties)
5991        remainingServerProperties.hasOwnProperty(_propName) &&
5992          ((clientObject = describeValue(
5993            remainingServerProperties[_propName],
5994            120 - 2 * indent - _propName.length - 2
5995          )),
5996          (properties +=
5997            removed(indent) + _propName + ": " + clientObject + "\n"));
5998      return properties;
5999    }
6000    function describeElementDiff(type, clientProps, serverProps, indent) {
6001      var content = "",
6002        serverPropNames = new Map();
6003      for (propName$jscomp$0 in serverProps)
6004        serverProps.hasOwnProperty(propName$jscomp$0) &&
6005          serverPropNames.set(
6006            propName$jscomp$0.toLowerCase(),
6007            propName$jscomp$0
6008          );
6009      if (1 === serverPropNames.size && serverPropNames.has("children"))
6010        content += describeExpandedElement(
6011          type,
6012          clientProps,
6013          indentation(indent)
6014        );
6015      else {
6016        for (var _propName2 in clientProps)
6017          if (
6018            clientProps.hasOwnProperty(_propName2) &&
6019            "children" !== _propName2
6020          ) {
6021            var maxLength$jscomp$0 =
6022                120 - 2 * (indent + 1) - _propName2.length - 1,
6023              serverPropName = serverPropNames.get(_propName2.toLowerCase());
6024            if (void 0 !== serverPropName) {
6025              serverPropNames.delete(_propName2.toLowerCase());
6026              var propName$jscomp$0 = clientProps[_propName2];
6027              serverPropName = serverProps[serverPropName];
6028              var clientPropValue = describePropValue(
6029                propName$jscomp$0,
6030                maxLength$jscomp$0
6031              );
6032              maxLength$jscomp$0 = describePropValue(
6033                serverPropName,
6034                maxLength$jscomp$0
6035              );
6036              "object" === typeof propName$jscomp$0 &&
6037              null !== propName$jscomp$0 &&
6038              "object" === typeof serverPropName &&
6039              null !== serverPropName &&
6040              "Object" === objectName(propName$jscomp$0) &&
6041              "Object" === objectName(serverPropName) &&
6042              (2 < Object.keys(propName$jscomp$0).length ||
6043                2 < Object.keys(serverPropName).length ||
6044                -1 < clientPropValue.indexOf("...") ||
6045                -1 < maxLength$jscomp$0.indexOf("..."))
6046                ? (content +=
6047                    indentation(indent + 1) +
6048                    _propName2 +
6049                    "={{\n" +
6050                    describePropertiesDiff(
6051                      propName$jscomp$0,
6052                      serverPropName,
6053                      indent + 2
6054                    ) +
6055                    indentation(indent + 1) +
6056                    "}}\n")
6057                : ((content +=
6058                    added(indent + 1) +
6059                    _propName2 +
6060                    "=" +
6061                    clientPropValue +
6062                    "\n"),
6063                  (content +=
6064                    removed(indent + 1) +
6065                    _propName2 +
6066                    "=" +
6067                    maxLength$jscomp$0 +
6068                    "\n"));
6069            } else
6070              content +=
6071                indentation(indent + 1) +
6072                _propNam
6072e2 +
6073                "=" +
6074                describePropValue(clientProps[_propName2], maxLength$jscomp$0) +
6075                "\n";
6076          }
6077        serverPropNames.forEach(function (propName) {
6078          if ("children" !== propName) {
6079            var maxLength = 120 - 2 * (indent + 1) - propName.length - 1;
6080            content +=
6081              removed(indent + 1) +
6082              propName +
6083              "=" +
6084              describePropValue(serverProps[propName], maxLength) +
6085              "\n";
6086          }
6087        });
6088        content =
6089          "" === content
6090            ? indentation(indent) + "<" + type + ">\n"
6091            : indentation(indent) +
6092              "<" +
6093              type +
6094              "\n" +
6095              content +
6096              indentation(indent) +
6097              ">\n";
6098      }
6099      type = serverProps.children;
6100      clientProps = clientProps.children;
6101      if (
6102        "string" === typeof type ||
6103        "number" === typeof type ||
6104        "bigint" === typeof type
6105      ) {
6106        serverPropNames = "";
6107        if (
6108          "string" === typeof clientProps ||
6109          "number" === typeof clientProps ||
6110          "bigint" === typeof clientProps
6111        )
6112          serverPropNames = "" + clientProps;
6113        content += describeTextDiff(serverPropNames, "" + type, indent + 1);
6114      } else if (
6115        "string" === typeof clientProps ||
6116        "number" === typeof clientProps ||
6117        "bigint" === typeof clientProps
6118      )
6119        content =
6120          null == type
6121            ? content + describeTextDiff("" + clientProps, null, indent + 1)
6122            : content + describeTextDiff("" + clientProps, void 0, indent + 1);
6123      return content;
6124    }
6125    function describeSiblingFiber(fiber, indent) {
6126      var type = describeFiberType(fiber);
6127      if (null === type) {
6128        type = "";
6129        for (fiber = fiber.child; fiber; )
6130          (type += describeSiblingFiber(fiber, indent)),
6131            (fiber = fiber.sibling);
6132        return type;
6133      }
6134      return indentation(indent) + "<" + type + ">\n";
6135    }
6136    function describeNode(node, indent) {
6137      var skipToNode = findNotableNode(node, indent);
6138      if (
6139        skipToNode !== node &&
6140        (1 !== node.children.length || node.children[0] !== skipToNode)
6141      )
6142        return (
6143          indentation(indent) + "...\n" + describeNode(skipToNode, indent + 1)
6144        );
6145      skipToNode = "";
6146      var debugInfo = node.fiber._debugInfo;
6147      if (debugInfo)
6148        for (var i = 0; i < debugInfo.length; i++) {
6149          var serverComponentName = debugInfo[i].name;
6150          "string" === typeof serverComponentName &&
6151            ((skipToNode +=
6152              indentation(indent) + "<" + serverComponentName + ">\n"),
6153            indent++);
6154        }
6155      debugInfo = "";
6156      i = node.fiber.pendingProps;
6157      if (6 === node.fiber.tag)
6158        (debugInfo = describeTextDiff(i, node.serverProps, indent)), indent++;
6159      else if (
6160        ((serverComponentName = describeFiberType(node.fiber)),
6161        null !== serverComponentName)
6162      )
6163        if (void 0 === node.serverProps) {
6164          debugInfo = indent;
6165          var maxLength = 120 - 2 * debugInfo - serverComponentName.length - 2,
6166            content = "";
6167          for (propName in i)
6168            if (i.hasOwnProperty(propName) && "children" !== propName) {
6169              var propValue = describePropValue(i[propName], 15);
6170              maxLength -= propName.length + propValue.length + 2;
6171              if (0 > maxLength) {
6172                content += " ...";
6173                break;
6174              }
6175              content += " " + propName + "=" + propValue;
6176            }
6177          debugInfo =
6178            indentation(debugInfo) +
6179            "<" +
6180            serverComponentName +
6181            content +
6182            ">\n";
6183          indent++;
6184        } else
6185          null === node.serverProps
6186            ? ((debugInfo = describeExpandedElement(
6187                serverComponentName,
6188                i,
6189                added(indent)
6190              )),
6191              indent++)
6192            : "string" === typeof node.serverProps
6193              ? console.error(
6194                  "Should not have matched a non HostText fiber to a Text node. This is a bug in React."
6195                )
6196              : ((debugInfo = describeElementDiff(
6197                  serverComponentName,
6198                  i,
6199                  node.serverProps,
6200                  indent
6201                )),
6202                indent++);
6203      var propName = "";
6204      i = node.fiber.child;
6205      for (
6206        serverComponentName = 0;
6207        i && serverComponentName < node.children.length;
6208
6209      )
6210        (maxLength = node.children[serverComponentName]),
6211          maxLength.fiber === i
6212            ? ((propName += describeNode(maxLength, indent)),
6213              serverComponentName++)
6214            : (propName += describeSiblingFiber(i, indent)),
6215          (i = i.sibling);
6216      i &&
6217        0 < node.children.length &&
6218        (propName += indentation(indent) + "...\n");
6219      i = node.serverTail;
6220      null === node.serverProps && indent--;
6221      for (node = 0; node < i.length; node++)
6222        (serverComponentName = i[node]),
6223          (propName =
6224            "string" === typeof serverComponentName
6225              ? propName +
6226                (removed(indent) +
6227                  describeTextNode(serverComponentName, 120 - 2 * indent) +
6228                  "\n")
6229              : propName +
6230                describeExpandedElement(
6231                  serverComponentName.type,
6232                  serverComponentName.props,
6233                  removed(indent)
6234                ));
6235      return skipToNode + debugInfo + propName;
6236    }
6237    function describeDiff(rootNode) {
6238      try {
6239        return "\n\n" + describeNode(rootNode, 0);
6240      } catch (x) {
6241        return "";
6242      }
6243    }
6244    function describeAncestors(ancestor, child, props) {
6245      for (var fiber = child, node = null, distanceFromLeaf = 0; fiber; )
6246        fiber === ancestor && (distanceFromLeaf = 0),
6247          (node = {
6248            fiber: fiber,
6249            children: null !== node ? [node] : [],
6250            serverProps:
6251              fiber === child ? props : fiber === ancestor ? null : void 0,
6252            serverTail: [],
6253            distanceFromLeaf: distanceFromLeaf
6254          }),
6255          distanceFromLeaf++,
6256          (fiber = fiber.return);
6257      return null !== node ? describeDiff(node).replaceAll(/^[+-]/gm, ">") : "";
6258    }
6259    function updatedAncestorInfoDev(oldInfo, tag) {
6260      var ancestorInfo = assign({}, oldInfo || emptyAncestorInfoDev),
6261        info = { tag: tag };
6262      -1 !== inScopeTags.indexOf(tag) &&
6263        ((ancestorInfo.aTagInScope = null),
6264        (ancestorInfo.buttonTagInScope = null),
6265        (ancestorInfo.nobrTagInScope = null));
6266      -1 !== buttonScopeTags.indexOf(tag) &&
6267        (ancestorInfo.pTagInButtonScope = null);
6268      -1 !== specialTags.indexOf(tag) &&
6269        "address" !== tag &&
6270        "div" !== tag &&
6271        "p" !== tag &&
6272        ((ancestorInfo.listItemTagAutoclosing = null),
6273        (ancestorInfo.dlItemTagAutoclosing = null));
6274      ancestorInfo.current = info;
6275      "form" === tag && (ancestorInfo.formTag = info);
6276      "a" === tag && (ancestorInfo.aTagInScope = info);
6277      "button" === tag && (ancestorInfo.buttonTagInScope = info);
6278      "nobr" === tag && (ancestorInfo.nobrTagInScope = info);
6279      "p" === tag && (ancestorInfo.pTagInButtonScope = info);
6280      "li" === tag && (ancestorInfo.listItemTagAutoclosing = info);
6281      if ("dd" === tag || "dt" === tag)
6282        ancestorInfo.dlItemTagAutoclosing = info;
6283      "#document" === tag || "html" === tag
6284        ? (ancestorInfo.containerTagInScope = null)
6285        : ancestorInfo.containerTagInScope ||
6286          (ancestorInfo.containerTagInScope = info);
6287      null !== oldInfo ||
6288      ("#document" !== tag && "html" !== tag && "body" !== tag)
6289        ? !0 === ancestorInfo.implicitRootScope &&
6290          (ancestorInfo.implicitRootScope = !1)
6291        : (ancestorInfo.implicitRootScope = !0);
6292      return ancestorInfo;
6293    }
6294    function isTagValidWithParent(tag, parentTag, implicitRootScope) {
6295      switch (parentTag) {
6296        case "select":
6297          return (
6298            "hr" === tag ||
6299            "option" === tag ||
6300            "optgroup" === tag ||
6301            "script" === tag ||
6302            "template" === tag ||
6303            "#text" === tag
6304          );
6305        case "optgroup":
6306          return "option" === tag || "#text" === tag;
6307        case "option":
6308          return "#text" === tag;
6309        case "tr":
6310          return (
6311            "th" === tag ||
6312            "td" === tag ||
6313            "style" === tag ||
6314            "script" === tag ||
6315            "template" === tag
6316          );
6317        case "tbody":
6318        case "thead":
6319        case "tfoot":
6320          return (
6321            "tr" === tag ||
6322            "style" === tag ||
6323            "script" === tag ||
6324            "template" === tag
6325          );
6326        case "colgroup":
6327          return "col" === tag || "template" === tag;
6328        case "table":
6329          return (
6330            "caption" === tag ||
6331            "colgroup" === tag ||
6332            "tbody" === tag ||
6333            "tfoot" === tag ||
6334            "thead" === tag ||
6335            "style" === tag ||
6336            "script" === tag ||
6337            "template" === tag
6338          );
6339        case "head":
6340          return (
6341            "base" === tag ||
6342            "basefont" === tag ||
6343            "bgsound" === tag ||
6344            "link" === tag ||
6345            "meta" === tag ||
6346            "title" === tag ||
6347            "noscript" === tag ||
6348            "noframes" === tag ||
6349            "style" === tag ||
6350            "script" === tag ||
6351            "template" === tag
6352          );
6353        case "html":
6354          if (implicitRootScope) break;
6355          return "head" === tag || "body" === tag || "frameset" === tag;
6356        case "frameset":
6357          return "frame" === tag;
6358        case "#document":
6359          if (!implicitRootScope) return "html" === tag;
6360      }
6361      switch (tag) {
6362        case "h1":
6363        case "h2":
6364        case "h3":
6365        case "h4":
6366        case "h5":
6367        case "h6":
6368          return (
6369            "h1" !== parentTag &&
6370            "h2" !== parentTag &&
6371            "h3" !== parentTag &&
6372            "h4" !== parentTag &&
6373            "h5" !== parentTag &&
6374            "h6" !== parentTag
6375          );
6376        case "rp":
6377        case "rt":
6378          return -1 === impliedEndTags.indexOf(parentTag);
6379        case "caption":
6380        case "col":
6381        case "colgroup":
6382        case "frameset":
6383        case "frame":
6384        case "tbody":
6385        case "td":
6386        case "tfoot":
6387        case "th":
6388        case "thead":
6389        case "tr":
6390          return null == parentTag;
6391        case "head":
6392          return implicitRootScope || null === parentTag;
6393        case "html":
6394          return (
6395            (implicitRootScope && "#document" === parentTag) ||
6396            null === parentTag
6397          );
6398        case "body":
6399          return (
6400            (implicitRootScope &&
6401              ("#document" === parentTag || "html" === parentTag)) ||
6402            null === parentTag
6403          );
6404      }
6405      return !0;
6406    }
6407    function findInvalidAncestorForTag(tag, ancestorInfo) {
6408      switch (tag) {
6409        case "address":
6410        case "article":
6411        case "aside":
6412        case "blockquote":
6413        case "center":
6414        case "details":
6415        case "dialog":
6416        case "dir":
6417        case "div":
6418        case "dl":
6419        case "fieldset":
6420        case "figcaption":
6421        case "figure":
6422        case "footer":
6423        case "header":
6424        case "hgroup":
6425        case "main":
6426        case "menu":
6427        case "nav":
6428        case "ol":
6429        case "p":
6430        case "section":
6431        case "summary":
6432        case "ul":
6433        case "pre":
6434        case "listing":
6435        case "table":
6436        case "hr":
6437        case "xmp":
6438        case "h1":
6439        case "h2":
6440        case "h3":
6441        case "h4":
6442        case "h5":
6443        case "h6":
6444          return ancestorInfo.pTagInButtonScope;
6445        case "form":
6446          return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;
6447        case "li":
6448          return ancestorInfo.listItemTagAutoclosing;
6449        case "dd":
6450        case "dt":
6451          return ancestorInfo.dlItemTagAutoclosing;
6452        case "button":
6453          return ancestorInfo.buttonTagInScope;
6454        case "a":
6455          return ancestorInfo.aTagInScope;
6456        case "nobr":
6457          return ancestorInfo.nobrTagInScope;
6458      }
6459      return null;
6460    }
6461    function findAncestor(parent, tagName) {
6462      for (; parent; ) {
6463        switch (parent.tag) {
6464          case 5:
6465          case 26:
6466          case 27:
6467            if (parent.type === tagName) return parent;
6468        }
6469        parent = parent.return;
6470      }
6471      return null;
6472    }
6473    function validateDOMNesting(childTag, ancestorInfo) {
6474      ancestorInfo = ancestorInfo || emptyAncestorInfoDev;
6475      var parentInfo = ancestorInfo.current;
6476      ancestorInfo = (parentInfo = isTagValidWithParent(
6477        childTag,
6478        parentInfo && parentInfo.tag,
6479        ancestorInfo.implicitRootScope
6480      )
6481        ? null
6482        : parentInfo)
6483        ? null
6484        : findInvalidAncestorForTag(childTag, ancestorInfo);
6485      ancestorInfo = parentInfo || ancestorInfo;
6486      if (!ancestorInfo) return !0;
6487      var ancestorTag = ancestorInfo.tag;
6488      ancestorInfo = String(!!parentInfo) + "|" + childTag + "|" + ancestorTag;
6489      if (didWarn[ancestorInfo]) return !1;
6490      didWarn[ancestorInfo] = !0;
6491      var ancestor = (ancestorInfo = current)
6492          ? findAncestor(ancestorInfo.return, ancestorTag)
6493          : null,
6494        ancestorDescription =
6495          null !== ancestorInfo && null !== ancestor
6496            ? describeAncestors(ancestor, ancestorInfo, null)
6497            : "",
6498        tagDisplayName = "<" + childTag + ">";
6499      parentInfo
6500        ? ((parentInfo = ""),
6501          "table" === ancestorTag &&
6502            "tr" === childTag &&
6503            (parentInfo +=
6504              " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),
6505          console.error(
6506            "In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s",
6507            tagDisplayName,
6508            ancestorTag,
6509            parentInfo,
6510            ancestorDescription
6511          ))
6512        : console.error(
6513            "In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s",
6514            tagDisplayName,
6515            ancestorTag,
6516            ancestorDescription
6517          );
6518      ancestorInfo &&
6519        ((childTag = ancestorInfo.return),
6520        null === ancestor ||
6521          null === childTag ||
6522          (ancestor === childTag &&
6523            childTag._debugOwner === ancestorInfo._debugOwner) ||
6524          runWithFiberInDEV(ancestor, function () {
6525            console.error(
6526              "<%s> cannot contain a nested %s.\nSee this log for the ancestor stack trace.",
6527              ancestorTag,
6528              tagDisplayName
6529            );
6530          }));
6531      return !1;
6532    }
6533    function validateTextNesting(childText, parentTag, implicitRootScope) {
6534      if (implicitRootScope || isTagValidWithParent("#text", parentTag, !1))
6535        return !0;
6536      implicitRootScope = "#text|" + parentTag;
6537      if (didWarn[implicitRootScope]) return !1;
6538      didWarn[implicitRootScope] = !0;
6539      var ancestor = (implicitRootScope = current)
6540        ? findAncestor(implicitRootScope, parentTag)
6541        : null;
6542      implicitRootScope =
6543        null !== implicitRootScope && null !== ancestor
6544          ? describeAncestors(
6545              ancestor,
6546              implicitRootScope,
6547              6 !== implicitRootScope.tag ? { children: null } : null
6548            )
6549          : "";
6550      /\S/.test(childText)
6551        ? console.error(
6552            "In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.%s",
6553            parentTag,
6554            implicitRootScope
6555          )
6556        : console.error(
6557            "In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.%s",
6558            parentTag,
6559            implicitRootScope
6560          );
6561      return !1;
6562    }
6563    function setTextContent(node, text) {
6564      if (text) {
6565        var firstChild = node.firstChild;
6566        if (
6567          firstChild &&
6568          firstChild === node.lastChild &&
6569          3 === firstChild.nodeType
6570        ) {
6571          firstChild.nodeValue = text;
6572          return;
6573        }
6574      }
6575      node.textContent = text;
6576    }
6577    function camelize(string) {
6578      return string.replace(hyphenPattern, function (_, character) {
6579        return character.toUpperCase();
6580      });
6581    }
6582    function setValueForStyle(style, styleName, value) {
6583      var isCustomProperty = 0 === styleName.indexOf("--");
6584      isCustomProperty ||
6585        (-1 < styleName.indexOf("-")
6586          ? (warnedStyleNames.hasOwnProperty(styleName) &&
6587              warnedStyleNames[styleName]) ||
6588            ((warnedStyleNames[styleName] = !0),
6589            console.error(
6590              "Unsupported style property %s. Did you mean %s?",
6591              styleName,
6592              camelize(styleName.replace(msPattern, "ms-"))
6593            ))
6594          : badVendoredStyleNamePattern.test(styleName)
6595            ? (warnedStyleNames.hasOwnProperty(styleName) &&
6596                warnedStyleNames[styleName]) ||
6597              ((warnedStyleNames[styleName] = !0),
6598              console.error(
6599                "Unsupported vendor-prefixed style property %s. Did you mean %s?",
6600                styleName,
6601                styleName.charAt(0).toUpperCase() + styleName.slice(1)
6602              ))
6603            : !badStyleValueWithSemicolonPattern.test(value) ||
6604              (warnedStyleValues.hasOwnProperty(value) &&
6605                warnedStyleValues[value]) ||
6606              ((warnedStyleValues[value] = !0),
6607              console.error(
6608                'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',
6609                styleName,
6610                value.replace(badStyleValueWithSemicolonPattern, "")
6611              )),
6612        "number" === typeof value &&
6613          (isNaN(value)
6614            ? warnedForNaNValue ||
6615              ((warnedForNaNValue = !0),
6616              console.error(
6617                "`NaN` is an invalid value for the `%s` css style property.",
6618                styleName
6619              ))
6620            : isFinite(value) ||
6621              warnedForInfinityValue ||
6622              ((warnedForInfinityValue = !0),
6623              console.error(
6624                "`Infinity` is an invalid value for the `%s` css style property.",
6625                styleName
6626              ))));
6627      null == value || "boolean" === typeof value || "" === value
6628        ? isCustomProperty
6629          ? style.setProperty(styleName, "")
6630          : "float" === styleName
6631            ? (style.cssFloat = "")
6632            : (style[styleName] = "")
6633        : isCustomProperty
6634          ? style.setProperty(styleName, value)
6635          : "number" !== typeof value ||
6636              0 === value ||
6637              unitlessNumbers.has(styleName)
6638            ? "float" === styleName
6639              ? (style.cssFloat = value)
6640              : (checkCSSPropertyStringCoercion(value, styleName),
6641                (style[styleName] = ("" + value).trim()))
6642            : (style[styleName] = value + "px");
6643    }
6644    function setValueForStyles(node, styles, prevStyles) {
6645      if (null != styles && "object" !== typeof styles)
6646        throw Error(
6647          "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
6648        );
6649      styles && Object.freeze(styles);
6650      node = node.style;
6651      if (null != prevStyles) {
6652        if (styles) {
6653          var expandedUpdates = {};
6654          if (prevStyles)
6655            for (var key in prevStyles)
6656              if (prevStyles.hasOwnProperty(key) && !styles.hasOwnProperty(key))
6657                for (
6658                  var longhands = shorthandToLonghand[key] || [key], i = 0;
6659                  i < longhands.length;
6660                  i++
6661                )
6662                  expandedUpdates[longhands[i]] = key;
6663          for (var _key in styles)
6664            if (
6665              styles.hasOwnProperty(_key) &&
6666              (!prevStyles || prevStyles[_key] !== styles[_key])
6667            )
6668              for (
6669                key = shorthandToLonghand[_key] || [_key], longhands = 0;
6670                longhands < key.length;
6671                longhands++
6672              )
6673                expandedUpdates[key[longhands]] = _key;
6674          _key = {};
6675          for (var key$jscomp$0 in styles)
6676            for (
6677              key = shorthandToLonghand[key$jscomp$0] || [key$jscomp$0],
6678                longhands = 0;
6679              longhands < key.length;
6680              longhands++
6681            )
6682              _key[key[longhands]] = key$jscomp$0;
6683          key$jscomp$0 = {};
6684          for (var _key2 in expandedUpdates)
6685            if (
6686              ((key = expandedUpdates[_key2]),
6687              (longhands = _key[_key2]) &&
6688                key !== longhands &&
6689                ((i = key + "," + longhands), !key$jscomp$0[i]))
6690            ) {
6691              key$jscomp$0[i] = !0;
6692              i = console;
6693              var value = styles[key];
6694              i.error.call(
6695                i,
6696                "%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",
6697                null == value || "boolean" === typeof value || "" === value
6698                  ? "Removing"
6699                  : "Updating",
6700                key,
6701                longhands
6702              );
6703            }
6704        }
6705        for (var styleName in prevStyles)
6706          !prevStyles.hasOwnProperty(styleName) ||
6707            (null != styles && styles.hasOwnProperty(styleName)) ||
6708            (0 === styleName.indexOf("--")
6709              ? node.setProperty(styleName, "")
6710              : "float" === styleName
6711                ? (node.cssFloat = "")
6712                : (node[styleName] = ""));
6713        for (var _styleName in styles)
6714          (_key2 = styles[_styleName]),
6715            styles.hasOwnProperty(_styleName) &&
6716              prevStyles[_styleName] !== _key2 &&
6717              setValueForStyle(node, _styleName, _key2);
6718      } else
6719        for (expandedUpdates in styles)
6720          styles.hasOwnProperty(expandedUpdates) &&
6721            setValueForStyle(node, expandedUpdates, styles[expandedUpdates]);
6722    }
6723    function isCustomElement(tagName) {
6724      if (-1 === tagName.indexOf("-")) return !1;
6725      switch (tagName) {
6726        case "annotation-xml":
6727        case "color-profile":
6728        case "font-face":
6729        case "font-face-src":
6730        case "font-face-uri":
6731        case "font-face-format":
6732        case "font-face-name":
6733        case "missing-glyph":
6734          return !1;
6735        default:
6736          return !0;
6737      }
6738    }
6739    function getAttributeAlias(name) {
6740      return aliases.get(name) || name;
6741    }
6742    function validateProperty$1(tagName, name) {
6743      if (
6744        hasOwnProperty.call(warnedProperties$1, name) &&
6745        warnedProperties$1[name]
6746      )
6747        return !0;
6748      if (rARIACamel$1.test(name)) {
6749        tagName = "aria-" + name.slice(4).toLowerCase();
6750        tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null;
6751        if (null == tagName)
6752          return (
6753            console.error(
6754              "Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",
6755              name
6756            ),
6757            (warnedProperties$1[name] = !0)
6758          );
6759        if (name !== tagName)
6760          return (
6761            console.error(
6762              "Invalid ARIA attribute `%s`. Did you mean `%s`?",
6763              name,
6764              tagName
6765            ),
6766            (warnedProperties$1[name] = !0)
6767          );
6768      }
6769      if (rARIA$1.test(name)) {
6770        tagName = name.toLowerCase();
6771        tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null;
6772        if (null == tagName) return (warnedProperties$1[name] = !0), !1;
6773        name !== tagName &&
6774          (console.error(
6775            "Unknown ARIA attribute `%s`. Did you mean `%s`?",
6776            name,
6777            tagName
6778          ),
6779          (warnedProperties$1[name] = !0));
6780      }
6781      return !0;
6782    }
6783    function validateProperties$2(type, props) {
6784      var invalidProps = [],
6785        key;
6786      for (key in props)
6787        validateProperty$1(type, key) || invalidProps.push(key);
6788      props = invalidProps
6789        .map(function (prop) {
6790          return "`" + prop + "`";
6791        })
6792        .join(", ");
6793      1 === invalidProps.length
6794        ? console.error(
6795            "Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",
6796            props,
6797            type
6798          )
6799        : 1 < invalidProps.length &&
6800          console.error(
6801            "Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",
6802            props,
6803            type
6804          );
6805    }
6806    function validateProperty(tagName, name, value, eventRegistry) {
6807      if (hasOwnProperty.call(warnedProperties, name) && warnedProperties[name])
6808        return !0;
6809      var lowerCasedName = name.toLowerCase();
6810      if ("onfocusin" === lowerCasedName || "onfocusout" === lowerCasedName)
6811        return (
6812          console.error(
6813            "React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."
6814          ),
6815          (warnedProperties[name] = !0)
6816        );
6817      if (
6818        "function" === typeof value &&
6819        (("form" === tagName && "action" === name) ||
6820          ("input" === tagName && "formAction" === name) ||
6821          ("button" === tagName && "formAction" === name))
6822      )
6823        return !0;
6824      if (null != eventRegistry) {
6825        tagName = eventRegistry.possibleRegistrationNames;
6826        if (eventRegistry.registrationNameDependencies.hasOwnProperty(name))
6827          return !0;
6828        eventRegistry = tagName.hasOwnProperty(lowerCasedName)
6829          ? tagName[lowerCasedName]
6830          : null;
6831        if (null != eventRegistry)
6832          return (
6833            console.error(
6834              "Invalid event handler property `%s`. Did you mean `%s`?",
6835              name,
6836              eventRegistry
6837            ),
6838            (warnedProperties[name] = !0)
6839          );
6840        if (EVENT_NAME_REGEX.test(name))
6841          return (
6842            console.error(
6843              "Unknown event handler property `%s`. It will be ignored.",
6844              name
6845            ),
6846            (warnedProperties[name] = !0)
6847          );
6848      } else if (EVENT_NAME_REGEX.test(name))
6849        return (
6850          INVALID_EVENT_NAME_REGEX.test(name) &&
6851            console.error(
6852              "Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",
6853              name
6854            ),
6855          (warnedProperties[name] = !0)
6856        );
6857      if (rARIA.test(name) || rARIACamel.test(name)) return !0;
6858      if ("innerhtml" === lowerCasedName)
6859        return (
6860          console.error(
6861            "Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."
6862          ),
6863          (warnedProperties[name] = !0)
6864        );
6865      if ("aria" === lowerCasedName)
6866        return (
6867          console.error(
6868            "The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."
6869          ),
6870          (warnedProperties[name] = !0)
6871        );
6872      if (
6873        "is" === lowerCasedName &&
6874        null !== value &&
6875        void 0 !== value &&
6876        "string" !== typeof value
6877      )
6878        return (
6879          console.error(
6880            "Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",
6881            typeof value
6882          ),
6883          (warnedProperties[name] = !0)
6884        );
6885      if ("number" === typeof value && isNaN(value))
6886        return (
6887          console.error(
6888            "Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",
6889            name
6890          ),
6891          (warnedProperties[name] = !0)
6892        );
6893      if (possibleStandardNames.hasOwnProperty(lowerCasedName)) {
6894        if (
6895          ((lowerCasedName = possibleStandardNames[lowerCasedName]),
6896          lowerCasedName !== name)
6897        )
6898          return (
6899            console.error(
6900              "Invalid DOM property `%s`. Did you mean `%s`?",
6901              name,
6902              lowerCasedName
6903            ),
6904            (warnedProperties[name] = !0)
6905          );
6906      } else if (name !== lowerCasedName)
6907        return (
6908          console.error(
6909            "React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",
6910            name,
6911            lowerCasedName
6912          ),
6913          (warnedProperties[name] = !0)
6914        );
6915      switch (name) {
6916        case "dangerouslySetInnerHTML":
6917        case "children":
6918        case "style":
6919        case "suppressContentEditableWarning":
6920        case "suppressHydrationWarning":
6921        case "defaultValue":
6922        case "defaultChecked":
6923        case "innerHTML":
6924        case "ref":
6925          return !0;
6926        case "innerText":
6927        case "textContent":
6928          return !0;
6929      }
6930      switch (typeof value) {
6931        case "boolean":
6932          switch (name) {
6933            case "autoFocus":
6934            case "checked":
6935            case "multiple":
6936            case "muted":
6937            case "selected":
6938            case "contentEditable":
6939            case "spellCheck":
6940            case "draggable":
6941            case "value":
6942            case "autoReverse":
6943            case "externalResourcesRequired":
6944            case "focusable":
6945            case "preserveAlpha":
6946            case "allowFullScreen":
6947            case "async":
6948            case "autoPlay":
6949            case "controls":
6950            case "default":
6951            case "defer":
6952            case "disabled":
6953            case "disablePictureInPicture":
6954            case "disableRemotePlayback":
6955            case "formNoValidate":
6956            case "hidden":
6957            case "loop":
6958            case "noModule":
6959            case "noValidate":
6960            case "open":
6961            case "playsInline":
6962            case "readOnly":
6963            case "required":
6964            case "reversed":
6965            case "scoped":
6966            case "seamless":
6967            case "itemScope":
6968            case "capture":
6969            case "download":
6970            case "inert":
6971              return !0;
6972            default:
6973              lowerCasedName = name.toLowerCase().slice(0, 5);
6974              if ("data-" === lowerCasedName || "aria-" === lowerCasedName)
6975                return !0;
6976              value
6977                ? console.error(
6978                    'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',
6979                    value,
6980                    name,
6981                    name,
6982                    value,
6983                    name
6984                  )
6985                : console.error(
6986                    'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',
6987                    value,
6988                    name,
6989                    name,
6990                    value,
6991                    name,
6992                    name,
6993                    name
6994                  );
6995              return (warnedProperties[name] = !0);
6996          }
6997        case "function":
6998        case "symbol":
6999          return (warnedProperties[name] = !0), !1;
7000        case "string":
7001          if ("false" === value || "true" === value) {
7002            switch (name) {
7003              case "checked":
7004              case "selected":
7005              case "multiple":
7006              case "muted":
7007              case "allowFullScreen":
7008              case "async":
7009              case "autoPlay":
7010              case "controls":
7011              case "default":
7012              case "defer":
7013              case "disabled":
7014              case "disablePictureInPicture":
7015              case "disableRemotePlayback":
7016              case "formNoValidate":
7017              case "hidden":
7018              case "loop":
7019              case "noModule":
7020              case "noValidate":
7021              case "open":
7022              case "playsInline":
7023              case "readOnly":
7024              case "required":
7025              case "reversed":
7026              case "scoped":
7027              case "seamless":
7028              case "itemScope":
7029              case "inert":
7030                break;
7031              default:
7032                return !0;
7033            }
7034            console.error(
7035              "Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",
7036              value,
7037              name,
7038              "false" === value
7039                ? "The browser will interpret it as a truthy value."
7040                : 'Although this works, it will not work as expected if you pass the string "false".',
7041              name,
7042              value
7043            );
7044            warnedProperties[name] = !0;
7045          }
7046      }
7047      return !0;
7048    }
7049    function warnUnknownProperties(type, props, eventRegistry) {
7050      var unknownProps = [],
7051        key;
7052      for (key in props)
7053        validateProperty(type, key, props[key], eventRegistry) ||
7054          unknownProps.push(key);
7055      props = unknownProps
7056        .map(function (prop) {
7057          return "`" + prop + "`";
7058        })
7059        .join(", ");
7060      1 === unknownProps.length
7061        ? console.error(
7062            "Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",
7063            props,
7064            type
7065          )
7066        : 1 < unknownProps.length &&
7067          console.error(
7068            "Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",
7069            props,
7070            type
7071          );
7072    }
7073    function sanitizeURL(url) {
7074      return isJavaScriptProtocol.test("" + url)
7075        ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
7076        : url;
7077    }
7078    function getEventTarget(nativeEvent) {
7079      nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
7080      nativeEvent.correspondingUseElement &&
7081        (nativeEvent = nativeEvent.correspondingUseElement);
7082      return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent;
7083    }
7084    function restoreStateOfTarget(target) {
7085      var internalInstance = getInstanceFromNode(target);
7086      if (internalInstance && (target = internalInstance.stateNode)) {
7087        var props = target[internalPropsKey] || null;
7088        a: switch (
7089          ((target = internalInstance.stateNode), internalInstance.type)
7090        ) {
7091          case "input":
7092            updateInput(
7093              target,
7094              props.value,
7095              props.defaultValue,
7096              props.defaultValue,
7097              props.checked,
7098              props.defaultChecked,
7099              props.type,
7100              props.name
7101            );
7102            internalInstance = props.name;
7103            if ("radio" === props.type && null != internalInstance) {
7104              for (props = target; props.parentNode; ) props = props.parentNode;
7105              checkAttributeStringCoercion(internalInstance, "name");
7106              props = props.querySelectorAll(
7107                'input[name="' +
7108                  escapeSelectorAttributeValueInsideDoubleQuotes(
7109                    "" + internalInstance
7110                  ) +
7111                  '"][type="radio"]'
7112              );
7113              for (
7114                internalInstance = 0;
7115                internalInstance < props.length;
7116                internalInstance++
7117              ) {
7118                var otherNode = props[internalInstance];
7119                if (otherNode !== target && otherNode.form === target.form) {
7120                  var otherProps = otherNode[internalPropsKey] || null;
7121                  if (!otherProps)
7122                    throw Error(
7123                      "ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."
7124                    );
7125                  updateInput(
7126                    otherNode,
7127                    otherProps.value,
7128                    otherProps.defaultValue,
7129                    otherProps.defaultValue,
7130                    otherProps.checked,
7131                    otherProps.defaultChecked,
7132                    otherProps.type,
7133                    otherProps.name
7134                  );
7135                }
7136              }
7137              for (
7138                internalInstance = 0;
7139                internalInstance < props.length;
7140                internalInstance++
7141              )
7142                (otherNode = props[internalInstance]),
7143                  otherNode.form === target.form &&
7144                    updateValueIfChanged(otherNode);
7145            }
7146            break a;
7147          case "textarea":
7148            updateTextarea(target, props.value, props.defaultValue);
7149            break a;
7150          case "select":
7151            (internalInstance = props.value),
7152              null != internalInstance &&
7153                updateOptions(target, !!props.multiple, internalInstance, !1);
7154        }
7155      }
7156    }
7157    function batchedUpdates$1(fn, a, b) {
7158      if (isInsideEventHandler) return fn(a, b);
7159      isInsideEventHandler = !0;
7160      try {
7161        var JSCompiler_inline_result = fn(a);
7162        return JSCompiler_inline_result;
7163      } finally {
7164        if (
7165          ((isInsideEventHandler = !1),
7166          null !== restoreTarget || null !== restoreQueue)
7167        )
7168          if (
7169            (flushSyncWork$1(),
7170            restoreTarget &&
7171              ((a = restoreTarget),
7172              (fn = restoreQueue),
7173              (restoreQueue = restoreTarget = null),
7174              restoreStateOfTarget(a),
7175              fn))
7176          )
7177            for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]);
7178      }
7179    }
7180    function getListener(inst, registrationName) {
7181      var stateNode = inst.stateNode;
7182      if (null === stateNode) return null;
7183      var props = stateNode[internalPropsKey] || null;
7184      if (null === props) return null;
7185      stateNode = props[registrationName];
7186      a: switch (registrationName) {
7187        case "onClick":
7188        case "onClickCapture":
7189        case "onDoubleClick":
7190        case "onDoubleClickCapture":
7191        case "onMouseDown":
7192        case "onMouseDownCapture":
7193        case "onMouseMove":
7194        case "onMouseMoveCapture":
7195        case "onMouseUp":
7196        case "onMouseUpCapture":
7197        case "onMouseEnter":
7198          (props = !props.disabled) ||
7199            ((inst = inst.type),
7200            (props = !(
7201              "button" === inst ||
7202              "input" === inst ||
7203              "select" === inst ||
7204              "textarea" === inst
7205            )));
7206          inst = !props;
7207          break a;
7208        default:
7209          inst = !1;
7210      }
7211      if (inst) return null;
7212      if (stateNode && "function" !== typeof stateNode)
7213        throw Error(
7214          "Expected `" +
7215            registrationName +
7216            "` listener to be a function, instead got a value of `" +
7217            typeof stateNode +
7218            "` type."
7219        );
7220      return stateNode;
7221    }
7222    function getData() {
7223      if (fallbackText) return fallbackText;
7224      var start,
7225        startValue = startText,
7226        startLength = startValue.length,
7227        end,
7228        endValue = "value" in root ? root.value : root.textContent,
7229        endLength = endValue.length;
7230      for (
7231        start = 0;
7232        start < startLength && startValue[start] === endValue[start];
7233        start++
7234      );
7235      var minEnd = startLength - start;
7236      for (
7237        end = 1;
7238        end <= minEnd &&
7239        startValue[startLength - end] === endValue[endLength - end];
7240        end++
7241      );
7242      return (fallbackText = endValue.slice(start, 1 < end ? 1 - end : void 0));
7243    }
7244    function getEventCharCode(nativeEvent) {
7245      var keyCode = nativeEvent.keyCode;
7246      "charCode" in nativeEvent
7247        ? ((nativeEvent = nativeEvent.charCode),
7248          0 === nativeEvent && 13 === keyCode && (nativeEvent = 13))
7249        : (nativeEvent = keyCode);
7250      10 === nativeEvent && (nativeEvent = 13);
7251      return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0;
7252    }
7253    function functionThatReturnsTrue() {
7254      return !0;
7255    }
7256    function functionThatReturnsFalse() {
7257      return !1;
7258    }
7259    function createSyntheticEvent(Interface) {
7260      function SyntheticBaseEvent(
7261        reactName,
7262        reactEventType,
7263        targetInst,
7264        nativeEvent,
7265        nativeEventTarget
7266      ) {
7267        this._reactName = reactName;
7268        this._targetInst = targetInst;
7269        this.type = reactEventType;
7270        this.nativeEvent = nativeEvent;
7271        this.target = nativeEventTarget;
7272        this.currentTarget = null;
7273        for (var propName in Interface)
7274          Interface.hasOwnProperty(propName) &&
7275            ((reactName = Interface[propName]),
7276            (this[propName] = reactName
7277              ? reactName(nativeEvent)
7278              : nativeEvent[propName]));
7279        this.isDefaultPrevented = (
7280          null != nativeEvent.defaultPrevented
7281            ? nativeEvent.defaultPrevented
7282            : !1 === nativeEvent.returnValue
7283        )
7284          ? functionThatReturnsTrue
7285          : functionThatReturnsFalse;
7286        this.isPropagationStopped = functionThatReturnsFalse;
7287        return this;
7288      }
7289      assign(SyntheticBaseEvent.prototype, {
7290        preventDefault: function () {
7291          this.defaultPrevented = !0;
7292          var event = this.nativeEvent;
7293          event &&
7294            (event.preventDefault
7295              ? event.preventDefault()
7296              : "unknown" !== typeof event.returnValue &&
7297                (event.returnValue = !1),
7298            (this.isDefaultPrevented = functionThatReturnsTrue));
7299        },
7300        stopPropagation: function () {
7301          var event = this.nativeEvent;
7302          event &&
7303            (event.stopPropagation
7304              ? event.stopPropagation()
7305              : "unknown" !== typeof event.cancelBubble &&
7306                (event.cancelBubble = !0),
7307            (this.isPropagationStopped = functionThatReturnsTrue));
7308        },
7309        persist: function () {},
7310        isPersistent: functionThatReturnsTrue
7311      });
7312      return SyntheticBaseEvent;
7313    }
7314    function modifierStateGetter(keyArg) {
7315      var nativeEvent = this.nativeEvent;
7316      return nativeEvent.getModifierState
7317        ? nativeEvent.getModifierState(keyArg)
7318        : (keyArg = modifierKeyToProp[keyArg])
7319          ? !!nativeEvent[keyArg]
7320          : !1;
7321    }
7322    function getEventModifierState() {
7323      return modifierStateGetter;
7324    }
7325    function isFallbackCompositionEnd(domEventName, nativeEvent) {
7326      switch (domEventName) {
7327        case "keyup":
7328          return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode);
7329        case "keydown":
7330          return nativeEvent.keyCode !== START_KEYCODE;
7331        case "keypress":
7332        case "mousedown":
7333        case "focusout":
7334          return !0;
7335        default:
7336          return !1;
7337      }
7338    }
7339    function getDataFromCustomEvent(nativeEvent) {
7340      nativeEvent = nativeEvent.detail;
7341      return "object" === typeof nativeEvent && "data" in nativeEvent
7342        ? nativeEvent.data
7343        : null;
7344    }
7345    function getNativeBeforeInputChars(domEventName, nativeEvent) {
7346      switch (domEventName) {
7347        case "compositionend":
7348          return getDataFromCustomEvent(nativeEvent);
7349        case "keypress":
7350          if (nativeEvent.which !== SPACEBAR_CODE) return null;
7351          hasSpaceKeypress = !0;
7352          return SPACEBAR_CHAR;
7353        case "textInput":
7354          return (
7355            (domEventName = nativeEvent.data),
7356            domEventName === SPACEBAR_CHAR && hasSpaceKeypress
7357              ? null
7358              : domEventName
7359          );
7360        default:
7361          return null;
7362      }
7363    }
7364    function getFallbackBeforeInputChars(domEventName, nativeEvent) {
7365      if (isComposing)
7366        return "compositionend" === domEventName ||
7367          (!canUseCompositionEvent &&
7368            isFallbackCompositionEnd(domEventName, nativeEvent))
7369          ? ((domEventName = getData()),
7370            (fallbackText = startText = root = null),
7371            (isComposing = !1),
7372            domEventName)
7373          : null;
7374      switch (domEventName) {
7375        case "paste":
7376          return null;
7377        case "keypress":
7378          if (
7379            !(
7380              nativeEvent.ctrlKey ||
7381              nativeEvent.altKey ||
7382              nativeEvent.metaKey
7383            ) ||
7384            (nativeEvent.ctrlKey && nativeEvent.altKey)
7385          ) {
7386            if (nativeEvent.char && 1 < nativeEvent.char.length)
7387              return nativeEvent.char;
7388            if (nativeEvent.which)
7389              return String.fromCharCode(nativeEvent.which);
7390          }
7391          return null;
7392        case "compositionend":
7393          return useFallbackCompositionData && "ko" !== nativeEvent.locale
7394            ? null
7395            : nativeEvent.data;
7396        default:
7397          return null;
7398      }
7399    }
7400    function isTextInputElement(elem) {
7401      var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
7402      return "input" === nodeName
7403        ? !!supportedInputTypes[elem.type]
7404        : "textarea" === nodeName
7405          ? !0
7406          : !1;
7407    }
7408    function isEventSupported(eventNameSuffix) {
7409      if (!canUseDOM) return !1;
7410      eventNameSuffix = "on" + eventNameSuffix;
7411      var isSupported = eventNameSuffix in document;
7412      isSupported ||
7413        ((isSupported = document.createElement("div")),
7414        isSupported.setAttribute(eventNameSuffix, "return;"),
7415        (isSupported = "function" === typeof isSupported[eventNameSuffix]));
7416      return isSupported;
7417    }
7418    function createAndAccumulateChangeEvent(
7419      dispatchQueue,
7420      inst,
7421      nativeEvent,
7422      target
7423    ) {
7424      restoreTarget
7425        ? restoreQueue
7426          ? restoreQueue.push(target)
7427          : (restoreQueue = [target])
7428        : (restoreTarget = target);
7429      inst = accumulateTwoPhaseListeners(inst, "onChange");
7430      0 < inst.length &&
7431        ((nativeEvent = new SyntheticEvent(
7432          "onChange",
7433          "change",
7434          null,
7435          nativeEvent,
7436          target
7437        )),
7438        dispatchQueue.push({ event: nativeEvent, listeners: inst }));
7439    }
7440    function runEventInBatch(dispatchQueue) {
7441      processDispatchQueue(dispatchQueue, 0);
7442    }
7443    function getInstIfValueChanged(targetInst) {
7444      var targetNode = getNodeFromInstance(targetInst);
7445      if (updateValueIfChanged(targetNode)) return targetInst;
7446    }
7447    function getTargetInstForChangeEvent(domEventName, targetInst) {
7448      if ("change" === domEventName) return targetInst;
7449    }
7450    function stopWatchingForValueChange() {
7451      activeElement$1 &&
7452        (activeElement$1.detachEvent("onpropertychange", handlePropertyChange),
7453        (activeElementInst$1 = activeElement$1 = null));
7454    }
7455    function handlePropertyChange(nativeEvent) {
7456      if (
7457        "value" === nativeEvent.propertyName &&
7458        getInstIfValueChanged(activeElementInst$1)
7459      ) {
7460        var dispatchQueue = [];
7461        createAndAccumulateChangeEvent(
7462          dispatchQueue,
7463          activeElementInst$1,
7464          nativeEvent,
7465          getEventTarget(nativeEvent)
7466        );
7467        batchedUpdates$1(runEventInBatch, dispatchQueue);
7468      }
7469    }
7470    function handleEventsForInputEventPolyfill(
7471      domEventName,
7472      target,
7473      targetInst
7474    ) {
7475      "focusin" === domEventName
7476        ? (stopWatchingForValueChange(),
7477          (activeElement$1 = target),
7478          (activeElementInst$1 = targetInst),
7479          activeElement$1.attachEvent("onpropertychange", handlePropertyChange))
7480        : "focusout" === domEventName && stopWatchingForValueChange();
7481    }
7482    function getTargetInstForInputEventPolyfill(domEventName) {
7483      if (
7484        "selectionchange" === domEventName ||
7485        "keyup" === domEventName ||
7486        "keydown" === domEventName
7487      )
7488        return getInstIfValueChanged(activeElementInst$1);
7489    }
7490    function getTargetInstForClickEvent(domEventName, targetInst) {
7491      if ("click" === domEventName) return getInstIfValueChanged(targetInst);
7492    }
7493    function getTargetInstForInputOrChangeEvent(domEventName, targetInst) {
7494      if ("input" === domEventName || "change" === domEventName)
7495        return getInstIfValueChanged(targetInst);
7496    }
7497    function is(x, y) {
7498      return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
7499    }
7500    function shallowEqual(objA, objB) {
7501      if (objectIs(objA, objB)) return !0;
7502      if (
7503        "object" !== typeof objA ||
7504        null === objA ||
7505        "object" !== typeof objB ||
7506        null === objB
7507      )
7508        return !1;
7509      var keysA = Object.keys(objA),
7510        keysB = Object.keys(objB);
7511      if (keysA.length !== keysB.length) return !1;
7512      for (keysB = 0; keysB < keysA.length; keysB++) {
7513        var currentKey = keysA[keysB];
7514        if (
7515          !hasOwnProperty.call(objB, currentKey) ||
7516          !objectIs(objA[currentKey], objB[currentKey])
7517        )
7518          return !1;
7519      }
7520      return !0;
7521    }
7522    function getLeafNode(node) {
7523      for (; node && node.firstChild; ) node = node.firstChild;
7524      return node;
7525    }
7526    function getNodeForCharacterOffset(root, offset) {
7527      var node = getLeafNode(root);
7528      root = 0;
7529      for (var nodeEnd; node; ) {
7530        if (3 === node.nodeType) {
7531          nodeEnd = root + node.textContent.length;
7532          if (root <= offset && nodeEnd >= offset)
7533            return { node: node, offset: offset - root };
7534          root = nodeEnd;
7535        }
7536        a: {
7537          for (; node; ) {
7538            if (node.nextSibling) {
7539              node = node.nextSibling;
7540              break a;
7541            }
7542            node = node.parentNode;
7543          }
7544          node = void 0;
7545        }
7546        node = getLeafNode(node);
7547      }
7548    }
7549    function containsNode(outerNode, innerNode) {
7550      return outerNode && innerNode
7551        ? outerNode === innerNode
7552          ? !0
7553          : outerNode && 3 === outerNode.nodeType
7554            ? !1
7555            : innerNode && 3 === innerNode.nodeType
7556              ? containsNode(outerNode, innerNode.parentNode)
7557              : "contains" in outerNode
7558                ? outerNode.contains(innerNode)
7559                : outerNode.compareDocumentPosition
7560                  ? !!(outerNode.compareDocumentPosition(innerNode) & 16)
7561                  : !1
7562        : !1;
7563    }
7564    function getActiveElementDeep(containerInfo) {
7565      containerInfo =
7566        null != containerInfo &&
7567        null != containerInfo.ownerDocument &&
7568        null != containerInfo.ownerDocument.defaultView
7569          ? containerInfo.ownerDocument.defaultView
7570          : window;
7571      for (
7572        var element = getActiveElement(containerInfo.document);
7573        element instanceof containerInfo.HTMLIFrameElement;
7574
7575      ) {
7576        try {
7577          var JSCompiler_inline_result =
7578            "string" === typeof element.contentWindow.location.href;
7579        } catch (err) {
7580          JSCompiler_inline_result = !1;
7581        }
7582        if (JSCompiler_inline_result) containerInfo = element.contentWindow;
7583        else break;
7584        element = getActiveElement(containerInfo.document);
7585      }
7586      return element;
7587    }
7588    function hasSelectionCapabilities(elem) {
7589      var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
7590      return (
7591        nodeName &&
7592        (("input" === nodeName &&
7593          ("text" === elem.type ||
7594            "search" === elem.type ||
7595            "tel" === elem.type ||
7596            "url" === elem.type ||
7597            "password" === elem.type)) ||
7598          "textarea" === nodeName ||
7599          "true" === elem.contentEditable)
7600      );
7601    }
7602    function constructSelectEvent(
7603      dispatchQueue,
7604      nativeEvent,
7605      nativeEventTarget
7606    ) {
7607      var doc =
7608        nativeEventTarget.window === nativeEventTarget
7609          ? nativeEventTarget.document
7610          : 9 === nativeEventTarget.nodeType
7611            ? nativeEventTarget
7612            : nativeEventTarget.ownerDocument;
7613      mouseDown ||
7614        null == activeElement ||
7615        activeElement !== getActiveElement(doc) ||
7616        ((doc = activeElement),
7617        "selectionStart" in doc && hasSelectionCapabilities(doc)
7618          ? (doc = { start: doc.selectionStart, end: doc.selectionEnd })
7619          : ((doc = (
7620              (doc.ownerDocument && doc.ownerDocument.defaultView) ||
7621              window
7622            ).getSelection()),
7623            (doc = {
7624              anchorNode: doc.anchorNode,
7625              anchorOffset: doc.anchorOffset,
7626              focusNode: doc.focusNode,
7627              focusOffset: doc.focusOffset
7628            })),
7629        (lastSelection && shallowEqual(lastSelection, doc)) ||
7630          ((lastSelection = doc),
7631          (doc = accumulateTwoPhaseListeners(activeElementInst, "onSelect")),
7632          0 < doc.length &&
7633            ((nativeEvent = new SyntheticEvent(
7634              "onSelect",
7635              "select",
7636              null,
7637              nativeEvent,
7638              nativeEventTarget
7639            )),
7640            dispatchQueue.push({ event: nativeEvent, listeners: doc }),
7641            (nativeEvent.target = activeElement))));
7642    }
7643    function makePrefixMap(styleProp, eventName) {
7644      var prefixes = {};
7645      prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();
7646      prefixes["Webkit" + styleProp] = "webkit" + eventName;
7647      prefixes["Moz" + styleProp] = "moz" + eventName;
7648      return prefixes;
7649    }
7650    function getVendorPrefixedEventName(eventName) {
7651      if (prefixedEventNames[eventName]) return prefixedEventNames[eventName];
7652      if (!vendorPrefixes[eventName]) return eventName;
7653      var prefixMap = vendorPrefixes[eventName],
7654        styleProp;
7655      for (styleProp in prefixMap)
7656        if (prefixMap.hasOwnProperty(styleProp) && styleProp in style)
7657          return (prefixedEventNames[eventName] = prefixMap[styleProp]);
7658      return eventName;
7659    }
7660    function registerSimpleEvent(domEventName, reactName) {
7661      topLevelEventsToReactNames.set(domEventName, reactName);
7662      registerTwoPhaseEvent(reactName, [domEventName]);
7663    }
7664    function createCapturedValueAtFiber(value, source) {
7665      if ("object" === typeof value && null !== value) {
7666        var existing = CapturedStacks.get(value);
7667        if (void 0 !== existing) return existing;
7668        source = {
7669          value: value,
7670          source: source,
7671          stack: getStackByFiberInDevAndProd(source)
7672        };
7673        CapturedStacks.set(value, source);
7674        return source;
7675      }
7676      return {
7677        value: value,
7678        source: source,
7679        stack: getStackByFiberInDevAndProd(source)
7680      };
7681    }
7682    function finishQueueingConcurrentUpdates() {
7683      for (
7684        var endIndex = concurrentQueuesIndex,
7685          i = (concurrentlyUpdatedLanes = concurrentQueuesIndex = 0);
7686        i < endIndex;
7687
7688      ) {
7689        var fiber = concurrentQueues[i];
7690        concurrentQueues[i++] = null;
7691        var queue = concurrentQueues[i];
7692        concurrentQueues[i++] = null;
7693        var update = concurrentQueues[i];
7694        concurrentQueues[i++] = null;
7695        var lane = concurrentQueues[i];
7696        concurrentQueues[i++] = null;
7697        if (null !== queue && null !== update) {
7698          var pending = queue.pending;
7699          null === pending
7700            ? (update.next = update)
7701            : ((update.next = pending.next), (pending.next = update));
7702          queue.pending = update;
7703        }
7704        0 !== lane && markUpdateLaneFromFiberToRoot(fiber, update, lane);
7705      }
7706    }
7707    function enqueueUpdate$1(fiber, queue, update, lane) {
7708      concurrentQueues[concurrentQueuesIndex++] = fiber;
7709      concurrentQueues[concurrentQueuesIndex++] = queue;
7710      concurrentQueues[concurrentQueuesIndex++] = update;
7711      concurrentQueues[concurrentQueuesIndex++] = lane;
7712      concurrentlyUpdatedLanes |= lane;
7713      fiber.lanes |= lane;
7714      fiber = fiber.alternate;
7715      null !== fiber && (fiber.lanes |= lane);
7716    }
7717    function enqueueConcurrentHookUpdate(fiber, queue, update, lane) {
7718      enqueueUpdate$1(fiber, queue, update, lane);
7719      return getRootForUpdatedFiber(fiber);
7720    }
7721    function enqueueConcurrentRenderForLane(fiber, lane) {
7722      enqueueUpdate$1(fiber, null, null, lane);
7723      return getRootForUpdatedFiber(fiber);
7724    }
7725    function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) {
7726      sourceFiber.lanes |= lane;
7727      var alternate = sourceFiber.alternate;
7728      null !== alternate && (alternate.lanes |= lane);
7729      for (var isHidden = !1, parent = sourceFiber.return; null !== parent; )
7730        (parent.childLanes |= lane),
7731          (alternate = parent.alternate),
7732          null !== alternate && (alternate.childLanes |= lane),
7733          22 === parent.tag &&
7734            ((sourceFiber = parent.stateNode),
7735            null === sourceFiber ||
7736              sourceFiber._visibility & OffscreenVisible ||
7737              (isHidden = !0)),
7738          (sourceFiber = parent),
7739          (parent = parent.return);
7740      return 3 === sourceFiber.tag
7741        ? ((parent = sourceFiber.stateNode),
7742          isHidden &&
7743            null !== update &&
7744            ((isHidden = 31 - clz32(lane)),
7745            (sourceFiber = parent.hiddenUpdates),
7746            (alternate = sourceFiber[isHidden]),
7747            null === alternate
7748              ? (sourceFiber[isHidden] = [update])
7749              : alternate.push(update),
7750            (update.lane = lane | 536870912)),
7751          parent)
7752        : null;
7753    }
7754    function getRootForUpdatedFiber(sourceFiber) {
7755      if (nestedUpdateCount > NESTED_UPDATE_LIMIT)
7756        throw (
7757          ((nestedPassiveUpdateCount = nestedUpdateCount = 0),
7758          (rootWithPassiveNestedUpdates = rootWithNestedUpdates = null),
7759          Error(
7760            "Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops."
7761          ))
7762        );
7763      nestedPassiveUpdateCount > NESTED_PASSIVE_UPDATE_LIMIT &&
7764        ((nestedPassiveUpdateCount = 0),
7765        (rootWithPassiveNestedUpdates = null),
7766        console.error(
7767          "Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."
7768        ));
7769      null === sourceFiber.alternate &&
7770        0 !== (sourceFiber.flags & 4098) &&
7771        warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);
7772      for (var node = sourceFiber, parent = node.return; null !== parent; )
7773        null === node.alternate &&
7774          0 !== (node.flags & 4098) &&
7775          warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber),
7776          (node = parent),
7777          (parent = node.return);
7778      return 3 === node.tag ? node.stateNode : null;
7779    }
7780    function resolveFunctionForHotReloading(type) {
7781      if (null === resolveFamily) return type;
7782      var family = resolveFamily(type);
7783      return void 0 === family ? type : family.current;
7784    }
7785    function resolveForwardRefForHotReloading(type) {
7786      if (null === resolveFamily) return type;
7787      var family = resolveFamily(type);
7788      return void 0 === family
7789        ? null !== type &&
7790          void 0 !== type &&
7791          "function" === typeof type.render &&
7792          ((family = resolveFunctionForHotReloading(type.render)),
7793          type.render !== family)
7794          ? ((family = { $$typeof: REACT_FORWARD_REF_TYPE, render: family }),
7795            void 0 !== type.displayName &&
7796              (family.displayName = type.displayName),
7797            family)
7798          : type
7799        : family.current;
7800    }
7801    function isCompatibleFamilyForHotReloading(fiber, element) {
7802      if (null === resolveFamily) return !1;
7803      var prevType = fiber.elementType;
7804      element = element.type;
7805      var needsCompareFamilies = !1,
7806        $$typeofNextType =
7807          "object" === typeof element && null !== element
7808            ? element.$$typeof
7809            : null;
7810      switch (fiber.tag) {
7811        case 1:
7812          "function" === typeof element && (needsCompareFamilies = !0);
7813          break;
7814        case 0:
7815          "function" === typeof element
7816            ? (needsCompareFamilies = !0)
7817            : $$typeofNextType === REACT_LAZY_TYPE &&
7818              (needsCompareFamilies = !0);
7819          break;
7820        case 11:
7821          $$typeofNextType === REACT_FORWARD_REF_TYPE
7822            ? (needsCompareFamilies = !0)
7823            : $$typeofNextType === REACT_LAZY_TYPE &&
7824              (needsCompareFamilies = !0);
7825          break;
7826        case 14:
7827        case 15:
7828          $$typeofNextType === REACT_MEMO_TYPE
7829            ? (needsCompareFamilies = !0)
7830            : $$typeofNextType === REACT_LAZY_TYPE &&
7831              (needsCompareFamilies = !0);
7832          break;
7833        default:
7834          return !1;
7835      }
7836      return needsCompareFamilies &&
7837        ((fiber = resolveFamily(prevType)),
7838        void 0 !== fiber && fiber === resolveFamily(element))
7839        ? !0
7840        : !1;
7841    }
7842    function markFailedErrorBoundaryForHotReloading(fiber) {
7843      null !== resolveFamily &&
7844        "function" === typeof WeakSet &&
7845        (null === failedBoundaries && (failedBoundaries = new WeakSet()),
7846        failedBoundaries.add(fiber));
7847    }
7848    function scheduleFibersWithFamiliesRecursively(
7849      fiber,
7850      updatedFamilies,
7851      staleFamilies
7852    ) {
7853      var alternate = fiber.alternate,
7854        child = fiber.child,
7855        sibling = fiber.sibling,
7856        tag = fiber.tag,
7857        type = fiber.type,
7858        candidateType = null;
7859      switch (tag) {
7860        case 0:
7861        case 15:
7862        case 1:
7863          candidateType = type;
7864          break;
7865        case 11:
7866          candidateType = type.render;
7867      }
7868      if (null === resolveFamily)
7869        throw Error("Expected resolveFamily to be set during hot reload.");
7870      var needsRender = !1;
7871      type = !1;
7872      null !== candidateType &&
7873        ((candidateType = resolveFamily(candidateType)),
7874        void 0 !== candidateType &&
7875          (staleFamilies.has(candidateType)
7876            ? (type = !0)
7877            : updatedFamilies.has(candidateType) &&
7878              (1 === tag ? (type = !0) : (needsRender = !0))));
7879      null !== failedBoundaries &&
7880        (failedBoundaries.has(fiber) ||
7881          (null !== alternate && failedBoundaries.has(alternate))) &&
7882        (type = !0);
7883      type && (fiber._debugNeedsRemount = !0);
7884      if (type || needsRender)
7885        (alternate = enqueueConcurrentRenderForLane(fiber, 2)),
7886          null !== alternate && scheduleUpdateOnFiber(alternate, fiber, 2);
7887      null === child ||
7888        type ||
7889        scheduleFibersWithFamiliesRecursively(
7890          child,
7891          updatedFamilies,
7892          staleFamilies
7893        );
7894      null !== sibling &&
7895        scheduleFibersWithFamiliesRecursively(
7896          sibling,
7897          updatedFamilies,
7898          staleFamilies
7899        );
7900    }
7901    function FiberNode(tag, pendingProps, key, mode) {
7902      this.tag = tag;
7903      this.key = key;
7904      this.sibling =
7905        this.child =
7906        this.return =
7907        this.stateNode =
7908        this.type =
7909        this.elementType =
7910          null;
7911      this.index = 0;
7912      this.refCleanup = this.ref = null;
7913      this.pendingProps = pendingProps;
7914      this.dependencies =
7915        this.memoizedState =
7916        this.updateQueue =
7917        this.memoizedProps =
7918          null;
7919      this.mode = mode;
7920      this.subtreeFlags = this.flags = 0;
7921      this.deletions = null;
7922      this.childLanes = this.lanes = 0;
7923      this.alternate = null;
7924      this.actualDuration = -0;
7925      this.actualStartTime = -1.1;
7926      this.treeBaseDuration = this.selfBaseDuration = -0;
7927      this._debugTask =
7928        this._debugStack =
7929        this._debugOwner =
7930        this._debugInfo =
7931          null;
7932      this._debugNeedsRemount = !1;
7933      this._debugHookTypes = null;
7934      hasBadMapPolyfill ||
7935        "function" !== typeof Object.preventExtensions ||
7936        Object.preventExtensions(this);
7937    }
7938    function shouldConstruct(Component) {
7939      Component = Component.prototype;
7940      return !(!Component || !Component.isReactComponent);
7941    }
7942    function createWorkInProgress(current, pendingProps) {
7943      var workInProgress = current.alternate;
7944      null === workInProgress
7945        ? ((workInProgress = createFiber(
7946            current.tag,
7947            pendingProps,
7948            current.key,
7949            current.mode
7950          )),
7951          (workInProgress.elementType = current.elementType),
7952          (workInProgress.type = current.type),
7953          (workInProgress.stateNode = current.stateNode),
7954          (workInProgress._debugOwner = current._debugOwner),
7955          (workInProgress._debugStack = current._debugStack),
7956          (workInProgress._debugTask = current._debugTask),
7957          (workInProgress._debugHookTypes = current._debugHookTypes),
7958          (workInProgress.alternate = current),
7959          (current.alternate = workInProgress))
7960        : ((workInProgress.pendingProps = pendingProps),
7961          (workInProgress.type = current.type),
7962          (workInProgress.flags = 0),
7963          (workInProgress.subtreeFlags = 0),
7964          (workInProgress.deletions = null),
7965          (workInProgress.actualDuration = -0),
7966          (workInProgress.actualStartTime = -1.1));
7967      workInProgress.flags = current.flags & 65011712;
7968      workInProgress.childLanes = current.childLanes;
7969      workInProgress.lanes = current.lanes;
7970      workInProgress.child = current.child;
7971      workInProgress.memoizedProps = current.memoizedProps;
7972      workInProgress.memoizedState = current.memoizedState;
7973      workInProgress.updateQueue = current.updateQueue;
7974      pendingProps = current.dependencies;
7975      workInProgress.dependencies =
7976        null === pendingProps
7977          ? null
7978          : {
7979              lanes: pendingProps.lanes,
7980              firstContext: pendingProps.firstContext,
7981              _debugThenableState: pendingProps._debugThenableState
7982            };
7983      workInProgress.sibling = current.sibling;
7984      workInProgress.index = current.index;
7985      workInProgress.ref = current.ref;
7986      workInProgress.refCleanup = current.refCleanup;
7987      workInProgress.selfBaseDuration = current.selfBaseDuration;
7988      workInProgress.treeBaseDuration = current.treeBaseDuration;
7989      workInProgress._debugInfo = current._debugInfo;
7990      workInProgress._debugNeedsRemount = current._debugNeedsRemount;
7991      switch (workInProgress.tag) {
7992        case 0:
7993        case 15:
7994          workInProgress.type = resolveFunctionForHotReloading(current.type);
7995          break;
7996        case 1:
7997          workInProgress.type = resolveFunctionForHotReloading(current.type);
7998          break;
7999        case 11:
8000          workInProgress.type = resolveForwardRefForHotReloading(current.type);
8001      }
8002      return workInProgress;
8003    }
8004    function resetWorkInProgress(workInProgress, renderLanes) {
8005      workInProgress.flags &= 65011714;
8006      var current = workInProgress.alternate;
8007      null === current
8008        ? ((workInProgress.childLanes = 0),
8009          (workInProgress.lanes = renderLanes),
8010          (workInProgress.child = null),
8011          (workInProgress.subtreeFlags = 0),
8012          (workInProgress.memoizedProps = null),
8013          (workInProgress.memoizedState = null),
8014          (workInProgress.updateQueue = null),
8015          (workInProgress.dependencies = null),
8016          (workInProgress.stateNode = null),
8017          (workInProgress.selfBaseDuration = 0),
8018          (workInProgress.treeBaseDuration = 0))
8019        : ((workInProgress.childLanes = current.childLanes),
8020          (workInProgress.lanes = current.lanes),
8021          (workInProgress.child = current.child),
8022          (workInProgress.subtreeFlags = 0),
8023          (workInProgress.deletions = null),
8024          (workInProgress.memoizedProps = current.memoizedProps),
8025          (workInProgress.memoizedState = current.memoizedState),
8026          (workInProgress.updateQueue = current.updateQueue),
8027          (workInProgress.type = current.type),
8028          (renderLanes = current.dependencies),
8029          (workInProgress.dependencies =
8030            null === renderLanes
8031              ? null
8032              : {
8033                  lanes: renderLanes.lanes,
8034                  firstContext: renderLanes.firstContext,
8035                  _debugThenableState: renderLanes._debugThenableState
8036                }),
8037          (workInProgress.selfBaseDuration = current.selfBaseDuration),
8038          (workInProgress.treeBaseDuration = current.treeBaseDuration));
8039      return workInProgress;
8040    }
8041    function createFiberFromTypeAndProps(
8042      type,
8043      key,
8044      pendingProps,
8045      owner,
8046      mode,
8047      lanes
8048    ) {
8049      var fiberTag = 0,
8050        resolvedType = type;
8051      if ("function" === typeof type)
8052        shouldConstruct(type) && (fiberTag = 1),
8053          (resolvedType = resolveFunctionForHotReloading(resolvedType));
8054      else if ("string" === typeof type)
8055        (fiberTag = getHostContext()),
8056          (fiberTag = isHostHoistableType(type, pendingProps, fiberTag)
8057            ? 26
8058            : "html" === type || "head" === type || "body" === type
8059              ? 27
8060              : 5);
8061      else
8062        a: switch (type) {
8063          case REACT_ACTIVITY_TYPE:
8064            return (
8065              (key = createFiber(31, pendingProps, key, mode)),
8066              (key.elementType = REACT_ACTIVITY_TYPE),
8067              (key.lanes = lanes),
8068              key
8069            );
8070          case REACT_FRAGMENT_TYPE:
8071            return createFiberFromFragment(
8072              pendingProps.children,
8073              mode,
8074              lanes,
8075              key
8076            );
8077          case REACT_STRICT_MODE_TYPE:
8078            fiberTag = 8;
8079            mode |= StrictLegacyMode;
8080            mode |= StrictEffectsMode;
8081            break;
8082          case REACT_PROFILER_TYPE:
8083            return (
8084              (type = pendingProps),
8085              (owner = mode),
8086              "string" !== typeof type.id &&
8087                console.error(
8088                  'Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',
8089                  typeof type.id
8090                ),
8091              (key = createFiber(12, type, key, owner | ProfileMode)),
8092              (key.elementType = REACT_PROFILER_TYPE),
8093              (key.lanes = lanes),
8094              (key.stateNode = { effectDuration: 0, passiveEffectDuration: 0 }),
8095              key
8096            );
8097          case REACT_SUSPENSE_TYPE:
8098            return (
8099              (key = createFiber(13, pendingProps, key, mode)),
8100              (key.elementType = REACT_SUSPENSE_TYPE),
8101              (key.lanes = lanes),
8102              key
8103            );
8104          case REACT_SUSPENSE_LIST_TYPE:
8105            return (
8106              (key = createFiber(19, pendingProps, key, mode)),
8107              (key.elementType = REACT_SUSPENSE_LIST_TYPE),
8108              (key.lanes = lanes),
8109              key
8110            );
8111          default:
8112            if ("object" === typeof type && null !== type)
8113              switch (type.$$typeof) {
8114                case REACT_PROVIDER_TYPE:
8115                case REACT_CONTEXT_TYPE:
8116                  fiberTag = 10;
8117                  break a;
8118                case REACT_CONSUMER_TYPE:
8119                  fiberTag = 9;
8120                  break a;
8121                case REACT_FORWARD_REF_TYPE:
8122                  fiberTag = 11;
8123                  resolvedType = resolveForwardRefForHotReloading(resolvedType);
8124                  break a;
8125                case REACT_MEMO_TYPE:
8126                  fiberTag = 14;
8127                  break a;
8128                case REACT_LAZY_TYPE:
8129                  fiberTag = 16;
8130                  resolvedType = null;
8131                  break a;
8132              }
8133            resolvedType = "";
8134            if (
8135              void 0 === type ||
8136              ("object" === typeof type &&
8137                null !== type &&
8138                0 === Object.keys(type).length)
8139            )
8140              resolvedType +=
8141                " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
8142            null === type
8143              ? (pendingProps = "null")
8144              : isArrayImpl(type)
8145                ? (pendingProps = "array")
8146                : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
8147                  ? ((pendingProps =
8148                      "<" +
8149                      (getComponentNameFromType(type.type) || "Unknown") +
8150                      " />"),
8151                    (resolvedType =
8152                      " Did you accidentally export a JSX literal instead of a component?"))
8153                  : (pendingProps = typeof type);
8154            (fiberTag = owner ? getComponentNameFromOwner(owner) : null) &&
8155              (resolvedType +=
8156                "\n\nCheck the render method of `" + fiberTag + "`.");
8157            fiberTag = 29;
8158            pendingProps = Error(
8159              "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: " +
8160                (pendingProps + "." + resolvedType)
8161            );
8162            resolvedType = null;
8163        }
8164      key = createFiber(fiberTag, pendingProps, key, mode);
8165      key.elementType = type;
8166      key.type = resolvedType;
8167      key.lanes = lanes;
8168      key._debugOwner = owner;
8169      return key;
8170    }
8171    function createFiberFromElement(element, mode, lanes) {
8172      mode = createFiberFromTypeAndProps(
8173        element.type,
8174        element.key,
8175        element.props,
8176        element._owner,
8177        mode,
8178        lanes
8179      );
8180      mode._debugOwner = element._owner;
8181      mode._debugStack = element._debugStack;
8182      mode._debugTask = element._debugTask;
8183      return mode;
8184    }
8185    function createFiberFromFragment(elements, mode, lanes, key) {
8186      elements = createFiber(7, elements, key, mode);
8187      elements.lanes = lanes;
8188      return elements;
8189    }
8190    function createFiberFromText(content, mode, lanes) {
8191      content = createFiber(6, content, null, mode);
8192      content.lanes = lanes;
8193      return content;
8194    }
8195    function createFiberFromPortal(portal, mode, lanes) {
8196      mode = createFiber(
8197        4,
8198        null !== portal.children ? portal.children : [],
8199        portal.key,
8200        mode
8201      );
8202      mode.lanes = lanes;
8203      mode.stateNode = {
8204        containerInfo: portal.containerInfo,
8205        pendingChildren: null,
8206        implementation: portal.implementation
8207      };
8208      return mode;
8209    }
8210    function pushTreeFork(workInProgress, totalChildren) {
8211      warnIfNotHydrating();
8212      forkStack[forkStackIndex++] = treeForkCount;
8213      forkStack[forkStackIndex++] = treeForkProvider;
8214      treeForkProvider = workInProgress;
8215      treeForkCount = totalChildren;
8216    }
8217    function pushTreeId(workInProgress, totalChildren, index) {
8218      warnIfNotHydrating();
8219      idStack[idStackIndex++] = treeContextId;
8220      idStack[idStackIndex++] = treeContextOverflow;
8221      idStack[idStackIndex++] = treeContextProvider;
8222      treeContextProvider = workInProgress;
8223      var baseIdWithLeadingBit = treeContextId;
8224      workInProgress = treeContextOverflow;
8225      var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1;
8226      baseIdWithLeadingBit &= ~(1 << baseLength);
8227      index += 1;
8228      var length = 32 - clz32(totalChildren) + baseLength;
8229      if (30 < length) {
8230        var numberOfOverflowBits = baseLength - (baseLength % 5);
8231        length = (
8232          baseIdWithLeadingBit &
8233          ((1 << numberOfOverflowBits) - 1)
8234        ).toString(32);
8235        baseIdWithLeadingBit >>= numberOfOverflowBits;
8236        baseLength -= numberOfOverflowBits;
8237        treeContextId =
8238          (1 << (32 - clz32(totalChildren) + baseLength)) |
8239          (index << baseLength) |
8240          baseIdWithLeadingBit;
8241        treeContextOverflow = length + workInProgress;
8242      } else
8243        (treeContextId =
8244          (1 << length) | (index << baseLength) | baseIdWithLeadingBit),
8245          (treeContextOverflow = workInProgress);
8246    }
8247    function pushMaterializedTreeId(workInProgress) {
8248      warnIfNotHydrating();
8249      null !== workInProgress.return &&
8250        (pushTreeFork(workInProgress, 1), pushTreeId(workInProgress, 1, 0));
8251    }
8252    function popTreeContext(workInProgress) {
8253      for (; workInProgress === treeForkProvider; )
8254        (treeForkProvider = forkStack[--forkStackIndex]),
8255          (forkStack[forkStackIndex] = null),
8256          (treeForkCount = forkStack[--forkStackIndex]),
8257          (forkStack[forkStackIndex] = null);
8258      for (; workInProgress === treeContextProvider; )
8259        (treeContextProvider = idStack[--idStackIndex]),
8260          (idStack[idStackIndex] = null),
8261          (treeContextOverflow = idStack[--idStackIndex]),
8262          (idStack[idStackIndex] = null),
8263          (treeContextId = idStack[--idStackIndex]),
8264          (idStack[idStackIndex] = null);
8265    }
8266    function warnIfNotHydrating() {
8267      isHydrating ||
8268        console.error(
8269          "Expected to be hydrating. This is a bug in React. Please file an issue."
8270        );
8271    }
8272    function buildHydrationDiffNode(fiber, distanceFromLeaf) {
8273      if (null === fiber.return) {
8274        if (null === hydrationDiffRootDEV)
8275          hydrationDiffRootDEV = {
8276            fiber: fiber,
8277            children: [],
8278            serverProps: void 0,
8279            serverTail: [],
8280            distanceFromLeaf: distanceFromLeaf
8281          };
8282        else {
8283          if (hydrationDiffRootDEV.fiber !== fiber)
8284            throw Error(
8285              "Saw multiple hydration diff roots in a pass. This is a bug in React."
8286            );
8287          hydrationDiffRootDEV.distanceFromLeaf > distanceFromLeaf &&
8288            (hydrationDiffRootDEV.distanceFromLeaf = distanceFromLeaf);
8289        }
8290        return hydrationDiffRootDEV;
8291      }
8292      var siblings = buildHydrationDiffNode(
8293        fiber.return,
8294        distanceFromLeaf + 1
8295      ).children;
8296      if (0 < siblings.length && siblings[siblings.length - 1].fiber === fiber)
8297        return (
8298          (siblings = siblings[siblings.length - 1]),
8299          siblings.distanceFromLeaf > distanceFromLeaf &&
8300            (siblings.distanceFromLeaf = distanceFromLeaf),
8301          siblings
8302        );
8303      distanceFromLeaf = {
8304        fiber: fiber,
8305        children: [],
8306        serverProps: void 0,
8307        serverTail: [],
8308        distanceFromLeaf: distanceFromLeaf
8309      };
8310      siblings.push(distanceFromLeaf);
8311      return distanceFromLeaf;
8312    }
8313    function warnNonHydratedInstance(fiber, rejectedCandidate) {
8314      didSuspendOrErrorDEV ||
8315        ((fiber = buildHydrationDiffNode(fiber, 0)),
8316        (fiber.serverProps = null),
8317        null !== rejectedCandidate &&
8318          ((rejectedCandidate =
8319            describeHydratableInstanceForDevWarnings(rejectedCandidate)),
8320          fiber.serverTail.push(rejectedCandidate)));
8321    }
8322    function throwOnHydrationMismatch(fiber) {
8323      var diff = "",
8324        diffRoot = hydrationDiffRootDEV;
8325      null !== diffRoot &&
8326        ((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot)));
8327      queueHydrationError(
8328        createCapturedValueAtFiber(
8329          Error(
8330            "Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
8331              diff
8332          ),
8333          fiber
8334        )
8335      );
8336      throw HydrationMismatchException;
8337    }
8338    function prepareToHydrateHostInstance(fiber) {
8339      var didHydrate = fiber.stateNode;
8340      var type = fiber.type,
8341        props = fiber.memoizedProps;
8342      didHydrate[internalInstanceKey] = fiber;
8343      didHydrate[internalPropsKey] = props;
8344      validatePropertiesInDevelopment(type, props);
8345      switch (type) {
8346        case "dialog":
8347          listenToNonDelegatedEvent("cancel", didHydrate);
8348          listenToNonDelegatedEvent("close", didHydrate);
8349          break;
8350        case "iframe":
8351        case "object":
8352        case "embed":
8353          listenToNonDelegatedEvent("load", didHydrate);
8354          break;
8355        case "video":
8356        case "audio":
8357          for (type = 0; type < mediaEventTypes.length; type++)
8358            listenToNonDelegatedEvent(mediaEventTypes[type], didHydrate);
8359          break;
8360        case "source":
8361          listenToNonDelegatedEvent("error", didHydrate);
8362          break;
8363        case "img":
8364        case "image":
8365        case "link":
8366          listenToNonDelegatedEvent("error", didHydrate);
8367          listenToNonDelegatedEvent("load", didHydrate);
8368          break;
8369        case "details":
8370          listenToNonDelegatedEvent("toggle", didHydrate);
8371          break;
8372        case "input":
8373          checkControlledValueProps("input", props);
8374          listenToNonDelegatedEvent("invalid", didHydrate);
8375          validateInputProps(didHydrate, props);
8376          initInput(
8377            didHydrate,
8378            props.value,
8379            props.defaultValue,
8380            props.checked,
8381            props.defaultChecked,
8382            props.type,
8383            props.name,
8384            !0
8385          );
8386          track(didHydrate);
8387          break;
8388        case "option":
8389          validateOptionProps(didHydrate, props);
8390          break;
8391        case "select":
8392          checkControlledValueProps("select", props);
8393          listenToNonDelegatedEvent("invalid", didHydrate);
8394          validateSelectProps(didHydrate, props);
8395          break;
8396        case "textarea":
8397          checkControlledValueProps("textarea", props),
8398            listenToNonDelegatedEvent("invalid", didHydrate),
8399            validateTextareaProps(didHydrate, props),
8400            initTextarea(
8401              didHydrate,
8402              props.value,
8403              props.defaultValue,
8404              props.children
8405            ),
8406            track(didHydrate);
8407      }
8408      type = props.children;
8409      ("string" !== typeof type &&
8410        "number" !== typeof type &&
8411        "bigint" !== typeof type) ||
8412      didHydrate.textContent === "" + type ||
8413      !0 === props.suppressHydrationWarning ||
8414      checkForUnmatchedText(didHydrate.textContent, type)
8415        ? (null != props.popover &&
8416            (listenToNonDelegatedEvent("beforetoggle", didHydrate),
8417            listenToNonDelegatedEvent("toggle", didHydrate)),
8418          null != props.onScroll &&
8419            listenToNonDelegatedEvent("scroll", didHydrate),
8420          null != props.onScrollEnd &&
8421            listenToNonDelegatedEvent("scrollend", didHydrate),
8422          null != props.onClick && (didHydrate.onclick = noop$1),
8423          (didHydrate = !0))
8424        : (didHydrate = !1);
8425      didHydrate || throwOnHydrationMismatch(fiber);
8426    }
8427    function popToNextHostParent(fiber) {
8428      for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
8429        switch (hydrationParentFiber.tag) {
8430          case 5:
8431          case 13:
8432            rootOrSingletonContext = !1;
8433            return;
8434          case 27:
8435          case 3:
8436            rootOrSingletonContext = !0;
8437            return;
8438          default:
8439            hydrationParentFiber = hydrationParentFiber.return;
8440        }
8441    }
8442    function popHydrationState(fiber) {
8443      if (fiber !== hydrationParentFiber) return !1;
8444      if (!isHydrating)
8445        return popToNextHostParent(fiber), (isHydrating = !0), !1;
8446      var tag = fiber.tag,
8447        JSCompiler_temp;
8448      if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) {
8449        if ((JSCompiler_temp = 5 === tag))
8450          (JSCompiler_temp = fiber.type),
8451            (JSCompiler_temp =
8452              !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) ||
8453              shouldSetTextContent(fiber.type, fiber.memoizedProps));
8454        JSCompiler_temp = !JSCompiler_temp;
8455      }
8456      if (JSCompiler_temp && nextHydratableInstance) {
8457        for (JSCompiler_temp = nextHydratableInstance; JSCompiler_temp; ) {
8458          var diffNode = buildHydrationDiffNode(fiber, 0),
8459            description =
8460              describeHydratableInstanceForDevWarnings(JSCompiler_temp);
8461          diffNode.serverTail.push(description);
8462          JSCompiler_temp =
8463            "Suspense" === description.type
8464              ? getNextHydratableInstanceAfterSuspenseInstance(JSCompiler_temp)
8465              : getNextHydratable(JSCompiler_temp.nextSibling);
8466        }
8467        throwOnHydrationMismatch(fiber);
8468      }
8469      popToNextHostParent(fiber);
8470      if (13 === tag) {
8471        fiber = fiber.memoizedState;
8472        fiber = null !== fiber ? fiber.dehydrated : null;
8473        if (!fiber)
8474          throw Error(
8475            "Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."
8476          );
8477        nextHydratableInstance =
8478          getNextHydratableInstanceAfterSuspenseInstance(fiber);
8479      } else
8480        27 === tag
8481          ? ((tag = nextHydratableInstance),
8482            isSingletonScope(fiber.type)
8483              ? ((fiber = previousHydratableOnEnteringScopedSingleton),
8484                (previousHydratableOnEnteringScopedSingleton = null),
8485                (nextHydratableInstance = fiber))
8486              : (nextHydratableInstance = tag))
8487          : (nextHydratableInstance = hydrationParentFiber
8488              ? getNextHydratable(fiber.stateNode.nextSibling)
8489              : null);
8490      return !0;
8491    }
8492    function resetHydrationState() {
8493      nextHydratableInstance = hydrationParentFiber = null;
8494      didSuspendOrErrorDEV = isHydrating = !1;
8495    }
8496    function upgradeHydrationErrorsToRecoverable() {
8497      var queuedErrors = hydrationErrors;
8498      null !== queuedErrors &&
8499        (null === workInProgressRootRecoverableErrors
8500          ? (workInProgressRootRecoverableErrors = queuedErrors)
8501          : workInProgressRootRecoverableErrors.push.apply(
8502              workInProgressRootRecoverableErrors,
8503              queuedErrors
8504            ),
8505        (hydrationErrors = null));
8506      return queuedErrors;
8507    }
8508    function queueHydrationError(error) {
8509      null === hydrationErrors
8510        ? (hydrationErrors = [error])
8511        : hydrationErrors.push(error);
8512    }
8513    function emitPendingHydrationWarnings() {
8514      var diffRoot = hydrationDiffRootDEV;
8515      if (null !== diffRoot) {
8516        hydrationDiffRootDEV = null;
8517        for (var diff = describeDiff(diffRoot); 0 < diffRoot.children.length; )
8518          diffRoot = diffRoot.children[0];
8519        runWithFiberInDEV(diffRoot.fiber, function () {
8520          console.error(
8521            "A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s",
8522            "https://react.dev/link/hydration-mismatch",
8523            diff
8524          );
8525        });
8526      }
8527    }
8528    function resetContextDependencies() {
8529      lastContextDependency = currentlyRenderingFiber$1 = null;
8530      isDisallowedContextReadInDEV = !1;
8531    }
8532    function pushProvider(providerFiber, context, nextValue) {
8533      push(valueCursor, context._currentValue, providerFiber);
8534      context._currentValue = nextValue;
8535      push(rendererCursorDEV, context._currentRenderer, providerFiber);
8536      void 0 !== context._currentRenderer &&
8537        null !== context._currentRenderer &&
8538        context._currentRenderer !== rendererSigil &&
8539        console.error(
8540          "Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."
8541        );
8542      context._currentRenderer = rendererSigil;
8543    }
8544    function popProvider(context, providerFiber) {
8545      context._currentValue = valueCursor.current;
8546      var currentRenderer = rendererCursorDEV.current;
8547      pop(rendererCursorDEV, providerFiber);
8548      context._currentRenderer = currentRenderer;
8549      pop(valueCursor, providerFiber);
8550    }
8551    function scheduleContextWorkOnParentPath(
8552      parent,
8553      renderLanes,
8554      propagationRoot
8555    ) {
8556      for (; null !== parent; ) {
8557        var alternate = parent.alternate;
8558        (parent.childLanes & renderLanes) !== renderLanes
8559          ? ((parent.childLanes |= renderLanes),
8560            null !== alternate && (alternate.childLanes |= renderLanes))
8561          : null !== alternate &&
8562            (alternate.childLanes & renderLanes) !== renderLanes &&
8563            (alternate.childLanes |= renderLanes);
8564        if (parent === propagationRoot) break;
8565        parent = parent.return;
8566      }
8567      parent !== propagationRoot &&
8568        console.error(
8569          "Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue."
8570        );
8571    }
8572    function propagateContextChanges(
8573      workInProgress,
8574      contexts,
8575      renderLanes,
8576      forcePropagateEntireTree
8577    ) {
8578      var fiber = workInProgress.child;
8579      null !== fiber && (fiber.return = workInProgress);
8580      for (; null !== fiber; ) {
8581        var list = fiber.dependencies;
8582        if (null !== list) {
8583          var nextFiber = fiber.child;
8584          list = list.firstContext;
8585          a: for (; null !== list; ) {
8586            var dependency = list;
8587            list = fiber;
8588            for (var i = 0; i < contexts.length; i++)
8589              if (dependency.context === contexts[i]) {
8590                list.lanes |= renderLanes;
8591                dependency = list.alternate;
8592                null !== dependency && (dependency.lanes |= renderLanes);
8593                scheduleContextWorkOnParentPath(
8594                  list.return,
8595                  renderLanes,
8596                  workInProgress
8597                );
8598                forcePropagateEntireTree || (nextFiber = null);
8599                break a;
8600              }
8601            list = dependency.next;
8602          }
8603        } else if (18 === fiber.tag) {
8604          nextFiber = fiber.return;
8605          if (null === nextFiber)
8606            throw Error(
8607              "We just came from a parent so we must have had a parent. This is a bug in React."
8608            );
8609          nextFiber.lanes |= renderLanes;
8610          list = nextFiber.alternate;
8611          null !== list && (list.lanes |= renderLanes);
8612          scheduleContextWorkOnParentPath(
8613            nextFiber,
8614            renderLanes,
8615            workInProgress
8616          );
8617          nextFiber = null;
8618        } else nextFiber = fiber.child;
8619        if (null !== nextFiber) nextFiber.return = fiber;
8620        else
8621          for (nextFiber = fiber; null !== nextFiber; ) {
8622            if (nextFiber === workInProgress) {
8623              nextFiber = null;
8624              break;
8625            }
8626            fiber = nextFiber.sibling;
8627            if (null !== fiber) {
8628              fiber.return = nextFiber.return;
8629              nextFiber = fiber;
8630              break;
8631            }
8632            nextFiber = nextFiber.return;
8633          }
8634        fiber = nextFiber;
8635      }
8636    }
8637    function propagateParentContextChanges(
8638      current,
8639      workInProgress,
8640      renderLanes,
8641      forcePropagateEntireTree
8642    ) {
8643      current = null;
8644      for (
8645        var parent = workInProgress, isInsidePropagationBailout = !1;
8646        null !== parent;
8647
8648      ) {
8649        if (!isInsidePropagationBailout)
8650          if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0;
8651          else if (0 !== (parent.flags & 262144)) break;
8652        if (10 === parent.tag) {
8653          var currentParent = parent.alternate;
8654          if (null === currentParent)
8655            throw Error("Should have a current fiber. This is a bug in React.");
8656          currentParent = currentParent.memoizedProps;
8657          if (null !== currentParent) {
8658            var context = parent.type;
8659            objectIs(parent.pendingProps.value, currentParent.value) ||
8660              (null !== current
8661                ? current.push(context)
8662                : (current = [context]));
8663          }
8664        } else if (parent === hostTransitionProviderCursor.current) {
8665          currentParent = parent.alternate;
8666          if (null === currentParent)
8667            throw Error("Should have a current fiber. This is a bug in React.");
8668          currentParent.memoizedState.memoizedState !==
8669            parent.memoizedState.memoizedState &&
8670            (null !== current
8671              ? current.push(HostTransitionContext)
8672              : (current = [HostTransitionContext]));
8673        }
8674        parent = parent.return;
8675      }
8676      null !== current &&
8677        propagateContextChanges(
8678          workInProgress,
8679          current,
8680          renderLanes,
8681          forcePropagateEntireTree
8682        );
8683      workInProgress.flags |= 262144;
8684    }
8685    function checkIfContextChanged(currentDependencies) {
8686      for (
8687        currentDependencies = currentDependencies.firstContext;
8688        null !== currentDependencies;
8689
8690      ) {
8691        if (
8692          !objectIs(
8693            currentDependencies.context._currentValue,
8694            currentDependencies.memoizedValue
8695          )
8696        )
8697          return !0;
8698        currentDependencies = currentDependencies.next;
8699      }
8700      return !1;
8701    }
8702    function prepareToReadContext(workInProgress) {
8703      currentlyRenderingFiber$1 = workInProgress;
8704      lastContextDependency = null;
8705      workInProgress = workInProgress.dependencies;
8706      null !== workInProgress && (workInProgress.firstContext = null);
8707    }
8708    function readContext(context) {
8709      isDisallowedContextReadInDEV &&
8710        console.error(
8711          "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
8712        );
8713      return readContextForConsumer(currentlyRenderingFiber$1, context);
8714    }
8715    function readContextDuringReconciliation(consumer, context) {
8716      null === currentlyRenderingFiber$1 && prepareToReadContext(consumer);
8717      return readContextForConsumer(consumer, context);
8718    }
8719    function readContextForConsumer(consumer, context) {
8720      var value = context._currentValue;
8721      context = { context: context, memoizedValue: value, next: null };
8722      if (null === lastContextDependency) {
8723        if (null === consumer)
8724          throw Error(
8725            "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
8726          );
8727        lastContextDependency = context;
8728        consumer.dependencies = {
8729          lanes: 0,
8730          firstContext: context,
8731          _debugThenableState: null
8732        };
8733        consumer.flags |= 524288;
8734      } else lastContextDependency = lastContextDependency.next = context;
8735      return value;
8736    }
8737    function createCache() {
8738      return {
8739        controller: new AbortControllerLocal(),
8740        data: new Map(),
8741        refCount: 0
8742      };
8743    }
8744    function retainCache(cache) {
8745      cache.controller.signal.aborted &&
8746        console.warn(
8747          "A cache instance was retained after it was already freed. This likely indicates a bug in React."
8748        );
8749      cache.refCount++;
8750    }
8751    function releaseCache(cache) {
8752      cache.refCount--;
8753      0 > cache.refCount &&
8754        console.warn(
8755          "A cache instance was released after it was already freed. This likely indicates a bug in React."
8756        );
8757      0 === cache.refCount &&
8758        scheduleCallback$2(NormalPriority, function () {
8759          cache.controller.abort();
8760        });
8761    }
8762    function pushNestedEffectDurations() {
8763      var prevEffectDuration = profilerEffectDuration;
8764      profilerEffectDuration = 0;
8765      return prevEffectDuration;
8766    }
8767    function popNestedEffectDurations(prevEffectDuration) {
8768      var elapsedTime = profilerEffectDuration;
8769      profilerEffectDuration = prevEffectDuration;
8770      return elapsedTime;
8771    }
8772    function bubbleNestedEffectDurations(prevEffectDuration) {
8773      var elapsedTime = profilerEffectDuration;
8774      profilerEffectDuration += prevEffectDuration;
8775      return elapsedTime;
8776    }
8777    function startProfilerTimer(fiber) {
8778      profilerStartTime = now();
8779      0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
8780    }
8781    function stopProfilerTimerIfRunningAndRecordDuration(fiber) {
8782      if (0 <= profilerStartTime) {
8783        var elapsedTime = now() - profilerStartTime;
8784        fiber.actualDuration += elapsedTime;
8785        fiber.selfBaseDuration = elapsedTime;
8786        profilerStartTime = -1;
8787      }
8788    }
8789    function stopProfilerTimerIfRunningAndRecordIncompleteDuration(fiber) {
8790      if (0 <= profilerStartTime) {
8791        var elapsedTime = now() - profilerStartTime;
8792        fiber.actualDuration += elapsedTime;
8793        profilerStartTime = -1;
8794      }
8795    }
8796    function recordEffectDuration() {
8797      if (0 <= profilerStartTime) {
8798        var elapsedTime = now() - profilerStartTime;
8799        profilerStartTime = -1;
8800        profilerEffectDuration += elapsedTime;
8801      }
8802    }
8803    function startEffectTimer() {
8804      profilerStartTime = now();
8805    }
8806    function transferActualDuration(fiber) {
8807      for (var child = fiber.child; child; )
8808        (fiber.actualDuration += child.actualDuration), (child = child.sibling);
8809    }
8810    function entangleAsyncAction(transition, thenable) {
8811      if (null === currentEntangledListeners) {
8812        var entangledListeners = (currentEntangledListeners = []);
8813        currentEntangledPendingCount = 0;
8814        currentEntangledLane = requestTransitionLane();
8815        currentEntangledActionThenable = {
8816          status: "pending",
8817          value: void 0,
8818          then: function (resolve) {
8819            entangledListeners.push(resolve);
8820          }
8821        };
8822      }
8823      currentEntangledPendingCount++;
8824      thenable.then(pingEngtangledActionScope, pingEngtangledActionScope);
8825      return thenable;
8826    }
8827    function pingEngtangledActionScope() {
8828      if (
8829        0 === --currentEntangledPendingCount &&
8830        null !== currentEntangledListeners
8831      ) {
8832        null !== currentEntangledActionThenable &&
8833          (currentEntangledActionThenable.status = "fulfilled");
8834        var listeners = currentEntangledListeners;
8835        currentEntangledListeners = null;
8836        currentEntangledLane = 0;
8837        currentEntangledActionThenable = null;
8838        for (var i = 0; i < listeners.length; i++) (0, listeners[i])();
8839      }
8840    }
8841    function chainThenableValue(thenable, result) {
8842      var listeners = [],
8843        thenableWithOverride = {
8844          status: "pending",
8845          value: null,
8846          reason: null,
8847          then: function (resolve) {
8848            listeners.push(resolve);
8849          }
8850        };
8851      thenable.then(
8852        function () {
8853          thenableWithOverride.status = "fulfilled";
8854          thenableWithOverride.value = result;
8855          for (var i = 0; i < listeners.length; i++) (0, listeners[i])(result);
8856        },
8857        function (error) {
8858          thenableWithOverride.status = "rejected";
8859          thenableWithOverride.reason = error;
8860          for (error = 0; error < listeners.length; error++)
8861            (0, listeners[error])(void 0);
8862        }
8863      );
8864      return thenableWithOverride;
8865    }
8866    function peekCacheFromPool() {
8867      var cacheResumedFromPreviousRender = resumedCache.current;
8868      return null !== cacheResumedFromPreviousRender
8869        ? cacheResumedFromPreviousRender
8870        : workInProgressRoot.pooledCache;
8871    }
8872    function pushTransition(offscreenWorkInProgress, prevCachePool) {
8873      null === prevCachePool
8874        ? push(resumedCache, resumedCache.current, offscreenWorkInProgress)
8875        : push(resumedCache, prevCachePool.pool, offscreenWorkInProgress);
8876    }
8877    function getSuspendedCache() {
8878      var cacheFromPool = peekCacheFromPool();
8879      return null === cacheFromPool
8880        ? null
8881        : { parent: CacheContext._currentValue, pool: cacheFromPool };
8882    }
8883    function createThenableState() {
8884      return { didWarnAboutUncachedPromise: !1, thenables: [] };
8885    }
8886    function isThenableResolved(thenable) {
8887      thenable = thenable.status;
8888      return "fulfilled" === thenable || "rejected" === thenable;
8889    }
8890    function noop$3() {}
8891    function trackUsedThenable(thenableState, thenable, index) {
8892      null !== ReactSharedInternals.actQueue &&
8893        (ReactSharedInternals.didUsePromise = !0);
8894      var trackedThenables = thenableState.thenables;
8895      index = trackedThenables[index];
8896      void 0 === index
8897        ? trackedThenables.push(thenable)
8898        : index !== thenable &&
8899          (thenableState.didWarnAboutUncachedPromise ||
8900            ((thenableState.didWarnAboutUncachedPromise = !0),
8901            console.error(
8902              "A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework."
8903            )),
8904          thenable.then(noop$3, noop$3),
8905          (thenable = index));
8906      switch (thenable.status) {
8907        case "fulfilled":
8908          return thenable.value;
8909        case "rejected":
8910          throw (
8911            ((thenableState = thenable.reason),
8912            checkIfUseWrappedInAsyncCatch(thenableState),
8913            thenableState)
8914          );
8915        default:
8916          if ("string" === typeof thenable.status)
8917            thenable.then(noop$3, noop$3);
8918          else {
8919            thenableState = workInProgressRoot;
8920            if (
8921              null !== thenableState &&
8922              100 < thenableState.shellSuspendCounter
8923            )
8924              throw Error(
8925                "An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server."
8926              );
8927            thenableState = thenable;
8928            thenableState.status = "pending";
8929            thenableState.then(
8930              function (fulfilledValue) {
8931                if ("pending" === thenable.status) {
8932                  var fulfilledThenable = thenable;
8933                  fulfilledThenable.status = "fulfilled";
8934                  fulfilledThenable.value = fulfilledValue;
8935                }
8936              },
8937              function (error) {
8938                if ("pending" === thenable.status) {
8939                  var rejectedThenable = thenable;
8940                  rejectedThenable.status = "rejected";
8941                  rejectedThenable.reason = error;
8942                }
8943              }
8944            );
8945          }
8946          switch (thenable.status) {
8947            case "fulfilled":
8948              return thenable.value;
8949            case "rejected":
8950              throw (
8951                ((thenableState = thenable.reason),
8952                checkIfUseWrappedInAsyncCatch(thenableState),
8953                thenableState)
8954              );
8955          }
8956          suspendedThenable = thenable;
8957          needsToResetSuspendedThenableDEV = !0;
8958          throw SuspenseException;
8959      }
8960    }
8961    function getSuspendedThenable() {
8962      if (null === suspendedThenable)
8963        throw Error(
8964          "Expected a suspended thenable. This is a bug in React. Please file an issue."
8965        );
8966      var thenable = suspendedThenable;
8967      suspendedThenable = null;
8968      needsToResetSuspendedThenableDEV = !1;
8969      return thenable;
8970    }
8971    function checkIfUseWrappedInAsyncCatch(rejectedReason) {
8972      if (
8973        rejectedReason === SuspenseException ||
8974        rejectedReason === SuspenseActionException
8975      )
8976        throw Error(
8977          "Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server."
8978        );
8979    }
8980    function initializeUpdateQueue(fiber) {
8981      fiber.updateQueue = {
8982        baseState: fiber.memoizedState,
8983        firstBaseUpdate: null,
8984        lastBaseUpdate: null,
8985        shared: { pending: null, lanes: 0, hiddenCallbacks: null },
8986        callbacks: null
8987      };
8988    }
8989    function cloneUpdateQueue(current, workInProgress) {
8990      current = current.updateQueue;
8991      workInProgress.updateQueue === current &&
8992        (workInProgress.updateQueue = {
8993          baseState: current.baseState,
8994          firstBaseUpdate: current.firstBaseUpdate,
8995          lastBaseUpdate: current.lastBaseUpdate,
8996          shared: current.shared,
8997          callbacks: null
8998        });
8999    }
9000    function createUpdate(lane) {
9001      return {
9002        lane: lane,
9003        tag: UpdateState,
9004        payload: null,
9005        callback: null,
9006        next: null
9007      };
9008    }
9009    function enqueueUpdate(fiber, update, lane) {
9010      var updateQueue = fiber.updateQueue;
9011      if (null === updateQueue) return null;
9012      updateQueue = updateQueue.shared;
9013      if (
9014        currentlyProcessingQueue === updateQueue &&
9015        !didWarnUpdateInsideUpdate
9016      ) {
9017        var componentName = getComponentNameFromFiber(fiber);
9018        console.error(
9019          "An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.\n\nPlease update the following component: %s",
9020          componentName
9021        );
9022        didWarnUpdateInsideUpdate = !0;
9023      }
9024      if ((executionContext & RenderContext) !== NoContext)
9025        return (
9026          (componentName = updateQueue.pending),
9027          null === componentName
9028            ? (update.next = update)
9029            : ((update.next = componentName.next),
9030              (componentName.next = update)),
9031          (updateQueue.pending = update),
9032          (update = getRootForUpdatedFiber(fiber)),
9033          markUpdateLaneFromFiberToRoot(fiber, null, lane),
9034          update
9035        );
9036      enqueueUpdate$1(fiber, updateQueue, update, lane);
9037      return getRootForUpdatedFiber(fiber);
9038    }
9039    function entangleTransitions(root, fiber, lane) {
9040      fiber = fiber.updateQueue;
9041      if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194048))) {
9042        var queueLanes = fiber.lanes;
9043        queueLanes &= root.pendingLanes;
9044        lane |= queueLanes;
9045        fiber.lanes = lane;
9046        markRootEntangled(root, lane);
9047      }
9048    }
9049    function enqueueCapturedUpdate(workInProgress, capturedUpdate) {
9050      var queue = workInProgress.updateQueue,
9051        current = workInProgress.alternate;
9052      if (
9053        null !== current &&
9054        ((current = current.updateQueue), queue === current)
9055      ) {
9056        var newFirst = null,
9057          newLast = null;
9058        queue = queue.firstBaseUpdate;
9059        if (null !== queue) {
9060          do {
9061            var clone = {
9062              lane: queue.lane,
9063              tag: queue.tag,
9064              payload: queue.payload,
9065              callback: null,
9066              next: null
9067            };
9068            null === newLast
9069              ? (newFirst = newLast = clone)
9070              : (newLast = newLast.next = clone);
9071            queue = queue.next;
9072          } while (null !== queue);
9073          null === newLast
9074            ? (newFirst = newLast = capturedUpdate)
9075            : (newLast = newLast.next = capturedUpdate);
9076        } else newFirst = newLast = capturedUpdate;
9077        queue = {
9078          baseState: current.baseState,
9079          firstBaseUpdate: newFirst,
9080          lastBaseUpdate: newLast,
9081          shared: current.shared,
9082          callbacks: current.callbacks
9083        };
9084        workInProgress.updateQueue = queue;
9085        return;
9086      }
9087      workInProgress = queue.lastBaseUpdate;
9088      null === workInProgress
9089        ? (queue.firstBaseUpdate = capturedUpdate)
9090        : (workInProgress.next = capturedUpdate);
9091      queue.lastBaseUpdate = capturedUpdate;
9092    }
9093    function suspendIfUpdateReadFromEntangledAsyncAction() {
9094      if (didReadFromEntangledAsyncAction) {
9095        var entangledActionThenable = currentEntangledActionThenable;
9096        if (null !== entangledActionThenable) throw entangledActionThenable;
9097      }
9098    }
9099    function processUpdateQueue(
9100      workInProgress,
9101      props,
9102      instance$jscomp$0,
9103      renderLanes
9104    ) {
9105      didReadFromEntangledAsyncAction = !1;
9106      var queue = workInProgress.updateQueue;
9107      hasForceUpdate = !1;
9108      currentlyProcessingQueue = queue.shared;
9109      var firstBaseUpdate = queue.firstBaseUpdate,
9110        lastBaseUpdate = queue.lastBaseUpdate,
9111        pendingQueue = queue.shared.pending;
9112      if (null !== pendingQueue) {
9113        queue.shared.pending = null;
9114        var lastPendingUpdate = pendingQueue,
9115          firstPendingUpdate = lastPendingUpdate.next;
9116        lastPendingUpdate.next = null;
9117        null === lastBaseUpdate
9118          ? (firstBaseUpdate = firstPendingUpdate)
9119          : (lastBaseUpdate.next = firstPendingUpdate);
9120        lastBaseUpdate = lastPendingUpdate;
9121        var current = workInProgress.alternate;
9122        null !== current &&
9123          ((current = current.updateQueue),
9124          (pendingQueue = current.lastBaseUpdate),
9125          pendingQueue !== lastBaseUpdate &&
9126            (null === pendingQueue
9127              ? (current.firstBaseUpdate = firstPendingUpdate)
9128              : (pendingQueue.next = firstPendingUpdate),
9129            (current.lastBaseUpdate = lastPendingUpdate)));
9130      }
9131      if (null !== firstBaseUpdate) {
9132        var newState = queue.baseState;
9133        lastBaseUpdate = 0;
9134        current = firstPendingUpdate = lastPendingUpdate = null;
9135        pendingQueue = firstBaseUpdate;
9136        do {
9137          var updateLane = pendingQueue.lane & -536870913,
9138            isHiddenUpdate = updateLane !== pendingQueue.lane;
9139          if (
9140            isHiddenUpdate
9141              ? (workInProgressRootRenderLanes & updateLane) === updateLane
9142              : (renderLanes & updateLane) === updateLane
9143          ) {
9144            0 !== updateLane &&
9145              updateLane === currentEntangledLane &&
9146              (didReadFromEntangledAsyncAction = !0);
9147            null !== current &&
9148              (current = current.next =
9149                {
9150                  lane: 0,
9151                  tag: pendingQueue.tag,
9152                  payload: pendingQueue.payload,
9153                  callback: null,
9154                  next: null
9155                });
9156            a: {
9157              updateLane = workInProgress;
9158              var partialState = pendingQueue;
9159              var nextProps = props,
9160                instance = instance$jscomp$0;
9161              switch (partialState.tag) {
9162                case ReplaceState:
9163                  partialState = partialState.payload;
9164                  if ("function" === typeof partialState) {
9165                    isDisallowedContextReadInDEV = !0;
9166                    var nextState = partialState.call(
9167                      instance,
9168                      newState,
9169                      nextProps
9170                    );
9171                    if (updateLane.mode & StrictLegacyMode) {
9172                      setIsStrictModeForDevtools(!0);
9173                      try {
9174                        partialState.call(instance, newState, nextProps);
9175                      } finally {
9176                        setIsStrictModeForDevtools(!1);
9177                      }
9178                    }
9179                    isDisallowedContextReadInDEV = !1;
9180                    newState = nextState;
9181                    break a;
9182                  }
9183                  newState = partialState;
9184                  break a;
9185                case CaptureUpdate:
9186                  updateLane.flags = (updateLane.flags & -65537) | 128;
9187                case UpdateState:
9188                  nextState = partialState.payload;
9189                  if ("function" === typeof nextState) {
9190                    isDisallowedContextReadInDEV = !0;
9191                    partialState = nextState.call(
9192                      instance,
9193                      newState,
9194                      nextProps
9195                    );
9196                    if (updateLane.mode & StrictLegacyMode) {
9197                      setIsStrictModeForDevtools(!0);
9198                      try {
9199                        nextState.call(instance, newState, nextProps);
9200                      } finally {
9201                        setIsStrictModeForDevtools(!1);
9202                      }
9203                    }
9204                    isDisallowedContextReadInDEV = !1;
9205                  } else partialState = nextState;
9206                  if (null === partialState || void 0 === partialState) break a;
9207                  newState = assign({}, newState, partialState);
9208                  break a;
9209                case ForceUpdate:
9210                  hasForceUpdate = !0;
9211              }
9212            }
9213            updateLane = pendingQueue.callback;
9214            null !== updateLane &&
9215              ((workInProgress.flags |= 64),
9216              isHiddenUpdate && (workInProgress.flags |= 8192),
9217              (isHiddenUpdate = queue.callbacks),
9218              null === isHiddenUpdate
9219                ? (queue.callbacks = [updateLane])
9220                : isHiddenUpdate.push(updateLane));
9221          } else
9222            (isHiddenUpdate = {
9223              lane: updateLane,
9224              tag: pendingQueue.tag,
9225              payload: pendingQueue.payload,
9226              callback: pendingQueue.callback,
9227              next: null
9228            }),
9229              null === current
9230                ? ((firstPendingUpdate = current = isHiddenUpdate),
9231                  (lastPendingUpdate = newState))
9232                : (current = current.next = isHiddenUpdate),
9233              (lastBaseUpdate |= updateLane);
9234          pendingQueue = pendingQueue.next;
9235          if (null === pendingQueue)
9236            if (((pendingQueue = queue.shared.pending), null === pendingQueue))
9237              break;
9238            else
9239              (isHiddenUpdate = pendingQueue),
9240                (pendingQueue = isHiddenUpdate.next),
9241                (isHiddenUpdate.next = null),
9242                (queue.lastBaseUpdate = isHiddenUpdate),
9243                (queue.shared.pending = null);
9244        } while (1);
9245        null === current && (lastPendingUpdate = newState);
9246        queue.baseState = lastPendingUpdate;
9247        queue.firstBaseUpdate = firstPendingUpdate;
9248        queue.lastBaseUpdate = current;
9249        null === firstBaseUpdate && (queue.shared.lanes = 0);
9250        workInProgressRootSkippedLanes |= lastBaseUpdate;
9251        workInProgress.lanes = lastBaseUpdate;
9252        workInProgress.memoizedState = newState;
9253      }
9254      currentlyProcessingQueue = null;
9255    }
9256    function callCallback(callback, context) {
9257      if ("function" !== typeof callback)
9258        throw Error(
9259          "Invalid argument passed as callback. Expected a function. Instead received: " +
9260            callback
9261        );
9262      callback.call(context);
9263    }
9264    function commitHiddenCallbacks(updateQueue, context) {
9265      var hiddenCallbacks = updateQueue.shared.hiddenCallbacks;
9266      if (null !== hiddenCallbacks)
9267        for (
9268          updateQueue.shared.hiddenCallbacks = null, updateQueue = 0;
9269          updateQueue < hiddenCallbacks.length;
9270          updateQueue++
9271        )
9272          callCallback(hiddenCallbacks[updateQueue], context);
9273    }
9274    function commitCallbacks(updateQueue, context) {
9275      var callbacks = updateQueue.callbacks;
9276      if (null !== callbacks)
9277        for (
9278          updateQueue.callbacks = null, updateQueue = 0;
9279          updateQueue < callbacks.length;
9280          updateQueue++
9281        )
9282          callCallback(callbacks[updateQueue], context);
9283    }
9284    function pushHiddenContext(fiber, context) {
9285      var prevEntangledRenderLanes = entangledRenderLanes;
9286      push(prevEntangledRenderLanesCursor, prevEntangledRenderLanes, fiber);
9287      push(currentTreeHiddenStackCursor, context, fiber);
9288      entangledRenderLanes = prevEntangledRenderLanes | context.baseLanes;
9289    }
9290    function reuseHiddenContextOnStack(fiber) {
9291      push(prevEntangledRenderLanesCursor, entangledRenderLanes, fiber);
9292      push(
9293        currentTreeHiddenStackCursor,
9294        currentTreeHiddenStackCursor.current,
9295        fiber
9296      );
9297    }
9298    function popHiddenContext(fiber) {
9299      entangledRenderLanes = prevEntangledRenderLanesCursor.current;
9300      pop(currentTreeHiddenStackCursor, fiber);
9301      pop(prevEntangledRenderLanesCursor, fiber);
9302    }
9303    function mountHookTypesDev() {
9304      var hookName = currentHookNameInDev;
9305      null === hookTypesDev
9306        ? (hookTypesDev = [hookName])
9307        : hookTypesDev.push(hookName);
9308    }
9309    function updateHookTypesDev() {
9310      var hookName = currentHookNameInDev;
9311      if (
9312        null !== hookTypesDev &&
9313        (hookTypesUpdateIndexDev++,
9314        hookTypesDev[hookTypesUpdateIndexDev] !== hookName)
9315      ) {
9316        var componentName = getComponentNameFromFiber(currentlyRenderingFiber);
9317        if (
9318          !didWarnAboutMismatchedHooksForComponent.has(componentName) &&
9319          (didWarnAboutMismatchedHooksForComponent.add(componentName),
9320          null !== hookTypesDev)
9321        ) {
9322          for (var table = "", i = 0; i <= hookTypesUpdateIndexDev; i++) {
9323            var oldHookName = hookTypesDev[i],
9324              newHookName =
9325                i === hookTypesUpdateIndexDev ? hookName : oldHookName;
9326            for (
9327              oldHookName = i + 1 + ". " + oldHookName;
9328              30 > oldHookName.length;
9329
9330            )
9331              oldHookName += " ";
9332            oldHookName += newHookName + "\n";
9333            table += oldHookName;
9334          }
9335          console.error(
9336            "React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n   Previous render            Next render\n   ------------------------------------------------------\n%s   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
9337            componentName,
9338            table
9339          );
9340        }
9341      }
9342    }
9343    function checkDepsAreArrayDev(deps) {
9344      void 0 === deps ||
9345        null === deps ||
9346        isArrayImpl(deps) ||
9347        console.error(
9348          "%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",
9349          currentHookNameInDev,
9350          typeof deps
9351        );
9352    }
9353    function warnOnUseFormStateInDev() {
9354      var componentName = getComponentNameFromFiber(currentlyRenderingFiber);
9355      didWarnAboutUseFormState.has(componentName) ||
9356        (didWarnAboutUseFormState.add(componentName),
9357        console.error(
9358          "ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",
9359          componentName
9360        ));
9361    }
9362    function throwInvalidHookError() {
9363      throw Error(
9364        "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
9365      );
9366    }
9367    function areHookInputsEqual(nextDeps, prevDeps) {
9368      if (ignorePreviousDependencies) return !1;
9369      if (null === prevDeps)
9370        return (
9371          console.error(
9372            "%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",
9373            currentHookNameInDev
9374          ),
9375          !1
9376        );
9377      nextDeps.length !== prevDeps.length &&
9378        console.error(
9379          "The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",
9380          currentHookNameInDev,
9381          "[" + prevDeps.join(", ") + "]",
9382          "[" + nextDeps.join(", ") + "]"
9383        );
9384      for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)
9385        if (!objectIs(nextDeps[i], prevDeps[i])) return !1;
9386      return !0;
9387    }
9388    function renderWithHooks(
9389      current,
9390      workInProgress,
9391      Component,
9392      props,
9393      secondArg,
9394      nextRenderLanes
9395    ) {
9396      renderLanes = nextRenderLanes;
9397      currentlyRenderingFiber = workInProgress;
9398      hookTypesDev = null !== current ? current._debugHookTypes : null;
9399      hookTypesUpdateIndexDev = -1;
9400      ignorePreviousDependencies =
9401        null !== current && current.type !== workInProgress.type;
9402      if (
9403        "[object AsyncFunction]" ===
9404          Object.prototype.toString.call(Component) ||
9405        "[object AsyncGeneratorFunction]" ===
9406          Object.prototype.toString.call(Component)
9407      )
9408        (nextRenderLanes = getComponentNameFromFiber(currentlyRenderingFiber)),
9409          didWarnAboutAsyncClientComponent.has(nextRenderLanes) ||
9410            (didWarnAboutAsyncClientComponent.add(nextRenderLanes),
9411            console.error(
9412              "%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",
9413              null === nextRenderLanes
9414                ? "An unknown Component"
9415                : "<" + nextRenderLanes + ">"
9416            ));
9417      workInProgress.memoizedState = null;
9418      workInProgress.updateQueue = null;
9419      workInProgress.lanes = 0;
9420      ReactSharedInternals.H =
9421        null !== current && null !== current.memoizedState
9422          ? HooksDispatcherOnUpdateInDEV
9423          : null !== hookTypesDev
9424            ? HooksDispatcherOnMountWithHookTypesInDEV
9425            : HooksDispatcherOnMountInDEV;
9426      shouldDoubleInvokeUserFnsInHooksDEV = nextRenderLanes =
9427        (workInProgress.mode & StrictLegacyMode) !== NoMode;
9428      var children = callComponentInDEV(Component, props, secondArg);
9429      shouldDoubleInvokeUserFnsInHooksDEV = !1;
9430      didScheduleRenderPhaseUpdateDuringThisPass &&
9431        (children = renderWithHooksAgain(
9432          workInProgress,
9433          Component,
9434          props,
9435          secondArg
9436        ));
9437      if (nextRenderLanes) {
9438        setIsStrictModeForDevtools(!0);
9439        try {
9440          children = renderWithHooksAgain(
9441            workInProgress,
9442            Component,
9443            props,
9444            secondArg
9445          );
9446        } finally {
9447          setIsStrictModeForDevtools(!1);
9448        }
9449      }
9450      finishRenderingHooks(current, workInProgress);
9451      return children;
9452    }
9453    function finishRenderingHooks(current, workInProgress) {
9454      workInProgress._debugHookTypes = hookTypesDev;
9455      null === workInProgress.dependencies
9456        ? null !== thenableState$1 &&
9457          (workInProgress.dependencies = {
9458            lanes: 0,
9459            firstContext: null,
9460            _debugThenableState: thenableState$1
9461          })
9462        : (workInProgress.dependencies._debugThenableState = thenableState$1);
9463      ReactSharedInternals.H = ContextOnlyDispatcher;
9464      var didRenderTooFewHooks =
9465        null !== currentHook && null !== currentHook.next;
9466      renderLanes = 0;
9467      hookTypesDev =
9468        currentHookNameInDev =
9469        workInProgressHook =
9470        currentHook =
9471        currentlyRenderingFiber =
9472          null;
9473      hookTypesUpdateIndexDev = -1;
9474      null !== current &&
9475        (current.flags & 65011712) !== (workInProgress.flags & 65011712) &&
9476        console.error(
9477          "Internal React error: Expected static flag was missing. Please notify the React team."
9478        );
9479      didScheduleRenderPhaseUpdate = !1;
9480      thenableIndexCounter$1 = 0;
9481      thenableState$1 = null;
9482      if (didRenderTooFewHooks)
9483        throw Error(
9484          "Rendered fewer hooks than expected. This may be caused by an accidental early return statement."
9485        );
9486      null === current ||
9487        didReceiveUpdate ||
9488        ((current = current.dependencies),
9489        null !== current &&
9490          checkIfContextChanged(current) &&
9491          (didReceiveUpdate = !0));
9492      needsToResetSuspendedThenableDEV
9493        ? ((needsToResetSuspendedThenableDEV = !1), (current = !0))
9494        : (current = !1);
9495      current &&
9496        ((workInProgress =
9497          getComponentNameFromFiber(workInProgress) || "Unknown"),
9498        didWarnAboutUseWrappedInTryCatch.has(workInProgress) ||
9499          didWarnAboutAsyncClientComponent.has(workInProgress) ||
9500          (didWarnAboutUseWrappedInTryCatch.add(workInProgress),
9501          console.error(
9502            "`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary."
9503          )));
9504    }
9505    function renderWithHooksAgain(workInProgress, Component, props, secondArg) {
9506      currentlyRenderingFiber = workInProgress;
9507      var numberOfReRenders = 0;
9508      do {
9509        didScheduleRenderPhaseUpdateDuringThisPass && (thenableState$1 = null);
9510        thenableIndexCounter$1 = 0;
9511        didScheduleRenderPhaseUpdateDuringThisPass = !1;
9512        if (numberOfReRenders >= RE_RENDER_LIMIT)
9513          throw Error(
9514            "Too many re-renders. React limits the number of renders to prevent an infinite loop."
9515          );
9516        numberOfReRenders += 1;
9517        ignorePreviousDependencies = !1;
9518        workInProgressHook = currentHook = null;
9519        if (null != workInProgress.updateQueue) {
9520          var children = workInProgress.updateQueue;
9521          children.lastEffect = null;
9522          children.events = null;
9523          children.stores = null;
9524          null != children.memoCache && (children.memoCache.index = 0);
9525        }
9526        hookTypesUpdateIndexDev = -1;
9527        ReactSharedInternals.H = HooksDispatcherOnRerenderInDEV;
9528        children = callComponentInDEV(Component, props, secondArg);
9529      } while (didScheduleRenderPhaseUpdateDuringThisPass);
9530      return children;
9531    }
9532    function TransitionAwareHostComponent() {
9533      var dispatcher = ReactSharedInternals.H,
9534        maybeThenable = dispatcher.useState()[0];
9535      maybeThenable =
9536        "function" === typeof maybeThenable.then
9537          ? useThenable(maybeThenable)
9538          : maybeThenable;
9539      dispatcher = dispatcher.useState()[0];
9540      (null !== currentHook ? currentHook.memoizedState : null) !==
9541        dispatcher && (currentlyRenderingFiber.flags |= 1024);
9542      return maybeThenable;
9543    }
9544    function checkDidRenderIdHook() {
9545      var didRenderIdHook = 0 !== localIdCounter;
9546      localIdCounter = 0;
9547      return didRenderIdHook;
9548    }
9549    function bailoutHooks(current, workInProgress, lanes) {
9550      workInProgress.updateQueue = current.updateQueue;
9551      workInProgress.flags =
9552        (workInProgress.mode & StrictEffectsMode) !== NoMode
9553          ? workInProgress.flags & -402655237
9554          : workInProgress.flags & -2053;
9555      current.lanes &= ~lanes;
9556    }
9557    function resetHooksOnUnwind(workInProgress) {
9558      if (didScheduleRenderPhaseUpdate) {
9559        for (
9560          workInProgress = workInProgress.memoizedState;
9561          null !== workInProgress;
9562
9563        ) {
9564          var queue = workInProgress.queue;
9565          null !== queue && (queue.pending = null);
9566          workInProgress = workInProgress.next;
9567        }
9568        didScheduleRenderPhaseUpdate = !1;
9569      }
9570      renderLanes = 0;
9571      hookTypesDev =
9572        workInProgressHook =
9573        currentHook =
9574        currentlyRenderingFiber =
9575          null;
9576      hookTypesUpdateIndexDev = -1;
9577      currentHookNameInDev = null;
9578      didScheduleRenderPhaseUpdateDuringThisPass = !1;
9579      thenableIndexCounter$1 = localIdCounter = 0;
9580      thenableState$1 = null;
9581    }
9582    function mountWorkInProgressHook() {
9583      var hook = {
9584        memoizedState: null,
9585        baseState: null,
9586        baseQueue: null,
9587        queue: null,
9588        next: null
9589      };
9590      null === workInProgressHook
9591        ? (currentlyRenderingFiber.memoizedState = workInProgressHook = hook)
9592        : (workInProgressHook = workInProgressHook.next = hook);
9593      return workInProgressHook;
9594    }
9595    function updateWorkInProgressHook() {
9596      if (null === currentHook) {
9597        var nextCurrentHook = currentlyRenderingFiber.alternate;
9598        nextCurrentHook =
9599          null !== nextCurrentHook ? nextCurrentHook.memoizedState : null;
9600      } else nextCurrentHook = currentHook.next;
9601      var nextWorkInProgressHook =
9602        null === workInProgressHook
9603          ? currentlyRenderingFiber.memoizedState
9604          : workInProgressHook.next;
9605      if (null !== nextWorkInProgressHook)
9606        (workInProgressHook = nextWorkInProgressHook),
9607          (currentHook = nextCurrentHook);
9608      else {
9609        if (null === nextCurrentHook) {
9610          if (null === currentlyRenderingFiber.alternate)
9611            throw Error(
9612              "Update hook called on initial render. This is likely a bug in React. Please file an issue."
9613            );
9614          throw Error("Rendered more hooks than during the previous render.");
9615        }
9616        currentHook = nextCurrentHook;
9617        nextCurrentHook = {
9618          memoizedState: currentHook.memoizedState,
9619          baseState: currentHook.baseState,
9620          baseQueue: currentHook.baseQueue,
9621          queue: currentHook.queue,
9622          next: null
9623        };
9624        null === workInProgressHook
9625          ? (currentlyRenderingFiber.memoizedState = workInProgressHook =
9626              nextCurrentHook)
9627          : (workInProgressHook = workInProgressHook.next = nextCurrentHook);
9628      }
9629      return workInProgressHook;
9630    }
9631    function createFunctionComponentUpdateQueue() {
9632      return { lastEffect: null, events: null, stores: null, memoCache: null };
9633    }
9634    function useThenable(thenable) {
9635      var index = thenableIndexCounter$1;
9636      thenableIndexCounter$1 += 1;
9637      null === thenableState$1 && (thenableState$1 = createThenableState());
9638      thenable = trackUsedThenable(thenableState$1, thenable, index);
9639      index = currentlyRenderingFiber;
9640      null ===
9641        (null === workInProgressHook
9642          ? index.memoizedState
9643          : workInProgressHook.next) &&
9644        ((index = index.alternate),
9645        (ReactSharedInternals.H =
9646          null !== index && null !== index.memoizedState
9647            ? HooksDispatcherOnUpdateInDEV
9648            : HooksDispatcherOnMountInDEV));
9649      return thenable;
9650    }
9651    function use(usable) {
9652      if (null !== usable && "object" === typeof usable) {
9653        if ("function" === typeof usable.then) return useThenable(usable);
9654        if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable);
9655      }
9656      throw Error("An unsupported type was passed to use(): " + String(usable));
9657    }
9658    function useMemoCache(size) {
9659      var memoCache = null,
9660        updateQueue = currentlyRenderingFiber.updateQueue;
9661      null !== updateQueue && (memoCache = updateQueue.memoCache);
9662      if (null == memoCache) {
9663        var current = currentlyRenderingFiber.alternate;
9664        null !== current &&
9665          ((current = current.updateQueue),
9666          null !== current &&
9667            ((current = current.memoCache),
9668            null != current &&
9669              (memoCache = {
9670                data: current.data.map(function (array) {
9671                  return array.slice();
9672                }),
9673                index: 0
9674              })));
9675      }
9676      null == memoCache && (memoCache = { data: [], index: 0 });
9677      null === updateQueue &&
9678        ((updateQueue = createFunctionComponentUpdateQueue()),
9679        (currentlyRenderingFiber.updateQueue = updateQueue));
9680      updateQueue.memoCache = memoCache;
9681      updateQueue = memoCache.data[memoCache.index];
9682      if (void 0 === updateQueue || ignorePreviousDependencies)
9683        for (
9684          updateQueue = memoCache.data[memoCache.index] = Array(size),
9685            current = 0;
9686          current < size;
9687          current++
9688        )
9689          updateQueue[current] = REACT_MEMO_CACHE_SENTINEL;
9690      else
9691        updateQueue.length !== size &&
9692          console.error(
9693            "Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",
9694            updateQueue.length,
9695            size
9696          );
9697      memoCache.index++;
9698      return updateQueue;
9699    }
9700    function basicStateReducer(state, action) {
9701      return "function" === typeof action ? action(state) : action;
9702    }
9703    function mountReducer(reducer, initialArg, init) {
9704      var hook = mountWorkInProgressHook();
9705      if (void 0 !== init) {
9706        var initialState = init(initialArg);
9707        if (shouldDoubleInvokeUserFnsInHooksDEV) {
9708          setIsStrictModeForDevtools(!0);
9709          try {
9710            init(initialArg);
9711          } finally {
9712            setIsStrictModeForDevtools(!1);
9713          }
9714        }
9715      } else initialState = initialArg;
9716      hook.memoizedState = hook.baseState = initialState;
9717      reducer = {
9718        pending: null,
9719        lanes: 0,
9720        dispatch: null,
9721        lastRenderedReducer: reducer,
9722        lastRenderedState: initialState
9723      };
9724      hook.queue = reducer;
9725      reducer = reducer.dispatch = dispatchReducerAction.bind(
9726        null,
9727        currentlyRenderingFiber,
9728        reducer
9729      );
9730      return [hook.memoizedState, reducer];
9731    }
9732    function updateReducer(reducer) {
9733      var hook = updateWorkInProgressHook();
9734      return updateReducerImpl(hook, currentHook, reducer);
9735    }
9736    function updateReducerImpl(hook, current, reducer) {
9737      var queue = hook.queue;
9738      if (null === queue)
9739        throw Error(
9740          "Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)"
9741        );
9742      queue.lastRenderedReducer = reducer;
9743      var baseQueue = hook.baseQueue,
9744        pendingQueue = queue.pending;
9745      if (null !== pendingQueue) {
9746        if (null !== baseQueue) {
9747          var baseFirst = baseQueue.next;
9748          baseQueue.next = pendingQueue.next;
9749          pendingQueue.next = baseFirst;
9750        }
9751        current.baseQueue !== baseQueue &&
9752          console.error(
9753            "Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."
9754          );
9755        current.baseQueue = baseQueue = pendingQueue;
9756        queue.pending = null;
9757      }
9758      pendingQueue = hook.baseState;
9759      if (null === baseQueue) hook.memoizedState = pendingQueue;
9760      else {
9761        current = baseQueue.next;
9762        var newBaseQueueFirst = (baseFirst = null),
9763          newBaseQueueLast = null,
9764          update = current,
9765          didReadFromEntangledAsyncAction = !1;
9766        do {
9767          var updateLane = update.lane & -536870913;
9768          if (
9769            updateLane !== update.lane
9770              ? (workInProgressRootRenderLanes & updateLane) === updateLane
9771              : (renderLanes & updateLane) === updateLane
9772          ) {
9773            var revertLane = update.revertLane;
9774            if (0 === revertLane)
9775              null !== newBaseQueueLast &&
9776                (newBaseQueueLast = newBaseQueueLast.next =
9777                  {
9778                    lane: 0,
9779                    revertLane: 0,
9780                    action: update.action,
9781                    hasEagerState: update.hasEagerState,
9782                    eagerState: update.eagerState,
9783                    next: null
9784                  }),
9785                updateLane === currentEntangledLane &&
9786                  (didReadFromEntangledAsyncAction = !0);
9787            else if ((renderLanes & revertLane) === revertLane) {
9788              update = update.next;
9789              revertLane === currentEntangledLane &&
9790                (didReadFromEntangledAsyncAction = !0);
9791              continue;
9792            } else
9793              (updateLane = {
9794                lane: 0,
9795                revertLane: update.revertLane,
9796                action: update.action,
9797                hasEagerState: update.hasEagerState,
9798                eagerState: update.eagerState,
9799                next: null
9800              }),
9801                null === newBaseQueueLast
9802                  ? ((newBaseQueueFirst = newBaseQueueLast = updateLane),
9803                    (baseFirst = pendingQueue))
9804                  : (newBaseQueueLast = newBaseQueueLast.next = updateLane),
9805                (currentlyRenderingFiber.lanes |= revertLane),
9806                (workInProgressRootSkippedLanes |= revertLane);
9807            updateLane = update.action;
9808            shouldDoubleInvokeUserFnsInHooksDEV &&
9809              reducer(pendingQueue, updateLane);
9810            pendingQueue = update.hasEagerState
9811              ? update.eagerState
9812              : reducer(pendingQueue, updateLane);
9813          } else
9814            (revertLane = {
9815              lane: updateLane,
9816              revertLane: update.revertLane,
9817              action: update.action,
9818              hasEagerState: update.hasEagerState,
9819              eagerState: update.eagerState,
9820              next: null
9821            }),
9822              null === newBaseQueueLast
9823                ? ((newBaseQueueFirst = newBaseQueueLast = revertLane),
9824                  (baseFirst = pendingQueue))
9825                : (newBaseQueueLast = newBaseQueueLast.next = revertLane),
9826              (currentlyRenderingFiber.lanes |= updateLane),
9827              (workInProgressRootSkippedLanes |= updateLane);
9828          update = update.next;
9829        } while (null !== update && update !== current);
9830        null === newBaseQueueLast
9831          ? (baseFirst = pendingQueue)
9832          : (newBaseQueueLast.next = newBaseQueueFirst);
9833        if (
9834          !objectIs(pendingQueue, hook.memoizedState) &&
9835          ((didReceiveUpdate = !0),
9836          didReadFromEntangledAsyncAction &&
9837            ((reducer = currentEntangledActionThenable), null !== reducer))
9838        )
9839          throw reducer;
9840        hook.memoizedState = pendingQueue;
9841        hook.baseState = baseFirst;
9842        hook.baseQueue = newBaseQueueLast;
9843        queue.lastRenderedState = pendingQueue;
9844      }
9845      null === baseQueue && (queue.lanes = 0);
9846      return [hook.memoizedState, queue.dispatch];
9847    }
9848    function rerenderReducer(reducer) {
9849      var hook = updateWorkInProgressHook(),
9850        queue = hook.queue;
9851      if (null === queue)
9852        throw Error(
9853          "Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)"
9854        );
9855      queue.lastRenderedReducer = reducer;
9856      var dispatch = queue.dispatch,
9857        lastRenderPhaseUpdate = queue.pending,
9858        newState = hook.memoizedState;
9859      if (null !== lastRenderPhaseUpdate) {
9860        queue.pending = null;
9861        var update = (lastRenderPhaseUpdate = lastRenderPhaseUpdate.next);
9862        do
9863          (newState = reducer(newState, update.action)), (update = update.next);
9864        while (update !== lastRenderPhaseUpdate);
9865        objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0);
9866        hook.memoizedState = newState;
9867        null === hook.baseQueue && (hook.baseState = newState);
9868        queue.lastRenderedState = newState;
9869      }
9870      return [newState, dispatch];
9871    }
9872    function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
9873      var fiber = currentlyRenderingFiber,
9874        hook = mountWorkInProgressHook();
9875      if (isHydrating) {
9876        if (void 0 === getServerSnapshot)
9877          throw Error(
9878            "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."
9879          );
9880        var nextSnapshot = getServerSnapshot();
9881        didWarnUncachedGetSnapshot ||
9882          nextSnapshot === getServerSnapshot() ||
9883          (console.error(
9884            "The result of getServerSnapshot should be cached to avoid an infinite loop"
9885          ),
9886          (didWarnUncachedGetSnapshot = !0));
9887      } else {
9888        nextSnapshot = getSnapshot();
9889        didWarnUncachedGetSnapshot ||
9890          ((getServerSnapshot = getSnapshot()),
9891          objectIs(nextSnapshot, getServerSnapshot) ||
9892            (console.error(
9893              "The result of getSnapshot should be cached to avoid an infinite loop"
9894            ),
9895            (didWarnUncachedGetSnapshot = !0)));
9896        if (null === workInProgressRoot)
9897          throw Error(
9898            "Expected a work-in-progress root. This is a bug in React. Please file an issue."
9899          );
9900        0 !== (workInProgressRootRenderLanes & 124) ||
9901          pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
9902      }
9903      hook.memoizedState = nextSnapshot;
9904      getServerSnapshot = { value: nextSnapshot, getSnapshot: getSnapshot };
9905      hook.queue = getServerSnapshot;
9906      mountEffect(
9907        subscribeToStore.bind(null, fiber, getServerSnapshot, subscribe),
9908        [subscribe]
9909      );
9910      fiber.flags |= 2048;
9911      pushSimpleEffect(
9912        HasEffect | Passive,
9913        createEffectInstance(),
9914        updateStoreInstance.bind(
9915          null,
9916          fiber,
9917          getServerSnapshot,
9918          nextSnapshot,
9919          getSnapshot
9920        ),
9921        null
9922      );
9923      return nextSnapshot;
9924    }
9925    function updateSyncExternalStore(
9926      subscribe,
9927      getSnapshot,
9928      getServerSnapshot
9929    ) {
9930      var fiber = currentlyRenderingFiber,
9931        hook = updateWorkInProgressHook(),
9932        isHydrating$jscomp$0 = isHydrating;
9933      if (isHydrating$jscomp$0) {
9934        if (void 0 === getServerSnapshot)
9935          throw Error(
9936            "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."
9937          );
9938        getServerSnapshot = getServerSnapshot();
9939      } else if (
9940        ((getServerSnapshot = getSnapshot()), !didWarnUncachedGetSnapshot)
9941      ) {
9942        var cachedSnapshot = getSnapshot();
9943        objectIs(getServerSnapshot, cachedSnapshot) ||
9944          (console.error(
9945            "The result of getSnapshot should be cached to avoid an infinite loop"
9946          ),
9947          (didWarnUncachedGetSnapshot = !0));
9948      }
9949      if (
9950        (cachedSnapshot = !objectIs(
9951          (currentHook || hook).memoizedState,
9952          getServerSnapshot
9953        ))
9954      )
9955        (hook.memoizedState = getServerSnapshot), (didReceiveUpdate = !0);
9956      hook = hook.queue;
9957      var create = subscribeToStore.bind(null, fiber, hook, subscribe);
9958      updateEffectImpl(2048, Passive, create, [subscribe]);
9959      if (
9960        hook.getSnapshot !== getSnapshot ||
9961        cachedSnapshot ||
9962        (null !== workInProgressHook &&
9963          workInProgressHook.memoizedState.tag & HasEffect)
9964      ) {
9965        fiber.flags |= 2048;
9966        pushSimpleEffect(
9967          HasEffect | Passive,
9968          createEffectInstance(),
9969          updateStoreInstance.bind(
9970            null,
9971            fiber,
9972            hook,
9973            getServerSnapshot,
9974            getSnapshot
9975          ),
9976          null
9977        );
9978        if (null === workInProgressRoot)
9979          throw Error(
9980            "Expected a work-in-progress root. This is a bug in React. Please file an issue."
9981          );
9982        isHydrating$jscomp$0 ||
9983          0 !== (renderLanes & 124) ||
9984          pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);
9985      }
9986      return getServerSnapshot;
9987    }
9988    function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {
9989      fiber.flags |= 16384;
9990      fiber = { getSnapshot: getSnapshot, value: renderedSnapshot };
9991      getSnapshot = currentlyRenderingFiber.updateQueue;
9992      null === getSnapshot
9993        ? ((getSnapshot = createFunctionComponentUpdateQueue()),
9994          (currentlyRenderingFiber.updateQueue = getSnapshot),
9995          (getSnapshot.stores = [fiber]))
9996        : ((renderedSnapshot = getSnapshot.stores),
9997          null === renderedSnapshot
9998            ? (getSnapshot.stores = [fiber])
9999            : renderedSnapshot.push(fiber));
10000    }
10001    function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {
10002      inst.value = nextSnapshot;
10003      inst.getSnapshot = getSnapshot;
10004      checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);
10005    }
10006    function subscribeToStore(fiber, inst, subscribe) {
10007      return subscribe(function () {
10008        checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);
10009      });
10010    }
10011    function checkIfSnapshotChanged(inst) {
10012      var latestGetSnapshot = inst.getSnapshot;
10013      inst = inst.value;
10014      try {
10015        var nextValue = latestGetSnapshot();
10016        return !objectIs(inst, nextValue);
10017      } catch (error) {
10018        return !0;
10019      }
10020    }
10021    function forceStoreRerender(fiber) {
10022      var root = enqueueConcurrentRenderForLane(fiber, 2);
10023      null !== root && scheduleUpdateOnFiber(root, fiber, 2);
10024    }
10025    function mountStateImpl(initialState) {
10026      var hook = mountWorkInProgressHook();
10027      if ("function" === typeof initialState) {
10028        var initialStateInitializer = initialState;
10029        initialState = initialStateInitializer();
10030        if (shouldDoubleInvokeUserFnsInHooksDEV) {
10031          setIsStrictModeForDevtools(!0);
10032          try {
10033            initialStateInitializer();
10034          } finally {
10035            setIsStrictModeForDevtools(!1);
10036          }
10037        }
10038      }
10039      hook.memoizedState = hook.baseState = initialState;
10040      hook.queue = {
10041        pending: null,
10042        lanes: 0,
10043        dispatch: null,
10044        lastRenderedReducer: basicStateReducer,
10045        lastRenderedState: initialState
10046      };
10047      return hook;
10048    }
10049    function mountState(initialState) {
10050      initialState = mountStateImpl(initialState);
10051      var queue = initialState.queue,
10052        dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue);
10053      queue.dispatch = dispatch;
10054      return [initialState.memoizedState, dispatch];
10055    }
10056    function mountOptimistic(passthrough) {
10057      var hook = mountWorkInProgressHook();
10058      hook.memoizedState = hook.baseState = passthrough;
10059      var queue = {
10060        pending: null,
10061        lanes: 0,
10062        dispatch: null,
10063        lastRenderedReducer: null,
10064        lastRenderedState: null
10065      };
10066      hook.queue = queue;
10067      hook = dispatchOptimisticSetState.bind(
10068        null,
10069        currentlyRenderingFiber,
10070        !0,
10071        queue
10072      );
10073      queue.dispatch = hook;
10074      return [passthrough, hook];
10075    }
10076    function updateOptimistic(passthrough, reducer) {
10077      var hook = updateWorkInProgressHook();
10078      return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
10079    }
10080    function updateOptimisticImpl(hook, current, passthrough, reducer) {
10081      hook.baseState = passthrough;
10082      return updateReducerImpl(
10083        hook,
10084        currentHook,
10085        "function" === typeof reducer ? reducer : basicStateReducer
10086      );
10087    }
10088    function rerenderOptimistic(passthrough, reducer) {
10089      var hook = updateWorkInProgressHook();
10090      if (null !== currentHook)
10091        return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
10092      hook.baseState = passthrough;
10093      return [passthrough, hook.queue.dispatch];
10094    }
10095    function dispatchActionState(
10096      fiber,
10097      actionQueue,
10098      setPendingState,
10099      setState,
10100      payload
10101    ) {
10102      if (isRenderPhaseUpdate(fiber))
10103        throw Error("Cannot update form state while rendering.");
10104      fiber = actionQueue.action;
10105      if (null !== fiber) {
10106        var actionNode = {
10107          payload: payload,
10108          action: fiber,
10109          next: null,
10110          isTransition: !0,
10111          status: "pending",
10112          value: null,
10113          reason: null,
10114          listeners: [],
10115          then: function (listener) {
10116            actionNode.listeners.push(listener);
10117          }
10118        };
10119        null !== ReactSharedInternals.T
10120          ? setPendingState(!0)
10121          : (actionNode.isTransition = !1);
10122        setState(actionNode);
10123        setPendingState = actionQueue.pending;
10124        null === setPendingState
10125          ? ((actionNode.next = actionQueue.pending = actionNode),
10126            runActionStateAction(actionQueue, actionNode))
10127          : ((actionNode.next = setPendingState.next),
10128            (actionQueue.pending = setPendingState.next = actionNode));
10129      }
10130    }
10131    function runActionStateAction(actionQueue, node) {
10132      var action = node.action,
10133        payload = node.payload,
10134        prevState = actionQueue.state;
10135      if (node.isTransition) {
10136        var prevTransition = ReactSharedInternals.T,
10137          currentTransition = {};
10138        ReactSharedInternals.T = currentTransition;
10139        ReactSharedInternals.T._updatedFibers = new Set();
10140        try {
10141          var returnValue = action(prevState, payload),
10142            onStartTransitionFinish = ReactSharedInternals.S;
10143          null !== onStartTransitionFinish &&
10144            onStartTransitionFinish(currentTransition, returnValue);
10145          handleActionReturnValue(actionQueue, node, returnValue);
10146        } catch (error) {
10147          onActionError(actionQueue, node, error);
10148        } finally {
10149          (ReactSharedInternals.T = prevTransition),
10150            null === prevTransition &&
10151              currentTransition._updatedFibers &&
10152              ((actionQueue = currentTransition._updatedFibers.size),
10153              currentTransition._updatedFibers.clear(),
10154              10 < actionQueue &&
10155                console.warn(
10156                  "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
10157                ));
10158        }
10159      } else
10160        try {
10161          (currentTransition = action(prevState, payload)),
10162            handleActionReturnValue(actionQueue, node, currentTransition);
10163        } catch (error$4) {
10164          onActionError(actionQueue, node, error$4);
10165        }
10166    }
10167    function handleActionReturnValue(actionQueue, node, returnValue) {
10168      null !== returnValue &&
10169      "object" === typeof returnValue &&
10170      "function" === typeof returnValue.then
10171        ? (returnValue.then(
10172            function (nextState) {
10173              onActionSuccess(actionQueue, node, nextState);
10174            },
10175            function (error) {
10176              return onActionError(actionQueue, node, error);
10177            }
10178          ),
10179          node.isTransition ||
10180            console.error(
10181              "An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop."
10182            ))
10183        : onActionSuccess(actionQueue, node, returnValue);
10184    }
10185    function onActionSuccess(actionQueue, actionNode, nextState) {
10186      actionNode.status = "fulfilled";
10187      actionNode.value = nextState;
10188      notifyActionListeners(actionNode);
10189      actionQueue.state = nextState;
10190      actionNode = actionQueue.pending;
10191      null !== actionNode &&
10192        ((nextState = actionNode.next),
10193        nextState === actionNode
10194          ? (actionQueue.pending = null)
10195          : ((nextState = nextState.next),
10196            (actionNode.next = nextState),
10197            runActionStateAction(actionQueue, nextState)));
10198    }
10199    function onActionError(actionQueue, actionNode, error) {
10200      var last = actionQueue.pending;
10201      actionQueue.pending = null;
10202      if (null !== last) {
10203        last = last.next;
10204        do
10205          (actionNode.status = "rejected"),
10206            (actionNode.reason = error),
10207            notifyActionListeners(actionNode),
10208            (actionNode = actionNode.next);
10209        while (actionNode !== last);
10210      }
10211      actionQueue.action = null;
10212    }
10213    function notifyActionListeners(actionNode) {
10214      actionNode = actionNode.listeners;
10215      for (var i = 0; i < actionNode.length; i++) (0, actionNode[i])();
10216    }
10217    function actionStateReducer(oldState, newState) {
10218      return newState;
10219    }
10220    function mountActionState(action, initialStateProp) {
10221      if (isHydrating) {
10222        var ssrFormState = workInProgressRoot.formState;
10223        if (null !== ssrFormState) {
10224          a: {
10225            var isMatching = currentlyRenderingFiber;
10226            if (isHydrating) {
10227              if (nextHydratableInstance) {
10228                b: {
10229                  var markerInstance = nextHydratableInstance;
10230                  for (
10231                    var inRootOrSingleton = rootOrSingletonContext;
10232                    8 !== markerInstance.nodeType;
10233
10234                  ) {
10235                    if (!inRootOrSingleton) {
10236                      markerInstance = null;
10237                      break b;
10238                    }
10239                    markerInstance = getNextHydratable(
10240                      markerInstance.nextSibling
10241                    );
10242                    if (null === markerInstance) {
10243                      markerInstance = null;
10244                      break b;
10245                    }
10246                  }
10247                  inRootOrSingleton = markerInstance.data;
10248                  markerInstance =
10249                    inRootOrSingleton === FORM_STATE_IS_MATCHING ||
10250                    inRootOrSingleton === FORM_STATE_IS_NOT_MATCHING
10251                      ? markerInstance
10252                      : null;
10253                }
10254                if (markerInstance) {
10255                  nextHydratableInstance = getNextHydratable(
10256                    markerInstance.nextSibling
10257                  );
10258                  isMatching = markerInstance.data === FORM_STATE_IS_MATCHING;
10259                  break a;
10260                }
10261              }
10262              throwOnHydrationMismatch(isMatching);
10263            }
10264            isMatching = !1;
10265          }
10266          isMatching && (initialStateProp = ssrFormState[0]);
10267        }
10268      }
10269      ssrFormState = mountWorkInProgressHook();
10270      ssrFormState.memoizedState = ssrFormState.baseState = initialStateProp;
10271      isMatching = {
10272        pending: null,
10273        lanes: 0,
10274        dispatch: null,
10275        lastRenderedReducer: actionStateReducer,
10276        lastRenderedState: initialStateProp
10277      };
10278      ssrFormState.queue = isMatching;
10279      ssrFormState = dispatchSetState.bind(
10280        null,
10281        currentlyRenderingFiber,
10282        isMatching
10283      );
10284      isMatching.dispatch = ssrFormState;
10285      isMatching = mountStateImpl(!1);
10286      inRootOrSingleton = dispatchOptimisticSetState.bind(
10287        null,
10288        currentlyRenderingFiber,
10289        !1,
10290        isMatching.queue
10291      );
10292      isMatching = mountWorkInProgressHook();
10293      markerInstance = {
10294        state: initialStateProp,
10295        dispatch: null,
10296        action: action,
10297        pending: null
10298      };
10299      isMatching.queue = markerInstance;
10300      ssrFormState = dispatchActionState.bind(
10301        null,
10302        currentlyRenderingFiber,
10303        markerInstance,
10304        inRootOrSingleton,
10305        ssrFormState
10306      );
10307      markerInstance.dispatch = ssrFormState;
10308      isMatching.memoizedState = action;
10309      return [initialStateProp, ssrFormState, !1];
10310    }
10311    function updateActionState(action) {
10312      var stateHook = updateWorkInProgressHook();
10313      return updateActionStateImpl(stateHook, currentHook, action);
10314    }
10315    function updateActionStateImpl(stateHook, currentStateHook, action) {
10316      currentStateHook = updateReducerImpl(
10317        stateHook,
10318        currentStateHook,
10319        actionStateReducer
10320      )[0];
10321      stateHook = updateReducer(basicStateReducer)[0];
10322      if (
10323        "object" === typeof currentStateHook &&
10324        null !== currentStateHook &&
10325        "function" === typeof currentStateHook.then
10326      )
10327        try {
10328          var state = useThenable(currentStateHook);
10329        } catch (x) {
10330          if (x === SuspenseException) throw SuspenseActionException;
10331          throw x;
10332        }
10333      else state = currentStateHook;
10334      currentStateHook = updateWorkInProgressHook();
10335      var actionQueue = currentStateHook.queue,
10336        dispatch = actionQueue.dispatch;
10337      action !== currentStateHook.memoizedState &&
10338        ((currentlyRenderingFiber.flags |= 2048),
10339        pushSimpleEffect(
10340          HasEffect | Passive,
10341          createEffectInstance(),
10342          actionStateActionEffect.bind(null, actionQueue, action),
10343          null
10344        ));
10345      return [state, dispatch, stateHook];
10346    }
10347    function actionStateActionEffect(actionQueue, action) {
10348      actionQueue.action = action;
10349    }
10350    function rerenderActionState(action) {
10351      var stateHook = updateWorkInProgressHook(),
10352        currentStateHook = currentHook;
10353      if (null !== currentStateHook)
10354        return updateActionStateImpl(stateHook, currentStateHook, action);
10355      updateWorkInProgressHook();
10356      stateHook = stateHook.memoizedState;
10357      currentStateHook = updateWorkInProgressHook();
10358      var dispatch = currentStateHook.queue.dispatch;
10359      currentStateHook.memoizedState = action;
10360      return [stateHook, dispatch, !1];
10361    }
10362    function pushSimpleEffect(tag, inst, create, createDeps) {
10363      tag = {
10364        tag: tag,
10365        create: create,
10366        deps: createDeps,
10367        inst: inst,
10368        next: null
10369      };
10370      inst = currentlyRenderingFiber.updateQueue;
10371      null === inst &&
10372        ((inst = createFunctionComponentUpdateQueue()),
10373        (currentlyRenderingFiber.updateQueue = inst));
10374      create = inst.lastEffect;
10375      null === create
10376        ? (inst.lastEffect = tag.next = tag)
10377        : ((createDeps = create.next),
10378          (create.next = tag),
10379          (tag.next = createDeps),
10380          (inst.lastEffect = tag));
10381      return tag;
10382    }
10383    function createEffectInstance() {
10384      return { destroy: void 0, resource: void 0 };
10385    }
10386    function mountRef(initialValue) {
10387      var hook = mountWorkInProgressHook();
10388      initialValue = { current: initialValue };
10389      return (hook.memoizedState = initialValue);
10390    }
10391    function mountEffectImpl(fiberFlags, hookFlags, create, createDeps) {
10392      var hook = mountWorkInProgressHook();
10393      createDeps = void 0 === createDeps ? null : createDeps;
10394      currentlyRenderingFiber.flags |= fiberFlags;
10395      hook.memoizedState = pushSimpleEffect(
10396        HasEffect | hookFlags,
10397        createEffectInstance(),
10398        create,
10399        createDeps
10400      );
10401    }
10402    function updateEffectImpl(fiberFlags, hookFlags, create, deps) {
10403      var hook = updateWorkInProgressHook();
10404      deps = void 0 === deps ? null : deps;
10405      var inst = hook.memoizedState.inst;
10406      null !== currentHook &&
10407      null !== deps &&
10408      areHookInputsEqual(deps, currentHook.memoizedState.deps)
10409        ? (hook.memoizedState = pushSimpleEffect(hookFlags, inst, create, deps))
10410        : ((currentlyRenderingFiber.flags |= fiberFlags),
10411          (hook.memoizedState = pushSimpleEffect(
10412            HasEffect | hookFlags,
10413            inst,
10414            create,
10415            deps
10416          )));
10417    }
10418    function mountEffect(create, createDeps) {
10419      (currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode &&
10420      (currentlyRenderingFiber.mode & NoStrictPassiveEffectsMode) === NoMode
10421        ? mountEffectImpl(276826112, Passive, create, createDeps)
10422        : mountEffectImpl(8390656, Passive, create, createDeps);
10423    }
10424    function mountLayoutEffect(create, deps) {
10425      var fiberFlags = 4194308;
10426      (currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode &&
10427        (fiberFlags |= 134217728);
10428      return mountEffectImpl(fiberFlags, Layout, create, deps);
10429    }
10430    function imperativeHandleEffect(create, ref) {
10431      if ("function" === typeof ref) {
10432        create = create();
10433        var refCleanup = ref(create);
10434        return function () {
10435          "function" === typeof refCleanup ? refCleanup() : ref(null);
10436        };
10437      }
10438      if (null !== ref && void 0 !== ref)
10439        return (
10440          ref.hasOwnProperty("current") ||
10441            console.error(
10442              "Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.",
10443              "an object with keys {" + Object.keys(ref).join(", ") + "}"
10444            ),
10445          (create = create()),
10446          (ref.current = create),
10447          function () {
10448            ref.current = null;
10449          }
10450        );
10451    }
10452    function mountImperativeHandle(ref, create, deps) {
10453      "function" !== typeof create &&
10454        console.error(
10455          "Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",
10456          null !== create ? typeof create : "null"
10457        );
10458      deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;
10459      var fiberFlags = 4194308;
10460      (currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode &&
10461        (fiberFlags |= 134217728);
10462      mountEffectImpl(
10463        fiberFlags,
10464        Layout,
10465        imperativeHandleEffect.bind(null, create, ref),
10466        deps
10467      );
10468    }
10469    function updateImperativeHandle(ref, create, deps) {
10470      "function" !== typeof create &&
10471        console.error(
10472          "Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",
10473          null !== create ? typeof create : "null"
10474        );
10475      deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;
10476      updateEffectImpl(
10477        4,
10478        Layout,
10479        imperativeHandleEffect.bind(null, create, ref),
10480        deps
10481      );
10482    }
10483    function mountCallback(callback, deps) {
10484      mountWorkInProgressHook().memoizedState = [
10485        callback,
10486        void 0 === deps ? null : deps
10487      ];
10488      return callback;
10489    }
10490    function updateCallback(callback, deps) {
10491      var hook = updateWorkInProgressHook();
10492      deps = void 0 === deps ? null : deps;
10493      var prevState = hook.memoizedState;
10494      if (null !== deps && areHookInputsEqual(deps, prevState[1]))
10495        return prevState[0];
10496      hook.memoizedState = [callback, deps];
10497      return callback;
10498    }
10499    function mountMemo(nextCreate, deps) {
10500      var hook = mountWorkInProgressHook();
10501      deps = void 0 === deps ? null : deps;
10502      var nextValue = nextCreate();
10503      if (shouldDoubleInvokeUserFnsInHooksDEV) {
10504        setIsStrictModeForDevtools(!0);
10505        try {
10506          nextCreate();
10507        } finally {
10508          setIsStrictModeForDevtools(!1);
10509        }
10510      }
10511      hook.memoizedState = [nextValue, deps];
10512      return nextValue;
10513    }
10514    function updateMemo(nextCreate, deps) {
10515      var hook = updateWorkInProgressHook();
10516      deps = void 0 === deps ? null : deps;
10517      var prevState = hook.memoizedState;
10518      if (null !== deps && areHookInputsEqual(deps, prevState[1]))
10519        return prevState[0];
10520      prevState = nextCreate();
10521      if (shouldDoubleInvokeUserFnsInHooksDEV) {
10522        setIsStrictModeForDevtools(!0);
10523        try {
10524          nextCreate();
10525        } finally {
10526          setIsStrictModeForDevtools(!1);
10527        }
10528      }
10529      hook.memoizedState = [prevState, deps];
10530      return prevState;
10531    }
10532    function mountDeferredValue(value, initialValue) {
10533      var hook = mountWorkInProgressHook();
10534      return mountDeferredValueImpl(hook, value, initialValue);
10535    }
10536    function updateDeferredValue(value, initialValue) {
10537      var hook = updateWorkInProgressHook();
10538      return updateDeferredValueImpl(
10539        hook,
10540        currentHook.memoizedState,
10541        value,
10542        initialValue
10543      );
10544    }
10545    function rerenderDeferredValue(value, initialValue) {
10546      var hook = updateWorkInProgressHook();
10547      return null === currentHook
10548        ? mountDeferredValueImpl(hook, value, initialValue)
10549        : updateDeferredValueImpl(
10550            hook,
10551            currentHook.memoizedState,
10552            value,
10553            initialValue
10554          );
10555    }
10556    function mountDeferredValueImpl(hook, value, initialValue) {
10557      if (void 0 === initialValue || 0 !== (renderLanes & 1073741824))
10558        return (hook.memoizedState = value);
10559      hook.memoizedState = initialValue;
10560      hook = requestDeferredLane();
10561      currentlyRenderingFiber.lanes |= hook;
10562      workInProgressRootSkippedLanes |= hook;
10563      return initialValue;
10564    }
10565    function updateDeferredValueImpl(hook, prevValue, value, initialValue) {
10566      if (objectIs(value, prevValue)) return value;
10567      if (null !== currentTreeHiddenStackCursor.current)
10568        return (
10569          (hook = mountDeferredValueImpl(hook, value, initialValue)),
10570          objectIs(hook, prevValue) || (didReceiveUpdate = !0),
10571          hook
10572        );
10573      if (0 === (renderLanes & 42))
10574        return (didReceiveUpdate = !0), (hook.memoizedState = value);
10575      hook = requestDeferredLane();
10576      currentlyRenderingFiber.lanes |= hook;
10577      workInProgressRootSkippedLanes |= hook;
10578      return prevValue;
10579    }
10580    function startTransition(
10581      fiber,
10582      queue,
10583      pendingState,
10584      finishedState,
10585      callback
10586    ) {
10587      var previousPriority = ReactDOMSharedInternals.p;
10588      ReactDOMSharedInternals.p =
10589        0 !== previousPriority && previousPriority < ContinuousEventPriority
10590          ? previousPriority
10591          : ContinuousEventPriority;
10592      var prevTransition = ReactSharedInternals.T,
10593        currentTransition = {};
10594      ReactSharedInternals.T = currentTransition;
10595      dispatchOptimisticSetState(fiber, !1, queue, pendingState);
10596      currentTransition._updatedFibers = new Set();
10597      try {
10598        var returnValue = callback(),
10599          onStartTransitionFinish = ReactSharedInternals.S;
10600        null !== onStartTransitionFinish &&
10601          onStartTransitionFinish(currentTransition, returnValue);
10602        if (
10603          null !== returnValue &&
10604          "object" === typeof returnValue &&
10605          "function" === typeof returnValue.then
10606        ) {
10607          var thenableForFinishedState = chainThenableValue(
10608            returnValue,
10609            finishedState
10610          );
10611          dispatchSetStateInternal(
10612            fiber,
10613            queue,
10614            thenableForFinishedState,
10615            requestUpdateLane(fiber)
10616          );
10617        } else
10618          dispatchSetStateInternal(
10619            fiber,
10620            queue,
10621            finishedState,
10622            requestUpdateLane(fiber)
10623          );
10624      } catch (error) {
10625        dispatchSetStateInternal(
10626          fiber,
10627          queue,
10628          { then: function () {}, status: "rejected", reason: error },
10629          requestUpdateLane(fiber)
10630        );
10631      } finally {
10632        (ReactDOMSharedInternals.p = previousPriority),
10633          (ReactSharedInternals.T = prevTransition),
10634          null === prevTransition &&
10635            currentTransition._updatedFibers &&
10636            ((fiber = currentTransition._updatedFibers.size),
10637            currentTransition._updatedFibers.clear(),
10638            10 < fiber &&
10639              console.warn(
10640                "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
10641              ));
10642      }
10643    }
10644    function startHostTransition(formFiber, pendingState, action, formData) {
10645      if (5 !== formFiber.tag)
10646        throw Error(
10647          "Expected the form instance to be a HostComponent. This is a bug in React."
10648        );
10649      var queue = ensureFormComponentIsStateful(formFiber).queue;
10650      startTransition(
10651        formFiber,
10652        queue,
10653        pendingState,
10654        NotPendingTransition,
10655        null === action
10656          ? noop$2
10657          : function () {
10658              requestFormReset$1(formFiber);
10659              return action(formData);
10660            }
10661      );
10662    }
10663    function ensureFormComponentIsStateful(formFiber) {
10664      var existingStateHook = formFiber.memoizedState;
10665      if (null !== existingStateHook) return existingStateHook;
10666      existingStateHook = {
10667        memoizedState: NotPendingTransition,
10668        baseState: NotPendingTransition,
10669        baseQueue: null,
10670        queue: {
10671          pending: null,
10672          lanes: 0,
10673          dispatch: null,
10674          lastRenderedReducer: basicStateReducer,
10675          lastRenderedState: NotPendingTransition
10676        },
10677        next: null
10678      };
10679      var initialResetState = {};
10680      existingStateHook.next = {
10681        memoizedState: initialResetState,
10682        baseState: initialResetState,
10683        baseQueue: null,
10684        queue: {
10685          pending: null,
10686          lanes: 0,
10687          dispatch: null,
10688          lastRenderedReducer: basicStateReducer,
10689          lastRenderedState: initialResetState
10690        },
10691        next: null
10692      };
10693      formFiber.memoizedState = existingStateHook;
10694      formFiber = formFiber.alternate;
10695      null !== formFiber && (formFiber.memoizedState = existingStateHook);
10696      return existingStateHook;
10697    }
10698    function requestFormReset$1(formFiber) {
10699      null === ReactSharedInternals.T &&
10700        console.error(
10701          "requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition."
10702        );
10703      var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue;
10704      dispatchSetStateInternal(
10705        formFiber,
10706        resetStateQueue,
10707        {},
10708        requestUpdateLane(formFiber)
10709      );
10710    }
10711    function mountTransition() {
10712      var stateHook = mountStateImpl(!1);
10713      stateHook = startTransition.bind(
10714        null,
10715        currentlyRenderingFiber,
10716        stateHook.queue,
10717        !0,
10718        !1
10719      );
10720      mountWorkInProgressHook().memoizedState = stateHook;
10721      return [!1, stateHook];
10722    }
10723    function updateTransition() {
10724      var booleanOrThenable = updateReducer(basicStateReducer)[0],
10725        start = updateWorkInProgressHook().memoizedState;
10726      return [
10727        "boolean" === typeof booleanOrThenable
10728          ? booleanOrThenable
10729          : useThenable(booleanOrThenable),
10730        start
10731      ];
10732    }
10733    function rerenderTransition() {
10734      var booleanOrThenable = rerenderReducer(basicStateReducer)[0],
10735        start = updateWorkInProgressHook().memoizedState;
10736      return [
10737        "boolean" === typeof booleanOrThenable
10738          ? booleanOrThenable
10739          : useThenable(booleanOrThenable),
10740        start
10741      ];
10742    }
10743    function useHostTransitionStatus() {
10744      return readContext(HostTransitionContext);
10745    }
10746    function mountId() {
10747      var hook = mountWorkInProgressHook(),
10748        identifierPrefix = workInProgressRoot.identifierPrefix;
10749      if (isHydrating) {
10750        var treeId = treeContextOverflow;
10751        var idWithLeadingBit = treeContextId;
10752        treeId =
10753          (
10754            idWithLeadingBit & ~(1 << (32 - clz32(idWithLeadingBit) - 1))
10755          ).toString(32) + treeId;
10756        identifierPrefix = "\u00ab" + identifierPrefix + "R" + treeId;
10757        treeId = localIdCounter++;
10758        0 < treeId && (identifierPrefix += "H" + treeId.toString(32));
10759        identifierPrefix += "\u00bb";
10760      } else
10761        (treeId = globalClientIdCounter++),
10762          (identifierPrefix =
10763            "\u00ab" + identifierPrefix + "r" + treeId.toString(32) + "\u00bb");
10764      return (hook.memoizedState = identifierPrefix);
10765    }
10766    function mountRefresh() {
10767      return (mountWorkInProgressHook().memoizedState = refreshCache.bind(
10768        null,
10769        currentlyRenderingFiber
10770      ));
10771    }
10772    function refreshCache(fiber, seedKey) {
10773      for (var provider = fiber.return; null !== provider; ) {
10774        switch (provider.tag) {
10775          case 24:
10776          case 3:
10777            var lane = requestUpdateLane(provider);
10778            fiber = createUpdate(lane);
10779            var root = enqueueUpdate(provider, fiber, lane);
10780            null !== root &&
10781              (scheduleUpdateOnFiber(root, provider, lane),
10782              entangleTransitions(root, provider, lane));
10783            provider = createCache();
10784            null !== seedKey &&
10785              void 0 !== seedKey &&
10786              null !== root &&
10787              console.error(
10788                "The seed argument is not enabled outside experimental channels."
10789              );
10790            fiber.payload = { cache: provider };
10791            return;
10792        }
10793        provider = provider.return;
10794      }
10795    }
10796    function dispatchReducerAction(fiber, queue, action) {
10797      var args = arguments;
10798      "function" === typeof args[3] &&
10799        console.error(
10800          "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
10801        );
10802      args = requestUpdateLane(fiber);
10803      var update = {
10804        lane: args,
10805        revertLane: 0,
10806        action: action,
10807        hasEagerState: !1,
10808        eagerState: null,
10809        next: null
10810      };
10811      isRenderPhaseUpdate(fiber)
10812        ? enqueueRenderPhaseUpdate(queue, update)
10813        : ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),
10814          null !== update &&
10815            (scheduleUpdateOnFiber(update, fiber, args),
10816            entangleTransitionUpdate(update, queue, args)));
10817      markStateUpdateScheduled(fiber, args);
10818    }
10819    function dispatchSetState(fiber, queue, action) {
10820      var args = arguments;
10821      "function" === typeof args[3] &&
10822        console.error(
10823          "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
10824        );
10825      args = requestUpdateLane(fiber);
10826      dispatchSetStateInternal(fiber, queue, action, args);
10827      markStateUpdateScheduled(fiber, args);
10828    }
10829    function dispatchSetStateInternal(fiber, queue, action, lane) {
10830      var update = {
10831        lane: lane,
10832        revertLane: 0,
10833        action: action,
10834        hasEagerState: !1,
10835        eagerState: null,
10836        next: null
10837      };
10838      if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update);
10839      else {
10840        var alternate = fiber.alternate;
10841        if (
10842          0 === fiber.lanes &&
10843          (null === alternate || 0 === alternate.lanes) &&
10844          ((alternate = queue.lastRenderedReducer), null !== alternate)
10845        ) {
10846          var prevDispatcher = ReactSharedInternals.H;
10847          ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
10848          try {
10849            var currentState = queue.lastRenderedState,
10850              eagerState = alternate(currentState, action);
10851            update.hasEagerState = !0;
10852            update.eagerState = eagerState;
10853            if (objectIs(eagerState, currentState))
10854              return (
10855                enqueueUpdate$1(fiber, queue, update, 0),
10856                null === workInProgressRoot &&
10857                  finishQueueingConcurrentUpdates(),
10858                !1
10859              );
10860          } catch (error) {
10861          } finally {
10862            ReactSharedInternals.H = prevDispatcher;
10863          }
10864        }
10865        action = enqueueConcurrentHookUpdate(fiber, queue, update, lane);
10866        if (null !== action)
10867          return (
10868            scheduleUpdateOnFiber(action, fiber, lane),
10869            entangleTransitionUpdate(action, queue, lane),
10870            !0
10871          );
10872      }
10873      return !1;
10874    }
10875    function dispatchOptimisticSetState(
10876      fiber,
10877      throwIfDuringRender,
10878      queue,
10879      action
10880    ) {
10881      null === ReactSharedInternals.T &&
10882        0 === currentEntangledLane &&
10883        console.error(
10884          "An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."
10885        );
10886      action = {
10887        lane: 2,
10888        revertLane: requestTransitionLane(),
10889        action: action,
10890        hasEagerState: !1,
10891        eagerState: null,
10892        next: null
10893      };
10894      if (isRenderPhaseUpdate(fiber)) {
10895        if (throwIfDuringRender)
10896          throw Error("Cannot update optimistic state while rendering.");
10897        console.error("Cannot call startTransition while rendering.");
10898      } else
10899        (throwIfDuringRender = enqueueConcurrentHookUpdate(
10900          fiber,
10901          queue,
10902          action,
10903          2
10904        )),
10905          null !== throwIfDuringRender &&
10906            scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2);
10907      markStateUpdateScheduled(fiber, 2);
10908    }
10909    function isRenderPhaseUpdate(fiber) {
10910      var alternate = fiber.alternate;
10911      return (
10912        fiber === currentlyRenderingFiber ||
10913        (null !== alternate && alternate === currentlyRenderingFiber)
10914      );
10915    }
10916    function enqueueRenderPhaseUpdate(queue, update) {
10917      didScheduleRenderPhaseUpdateDuringThisPass =
10918        didScheduleRenderPhaseUpdate = !0;
10919      var pending = queue.pending;
10920      null === pending
10921        ? (update.next = update)
10922        : ((update.next = pending.next), (pending.next = update));
10923      queue.pending = update;
10924    }
10925    function entangleTransitionUpdate(root, queue, lane) {
10926      if (0 !== (lane & 4194048)) {
10927        var queueLanes = queue.lanes;
10928        queueLanes &= root.pendingLanes;
10929        lane |= queueLanes;
10930        queue.lanes = lane;
10931        markRootEntangled(root, lane);
10932      }
10933    }
10934    function pushDebugInfo(debugInfo) {
10935      var previousDebugInfo = currentDebugInfo;
10936      null != debugInfo &&
10937        (currentDebugInfo =
10938          null === previousDebugInfo
10939            ? debugInfo
10940            : previousDebugInfo.concat(debugInfo));
10941      return previousDebugInfo;
10942    }
10943    function validateFragmentProps(element, fiber, returnFiber) {
10944      for (var keys = Object.keys(element.props), i = 0; i < keys.length; i++) {
10945        var key = keys[i];
10946        if ("children" !== key && "key" !== key) {
10947          null === fiber &&
10948            ((fiber = createFiberFromElement(element, returnFiber.mode, 0)),
10949            (fiber._debugInfo = currentDebugInfo),
10950            (fiber.return = returnFiber));
10951          runWithFiberInDEV(
10952            fiber,
10953            function (erroredKey) {
10954              console.error(
10955                "Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
10956                erroredKey
10957              );
10958            },
10959            key
10960          );
10961          break;
10962        }
10963      }
10964    }
10965    function unwrapThenable(thenable) {
10966      var index = thenableIndexCounter;
10967      thenableIndexCounter += 1;
10968      null === thenableState && (thenableState = createThenableState());
10969      return trackUsedThenable(thenableState, thenable, index);
10970    }
10971    function coerceRef(workInProgress, element) {
10972      element = element.props.ref;
10973      workInProgress.ref = void 0 !== element ? element : null;
10974    }
10975    function throwOnInvalidObjectType(returnFiber, newChild) {
10976      if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE)
10977        throw Error(
10978          'A React Element from an older version of React was rendered. This is not supported. It can happen if:\n- Multiple copies of the "react" package is used.\n- A library pre-bundled an old copy of "react" or "react/jsx-runtime".\n- A compiler tries to "inline" JSX instead of using the runtime.'
10979        );
10980      returnFiber = Object.prototype.toString.call(newChild);
10981      throw Error(
10982        "Objects are not valid as a React child (found: " +
10983          ("[object Object]" === returnFiber
10984            ? "object with keys {" + Object.keys(newChild).join(", ") + "}"
10985            : returnFiber) +
10986          "). If you meant to render a collection of children, use an array instead."
10987      );
10988    }
10989    function warnOnFunctionType(returnFiber, invalidChild) {
10990      var parentName = getComponentNameFromFiber(returnFiber) || "Component";
10991      ownerHasFunctionTypeWarning[parentName] ||
10992        ((ownerHasFunctionTypeWarning[parentName] = !0),
10993        (invalidChild =
10994          invalidChild.displayName || invalidChild.name || "Component"),
10995        3 === returnFiber.tag
10996          ? console.error(
10997              "Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n  root.render(%s)",
10998              invalidChild,
10999              invalidChild,
11000              invalidChild
11001            )
11002          : console.error(
11003              "Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n  <%s>{%s}</%s>",
11004              invalidChild,
11005              invalidChild,
11006              parentName,
11007              invalidChild,
11008              parentName
11009            ));
11010    }
11011    function warnOnSymbolType(returnFiber, invalidChild) {
11012      var parentName = getComponentNameFromFiber(returnFiber) || "Component";
11013      ownerHasSymbolTypeWarning[parentName] ||
11014        ((ownerHasSymbolTypeWarning[parentName] = !0),
11015        (invalidChild = String(invalidChild)),
11016        3 === returnFiber.tag
11017          ? console.error(
11018              "Symbols are not valid as a React child.\n  root.render(%s)",
11019              invalidChild
11020            )
11021          : console.error(
11022              "Symbols are not valid as a React child.\n  <%s>%s</%s>",
11023              parentName,
11024              invalidChild,
11025              parentName
11026            ));
11027    }
11028    function createChildReconciler(shouldTrackSideEffects) {
11029      function deleteChild(returnFiber, childToDelete) {
11030        if (shouldTrackSideEffects) {
11031          var deletions = returnFiber.deletions;
11032          null === deletions
11033            ? ((returnFiber.deletions = [childToDelete]),
11034              (returnFiber.flags |= 16))
11035            : deletions.push(childToDelete);
11036        }
11037      }
11038      function deleteRemainingChildren(returnFiber, currentFirstChild) {
11039        if (!shouldTrackSideEffects) return null;
11040        for (; null !== currentFirstChild; )
11041          deleteChild(returnFiber, currentFirstChild),
11042            (currentFirstChild = currentFirstChild.sibling);
11043        return null;
11044      }
11045      function mapRemainingChildren(currentFirstChild) {
11046        for (var existingChildren = new Map(); null !== currentFirstChild; )
11047          null !== currentFirstChild.key
11048            ? existingChildren.set(currentFirstChild.key, currentFirstChild)
11049            : existingChildren.set(currentFirstChild.index, currentFirstChild),
11050            (currentFirstChild = currentFirstChild.sibling);
11051        return existingChildren;
11052      }
11053      function useFiber(fiber, pendingProps) {
11054        fiber = createWorkInProgress(fiber, pendingProps);
11055        fiber.index = 0;
11056        fiber.sibling = null;
11057        return fiber;
11058      }
11059      function placeChild(newFiber, lastPlacedIndex, newIndex) {
11060        newFiber.index = newIndex;
11061        if (!shouldTrackSideEffects)
11062          return (newFiber.flags |= 1048576), lastPlacedIndex;
11063        newIndex = newFiber.alternate;
11064        if (null !== newIndex)
11065          return (
11066            (newIndex = newIndex.index),
11067            newIndex < lastPlacedIndex
11068              ? ((newFiber.flags |= 67108866), lastPlacedIndex)
11069              : newIndex
11070          );
11071        newFiber.flags |= 67108866;
11072        return lastPlacedIndex;
11073      }
11074      function placeSingleChild(newFiber) {
11075        shouldTrackSideEffects &&
11076          null === newFiber.alternate &&
11077          (newFiber.flags |= 67108866);
11078        return newFiber;
11079      }
11080      function updateTextNode(returnFiber, current, textContent, lanes) {
11081        if (null === current || 6 !== current.tag)
11082          return (
11083            (current = createFiberFromText(
11084              textContent,
11085              returnFiber.mode,
11086              lanes
11087            )),
11088            (current.return = returnFiber),
11089            (current._debugOwner = returnFiber),
11090            (current._debugTask = returnFiber._debugTask),
11091            (current._debugInfo = currentDebugInfo),
11092            current
11093          );
11094        current = useFiber(current, textContent);
11095        current.return = returnFiber;
11096        current._debugInfo = currentDebugInfo;
11097        return current;
11098      }
11099      function updateElement(returnFiber, current, element, lanes) {
11100        var elementType = element.type;
11101        if (elementType === REACT_FRAGMENT_TYPE)
11102          return (
11103            (current = updateFragment(
11104              returnFiber,
11105              current,
11106              element.props.children,
11107              lanes,
11108              element.key
11109            )),
11110            validateFragmentProps(element, current, returnFiber),
11111            current
11112          );
11113        if (
11114          null !== current &&
11115          (current.elementType === elementType ||
11116            isCompatibleFamilyForHotReloading(current, element) ||
11117            ("object" === typeof elementType &&
11118              null !== elementType &&
11119              elementType.$$typeof === REACT_LAZY_TYPE &&
11120              callLazyInitInDEV(elementType) === current.type))
11121        )
11122          return (
11123            (current = useFiber(current, element.props)),
11124            coerceRef(current, element),
11125            (current.return = returnFiber),
11126            (current._debugOwner = element._owner),
11127            (current._debugInfo = currentDebugInfo),
11128            current
11129          );
11130        current = createFiberFromElement(element, returnFiber.mode, lanes);
11131        coerceRef(current, element);
11132        current.return = returnFiber;
11133        current._debugInfo = currentDebugInfo;
11134        return current;
11135      }
11136      function updatePortal(returnFiber, current, portal, lanes) {
11137        if (
11138          null === current ||
11139          4 !== current.tag ||
11140          current.stateNode.containerInfo !== portal.containerInfo ||
11141          current.stateNode.implementation !== portal.implementation
11142        )
11143          return (
11144            (current = createFiberFromPortal(portal, returnFiber.mode, lanes)),
11145            (current.return = returnFiber),
11146            (current._debugInfo = currentDebugInfo),
11147            current
11148          );
11149        current = useFiber(current, portal.children || []);
11150        current.return = returnFiber;
11151        current._debugInfo = currentDebugInfo;
11152        return current;
11153      }
11154      function updateFragment(returnFiber, current, fragment, lanes, key) {
11155        if (null === current || 7 !== current.tag)
11156          return (
11157            (current = createFiberFromFragment(
11158              fragment,
11159              returnFiber.mode,
11160              lanes,
11161              key
11162            )),
11163            (current.return = returnFiber),
11164            (current._debugOwner = returnFiber),
11165            (current._debugTask = returnFiber._debugTask),
11166            (current._debugInfo = currentDebugInfo),
11167            current
11168          );
11169        current = useFiber(current, fragment);
11170        current.return = returnFiber;
11171        current._debugInfo = currentDebugInfo;
11172        return current;
11173      }
11174      function createChild(returnFiber, newChild, lanes) {
11175        if (
11176          ("string" === typeof newChild && "" !== newChild) ||
11177          "number" === typeof newChild ||
11178          "bigint" === typeof newChild
11179        )
11180          return (
11181            (newChild = createFiberFromText(
11182              "" + newChild,
11183              returnFiber.mode,
11184              lanes
11185            )),
11186            (newChild.return = returnFiber),
11187            (newChild._debugOwner = returnFiber),
11188            (newChild._debugTask = returnFiber._debugTask),
11189            (newChild._debugInfo = currentDebugInfo),
11190            newChild
11191          );
11192        if ("object" === typeof newChild && null !== newChild) {
11193          switch (newChild.$$typeof) {
11194            case REACT_ELEMENT_TYPE:
11195              return (
11196                (lanes = createFiberFromElement(
11197                  newChild,
11198                  returnFiber.mode,
11199                  lanes
11200                )),
11201                coerceRef(lanes, newChild),
11202                (lanes.return = returnFiber),
11203                (returnFiber = pushDebugInfo(newChild._debugInfo)),
11204                (lanes._debugInfo = currentDebugInfo),
11205                (currentDebugInfo = returnFiber),
11206                lanes
11207              );
11208            case REACT_PORTAL_TYPE:
11209              return (
11210                (newChild = createFiberFromPortal(
11211                  newChild,
11212                  returnFiber.mode,
11213                  lanes
11214                )),
11215                (newChild.return = returnFiber),
11216                (newChild._debugInfo = currentDebugInfo),
11217                newChild
11218              );
11219            case REACT_LAZY_TYPE:
11220              var _prevDebugInfo = pushDebugInfo(newChild._debugInfo);
11221              newChild = callLazyInitInDEV(newChild);
11222              returnFiber = createChild(returnFiber, newChild, lanes);
11223              currentDebugInfo = _prevDebugInfo;
11224              return returnFiber;
11225          }
11226          if (isArrayImpl(newChild) || getIteratorFn(newChild))
11227            return (
11228              (lanes = createFiberFromFragment(
11229                newChild,
11230                returnFiber.mode,
11231                lanes,
11232                null
11233              )),
11234              (lanes.return = returnFiber),
11235              (lanes._debugOwner = returnFiber),
11236              (lanes._debugTask = returnFiber._debugTask),
11237              (returnFiber = pushDebugInfo(newChild._debugInfo)),
11238              (lanes._debugInfo = currentDebugInfo),
11239              (currentDebugInfo = returnFiber),
11240              lanes
11241            );
11242          if ("function" === typeof newChild.then)
11243            return (
11244              (_prevDebugInfo = pushDebugInfo(newChild._debugInfo)),
11245              (returnFiber = createChild(
11246                returnFiber,
11247                unwrapThenable(newChild),
11248                lanes
11249              )),
11250              (currentDebugInfo = _prevDebugInfo),
11251              returnFiber
11252            );
11253          if (newChild.$$typeof === REACT_CONTEXT_TYPE)
11254            return createChild(
11255              returnFiber,
11256              readContextDuringReconciliation(returnFiber, newChild),
11257              lanes
11258            );
11259          throwOnInvalidObjectType(returnFiber, newChild);
11260        }
11261        "function" === typeof newChild &&
11262          warnOnFunctionType(returnFiber, newChild);
11263        "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild);
11264        return null;
11265      }
11266      function updateSlot(returnFiber, oldFiber, newChild, lanes) {
11267        var key = null !== oldFiber ? oldFiber.key : null;
11268        if (
11269          ("string" === typeof newChild && "" !== newChild) ||
11270          "number" === typeof newChild ||
11271          "bigint" === typeof newChild
11272        )
11273          return null !== key
11274            ? null
11275            : updateTextNode(returnFiber, oldFiber, "" + newChild, lanes);
11276        if ("object" === typeof newChild && null !== newChild) {
11277          switch (newChild.$$typeof) {
11278            case REACT_ELEMENT_TYPE:
11279              return newChild.key === key
11280                ? ((key = pushDebugInfo(newChild._debugInfo)),
11281                  (returnFiber = updateElement(
11282                    returnFiber,
11283                    oldFiber,
11284                    newChild,
11285                    lanes
11286                  )),
11287                  (currentDebugInfo = key),
11288                  returnFiber)
11289                : null;
11290            case REACT_PORTAL_TYPE:
11291              return newChild.key === key
11292                ? updatePortal(returnFiber, oldFiber, newChild, lanes)
11293                : null;
11294            case REACT_LAZY_TYPE:
11295              return (
11296                (key = pushDebugInfo(newChild._debugInfo)),
11297                (newChild = callLazyInitInDEV(newChild)),
11298                (returnFiber = updateSlot(
11299                  returnFiber,
11300                  oldFiber,
11301                  newChild,
11302                  lanes
11303                )),
11304                (currentDebugInfo = key),
11305                returnFiber
11306              );
11307          }
11308          if (isArrayImpl(newChild) || getIteratorFn(newChild)) {
11309            if (null !== key) return null;
11310            key = pushDebugInfo(newChild._debugInfo);
11311            returnFiber = updateFragment(
11312              returnFiber,
11313              oldFiber,
11314              newChild,
11315              lanes,
11316              null
11317            );
11318            currentDebugInfo = key;
11319            return returnFiber;
11320          }
11321          if ("function" === typeof newChild.then)
11322            return (
11323              (key = pushDebugInfo(newChild._debugInfo)),
11324              (returnFiber = updateSlot(
11325                returnFiber,
11326                oldFiber,
11327                unwrapThenable(newChild),
11328                lanes
11329              )),
11330              (currentDebugInfo = key),
11331              returnFiber
11332            );
11333          if (newChild.$$typeof === REACT_CONTEXT_TYPE)
11334            return updateSlot(
11335              returnFiber,
11336              oldFiber,
11337              readContextDuringReconciliation(returnFiber, newChild),
11338              lanes
11339            );
11340          throwOnInvalidObjectType(returnFiber, newChild);
11341        }
11342        "function" === typeof newChild &&
11343          warnOnFunctionType(returnFiber, newChild);
11344        "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild);
11345        return null;
11346      }
11347      function updateFromMap(
11348        existingChildren,
11349        returnFiber,
11350        newIdx,
11351        newChild,
11352        lanes
11353      ) {
11354        if (
11355          ("string" === typeof newChild && "" !== newChild) ||
11356          "number" === typeof newChild ||
11357          "bigint" === typeof newChild
11358        )
11359          return (
11360            (existingChildren = existingChildren.get(newIdx) || null),
11361            updateTextNode(returnFiber, existingChildren, "" + newChild, lanes)
11362          );
11363        if ("object" === typeof newChild && null !== newChild) {
11364          switch (newChild.$$typeof) {
11365            case REACT_ELEMENT_TYPE:
11366              return (
11367                (newIdx =
11368                  existingChildren.get(
11369                    null === newChild.key ? newIdx : newChild.key
11370                  ) || null),
11371                (existingChildren = pushDebugInfo(newChild._debugInfo)),
11372                (returnFiber = updateElement(
11373                  returnFiber,
11374                  newIdx,
11375                  newChild,
11376                  lanes
11377                )),
11378                (currentDebugInfo = existingChildren),
11379                returnFiber
11380              );
11381            case REACT_PORTAL_TYPE:
11382              return (
11383                (existingChildren =
11384                  existingChildren.get(
11385                    null === newChild.key ? newIdx : newChild.key
11386                  ) || null),
11387                updatePortal(returnFiber, existingChildren, newChild, lanes)
11388              );
11389            case REACT_LAZY_TYPE:
11390              var _prevDebugInfo7 = pushDebugInfo(newChild._debugInfo);
11391              newChild = callLazyInitInDEV(newChild);
11392              returnFiber = updateFromMap(
11393                existingChildren,
11394                returnFiber,
11395                newIdx,
11396                newChild,
11397                lanes
11398              );
11399              currentDebugInfo = _prevDebugInfo7;
11400              return returnFiber;
11401          }
11402          if (isArrayImpl(newChild) || getIteratorFn(newChild))
11403            return (
11404              (newIdx = existingChildren.get(newIdx) || null),
11405              (existingChildren = pushDebugInfo(newChild._debugInfo)),
11406              (returnFiber = updateFragment(
11407                returnFiber,
11408                newIdx,
11409                newChild,
11410                lanes,
11411                null
11412              )),
11413              (currentDebugInfo = existingChildren),
11414              returnFiber
11415            );
11416          if ("function" === typeof newChild.then)
11417            return (
11418              (_prevDebugInfo7 = pushDebugInfo(newChild._debugInfo)),
11419              (returnFiber = updateFromMap(
11420                existingChildren,
11421                returnFiber,
11422                newIdx,
11423                unwrapThenable(newChild),
11424                lanes
11425              )),
11426              (currentDebugInfo = _prevDebugInfo7),
11427              returnFiber
11428            );
11429          if (newChild.$$typeof === REACT_CONTEXT_TYPE)
11430            return updateFromMap(
11431              existingChildren,
11432              returnFiber,
11433              newIdx,
11434              readContextDuringReconciliation(returnFiber, newChild),
11435              lanes
11436            );
11437          throwOnInvalidObjectType(returnFiber, newChild);
11438        }
11439        "function" === typeof newChild &&
11440          warnOnFunctionType(returnFiber, newChild);
11441        "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild);
11442        return null;
11443      }
11444      function warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys) {
11445        if ("object" !== typeof child || null === child) return knownKeys;
11446        switch (child.$$typeof) {
11447          case REACT_ELEMENT_TYPE:
11448          case REACT_PORTAL_TYPE:
11449            warnForMissingKey(returnFiber, workInProgress, child);
11450            var key = child.key;
11451            if ("string" !== typeof key) break;
11452            if (null === knownKeys) {
11453              knownKeys = new Set();
11454              knownKeys.add(key);
11455              break;
11456            }
11457            if (!knownKeys.has(key)) {
11458              knownKeys.add(key);
11459              break;
11460            }
11461            runWithFiberInDEV(workInProgress, function () {
11462              console.error(
11463                "Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/
11463or omitted \u2014 the behavior is unsupported and could change in a future version.",
11464                key
11465              );
11466            });
11467            break;
11468          case REACT_LAZY_TYPE:
11469            (child = callLazyInitInDEV(child)),
11470              warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys);
11471        }
11472        return knownKeys;
11473      }
11474      function reconcileChildrenArray(
11475        returnFiber,
11476        currentFirstChild,
11477        newChildren,
11478        lanes
11479      ) {
11480        for (
11481          var knownKeys = null,
11482            resultingFirstChild = null,
11483            previousNewFiber = null,
11484            oldFiber = currentFirstChild,
11485            newIdx = (currentFirstChild = 0),
11486            nextOldFiber = null;
11487          null !== oldFiber && newIdx < newChildren.length;
11488          newIdx++
11489        ) {
11490          oldFiber.index > newIdx
11491            ? ((nextOldFiber = oldFiber), (oldFiber = null))
11492            : (nextOldFiber = oldFiber.sibling);
11493          var newFiber = updateSlot(
11494            returnFiber,
11495            oldFiber,
11496            newChildren[newIdx],
11497            lanes
11498          );
11499          if (null === newFiber) {
11500            null === oldFiber && (oldFiber = nextOldFiber);
11501            break;
11502          }
11503          knownKeys = warnOnInvalidKey(
11504            returnFiber,
11505            newFiber,
11506            newChildren[newIdx],
11507            knownKeys
11508          );
11509          shouldTrackSideEffects &&
11510            oldFiber &&
11511            null === newFiber.alternate &&
11512            deleteChild(returnFiber, oldFiber);
11513          currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);
11514          null === previousNewFiber
11515            ? (resultingFirstChild = newFiber)
11516            : (previousNewFiber.sibling = newFiber);
11517          previousNewFiber = newFiber;
11518          oldFiber = nextOldFiber;
11519        }
11520        if (newIdx === newChildren.length)
11521          return (
11522            deleteRemainingChildren(returnFiber, oldFiber),
11523            isHydrating && pushTreeFork(returnFiber, newIdx),
11524            resultingFirstChild
11525          );
11526        if (null === oldFiber) {
11527          for (; newIdx < newChildren.length; newIdx++)
11528            (oldFiber = createChild(returnFiber, newChildren[newIdx], lanes)),
11529              null !== oldFiber &&
11530                ((knownKeys = warnOnInvalidKey(
11531                  returnFiber,
11532                  oldFiber,
11533                  newChildren[newIdx],
11534                  knownKeys
11535                )),
11536                (currentFirstChild = placeChild(
11537                  oldFiber,
11538                  currentFirstChild,
11539                  newIdx
11540                )),
11541                null === previousNewFiber
11542                  ? (resultingFirstChild = oldFiber)
11543                  : (previousNewFiber.sibling = oldFiber),
11544                (previousNewFiber = oldFiber));
11545          isHydrating && pushTreeFork(returnFiber, newIdx);
11546          return resultingFirstChild;
11547        }
11548        for (
11549          oldFiber = mapRemainingChildren(oldFiber);
11550          newIdx < newChildren.length;
11551          newIdx++
11552        )
11553          (nextOldFiber = updateFromMap(
11554            oldFiber,
11555            returnFiber,
11556            newIdx,
11557            newChildren[newIdx],
11558            lanes
11559          )),
11560            null !== nextOldFiber &&
11561              ((knownKeys = warnOnInvali
11561dKey(
11562                returnFiber,
11563                nextOldFiber,
11564                newChildren[newIdx],
11565                knownKeys
11566              )),
11567              shouldTrackSideEffects &&
11568                null !== nextOldFiber.alternate &&
11569                oldFiber.delete(
11570                  null === nextOldFiber.key ? newIdx : nextOldFiber.key
11571                ),
11572              (currentFirstChild = placeChild(
11573                nextOldFiber,
11574                currentFirstChild,
11575                newIdx
11576              )),
11577              null === previousNewFiber
11578                ? (resultingFirstChild = nextOldFiber)
11579                : (previousNewFiber.sibling = nextOldFiber),
11580              (previousNewFiber = nextOldFiber));
11581        shouldTrackSideEffects &&
11582          oldFiber.forEach(function (child) {
11583            return deleteChild(returnFiber, child);
11584          });
11585        isHydrating && pushTreeFork(returnFiber, newIdx);
11586        return resultingFirstChild;
11587      }
11588      function reconcileChildrenIterator(
11589        returnFiber,
11590        currentFirstChild,
11591        newChildren,
11592        lanes
11593      ) {
11594        if (null == newChildren)
11595          throw Error("An iterable object provided no iterator.");
11596        for (
11597          var resultingFirstChild = null,
11598            previousNewFiber = null,
11599            oldFiber = currentFirstChild,
11600            newIdx = (currentFirstChild = 0),
11601            nextOldFiber = null,
11602            knownKeys = null,
11603            step = newChildren.next();
11604          null !== oldFiber && !step.done;
11605          newIdx++, step = newChildren.next()
11606        ) {
11607          oldFiber.index > newIdx
11608            ? ((nextOldFiber = oldFiber), (oldFiber = null))
11609            : (nextOldFiber = oldFiber.sibling);
11610          var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes);
11611          if (null === newFiber) {
11612            null === oldFiber && (oldFiber = nextOldFiber);
11613            break;
11614          }
11615          knownKeys = warnOnInvalidKey(
11616            returnFiber,
11617            newFiber,
11618            step.value,
11619            knownKeys
11620          );
11621          shouldTrackSideEffects &&
11622            oldFiber &&
11623            null === newFiber.alternate &&
11624            deleteChild(returnFiber, oldFiber);
11625          currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);
11626          null === previousNewFiber
11627            ? (resultingFirstChild = newFiber)
11628            : (previousNewFiber.sibling = newFiber);
11629          previousNewFiber = newFiber;
11630          oldFiber = nextOldFiber;
11631        }
11632        if (step.done)
11633          return (
11634            deleteRemainingChildren(returnFiber, oldFiber),
11635            isHydrating && pushTreeFork(returnFiber, newIdx),
11636            resultingFirstChild
11637          );
11638        if (null === oldFiber) {
11639          for (; !step.done; newIdx++, step = newChildren.next())
11640            (oldFiber = createChild(returnFiber, step.value, lanes)),
11641              null !== oldFiber &&
11642                ((knownKeys = warnOnInvali
11642dKey(
11643                  returnFiber,
11644                  oldFiber,
11645                  step.value,
11646                  knownKeys
11647                )),
11648                (currentFirstChild = placeChild(
11649                  oldFiber,
11650                  currentFirstChild,
11651                  newIdx
11652                )),
11653                null === previousNewFiber
11654                  ? (resultingFirstChild = oldFiber)
11655                  : (previousNewFiber.sibling = oldFiber),
11656                (previousNewFiber = oldFiber));
11657          isHydrating && pushTreeFork(returnFiber, newIdx);
11658          return resultingFirstChild;
11659        }
11660        for (
11661          oldFiber = mapRemainingChildren(oldFiber);
11662          !step.done;
11663          newIdx++, step = newChildren.next()
11664        )
11665          (nextOldFiber = updateFromMap(
11666            oldFiber,
11667            returnFiber,
11668            newIdx,
11669            step.value,
11670            lanes
11671          )),
11672            null !== nextOldFiber &&
11673              ((knownKeys = warnOnInvalidKey(
11674                returnFiber,
11675                nextOldFiber,
11676                step.value,
11677                knownKeys
11678              )),
11679              shouldTrackSideEffects &&
11680                null !== nextOldFiber.alternate &&
11681                oldFiber.delete(
11682                  null === nextOldFiber.key ? newIdx : nextOldFiber.key
11683                ),
11684              (currentFirstChild = placeChild(
11685                nextOldFiber,
11686                currentFirstChild,
11687                newIdx
11688              )),
11689              null === previousNewFiber
11690                ? (resultingFirstChild = nextOldFiber)
11691                : (previousNewFiber.sibling = nextOldFiber),
11692              (previousNewFiber = nextOldFiber));
11693        shouldTrackSideEffects &&
11694          oldFiber.forEach(function (child) {
11695            return deleteChild(returnFiber, child);
11696          });
11697        isHydrating && pushTreeFork(returnFiber, newIdx);
11698        return resultingFirstChild;
11699      }
11700      function reconcileChildFibersImpl(
11701        returnFiber,
11702        currentFirstChild,
11703        newChild,
11704        lanes
11705      ) {
11706        "object" === typeof newChild &&
11707          null !== newChild &&
11708          newChild.type === REACT_FRAGMENT_TYPE &&
11709          null === newChild.key &&
11710          (validateFragmentProps(newChild, null, returnFiber),
11711          (newChild = newChild.props.children));
11712        if ("object" === typeof newChild && null !== newChild) {
11713          switch (newChild.$$typeof) {
11714            case REACT_ELEMENT_TYPE:
11715              var prevDebugInfo = pushDebugInfo(newChild._debugInfo);
11716              a: {
11717                for (var key = newChild.key; null !== currentFirstChild; ) {
11718                  if (currentFirstChild.key === key) {
11719                    key = newChild.type;
11720                    if (key === REACT_FRAGMENT_TYPE) {
11721                      if (7 === currentFirstChild.tag) {
11722                        deleteRemainingChildren(
11723                          returnFiber,
11724                          currentFirstChild.sibling
11725                        );
11726                        lanes = useFiber(
11727                          currentFirstChild,
11728                          newChild.props.children
11729                        );
11730                        lanes.return = returnFiber;
11731                        lanes._debugOwner = newChild._owner;
11732                        lanes._debugInfo = currentDebugInfo;
11733                        validateFragmentProps(newChild, lanes, returnFiber);
11734                        returnFiber = lanes;
11735                        break a;
11736                      }
11737                    } else if (
11738                      currentFirstChild.elementType === key ||
11739                      isCompatibleFamilyForHotReloading(
11740                        currentFirstChild,
11741                        newChild
11742                      ) ||
11743                      ("object" === typeof key &&
11744                        null !== key &&
11745                        key.$$typeof === REACT_LAZY_TYPE &&
11746                        callLazyInitInDEV(key) === currentFirstChild.type)
11747                    ) {
11748                      deleteRemainingChildren(
11749                        returnFiber,
11750                        currentFirstChild.sibling
11751                      );
11752                      lanes = useFiber(currentFirstChild, newChild.props);
11753                      coerceRef(lanes, newChild);
11754                      lanes.return = returnFiber;
11755                      lanes._debugOwner = newChild._owner;
11756                      lanes._debugInfo = currentDebugInfo;
11757                      returnFiber = lanes;
11758                      break a;
11759                    }
11760                    deleteRemainingChildren(returnFiber, currentFirstChild);
11761                    break;
11762                  } else deleteChild(returnFiber, currentFirstChild);
11763                  currentFirstChild = currentFirstChild.sibling;
11764                }
11765                newChild.type === REACT_FRAGMENT_TYPE
11766                  ? ((lanes = createFiberFromFragment(
11767                      newChild.props.children,
11768                      returnFiber.mode,
11769                      lanes,
11770                      newChild.key
11771                    )),
11772                    (lanes.return = returnFiber),
11773                    (lanes._debugOwner = returnFiber),
11774                    (lanes._debugTask = returnFiber._debugTask),
11775                    (lanes._debugInfo = currentDebugInfo),
11776                    validateFragmentProps(newChild, lanes, returnFiber),
11777                    (returnFiber = lanes))
11778                  : ((lanes = createFiberFromElement(
11779                      newChild,
11780                      returnFiber.mode,
11781                      lanes
11782                    )),
11783                    coerceRef(lanes, newChild),
11784                    (lanes.return = returnFiber),
11785                    (lanes._debugInfo = currentDebugInfo),
11786                    (returnFiber = lanes));
11787              }
11788              returnFiber = placeSingleChild(returnFiber);
11789              currentDebugInfo = prevDebugInfo;
11790              return returnFiber;
11791            case REACT_PORTAL_TYPE:
11792              a: {
11793                prevDebugInfo = newChild;
11794                for (
11795                  newChild = prevDebugInfo.key;
11796                  null !== currentFirstChild;
11797
11798                ) {
11799                  if (currentFirstChild.key === newChild)
11800                    if (
11801                      4 === currentFirstChild.tag &&
11802                      currentFirstChild.stateNode.containerInfo ===
11803                        prevDebugInfo.containerInfo &&
11804                      currentFirstChild.stateNode.implementation ===
11805                        prevDebugInfo.implementation
11806                    ) {
11807                      deleteRemainingChildren(
11808                        returnFiber,
11809                        currentFirstChild.sibling
11810                      );
11811                      lanes = useFiber(
11812                        currentFirstChild,
11813                        prevDebugInfo.children || []
11814                      );
11815                      lanes.return = returnFiber;
11816                      returnFiber = lanes;
11817                      break a;
11818                    } else {
11819                      deleteRemainingChildren(returnFiber, currentFirstChild);
11820                      break;
11821                    }
11822                  else deleteChild(returnFiber, currentFirstChild);
11823                  currentFirstChild = currentFirstChild.sibling;
11824                }
11825                lanes = createFiberFromPortal(
11826                  prevDebugInfo,
11827                  returnFiber.mode,
11828                  lanes
11829                );
11830                lanes.return = returnFiber;
11831                returnFiber = lanes;
11832              }
11833              return placeSingleChild(returnFiber);
11834            case REACT_LAZY_TYPE:
11835              return (
11836                (prevDebugInfo = pushDebugInfo(newChild._debugInfo)),
11837                (newChild = callLazyInitInDEV(newChild)),
11838                (returnFiber = reconcileChildFibersImpl(
11839                  returnFiber,
11840                  currentFirstChild,
11841                  newChild,
11842                  lanes
11843                )),
11844                (currentDebugInfo = prevDebugInfo),
11845                returnFiber
11846              );
11847          }
11848          if (isArrayImpl(newChild))
11849            return (
11850              (prevDebugInfo = pushDebugInfo(newChild._debugInfo)),
11851              (returnFiber = reconcileChildrenArray(
11852                returnFiber,
11853                currentFirstChild,
11854                newChild,
11855                lanes
11856              )),
11857              (currentDebugInfo = prevDebugInfo),
11858              returnFiber
11859            );
11860          if (getIteratorFn(newChild)) {
11861            prevDebugInfo = pushDebugInfo(newChild._debugInfo);
11862            key = getIteratorFn(newChild);
11863            if ("function" !== typeof key)
11864              throw Error(
11865                "An object is not an iterable. This error is likely caused by a bug in React. Please file an issue."
11866              );
11867            var newChildren = key.call(newChild);
11868            if (newChildren === newChild) {
11869              if (
11870                0 !== returnFiber.tag ||
11871                "[object GeneratorFunction]" !==
11872                  Object.prototype.toString.call(returnFiber.type) ||
11873                "[object Generator]" !==
11874                  Object.prototype.toString.call(newChildren)
11875              )
11876                didWarnAboutGenerators ||
11877                  console.error(
11878                    "Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."
11879                  ),
11880                  (didWarnAboutGenerators = !0);
11881            } else
11882              newChild.entries !== key ||
11883                didWarnAboutMaps ||
11884                (console.error(
11885                  "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
11886                ),
11887                (didWarnAboutMaps = !0));
11888            returnFiber = reconcileChildrenIterator(
11889              returnFiber,
11890              currentFirstChild,
11891              newChildren,
11892              lanes
11893            );
11894            currentDebugInfo = prevDebugInfo;
11895            return returnFiber;
11896          }
11897          if ("function" === typeof newChild.then)
11898            return (
11899              (prevDebugInfo = pushDebugInfo(newChild._debugInfo)),
11900              (returnFiber = reconcileChildFibersImpl(
11901                returnFiber,
11902                currentFirstChild,
11903                unwrapThenable(newChild),
11904                lanes
11905              )),
11906              (currentDebugInfo = prevDebugInfo),
11907              returnFiber
11908            );
11909          if (newChild.$$typeof === REACT_CONTEXT_TYPE)
11910            return reconcileChildFibersImpl(
11911              returnFiber,
11912              currentFirstChild,
11913              readContextDuringReconciliation(returnFiber, newChild),
11914              lanes
11915            );
11916          throwOnInvalidObjectType(returnFiber, newChild);
11917        }
11918        if (
11919          ("string" === typeof newChild && "" !== newChild) ||
11920          "number" === typeof newChild ||
11921          "bigint" === typeof newChild
11922        )
11923          return (
11924            (prevDebugInfo = "" + newChild),
11925            null !== currentFirstChild && 6 === currentFirstChild.tag
11926              ? (deleteRemainingChildren(
11927                  returnFiber,
11928                  currentFirstChild.sibling
11929                ),
11930                (lanes = useFiber(currentFirstChild, prevDebugInfo)),
11931                (lanes.return = returnFiber),
11932                (returnFiber = lanes))
11933              : (deleteRemainingChildren(returnFiber, currentFirstChild),
11934                (lanes = createFiberFromText(
11935                  prevDebugInfo,
11936                  returnFiber.mode,
11937                  lanes
11938                )),
11939                (lanes.return = returnFiber),
11940                (lanes._debugOwner = returnFiber),
11941                (lanes._debugTask = returnFiber._debugTask),
11942                (lanes._debugInfo = currentDebugInfo),
11943                (returnFiber = lanes)),
11944            placeSingleChild(returnFiber)
11945          );
11946        "function" === typeof newChild &&
11947          warnOnFunctionType(returnFiber, newChild);
11948        "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild);
11949        return deleteRemainingChildren(returnFiber, currentFirstChild);
11950      }
11951      return function (returnFiber, currentFirstChild, newChild, lanes) {
11952        var prevDebugInfo = currentDebugInfo;
11953        currentDebugInfo = null;
11954        try {
11955          thenableIndexCounter = 0;
11956          var firstChildFiber = reconcileChildFibersImpl(
11957            returnFiber,
11958            currentFirstChild,
11959            newChild,
11960            lanes
11961          );
11962          thenableState = null;
11963          return firstChildFiber;
11964        } catch (x) {
11965          if (x === SuspenseException || x === SuspenseActionException) throw x;
11966          var fiber = createFiber(29, x, null, returnFiber.mode);
11967          fiber.lanes = lanes;
11968          fiber.return = returnFiber;
11969          var debugInfo = (fiber._debugInfo = currentDebugInfo);
11970          fiber._debugOwner = returnFiber._debugOwner;
11971          fiber._debugTask = returnFiber._debugTask;
11972          if (null != debugInfo)
11973            for (var i = debugInfo.length - 1; 0 <= i; i--)
11974              if ("string" === typeof debugInfo[i].stack) {
11975                fiber._debugOwner = debugInfo[i];
11976                fiber._debugTask = debugInfo[i].debugTask;
11977                break;
11978              }
11979          return fiber;
11980        } finally {
11981          currentDebugInfo = prevDebugInfo;
11982        }
11983      };
11984    }
11985    function pushPrimaryTreeSuspenseHandler(handler) {
11986      var current = handler.alternate;
11987      push(
11988        suspenseStackCursor,
11989        suspenseStackCursor.current & SubtreeSuspenseContextMask,
11990        handler
11991      );
11992      push(suspenseHandlerStackCursor, handler, handler);
11993      null === shellBoundary &&
11994        (null === current || null !== currentTreeHiddenStackCursor.current
11995          ? (shellBoundary = handler)
11996          : null !== current.memoizedState && (shellBoundary = handler));
11997    }
11998    function pushOffscreenSuspenseHandler(fiber) {
11999      if (22 === fiber.tag) {
12000        if (
12001          (push(suspenseStackCursor, suspenseStackCursor.current, fiber),
12002          push(suspenseHandlerStackCursor, fiber, fiber),
12003          null === shellBoundary)
12004        ) {
12005          var current = fiber.alternate;
12006          null !== current &&
12007            null !== current.memoizedState &&
12008            (shellBoundary = fiber);
12009        }
12010      } else reuseSuspenseHandlerOnStack(fiber);
12011    }
12012    function reuseSuspenseHandlerOnStack(fiber) {
12013      push(suspenseStackCursor, suspenseStackCursor.current, fiber);
12014      push(
12015        suspenseHandlerStackCursor,
12016        suspenseHandlerStackCursor.current,
12017        fiber
12018      );
12019    }
12020    function popSuspenseHandler(fiber) {
12021      pop(suspenseHandlerStackCursor, fiber);
12022      shellBoundary === fiber && (shellBoundary = null);
12023      pop(suspenseStackCursor, fiber);
12024    }
12025    function findFirstSuspended(row) {
12026      for (var node = row; null !== node; ) {
12027        if (13 === node.tag) {
12028          var state = node.memoizedState;
12029          if (
12030            null !== state &&
12031            ((state = state.dehydrated),
12032            null === state ||
12033              state.data === SUSPENSE_PENDING_START_DATA ||
12034              isSuspenseInstanceFallback(state))
12035          )
12036            return node;
12037        } else if (
12038          19 === node.tag &&
12039          void 0 !== node.memoizedProps.revealOrder
12040        ) {
12041          if (0 !== (node.flags & 128)) return node;
12042        } else if (null !== node.child) {
12043          node.child.return = node;
12044          node = node.child;
12045          continue;
12046        }
12047        if (node === row) break;
12048        for (; null === node.sibling; ) {
12049          if (null === node.return || node.return === row) return null;
12050          node = node.return;
12051        }
12052        node.sibling.return = node.return;
12053        node = node.sibling;
12054      }
12055      return null;
12056    }
12057    function warnOnInvalidCallback(callback) {
12058      if (null !== callback && "function" !== typeof callback) {
12059        var key = String(callback);
12060        didWarnOnInvalidCallback.has(key) ||
12061          (didWarnOnInvalidCallback.add(key),
12062          console.error(
12063            "Expected the last optional `callback` argument to be a function. Instead received: %s.",
12064            callback
12065          ));
12066      }
12067    }
12068    function applyDerivedStateFromProps(
12069      workInProgress,
12070      ctor,
12071      getDerivedStateFromProps,
12072      nextProps
12073    ) {
12074      var prevState = workInProgress.memoizedState,
12075        partialState = getDerivedStateFromProps(nextProps, prevState);
12076      if (workInProgress.mode & StrictLegacyMode) {
12077        setIsStrictModeForDevtools(!0);
12078        try {
12079          partialState = getDerivedStateFromProps(nextProps, prevState);
12080        } finally {
12081          setIsStrictModeForDevtools(!1);
12082        }
12083      }
12084      void 0 === partialState &&
12085        ((ctor = getComponentNameFromType(ctor) || "Component"),
12086        didWarnAboutUndefinedDerivedState.has(ctor) ||
12087          (didWarnAboutUndefinedDerivedState.add(ctor),
12088          console.error(
12089            "%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",
12090            ctor
12091          )));
12092      prevState =
12093        null === partialState || void 0 === partialState
12094          ? prevState
12095          : assign({}, prevState, partialState);
12096      workInProgress.memoizedState = prevState;
12097      0 === workInProgress.lanes &&
12098        (workInProgress.updateQueue.baseState = prevState);
12099    }
12100    function checkShouldComponentUpdate(
12101      workInProgress,
12102      ctor,
12103      oldProps,
12104      newProps,
12105      oldState,
12106      newState,
12107      nextContext
12108    ) {
12109      var instance = workInProgress.stateNode;
12110      if ("function" === typeof instance.shouldComponentUpdate) {
12111        oldProps = instance.shouldComponentUpdate(
12112          newProps,
12113          newState,
12114          nextContext
12115        );
12116        if (workInProgress.mode & StrictLegacyMode) {
12117          setIsStrictModeForDevtools(!0);
12118          try {
12119            oldProps = instance.shouldComponentUpdate(
12120              newProps,
12121              newState,
12122              nextContext
12123            );
12124          } finally {
12125            setIsStrictModeForDevtools(!1);
12126          }
12127        }
12128        void 0 === oldProps &&
12129          console.error(
12130            "%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",
12131            getComponentNameFromType(ctor) || "Component"
12132          );
12133        return oldProps;
12134      }
12135      return ctor.prototype && ctor.prototype.isPureReactComponent
12136        ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)
12137        : !0;
12138    }
12139    function callComponentWillReceiveProps(
12140      workInProgress,
12141      instance,
12142      newProps,
12143      nextContext
12144    ) {
12145      var oldState = instance.state;
12146      "function" === typeof instance.componentWillReceiveProps &&
12147        instance.componentWillReceiveProps(newProps, nextContext);
12148      "function" === typeof instance.UNSAFE_componentWillReceiveProps &&
12149        instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);
12150      instance.state !== oldState &&
12151        ((workInProgress =
12152          getComponentNameFromFiber(workInProgress) || "Component"),
12153        didWarnAboutStateAssignmentForComponent.has(workInProgress) ||
12154          (didWarnAboutStateAssignmentForComponent.add(workInProgress),
12155          console.error(
12156            "%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",
12157            workInProgress
12158          )),
12159        classComponentUpdater.enqueueReplaceState(
12160          instance,
12161          instance.state,
12162          null
12163        ));
12164    }
12165    function resolveClassComponentProps(Component, baseProps) {
12166      var newProps = baseProps;
12167      if ("ref" in baseProps) {
12168        newProps = {};
12169        for (var propName in baseProps)
12170          "ref" !== propName && (newProps[propName] = baseProps[propName]);
12171      }
12172      if ((Component = Component.defaultProps)) {
12173        newProps === baseProps && (newProps = assign({}, newProps));
12174        for (var _propName in Component)
12175          void 0 === newProps[_propName] &&
12176            (newProps[_propName] = Component[_propName]);
12177      }
12178      return newProps;
12179    }
12180    function defaultOnUncaughtError(error) {
12181      reportGlobalError(error);
12182      console.warn(
12183        "%s\n\n%s\n",
12184        componentName
12185          ? "An error occurred in the <" + componentName + "> component."
12186          : "An error occurred in one of your React components.",
12187        "Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries."
12188      );
12189    }
12190    function defaultOnCaughtError(error) {
12191      var componentNameMessage = componentName
12192          ? "The above error occurred in the <" + componentName + "> component."
12193          : "The above error occurred in one of your React components.",
12194        recreateMessage =
12195          "React will try to recreate this component tree from scratch using the error boundary you provided, " +
12196          ((errorBoundaryName || "Anonymous") + ".");
12197      if (
12198        "object" === typeof error &&
12199        null !== error &&
12200        "string" === typeof error.environmentName
12201      ) {
12202        var JSCompiler_inline_result = error.environmentName;
12203        error = [
12204          "%o\n\n%s\n\n%s\n",
12205          error,
12206          componentNameMessage,
12207          recreateMessage
12208        ].slice(0);
12209        "string" === typeof error[0]
12210          ? error.splice(
12211              0,
12212              1,
12213              badgeFormat + error[0],
12214              badgeStyle,
12215              pad + JSCompiler_inline_result + pad,
12216              resetStyle
12217            )
12218          : error.splice(
12219              0,
12220              0,
12221              badgeFormat,
12222              badgeStyle,
12223              pad + JSCompiler_inline_result + pad,
12224              resetStyle
12225            );
12226        error.unshift(console);
12227        JSCompiler_inline_result = bind.apply(console.error, error);
12228        JSCompiler_inline_result();
12229      } else
12230        console.error(
12231          "%o\n\n%s\n\n%s\n",
12232          error,
12233          componentNameMessage,
12234          recreateMessage
12235        );
12236    }
12237    function defaultOnRecoverableError(error) {
12238      reportGlobalError(error);
12239    }
12240    function logUncaughtError(root, errorInfo) {
12241      try {
12242        componentName = errorInfo.source
12243          ? getComponentNameFromFiber(errorInfo.source)
12244          : null;
12245        errorBoundaryName = null;
12246        var error = errorInfo.value;
12247        if (null !== ReactSharedInternals.actQueue)
12248          ReactSharedInternals.thrownErrors.push(error);
12249        else {
12250          var onUncaughtError = root.onUncaughtError;
12251          onUncaughtError(error, { componentStack: errorInfo.stack });
12252        }
12253      } catch (e$5) {
12254        setTimeout(function () {
12255          throw e$5;
12256        });
12257      }
12258    }
12259    function logCaughtError(root, boundary, errorInfo) {
12260      try {
12261        componentName = errorInfo.source
12262          ? getComponentNameFromFiber(errorInfo.source)
12263          : null;
12264        errorBoundaryName = getComponentNameFromFiber(boundary);
12265        var onCaughtError = root.onCaughtError;
12266        onCaughtError(errorInfo.value, {
12267          componentStack: errorInfo.stack,
12268          errorBoundary: 1 === boundary.tag ? boundary.stateNode : null
12269        });
12270      } catch (e$6) {
12271        setTimeout(function () {
12272          throw e$6;
12273        });
12274      }
12275    }
12276    function createRootErrorUpdate(root, errorInfo, lane) {
12277      lane = createUpdate(lane);
12278      lane.tag = CaptureUpdate;
12279      lane.payload = { element: null };
12280      lane.callback = function () {
12281        runWithFiberInDEV(errorInfo.source, logUncaughtError, root, errorInfo);
12282      };
12283      return lane;
12284    }
12285    function createClassErrorUpdate(lane) {
12286      lane = createUpdate(lane);
12287      lane.tag = CaptureUpdate;
12288      return lane;
12289    }
12290    function initializeClassErrorUpdate(update, root, fiber, errorInfo) {
12291      var getDerivedStateFromError = fiber.type.getDerivedStateFromError;
12292      if ("function" === typeof getDerivedStateFromError) {
12293        var error = errorInfo.value;
12294        update.payload = function () {
12295          return getDerivedStateFromError(error);
12296        };
12297        update.callback = function () {
12298          markFailedErrorBoundaryForHotReloading(fiber);
12299          runWithFiberInDEV(
12300            errorInfo.source,
12301            logCaughtError,
12302            root,
12303            fiber,
12304            errorInfo
12305          );
12306        };
12307      }
12308      var inst = fiber.stateNode;
12309      null !== inst &&
12310        "function" === typeof inst.componentDidCatch &&
12311        (update.callback = function () {
12312          markFailedErrorBoundaryForHotReloading(fiber);
12313          runWithFiberInDEV(
12314            errorInfo.source,
12315            logCaughtError,
12316            root,
12317            fiber,
12318            errorInfo
12319          );
12320          "function" !== typeof getDerivedStateFromError &&
12321            (null === legacyErrorBoundariesThatAlreadyFailed
12322              ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this]))
12323              : legacyErrorBoundariesThatAlreadyFailed.add(this));
12324          callComponentDidCatchInDEV(this, errorInfo);
12325          "function" === typeof getDerivedStateFromError ||
12326            (0 === (fiber.lanes & 2) &&
12327              console.error(
12328                "%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",
12329                getComponentNameFromFiber(fiber) || "Unknown"
12330              ));
12331        });
12332    }
12333    function throwException(
12334      root,
12335      returnFiber,
12336      sourceFiber,
12337      value,
12338      rootRenderLanes
12339    ) {
12340      sourceFiber.flags |= 32768;
12341      isDevToolsPresent && restorePendingUpdaters(root, rootRenderLanes);
12342      if (
12343        null !== value &&
12344        "object" === typeof value &&
12345        "function" === typeof value.then
12346      ) {
12347        returnFiber = sourceFiber.alternate;
12348        null !== returnFiber &&
12349          propagateParentContextChanges(
12350            returnFiber,
12351            sourceFiber,
12352            rootRenderLanes,
12353            !0
12354          );
12355        isHydrating && (didSuspendOrErrorDEV = !0);
12356        sourceFiber = suspenseHandlerStackCursor.current;
12357        if (null !== sourceFiber) {
12358          switch (sourceFiber.tag) {
12359            case 13:
12360              return (
12361                null === shellBoundary
12362                  ? renderDidSuspendDelayIfPossible()
12363                  : null === sourceFiber.alternate &&
12364                    workInProgressRootExitStatus === RootInProgress &&
12365                    (workInProgressRootExitStatus = RootSuspended),
12366                (sourceFiber.flags &= -257),
12367                (sourceFiber.flags |= 65536),
12368                (sourceFiber.lanes = rootRenderLanes),
12369                value === noopSuspenseyCommitThenable
12370                  ? (sourceFiber.flags |= 16384)
12371                  : ((returnFiber = sourceFiber.updateQueue),
12372                    null === returnFiber
12373                      ? (sourceFiber.updateQueue = new Set([value]))
12374                      : returnFiber.add(value),
12375                    attachPingListener(root, value, rootRenderLanes)),
12376                !1
12377              );
12378            case 22:
12379              return (
12380                (sourceFiber.flags |= 65536),
12381                value === noopSuspenseyCommitThenable
12382                  ? (sourceFiber.flags |= 16384)
12383                  : ((returnFiber = sourceFiber.updateQueue),
12384                    null === returnFiber
12385                      ? ((returnFiber = {
12386                          transitions: null,
12387                          markerInstances: null,
12388                          retryQueue: new Set([value])
12389                        }),
12390                        (sourceFiber.updateQueue = returnFiber))
12391                      : ((sourceFiber = returnFiber.retryQueue),
12392                        null === sourceFiber
12393                          ? (returnFiber.retryQueue = new Set([value]))
12394                          : sourceFiber.add(value)),
12395                    attachPingListener(root, value, rootRenderLanes)),
12396                !1
12397              );
12398          }
12399          throw Error(
12400            "Unexpected Suspense handler tag (" +
12401              sourceFiber.tag +
12402              "). This is a bug in React."
12403          );
12404        }
12405        attachPingListener(root, value, rootRenderLanes);
12406        renderDidSuspendDelayIfPossible();
12407        return !1;
12408      }
12409      if (isHydrating)
12410        return (
12411          (didSuspendOrErrorDEV = !0),
12412          (returnFiber = suspenseHandlerStackCursor.current),
12413          null !== returnFiber
12414            ? (0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256),
12415              (returnFiber.flags |= 65536),
12416              (returnFiber.lanes = rootRenderLanes),
12417              value !== HydrationMismatchException &&
12418                queueHydrationError(
12419                  createCapturedValueAtFiber(
12420                    Error(
12421                      "There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",
12422                      { cause: value }
12423                    ),
12424                    sourceFiber
12425                  )
12426                ))
12427            : (value !== HydrationMismatchException &&
12428                queueHydrationError(
12429                  createCapturedValueAtFiber(
12430                    Error(
12431                      "There was an error while hydrating but React was able to recover by instead client rendering the entire root.",
12432                      { cause: value }
12433                    ),
12434                    sourceFiber
12435                  )
12436                ),
12437              (root = root.current.alternate),
12438              (root.flags |= 65536),
12439              (rootRenderLanes &= -rootRenderLanes),
12440              (root.lanes |= rootRenderLanes),
12441              (value = createCapturedValueAtFiber(value, sourceFiber)),
12442              (rootRenderLanes = createRootErrorUpdate(
12443                root.stateNode,
12444                value,
12445                rootRenderLanes
12446              )),
12447              enqueueCapturedUpdate(root, rootRenderLanes),
12448              workInProgressRootExitStatus !== RootSuspendedWithDelay &&
12449                (workInProgressRootExitStatus = RootErrored)),
12450          !1
12451        );
12452      var error = createCapturedValueAtFiber(
12453        Error(
12454          "There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",
12455          { cause: value }
12456        ),
12457        sourceFiber
12458      );
12459      null === workInProgressRootConcurrentErrors
12460        ? (workInProgressRootConcurrentErrors = [error])
12461        : workInProgressRootConcurrentErrors.push(error);
12462      workInProgressRootExitStatus !== RootSuspendedWithDelay &&
12463        (workInProgressRootExitStatus = RootErrored);
12464      if (null === returnFiber) return !0;
12465      value = createCapturedValueAtFiber(value, sourceFiber);
12466      sourceFiber = returnFiber;
12467      do {
12468        switch (sourceFiber.tag) {
12469          case 3:
12470            return (
12471              (sourceFiber.flags |= 65536),
12472              (root = rootRenderLanes & -rootRenderLanes),
12473              (sourceFiber.lanes |= root),
12474              (root = createRootErrorUpdate(
12475                sourceFiber.stateNode,
12476                value,
12477                root
12478              )),
12479              enqueueCapturedUpdate(sourceFiber, root),
12480              !1
12481            );
12482          case 1:
12483            if (
12484              ((returnFiber = sourceFiber.type),
12485              (error = sourceFiber.stateNode),
12486              0 === (sourceFiber.flags & 128) &&
12487                ("function" === typeof returnFiber.getDerivedStateFromError ||
12488                  (null !== error &&
12489                    "function" === typeof error.componentDidCatch &&
12490                    (null === legacyErrorBoundariesThatAlreadyFailed ||
12491                      !legacyErrorBoundariesThatAlreadyFailed.has(error)))))
12492            )
12493              return (
12494                (sourceFiber.flags |= 65536),
12495                (rootRenderLanes &= -rootRenderLanes),
12496                (sourceFiber.lanes |= rootRenderLanes),
12497                (rootRenderLanes = createClassErrorUpdate(rootRenderLanes)),
12498                initializeClassErrorUpdate(
12499                  rootRenderLanes,
12500                  root,
12501                  sourceFiber,
12502                  value
12503                ),
12504                enqueueCapturedUpdate(sourceFiber, rootRenderLanes),
12505                !1
12506              );
12507        }
12508        sourceFiber = sourceFiber.return;
12509      } while (null !== sourceFiber);
12510      return !1;
12511    }
12512    function reconcileChildren(
12513      current,
12514      workInProgress,
12515      nextChildren,
12516      renderLanes
12517    ) {
12518      workInProgress.child =
12519        null === current
12520          ? mountChildFibers(workInProgress, null, nextChildren, renderLanes)
12521          : reconcileChildFibers(
12522              workInProgress,
12523              current.child,
12524              nextChildren,
12525              renderLanes
12526            );
12527    }
12528    function updateForwardRef(
12529      current,
12530      workInProgress,
12531      Component,
12532      nextProps,
12533      renderLanes
12534    ) {
12535      Component = Component.render;
12536      var ref = workInProgress.ref;
12537      if ("ref" in nextProps) {
12538        var propsWithoutRef = {};
12539        for (var key in nextProps)
12540          "ref" !== key && (propsWithoutRef[key] = nextProps[key]);
12541      } else propsWithoutRef = nextProps;
12542      prepareToReadContext(workInProgress);
12543      markComponentRenderStarted(workInProgress);
12544      nextProps = renderWithHooks(
12545        current,
12546        workInProgress,
12547        Component,
12548        propsWithoutRef,
12549        ref,
12550        renderLanes
12551      );
12552      key = checkDidRenderIdHook();
12553      markComponentRenderStopped();
12554      if (null !== current && !didReceiveUpdate)
12555        return (
12556          bailoutHooks(current, workInProgress, renderLanes),
12557          bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)
12558        );
12559      isHydrating && key && pushMaterializedTreeId(workInProgress);
12560      workInProgress.flags |= 1;
12561      reconcileChildren(current, workInProgress, nextProps, renderLanes);
12562      return workInProgress.child;
12563    }
12564    function updateMemoComponent(
12565      current,
12566      workInProgress,
12567      Component,
12568      nextProps,
12569      renderLanes
12570    ) {
12571      if (null === current) {
12572        var type = Component.type;
12573        if (
12574          "function" === typeof type &&
12575          !shouldConstruct(type) &&
12576          void 0 === type.defaultProps &&
12577          null === Component.compare
12578        )
12579          return (
12580            (Component = resolveFunctionForHotReloading(type)),
12581            (workInProgress.tag = 15),
12582            (workInProgress.type = Component),
12583            validateFunctionComponentInDev(workInProgress, type),
12584            updateSimpleMemoComponent(
12585              current,
12586              workInProgress,
12587              Component,
12588              nextProps,
12589              renderLanes
12590            )
12591          );
12592        current = createFiberFromTypeAndProps(
12593          Component.type,
12594          null,
12595          nextProps,
12596          workInProgress,
12597          workInProgress.mode,
12598          renderLanes
12599        );
12600        current.ref = workInProgress.ref;
12601        current.return = workInProgress;
12602        return (workInProgress.child = current);
12603      }
12604      type = current.child;
12605      if (!checkScheduledUpdateOrContext(current, renderLanes)) {
12606        var prevProps = type.memoizedProps;
12607        Component = Component.compare;
12608        Component = null !== Component ? Component : shallowEqual;
12609        if (
12610          Component(prevProps, nextProps) &&
12611          current.ref === workInProgress.ref
12612        )
12613          return bailoutOnAlreadyFinishedWork(
12614            current,
12615            workInProgress,
12616            renderLanes
12617          );
12618      }
12619      workInProgress.flags |= 1;
12620      current = createWorkInProgress(type, nextProps);
12621      current.ref = workInProgress.ref;
12622      current.return = workInProgress;
12623      return (workInProgress.child = current);
12624    }
12625    function updateSimpleMemoComponent(
12626      current,
12627      workInProgress,
12628      Component,
12629      nextProps,
12630      renderLanes
12631    ) {
12632      if (null !== current) {
12633        var prevProps = current.memoizedProps;
12634        if (
12635          shallowEqual(prevProps, nextProps) &&
12636          current.ref === workInProgress.ref &&
12637          workInProgress.type === current.type
12638        )
12639          if (
12640            ((didReceiveUpdate = !1),
12641            (workInProgress.pendingProps = nextProps = prevProps),
12642            checkScheduledUpdateOrContext(current, renderLanes))
12643          )
12644            0 !== (current.flags & 131072) && (didReceiveUpdate = !0);
12645          else
12646            return (
12647              (workInProgress.lanes = current.lanes),
12648              bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)
12649            );
12650      }
12651      return updateFunctionComponent(
12652        current,
12653        workInProgress,
12654        Component,
12655        nextProps,
12656        renderLanes
12657      );
12658    }
12659    function updateOffscreenComponent(current, workInProgress, renderLanes) {
12660      var nextProps = workInProgress.pendingProps,
12661        nextChildren = nextProps.children,
12662        prevState = null !== current ? current.memoizedState : null;
12663      if ("hidden" === nextProps.mode) {
12664        if (0 !== (workInProgress.flags & 128)) {
12665          nextProps =
12666            null !== prevState
12667              ? prevState.baseLanes | renderLanes
12668              : renderLanes;
12669          if (null !== current) {
12670            nextChildren = workInProgress.child = current.child;
12671            for (prevState = 0; null !== nextChildren; )
12672              (prevState =
12673                prevState | nextChildren.lanes | nextChildren.childLanes),
12674                (nextChildren = nextChildren.sibling);
12675            workInProgress.childLanes = prevState & ~nextProps;
12676          } else (workInProgress.childLanes = 0), (workInProgress.child = null);
12677          return deferHiddenOffscreenComponent(
12678            current,
12679            workInProgress,
12680            nextProps,
12681            renderLanes
12682          );
12683        }
12684        if (0 !== (renderLanes & 536870912))
12685          (workInProgress.memoizedState = { baseLanes: 0, cachePool: null }),
12686            null !== current &&
12687              pushTransition(
12688                workInProgress,
12689                null !== prevState ? prevState.cachePool : null
12690              ),
12691            null !== prevState
12692              ? pushHiddenContext(workInProgress, prevState)
12693              : reuseHiddenContextOnStack(workInProgress),
12694            pushOffscreenSuspenseHandler(workInProgress);
12695        else
12696          return (
12697            (workInProgress.lanes = workInProgress.childLanes = 536870912),
12698            deferHiddenOffscreenComponent(
12699              current,
12700              workInProgress,
12701              null !== prevState
12702                ? prevState.baseLanes | renderLanes
12703                : renderLanes,
12704              renderLanes
12705            )
12706          );
12707      } else
12708        null !== prevState
12709          ? (pushTransition(workInProgress, prevState.cachePool),
12710            pushHiddenContext(workInProgress, prevState),
12711            reuseSuspenseHandlerOnStack(workInProgress),
12712            (workInProgress.memoizedState = null))
12713          : (null !== current && pushTransition(workInProgress, null),
12714            reuseHiddenContextOnStack(workInProgress),
12715            reuseSuspenseHandlerOnStack(workInProgress));
12716      reconcileChildren(current, workInProgress, nextChildren, renderLanes);
12717      return workInProgress.child;
12718    }
12719    function deferHiddenOffscreenComponent(
12720      current,
12721      workInProgress,
12722      nextBaseLanes,
12723      renderLanes
12724    ) {
12725      var JSCompiler_inline_result = peekCacheFromPool();
12726      JSCompiler_inline_result =
12727        null === JSCompiler_inline_result
12728          ? null
12729          : {
12730              parent: CacheContext._currentValue,
12731              pool: JSCompiler_inline_result
12732            };
12733      workInProgress.memoizedState = {
12734        baseLanes: nextBaseLanes,
12735        cachePool: JSCompiler_inline_result
12736      };
12737      null !== current && pushTransition(workInProgress, null);
12738      reuseHiddenContextOnStack(workInProgress);
12739      pushOffscreenSuspenseHandler(workInProgress);
12740      null !== current &&
12741        propagateParentContextChanges(current, workInProgress, renderLanes, !0);
12742      return null;
12743    }
12744    function markRef(current, workInProgress) {
12745      var ref = workInProgress.ref;
12746      if (null === ref)
12747        null !== current &&
12748          null !== current.ref &&
12749          (workInProgress.flags |= 4194816);
12750      else {
12751        if ("function" !== typeof ref && "object" !== typeof ref)
12752          throw Error(
12753            "Expected ref to be a function, an object returned by React.createRef(), or undefined/null."
12754          );
12755        if (null === current || current.ref !== ref)
12756          workInProgress.flags |= 4194816;
12757      }
12758    }
12759    function updateFunctionComponent(
12760      current,
12761      workInProgress,
12762      Component,
12763      nextProps,
12764      renderLanes
12765    ) {
12766      if (
12767        Component.prototype &&
12768        "function" === typeof Component.prototype.render
12769      ) {
12770        var componentName = getComponentNameFromType(Component) || "Unknown";
12771        didWarnAboutBadClass[componentName] ||
12772          (console.error(
12773            "The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",
12774            componentName,
12775            componentName
12776          ),
12777          (didWarnAboutBadClass[componentName] = !0));
12778      }
12779      workInProgress.mode & StrictLegacyMode &&
12780        ReactStrictModeWarnings.recordLegacyContextWarning(
12781          workInProgress,
12782          null
12783        );
12784      null === current &&
12785        (validateFunctionComponentInDev(workInProgress, workInProgress.type),
12786        Component.contextTypes &&
12787          ((componentName = getComponentNameFromType(Component) || "Unknown"),
12788          didWarnAboutContextTypes[componentName] ||
12789            ((didWarnAboutContextTypes[componentName] = !0),
12790            console.error(
12791              "%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",
12792              componentName
12793            ))));
12794      prepareToReadContext(workInProgress);
12795      markComponentRenderStarted(workInProgress);
12796      Component = renderWithHooks(
12797        current,
12798        workInProgress,
12799        Component,
12800        nextProps,
12801        void 0,
12802        renderLanes
12803      );
12804      nextProps = checkDidRenderIdHook();
12805      markComponentRenderStopped();
12806      if (null !== current && !didReceiveUpdate)
12807        return (
12808          bailoutHooks(current, workInProgress, renderLanes),
12809          bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)
12810        );
12811      isHydrating && nextProps && pushMaterializedTreeId(workInProgress);
12812      workInProgress.flags |= 1;
12813      reconcileChildren(current, workInProgress, Component, renderLanes);
12814      return workInProgress.child;
12815    }
12816    function replayFunctionComponent(
12817      current,
12818      workInProgress,
12819      nextProps,
12820      Component,
12821      secondArg,
12822      renderLanes
12823    ) {
12824      prepareToReadContext(workInProgress);
12825      markComponentRenderStarted(workInProgress);
12826      hookTypesUpdateIndexDev = -1;
12827      ignorePreviousDependencies =
12828        null !== current && current.type !== workInProgress.type;
12829      workInProgress.updateQueue = null;
12830      nextProps = renderWithHooksAgain(
12831        workInProgress,
12832        Component,
12833        nextProps,
12834        secondArg
12835      );
12836      finishRenderingHooks(current, workInProgress);
12837      Component = checkDidRenderIdHook();
12838      markComponentRenderStopped();
12839      if (null !== current && !didReceiveUpdate)
12840        return (
12841          bailoutHooks(current, workInProgress, renderLanes),
12842          bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)
12843        );
12844      isHydrating && Component && pushMaterializedTreeId(workInProgress);
12845      workInProgress.flags |= 1;
12846      reconcileChildren(current, workInProgress, nextProps, renderLanes);
12847      return workInProgress.child;
12848    }
12849    function updateClassComponent(
12850      current,
12851      workInProgress,
12852      Component,
12853      nextProps,
12854      renderLanes
12855    ) {
12856      switch (shouldErrorImpl(workInProgress)) {
12857        case !1:
12858          var _instance = workInProgress.stateNode,
12859            state = new workInProgress.type(
12860              workInProgress.memoizedProps,
12861              _instance.context
12862            ).state;
12863          _instance.updater.enqueueSetState(_instance, state, null);
12864          break;
12865        case !0:
12866          workInProgress.flags |= 128;
12867          workInProgress.flags |= 65536;
12868          _instance = Error("Simulated error coming from DevTools");
12869          var lane = renderLanes & -renderLanes;
12870          workInProgress.lanes |= lane;
12871          state = workInProgressRoot;
12872          if (null === state)
12873            throw Error(
12874              "Expected a work-in-progress root. This is a bug in React. Please file an issue."
12875            );
12876          lane = createClassErrorUpdate(lane);
12877          initializeClassErrorUpdate(
12878            lane,
12879            state,
12880            workInProgress,
12881            createCapturedValueAtFiber(_instance, workInProgress)
12882          );
12883          enqueueCapturedUpdate(workInProgress, lane);
12884      }
12885      prepareToReadContext(workInProgress);
12886      if (null === workInProgress.stateNode) {
12887        state = emptyContextObject;
12888        _instance = Component.contextType;
12889        "contextType" in Component &&
12890          null !== _instance &&
12891          (void 0 === _instance || _instance.$$typeof !== REACT_CONTEXT_TYPE) &&
12892          !didWarnAboutInvalidateContextType.has(Component) &&
12893          (didWarnAboutInvalidateContextType.add(Component),
12894          (lane =
12895            void 0 === _instance
12896              ? " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file."
12897              : "object" !== typeof _instance
12898                ? " However, it is set to a " + typeof _instance + "."
12899                : _instance.$$typeof === REACT_CONSUMER_TYPE
12900                  ? " Did you accidentally pass the Context.Consumer instead?"
12901                  : " However, it is set to an object with keys {" +
12902                    Object.keys(_instance).join(", ") +
12903                    "}."),
12904          console.error(
12905            "%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",
12906            getComponentNameFromType(Component) || "Component",
12907            lane
12908          ));
12909        "object" === typeof _instance &&
12910          null !== _instance &&
12911          (state = readContext(_instance));
12912        _instance = new Component(nextProps, state);
12913        if (workInProgress.mode & StrictLegacyMode) {
12914          setIsStrictModeForDevtools(!0);
12915          try {
12916            _instance = new Component(nextProps, state);
12917          } finally {
12918            setIsStrictModeForDevtools(!1);
12919          }
12920        }
12921        state = workInProgress.memoizedState =
12922          null !== _instance.state && void 0 !== _instance.state
12923            ? _instance.state
12924            : null;
12925        _instance.updater = classComponentUpdater;
12926        workInProgress.stateNode = _instance;
12927        _instance._reactInternals = workInProgress;
12928        _instance._reactInternalInstance = fakeInternalInstance;
12929        "function" === typeof Component.getDerivedStateFromProps &&
12930          null === state &&
12931          ((state = getComponentNameFromType(Component) || "Component"),
12932          didWarnAboutUninitializedState.has(state) ||
12933            (didWarnAboutUninitializedState.add(state),
12934            console.error(
12935              "`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",
12936              state,
12937              null === _instance.state ? "null" : "undefined",
12938              state
12939            )));
12940        if (
12941          "function" === typeof Component.getDerivedStateFromProps ||
12942          "function" === typeof _instance.getSnapshotBeforeUpdate
12943        ) {
12944          var foundWillUpdateName = (lane = state = null);
12945          "function" === typeof _instance.componentWillMount &&
12946          !0 !== _instance.componentWillMount.__suppressDeprecationWarning
12947            ? (state = "componentWillMount")
12948            : "function" === typeof _instance.UNSAFE_componentWillMount &&
12949              (state = "UNSAFE_componentWillMount");
12950          "function" === typeof _instance.componentWillReceiveProps &&
12951          !0 !==
12952            _instance.componentWillReceiveProps.__suppressDeprecationWarning
12953            ? (lane = "componentWillReceiveProps")
12954            : "function" ===
12955                typeof _instance.UNSAFE_componentWillReceiveProps &&
12956              (lane = "UNSAFE_componentWillReceiveProps");
12957          "function" === typeof _instance.componentWillUpdate &&
12958          !0 !== _instance.componentWillUpdate.__suppressDeprecationWarning
12959            ? (foundWillUpdateName = "componentWillUpdate")
12960            : "function" === typeof _instance.UNSAFE_componentWillUpdate &&
12961              (foundWillUpdateName = "UNSAFE_componentWillUpdate");
12962          if (null !== state || null !== lane || null !== foundWillUpdateName) {
12963            _instance = getComponentNameFromType(Component) || "Component";
12964            var newApiName =
12965              "function" === typeof Component.getDerivedStateFromProps
12966                ? "getDerivedStateFromProps()"
12967                : "getSnapshotBeforeUpdate()";
12968            didWarnAboutLegacyLifecyclesAndDerivedState.has(_instance) ||
12969              (didWarnAboutLegacyLifecyclesAndDerivedState.add(_instance),
12970              console.error(
12971                "Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://react.dev/link/unsafe-component-lifecycles",
12972                _instance,
12973                newApiName,
12974                null !== state ? "\n  " + state : "",
12975                null !== lane ? "\n  " + lane : "",
12976                null !== foundWillUpdateName ? "\n  " + foundWillUpdateName : ""
12977              ));
12978          }
12979        }
12980        _instance = workInProgress.stateNode;
12981        state = getComponentNameFromType(Component) || "Component";
12982        _instance.render ||
12983          (Component.prototype &&
12984          "function" === typeof Component.prototype.render
12985            ? console.error(
12986                "No `render` method found on the %s instance: did you accidentally return an object from the constructor?",
12987                state
12988              )
12989            : console.error(
12990                "No `render` method found on the %s instance: you may have forgotten to define `render`.",
12991                state
12992              ));
12993        !_instance.getInitialState ||
12994          _instance.getInitialState.isReactClassApproved ||
12995          _instance.state ||
12996          console.error(
12997            "getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",
12998            state
12999          );
13000        _instance.getDefaultProps &&
13001          !_instance.getDefaultProps.isReactClassApproved &&
13002          console.error(
13003            "getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",
13004            state
13005          );
13006        _instance.contextType &&
13007          console.error(
13008            "contextType was defined as an instance property on %s. Use a static property to define contextType instead.",
13009            state
13010          );
13011        Component.childContextTypes &&
13012          !didWarnAboutChildContextTypes.has(Component) &&
13013          (didWarnAboutChildContextTypes.add(Component),
13014          console.error(
13015            "%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",
13016            state
13017          ));
13018        Component.contextTypes &&
13019          !didWarnAboutContextTypes$1.has(Component) &&
13020          (didWarnAboutContextTypes$1.add(Component),
13021          console.error(
13022            "%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",
13023            state
13024          ));
13025        "function" === typeof _instance.componentShouldUpdate &&
13026          console.error(
13027            "%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",
13028            state
13029          );
13030        Component.prototype &&
13031          Component.prototype.isPureReactComponent &&
13032          "undefined" !== typeof _instance.shouldComponentUpdate &&
13033          console.error(
13034            "%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",
13035            getComponentNameFromType(Component) || "A pure component"
13036          );
13037        "function" === typeof _instance.componentDidUnmount &&
13038          console.error(
13039            "%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",
13040            state
13041          );
13042        "function" === typeof _instance.componentDidReceiveProps &&
13043          console.error(
13044            "%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",
13045            state
13046          );
13047        "function" === typeof _instance.componentWillRecieveProps &&
13048          console.error(
13049            "%s has a method called componentWillRecieveProps(). Did 
13049you mean componentWillReceiveProps()?",
13050            state
13051          );
13052        "function" === typeof _instance.UNSAFE_componentWillRecieveProps &&
13053          console.error(
13054            "%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",
13055            state
13056          );
13057        lane = _instance.props !== nextProps;
13058        void 0 !== _instance.props &&
13059          lane &&
13060          console.error(
13061            "When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",
13062            state
13063          );
13064        _instance.defaultProps &&
13065          console.error(
13066            "Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",
13067            state,
13068            state
13069          );
13070        "function" !== typeof _instance.getSnapshotBeforeUpdate ||
13071          "function" === typeof _instance.componentDidUpdate ||
13072          didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(Component) ||
13073          (didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(Component),
13074          console.error(
13075            "%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",
13076            getComponentNameFromType(Component)
13077          ));
13078        "function" === typeof _instance.getDerivedStateFromProps &&
13079          console.error(
13080            "%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",
13081            state
13082          );
13083        "function" === typeof _instance.getDerivedStateFromError &&
13084          console.error(
13085            "%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",
13086            state
13087          );
13088        "function" === typeof Component.getSnapshotBeforeUpdate &&
13089          console.error(
13090            "%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",
13091            state
13092          );
13093        (lane = _instance.state) &&
13094          ("object" !== typeof lane || isArrayImpl(lane)) &&
13095          console.error("%s.state: must be set to an object or null", state);
13096        "function" === typeof _instance.getChildContext &&
13097          "object" !== typeof Component.childContextTypes &&
13098          console.error(
13099            "%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",
13100            state
13101          );
13102        _instance = workInProgress.stateNode;
13103        _instance.props = nextProps;
13104        _instance.state = workInProgress.memoizedState;
13105        _instance.refs = {};
13106        initializeUpdateQueue(workInProgress);
13107        state = Component.contextType;
13108        _instance.context =
13109          "object" === typeof state && null !== state
13110            ? readContext(state)
13111            : emptyContextObject;
13112        _instance.state === nextProps &&
13113          ((state = getComponentNameFromType(Component) || "Component"),
13114          didWarnAboutDirectlyAssigningPropsToState.has(state) ||
13115            (didWarnAboutDirectlyAssigningPropsToState.add(state),
13116            console.error(
13117              "%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",
13118              state
13119            )));
13120        workInProgress.mode & StrictLegacyMode &&
13121          ReactStrictModeWarnings.recordLegacyContextWarning(
13122            workInProgress,
13123            _instance
13124          );
13125        ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(
13126          workInProgress,
13127          _instance
13128        );
13129        _instance.state = workInProgress.memoizedState;
13130        state = Component.getDerivedStateFromProps;
13131        "function" === typeof state &&
13132          (applyDerivedStateFromProps(
13133            workInProgress,
13134            Component,
13135            state,
13136            nextProps
13137          ),
13138          (_instance.state = workInProgress.memoizedState));
13139        "function" === typeof Component.getDerivedStateFromProps ||
13140          "function" === typeof _instance.getSnapshotBeforeUpdate ||
13141          ("function" !== typeof _instance.UNSAFE_componentWillMount &&
13142            "function" !== typeof _instance.componentWillMount) ||
13143          ((state = _instance.state),
13144          "function" === typeof _instance.componentWillMount &&
13145            _instance.componentWillMount(),
13146          "function" === typeof _instance.UNSAFE_componentWillMount &&
13147            _instance.UNSAFE_componentWillMount(),
13148          state !== _instance.state &&
13149            (console.error(
13150              "%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",
13151              getComponentNameFromFiber(workInProgress) || "Component"
13152            ),
13153            classComponentUpdater.enqueueReplaceState(
13154              _instance,
13155              _instance.state,
13156              null
13157            )),
13158          processUpdateQueue(workInProgress, nextProps, _instance, renderLanes),
13159          suspendIfUpdateReadFromEntangledAsyncAction(),
13160          (_instance.state = workInProgress.memoizedState));
13161        "function" === typeof _instance.componentDidMount &&
13162          (workInProgress.flags |= 4194308);
13163        (workInProgress.mode & StrictEffectsMode) !== NoMode &&
13164          (workInProgress.flags |= 134217728);
13165        _instance = !0;
13166      } else if (null === current) {
13167        _instance = workInProgress.stateNode;
13168        var unresolvedOldProps = workInProgress.memoizedProps;
13169        lane = resolveClassComponentProps(Component, unresolvedOldProps);
13170        _instance.props = lane;
13171        var oldContext = _instance.context;
13172        foundWillUpdateName = Component.contextType;
13173        state = emptyContextObject;
13174        "object" === typeof foundWillUpdateName &&
13175          null !== foundWillUpdateName &&
13176          (state = readContext(foundWillUpdateName));
13177        newApiName = Component.getDerivedStateFromProps;
13178        foundWillUpdateName =
13179          "function" === typeof newApiName ||
13180          "function" === typeof _instance.getSnapshotBeforeUpdate;
13181        unresolvedOldProps = workInProgress.pendingProps !== unresolvedOldProps;
13182        foundWillUpdateName ||
13183          ("function" !== typeof _instance.UNSAFE_componentWillReceiveProps &&
13184            "function" !== typeof _instance.componentWillReceiveProps) ||
13185          ((unresolvedOldProps || oldContext !== state) &&
13186            callComponentWillReceiveProps(
13187              workInProgress,
13188              _instance,
13189              nextProps,
13190              state
13191            ));
13192        hasForceUpdate = !1;
13193        var oldState = workInProgress.memoizedState;
13194        _instance.state = oldState;
13195        processUpdateQueue(workInProgress, nextProps, _instance, renderLanes);
13196        suspendIfUpdateReadFromEntangledAsyncAction();
13197        oldContext = workInProgress.memoizedState;
13198        unresolvedOldProps || oldState !== oldContext || hasForceUpdate
13199          ? ("function" === typeof newApiName &&
13200              (applyDerivedStateFromProps(
13201                workInProgress,
13202                Component,
13203                newApiName,
13204                nextProps
13205              ),
13206              (oldContext = workInProgress.memoizedState)),
13207            (lane =
13208              hasForceUpdate ||
13209              checkShouldComponentUpdate(
13210                workInProgress,
13211                Component,
13212                lane,
13213                nextProps,
13214                oldState,
13215                oldContext,
13216                state
13217              ))
13218              ? (foundWillUpdateName ||
13219                  ("function" !== typeof _instance.UNSAFE_componentWillMount &&
13220                    "function" !== typeof _instance.componentWillMount) ||
13221                  ("function" === typeof _instance.componentWillMount &&
13222                    _instance.componentWillMount(),
13223                  "function" === typeof _instance.UNSAFE_componentWillMount &&
13224                    _instance.UNSAFE_componentWillMount()),
13225                "function" === typeof _instance.componentDidMount &&
13226                  (workInProgress.flags |= 4194308),
13227                (workInProgress.mode & StrictEffectsMode) !== NoMode &&
13228                  (workInProgress.flags |= 134217728))
13229              : ("function" === typeof _instance.componentDidMount &&
13230                  (workInProgress.flags |= 4194308),
13231                (workInProgress.mode & StrictEffectsMode) !== NoMode &&
13232                  (workInProgress.flags |= 134217728),
13233                (workInProgress.memoizedProps = nextProps),
13234                (workInProgress.memoizedState = oldContext)),
13235            (_instance.props = nextProps),
13236            (_instance.state = oldContext),
13237            (_instance.context = state),
13238            (_instance = lane))
13239          : ("function" === typeof _instance.componentDidMount &&
13240              (workInProgress.flags |= 4194308),
13241            (workInProgress.mode & StrictEffectsMode) !== NoMode &&
13242              (workInProgress.flags |= 134217728),
13243            (_instance = !1));
13244      } else {
13245        _instance = workInProgress.stateNode;
13246        cloneUpdateQueue(current, workInProgress);
13247        state = workInProgress.memoizedProps;
13248        foundWillUpdateName = resolveClassComponentProps(Component, state);
13249        _instance.props = foundWillUpdateName;
13250        newApiName = workInProgress.pendingProps;
13251        oldState = _instance.context;
13252        oldContext = Component.contextType;
13253        lane = emptyContextObject;
13254        "object" === typeof oldContext &&
13255          null !== oldContext &&
13256          (lane = readContext(oldContext));
13257        unresolvedOldProps = Component.getDerivedStateFromProps;
13258        (oldContext =
13259          "function" === typeof unresolvedOldProps ||
13260          "function" === typeof _instance.getSnapshotBeforeUpdate) ||
13261          ("function" !== typeof _instance.UNSAFE_componentWillReceiveProps &&
13262            "function" !== typeof _instance.componentWillReceiveProps) ||
13263          ((state !== newApiName || oldState !== lane) &&
13264            callComponentWillReceiveProps(
13265              workInProgress,
13266              _instance,
13267              nextProps,
13268              lane
13269            ));
13270        hasForceUpdate = !1;
13271        oldState = workInProgress.memoizedState;
13272        _instance.state = oldState;
13273        processUpdateQueue(workInProgress, nextProps, _instance, renderLanes);
13274        suspendIfUpdateReadFromEntangledAsyncAction();
13275        var newState = workInProgress.memoizedState;
13276        state !== newApiName ||
13277        oldState !== newState ||
13278        hasForceUpdate ||
13279        (null !== current &&
13280          null !== current.dependencies &&
13281          checkIfContextChanged(current.dependencies))
13282          ? ("function" === typeof unresolvedOldProps &&
13283              (applyDerivedStateFromProps(
13284                workInProgress,
13285                Component,
13286                unresolvedOldProps,
13287                nextProps
13288              ),
13289              (newState = workInProgress.memoizedState)),
13290            (foundWillUpdateName =
13291              hasForceUpdate ||
13292              checkShouldComponentUpdate(
13293                workInProgress,
13294                Component,
13295                foundWillUpdateName,
13296                nextProps,
13297                oldState,
13298                newState,
13299                lane
13300              ) ||
13301              (null !== current &&
13302                null !== current.dependencies &&
13303                checkIfContextChanged(current.dependencies)))
13304              ? (oldContext ||
13305                  ("function" !== typeof _instance.UNSAFE_componentWillUpdate &&
13306                    "function" !== typeof _instance.componentWillUpdate) ||
13307                  ("function" === typeof _instance.componentWillUpdate &&
13308                    _instance.componentWillUpdate(nextProps, newState, lane),
13309                  "function" === typeof _instance.UNSAFE_componentWillUpdate &&
13310                    _instance.UNSAFE_componentWillUpdate(
13311                      nextProps,
13312                      newState,
13313                      lane
13314                    )),
13315                "function" === typeof _instance.componentDidUpdate &&
13316                  (workInProgress.flags |= 4),
13317                "function" === typeof _instance.getSnapshotBeforeUpdate &&
13318                  (workInProgress.flags |= 1024))
13319              : ("function" !== typeof _instance.componentDidUpdate ||
13320                  (state === current.memoizedProps &&
13321                    oldState === current.memoizedState) ||
13322                  (workInProgress.flags |= 4),
13323                "function" !== typeof _instance.getSnapshotBeforeUpdate ||
13324                  (state === current.memoizedProps &&
13325                    oldState === current.memoizedState) ||
13326                  (workInProgress.flags |= 1024),
13327                (workInProgress.memoizedProps = nextProps),
13328                (workInProgress.memoizedState = newState)),
13329            (_instance.props = nextProps),
13330            (_instance.state = newState),
13331            (_instance.context = lane),
13332            (_instance = foundWillUpdateName))
13333          : ("function" !== typeof _instance.componentDidUpdate ||
13334              (state === current.memoizedProps &&
13335                oldState === current.memoizedState) ||
13336              (workInProgress.flags |= 4),
13337            "function" !== typeof _instance.getSnapshotBeforeUpdate ||
13338              (state === current.memoizedProps &&
13339                oldState === current.memoizedState) ||
13340              (workInProgress.flags |= 1024),
13341            (_instance = !1));
13342      }
13343      lane = _instance;
13344      markRef(current, workInProgress);
13345      state = 0 !== (workInProgress.flags & 128);
13346      if (lane || state) {
13347        lane = workInProgress.stateNode;
13348        setCurrentFiber(workInProgress);
13349        if (state && "function" !== typeof Component.getDerivedStateFromError)
13350          (Component = null), (profilerStartTime = -1);
13351        else {
13352          markComponentRenderStarted(workInProgress);
13353          Component = callRenderInDEV(lane);
13354          if (workInProgress.mode & StrictLegacyMode) {
13355            setIsStrictModeForDevtools(!0);
13356            try {
13357              callRenderInDEV(lane);
13358            } finally {
13359              setIsStrictModeForDevtools(!1);
13360            }
13361          }
13362          markComponentRenderStopped();
13363        }
13364        workInProgress.flags |= 1;
13365        null !== current && state
13366          ? ((workInProgress.child = reconcileChildFibers(
13367              workInProgress,
13368              current.child,
13369              null,
13370              renderLanes
13371            )),
13372            (workInProgress.child = reconcileChildFibers(
13373              workInProgress,
13374              null,
13375              Component,
13376              renderLanes
13377            )))
13378          : reconcileChildren(current, workInProgress, Component, renderLanes);
13379        workInProgress.memoizedState = lane.state;
13380        current = workInProgress.child;
13381      } else
13382        current = bailoutOnAlreadyFinishedWork(
13383          current,
13384          workInProgress,
13385          renderLanes
13386        );
13387      renderLanes = workInProgress.stateNode;
13388      _instance &&
13389        renderLanes.props !== nextProps &&
13390        (didWarnAboutReassigningProps ||
13391          console.error(
13392            "It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",
13393            getComponentNameFromFiber(workInProgress) || "a component"
13394          ),
13395        (didWarnAboutReassigningProps = !0));
13396      return current;
13397    }
13398    function mountHostRootWithoutHydrating(
13399      current,
13400      workInProgress,
13401      nextChildren,
13402      renderLanes
13403    ) {
13404      resetHydrationState();
13405      workInProgress.flags |= 256;
13406      reconcileChildren(current, workInProgress, nextChildren, renderLanes);
13407      return workInProgress.child;
13408    }
13409    function validateFunctionComponentInDev(workInProgress, Component) {
13410      Component &&
13411        Component.childContextTypes &&
13412        console.error(
13413          "childContextTypes cannot be defined on a function component.\n  %s.childContextTypes = ...",
13414          Component.displayName || Component.name || "Component"
13415        );
13416      "function" === typeof Component.getDerivedStateFromProps &&
13417        ((workInProgress = getComponentNameFromType(Component) || "Unknown"),
13418        didWarnAboutGetDerivedStateOnFunctionComponent[workInProgress] ||
13419          (console.error(
13420            "%s: Function components do not support getDerivedStateFromProps.",
13421            workInProgress
13422          ),
13423          (didWarnAboutGetDerivedStateOnFunctionComponent[workInProgress] =
13424            !0)));
13425      "object" === typeof Component.contextType &&
13426        null !== Component.contextType &&
13427        ((Component = getComponentNameFromType(Component) || "Unknown"),
13428        didWarnAboutContextTypeOnFunctionComponent[Component] ||
13429          (console.error(
13430            "%s: Function components do not support contextType.",
13431            Component
13432          ),
13433          (didWarnAboutContextTypeOnFunctionComponent[Component] = !0)));
13434    }
13435    function mountSuspenseOffscreenState(renderLanes) {
13436      return { baseLanes: renderLanes, cachePool: getSuspendedCache() };
13437    }
13438    function getRemainingWorkInPrimaryTree(
13439      current,
13440      primaryTreeDidDefer,
13441      renderLanes
13442    ) {
13443      current = null !== current ? current.childLanes & ~renderLanes : 0;
13444      primaryTreeDidDefer && (current |= workInProgressDeferredLane);
13445      return current;
13446    }
13447    function updateSuspenseComponent(current, workInProgress, renderLanes) {
13448      var JSCompiler_object_inline_digest_2451;
13449      var JSCompiler_object_inline_stack_2452 = workInProgress.pendingProps;
13450      shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
13451      var JSCompiler_object_inline_componentStack_2453 = !1;
13452      var didSuspend = 0 !== (workInProgress.flags & 128);
13453      (JSCompiler_object_inline_digest_2451 = didSuspend) ||
13454        (JSCompiler_object_inline_digest_2451 =
13455          null !== current && null === current.memoizedState
13456            ? !1
13457            : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
13458      JSCompiler_object_inline_digest_2451 &&
13459        ((JSCompiler_object_inline_componentStack_2453 = !0),
13460        (workInProgress.flags &= -129));
13461      JSCompiler_object_inline_digest_2451 = 0 !== (workInProgress.flags & 32);
13462      workInProgress.flags &= -33;
13463      if (null === current) {
13464        if (isHydrating) {
13465          JSCompiler_object_inline_componentStack_2453
13466            ? pushPrimaryTreeSuspenseHandler(workInProgress)
13467            : reuseSuspenseHandlerOnStack(workInProgress);
13468          if (isHydrating) {
13469            var JSCompiler_object_inline_message_2450 = nextHydratableInstance;
13470            var JSCompiler_temp;
13471            if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2450)) {
13472              c: {
13473                var instance = JSCompiler_object_inline_message_2450;
13474                for (
13475                  JSCompiler_temp = rootOrSingletonContext;
13476                  8 !== instance.nodeType;
13477
13478                ) {
13479                  if (!JSCompiler_temp) {
13480                    JSCompiler_temp = null;
13481                    break c;
13482                  }
13483                  instance = getNextHydratable(instance.nextSibling);
13484                  if (null === instance) {
13485                    JSCompiler_temp = null;
13486                    break c;
13487                  }
13488                }
13489                JSCompiler_temp = instance;
13490              }
13491              null !== JSCompiler_temp
13492                ? (warnIfNotHydrating(),
13493                  (workInProgress.memoizedState = {
13494                    dehydrated: JSCompiler_temp,
13495                    treeContext:
13496                      null !== treeContextProvider
13497                        ? { id: treeContextId, overflow: treeContextOverflow }
13498                        : null,
13499                    retryLane: 536870912,
13500                    hydrationErrors: null
13501                  }),
13502                  (instance = createFiber(18, null, null, NoMode)),
13503                  (instance.stateNode = JSCompiler_temp),
13504                  (instance.return = workInProgress),
13505                  (workInProgress.child = instance),
13506                  (hydrationParentFiber = workInProgress),
13507                  (nextHydratableInstance = null),
13508                  (JSCompiler_temp = !0))
13509                : (JSCompiler_temp = !1);
13510              JSCompiler_temp = !JSCompiler_temp;
13511            }
13512            JSCompiler_temp &&
13513              (warnNonHydratedInstance(
13514                workInProgress,
13515                JSCompiler_object_inline_message_2450
13516              ),
13517              throwOnHydrationMismatch(workInProgress));
13518          }
13519          JSCompiler_object_inline_message_2450 = workInProgress.memoizedState;
13520          if (
13521            null !== JSCompiler_object_inline_message_2450 &&
13522            ((JSCompiler_object_inline_message_2450 =
13523              JSCompiler_object_inline_message_2450.dehydrated),
13524            null !== JSCompiler_object_inline_message_2450)
13525          )
13526            return (
13527              isSuspenseInstanceFallback(JSCompiler_object_inline_message_2450)
13528                ? (workInProgress.lanes = 32)
13529                : (workInProgress.lanes = 536870912),
13530              null
13531            );
13532          popSuspenseHandler(workInProgress);
13533        }
13534        JSCompiler_object_inline_message_2450 =
13535          JSCompiler_object_inline_stack_2452.children;
13536        JSCompiler_object_inline_stack_2452 =
13537          JSCompiler_object_inline_stack_2452.fallback;
13538        if (JSCompiler_object_inline_componentStack_2453)
13539          return (
13540            reuseSuspenseHandlerOnStack(workInProgress),
13541            (JSCompiler_object_inline_componentStack_2453 =
13542              workInProgress.mode),
13543            (JSCompiler_object_inline_message_2450 =
13544              mountWorkInProgressOffscreenFiber(
13545                {
13546                  mode: "hidden",
13547                  children: JSCompiler_object_inline_message_2450
13548                },
13549                JSCompiler_object_inline_componentStack_2453
13550              )),
13551            (JSCompiler_object_inline_stack_2452 = createFiberFromFragment(
13552              JSCompiler_object_inline_stack_2452,
13553              JSCompiler_object_inline_componentStack_2453,
13554              renderLanes,
13555              null
13556            )),
13557            (JSCompiler_object_inline_message_2450.return = workInProgress),
13558            (JSCompiler_object_inline_stack_2452.return = workInProgress),
13559            (JSCompiler_object_inline_message_2450.sibling =
13560              JSCompiler_object_inline_stack_2452),
13561            (workInProgress.child = JSCompiler_object_inline_message_2450),
13562            (JSCompiler_object_inline_componentStack_2453 =
13563              workInProgress.child),
13564            (JSCompiler_object_inline_componentStack_2453.memoizedState =
13565              mountSuspenseOffscreenState(renderLanes)),
13566            (JSCompiler_object_inline_componentStack_2453.childLanes =
13567              getRemainingWorkInPrimaryTree(
13568                current,
13569                JSCompiler_object_inline_digest_2451,
13570                renderLanes
13571              )),
13572            (workInProgress.memoizedState = SUSPENDED_MARKER),
13573            JSCompiler_object_inline_stack_2452
13574          );
13575        pushPrimaryTreeSuspenseHandler(workInProgress);
13576        return mountSuspensePrimaryChildren(
13577          workInProgress,
13578          JSCompiler_object_inline_message_2450
13579        );
13580      }
13581      var prevState = current.memoizedState;
13582      if (
13583        null !== prevState &&
13584        ((JSCompiler_object_inline_message_2450 = prevState.dehydrated),
13585        null !== JSCompiler_object_inline_message_2450)
13586      ) {
13587        if (didSuspend)
13588          workInProgress.flags & 256
13589            ? (pushPrimaryTreeSuspenseHandler(workInProgress),
13590              (workInProgress.flags &= -257),
13591              (workInProgress = retrySuspenseComponentWithoutHydrating(
13592                current,
13593                workInProgress,
13594                renderLanes
13595              )))
13596            : null !== workInProgress.memoizedState
13597              ? (reuseSuspenseHandlerOnStack(workInProgress),
13598                (workInProgress.child = current.child),
13599                (workInProgress.flags |= 128),
13600                (workInProgress = null))
13601              : (reuseSuspenseHandlerOnStack(workInProgress),
13602                (JSCompiler_object_inline_componentStack_2453 =
13603                  JSCompiler_object_inline_stack_2452.fallback),
13604                (JSCompiler_object_inline_message_2450 = workInProgress.mode),
13605                (JSCompiler_object_inline_stack_2452 =
13606                  mountWorkInProgressOffscreenFiber(
13607                    {
13608                      mode: "visible",
13609                      children: JSCompiler_object_inline_stack_2452.children
13610                    },
13611                    JSCompiler_object_inline_message_2450
13612                  )),
13613                (JSCompiler_object_inline_componentStack_2453 =
13614                  createFiberFromFragment(
13615                    JSCompiler_object_inline_componentStack_2453,
13616                    JSCompiler_object_inline_message_2450,
13617                    renderLanes,
13618                    null
13619                  )),
13620                (JSCompiler_object_inline_componentStack_2453.flags |= 2),
13621                (JSCompiler_object_inline_stack_2452.return = workInProgress),
13622                (JSCompiler_object_inline_componentStack_2453.return =
13623                  workInProgress),
13624                (JSCompiler_object_inline_stack_2452.sibling =
13625                  JSCompiler_object_inline_componentStack_2453),
13626                (workInProgress.child = JSCompiler_object_inline_stack_2452),
13627                reconcileChildFibers(
13628                  workInProgress,
13629                  current.child,
13630                  null,
13631                  renderLanes
13632                ),
13633                (JSCompiler_object_inline_stack_2452 = workInProgress.child),
13634                (JSCompiler_object_inline_stack_2452.memoizedState =
13635                  mountSuspenseOffscreenState(renderLanes)),
13636                (JSCompiler_object_inline_stack_2452.childLanes =
13637                  getRemainingWorkInPrimaryTree(
13638                    current,
13639                    JSCompiler_object_inline_digest_2451,
13640                    renderLanes
13641                  )),
13642                (workInProgress.memoizedState = SUSPENDED_MARKER),
13643                (workInProgress =
13644                  JSCompiler_object_inline_componentStack_2453));
13645        else if (
13646          (pushPrimaryTreeSuspenseHandler(workInProgress),
13647          isHydrating &&
13648            console.error(
13649              "We should not be hydrating here. This is a bug in React. Please file a bug."
13650            ),
13651          isSuspenseInstanceFallback(JSCompiler_object_inline_message_2450))
13652        ) {
13653          JSCompiler_object_inline_digest_2451 =
13654            JSCompiler_object_inline_message_2450.nextSibling &&
13655            JSCompiler_object_inline_message_2450.nextSibling.dataset;
13656          if (JSCompiler_object_inline_digest_2451) {
13657            JSCompiler_temp = JSCompiler_object_inline_digest_2451.dgst;
13658            var message = JSCompiler_object_inline_digest_2451.msg;
13659            instance = JSCompiler_object_inline_digest_2451.stck;
13660            var componentStack = JSCompiler_object_inline_digest_2451.cstck;
13661          }
13662          JSCompiler_object_inline_message_2450 = message;
13663          JSCompiler_object_inline_digest_2451 = JSCompiler_temp;
13664          JSCompiler_object_inline_stack_2452 = instance;
13665          JSCompiler_temp = JSCompiler_object_inline_componentStack_2453 =
13666            componentStack;
13667          JSCompiler_object_inline_componentStack_2453 =
13668            JSCompiler_object_inline_message_2450
13669              ? Error(JSCompiler_object_inline_message_2450)
13670              : Error(
13671                  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
13672                );
13673          JSCompiler_object_inline_componentStack_2453.stack =
13674            JSCompiler_object_inline_stack_2452 || "";
13675          JSCompiler_object_inline_componentStack_2453.digest =
13676            JSCompiler_object_inline_digest_2451;
13677          JSCompiler_object_inline_digest_2451 =
13678            void 0 === JSCompiler_temp ? null : JSCompiler_temp;
13679          JSCompiler_object_inline_stack_2452 = {
13680            value: JSCompiler_object_inline_componentStack_2453,
13681            source: null,
13682            stack: JSCompiler_object_inline_digest_2451
13683          };
13684          "string" === typeof JSCompiler_object_inline_digest_2451 &&
13685            CapturedStacks.set(
13686              JSCompiler_object_inline_componentStack_2453,
13687              JSCompiler_object_inline_stack_2452
13688            );
13689          queueHydrationError(JSCompiler_object_inline_stack_2452);
13690          workInProgress = retrySuspenseComponentWithoutHydrating(
13691            current,
13692            workInProgress,
13693            renderLanes
13694          );
13695        } else if (
13696          (didReceiveUpdate ||
13697            propagateParentContextChanges(
13698              current,
13699              workInProgress,
13700              renderLanes,
13701              !1
13702            ),
13703          (JSCompiler_object_inline_digest_2451 =
13704            0 !== (renderLanes & current.childLanes)),
13705          didReceiveUpdate || JSCompiler_object_inline_digest_2451)
13706        ) {
13707          JSCompiler_object_inline_digest_2451 = workInProgressRoot;
13708          if (
13709            null !== JSCompiler_object_inline_digest_2451 &&
13710            ((JSCompiler_object_inline_stack_2452 = renderLanes & -renderLanes),
13711            (JSCompiler_object_inline_stack_2452 =
13712              0 !== (JSCompiler_object_inline_stack_2452 & 42)
13713                ? 1
13714                : getBumpedLaneForHydrationByLane(
13715                    JSCompiler_object_inline_stack_2452
13716                  )),
13717            (JSCompiler_object_inline_stack_2452 =
13718              0 !==
13719              (JSCompiler_object_inline_stack_2452 &
13720                (JSCompiler_object_inline_digest_2451.suspendedLanes |
13721                  renderLanes))
13722                ? 0
13723                : JSCompiler_object_inline_stack_2452),
13724            0 !== JSCompiler_object_inline_stack_2452 &&
13725              JSCompiler_object_inline_stack_2452 !== prevState.retryLane)
13726          )
13727            throw (
13728              ((prevState.retryLane = JSCompiler_object_inline_stack_2452),
13729              enqueueConcurrentRenderForLane(
13730                current,
13731                JSCompiler_object_inline_stack_2452
13732              ),
13733              scheduleUpdateOnFiber(
13734                JSCompiler_object_inline_digest_2451,
13735                current,
13736                JSCompiler_object_inline_stack_2452
13737              ),
13738              SelectiveHydrationException)
13739            );
13740          JSCompiler_object_inline_message_2450.data ===
13741            SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
13742          workInProgress = retrySuspenseComponentWithoutHydrating(
13743            current,
13744            workInProgress,
13745            renderLanes
13746          );
13747        } else
13748          JSCompiler_object_inline_message_2450.data ===
13749          SUSPENSE_PENDING_START_DATA
13750            ? ((workInProgress.flags |= 192),
13751              (workInProgress.child = current.child),
13752              (workInProgress = null))
13753            : ((current = prevState.treeContext),
13754              (nextHydratableInstance = getNextHydratable(
13755                JSCompiler_object_inline_message_2450.nextSibling
13756              )),
13757              (hydrationParentFiber = workInProgress),
13758              (isHydrating = !0),
13759              (hydrationErrors = null),
13760              (didSuspendOrErrorDEV = !1),
13761              (hydrationDiffRootDEV = null),
13762              (rootOrSingletonContext = !1),
13763              null !== current &&
13764                (warnIfNotHydrating(),
13765                (idStack[idStackIndex++] = treeContextId),
13766                (idStack[idStackIndex++] = treeContextOverflow),
13767                (idStack[idStackIndex++] = treeContextProvider),
13768                (treeContextId = current.id),
13769                (treeContextOverflow = current.overflow),
13770                (treeContextProvider = workInProgress)),
13771              (workInProgress = mountSuspensePrimaryChildren(
13772                workInProgress,
13773                JSCompiler_object_inline_stack_2452.children
13774              )),
13775              (workInProgress.flags |= 4096));
13776        return workInProgress;
13777      }
13778      if (JSCompiler_object_inline_componentStack_2453)
13779        return (
13780          reuseSuspenseHandlerOnStack(workInProgress),
13781          (JSCompiler_object_inline_componentStack_2453 =
13782            JSCompiler_object_inline_stack_2452.fallback),
13783          (JSCompiler_object_inline_message_2450 = workInProgress.mode),
13784          (JSCompiler_temp = current.child),
13785          (instance = JSCompiler_temp.sibling),
13786          (JSCompiler_object_inline_stack_2452 = createWorkInProgress(
13787            JSCompiler_temp,
13788            {
13789              mode: "hidden",
13790              children: JSCompiler_object_inline_stack_2452.children
13791            }
13792          )),
13793          (JSCompiler_object_inline_stack_2452.subtreeFlags =
13794            JSCompiler_temp.subtreeFlags & 65011712),
13795          null !== instance
13796            ? (JSCompiler_object_inline_componentStack_2453 =
13797                createWorkInProgress(
13798                  instance,
13799                  JSCompiler_object_inline_componentStack_2453
13800                ))
13801            : ((JSCompiler_object_inline_componentStack_2453 =
13802                createFiberFromFragment(
13803                  JSCompiler_object_inline_componentStack_2453,
13804                  JSCompiler_object_inline_message_2450,
13805                  renderLanes,
13806                  null
13807                )),
13808              (JSCompiler_object_inline_componentStack_2453.flags |= 2)),
13809          (JSCompiler_object_inline_componentStack_2453.return =
13810            workInProgress),
13811          (JSCompiler_object_inline_stack_2452.return = workInProgress),
13812          (JSCompiler_object_inline_stack_2452.sibling =
13813            JSCompiler_object_inline_componentStack_2453),
13814          (workInProgress.child = JSCompiler_object_inline_stack_2452),
13815          (JSCompiler_object_inline_stack_2452 =
13816            JSCompiler_object_inline_componentStack_2453),
13817          (JSCompiler_object_inline_componentStack_2453 = workInProgress.child),
13818          (JSCompiler_object_inline_message_2450 = current.child.memoizedState),
13819          null === JSCompiler_object_inline_message_2450
13820            ? (JSCompiler_object_inline_message_2450 =
13821                mountSuspenseOffscreenState(renderLanes))
13822            : ((JSCompiler_temp =
13823                JSCompiler_object_inline_message_2450.cachePool),
13824              null !== JSCompiler_temp
13825                ? ((instance = CacheContext._currentValue),
13826                  (JSCompiler_temp =
13827                    JSCompiler_temp.parent !== instance
13828                      ? { parent: instance, pool: instance }
13829                      : JSCompiler_temp))
13830                : (JSCompiler_temp = getSuspendedCache()),
13831              (JSCompiler_object_inline_message_2450 = {
13832                baseLanes:
13833                  JSCompiler_object_inline_message_2450.baseLanes | renderLanes,
13834                cachePool: JSCompiler_temp
13835              })),
13836          (JSCompiler_object_inline_componentStack_2453.memoizedState =
13837            JSCompiler_object_inline_message_2450),
13838          (JSCompiler_object_inline_componentStack_2453.childLanes =
13839            getRemainingWorkInPrimaryTree(
13840              current,
13841              JSCompiler_object_inline_digest_2451,
13842              renderLanes
13843            )),
13844          (workInProgress.memoizedState = SUSPENDED_MARKER),
13845          JSCompiler_object_inline_stack_2452
13846        );
13847      pushPrimaryTreeSuspenseHandler(workInProgress);
13848      renderLanes = current.child;
13849      current = renderLanes.sibling;
13850      renderLanes = createWorkInProgress(renderLanes, {
13851        mode: "visible",
13852        children: JSCompiler_object_inline_stack_2452.children
13853      });
13854      renderLanes.return = workInProgress;
13855      renderLanes.sibling = null;
13856      null !== current &&
13857        ((JSCompiler_object_inline_digest_2451 = workInProgress.deletions),
13858        null === JSCompiler_object_inline_digest_2451
13859          ? ((workInProgress.deletions = [current]),
13860            (workInProgress.flags |= 16))
13861          : JSCompiler_object_inline_digest_2451.push(current));
13862      workInProgress.child = renderLanes;
13863      workInProgress.memoizedState = null;
13864      return renderLanes;
13865    }
13866    function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
13867      primaryChildren = mountWorkInProgressOffscreenFiber(
13868        { mode: "visible", children: primaryChildren },
13869        workInProgress.mode
13870      );
13871      primaryChildren.return = workInProgress;
13872      return (workInProgress.child = primaryChildren);
13873    }
13874    function mountWorkInProgressOffscreenFiber(offscreenProps, mode) {
13875      offscreenProps = createFiber(22, offscreenProps, null, mode);
13876      offscreenProps.lanes = 0;
13877      offscreenProps.stateNode = {
13878        _visibility: OffscreenVisible,
13879        _pendingMarkers: null,
13880        _retryCache: null,
13881        _transitions: null
13882      };
13883      return offscreenProps;
13884    }
13885    function retrySuspenseComponentWithoutHydrating(
13886      current,
13887      workInProgress,
13888      renderLanes
13889    ) {
13890      reconcileChildFibers(workInProgress, current.child, null, renderLanes);
13891      current = mountSuspensePrimaryChildren(
13892        workInProgress,
13893        workInProgress.pendingProps.children
13894      );
13895      current.flags |= 2;
13896      workInProgress.memoizedState = null;
13897      return current;
13898    }
13899    function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) {
13900      fiber.lanes |= renderLanes;
13901      var alternate = fiber.alternate;
13902      null !== alternate && (alternate.lanes |= renderLanes);
13903      scheduleContextWorkOnParentPath(
13904        fiber.return,
13905        renderLanes,
13906        propagationRoot
13907      );
13908    }
13909    function validateSuspenseListNestedChild(childSlot, index) {
13910      var isAnArray = isArrayImpl(childSlot);
13911      childSlot = !isAnArray && "function" === typeof getIteratorFn(childSlot);
13912      return isAnArray || childSlot
13913        ? ((isAnArray = isAnArray ? "array" : "iterable"),
13914          console.error(
13915            "A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",
13916            isAnArray,
13917            index,
13918            isAnArray
13919          ),
13920          !1)
13921        : !0;
13922    }
13923    function initSuspenseListRenderState(
13924      workInProgress,
13925      isBackwards,
13926      tail,
13927      lastContentRow,
13928      tailMode
13929    ) {
13930      var renderState = workInProgress.memoizedState;
13931      null === renderState
13932        ? (workInProgress.memoizedState = {
13933            isBackwards: isBackwards,
13934            rendering: null,
13935            renderingStartTime: 0,
13936            last: lastContentRow,
13937            tail: tail,
13938            tailMode: tailMode
13939          })
13940        : ((renderState.isBackwards = isBackwards),
13941          (renderState.rendering = null),
13942          (renderState.renderingStartTime = 0),
13943          (renderState.last = lastContentRow),
13944          (renderState.tail = tail),
13945          (renderState.tailMode = tailMode));
13946    }
13947    function updateSuspenseListComponent(current, workInProgress, renderLanes) {
13948      var nextProps = workInProgress.pendingProps,
13949        revealOrder = nextProps.revealOrder,
13950        tailMode = nextProps.tail;
13951      nextProps = nextProps.children;
13952      if (
13953        void 0 !== revealOrder &&
13954        "forwards" !== revealOrder &&
13955        "backwards" !== revealOrder &&
13956        "together" !== revealOrder &&
13957        !didWarnAboutRevealOrder[revealOrder]
13958      )
13959        if (
13960          ((didWarnAboutRevealOrder[revealOrder] = !0),
13961          "string" === typeof revealOrder)
13962        )
13963          switch (revealOrder.toLowerCase()) {
13964            case "together":
13965            case "forwards":
13966            case "backwards":
13967              console.error(
13968                '"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',
13969                revealOrder,
13970                revealOrder.toLowerCase()
13971              );
13972              break;
13973            case "forward":
13974            case "backward":
13975              console.error(
13976                '"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',
13977                revealOrder,
13978                revealOrder.toLowerCase()
13979              );
13980              break;
13981            default:
13982              console.error(
13983                '"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',
13984                revealOrder
13985              );
13986          }
13987        else
13988          console.error(
13989            '%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',
13990            revealOrder
13991          );
13992      void 0 === tailMode ||
13993        didWarnAboutTailOptions[tailMode] ||
13994        ("collapsed" !== tailMode && "hidden" !== tailMode
13995          ? ((didWarnAboutTailOptions[tailMode] = !0),
13996            console.error(
13997              '"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',
13998              tailMode
13999            ))
14000          : "forwards" !== revealOrder &&
14001            "backwards" !== revealOrder &&
14002            ((didWarnAboutTailOptions[tailMode] = !0),
14003            console.error(
14004              '<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',
14005              tailMode
14006            )));
14007      a: if (
14008        ("forwards" === revealOrder || "backwards" === revealOrder) &&
14009        void 0 !== nextProps &&
14010        null !== nextProps &&
14011        !1 !== nextProps
14012      )
14013        if (isArrayImpl(nextProps))
14014          for (var i = 0; i < nextProps.length; i++) {
14015            if (!validateSuspenseListNestedChild(nextProps[i], i)) break a;
14016          }
14017        else if (((i = getIteratorFn(nextProps)), "function" === typeof i)) {
14018          if ((i = i.call(nextProps)))
14019            for (var step = i.next(), _i = 0; !step.done; step = i.next()) {
14020              if (!validateSuspenseListNestedChild(step.value, _i)) break a;
14021              _i++;
14022            }
14023        } else
14024          console.error(
14025            'A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',
14026            revealOrder
14027          );
14028      reconcileChildren(current, workInProgress, nextProps, renderLanes);
14029      nextProps = suspenseStackCursor.current;
14030      if (0 !== (nextProps & ForceSuspenseFallback))
14031        (nextProps =
14032          (nextProps & SubtreeSuspenseContextMask) | ForceSuspenseFallback),
14033          (workInProgress.flags |= 128);
14034      else {
14035        if (null !== current && 0 !== (current.flags & 128))
14036          a: for (current = workInProgress.child; null !== current; ) {
14037            if (13 === current.tag)
14038              null !== current.memoizedState &&
14039                scheduleSuspenseWorkOnFiber(
14040                  current,
14041                  renderLanes,
14042                  workInProgress
14043                );
14044            else if (19 === current.tag)
14045              scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);
14046            else if (null !== current.child) {
14047              current.child.return = current;
14048              current = current.child;
14049              continue;
14050            }
14051            if (current === workInProgress) break a;
14052            for (; null === current.sibling; ) {
14053              if (null === current.return || current.return === workInProgress)
14054                break a;
14055              current = current.return;
14056            }
14057            current.sibling.return = current.return;
14058            current = current.sibling;
14059          }
14060        nextProps &= SubtreeSuspenseContextMask;
14061      }
14062      push(suspenseStackCursor, nextProps, workInProgress);
14063      switch (revealOrder) {
14064        case "forwards":
14065          renderLanes = workInProgress.child;
14066          for (revealOrder = null; null !== renderLanes; )
14067            (current = renderLanes.alternate),
14068              null !== current &&
14069                null === findFirstSuspended(current) &&
14070                (revealOrder = renderLanes),
14071              (renderLanes = renderLanes.sibling);
14072          renderLanes = revealOrder;
14073          null === renderLanes
14074            ? ((revealOrder = workInProgress.child),
14075              (workInProgress.child = null))
14076            : ((revealOrder = renderLanes.sibling),
14077              (renderLanes.sibling = null));
14078          initSuspenseListRenderState(
14079            workInProgress,
14080            !1,
14081            revealOrder,
14082            renderLanes,
14083            tailMode
14084          );
14085          break;
14086        case "backwards":
14087          renderLanes = null;
14088          revealOrder = workInProgress.child;
14089          for (workInProgress.child = null; null !== revealOrder; ) {
14090            current = revealOrder.alternate;
14091            if (null !== current && null === findFirstSuspended(current)) {
14092              workInProgress.child = revealOrder;
14093              break;
14094            }
14095            current = revealOrder.sibling;
14096            revealOrder.sibling = renderLanes;
14097            renderLanes = revealOrder;
14098            revealOrder = current;
14099          }
14100          initSuspenseListRenderState(
14101            workInProgress,
14102            !0,
14103            renderLanes,
14104            null,
14105            tailMode
14106          );
14107          break;
14108        case "together":
14109          initSuspenseListRenderState(workInProgress, !1, null, null, void 0);
14110          break;
14111        default:
14112          workInProgress.memoizedState = null;
14113      }
14114      return workInProgress.child;
14115    }
14116    function bailoutOnAlreadyFinishedWork(
14117      current,
14118      workInProgress,
14119      renderLanes
14120    ) {
14121      null !== current && (workInProgress.dependencies = current.dependencies);
14122      profilerStartTime = -1;
14123      workInProgressRootSkippedLanes |= workInProgress.lanes;
14124      if (0 === (renderLanes & workInProgress.childLanes))
14125        if (null !== current) {
14126          if (
14127            (propagateParentContextChanges(
14128              current,
14129              workInProgress,
14130              renderLanes,
14131              !1
14132            ),
14133            0 === (renderLanes & workInProgress.childLanes))
14134          )
14135            return null;
14136        } else return null;
14137      if (null !== current && workInProgress.child !== current.child)
14138        throw Error("Resuming work not yet implemented.");
14139      if (null !== workInProgress.child) {
14140        current = workInProgress.child;
14141        renderLanes = createWorkInProgress(current, current.pendingProps);
14142        workInProgress.child = renderLanes;
14143        for (renderLanes.return = workInProgress; null !== current.sibling; )
14144          (current = current.sibling),
14145            (renderLanes = renderLanes.sibling =
14146              createWorkInProgress(current, current.pendingProps)),
14147            (renderLanes.return = workInProgress);
14148        renderLanes.sibling = null;
14149      }
14150      return workInProgress.child;
14151    }
14152    function checkScheduledUpdateOrContext(current, renderLanes) {
14153      if (0 !== (current.lanes & renderLanes)) return !0;
14154      current = current.dependencies;
14155      return null !== current && checkIfContextChanged(current) ? !0 : !1;
14156    }
14157    function attemptEarlyBailoutIfNoScheduledUpdate(
14158      current,
14159      workInProgress,
14160      renderLanes
14161    ) {
14162      switch (workInProgress.tag) {
14163        case 3:
14164          pushHostContainer(
14165            workInProgress,
14166            workInProgress.stateNode.containerInfo
14167          );
14168          pushProvider(
14169            workInProgress,
14170            CacheContext,
14171            current.memoizedState.cache
14172          );
14173          resetHydrationState();
14174          break;
14175        case 27:
14176        case 5:
14177          pushHostContext(workInProgress);
14178          break;
14179        case 4:
14180          pushHostContainer(
14181            workInProgress,
14182            workInProgress.stateNode.containerInfo
14183          );
14184          break;
14185        case 10:
14186          pushProvider(
14187            workInProgress,
14188            workInProgress.type,
14189            workInProgress.memoizedProps.value
14190          );
14191          break;
14192        case 12:
14193          0 !== (renderLanes & workInProgress.childLanes) &&
14194            (workInProgress.flags |= 4);
14195          workInProgress.flags |= 2048;
14196          var stateNode = workInProgress.stateNode;
14197          stateNode.effectDuration = -0;
14198          stateNode.passiveEffectDuration = -0;
14199          break;
14200        case 13:
14201          stateNode = workInProgress.memoizedState;
14202          if (null !== stateNode) {
14203            if (null !== stateNode.dehydrated)
14204              return (
14205                pushPrimaryTreeSuspenseHandler(workInProgress),
14206                (workInProgress.flags |= 128),
14207                null
14208              );
14209            if (0 !== (renderLanes & workInProgress.child.childLanes))
14210              return updateSuspenseComponent(
14211                current,
14212                workInProgress,
14213                renderLanes
14214              );
14215            pushPrimaryTreeSuspenseHandler(workInProgress);
14216            current = bailoutOnAlreadyFinishedWork(
14217              current,
14218              workInProgress,
14219              renderLanes
14220            );
14221            return null !== current ? current.sibling : null;
14222          }
14223          pushPrimaryTreeSuspenseHandler(workInProgress);
14224          break;
14225        case 19:
14226          var didSuspendBefore = 0 !== (current.flags & 128);
14227          stateNode = 0 !== (renderLanes & workInProgress.childLanes);
14228          stateNode ||
14229            (propagateParentContextChanges(
14230              current,
14231              workInProgress,
14232              renderLanes,
14233              !1
14234            ),
14235            (stateNode = 0 !== (renderLanes & workInProgress.childLanes)));
14236          if (didSuspendBefore) {
14237            if (stateNode)
14238              return updateSuspenseListComponent(
14239                current,
14240                workInProgress,
14241                renderLanes
14242              );
14243            workInProgress.flags |= 128;
14244          }
14245          didSuspendBefore = workInProgress.memoizedState;
14246          null !== didSuspendBefore &&
14247            ((didSuspendBefore.rendering = null),
14248            (didSuspendBefore.tail = null),
14249            (didSuspendBefore.lastEffect = null));
14250          push(
14251            suspenseStackCursor,
14252            suspenseStackCursor.current,
14253            workInProgress
14254          );
14255          if (stateNode) break;
14256          else return null;
14257        case 22:
14258        case 23:
14259          return (
14260            (workInProgress.lanes = 0),
14261            updateOffscreenComponent(current, workInProgress, renderLanes)
14262          );
14263        case 24:
14264          pushProvider(
14265            workInProgress,
14266            CacheContext,
14267            current.memoizedState.cache
14268          );
14269      }
14270      return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
14271    }
14272    function beginWork(current, workInProgress, renderLanes) {
14273      if (workInProgress._debugNeedsRemount && null !== current) {
14274        renderLanes = createFiberFromTypeAndProps(
14275          workInProgress.type,
14276          workInProgress.key,
14277          workInProgress.pendingProps,
14278          workInProgress._debugOwner || null,
14279          workInProgress.mode,
14280          workInProgress.lanes
14281        );
14282        renderLanes._debugStack = workInProgress._debugStack;
14283        renderLanes._debugTask = workInProgress._debugTask;
14284        var returnFiber = workInProgress.return;
14285        if (null === returnFiber) throw Error("Cannot swap the root fiber.");
14286        current.alternate = null;
14287        workInProgress.alternate = null;
14288        renderLanes.index = workInProgress.index;
14289        renderLanes.sibling = workInProgress.sibling;
14290        renderLanes.return = workInProgress.return;
14291        renderLanes.ref = workInProgress.ref;
14292        renderLanes._debugInfo = workInProgress._debugInfo;
14293        if (workInProgress === returnFiber.child)
14294          returnFiber.child = renderLanes;
14295        else {
14296          var prevSibling = returnFiber.child;
14297          if (null === prevSibling)
14298            throw Error("Expected parent to have a child.");
14299          for (; prevSibling.sibling !== workInProgress; )
14300            if (((prevSibling = prevSibling.sibling), null === prevSibling))
14301              throw Error("Expected to find the previous sibling.");
14302          prevSibling.sibling = renderLanes;
14303        }
14304        workInProgress = returnFiber.deletions;
14305        null === workInProgress
14306          ? ((returnFiber.deletions = [current]), (returnFiber.flags |= 16))
14307          : workInProgress.push(current);
14308        renderLanes.flags |= 2;
14309        return renderLanes;
14310      }
14311      if (null !== current)
14312        if (
14313          current.memoizedProps !== workInProgress.pendingProps ||
14314          workInProgress.type !== current.type
14315        )
14316          didReceiveUpdate = !0;
14317        else {
14318          if (
14319            !checkScheduledUpdateOrContext(current, renderLanes) &&
14320            0 === (workInProgress.flags & 128)
14321          )
14322            return (
14323              (didReceiveUpdate = !1),
14324              attemptEarlyBailoutIfNoScheduledUpdate(
14325                current,
14326                workInProgress,
14327                renderLanes
14328              )
14329            );
14330          didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1;
14331        }
14332      else {
14333        didReceiveUpdate = !1;
14334        if ((returnFiber = isHydrating))
14335          warnIfNotHydrating(),
14336            (returnFiber = 0 !== (workInProgress.flags & 1048576));
14337        returnFiber &&
14338          ((returnFiber = workInProgress.index),
14339          warnIfNotHydrating(),
14340          pushTreeId(workInProgress, treeForkCount, returnFiber));
14341      }
14342      workInProgress.lanes = 0;
14343      switch (workInProgress.tag) {
14344        case 16:
14345          a: if (
14346            ((returnFiber = workInProgress.pendingProps),
14347            (current = callLazyInitInDEV(workInProgress.elementType)),
14348            (workInProgress.type = current),
14349            "function" === typeof current)
14350          )
14351            shouldConstruct(current)
14352              ? ((returnFiber = resolveClassComponentProps(
14353                  current,
14354                  returnFiber
14355                )),
14356                (workInProgress.tag = 1),
14357                (workInProgress.type = current =
14358                  resolveFunctionForHotReloading(current)),
14359                (workInProgress = updateClassComponent(
14360                  null,
14361                  workInProgress,
14362                  current,
14363                  returnFiber,
14364                  renderLanes
14365                )))
14366              : ((workInProgress.tag = 0),
14367                validateFunctionComponentInDev(workInProgress, current),
14368                (workInProgress.type = current =
14369                  resolveFunctionForHotReloading(current)),
14370                (workInProgress = updateFunctionComponent(
14371                  null,
14372                  workInProgress,
14373                  current,
14374                  returnFiber,
14375                  renderLanes
14376                )));
14377          else {
14378            if (void 0 !== current && null !== current)
14379              if (
14380                ((prevSibling = current.$$typeof),
14381                prevSibling === REACT_FORWARD_REF_TYPE)
14382              ) {
14383                workInProgress.tag = 11;
14384                workInProgress.type = current =
14385                  resolveForwardRefForHotReloading(current);
14386                workInProgress = updateForwardRef(
14387                  null,
14388                  workInProgress,
14389                  current,
14390                  returnFiber,
14391                  renderLanes
14392                );
14393                break a;
14394              } else if (prevSibling === REACT_MEMO_TYPE) {
14395                workInProgress.tag = 14;
14396                workInProgress = updateMemoComponent(
14397                  null,
14398                  workInProgress,
14399                  current,
14400                  returnFiber,
14401                  renderLanes
14402                );
14403                break a;
14404              }
14405            workInProgress = "";
14406            null !== current &&
14407              "object" === typeof current &&
14408              current.$$typeof === REACT_LAZY_TYPE &&
14409              (workInProgress =
14410                " Did you wrap a component in React.lazy() more than once?");
14411            current = getComponentNameFromType(current) || current;
14412            throw Error(
14413              "Element type is invalid. Received a promise that resolves to: " +
14414                current +
14415                ". Lazy element type must resolve to a class or function." +
14416                workInProgress
14417            );
14418          }
14419          return workInProgress;
14420        case 0:
14421          return updateFunctionComponent(
14422            current,
14423            workInProgress,
14424            workInProgress.type,
14425            workInProgress.pendingProps,
14426            renderLanes
14427          );
14428        case 1:
14429          return (
14430            (returnFiber = workInProgress.type),
14431            (prevSibling = resolveClassComponentProps(
14432              returnFiber,
14433              workInProgress.pendingProps
14434            )),
14435            updateClassComponent(
14436              current,
14437              workInProgress,
14438              returnFiber,
14439              prevSibling,
14440              renderLanes
14441            )
14442          );
14443        case 3:
14444          a: {
14445            pushHostContainer(
14446              workInProgress,
14447              workInProgress.stateNode.containerInfo
14448            );
14449            if (null === current)
14450              throw Error(
14451                "Should have a current fiber. This is a bug in React."
14452              );
14453            returnFiber = workInProgress.pendingProps;
14454            var prevState = workInProgress.memoizedState;
14455            prevSibling = prevState.element;
14456            cloneUpdateQueue(current, workInProgress);
14457            processUpdateQueue(workInProgress, returnFiber, null, renderLanes);
14458            var nextState = workInProgress.memoizedState;
14459            returnFiber = nextState.cache;
14460            pushProvider(workInProgress, CacheContext, returnFiber);
14461            returnFiber !== prevState.cache &&
14462              propagateContextChanges(
14463                workInProgress,
14464                [CacheContext],
14465                renderLanes,
14466                !0
14467              );
14468            suspendIfUpdateReadFromEntangledAsyncAction();
14469            returnFiber = nextState.element;
14470            if (prevState.isDehydrated)
14471              if (
14472                ((prevState = {
14473                  element: returnFiber,
14474                  isDehydrated: !1,
14475                  cache: nextState.cache
14476                }),
14477                (workInProgress.updateQueue.baseState = prevState),
14478                (workInProgress.memoizedState = prevState),
14479                workInProgress.flags & 256)
14480              ) {
14481                workInProgress = mountHostRootWithoutHydrating(
14482                  current,
14483                  workInProgress,
14484                  returnFiber,
14485                  renderLanes
14486                );
14487                break a;
14488              } else if (returnFiber !== prevSibling) {
14489                prevSibling = createCapturedValueAtFiber(
14490                  Error(
14491                    "This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."
14492                  ),
14493                  workInProgress
14494                );
14495                queueHydrationError(prevSibling);
14496                workInProgress = mountHostRootWithoutHydrating(
14497                  current,
14498                  workInProgress,
14499                  returnFiber,
14500                  renderLanes
14501                );
14502                break a;
14503              } else {
14504                current = workInProgress.stateNode.containerInfo;
14505                switch (current.nodeType) {
14506                  case 9:
14507                    current = current.body;
14508                    break;
14509                  default:
14510                    current =
14511                      "HTML" === current.nodeName
14512                        ? current.ownerDocument.body
14513                        : current;
14514                }
14515                nextHydratableInstance = getNextHydratable(current.firstChild);
14516                hydrationParentFiber = workInProgress;
14517                isHydrating = !0;
14518                hydrationErrors = null;
14519                didSuspendOrErrorDEV = !1;
14520                hydrationDiffRootDEV = null;
14521                rootOrSingletonContext = !0;
14522                current = mountChildFibers(
14523                  workInProgress,
14524                  null,
14525                  returnFiber,
14526                  renderLanes
14527                );
14528                for (workInProgress.child = current; current; )
14529                  (current.flags = (current.flags & -3) | 4096),
14530                    (current = current.sibling);
14531              }
14532            else {
14533              resetHydrationState();
14534              if (returnFiber === prevSibling) {
14535                workInProgress = bailoutOnAlreadyFinishedWork(
14536                  current,
14537                  workInProgress,
14538                  renderLanes
14539                );
14540                break a;
14541              }
14542              reconcileChildren(
14543                current,
14544                workInProgress,
14545                returnFiber,
14546                renderLanes
14547              );
14548            }
14549            workInProgress = workInProgress.child;
14550          }
14551          return workInProgress;
14552        case 26:
14553          return (
14554            markRef(current, workInProgress),
14555            null === current
14556              ? (current = getResource(
14557                  workInProgress.type,
14558                  null,
14559                  workInProgress.pendingProps,
14560                  null
14561                ))
14562                ? (workInProgress.memoizedState = current)
14563                : isHydrating ||
14564                  ((current = workInProgress.type),
14565                  (renderLanes = workInProgress.pendingProps),
14566                  (returnFiber = requiredContext(
14567                    rootInstanceStackCursor.current
14568                  )),
14569                  (returnFiber =
14570                    getOwnerDocumentFromRootContainer(
14571                      returnFiber
14572                    ).createElement(current)),
14573                  (returnFiber[internalInstanceKey] = workInProgress),
14574                  (returnFiber[internalPropsKey] = renderLanes),
14575                  setInitialProperties(returnFiber, current, renderLanes),
14576                  markNodeAsHoistable(returnFiber),
14577                  (workInProgress.stateNode = returnFiber))
14578              : (workInProgress.memoizedState = getResource(
14579                  workInProgress.type,
14580                  current.memoizedProps,
14581                  workInProgress.pendingProps,
14582                  current.memoizedState
14583                )),
14584            null
14585          );
14586        case 27:
14587          return (
14588            pushHostContext(workInProgress),
14589            null === current &&
14590              isHydrating &&
14591              ((returnFiber = requiredContext(rootInstanceStackCursor.current)),
14592              (prevSibling = getHostContext()),
14593              (returnFiber = workInProgress.stateNode =
14594                resolveSingletonInstance(
14595                  workInProgress.type,
14596                  workInProgress.pendingProps,
14597                  returnFiber,
14598                  prevSibling,
14599                  !1
14600                )),
14601              didSuspendOrErrorDEV ||
14602                ((prevSibling = diffHydratedProperties(
14603                  returnFiber,
14604                  workInProgress.type,
14605                  workInProgress.pendingProps,
14606                  prevSibling
14607                )),
14608                null !== prevSibling &&
14609                  (buildHydrationDiffNode(workInProgress, 0).serverProps =
14610                    prevSibling)),
14611              (hydrationParentFiber = workInProgress),
14612              (rootOrSingletonContext = !0),
14613              (prevSibling = nextHydratableInstance),
14614              isSingletonScope(workInProgress.type)
14615                ? ((previousHydratableOnEnteringScopedSingleton = prevSibling),
14616                  (nextHydratableInstance = getNextHydratable(
14617                    returnFiber.firstChild
14618                  )))
14619                : (nextHydratableInstance = prevSibling)),
14620            reconcileChildren(
14621              current,
14622              workInProgress,
14623              workInProgress.pendingProps.children,
14624              renderLanes
14625            ),
14626            markRef(current, workInProgress),
14627            null === current && (workInProgress.flags |= 4194304),
14628            workInProgress.child
14629          );
14630        case 5:
14631          return (
14632            null === current &&
14633              isHydrating &&
14634              ((prevState = getHostContext()),
14635              (returnFiber = validateDOMNesting(
14636                workInProgress.type,
14637                prevState.ancestorInfo
14638              )),
14639              (prevSibling = nextHydratableInstance),
14640              (nextState = !prevSibling) ||
14641                ((nextState = canHydrateInstance(
14642                  prevSibling,
14643                  workInProgress.type,
14644                  workInProgress.pendingProps,
14645                  rootOrSingletonContext
14646                )),
14647                null !== nextState
14648                  ? ((workInProgress.stateNode = nextState),
14649                    didSuspendOrErrorDEV ||
14650                      ((prevState = diffHydratedProperties(
14651                        nextState,
14652                        workInProgress.type,
14653                        workInProgress.pendingProps,
14654                        prevState
14655                      )),
14656                      null !== prevState &&
14657                        (buildHydrationDiffNode(workInProgress, 0).serverProps =
14658                          prevState)),
14659                    (hydrationParentFiber = workInProgress),
14660                    (nextHydratableInstance = getNextHydratable(
14661                      nextState.firstChild
14662                    )),
14663                    (rootOrSingletonContext = !1),
14664                    (prevState = !0))
14665                  : (prevState = !1),
14666                (nextState = !prevState)),
14667              nextState &&
14668                (returnFiber &&
14669                  warnNonHydratedInstance(workInProgress, prevSibling),
14670                throwOnHydrationMismatch(workInProgress))),
14671            pushHostContext(workInProgress),
14672            (prevSibling = workInProgress.type),
14673            (prevState = workInProgress.pendingProps),
14674            (nextState = null !== current ? current.memoizedProps : null),
14675            (returnFiber = prevState.children),
14676            shouldSetTextContent(prevSibling, prevState)
14677              ? (returnFiber = null)
14678              : null !== nextState &&
14679                shouldSetTextContent(prevSibling, nextState) &&
14680                (workInProgress.flags |= 32),
14681            null !== workInProgress.memoizedState &&
14682              ((prevSibling = renderWithHooks(
14683                current,
14684                workInProgress,
14685                TransitionAwareHostComponent,
14686                null,
14687                null,
14688                renderLanes
14689              )),
14690              (HostTransitionContext._currentValue = prevSibling)),
14691            markRef(current, workInProgress),
14692            reconcileChildren(
14693              current,
14694              workInProgress,
14695              returnFiber,
14696              renderLanes
14697            ),
14698            workInProgress.child
14699          );
14700        case 6:
14701          return (
14702            null === current &&
14703              isHydrating &&
14704              ((current = workInProgress.pendingProps),
14705              (renderLanes = getHostContext()),
14706              (returnFiber = renderLanes.ancestorInfo.current),
14707              (current =
14708                null != returnFiber
14709                  ? validateTextNesting(
14710                      current,
14711                      returnFiber.tag,
14712                      renderLanes.ancestorInfo.implicitRootScope
14713                    )
14714                  : !0),
14715              (renderLanes = nextHydratableInstance),
14716              (returnFiber = !renderLanes) ||
14717                ((returnFiber = canHydrateTextInstance(
14718                  renderLanes,
14719                  workInProgress.pendingProps,
14720                  rootOrSingletonContext
14721                )),
14722                null !== returnFiber
14723                  ? ((workInProgress.stateNode = returnFiber),
14724                    (hydrationParentFiber = workInProgress),
14725                    (nextHydratableInstance = null),
14726                    (returnFiber = !0))
14727                  : (returnFiber = !1),
14728                (returnFiber = !returnFiber)),
14729              returnFiber &&
14730                (current &&
14731                  warnNonHydratedInstance(workInProgress, renderLanes),
14732                throwOnHydrationMismatch(workInProgress))),
14733            null
14734          );
14735        case 13:
14736          return updateSuspenseComponent(current, workInProgress, renderLanes);
14737        case 4:
14738          return (
14739            pushHostContainer(
14740              workInProgress,
14741              workInProgress.stateNode.containerInfo
14742            ),
14743            (returnFiber = workInProgress.pendingProps),
14744            null === current
14745              ? (workInProgress.child = reconcileChildFibers(
14746                  workInProgress,
14747                  null,
14748                  returnFiber,
14749                  renderLanes
14750                ))
14751              : reconcileChildren(
14752                  current,
14753                  workInProgress,
14754                  returnFiber,
14755                  renderLanes
14756                ),
14757            workInProgress.child
14758          );
14759        case 11:
14760          return updateForwardRef(
14761            current,
14762            workInProgress,
14763            workInProgress.type,
14764            workInProgress.pendingProps,
14765            renderLanes
14766          );
14767        case 7:
14768          return (
14769            reconcileChildren(
14770              current,
14771              workInProgress,
14772              workInProgress.pendingProps,
14773              renderLanes
14774            ),
14775            workInProgress.child
14776          );
14777        case 8:
14778          return (
14779            reconcileChildren(
14780              current,
14781              workInProgress,
14782              workInProgress.pendingProps.children,
14783              renderLanes
14784            ),
14785            workInProgress.child
14786          );
14787        case 12:
14788          return (
14789            (workInProgress.flags |= 4),
14790            (workInProgress.flags |= 2048),
14791            (returnFiber = workInProgress.stateNode),
14792            (returnFiber.effectDuration = -0),
14793            (returnFiber.passiveEffectDuration = -0),
14794            reconcileChildren(
14795              current,
14796              workInProgress,
14797              workInProgress.pendingProps.children,
14798              renderLanes
14799            ),
14800            workInProgress.child
14801          );
14802        case 10:
14803          return (
14804            (returnFiber = workInProgress.type),
14805            (prevSibling = workInProgress.pendingProps),
14806            (prevState = prevSibling.value),
14807            "value" in prevSibling ||
14808              hasWarnedAboutUsingNoValuePropOnContextProvider ||
14809              ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0),
14810              console.error(
14811                "The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"
14812              )),
14813            pushProvider(workInProgress, returnFiber, prevState),
14814            reconcileChildren(
14815              current,
14816              workInProgress,
14817              prevSibling.children,
14818              renderLanes
14819            ),
14820            workInProgress.child
14821          );
14822        case 9:
14823          return (
14824            (prevSibling = workInProgress.type._context),
14825            (returnFiber = workInProgress.pendingProps.children),
14826            "function" !== typeof returnFiber &&
14827              console.error(
14828                "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."
14829              ),
14830            prepareToReadContext(workInProgress),
14831            (prevSibling = readContext(prevSibling)),
14832            markComponentRenderStarted(workInProgress),
14833            (returnFiber = callComponentInDEV(
14834              returnFiber,
14835              prevSibling,
14836              void 0
14837            )),
14838            markComponentRenderStopped(),
14839            (workInProgress.flags |= 1),
14840            reconcileChildren(
14841              current,
14842              workInProgress,
14843              returnFiber,
14844              renderLanes
14845            ),
14846            workInProgress.child
14847          );
14848        case 14:
14849          return updateMemoComponent(
14850            current,
14851            workInProgress,
14852            workInProgress.type,
14853            workInProgress.pendingProps,
14854            renderLanes
14855          );
14856        case 15:
14857          return updateSimpleMemoComponent(
14858            current,
14859            workInProgress,
14860            workInProgress.type,
14861            workInProgress.pendingProps,
14862            renderLanes
14863          );
14864        case 19:
14865          return updateSuspenseListComponent(
14866            current,
14867            workInProgress,
14868            renderLanes
14869          );
14870        case 31:
14871          return (
14872            (returnFiber = workInProgress.pendingProps),
14873            (renderLanes = workInProgress.mode),
14874            (returnFiber = {
14875              mode: returnFiber.mode,
14876              children: returnFiber.children
14877            }),
14878            null === current
14879              ? ((current = mountWorkInProgressOffscreenFiber(
14880                  returnFiber,
14881                  renderLanes
14882                )),
14883                (current.ref = workInProgress.ref),
14884                (workInProgress.child = current),
14885                (current.return = workInProgress),
14886                (workInProgress = current))
14887              : ((current = createWorkInProgress(current.child, returnFiber)),
14888                (current.ref = workInProgress.ref),
14889                (workInProgress.child = current),
14890                (current.return = workInProgress),
14891                (workInProgress = current)),
14892            workInProgress
14893          );
14894        case 22:
14895          return updateOffscreenComponent(current, workInProgress, renderLanes);
14896        case 24:
14897          return (
14898            prepareToReadContext(workInProgress),
14899            (returnFiber = readContext(CacheContext)),
14900            null === current
14901              ? ((prevSibling = peekCacheFromPool()),
14902                null === prevSibling &&
14903                  ((prevSibling = workInProgressRoot),
14904                  (prevState = createCache()),
14905                  (prevSibling.pooledCache = prevState),
14906                  retainCache(prevState),
14907                  null !== prevState &&
14908                    (prevSibling.pooledCacheLanes |= renderLanes),
14909                  (prevSibling = prevState)),
14910                (workInProgress.memoizedState = {
14911                  parent: returnFiber,
14912                  cache: prevSibling
14913                }),
14914                initializeUpdateQueue(workInProgress),
14915                pushProvider(workInProgress, CacheContext, prevSibling))
14916              : (0 !== (current.lanes & renderLanes) &&
14917                  (cloneUpdateQueue(current, workInProgress),
14918                  processUpdateQueue(workInProgress, null, null, renderLanes),
14919                  suspendIfUpdateReadFromEntangledAsyncAction()),
14920                (prevSibling = current.memoizedState),
14921                (prevState = workInProgress.memoizedState),
14922                prevSibling.parent !== returnFiber
14923                  ? ((prevSibling = {
14924                      parent: returnFiber,
14925                      cache: returnFiber
14926                    }),
14927                    (workInProgress.memoizedState = prevSibling),
14928                    0 === workInProgress.lanes &&
14929                      (workInProgress.memoizedState =
14930                        workInProgress.updateQueue.baseState =
14931                          prevSibling),
14932                    pushProvider(workInProgress, CacheContext, returnFiber))
14933                  : ((returnFiber = prevState.cache),
14934                    pushProvider(workInProgress, CacheContext, returnFiber),
14935                    returnFiber !== prevSibling.cache &&
14936                      propagateContextChanges(
14937                        workInProgress,
14938                        [CacheContext],
14939                        renderLanes,
14940                        !0
14941                      ))),
14942            reconcileChildren(
14943              current,
14944              workInProgress,
14945              workInProgress.pendingProps.children,
14946              renderLanes
14947            ),
14948            workInProgress.child
14949          );
14950        case 29:
14951          throw workInProgress.pendingProps;
14952      }
14953      throw Error(
14954        "Unknown unit of work tag (" +
14955          workInProgress.tag +
14956          "). This error is likely caused by a bug in React. Please file an issue."
14957      );
14958    }
14959    function markUpdate(workInProgress) {
14960      workInProgress.flags |= 4;
14961    }
14962    function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
14963      if (
14964        "stylesheet" !== resource.type ||
14965        (resource.state.loading & Inserted) !== NotLoaded
14966      )
14967        workInProgress.flags &= -16777217;
14968      else if (
14969        ((workInProgress.flags |= 16777216), !preloadResource(resource))
14970      ) {
14971        resource = suspenseHandlerStackCursor.current;
14972        if (
14973          null !== resource &&
14974          ((workInProgressRootRenderLanes & 4194048) ===
14975          workInProgressRootRenderLanes
14976            ? null !== shellBoundary
14977            : ((workInProgressRootRenderLanes & 62914560) !==
14978                workInProgressRootRenderLanes &&
14979                0 === (workInProgressRootRenderLanes & 536870912)) ||
14980              resource !== shellBoundary)
14981        )
14982          throw (
14983            ((suspendedThenable = noopSuspenseyCommitThenable),
14984            SuspenseyCommitException)
14985          );
14986        workInProgress.flags |= 8192;
14987      }
14988    }
14989    function scheduleRetryEffect(workInProgress, retryQueue) {
14990      null !== retryQueue && (workInProgress.flags |= 4);
14991      workInProgress.flags & 16384 &&
14992        ((retryQueue =
14993          22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
14994        (workInProgress.lanes |= retryQueue),
14995        (workInProgressSuspendedRetryLanes |= retryQueue));
14996    }
14997    function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
14998      if (!isHydrating)
14999        switch (renderState.tailMode) {
15000          case "hidden":
15001            hasRenderedATailFallback = renderState.tail;
15002            for (var lastTailNode = null; null !== hasRenderedATailFallback; )
15003              null !== hasRenderedATailFallback.alternate &&
15004                (lastTailNode = hasRenderedATailFallback),
15005                (hasRenderedATailFallback = hasRenderedATailFallback.sibling);
15006            null === lastTailNode
15007              ? (renderState.tail = null)
15008              : (lastTailNode.sibling = null);
15009            break;
15010          case "collapsed":
15011            lastTailNode = renderState.tail;
15012            for (var _lastTailNode = null; null !== lastTailNode; )
15013              null !== lastTailNode.alternate && (_lastTailNode = lastTailNode),
15014                (lastTailNode = lastTailNode.sibling);
15015            null === _lastTailNode
15016              ? hasRenderedATailFallback || null === renderState.tail
15017                ? (renderState.tail = null)
15018                : (renderState.tail.sibling = null)
15019              : (_lastTailNode.sibling = null);
15020        }
15021    }
15022    function bubbleProperties(completedWork) {
15023      var didBailout =
15024          null !== completedWork.alternate &&
15025          completedWork.alternate.child === completedWork.child,
15026        newChildLanes = 0,
15027        subtreeFlags = 0;
15028      if (didBailout)
15029        if ((completedWork.mode & ProfileMode) !== NoMode) {
15030          for (
15031            var _treeBaseDuration = completedWork.selfBaseDuration,
15032              _child2 = completedWork.child;
15033            null !== _child2;
15034
15035          )
15036            (newChildLanes |= _child2.lanes | _child2.childLanes),
15037              (subtreeFlags |= _child2.subtreeFlags & 65011712),
15038              (subtreeFlags |= _child2.flags & 65011712),
15039              (_treeBaseDuration += _child2.treeBaseDuration),
15040              (_child2 = _child2.sibling);
15041          completedWork.treeBaseDuration = _treeBaseDuration;
15042        } else
15043          for (
15044            _treeBaseDuration = completedWork.child;
15045            null !== _treeBaseDuration;
15046
15047          )
15048            (newChildLanes |=
15049              _treeBaseDuration.lanes | _treeBaseDuration.childLanes),
15050              (subtreeFlags |= _treeBaseDuration.subtreeFlags & 65011712),
15051              (subtreeFlags |= _treeBaseDuration.flags & 65011712),
15052              (_treeBaseDuration.return = completedWork),
15053              (_treeBaseDuration = _treeBaseDuration.sibling);
15054      else if ((completedWork.mode & ProfileMode) !== NoMode) {
15055        _treeBaseDuration = completedWork.actualDuration;
15056        _child2 = completedWork.selfBaseDuration;
15057        for (var child = completedWork.child; null !== child; )
15058          (newChildLanes |= child.lanes | child.childLanes),
15059            (subtreeFlags |= child.subtreeFlags),
15060            (subtreeFlags |= child.flags),
15061            (_treeBaseDuration += child.actualDuration),
15062            (_child2 += child.treeBaseDuration),
15063            (child = child.sibling);
15064        completedWork.actualDuration = _treeBaseDuration;
15065        completedWork.treeBaseDuration = _child2;
15066      } else
15067        for (
15068          _treeBaseDuration = completedWork.child;
15069          null !== _treeBaseDuration;
15070
15071        )
15072          (newChildLanes |=
15073            _treeBaseDuration.lanes | _treeBaseDuration.childLanes),
15074            (subtreeFlags |= _treeBaseDuration.subtreeFlags),
15075            (subtreeFlags |= _treeBaseDuration.flags),
15076            (_treeBaseDuration.return = completedWork),
15077            (_treeBaseDuration = _treeBaseDuration.sibling);
15078      completedWork.subtreeFlags |= subtreeFlags;
15079      completedWork.childLanes = newChildLanes;
15080      return didBailout;
15081    }
15082    function completeWork(current, workInProgress, renderLanes) {
15083      var newProps = workInProgress.pendingProps;
15084      popTreeContext(workInProgress);
15085      switch (workInProgress.tag) {
15086        case 31:
15087        case 16:
15088        case 15:
15089        case 0:
15090        case 11:
15091        case 7:
15092        case 8:
15093        case 12:
15094        case 9:
15095        case 14:
15096          return bubbleProperties(workInProgress), null;
15097        case 1:
15098          return bubbleProperties(workInProgress), null;
15099        case 3:
15100          renderLanes = workInProgress.stateNode;
15101          newProps = null;
15102          null !== current && (newProps = current.memoizedState.cache);
15103          workInProgress.memoizedState.cache !== newProps &&
15104            (workInProgress.flags |= 2048);
15105          popProvider(CacheContext, workInProgress);
15106          popHostContainer(workInProgress);
15107          renderLanes.pendingContext &&
15108            ((renderLanes.context = renderLanes.pendingContext),
15109            (renderLanes.pendingContext = null));
15110          if (null === current || null === current.child)
15111            popHydrationState(workInProgress)
15112              ? (emitPendingHydrationWarnings(), markUpdate(workInProgress))
15113              : null === current ||
15114                (current.memoizedState.isDehydrated &&
15115                  0 === (workInProgress.flags & 256)) ||
15116                ((workInProgress.flags |= 1024),
15117                upgradeHydrationErrorsToRecoverable());
15118          bubbleProperties(workInProgress);
15119          return null;
15120        case 26:
15121          return (
15122            (renderLanes = workInProgress.memoizedState),
15123            null === current
15124              ? (markUpdate(workInProgress),
15125                null !== renderLanes
15126                  ? (bubbleProperties(workInProgress),
15127                    preloadResourceAndSuspendIfNeeded(
15128                      workInProgress,
15129                      renderLanes
15130                    ))
15131                  : (bubbleProperties(workInProgress),
15132                    (workInProgress.flags &= -16777217)))
15133              : renderLanes
15134                ? renderLanes !== current.memoizedState
15135                  ? (markUpdate(workInProgress),
15136                    bubbleProperties(workInProgress),
15137                    preloadResourceAndSuspendIfNeeded(
15138                      workInProgress,
15139                      renderLanes
15140                    ))
15141                  : (bubbleProperties(workInProgress),
15142                    (workInProgress.flags &= -16777217))
15143                : (current.memoizedProps !== newProps &&
15144                    markUpdate(workInProgress),
15145                  bubbleProperties(workInProgress),
15146                  (workInProgress.flags &= -16777217)),
15147            null
15148          );
15149        case 27:
15150          popHostContext(workInProgress);
15151          renderLanes = requiredContext(rootInstanceStackCursor.current);
15152          var _type = workInProgress.type;
15153          if (null !== current && null != workInProgress.stateNode)
15154            current.memoizedProps !== newProps && markUpdate(workInProgress);
15155          else {
15156            if (!newProps) {
15157              if (null === workInProgress.stateNode)
15158                throw Error(
15159                  "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."
15160                );
15161              bubbleProperties(workInProgress);
15162              return null;
15163            }
15164            current = getHostContext();
15165            popHydrationState(workInProgress)
15166              ? prepareToHydrateHostInstance(workInProgress, current)
15167              : ((current = resolveSingletonInstance(
15168                  _type,
15169                  newProps,
15170                  renderLanes,
15171                  current,
15172                  !0
15173                )),
15174                (workInProgress.stateNode = current),
15175                markUpdate(workInProgress));
15176          }
15177          bubbleProperties(workInProgress);
15178          return null;
15179        case 5:
15180          popHostContext(workInProgress);
15181          renderLanes = workInProgress.type;
15182          if (null !== current && null != workInProgress.stateNode)
15183            current.memoizedProps !== newProps && markUpdate(workInProgress);
15184          else {
15185            if (!newProps) {
15186              if (null === workInProgress.stateNode)
15187                throw Error(
15188                  "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."
15189                );
15190              bubbleProperties(workInProgress);
15191              return null;
15192            }
15193            _type = getHostContext();
15194            if (popHydrationState(workInProgress))
15195              prepareToHydrateHostInstance(workInProgress, _type);
15196            else {
15197              current = requiredContext(rootInstanceStackCursor.current);
15198              validateDOMNesting(renderLanes, _type.ancestorInfo);
15199              _type = _type.context;
15200              current = getOwnerDocumentFromRootContainer(current);
15201              switch (_type) {
15202                case HostContextNamespaceSvg:
15203                  current = current.createElementNS(SVG_NAMESPACE, renderLanes);
15204                  break;
15205                case HostContextNamespaceMath:
15206                  current = current.createElementNS(
15207                    MATH_NAMESPACE,
15208                    renderLanes
15209                  );
15210                  break;
15211                default:
15212                  switch (renderLanes) {
15213                    case "svg":
15214                      current = current.createElementNS(
15215                        SVG_NAMESPACE,
15216                        renderLanes
15217                      );
15218                      break;
15219                    case "math":
15220                      current = current.createElementNS(
15221                        MATH_NAMESPACE,
15222                        renderLanes
15223                      );
15224                      break;
15225                    case "script":
15226                      current = current.createElement("div");
15227                      current.innerHTML = "<script>\x3c/script>";
15228                      current = current.removeChild(current.firstChild);
15229                      break;
15230                    case "select":
15231                      current =
15232                        "string" === typeof newProps.is
15233                          ? current.createElement("select", { is: newProps.is })
15234                          : current.createElement("select");
15235                      newProps.multiple
15236                        ? (current.multiple = !0)
15237                        : newProps.size && (current.size = newProps.size);
15238                      break;
15239                    default:
15240                      (current =
15241                        "string" === typeof newProps.is
15242                          ? current.createElement(renderLanes, {
15243                              is: newProps.is
15244                            })
15245                          : current.createElement(renderLanes)),
15246                        -1 === renderLanes.indexOf("-") &&
15247                          (renderLanes !== renderLanes.toLowerCase() &&
15248                            console.error(
15249                              "<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",
15250                              renderLanes
15251                            ),
15252                          "[object HTMLUnknownElement]" !==
15253                            Object.prototype.toString.call(current) ||
15254                            hasOwnProperty.call(
15255                              warnedUnknownTags,
15256                              renderLanes
15257                            ) ||
15258                            ((warnedUnknownTags[renderLanes] = !0),
15259                            console.error(
15260                              "The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",
15261                              renderLanes
15262                            )));
15263                  }
15264              }
15265              current[internalInstanceKey] = workInProgress;
15266              current[internalPropsKey] = newProps;
15267              a: for (_type = workInProgress.child; null !== _type; ) {
15268                if (5 === _type.tag || 6 === _type.tag)
15269                  current.appendChild(_type.stateNode);
15270                else if (
15271                  4 !== _type.tag &&
15272                  27 !== _type.tag &&
15273                  null !== _type.child
15274                ) {
15275                  _type.child.return = _type;
15276                  _type = _type.child;
15277                  continue;
15278                }
15279                if (_type === workInProgress) break a;
15280                for (; null === _type.sibling; ) {
15281                  if (null === _type.return || _type.return === workInProgress)
15282                    break a;
15283                  _type = _type.return;
15284                }
15285                _type.sibling.return = _type.return;
15286                _type = _type.sibling;
15287              }
15288              workInProgress.stateNode = current;
15289              a: switch (
15290                (setInitialProperties(current, renderLanes, newProps),
15291                renderLanes)
15292              ) {
15293                case "button":
15294                case "input":
15295                case "select":
15296                case "textarea":
15297                  current = !!newProps.autoFocus;
15298                  break a;
15299                case "img":
15300                  current = !0;
15301                  break a;
15302                default:
15303                  current = !1;
15304              }
15305              current && markUpdate(workInProgress);
15306            }
15307          }
15308          bubbleProperties(workInProgress);
15309          workInProgress.flags &= -16777217;
15310          return null;
15311        case 6:
15312          if (current && null != workInProgress.stateNode)
15313            current.memoizedProps !== newProps && markUpdate(workInProgress);
15314          else {
15315            if (
15316              "string" !== typeof newProps &&
15317              null === workInProgress.stateNode
15318            )
15319              throw Error(
15320                "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."
15321              );
15322            current = requiredContext(rootInstanceStackCursor.current);
15323            renderLanes = getHostContext();
15324            if (popHydrationState(workInProgress)) {
15325              current = workInProgress.stateNode;
15326              renderLanes = workInProgress.memoizedProps;
15327              _type = !didSuspendOrErrorDEV;
15328              newProps = null;
15329              var returnFiber = hydrationParentFiber;
15330              if (null !== returnFiber)
15331                switch (returnFiber.tag) {
15332                  case 3:
15333                    _type &&
15334                      ((_type = diffHydratedTextForDevWarnings(
15335                        current,
15336                        renderLanes,
15337                        newProps
15338                      )),
15339                      null !== _type &&
15340                        (buildHydrationDiffNode(workInProgress, 0).serverProps =
15341                          _type));
15342                    break;
15343                  case 27:
15344                  case 5:
15345                    (newProps = returnFiber.memoizedProps),
15346                      _type &&
15347                        ((_type = diffHydratedTextForDevWarnings(
15348                          current,
15349                          renderLanes,
15350                          newProps
15351                        )),
15352                        null !== _type &&
15353                          (buildHydrationDiffNode(
15354                            workInProgress,
15355                            0
15356                          ).serverProps = _type));
15357                }
15358              current[internalInstanceKey] = workInProgress;
15359              current =
15360                current.nodeValue === renderLanes ||
15361                (null !== newProps &&
15362                  !0 === newProps.suppressHydrationWarning) ||
15363                checkForUnmatchedText(current.nodeValue, renderLanes)
15364                  ? !0
15365                  : !1;
15366              current || throwOnHydrationMismatch(workInProgress);
15367            } else
15368              (_type = renderLanes.ancestorInfo.current),
15369                null != _type &&
15370                  validateTextNesting(
15371                    newProps,
15372                    _type.tag,
15373                    renderLanes.ancestorInfo.implicitRootScope
15374                  ),
15375                (current =
15376                  getOwnerDocumentFromRootContainer(current).createTextNode(
15377                    newProps
15378                  )),
15379                (current[internalInstanceKey] = workInProgress),
15380                (workInProgress.stateNode = current);
15381          }
15382          bubbleProperties(workInProgress);
15383          return null;
15384        case 13:
15385          newProps = workInProgress.memoizedState;
15386          if (
15387            null === current ||
15388            (null !== current.memoizedState &&
15389              null !== current.memoizedState.dehydrated)
15390          ) {
15391            _type = popHydrationState(workInProgress);
15392            if (null !== newProps && null !== newProps.dehydrated) {
15393              if (null === current) {
15394                if (!_type)
15395                  throw Error(
15396                    "A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React."
15397                  );
15398                _type = workInProgress.memoizedState;
15399                _type = null !== _type ? _type.dehydrated : null;
15400                if (!_type)
15401                  throw Error(
15402                    "Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."
15403                  );
15404                _type[internalInstanceKey] = workInProgress;
15405                bubbleProperties(workInProgress);
15406                (workInProgress.mode & ProfileMode) !== NoMode &&
15407                  null !== newProps &&
15408                  ((_type = workInProgress.child),
15409                  null !== _type &&
15410                    (workInProgress.treeBaseDuration -=
15411                      _type.treeBaseDuration));
15412              } else
15413                emitPendingHydrationWarnings(),
15414                  resetHydrationState(),
15415                  0 === (workInProgress.flags & 128) &&
15416                    (workInProgress.memoizedState = null),
15417                  (workInProgress.flags |= 4),
15418                  bubbleProperties(workInProgress),
15419                  (workInProgress.mode & ProfileMode) !== NoMode &&
15420                    null !== newProps &&
15421                    ((_type = workInProgress.child),
15422                    null !== _type &&
15423                      (workInProgress.treeBaseDuration -=
15424                        _type.treeBaseDuration));
15425              _type = !1;
15426            } else
15427              (_type = upgradeHydrationErrorsToRecoverable()),
15428                null !== current &&
15429                  null !== current.memoizedState &&
15430                  (current.memoizedState.hydrationErrors = _type),
15431                (_type = !0);
15432            if (!_type) {
15433              if (workInProgress.flags & 256)
15434                return popSuspenseHandler(workInProgress), workInProgress;
15435              popSuspenseHandler(workInProgress);
15436              return null;
15437            }
15438          }
15439          popSuspenseHandler(workInProgress);
15440          if (0 !== (workInProgress.flags & 128))
15441            return (
15442              (workInProgress.lanes = renderLanes),
15443              (workInProgress.mode & ProfileMode) !== NoMode &&
15444                transferActualDuration(workInProgress),
15445              workInProgress
15446            );
15447          renderLanes = null !== newProps;
15448          current = null !== current && null !== current.memoizedState;
15449          renderLanes &&
15450            ((newProps = workInProgress.child),
15451            (_type = null),
15452            null !== newProps.alternate &&
15453              null !== newProps.alternate.memoizedState &&
15454              null !== newProps.alternate.memoizedState.cachePool &&
15455              (_type = newProps.alternate.memoizedState.cachePool.pool),
15456            (returnFiber = null),
15457            null !== newProps.memoizedState &&
15458              null !== newProps.memoizedState.cachePool &&
15459              (returnFiber = newProps.memoizedState.cachePool.pool),
15460            returnFiber !== _type && (newProps.flags |= 2048));
15461          renderLanes !== current &&
15462            renderLanes &&
15463            (workInProgress.child.flags |= 8192);
15464          scheduleRetryEffect(workInProgress, workInProgress.updateQueue);
15465          bubbleProperties(workInProgress);
15466          (workInProgress.mode & ProfileMode) !== NoMode &&
15467            renderLanes &&
15468            ((current = workInProgress.child),
15469            null !== current &&
15470              (workInProgress.treeBaseDuration -= current.treeBaseDuration));
15471          return null;
15472        case 4:
15473          return (
15474            popHostContainer(workInProgress),
15475            null === current &&
15476              listenToAllSupportedEvents(
15477                workInProgress.stateNode.containerInfo
15478              ),
15479            bubbleProperties(workInProgress),
15480            null
15481          );
15482        case 10:
15483          return (
15484            popProvider(workInProgress.type, workInProgress),
15485            bubbleProperties(workInProgress),
15486            null
15487          );
15488        case 19:
15489          pop(suspenseStackCursor, workInProgress);
15490          _type = workInProgress.memoizedState;
15491          if (null === _type) return bubbleProperties(workInProgress), null;
15492          newProps = 0 !== (workInProgress.flags & 128);
15493          returnFiber = _type.rendering;
15494          if (null === returnFiber)
15495            if (newProps) cutOffTailIfNeeded(_type, !1);
15496            else {
15497              if (
15498                workInProgressRootExitStatus !== RootInProgress ||
15499                (null !== current && 0 !== (current.flags & 128))
15500              )
15501                for (current = workInProgress.child; null !== current; ) {
15502                  returnFiber = findFirstSuspended(current);
15503                  if (null !== returnFiber) {
15504                    workInProgress.flags |= 128;
15505                    cutOffTailIfNeeded(_type, !1);
15506                    current = returnFiber.updateQueue;
15507                    workInProgress.updateQueue = current;
15508                    scheduleRetryEffect(workInProgress, current);
15509                    workInProgress.subtreeFlags = 0;
15510                    current = renderLanes;
15511                    for (
15512                      renderLanes = workInProgress.child;
15513                      null !== renderLanes;
15514
15515                    )
15516                      resetWorkInProgress(renderLanes, current),
15517                        (renderLanes = renderLanes.sibling);
15518                    push(
15519                      suspenseStackCursor,
15520                      (suspenseStackCursor.current &
15521                        SubtreeSuspenseContextMask) |
15522                        ForceSuspenseFallback,
15523                      workInProgress
15524                    );
15525                    return workInProgress.child;
15526                  }
15527                  current = current.sibling;
15528                }
15529              null !== _type.tail &&
15530                now$1() > workInProgressRootRenderTargetTime &&
15531                ((workInProgress.flags |= 128),
15532                (newProps = !0),
15533                cutOffTailIfNeeded(_type, !1),
15534                (workInProgress.lanes = 4194304));
15535            }
15536          else {
15537            if (!newProps)
15538              if (
15539                ((current = findFirstSuspended(returnFiber)), null !== current)
15540              ) {
15541                if (
15542                  ((workInProgress.flags |= 128),
15543                  (newProps = !0),
15544                  (current = current.updateQueue),
15545                  (workInProgress.updateQueue = current),
15546                  scheduleRetryEffect(workInProgress, current),
15547                  cutOffTailIfNeeded(_type, !0),
15548                  null === _type.tail &&
15549                    "hidden" === _type.tailMode &&
15550                    !returnFiber.alternate &&
15551                    !isHydrating)
15552                )
15553                  return bubbleProperties(workInProgress), null;
15554              } else
15555                2 * now$1() - _type.renderingStartTime >
15556                  workInProgressRootRenderTargetTime &&
15557                  536870912 !== renderLanes &&
15558                  ((workInProgress.flags |= 128),
15559                  (newProps = !0),
15560                  cutOffTailIfNeeded(_type, !1),
15561                  (workInProgress.lanes = 4194304));
15562            _type.isBackwards
15563              ? ((returnFiber.sibling = workInProgress.child),
15564                (workInProgress.child = returnFiber))
15565              : ((current = _type.last),
15566                null !== current
15567                  ? (current.sibling = returnFiber)
15568                  : (workInProgress.child = returnFiber),
15569                (_type.last = returnFiber));
15570          }
15571          if (null !== _type.tail)
15572            return (
15573              (current = _type.tail),
15574              (_type.rendering = current),
15575              (_type.tail = current.sibling),
15576              (_type.renderingStartTime = now$1()),
15577              (current.sibling = null),
15578              (renderLanes = suspenseStackCursor.current),
15579              (renderLanes = newProps
15580                ? (renderLanes & SubtreeSuspenseContextMask) |
15581                  ForceSuspenseFallback
15582                : renderLanes & SubtreeSuspenseContextMask),
15583              push(suspenseStackCursor, renderLanes, workInProgress),
15584              current
15585            );
15586          bubbleProperties(workInProgress);
15587          return null;
15588        case 22:
15589        case 23:
15590          return (
15591            popSuspenseHandler(workInProgress),
15592            popHiddenContext(workInProgress),
15593            (newProps = null !== workInProgress.memoizedState),
15594            null !== current
15595              ? (null !== current.memoizedState) !== newProps &&
15596                (workInProgress.flags |= 8192)
15597              : newProps && (workInProgress.flags |= 8192),
15598            newProps
15599              ? 0 !== (renderLanes & 536870912) &&
15600                0 === (workInProgress.flags & 128) &&
15601                (bubbleProperties(workInProgress),
15602                workInProgress.subtreeFlags & 6 &&
15603                  (workInProgress.flags |= 8192))
15604              : bubbleProperties(workInProgress),
15605            (renderLanes = workInProgress.updateQueue),
15606            null !== renderLanes &&
15607              scheduleRetryEffect(workInProgress, renderLanes.retryQueue),
15608            (renderLanes = null),
15609            null !== current &&
15610              null !== current.memoizedState &&
15611              null !== current.memoizedState.cachePool &&
15612              (renderLanes = current.memoizedState.cachePool.pool),
15613            (newProps = null),
15614            null !== workInProgress.memoizedState &&
15615              null !== workInProgress.memoizedState.cachePool &&
15616              (newProps = workInProgress.memoizedState.cachePool.pool),
15617            newProps !== renderLanes && (workInProgress.flags |= 2048),
15618            null !== current && pop(resumedCache, workInProgress),
15619            null
15620          );
15621        case 24:
15622          return (
15623            (renderLanes = null),
15624            null !== current && (renderLanes = current.memoizedState.cache),
15625            workInProgress.memoizedState.cache !== renderLanes &&
15626              (workInProgress.flags |= 2048),
15627            popProvider(CacheContext, workInProgress),
15628            bubbleProperties(workInProgress),
15629            null
15630          );
15631        case 25:
15632          return null;
15633        case 30:
15634          return null;
15635      }
15636      throw Error(
15637        "Unknown unit of work tag (" +
15638          workInProgress.tag +
15639          "). This error is likely caused by a bug in React. Please file an issue."
15640      );
15641    }
15642    function unwindWork(current, workInProgress) {
15643      popTreeContext(workInProgress);
15644      switch (workInProgress.tag) {
15645        case 1:
15646          return (
15647            (current = workInProgress.flags),
15648            current & 65536
15649              ? ((workInProgress.flags = (current & -65537) | 128),
15650                (workInProgress.mode & ProfileMode) !== NoMode &&
15651                  transferActualDuration(workInProgress),
15652                workInProgress)
15653              : null
15654          );
15655        case 3:
15656          return (
15657            popProvider(CacheContext, workInProgress),
15658            popHostContainer(workInProgress),
15659            (current = workInProgress.flags),
15660            0 !== (current & 65536) && 0 === (current & 128)
15661              ? ((workInProgress.flags = (current & -65537) | 128),
15662                workInProgress)
15663              : null
15664          );
15665        case 26:
15666        case 27:
15667        case 5:
15668          return popHostContext(workInProgress), null;
15669        case 13:
15670          popSuspenseHandler(workInProgress);
15671          current = workInProgress.memoizedState;
15672          if (null !== current && null !== current.dehydrated) {
15673            if (null === workInProgress.alternate)
15674              throw Error(
15675                "Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue."
15676              );
15677            resetHydrationState();
15678          }
15679          current = workInProgress.flags;
15680          return current & 65536
15681            ? ((workInProgress.flags = (current & -65537) | 128),
15682              (workInProgress.mode & ProfileMode) !== NoMode &&
15683                transferActualDuration(workInProgress),
15684              workInProgress)
15685            : null;
15686        case 19:
15687          return pop(suspenseStackCursor, workInProgress), null;
15688        case 4:
15689          return popHostContainer(workInProgress), null;
15690        case 10:
15691          return popProvider(workInProgress.type, workInProgress), null;
15692        case 22:
15693        case 23:
15694          return (
15695            popSuspenseHandler(workInProgress),
15696            popHiddenContext(workInProgress),
15697            null !== current && pop(resumedCache, workInProgress),
15698            (current = workInProgress.flags),
15699            current & 65536
15700              ? ((workInProgress.flags = (current & -65537) | 128),
15701                (workInProgress.mode & ProfileMode) !== NoMode &&
15702                  transferActualDuration(workInProgress),
15703                workInProgress)
15704              : null
15705          );
15706        case 24:
15707          return popProvider(CacheContext, workInProgress), null;
15708        case 25:
15709          return null;
15710        default:
15711          return null;
15712      }
15713    }
15714    function unwindInterruptedWork(current, interruptedWork) {
15715      popTreeContext(interruptedWork);
15716      switch (interruptedWork.tag) {
15717        case 3:
15718          popProvider(CacheContext, interruptedWork);
15719          popHostContainer(interruptedWork);
15720          break;
15721        case 26:
15722        case 27:
15723        case 5:
15724          popHostContext(interruptedWork);
15725          break;
15726        case 4:
15727          popHostContainer(interruptedWork);
15728          break;
15729        case 13:
15730          popSuspenseHandler(interruptedWork);
15731          break;
15732        case 19:
15733          pop(suspenseStackCursor, interruptedWork);
15734          break;
15735        case 10:
15736          popProvider(interruptedWork.type, interruptedWork);
15737          break;
15738        case 22:
15739        case 23:
15740          popSuspenseHandler(interruptedWork);
15741          popHiddenContext(interruptedWork);
15742          null !== current && pop(resumedCache, interruptedWork);
15743          break;
15744        case 24:
15745          popProvider(CacheContext, interruptedWork);
15746      }
15747    }
15748    function shouldProfile(current) {
15749      return (current.mode & ProfileMode) !== NoMode;
15750    }
15751    function commitHookLayoutEffects(finishedWork, hookFlags) {
15752      shouldProfile(finishedWork)
15753        ? (startEffectTimer(),
15754          commitHookEffectListMount(hookFlags, finishedWork),
15755          recordEffectDuration())
15756        : commitHookEffectListMount(hookFlags, finishedWork);
15757    }
15758    function commitHookLayoutUnmountEffects(
15759      finishedWork,
15760      nearestMountedAncestor,
15761      hookFlags
15762    ) {
15763      shouldProfile(finishedWork)
15764        ? (startEffectTimer(),
15765          commitHookEffectListUnmount(
15766            hookFlags,
15767            finishedWork,
15768            nearestMountedAncestor
15769          ),
15770          recordEffectDuration())
15771        : commitHookEffectListUnmount(
15772            hookFlags,
15773            finishedWork,
15774            nearestMountedAncestor
15775          );
15776    }
15777    function commitHookEffectListMount(flags, finishedWork) {
15778      try {
15779        var updateQueue = finishedWork.updateQueue,
15780          lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
15781        if (null !== lastEffect) {
15782          var firstEffect = lastEffect.next;
15783          updateQueue = firstEffect;
15784          do {
15785            if (
15786              (updateQueue.tag & flags) === flags &&
15787              ((flags & Passive) !== NoFlags
15788                ? null !== injectedProfilingHooks &&
15789                  "function" ===
15790                    typeof injectedProfilingHooks.markComponentPassiveEffectMountStarted &&
15791                  injectedProfilingHooks.markComponentPassiveEffectMountStarted(
15792                    finishedWork
15793                  )
15794                : (flags & Layout) !== NoFlags &&
15795                  null !== injectedProfilingHooks &&
15796                  "function" ===
15797                    typeof injectedProfilingHooks.markComponentLayoutEffectMountStarted &&
15798                  injectedProfilingHooks.markComponentLayoutEffectMountStarted(
15799                    finishedWork
15800                  ),
15801              (lastEffect = void 0),
15802              (flags & Insertion) !== NoFlags &&
15803                (isRunningInsertionEffect = !0),
15804              (lastEffect = runWithFiberInDEV(
15805                finishedWork,
15806                callCreateInDEV,
15807                updateQueue
15808              )),
15809              (flags & Insertion) !== NoFlags &&
15810                (isRunningInsertionEffect = !1),
15811              (flags & Passive) !== NoFlags
15812                ? null !== injectedProfilingHooks &&
15813                  "function" ===
15814                    typeof injectedProfilingHooks.markComponentPassiveEffectMountStopped &&
15815                  injectedProfilingHooks.markComponentPassiveEffectMountStopped()
15816                : (flags & Layout) !== NoFlags &&
15817                  null !== injectedProfilingHooks &&
15818                  "function" ===
15819                    typeof injectedProfilingHooks.markComponentLayoutEffectMountStopped &&
15820                  injectedProfilingHooks.markComponentLayoutEffectMountStopped(),
15821              void 0 !== lastEffect && "function" !== typeof lastEffect)
15822            ) {
15823              var hookName = void 0;
15824              hookName =
15825                0 !== (updateQueue.tag & Layout)
15826                  ? "useLayoutEffect"
15827                  : 0 !== (updateQueue.tag & Insertion)
15828                    ? "useInsertionEffect"
15829                    : "useEffect";
15830              var addendum = void 0;
15831              addendum =
15832                null === lastEffect
15833                  ? " You returned null. If your effect does not require clean up, return undefined (or nothing)."
15834                  : "function" === typeof lastEffect.then
15835                    ? "\n\nIt looks like you wrote " +
15836                      hookName +
15837                      "(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n" +
15838                      hookName +
15839                      "(() =>
15839 {\n  async function fetchData() {\n    // You can await here\n    const response = await MyAPI.getData(someId);\n    // ...\n  }\n  fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching"
15840                    : " You returned: " + lastEffect;
15841              runWithFiberInDEV(
15842                finishedWork,
15843                function (n, a) {
15844                  console.error(
15845                    "%s must not return anything besides a function, which is used for clean-up.%s",
15846                    n,
15847                    a
15848                  );
15849                },
15850                hookName,
15851                addendum
15852              );
15853            }
15854            updateQueue = updateQueue.next;
15855          } while (updateQueue !== firstEffect);
15856        }
15857      } catch (error) {
15858        captureCommitPhaseError(finishedWork, finishedWork.return, error);
15859      }
15860    }
15861    function commitHookEffectListUnmount(
15862      flags,
15863      finishedWork,
15864      nearestMountedAncestor
15865    ) {
15866      try {
15867        var updateQueue = finishedWork.updateQueue,
15868          lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
15869        if (null !== lastEffect) {
15870          var firstEffect = lastEffect.next;
15871          updateQueue = firstEffect;
15872          do {
15873            if ((updateQueue.tag & flags) === flags) {
15874              var inst = updateQueue.inst,
15875                destroy = inst.destroy;
15876              void 0 !== destroy &&
15877                ((inst.destroy = void 0),
15878                (flags & Passive) !== NoFlags
15879                  ? null !== injectedProfilingHooks &&
15880                    "function" ===
15881                      typeof injectedProfilingHooks.markComponentPassiveEffectUnmountStarted &&
15882                    injectedProfilingHooks.markComponentPassiveEffectUnmountStarted(
15883                      finishedWork
15884                    )
15885                  : (flags & Layout) !== NoFlags &&
15886                    null !== injectedProfilingHooks &&
15887                    "function" ===
15888                      typeof injectedProfilingHooks.markComponentLayoutEffectUnmountStarted &&
15889                    injectedProfilingHooks.markComponentLayoutEffectUnmountStarted(
15890                      finishedWork
15891                    ),
15892                (flags & Insertion) !== NoFlags &&
15893                  (isRunningInsertionEffect = !0),
15894                (lastEffect = finishedWork),
15895                runWithFiberInDEV(
15896                  lastEffect,
15897                  callDestroyInDEV,
15898                  lastEffect,
15899                  nearestMountedAncestor,
15900                  destroy
15901                ),
15902                (flags & Insertion) !== NoFlags &&
15903                  (isRunningInsertionEffect = !1),
15904                (flags & Passive) !== NoFlags
15905                  ? null !== injectedProfilingHooks &&
15906                    "function" ===
15907                      typeof injectedProfilingHooks.markComponentPassiveEffectUnmountStopped &&
15908                    injectedProfilingHooks.markComponentPassiveEffectUnmountStopped()
15909                  : (flags & Layout) !== NoFlags &&
15910                    null !== injectedProfilingHooks &&
15911                    "function" ===
15912                      typeof injectedProfilingHooks.markComponentLayoutEffectUnmountStopped &&
15913                    injectedProfilingHooks.markComponentLayoutEffectUnmountStopped());
15914            }
15915            updateQueue = updateQueue.next;
15916          } while (updateQueue !== firstEffect);
15917        }
15918      } catch (error) {
15919        captureCommitPhaseError(finishedWork, finishedWork.return, error);
15920      }
15921    }
15922    function commitHookPassiveMountEffects(finishedWork, hookFlags) {
15923      shouldProfile(finishedWork)
15924        ? (startEffectTimer(),
15925          commitHookEffectListMount(hookFlags, finishedWork),
15926          recordEffectDuration())
15927        : commitHookEffectListMount(hookFlags, finishedWork);
15928    }
15929    function commitHookPassiveUnmountEffects(
15930      finishedWork,
15931      nearestMountedAncestor,
15932      hookFlags
15933    ) {
15934      shouldProfile(finishedWork)
15935        ? (startEffectTimer(),
15936          commitHookEffectListUnmount(
15937            hookFlags,
15938            finishedWork,
15939            nearestMountedAncestor
15940          ),
15941          recordEffectDuration())
15942        : commitHookEffectListUnmount(
15943            hookFlags,
15944            finishedWork,
15945            nearestMountedAncestor
15946          );
15947    }
15948    function commitClassCallbacks(finishedWork) {
15949      var updateQueue = finishedWork.updateQueue;
15950      if (null !== updateQueue) {
15951        var instance = finishedWork.stateNode;
15952        finishedWork.type.defaultProps ||
15953          "ref" in finishedWork.memoizedProps ||
15954          didWarnAboutReassigningProps ||
15955          (instance.props !== finishedWork.memoizedProps &&
15956            console.error(
15957              "Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
15958              getComponentNameFromFiber(finishedWork) || "instance"
15959            ),
15960          instance.state !== finishedWork.memoizedState &&
15961            console.error(
15962              "Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
15963              getComponentNameFromFiber(finishedWork) || "instance"
15964            ));
15965        try {
15966          runWithFiberInDEV(
15967            finishedWork,
15968            commitCallbacks,
15969            updateQueue,
15970            instance
15971          );
15972        } catch (error) {
15973          captureCommitPhaseError(finishedWork, finishedWork.return, error);
15974        }
15975      }
15976    }
15977    function callGetSnapshotBeforeUpdates(instance, prevProps, prevState) {
15978      return instance.getSnapshotBeforeUpdate(prevProps, prevState);
15979    }
15980    function commitClassSnapshot(finishedWork, current) {
15981      var prevProps = current.memoizedProps,
15982        prevState = current.memoizedState;
15983      current = finishedWork.stateNode;
15984      finishedWork.type.defaultProps ||
15985        "ref" in finishedWork.memoizedProps ||
15986        didWarnAboutReassigningProps ||
15987        (current.props !== finishedWork.memoizedProps &&
15988          console.error(
15989            "Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
15990            getComponentNameFromFiber(finishedWork) || "instance"
15991          ),
15992        current.state !== finishedWork.memoizedState &&
15993          console.error(
15994            "Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
15995            getComponentNameFromFiber(finishedWork) || "instance"
15996          ));
15997      try {
15998        var resolvedPrevProps = resolveClassComponentProps(
15999          finishedWork.type,
16000          prevProps,
16001          finishedWork.elementType === finishedWork.type
16002        );
16003        var snapshot = runWithFiberInDEV(
16004          finishedWork,
16005          callGetSnapshotBeforeUpdates,
16006          current,
16007          resolvedPrevProps,
16008          prevState
16009        );
16010        prevProps = didWarnAboutUndefinedSnapshotBeforeUpdate;
16011        void 0 !== snapshot ||
16012          prevProps.has(finishedWork.type) ||
16013          (prevProps.add(finishedWork.type),
16014          runWithFiberInDEV(finishedWork, function () {
16015            console.error(
16016              "%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",
16017              getComponentNameFromFiber(finishedWork)
16018            );
16019          }));
16020        current.__reactInternalSnapshotBeforeUpdate = snapshot;
16021      } catch (error) {
16022        captureCommitPhaseError(finishedWork, finishedWork.return, error);
16023      }
16024    }
16025    function safelyCallComponentWillUnmount(
16026      current,
16027      nearestMountedAncestor,
16028      instance
16029    ) {
16030      instance.props = resolveClassComponentProps(
16031        current.type,
16032        current.memoizedProps
16033      );
16034      instance.state = current.memoizedState;
16035      shouldProfile(current)
16036        ? (startEffectTimer(),
16037          runWithFiberInDEV(
16038            current,
16039            callComponentWillUnmountInDEV,
16040            current,
16041            nearestMountedAncestor,
16042            instance
16043          ),
16044          recordEffectDuration())
16045        : runWithFiberInDEV(
16046            current,
16047            callComponentWillUnmountInDEV,
16048            current,
16049            nearestMountedAncestor,
16050            instance
16051          );
16052    }
16053    function commitAttachRef(finishedWork) {
16054      var ref = finishedWork.ref;
16055      if (null !== ref) {
16056        switch (finishedWork.tag) {
16057          case 26:
16058          case 27:
16059          case 5:
16060            var instanceToUse = finishedWork.stateNode;
16061            break;
16062          case 30:
16063            instanceToUse = finishedWork.stateNode;
16064            break;
16065          default:
16066            instanceToUse = finishedWork.stateNode;
16067        }
16068        if ("function" === typeof ref)
16069          if (shouldProfile(finishedWork))
16070            try {
16071              startEffectTimer(),
16072                (finishedWork.refCleanup = ref(instanceToUse));
16073            } finally {
16074              recordEffectDuration();
16075            }
16076          else finishedWork.refCleanup = ref(instanceToUse);
16077        else
16078          "string" === typeof ref
16079            ? console.error("String refs are no longer supported.")
16080            : ref.hasOwnProperty("current") ||
16081              console.error(
16082                "Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",
16083                getComponentNameFromFiber(finishedWork)
16084              ),
16085            (ref.current = instanceToUse);
16086      }
16087    }
16088    function safelyAttachRef(current, nearestMountedAncestor) {
16089      try {
16090        runWithFiberInDEV(current, commitAttachRef, current);
16091      } catch (error) {
16092        captureCommitPhaseError(current, nearestMountedAncestor, error);
16093      }
16094    }
16095    function safelyDetachRef(current, nearestMountedAncestor) {
16096      var ref = current.ref,
16097        refCleanup = current.refCleanup;
16098      if (null !== ref)
16099        if ("function" === typeof refCleanup)
16100          try {
16101            if (shouldProfile(current))
16102              try {
16103                startEffectTimer(), runWithFiberInDEV(current, refCleanup);
16104              } finally {
16105                recordEffectDuration(current);
16106              }
16107            else runWithFiberInDEV(current, refCleanup);
16108          } catch (error) {
16109            captureCommitPhaseError(current, nearestMountedAncestor, error);
16110          } finally {
16111            (current.refCleanup = null),
16112              (current = current.alternate),
16113              null != current && (current.refCleanup = null);
16114          }
16115        else if ("function" === typeof ref)
16116          try {
16117            if (shouldProfile(current))
16118              try {
16119                startEffectTimer(), runWithFiberInDEV(current, ref, null);
16120              } finally {
16121                recordEffectDuration(current);
16122              }
16123            else runWithFiberInDEV(current, ref, null);
16124          } catch (error$7) {
16125            captureCommitPhaseError(current, nearestMountedAncestor, error$7);
16126          }
16127        else ref.current = null;
16128    }
16129    function commitProfiler(
16130      finishedWork,
16131      current,
16132      commitStartTime,
16133      effectDuration
16134    ) {
16135      var _finishedWork$memoize = finishedWork.memoizedProps,
16136        id = _finishedWork$memoize.id,
16137        onCommit = _finishedWork$memoize.onCommit;
16138      _finishedWork$memoize = _finishedWork$memoize.onRender;
16139      current = null === current ? "mount" : "update";
16140      currentUpdateIsNested && (current = "nested-update");
16141      "function" === typeof _finishedWork$memoize &&
16142        _finishedWork$memoize(
16143          id,
16144          current,
16145          finishedWork.actualDuration,
16146          finishedWork.treeBaseDuration,
16147          finishedWork.actualStartTime,
16148          commitStartTime
16149        );
16150      "function" === typeof onCommit &&
16151        onCommit(
16152          finishedWork.memoizedProps.id,
16153          current,
16154          effectDuration,
16155          commitStartTime
16156        );
16157    }
16158    function commitProfilerPostCommitImpl(
16159      finishedWork,
16160      current,
16161      commitStartTime,
16162      passiveEffectDuration
16163    ) {
16164      var _finishedWork$memoize2 = finishedWork.memoizedProps;
16165      finishedWork = _finishedWork$memoize2.id;
16166      _finishedWork$memoize2 = _finishedWork$memoize2.onPostCommit;
16167      current = null === current ? "mount" : "update";
16168      currentUpdateIsNested && (current = "nested-update");
16169      "function" === typeof _finishedWork$memoize2 &&
16170        _finishedWork$memoize2(
16171          finishedWork,
16172          current,
16173          passiveEffectDuration,
16174          commitStartTime
16175        );
16176    }
16177    function commitHostMount(finishedWork) {
16178      var type = finishedWork.type,
16179        props = finishedWork.memoizedProps,
16180        instance = finishedWork.stateNode;
16181      try {
16182        runWithFiberInDEV(
16183          finishedWork,
16184          commitMount,
16185          instance,
16186          type,
16187          props,
16188          finishedWork
16189        );
16190      } catch (error) {
16191        captureCommitPhaseError(finishedWork, finishedWork.return, error);
16192      }
16193    }
16194    function commitHostUpdate(finishedWork, newProps, oldProps) {
16195      try {
16196        runWithFiberInDEV(
16197          finishedWork,
16198          commitUpdate,
16199          finishedWork.stateNode,
16200          finishedWork.type,
16201          oldProps,
16202          newProps,
16203          finishedWork
16204        );
16205      } catch (error) {
16206        captureCommitPhaseError(finishedWork, finishedWork.return, error);
16207      }
16208    }
16209    function isHostParent(fiber) {
16210      return (
16211        5 === fiber.tag ||
16212        3 === fiber.tag ||
16213        26 === fiber.tag ||
16214        (27 === fiber.tag && isSingletonScope(fiber.type)) ||
16215        4 === fiber.tag
16216      );
16217    }
16218    function getHostSibling(fiber) {
16219      a: for (;;) {
16220        for (; null === fiber.sibling; ) {
16221          if (null === fiber.return || isHostParent(fiber.return)) return null;
16222          fiber = fiber.return;
16223        }
16224        fiber.sibling.return = fiber.return;
16225        for (
16226          fiber = fiber.sibling;
16227          5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;
16228
16229        ) {
16230          if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a;
16231          if (fiber.flags & 2) continue a;
16232          if (null === fiber.child || 4 === fiber.tag) continue a;
16233          else (fiber.child.return = fiber), (fiber = fiber.child);
16234        }
16235        if (!(fiber.flags & 2)) return fiber.stateNode;
16236      }
16237    }
16238    function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
16239      var tag = node.tag;
16240      if (5 === tag || 6 === tag)
16241        (node = node.stateNode),
16242          before
16243            ? (9 === parent.nodeType
16244                ? parent.body
16245                : "HTML" === parent.nodeName
16246                  ? parent.ownerDocument.body
16247                  : parent
16248              ).insertBefore(node, before)
16249            : ((before =
16250                9 === parent.nodeType
16251                  ? parent.body
16252                  : "HTML" === parent.nodeName
16253                    ? parent.ownerDocument.body
16254                    : parent),
16255              before.appendChild(node),
16256              (parent = parent._reactRootContainer),
16257              (null !== parent && void 0 !== parent) ||
16258                null !== before.onclick ||
16259                (before.onclick = noop$1));
16260      else if (
16261        4 !== tag &&
16262        (27 === tag &&
16263          isSingletonScope(node.type) &&
16264          ((parent = node.stateNode), (before = null)),
16265        (node = node.child),
16266        null !== node)
16267      )
16268        for (
16269          insertOrAppendPlacementNodeIntoContainer(node, before, parent),
16270            node = node.sibling;
16271          null !== node;
16272
16273        )
16274          insertOrAppendPlacementNodeIntoContainer(node, before, parent),
16275            (node = node.sibling);
16276    }
16277    function insertOrAppendPlacementNode(node, before, parent) {
16278      var tag = node.tag;
16279      if (5 === tag || 6 === tag)
16280        (node = node.stateNode),
16281          before ? parent.insertBefore(node, before) : parent.appendChild(node);
16282      else if (
16283        4 !== tag &&
16284        (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode),
16285        (node = node.child),
16286        null !== node)
16287      )
16288        for (
16289          insertOrAppendPlacementNode(node, before, parent),
16290            node = node.sibling;
16291          null !== node;
16292
16293        )
16294          insertOrAppendPlacementNode(node, before, parent),
16295            (node = node.sibling);
16296    }
16297    function commitPlacement(finishedWork) {
16298      for (
16299        var hostParentFiber, parentFiber = finishedWork.return;
16300        null !== parentFiber;
16301
16302      ) {
16303        if (isHostParent(parentFiber)) {
16304          hostParentFiber = parentFiber;
16305          break;
16306        }
16307        parentFiber = parentFiber.return;
16308      }
16309      if (null == hostParentFiber)
16310        throw Error(
16311          "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."
16312        );
16313      switch (hostParentFiber.tag) {
16314        case 27:
16315          hostParentFiber = hostParentFiber.stateNode;
16316          parentFiber = getHostSibling(finishedWork);
16317          insertOrAppendPlacementNode(
16318            finishedWork,
16319            parentFiber,
16320            hostParentFiber
16321          );
16322          break;
16323        case 5:
16324          parentFiber = hostParentFiber.stateNode;
16325          hostParentFiber.flags & 32 &&
16326            (resetTextContent(parentFiber), (hostParentFiber.flags &= -33));
16327          hostParentFiber = getHostSibling(finishedWork);
16328          insertOrAppendPlacementNode(
16329            finishedWork,
16330            hostParentFiber,
16331            parentFiber
16332          );
16333          break;
16334        case 3:
16335        case 4:
16336          hostParentFiber = hostParentFiber.stateNode.containerInfo;
16337          parentFiber = getHostSibling(finishedWork);
16338          insertOrAppendPlacementNodeIntoContainer(
16339            finishedWork,
16340            parentFiber,
16341            hostParentFiber
16342          );
16343          break;
16344        default:
16345          throw Error(
16346            "Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue."
16347          );
16348      }
16349    }
16350    function commitHostSingletonAcquisition(finishedWork) {
16351      var singleton = finishedWork.stateNode,
16352        props = finishedWork.memoizedProps;
16353      try {
16354        runWithFiberInDEV(
16355          finishedWork,
16356          acquireSingletonInstance,
16357          finishedWork.type,
16358          props,
16359          singleton,
16360          finishedWork
16361        );
16362      } catch (error) {
16363        captureCommitPhaseError(finishedWork, finishedWork.return, error);
16364      }
16365    }
16366    function commitBeforeMutationEffects(root, firstChild) {
16367      root = root.containerInfo;
16368      eventsEnabled = _enabled;
16369      root = getActiveElementDeep(root);
16370      if (hasSelectionCapabilities(root)) {
16371        if ("selectionStart" in root)
16372          var JSCompiler_temp = {
16373            start: root.selectionStart,
16374            end: root.selectionEnd
16375          };
16376        else
16377          a: {
16378            JSCompiler_temp =
16379              ((JSCompiler_temp = root.ownerDocument) &&
16380                JSCompiler_temp.defaultView) ||
16381              window;
16382            var selection =
16383              JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();
16384            if (selection && 0 !== selection.rangeCount) {
16385              JSCompiler_temp = selection.anchorNode;
16386              var anchorOffset = selection.anchorOffset,
16387                focusNode = selection.focusNode;
16388              selection = selection.focusOffset;
16389              try {
16390                JSCompiler_temp.nodeType, focusNode.nodeType;
16391              } catch (e$2) {
16392                JSCompiler_temp = null;
16393                break a;
16394              }
16395              var length = 0,
16396                start = -1,
16397                end = -1,
16398                indexWithinAnchor = 0,
16399                indexWithinFocus = 0,
16400                node = root,
16401                parentNode = null;
16402              b: for (;;) {
16403                for (var next; ; ) {
16404                  node !== JSCompiler_temp ||
16405                    (0 !== anchorOffset && 3 !== node.nodeType) ||
16406                    (start = length + anchorOffset);
16407                  node !== focusNode ||
16408                    (0 !== selection && 3 !== node.nodeType) ||
16409                    (end = length + selection);
16410                  3 === node.nodeType && (length += node.nodeValue.length);
16411                  if (null === (next = node.firstChild)) break;
16412                  parentNode = node;
16413                  node = next;
16414                }
16415                for (;;) {
16416                  if (node === root) break b;
16417                  parentNode === JSCompiler_temp &&
16418                    ++indexWithinAnchor === anchorOffset &&
16419                    (start = length);
16420                  parentNode === focusNode &&
16421                    ++indexWithinFocus === selection &&
16422                    (end = length);
16423                  if (null !== (next = node.nextSibling)) break;
16424                  node = parentNode;
16425                  parentNode = node.parentNode;
16426                }
16427                node = next;
16428              }
16429              JSCompiler_temp =
16430                -1 === start || -1 === end ? null : { start: start, end: end };
16431            } else JSCompiler_temp = null;
16432          }
16433        JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };
16434      } else JSCompiler_temp = null;
16435      selectionInformation = {
16436        focusedElem: root,
16437        selectionRange: JSCompiler_temp
16438      };
16439      _enabled = !1;
16440      for (nextEffect = firstChild; null !== nextEffect; )
16441        if (
16442          ((firstChild = nextEffect),
16443          (root = firstChild.child),
16444          0 !== (firstChild.subtreeFlags & 1024) && null !== root)
16445        )
16446          (root.return = firstChild), (nextEffect = root);
16447        else
16448          for (; null !== nextEffect; ) {
16449            root = firstChild = nextEffect;
16450            JSCompiler_temp = root.alternate;
16451            anchorOffset = root.flags;
16452            switch (root.tag) {
16453              case 0:
16454                break;
16455              case 11:
16456              case 15:
16457                break;
16458              case 1:
16459                0 !== (anchorOffset & 1024) &&
16460                  null !== JSCompiler_temp &&
16461                  commitClassSnapshot(root, JSCompiler_temp);
16462                break;
16463              case 3:
16464                if (0 !== (anchorOffset & 1024))
16465                  if (
16466                    ((root = root.stateNode.containerInfo),
16467                    (JSCompiler_temp = root.nodeType),
16468                    9 === JSCompiler_temp)
16469                  )
16470                    clearContainerSparingly(root);
16471                  else if (1 === JSCompiler_temp)
16472                    switch (root.nodeName) {
16473                      case "HEAD":
16474                      case "HTML":
16475                      case "BODY":
16476                        clearContainerSparingly(root);
16477                        break;
16478                      default:
16479                        root.textContent = "";
16480                    }
16481                break;
16482              case 5:
16483              case 26:
16484              case 27:
16485              case 6:
16486              case 4:
16487              case 17:
16488                break;
16489              default:
16490                if (0 !== (anchorOffset & 1024))
16491                  throw Error(
16492                    "This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."
16493                  );
16494            }
16495            root = firstChild.sibling;
16496            if (null !== root) {
16497              root.return = firstChild.return;
16498              nextEffect = root;
16499              break;
16500            }
16501            nextEffect = firstChild.return;
16502          }
16503    }
16504    function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
16505      var flags = finishedWork.flags;
16506      switch (finishedWork.tag) {
16507        case 0:
16508        case 11:
16509        case 15:
16510          recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
16511          flags & 4 &&
16512            commitHookLayoutEffects(finishedWork, Layout | HasEffect);
16513          break;
16514        case 1:
16515          recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
16516          if (flags & 4)
16517            if (((finishedRoot = finishedWork.stateNode), null === current))
16518              finishedWork.type.defaultProps ||
16519                "ref" in finishedWork.memoizedProps ||
16520                didWarnAboutReassigningProps ||
16521                (finishedRoot.props !== finishedWork.memoizedProps &&
16522                  console.error(
16523                    "Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
16524                    getComponentNameFromFiber(finishedWork) || "instance"
16525                  ),
16526                finishedRoot.state !== finishedWork.memoizedState &&
16527                  console.error(
16528                    "Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
16529                    getComponentNameFromFiber(finishedWork) || "instance"
16530                  )),
16531                shouldProfile(finishedWork)
16532                  ? (startEffectTimer(),
16533                    runWithFiberInDEV(
16534                      finishedWork,
16535                      callComponentDidMountInDEV,
16536                      finishedWork,
16537                      finishedRoot
16538                    ),
16539                    recordEffectDuration())
16540                  : runWithFiberInDEV(
16541                      finishedWork,
16542                      callComponentDidMountInDEV,
16543                      finishedWork,
16544                      finishedRoot
16545                    );
16546            else {
16547              var prevProps = resolveClassComponentProps(
16548                finishedWork.type,
16549                current.memoizedProps
16550              );
16551              current = current.memoizedState;
16552              finishedWork.type.defaultProps ||
16553                "ref" in finishedWork.memoizedProps ||
16554                didWarnAboutReassigningProps ||
16555                (finishedRoot.props !== finishedWork.memoizedProps &&
16556                  console.error(
16557                    "Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
16558                    getComponentNameFromFiber(finishedWork) || "instance"
16559                  ),
16560                finishedRoot.state !== finishedWork.memoizedState &&
16561                  console.error(
16562                    "Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
16563                    getComponentNameFromFiber(finishedWork) || "instance"
16564                  ));
16565              shouldProfile(finishedWork)
16566                ? (startEffectTimer(),
16567                  runWithFiberInDEV(
16568                    finishedWork,
16569                    callComponentDidUpdateInDEV,
16570                    finishedWork,
16571                    finishedRoot,
16572                    prevProps,
16573                    current,
16574                    finishedRoot.__reactInternalSnapshotBeforeUpdate
16575                  ),
16576                  recordEffectDuration())
16577                : runWithFiberInDEV(
16578                    finishedWork,
16579                    callComponentDidUpdateInDEV,
16580                    finishedWork,
16581                    finishedRoot,
16582                    prevProps,
16583                    current,
16584                    finishedRoot.__reactInternalSnapshotBeforeUpdate
16585                  );
16586            }
16587          flags & 64 && commitClassCallbacks(finishedWork);
16588          flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);
16589          break;
16590        case 3:
16591          current = pushNestedEffectDurations();
16592          recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
16593          if (
16594            flags & 64 &&
16595            ((flags = finishedWork.updateQueue), null !== flags)
16596          ) {
16597            prevProps = null;
16598            if (null !== finishedWork.child)
16599              switch (finishedWork.child.tag) {
16600                case 27:
16601                case 5:
16602                  prevProps = finishedWork.child.stateNode;
16603                  break;
16604                case 1:
16605                  prevProps = finishedWork.child.stateNode;
16606              }
16607            try {
16608              runWithFiberInDEV(
16609                finishedWork,
16610                commitCallbacks,
16611                flags,
16612                prevProps
16613              );
16614            } catch (error) {
16615              captureCommitPhaseError(finishedWork, finishedWork.return, error);
16616            }
16617          }
16618          finishedRoot.effectDuration += popNestedEffectDurations(current);
16619          break;
16620        case 27:
16621          null === current &&
16622            flags & 4 &&
16623            commitHostSingletonAcquisition(finishedWork);
16624        case 26:
16625        case 5:
16626          recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
16627          null === current && flags & 4 && commitHostMount(finishedWork);
16628          flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);
16629          break;
16630        case 12:
16631          if (flags & 4) {
16632            flags = pushNestedEffectDurations();
16633            recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
16634            finishedRoot = finishedWork.stateNode;
16635            finishedRoot.effectDuration += bubbleNestedEffectDurations(flags);
16636            try {
16637              runWithFiberInDEV(
16638                finishedWork,
16639                commitProfiler,
16640                finishedWork,
16641                current,
16642                commitStartTime,
16643                finishedRoot.effectDuration
16644              );
16645            } catch (error) {
16646              captureCommitPhaseError(finishedWork, finishedWork.return, error);
16647            }
16648          } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
16649          break;
16650        case 13:
16651          recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
16652          flags & 4 &&
16653            commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
16654          flags & 64 &&
16655            ((finishedRoot = finishedWork.memoizedState),
16656            null !== finishedRoot &&
16657              ((finishedRoot = finishedRoot.dehydrated),
16658              null !== finishedRoot &&
16659                ((finishedWork = retryDehydratedSuspenseBoundary.bind(
16660                  null,
16661                  finishedWork
16662                )),
16663                registerSuspenseInstanceRetry(finishedRoot, finishedWork))));
16664          break;
16665        case 22:
16666          flags =
16667            null !== finishedWork.memoizedState || offscreenSubtreeIsHidden;
16668          if (!flags) {
16669            current =
16670              (null !== current && null !== current.memoizedState) ||
16671              offscreenSubtreeWasHidden;
16672            prevProps = offscreenSubtreeIsHidden;
16673            var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
16674            offscreenSubtreeIsHidden = flags;
16675            (offscreenSubtreeWasHidden = current) &&
16676            !prevOffscreenSubtreeWasHidden
16677              ? recursivelyTraverseReappearLayoutEffects(
16678                  finishedRoot,
16679                  finishedWork,
16680                  0 !== (finishedWork.subtreeFlags & 8772)
16681                )
16682              : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
16683            offscreenSubtreeIsHidden = prevProps;
16684            offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
16685          }
16686          break;
16687        case 30:
16688          break;
16689        default:
16690          recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
16691      }
16692    }
16693    function detachFiberAfterEffects(fiber) {
16694      var alternate = fiber.alternate;
16695      null !== alternate &&
16696        ((fiber.alternate = null), detachFiberAfterEffects(alternate));
16697      fiber.child = null;
16698      fiber.deletions = null;
16699      fiber.sibling = null;
16700      5 === fiber.tag &&
16701        ((alternate = fiber.stateNode),
16702        null !== alternate && detachDeletedInstance(alternate));
16703      fiber.stateNode = null;
16704      fiber._debugOwner = null;
16705      fiber.return = null;
16706      fiber.dependencies = null;
16707      fiber.memoizedProps = null;
16708      fiber.memoizedState = null;
16709      fiber.pendingProps = null;
16710      fiber.stateNode = null;
16711      fiber.updateQueue = null;
16712    }
16713    function recursivelyTraverseDeletionEffects(
16714      finishedRoot,
16715      nearestMountedAncestor,
16716      parent
16717    ) {
16718      for (parent = parent.child; null !== parent; )
16719        commitDeletionEffectsOnFiber(
16720          finishedRoot,
16721          nearestMountedAncestor,
16722          parent
16723        ),
16724          (parent = parent.sibling);
16725    }
16726    function commitDeletionEffectsOnFiber(
16727      finishedRoot,
16728      nearestMountedAncestor,
16729      deletedFiber
16730    ) {
16731      if (
16732        injectedHook &&
16733        "function" === typeof injectedHook.onCommitFiberUnmount
16734      )
16735        try {
16736          injectedHook.onCommitFiberUnmount(rendererID, deletedFiber);
16737        } catch (err) {
16738          hasLoggedError ||
16739            ((hasLoggedError = !0),
16740            console.error(
16741              "React instrumentation encountered an error: %s",
16742              err
16743            ));
16744        }
16745      switch (deletedFiber.tag) {
16746        case 26:
16747          offscreenSubtreeWasHidden ||
16748            safelyDetachRef(deletedFiber, nearestMountedAncestor);
16749          recursivelyTraverseDeletionEffects(
16750            finishedRoot,
16751            nearestMountedAncestor,
16752            deletedFiber
16753          );
16754          deletedFiber.memoizedState
16755            ? deletedFiber.memoizedState.count--
16756            : deletedFiber.stateNode &&
16757              ((deletedFiber = deletedFiber.stateNode),
16758              deletedFiber.parentNode.removeChild(deletedFiber));
16759          break;
16760        case 27:
16761          offscreenSubtreeWasHidden ||
16762            safelyDetachRef(deletedFiber, nearestMountedAncestor);
16763          var prevHostParent = hostParent,
16764            prevHostParentIsContainer = hostParentIsContainer;
16765          isSingletonScope(deletedFiber.type) &&
16766            ((hostParent = deletedFiber.stateNode),
16767            (hostParentIsContainer = !1));
16768          recursivelyTraverseDeletionEffects(
16769            finishedRoot,
16770            nearestMountedAncestor,
16771            deletedFiber
16772          );
16773          runWithFiberInDEV(
16774            deletedFiber,
16775            releaseSingletonInstance,
16776            deletedFiber.stateNode
16777          );
16778          hostParent = prevHostParent;
16779          hostParentIsContainer = prevHostParentIsContainer;
16780          break;
16781        case 5:
16782          offscreenSubtreeWasHidden ||
16783            safelyDetachRef(deletedFiber, nearestMountedAncestor);
16784        case 6:
16785          prevHostParent = hostParent;
16786          prevHostParentIsContainer = hostParentIsContainer;
16787          hostParent = null;
16788          recursivelyTraverseDeletionEffects(
16789            finishedRoot,
16790            nearestMountedAncestor,
16791            deletedFiber
16792          );
16793          hostParent = prevHostParent;
16794          hostParentIsContainer = prevHostParentIsContainer;
16795          if (null !== hostParent)
16796            if (hostParentIsContainer)
16797              try {
16798                runWithFiberInDEV(
16799                  deletedFiber,
16800                  removeChildFromContainer,
16801                  hostParent,
16802                  deletedFiber.stateNode
16803                );
16804              } catch (error) {
16805                captureCommitPhaseError(
16806                  deletedFiber,
16807                  nearestMountedAncestor,
16808                  error
16809                );
16810              }
16811            else
16812              try {
16813                runWithFiberInDEV(
16814                  deletedFiber,
16815                  removeChild,
16816                  hostParent,
16817                  deletedFiber.stateNode
16818                );
16819              } catch (error) {
16820                captureCommitPhaseError(
16821                  deletedFiber,
16822                  nearestMountedAncestor,
16823                  error
16824                );
16825              }
16826          break;
16827        case 18:
16828          null !== hostParent &&
16829            (hostParentIsContainer
16830              ? ((finishedRoot = hostParent),
16831                clearSuspenseBoundary(
16832                  9 === finishedRoot.nodeType
16833                    ? finishedRoot.body
16834                    : "HTML" === finishedRoot.nodeName
16835                      ? finishedRoot.ownerDocument.body
16836                      : finishedRoot,
16837                  deletedFiber.stateNode
16838                ),
16839                retryIfBlockedOn(finishedRoot))
16840              : clearSuspenseBoundary(hostParent, deletedFiber.stateNode));
16841          break;
16842        case 4:
16843          prevHostParent = hostParent;
16844          prevHostParentIsContainer = hostParentIsContainer;
16845          hostParent = deletedFiber.stateNode.containerInfo;
16846          hostParentIsContainer = !0;
16847          recursivelyTraverseDeletionEffects(
16848            finishedRoot,
16849            nearestMountedAncestor,
16850            deletedFiber
16851          );
16852          hostParent = prevHostParent;
16853          hostParentIsContainer = prevHostParentIsContainer;
16854          break;
16855        case 0:
16856        case 11:
16857        case 14:
16858        case 15:
16859          offscreenSubtreeWasHidden ||
16860            commitHookEffectListUnmount(
16861              Insertion,
16862              deletedFiber,
16863              nearestMountedAncestor
16864            );
16865          offscreenSubtreeWasHidden ||
16866            commitHookLayoutUnmountEffects(
16867              deletedFiber,
16868              nearestMountedAncestor,
16869              Layout
16870            );
16871          recursivelyTraverseDeletionEffects(
16872            finishedRoot,
16873            nearestMountedAncestor,
16874            deletedFiber
16875          );
16876          break;
16877        case 1:
16878          offscreenSubtreeWasHidden ||
16879            (safelyDetachRef(deletedFiber, nearestMountedAncestor),
16880            (prevHostParent = deletedFiber.stateNode),
16881            "function" === typeof prevHostParent.componentWillUnmount &&
16882              safelyCallComponentWillUnmount(
16883                deletedFiber,
16884                nearestMountedAncestor,
16885                prevHostParent
16886              ));
16887          recursivelyTraverseDeletionEffects(
16888            finishedRoot,
16889            nearestMountedAncestor,
16890            deletedFiber
16891          );
16892          break;
16893        case 21:
16894          recursivelyTraverseDeletionEffects(
16895            finishedRoot,
16896            nearestMountedAncestor,
16897            deletedFiber
16898          );
16899          break;
16900        case 22:
16901          offscreenSubtreeWasHidden =
16902            (prevHostParent = offscreenSubtreeWasHidden) ||
16903            null !== deletedFiber.memoizedState;
16904          recursivelyTraverseDeletionEffects(
16905            finishedRoot,
16906            nearestMountedAncestor,
16907            deletedFiber
16908          );
16909          offscreenSubtreeWasHidden = prevHostParent;
16910          break;
16911        default:
16912          recursivelyTraverseDeletionEffects(
16913            finishedRoot,
16914            nearestMountedAncestor,
16915            deletedFiber
16916          );
16917      }
16918    }
16919    function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {
16920      if (
16921        null === finishedWork.memoizedState &&
16922        ((finishedRoot = finishedWork.alternate),
16923        null !== finishedRoot &&
16924          ((finishedRoot = finishedRoot.memoizedState),
16925          null !== finishedRoot &&
16926            ((finishedRoot = finishedRoot.dehydrated), null !== finishedRoot)))
16927      )
16928        try {
16929          runWithFiberInDEV(
16930            finishedWork,
16931            commitHydratedSuspenseInstance,
16932            finishedRoot
16933          );
16934        } catch (error) {
16935          captureCommitPhaseError(finishedWork, finishedWork.return, error);
16936        }
16937    }
16938    function getRetryCache(finishedWork) {
16939      switch (finishedWork.tag) {
16940        case 13:
16941        case 19:
16942          var retryCache = finishedWork.stateNode;
16943          null === retryCache &&
16944            (retryCache = finishedWork.stateNode = new PossiblyWeakSet());
16945          return retryCache;
16946        case 22:
16947          return (
16948            (finishedWork = finishedWork.stateNode),
16949            (retryCache = finishedWork._retryCache),
16950            null === retryCache &&
16951              (retryCache = finishedWork._retryCache = new PossiblyWeakSet()),
16952            retryCache
16953          );
16954        default:
16955          throw Error(
16956            "Unexpected Suspense handler tag (" +
16957              finishedWork.tag +
16958              "). This is a bug in React."
16959          );
16960      }
16961    }
16962    function attachSuspenseRetryListeners(finishedWork, wakeables) {
16963      var retryCache = getRetryCache(finishedWork);
16964      wakeables.forEach(function (wakeable) {
16965        var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable);
16966        if (!retryCache.has(wakeable)) {
16967          retryCache.add(wakeable);
16968          if (isDevToolsPresent)
16969            if (null !== inProgressLanes && null !== inProgressRoot)
16970              restorePendingUpdaters(inProgressRoot, inProgressLanes);
16971            else
16972              throw Error(
16973                "Expected finished root and lanes to be set. This is a bug in React."
16974              );
16975          wakeable.then(retry, retry);
16976        }
16977      });
16978    }
16979    function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
16980      var deletions = parentFiber.deletions;
16981      if (null !== deletions)
16982        for (var i = 0; i < deletions.length; i++) {
16983          var root = root$jscomp$0,
16984            returnFiber = parentFiber,
16985            deletedFiber = deletions[i],
16986            parent = returnFiber;
16987          a: for (; null !== parent; ) {
16988            switch (parent.tag) {
16989              case 27:
16990                if (isSingletonScope(parent.type)) {
16991                  hostParent = parent.stateNode;
16992                  hostParentIsContainer = !1;
16993                  break a;
16994                }
16995                break;
16996              case 5:
16997                hostParent = parent.stateNode;
16998                hostParentIsContainer = !1;
16999                break a;
17000              case 3:
17001              case 4:
17002                hostParent = parent.stateNode.containerInfo;
17003                hostParentIsContainer = !0;
17004                break a;
17005            }
17006            parent = parent.return;
17007          }
17008          if (null === hostParent)
17009            throw Error(
17010              "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."
17011            );
17012          commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber);
17013          hostParent = null;
17014          hostParentIsContainer = !1;
17015          root = deletedFiber;
17016          returnFiber = root.alternate;
17017          null !== returnFiber && (returnFiber.return = null);
17018          root.return = null;
17019        }
17020      if (parentFiber.subtreeFlags & 13878)
17021        for (parentFiber = parentFiber.child; null !== parentFiber; )
17022          commitMutationEffectsOnFiber(parentFiber, root$jscomp$0),
17023            (parentFiber = parentFiber.sibling);
17024    }
17025    function commitMutationEffectsOnFiber(finishedWork, root) {
17026      var current = finishedWork.alternate,
17027        flags = finishedWork.flags;
17028      switch (finishedWork.tag) {
17029        case 0:
17030        case 11:
17031        case 14:
17032        case 15:
17033          recursivelyTraverseMutationEffects(root, finishedWork);
17034          commitReconciliationEffects(finishedWork);
17035          flags & 4 &&
17036            (commitHookEffectListUnmount(
17037              Insertion | HasEffect,
17038              finishedWork,
17039              finishedWork.return
17040            ),
17041            commitHookEffectListMount(Insertion | HasEffect, finishedWork),
17042            commitHookLayoutUnmountEffects(
17043              finishedWork,
17044              finishedWork.return,
17045              Layout | HasEffect
17046            ));
17047          break;
17048        case 1:
17049          recursivelyTraverseMutationEffects(root, finishedWork);
17050          commitReconciliationEffects(finishedWork);
17051          flags & 512 &&
17052            (offscreenSubtreeWasHidden ||
17053              null === current ||
17054              safelyDetachRef(current, current.return));
17055          flags & 64 &&
17056            offscreenSubtreeIsHidden &&
17057            ((finishedWork = finishedWork.updateQueue),
17058            null !== finishedWork &&
17059              ((flags = finishedWork.callbacks),
17060              null !== flags &&
17061                ((current = finishedWork.shared.hiddenCallbacks),
17062                (finishedWork.shared.hiddenCallbacks =
17063                  null === current ? flags : current.concat(flags)))));
17064          break;
17065        case 26:
17066          var hoistableRoot = currentHoistableRoot;
17067          recursivelyTraverseMutationEffects(root, finishedWork);
17068          commitReconciliationEffects(finishedWork);
17069          flags & 512 &&
17070            (offscreenSubtreeWasHidden ||
17071              null === current ||
17072              safelyDetachRef(current, current.return));
17073          if (flags & 4)
17074            if (
17075              ((root = null !== current ? current.memoizedState : null),
17076              (flags = finishedWork.memoizedState),
17077              null === current)
17078            )
17079              if (null === flags)
17080                if (null === finishedWork.stateNode) {
17081                  a: {
17082                    flags = finishedWork.type;
17083                    current = finishedWork.memoizedProps;
17084                    root = hoistableRoot.ownerDocument || hoistableRoot;
17085                    b: switch (flags) {
17086                      case "title":
17087                        hoistableRoot = root.getElementsByTagName("title")[0];
17088                        if (
17089                          !hoistableRoot ||
17090                          hoistableRoot[internalHoistableMarker] ||
17091                          hoistableRoot[internalInstanceKey] ||
17092                          hoistableRoot.namespaceURI === SVG_NAMESPACE ||
17093                          hoistableRoot.hasAttribute("itemprop")
17094                        )
17095                          (hoistableRoot = root.createElement(flags)),
17096                            root.head.insertBefore(
17097                              hoistableRoot,
17098                              root.querySelector("head > title")
17099                            );
17100                        setInitialProperties(hoistableRoot, flags, current);
17101                        hoistableRoot[internalInstanceKey] = finishedWork;
17102                        markNodeAsHoistable(hoistableRoot);
17103                        flags = hoistableRoot;
17104                        break a;
17105                      case "link":
17106                        var maybeNodes = getHydratableHoistableCache(
17107                          "link",
17108                          "href",
17109                          root
17110                        ).get(flags + (current.href || ""));
17111                        if (maybeNodes)
17112                          for (var i = 0; i < maybeNodes.length; i++)
17113                            if (
17114                              ((hoistableRoot = maybeNodes[i]),
17115                              hoistableRoot.getAttribute("href") ===
17116                                (null == current.href || "" === current.href
17117                                  ? null
17118                                  : current.href) &&
17119                                hoistableRoot.getAttribute("rel") ===
17120                                  (null == current.rel ? null : current.rel) &&
17121                                hoistableRoot.getAttribute("title") ===
17122                                  (null == current.title
17123                                    ? null
17124                                    : current.title) &&
17125                                hoistableRoot.getAttribute("crossorigin") ===
17126                                  (null == current.crossOrigin
17127                                    ? null
17128                                    : current.crossOrigin))
17129                            ) {
17130                              maybeNodes.splice(i, 1);
17131                              break b;
17132                            }
17133                        hoistableRoot = root.createElement(flags);
17134                        setInitialProperties(hoistableRoot, flags, current);
17135                        root.head.appendChild(hoistableRoot);
17136                        break;
17137                      case "meta":
17138                        if (
17139                          (maybeNodes = getHydratableHoistableCache(
17140                            "meta",
17141                            "content",
17142                            root
17143                          ).get(flags + (current.content || "")))
17144                        )
17145                          for (i = 0; i < maybeNodes.length; i++)
17146                            if (
17147                              ((hoistableRoot = maybeNodes[i]),
17148                              checkAttributeStringCoercion(
17149                                current.content,
17150                                "content"
17151                              ),
17152                              hoistableRoot.getAttribute("content") ===
17153                                (null == current.content
17154                                  ? null
17155                                  : "" + current.content) &&
17156                                hoistableRoot.getAttribute("name") ===
17157                                  (null == current.name
17158                                    ? null
17159                                    : current.name) &&
17160                                hoistableRoot.getAttribute("property") ===
17161                                  (null == current.property
17162                                    ? null
17163                                    : current.property) &&
17164                                hoistableRoot.getAttribute("http-equiv") ===
17165                                  (null == current.httpEquiv
17166                                    ? null
17167                                    : current.httpEquiv) &&
17168                                hoistableRoot.getAttribute("charset") 
17168===
17169                                  (null == current.charSet
17170                                    ? null
17171                                    : current.charSet))
17172                            ) {
17173                              maybeNodes.splice(i, 1);
17174                              break b;
17175                            }
17176                        hoistableRoot = root.createElement(flags);
17177                        setInitialProperties(hoistableRoot, flags, current);
17178                        root.head.appendChild(hoistableRoot);
17179                        break;
17180                      default:
17181                        throw Error(
17182                          'getNodesForType encountered a type it did not expect: "' +
17183                            flags +
17184                            '". This is a bug in React.'
17185                        );
17186                    }
17187                    hoistableRoot[internalInstanceKey] = finishedWork;
17188                    markNodeAsHoistable(hoistableRoot);
17189                    flags = hoistableRoot;
17190                  }
17191                  finishedWork.stateNode = flags;
17192                } else
17193                  mountHoistable(
17194                    hoistableRoot,
17195                    finishedWork.type,
17196                    finishedWork.stateNode
17197                  );
17198              else
17199                finishedWork.stateNode = acquireResource(
17200                  hoistableRoot,
17201                  flags,
17202                  finishedWork.memoizedProps
17203                );
17204            else
17205              root !== flags
17206                ? (null === root
17207                    ? null !== current.stateNode &&
17208                      ((current = current.stateNode),
17209                      current.parentNode.removeChild(current))
17210                    : root.count--,
17211                  null === flags
17212                    ? mountHoistable(
17213                        hoistableRoot,
17214                        finishedWork.type,
17215                        finishedWork.stateNode
17216                      )
17217                    : acquireResource(
17218                        hoistableRoot,
17219                        flags,
17220                        finishedWork.memoizedProps
17221                      ))
17222                : null === flags &&
17223                  null !== finishedWork.stateNode &&
17224                  commitHostUpdate(
17225                    finishedWork,
17226                    finishedWork.memoizedProps,
17227                    current.memoizedProps
17228                  );
17229          break;
17230        case 27:
17231          recursivelyTraverseMutationEffects(root, finishedWork);
17232          commitReconciliationEffects(finishedWork);
17233          flags & 512 &&
17234            (offscreenSubtreeWasHidden ||
17235              null === current ||
17236              safelyDetachRef(current, current.return));
17237          null !== current &&
17238            flags & 4 &&
17239            commitHostUpdate(
17240              finishedWork,
17241              finishedWork.memoizedProps,
17242              current.memoizedProps
17243            );
17244          break;
17245        case 5:
17246          recursivelyTraverseMutationEffects(root, finishedWork);
17247          commitReconciliationEffects(finishedWork);
17248          flags & 512 &&
17249            (offscreenSubtreeWasHidden ||
17250              null === current ||
17251              safelyDetachRef(current, current.return));
17252          if (finishedWork.flags & 32) {
17253            root = finishedWork.stateNode;
17254            try {
17255              runWithFiberInDEV(finishedWork, resetTextContent, root);
17256            } catch (error) {
17257              captureCommitPhaseError(finishedWork, finishedWork.return, error);
17258            }
17259          }
17260          flags & 4 &&
17261            null != finishedWork.stateNode &&
17262            ((root = finishedWork.memoizedProps),
17263            commitHostUpdate(
17264              finishedWork,
17265              root,
17266              null !== current ? current.memoizedProps : root
17267            ));
17268          flags & 1024 &&
17269            ((needsFormReset = !0),
17270            "form" !== finishedWork.type &&
17271              console.error(
17272                "Unexpected host component type. Expected a form. This is a bug in React."
17273              ));
17274          break;
17275        case 6:
17276          recursivelyTraverseMutationEffects(root, finishedWork);
17277          commitReconciliationEffects(finishedWork);
17278          if (flags & 4) {
17279            if (null === finishedWork.stateNode)
17280              throw Error(
17281                "This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue."
17282              );
17283            flags = finishedWork.memoizedProps;
17284            current = null !== current ? current.memoizedProps : flags;
17285            root = finishedWork.stateNode;
17286            try {
17287              runWithFiberInDEV(
17288                finishedWork,
17289                commitTextUpdate,
17290                root,
17291                current,
17292                flags
17293              );
17294            } catch (error) {
17295              captureCommitPhaseError(finishedWork, finishedWork.return, error);
17296            }
17297          }
17298          break;
17299        case 3:
17300          hoistableRoot = pushNestedEffectDurations();
17301          tagCaches = null;
17302          maybeNodes = currentHoistableRoot;
17303          currentHoistableRoot = getHoistableRoot(root.containerInfo);
17304          recursivelyTraverseMutationEffects(root, finishedWork);
17305          currentHoistableRoot = maybeNodes;
17306          commitReconciliationEffects(finishedWork);
17307          if (
17308            flags & 4 &&
17309            null !== current &&
17310            current.memoizedState.isDehydrated
17311          )
17312            try {
17313              runWithFiberInDEV(
17314                finishedWork,
17315                commitHydratedContainer,
17316                root.containerInfo
17317              );
17318            } catch (error) {
17319              captureCommitPhaseError(finishedWork, finishedWork.return, error);
17320            }
17321          needsFormReset &&
17322            ((needsFormReset = !1), recursivelyResetForms(finishedWork));
17323          root.effectDuration += popNestedEffectDurations(hoistableRoot);
17324          break;
17325        case 4:
17326          flags = currentHoistableRoot;
17327          currentHoistableRoot = getHoistableRoot(
17328            finishedWork.stateNode.containerInfo
17329          );
17330          recursivelyTraverseMutationEffects(root, finishedWork);
17331          commitReconciliationEffects(finishedWork);
17332          currentHoistableRoot = flags;
17333          break;
17334        case 12:
17335          flags = pushNestedEffectDurations();
17336          recursivelyTraverseMutationEffects(root, finishedWork);
17337          commitReconciliationEffects(finishedWork);
17338          finishedWork.stateNode.effectDuration +=
17339            bubbleNestedEffectDurations(flags);
17340          break;
17341        case 13:
17342          recursivelyTraverseMutationEffects(root, finishedWork);
17343          commitReconciliationEffects(finishedWork);
17344          finishedWork.child.flags & 8192 &&
17345            (null !== finishedWork.memoizedState) !==
17346              (null !== current && null !== current.memoizedState) &&
17347            (globalMostRecentFallbackTime = now$1());
17348          flags & 4 &&
17349            ((flags = finishedWork.updateQueue),
17350            null !== flags &&
17351              ((finishedWork.updateQueue = null),
17352              attachSuspenseRetryListeners(finishedWork, flags)));
17353          break;
17354        case 22:
17355          hoistableRoot = null !== finishedWork.memoizedState;
17356          var wasHidden = null !== current && null !== current.memoizedState,
17357            prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,
17358            prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
17359          offscreenSubtreeIsHidden =
17360            prevOffscreenSubtreeIsHidden || hoistableRoot;
17361          offscreenSubtreeWasHidden =
17362            prevOffscreenSubtreeWasHidden || wasHidden;
17363          recursivelyTraverseMutationEffects(root, finishedWork);
17364          offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
17365          offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
17366          commitReconciliationEffects(finishedWork);
17367          if (flags & 8192)
17368            a: for (
17369              root = finishedWork.stateNode,
17370                root._visibility = hoistableRoot
17371                  ? root._visibility & ~OffscreenVisible
17372                  : root._visibility | OffscreenVisible,
17373                hoistableRoot &&
17374                  (null === current ||
17375                    wasHidden ||
17376                    offscreenSubtreeIsHidden ||
17377                    offscreenSubtreeWasHidden ||
17378                    recursivelyTraverseDisappearLayoutEffects(finishedWork)),
17379                current = null,
17380                root = finishedWork;
17381              ;
17382
17383            ) {
17384              if (5 === root.tag || 26 === root.tag) {
17385                if (null === current) {
17386                  wasHidden = current = root;
17387                  try {
17388                    (maybeNodes = wasHidden.stateNode),
17389                      hoistableRoot
17390                        ? runWithFiberInDEV(wasHidden, hideInstance, maybeNodes)
17391                        : runWithFiberInDEV(
17392                            wasHidden,
17393                            unhideInstance,
17394                            wasHidden.stateNode,
17395                            wasHidden.memoizedProps
17396                          );
17397                  } catch (error) {
17398                    captureCommitPhaseError(wasHidden, wasHidden.return, error);
17399                  }
17400                }
17401              } else if (6 === root.tag) {
17402                if (null === current) {
17403                  wasHidden = root;
17404                  try {
17405                    (i = wasHidden.stateNode),
17406                      hoistableRoot
17407                        ? runWithFiberInDEV(wasHidden, hideTextInstance, i)
17408                        : runWithFiberInDEV(
17409                            wasHidden,
17410                            unhideTextInstance,
17411                            i,
17412                            wasHidden.memoizedProps
17413                          );
17414                  } catch (error) {
17415                    captureCommitPhaseError(wasHidden, wasHidden.return, error);
17416                  }
17417                }
17418              } else if (
17419                ((22 !== root.tag && 23 !== root.tag) ||
17420                  null === root.memoizedState ||
17421                  root === finishedWork) &&
17422                null !== root.child
17423              ) {
17424                root.child.return = root;
17425                root = root.child;
17426                continue;
17427              }
17428              if (root === finishedWork) break a;
17429              for (; null === root.sibling; ) {
17430                if (null === root.return || root.return === finishedWork)
17431                  break a;
17432                current === root && (current = null);
17433                root = root.return;
17434              }
17435              current === root && (current = null);
17436              root.sibling.return = root.return;
17437              root = root.sibling;
17438            }
17439          flags & 4 &&
17440            ((flags = finishedWork.updateQueue),
17441            null !== flags &&
17442              ((current = flags.retryQueue),
17443              null !== current &&
17444                ((flags.retryQueue = null),
17445                attachSuspenseRetryListeners(finishedWork, current))));
17446          break;
17447        case 19:
17448          recursivelyTraverseMutationEffects(root, finishedWork);
17449          commitReconciliationEffects(finishedWork);
17450          flags & 4 &&
17451            ((flags = finishedWork.updateQueue),
17452            null !== flags &&
17453              ((finishedWork.updateQueue = null),
17454              attachSuspenseRetryListeners(finishedWork, flags)));
17455          break;
17456        case 30:
17457          break;
17458        case 21:
17459          break;
17460        default:
17461          recursivelyTraverseMutationEffects(root, finishedWork),
17462            commitReconciliationEffects(finishedWork);
17463      }
17464    }
17465    function commitReconciliationEffects(finishedWork) {
17466      var flags = finishedWork.flags;
17467      if (flags & 2) {
17468        try {
17469          runWithFiberInDEV(finishedWork, commitPlacement, finishedWork);
17470        } catch (error) {
17471          captureCommitPhaseError(finishedWork, finishedWork.return, error);
17472        }
17473        finishedWork.flags &= -3;
17474      }
17475      flags & 4096 && (finishedWork.flags &= -4097);
17476    }
17477    function recursivelyResetForms(parentFiber) {
17478      if (parentFiber.subtreeFlags & 1024)
17479        for (parentFiber = parentFiber.child; null !== parentFiber; ) {
17480          var fiber = parentFiber;
17481          recursivelyResetForms(fiber);
17482          5 === fiber.tag && fiber.flags & 1024 && fiber.stateNode.reset();
17483          parentFiber = parentFiber.sibling;
17484        }
17485    }
17486    function recursivelyTraverseLayoutEffects(root, parentFiber) {
17487      if (parentFiber.subtreeFlags & 8772)
17488        for (parentFiber = parentFiber.child; null !== parentFiber; )
17489          commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber),
17490            (parentFiber = parentFiber.sibling);
17491    }
17492    function disappearLayoutEffects(finishedWork) {
17493      switch (finishedWork.tag) {
17494        case 0:
17495        case 11:
17496        case 14:
17497        case 15:
17498          commitHookLayoutUnmountEffects(
17499            finishedWork,
17500            finishedWork.return,
17501            Layout
17502          );
17503          recursivelyTraverseDisappearLayoutEffects(finishedWork);
17504          break;
17505        case 1:
17506          safelyDetachRef(finishedWork, finishedWork.return);
17507          var instance = finishedWork.stateNode;
17508          "function" === typeof instance.componentWillUnmount &&
17509            safelyCallComponentWillUnmount(
17510              finishedWork,
17511              finishedWork.return,
17512              instance
17513            );
17514          recursivelyTraverseDisappearLayoutEffects(finishedWork);
17515          break;
17516        case 27:
17517          runWithFiberInDEV(
17518            finishedWork,
17519            releaseSingletonInstance,
17520            finishedWork.stateNode
17521          );
17522        case 26:
17523        case 5:
17524          safelyDetachRef(finishedWork, finishedWork.return);
17525          recursivelyTraverseDisappearLayoutEffects(finishedWork);
17526          break;
17527        case 22:
17528          null === finishedWork.memoizedState &&
17529            recursivelyTraverseDisappearLayoutEffects(finishedWork);
17530          break;
17531        case 30:
17532          recursivelyTraverseDisappearLayoutEffects(finishedWork);
17533          break;
17534        default:
17535          recursivelyTraverseDisappearLayoutEffects(finishedWork);
17536      }
17537    }
17538    function recursivelyTraverseDisappearLayoutEffects(parentFiber) {
17539      for (parentFiber = parentFiber.child; null !== parentFiber; )
17540        disappearLayoutEffects(parentFiber),
17541          (parentFiber = parentFiber.sibling);
17542    }
17543    function reappearLayoutEffects(
17544      finishedRoot,
17545      current,
17546      finishedWork,
17547      includeWorkInProgressEffects
17548    ) {
17549      var flags = finishedWork.flags;
17550      switch (finishedWork.tag) {
17551        case 0:
17552        case 11:
17553        case 15:
17554          recursivelyTraverseReappearLayoutEffects(
17555            finishedRoot,
17556            finishedWork,
17557            includeWorkInProgressEffects
17558          );
17559          commitHookLayoutEffects(finishedWork, Layout);
17560          break;
17561        case 1:
17562          recursivelyTraverseReappearLayoutEffects(
17563            finishedRoot,
17564            finishedWork,
17565            includeWorkInProgressEffects
17566          );
17567          current = finishedWork.stateNode;
17568          "function" === typeof current.componentDidMount &&
17569            runWithFiberInDEV(
17570              finishedWork,
17571              callComponentDidMountInDEV,
17572              finishedWork,
17573              current
17574            );
17575          current = finishedWork.updateQueue;
17576          if (null !== current) {
17577            finishedRoot = finishedWork.stateNode;
17578            try {
17579              runWithFiberInDEV(
17580                finishedWork,
17581                commitHiddenCallbacks,
17582                current,
17583                finishedRoot
17584              );
17585            } catch (error) {
17586              captureCommitPhaseError(finishedWork, finishedWork.return, error);
17587            }
17588          }
17589          includeWorkInProgressEffects &&
17590            flags & 64 &&
17591            commitClassCallbacks(finishedWork);
17592          safelyAttachRef(finishedWork, finishedWork.return);
17593          break;
17594        case 27:
17595          commitHostSingletonAcquisition(finishedWork);
17596        case 26:
17597        case 5:
17598          recursivelyTraverseReappearLayoutEffects(
17599            finishedRoot,
17600            finishedWork,
17601            includeWorkInProgressEffects
17602          );
17603          includeWorkInProgressEffects &&
17604            null === current &&
17605            flags & 4 &&
17606            commitHostMount(finishedWork);
17607          safelyAttachRef(finishedWork, finishedWork.return);
17608          break;
17609        case 12:
17610          if (includeWorkInProgressEffects && flags & 4) {
17611            flags = pushNestedEffectDurations();
17612            recursivelyTraverseReappearLayoutEffects(
17613              finishedRoot,
17614              finishedWork,
17615              includeWorkInProgressEffects
17616            );
17617            includeWorkInProgressEffects = finishedWork.stateNode;
17618            includeWorkInProgressEffects.effectDuration +=
17619              bubbleNestedEffectDurations(flags);
17620            try {
17621              runWithFiberInDEV(
17622                finishedWork,
17623                commitProfiler,
17624                finishedWork,
17625                current,
17626                commitStartTime,
17627                includeWorkInProgressEffects.effectDuration
17628              );
17629            } catch (error) {
17630              captureCommitPhaseError(finishedWork, finishedWork.return, error);
17631            }
17632          } else
17633            recursivelyTraverseReappearLayoutEffects(
17634              finishedRoot,
17635              finishedWork,
17636              includeWorkInProgressEffects
17637            );
17638          break;
17639        case 13:
17640          recursivelyTraverseReappearLayoutEffects(
17641            finishedRoot,
17642            finishedWork,
17643            includeWorkInProgressEffects
17644          );
17645          includeWorkInProgressEffects &&
17646            flags & 4 &&
17647            commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
17648          break;
17649        case 22:
17650          null === finishedWork.memoizedState &&
17651            recursivelyTraverseReappearLayoutEffects(
17652              finishedRoot,
17653              finishedWork,
17654              includeWorkInProgressEffects
17655            );
17656          safelyAttachRef(finishedWork, finishedWork.return);
17657          break;
17658        case 30:
17659          break;
17660        default:
17661          recursivelyTraverseReappearLayoutEffects(
17662            finishedRoot,
17663            finishedWork,
17664            includeWorkInProgressEffects
17665          );
17666      }
17667    }
17668    function recursivelyTraverseReappearLayoutEffects(
17669      finishedRoot,
17670      parentFiber,
17671      includeWorkInProgressEffects
17672    ) {
17673      includeWorkInProgressEffects =
17674        includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772);
17675      for (parentFiber = parentFiber.child; null !== parentFiber; )
17676        reappearLayoutEffects(
17677          finishedRoot,
17678          parentFiber.alternate,
17679          parentFiber,
17680          includeWorkInProgressEffects
17681        ),
17682          (parentFiber = parentFiber.sibling);
17683    }
17684    function commitOffscreenPassiveMountEffects(current, finishedWork) {
17685      var previousCache = null;
17686      null !== current &&
17687        null !== current.memoizedState &&
17688        null !== current.memoizedState.cachePool &&
17689        (previousCache = current.memoizedState.cachePool.pool);
17690      current = null;
17691      null !== finishedWork.memoizedState &&
17692        null !== finishedWork.memoizedState.cachePool &&
17693        (current = finishedWork.memoizedState.cachePool.pool);
17694      current !== previousCache &&
17695        (null != current && retainCache(current),
17696        null != previousCache && releaseCache(previousCache));
17697    }
17698    function commitCachePassiveMountEffect(current, finishedWork) {
17699      current = null;
17700      null !== finishedWork.alternate &&
17701        (current = finishedWork.alternate.memoizedState.cache);
17702      finishedWork = finishedWork.memoizedState.cache;
17703      finishedWork !== current &&
17704        (retainCache(finishedWork), null != current && releaseCache(current));
17705    }
17706    function recursivelyTraversePassiveMountEffects(
17707      root,
17708      parentFiber,
17709      committedLanes,
17710      committedTransitions
17711    ) {
17712      if (parentFiber.subtreeFlags & 10256)
17713        for (parentFiber = parentFiber.child; null !== parentFiber; )
17714          commitPassiveMountOnFiber(
17715            root,
17716            parentFiber,
17717            committedLanes,
17718            committedTransitions
17719          ),
17720            (parentFiber = parentFiber.sibling);
17721    }
17722    function commitPassiveMountOnFiber(
17723      finishedRoot,
17724      finishedWork,
17725      committedLanes,
17726      committedTransitions
17727    ) {
17728      var flags = finishedWork.flags;
17729      switch (finishedWork.tag) {
17730        case 0:
17731        case 11:
17732        case 15:
17733          recursivelyTraversePassiveMountEffects(
17734            finishedRoot,
17735            finishedWork,
17736            committedLanes,
17737            committedTransitions
17738          );
17739          flags & 2048 &&
17740            commitHookPassiveMountEffects(finishedWork, Passive | HasEffect);
17741          break;
17742        case 1:
17743          recursivelyTraversePassiveMountEffects(
17744            finishedRoot,
17745            finishedWork,
17746            committedLanes,
17747            committedTransitions
17748          );
17749          break;
17750        case 3:
17751          var prevEffectDuration = pushNestedEffectDurations();
17752          recursivelyTraversePassiveMountEffects(
17753            finishedRoot,
17754            finishedWork,
17755            committedLanes,
17756            committedTransitions
17757          );
17758          flags & 2048 &&
17759            ((committedLanes = null),
17760            null !== finishedWork.alternate &&
17761              (committedLanes = finishedWork.alternate.memoizedState.cache),
17762            (finishedWork = finishedWork.memoizedState.cache),
17763            finishedWork !== committedLanes &&
17764              (retainCache(finishedWork),
17765              null != committedLanes && releaseCache(committedLanes)));
17766          finishedRoot.passiveEffectDuration +=
17767            popNestedEffectDurations(prevEffectDuration);
17768          break;
17769        case 12:
17770          if (flags & 2048) {
17771            flags = pushNestedEffectDurations();
17772            recursivelyTraversePassiveMountEffects(
17773              finishedRoot,
17774              finishedWork,
17775              committedLanes,
17776              committedTransitions
17777            );
17778            finishedRoot = finishedWork.stateNode;
17779            finishedRoot.passiveEffectDuration +=
17780              bubbleNestedEffectDurations(flags);
17781            try {
17782              runWithFiberInDEV(
17783                finishedWork,
17784                commitProfilerPostCommitImpl,
17785                finishedWork,
17786                finishedWork.alternate,
17787                commitStartTime,
17788                finishedRoot.passiveEffectDuration
17789              );
17790            } catch (error) {
17791              captureCommitPhaseError(finishedWork, finishedWork.return, error);
17792            }
17793          } else
17794            recursivelyTraversePassiveMountEffects(
17795              finishedRoot,
17796              finishedWork,
17797              committedLanes,
17798              committedTransitions
17799            );
17800          break;
17801        case 13:
17802          recursivelyTraversePassiveMountEffects(
17803            finishedRoot,
17804            finishedWork,
17805            committedLanes,
17806            committedTransitions
17807          );
17808          break;
17809        case 23:
17810          break;
17811        case 22:
17812          prevEffectDuration = finishedWork.stateNode;
17813          var _current = finishedWork.alternate;
17814          null !== finishedWork.memoizedState
17815            ? prevEffectDuration._visibility & OffscreenPassiveEffectsConnected
17816              ? recursivelyTraversePassiveMountEffects(
17817                  finishedRoot,
17818                  finishedWork,
17819                  committedLanes,
17820                  committedTransitions
17821                )
17822              : recursivelyTraverseAtomicPassiveEffects(
17823                  finishedRoot,
17824                  finishedWork
17825                )
17826            : prevEffectDuration._visibility & OffscreenPassiveEffectsConnected
17827              ? recursivelyTraversePassiveMountEffects(
17828                  finishedRoot,
17829                  finishedWork,
17830                  committedLanes,
17831                  committedTransitions
17832                )
17833              : ((prevEffectDuration._visibility |=
17834                  OffscreenPassiveEffectsConnected),
17835                recursivelyTraverseReconnectPassiveEffects(
17836                  finishedRoot,
17837                  finishedWork,
17838                  committedLanes,
17839                  committedTransitions,
17840                  0 !== (finishedWork.subtreeFlags & 10256)
17841                ));
17842          flags & 2048 &&
17843            commitOffscreenPassiveMountEffects(_current, finishedWork);
17844          break;
17845        case 24:
17846          recursivelyTraversePassiveMountEffects(
17847            finishedRoot,
17848            finishedWork,
17849            committedLanes,
17850            committedTransitions
17851          );
17852          flags & 2048 &&
17853            commitCachePassiveMountEffect(finishedWork.alternate, finishedWork);
17854          break;
17855        default:
17856          recursivelyTraversePassiveMountEffects(
17857            finishedRoot,
17858            finishedWork,
17859            committedLanes,
17860            committedTransitions
17861          );
17862      }
17863    }
17864    function recursivelyTraverseReconnectPassiveEffects(
17865      finishedRoot,
17866      parentFiber,
17867      committedLanes,
17868      committedTransitions,
17869      includeWorkInProgressEffects
17870    ) {
17871      includeWorkInProgressEffects =
17872        includeWorkInProgressEffects &&
17873        0 !== (parentFiber.subtreeFlags & 10256);
17874      for (parentFiber = parentFiber.child; null !== parentFiber; )
17875        reconnectPassiveEffects(
17876          finishedRoot,
17877          parentFiber,
17878          committedLanes,
17879          committedTransitions,
17880          includeWorkInProgressEffects
17881        ),
17882          (parentFiber = parentFiber.sibling);
17883    }
17884    function reconnectPassiveEffects(
17885      finishedRoot,
17886      finishedWork,
17887      committedLanes,
17888      committedTransitions,
17889      includeWorkInProgressEffects
17890    ) {
17891      var flags = finishedWork.flags;
17892      switch (finishedWork.tag) {
17893        case 0:
17894        case 11:
17895        case 15:
17896          recursivelyTraverseReconnectPassiveEffects(
17897            finishedRoot,
17898            finishedWork,
17899            committedLanes,
17900            committedTransitions,
17901            includeWorkInProgressEffects
17902          );
17903          commitHookPassiveMountEffects(finishedWork, Passive);
17904          break;
17905        case 23:
17906          break;
17907        case 22:
17908          var _instance2 = finishedWork.stateNode;
17909          null !== finishedWork.memoizedState
17910            ? _instance2._visibility & OffscreenPassiveEffectsConnected
17911              ? recursivelyTraverseReconnectPassiveEffects(
17912                  finishedRoot,
17913                  finishedWork,
17914                  committedLanes,
17915                  committedTransitions,
17916                  includeWorkInProgressEffects
17917                )
17918              : recursivelyTraverseAtomicPassiveEffects(
17919                  finishedRoot,
17920                  finishedWork
17921                )
17922            : ((_instance2._visibility |= OffscreenPassiveEffectsConnected),
17923              recursivelyTraverseReconnectPassiveEffects(
17924                finishedRoot,
17925                finishedWork,
17926                committedLanes,
17927                committedTransitions,
17928                includeWorkInProgressEffects
17929              ));
17930          includeWorkInProgressEffects &&
17931            flags & 2048 &&
17932            commitOffscreenPassiveMountEffects(
17933              finishedWork.alternate,
17934              finishedWork
17935            );
17936          break;
17937        case 24:
17938          recursivelyTraverseReconnectPassiveEffects(
17939            finishedRoot,
17940            finishedWork,
17941            committedLanes,
17942            committedTransitions,
17943            includeWorkInProgressEffects
17944          );
17945          includeWorkInProgressEffects &&
17946            flags & 2048 &&
17947            commitCachePassiveMountEffect(finishedWork.alternate, finishedWork);
17948          break;
17949        default:
17950          recursivelyTraverseReconnectPassiveEffects(
17951            finishedRoot,
17952            finishedWork,
17953            committedLanes,
17954            committedTransitions,
17955            includeWorkInProgressEffects
17956          );
17957      }
17958    }
17959    function recursivelyTraverseAtomicPassiveEffects(
17960      finishedRoot$jscomp$0,
17961      parentFiber
17962    ) {
17963      if (parentFiber.subtreeFlags & 10256)
17964        for (parentFiber = parentFiber.child; null !== parentFiber; ) {
17965          var finishedRoot = finishedRoot$jscomp$0,
17966            finishedWork = parentFiber,
17967            flags = finishedWork.flags;
17968          switch (finishedWork.tag) {
17969            case 22:
17970              recursivelyTraverseAtomicPassiveEffects(
17971                finishedRoot,
17972                finishedWork
17973              );
17974              flags & 2048 &&
17975                commitOffscreenPassiveMountEffects(
17976                  finishedWork.alternate,
17977                  finishedWork
17978                );
17979              break;
17980            case 24:
17981              recursivelyTraverseAtomicPassiveEffects(
17982                finishedRoot,
17983                finishedWork
17984              );
17985              flags & 2048 &&
17986                commitCachePassiveMountEffect(
17987                  finishedWork.alternate,
17988                  finishedWork
17989                );
17990              break;
17991            default:
17992              recursivelyTraverseAtomicPassiveEffects(
17993                finishedRoot,
17994                finishedWork
17995              );
17996          }
17997          parentFiber = parentFiber.sibling;
17998        }
17999    }
18000    function recursivelyAccumulateSuspenseyCommit(parentFiber) {
18001      if (parentFiber.subtreeFlags & suspenseyCommitFlag)
18002        for (parentFiber = parentFiber.child; null !== parentFiber; )
18003          accumulateSuspenseyCommitOnFiber(parentFiber),
18004            (parentFiber = parentFiber.sibling);
18005    }
18006    function accumulateSuspenseyCommitOnFiber(fiber) {
18007      switch (fiber.tag) {
18008        case 26:
18009          recursivelyAccumulateSuspenseyCommit(fiber);
18010          fiber.flags & suspenseyCommitFlag &&
18011            null !== fiber.memoizedState &&
18012            suspendResource(
18013              currentHoistableRoot,
18014              fiber.memoizedState,
18015              fiber.memoizedProps
18016            );
18017          break;
18018        case 5:
18019          recursivelyAccumulateSuspenseyCommit(fiber);
18020          break;
18021        case 3:
18022        case 4:
18023          var previousHoistableRoot = currentHoistableRoot;
18024          currentHoistableRoot = getHoistableRoot(
18025            fiber.stateNode.containerInfo
18026          );
18027          recursivelyAccumulateSuspenseyCommit(fiber);
18028          currentHoistableRoot = previousHoistableRoot;
18029          break;
18030        case 22:
18031          null === fiber.memoizedState &&
18032            ((previousHoistableRoot = fiber.alternate),
18033            null !== previousHoistableRoot &&
18034            null !== previousHoistableRoot.memoizedState
18035              ? ((previousHoistableRoot = suspenseyCommitFlag),
18036                (suspenseyCommitFlag = 16777216),
18037                recursivelyAccumulateSuspenseyCommit(fiber),
18038                (suspenseyCommitFlag = previousHoistableRoot))
18039              : recursivelyAccumulateSuspenseyCommit(fiber));
18040          break;
18041        default:
18042          recursivelyAccumulateSuspenseyCommit(fiber);
18043      }
18044    }
18045    function detachAlternateSiblings(parentFiber) {
18046      var previousFiber = parentFiber.alternate;
18047      if (
18048        null !== previousFiber &&
18049        ((parentFiber = previousFiber.child), null !== parentFiber)
18050      ) {
18051        previousFiber.child = null;
18052        do
18053          (previousFiber = parentFiber.sibling),
18054            (parentFiber.sibling = null),
18055            (parentFiber = previousFiber);
18056        while (null !== parentFiber);
18057      }
18058    }
18059    function recursivelyTraversePassiveUnmountEffects(parentFiber) {
18060      var deletions = parentFiber.deletions;
18061      if (0 !== (parentFiber.flags & 16)) {
18062        if (null !== deletions)
18063          for (var i = 0; i < deletions.length; i++) {
18064            var childToDelete = deletions[i];
18065            nextEffect = childToDelete;
18066            commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
18067              childToDelete,
18068              parentFiber
18069            );
18070          }
18071        detachAlternateSiblings(parentFiber);
18072      }
18073      if (parentFiber.subtreeFlags & 10256)
18074        for (parentFiber = parentFiber.child; null !== parentFiber; )
18075          commitPassiveUnmountOnFiber(parentFiber),
18076            (parentFiber = parentFiber.sibling);
18077    }
18078    function commitPassiveUnmountOnFiber(finishedWork) {
18079      switch (finishedWork.tag) {
18080        case 0:
18081        case 11:
18082        case 15:
18083          recursivelyTraversePassiveUnmountEffects(finishedWork);
18084          finishedWork.flags & 2048 &&
18085            commitHookPassiveUnmountEffects(
18086              finishedWork,
18087              finishedWork.return,
18088              Passive | HasEffect
18089            );
18090          break;
18091        case 3:
18092          var prevEffectDuration = pushNestedEffectDurations();
18093          recursivelyTraversePassiveUnmountEffects(finishedWork);
18094          finishedWork.stateNode.passiveEffectDuration +=
18095            popNestedEffectDurations(prevEffectDuration);
18096          break;
18097        case 12:
18098          prevEffectDuration = pushNestedEffectDurations();
18099          recursivelyTraversePassiveUnmountEffects(finishedWork);
18100          finishedWork.stateNode.passiveEffectDuration +=
18101            bubbleNestedEffectDurations(prevEffectDuration);
18102          break;
18103        case 22:
18104          prevEffectDuration = finishedWork.stateNode;
18105          null !== finishedWork.memoizedState &&
18106          prevEffectDuration._visibility & OffscreenPassiveEffectsConnected &&
18107          (null === finishedWork.return || 13 !== finishedWork.return.tag)
18108            ? ((prevEffectDuration._visibility &=
18109                ~OffscreenPassiveEffectsConnected),
18110              recursivelyTraverseDisconnectPassiveEffects(finishedWork))
18111            : recursivelyTraversePassiveUnmountEffects(finishedWork);
18112          break;
18113        default:
18114          recursivelyTraversePassiveUnmountEffects(finishedWork);
18115      }
18116    }
18117    function recursivelyTraverseDisconnectPassiveEffects(parentFiber) {
18118      var deletions = parentFiber.deletions;
18119      if (0 !== (parentFiber.flags & 16)) {
18120        if (null !== deletions)
18121          for (var i = 0; i < deletions.length; i++) {
18122            var childToDelete = deletions[i];
18123            nextEffect = childToDelete;
18124            commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
18125              childToDelete,
18126              parentFiber
18127            );
18128          }
18129        detachAlternateSiblings(parentFiber);
18130      }
18131      for (parentFiber = parentFiber.child; null !== parentFiber; )
18132        disconnectPassiveEffect(parentFiber),
18133          (parentFiber = parentFiber.sibling);
18134    }
18135    function disconnectPassiveEffect(finishedWork) {
18136      switch (finishedWork.tag) {
18137        case 0:
18138        case 11:
18139        case 15:
18140          commitHookPassiveUnmountEffects(
18141            finishedWork,
18142            finishedWork.return,
18143            Passive
18144          );
18145          recursivelyTraverseDisconnectPassiveEffects(finishedWork);
18146          break;
18147        case 22:
18148          var instance = finishedWork.stateNode;
18149          instance._visibility & OffscreenPassiveEffectsConnected &&
18150            ((instance._visibility &= ~OffscreenPassiveEffectsConnected),
18151            recursivelyTraverseDisconnectPassiveEffects(finishedWork));
18152          break;
18153        default:
18154          recursivelyTraverseDisconnectPassiveEffects(finishedWork);
18155      }
18156    }
18157    function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
18158      deletedSubtreeRoot,
18159      nearestMountedAncestor
18160    ) {
18161      for (; null !== nextEffect; ) {
18162        var fiber = nextEffect,
18163          current = fiber;
18164        switch (current.tag) {
18165          case 0:
18166          case 11:
18167          case 15:
18168            commitHookPassiveUnmountEffects(
18169              current,
18170              nearestMountedAncestor,
18171              Passive
18172            );
18173            break;
18174          case 23:
18175          case 22:
18176            null !== current.memoizedState &&
18177              null !== current.memoizedState.cachePool &&
18178              ((current = current.memoizedState.cachePool.pool),
18179              null != current && retainCache(current));
18180            break;
18181          case 24:
18182            releaseCache(current.memoizedState.cache);
18183        }
18184        current = fiber.child;
18185        if (null !== current) (current.return = fiber), (nextEffect = current);
18186        else
18187          a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) {
18188            current = nextEffect;
18189            var sibling = current.sibling,
18190              returnFiber = current.return;
18191            detachFiberAfterEffects(current);
18192            if (current === fiber) {
18193              nextEffect = null;
18194              break a;
18195            }
18196            if (null !== sibling) {
18197              sibling.return = returnFiber;
18198              nextEffect = sibling;
18199              break a;
18200            }
18201            nextEffect = returnFiber;
18202          }
18203      }
18204    }
18205    function onCommitRoot() {
18206      commitHooks.forEach(function (commitHook) {
18207        return commitHook();
18208      });
18209    }
18210    function isConcurrentActEnvironment() {
18211      var isReactActEnvironmentGlobal =
18212        "undefined" !== typeof IS_REACT_ACT_ENVIRONMENT
18213          ? IS_REACT_ACT_ENVIRONMENT
18214          : void 0;
18215      isReactActEnvironmentGlobal ||
18216        null === ReactSharedInternals.actQueue ||
18217        console.error(
18218          "The current testing environment is not configured to support act(...)"
18219        );
18220      return isReactActEnvironmentGlobal;
18221    }
18222    function requestUpdateLane(fiber) {
18223      if (
18224        (executionContext & RenderContext) !== NoContext &&
18225        0 !== workInProgressRootRenderLanes
18226      )
18227        return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;
18228      var transition = ReactSharedInternals.T;
18229      return null !== transition
18230        ? (transition._updatedFibers || (transition._updatedFibers = new Set()),
18231          transition._updatedFibers.add(fiber),
18232          (fiber = currentEntangledLane),
18233          0 !== fiber ? fiber : requestTransitionLane())
18234        : resolveUpdatePriority();
18235    }
18236    function requestDeferredLane() {
18237      0 === workInProgressDeferredLane &&
18238        (workInProgressDeferredLane =
18239          0 === (workInProgressRootRenderLanes & 536870912) || isHydrating
18240            ? claimNextTransitionLane()
18241            : 536870912);
18242      var suspenseHandler = suspenseHandlerStackCursor.current;
18243      null !== suspenseHandler && (suspenseHandler.flags |= 32);
18244      return workInProgressDeferredLane;
18245    }
18246    function scheduleUpdateOnFiber(root, fiber, lane) {
18247      isRunningInsertionEffect &&
18248        console.error("useInsertionEffect must not schedule updates.");
18249      isFlushingPassiveEffects && (didScheduleUpdateDuringPassiveEffects = !0);
18250      if (
18251        (root === workInProgressRoot &&
18252          (workInProgressSuspendedReason === SuspendedOnData ||
18253            workInProgressSuspendedReason === SuspendedOnAction)) ||
18254        null !== root.cancelPendingCommit
18255      )
18256        prepareFreshStack(root, 0),
18257          markRootSuspended(
18258            root,
18259            workInProgressRootRenderLanes,
18260            workInProgressDeferredLane,
18261            !1
18262          );
18263      markRootUpdated$1(root, lane);
18264      if (
18265        0 !== (executionContext & RenderContext) &&
18266        root === workInProgressRoot
18267      ) {
18268        if (isRendering)
18269          switch (fiber.tag) {
18270            case 0:
18271            case 11:
18272            case 15:
18273              root =
18274                (workInProgress && getComponentNameFromFiber(workInProgress)) ||
18275                "Unknown";
18276              didWarnAboutUpdateInRenderForAnotherComponent.has(root) ||
18277                (didWarnAboutUpdateInRenderForAnotherComponent.add(root),
18278                (fiber = getComponentNameFromFiber(fiber) || "Unknown"),
18279                console.error(
18280                  "Cannot update a component (`%s`) while rendering a different c
18280omponent (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",
18281                  fiber,
18282                  root,
18283                  root
18284                ));
18285              break;
18286            case 1:
18287              didWarnAboutUpdateInRender ||
18288                (console.error(
18289                  "Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."
18290                ),
18291                (didWarnAboutUpdateInRender = !0));
18292          }
18293      } else
18294        isDevToolsPresent && addFiberToLanesMap(root, fiber, lane),
18295          warnIfUpdatesNotWrappedWithActDEV(fiber),
18296          root === workInProgressRoot &&
18297            ((executionContext & RenderContext) === NoContext &&
18298              (workInProgressRootInterleavedUpdatedLanes |= lane),
18299            workInProgressRootExitStatus === RootSuspendedWithDelay &&
18300              markRootSuspended(
18301                root,
18302                workInProgressRootRenderLanes,
18303                workInProgressDeferredLane,
18304                !1
18305              )),
18306          ensureRootIsScheduled(root);
18307    }
18308    function performWorkOnRoot(root, lanes, forceSync) {
18309      if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
18310        throw Error("Should not already be working.");
18311      var shouldTimeSlice =
18312          (!forceSync &&
18313            0 === (lanes & 124) &&
18314            0 === (lanes & root.expiredLanes)) ||
18315          checkIfRootIsPrerendering(root, lanes),
18316        exitStatus = shouldTimeSlice
18317          ? renderRootConcurrent(root, lanes)
18318          : renderRootSync(root, lanes, !0),
18319        renderWasConcurrent = shouldTimeSlice;
18320      do {
18321        if (exitStatus === RootInProgress) {
18322          workInProgressRootIsPrerendering &&
18323            !shouldTimeSlice &&
18324            markRootSuspended(root, lanes, 0, !1);
18325          break;
18326        } else {
18327          forceSync = root.current.alternate;
18328          if (
18329            renderWasConcurrent &&
18330            !isRenderConsistentWithExternalStores(forceSync)
18331          ) {
18332            exitStatus = renderRootSync(root, lanes, !1);
18333            renderWasConcurrent = !1;
18334            continue;
18335          }
18336          if (exitStatus === RootErrored) {
18337            renderWasConcurrent = lanes;
18338            if (root.errorRecoveryDisabledLanes & renderWasConcurrent)
18339              var errorRetryLanes = 0;
18340            else
18341              (errorRetryLanes = root.pendingLanes & -536870913),
18342                (errorRetryLanes =
18343                  0 !== errorRetryLanes
18344                    ? errorRetryLanes
18345                    : errorRetryLanes & 536870912
18346                      ? 536870912
18347                      : 0);
18348            if (0 !== errorRetryLanes) {
18349              lanes = errorRetryLanes;
18350              a: {
18351                exitStatus = root;
18352                var errorRetryLanes$jscomp$0 = errorRetryLanes;
18353                errorRetryLanes = workInProgressRootConcurrentErrors;
18354                var wasRootDehydrated =
18355                  exitStatus.current.memoizedState.isDehydrated;
18356                wasRootDehydrated &&
18357                  (prepareFreshStack(
18358                    exitStatus,
18359                    errorRetryLanes$jscomp$0
18360                  ).flags |= 256);
18361                errorRetryLanes$jscomp$0 = renderRootSync(
18362                  exitStatus,
18363                  errorRetryLanes$jscomp$0,
18364                  !1
18365                );
18366                if (errorRetryLanes$jscomp$0 !== RootErrored) {
18367                  if (
18368                    workInProgressRootDidAttachPingListener &&
18369                    !wasRootDehydrated
18370                  ) {
18371                    exitStatus.errorRecoveryDisabledLanes |=
18372                      renderWasConcurrent;
18373                    workInProgressRootInterleavedUpdatedLanes |=
18374                      renderWasConcurrent;
18375                    exitStatus = RootSuspendedWithDelay;
18376                    break a;
18377                  }
18378                  exitStatus = workInProgressRootRecoverableErrors;
18379                  workInProgressRootRecoverableErrors = errorRetryLanes;
18380                  null !== exitStatus &&
18381                    (null === workInProgressRootRecoverableErrors
18382                      ? (workInProgressRootRecoverableErrors = exitStatus)
18383                      : workInProgressRootRecoverableErrors.push.apply(
18384                          workInProgressRootRecoverableErrors,
18385                          exitStatus
18386                        ));
18387                }
18388                exitStatus = errorRetryLanes$jscomp$0;
18389              }
18390              renderWasConcurrent = !1;
18391              if (exitStatus !== RootErrored) continue;
18392            }
18393          }
18394          if (exitStatus === RootFatalErrored) {
18395            prepareFreshStack(root, 0);
18396            markRootSuspended(root, lanes, 0, !0);
18397            break;
18398          }
18399          a: {
18400            shouldTimeSlice = root;
18401            switch (exitStatus) {
18402              case RootInProgress:
18403              case RootFatalErrored:
18404                throw Error("Root did not complete. This is a bug in React.");
18405              case RootSuspendedWithDelay:
18406                if ((lanes & 4194048) !== lanes) break;
18407              case RootSuspendedAtTheShell:
18408                markRootSuspended(
18409                  shouldTimeSlice,
18410                  lanes,
18411                  workInProgressDeferredLane,
18412                  !workInProgressRootDidSkipSuspendedSiblings
18413                );
18414                break a;
18415              case RootErrored:
18416                workInProgressRootRecoverableErrors = null;
18417                break;
18418              case RootSuspended:
18419              case RootCompleted:
18420                break;
18421              default:
18422                throw Error("Unknown root exit status.");
18423            }
18424            if (null !== ReactSharedInternals.actQueue)
18425              commitRoot(
18426                shouldTimeSlice,
18427                forceSync,
18428                lanes,
18429                workInProgressRootRecoverableErrors,
18430                workInProgressTransitions,
18431                workInProgressRootDidIncludeRecursiveRenderUpdate,
18432                workInProgressDeferredLane,
18433                workInProgressRootInterleavedUpdatedLanes,
18434                workInProgressSuspendedRetryLanes
18435              );
18436            else {
18437              if (
18438                (lanes & 62914560) === lanes &&
18439                ((renderWasConcurrent =
18440                  globalMostRecentFallbackTime +
18441                  FALLBACK_THROTTLE_MS -
18442                  now$1()),
18443                10 < renderWasConcurrent)
18444              ) {
18445                markRootSuspended(
18446                  shouldTimeSlice,
18447                  lanes,
18448                  workInProgressDeferredLane,
18449                  !workInProgressRootDidSkipSuspendedSiblings
18450                );
18451                if (0 !== getNextLanes(shouldTimeSlice, 0, !0)) break a;
18452                shouldTimeSlice.timeoutHandle = scheduleTimeout(
18453                  commitRootWhenReady.bind(
18454                    null,
18455                    shouldTimeSlice,
18456                    forceSync,
18457                    workInProgressRootRecoverableErrors,
18458                    workInProgressTransitions,
18459                    workInProgressRootDidIncludeRecursiveRenderUpdate,
18460                    lanes,
18461                    workInProgressDeferredLane,
18462                    workInProgressRootInterleavedUpdatedLanes,
18463                    workInProgressSuspendedRetryLanes,
18464                    workInProgressRootDidSkipSuspendedSiblings,
18465                    exitStatus,
18466                    THROTTLED_COMMIT,
18467                    renderStartTime,
18468                    0
18469                  ),
18470                  renderWasConcurrent
18471                );
18472                break a;
18473              }
18474              commitRootWhenReady(
18475                shouldTimeSlice,
18476                forceSync,
18477                workInProgressRootRecoverableErrors,
18478                workInProgressTransitions,
18479                workInProgressRootDidIncludeRecursiveRenderUpdate,
18480                lanes,
18481                workInProgressDeferredLane,
18482                workInProgressRootInterleavedUpdatedLanes,
18483                workInProgressSuspendedRetryLanes,
18484                workInProgressRootDidSkipSuspendedSiblings,
18485                exitStatus,
18486                IMMEDIATE_COMMIT,
18487                renderStartTime,
18488                0
18489              );
18490            }
18491          }
18492        }
18493        break;
18494      } while (1);
18495      ensureRootIsScheduled(root);
18496    }
18497    function commitRootWhenReady(
18498      root,
18499      finishedWork,
18500      recoverableErrors,
18501      transitions,
18502      didIncludeRenderPhaseUpdate,
18503      lanes,
18504      spawnedLane,
18505      updatedLanes,
18506      suspendedRetryLanes,
18507      didSkipSuspendedSiblings,
18508      exitStatus,
18509      suspendedCommitReason,
18510      completedRenderStartTime,
18511      completedRenderEndTime
18512    ) {
18513      root.timeoutHandle = noTimeout;
18514      suspendedCommitReason = finishedWork.subtreeFlags;
18515      if (
18516        suspendedCommitReason & 8192 ||
18517        16785408 === (suspendedCommitReason & 16785408)
18518      )
18519        if (
18520          ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }),
18521          accumulateSuspenseyCommitOnFiber(finishedWork),
18522          (suspendedCommitReason = waitForCommitToBeReady()),
18523          null !== suspendedCommitReason)
18524        ) {
18525          root.cancelPendingCommit = suspendedCommitReason(
18526            commitRoot.bind(
18527              null,
18528              root,
18529              finishedWork,
18530              lanes,
18531              recoverableErrors,
18532              transitions,
18533              didIncludeRenderPhaseUpdate,
18534              spawnedLane,
18535              updatedLanes,
18536              suspendedRetryLanes,
18537              exitStatus,
18538              SUSPENDED_COMMIT,
18539              completedRenderStartTime,
18540              completedRenderEndTime
18541            )
18542          );
18543          markRootSuspended(
18544            root,
18545            lanes,
18546            spawnedLane,
18547            !didSkipSuspendedSiblings
18548          );
18549          return;
18550        }
18551      commitRoot(
18552        root,
18553        finishedWork,
18554        lanes,
18555        recoverableErrors,
18556        transitions,
18557        didIncludeRenderPhaseUpdate,
18558        spawnedLane,
18559        updatedLanes,
18560        suspendedRetryLanes
18561      );
18562    }
18563    function isRenderConsistentWithExternalStores(finishedWork) {
18564      for (var node = finishedWork; ; ) {
18565        var tag = node.tag;
18566        if (
18567          (0 === tag || 11 === tag || 15 === tag) &&
18568          node.flags & 16384 &&
18569          ((tag = node.updateQueue),
18570          null !== tag && ((tag = tag.stores), null !== tag))
18571        )
18572          for (var i = 0; i < tag.length; i++) {
18573            var check = tag[i],
18574              getSnapshot = check.getSnapshot;
18575            check = check.value;
18576            try {
18577              if (!objectIs(getSnapshot(), check)) return !1;
18578            } catch (error) {
18579              return !1;
18580            }
18581          }
18582        tag = node.child;
18583        if (node.subtreeFlags & 16384 && null !== tag)
18584          (tag.return = node), (node = tag);
18585        else {
18586          if (node === finishedWork) break;
18587          for (; null === node.sibling; ) {
18588            if (null === node.return || node.return === finishedWork) return !0;
18589            node = node.return;
18590          }
18591          node.sibling.return = node.return;
18592          node = node.sibling;
18593        }
18594      }
18595      return !0;
18596    }
18597    function markRootSuspended(
18598      root,
18599      suspendedLanes,
18600      spawnedLane,
18601      didAttemptEntireTree
18602    ) {
18603      suspendedLanes &= ~workInProgressRootPingedLanes;
18604      suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
18605      root.suspendedLanes |= suspendedLanes;
18606      root.pingedLanes &= ~suspendedLanes;
18607      didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
18608      didAttemptEntireTree = root.expirationTimes;
18609      for (var lanes = suspendedLanes; 0 < lanes; ) {
18610        var index = 31 - clz32(lanes),
18611          lane = 1 << index;
18612        didAttemptEntireTree[index] = -1;
18613        lanes &= ~lane;
18614      }
18615      0 !== spawnedLane &&
18616        markSpawnedDeferredLane(root, spawnedLane, suspendedLanes);
18617    }
18618    function flushSyncWork$1() {
18619      return (executionContext & (RenderContext | CommitContext)) === NoContext
18620        ? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
18621        : !0;
18622    }
18623    function resetWorkInProgressStack() {
18624      if (null !== workInProgress) {
18625        if (workInProgressSuspendedReason === NotSuspended)
18626          var interruptedWork = workInProgress.return;
18627        else
18628          (interruptedWork = workInProgress),
18629            resetContextDependencies(),
18630            resetHooksOnUnwind(interruptedWork),
18631            (thenableState = null),
18632            (thenableIndexCounter = 0),
18633            (interruptedWork = workInProgress);
18634        for (; null !== interruptedWork; )
18635          unwindInterruptedWork(interruptedWork.alternate, interruptedWork),
18636            (interruptedWork = interruptedWork.return);
18637        workInProgress = null;
18638      }
18639    }
18640    function prepareFreshStack(root, lanes) {
18641      var timeoutHandle = root.timeoutHandle;
18642      timeoutHandle !== noTimeout &&
18643        ((root.timeoutHandle = noTimeout), cancelTimeout(timeoutHandle));
18644      timeoutHandle = root.cancelPendingCommit;
18645      null !== timeoutHandle &&
18646        ((root.cancelPendingCommit = null), timeoutHandle());
18647      resetWorkInProgressStack();
18648      workInProgressRoot = root;
18649      workInProgress = timeoutHandle = createWorkInProgress(root.current, null);
18650      workInProgressRootRenderLanes = lanes;
18651      workInProgressSuspendedReason = NotSuspended;
18652      workInProgressThrownValue = null;
18653      workInProgressRootDidSkipSuspendedSiblings = !1;
18654      workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes);
18655      workInProgressRootDidAttachPingListener = !1;
18656      workInProgressRootExitStatus = RootInProgress;
18657      workInProgressSuspendedRetryLanes =
18658        workInProgressDeferredLane =
18659        workInProgressRootPingedLanes =
18660        workInProgressRootInterleavedUpdatedLanes =
18661        workInProgressRootSkippedLanes =
18662          0;
18663      workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors =
18664        null;
18665      workInProgressRootDidIncludeRecursiveRenderUpdate = !1;
18666      0 !== (lanes & 8) && (lanes |= lanes & 32);
18667      var allEntangledLanes = root.entangledLanes;
18668      if (0 !== allEntangledLanes)
18669        for (
18670          root = root.entanglements, allEntangledLanes &= lanes;
18671          0 < allEntangledLanes;
18672
18673        ) {
18674          var index = 31 - clz32(allEntangledLanes),
18675            lane = 1 << index;
18676          lanes |= root[index];
18677          allEntangledLanes &= ~lane;
18678        }
18679      entangledRenderLanes = lanes;
18680      finishQueueingConcurrentUpdates();
18681      lanes = getCurrentTime();
18682      1e3 < lanes - lastResetTime &&
18683        ((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),
18684        (lastResetTime = lanes));
18685      ReactStrictModeWarnings.discardPendingWarnings();
18686      return timeoutHandle;
18687    }
18688    function handleThrow(root, thrownValue) {
18689      currentlyRenderingFiber = null;
18690      ReactSharedInternals.H = ContextOnlyDispatcher;
18691      ReactSharedInternals.getCurrentStack = null;
18692      isRendering = !1;
18693      current = null;
18694      thrownValue === SuspenseException ||
18695      thrownValue === SuspenseActionException
18696        ? ((thrownValue = getSuspendedThenable()),
18697          (workInProgressSuspendedReason = SuspendedOnImmediate))
18698        : thrownValue === SuspenseyCommitException
18699          ? ((thrownValue = getSuspendedThenable()),
18700            (workInProgressSuspendedReason = SuspendedOnInstance))
18701          : (workInProgressSuspendedReason =
18702              thrownValue === SelectiveHydrationException
18703                ? SuspendedOnHydration
18704                : null !== thrownValue &&
18705                    "object" === typeof thrownValue &&
18706                    "function" === typeof thrownValue.then
18707                  ? SuspendedOnDeprecatedThrowPromise
18708                  : SuspendedOnError);
18709      workInProgressThrownValue = thrownValue;
18710      var erroredWork = workInProgress;
18711      if (null === erroredWork)
18712        (workInProgressRootExitStatus = RootFatalErrored),
18713          logUncaughtError(
18714            root,
18715            createCapturedValueAtFiber(thrownValue, root.current)
18716          );
18717      else
18718        switch (
18719          (erroredWork.mode & ProfileMode &&
18720            stopProfilerTimerIfRunningAndRecordDuration(erroredWork),
18721          markComponentRenderStopped(),
18722          workInProgressSuspendedReason)
18723        ) {
18724          case SuspendedOnError:
18725            null !== injectedProfilingHooks &&
18726              "function" ===
18727                typeof injectedProfilingHooks.markComponentErrored &&
18728              injectedProfilingHooks.markComponentErrored(
18729                erroredWork,
18730                thrownValue,
18731                workInProgressRootRenderLanes
18732              );
18733            break;
18734          case SuspendedOnData:
18735          case SuspendedOnAction:
18736          case SuspendedOnImmediate:
18737          case SuspendedOnDeprecatedThrowPromise:
18738          case SuspendedAndReadyToContinue:
18739            null !== injectedProfilingHooks &&
18740              "function" ===
18741                typeof injectedProfilingHooks.markComponentSuspended &&
18742              injectedProfilingHooks.markComponentSuspended(
18743                erroredWork,
18744                thrownValue,
18745                workInProgressRootRenderLanes
18746              );
18747        }
18748    }
18749    function pushDispatcher() {
18750      var prevDispatcher = ReactSharedInternals.H;
18751      ReactSharedInternals.H = ContextOnlyDispatcher;
18752      return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher;
18753    }
18754    function pushAsyncDispatcher() {
18755      var prevAsyncDispatcher = ReactSharedInternals.A;
18756      ReactSharedInternals.A = DefaultAsyncDispatcher;
18757      return prevAsyncDispatcher;
18758    }
18759    function renderDidSuspendDelayIfPossible() {
18760      workInProgressRootExitStatus = RootSuspendedWithDelay;
18761      workInProgressRootDidSkipSuspendedSiblings ||
18762        ((workInProgressRootRenderLanes & 4194048) !==
18763          workInProgressRootRenderLanes &&
18764          null !== suspenseHandlerStackCursor.current) ||
18765        (workInProgressRootIsPrerendering = !0);
18766      (0 === (workInProgressRootSkippedLanes & 134217727) &&
18767        0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)) ||
18768        null === workInProgressRoot ||
18769        markRootSuspended(
18770          workInProgressRoot,
18771          workInProgressRootRenderLanes,
18772          workInProgressDeferredLane,
18773          !1
18774        );
18775    }
18776    function renderRootSync(root, lanes, shouldYieldForPrerendering) {
18777      var prevExecutionContext = executionContext;
18778      executionContext |= RenderContext;
18779      var prevDispatcher = pushDispatcher(),
18780        prevAsyncDispatcher = pushAsyncDispatcher();
18781      if (
18782        workInProgressRoot !== root ||
18783        workInProgressRootRenderLanes !== lanes
18784      ) {
18785        if (isDevToolsPresent) {
18786          var memoizedUpdaters = root.memoizedUpdaters;
18787          0 < memoizedUpdaters.size &&
18788            (restorePendingUpdaters(root, workInProgressRootRenderLanes),
18789            memoizedUpdaters.clear());
18790          movePendingFibersToMemoized(root, lanes);
18791        }
18792        workInProgressTransitions = null;
18793        prepareFreshStack(root, lanes);
18794      }
18795      markRenderStarted(lanes);
18796      lanes = !1;
18797      memoizedUpdaters = workInProgressRootExitStatus;
18798      a: do
18799        try {
18800          if (
18801            workInProgressSuspendedReason !== NotSuspended &&
18802            null !== workInProgress
18803          ) {
18804            var unitOfWork = workInProgress,
18805              thrownValue = workInProgressThrownValue;
18806            switch (workInProgressSuspendedReason) {
18807              case SuspendedOnHydration:
18808                resetWorkInProgressStack();
18809                memoizedUpdaters = RootSuspendedAtTheShell;
18810                break a;
18811              case SuspendedOnImmediate:
18812              case SuspendedOnData:
18813              case SuspendedOnAction:
18814              case SuspendedOnDeprecatedThrowPromise:
18815                null === suspenseHandlerStackCursor.current && (lanes = !0);
18816                var reason = workInProgressSuspendedReason;
18817                workInProgressSuspendedReason = NotSuspended;
18818                workInProgressThrownValue = null;
18819                throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
18820                if (
18821                  shouldYieldForPrerendering &&
18822                  workInProgressRootIsPrerendering
18823                ) {
18824                  memoizedUpdaters = RootInProgress;
18825                  break a;
18826                }
18827                break;
18828              default:
18829                (reason = workInProgressSuspendedReason),
18830                  (workInProgressSuspendedReason = NotSuspended),
18831                  (workInProgressThrownValue = null),
18832                  throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
18833            }
18834          }
18835          workLoopSync();
18836          memoizedUpdaters = workInProgressRootExitStatus;
18837          break;
18838        } catch (thrownValue$8) {
18839          handleThrow(root, thrownValue$8);
18840        }
18841      while (1);
18842      lanes && root.shellSuspendCounter++;
18843      resetContextDependencies();
18844      executionContext = prevExecutionContext;
18845      ReactSharedInternals.H = prevDispatcher;
18846      ReactSharedInternals.A = prevAsyncDispatcher;
18847      markRenderStopped();
18848      null === workInProgress &&
18849        ((workInProgressRoot = null),
18850        (workInProgressRootRenderLanes = 0),
18851        finishQueueingConcurrentUpdates());
18852      return memoizedUpdaters;
18853    }
18854    function workLoopSync() {
18855      for (; null !== workInProgress; ) performUnitOfWork(workInProgress);
18856    }
18857    function renderRootConcurrent(root, lanes) {
18858      var prevExecutionContext = executionContext;
18859      executionContext |= RenderContext;
18860      var prevDispatcher = pushDispatcher(),
18861        prevAsyncDispatcher = pushAsyncDispatcher();
18862      if (
18863        workInProgressRoot !== root ||
18864        workInProgressRootRenderLanes !== lanes
18865      ) {
18866        if (isDevToolsPresent) {
18867          var memoizedUpdaters = root.memoizedUpdaters;
18868          0 < memoizedUpdaters.size &&
18869            (restorePendingUpdaters(root, workInProgressRootRenderLanes),
18870            memoizedUpdaters.clear());
18871          movePendingFibersToMemoized(root, lanes);
18872        }
18873        workInProgressTransitions = null;
18874        workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS;
18875        prepareFreshStack(root, lanes);
18876      } else
18877        workInProgressRootIsPrerendering = checkIfRootIsPrerendering(
18878          root,
18879          lanes
18880        );
18881      markRenderStarted(lanes);
18882      a: do
18883        try {
18884          if (
18885            workInProgressSuspendedReason !== NotSuspended &&
18886            null !== workInProgress
18887          )
18888            b: switch (
18889              ((lanes = workInProgress),
18890              (memoizedUpdaters = workInProgressThrownValue),
18891              workInProgressSuspendedReason)
18892            ) {
18893              case SuspendedOnError:
18894                workInProgressSuspendedReason = NotSuspended;
18895                workInProgressThrownValue = null;
18896                throwAndUnwindWorkLoop(
18897                  root,
18898                  lanes,
18899                  memoizedUpdaters,
18900                  SuspendedOnError
18901                );
18902                break;
18903              case SuspendedOnData:
18904              case SuspendedOnAction:
18905                if (isThenableResolved(memoizedUpdaters)) {
18906                  workInProgressSuspendedReason = NotSuspended;
18907                  workInProgressThrownValue = null;
18908                  replaySuspendedUnitOfWork(lanes);
18909                  break;
18910                }
18911                lanes = function () {
18912                  (workInProgressSuspendedReason !== SuspendedOnData &&
18913                    workInProgressSuspendedReason !== SuspendedOnAction) ||
18914                    workInProgressRoot !== root ||
18915                    (workInProgressSuspendedReason =
18916                      SuspendedAndReadyToContinue);
18917                  ensureRootIsScheduled(root);
18918                };
18919                memoizedUpdaters.then(lanes, lanes);
18920                break a;
18921              case SuspendedOnImmediate:
18922                workInProgressSuspendedReason = SuspendedAndReadyToContinue;
18923                break a;
18924              case SuspendedOnInstance:
18925                workInProgressSuspendedReason =
18926                  SuspendedOnInstanceAndReadyToContinue;
18927                break a;
18928              case SuspendedAndReadyToContinue:
18929                isThenableResolved(memoizedUpdaters)
18930                  ? ((workInProgressSuspendedReason = NotSuspended),
18931                    (workInProgressThrownValue = null),
18932                    replaySuspendedUnitOfWork(lanes))
18933                  : ((workInProgressSuspendedReason = NotSuspended),
18934                    (workInProgressThrownValue = null),
18935                    throwAndUnwindWorkLoop(
18936                      root,
18937                      lanes,
18938                      memoizedUpdaters,
18939                      SuspendedAndReadyToContinue
18940                    ));
18941                break;
18942              case SuspendedOnInstanceAndReadyToContinue:
18943                var resource = null;
18944                switch (workInProgress.tag) {
18945                  case 26:
18946                    resource = workInProgress.memoizedState;
18947                  case 5:
18948                  case 27:
18949                    var hostFiber = workInProgress;
18950                    if (resource ? preloadResource(resource) : 1) {
18951                      workInProgressSuspendedReason = NotSuspended;
18952                      workInProgressThrownValue = null;
18953                      var sibling = hostFiber.sibling;
18954                      if (null !== sibling) workInProgress = sibling;
18955                      else {
18956                        var returnFiber = hostFiber.return;
18957                        null !== returnFiber
18958                          ? ((workInProgress = returnFiber),
18959                            completeUnitOfWork(returnFiber))
18960                          : (workInProgress = null);
18961                      }
18962                      break b;
18963                    }
18964                    break;
18965                  default:
18966                    console.error(
18967                      "Unexpected type of fiber triggered a suspensey commit. This is a bug in React."
18968                    );
18969                }
18970                workInProgressSuspendedReason = NotSuspended;
18971                workInProgressThrownValue = null;
18972                throwAndUnwindWorkLoop(
18973                  root,
18974                  lanes,
18975                  memoizedUpdaters,
18976                  SuspendedOnInstanceAndReadyToContinue
18977                );
18978                break;
18979              case SuspendedOnDeprecatedThrowPromise:
18980                workInProgressSuspendedReason = NotSuspended;
18981                workInProgressThrownValue = null;
18982                throwAndUnwindWorkLoop(
18983                  root,
18984                  lanes,
18985                  memoizedUpdaters,
18986                  SuspendedOnDeprecatedThrowPromise
18987                );
18988                break;
18989              case SuspendedOnHydration:
18990                resetWorkInProgressStack();
18991                workInProgressRootExitStatus = RootSuspendedAtTheShell;
18992                break a;
18993              default:
18994                throw Error(
18995                  "Unexpected SuspendedReason. This is a bug in React."
18996                );
18997            }
18998          null !== ReactSharedInternals.actQueue
18999            ? workLoopSync()
19000            : workLoopConcurrentByScheduler();
19001          break;
19002        } catch (thrownValue$9) {
19003          handleThrow(root, thrownValue$9);
19004        }
19005      while (1);
19006      resetContextDependencies();
19007      ReactSharedInternals.H = prevDispatcher;
19008      ReactSharedInternals.A = prevAsyncDispatcher;
19009      executionContext = prevExecutionContext;
19010      if (null !== workInProgress)
19011        return (
19012          null !== injectedProfilingHooks &&
19013            "function" === typeof injectedProfilingHooks.markRenderYielded &&
19014            injectedProfilingHooks.markRenderYielded(),
19015          RootInProgress
19016        );
19017      markRenderStopped();
19018      workInProgressRoot = null;
19019      workInProgressRootRenderLanes = 0;
19020      finishQueueingConcurrentUpdates();
19021      return workInProgressRootExitStatus;
19022    }
19023    function workLoopConcurrentByScheduler() {
19024      for (; null !== workInProgress && !shouldYield(); )
19025        performUnitOfWork(workInProgress);
19026    }
19027    function performUnitOfWork(unitOfWork) {
19028      var current = unitOfWork.alternate;
19029      (unitOfWork.mode & ProfileMode) !== NoMode
19030        ? (startProfilerTimer(unitOfWork),
19031          (current = runWithFiberInDEV(
19032            unitOfWork,
19033            beginWork,
19034            current,
19035            unitOfWork,
19036            entangledRenderLanes
19037          )),
19038          stopProfilerTimerIfRunningAndRecordDuration(unitOfWork))
19039        : (current = runWithFiberInDEV(
19040            unitOfWork,
19041            beginWork,
19042            current,
19043            unitOfWork,
19044            entangledRenderLanes
19045          ));
19046      unitOfWork.memoizedProps = unitOfWork.pendingProps;
19047      null === current
19048        ? completeUnitOfWork(unitOfWork)
19049        : (workInProgress = current);
19050    }
19051    function replaySuspendedUnitOfWork(unitOfWork) {
19052      var next = runWithFiberInDEV(unitOfWork, replayBeginWork, unitOfWork);
19053      unitOfWork.memoizedProps = unitOfWork.pendingProps;
19054      null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);
19055    }
19056    function replayBeginWork(unitOfWork) {
19057      var current = unitOfWork.alternate,
19058        isProfilingMode = (unitOfWork.mode & ProfileMode) !== NoMode;
19059      isProfilingMode && startProfilerTimer(unitOfWork);
19060      switch (unitOfWork.tag) {
19061        case 15:
19062        case 0:
19063          current = replayFunctionComponent(
19064            current,
19065            unitOfWork,
19066            unitOfWork.pendingProps,
19067            unitOfWork.type,
19068            void 0,
19069            workInProgressRootRenderLanes
19070          );
19071          break;
19072        case 11:
19073          current = replayFunctionComponent(
19074            current,
19075            unitOfWork,
19076            unitOfWork.pendingProps,
19077            unitOfWork.type.render,
19078            unitOfWork.ref,
19079            workInProgressRootRenderLanes
19080          );
19081          break;
19082        case 5:
19083          resetHooksOnUnwind(unitOfWork);
19084        default:
19085          unwindInterruptedWork(current, unitOfWork),
19086            (unitOfWork = workInProgress =
19087              resetWorkInProgress(unitOfWork, entangledRenderLanes)),
19088            (current = beginWork(current, unitOfWork, entangledRenderLanes));
19089      }
19090      isProfilingMode &&
19091        stopProfilerTimerIfRunningAndRecordDuration(unitOfWork);
19092      return current;
19093    }
19094    function throwAndUnwindWorkLoop(
19095      root,
19096      unitOfWork,
19097      thrownValue,
19098      suspendedReason
19099    ) {
19100      resetContextDependencies();
19101      resetHooksOnUnwind(unitOfWork);
19102      thenableState = null;
19103      thenableIndexCounter = 0;
19104      var returnFiber = unitOfWork.return;
19105      try {
19106        if (
19107          throwException(
19108            root,
19109            returnFiber,
19110            unitOfWork,
19111            thrownValue,
19112            workInProgressRootRenderLanes
19113          )
19114        ) {
19115          workInProgressRootExitStatus = RootFatalErrored;
19116          logUncaughtError(
19117            root,
19118            createCapturedValueAtFiber(thrownValue, root.current)
19119          );
19120          workInProgress = null;
19121          return;
19122        }
19123      } catch (error) {
19124        if (null !== returnFiber) throw ((workInProgress = returnFiber), error);
19125        workInProgressRootExitStatus = RootFatalErrored;
19126        logUncaughtError(
19127          root,
19128          createCapturedValueAtFiber(thrownValue, root.current)
19129        );
19130        workInProgress = null;
19131        return;
19132      }
19133      if (unitOfWork.flags & 32768) {
19134        if (isHydrating || suspendedReason === SuspendedOnError) root = !0;
19135        else if (
19136          workInProgressRootIsPrerendering ||
19137          0 !== (workInProgressRootRenderLanes & 536870912)
19138        )
19139          root = !1;
19140        else if (
19141          ((workInProgressRootDidSkipSuspendedSiblings = root = !0),
19142          suspendedReason === SuspendedOnData ||
19143            suspendedReason === SuspendedOnAction ||
19144            suspendedReason === SuspendedOnImmediate ||
19145            suspendedReason === SuspendedOnDeprecatedThrowPromise)
19146        )
19147          (suspendedReason = suspenseHandlerStackCursor.current),
19148            null !== suspendedReason &&
19149              13 === suspendedReason.tag &&
19150              (suspendedReason.flags |= 16384);
19151        unwindUnitOfWork(unitOfWork, root);
19152      } else completeUnitOfWork(unitOfWork);
19153    }
19154    function completeUnitOfWork(unitOfWork) {
19155      var completedWork = unitOfWork;
19156      do {
19157        if (0 !== (completedWork.flags & 32768)) {
19158          unwindUnitOfWork(
19159            completedWork,
19160            workInProgressRootDidSkipSuspendedSiblings
19161          );
19162          return;
19163        }
19164        var current = completedWork.alternate;
19165        unitOfWork = completedWork.return;
19166        startProfilerTimer(completedWork);
19167        current = runWithFiberInDEV(
19168          completedWork,
19169          completeWork,
19170          current,
19171          completedWork,
19172          entangledRenderLanes
19173        );
19174        (completedWork.mode & ProfileMode) !== NoMode &&
19175          stopProfilerTimerIfRunningAndRecordIncompleteDuration(completedWork);
19176        if (null !== current) {
19177          workInProgress = current;
19178          return;
19179        }
19180        completedWork = completedWork.sibling;
19181        if (null !== completedWork) {
19182          workInProgress = completedWork;
19183          return;
19184        }
19185        workInProgress = completedWork = unitOfWork;
19186      } while (null !== completedWork);
19187      workInProgressRootExitStatus === RootInProgress &&
19188        (workInProgressRootExitStatus = RootCompleted);
19189    }
19190    function unwindUnitOfWork(unitOfWork, skipSiblings) {
19191      do {
19192        var next = unwindWork(unitOfWork.alternate, unitOfWork);
19193        if (null !== next) {
19194          next.flags &= 32767;
19195          workInProgress = next;
19196          return;
19197        }
19198        if ((unitOfWork.mode & ProfileMode) !== NoMode) {
19199          stopProfilerTimerIfRunningAndRecordIncompleteDuration(unitOfWork);
19200          next = unitOfWork.actualDuration;
19201          for (var child = unitOfWork.child; null !== child; )
19202            (next += child.actualDuration), (child = child.sibling);
19203          unitOfWork.actualDuration = next;
19204        }
19205        next = unitOfWork.return;
19206        null !== next &&
19207          ((next.flags |= 32768),
19208          (next.subtreeFlags = 0),
19209          (next.deletions = null));
19210        if (
19211          !skipSiblings &&
19212          ((unitOfWork = unitOfWork.sibling), null !== unitOfWork)
19213        ) {
19214          workInProgress = unitOfWork;
19215          return;
19216        }
19217        workInProgress = unitOfWork = next;
19218      } while (null !== unitOfWork);
19219      workInProgressRootExitStatus = RootSuspendedAtTheShell;
19220      workInProgress = null;
19221    }
19222    function commitRoot(
19223      root,
19224      finishedWork,
19225      lanes,
19226      recoverableErrors,
19227      transitions,
19228      didIncludeRenderPhaseUpdate,
19229      spawnedLane,
19230      updatedLanes,
19231      suspendedRetryLanes
19232    ) {
19233      root.cancelPendingCommit = null;
19234      do flushPendingEffects();
19235      while (pendingEffectsStatus !== NO_PENDING_EFFECTS);
19236      ReactStrictModeWarnings.flushLegacyContextWarning();
19237      ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
19238      if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
19239        throw Error("Should not already be working.");
19240      null !== injectedProfilingHooks &&
19241        "function" === typeof injectedProfilingHooks.markCommitStarted &&
19242        injectedProfilingHooks.markCommitStarted(lanes);
19243      if (null === finishedWork) markCommitStopped();
19244      else {
19245        0 === lanes &&
19246          console.error(
19247            "finishedLanes should not be empty during a commit. This is a bug in React."
19248          );
19249        if (finishedWork === root.current)
19250          throw Error(
19251            "Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue."
19252          );
19253        didIncludeRenderPhaseUpdate =
19254          finishedWork.lanes | finishedWork.childLanes;
19255        didIncludeRenderPhaseUpdate |= concurrentlyUpdatedLanes;
19256        markRootFinished(
19257          root,
19258          lanes,
19259          didIncludeRenderPhaseUpdate,
19260          spawnedLane,
19261          updatedLanes,
19262          suspendedRetryLanes
19263        );
19264        root === workInProgressRoot &&
19265          ((workInProgress = workInProgressRoot = null),
19266          (workInProgressRootRenderLanes = 0));
19267        pendingFinishedWork = finishedWork;
19268        pendingEffectsRoot = root;
19269        pendingEffectsLanes = lanes;
19270        pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate;
19271        pendingPassiveTransitions = transitions;
19272        pendingRecoverableErrors = recoverableErrors;
19273        0 !== (finishedWork.subtreeFlags & 10256) ||
19274        0 !== (finishedWork.flags & 10256)
19275          ? ((root.callbackNode = null),
19276            (root.callbackPriority = 0),
19277            scheduleCallback$1(NormalPriority$1, function () {
19278              flushPassiveEffects(!0);
19279              return null;
19280            }))
19281          : ((root.callbackNode = null), (root.callbackPriority = 0));
19282        commitStartTime = now();
19283        recoverableErrors = 0 !== (finishedWork.flags & 13878);
19284        if (0 !== (finishedWork.subtreeFlags & 13878) || recoverableErrors) {
19285          recoverableErrors = ReactSharedInternals.T;
19286          ReactSharedInternals.T = null;
19287          transitions = ReactDOMSharedInternals.p;
19288          ReactDOMSharedInternals.p = DiscreteEventPriority;
19289          spawnedLane = executionContext;
19290          executionContext |= CommitContext;
19291          try {
19292            commitBeforeMutationEffects(root, finishedWork, lanes);
19293          } finally {
19294            (executionContext = spawnedLane),
19295              (ReactDOMSharedInternals.p = transitions),
19296              (ReactSharedInternals.T = recoverableErrors);
19297          }
19298        }
19299        pendingEffectsStatus = PENDING_MUTATION_PHASE;
19300        flushMutationEffects();
19301        flushLayoutEffects();
19302        flushSpawnedWork();
19303      }
19304    }
19305    function flushMutationEffects() {
19306      if (pendingEffectsStatus === PENDING_MUTATION_PHASE) {
19307        pendingEffectsStatus = NO_PENDING_EFFECTS;
19308        var root = pendingEffectsRoot,
19309          finishedWork = pendingFinishedWork,
19310          lanes = pendingEffectsLanes,
19311          rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
19312        if (
19313          0 !== (finishedWork.subtreeFlags & 13878) ||
19314          rootMutationHasEffect
19315        ) {
19316          rootMutationHasEffect = ReactSharedInternals.T;
19317          ReactSharedInternals.T = null;
19318          var previousPriority = ReactDOMSharedInternals.p;
19319          ReactDOMSharedInternals.p = DiscreteEventPriority;
19320          var prevExecutionContext = executionContext;
19321          executionContext |= CommitContext;
19322          try {
19323            inProgressLanes = lanes;
19324            inProgressRoot = root;
19325            commitMutationEffectsOnFiber(finishedWork, root);
19326            inProgressRoot = inProgressLanes = null;
19327            lanes = selectionInformation;
19328            var curFocusedElem = getActiveElementDeep(root.containerInfo),
19329              priorFocusedElem = lanes.focusedElem,
19330              priorSelectionRange = lanes.selectionRange;
19331            if (
19332              curFocusedElem !== priorFocusedElem &&
19333              priorFocusedElem &&
19334              priorFocusedElem.ownerDocument &&
19335              containsNode(
19336                priorFocusedElem.ownerDocument.documentElement,
19337                priorFocusedElem
19338              )
19339            ) {
19340              if (
19341                null !== priorSelectionRange &&
19342                hasSelectionCapabilities(priorFocusedElem)
19343              ) {
19344                var start = priorSelectionRange.start,
19345                  end = priorSelectionRange.end;
19346                void 0 === end && (end = start);
19347                if ("selectionStart" in priorFocusedElem)
19348                  (priorFocusedElem.selectionStart = start),
19349                    (priorFocusedElem.selectionEnd = Math.min(
19350                      end,
19351                      priorFocusedElem.value.length
19352                    ));
19353                else {
19354                  var doc = priorFocusedElem.ownerDocument || document,
19355                    win = (doc && doc.defaultView) || window;
19356                  if (win.getSelection) {
19357                    var selection = win.getSelection(),
19358                      length = priorFocusedElem.textContent.length,
19359                      start$jscomp$0 = Math.min(
19360                        priorSelectionRange.start,
19361                        length
19362                      ),
19363                      end$jscomp$0 =
19364                        void 0 === priorSelectionRange.end
19365                          ? start$jscomp$0
19366                          : Math.min(priorSelectionRange.end, length);
19367                    !selection.extend &&
19368                      start$jscomp$0 > end$jscomp$0 &&
19369                      ((curFocusedElem = end$jscomp$0),
19370                      (end$jscomp$0 = start$jscomp$0),
19371                      (start$jscomp$0 = curFocusedElem));
19372                    var startMarker = getNodeForCharacterOffset(
19373                        priorFocusedElem,
19374                        start$jscomp$0
19375                      ),
19376                      endMarker = getNodeForCharacterOffset(
19377                        priorFocusedElem,
19378                        end$jscomp$0
19379                      );
19380                    if (
19381                      startMarker &&
19382                      endMarker &&
19383                      (1 !== selection.rangeCount ||
19384                        selection.anchorNode !== startMarker.node ||
19385                        selection.anchorOffset !== startMarker.offset ||
19386                        selection.focusNode !== endMarker.node ||
19387                        selection.focusOffset !== endMarker.offset)
19388                    ) {
19389                      var range = doc.createRange();
19390                      range.setStart(startMarker.node, startMarker.offset);
19391                      selection.removeAllRanges();
19392                      start$jscomp$0 > end$jscomp$0
19393                        ? (selection.addRange(range),
19394                          selection.extend(endMarker.node, endMarker.offset))
19395                        : (range.setEnd(endMarker.node, endMarker.offset),
19396                          selection.addRange(range));
19397                    }
19398                  }
19399                }
19400              }
19401              doc = [];
19402              for (
19403                selection = priorFocusedElem;
19404                (selection = selection.parentNode);
19405
19406              )
19407                1 === selection.nodeType &&
19408                  doc.push({
19409                    element: selection,
19410                    left: selection.scrollLeft,
19411                    top: selection.scrollTop
19412                  });
19413              "function" === typeof priorFocusedElem.focus &&
19414                priorFocusedElem.focus();
19415              for (
19416                priorFocusedElem = 0;
19417                priorFocusedElem < doc.length;
19418                priorFocusedElem++
19419              ) {
19420                var info = doc[priorFocusedElem];
19421                info.element.scrollLeft = info.left;
19422                info.element.scrollTop = info.top;
19423              }
19424            }
19425            _enabled = !!eventsEnabled;
19426            selectionInformation = eventsEnabled = null;
19427          } finally {
19428            (executionContext = prevExecutionContext),
19429              (ReactDOMSharedInternals.p = previousPriority),
19430              (ReactSharedInternals.T = rootMutationHasEffect);
19431          }
19432        }
19433        root.current = finishedWork;
19434        pendingEffectsStatus = PENDING_LAYOUT_PHASE;
19435      }
19436    }
19437    function flushLayoutEffects() {
19438      if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) {
19439        pendingEffectsStatus = NO_PENDING_EFFECTS;
19440        var root = pendingEffectsRoot,
19441          finishedWork = pendingFinishedWork,
19442          lanes = pendingEffectsLanes,
19443          rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
19444        if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
19445          rootHasLayoutEffect = ReactSharedInternals.T;
19446          ReactSharedInternals.T = null;
19447          var previousPriority = ReactDOMSharedInternals.p;
19448          ReactDOMSharedInternals.p = DiscreteEventPriority;
19449          var prevExecutionContext = executionContext;
19450          executionContext |= CommitContext;
19451          try {
19452            null !== injectedProfilingHooks &&
19453              "function" ===
19454                typeof injectedProfilingHooks.markLayoutEffectsStarted &&
19455              injectedProfilingHooks.markLayoutEffectsStarted(lanes),
19456              (inProgressLanes = lanes),
19457              (inProgressRoot = root),
19458              commitLayoutEffectOnFiber(
19459                root,
19460                finishedWork.alternate,
19461                finishedWork
19462              ),
19463              (inProgressRoot = inProgressLanes = null),
19464              null !== injectedProfilingHooks &&
19465                "function" ===
19466                  typeof injectedProfilingHooks.markLayoutEffectsStopped &&
19467                injectedProfilingHooks.markLayoutEffectsStopped();
19468          } finally {
19469            (executionContext = prevExecutionContext),
19470              (ReactDOMSharedInternals.p = previousPriority),
19471              (ReactSharedInternals.T = rootHasLayoutEffect);
19472          }
19473        }
19474        pendingEffectsStatus = PENDING_AFTER_MUTATION_PHASE;
19475      }
19476    }
19477    function flushSpawnedWork() {
19478      if (
19479        pendingEffectsStatus === PENDING_SPAWNED_WORK ||
19480        pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE
19481      ) {
19482        pendingEffectsStatus = NO_PENDING_EFFECTS;
19483        requestPaint();
19484        var root = pendingEffectsRoot,
19485          finishedWork = pendingFinishedWork,
19486          lanes = pendingEffectsLanes,
19487          recoverableErrors = pendingRecoverableErrors,
19488          rootDidHavePassiveEffects =
19489            0 !== (finishedWork.subtreeFlags & 10256) ||
19490            0 !== (finishedWork.flags & 10256);
19491        rootDidHavePassiveEffects
19492          ? (pendingEffectsStatus = PENDING_PASSIVE_PHASE)
19493          : ((pendingEffectsStatus = NO_PENDING_EFFECTS),
19494            (pendingFinishedWork = pendingEffectsRoot = null),
19495            releaseRootPooledCache(root, root.pendingLanes),
19496            (nestedPassiveUpdateCount = 0),
19497            (rootWithPassiveNestedUpdates = null));
19498        var remainingLanes = root.pendingLanes;
19499        0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
19500        rootDidHavePassiveEffects || commitDoubleInvokeEffectsInDEV(root);
19501        rootDidHavePassiveEffects = lanesToEventPriority(lanes);
19502        finishedWork = finishedWork.stateNode;
19503        if (
19504          injectedHook &&
19505          "function" === typeof injectedHook.onCommitFiberRoot
19506        )
19507          try {
19508            var didError = 128 === (finishedWork.current.flags & 128);
19509            switch (rootDidHavePassiveEffects) {
19510              case DiscreteEventPriority:
19511                var schedulerPriority = ImmediatePriority;
19512                break;
19513              case ContinuousEventPriority:
19514                schedulerPriority = UserBlockingPriority;
19515                break;
19516              case DefaultEventPriority:
19517                schedulerPriority = NormalPriority$1;
19518                break;
19519              case IdleEventPriority:
19520                schedulerPriority = IdlePriority;
19521                break;
19522              default:
19523                schedulerPriority = NormalPriority$1;
19524            }
19525            injectedHook.onCommitFiberRoot(
19526              rendererID,
19527              finishedWork,
19528              schedulerPriority,
19529              didError
19530            );
19531          } catch (err) {
19532            hasLoggedError ||
19533              ((hasLoggedError = !0),
19534              console.error(
19535                "React instrumentation encountered an error: %s",
19536                err
19537              ));
19538          }
19539        isDevToolsPresent && root.memoizedUpdaters.clear();
19540        onCommitRoot();
19541        if (null !== recoverableErrors) {
19542          didError = ReactSharedInternals.T;
19543          schedulerPriority = ReactDOMSharedInternals.p;
19544          ReactDOMSharedInternals.p = DiscreteEventPriority;
19545          ReactSharedInternals.T = null;
19546          try {
19547            var onRecoverableError = root.onRecoverableError;
19548            for (
19549              finishedWork = 0;
19550              finishedWork < recoverableErrors.length;
19551              finishedWork++
19552            ) {
19553              var recoverableError = recoverableErrors[finishedWork],
19554                errorInfo = makeErrorInfo(recoverableError.stack);
19555              runWithFiberInDEV(
19556                recoverableError.source,
19557                onRecoverableError,
19558                recoverableError.value,
19559                errorInfo
19560              );
19561            }
19562          } finally {
19563            (ReactSharedInternals.T = didError),
19564              (ReactDOMSharedInternals.p = schedulerPriority);
19565          }
19566        }
19567        0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
19568        ensureRootIsScheduled(root);
19569        remainingLanes = root.pendingLanes;
19570        0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42)
19571          ? ((nestedUpdateScheduled = !0),
19572            root === rootWithNestedUpdates
19573              ? nestedUpdateCount++
19574              : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
19575          : (nestedUpdateCount = 0);
19576        flushSyncWorkAcrossRoots_impl(0, !1);
19577        markCommitStopped();
19578      }
19579    }
19580    function makeErrorInfo(componentStack) {
19581      componentStack = { componentStack: componentStack };
19582      Object.defineProperty(componentStack, "digest", {
19583        get: function () {
19584          console.error(
19585            'You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.'
19586          );
19587        }
19588      });
19589      return componentStack;
19590    }
19591    function releaseRootPooledCache(root, remainingLanes) {
19592      0 === (root.pooledCacheLanes &= remainingLanes) &&
19593        ((remainingLanes = root.pooledCache),
19594        null != remainingLanes &&
19595          ((root.pooledCache = null), releaseCache(remainingLanes)));
19596    }
19597    function flushPendingEffects(wasDelayedCommit) {
19598      flushMutationEffects();
19599      flushLayoutEffects();
19600      flushSpawnedWork();
19601      return flushPassiveEffects(wasDelayedCommit);
19602    }
19603    function flushPassiveEffects() {
19604      if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;
19605      var root = pendingEffectsRoot,
19606        remainingLanes = pendingEffectsRemainingLanes;
19607      pendingEffectsRemainingLanes = 0;
19608      var renderPriority = lanesToEventPriority(pendingEffectsLanes),
19609        priority =
19610          0 === DefaultEventPriority || DefaultEventPriority > renderPriority
19611            ? DefaultEventPriority
19612            : renderPriority;
19613      renderPriority = ReactSharedInternals.T;
19614      var previousPriority = ReactDOMSharedInternals.p;
19615      try {
19616        ReactDOMSharedInternals.p = priority;
19617        ReactSharedInternals.T = null;
19618        priority = pendingPassiveTransitions;
19619        pendingPassiveTransitions = null;
19620        var root$jscomp$0 = pendingEffectsRoot,
19621          lanes = pendingEffectsLanes;
19622        pendingEffectsStatus = NO_PENDING_EFFECTS;
19623        pendingFinishedWork = pendingEffectsRoot = null;
19624        pendingEffectsLanes = 0;
19625        if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
19626          throw Error("Cannot flush passive effects while already rendering.");
19627        isFlushingPassiveEffects = !0;
19628        didScheduleUpdateDuringPassiveEffects = !1;
19629        null !== injectedProfilingHooks &&
19630          "function" ===
19631            typeof injectedProfilingHooks.markPassiveEffectsStarted &&
19632          injectedProfilingHooks.markPassiveEffectsStarted(lanes);
19633        var prevExecutionContext = executionContext;
19634        executionContext |= CommitContext;
19635        commitPassiveUnmountOnFiber(root$jscomp$0.current);
19636        commitPassiveMountOnFiber(
19637          root$jscomp$0,
19638          root$jscomp$0.current,
19639          lanes,
19640          priority
19641        );
19642        null !== injectedProfilingHooks &&
19643          "function" ===
19644            typeof injectedProfilingHooks.markPassiveEffectsStopped &&
19645          injectedProfilingHooks.markPassiveEffectsStopped();
19646        commitDoubleInvokeEffectsInDEV(root$jscomp$0);
19647        executionContext = prevExecutionContext;
19648        flushSyncWorkAcrossRoots_impl(0, !1);
19649        didScheduleUpdateDuringPassiveEffects
19650          ? root$jscomp$0 === rootWithPassiveNestedUpdates
19651            ? nestedPassiveUpdateCount++
19652            : ((nestedPassiveUpdateCount = 0),
19653              (rootWithPassiveNestedUpdates = root$jscomp$0))
19654          : (nestedPassiveUpdateCount = 0);
19655        didScheduleUpdateDuringPassiveEffects = isFlushingPassiveEffects = !1;
19656        if (
19657          injectedHook &&
19658          "function" === typeof injectedHook.onPostCommitFiberRoot
19659        )
19660          try {
19661            injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0);
19662          } catch (err) {
19663            hasLoggedError ||
19664              ((hasLoggedError = !0),
19665              console.error(
19666                "React instrumentation encountered an error: %s",
19667                err
19668              ));
19669          }
19670        var stateNode = root$jscomp$0.current.stateNode;
19671        stateNode.effectDuration = 0;
19672        stateNode.passiveEffectDuration = 0;
19673        return !0;
19674      } finally {
19675        (ReactDOMSharedInternals.p = previousPriority),
19676          (ReactSharedInternals.T = renderPriority),
19677          releaseRootPooledCache(root, remainingLanes);
19678      }
19679    }
19680    function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
19681      sourceFiber = createCapturedValueAtFiber(error, sourceFiber);
19682      sourceFiber = createRootErrorUpdate(rootFiber.stateNode, sourceFiber, 2);
19683      rootFiber = enqueueUpdate(rootFiber, sourceFiber, 2);
19684      null !== rootFiber &&
19685        (markRootUpdated$1(rootFiber, 2), ensureRootIsScheduled(rootFiber));
19686    }
19687    function captureCommitPhaseError(
19688      sourceFiber,
19689      nearestMountedAncestor,
19690      error
19691    ) {
19692      isRunningInsertionEffect = !1;
19693      if (3 === sourceFiber.tag)
19694        captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error);
19695      else {
19696        for (; null !== nearestMountedAncestor; ) {
19697          if (3 === nearestMountedAncestor.tag) {
19698            captureCommitPhaseErrorOnRoot(
19699              nearestMountedAncestor,
19700              sourceFiber,
19701              error
19702            );
19703            return;
19704          }
19705          if (1 === nearestMountedAncestor.tag) {
19706            var instance = nearestMountedAncestor.stateNode;
19707            if (
19708              "function" ===
19709                typeof nearestMountedAncestor.type.getDerivedStateFromError ||
19710              ("function" === typeof instance.componentDidCatch &&
19711                (null === legacyErrorBoundariesThatAlreadyFailed ||
19712                  !legacyErrorBoundariesThatAlreadyFailed.has(instance)))
19713            ) {
19714              sourceFiber = createCapturedValueAtFiber(error, sourceFiber);
19715              error = createClassErrorUpdate(2);
19716              instance = enqueueUpdate(nearestMountedAncestor, error, 2);
19717              null !== instance &&
19718                (initializeClassErrorUpdate(
19719                  error,
19720                  instance,
19721                  nearestMountedAncestor,
19722                  sourceFiber
19723                ),
19724                markRootUpdated$1(instance, 2),
19725                ensureRootIsScheduled(instance));
19726              return;
19727            }
19728          }
19729          nearestMountedAncestor = nearestMountedAncestor.return;
19730        }
19731        console.error(
19732          "Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",
19733          error
19734        );
19735      }
19736    }
19737    function attachPingListener(root, wakeable, lanes) {
19738      var pingCache = root.pingCache;
19739      if (null === pingCache) {
19740        pingCache = root.pingCache = new PossiblyWeakMap();
19741        var threadIDs = new Set();
19742        pingCache.set(wakeable, threadIDs);
19743      } else
19744        (threadIDs = pingCache.get(wakeable)),
19745          void 0 === threadIDs &&
19746            ((threadIDs = new Set()), pingCache.set(wakeable, threadIDs));
19747      threadIDs.has(lanes) ||
19748        ((workInProgressRootDidAttachPingListener = !0),
19749        threadIDs.add(lanes),
19750        (pingCache = pingSuspendedRoot.bind(null, root, wakeable, lanes)),
19751        isDevToolsPresent && restorePendingUpdaters(root, lanes),
19752        wakeable.then(pingCache, pingCache));
19753    }
19754    function pingSuspendedRoot(root, wakeable, pingedLanes) {
19755      var pingCache = root.pingCache;
19756      null !== pingCache && pingCache.delete(wakeable);
19757      root.pingedLanes |= root.suspendedLanes & pingedLanes;
19758      root.warmLanes &= ~pingedLanes;
19759      isConcurrentActEnvironment() &&
19760        null === ReactSharedInternals.actQueue &&
19761        console.error(
19762          "A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n  /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act"
19763        );
19764      workInProgressRoot === root &&
19765        (workInProgressRootRenderLanes & pingedLanes) === pingedLanes &&
19766        (workInProgressRootExitStatus === RootSuspendedWithDelay ||
19767        (workInProgressRootExitStatus === RootSuspended &&
19768          (workInProgressRootRenderLanes & 62914560) ===
19769            workInProgressRootRenderLanes &&
19770          now$1() - globalMostRecentFallbackTime < FALLBACK_THROTTLE_MS)
19771          ? (executionContext & RenderContext) === NoContext &&
19772            prepareFreshStack(root, 0)
19773          : (workInProgressRootPingedLanes |= pingedLanes),
19774        workInProgressSuspendedRetryLanes === workInProgressRootRenderLanes &&
19775          (workInProgressSuspendedRetryLanes = 0));
19776      ensureRootIsScheduled(root);
19777    }
19778    function retryTimedOutBoundary(boundaryFiber, retryLane) {
19779      0 === retryLane && (retryLane = claimNextRetryLane());
19780      boundaryFiber = enqueueConcurrentRenderForLane(boundaryFiber, retryLane);
19781      null !== boundaryFiber &&
19782        (markRootUpdated$1(boundaryFiber, retryLane),
19783        ensureRootIsScheduled(boundaryFiber));
19784    }
19785    function retryDehydratedSuspenseBoundary(boundaryFiber) {
19786      var suspenseState = boundaryFiber.memoizedState,
19787        retryLane = 0;
19788      null !== suspenseState && (retryLane = suspenseState.retryLane);
19789      retryTimedOutBoundary(boundaryFiber, retryLane);
19790    }
19791    function resolveRetryWakeable(boundaryFiber, wakeable) {
19792      var retryLane = 0;
19793      switch (boundaryFiber.tag) {
19794        case 13:
19795          var retryCache = boundaryFiber.stateNode;
19796          var suspenseState = boundaryFiber.memoizedState;
19797          null !== suspenseState && (retryLane = suspenseState.retryLane);
19798          break;
19799        case 19:
19800          retryCache = boundaryFiber.stateNode;
19801          break;
19802        case 22:
19803          retryCache = boundaryFiber.stateNode._retryCache;
19804          break;
19805        default:
19806          throw Error(
19807            "Pinged unknown suspense boundary type. This is probably a bug in React."
19808          );
19809      }
19810      null !== retryCache && retryCache.delete(wakeable);
19811      retryTimedOutBoundary(boundaryFiber, retryLane);
19812    }
19813    function recursivelyTraverseAndDoubleInvokeEffectsInDEV(
19814      root$jscomp$0,
19815      parentFiber,
19816      isInStrictMode
19817    ) {
19818      if (0 !== (parentFiber.subtreeFlags & 67117056))
19819        for (parentFiber = parentFiber.child; null !== parentFiber; ) {
19820          var root = root$jscomp$0,
19821            fiber = parentFiber,
19822            isStrictModeFiber = fiber.type === REACT_STRICT_MODE_TYPE;
19823          isStrictModeFiber = isInStrictMode || isStrictModeFiber;
19824          22 !== fiber.tag
19825            ? fiber.flags & 67108864
19826              ? isStrictModeFiber &&
19827                runWithFiberInDEV(
19828                  fiber,
19829                  doubleInvokeEffectsOnFiber,
19830                  root,
19831                  fiber,
19832                  (fiber.mode & NoStrictPassiveEffectsMode) === NoMode
19833                )
19834              : recursivelyTraverseAndDoubleInvokeEffectsInDEV(
19835                  root,
19836                  fiber,
19837                  isStrictModeFiber
19838                )
19839            : null === fiber.memoizedState &&
19840              (isStrictModeFiber && fiber.flags & 8192
19841                ? runWithFiberInDEV(
19842                    fiber,
19843                    doubleInvokeEffectsOnFiber,
19844                    root,
19845                    fiber
19846                  )
19847                : fiber.subtreeFlags & 67108864 &&
19848                  runWithFiberInDEV(
19849                    fiber,
19850                    recursivelyTraverseAndDoubleInvokeEffectsInDEV,
19851                    root,
19852                    fiber,
19853                    isStrictModeFiber
19854                  ));
19855          parentFiber = parentFiber.sibling;
19856        }
19857    }
19858    function doubleInvokeEffectsOnFiber(root, fiber) {
19859      var shouldDoubleInvokePassiveEffects =
19860        2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : !0;
19861      setIsStrictModeForDevtools(!0);
19862      try {
19863        disappearLayoutEffects(fiber),
19864          shouldDoubleInvokePassiveEffects && disconnectPassiveEffect(fiber),
19865          reappearLayoutEffects(root, fiber.alternate, fiber, !1),
19866          shouldDoubleInvokePassiveEffects &&
19867            reconnectPassiveEffects(root, fiber, 0, null, !1, 0);
19868      } finally {
19869        setIsStrictModeForDevtools(!1);
19870      }
19871    }
19872    function commitDoubleInvokeEffectsInDEV(root) {
19873      var doubleInvokeEffects = !0;
19874      root.current.mode & (StrictLegacyMode | StrictEffectsMode) ||
19875        (doubleInvokeEffects = !1);
19876      recursivelyTraverseAndDoubleInvokeEffectsInDEV(
19877        root,
19878        root.current,
19879        doubleInvokeEffects
19880      );
19881    }
19882    function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) {
19883      if ((executionContext & RenderContext) === NoContext) {
19884        var tag = fiber.tag;
19885        if (
19886          3 === tag ||
19887          1 === tag ||
19888          0 === tag ||
19889          11 === tag ||
19890          14 === tag ||
19891          15 === tag
19892        ) {
19893          tag = getComponentNameFromFiber(fiber) || "ReactComponent";
19894          if (null !== didWarnStateUpdateForNotYetMountedComponent) {
19895            if (didWarnStateUpdateForNotYetMountedComponent.has(tag)) return;
19896            didWarnStateUpdateForNotYetMountedComponent.add(tag);
19897          } else didWarnStateUpdateForNotYetMountedComponent = new Set([tag]);
19898          runWithFiberInDEV(fiber, function () {
19899            console.error(
19900              "Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead."
19901            );
19902          });
19903        }
19904      }
19905    }
19906    function restorePendingUpdaters(root, lanes) {
19907      isDevToolsPresent &&
19908        root.memoizedUpdaters.forEach(function (schedulingFiber) {
19909          addFiberToLanesMap(root, schedulingFiber, lanes);
19910        });
19911    }
19912    function scheduleCallback$1(priorityLevel, callback) {
19913      var actQueue = ReactSharedInternals.actQueue;
19914      return null !== actQueue
19915        ? (actQueue.push(callback), fakeActCallbackNode$1)
19916        : scheduleCallback$3(priorityLevel, callback);
19917    }
19918    function warnIfUpdatesNotWrappedWithActDEV(fiber) {
19919      isConcurrentActEnvironment() &&
19920        null === ReactSharedInternals.actQueue &&
19921        runWithFiberInDEV(fiber, function () {
19922          console.error(
19923            "An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n  /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act",
19924            getComponentNameFromFiber(fiber)
19925          );
19926        });
19927    }
19928    function ensureRootIsScheduled(root) {
19929      root !== lastScheduledRoot &&
19930        null === root.next &&
19931        (null === lastScheduledRoot
19932          ? (firstScheduledRoot = lastScheduledRoot = root)
19933          : (lastScheduledRoot = lastScheduledRoot.next = root));
19934      mightHavePendingSyncWork = !0;
19935      null !== ReactSharedInternals.actQueue
19936        ? didScheduleMicrotask_act ||
19937          ((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())
19938        : didScheduleMicrotask ||
19939          ((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
19940    }
19941    function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
19942      if (!isFlushingWork && mightHavePendingSyncWork) {
19943        isFlushingWork = !0;
19944        do {
19945          var didPerformSomeWork = !1;
19946          for (var root = firstScheduledRoot; null !== root; ) {
19947            if (!onlyLegacy)
19948              if (0 !== syncTransitionLanes) {
19949                var pendingLanes = root.pendingLanes;
19950                if (0 === pendingLanes) var nextLanes = 0;
19951                else {
19952                  var suspendedLanes = root.suspendedLanes,
19953                    pingedLanes = root.pingedLanes;
19954                  nextLanes =
19955                    (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
19956                  nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
19957                  nextLanes =
19958                    nextLanes & 201326741
19959                      ? (nextLanes & 201326741) | 1
19960                      : nextLanes
19961                        ? nextLanes | 2
19962                        : 0;
19963                }
19964                0 !== nextLanes &&
19965                  ((didPerformSomeWork = !0),
19966                  performSyncWorkOnRoot(root, nextLanes));
19967              } else
19968                (nextLanes = workInProgressRootRenderLanes),
19969                  (nextLanes = getNextLanes(
19970                    root,
19971                    root === workInProgressRoot ? nextLanes : 0,
19972                    null !== root.cancelPendingCommit ||
19973                      root.timeoutHandle !== noTimeout
19974                  )),
19975                  0 === (nextLanes & 3) ||
19976                    checkIfRootIsPrerendering(root, nextLanes) ||
19977                    ((didPerformSomeWork = !0),
19978                    performSyncWorkOnRoot(root, nextLanes));
19979            root = root.next;
19980          }
19981        } while (didPerformSomeWork);
19982        isFlushingWork = !1;
19983      }
19984    }
19985    function processRootScheduleInImmediateTask() {
19986      processRootScheduleInMicrotask();
19987    }
19988    function processRootScheduleInMicrotask() {
19989      mightHavePendingSyncWork =
19990        didScheduleMicrotask_act =
19991        didScheduleMicrotask =
19992          !1;
19993      var syncTransitionLanes = 0;
19994      0 !== currentEventTransitionLane &&
19995        (shouldAttemptEagerTransition() &&
19996          (syncTransitionLanes = currentEventTransitionLane),
19997        (currentEventTransitionLane = 0));
19998      for (
19999        var currentTime = now$1(), prev = null, root = firstScheduledRoot;
20000        null !== root;
20001
20002      ) {
20003        var next = root.next,
20004          nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
20005        if (0 === nextLanes)
20006          (root.next = null),
20007            null === prev ? (firstScheduledRoot = next) : (prev.next = next),
20008            null === next && (lastScheduledRoot = prev);
20009        else if (
20010          ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))
20011        )
20012          mightHavePendingSyncWork = !0;
20013        root = next;
20014      }
20015      flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
20016    }
20017    function scheduleTaskForRootDuringMicrotask(root, currentTime) {
20018      for (
20019        var suspendedLanes = root.suspendedLanes,
20020          pingedLanes = root.pingedLanes,
20021          expirationTimes = root.expirationTimes,
20022          lanes = root.pendingLanes & -62914561;
20023        0 < lanes;
20024
20025      ) {
20026        var index = 31 - clz32(lanes),
20027          lane = 1 << index,
20028          expirationTime = expirationTimes[index];
20029        if (-1 === expirationTime) {
20030          if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))
20031            expirationTimes[index] = computeExpirationTime(lane, currentTime);
20032        } else expirationTime <= currentTime && (root.expiredLanes |= lane);
20033        lanes &= ~lane;
20034      }
20035      currentTime = workInProgressRoot;
20036      suspendedLanes = workInProgressRootRenderLanes;
20037      suspendedLanes = getNextLanes(
20038        root,
20039        root === currentTime ? suspendedLanes : 0,
20040        null !== root.cancelPendingCommit || root.timeoutHandle !== noTimeout
20041      );
20042      pingedLanes = root.callbackNode;
20043      if (
20044        0 === suspendedLanes ||
20045        (root === currentTime &&
20046          (workInProgressSuspendedReason === SuspendedOnData ||
20047            workInProgressSuspendedReason === SuspendedOnAction)) ||
20048        null !== root.cancelPendingCommit
20049      )
20050        return (
20051          null !== pingedLanes && cancelCallback(pingedLanes),
20052          (root.callbackNode = null),
20053          (root.callbackPriority = 0)
20054        );
20055      if (
20056        0 === (suspendedLanes & 3) ||
20057        checkIfRootIsPrerendering(root, suspendedLanes)
20058      ) {
20059        currentTime = suspendedLanes & -suspendedLanes;
20060        if (
20061          currentTime !== root.callbackPriority ||
20062          (null !== ReactSharedInternals.actQueue &&
20063            pingedLanes !== fakeActCallbackNode)
20064        )
20065          cancelCallback(pingedLanes);
20066        else return currentTime;
20067        switch (lanesToEventPriority(suspendedLanes)) {
20068          case DiscreteEventPriority:
20069          case ContinuousEventPriority:
20070            suspendedLanes = UserBlockingPriority;
20071            break;
20072          case DefaultEventPriority:
20073            suspendedLanes = NormalPriority$1;
20074            break;
20075          case IdleEventPriority:
20076            suspendedLanes = IdlePriority;
20077            break;
20078          default:
20079            suspendedLanes = NormalPriority$1;
20080        }
20081        pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);
20082        null !== ReactSharedInternals.actQueue
20083          ? (ReactSharedInternals.actQueue.push(pingedLanes),
20084            (suspendedLanes = fakeActCallbackNode))
20085          : (suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes));
20086        root.callbackPriority = currentTime;
20087        root.callbackNode = suspendedLanes;
20088        return currentTime;
20089      }
20090      null !== pingedLanes && cancelCallback(pingedLanes);
20091      root.callbackPriority = 2;
20092      root.callbackNode = null;
20093      return 2;
20094    }
20095    function performWorkOnRootViaSchedulerTask(root, didTimeout) {
20096      nestedUpdateScheduled = currentUpdateIsNested = !1;
20097      if (
20098        pendingEffectsStatus !== NO_PENDING_EFFECTS &&
20099        pendingEffectsStatus !== PENDING_PASSIVE_PHASE
20100      )
20101        return (root.callbackNode = null), (root.callbackPriority = 0), null;
20102      var originalCallbackNode = root.callbackNode;
20103      if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
20104        return null;
20105      var workInProgressRootRenderLanes$jscomp$0 =
20106        workInProgressRootRenderLanes;
20107      workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
20108        root,
20109        root === workInProgressRoot
20110          ? workInProgressRootRenderLanes$jscomp$0
20111          : 0,
20112        null !== root.cancelPendingCommit || root.timeoutHandle !== noTimeout
20113      );
20114      if (0 === workInProgressRootRenderLanes$jscomp$0) return null;
20115      performWorkOnRoot(
20116        root,
20117        workInProgressRootRenderLanes$jscomp$0,
20118        didTimeout
20119      );
20120      scheduleTaskForRootDuringMicrotask(root, now$1());
20121      return null != root.callbackNode &&
20122        root.callbackNode === originalCallbackNode
20123        ? performWorkOnRootViaSchedulerTask.bind(null, root)
20124        : null;
20125    }
20126    function performSyncWorkOnRoot(root, lanes) {
20127      if (flushPendingEffects()) return null;
20128      currentUpdateIsNested = nestedUpdateScheduled;
20129      nestedUpdateScheduled = !1;
20130      performWorkOnRoot(root, lanes, !0);
20131    }
20132    function cancelCallback(callbackNode) {
20133      callbackNode !== fakeActCallbackNode &&
20134        null !== callbackNode &&
20135        cancelCallback$1(callbackNode);
20136    }
20137    function scheduleImmediateRootScheduleTask() {
20138      null !== ReactSharedInternals.actQueue &&
20139        ReactSharedInternals.actQueue.push(function () {
20140          processRootScheduleInMicrotask();
20141          return null;
20142        });
20143      scheduleMicrotask(function () {
20144        (executionContext & (RenderContext | CommitContext)) !== NoContext
20145          ? scheduleCallback$3(
20146              ImmediatePriority,
20147              processRootScheduleInImmediateTask
20148            )
20149          : processRootScheduleInMicrotask();
20150      });
20151    }
20152    function requestTransitionLane() {
20153      0 === currentEventTransitionLane &&
20154        (currentEventTransitionLane = claimNextTransitionLane());
20155      return currentEventTransitionLane;
20156    }
20157    function coerceFormActionProp(actionProp) {
20158      if (
20159        null == actionProp ||
20160        "symbol" === typeof actionProp ||
20161        "boolean" === typeof actionProp
20162      )
20163        return null;
20164      if ("function" === typeof actionProp) return actionProp;
20165      checkAttributeStringCoercion(actionProp, "action");
20166      return sanitizeURL("" + actionProp);
20167    }
20168    function createFormDataWithSubmitter(form, submitter) {
20169      var temp = submitter.ownerDocument.createElement("input");
20170      temp.name = submitter.name;
20171      temp.value = submitter.value;
20172      form.id && temp.setAttribute("form", form.id);
20173      submitter.parentNode.insertBefore(temp, submitter);
20174      form = new FormData(form);
20175      temp.parentNode.removeChild(temp);
20176      return form;
20177    }
20178    function extractEvents$1(
20179      dispatchQueue,
20180      domEventName,
20181      maybeTargetInst,
20182      nativeEvent,
20183      nativeEventTarget
20184    ) {
20185      if (
20186        "submit" === domEventName &&
20187        maybeTargetInst &&
20188        maybeTargetInst.stateNode === nativeEventTarget
20189      ) {
20190        var action = coerceFormActionProp(
20191            (nativeEventTarget[internalPropsKey] || null).action
20192          ),
20193          submitter = nativeEvent.submitter;
20194        submitter &&
20195          ((domEventName = (domEventName = submitter[internalPropsKey] || null)
20196            ? coerceFormActionProp(domEventName.formAction)
20197            : submitter.getAttribute("formAction")),
20198          null !== domEventName &&
20199            ((action = domEventName), (submitter = null)));
20200        var event = new SyntheticEvent(
20201          "action",
20202          "action",
20203          null,
20204          nativeEvent,
20205          nativeEventTarget
20206        );
20207        dispatchQueue.push({
20208          event: event,
20209          listeners: [
20210            {
20211              instance: null,
20212              listener: function () {
20213                if (nativeEvent.defaultPrevented) {
20214                  if (0 !== currentEventTransitionLane) {
20215                    var formData = submitter
20216                        ? createFormDataWithSubmitter(
20217                            nativeEventTarget,
20218                            submitter
20219                          )
20220                        : new FormData(nativeEventTarget),
20221                      pendingState = {
20222                        pending: !0,
20223                        data: formData,
20224                        method: nativeEventTarget.method,
20225                        action: action
20226                      };
20227                    Object.freeze(pendingState);
20228                    startHostTransition(
20229                      maybeTargetInst,
20230                      pendingState,
20231                      null,
20232                      formData
20233                    );
20234                  }
20235                } else
20236                  "function" === typeof action &&
20237                    (event.preventDefault(),
20238                    (formData = submitter
20239                      ? createFormDataWithSubmitter(
20240                          nativeEventTarget,
20241                          submitter
20242                        )
20243                      : new FormData(nativeEventTarget)),
20244                    (pendingState = {
20245                      pending: !0,
20246                      data: formData,
20247                      method: nativeEventTarget.method,
20248                      action: action
20249                    }),
20250                    Object.freeze(pendingState),
20251                    startHostTransition(
20252                      maybeTargetInst,
20253                      pendingState,
20254                      action,
20255                      formData
20256                    ));
20257              },
20258              currentTarget: nativeEventTarget
20259            }
20260          ]
20261        });
20262      }
20263    }
20264    function executeDispatch(event, listener, currentTarget) {
20265      event.currentTarget = currentTarget;
20266      try {
20267        listener(event);
20268      } catch (error) {
20269        reportGlobalError(error);
20270      }
20271      event.currentTarget = null;
20272    }
20273    function processDispatchQueue(dispatchQueue, eventSystemFlags) {
20274      eventSystemFlags = 0 !== (eventSystemFlags & 4);
20275      for (var i = 0; i < dispatchQueue.length; i++) {
20276        var _dispatchQueue$i = dispatchQueue[i];
20277        a: {
20278          var previousInstance = void 0,
20279            event = _dispatchQueue$i.event;
20280          _dispatchQueue$i = _dispatchQueue$i.listeners;
20281          if (eventSystemFlags)
20282            for (
20283              var i$jscomp$0 = _dispatchQueue$i.length - 1;
20284              0 <= i$jscomp$0;
20285              i$jscomp$0--
20286            ) {
20287              var _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0],
20288                instance = _dispatchListeners$i.instance,
20289                currentTarget = _dispatchListeners$i.currentTarget;
20290              _dispatchListeners$i = _dispatchListeners$i.listener;
20291              if (instance !== previousInstance && event.isPropagationStopped())
20292                break a;
20293              null !== instance
20294                ? runWithFiberInDEV(
20295                    instance,
20296                    executeDispatch,
20297                    event,
20298                    _dispatchListeners$i,
20299                    currentTarget
20300                  )
20301                : executeDispatch(event, _dispatchListeners$i, currentTarget);
20302              previousInstance = instance;
20303            }
20304          else
20305            for (
20306              i$jscomp$0 = 0;
20307              i$jscomp$0 < _dispatchQueue$i.length;
20308              i$jscomp$0++
20309            ) {
20310              _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0];
20311              instance = _dispatchListeners$i.instance;
20312              currentTarget = _dispatchListeners$i.currentTarget;
20313              _dispatchListeners$i = _dispatchListeners$i.listener;
20314              if (instance !== previousInstance && event.isPropagationStopped())
20315                break a;
20316              null !== instance
20317                ? runWithFiberInDEV(
20318                    instance,
20319                    executeDispatch,
20320                    event,
20321                    _dispatchListeners$i,
20322                    currentTarget
20323                  )
20324                : executeDispatch(event, _dispatchListeners$i, currentTarget);
20325              previousInstance = instance;
20326            }
20327        }
20328      }
20329    }
20330    function listenToNonDelegatedEvent(domEventName, targetElement) {
20331      nonDelegatedEvents.has(domEventName) ||
20332        console.error(
20333          'Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',
20334          domEventName
20335        );
20336      var listenerSet = targetElement[internalEventHandlersKey];
20337      void 0 === listenerSet &&
20338        (listenerSet = targetElement[internalEventHandlersKey] = new Set());
20339      var listenerSetKey = domEventName + "__bubble";
20340      listenerSet.has(listenerSetKey) ||
20341        (addTrappedEventListener(targetElement, domEventName, 2, !1),
20342        listenerSet.add(listenerSetKey));
20343    }
20344    function listenToNativeEvent(domEventName, isCapturePhaseListener, target) {
20345      nonDelegatedEvents.has(domEventName) &&
20346        !isCapturePhaseListener &&
20347        console.error(
20348          'Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',
20349          domEventName
20350        );
20351      var eventSystemFlags = 0;
20352      isCapturePhaseListener && (eventSystemFlags |= 4);
20353      addTrappedEventListener(
20354        target,
20355        domEventName,
20356        eventSystemFlags,
20357        isCapturePhaseListener
20358      );
20359    }
20360    function listenToAllSupportedEvents(rootContainerElement) {
20361      if (!rootContainerElement[listeningMarker]) {
20362        rootContainerElement[listeningMarker] = !0;
20363        allNativeEvents.forEach(function (domEventName) {
20364          "selectionchange" !== domEventName &&
20365            (nonDelegatedEvents.has(domEventName) ||
20366              listenToNativeEvent(domEventName, !1, rootContainerElement),
20367            listenToNativeEvent(domEventName, !0, rootContainerElement));
20368        });
20369        var ownerDocument =
20370          9 === rootContainerElement.nodeType
20371            ? rootContainerElement
20372            : rootContainerElement.ownerDocument;
20373        null === ownerDocument ||
20374          ownerDocument[listeningMarker] ||
20375          ((ownerDocument[listeningMarker] = !0),
20376          listenToNativeEvent("selectionchange", !1, ownerDocument));
20377      }
20378    }
20379    function addTrappedEventListener(
20380      targetContainer,
20381      domEventName,
20382      eventSystemFlags,
20383      isCapturePhaseListener
20384    ) {
20385      switch (getEventPriority(domEventName)) {
20386        case DiscreteEventPriority:
20387          var listenerWrapper = dispatchDiscreteEvent;
20388          break;
20389        case ContinuousEventPriority:
20390          listenerWrapper = dispatchContinuousEvent;
20391          break;
20392        default:
20393          listenerWrapper = dispatchEvent;
20394      }
20395      eventSystemFlags = listenerWrapper.bind(
20396        null,
20397        domEventName,
20398        eventSystemFlags,
20399        targetContainer
20400      );
20401      listenerWrapper = void 0;
20402      !passiveBrowserEventsSupported ||
20403        ("touchstart" !== domEventName &&
20404          "touchmove" !== domEventName &&
20405          "wheel" !== domEventName) ||
20406        (listenerWrapper = !0);
20407      isCapturePhaseListener
20408        ? void 0 !== listenerWrapper
20409          ? targetContainer.addEventListener(domEventName, eventSystemFlags, {
20410              capture: !0,
20411              passive: listenerWrapper
20412            })
20413          : targetContainer.addEventListener(domEventName, eventSystemFlags, !0)
20414        : void 0 !== listenerWrapper
20415          ? targetContainer.addEventListener(domEventName, eventSystemFlags, {
20416              passive: listenerWrapper
20417            })
20418          : targetContainer.addEventListener(
20419              domEventName,
20420              eventSystemFlags,
20421              !1
20422            );
20423    }
20424    function dispatchEventForPluginEventSystem(
20425      domEventName,
20426      eventSystemFlags,
20427      nativeEvent,
20428      targetInst$jscomp$0,
20429      targetContainer
20430    ) {
20431      var ancestorInst = targetInst$jscomp$0;
20432      if (
20433        0 === (eventSystemFlags & 1) &&
20434        0 === (eventSystemFlags & 2) &&
20435        null !== targetInst$jscomp$0
20436      )
20437        a: for (;;) {
20438          if (null === targetInst$jscomp$0) return;
20439          var nodeTag = targetInst$jscomp$0.tag;
20440          if (3 === nodeTag || 4 === nodeTag) {
20441            var container = targetInst$jscomp$0.stateNode.containerInfo;
20442            if (container === targetContainer) break;
20443            if (4 === nodeTag)
20444              for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) {
20445                var grandTag = nodeTag.tag;
20446                if (
20447                  (3 === grandTag || 4 === grandTag) &&
20448                  nodeTag.stateNode.containerInfo === targetContainer
20449                )
20450                  return;
20451                nodeTag = nodeTag.return;
20452              }
20453            for (; null !== container; ) {
20454              nodeTag = getClosestInstanceFromNode(container);
20455              if (null === nodeTag) return;
20456              grandTag = nodeTag.tag;
20457              if (
20458                5 === grandTag ||
20459                6 === grandTag ||
20460                26 === grandTag ||
20461                27 === grandTag
20462              ) {
20463                targetInst$jscomp$0 = ancestorInst = nodeTag;
20464                continue a;
20465              }
20466              container = container.parentNode;
20467            }
20468          }
20469          targetInst$jscomp$0 = targetInst$jscomp$0.return;
20470        }
20471      batchedUpdates$1(function () {
20472        var targetInst = ancestorInst,
20473          nativeEventTarget = getEventTarget(nativeEvent),
20474          dispatchQueue = [];
20475        a: {
20476          var reactName = topLevelEventsToReactNames.get(domEventName);
20477          if (void 0 !== reactName) {
20478            var SyntheticEventCtor = SyntheticEvent,
20479              reactEventType = domEventName;
20480            switch (domEventName) {
20481              case "keypress":
20482                if (0 === getEventCharCode(nativeEvent)) break a;
20483              case "keydown":
20484              case "keyup":
20485                SyntheticEventCtor = SyntheticKeyboardEvent;
20486                break;
20487              case "focusin":
20488                reactEventType = "focus";
20489                SyntheticEventCtor = SyntheticFocusEvent;
20490                break;
20491              case "focusout":
20492                reactEventType = "blur";
20493                SyntheticEventCtor = SyntheticFocusEvent;
20494                break;
20495              case "beforeblur":
20496              case "afterblur":
20497                SyntheticEventCtor = SyntheticFocusEvent;
20498                break;
20499              case "click":
20500                if (2 === nativeEvent.button) break a;
20501              case "auxclick":
20502              case "dblclick":
20503              case "mousedown":
20504              case "mousemove":
20505              case "mouseup":
20506              case "mouseout":
20507              case "mouseover":
20508              case "contextmenu":
20509                SyntheticEventCtor = SyntheticMouseEvent;
20510                break;
20511              case "drag":
20512              case "dragend":
20513              case "dragenter":
20514              case "dragexit":
20515              case "dragleave":
20516              case "dragover":
20517              case "dragstart":
20518              case "drop":
20519                SyntheticEventCtor = SyntheticDragEvent;
20520                break;
20521              case "touchcancel":
20522              case "touchend":
20523              case "touchmove":
20524              case "touchstart":
20525                SyntheticEventCtor = SyntheticTouchEvent;
20526                break;
20527              case ANIMATION_END:
20528              case ANIMATION_ITERATION:
20529              case ANIMATION_START:
20530                SyntheticEventCtor = SyntheticAnimationEvent;
20531                break;
20532              case TRANSITION_END:
20533                SyntheticEventCtor = SyntheticTransitionEvent;
20534                break;
20535              case "scroll":
20536              case "scrollend":
20537                SyntheticEventCtor = SyntheticUIEvent;
20538                break;
20539              case "wheel":
20540                SyntheticEventCtor = SyntheticWheelEvent;
20541                break;
20542              case "copy":
20543              case "cut":
20544              case "paste":
20545                SyntheticEventCtor = SyntheticClipboardEvent;
20546                break;
20547              case "gotpointercapture":
20548              case "lostpointercapture":
20549              case "pointercancel":
20550              case "pointerdown":
20551              case "pointermove":
20552              case "pointerout":
20553              case "pointerover":
20554              case "pointerup":
20555                SyntheticEventCtor = SyntheticPointerEvent;
20556                break;
20557              case "toggle":
20558              case "beforetoggle":
20559                SyntheticEventCtor = SyntheticToggleEvent;
20560            }
20561            var inCapturePhase = 0 !== (eventSystemFlags & 4),
20562              accumulateTargetOnly =
20563                !inCapturePhase &&
20564                ("scroll" === domEventName || "scrollend" === domEventName),
20565              reactEventName = inCapturePhase
20566                ? null !== reactName
20567                  ? reactName + "Capture"
20568                  : null
20569                : reactName;
20570            inCapturePhase = [];
20571            for (
20572              var instance = targetInst, lastHostComponent;
20573              null !== instance;
20574
20575            ) {
20576              var _instance2 = instance;
20577              lastHostComponent = _instance2.stateNode;
20578              _instance2 = _instance2.tag;
20579              (5 !== _instance2 && 26 !== _instance2 && 27 !== _instance2) ||
20580                null === lastHostComponent ||
20581                null === reactEventName ||
20582                ((_instance2 = getListener(instance, reactEventName)),
20583                null != _instance2 &&
20584                  inCapturePhase.push(
20585                    createDispatchListener(
20586                      instance,
20587                      _instance2,
20588                      lastHostComponent
20589                    )
20590                  ));
20591              if (accumulateTargetOnly) break;
20592              instance = instance.return;
20593            }
20594            0 < inCapturePhase.length &&
20595              ((reactName = new SyntheticEventCtor(
20596                reactName,
20597                reactEventType,
20598                null,
20599                nativeEvent,
20600                nativeEventTarget
20601              )),
20602              dispatchQueue.push({
20603                event: reactName,
20604                listeners: inCapturePhase
20605              }));
20606          }
20607        }
20608        if (0 === (eventSystemFlags & 7)) {
20609          a: {
20610            reactName =
20611              "mouseover" === domEventName || "pointerover" === domEventName;
20612            SyntheticEventCtor =
20613              "mouseout" === domEventName || "pointerout" === domEventName;
20614            if (
20615              reactName &&
20616              nativeEvent !== currentReplayingEvent &&
20617              (reactEventType =
20618                nativeEvent.relatedTarget || nativeEvent.fromElement) &&
20619              (getClosestInstanceFromNode(reactEventType) ||
20620                reactEventType[internalContainerInstanceKey])
20621            )
20622              break a;
20623            if (SyntheticEventCtor || reactName) {
20624              reactName =
20625                nativeEventTarget.window === nativeEventTarget
20626                  ? nativeEventTarget
20627                  : (reactName = nativeEventTarget.ownerDocument)
20628                    ? reactName.defaultView || reactName.parentWindow
20629                    : window;
20630              if (SyntheticEventCtor) {
20631                if (
20632                  ((reactEventType =
20633                    nativeEvent.relatedTarget || nativeEvent.toElement),
20634                  (SyntheticEventCtor = targetInst),
20635                  (reactEventType = reactEventType
20636                    ? getClosestInstanceFromNode(reactEventType)
20637                    : null),
20638                  null !== reactEventType &&
20639                    ((accumulateTargetOnly =
20640                      getNearestMountedFiber(reactEventType)),
20641                    (inCapturePhase = reactEventType.tag),
20642                    reactEventType !== accumulateTargetOnly ||
20643                      (5 !== inCapturePhase &&
20644                        27 !== inCapturePhase &&
20645                        6 !== inCapturePhase)))
20646                )
20647                  reactEventType = null;
20648              } else (SyntheticEventCtor = null), (reactEventType = targetInst);
20649              if (SyntheticEventCtor !== reactEventType) {
20650                inCapturePhase = SyntheticMouseEvent;
20651                _instance2 = "onMouseLeave";
20652                reactEventName = "onMouseEnter";
20653                instance = "mouse";
20654                if (
20655                  "pointerout" === domEventName ||
20656                  "pointerover" === domEventName
20657                )
20658                  (inCapturePhase = SyntheticPointerEvent),
20659                    (_instance2 = "onPointerLeave"),
20660                    (reactEventName = "onPointerEnter"),
20661                    (instance = "pointer");
20662                accumulateTargetOnly =
20663                  null == SyntheticEventCtor
20664                    ? reactName
20665                    : getNodeFromInstance(SyntheticEventCtor);
20666                lastHostComponent =
20667                  null == reactEventType
20668                    ? reactName
20669                    : getNodeFromInstance(reactEventType);
20670                reactName = new inCapturePhase(
20671                  _instance2,
20672                  instance + "leave",
20673                  SyntheticEventCtor,
20674                  nativeEvent,
20675                  nativeEventTarget
20676                );
20677                reactName.target = accumulateTargetOnly;
20678                reactName.relatedTarget = lastHostComponent;
20679                _instance2 = null;
20680                getClosestInstanceFromNode(nativeEventTarget) === targetInst &&
20681                  ((inCapturePhase = new inCapturePhase(
20682                    reactEventName,
20683                    instance + "enter",
20684                    reactEventType,
20685                    nativeEvent,
20686                    nativeEventTarget
20687                  )),
20688                  (inCapturePhase.target = lastHostComponent),
20689                  (inCapturePhase.relatedTarget = accumulateTargetOnly),
20690                  (_instance2 = inCapturePhase));
20691                accumulateTargetOnly = _instance2;
20692                if (SyntheticEventCtor && reactEventType)
20693                  b: {
20694                    inCapturePhase = SyntheticEventCtor;
20695                    reactEventName = reactEventType;
20696                    instance = 0;
20697                    for (
20698                      lastHostComponent = inCapturePhase;
20699                      lastHostComponent;
20700                      lastHostComponent = getParent(lastHostComponent)
20701                    )
20702                      instance++;
20703                    lastHostComponent = 0;
20704                    for (
20705                      _instance2 = reactEventName;
20706                      _instance2;
20707                      _instance2 = getParent(_instance2)
20708                    )
20709                      lastHostComponent++;
20710                    for (; 0 < instance - lastHostComponent; )
20711                      (inCapturePhase = getParent(inCapturePhase)), instance--;
20712                    for (; 0 < lastHostComponent - instance; )
20713                      (reactEventName = getParent(reactEventName)),
20714                        lastHostComponent--;
20715                    for (; instance--; ) {
20716                      if (
20717                        inCapturePhase === reactEventName ||
20718                        (null !== reactEventName &&
20719                          inCapturePhase === reactEventName.alternate)
20720                      )
20721                        break b;
20722                      inCapturePhase = getParent(inCapturePhase);
20723                      reactEventName = getParent(reactEventName);
20724                    }
20725                    inCapturePhase = null;
20726                  }
20727                else inCapturePhase = null;
20728                null !== SyntheticEventCtor &&
20729                  accumulateEnterLeaveListenersForEvent(
20730                    dispatchQueue,
20731                    reactName,
20732                    SyntheticEventCtor,
20733                    inCapturePhase,
20734                    !1
20735                  );
20736                null !== reactEventType &&
20737                  null !== accumulateTargetOnly &&
20738                  accumulateEnterLeaveListenersForEvent(
20739                    dispatchQueue,
20740                    accumulateTargetOnly,
20741                    reactEventType,
20742                    inCapturePhase,
20743                    !0
20744                  );
20745              }
20746            }
20747          }
20748          a: {
20749            reactName = targetInst ? getNodeFromInstance(targetInst) : window;
20750            SyntheticEventCtor =
20751              reactName.nodeName && reactName.nodeName.toLowerCase();
20752            if (
20753              "select" === SyntheticEventCtor ||
20754              ("input" === SyntheticEventCtor && "file" === reactName.type)
20755            )
20756              var getTargetInstFunc = getTargetInstForChangeEvent;
20757            else if (isTextInputElement(reactName))
20758              if (isInputEventSupported)
20759                getTargetInstFunc = getTargetInstForInputOrChangeEvent;
20760              else {
20761                getTargetInstFunc = getTargetInstForInputEventPolyfill;
20762                var handleEventFunc = handleEventsForInputEventPolyfill;
20763              }
20764            else
20765              (SyntheticEventCtor = reactName.nodeName),
20766                !SyntheticEventCtor ||
20767                "input" !== SyntheticEventCtor.toLowerCase() ||
20768                ("checkbox" !== reactName.type && "radio" !== reactName.type)
20769                  ? targetInst &&
20770                    isCustomElement(targetInst.elementType) &&
20771                    (getTargetInstFunc = getTargetInstForChangeEvent)
20772                  : (getTargetInstFunc = getTargetInstForClickEvent);
20773            if (
20774              getTargetInstFunc &&
20775              (getTargetInstFunc = getTargetInstFunc(domEventName, targetInst))
20776            ) {
20777              createAndAccumulateChangeEvent(
20778                dispatchQueue,
20779                getTargetInstFunc,
20780                nativeEvent,
20781                nativeEventTarget
20782              );
20783              break a;
20784            }
20785            handleEventFunc &&
20786              handleEventFunc(domEventName, reactName, targetInst);
20787            "focusout" === domEventName &&
20788              targetInst &&
20789              "number" === reactName.type &&
20790              null != targetInst.memoizedProps.value &&
20791              setDefaultValue(reactName, "number", reactName.value);
20792          }
20793          handleEventFunc = targetInst
20794            ? getNodeFromInstance(targetInst)
20795            : window;
20796          switch (domEventName) {
20797            case "focusin":
20798              if (
20799                isTextInputElement(handleEventFunc) ||
20800                "true" === handleEventFunc.contentEditable
20801              )
20802                (activeElement = handleEventFunc),
20803                  (activeElementInst = targetInst),
20804                  (lastSelection = null);
20805              break;
20806            case "focusout":
20807              lastSelection = activeElementInst = activeElement = null;
20808              break;
20809            case "mousedown":
20810              mouseDown = !0;
20811              break;
20812            case "contextmenu":
20813            case "mouseup":
20814            case "dragend":
20815              mouseDown = !1;
20816              constructSelectEvent(
20817                dispatchQueue,
20818                nativeEvent,
20819                nativeEventTarget
20820              );
20821              break;
20822            case "selectionchange":
20823              if (skipSelectionChangeEvent) break;
20824            case "keydown":
20825            case "keyup":
20826              constructSelectEvent(
20827                dispatchQueue,
20828                nativeEvent,
20829                nativeEventTarget
20830              );
20831          }
20832          var fallbackData;
20833          if (canUseCompositionEvent)
20834            b: {
20835              switch (domEventName) {
20836                case "compositionstart":
20837                  var eventType = "onCompositionStart";
20838                  break b;
20839                case "compositionend":
20840                  eventType = "onCompositionEnd";
20841                  break b;
20842                case "compositionupdate":
20843                  eventType = "onCompositionUpdate";
20844                  break b;
20845              }
20846              eventType = void 0;
20847            }
20848          else
20849            isComposing
20850              ? isFallbackCompositionEnd(domEventName, nativeEvent) &&
20851                (eventType = "onCompositionEnd")
20852              : "keydown" === domEventName &&
20853                nativeEvent.keyCode === START_KEYCODE &&
20854                (eventType = "onCompositionStart");
20855          eventType &&
20856            (useFallbackCompositionData &&
20857              "ko" !== nativeEvent.locale &&
20858              (isComposing || "onCompositionStart" !== eventType
20859                ? "onCompositionEnd" === eventType &&
20860                  isComposing &&
20861                  (fallbackData = getData())
20862                : ((root = nativeEventTarget),
20863                  (startText = "value" in root ? root.value : root.textContent),
20864                  (isComposing = !0))),
20865            (handleEventFunc = accumulateTwoPhaseListeners(
20866              targetInst,
20867              eventType
20868            )),
20869            0 < handleEventFunc.length &&
20870              ((eventType = new SyntheticCompositionEvent(
20871                eventType,
20872                domEventName,
20873                null,
20874                nativeEvent,
20875                nativeEventTarget
20876              )),
20877              dispatchQueue.push({
20878                event: eventType,
20879                listeners: handleEventFunc
20880              }),
20881              fallbackData
20882                ? (eventType.data = fallbackData)
20883                : ((fallbackData = getDataFromCustomEvent(nativeEvent)),
20884                  null !== fallbackData && (eventType.data = fallbackData))));
20885          if (
20886            (fallbackData = canUseTextInputEvent
20887              ? getNativeBeforeInputChars(domEventName, nativeEvent)
20888              : getFallbackBeforeInputChars(domEventName, nativeEvent))
20889          )
20890            (eventType = accumulateTwoPhaseListeners(
20891              targetInst,
20892              "onBeforeInput"
20893            )),
20894              0 < eventType.length &&
20895                ((handleEventFunc = new SyntheticInputEvent(
20896                  "onBeforeInput",
20897                  "beforeinput",
20898                  null,
20899                  nativeEvent,
20900                  nativeEventTarget
20901                )),
20902                dispatchQueue.push({
20903                  event: handleEventFunc,
20904                  listeners: eventType
20905                }),
20906                (handleEventFunc.data = fallbackData));
20907          extractEvents$1(
20908            dispatchQueue,
20909            domEventName,
20910            targetInst,
20911            nativeEvent,
20912            nativeEventTarget
20913          );
20914        }
20915        processDispatchQueue(dispatchQueue, eventSystemFlags);
20916      });
20917    }
20918    function createDispatchListener(instance, listener, currentTarget) {
20919      return {
20920        instance: instance,
20921        listener: listener,
20922        currentTarget: currentTarget
20923      };
20924    }
20925    function accumulateTwoPhaseListeners(targetFiber, reactName) {
20926      for (
20927        var captureName = reactName + "Capture", listeners = [];
20928        null !== targetFiber;
20929
20930      ) {
20931        var _instance3 = targetFiber,
20932          stateNode = _instance3.stateNode;
20933        _instance3 = _instance3.tag;
20934        (5 !== _instance3 && 26 !== _instance3 && 27 !== _instance3) ||
20935          null === stateNode ||
20936          ((_instance3 = getListener(targetFiber, captureName)),
20937          null != _instance3 &&
20938            listeners.unshift(
20939              createDispatchListener(targetFiber, _instance3, stateNode)
20940            ),
20941          (_instance3 = getListener(targetFiber, reactName)),
20942          null != _instance3 &&
20943            listeners.push(
20944              createDispatchListener(targetFiber, _instance3, stateNode)
20945            ));
20946        if (3 === targetFiber.tag) return listeners;
20947        targetFiber = targetFiber.return;
20948      }
20949      return [];
20950    }
20951    function getParent(inst) {
20952      if (null === inst) return null;
20953      do inst = inst.return;
20954      while (inst && 5 !== inst.tag && 27 !== inst.tag);
20955      return inst ? inst : null;
20956    }
20957    function accumulateEnterLeaveListenersForEvent(
20958      dispatchQueue,
20959      event,
20960      target,
20961      common,
20962      inCapturePhase
20963    ) {
20964      for (
20965        var registrationName = event._reactName, listeners = [];
20966        null !== target && target !== common;
20967
20968      ) {
20969        var _instance4 = target,
20970          alternate = _instance4.alternate,
20971          stateNode = _instance4.stateNode;
20972        _instance4 = _instance4.tag;
20973        if (null !== alternate && alternate === common) break;
20974        (5 !== _instance4 && 26 !== _instance4 && 27 !== _instance4) ||
20975          null === stateNode ||
20976          ((alternate = stateNode),
20977          inCapturePhase
20978            ? ((stateNode = getListener(target, registrationName)),
20979              null != stateNode &&
20980                listeners.unshift(
20981                  createDispatchListener(target, stateNode, alternate)
20982                ))
20983            : inCapturePhase ||
20984              ((stateNode = getListener(target, registrationName)),
20985              null != stateNode &&
20986                listeners.push(
20987                  createDispatchListener(target, stateNode, alternate)
20988                )));
20989        target = target.return;
20990      }
20991      0 !== listeners.length &&
20992        dispatchQueue.push({ event: event, listeners: listeners });
20993    }
20994    function validatePropertiesInDevelopment(type, props) {
20995      validateProperties$2(type, props);
20996      ("input" !== type && "textarea" !== type && "select" !== type) ||
20997        null == props ||
20998        null !== props.value ||
20999        didWarnValueNull ||
21000        ((didWarnValueNull = !0),
21001        "select" === type && props.multiple
21002          ? console.error(
21003              "`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",
21004              type
21005            )
21006          : console.error(
21007              "`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",
21008              type
21009            ));
21010      var eventRegistry = {
21011        registrationNameDependencies: registrationNameDependencies,
21012        possibleRegistrationNames: possibleRegistrationNames
21013      };
21014      isCustomElement(type) ||
21015        "string" === typeof props.is ||
21016        warnUnknownProperties(type, props, eventRegistry);
21017      props.contentEditable &&
21018        !props.suppressContentEditableWarning &&
21019        null != props.children &&
21020        console.error(
21021          "A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."
21022        );
21023    }
21024    function warnForPropDifference(
21025      propName,
21026      serverValue,
21027      clientValue,
21028      serverDifferences
21029    ) {
21030      serverValue !== clientValue &&
21031        ((clientValue = normalizeMarkupForTextOrAttribute(clientValue)),
21032        normalizeMarkupForTextOrAttribute(serverValue) !== clientValue &&
21033          (serverDifferences[propName] = serverValue));
21034    }
21035    function warnForExtraAttributes(
21036      domElement,
21037      attributeNames,
21038      serverDifferences
21039    ) {
21040      attributeNames.forEach(function (attributeName) {
21041        serverDifferences[getPropNameFromAttributeName(attributeName)] =
21042          "style" === attributeName
21043            ? getStylesObjectFromElement(domElement)
21044            : domElement.getAttribute(attributeName);
21045      });
21046    }
21047    function warnForInvalidEventListener(registrationName, listener) {
21048      !1 === listener
21049        ? console.error(
21050            "Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",
21051            registrationName,
21052            registrationName,
21053            registrationName
21054          )
21055        : console.error(
21056            "Expected `%s` listener to be a function, instead got a value of `%s` type.",
21057            registrationName,
21058            typeof listener
21059          );
21060    }
21061    function normalizeHTML(parent, html) {
21062      parent =
21063        parent.namespaceURI === MATH_NAMESPACE ||
21064        parent.namespaceURI === SVG_NAMESPACE
21065          ? parent.ownerDocument.createElementNS(
21066              parent.namespaceURI,
21067              parent.tagName
21068            )
21069          : parent.ownerDocument.createElement(parent.tagName);
21070      parent.innerHTML = html;
21071      return parent.innerHTML;
21072    }
21073    function normalizeMarkupForTextOrAttribute(markup) {
21074      willCoercionThrow(markup) &&
21075        (console.error(
21076          "The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",
21077          typeName(markup)
21078        ),
21079        testStringCoercion(markup));
21080      return ("string" === typeof markup ? markup : "" + markup)
21081        .replace(NORMALIZE_NEWLINES_REGEX, "\n")
21082        .replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, "");
21083    }
21084    function checkForUnmatchedText(serverText, clientText) {
21085      clientText = normalizeMarkupForTextOrAttribute(clientText);
21086      return normalizeMarkupForTextOrAttribute(serverText) === clientText
21087        ? !0
21088        : !1;
21089    }
21090    function noop$1() {}
21091    function setProp(domElement, tag, key, value, props, prevValue) {
21092      switch (key) {
21093        case "children":
21094          if ("string" === typeof value)
21095            validateTextNesting(value, tag, !1),
21096              "body" === tag ||
21097                ("textarea" === tag && "" === value) ||
21098                setTextContent(domElement, value);
21099          else if ("number" === typeof value || "bigint" === typeof value)
21100            validateTextNesting("" + value, tag, !1),
21101              "body" !== tag && setTextContent(domElement, "" + value);
21102          break;
21103        case "className":
21104          setValueForKnownAttribute(domElement, "class", value);
21105          break;
21106        case "tabIndex":
21107          setValueForKnownAttribute(domElement, "tabindex", value);
21108          break;
21109        case "dir":
21110        case "role":
21111        case "viewBox":
21112        case "width":
21113        case "height":
21114          setValueForKnownAttribute(domElement, key, value);
21115          break;
21116        case "style":
21117          setValueForStyles(domElement, value, prevValue);
21118          break;
21119        case "data":
21120          if ("object" !== tag) {
21121            setValueForKnownAttribute(domElement, "data", value);
21122            break;
21123          }
21124        case "src":
21125        case "href":
21126          if ("" === value && ("a" !== tag || "href" !== key)) {
21127            "src" === key
21128              ? console.error(
21129                  'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
21130                  key,
21131                  key
21132                )
21133              : console.error(
21134                  'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
21135                  key,
21136                  key
21137                );
21138            domElement.removeAttribute(key);
21139            break;
21140          }
21141          if (
21142            null == value ||
21143            "function" === typeof value ||
21144            "symbol" === typeof value ||
21145            "boolean" === typeof value
21146          ) {
21147            domElement.removeAttribute(key);
21148            break;
21149          }
21150          checkAttributeStringCoercion(value, key);
21151          value = sanitizeURL("" + value);
21152          domElement.setAttribute(key, value);
21153          break;
21154        case "action":
21155        case "formAction":
21156          null != value &&
21157            ("form" === tag
21158              ? "formAction" === key
21159                ? console.error(
21160                    "You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."
21161                  )
21162                : "function" === typeof value &&
21163                  ((null == props.encType && null == props.method) ||
21164                    didWarnFormActionMethod ||
21165                    ((didWarnFormActionMethod = !0),
21166                    console.error(
21167                      "Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden."
21168                    )),
21169                  null == props.target ||
21170                    didWarnFormActionTarget ||
21171                    ((didWarnFormActionTarget = !0),
21172                    console.error(
21173                      "Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."
21174                    )))
21175              : "input" === tag || "button" === tag
21176                ? "action" === key
21177                  ? console.error(
21178                      "You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."
21179                    )
21180                  : "input" !== tag ||
21181                      "submit" === props.type ||
21182                      "image" === props.type ||
21183                      didWarnFormActionType
21184                    ? "button" !== tag ||
21185                      null == props.type ||
21186                      "submit" === props.type ||
21187                      didWarnFormActionType
21188                      ? "function" === typeof value &&
21189                        (null == props.name ||
21190                          didWarnFormActionName ||
21191                          ((didWarnFormActionName = !0),
21192                          console.error(
21193                            'Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.'
21194                          )),
21195                        (null == props.formEncType &&
21196                          null == props.formMethod) ||
21197                          didWarnFormActionMethod ||
21198                          ((didWarnFormActionMethod = !0),
21199                          console.error(
21200                            "Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden."
21201                          )),
21202                        null == props.formTarget ||
21203                          didWarnFormActionTarget ||
21204                          ((didWarnFormActionTarget = !0),
21205                          console.error(
21206                            "Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."
21207                          )))
21208                      : ((didWarnFormActionType = !0),
21209                        console.error(
21210                          'A button can only specify a formAction along with type="submit" or no type.'
21211                        ))
21212                    : ((didWarnFormActionType = !0),
21213                      console.error(
21214                        'An input can only specify a formAction along with type="submit" or type="image".'
21215                      ))
21216                : "action" === key
21217                  ? console.error(
21218                      "You can only pass the action prop to <form>."
21219                    )
21220                  : console.error(
21221                      "You can only pass the formAction prop to <input> or <button>."
21222                    ));
21223          if ("function" === typeof value) {
21224            domElement.setAttribute(
21225              key,
21226              "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')"
21227            );
21228            break;
21229          } else
21230            "function" === typeof prevValue &&
21231              ("formAction" === key
21232                ? ("input" !== tag &&
21233                    setProp(domElement, tag, "name", props.name, props, null),
21234                  setProp(
21235                    domElement,
21236                    tag,
21237                    "formEncType",
21238                    props.formEncType,
21239                    props,
21240                    null
21241                  ),
21242                  setProp(
21243                    domElement,
21244                    tag,
21245                    "formMethod",
21246                    props.formMethod,
21247                    props,
21248                    null
21249                  ),
21250                  setProp(
21251                    domElement,
21252                    tag,
21253                    "formTarget",
21254                    props.formTarget,
21255                    props,
21256                    null
21257                  ))
21258                : (setProp(
21259                    domElement,
21260                    tag,
21261                    "encType",
21262                    props.encType,
21263                    props,
21264                    null
21265                  ),
21266                  setProp(domElement, tag, "method", props.method, props, null),
21267                  setProp(
21268                    domElement,
21269                    tag,
21270                    "target",
21271                    props.target,
21272                    props,
21273                    null
21274                  )));
21275          if (
21276            null == value ||
21277            "symbol" === typeof value ||
21278            "boolean" === typeof value
21279          ) {
21280            domElement.removeAttribute(key);
21281            break;
21282          }
21283          checkAttributeStringCoercion(value, key);
21284          value = sanitizeURL("" + value);
21285          domElement.setAttribute(key, value);
21286          break;
21287        case "onClick":
21288          null != value &&
21289            ("function" !== typeof value &&
21290              warnForInvalidEventListener(key, value),
21291            (domElement.onclick = noop$1));
21292          break;
21293        case "onScroll":
21294          null != value &&
21295            ("function" !== typeof value &&
21296              warnForInvalidEventListener(key, value),
21297            listenToNonDelegatedEvent("scroll", domElement));
21298          break;
21299        case "onScrollEnd":
21300          null != value &&
21301            ("function" !== typeof value &&
21302              warnForInvalidEventListener(key, value),
21303            listenToNonDelegatedEvent("scrollend", domElement));
21304          break;
21305        case "dangerouslySetInnerHTML":
21306          if (null != value) {
21307            if ("object" !== typeof value || !("__html" in value))
21308              throw Error(
21309                "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."
21310              );
21311            key = value.__html;
21312            if (null != key) {
21313              if (null != props.children)
21314                throw Error(
21315                  "Can only set one of `children` or `props.dangerouslySetInnerHTML`."
21316                );
21317              domElement.innerHTML = key;
21318            }
21319          }
21320          break;
21321        case "multiple":
21322          domElement.multiple =
21323            value && "function" !== typeof value && "symbol" !== typeof value;
21324          break;
21325        case "muted":
21326          domElement.muted =
21327            value && "function" !== typeof value && "symbol" !== typeof value;
21328          break;
21329        case "suppressContentEditableWarning":
21330        case "suppressHydrationWarning":
21331        case "defaultValue":
21332        case "defaultChecked":
21333        case "innerHTML":
21334        case "ref":
21335          break;
21336        case "autoFocus":
21337          break;
21338        case "xlinkHref":
21339          if (
21340            null == value ||
21341            "function" === typeof value ||
21342            "boolean" === typeof value ||
21343            "symbol" === typeof value
21344          ) {
21345            domElement.removeAttribute("xlink:href");
21346            break;
21347          }
21348          checkAttributeStringCoercion(value, key);
21349          key = sanitizeURL("" + value);
21350          domElement.setAttributeNS(xlinkNamespace, "xlink:href", key);
21351          break;
21352        case "contentEditable":
21353        case "spellCheck":
21354        case "draggable":
21355        case "value":
21356        case "autoReverse":
21357        case "externalResourcesRequired":
21358        case "focusable":
21359        case "preserveAlpha":
21360          null != value &&
21361          "function" !== typeof value &&
21362          "symbol" !== typeof value
21363            ? (checkAttributeStringCoercion(value, key),
21364              domElement.setAttribute(key, "" + value))
21365            : domElement.removeAttribute(key);
21366          break;
21367        case "inert":
21368          "" !== value ||
21369            didWarnForNewBooleanPropsWithEmptyValue[key] ||
21370            ((didWarnForNewBooleanPropsWithEmptyValue[key] = !0),
21371            console.error(
21372              "Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",
21373              key
21374            ));
21375        case "allowFullScreen":
21376        case "async":
21377        case "autoPlay":
21378        case "controls":
21379        case "default":
21380        case "defer":
21381        case "disabled":
21382        case "disablePictureInPicture":
21383        case "disableRemotePlayback":
21384        case "formNoValidate":
21385        case "hidden":
21386        case "loop":
21387        case "noModule":
21388        case "noValidate":
21389        case "open":
21390        case "playsInline":
21391        case "readOnly":
21392        case "required":
21393        case "reversed":
21394        case "scoped":
21395        case "seamless":
21396        case "itemScope":
21397          value && "function" !== typeof value && "symbol" !== typeof value
21398            ? domElement.setAttribute(key, "")
21399            : domElement.removeAttribute(key);
21400          break;
21401        case "capture":
21402        case "download":
21403          !0 === value
21404            ? domElement.setAttribute(key, "")
21405            : !1 !== value &&
21406                null != value &&
21407                "function" !== typeof value &&
21408                "symbol" !== typeof value
21409              ? (checkAttributeStringCoercion(value, key),
21410                domElement.setAttribute(key, value))
21411              : domElement.removeAttribute(key);
21412          break;
21413        case "cols":
21414        case "rows":
21415        case "size":
21416        case "span":
21417          null != value &&
21418          "function" !== typeof value &&
21419          "symbol" !== typeof value &&
21420          !isNaN(value) &&
21421          1 <= value
21422            ? (checkAttributeStringCoercion(value, key),
21423              domElement.setAttribute(key, value))
21424            : domElement.removeAttribute(key);
21425          break;
21426        case "rowSpan":
21427        case "start":
21428          null == value ||
21429          "function" === typeof value ||
21430          "symbol" === typeof value ||
21431          isNaN(value)
21432            ? domElement.removeAttribute(key)
21433            : (checkAttributeStringCoercion(value, key),
21434              domElement.setAttribute(key, value));
21435          break;
21436        case "popover":
21437          listenToNonDelegatedEvent("beforetoggle", domElement);
21438          listenToNonDelegatedEvent("toggle", domElement);
21439          setValueForAttribute(domElement, "popover", value);
21440          break;
21441        case "xlinkActuate":
21442          setValueForNamespacedAttribute(
21443            domElement,
21444            xlinkNamespace,
21445            "xlink:actuate",
21446            value
21447          );
21448          break;
21449        case "xlinkArcrole":
21450          setValueForNamespacedAttribute(
21451            domElement,
21452            xlinkNamespace,
21453            "xlink:arcrole",
21454            value
21455          );
21456          break;
21457        case "xlinkRole":
21458          setValueForNamespacedAttribute(
21459            domElement,
21460            xlinkNamespace,
21461            "xlink:role",
21462            value
21463          );
21464          break;
21465        case "xlinkShow":
21466          setValueForNamespacedAttribute(
21467            domElement,
21468            xlinkNamespace,
21469            "xlink:show",
21470            value
21471          );
21472          break;
21473        case "xlinkTitle":
21474          setValueForNamespacedAttribute(
21475            domElement,
21476            xlinkNamespace,
21477            "xlink:title",
21478            value
21479          );
21480          break;
21481        case "xlinkType":
21482          setValueForNamespacedAttribute(
21483            domElement,
21484            xlinkNamespace,
21485            "xlink:type",
21486            value
21487          );
21488          break;
21489        case "xmlBase":
21490          setValueForNamespacedAttribute(
21491            domElement,
21492            xmlNamespace,
21493            "xml:base",
21494            value
21495          );
21496          break;
21497        case "xmlLang":
21498          setValueForNamespacedAttribute(
21499            domElement,
21500            xmlNamespace,
21501            "xml:lang",
21502            value
21503          );
21504          break;
21505        case "xmlSpace":
21506          setValueForNamespacedAttribute(
21507            domElement,
21508            xmlNamespace,
21509            "xml:space",
21510            value
21511          );
21512          break;
21513        case "is":
21514          null != prevValue &&
21515            console.error(
21516              'Cannot update the "is" prop after it has been initialized.'
21517            );
21518          setValueForAttribute(domElement, "is", value);
21519          break;
21520        case "innerText":
21521        case "textContent":
21522          break;
21523        case "popoverTarget":
21524          didWarnPopoverTargetObject ||
21525            null == value ||
21526            "object" !== typeof value ||
21527            ((didWarnPopoverTargetObject = !0),
21528            console.error(
21529              "The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",
21530              value
21531            ));
21532        default:
21533          !(2 < key.length) ||
21534          ("o" !== key[0] && "O" !== key[0]) ||
21535          ("n" !== key[1] && "N" !== key[1])
21536            ? ((key = getAttributeAlias(key)),
21537              setValueForAttribute(domElement, key, value))
21538            : registrationNameDependencies.hasOwnProperty(key) &&
21539              null != value &&
21540              "function" !== typeof value &&
21541              warnForInvalidEventListener(key, value);
21542      }
21543    }
21544    function setPropOnCustomElement(
21545      domElement,
21546      tag,
21547      key,
21548      value,
21549      props,
21550      prevValue
21551    ) {
21552      switch (key) {
21553        case "style":
21554          setValueForStyles(domElement, value, prevValue);
21555          break;
21556        case "dangerouslySetInnerHTML":
21557          if (null != value) {
21558            if ("object" !== typeof value || !("__html" in value))
21559              throw Error(
21560                "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."
21561              );
21562            key = value.__html;
21563            if (null != key) {
21564              if (null != props.children)
21565                throw Error(
21566                  "Can only set one of `children` or `props.dangerouslySetInnerHTML`."
21567                );
21568              domElement.innerHTML = key;
21569            }
21570          }
21571          break;
21572        case "children":
21573          "string" === typeof value
21574            ? setTextContent(domElement, value)
21575            : ("number" === typeof value || "bigint" === typeof value) &&
21576              setTextContent(domElement, "" + value);
21577          break;
21578        case "onScroll":
21579          null != value &&
21580            ("function" !== typeof value &&
21581              warnForInvalidEventListener(key, value),
21582            listenToNonDelegatedEvent("scroll", domElement));
21583          break;
21584        case "onScrollEnd":
21585          null != value &&
21586            ("function" !== typeof value &&
21587              warnForInvalidEventListener(key, value),
21588            listenToNonDelegatedEvent("scrollend", domElement));
21589          break;
21590        case "onClick":
21591          null != value &&
21592            ("function" !== typeof value &&
21593              warnForInvalidEventListener(key, value),
21594            (domElement.onclick = noop$1));
21595          break;
21596        case "suppressContentEditableWarning":
21597        case "suppressHydrationWarning":
21598        case "innerHTML":
21599        case "ref":
21600          break;
21601        case "innerText":
21602        case "textContent":
21603          break;
21604        default:
21605          if (registrationNameDependencies.hasOwnProperty(key))
21606            null != value &&
21607              "function" !== typeof value &&
21608              warnForInvalidEventListener(key, value);
21609          else
21610            a: {
21611              if (
21612                "o" === key[0] &&
21613                "n" === key[1] &&
21614                ((props = key.endsWith("Capture")),
21615                (tag = key.slice(2, props ? key.length - 7 : void 0)),
21616                (prevValue = domElement[internalPropsKey] || null),
21617                (prevValue = null != prevValue ? prevValue[key] : null),
21618                "function" === typeof prevValue &&
21619                  domElement.removeEventListener(tag, prevValue, props),
21620                "function" === typeof value)
21621              ) {
21622                "function" !== typeof prevValue &&
21623                  null !== prevValue &&
21624                  (key in domElement
21625                    ? (domElement[key] = null)
21626                    : domElement.hasAttribute(key) &&
21627                      domElement.removeAttribute(key));
21628                domElement.addEventListener(tag, value, props);
21629                break a;
21630              }
21631              key in domElement
21632                ? (domElement[key] = value)
21633                : !0 === value
21634                  ? domElement.setAttribute(key, "")
21635                  : setValueForAttribute(domElement, key, value);
21636            }
21637      }
21638    }
21639    function setInitialProperties(domElement, tag, props) {
21640      validatePropertiesInDevelopment(tag, props);
21641      switch (tag) {
21642        case "div":
21643        case "span":
21644        case "svg":
21645        case "path":
21646        case "a":
21647        case "g":
21648        case "p":
21649        case "li":
21650          break;
21651        case "img":
21652          listenToNonDelegatedEvent("error", domElement);
21653          listenToNonDelegatedEvent("load", domElement);
21654          var hasSrc = !1,
21655            hasSrcSet = !1,
21656            propKey;
21657          for (propKey in props)
21658            if (props.hasOwnProperty(propKey)) {
21659              var propValue = props[propKey];
21660              if (null != propValue)
21661                switch (propKey) {
21662                  case "src":
21663                    hasSrc = !0;
21664                    break;
21665                  case "srcSet":
21666                    hasSrcSet = !0;
21667                    break;
21668                  case "children":
21669                  case "dangerouslySetInnerHTML":
21670                    throw Error(
21671                      tag +
21672                        " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
21673                    );
21674                  default:
21675                    setProp(domElement, tag, propKey, propValue, props, null);
21676                }
21677            }
21678          hasSrcSet &&
21679            setProp(domElement, tag, "srcSet", props.srcSet, props, null);
21680          hasSrc && setProp(domElement, tag, "src", props.src, props, null);
21681          return;
21682        case "input":
21683          checkControlledValueProps("input", props);
21684          listenToNonDelegatedEvent("invalid", domElement);
21685          var defaultValue = (propKey = propValue = hasSrcSet = null),
21686            checked = null,
21687            defaultChecked = null;
21688          for (hasSrc in props)
21689            if (props.hasOwnProperty(hasSrc)) {
21690              var _propValue = props[hasSrc];
21691              if (null != _propValue)
21692                switch (hasSrc) {
21693                  case "name":
21694                    hasSrcSet = _propValue;
21695                    break;
21696                  case "type":
21697                    propValue = _propValue;
21698                    break;
21699                  case "checked":
21700                    checked = _propValue;
21701                    break;
21702                  case "defaultChecked":
21703                    defaultChecked = _propValue;
21704                    break;
21705                  case "value":
21706                    propKey = _propValue;
21707                    break;
21708                  case "defaultValue":
21709                    defaultValue = _propValue;
21710                    break;
21711                  case "children":
21712                  case "dangerouslySetInnerHTML":
21713                    if (null != _propValue)
21714                      throw Error(
21715                        tag +
21716                          " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
21717                      );
21718                    break;
21719                  default:
21720                    setProp(domElement, tag, hasSrc, _propValue, props, null);
21721                }
21722            }
21723          validateInputProps(domElement, props);
21724          initInput(
21725            domElement,
21726            propKey,
21727            defaultValue,
21728            checked,
21729            defaultChecked,
21730            propValue,
21731            hasSrcSet,
21732            !1
21733          );
21734          track(domElement);
21735          return;
21736        case "select":
21737          checkControlledValueProps("select", props);
21738          listenToNonDelegatedEvent("invalid", domElement);
21739          hasSrc = propValue = propKey = null;
21740          for (hasSrcSet in props)
21741            if (
21742              props.hasOwnProperty(hasSrcSet) &&
21743              ((defaultValue = props[hasSrcSet]), null != defaultValue)
21744            )
21745              switch (hasSrcSet) {
21746                case "value":
21747                  propKey = defaultValue;
21748                  break;
21749                case "defaultValue":
21750                  propValue = defaultValue;
21751                  break;
21752                case "multiple":
21753                  hasSrc = defaultValue;
21754                default:
21755                  setProp(
21756                    domElement,
21757                    tag,
21758                    hasSrcSet,
21759                    defaultValue,
21760                    props,
21761                    null
21762                  );
21763              }
21764          validateSelectProps(domElement, props);
21765          tag = propKey;
21766          props = propValue;
21767          domElement.multiple = !!hasSrc;
21768          null != tag
21769            ? updateOptions(domElement, !!hasSrc, tag, !1)
21770            : null != props && updateOptions(domElement, !!hasSrc, props, !0);
21771          return;
21772        case "textarea":
21773          checkControlledValueProps("textarea", props);
21774          listenToNonDelegatedEvent("invalid", domElement);
21775          propKey = hasSrcSet = hasSrc = null;
21776          for (propValue in props)
21777            if (
21778              props.hasOwnProperty(propValue) &&
21779              ((defaultValue = props[propValue]), null != defaultValue)
21780            )
21781              switch (propValue) {
21782                case "value":
21783                  hasSrc = defaultValue;
21784                  break;
21785                case "defaultValue":
21786                  hasSrcSet = defaultValue;
21787                  break;
21788                case "children":
21789                  propKey = defaultValue;
21790                  break;
21791                case "dangerouslySetInnerHTML":
21792                  if (null != defaultValue)
21793                    throw Error(
21794                      "`dangerouslySetInnerHTML` does not make sense on <textarea>."
21795                    );
21796                  break;
21797                default:
21798                  setProp(
21799                    domElement,
21800                    tag,
21801                    propValue,
21802                    defaultValue,
21803                    props,
21804                    null
21805                  );
21806              }
21807          validateTextareaProps(domElement, props);
21808          initTextarea(domElement, hasSrc, hasSrcSet, propKey);
21809          track(domElement);
21810          return;
21811        case "option":
21812          validateOptionProps(domElement, props);
21813          for (checked in props)
21814            if (
21815              props.hasOwnProperty(checked) &&
21816              ((hasSrc = props[checked]), null != hasSrc)
21817            )
21818              switch (checked) {
21819                case "selected":
21820                  domElement.selected =
21821                    hasSrc &&
21822                    "function" !== typeof hasSrc &&
21823                    "symbol" !== typeof hasSrc;
21824                  break;
21825                default:
21826                  setProp(domElement, tag, checked, hasSrc, props, null);
21827              }
21828          return;
21829        case "dialog":
21830          listenToNonDelegatedEvent("beforetoggle", domElement);
21831          listenToNonDelegatedEvent("toggle", domElement);
21832          listenToNonDelegatedEvent("cancel", domElement);
21833          listenToNonDelegatedEvent("close", domElement);
21834          break;
21835        case "iframe":
21836        case "object":
21837          listenToNonDelegatedEvent("load", domElement);
21838          break;
21839        case "video":
21840        case "audio":
21841          for (hasSrc = 0; hasSrc < mediaEventTypes.length; hasSrc++)
21842            listenToNonDelegatedEvent(mediaEventTypes[hasSrc], domElement);
21843          break;
21844        case "image":
21845          listenToNonDelegatedEvent("error", domElement);
21846          listenToNonDelegatedEvent("load", domElement);
21847          break;
21848        case "details":
21849          listenToNonDelegatedEvent("toggle", domElement);
21850          break;
21851        case "embed":
21852        case "source":
21853        case "link":
21854          listenToNonDelegatedEvent("error", domElement),
21855            listenToNonDelegatedEvent("load", domElement);
21856        case "area":
21857        case "base":
21858        case "br":
21859        case "col":
21860        case "hr":
21861        case "keygen":
21862        case "meta":
21863        case "param":
21864        case "track":
21865        case "wbr":
21866        case "menuitem":
21867          for (defaultChecked in props)
21868            if (
21869              props.hasOwnProperty(defaultChecked) &&
21870              ((hasSrc = props[defaultChecked]), null != hasSrc)
21871            )
21872              switch (defaultChecked) {
21873                case "children":
21874                case "dangerouslySetInnerHTML":
21875                  throw Error(
21876                    tag +
21877                      " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
21878                  );
21879                default:
21880                  setProp(domElement, tag, defaultChecked, hasSrc, props, null);
21881              }
21882          return;
21883        default:
21884          if (isCustomElement(tag)) {
21885            for (_propValue in props)
21886              props.hasOwnProperty(_propValue) &&
21887                ((hasSrc = props[_propValue]),
21888                void 0 !== hasSrc &&
21889                  setPropOnCustomElement(
21890                    domElement,
21891                    tag,
21892                    _propValue,
21893                    hasSrc,
21894                    props,
21895                    void 0
21896                  ));
21897            return;
21898          }
21899      }
21900      for (defaultValue in props)
21901        props.hasOwnProperty(defaultValue) &&
21902          ((hasSrc = props[defaultValue]),
21903          null != hasSrc &&
21904            setProp(domElement, tag, defaultValue, hasSrc, props, null));
21905    }
21906    function updateProperties(domElement, tag, lastProps, nextProps) {
21907      validatePropertiesInDevelopment(tag, nextProps);
21908      switch (tag) {
21909        case "div":
21910        case "span":
21911        case "svg":
21912        case "path":
21913        case "a":
21914        case "g":
21915        case "p":
21916        case "li":
21917          break;
21918        case "input":
21919          var name = null,
21920            type = null,
21921            value = null,
21922            defaultValue = null,
21923            lastDefaultValue = null,
21924            checked = null,
21925            defaultChecked = null;
21926          for (propKey in lastProps) {
21927            var lastProp = lastProps[propKey];
21928            if (lastProps.hasOwnProperty(propKey) && null != lastProp)
21929              switch (propKey) {
21930                case "checked":
21931                  break;
21932                case "value":
21933                  break;
21934                case "defaultValue":
21935                  lastDefaultValue = lastProp;
21936                default:
21937                  nextProps.hasOwnProperty(propKey) ||
21938                    setProp(
21939                      domElement,
21940                      tag,
21941                      propKey,
21942                      null,
21943                      nextProps,
21944                      lastProp
21945                    );
21946              }
21947          }
21948          for (var _propKey8 in nextProps) {
21949            var propKey = nextProps[_propKey8];
21950            lastProp = lastProps[_propKey8];
21951            if (
21952              nextProps.hasOwnProperty(_propKey8) &&
21953              (null != propKey || null != lastProp)
21954            )
21955              switch (_propKey8) {
21956                case "type":
21957                  type = propKey;
21958                  break;
21959                case "name":
21960                  name = propKey;
21961                  break;
21962                case "checked":
21963                  checked = propKey;
21964                  break;
21965                case "defaultChecked":
21966                  defaultChecked = propKey;
21967                  break;
21968                case "value":
21969                  value = propKey;
21970                  break;
21971                case "defaultValue":
21972                  defaultValue = propKey;
21973                  break;
21974                case "children":
21975                case "dangerouslySetInnerHTML":
21976                  if (null != propKey)
21977                    throw Error(
21978                      tag +
21979                        " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
21980                    );
21981                  break;
21982                default:
21983                  propKey !== lastProp &&
21984                    setProp(
21985                      domElement,
21986                      tag,
21987                      _propKey8,
21988                      propKey,
21989                      nextProps,
21990                      lastProp
21991                    );
21992              }
21993          }
21994          tag =
21995            "checkbox" === lastProps.type || "radio" === lastProps.type
21996              ? null != lastProps.checked
21997              : null != lastProps.value;
21998          nextProps =
21999            "checkbox" === nextProps.type || "radio" === nextProps.type
22000              ? null != nextProps.checked
22001              : null != nextProps.value;
22002          tag ||
22003            !nextProps ||
22004            didWarnUncontrolledToControlled ||
22005            (console.error(
22006              "A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
22007            ),
22008            (didWarnUncontrolledToControlled = !0));
22009          !tag ||
22010            nextProps ||
22011            didWarnControlledToUncontrolled ||
22012            (console.error(
22013              "A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
22014            ),
22015            (didWarnControlledToUncontrolled = !0));
22016          updateInput(
22017            domElement,
22018            value,
22019            defaultValue,
22020            lastDefaultValue,
22021            checked,
22022            defaultChecked,
22023            type,
22024            name
22025          );
22026          return;
22027        case "select":
22028          propKey = value = defaultValue = _propKey8 = null;
22029          for (type in lastProps)
22030            if (
22031              ((lastDefaultValue = lastProps[type]),
22032              lastProps.hasOwnProperty(type) && null != lastDefaultValue)
22033            )
22034              switch (type) {
22035                case "value":
22036                  break;
22037                case "multiple":
22038                  propKey = lastDefaultValue;
22039                default:
22040                  nextProps.hasOwnProperty(type) ||
22041                    setProp(
22042                      domElement,
22043                      tag,
22044                      type,
22045                      null,
22046                      nextProps,
22047                      lastDefaultValue
22048                    );
22049              }
22050          for (name in nextProps)
22051            if (
22052              ((type = nextProps[name]),
22053              (lastDefaultValue = lastProps[name]),
22054              nextProps.hasOwnProperty(name) &&
22055                (null != type || null != lastDefaultValue))
22056            )
22057              switch (name) {
22058                case "value":
22059                  _propKey8 = type;
22060                  break;
22061                case "defaultValue":
22062                  defaultValue = type;
22063                  break;
22064                case "multiple":
22065                  value = type;
22066                default:
22067                  type !== lastDefaultValue &&
22068                    setProp(
22069                      domElement,
22070                      tag,
22071                      name,
22072                      type,
22073                      nextProps,
22074                      lastDefaultValue
22075                    );
22076              }
22077          nextProps = defaultV
22077alue;
22078          tag = value;
22079          lastProps = propKey;
22080          null != _propKey8
22081            ? updateOptions(domElement, !!tag, _propKey8, !1)
22082            : !!lastProps !== !!tag &&
22083              (null != nextProps
22084                ? updateOptions(domElement, !!tag, nextProps, !0)
22085                : updateOptions(domElement, !!tag, tag ? [] : "", !1));
22086          return;
22087        case "textarea":
22088          propKey = _propKey8 = null;
22089          for (defaultValue in lastProps)
22090            if (
22091              ((name = lastProps[defaultValue]),
22092              lastProps.hasOwnProperty(defaultValue) &&
22093                null != name &&
22094                !nextProps.hasOwnProperty(defaultValue))
22095            )
22096              switch (defaultValue) {
22097                case "value":
22098                  break;
22099                case "children":
22100                  break;
22101                default:
22102                  setProp(domElement, tag, defaultValue, null, nextProps, name);
22103              }
22104          for (value in nextProps)
22105            if (
22106              ((name = nextProps[value]),
22107              (type = lastProps[value]),
22108              nextProps.hasOwnProperty(value) && (null != name || null != type))
22109            )
22110              switch (value) {
22111                case "value":
22112                  _propKey8 = name;
22113                  break;
22114                case "defaultValue":
22115                  propKey = name;
22116                  break;
22117                case "children":
22118                  break;
22119                case "dangerouslySetInnerHTML":
22120                  if (null != name)
22121                    throw Error(
22122                      "`dangerouslySetInnerHTML` does not make sense on <textarea>."
22123                    );
22124                  break;
22125                default:
22126                  name !== type &&
22127                    setProp(domElement, tag, value, name, nextProps, type);
22128              }
22129          updateTextarea(domElement, _propKey8, propKey);
22130          return;
22131        case "option":
22132          for (var _propKey13 in lastProps)
22133            if (
22134              ((_propKey8 = lastProps[_propKey13]),
22135              lastProps.hasOwnProperty(_propKey13) &&
22136                null != _propKey8 &&
22137                !nextProps.hasOwnProperty(_propKey13))
22138            )
22139              switch (_propKey13) {
22140                case "selected":
22141                  domElement.selected = !1;
22142                  break;
22143                default:
22144                  setProp(
22145                    domElement,
22146                    tag,
22147                    _propKey13,
22148                    null,
22149                    nextProps,
22150                    _propKey8
22151                  );
22152              }
22153          for (lastDefaultValue in nextProps)
22154            if (
22155              ((_propKey8 = nextProps[lastDefaultValue]),
22156              (propKey = lastProps[lastDefaultValue]),
22157              nextProps.hasOwnProperty(lastDefaultValue) &&
22158                _propKey8 !== propKey &&
22159                (null != _propKey8 || null != propKey))
22160            )
22161              switch (lastDefaultValue) {
22162                case "selected":
22163                  domElement.selected =
22164                    _propKey8 &&
22165                    "function" !== typeof _propKey8 &&
22166                    "symbol" !== typeof _propKey8;
22167                  break;
22168                default:
22169                  setProp(
22170                    domElement,
22171                    tag,
22172                    lastDefaultValue,
22173                    _propKey8,
22174                    nextProps,
22175                    propKey
22176                  );
22177              }
22178          return;
22179        case "img":
22180        case "link":
22181        case "area":
22182        case "base":
22183        case "br":
22184        case "col":
22185        case "embed":
22186        case "hr":
22187        case "keygen":
22188        case "meta":
22189        case "param":
22190        case "source":
22191        case "track":
22192        case "wbr":
22193        case "menuitem":
22194          for (var _propKey15 in lastProps)
22195            (_propKey8 = lastProps[_propKey15]),
22196              lastProps.hasOwnProperty(_propKey15) &&
22197                null != _propKey8 &&
22198                !nextProps.hasOwnProperty(_propKey15) &&
22199                setProp(
22200                  domElement,
22201                  tag,
22202                  _propKey15,
22203                  null,
22204                  nextProps,
22205                  _propKey8
22206                );
22207          for (checked in nextProps)
22208            if (
22209              ((_propKey8 = nextProps[checked]),
22210              (propKey = lastProps[checked]),
22211              nextProps.hasOwnProperty(checked) &&
22212                _propKey8 !== propKey &&
22213                (null != _propKey8 || null != propKey))
22214            )
22215              switch (checked) {
22216                case "children":
22217                case "dangerouslySetInnerHTML":
22218                  if (null != _propKey8)
22219                    throw Error(
22220                      tag +
22221                        " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
22222                    );
22223                  break;
22224                default:
22225                  setProp(
22226                    domElement,
22227                    tag,
22228                    checked,
22229                    _propKey8,
22230                    nextProps,
22231                    propKey
22232                  );
22233              }
22234          return;
22235        default:
22236          if (isCustomElement(tag)) {
22237            for (var _propKey17 in lastProps)
22238              (_propKey8 = lastProps[_propKey17]),
22239                lastProps.hasOwnProperty(_propKey17) &&
22240                  void 0 !== _propKey8 &&
22241                  !nextProps.hasOwnProperty(_propKey17) &&
22242                  setPropOnCustomElement(
22243                    domElement,
22244                    tag,
22245                    _propKey17,
22246                    void 0,
22247                    nextProps,
22248                    _propKey8
22249                  );
22250            for (defaultChecked in nextProps)
22251              (_propKey8 = nextProps[defaultChecked]),
22252                (propKey = lastProps[defaultChecked]),
22253                !nextProps.hasOwnProperty(defaultChecked) ||
22254                  _propKey8 === propKey ||
22255                  (void 0 === _propKey8 && void 0 === propKey) ||
22256                  setPropOnCustomElement(
22257                    domElement,
22258                    tag,
22259                    defaultChecked,
22260                    _propKey8,
22261                    nextProps,
22262                    propKey
22263                  );
22264            return;
22265          }
22266      }
22267      for (var _propKey19 in lastProps)
22268        (_propKey8 = lastProps[_propKey19]),
22269          lastProps.hasOwnProperty(_propKey19) &&
22270            null != _propKey8 &&
22271            !nextProps.hasOwnProperty(_propKey19) &&
22272            setProp(domElement, tag, _propKey19, null, nextProps, _propKey8);
22273      for (lastProp in nextProps)
22274        (_propKey8 = nextProps[lastProp]),
22275          (propKey = lastProps[lastProp]),
22276          !nextProps.hasOwnProperty(lastProp) ||
22277            _propKey8 === propKey ||
22278            (null == _propKey8 && null == propKey) ||
22279            setProp(domElement, tag, lastProp, _propKey8, nextProps, propKey);
22280    }
22281    function getPropNameFromAttributeName(attrName) {
22282      switch (attrName) {
22283        case "class":
22284          return "className";
22285        case "for":
22286          return "htmlFor";
22287        default:
22288          return attrName;
22289      }
22290    }
22291    function getStylesObjectFromElement(domElement) {
22292      var serverValueInObjectForm = {};
22293      domElement = domElement.style;
22294      for (var i = 0; i < domElement.length; i++) {
22295        var styleName = domElement[i];
22296        serverValueInObjectForm[styleName] =
22297          domElement.getPropertyValue(styleName);
22298      }
22299      return serverValueInObjectForm;
22300    }
22301    function diffHydratedStyles(domElement, value$jscomp$0, serverDifferences) {
22302      if (null != value$jscomp$0 && "object" !== typeof value$jscomp$0)
22303        console.error(
22304          "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
22305        );
22306      else {
22307        var clientValue;
22308        var delimiter = (clientValue = ""),
22309          styleName;
22310        for (styleName in value$jscomp$0)
22311          if (value$jscomp$0.hasOwnProperty(styleName)) {
22312            var value = value$jscomp$0[styleName];
22313            null != value &&
22314              "boolean" !== typeof value &&
22315              "" !== value &&
22316              (0 === styleName.indexOf("--")
22317                ? (checkCSSPropertyStringCoercion(value, styleName),
22318                  (clientValue +=
22319                    delimiter + styleName + ":" + ("" + value).trim()))
22320                : "number" !== typeof value ||
22321                    0 === value ||
22322                    unitlessNumbers.has(styleName)
22323                  ? (checkCSSPropertyStringCoercion(value, styleName),
22324                    (clientValue +=
22325                      delimiter +
22326                      styleName
22327                        .replace(uppercasePattern, "-$1")
22328                        .toLowerCase()
22329                        .replace(msPattern$1, "-ms-") +
22330                      ":" +
22331                      ("" + value).trim()))
22332                  : (clientValue +=
22333                      delimiter +
22334                      styleName
22335                        .replace(uppercasePattern, "-$1")
22336                        .toLowerCase()
22337                        .replace(msPattern$1, "-ms-") +
22338                      ":" +
22339                      value +
22340                      "px"),
22341              (delimiter = ";"));
22342          }
22343        clientValue = clientValue || null;
22344        value$jscomp$0 = domElement.getAttribute("style");
22345        value$jscomp$0 !== clientValue &&
22346          ((clientValue = normalizeMarkupForTextOrAttribute(clientValue)),
22347          normalizeMarkupForTextOrAttribute(value$jscomp$0) !== clientValue &&
22348            (serverDifferences.style = getStylesObjectFromElement(domElement)));
22349      }
22350    }
22351    function hydrateAttribute(
22352      domElement,
22353      propKey,
22354      attributeName,
22355      value,
22356      extraAttributes,
22357      serverDifferences
22358    ) {
22359      extraAttributes.delete(attributeName);
22360      domElement = domElement.getAttribute(attributeName);
22361      if (null === domElement)
22362        switch (typeof value) {
22363          case "undefined":
22364          case "function":
22365          case "symbol":
22366          case "boolean":
22367            return;
22368        }
22369      else if (null != value)
22370        switch (typeof value) {
22371          case "function":
22372          case "symbol":
22373          case "boolean":
22374            break;
22375          default:
22376            if (
22377              (checkAttributeStringCoercion(value, propKey),
22378              domElement === "" + value)
22379            )
22380              return;
22381        }
22382      warnForPropDifference(propKey, domElement, value, serverDifferences);
22383    }
22384    function hydrateBooleanAttribute(
22385      domElement,
22386      propKey,
22387      attributeName,
22388      value,
22389      extraAttributes,
22390      serverDifferences
22391    ) {
22392      extraAttributes.delete(attributeName);
22393      domElement = domElement.getAttribute(attributeName);
22394      if (null === domElement) {
22395        switch (typeof value) {
22396          case "function":
22397          case "symbol":
22398            return;
22399        }
22400        if (!value) return;
22401      } else
22402        switch (typeof value) {
22403          case "function":
22404          case "symbol":
22405            break;
22406          default:
22407            if (value) return;
22408        }
22409      warnForPropDifference(propKey, domElement, value, serverDifferences);
22410    }
22411    function hydrateBooleanishAttribute(
22412      domElement,
22413      propKey,
22414      attributeName,
22415      value,
22416      extraAttributes,
22417      serverDifferences
22418    ) {
22419      extraAttributes.delete(attributeName);
22420      domElement = domElement.getAttribute(attributeName);
22421      if (null === domElement)
22422        switch (typeof value) {
22423          case "undefined":
22424          case "function":
22425          case "symbol":
22426            return;
22427        }
22428      else if (null != value)
22429        switch (typeof value) {
22430          case "function":
22431          case "symbol":
22432            break;
22433          default:
22434            if (
22435              (checkAttributeStringCoercion(value, attributeName),
22436              domElement === "" + value)
22437            )
22438              return;
22439        }
22440      warnForPropDifference(propKey, domElement, value, serverDifferences);
22441    }
22442    function hydrateNumericAttribute(
22443      domElement,
22444      propKey,
22445      attributeName,
22446      value,
22447      extraAttributes,
22448      serverDifferences
22449    ) {
22450      extraAttributes.delete(attributeName);
22451      domElement = domElement.getAttribute(attributeName);
22452      if (null === domElement)
22453        switch (typeof value) {
22454          case "undefined":
22455          case "function":
22456          case "symbol":
22457          case "boolean":
22458            return;
22459          default:
22460            if (isNaN(value)) return;
22461        }
22462      else if (null != value)
22463        switch (typeof value) {
22464          case "function":
22465          case "symbol":
22466          case "boolean":
22467            break;
22468          default:
22469            if (
22470              !isNaN(value) &&
22471              (checkAttributeStringCoercion(value, propKey),
22472              domElement === "" + value)
22473            )
22474              return;
22475        }
22476      warnForPropDifference(propKey, domElement, value, serverDifferences);
22477    }
22478    function hydrateSanitizedAttribute(
22479      domElement,
22480      propKey,
22481      attributeName,
22482      value,
22483      extraAttributes,
22484      serverDifferences
22485    ) {
22486      extraAttributes.delete(attributeName);
22487      domElement = domElement.getAttribute(attributeName);
22488      if (null === domElement)
22489        switch (typeof value) {
22490          case "undefined":
22491          case "function":
22492          case "symbol":
22493          case "boolean":
22494            return;
22495        }
22496      else if (null != value)
22497        switch (typeof value) {
22498          case "function":
22499          case "symbol":
22500          case "boolean":
22501            break;
22502          default:
22503            if (
22504              (checkAttributeStringCoercion(value, propKey),
22505              (attributeName = sanitizeURL("" + value)),
22506              domElement === attributeName)
22507            )
22508              return;
22509        }
22510      warnForPropDifference(propKey, domElement, value, serverDifferences);
22511    }
22512    function diffHydratedProperties(domElement, tag, props, hostContext) {
22513      for (
22514        var serverDifferences = {},
22515          extraAttributes = new Set(),
22516          attributes = domElement.attributes,
22517          i = 0;
22518        i < attributes.length;
22519        i++
22520      )
22521        switch (attributes[i].name.toLowerCase()) {
22522          case "value":
22523            break;
22524          case "checked":
22525            break;
22526          case "selected":
22527            break;
22528          default:
22529            extraAttributes.add(attributes[i].name);
22530        }
22531      if (isCustomElement(tag))
22532        for (var propKey in props) {
22533          if (props.hasOwnProperty(propKey)) {
22534            var value = props[propKey];
22535            if (null != value)
22536              if (registrationNameDependencies.hasOwnProperty(propKey))
22537                "function" !== typeof value &&
22538                  warnForInvalidEventListener(propKey, value);
22539              else if (!0 !== props.suppressHydrationWarning)
22540                switch (propKey) {
22541                  case "children":
22542                    ("string" !== typeof value && "number" !== typeof value) ||
22543                      warnForPropDifference(
22544                        "children",
22545                        domElement.textContent,
22546                        value,
22547                        serverDifferences
22548                      );
22549                    continue;
22550                  case "suppressContentEditableWarning":
22551                  case "suppressHydrationWarning":
22552                  case "defaultValue":
22553                  case "defaultChecked":
22554                  case "innerHTML":
22555                  case "ref":
22556                    continue;
22557                  case "dangerouslySetInnerHTML":
22558                    attributes = domElement.innerHTML;
22559                    value = value ? value.__html : void 0;
22560                    null != value &&
22561                      ((value = normalizeHTML(domElement, value)),
22562                      warnForPropDifference(
22563                        propKey,
22564                        attributes,
22565            
22565            value,
22566                        serverDifferences
22567                      ));
22568                    continue;
22569                  case "style":
22570                    extraAttributes.delete(propKey);
22571                    diffHydratedStyles(domElement, value, serverDifferences);
22572                    continue;
22573                  case "offsetParent":
22574                  case "offsetTop":
22575                  case "offsetLeft":
22576                  case "offsetWidth":
22577                  case "offsetHeight":
22578                  case "isContentEditable":
22579                  case "outerText":
22580                  case "outerHTML":
22581                    extraAttributes.delete(propKey.toLowerCase());
22582                    console.error(
22583                      "Assignment to read-only property will result in a no-op: `%s`",
22584                      propKey
22585                    );
22586                    continue;
22587                  case "className":
22588                    extraAttributes.delete("class");
22589                    attributes = getValueForAttributeOnCustomComponent(
22590                      domElement,
22591                      "class",
22592                      value
22593                    );
22594                    warnForPropDifference(
22595                      "className",
22596                      attributes,
22597                      value,
22598                      serverDifferences
22599                    );
22600                    continue;
22601                  default:
22602                    hostContext.context === HostContextNamespaceNone &&
22603                    "svg" !== tag &&
22604                    "math" !== tag
22605                      ? extraAttributes.delete(propKey.toLowerCase())
22606                      : extraAttributes.delete(propKey),
22607                      (attributes = getValueForAttributeOnCustomComponent(
22608                        domElement,
22609                        propKey,
22610                        value
22611                      )),
22612                      warnForPropDifference(
22613                        propKey,
22614                        attributes,
22615                        value,
22616                        serverDifferences
22617                      );
22618                }
22619          }
22620        }
22621      else
22622        for (value in props)
22623          if (
22624            props.hasOwnProperty(value) &&
22625            ((propKey = props[value]), null != propKey)
22626          )
22627            if (registrationNameDependencies.hasOwnProperty(value))
22628              "function" !== typeof propKey &&
22629                warnForInvalidEventListener(value, propKey);
22630            else if (!0 !== props.suppressHydrationWarning)
22631              switch (value) {
22632                case "children":
22633                  ("string" !== typeof propKey &&
22634                    "number" !== typeof propKey) ||
22635                    warnForPropDifference(
22636                      "children",
22637                      domElement.textContent,
22638                      propKey,
22639                      serverDifferences
22640                    );
22641                  continue;
22642                case "suppressContentEditableWarning":
22643                case "suppressHydrationWarning":
22644                case "value":
22645                case "checked":
22646                case "selected":
22647                case "defaultValue":
22648                case "defaultChecked":
22649                case "innerHTML":
22650                case "ref":
22651                  continue;
22652                case "dangerouslySetInnerHTML":
22653                  attributes = domElement.innerHTML;
22654                  propKey = propKey ? propKey.__html : void 0;
22655                  null != propKey &&
22656                    ((propKey = normalizeHTML(domElement, propKey)),
22657                    attributes !== propKey &&
22658                      (serverDifferences[value] = { __html: attributes }));
22659                  continue;
22660                case "className":
22661                  hydrateAttribute(
22662                    domElement,
22663                    value,
22664                    "class",
22665                    propKey,
22666                    extraAttributes,
22667                    serverDifferences
22668                  );
22669                  continue;
22670                case "tabIndex":
22671                  hydrateAttribute(
22672                    domElement,
22673                    value,
22674                    "tabindex",
22675                    propKey,
22676                    extraAttributes,
22677                    serverDifferences
22678                  );
22679                  continue;
22680                case "style":
22681                  extraAttributes.delete(value);
22682                  diffHydratedStyles(domElement, propKey, serverDifferences);
22683                  continue;
22684                case "multiple":
22685                  extraAttributes.delete(value);
22686                  warnForPropDifference(
22687                    value,
22688                    domElement.multiple,
22689                    propKey,
22690                    serverDifferences
22691                  );
22692                  continue;
22693                case "muted":
22694                  extraAttributes.delete(value);
22695                  warnForPropDifference(
22696                    value,
22697                    domElement.muted,
22698                    propKey,
22699                    serverDifferences
22700                  );
22701                  continue;
22702                case "autoFocus":
22703                  extraAttributes.delete("autofocus");
22704                  warnForPropDifference(
22705                    value,
22706                    domElement.autofocus,
22707                    propKey,
22708                    serverDifferences
22709                  );
22710                  continue;
22711                case "data":
22712                  if ("object" !== tag) {
22713                    extraAttributes.delete(value);
22714                    attributes = domElement.getAttribute("data");
22715                    warnForPropDifference(
22716                      value,
22717                      attributes,
22718                      propKey,
22719                      serverDifferences
22720                    );
22721                    continue;
22722                  }
22723                case "src":
22724                case "href":
22725                  if (
22726                    !(
22727                      "" !== propKey ||
22728                      ("a" === tag && "href" === value) ||
22729                      ("object" === tag && "data" === value)
22730                    )
22731                  ) {
22732                    "src" === value
22733                      ? console.error(
22734                          'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
22735                          value,
22736                          value
22737                        )
22738                      : console.error(
22739                          'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
22740                          value,
22741                          value
22742                        );
22743                    continue;
22744                  }
22745                  hydrateSanitizedAttribute(
22746                    domElement,
22747                    value,
22748                    value,
22749                    propKey,
22750                    extraAttributes,
22751                    serverDifferences
22752                  );
22753                  continue;
22754                case "action":
22755                case "formAction":
22756                  attributes = domElement.getAttribute(value);
22757                  if ("function" === typeof propKey) {
22758                    extraAttributes.delete(value.toLowerCase());
22759                    "formAction" === value
22760                      ? (extraAttributes.delete("name"),
22761                        extraAttributes.delete("formenctype"),
22762                        extraAttributes.delete("formmethod"),
22763                        extraAttributes.delete("formtarget"))
22764                      : (extraAttributes.delete("enctype"),
22765                        extraAttributes.delete("method"),
22766                        extraAttributes.delete("target"));
22767                    continue;
22768                  } else if (attributes === EXPECTED_FORM_ACTION_URL) {
22769                    extraAttributes.delete(value.toLowerCase());
22770                    warnForPropDifference(
22771                      value,
22772                      "function",
22773                      propKey,
22774                      serverDifferences
22775                    );
22776                    continue;
22777                  }
22778                  hydrateSanitizedAttribute(
22779                    domElement,
22780                    value,
22781                    value.toLowerCase(),
22782                    propKey,
22783                    extraAttributes,
22784                    serverDifferences
22785                  );
22786                  continue;
22787                case "xlinkHref":
22788                  hydrateSanitizedAttribute(
22789                    domElement,
22790                    value,
22791                    "xlink:href",
22792                    propKey,
22793                    extraAttributes,
22794                    serverDifferences
22795                  );
22796                  continue;
22797                case "contentEditable":
22798                  hydrateBooleanishAttribute(
22799                    domElement,
22800                    value,
22801                    "contenteditable",
22802                    propKey,
22803                    extraAttributes,
22804                    serverDifferences
22805                  );
22806                  continue;
22807                case "spellCheck":
22808                  hydrateBooleanishAttribute(
22809                    domElement,
22810                    value,
22811                    "spellcheck",
22812                    propKey,
22813                    extraAttributes,
22814                    serverDifferences
22815                  );
22816                  continue;
22817                case "draggable":
22818                case "autoReverse":
22819                case "externalResourcesRequired":
22820                case "focusable":
22821                case "preserveAlpha":
22822                  hydrateBooleanishAttribute(
22823                    domElement,
22824                    value,
22825                    value,
22826                    propKey,
22827                    extraAttributes,
22828                    serverDifferences
22829                  );
22830                  continue;
22831                case "allowFullScreen":
22832                case "async":
22833                case "autoPlay":
22834                case "controls":
22835                case "default":
22836                case "defer":
22837                case "disabled":
22838                case "disablePictureInPicture":
22839                case "disableRemotePlayback":
22840                case "formNoValidate":
22841                case "hidden":
22842                case "loop":
22843                case "noModule":
22844                case "noValidate":
22845                case "open":
22846                case "playsInline":
22847                case "readOnly":
22848                case "required":
22849                case "reversed":
22850                case "scoped":
22851                case "seamless":
22852                case "itemScope":
22853                  hydrateBooleanAttribute(
22854                    domElement,
22855                    value,
22856                    value.toLowerCase(),
22857                    propKey,
22858                    extraAttributes,
22859                    serverDifferences
22860                  );
22861                  continue;
22862                case "capture":
22863                case "download":
22864                  a: {
22865                    i = domElement;
22866                    var attributeName = (attributes = value),
22867                      serverDifferences$jscomp$0 = serverDifferences;
22868                    extraAttributes.delete(attributeName);
22869                    i = i.getAttribute(attributeName);
22870                    if (null === i)
22871                      switch (typeof propKey) {
22872                        case "undefined":
22873                        case "function":
22874                        case "symbol":
22875                          break a;
22876                        default:
22877                          if (!1 === propKey) break a;
22878                      }
22879                    else if (null != propKey)
22880                      switch (typeof propKey) {
22881                        case "function":
22882                        case "symbol":
22883                          break;
22884                        case "boolean":
22885                          if (!0 === propKey && "" === i) break a;
22886                          break;
22887                        default:
22888                          if (
22889                            (checkAttributeStringCoercion(propKey, attributes),
22890                            i === "" + propKey)
22891                          )
22892                            break a;
22893                      }
22894                    warnForPropDifference(
22895                      attributes,
22896                      i,
22897                      propKey,
22898                      serverDifferences$jscomp$0
22899                    );
22900                  }
22901                  continue;
22902                case "cols":
22903                case "rows":
22904                case "size":
22905                case "span":
22906                  a: {
22907                    i = domElement;
22908                    attributeName = attributes = value;
22909                    serverDifferences$jscomp$0 = serverDifferences;
22910                    extraAttributes.delete(attributeName);
22911                    i = i.getAttribute(attributeName);
22912                    if (null === i)
22913                      switch (typeof propKey) {
22914                        case "undefined":
22915                        case "function":
22916                        case "symbol":
22917                        case "boolean":
22918                          break a;
22919                        default:
22920                          if (isNaN(propKey) || 1 > propKey) break a;
22921                      }
22922                    else if (null != propKey)
22923                      switch (typeof propKey) {
22924                        case "function":
22925                        case "symbol":
22926                        case "boolean":
22927                          break;
22928                        default:
22929                          if (
22930                            !(isNaN(propKey) || 1 > propKey) &&
22931                            (checkAttributeStringCoercion(propKey, attributes),
22932                            i === "" + propKey)
22933                          )
22934                            break a;
22935                      }
22936                    warnForPropDifference(
22937                      attributes,
22938                      i,
22939                      propKey,
22940                      serverDifferences$jscomp$0
22941                    );
22942                  }
22943                  continue;
22944                case "rowSpan":
22945                  hydrateNumericAttribute(
22946                    domElement,
22947                    value,
22948                    "rowspan",
22949                    propKey,
22950                    extraAttributes,
22951                    serverDifferences
22952                  );
22953                  continue;
22954                case "start":
22955                  hydrateNumericAttribute(
22956                    domElement,
22957                    value,
22958                    value,
22959                    propKey,
22960                    extraAttributes,
22961                    serverDifferences
22962                  );
22963                  continue;
22964                case "xHeight":
22965                  hydrateAttribute(
22966                    domElement,
22967                    value,
22968                    "x-height",
22969                    propKey,
22970                    extraAttributes,
22971                    serverDifferences
22972                  );
22973                  continue;
22974                case "xlinkActuate":
22975                  hydrateAttribute(
22976                    domElement,
22977                    value,
22978                    "xlink:actuate",
22979                    propKey,
22980                    extraAttributes,
22981                    serverDifferences
22982                  );
22983                  continue;
22984                case "xlinkArcrole":
22985                  hydrateAttribute(
22986                    domElement,
22987                    value,
22988                    "xlink:arcrole",
22989                    propKey,
22990                    extraAttributes,
22991                    serverDifferences
22992                  );
22993                  continue;
22994                case "xlinkRole":
22995                  hydrateAttribute(
22996                    domElement,
22997                    value,
22998                    "xlink:role",
22999                    propKey,
23000                    extraAttributes,
23001                    serverDifferences
23002                  );
23003                  continue;
23004                case "xlinkShow":
23005                  hydrateAttribute(
23006                    domElement,
23007                    value,
23008                    "xlink:show",
23009                    propKey,
23010                    extraAttributes,
23011                    serverDifferences
23012                  );
23013                  continue;
23014                case "xlinkTitle":
23015                  hydrateAttribute(
23016                    domElement,
23017                    value,
23018                    "xlink:title",
23019                    propKey,
23020                    extraAttributes,
23021                    serverDifferences
23022                  );
23023                  continue;
23024                case "xlinkType":
23025                  hydrateAttribute(
23026                    domElement,
23027                    value,
23028                    "xlink:type",
23029                    propKey,
23030                    extraAttributes,
23031                    serverDifferences
23032                  );
23033                  continue;
23034                case "xmlBase":
23035                  hydrateAttribute(
23036                    domElement,
23037                    value,
23038                    "xml:base",
23039                    propKey,
23040                    extraAttributes,
23041                    serverDifferences
23042                  );
23043                  continue;
23044                case "xmlLang":
23045                  hydrateAttribute(
23046                    domElement,
23047                    value,
23048                    "xml:lang",
23049                    propKey,
23050                    extraAttributes,
23051                    serverDifferences
23052                  );
23053                  continue;
23054                case "xmlSpace":
23055                  hydrateAttribute(
23056                    domElement,
23057                    value,
23058                    "xml:space",
23059                    propKey,
23060                    extraAttributes,
23061                    serverDifferences
23062                  );
23063                  continue;
23064                case "inert":
23065                  "" !== propKey ||
23066                    didWarnForNewBooleanPropsWithEmptyValue[value] ||
23067                    ((didWarnForNewBooleanPropsWithEmptyValue[value] = !0),
23068                    console.error(
23069                      "Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",
23070                      value
23071                    ));
23072                  hydrateBooleanAttribute(
23073                    domElement,
23074                    value,
23075                    value,
23076                    propKey,
23077                    extraAttributes,
23078                    serverDifferences
23079                  );
23080                  continue;
23081                default:
23082                  if (
23083                    !(2 < value.length) ||
23084                    ("o" !== value[0] && "O" !== value[0]) ||
23085                    ("n" !== value[1] && "N" !== value[1])
23086                  ) {
23087                    i = getAttributeAlias(value);
23088                    attributes = !1;
23089                    hostContext.context === HostContextNamespaceNone &&
23090                    "svg" !== tag &&
23091                    "math" !== tag
23092                      ? extraAttributes.delete(i.toLowerCase())
23093                      : ((attributeName = value.toLowerCase()),
23094                        (attributeName = possibleStandardNames.hasOwnProperty(
23095                          attributeName
23096                        )
23097                          ? possibleStandardNames[attributeName] || null
23098                          : null),
23099                        null !== attributeName &&
23100                          attributeName !== value &&
23101                          ((attributes = !0),
23102                          extraAttributes.delete(attributeName)),
23103                        extraAttributes.delete(i));
23104                    a: if (
23105                      ((attributeName = domElement),
23106                      (serverDifferences$jscomp$0 = i),
23107                      (i = propKey),
23108                      isAttributeNameSafe(serverDifferences$jscomp$0))
23109                    )
23110                      if (
23111                        attributeName.hasAttribute(serverDifferences$jscomp$0)
23112                      )
23113                        (attributeName = attributeName.getAttribute(
23114                          serverDifferences$jscomp$0
23115                        )),
23116                          checkAttributeStringCoercion(
23117                            i,
23118                            serverDifferences$jscomp$0
23119                          ),
23120                          (i = attributeName === "" + i ? i : attributeName);
23121                      else {
23122                        switch (typeof i) {
23123                          case "function":
23124                          case "symbol":
23125                            break a;
23126                          case "boolean":
23127                            if (
23128                              ((attributeName = serverDifferences$jscomp$0
23129                                .toLowerCase()
23130                                .slice(0, 5)),
23131                              "data-" !== attributeName &&
23132                                "aria-" !== attributeName)
23133                            )
23134                              break a;
23135                        }
23136                        i = void 0 === i ? void 0 : null;
23137                      }
23138                    else i = void 0;
23139                    attributes ||
23140                      warnForPropDifference(
23141                        value,
23142                        i,
23143                        propKey,
23144                        serverDifferences
23145                      );
23146                  }
23147              }
23148      0 < extraAttributes.size &&
23149        !0 !== props.suppressHydrationWarning &&
23150        warnForExtraAttributes(domElement, extraAttributes, serverDifferences);
23151      return 0 === Object.keys(serverDifferences).length
23152        ? null
23153        : serverDifferences;
23154    }
23155    function propNamesListJoin(list, combinator) {
23156      switch (list.length) {
23157        case 0:
23158          return "";
23159        case 1:
23160          return list[0];
23161        case 2:
23162          return list[0] + " " + combinator + " " + list[1];
23163        default:
23164          return (
23165            list.slice(0, -1).join(", ") +
23166            ", " +
23167            combinator +
23168            " " +
23169            list[list.length - 1]
23170          );
23171      }
23172    }
23173    function getOwnerDocumentFromRootContainer(rootContainerElement) {
23174      return 9 === rootContainerElement.nodeType
23175        ? rootContainerElement
23176        : rootContainerElement.ownerDocument;
23177    }
23178    function getOwnHostContext(namespaceURI) {
23179      switch (namespaceURI) {
23180        case SVG_NAMESPACE:
23181          return HostContextNamespaceSvg;
23182        case MATH_NAMESPACE:
23183          return HostContextNamespaceMath;
23184        default:
23185          return HostContextNamespaceNone;
23186      }
23187    }
23188    function getChildHostContextProd(parentNamespace, type) {
23189      if (parentNamespace === HostContextNamespaceNone)
23190        switch (type) {
23191          case "svg":
23192            return HostContextNamespaceSvg;
23193          case "math":
23194            return HostContextNamespaceMath;
23195          default:
23196            return HostContextNamespaceNone;
23197        }
23198      return parentNamespace === HostContextNamespaceSvg &&
23199        "foreignObject" === type
23200        ? HostContextNamespaceNone
23201        : parentNamespace;
23202    }
23203    function shouldSetTextContent(type, props) {
23204      return (
23205        "textarea" === type ||
23206        "noscript" === type ||
23207        "string" === typeof props.children ||
23208        "number" === typeof props.children ||
23209        "bigint" === typeof props.children ||
23210        ("object" === typeof props.dangerouslySetInnerHTML &&
23211          null !== props.dangerouslySetInnerHTML &&
23212          null != props.dangerouslySetInnerHTML.__html)
23213      );
23214    }
23215    function shouldAttemptEagerTransition() {
23216      var event = window.event;
23217      if (event && "popstate" === event.type) {
23218        if (event === currentPopstateTransitionEvent) return !1;
23219        currentPopstateTransitionEvent = event;
23220        return !0;
23221      }
23222      currentPopstateTransitionEvent = null;
23223      return !1;
23224    }
23225    function handleErrorInNextTick(error) {
23226      setTimeout(function () {
23227        throw error;
23228      });
23229    }
23230    function commitMount(domElement, type, newProps) {
23231      switch (type) {
23232        case "button":
23233        case "input":
23234        case "select":
23235        case "textarea":
23236          newProps.autoFocus && domElement.focus();
23237          break;
23238        case "img":
23239          newProps.src
23240            ? (domElement.src = newProps.src)
23241            : newProps.srcSet && (domElement.srcset = newProps.srcSet);
23242      }
23243    }
23244    function commitUpdate(domElement, type, oldProps, newProps) {
23245      updateProperties(domElement, type, oldProps, newProps);
23246      domElement[internalPropsKey] = newProps;
23247    }
23248    function resetTextContent(domElement) {
23249      setTextContent(domElement, "");
23250    }
23251    function commitTextUpdate(textInstance, oldText, newText) {
23252      textInstance.nodeValue = newText;
23253    }
23254    function isSingletonScope(type) {
23255      return "head" === type;
23256    }
23257    function removeChild(parentInstance, child) {
23258      parentInstance.removeChild(child);
23259    }
23260    function removeChildFromContainer(container, child) {
23261      (9 === container.nodeType
23262        ? container.body
23263        : "HTML" === container.nodeName
23264          ? container.ownerDocument.body
23265          : container
23266      ).removeChild(child);
23267    }
23268    function clearSuspenseBoundary(parentInstance, suspenseInstance) {
23269      var node = suspenseInstance,
23270        possiblePreambleContribution = 0,
23271        depth = 0;
23272      do {
23273        var nextNode = node.nextSibling;
23274        parentInstance.removeChild(node);
23275        if (nextNode && 8 === nextNode.nodeType)
23276          if (((node = nextNode.data), node === SUSPENSE_END_DATA)) {
23277            if (
23278              0 < possiblePreambleContribution &&
23279              8 > possiblePreambleContribution
23280            ) {
23281              node = possiblePreambleContribution;
23282              var ownerDocument = parentInstance.ownerDocument;
23283              node & PREAMBLE_CONTRIBUTION_HTML &&
23284                releaseSingletonInstance(ownerDocument.documentElement);
23285              node & PREAMBLE_CONTRIBUTION_BODY &&
23286                releaseSingletonInstance(ownerDocument.body);
23287              if (node & PREAMBLE_CONTRIBUTION_HEAD)
23288                for (
23289                  node = ownerDocument.head,
23290                    releaseSingletonInstance(node),
23291                    ownerDocument = node.firstChild;
23292                  ownerDocument;
23293
23294                ) {
23295                  var nextNode$jscomp$0 = ownerDocument.nextSibling,
23296                    nodeName = ownerDocument.nodeName;
23297                  ownerDocument[internalHoistableMarker] ||
23298                    "SCRIPT" === nodeName ||
23299                    "STYLE" === nodeName ||
23300                    ("LINK" === nodeName &&
23301                      "stylesheet" === ownerDocument.rel.toLowerCase()) ||
23302                    node.removeChild(ownerDocument);
23303                  ownerDocument = nextNode$jscomp$0;
23304                }
23305            }
23306            if (0 === depth) {
23307              parentInstance.removeChild(nextNode);
23308              retryIfBlockedOn(suspenseInstance);
23309              return;
23310            }
23311            depth--;
23312          } else
23313            node === SUSPENSE_START_DATA ||
23314            node === SUSPENSE_PENDING_START_DATA ||
23315            node === SUSPENSE_FALLBACK_START_DATA
23316              ? depth++
23317              : (possiblePreambleContribution = node.charCodeAt(0) - 48);
23318        else possiblePreambleContribution = 0;
23319        node = nextNode;
23320      } while (node);
23321      retryIfBlockedOn(suspenseInstance);
23322    }
23323    function hideInstance(instance) {
23324      instance = instance.style;
23325      "function" === typeof instance.setProperty
23326        ? instance.setProperty("display", "none", "important")
23327        : (instance.display = "none");
23328    }
23329    function hideTextInstance(textInstance) {
23330      textInstance.nodeValue = "";
23331    }
23332    function unhideInstance(instance, props) {
23333      props = props[STYLE];
23334      props =
23335        void 0 !== props && null !== props && props.hasOwnProperty("display")
23336          ? props.display
23337          : null;
23338      instance.style.display =
23339        null == props || "boolean" === typeof props ? "" : ("" + props).trim();
23340    }
23341    function unhideTextInstance(textInstance, text) {
23342      textInstance.nodeValue = text;
23343    }
23344    function clearContainerSparingly(container) {
23345      var nextNode = container.firstChild;
23346      nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling);
23347      for (; nextNode; ) {
23348        var node = nextNode;
23349        nextNode = nextNode.nextSibling;
23350        switch (node.nodeName) {
23351          case "HTML":
23352          case "HEAD":
23353          case "BODY":
23354            clearContainerSparingly(node);
23355            detachDeletedInstance(node);
23356            continue;
23357          case "SCRIPT":
23358          case "STYLE":
23359            continue;
23360          case "LINK":
23361            if ("stylesheet" === node.rel.toLowerCase()) continue;
23362        }
23363        container.removeChild(node);
23364      }
23365    }
23366    function canHydrateInstance(instance, type, props, inRootOrSingleton) {
23367      for (; 1 === instance.nodeType; ) {
23368        var anyProps = props;
23369        if (instance.nodeName.toLowerCase() !== type.toLowerCase()) {
23370          if (
23371            !inRootOrSingleton &&
23372            ("INPUT" !== instance.nodeName || "hidden" !== instance.type)
23373          )
23374            break;
23375        } else if (!inRootOrSingleton)
23376          if ("input" === type && "hidden" === instance.type) {
23377            checkAttributeStringCoercion(anyProps.name, "name");
23378            var name = null == anyProps.name ? null : "" + anyProps.name;
23379            if (
23380              "hidden" === anyProps.type &&
23381              instance.getAttribute("name") === name
23382            )
23383              return instance;
23384          } else return instance;
23385        else if (!instance[internalHoistableMarker])
23386          switch (type) {
23387            case "meta":
23388              if (!instance.hasAttribute("itemprop")) break;
23389              return instance;
23390            case "link":
23391              name = instance.getAttribute("rel");
23392              if (
23393                "stylesheet" === name &&
23394                instance.hasAttribute("data-precedence")
23395              )
23396                break;
23397              else if (
23398                name !== anyProps.rel ||
23399                instance.getAttribute("href") !==
23400                  (null == anyProps.href || "" === anyProps.href
23401                    ? null
23402                    : anyProps.href) ||
23403                instance.getAttribute("crossorigin") !==
23404                  (null == anyProps.crossOrigin
23405                    ? null
23406                    : anyProps.crossOrigin) ||
23407                instance.getAttribute("title") !==
23408                  (null == anyProps.title ? null : anyProps.title)
23409              )
23410                break;
23411              return instance;
23412            case "style":
23413              if (instance.hasAttribute("data-precedence")) break;
23414              return instance;
23415            case "script":
23416              name = instance.getAttribute("src");
23417              if (
23418                (name !== (null == anyProps.src ? null : anyProps.src) ||
23419                  instance.getAttribute("type") !==
23420                    (null == anyProps.type ? null : anyProps.type) ||
23421                  instance.getAttribute("crossorigin") !==
23422                    (null == anyProps.crossOrigin
23423                      ? null
23424                      : anyProps.crossOrigin)) &&
23425                name &&
23426                instance.hasAttribute("async") &&
23427                !instance.hasAttribute("itemprop")
23428              )
23429                break;
23430              return instance;
23431            default:
23432              return instance;
23433          }
23434        instance = getNextHydratable(instance.nextSibling);
23435        if (null === instance) break;
23436      }
23437      return null;
23438    }
23439    function canHydrateTextInstance(instance, text, inRootOrSingleton) {
23440      if ("" === text) return null;
23441      for (; 3 !== instance.nodeType; ) {
23442        if (
23443          (1 !== instance.nodeType ||
23444            "INPUT" !== instance.nodeName ||
23445            "hidden" !== instance.type) &&
23446          !inRootOrSingleton
23447        )
23448          return null;
23449        instance = getNextHydratable(instance.nextSibling);
23450        if (null === instance) return null;
23451      }
23452      return instance;
23453    }
23454    function isSuspenseInstanceFallback(instance) {
23455      return (
23456        instance.data === SUSPENSE_FALLBACK_START_DATA ||
23457        (instance.data === SUSPENSE_PENDING_START_DATA &&
23458          instance.ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE)
23459      );
23460    }
23461    function registerSuspenseInstanceRetry(instance, callback) {
23462      var ownerDocument = instance.ownerDocument;
23463      if (
23464        instance.data !== SUSPENSE_PENDING_START_DATA ||
23465        ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE
23466      )
23467        callback();
23468      else {
23469        var listener = function () {
23470          callback();
23471          ownerDocument.removeEventListener("DOMContentLoaded", listener);
23472        };
23473        ownerDocument.addEventListener("DOMContentLoaded", listener);
23474        instance._reactRetry = listener;
23475      }
23476    }
23477    function getNextHydratable(node) {
23478      for (; null != node; node = node.nextSibling) {
23479        var nodeType = node.nodeType;
23480        if (1 === nodeType || 3 === nodeType) break;
23481        if (8 === nodeType) {
23482          nodeType = node.data;
23483          if (
23484            nodeType === SUSPENSE_START_DATA ||
23485            nodeType === SUSPENSE_FALLBACK_START_DATA ||
23486            nodeType === SUSPENSE_PENDING_START_DATA ||
23487            nodeType === FORM_STATE_IS_MATCHING ||
23488            nodeType === FORM_STATE_IS_NOT_MATCHING
23489          )
23490            break;
23491          if (nodeType === SUSPENSE_END_DATA) return null;
23492        }
23493      }
23494      return node;
23495    }
23496    function describeHydratableInstanceForDevWarnings(instance) {
23497      if (1 === instance.nodeType) {
23498        for (
23499          var JSCompiler_temp_const = instance.nodeName.toLowerCase(),
23500            serverDifferences = {},
23501            attributes = instance.attributes,
23502            i = 0;
23503          i < attributes.length;
23504          i++
23505        ) {
23506          var attr = attributes[i];
23507          serverDifferences[getPropNameFromAttributeName(attr.name)] =
23508            "style" === attr.name.toLowerCase()
23509              ? getStylesObjectFromElement(instance)
23510              : attr.value;
23511        }
23512        return { type: JSCompiler_temp_const, props: serverDifferences };
23513      }
23514      return 8 === instance.nodeType
23515        ? { type: "Suspense", props: {} }
23516        : instance.nodeValue;
23517    }
23518    function diffHydratedTextForDevWarnings(textInstance, text, parentProps) {
23519      return null === parentProps ||
23520        !0 !== parentProps[SUPPRESS_HYDRATION_WARNING]
23521        ? (textInstance.nodeValue === text
23522            ? (textInstance = null)
23523            : ((text = normalizeMarkupForTextOrAttribute(text)),
23524              (textInstance =
23525                normalizeMarkupForTextOrAttribute(textInstance.nodeValue) ===
23526                text
23527                  ? null
23528                  : textInstance.nodeValue)),
23529          textInstance)
23530        : null;
23531    }
23532    function getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance) {
23533      suspenseInstance = suspenseInstance.nextSibling;
23534      for (var depth = 0; suspenseInstance; ) {
23535        if (8 === suspenseInstance.nodeType) {
23536          var data = suspenseInstance.data;
23537          if (data === SUSPENSE_END_DATA) {
23538            if (0 === depth)
23539              return getNextHydratable(suspenseInstance.nextSibling);
23540            depth--;
23541          } else
23542            (data !== SUSPENSE_START_DATA &&
23543              data !== SUSPENSE_FALLBACK_START_DATA &&
23544              data !== SUSPENSE_PENDING_START_DATA) ||
23545              depth++;
23546        }
23547        suspenseInstance = suspenseInstance.nextSibling;
23548      }
23549      return null;
23550    }
23551    function getParentSuspenseInstance(targetInstance) {
23552      targetInstance = targetInstance.previousSibling;
23553      for (var depth = 0; targetInstance; ) {
23554        if (8 === targetInstance.nodeType) {
23555          var data = targetInstance.data;
23556          if (
23557            data === SUSPENSE_START_DATA ||
23558            data === SUSPENSE_FALLBACK_START_DATA ||
23559            data === SUSPENSE_PENDING_START_DATA
23560          ) {
23561            if (0 === depth) return targetInstance;
23562            depth--;
23563          } else data === SUSPENSE_END_DATA && depth++;
23564        }
23565        targetInstance = targetInstance.previousSibling;
23566      }
23567      return null;
23568    }
23569    function commitHydratedContainer(container) {
23570      retryIfBlockedOn(container);
23571    }
23572    function commitHydratedSuspenseInstance(suspenseInstance) {
23573      retryIfBlockedOn(suspenseInstance);
23574    }
23575    function resolveSingletonInstance(
23576      type,
23577      props,
23578      rootContainerInstance,
23579      hostContext,
23580      validateDOMNestingDev
23581    ) {
23582      validateDOMNestingDev &&
23583        validateDOMNesting(type, hostContext.ancestorInfo);
23584      props = getOwnerDocumentFromRootContainer(rootContainerInstance);
23585      switch (type) {
23586        case "html":
23587          type = props.documentElement;
23588          if (!type)
23589            throw Error(
23590              "React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page."
23591            );
23592          return type;
23593        case "head":
23594          type = props.head;
23595          if (!type)
23596            throw Error(
23597              "React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page."
23598            );
23599          return type;
23600        case "body":
23601          type = props.body;
23602          if (!type)
23603            throw Error(
23604              "React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page."
23605            );
23606          return type;
23607        default:
23608          throw Error(
23609            "resolveSingletonInstance was called with an element type that is not supported. This is a bug in React."
23610          );
23611      }
23612    }
23613    function acquireSingletonInstance(
23614      type,
23615      props,
23616      instance,
23617      internalInstanceHandle
23618    ) {
23619      if (
23620        !instance[internalContainerInstanceKey] &&
23621        getInstanceFromNode(instance)
23622      ) {
23623        var tagName = instance.tagName.toLowerCase();
23624        console.error(
23625          "You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",
23626          tagName,
23627          tagName,
23628          tagName
23629        );
23630      }
23631      switch (type) {
23632        case "html":
23633        case "head":
23634        case "body":
23635          break;
23636        default:
23637          console.error(
23638            "acquireSingletonInstance was called with an element type that is not supported. This is a bug in React."
23639          );
23640      }
23641      for (tagName = instance.attributes; tagName.length; )
23642        instance.removeAttributeNode(tagName[0]);
23643      setInitialProperties(instance, type, props);
23644      instance[internalInstanceKey] = internalInstanceHandle;
23645      instance[internalPropsKey] = props;
23646    }
23647    function releaseSingletonInstance(instance) {
23648      for (var attributes = instance.attributes; attributes.length; )
23649        instance.removeAttributeNode(attributes[0]);
23650      detachDeletedInstance(instance);
23651    }
23652    function getHoistableRoot(container) {
23653      return "function" === typeof container.getRootNode
23654        ? container.getRootNode()
23655        : 9 === container.nodeType
23656          ? container
23657          : container.ownerDocument;
23658    }
23659    function preconnectAs(rel, href, crossOrigin) {
23660      var ownerDocument = globalDocument;
23661      if (ownerDocument && "string" === typeof href && href) {
23662        var limitedEscapedHref =
23663          escapeSelectorAttributeValueInsideDoubleQuotes(href);
23664        limitedEscapedHref =
23665          'link[rel="' + rel + '"][href="' + limitedEscapedHref + '"]';
23666        "string" === typeof crossOrigin &&
23667          (limitedEscapedHref += '[crossorigin="' + crossOrigin + '"]');
23668        preconnectsSet.has(limitedEscapedHref) ||
23669          (preconnectsSet.add(limitedEscapedHref),
23670          (rel = { rel: rel, crossOrigin: crossOrigin, href: href }),
23671          null === ownerDocument.querySelector(limitedEscapedHref) &&
23672            ((href = ownerDocument.createElement("link")),
23673            setInitialProperties(href, "link", rel),
23674            markNodeAsHoistable(href),
23675            ownerDocument.head.appendChild(href)));
23676      }
23677    }
23678    function getResource(type, currentProps, pendingProps, currentResource) {
23679      var resourceRoot = (resourceRoot = rootInstanceStackCursor.current)
23680        ? getHoistableRoot(resourceRoot)
23681        : null;
23682      if (!resourceRoot)
23683        throw Error(
23684          '"resourceRoot" was expected to exist. This is a bug in React.'
23685        );
23686      switch (type) {
23687        case "meta":
23688        case "title":
23689          return null;
23690        case "style":
23691          return "string" === typeof pendingProps.precedence &&
23692            "string" === typeof pendingProps.href
23693            ? ((pendingProps = getStyleKey(pendingProps.href)),
23694              (currentProps =
23695                getResourcesFromRoot(resourceRoot).hoistableStyles),
23696              (currentResource = currentProps.get(pendingProps)),
23697              currentResource ||
23698                ((currentResource = {
23699                  type: "style",
23700                  instance: null,
23701                  count: 0,
23702                  state: null
23703                }),
23704                currentProps.set(pendingProps, currentResource)),
23705              currentResource)
23706            : { type: "void", instance: null, count: 0, state: null };
23707        case "link":
23708          if (
23709            "stylesheet" === pendingProps.rel &&
23710            "string" === typeof pendingProps.href &&
23711            "string" === typeof pendingProps.precedence
23712          ) {
23713            type = getStyleKey(pendingProps.href);
23714            var _styles = getResourcesFromRoot(resourceRoot).hoistableStyles,
23715              _resource = _styles.get(type);
23716            if (
23717              !_resource &&
23718              ((resourceRoot = resourceRoot.ownerDocument || resourceRoot),
23719              (_resource = {
23720                type: "stylesheet",
23721                instance: null,
23722                count: 0,
23723                state: { loading: NotLoaded, preload: null }
23724              }),
23725              _styles.set(type, _resource),
23726              (_styles = resourceRoot.querySelector(
23727                getStylesheetSelectorFromKey(type)
23728              )) &&
23729                !_styles._p &&
23730                ((_resource.instance = _styles),
23731                (_resource.state.loading = Loaded | Inserted)),
23732              !preloadPropsMap.has(type))
23733            ) {
23734              var preloadProps = {
23735                rel: "preload",
23736                as: "style",
23737                href: pendingProps.href,
23738                crossOrigin: pendingProps.crossOrigin,
23739                integrity: pendingProps.integrity,
23740                media: pendingProps.media,
23741                hrefLang: pendingProps.hrefLang,
23742                referrerPolicy: pendingProps.referrerPolicy
23743              };
23744              preloadPropsMap.set(type, preloadProps);
23745              _styles ||
23746                preloadStylesheet(
23747                  resourceRoot,
23748                  type,
23749                  preloadProps,
23750                  _resource.state
23751                );
23752            }
23753            if (currentProps && null === currentResource)
23754              throw (
23755                ((pendingProps =
23756                  "\n\n  - " +
23757                  describeLinkForResourceErrorDEV(currentProps) +
23758                  "\n  + " +
23759                  describeLinkForResourceErrorDEV(pendingProps)),
23760                Error(
23761                  "Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key." +
23762                    pendingProps
23763                ))
23764              );
23765            return _resource;
23766          }
23767          if (currentProps && null !== currentResource)
23768            throw (
23769              ((pendingProps =
23770                "\n\n  - " +
23771                describeLinkForResourceErrorDEV(currentProps) +
23772                "\n  + " +
23773                describeLinkForResourceErrorDEV(pendingProps)),
23774              Error(
23775                "Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key." +
23776                  pendingProps
23777              ))
23778            );
23779          return null;
23780        case "script":
23781          return (
23782            (currentProps = pendingProps.async),
23783            (pendingProps = pendingProps.src),
23784            "string" === typeof pendingProps &&
23785            currentProps &&
23786            "function" !== typeof currentProps &&
23787            "symbol" !== typeof currentProps
23788              ? ((pendingProps = getScriptKey(pendingProps)),
23789                (currentProps =
23790                  getResourcesFromRoot(resourceRoot).hoistableScripts),
23791                (currentResource = currentProps.get(pendingProps)),
23792                currentResource ||
23793                  ((currentResource = {
23794                    type: "script",
23795                    instance: null,
23796                    count: 0,
23797                    state: null
23798                  }),
23799                  currentProps.set(pendingProps, currentResource)),
23800                currentResource)
23801              : { type: "void", instance: null, count: 0, state: null }
23802          );
23803        default:
23804          throw Error(
23805            'getResource encountered a type it did not expect: "' +
23806              type +
23807              '". this is a bug in React.'
23808          );
23809      }
23810    }
23811    function describeLinkForResourceErrorDEV(props) {
23812      var describedProps = 0,
23813        description = "<link";
23814      "string" === typeof props.rel
23815        ? (describedProps++, (description += ' rel="' + props.rel + '"'))
23816        : hasOwnProperty.call(props, "rel") &&
23817          (describedProps++,
23818          (description +=
23819            ' rel="' +
23820            (null === props.rel ? "null" : "invalid type " + typeof props.rel) +
23821            '"'));
23822      "string" === typeof props.href
23823        ? (describedProps++, (description += ' href="' + props.href + '"'))
23824        : hasOwnProperty.call(props, "href") &&
23825          (describedProps++,
23826          (description +=
23827            ' href="' +
23828            (null === props.href
23829              ? "null"
23830              : "invalid type " + typeof props.href) +
23831            '"'));
23832      "string" === typeof props.precedence
23833        ? (describedProps++,
23834          (description += ' precedence="' + props.precedence + '"'))
23835        : hasOwnProperty.call(props, "precedence") &&
23836          (describedProps++,
23837          (description +=
23838            " precedence={" +
23839            (null === props.precedence
23840              ? "null"
23841              : "invalid type " + typeof props.precedence) +
23842            "}"));
23843      Object.getOwnPropertyNames(props).length > describedProps &&
23844        (description += " ...");
23845      return description + " />";
23846    }
23847    function getStyleKey(href) {
23848      return (
23849        'href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"'
23850      );
23851    }
23852    function getStylesheetSelectorFromKey(key) {
23853      return 'link[rel="stylesheet"][' + key + "]";
23854    }
23855    function stylesheetPropsFromRawProps(rawProps) {
23856      return assign({}, rawProps, {
23857        "data-precedence": rawProps.precedence,
23858        precedence: null
23859      });
23860    }
23861    function preloadStylesheet(ownerDocument, key, preloadProps, state) {
23862      ownerDocument.querySelector(
23863        'link[rel="preload"][as="style"][' + key + "]"
23864      )
23865        ? (state.loading = Loaded)
23866        : ((key = ownerDocument.createElement("link")),
23867          (state.preload = key),
23868          key.addEventListener("load", function () {
23869            return (state.loading |= Loaded);
23870          }),
23871          key.addEventListener("error", function () {
23872            return (state.loading |= Errored);
23873          }),
23874          setInitialProperties(key, "link", preloadProps),
23875          markNodeAsHoistable(key),
23876          ownerDocument.head.appendChild(key));
23877    }
23878    function getScriptKey(src) {
23879      return (
23880        '[src="' + escapeSelectorAttributeValueInsideDoubleQuotes(src) + '"]'
23881      );
23882    }
23883    function getScriptSelectorFromKey(key) {
23884      return "script[async]" + key;
23885    }
23886    function acquireResource(hoistableRoot, resource, props) {
23887      resource.count++;
23888      if (null === resource.instance)
23889        switch (resource.type) {
23890          case "style":
23891            var instance = hoistableRoot.querySelector(
23892              'style[data-href~="' +
23893                escapeSelectorAttributeValueInsideDoubleQuotes(props.href) +
23894                '"]'
23895            );
23896            if (instance)
23897              return (
23898                (resource.instance = instance),
23899                markNodeAsHoistable(instance),
23900                instance
23901              );
23902            var styleProps = assign({}, props, {
23903              "data-href": props.href,
23904              "data-precedence": props.precedence,
23905              href: null,
23906              precedence: null
23907            });
23908            instance = (
23909              hoistableRoot.ownerDocument || hoistableRoot
23910            ).createElement("style");
23911            markNodeAsHoistable(instance);
23912            setInitialProperties(instance, "style", styleProps);
23913            insertStylesheet(instance, props.precedence, hoistableRoot);
23914            return (resource.instance = instance);
23915          case "stylesheet":
23916            styleProps = getStyleKey(props.href);
23917            var _instance = hoistableRoot.querySelector(
23918              getStylesheetSelectorFromKey(styleProps)
23919            );
23920            if (_instance)
23921              return (
23922                (resource.state.loading |= Inserted),
23923                (resource.instance = _instance),
23924                markNodeAsHoistable(_instance),
23925                _instance
23926              );
23927            instance = stylesheetPropsFromRawProps(props);
23928            (styleProps = preloadPropsMap.get(styleProps)) &&
23929              adoptPreloadPropsForStylesheet(instance, styleProps);
23930            _instance = (
23931              hoistableRoot.ownerDocument || hoistableRoot
23932            ).createElement("link");
23933            markNodeAsHoistable(_instance);
23934            var linkInstance = _instance;
23935            linkInstance._p = new Promise(function (resolve, reject) {
23936              linkInstance.onload = resolve;
23937              linkInstance.onerror = reject;
23938            });
23939            setInitialProperties(_instance, "link", instance);
23940            resource.state.loading |= Inserted;
23941            insertStylesheet(_instance, props.precedence, hoistableRoot);
23942            return (resource.instance = _instance);
23943          case "script":
23944            _instance = getScriptKey(props.src);
23945            if (
23946              (styleProps = hoistableRoot.querySelector(
23947                getScriptSelectorFromKey(_instance)
23948              ))
23949            )
23950              return (
23951                (resource.instance = styleProps),
23952                markNodeAsHoistable(styleProps),
23953                styleProps
23954              );
23955            instance = props;
23956            if ((styleProps = preloadPropsMap.get(_instance)))
23957              (instance = assign({}, props)),
23958                adoptPreloadPropsForScript(instance, styleProps);
23959            hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
23960            styleProps = hoistableRoot.createElement("script");
23961            markNodeAsHoistable(styleProps);
23962            setInitialProperties(styleProps, "link", instance);
23963            hoistableRoot.head.appendChild(styleProps);
23964            return (resource.instance = styleProps);
23965          case "void":
23966            return null;
23967          default:
23968            throw Error(
23969              'acquireResource encountered a resource type it did not expect: "' +
23970                resource.type +
23971                '". this is a bug in React.'
23972            );
23973        }
23974      else
23975        "stylesheet" === resource.type &&
23976          (resource.state.loading & Inserted) === NotLoaded &&
23977          ((instance = resource.instance),
23978          (resource.state.loading |= Inserted),
23979          insertStylesheet(instance, props.precedence, hoistableRoot));
23980      return resource.instance;
23981    }
23982    function insertStylesheet(instance, precedence, root) {
23983      for (
23984        var nodes = root.querySelectorAll(
23985            'link[rel="stylesheet"][data-precedence],style[data-precedence]'
23986          ),
23987          last = nodes.length ? nodes[nodes.length - 1] : null,
23988          prior = last,
23989          i = 0;
23990        i < nodes.length;
23991        i++
23992      ) {
23993        var node = nodes[i];
23994        if (node.dataset.precedence === precedence) prior = node;
23995        else if (prior !== last) break;
23996      }
23997      prior
23998        ? prior.parentNode.insertBefore(instance, prior.nextSibling)
23999        : ((precedence = 9 === root.nodeType ? root.head : root),
24000          precedence.insertBefore(instance, precedence.firstChild));
24001    }
24002    function adoptPreloadPropsForStylesheet(stylesheetProps, preloadProps) {
24003      null == stylesheetProps.crossOrigin &&
24004        (stylesheetProps.crossOrigin = preloadProps.crossOrigin);
24005      null == stylesheetProps.referrerPolicy &&
24006        (stylesheetProps.referrerPolicy = preloadProps.referrerPolicy);
24007      null == stylesheetProps.title &&
24008        (stylesheetProps.title = preloadProps.title);
24009    }
24010    function adoptPreloadPropsForScript(scriptProps, preloadProps) {
24011      null == scriptProps.crossOrigin &&
24012        (scriptProps.crossOrigin = preloadProps.crossOrigin);
24013      null == scriptProps.referrerPolicy &&
24014        (scriptProps.referrerPolicy = preloadProps.referrerPolicy);
24015      null == scriptProps.integrity &&
24016        (scriptProps.integrity = preloadProps.integrity);
24017    }
24018    function getHydratableHoistableCache(type, keyAttribute, ownerDocument) {
24019      if (null === tagCaches) {
24020        var cache = new Map();
24021        var caches = (tagCaches = new Map());
24022        caches.set(ownerDocument, cache);
24023      } else
24024        (caches = tagCaches),
24025          (cache = caches.get(ownerDocument)),
24026          cache || ((cache = new Map()), caches.set(ownerDocument, cache));
24027      if (cache.has(type)) return cache;
24028      cache.set(type, null);
24029      ownerDocument = ownerDocument.getElementsByTagName(type);
24030      for (caches = 0; caches < ownerDocument.length; caches++) {
24031        var node = ownerDocument[caches];
24032        if (
24033          !(
24034            node[internalHoistableMarker] ||
24035            node[internalInstanceKey] ||
24036            ("link" === type && "stylesheet" === node.getAttribute("rel"))
24037          ) &&
24038          node.namespaceURI !== SVG_NAMESPACE
24039        ) {
24040          var nodeKey = node.getAttribute(keyAttribute) || "";
24041          nodeKey = type + nodeKey;
24042          var existing = cache.get(nodeKey);
24043          existing ? existing.push(node) : cache.set(nodeKey, [node]);
24044        }
24045      }
24046      return cache;
24047    }
24048    function mountHoistable(hoistableRoot, type, instance) {
24049      hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
24050      hoistableRoot.head.insertBefore(
24051        instance,
24052        "title" === type ? hoistableRoot.querySelector("head > title") : null
24053      );
24054    }
24055    function isHostHoistableType(type, props, hostContext) {
24056      var outsideHostContainerContext =
24057        !hostContext.ancestorInfo.containerTagInScope;
24058      if (
24059        hostContext.context === HostContextNamespaceSvg ||
24060        null != props.itemProp
24061      )
24062        return (
24063          !outsideHostContainerContext ||
24064            null == props.itemProp ||
24065            ("meta" !== type &&
24066              "title" !== type &&
24067              "style" !== type &&
24068              "link" !== type &&
24069              "script" !== type) ||
24070            console.error(
24071              "Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",
24072              type,
24073              type
24074            ),
24075          !1
24076        );
24077      switch (type) {
24078        case "meta":
24079        case "title":
24080          return !0;
24081        case "style":
24082          if (
24083            "string" !== typeof props.precedence ||
24084            "string" !== typeof props.href ||
24085            "" === props.href
24086          ) {
24087            outsideHostContainerContext &&
24088              console.error(
24089                'Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags.  Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.'
24090              );
24091            break;
24092          }
24093          return !0;
24094        case "link":
24095          if (
24096            "string" !== typeof props.rel ||
24097            "string" !== typeof props.href ||
24098            "" === props.href ||
24099            props.onLoad ||
24100            props.onError
24101          ) {
24102            if (
24103              "stylesheet" === props.rel &&
24104              "string" === typeof props.precedence
24105            ) {
24106              type = props.href;
24107              var onError = props.onError,
24108                disabled = props.disabled;
24109              hostContext = [];
24110              props.onLoad && hostContext.push("`onLoad`");
24111              onError && hostContext.push("`onError`");
24112              null != disabled && hostContext.push("`disabled`");
24113              onError = propNamesListJoin(hostContext, "and");
24114              onError += 1 === hostContext.length ? " prop" : " props";
24115              disabled =
24116                1 === hostContext.length ? "an " + onError : "the " + onError;
24117              hostContext.length &&
24118                console.error(
24119                  'React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',
24120                  type,
24121                  disabled,
24122                  onError
24123                );
24124            }
24125            outsideHostContainerContext &&
24126              ("string" !== typeof props.rel ||
24127              "string" !== typeof props.href ||
24128              "" === props.href
24129                ? console.error(
24130                    "Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"
24131                  )
24132                : (props.onError || props.onLoad) &&
24133                  console.error(
24134                    "Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."
24135                  ));
24136            break;
24137          }
24138          switch (props.rel) {
24139            case "stylesheet":
24140              return (
24141                (type = props.precedence),
24142                (props = props.disabled),
24143                "string" !== typeof type &&
24144                  outsideHostContainerContext &&
24145                  console.error(
24146                    'Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'
24147                  ),
24148                "string" === typeof type && null == props
24149              );
24150            default:
24151              return !0;
24152          }
24153        case "script":
24154          type =
24155            props.async &&
24156            "function" !== typeof props.async &&
24157            "symbol" !== typeof props.async;
24158          if (
24159            !type ||
24160            props.onLoad ||
24161            props.onError ||
24162            !props.src ||
24163            "string" !== typeof props.src
24164          ) {
24165            outsideHostContainerContext &&
24166              (type
24167                ? props.onLoad || props.onError
24168                  ? console.error(
24169                      "Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."
24170                    )
24171                  : console.error(
24172                      "Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."
24173                    )
24174                : console.error(
24175                    'Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'
24176                  ));
24177            break;
24178          }
24179          return !0;
24180        case "noscript":
24181        case "template":
24182          outsideHostContainerContext &&
24183            console.error(
24184              "Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",
24185              type
24186            );
24187      }
24188      return !1;
24189    }
24190    function preloadResource(resource) {
24191      return "stylesheet" === resource.type &&
24192        (resource.state.loading & Settled) === NotLoaded
24193        ? !1
24194        : !0;
24195    }
24196    function noop() {}
24197    function suspendResource(hoistableRoot, resource, props) {
24198      if (null === suspendedState)
24199        throw Error(
24200          "Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug."
24201        );
24202      var state = suspendedState;
24203      if (
24204        "stylesheet" === resource.type &&
24205        ("string" !== typeof props.media ||
24206          !1 !== matchMedia(props.media).matches) &&
24207        (resource.state.loading & Inserted) === NotLoaded
24208      ) {
24209        if (null === resource.instance) {
24210          var key = getStyleKey(props.href),
24211            instance = hoistableRoot.querySelector(
24212              getStylesheetSelectorFromKey(key)
24213            );
24214          if (instance) {
24215            hoistableRoot = instance._p;
24216            null !== hoistableRoot &&
24217              "object" === typeof hoistableRoot &&
24218              "function" === typeof hoistableRoot.then &&
24219              (state.count++,
24220              (state = onUnsuspend.bind(state)),
24221              hoistableRoot.then(state, state));
24222            resource.state.loading |= Inserted;
24223            resource.instance = instance;
24224            markNodeAsHoistable(instance);
24225            return;
24226          }
24227          instance = hoistableRoot.ownerDocument || hoistableRoot;
24228          props = stylesheetPropsFromRawProps(props);
24229          (key = preloadPropsMap.get(key)) &&
24230            adoptPreloadPropsForStylesheet(props, key);
24231          instance = instance.createElement("link");
24232          markNodeAsHoistable(instance);
24233          var linkInstance = instance;
24234          linkInstance._p = new Promise(function (resolve, reject) {
24235            linkInstance.onload = resolve;
24236            linkInstance.onerror = reject;
24237          });
24238          setInitialProperties(instance, "link", props);
24239          resource.instance = instance;
24240        }
24241        null === state.stylesheets && (state.stylesheets = new Map());
24242        state.stylesheets.set(resource, hoistableRoot);
24243        (hoistableRoot = resource.state.preload) &&
24244          (resource.state.loading & Settled) === NotLoaded &&
24245          (state.count++,
24246          (resource = onUnsuspend.bind(state)),
24247          hoistableRoot.addEventListener("load", resource),
24248          hoistableRoot.addEventListener("error", resource));
24249      }
24250    }
24251    function waitForCommitToBeReady() {
24252      if (null === suspendedState)
24253        throw Error(
24254          "Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug."
24255        );
24256      var state = suspendedState;
24257      state.stylesheets &&
24258        0 === state.count &&
24259        insertSuspendedStylesheets(state, state.stylesheets);
24260      return 0 < state.count
24261        ? function (commit) {
24262            var stylesheetTimer = setTimeout(function () {
24263              state.stylesheets &&
24264                insertSuspendedStylesheets(state, state.stylesheets);
24265              if (state.unsuspend) {
24266                var unsuspend = state.unsuspend;
24267                state.unsuspend = null;
24268                unsuspend();
24269              }
24270            }, 6e4);
24271            state.unsuspend = commit;
24272            return function () {
24273              state.unsuspend = null;
24274              clearTimeout(stylesheetTimer);
24275            };
24276          }
24277        : null;
24278    }
24279    function onUnsuspend() {
24280      this.count--;
24281      if (0 === this.count)
24282        if (this.stylesheets)
24283          insertSuspendedStylesheets(this, this.stylesheets);
24284        else if (this.unsuspend) {
24285          var unsuspend = this.unsuspend;
24286          this.unsuspend = null;
24287          unsuspend();
24288        }
24289    }
24290    function insertSuspendedStylesheets(state, resources) {
24291      state.stylesheets = null;
24292      null !== state.unsuspend &&
24293        (state.count++,
24294        (precedencesByRoot = new Map()),
24295        resources.forEach(insertStylesheetIntoRoot, state),
24296        (precedencesByRoot = null),
24297        onUnsuspend.call(state));
24298    }
24299    function insertStylesheetIntoRoot(root, resource) {
24300      if (!(resource.state.loading & Inserted)) {
24301        var precedences = precedencesByRoot.get(root);
24302        if (precedences) var last = precedences.get(LAST_PRECEDENCE);
24303        else {
24304          precedences = new Map();
24305          precedencesByRoot.set(root, precedences);
24306          for (
24307            var nodes = root.querySelectorAll(
24308                "link[data-precedence],style[data-precedence]"
24309              ),
24310              i = 0;
24311            i < nodes.length;
24312            i++
24313          ) {
24314            var node = nodes[i];
24315            if (
24316              "LINK" === node.nodeName ||
24317              "not all" !== node.getAttribute("media")
24318            )
24319              precedences.set(node.dataset.precedence, node), (last = node);
24320          }
24321          last && precedences.set(LAST_PRECEDENCE, last);
24322        }
24323        nodes = resource.instance;
24324        node = nodes.getAttribute("data-precedence");
24325        i = precedences.get(node) || last;
24326        i === last && precedences.set(LAST_PRECEDENCE, nodes);
24327        precedences.set(node, nodes);
24328        this.count++;
24329        last = onUnsuspend.bind(this);
24330        nodes.addEventListener("load", last);
24331        nodes.addEventListener("error", last);
24332        i
24333          ? i.parentNode.insertBefore(nodes, i.nextSibling)
24334          : ((root = 9 === root.nodeType ? root.head : root),
24335            root.insertBefore(nodes, root.firstChild));
24336        resource.state.loading |= Inserted;
24337      }
24338    }
24339    function FiberRootNode(
24340      containerInfo,
24341      tag,
24342      hydrate,
24343      identifierPrefix,
24344      onUncaughtError,
24345      onCaughtError,
24346      onRecoverableError,
24347      formState
24348    ) {
24349      this.tag = 1;
24350      this.containerInfo = containerInfo;
24351      this.pingCache = this.current = this.pendingChildren = null;
24352      this.timeoutHandle = noTimeout;
24353      this.callbackNode =
24354        this.next =
24355        this.pendingContext =
24356        this.context =
24357        this.cancelPendingCommit =
24358          null;
24359      this.callbackPriority = 0;
24360      this.expirationTimes = createLaneMap(-1);
24361      this.entangledLanes =
24362        this.shellSuspendCounter =
24363        this.errorRecoveryDisabledLanes =
24364        this.expiredLanes =
24365        this.warmLanes =
24366        this.pingedLanes =
24367        this.suspendedLanes =
24368        this.pendingLanes =
24369          0;
24370      this.entanglements = createLaneMap(0);
24371      this.hiddenUpdates = createLaneMap(null);
24372      this.identifierPrefix = identifierPrefix;
24373      this.onUncaughtError = onUncaughtError;
24374      this.onCaughtError = onCaughtError;
24375      this.onRecoverableError = onRecoverableError;
24376      this.pooledCache = null;
24377      this.pooledCacheLanes = 0;
24378      this.formState = formState;
24379      this.incompleteTransitions = new Map();
24380      this.passiveEffectDuration = this.effectDuration = -0;
24381      this.memoizedUpdaters = new Set();
24382      containerInfo = this.pendingUpdatersLaneMap = [];
24383      for (tag = 0; 31 > tag; tag++) containerInfo.push(new Set());
24384      this._debugRootType = hydrate ? "hydrateRoot()" : "createRoot()";
24385    }
24386    function createFiberRoot(
24387      containerInfo,
24388      tag,
24389      hydrate,
24390      initialChildren,
24391      hydrationCallbacks,
24392      isStrictMode,
24393      identifierPrefix,
24394      onUncaughtError,
24395      onCaughtError,
24396      onRecoverableError,
24397      transitionCallbacks,
24398      formState
24399    ) {
24400      containerInfo = new FiberRootNode(
24401        containerInfo,
24402        tag,
24403        hydrate,
24404        identifierPrefix,
24405        onUncaughtError,
24406        onCaughtError,
24407        onRecoverableError,
24408        formState
24409      );
24410      tag = ConcurrentMode;
24411      !0 === isStrictMode && (tag |= StrictLegacyMode | StrictEffectsMode);
24412      isDevToolsPresent && (tag |= ProfileMode);
24413      isStrictMode = createFiber(3, null, null, tag);
24414      containerInfo.current = isStrictMode;
24415      isStrictMode.stateNode = containerInfo;
24416      tag = createCache();
24417      retainCache(tag);
24418      containerInfo.pooledCache = tag;
24419      retainCache(tag);
24420      isStrictMode.memoizedState = {
24421        element: initialChildren,
24422        isDehydrated: hydrate,
24423        cache: tag
24424      };
24425      initializeUpdateQueue(isStrictMode);
24426      return containerInfo;
24427    }
24428    function getContextForSubtree(parentComponent) {
24429      if (!parentComponent) return emptyContextObject;
24430      parentComponent = emptyContextObject;
24431      return parentComponent;
24432    }
24433    function updateContainerImpl(
24434      rootFiber,
24435      lane,
24436      element,
24437      container,
24438      parentComponent,
24439      callback
24440    ) {
24441      if (
24442        injectedHook &&
24443        "function" === typeof injectedHook.onScheduleFiberRoot
24444      )
24445        try {
24446          injectedHook.onScheduleFiberRoot(rendererID, container, element);
24447        } catch (err) {
24448          hasLoggedError ||
24449            ((hasLoggedError = !0),
24450            console.error(
24451              "React instrumentation encountered an error: %s",
24452              err
24453            ));
24454        }
24455      null !== injectedProfilingHooks &&
24456        "function" === typeof injectedProfilingHooks.markRenderScheduled &&
24457        injectedProfilingHooks.markRenderScheduled(lane);
24458      parentComponent = getContextForSubtree(parentComponent);
24459      null === container.context
24460        ? (container.context = parentComponent)
24461        : (container.pendingContext = parentComponent);
24462      isRendering &&
24463        null !== current &&
24464        !didWarnAboutNestedUpdates &&
24465        ((didWarnAboutNestedUpdates = !0),
24466        console.error(
24467          "Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",
24468          getComponentNameFromFiber(current) || "Unknown"
24469        ));
24470      container = createUpdate(lane);
24471      container.payload = { element: element };
24472      callback = void 0 === callback ? null : callback;
24473      null !== callback &&
24474        ("function" !== typeof callback &&
24475          console.error(
24476            "Expected the last optional `callback` argument to be a function. Instead received: %s.",
24477            callback
24478          ),
24479        (container.callback = callback));
24480      element = enqueueUpdate(rootFiber, container, lane);
24481      null !== element &&
24482        (scheduleUpdateOnFiber(element, rootFiber, lane),
24483        entangleTransitions(element, rootFiber, lane));
24484    }
24485    function markRetryLaneImpl(fiber, retryLane) {
24486      fiber = fiber.memoizedState;
24487      if (null !== fiber && null !== fiber.dehydrated) {
24488        var a = fiber.retryLane;
24489        fiber.retryLane = 0 !== a && a < retryLane ? a : retryLane;
24490      }
24491    }
24492    function markRetryLaneIfNotHydrated(fiber, retryLane) {
24493      markRetryLaneImpl(fiber, retryLane);
24494      (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane);
24495    }
24496    function attemptContinuousHydration(fiber) {
24497      if (13 === fiber.tag) {
24498        var root = enqueueConcurrentRenderForLane(fiber, 67108864);
24499        null !== root && scheduleUpdateOnFiber(root, fiber, 67108864);
24500        markRetryLaneIfNotHydrated(fiber, 67108864);
24501      }
24502    }
24503    function getCurrentFiberForDevTools() {
24504      return current;
24505    }
24506    function getLaneLabelMap() {
24507      for (var map = new Map(), lane = 1, index = 0; 31 > index; index++) {
24508        var label = getLabelForLane(lane);
24509        map.set(lane, label);
24510        lane *= 2;
24511      }
24512      return map;
24513    }
24514    function dispatchDiscreteEvent(
24515      domEventName,
24516      eventSystemFlags,
24517      container,
24518      nativeEvent
24519    ) {
24520      var prevTransition = ReactSharedInternals.T;
24521      ReactSharedInternals.T = null;
24522      var previousPriority = ReactDOMSharedInternals.p;
24523      try {
24524        (ReactDOMSharedInternals.p = DiscreteEventPriority),
24525          dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
24526      } finally {
24527        (ReactDOMSharedInternals.p = previousPriority),
24528          (ReactSharedInternals.T = prevTransition);
24529      }
24530    }
24531    function dispatchContinuousEvent(
24532      domEventName,
24533      eventSystemFlags,
24534      container,
24535      nativeEvent
24536    ) {
24537      var prevTransition = ReactSharedInternals.T;
24538      ReactSharedInternals.T = null;
24539      var previousPriority = ReactDOMSharedInternals.p;
24540      try {
24541        (ReactDOMSharedInternals.p = ContinuousEventPriority),
24542          dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
24543      } finally {
24544        (ReactDOMSharedInternals.p = previousPriority),
24545          (ReactSharedInternals.T = prevTransition);
24546      }
24547    }
24548    function dispatchEvent(
24549      domEventName,
24550      eventSystemFlags,
24551      targetContainer,
24552      nativeEvent
24553    ) {
24554      if (_enabled) {
24555        var blockedOn = findInstanceBlockingEvent(nativeEvent);
24556        if (null === blockedOn)
24557          dispatchEventForPluginEventSystem(
24558            domEventName,
24559            eventSystemFlags,
24560            nativeEvent,
24561            return_targetInst,
24562            targetContainer
24563          ),
24564            clearIfContinuousEvent(domEventName, nativeEvent);
24565        else if (
24566          queueIfContinuousEvent(
24567            blockedOn,
24568            domEventName,
24569            eventSystemFlags,
24570            targetContainer,
24571            nativeEvent
24572          )
24573        )
24574          nativeEvent.stopPropagation();
24575        else if (
24576          (clearIfContinuousEvent(domEventName, nativeEvent),
24577          eventSystemFlags & 4 &&
24578            -1 < discreteReplayableEvents.indexOf(domEventName))
24579        ) {
24580          for (; null !== blockedOn; ) {
24581            var fiber = getInstanceFromNode(blockedOn);
24582            if (null !== fiber)
24583              switch (fiber.tag) {
24584                case 3:
24585                  fiber = fiber.stateNode;
24586                  if (fiber.current.memoizedState.isDehydrated) {
24587                    var lanes = getHighestPriorityLanes(fiber.pendingLanes);
24588                    if (0 !== lanes) {
24589                      var root = fiber;
24590                      root.pendingLanes |= 2;
24591                      for (root.entangledLanes |= 2; lanes; ) {
24592                        var lane = 1 << (31 - clz32(lanes));
24593                        root.entanglements[1] |= lane;
24594                        lanes &= ~lane;
24595                      }
24596                      ensureRootIsScheduled(fiber);
24597                      (executionContext & (RenderContext | CommitContext)) ===
24598                        NoContext &&
24599                        ((workInProgressRootRenderTargetTime =
24600                          now$1() + RENDER_TIMEOUT_MS),
24601                        flushSyncWorkAcrossRoots_impl(0, !1));
24602                    }
24603                  }
24604                  break;
24605                case 13:
24606                  (root = enqueueConcurrentRenderForLane(fiber, 2)),
24607                    null !== root && scheduleUpdateOnFiber(root, fiber, 2),
24608                    flushSyncWork$1(),
24609                    markRetryLaneIfNotHydrated(fiber, 2);
24610              }
24611            fiber = findInstanceBlockingEvent(nativeEvent);
24612            null === fiber &&
24613              dispatchEventForPluginEventSystem(
24614                domEventName,
24615                eventSystemFlags,
24616                nativeEvent,
24617                return_targetInst,
24618                targetContainer
24619              );
24620            if (fiber === blockedOn) break;
24621            blockedOn = fiber;
24622          }
24623          null !== blockedOn && nativeEvent.stopPropagation();
24624        } else
24625          dispatchEventForPluginEventSystem(
24626            domEventName,
24627            eventSystemFlags,
24628            nativeEvent,
24629            null,
24630            targetContainer
24631          );
24632      }
24633    }
24634    function findInstanceBlockingEvent(nativeEvent) {
24635      nativeEvent = getEventTarget(nativeEvent);
24636      return findInstanceBlockingTarget(nativeEvent);
24637    }
24638    function findInstanceBlockingTarget(targetNode) {
24639      return_targetInst = null;
24640      targetNode = getClosestInstanceFromNode(targetNode);
24641      if (null !== targetNode) {
24642        var nearestMounted = getNearestMountedFiber(targetNode);
24643        if (null === nearestMounted) targetNode = null;
24644        else {
24645          var tag = nearestMounted.tag;
24646          if (13 === tag) {
24647            targetNode = getSuspenseInstanceFromFiber(nearestMounted);
24648            if (null !== targetNode) return targetNode;
24649            targetNode = null;
24650          } else if (3 === tag) {
24651            if (nearestMounted.stateNode.current.memoizedState.isDehydrated)
24652              return 3 === nearestMounted.tag
24653                ? nearestMounted.stateNode.containerInfo
24654                : null;
24655            targetNode = null;
24656          } else nearestMounted !== targetNode && (targetNode = null);
24657        }
24658      }
24659      return_targetInst = targetNode;
24660      return null;
24661    }
24662    function getEventPriority(domEventName) {
24663      switch (domEventName) {
24664        case "beforetoggle":
24665        case "cancel":
24666        case "click":
24667        case "close":
24668        case "contextmenu":
24669        case "copy":
24670        case "cut":
24671        case "auxclick":
24672        case "dblclick":
24673        case "dragend":
24674        case "dragstart":
24675        case "drop":
24676        case "focusin":
24677        case "focusout":
24678        case "input":
24679        case "invalid":
24680        case "keydown":
24681        case "keypress":
24682        case "keyup":
24683        case "mousedown":
24684        case "mouseup":
24685        case "paste":
24686        case "pause":
24687        case "play":
24688        case "pointercancel":
24689        case "pointerdown":
24690        case "pointerup":
24691        case "ratechange":
24692        case "reset":
24693        case "resize":
24694        case "seeked":
24695        case "submit":
24696        case "toggle":
24697        case "touchcancel":
24698        case "touchend":
24699        case "touchstart":
24700        case "volumechange":
24701        case "change":
24702        case "selectionchange":
24703        case "textInput":
24704        case "compositionstart":
24705        case "compositionend":
24706        case "compositionupdate":
24707        case "beforeblur":
24708        case "afterblur":
24709        case "beforeinput":
24710        case "blur":
24711        case "fullscreenchange":
24712        case "focus":
24713        case "hashchange":
24714        case "popstate":
24715        case "select":
24716        case "selectstart":
24717          return DiscreteEventPriority;
24718        case "drag":
24719        case "dragenter":
24720        case "dragexit":
24721        case "dragleave":
24722        case "dragover":
24723        case "mousemove":
24724        case "mouseout":
24725        case "mouseover":
24726        case "pointermove":
24727        case "pointerout":
24728        case "pointerover":
24729        case "scroll":
24730        case "touchmove":
24731        case "wheel":
24732        case "mouseenter":
24733        case "mouseleave":
24734        case "pointerenter":
24735        case "pointerleave":
24736          return ContinuousEventPriority;
24737        case "message":
24738          switch (getCurrentPriorityLevel()) {
24739            case ImmediatePriority:
24740              return DiscreteEventPriority;
24741            case UserBlockingPriority:
24742              return ContinuousEventPriority;
24743            case NormalPriority$1:
24744            case LowPriority:
24745              return DefaultEventPriority;
24746            case IdlePriority:
24747              return IdleEventPriority;
24748            default:
24749              return DefaultEventPriority;
24750          }
24751        default:
24752          return DefaultEventPriority;
24753      }
24754    }
24755    function clearIfContinuousEvent(domEventName, nativeEvent) {
24756      switch (domEventName) {
24757        case "focusin":
24758        case "focusout":
24759          queuedFocus = null;
24760          break;
24761        case "dragenter":
24762        case "dragleave":
24763          queuedDrag = null;
24764          break;
24765        case "mouseover":
24766        case "mouseout":
24767          queuedMouse = null;
24768          break;
24769        case "pointerover":
24770        case "pointerout":
24771          queuedPointers.delete(nativeEvent.pointerId);
24772          break;
24773        case "gotpointercapture":
24774        case "lostpointercapture":
24775          queuedPointerCaptures.delete(nativeEvent.pointerId);
24776      }
24777    }
24778    function accumulateOrCreateContinuousQueuedReplayableEvent(
24779      existingQueuedEvent,
24780      blockedOn,
24781      domEventName,
24782      eventSystemFlags,
24783      targetContainer,
24784      nativeEvent
24785    ) {
24786      if (
24787        null === existingQueuedEvent ||
24788        existingQueuedEvent.nativeEvent !== nativeEvent
24789      )
24790        return (
24791          (existingQueuedEvent = {
24792            blockedOn: blockedOn,
24793            domEventName: domEventName,
24794            eventSystemFlags: eventSystemFlags,
24795            nativeEvent: nativeEvent,
24796            targetContainers: [targetContainer]
24797          }),
24798          null !== blockedOn &&
24799            ((blockedOn = getInstanceFromNode(blockedOn)),
24800            null !== blockedOn && attemptContinuousHydration(blockedOn)),
24801          existingQueuedEvent
24802        );
24803      existingQueuedEvent.eventSystemFlags |= eventSystemFlags;
24804      blockedOn = existingQueuedEvent.targetContainers;
24805      null !== targetContainer &&
24806        -1 === blockedOn.indexOf(targetContainer) &&
24807        blockedOn.push(targetContainer);
24808      return existingQueuedEvent;
24809    }
24810    function queueIfContinuousEvent(
24811      blockedOn,
24812      domEventName,
24813      eventSystemFlags,
24814      targetContainer,
24815      nativeEvent
24816    ) {
24817      switch (domEventName) {
24818        case "focusin":
24819          return (
24820            (queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(
24821              queuedFocus,
24822              blockedOn,
24823              domEventName,
24824              eventSystemFlags,
24825              targetContainer,
24826              nativeEvent
24827            )),
24828            !0
24829          );
24830        case "dragenter":
24831          return (
24832            (queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(
24833              queuedDrag,
24834              blockedOn,
24835              domEventName,
24836              eventSystemFlags,
24837              targetContainer,
24838              nativeEvent
24839            )),
24840            !0
24841          );
24842        case "mouseover":
24843          return (
24844            (queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(
24845              queuedMouse,
24846              blockedOn,
24847              domEventName,
24848              eventSystemFlags,
24849              targetContainer,
24850              nativeEvent
24851            )),
24852            !0
24853          );
24854        case "pointerover":
24855          var pointerId = nativeEvent.pointerId;
24856          queuedPointers.set(
24857            pointerId,
24858            accumulateOrCreateContinuousQueuedReplayableEvent(
24859              queuedPointers.get(pointerId) || null,
24860              blockedOn,
24861              domEventName,
24862              eventSystemFlags,
24863              targetContainer,
24864              nativeEvent
24865            )
24866          );
24867          return !0;
24868        case "gotpointercapture":
24869          return (
24870            (pointerId = nativeEvent.pointerId),
24871            queuedPointerCaptures.set(
24872              pointerId,
24873              accumulateOrCreateContinuousQueuedReplayableEvent(
24874                queuedPointerCaptures.get(pointerId) || null,
24875                blockedOn,
24876                domEventName,
24877                eventSystemFlags,
24878                targetContainer,
24879                nativeEvent
24880              )
24881            ),
24882            !0
24883          );
24884      }
24885      return !1;
24886    }
24887    function attemptExplicitHydrationTarget(queuedTarget) {
24888      var targetInst = getClosestInstanceFromNode(queuedTarget.target);
24889      if (null !== targetInst) {
24890        var nearestMounted = getNearestMountedFiber(targetInst);
24891        if (null !== nearestMounted)
24892          if (((targetInst = nearestMounted.tag), 13 === targetInst)) {
24893            if (
24894              ((targetInst = getSuspenseInstanceFromFiber(nearestMounted)),
24895              null !== targetInst)
24896            ) {
24897              queuedTarget.blockedOn = targetInst;
24898              runWithPriority(queuedTarget.priority, function () {
24899                if (13 === nearestMounted.tag) {
24900                  var lane = requestUpdateLane(nearestMounted);
24901                  lane = getBumpedLaneForHydrationByLane(lane);
24902                  var root = enqueueConcurrentRenderForLane(
24903                    nearestMounted,
24904                    lane
24905                  );
24906                  null !== root &&
24907                    scheduleUpdateOnFiber(root, nearestMounted, lane);
24908                  markRetryLaneIfNotHydrated(nearestMounted, lane);
24909                }
24910              });
24911              return;
24912            }
24913          } else if (
24914            3 === targetInst &&
24915            nearestMounted.stateNode.current.memoizedState.isDehydrated
24916          ) {
24917            queuedTarget.blockedOn =
24918              3 === nearestMounted.tag
24919                ? nearestMounted.stateNode.containerInfo
24920                : null;
24921            return;
24922          }
24923      }
24924      queuedTarget.blockedOn = null;
24925    }
24926    function attemptReplayContinuousQueuedEvent(queuedEvent) {
24927      if (null !== queuedEvent.blockedOn) return !1;
24928      for (
24929        var targetContainers = queuedEvent.targetContainers;
24930        0 < targetContainers.length;
24931
24932      ) {
24933        var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent);
24934        if (null === nextBlockedOn) {
24935          nextBlockedOn = queuedEvent.nativeEvent;
24936          var nativeEventClone = new nextBlockedOn.constructor(
24937              nextBlockedOn.type,
24938              nextBlockedOn
24939            ),
24940            event = nativeEventClone;
24941          null !== currentReplayingEvent &&
24942            console.error(
24943              "Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."
24944            );
24945          currentReplayingEvent = event;
24946          nextBlockedOn.target.dispatchEvent(nativeEventClone);
24947          null === currentReplayingEvent &&
24948            console.error(
24949              "Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."
24950            );
24951          currentReplayingEvent = null;
24952        } else
24953          return (
24954            (targetContainers = getInstanceFromNode(nextBlockedOn)),
24955            null !== targetContainers &&
24956              attemptContinuousHydration(targetContainers),
24957            (queuedEvent.blockedOn = nextBlockedOn),
24958            !1
24959          );
24960        targetContainers.shift();
24961      }
24962      return !0;
24963    }
24964    function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {
24965      attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key);
24966    }
24967    function replayUnblockedEvents() {
24968      hasScheduledReplayAttempt = !1;
24969      null !== queuedFocus &&
24970        attemptReplayContinuousQueuedEvent(queuedFocus) &&
24971        (queuedFocus = null);
24972      null !== queuedDrag &&
24973        attemptReplayContinuousQueuedEvent(queuedDrag) &&
24974        (queuedDrag = null);
24975      null !== queuedMouse &&
24976        attemptReplayContinuousQueuedEvent(queuedMouse) &&
24977        (queuedMouse = null);
24978      queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);
24979      queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
24980    }
24981    function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {
24982      queuedEvent.blockedOn === unblocked &&
24983        ((queuedEvent.blockedOn = null),
24984        hasScheduledReplayAttempt ||
24985          ((hasScheduledReplayAttempt = !0),
24986          Scheduler.unstable_scheduleCallback(
24987            Scheduler.unstable_NormalPriority,
24988            replayUnblockedEvents
24989          )));
24990    }
24991    function scheduleReplayQueueIfNeeded(formReplayingQueue) {
24992      lastScheduledReplayQueue !== formReplayingQueue &&
24993        ((lastScheduledReplayQueue = formReplayingQueue),
24994        Scheduler.unstable_scheduleCallback(
24995          Scheduler.unstable_NormalPriority,
24996          function () {
24997            lastScheduledReplayQueue === formReplayingQueue &&
24998              (lastScheduledReplayQueue = null);
24999            for (var i = 0; i < formReplayingQueue.length; i += 3) {
25000              var form = formReplayingQueue[i],
25001                submitterOrAction = formReplayingQueue[i + 1],
25002                formData = formReplayingQueue[i + 2];
25003              if ("function" !== typeof submitterOrAction)
25004                if (
25005                  null === findInstanceBlockingTarget(submitterOrAction || form)
25006                )
25007                  continue;
25008                else break;
25009              var formInst = getInstanceFromNode(form);
25010              null !== formInst &&
25011                (formReplayingQueue.splice(i, 3),
25012                (i -= 3),
25013                (form = {
25014                  pending: !0,
25015                  data: formData,
25016                  method: form.method,
25017                  action: submitterOrAction
25018                }),
25019                Object.freeze(form),
25020                startHostTransition(
25021                  formInst,
25022                  form,
25023                  submitterOrAction,
25024                  formData
25025                ));
25026            }
25027          }
25028        ));
25029    }
25030    function retryIfBlockedOn(unblocked) {
25031      function unblock(queuedEvent) {
25032        return scheduleCallbackIfUnblocked(queuedEvent, unblocked);
25033      }
25034      null !== queuedFocus &&
25035        scheduleCallbackIfUnblocked(queuedFocus, unblocked);
25036      null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked);
25037      null !== queuedMouse &&
25038        scheduleCallbackIfUnblocked(queuedMouse, unblocked);
25039      queuedPointers.forEach(unblock);
25040      queuedPointerCaptures.forEach(unblock);
25041      for (var i = 0; i < queuedExplicitHydrationTargets.length; i++) {
25042        var queuedTarget = queuedExplicitHydrationTargets[i];
25043        queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null);
25044      }
25045      for (
25046        ;
25047        0 < queuedExplicitHydrationTargets.length &&
25048        ((i = queuedExplicitHydrationTargets[0]), null === i.blockedOn);
25049
25050      )
25051        attemptExplicitHydrationTarget(i),
25052          null === i.blockedOn && queuedExplicitHydrationTargets.shift();
25053      i = (unblocked.ownerDocument || unblocked).$$reactFormReplay;
25054      if (null != i)
25055        for (queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3) {
25056          var form = i[queuedTarget],
25057            submitterOrAction = i[queuedTarget + 1],
25058            formProps = form[internalPropsKey] || null;
25059          if ("function" === typeof submitterOrAction)
25060            formProps || scheduleReplayQueueIfNeeded(i);
25061          else if (formProps) {
25062            var action = null;
25063            if (
25064              submitterOrAction &&
25065              submitterOrAction.hasAttribute("formAction")
25066            )
25067              if (
25068                ((form = submitterOrAction),
25069                (formProps = submitterOrAction[internalPropsKey] || null))
25070              )
25071                action = formProps.formAction;
25072              else {
25073                if (null !== findInstanceBlockingTarget(form)) continue;
25074              }
25075            else action = formProps.action;
25076            "function" === typeof action
25077              ? (i[queuedTarget + 1] = action)
25078              : (i.splice(queuedTarget, 3), (queuedTarget -= 3));
25079            scheduleReplayQueueIfNeeded(i);
25080          }
25081        }
25082    }
25083    function ReactDOMRoot(internalRoot) {
25084      this._internalRoot = internalRoot;
25085    }
25086    function ReactDOMHydrationRoot(internalRoot) {
25087      this._internalRoot = internalRoot;
25088    }
25089    function warnIfReactDOMContainerInDEV(container) {
25090      container[internalContainerInstanceKey] &&
25091        (container._reactRootContainer
25092          ? console.error(
25093              "You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."
25094            )
25095          : console.error(
25096              "You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."
25097            ));
25098    }
25099    "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25100      "function" ===
25101        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
25102      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
25103    var Scheduler = __webpack_require__(/*! scheduler */ "./node_modules/scheduler/index.js"),
25104      React = __webpack_require__(/*! react */ "./node_modules/react/index.js"),
25105      ReactDOM = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js"),
25106      assign = Object.assign,
25107      REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"),
25108      REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
25109      REACT_PORTAL_TYPE = Symbol.for("react.portal"),
25110      REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
25111      REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
25112      REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
25113      REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
25114      REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
25115      REACT_CONTEXT_TYPE = Symbol.for("react.context"),
25116      REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
25117      REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
25118      REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
25119      REACT_MEMO_TYPE = Symbol.for("react.memo"),
25120      REACT_LAZY_TYPE = Symbol.for("react.lazy");
25121    Symbol.for("react.scope");
25122    var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
25123    Symbol.for("react.legacy_hidden");
25124    Symbol.for("react.tracing_marker");
25125    var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
25126    Symbol.for("react.view_transition");
25127    var MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
25128      REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
25129      isArrayImpl = Array.isArray,
25130      ReactSharedInternals =
25131        React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
25132      ReactDOMSharedInternals =
25133        ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
25134      NotPending = Object.freeze({
25135        pending: !1,
25136        data: null,
25137        method: null,
25138        action: null
25139      }),
25140      valueStack = [];
25141    var fiberStack = [];
25142    var index$jscomp$0 = -1,
25143      contextStackCursor = createCursor(null),
25144      contextFiberStackCursor = createCursor(null),
25145      rootInstanceStackCursor = createCursor(null),
25146      hostTransitionProviderCursor = createCursor(null),
25147      hasOwnProperty = Object.prototype.hasOwnProperty,
25148      scheduleCallback$3 = Scheduler.unstable_scheduleCallback,
25149      cancelCallback$1 = Scheduler.unstable_cancelCallback,
25150      shouldYield = Scheduler.unstable_shouldYield,
25151      requestPaint = Scheduler.unstable_requestPaint,
25152      now$1 = Scheduler.unstable_now,
25153      getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel,
25154      ImmediatePriority = Scheduler.unstable_ImmediatePriority,
25155      UserBlockingPriority = Scheduler.unstable_UserBlockingPriority,
25156      NormalPriority$1 = Scheduler.unstable_NormalPriority,
25157      LowPriority = Scheduler.unstable_LowPriority,
25158      IdlePriority = Scheduler.unstable_IdlePriority,
25159      log$1 = Scheduler.log,
25160      unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue,
25161      rendererID = null,
25162      injectedHook = null,
25163      injectedProfilingHooks = null,
25164      hasLoggedError = !1,
25165      isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__,
25166      clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,
25167      log = Math.log,
25168      LN2 = Math.LN2,
25169      nextTransitionLane = 256,
25170      nextRetryLane = 4194304,
25171      DiscreteEventPriority = 2,
25172      ContinuousEventPriority = 8,
25173      DefaultEventPriority = 32,
25174      IdleEventPriority = 268435456,
25175      randomKey = Math.random().toString(36).slice(2),
25176      internalInstanceKey = "__reactFiber$" + randomKey,
25177      internalPropsKey = "__reactProps$" + randomKey,
25178      internalContainerInstanceKey = "__reactContainer$" + randomKey,
25179      internalEventHandlersKey = "__reactEvents$" + randomKey,
25180      internalEventHandlerListenersKey = "__reactListeners$" + randomKey,
25181      internalEventHandlesSetKey = "__reactHandles$" + randomKey,
25182      internalRootNodeResourcesKey = "__reactResources$" + randomKey,
25183      internalHoistableMarker = "__reactMarker$" + randomKey,
25184      allNativeEvents = new Set(),
25185      registrationNameDependencies = {},
25186      possibleRegistrationNames = {},
25187      hasReadOnlyValue = {
25188        button: !0,
25189        checkbox: !0,
25190        image: !0,
25191        hidden: !0,
25192        radio: !0,
25193        reset: !0,
25194        submit: !0
25195      },
25196      VALID_ATTRIBUTE_NAME_REGEX = RegExp(
25197        "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
25197037D\\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]*$"
25198      ),
25199      illegalAttributeNameCache = {},
25200      validatedAttributeNameCache = {},
25201      disabledDepth = 0,
25202      prevLog,
25203      prevInfo,
25204      prevWarn,
25205      prevError,
25206      prevGroup,
25207      prevGroupCollapsed,
25208      prevGroupEnd;
25209    disabledLog.__reactDisabledLog = !0;
25210    var prefix,
25211      suffix,
25212      reentry = !1;
25213    var componentFrameCache = new (
25214      "function" === typeof WeakMap ? WeakMap : Map
25215    )();
25216    var current = null,
25217      isRendering = !1,
25218      escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\n"\\]/g,
25219      didWarnValueDefaultValue$1 = !1,
25220      didWarnCheckedDefaultChecked = !1,
25221      didWarnSelectedSetOnOption = !1,
25222      didWarnInvalidChild = !1,
25223      didWarnInvalidInnerHTML = !1;
25224    var didWarnValueDefaultValue = !1;
25225    var valuePropNames = ["value", "defaultValue"],
25226      didWarnValDefaultVal = !1,
25227      needsEscaping = /["'&<>\n\t]|^\s|\s$/,
25228      specialTags =
25229        "address applet area article aside base basefont bgsound blockquote body br button caption center col 
25229colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(
25230          " "
25231        ),
25232      inScopeTags =
25233        "applet caption html table td th marquee object template foreignObject desc title".split(
25234          " "
25235        ),
25236      buttonScopeTags = inScopeTags.concat(["button"]),
25237      impliedEndTags = "dd dt li option optgroup p rp rt".split(" "),
25238      emptyAncestorInfoDev = {
25239        current: null,
25240        formTag: null,
25241        aTagInScope: null,
25242        buttonTagInScope: null,
25243        nobrTagInScope: null,
25244        pTagInButtonScope: null,
25245        listItemTagAutoclosing: null,
25246        dlItemTagAutoclosing: null,
25247        containerTagInScope: null,
25248        implicitRootScope: !1
25249      },
25250      didWarn = {},
25251      shorthandToLonghand = {
25252        animation:
25253          "animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(
25254            " "
25255          ),
25256        background:
25257          "backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(
25258            " "
25259          ),
25260        backgroundPosition: ["backgroundPositionX", "backgroundPositionY"],
25261        border:
25262          "borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(
25263            " "
25264          ),
25265        borderBlockEnd: [
25266          "borderBlockEndColor",
25267          "borderBlockEndStyle",
25268          "borderBlockEndWidth"
25269        ],
25270        borderBlockStart: [
25271          "borderBlockStartColor",
25272          "borderBlockStartStyle",
25273          "borderBlockStartWidth"
25274        ],
25275        borderBottom: [
25276          "borderBottomColor",
25277          "borderBottomStyle",
25278          "borderBottomWidth"
25279        ],
25280        borderColor: [
25281          "borderBottomColor",
25282          "borderLeftColor",
25283          "borderRightColor",
25284          "borderTopColor"
25285        ],
25286        borderImage: [
25287          "borderImageOutset",
25288          "borderImageRepeat",
25289          "borderImageSlice",
25290          "borderImageSource",
25291          "borderImageWidth"
25292        ],
25293        borderInlineEnd: [
25294          "borderInlineEndColor",
25295          "borderInlineEndStyle",
25296          "borderInlineEndWidth"
25297        ],
25298        borderInlineStart: [
25299          "borderInlineStartColor",
25300          "borderInlineStartStyle",
25301          "borderInlineStartWidth"
25302        ],
25303        borderLeft: ["borderLeftColor", "borderLeftStyle", "borderLeftWidth"],
25304        borderRadius: [
25305          "borderBottomLeftRadius",
25306          "borderBottomRightRadius",
25307          "borderTopLeftRadius",
25308          "borderTopRightRadius"
25309        ],
25310        borderRight: [
25311          "borderRightColor",
25312          "borderRightStyle",
25313          "borderRightWidth"
25314        ],
25315        borderStyle: [
25316          "borderBottomStyle",
25317          "borderLeftStyle",
25318          "borderRightStyle",
25319          "borderTopStyle"
25320        ],
25321        borderTop: ["borderTopColor", "borderTopStyle", "borderTopWidth"],
25322        borderWidth: [
25323          "borderBottomWidth",
25324          "borderLeftWidth",
25325          "borderRightWidth",
25326          "borderTopWidth"
25327        ],
25328        columnRule: ["columnRuleColor", "columnRuleStyle", "columnRuleWidth"],
25329        columns: ["columnCount", "columnWidth"],
25330        flex: ["flexBasis", "flexGrow", "flexShrink"],
25331        flexFlow: ["flexDirection", "flexWrap"],
25332        font: "fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(
25333          " "
25334        ),
25335        fontVariant:
25336          "fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(
25337            " "
25338          ),
25339        gap: ["columnGap", "rowGap"],
25340        grid: "gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(
25341          " "
25342        ),
25343        gridArea: [
25344          "gridColumnEnd",
25345          "gridColumnStart",
25346          "gridRowEnd",
25347          "gridRowStart"
25348        ],
25349        gridColumn: ["gridColumnEnd", "gridColumnStart"],
25350        gridColumnGap: ["columnGap"],
25351        gridGap: ["columnGap", "rowGap"],
25352        gridRow: ["gridRowEnd", "gridRowStart"],
25353        gridRowGap: ["rowGap"],
25354        gridTemplate: [
25355          "gridTemplateAreas",
25356          "gridTemplateColumns",
25357          "gridTemplateRows"
25358        ],
25359        listStyle: ["listStyleImage", "listStylePosition", "listStyleType"],
25360        margin: ["marginBottom", "marginLeft", "marginRight", "marginTop"],
25361        marker: ["markerEnd", "markerMid", "markerStart"],
25362        mask: "maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(
25363          " "
25364        ),
25365        maskPosition: ["maskPositionX", "maskPositionY"],
25366        outline: ["outlineColor", "outlineStyle", "outlineWidth"],
25367        overflow: ["overflowX", "overflowY"],
25368        padding: ["paddingBottom", "paddingLeft", "paddingRight", "paddingTop"],
25369        placeContent: ["alignContent", "justifyContent"],
25370        placeItems: ["alignItems", "justifyItems"],
25371        placeSelf: ["alignSelf", "justifySelf"],
25372        textDecoration: [
25373          "textDecorationColor",
25374          "textDecorationLine",
25375          "textDecorationStyle"
25376        ],
25377        textEmphasis: ["textEmphasisColor", "textEmphasisStyle"],
25378        transition: [
25379          "transitionDelay",
25380          "transitionDuration",
25381          "transitionProperty",
25382          "transitionTimingFunction"
25383        ],
25384        wordWrap: ["overflowWrap"]
25385      },
25386      uppercasePattern = /([A-Z])/g,
25387      msPattern$1 = /^ms-/,
25388      badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/,
25389      msPattern = /^-ms-/,
25390      hyphenPattern = /-(.)/g,
25391      badStyleValueWithSemicolonPattern = /;\s*$/,
25392      warnedStyleNames = {},
25393      warnedStyleValues = {},
25394      warnedForNaNValue = !1,
25395      warnedForInfinityValue = !1,
25396      unitlessNumbers = new Set(
25397        "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
25398          " "
25399        )
25400      ),
25401      MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
25402      SVG_NAMESPACE = "http://www.w3.org/2000/svg",
25403      aliases = new Map([
25404        ["acceptCharset", "accept-charset"],
25405        ["htmlFor", "for"],
25406        ["httpEquiv", "http-equiv"],
25407        ["crossOrigin", "crossorigin"],
25408        ["accentHeight", "accent-height"],
25409        ["alignmentBaseline", "alignment-baseline"],
25410        ["arabicForm", "arabic-form"],
25411        ["baselineShift", "baseline-shift"],
25412        ["capHeight", "cap-height"],
25413        ["clipPath", "clip-path"],
25414        ["clipRule", "clip-rule"],
25415        ["colorInterpolation", "color-interpolation"],
25416        ["colorInterpolationFilters", "color-interpolation-filters"],
25417        ["colorProfile", "color-profile"],
vendor: 5,201 bytes, lines 25418-25556
25418        ["colorRendering", "color-rendering"],
25419        ["dominantBaseline", "dominant-baseline"],
25420        ["enableBackground", "enable-background"],
25421        ["fillOpacity", "fill-opacity"],
25422        ["fillRule", "fill-rule"],
25423        ["floodColor", "flood-color"],
25424        ["floodOpacity", "flood-opacity"],
25425        ["fontFamily", "font-family"],
25426        ["fontSize", "font-size"],
25427        ["fontSizeAdjust", "font-size-adjust"],
25428        ["fontStretch", "font-stretch"],
25429        ["fontStyle", "font-style"],
25430        ["fontVariant", "font-variant"],
25431        ["fontWeight", "font-weight"],
25432        ["glyphName", "glyph-name"],
25433        ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],
25434        ["glyphOrientationVertical", "glyph-orientation-vertical"],
25435        ["horizAdvX", "horiz-adv-x"],
25436        ["horizOriginX", "horiz-origin-x"],
25437        ["imageRendering", "image-rendering"],
25438        ["letterSpacing", "letter-spacing"],
25439        ["lightingColor", "lighting-color"],
25440        ["markerEnd", "marker-end"],
25441        ["markerMid", "marker-mid"],
25442        ["markerStart", "marker-start"],
25443        ["overlinePosition", "overline-position"],
25444        ["overlineThickness", "overline-thickness"],
25445        ["paintOrder", "paint-order"],
25446        ["panose-1", "panose-1"],
25447        ["pointerEvents", "pointer-events"],
25448        ["renderingIntent", "rendering-intent"],
25449        ["shapeRendering", "shape-rendering"],
25450        ["stopColor", "stop-color"],
25451        ["stopOpacity", "stop-opacity"],
25452        ["strikethroughPosition", "strikethrough-position"],
25453        ["strikethroughThickness", "strikethrough-thickness"],
25454        ["strokeDasharray", "stroke-dasharray"],
25455        ["strokeDashoffset", "stroke-dashoffset"],
25456        ["strokeLinecap", "stroke-linecap"],
25457        ["strokeLinejoin", "stroke-linejoin"],
25458        ["strokeMiterlimit", "stroke-miterlimit"],
25459        ["strokeOpacity", "stroke-opacity"],
25460        ["strokeWidth", "stroke-width"],
25461        ["textAnchor", "text-anchor"],
25462        ["textDecoration", "text-decoration"],
25463        ["textRendering", "text-rendering"],
25464        ["transformOrigin", "transform-origin"],
25465        ["underlinePosition", "underline-position"],
25466        ["underlineThickness", "underline-thickness"],
25467        ["unicodeBidi", "unicode-bidi"],
25468        ["unicodeRange", "unicode-range"],
25469        ["unitsPerEm", "units-per-em"],
25470        ["vAlphabetic", "v-alphabetic"],
25471        ["vHanging", "v-hanging"],
25472        ["vIdeographic", "v-ideographic"],
25473        ["vMathematical", "v-mathematical"],
25474        ["vectorEffect", "vector-effect"],
25475        ["vertAdvY", "vert-adv-y"],
25476        ["vertOriginX", "vert-origin-x"],
25477        ["vertOriginY", "vert-origin-y"],
25478        ["wordSpacing", "word-spacing"],
25479        ["writingMode", "writing-mode"],
25480        ["xmlnsXlink", "xmlns:xlink"],
25481        ["xHeight", "x-height"]
25482      ]),
25483      possibleStandardNames = {
25484        accept: "accept",
25485        acceptcharset: "acceptCharset",
25486        "accept-charset": "acceptCharset",
25487        accesskey: "accessKey",
25488        action: "action",
25489        allowfullscreen: "allowFullScreen",
25490        alt: "alt",
25491        as: "as",
25492        async: "async",
25493        autocapitalize: "autoCapitalize",
25494        autocomplete: "autoComplete",
25495        autocorrect: "autoCorrect",
25496        autofocus: "autoFocus",
25497        autoplay: "autoPlay",
25498        autosave: "autoSave",
25499        capture: "capture",
25500        cellpadding: "cellPadding",
25501        cellspacing: "cellSpacing",
25502        challenge: "challenge",
25503        charset: "charSet",
25504        checked: "checked",
25505        children: "children",
25506        cite: "cite",
25507        class: "className",
25508        classid: "classID",
25509        classname: "className",
25510        cols: "cols",
25511        colspan: "colSpan",
25512        content: "content",
25513        contenteditable: "contentEditable",
25514        contextmenu: "contextMenu",
25515        controls: "controls",
25516        controlslist: "controlsList",
25517        coords: "coords",
25518        crossorigin: "crossOrigin",
25519        dangerouslysetinnerhtml: "dangerouslySetInnerHTML",
25520        data: "data",
25521        datetime: "dateTime",
25522        default: "default",
25523        defaultchecked: "defaultChecked",
25524        defaultvalue: "defaultValue",
25525        defer: "defer",
25526        dir: "dir",
25527        disabled: "disabled",
25528        disablepictureinpicture: "disablePictureInPicture",
25529        disableremoteplayback: "disableRemotePlayback",
25530        download: "download",
25531        draggable: "draggable",
25532        enctype: "encType",
25533        enterkeyhint: "enterKeyHint",
25534        fetchpriority: "fetchPriority",
25535        for: "htmlFor",
25536        form: "form",
25537        formmethod: "formMethod",
25538        formaction: "formAction",
25539        formenctype: "formEncType",
25540        formnovalidate: "formNoValidate",
25541        formtarget: "formTarget",
25542        frameborder: "frameBorder",
25543        headers: "headers",
25544        height: "height",
25545        hidden: "hidden",
25546        high: "high",
25547        href: "href",
25548        hreflang: "hrefLang",
25549        htmlfor: "htmlFor",
25550        httpequiv: "httpEquiv",
25551        "http-equiv": "httpEquiv",
25552        icon: "icon",
25553        id: "id",
25554        imagesizes: "imageSizes",
25555        imagesrcset: "imageSrcSet",
25556        inert: "inert",
25557        innerhtml: "innerHTML",
25558        inputmode: "inputMode",
25559        integrity: "integrity",
25560        is: "is",
25561        itemid: "itemID",
25562        itemprop: "itemProp",
25563        itemref: "itemRef",
25564        itemscope: "itemScope",
25565        itemtype: "itemType",
25566        keyparams: "keyParams",
25567        keytype: "keyType",
25568        kind: "kind",
25569        label: "label",
25570        lang: "lang",
25571        list: "list",
25572        loop: "loop",
25573        low: "low",
25574        manifest: "manifest",
25575        marginwidth: "marginWidth",
25576        marginheight: "marginHeight",
25577        max: "max",
25578        maxlength: "maxLength",
25579        media: "media",
25580        mediagroup: "mediaGroup",
25581        method: "method",
25582        min: "min",
25583        minlength: "minLength",
25584        multiple: "multiple",
25585        muted: "muted",
25586        name: "name",
25587        nomodule: "noModule",
25588        nonce: "nonce",
25589        novalidate: "noValidate",
25590        open: "open",
25591        optimum: "optimum",
25592        pattern: "pattern",
25593        placeholder: "placeholder",
25594        playsinline: "playsInline",
25595        poster: "poster",
25596        preload: "preload",
25597        profile: "profile",
25598        radiogroup: "radioGroup",
25599        readonly: "readOnly",
25600        referrerpolicy: "referrerPolicy",
25601        rel: "rel",
25602        required: "required",
25603        reversed: "reversed",
25604        role: "role",
25605        rows: "rows",
25606        rowspan: "rowSpan",
25607        sandbox: "sandbox",
25608        scope: "scope",
25609        scoped: "scoped",
25610        scrolling: "scrolling",
25611        seamless: "seamless",
25612        selected: "selected",
25613        shape: "shape",
25614        size: "size",
25615        sizes: "sizes",
25616        span: "span",
25617        spellcheck: "spellCheck",
25618        src: "src",
25619        srcdoc: "srcDoc",
25620        srclang: "srcLang",
25621        srcset: "srcSet",
25622        start: "start",
25623        step: "step",
25624        style: "style",
25625        summary: "summary",
25626        tabindex: "tabIndex",
25627        target: "target",
25628        title: "title",
25629        type: "type",
25630        usemap: "useMap",
25631        value: "value",
25632        width: "width",
25633        wmode: "wmode",
25634        wrap: "wrap",
25635        about: "about",
25636        accentheight: "accentHeight",
25637        "accent-height": "accentHeight",
25638        accumulate: "accumulate",
25639        additive: "additive",
25640        alignmentbaseline: "alignmentBaseline",
25641        "alignment-baseline": "alignmentBaseline",
25642        allowreorder: "allowReorder",
25643        alphabetic: "alphabetic",
25644        amplitude: "amplitude",
25645        arabicform: "arabicForm",
25646        "arabic-form": "arabicForm",
25647        ascent: "ascent",
25648        attributename: "attributeName",
25649        attributetype: "attributeType",
25650        autoreverse: "autoReverse",
25651        azimuth: "azimuth",
25652        basefrequency: "baseFrequency",
25653        baselineshift: "baselineShift",
25654        "baseline-shift": "baselineShift",
25655        baseprofile: "baseProfile",
25656        bbox: "bbox",
25657        begin: "begin",
25658        bias: "bias",
25659        by: "by",
25660        calcmode: "calcMode",
25661        capheight: "capHeight",
25662        "cap-height": "capHeight",
25663        clip: "clip",
25664        clippath: "clipPath",
25665        "clip-path": "clipPath",
25666        clippathunits: "clipPathUnits",
25667        cliprule: "clipRule",
25668        "clip-rule": "clipRule",
25669        color: "color",
25670        colorinterpolation: "colorInterpolation",
25671        "color-interpolation": "colorInterpolation",
25672        colorinterpolationfilters: "colorInterpolationFilters",
25673        "color-interpolation-filters": "colorInterpolationFilters",
25674        colorprofile: "colorProfile",
25675        "color-profile": "colorProfile",
25676        colorrendering: "colorRendering",
25677        "color-rendering": "colorRendering",
25678        contentscripttype: "contentScriptType",
25679        contentstyletype: "contentStyleType",
25680        cursor: "cursor",
25681        cx: "cx",
25682        cy: "cy",
25683        d: "d",
25684        datatype: "datatype",
25685        decelerate: "decelerate",
25686        descent: "descent",
25687        diffuseconstant: "diffuseConstant",
25688        direction: "direction",
25689        display: "display",
25690        divisor: "divisor",
25691        dominantbaseline: "dominantBaseline",
25692        "dominant-baseline": "dominantBaseline",
25693        dur: "dur",
25694        dx: "dx",
25695        dy: "dy",
25696        edgemode: "edgeMode",
25697        elevation: "elevation",
25698        enablebackground: "enableBackground",
25699        "enable-background": "enableBackground",
25700        end: "end",
25701        exponent: "exponent",
25702        externalresourcesrequired: "externalResourcesRequired",
25703        fill: "fill",
25704        fillopacity: "fillOpacity",
25705        "fill-opacity": "fillOpacity",
25706        fillrule: "fillRule",
25707        "fill-rule": "fillRule",
25708        filter: "filter",
25709        filterres: "filterRes",
25710        filterunits: "filterUnits",
25711        floodopacity: "floodOpacity",
25712        "flood-opacity": "floodOpacity",
25713        floodcolor: "floodColor",
25714        "flood-color": "floodColor",
25715        focusable: "focusable",
25716        fontfamily: "fontFamily",
25717        "font-family": "fontFamily",
25718        fontsize: "fontSize",
25719        "font-size": "fontSize",
25720        fontsizeadjust: "fontSizeAdjust",
25721        "font-size-adjust": "fontSizeAdjust",
25722        fontstretch: "fontStretch",
25723        "font-stretch": "fontStretch",
25724        fontstyle: "fontStyle",
25725        "font-style": "fontStyle",
25726        fontvariant: "fontVariant",
25727        "font-variant": "fontVariant",
25728        fontweight: "fontWeight",
25729        "font-weight": "fontWeight",
25730        format: "format",
25731        from: "from",
25732        fx: "fx",
25733        fy: "fy",
25734        g1: "g1",
25735        g2: "g2",
25736        glyphname: "glyphName",
25737        "glyph-name": "glyphName",
25738        glyphorientationhorizontal: "glyphOrientationHorizontal",
25739        "glyph-orientation-horizontal": "glyphOrientationHorizontal",
25740        glyphorientationvertical: "glyphOrientationVertical",
25741        "glyph-orientation-vertical": "glyphOrientationVertical",
25742        glyphref: "glyphRef",
25743        gradienttransform: "gradientTransform",
25744        gradientunits: "gradientUnits",
25745        hanging: "hanging",
25746        horizadvx: "horizAdvX",
25747        "horiz-adv-x": "horizAdvX",
25748        horizoriginx: "horizOriginX",
25749        "horiz-origin-x": "horizOriginX",
25750        ideographic: "ideographic",
25751        imagerendering: "imageRendering",
25752        "image-rendering": "imageRendering",
25753        in2: "in2",
25754        in: "in",
25755        inlist: "inlist",
25756        intercept: "intercept",
25757        k1: "k1",
25758        k2: "k2",
25759        k3: "k3",
25760        k4: "k4",
25761        k: "k",
25762        kernelmatrix: "kernelMatrix",
25763        kernelunitlength: "kernelUnitLength",
25764        kerning: "kerning",
25765        keypoints: "keyPoints",
25766        keysplines: "keySplines",
25767        keytimes: "keyTimes",
25768        lengthadjust: "lengthAdjust",
25769        letterspacing: "letterSpacing",
25770        "letter-spacing": "letterSpacing",
25771        lightingcolor: "lightingColor",
25772        "lighting-color": "lightingColor",
25773        limitingconeangle: "limitingConeAngle",
25774        local: "local",
25775        markerend: "markerEnd",
25776        "marker-end": "markerEnd",
25777        markerheight: "markerHeight",
25778        markermid: "markerMid",
25779        "marker-mid": "markerMid",
25780        markerstart: "markerStart",
25781        "marker-start": "markerStart",
25782        markerunits: "markerUnits",
25783        markerwidth: "markerWidth",
25784        mask: "mask",
25785        maskcontentunits: "maskContentUnits",
25786        maskunits: "maskUnits",
25787        mathematical: "mathematical",
25788        mode: "mode",
25789        numoctaves: "numOctaves",
25790        offset: "offset",
25791        opacity: "opacity",
25792        operator: "operator",
25793        order: "order",
25794        orient: "orient",
25795        orientation: "orientation",
25796        origin: "origin",
25797        overflow: "overflow",
25798        overlineposition: "overlinePosition",
25799        "overline-position": "overlinePosition",
25800        overlinethickness: "overlineThickness",
25801        "overline-thickness": "overlineThickness",
25802        paintorder: "paintOrder",
25803        "paint-order": "paintOrder",
25804        panose1: "panose1",
25805        "panose-1": "panose1",
25806        pathlength: "pathLength",
25807        patterncontentunits: "patternContentUnits",
25808        patterntransform: "patternTransform",
25809        patternunits: "patternUnits",
25810        pointerevents: "pointerEvents",
25811        "pointer-events": "pointerEvents",
25812        points: "points",
25813        pointsatx: "pointsAtX",
25814        pointsaty: "pointsAtY",
25815        pointsatz: "pointsAtZ",
25816        popover: "popover",
25817        popovertarget: "popoverTarget",
25818        popovertargetaction: "popoverTargetAction",
25819        prefix: "prefix",
25820        preservealpha: "preserveAlpha",
25821        preserveaspectratio: "preserveAspectRatio",
25822        primitiveunits: "primitiveUnits",
25823        property: "property",
25824        r: "r",
25825        radius: "radius",
25826        refx: "refX",
25827        refy: "refY",
25828        renderingintent: "renderingIntent",
25829        "rendering-intent": "renderingIntent",
25830        repeatcount: "repeatCount",
25831        repeatdur: "repeatDur",
25832        requiredextensions: "requiredExtensions",
25833        requiredfeatures: "requiredFeatures",
25834        resource: "resource",
25835        restart: "restart",
25836        result: "result",
25837        results: "results",
25838        rotate: "rotate",
25839        rx: "rx",
25840        ry: "ry",
25841        scale: "scale",
25842        security: "security",
25843        seed: "seed",
25844        shaperendering: "shapeRendering",
25845        "shape-rendering": "shapeRendering",
25846        slope: "slope",
25847        spacing: "spacing",
25848        specularconstant: "specularConstant",
25849        specularexponent: "specularExponent",
25850        speed: "speed",
25851        spreadmethod: "spreadMethod",
25852        startoffset: "startOffset",
25853        stddeviation: "stdDeviation",
25854        stemh: "stemh",
25855        stemv: "stemv",
25856        stitchtiles: "stitchTiles",
25857        stopcolor: "stopColor",
25858        "stop-color": "stopColor",
25859        stopopacity: "stopOpacity",
25860        "stop-opacity": "stopOpacity",
25861        strikethroughposition: "strikethroughPosition",
25862        "strikethrough-position": "strikethroughPosition",
25863        strikethroughthickness: "strikethroughThickness",
25864        "strikethrough-thickness": "strikethroughThickness",
25865        string: "string",
25866        stroke: "stroke",
25867        strokedasharray: "strokeDasharray",
25868        "stroke-dasharray": "strokeDasharray",
25869        strokedashoffset: "strokeDashoffset",
25870        "stroke-dashoffset": "strokeDashoffset",
25871        strokelinecap: "strokeLinecap",
25872        "stroke-linecap": "strokeLinecap",
25873        strokelinejoin: "strokeLinejoin",
25874        "stroke-linejoin": "strokeLinejoin",
25875        strokemiterlimit: "strokeMiterlimit",
25876        "stroke-miterlimit": "strokeMiterlimit",
25877        strokewidth: "strokeWidth",
25878        "stroke-width": "strokeWidth",
25879        strokeopacity: "strokeOpacity",
25880        "stroke-opacity": "strokeOpacity",
25881        suppresscontenteditablewarning: "suppressContentEditableWarning",
25882        suppresshydrationwarning: "suppressHydrationWarning",
25883        surfacescale: "surfaceScale",
25884        systemlanguage: "systemLanguage",
25885        tablevalues: "tableValues",
25886        targetx: "targetX",
25887        targety: "targetY",
25888        textanchor: "textAnchor",
25889        "text-anchor": "textAnchor",
25890        textdecoration: "textDecoration",
25891        "text-decoration": "textDecoration",
25892        textlength: "textLength",
25893        textrendering: "textRendering",
25894        "text-rendering": "textRendering",
25895        to: "to",
25896        transform: "transform",
25897        transformorigin: "transformOrigin",
25898        "transform-origin": "transformOrigin",
25899        typeof: "typeof",
25900        u1: "u1",
25901        u2: "u2",
25902        underlineposition: "underlinePosition",
25903        "underline-position": "underlinePosition",
25904        underlinethickness: "underlineThickness",
25905        "underline-thickness": "underlineThickness",
25906        unicode: "unicode",
25907        unicodebidi: "unicodeBidi",
25908        "unicode-bidi": "unicodeBidi",
25909        unicoderange: "unicodeRange",
25910        "unicode-range": "unicodeRange",
25911        unitsperem: "unitsPerEm",
25912        "units-per-em": "unitsPerEm",
25913        unselectable: "unselectable",
25914        valphabetic: "vAlphabetic",
25915        "v-alphabetic": "vAlphabetic",
25916        values: "values",
25917        vectoreffect: "vectorEffect",
25918        "vector-effect": "vectorEffect",
25919        version: "version",
25920        vertadvy: "vertAdvY",
25921        "vert-adv-y": "vertAdvY",
25922        vertoriginx: "vertOriginX",
25923        "vert-origin-x": "vertOriginX",
25924        vertoriginy: "vertOriginY",
25925        "vert-origin-y": "vertOriginY",
25926        vhanging: "vHanging",
25927        "v-hanging": "vHanging",
25928        videographic: "vIdeographic",
25929        "v-ideographic": "vIdeographic",
25930        viewbox: "viewBox",
25931        viewtarget: "viewTarget",
25932        visibility: "visibility",
25933        vmathematical: "vMathematical",
25934        "v-mathematical": "vMathematical",
25935        vocab: "vocab",
25936        widths: "widths",
25937        wordspacing: "wordSpacing",
25938        "word-spacing": "wordSpacing",
25939        writingmode: "writingMode",
25940        "writing-mode": "writingMode",
25941        x1: "x1",
25942        x2: "x2",
25943        x: "x",
25944        xchannelselector: "xChannelSelector",
25945        xheight: "xHeight",
25946        "x-height": "xHeight",
25947        xlinkactuate: "xlinkActuate",
25948        "xlink:actuate": "xlinkActuate",
25949        xlinkarcrole: "xlinkArcrole",
25950        "xlink:arcrole": "xlinkArcrole",
25951        xlinkhref: "xlinkHref",
25952        "xlink:href": "xlinkHref",
25953        xlinkrole: "xlinkRole",
25954        "xlink:role": "xlinkRole",
25955        xlinkshow: "xlinkShow",
25956        "xlink:show": "xlinkShow",
25957        xlinktitle: "xlinkTitle",
25958        "xlink:title": "xlinkTitle",
25959        xlinktype: "xlinkType",
25960        "xlink:type": "xlinkType",
25961        xmlbase: "xmlBase",
25962        "xml:base": "xmlBase",
25963        xmllang: "xmlLang",
25964        "xml:lang": "xmlLang",
25965        xmlns: "xmlns",
25966        "xml:space": "xmlSpace",
25967        xmlnsxlink: "xmlnsXlink",
25968        "xmlns:xlink": "xmlnsXlink",
25969        xmlspace: "xmlSpace",
25970        y1: "y1",
25971        y2: "y2",
25972        y: "y",
25973        ychannelselector: "yChannelSelector",
25974        z: "z",
25975        zoomandpan: "zoomAndPan"
25976      },
25977      ariaProperties = {
25978        "aria-current": 0,
25979        "aria-description": 0,
25980        "aria-details": 0,
25981        "aria-disabled": 0,
25982        "aria-hidden": 0,
25983        "aria-invalid": 0,
25984        "aria-keyshortcuts": 0,
25985        "aria-label": 0,
25986        "aria-roledescription": 0,
25987        "aria-autocomplete": 0,
25988        "aria-checked": 0,
25989        "aria-expanded": 0,
25990        "aria-haspopup": 0,
25991        "aria-level": 0,
25992        "aria-modal": 0,
25993        "aria-multiline": 0,
25994        "aria-multiselectable": 0,
25995        "aria-orientation": 0,
25996        "aria-placeholder": 0,
25997        "aria-pressed": 0,
25998        "aria-readonly": 0,
25999        "aria-required": 0,
26000        "aria-selected": 0,
26001        "aria-sort": 0,
26002        "aria-valuemax": 0,
26003        "aria-valuemin": 0,
26004        "aria-valuenow": 0,
26005        "aria-valuetext": 0,
26006        "aria-atomic": 0,
26007        "aria-busy": 0,
26008        "aria-live": 0,
26009        "aria-relevant": 0,
26010        "aria-dropeffect": 0,
26011        "aria-grabbed": 0,
26012        "aria-activedescendant": 0,
26013        "aria-colcount": 0,
26014        "aria-colindex": 0,
26015        "aria-colspan": 0,
26016        "aria-controls": 0,
26017        "aria-describedby": 0,
26018        "aria-errormessage": 0,
26019        "aria-flowto": 0,
26020        "aria-labelledby": 0,
26021        "aria-owns": 0,
26022        "aria-posinset": 0,
26023        "aria-rowcount": 0,
26024        "aria-rowindex": 0,
26025        "aria-rowspan": 0,
26026        "aria-setsize": 0
26027      },
26028      warnedProperties$1 = {},
26029      rARIA$1 = RegExp(
26030        "^(aria)-[: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]*$"
26031      ),
26032      rARIACamel$1 = RegExp(
26033        "^(aria)[A-Z][: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]*$"
26034      ),
26035      didWarnValueNull = !1,
26036      warnedProperties = {},
26037      EVENT_NAME_REGEX = /^on./,
26038      INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/,
26039      rARIA = RegExp(
26040        "^(aria)-[: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]*$"
26041      ),
26042      rARIACamel = RegExp(
26043        "^(aria)[A-Z][: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]*$"
26044      ),
26045      isJavaScriptProtocol =
26046        /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,
26047      currentReplayingEvent = null,
26048      restoreTarget = null,
26049      restoreQueue = null,
26050      isInsideEventHandler = !1,
26051      canUseDOM = !(
26052        "undefined" === typeof window ||
26053        "undefined" === typeof window.document ||
26054        "undefined" === typeof window.document.createElement
26055      ),
26056      passiveBrowserEventsSupported = !1;
26057    if (canUseDOM)
26058      try {
26059        var options$jscomp$0 = {};
26060        Object.defineProperty(options$jscomp$0, "passive", {
26061          get: function () {
26062            passiveBrowserEventsSupported = !0;
26063          }
26064        });
26065        window.addEventListener("test", options$jscomp$0, options$jscomp$0);
26066        window.removeEventListener("test", options$jscomp$0, options$jscomp$0);
26067      } catch (e) {
26068        passiveBrowserEventsSupported = !1;
26069      }
26070    var root = null,
26071      startText = null,
26072      fallbackText = null,
26073      EventInterface = {
26074        eventPhase: 0,
26075        bubbles: 0,
26076        cancelable: 0,
26077        timeStamp: function (event) {
26078          return event.timeStamp || Date.now();
26079        },
26080        defaultPrevented: 0,
26081        isTrusted: 0
26082      },
26083      SyntheticEvent = createSyntheticEvent(EventInterface),
26084      UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }),
26085      SyntheticUIEvent = createSyntheticEvent(UIEventInterface),
26086      lastMovementX,
26087      lastMovementY,
26088      lastMouseEvent,
26089      MouseEventInterface = assign({}, UIEventInterface, {
26090        screenX: 0,
26091        screenY: 0,
26092        clientX: 0,
26093        clientY: 0,
26094        pageX: 0,
26095        pageY: 0,
26096        ctrlKey: 0,
26097        shiftKey: 0,
26098        altKey: 0,
26099        metaKey: 0,
26100        getModifierState: getEventModifierState,
26101        button: 0,
26102        buttons: 0,
26103        relatedTarget: function (event) {
26104          return void 0 === event.relatedTarget
26105            ? event.fromElement === event.srcElement
26106              ? event.toElement
26107              : event.fromElement
26108            : event.relatedTarget;
26109        },
26110        movementX: function (event) {
26111          if ("movementX" in event) return event.movementX;
26112          event !== lastMouseEvent &&
26113            (lastMouseEvent && "mousemove" === event.type
26114              ? ((lastMovementX = event.screenX - lastMouseEvent.screenX),
26115                (lastMovementY = event.screenY - lastMouseEvent.screenY))
26116              : (lastMovementY = lastMovementX = 0),
26117            (lastMouseEvent = event));
26118          return lastMovementX;
26119        },
26120        movementY: function (event) {
26121          return "movementY" in event ? event.movementY : lastMovementY;
26122        }
26123      }),
26124      SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface),
26125      DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 }),
26126      SyntheticDragEvent = createSyntheticEvent(DragEventInterface),
26127      FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 }),
26128      SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface),
26129      AnimationEventInterface = assign({}, EventInterface, {
26130        animationName: 0,
26131        elapsedTime: 0,
26132        pseudoElement: 0
26133      }),
26134      SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface),
26135      ClipboardEventInterface = assign({}, EventInterface, {
26136        clipboardData: function (event) {
26137          return "clipboardData" in event
26138            ? event.clipboardData
26139            : window.clipboardData;
26140        }
26141      }),
26142      SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface),
26143      CompositionEventInterface = assign({}, EventInterface, { data: 0 }),
26144      SyntheticCompositionEvent = createSyntheticEvent(
26145        CompositionEventInterface
26146      ),
26147      SyntheticInputEvent = SyntheticCompositionEvent,
26148      normalizeKey = {
26149        Esc: "Escape",
26150        Spacebar: " ",
26151        Left: "ArrowLeft",
26152        Up: "ArrowUp",
26153        Right: "ArrowRight",
26154        Down: "ArrowDown",
26155        Del: "Delete",
26156        Win: "OS",
26157        Menu: "ContextMenu",
26158        Apps: "ContextMenu",
26159        Scroll: "ScrollLock",
26160        MozPrintableKey: "Unidentified"
26161      },
26162      translateToKey = {
26163        8: "Backspace",
26164        9: "Tab",
26165        12: "Clear",
26166        13: "Enter",
26167        16: "Shift",
26168        17: "Control",
26169        18: "Alt",
26170        19: "Pause",
26171        20: "CapsLock",
26172        27: "Escape",
26173        32: " ",
26174        33: "PageUp",
26175        34: "PageDown",
26176        35: "End",
26177        36: "Home",
26178        37: "ArrowLeft",
26179        38: "ArrowUp",
26180        39: "ArrowRight",
26181        40: "ArrowDown",
26182        45: "Insert",
26183        46: "Delete",
26184        112: "F1",
26185        113: "F2",
26186        114: "F3",
26187        115: "F4",
26188        116: "F5",
26189        117: "F6",
26190        118: "F7",
26191        119: "F8",
26192        120: "F9",
26193        121: "F10",
26194        122: "F11",
26195        123: "F12",
26196        144: "NumLock",
26197        145: "ScrollLock",
26198        224: "Meta"
26199      },
26200      modifierKeyToProp = {
26201        Alt: "altKey",
26202        Control: "ctrlKey",
26203        Meta: "metaKey",
26204        Shift: "shiftKey"
26205      },
26206      KeyboardEventInterface = assign({}, UIEventInterface, {
26207        key: function (nativeEvent) {
26208          if (nativeEvent.key) {
26209            var key = normalizeKey[nativeEvent.key] || nativeEvent.key;
26210            if ("Unidentified" !== key) return key;
26211          }
26212          return "keypress" === nativeEvent.type
26213            ? ((nativeEvent = getEventCharCode(nativeEvent)),
26214              13 === nativeEvent ? "Enter" : String.fromCharCode(nativeEvent))
26215            : "keydown" === nativeEvent.type || "keyup" === nativeEvent.type
26216              ? translateToKey[nativeEvent.keyCode] || "Unidentified"
26217              : "";
26218        },
26219        code: 0,
26220        location: 0,
26221        ctrlKey: 0,
26222        shiftKey: 0,
26223        altKey: 0,
26224        metaKey: 0,
26225        repeat: 0,
26226        locale: 0,
26227        getModifierState: getEventModifierState,
26228        charCode: function (event) {
26229          return "keypress" === event.type ? getEventCharCode(event) : 0;
26230        },
26231        keyCode: function (event) {
26232          return "keydown" === event.type || "keyup" === event.type
26233            ? event.keyCode
26234            : 0;
26235        },
26236        which: function (event) {
26237          return "keypress" === event.type
26238            ? getEventCharCode(event)
26239            : "keydown" === event.type || "keyup" === event.type
26240              ? event.keyCode
26241              : 0;
26242        }
26243      }),
26244      SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface),
26245      PointerEventInterface = assign({}, MouseEventInterface, {
26246        pointerId: 0,
26247        width: 0,
26248        height: 0,
26249        pressure: 0,
26250        tangentialPressure: 0,
26251        tiltX: 0,
26252        tiltY: 0,
26253        twist: 0,
26254        pointerType: 0,
26255        isPrimary: 0
26256      }),
26257      SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface),
26258      TouchEventInterface = assign({}, UIEventInterface, {
26259        touches: 0,
26260        targetTouches: 0,
26261        changedTouches: 0,
26262        altKey: 0,
26263        metaKey: 0,
26264        ctrlKey: 0,
26265        shiftKey: 0,
26266        getModifierState: getEventModifierState
26267      }),
26268      SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface),
26269      TransitionEventInterface = assign({}, EventInterface, {
26270        propertyName: 0,
26271        elapsedTime: 0,
26272        pseudoElement: 0
26273      }),
26274      SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface),
26275      WheelEventInterface = assign({}, MouseEventInterface, {
26276        deltaX: function (event) {
26277          return "deltaX" in event
26278            ? event.deltaX
26279            : "wheelDeltaX" in event
26280              ? -event.wheelDeltaX
26281              : 0;
26282        },
26283        deltaY: function (event) {
26284          return "deltaY" in event
26285            ? event.deltaY
26286            : "wheelDeltaY" in event
26287              ? -event.wheelDeltaY
26288              : "wheelDelta" in event
26289                ? -event.wheelDelta
26290                : 0;
26291        },
26292        deltaZ: 0,
26293        deltaMode: 0
26294      }),
26295      SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface),
26296      ToggleEventInterface = assign({}, EventInterface, {
26297        newState: 0,
26298        oldState: 0
26299      }),
26300      SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface),
26301      END_KEYCODES = [9, 13, 27, 32],
26302      START_KEYCODE = 229,
26303      canUseCompositionEvent = canUseDOM && "CompositionEvent" in window,
26304      documentMode = null;
26305    canUseDOM &&
26306      "documentMode" in document &&
26307      (documentMode = document.documentMode);
26308    var canUseTextInputEvent =
26309        canUseDOM && "TextEvent" in window && !documentMode,
26310      useFallbackCompositionData =
26311        canUseDOM &&
26312        (!canUseCompositionEvent ||
26313          (documentMode && 8 < documentMode && 11 >= documentMode)),
26314      SPACEBAR_CODE = 32,
26315      SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE),
26316      hasSpaceKeypress = !1,
26317      isComposing = !1,
26318      supportedInputTypes = {
26319        color: !0,
26320        date: !0,
26321        datetime: !0,
26322        "datetime-local": !0,
26323        email: !0,
26324        month: !0,
26325        number: !0,
26326        password: !0,
26327        range: !0,
26328        search: !0,
26329        tel: !0,
26330        text: !0,
26331        time: !0,
26332        url: !0,
26333        week: !0
26334      },
26335      activeElement$1 = null,
26336      activeElementInst$1 = null,
26337      isInputEventSupported = !1;
26338    canUseDOM &&
26339      (isInputEventSupported =
26340        isEventSupported("input") &&
26341        (!document.documentMode || 9 < document.documentMode));
26342    var objectIs = "function" === typeof Object.is ? Object.is : is,
26343      skipSelectionChangeEvent =
26344        canUseDOM && "documentMode" in document && 11 >= document.documentMode,
26345      activeElement = null,
26346      activeElementInst = null,
26347      lastSelection = null,
26348      mouseDown = !1,
26349      vendorPrefixes = {
26350        animationend: makePrefixMap("Animation", "AnimationEnd"),
26351        animationiteration: makePrefixMap("Animation", "AnimationIteration"),
26352        animationstart: makePrefixMap("Animation", "AnimationStart"),
26353        transitionrun: makePrefixMap("Transition", "TransitionRun"),
26354        transitionstart: makePrefixMap("Transition", "TransitionStart"),
26355        transitioncancel: makePrefixMap("Transition", "TransitionCancel"),
26356        transitionend: makePrefixMap("Transition", "TransitionEnd")
26357      },
26358      prefixedEventNames = {},
26359      style = {};
26360    canUseDOM &&
26361      ((style = document.createElement("div").style),
26362      "AnimationEvent" in window ||
26363        (delete vendorPrefixes.animationend.animation,
26364        delete vendorPrefixes.animationiteration.animation,
26365        delete vendorPrefixes.animationstart.animation),
26366      "TransitionEvent" in window ||
26367        delete vendorPrefixes.transitionend.transition);
26368    var ANIMATION_END = getVendorPrefixedEventName("animationend"),
26369      ANIMATION_ITERATION = getVendorPrefixedEventName("animationiteration"),
26370      ANIMATION_START = getVendorPrefixedEventName("animationstart"),
26371      TRANSITION_RUN = getVendorPrefixedEventName("transitionrun"),
26372      TRANSITION_START = getVendorPrefixedEventName("transitionstart"),
26373      TRANSITION_CANCEL = getVendorPrefixedEventName("transitioncancel"),
26374      TRANSITION_END = getVendorPrefixedEventName("transitionend"),
26375      topLevelEventsToReactNames = new Map(),
26376      simpleEventPluginEvents =
26377        "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
26378          " "
26379        );
26380    simpleEventPluginEvents.push("scrollEnd");
26381    var CapturedStacks = new WeakMap(),
26382      OffscreenVisible = 1,
26383      OffscreenPassiveEffectsConnected = 2,
26384      concurrentQueues = [],
26385      concurrentQueuesIndex = 0,
26386      concurrentlyUpdatedLanes = 0,
26387      emptyContextObject = {};
26388    Object.freeze(emptyContextObject);
26389    var resolveFamily = null,
26390      failedBoundaries = null,
26391      NoMode = 0,
26392      ConcurrentMode = 1,
26393      ProfileMode = 2,
26394      StrictLegacyMode = 8,
26395      StrictEffectsMode = 16,
26396      NoStrictPassiveEffectsMode = 64;
26397    var hasBadMapPolyfill = !1;
26398    try {
26399      var nonExtensibleObject = Object.preventExtensions({});
26400      new Map([[nonExtensibleObject, null]]);
26401      new Set([nonExtensibleObject]);
26402    } catch (e$3) {
26403      hasBadMapPolyfill = !0;
26404    }
26405    var forkStack = [],
26406      forkStackIndex = 0,
26407      treeForkProvider = null,
26408      treeForkCount = 0,
26409      idStack = [],
26410      idStackIndex = 0,
26411      treeContextProvider = null,
26412      treeContextId = 1,
26413      treeContextOverflow = "",
26414      hydrationParentFiber = null,
26415      nextHydratableInstance = null,
26416      isHydrating = !1,
26417      didSuspendOrErrorDEV = !1,
26418      hydrationDiffRootDEV = null,
26419      hydrationErrors = null,
26420      rootOrSingletonContext = !1,
26421      HydrationMismatchException = Error(
26422        "Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
26423      ),
26424      lastResetTime = 0;
26425    if (
26426      "object" === typeof performance &&
26427      "function" === typeof performance.now
26428    ) {
26429      var localPerformance = performance;
26430      var getCurrentTime = function () {
26431        return localPerformance.now();
26432      };
26433    } else {
26434      var localDate = Date;
26435      getCurrentTime = function () {
26436        return localDate.now();
26437      };
26438    }
26439    var valueCursor = createCursor(null);
26440    var rendererCursorDEV = createCursor(null);
26441    var rendererSigil = {};
26442    var currentlyRenderingFiber$1 = null,
26443      lastContextDependency = null,
26444      isDisallowedContextReadInDEV = !1,
26445      AbortControllerLocal =
26446        "undefined" !== typeof AbortController
26447          ? AbortController
26448          : function () {
26449              var listeners = [],
26450                signal = (this.signal = {
26451                  aborted: !1,
26452                  addEventListener: function (type, listener) {
26453                    listeners.push(listener);
26454                  }
26455                });
26456              this.abort = function () {
26457                signal.aborted = !0;
26458                listeners.forEach(function (listener) {
26459                  return listener();
26460                });
26461              };
26462            },
26463      scheduleCallback$2 = Scheduler.unstable_scheduleCallback,
26464      NormalPriority = Scheduler.unstable_NormalPriority,
26465      CacheContext = {
26466        $$typeof: REACT_CONTEXT_TYPE,
26467        Consumer: null,
26468        Provider: null,
26469        _currentValue: null,
26470        _currentValue2: null,
26471        _threadCount: 0,
26472        _currentRenderer: null,
26473        _currentRenderer2: null
26474      },
26475      now = Scheduler.unstable_now,
26476      renderStartTime = -0,
26477      commitStartTime = -0,
26478      profilerStartTime = -1.1,
26479      profilerEffectDuration = -0,
26480      currentUpdateIsNested = !1,
26481      nestedUpdateScheduled = !1,
26482      currentEntangledListeners = null,
26483      currentEntangledPendingCount = 0,
26484      currentEntangledLane = 0,
26485      currentEntangledActionThenable = null,
26486      prevOnStartTransitionFinish = ReactSharedInternals.S;
26487    ReactSharedInternals.S = function (transition, returnValue) {
26488      "object" === typeof returnValue &&
26489        null !== returnValue &&
26490        "function" === typeof returnValue.then &&
26491        entangleAsyncAction(transition, returnValue);
26492      null !== prevOnStartTransitionFinish &&
26493        prevOnStartTransitionFinish(transition, returnValue);
26494    };
26495    var resumedCache = createCursor(null),
26496      ReactStrictModeWarnings = {
26497        recordUnsafeLifecycleWarnings: function () {},
26498        flushPendingUnsafeLifecycleWarnings: function () {},
26499        recordLegacyContextWarning: function () {},
26500        flushLegacyContextWarning: function () {},
26501        discardPendingWarnings: function () {}
26502      },
26503      pendingComponentWillMountWarnings = [],
26504      pendingUNSAFE_ComponentWillMountWarnings = [],
26505      pendingComponentWillReceivePropsWarnings = [],
26506      pendingUNSAFE_ComponentWillReceivePropsWarnings = [],
26507      pendingComponentWillUpdateWarnings = [],
26508      pendingUNSAFE_ComponentWillUpdateWarnings = [],
26509      didWarnAboutUnsafeLifecycles = new Set();
26510    ReactStrictModeWarnings.recordUnsafeLifecycleWarnings = function (
26511      fiber,
26512      instance
26513    ) {
26514      didWarnAboutUnsafeLifecycles.has(fiber.type) ||
26515        ("function" === typeof instance.componentWillMount &&
26516          !0 !== instance.componentWillMount.__suppressDeprecationWarning &&
26517          pendingComponentWillMountWarnings.push(fiber),
26518        fiber.mode & StrictLegacyMode &&
26519          "function" === typeof instance.UNSAFE_componentWillMount &&
26520          pendingUNSAFE_ComponentWillMountWarnings.push(fiber),
26521        "function" === typeof instance.componentWillReceiveProps &&
26522          !0 !==
26523            instance.componentWillReceiveProps.__suppressDeprecationWarning &&
26524          pendingComponentWillReceivePropsWarnings.push(fiber),
26525        fiber.mode & StrictLegacyMode &&
26526          "function" === typeof instance.UNSAFE_componentWillReceiveProps &&
26527          pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber),
26528        "function" === typeof instance.componentWillUpdate &&
26529          !0 !== instance.componentWillUpdate.__suppressDeprecationWarning &&
26530          pendingComponentWillUpdateWarnings.push(fiber),
26531        fiber.mode & StrictLegacyMode &&
26532          "function" === typeof instance.UNSAFE_componentWillUpdate &&
26533          pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber));
26534    };
26535    ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings = function () {
26536      var componentWillMountUniqueNames = new Set();
26537      0 < pendingComponentWillMountWarnings.length &&
26538        (pendingComponentWillMountWarnings.forEach(function (fiber) {
26539          componentWillMountUniqueNames.add(
26540            getComponentNameFromFiber(fiber) || "Component"
26541          );
26542          didWarnAboutUnsafeLifecycles.add(fiber.type);
26543        }),
26544        (pendingComponentWillMountWarnings = []));
26545      var UNSAFE_componentWillMountUniqueNames = new Set();
26546      0 < pendingUNSAFE_ComponentWillMountWarnings.length &&
26547        (pendingUNSAFE_ComponentWillMountWarnings.forEach(function (fiber) {
26548          UNSAFE_componentWillMountUniqueNames.add(
26549            getComponentNameFromFiber(fiber) || "Component"
26550          );
26551          didWarnAboutUnsafeLifecycles.add(fiber.type);
26552        }),
26553        (pendingUNSAFE_ComponentWillMountWarnings = []));
26554      var componentWillReceivePropsUniqueNames = new Set();
26555      0 < pendingComponentWillReceivePropsWarnings.length &&
26556        (pendingComponentWillReceivePropsWarnings.forEach(function (fiber) {
26557          componentWillReceivePropsUniqueNames.add(
26558            getComponentNameFromFiber(fiber) || "Component"
26559          );
26560          didWarnAboutUnsafeLifecycles.add(fiber.type);
26561        }),
26562        (pendingComponentWillReceivePropsWarnings = []));
26563      var UNSAFE_componentWillReceivePropsUniqueNames = new Set();
26564      0 < pendingUNSAFE_ComponentWillReceivePropsWarnings.length &&
26565        (pendingUNSAFE_ComponentWillReceivePropsWarnings.forEach(
26566          function (fiber) {
26567            UNSAFE_componentWillReceivePropsUniqueNames.add(
26568              getComponentNameFromFiber(fiber) || "Component"
26569            );
26570            didWarnAboutUnsafeLifecycles.add(fiber.type);
26571          }
26572        ),
26573        (pendingUNSAFE_ComponentWillReceivePropsWarnings = []));
26574      var componentWillUpdateUniqueNames = new Set();
26575      0 < pendingComponentWillUpdateWarnings.length &&
26576        (pendingComponentWillUpdateWarnings.forEach(function (fiber) {
26577          componentWillUpdateUniqueNames.add(
26578            getComponentNameFromFiber(fiber) || "Component"
26579          );
26580          didWarnAboutUnsafeLifecycles.add(fiber.type);
26581        }),
26582        (pendingComponentWillUpdateWarnings = []));
26583      var UNSAFE_componentWillUpdateUniqueNames = new Set();
26584      0 < pendingUNSAFE_ComponentWillUpdateWarnings.length &&
26585        (pendingUNSAFE_ComponentWillUpdateWarnings.forEach(function (fiber) {
26586          UNSAFE_componentWillUpdateUniqueNames.add(
26587            getComponentNameFromFiber(fiber) || "Component"
26588          );
26589          didWarnAboutUnsafeLifecycles.add(fiber.type);
26590        }),
26591        (pendingUNSAFE_ComponentWillUpdateWarnings = []));
26592      if (0 < UNSAFE_componentWillMountUniqueNames.size) {
26593        var sortedNames = setToSortedString(
26594          UNSAFE_componentWillMountUniqueNames
26595        );
26596        console.error(
26597          "Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",
26598          sortedNames
26599        );
26600      }
26601      0 < UNSAFE_componentWillReceivePropsUniqueNames.size &&
26602        ((sortedNames = setToSortedString(
26603          UNSAFE_componentWillReceivePropsUniqueNames
26604        )),
26605        console.error(
26606          "Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n\nPlease update the following components: %s",
26607          sortedNames
26608        ));
26609      0 < UNSAFE_componentWillUpdateUniqueNames.size &&
26610        ((sortedNames = setToSortedString(
26611          UNSAFE_componentWillUpdateUniqueNames
26612        )),
26613        console.error(
26614          "Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",
26615          sortedNames
26616        ));
26617      0 < componentWillMountUniqueNames.size &&
26618        ((sortedNames = setToSortedString(componentWillMountUniqueNames)),
26619        console.warn(
26620          "componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",
26621          sortedNames
26622        ));
26623      0 < componentWillReceivePropsUniqueNames.size &&
26624        ((sortedNames = setToSortedString(
26625          componentWillReceivePropsUniqueNames
26626        )),
26627        console.warn(
26628          "componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your co
26628de to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",
26629          sortedNames
26630        ));
26631      0 < componentWillUpdateUniqueNames.size &&
26632        ((sortedNames = setToSortedString(componentWillUpdateUniqueNames)),
26633        console.warn(
26634          "componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",
26635          sortedNames
26636        ));
26637    };
26638    var pendingLegacyContextWarning = new Map(),
26639      didWarnAboutLegacyContext = new Set();
26640    ReactStrictModeWarnings.recordLegacyContextWarning = function (
26641      fiber,
26642      instance
26643    ) {
26644      var strictRoot = null;
26645      for (var node = fiber; null !== node; )
26646        node.mode & StrictLegacyMode && (strictRoot = node),
26647          (node = node.return);
26648      null === strictRoot
26649        ? console.error(
26650            "Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."
26651          )
26652        : !didWarnAboutLegacyContext.has(fiber.type) &&
26653          ((node = pendingLegacyContextWarning.get(strictRoot)),
26654          null != fiber.type.contextTypes ||
26655            null != fiber.type.childContextTypes ||
26656            (null !== instance &&
26657              "function" === typeof instance.getChildContext)) &&
26658          (void 0 === node &&
26659            ((node = []), pendingLegacyContextWarning.set(strictRoot, node)),
26660          node.push(fiber));
26661    };
26662    ReactStrictModeWarnings.flushLegacyContextWarning = function () {
26663      pendingLegacyContextWarning.forEach(function (fiberArray) {
26664        if (0 !== fiberArray.length) {
26665          var firstFiber = fiberArray[0],
26666            uniqueNames = new Set();
26667          fiberArray.forEach(function (fiber) {
26668            uniqueNames.add(getComponentNameFromFiber(fiber) || "Component");
26669            didWarnAboutLegacyContext.add(fiber.type);
26670          });
26671          var sortedNames = setToSortedString(uniqueNames);
26672          runWithFiberInDEV(firstFiber, function () {
26673            console.error(
26674              "Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://react.dev/link/legacy-context",
26675              sortedNames
26676            );
26677          });
26678        }
26679      });
26680    };
26681    ReactStrictModeWarnings.discardPendingWarnings = function () {
26682      pendingComponentWillMountWarnings = [];
26683      pendingUNSAFE_ComponentWillMountWarnings = [];
26684      pendingComponentWillReceivePropsWarnings = [];
26685      pendingUNSAFE_ComponentWillReceivePropsWarnings = [];
26686      pendingComponentWillUpdateWarnings = [];
26687      pendingUNSAFE_ComponentWillUpdateWarnings = [];
26688      pendingLegacyContextWarning = new Map();
26689    };
26690    var SuspenseException = Error(
26691        "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
26692      ),
26693      SuspenseyCommitException = Error(
26694        "Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
26695      ),
26696      SuspenseActionException = Error(
26697        "Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
26698      ),
26699      noopSuspenseyCommitThenable = {
26700        then: function () {
26701          console.error(
26702            'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
26703          );
26704        }
26705      },
26706      suspendedThenable = null,
26707      needsToResetSuspendedThenableDEV = !1,
26708      NoFlags = 0,
26709      HasEffect = 1,
26710      Insertion = 2,
26711      Layout = 4,
26712      Passive = 8,
26713      UpdateState = 0,
26714      ReplaceState = 1,
26715      ForceUpdate = 2,
26716      CaptureUpdate = 3,
26717      hasForceUpdate = !1;
26718    var didWarnUpdateInsideUpdate = !1;
26719    var currentlyProcessingQueue = null;
26720    var didReadFromEntangledAsyncAction = !1,
26721      currentTreeHiddenStackCursor = createCursor(null),
26722      prevEntangledRenderLanesCursor = createCursor(0),
26723      didWarnUncachedGetSnapshot;
26724    var didWarnAboutMismatchedHooksForComponent = new Set();
26725    var didWarnAboutUseWrappedInTryCatch = new Set();
26726    var didWarnAboutAsyncClientComponent = new Set();
26727    var didWarnAboutUseFormState = new Set();
26728    var renderLanes = 0,
26729      currentlyRenderingFiber = null,
26730      currentHook = null,
26731      workInProgressHook = null,
26732      didScheduleRenderPhaseUpdate = !1,
26733      didScheduleRenderPhaseUpdateDuringThisPass = !1,
26734      shouldDoubleInvokeUserFnsInHooksDEV = !1,
26735      localIdCounter = 0,
26736      thenableIndexCounter$1 = 0,
26737      thenableState$1 = null,
26738      globalClientIdCounter = 0,
26739      RE_RENDER_LIMIT = 25,
26740      currentHookNameInDev = null,
26741      hookTypesDev = null,
26742      hookTypesUpdateIndexDev = -1,
26743      ignorePreviousDependencies = !1,
26744      ContextOnlyDispatcher = {
26745        readContext: readContext,
26746        use: use,
26747        useCallback: throwInvalidHookError,
26748        useContext: throwInvalidHookError,
26749        useEffect: throwInvalidHookError,
26750        useImperativeHandle: throwInvalidHookError,
26751        useLayoutEffect: throwInvalidHookError,
26752        useInsertionEffect: throwInvalidHookError,
26753        useMemo: throwInvalidHookError,
26754        useReducer: throwInvalidHookError,
26755        useRef: throwInvalidHookError,
26756        useState: throwInvalidHookError,
26757        useDebugValue: throwInvalidHookError,
26758        useDeferredValue: throwInvalidHookError,
26759        useTransition: throwInvalidHookError,
26760        useSyncExternalStore: throwInvalidHookError,
26761        useId: throwInvalidHookError,
26762        useHostTransitionStatus: throwInvalidHookError,
26763        useFormState: throwInvalidHookError,
26764        useActionState: throwInvalidHookError,
26765        useOptimistic: throwInvalidHookError,
26766        useMemoCache: throwInvalidHookError,
26767        useCacheRefresh: throwInvalidHookError
26768      },
26769      HooksDispatcherOnMountInDEV = null,
26770      HooksDispatcherOnMountWithHookTypesInDEV = null,
26771      HooksDispatcherOnUpdateInDEV = null,
26772      HooksDispatcherOnRerenderInDEV = null,
26773      InvalidNestedHooksDispatcherOnMountInDEV = null,
26774      InvalidNestedHooksDispatcherOnUpdateInDEV = null,
26775      InvalidNestedHooksDispatcherOnRerenderInDEV = null;
26776    HooksDispatcherOnMountInDEV = {
26777      readContext: function (context) {
26778        return readContext(context);
26779      },
26780      use: use,
26781      useCallback: function (callback, deps) {
26782        currentHookNameInDev = "useCallback";
26783        mountHookTypesDev();
26784        checkDepsAreArrayDev(deps);
26785        return mountCallback(callback, deps);
26786      },
26787      useContext: function (context) {
26788        currentHookNameInDev = "useContext";
26789        mountHookTypesDev();
26790        return readContext(context);
26791      },
26792      useEffect: function (create, createDeps) {
26793        currentHookNameInDev = "useEffect";
26794        mountHookTypesDev();
26795        checkDepsAreArrayDev(createDeps);
26796        return mountEffect(create, createDeps);
26797      },
26798      useImperativeHandle: function (ref, create, deps) {
26799        currentHookNameInDev = "useImperativeHandle";
26800        mountHookTypesDev();
26801        checkDepsAreArrayDev(deps);
26802        return mountImperativeHandle(ref, create, deps);
26803      },
26804      useInsertionEffect: function (create, deps) {
26805        currentHookNameInDev = "useInsertionEffect";
26806        mountHookTypesDev();
26807        checkDepsAreArrayDev(deps);
26808        mountEffectImpl(4, Insertion, create, deps);
26809      },
26810      useLayoutEffect: function (create, deps) {
26811        currentHookNameInDev = "useLayoutEffect";
26812        mountHookTypesDev();
26813        checkDepsAreArrayDev(deps);
26814        return mountLayoutEffect(create, deps);
26815      },
26816      useMemo: function (create, deps) {
26817        currentHookNameInDev = "useMemo";
26818        mountHookTypesDev();
26819        checkDepsAreArrayDev(deps);
26820        var prevDispatcher = ReactSharedInternals.H;
26821        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
26822        try {
26823          return mountMemo(create, deps);
26824        } finally {
26825          ReactSharedInternals.H = prevDispatcher;
26826        }
26827      },
26828      useReducer: function (reducer, initialArg, init) {
26829        currentHookNameInDev = "useReducer";
26830        mountHookTypesDev();
26831        var prevDispatcher = ReactSharedInternals.H;
26832        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
26833        try {
26834          return mountReducer(reducer, initialArg, init);
26835        } finally {
26836          ReactSharedInternals.H = prevDispatcher;
26837        }
26838      },
vendor: 30,499 bytes, lines 26839-27729
26839      useRef: function (initialValue) {
26840        currentHookNameInDev = "useRef";
26841        mountHookTypesDev();
26842        return mountRef(initialValue);
26843      },
26844      useState: function (initialState) {
26845        currentHookNameInDev = "useState";
26846        mountHookTypesDev();
26847        var prevDispatcher = ReactSharedInternals.H;
26848        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
26849        try {
26850          return mountState(initialState);
26851        } finally {
26852          ReactSharedInternals.H = prevDispatcher;
26853        }
26854      },
26855      useDebugValue: function () {
26856        currentHookNameInDev = "useDebugValue";
26857        mountHookTypesDev();
26858      },
26859      useDeferredValue: function (value, initialValue) {
26860        currentHookNameInDev = "useDeferredValue";
26861        mountHookTypesDev();
26862        return mountDeferredValue(value, initialValue);
26863      },
26864      useTransition: function () {
26865        currentHookNameInDev = "useTransition";
26866        mountHookTypesDev();
26867        return mountTransition();
26868      },
26869      useSyncExternalStore: function (
26870        subscribe,
26871        getSnapshot,
26872        getServerSnapshot
26873      ) {
26874        currentHookNameInDev = "useSyncExternalStore";
26875        mountHookTypesDev();
26876        return mountSyncExternalStore(
26877          subscribe,
26878          getSnapshot,
26879          getServerSnapshot
26880        );
26881      },
26882      useId: function () {
26883        currentHookNameInDev = "useId";
26884        mountHookTypesDev();
26885        return mountId();
26886      },
26887      useFormState: function (action, initialState) {
26888        currentHookNameInDev = "useFormState";
26889        mountHookTypesDev();
26890        warnOnUseFormStateInDev();
26891        return mountActionState(action, initialState);
26892      },
26893      useActionState: function (action, initialState) {
26894        currentHookNameInDev = "useActionState";
26895        mountHookTypesDev();
26896        return mountActionState(action, initialState);
26897      },
26898      useOptimistic: function (passthrough) {
26899        currentHookNameInDev = "useOptimistic";
26900        mountHookTypesDev();
26901        return mountOptimistic(passthrough);
26902      },
26903      useHostTransitionStatus: useHostTransitionStatus,
26904      useMemoCache: useMemoCache,
26905      useCacheRefresh: function () {
26906        currentHookNameInDev = "useCacheRefresh";
26907        mountHookTypesDev();
26908        return mountRefresh();
26909      }
26910    };
26911    HooksDispatcherOnMountWithHookTypesInDEV = {
26912      readContext: function (context) {
26913        return readContext(context);
26914      },
26915      use: use,
26916      useCallback: function (callback, deps) {
26917        currentHookNameInDev = "useCallback";
26918        updateHookTypesDev();
26919        return mountCallback(callback, deps);
26920      },
26921      useContext: function (context) {
26922        currentHookNameInDev = "useContext";
26923        updateHookTypesDev();
26924        return readContext(context);
26925      },
26926      useEffect: function (create, createDeps) {
26927        currentHookNameInDev = "useEffect";
26928        updateHookTypesDev();
26929        return mountEffect(create, createDeps);
26930      },
26931      useImperativeHandle: function (ref, create, deps) {
26932        currentHookNameInDev = "useImperativeHandle";
26933        updateHookTypesDev();
26934        return mountImperativeHandle(ref, create, deps);
26935      },
26936      useInsertionEffect: function (create, deps) {
26937        currentHookNameInDev = "useInsertionEffect";
26938        updateHookTypesDev();
26939        mountEffectImpl(4, Insertion, create, deps);
26940      },
26941      useLayoutEffect: function (create, deps) {
26942        currentHookNameInDev = "useLayoutEffect";
26943        updateHookTypesDev();
26944        return mountLayoutEffect(create, deps);
26945      },
26946      useMemo: function (create, deps) {
26947        currentHookNameInDev = "useMemo";
26948        updateHookTypesDev();
26949        var prevDispatcher = ReactSharedInternals.H;
26950        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
26951        try {
26952          return mountMemo(create, deps);
26953        } finally {
26954          ReactSharedInternals.H = prevDispatcher;
26955        }
26956      },
26957      useReducer: function (reducer, initialArg, init) {
26958        currentHookNameInDev = "useReducer";
26959        updateHookTypesDev();
26960        var prevDispatcher = ReactSharedInternals.H;
26961        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
26962        try {
26963          return mountReducer(reducer, initialArg, init);
26964        } finally {
26965          ReactSharedInternals.H = prevDispatcher;
26966        }
26967      },
26968      useRef: function (initialValue) {
26969        currentHookNameInDev = "useRef";
26970        updateHookTypesDev();
26971        return mountRef(initialValue);
26972      },
26973      useState: function (initialState) {
26974        currentHookNameInDev = "useState";
26975        updateHookTypesDev();
26976        var prevDispatcher = ReactSharedInternals.H;
26977        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
26978        try {
26979          return mountState(initialState);
26980        } finally {
26981          ReactSharedInternals.H = prevDispatcher;
26982        }
26983      },
26984      useDebugValue: function () {
26985        currentHookNameInDev = "useDebugValue";
26986        updateHookTypesDev();
26987      },
26988      useDeferredValue: function (value, initialValue) {
26989        currentHookNameInDev = "useDeferredValue";
26990        updateHookTypesDev();
26991        return mountDeferredValue(value, initialValue);
26992      },
26993      useTransition: function () {
26994        currentHookNameInDev = "useTransition";
26995        updateHookTypesDev();
26996        return mountTransition();
26997      },
26998      useSyncExternalStore: function (
26999        subscribe,
27000        getSnapshot,
27001        getServerSnapshot
27002      ) {
27003        currentHookNameInDev = "useSyncExternalStore";
27004        updateHookTypesDev();
27005        return mountSyncExternalStore(
27006          subscribe,
27007          getSnapshot,
27008          getServerSnapshot
27009        );
27010      },
27011      useId: function () {
27012        currentHookNameInDev = "useId";
27013        updateHookTypesDev();
27014        return mountId();
27015      },
27016      useActionState: function (action, initialState) {
27017        currentHookNameInDev = "useActionState";
27018        updateHookTypesDev();
27019        return mountActionState(action, initialState);
27020      },
27021      useFormState: function (action, initialState) {
27022        currentHookNameInDev = "useFormState";
27023        updateHookTypesDev();
27024        warnOnUseFormStateInDev();
27025        return mountActionState(action, initialState);
27026      },
27027      useOptimistic: function (passthrough) {
27028        currentHookNameInDev = "useOptimistic";
27029        updateHookTypesDev();
27030        return mountOptimistic(passthrough);
27031      },
27032      useHostTransitionStatus: useHostTransitionStatus,
27033      useMemoCache: useMemoCache,
27034      useCacheRefresh: function () {
27035        currentHookNameInDev = "useCacheRefresh";
27036        updateHookTypesDev();
27037        return mountRefresh();
27038      }
27039    };
27040    HooksDispatcherOnUpdateInDEV = {
27041      readContext: function (context) {
27042        return readContext(context);
27043      },
27044      use: use,
27045      useCallback: function (callback, deps) {
27046        currentHookNameInDev = "useCallback";
27047        updateHookTypesDev();
27048        return updateCallback(callback, deps);
27049      },
27050      useContext: function (context) {
27051        currentHookNameInDev = "useContext";
27052        updateHookTypesDev();
27053        return readContext(context);
27054      },
27055      useEffect: function (create, createDeps) {
27056        currentHookNameInDev = "useEffect";
27057        updateHookTypesDev();
27058        updateEffectImpl(2048, Passive, create, createDeps);
27059      },
27060      useImperativeHandle: function (ref, create, deps) {
27061        currentHookNameInDev = "useImperativeHandle";
27062        updateHookTypesDev();
27063        return updateImperativeHandle(ref, create, deps);
27064      },
27065      useInsertionEffect: function (create, deps) {
27066        currentHookNameInDev = "useInsertionEffect";
27067        updateHookTypesDev();
27068        return updateEffectImpl(4, Insertion, create, deps);
27069      },
27070      useLayoutEffect: function (create, deps) {
27071        currentHookNameInDev = "useLayoutEffect";
27072        updateHookTypesDev();
27073        return updateEffectImpl(4, Layout, create, deps);
27074      },
27075      useMemo: function (create, deps) {
27076        currentHookNameInDev = "useMemo";
27077        updateHookTypesDev();
27078        var prevDispatcher = ReactSharedInternals.H;
27079        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
27080        try {
27081          return updateMemo(create, deps);
27082        } finally {
27083          ReactSharedInternals.H = prevDispatcher;
27084        }
27085      },
27086      useReducer: function (reducer, initialArg, init) {
27087        currentHookNameInDev = "useReducer";
27088        updateHookTypesDev();
27089        var prevDispatcher = ReactSharedInternals.H;
27090        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
27091        try {
27092          return updateReducer(reducer, initialArg, init);
27093        } finally {
27094          ReactSharedInternals.H = prevDispatcher;
27095        }
27096      },
27097      useRef: function () {
27098        currentHookNameInDev = "useRef";
27099        updateHookTypesDev();
27100        return updateWorkInProgressHook().memoizedState;
27101      },
27102      useState: function () {
27103        currentHookNameInDev = "useState";
27104        updateHookTypesDev();
27105        var prevDispatcher = ReactSharedInternals.H;
27106        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
27107        try {
27108          return updateReducer(basicStateReducer);
27109        } finally {
27110          ReactSharedInternals.H = prevDispatcher;
27111        }
27112      },
27113      useDebugValue: function () {
27114        currentHookNameInDev = "useDebugValue";
27115        updateHookTypesDev();
27116      },
27117      useDeferredValue: function (value, initialValue) {
27118        currentHookNameInDev = "useDeferredValue";
27119        updateHookTypesDev();
27120        return updateDeferredValue(value, initialValue);
27121      },
27122      useTransition: function () {
27123        currentHookNameInDev = "useTransition";
27124        updateHookTypesDev();
27125        return updateTransition();
27126      },
27127      useSyncExternalStore: function (
27128        subscribe,
27129        getSnapshot,
27130        getServerSnapshot
27131      ) {
27132        currentHookNameInDev = "useSyncExternalStore";
27133        updateHookTypesDev();
27134        return updateSyncExternalStore(
27135          subscribe,
27136          getSnapshot,
27137          getServerSnapshot
27138        );
27139      },
27140      useId: function () {
27141        currentHookNameInDev = "useId";
27142        updateHookTypesDev();
27143        return updateWorkInProgressHook().memoizedState;
27144      },
27145      useFormState: function (action) {
27146        currentHookNameInDev = "useFormState";
27147        updateHookTypesDev();
27148        warnOnUseFormStateInDev();
27149        return updateActionState(action);
27150      },
27151      useActionState: function (action) {
27152        currentHookNameInDev = "useActionState";
27153        updateHookTypesDev();
27154        return updateActionState(action);
27155      },
27156      useOptimistic: function (passthrough, reducer) {
27157        currentHookNameInDev = "useOptimistic";
27158        updateHookTypesDev();
27159        return updateOptimistic(passthrough, reducer);
27160      },
27161      useHostTransitionStatus: useHostTransitionStatus,
27162      useMemoCache: useMemoCache,
27163      useCacheRefresh: function () {
27164        currentHookNameInDev = "useCacheRefresh";
27165        updateHookTypesDev();
27166        return updateWorkInProgressHook().memoizedState;
27167      }
27168    };
27169    HooksDispatcherOnRerenderInDEV = {
27170      readContext: function (context) {
27171        return readContext(context);
27172      },
27173      use: use,
27174      useCallback: function (callback, deps) {
27175        currentHookNameInDev = "useCallback";
27176        updateHookTypesDev();
27177        return updateCallback(callback, deps);
27178      },
27179      useContext: function (context) {
27180        currentHookNameInDev = "useContext";
27181        updateHookTypesDev();
27182        return readContext(context);
27183      },
27184      useEffect: function (create, createDeps) {
27185        currentHookNameInDev = "useEffect";
27186        updateHookTypesDev();
27187        updateEffectImpl(2048, Passive, create, createDeps);
27188      },
27189      useImperativeHandle: function (ref, create, deps) {
27190        currentHookNameInDev = "useImperativeHandle";
27191        updateHookTypesDev();
27192        return updateImperativeHandle(ref, create, deps);
27193      },
27194      useInsertionEffect: function (create, deps) {
27195        currentHookNameInDev = "useInsertionEffect";
27196        updateHookTypesDev();
27197        return updateEffectImpl(4, Insertion, create, deps);
27198      },
27199      useLayoutEffect: function (create, deps) {
27200        currentHookNameInDev = "useLayoutEffect";
27201        updateHookTypesDev();
27202        return updateEffectImpl(4, Layout, create, deps);
27203      },
27204      useMemo: function (create, deps) {
27205        currentHookNameInDev = "useMemo";
27206        updateHookTypesDev();
27207        var prevDispatcher = ReactSharedInternals.H;
27208        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV;
27209        try {
27210          return updateMemo(create, deps);
27211        } finally {
27212          ReactSharedInternals.H = prevDispatcher;
27213        }
27214      },
27215      useReducer: function (reducer, initialArg, init) {
27216        currentHookNameInDev = "useReducer";
27217        updateHookTypesDev();
27218        var prevDispatcher = ReactSharedInternals.H;
27219        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV;
27220        try {
27221          return rerenderReducer(reducer, initialArg, init);
27222        } finally {
27223          ReactSharedInternals.H = prevDispatcher;
27224        }
27225      },
27226      useRef: function () {
27227        currentHookNameInDev = "useRef";
27228        updateHookTypesDev();
27229        return updateWorkInProgressHook().memoizedState;
27230      },
27231      useState: function () {
27232        currentHookNameInDev = "useState";
27233        updateHookTypesDev();
27234        var prevDispatcher = ReactSharedInternals.H;
27235        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV;
27236        try {
27237          return rerenderReducer(basicStateReducer);
27238        } finally {
27239          ReactSharedInternals.H = prevDispatcher;
27240        }
27241      },
27242      useDebugValue: function () {
27243        currentHookNameInDev = "useDebugValue";
27244        updateHookTypesDev();
27245      },
27246      useDeferredValue: function (value, initialValue) {
27247        currentHookNameInDev = "useDeferredValue";
27248        updateHookTypesDev();
27249        return rerenderDeferredValue(value, initialValue);
27250      },
27251      useTransition: function () {
27252        currentHookNameInDev = "useTransition";
27253        updateHookTypesDev();
27254        return rerenderTransition();
27255      },
27256      useSyncExternalStore: function (
27257        subscribe,
27258        getSnapshot,
27259        getServerSnapshot
27260      ) {
27261        currentHookNameInDev = "useSyncExternalStore";
27262        updateHookTypesDev();
27263        return updateSyncExternalStore(
27264          subscribe,
27265          getSnapshot,
27266          getServerSnapshot
27267        );
27268      },
27269      useId: function () {
27270        currentHookNameInDev = "useId";
27271        updateHookTypesDev();
27272        return updateWorkInProgressHook().memoizedState;
27273      },
27274      useFormState: function (action) {
27275        currentHookNameInDev = "useFormState";
27276        updateHookTypesDev();
27277        warnOnUseFormStateInDev();
27278        return rerenderActionState(action);
27279      },
27280      useActionState: function (action) {
27281        currentHookNameInDev = "useActionState";
27282        updateHookTypesDev();
27283        return rerenderActionState(action);
27284      },
27285      useOptimistic: function (passthrough, reducer) {
27286        currentHookNameInDev = "useOptimistic";
27287        updateHookTypesDev();
27288        return rerenderOptimistic(passthrough, reducer);
27289      },
27290      useHostTransitionStatus: useHostTransitionStatus,
27291      useMemoCache: useMemoCache,
27292      useCacheRefresh: function () {
27293        currentHookNameInDev = "useCacheRefresh";
27294        updateHookTypesDev();
27295        return updateWorkInProgressHook().memoizedState;
27296      }
27297    };
27298    InvalidNestedHooksDispatcherOnMountInDEV = {
27299      readContext: function (context) {
27300        warnInvalidContextAccess();
27301        return readContext(context);
27302      },
27303      use: function (usable) {
27304        warnInvalidHookAccess();
27305        return use(usable);
27306      },
27307      useCallback: function (callback, deps) {
27308        currentHookNameInDev = "useCallback";
27309        warnInvalidHookAccess();
27310        mountHookTypesDev();
27311        return mountCallback(callback, deps);
27312      },
27313      useContext: function (context) {
27314        currentHookNameInDev = "useContext";
27315        warnInvalidHookAccess();
27316        mountHookTypesDev();
27317        return readContext(context);
27318      },
27319      useEffect: function (create, createDeps) {
27320        currentHookNameInDev = "useEffect";
27321        warnInvalidHookAccess();
27322        mountHookTypesDev();
27323        return mountEffect(create, createDeps);
27324      },
27325      useImperativeHandle: function (ref, create, deps) {
27326        currentHookNameInDev = "useImperativeHandle";
27327        warnInvalidHookAccess();
27328        mountHookTypesDev();
27329        return mountImperativeHandle(ref, create, deps);
27330      },
27331      useInsertionEffect: function (create, deps) {
27332        currentHookNameInDev = "useInsertionEffect";
27333        warnInvalidHookAccess();
27334        mountHookTypesDev();
27335        mountEffectImpl(4, Insertion, create, deps);
27336      },
27337      useLayoutEffect: function (create, deps) {
27338        currentHookNameInDev = "useLayoutEffect";
27339        warnInvalidHookAccess();
27340        mountHookTypesDev();
27341        return mountLayoutEffect(create, deps);
27342      },
27343      useMemo: function (create, deps) {
27344        currentHookNameInDev = "useMemo";
27345        warnInvalidHookAccess();
27346        mountHookTypesDev();
27347        var prevDispatcher = ReactSharedInternals.H;
27348        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
27349        try {
27350          return mountMemo(create, deps);
27351        } finally {
27352          ReactSharedInternals.H = prevDispatcher;
27353        }
27354      },
27355      useReducer: function (reducer, initialArg, init) {
27356        currentHookNameInDev = "useReducer";
27357        warnInvalidHookAccess();
27358        mountHookTypesDev();
27359        var prevDispatcher = ReactSharedInternals.H;
27360        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
27361        try {
27362          return mountReducer(reducer, initialArg, init);
27363        } finally {
27364          ReactSharedInternals.H = prevDispatcher;
27365        }
27366      },
27367      useRef: function (initialValue) {
27368        currentHookNameInDev = "useRef";
27369        warnInvalidHookAccess();
27370        mountHookTypesDev();
27371        return mountRef(initialValue);
27372      },
27373      useState: function (initialState) {
27374        currentHookNameInDev = "useState";
27375        warnInvalidHookAccess();
27376        mountHookTypesDev();
27377        var prevDispatcher = ReactSharedInternals.H;
27378        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;
27379        try {
27380          return mountState(initialState);
27381        } finally {
27382          ReactSharedInternals.H = prevDispatcher;
27383        }
27384      },
27385      useDebugValue: function () {
27386        currentHookNameInDev = "useDebugValue";
27387        warnInvalidHookAccess();
27388        mountHookTypesDev();
27389      },
27390      useDeferredValue: function (value, initialValue) {
27391        currentHookNameInDev = "useDeferredValue";
27392        warnInvalidHookAccess();
27393        mountHookTypesDev();
27394        return mountDeferredValue(value, initialValue);
27395      },
27396      useTransition: function () {
27397        currentHookNameInDev = "useTransition";
27398        warnInvalidHookAccess();
27399        mountHookTypesDev();
27400        return mountTransition();
27401      },
27402      useSyncExternalStore: function (
27403        subscribe,
27404        getSnapshot,
27405        getServerSnapshot
27406      ) {
27407        currentHookNameInDev = "useSyncExternalStore";
27408        warnInvalidHookAccess();
27409        mountHookTypesDev();
27410        return mountSyncExternalStore(
27411          subscribe,
27412          getSnapshot,
27413          getServerSnapshot
27414        );
27415      },
27416      useId: function () {
27417        currentHookNameInDev = "useId";
27418        warnInvalidHookAccess();
27419        mountHookTypesDev();
27420        return mountId();
27421      },
27422      useFormState: function (action, initialState) {
27423        currentHookNameInDev = "useFormState";
27424        warnInvalidHookAccess();
27425        mountHookTypesDev();
27426        return mountActionState(action, initialState);
27427      },
27428      useActionState: function (action, initialState) {
27429        currentHookNameInDev = "useActionState";
27430        warnInvalidHookAccess();
27431        mountHookTypesDev();
27432        return mountActionState(action, initialState);
27433      },
27434      useOptimistic: function (passthrough) {
27435        currentHookNameInDev = "useOptimistic";
27436        warnInvalidHookAccess();
27437        mountHookTypesDev();
27438        return mountOptimistic(passthrough);
27439      },
27440      useMemoCache: function (size) {
27441        warnInvalidHookAccess();
27442        return useMemoCache(size);
27443      },
27444      useHostTransitionStatus: useHostTransitionStatus,
27445      useCacheRefresh: function () {
27446        currentHookNameInDev = "useCacheRefresh";
27447        mountHookTypesDev();
27448        return mountRefresh();
27449      }
27450    };
27451    InvalidNestedHooksDispatcherOnUpdateInDEV = {
27452      readContext: function (context) {
27453        warnInvalidContextAccess();
27454        return readContext(context);
27455      },
27456      use: function (usable) {
27457        warnInvalidHookAccess();
27458        return use(usable);
27459      },
27460      useCallback: function (callback, deps) {
27461        currentHookNameInDev = "useCallback";
27462        warnInvalidHookAccess();
27463        updateHookTypesDev();
27464        return updateCallback(callback, deps);
27465      },
27466      useContext: function (context) {
27467        currentHookNameInDev = "useContext";
27468        warnInvalidHookAccess();
27469        updateHookTypesDev();
27470        return readContext(context);
27471      },
27472      useEffect: function (create, createDeps) {
27473        currentHookNameInDev = "useEffect";
27474        warnInvalidHookAccess();
27475        updateHookTypesDev();
27476        updateEffectImpl(2048, Passive, create, createDeps);
27477      },
27478      useImperativeHandle: function (ref, create, deps) {
27479        currentHookNameInDev = "useImperativeHandle";
27480        warnInvalidHookAccess();
27481        updateHookTypesDev();
27482        return updateImperativeHandle(ref, create, deps);
27483      },
27484      useInsertionEffect: function (create, deps) {
27485        currentHookNameInDev = "useInsertionEffect";
27486        warnInvalidHookAccess();
27487        updateHookTypesDev();
27488        return updateEffectImpl(4, Insertion, create, deps);
27489      },
27490      useLayoutEffect: function (create, deps) {
27491        currentHookNameInDev = "useLayoutEffect";
27492        warnInvalidHookAccess();
27493        updateHookTypesDev();
27494        return updateEffectImpl(4, Layout, create, deps);
27495      },
27496      useMemo: function (create, deps) {
27497        currentHookNameInDev = "useMemo";
27498        warnInvalidHookAccess();
27499        updateHookTypesDev();
27500        var prevDispatcher = ReactSharedInternals.H;
27501        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
27502        try {
27503          return updateMemo(create, deps);
27504        } finally {
27505          ReactSharedInternals.H = prevDispatcher;
27506        }
27507      },
27508      useReducer: function (reducer, initialArg, init) {
27509        currentHookNameInDev = "useReducer";
27510        warnInvalidHookAccess();
27511        updateHookTypesDev();
27512        var prevDispatcher = ReactSharedInternals.H;
27513        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
27514        try {
27515          return updateReducer(reducer, initialArg, init);
27516        } finally {
27517          ReactSharedInternals.H = prevDispatcher;
27518        }
27519      },
27520      useRef: function () {
27521        currentHookNameInDev = "useRef";
27522        warnInvalidHookAccess();
27523        updateHookTypesDev();
27524        return updateWorkInProgressHook().memoizedState;
27525      },
27526      useState: function () {
27527        currentHookNameInDev = "useState";
27528        warnInvalidHookAccess();
27529        updateHookTypesDev();
27530        var prevDispatcher = ReactSharedInternals.H;
27531        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
27532        try {
27533          return updateReducer(basicStateReducer);
27534        } finally {
27535          ReactSharedInternals.H = prevDispatcher;
27536        }
27537      },
27538      useDebugValue: function () {
27539        currentHookNameInDev = "useDebugValue";
27540        warnInvalidHookAccess();
27541        updateHookTypesDev();
27542      },
27543      useDeferredValue: function (value, initialValue) {
27544        currentHookNameInDev = "useDeferredValue";
27545        warnInvalidHookAccess();
27546        updateHookTypesDev();
27547        return updateDeferredValue(value, initialValue);
27548      },
27549      useTransition: function () {
27550        currentHookNameInDev = "useTransition";
27551        warnInvalidHookAccess();
27552        updateHookTypesDev();
27553        return updateTransition();
27554      },
27555      useSyncExternalStore: function (
27556        subscribe,
27557        getSnapshot,
27558        getServerSnapshot
27559      ) {
27560        currentHookNameInDev = "useSyncExternalStore";
27561        warnInvalidHookAccess();
27562        updateHookTypesDev();
27563        return updateSyncExternalStore(
27564          subscribe,
27565          getSnapshot,
27566          getServerSnapshot
27567        );
27568      },
27569      useId: function () {
27570        currentHookNameInDev = "useId";
27571        warnInvalidHookAccess();
27572        updateHookTypesDev();
27573        return updateWorkInProgressHook().memoizedState;
27574      },
27575      useFormState: function (action) {
27576        currentHookNameInDev = "useFormState";
27577        warnInvalidHookAccess();
27578        updateHookTypesDev();
27579        return updateActionState(action);
27580      },
27581      useActionState: function (action) {
27582        currentHookNameInDev = "useActionState";
27583        warnInvalidHookAccess();
27584        updateHookTypesDev();
27585        return updateActionState(action);
27586      },
27587      useOptimistic: function (passthrough, reducer) {
27588        currentHookNameInDev = "useOptimistic";
27589        warnInvalidHookAccess();
27590        updateHookTypesDev();
27591        return updateOptimistic(passthrough, reducer);
27592      },
27593      useMemoCache: function (size) {
27594        warnInvalidHookAccess();
27595        return useMemoCache(size);
27596      },
27597      useHostTransitionStatus: useHostTransitionStatus,
27598      useCacheRefresh: function () {
27599        currentHookNameInDev = "useCacheRefresh";
27600        updateHookTypesDev();
27601        return updateWorkInProgressHook().memoizedState;
27602      }
27603    };
27604    InvalidNestedHooksDispatcherOnRerenderInDEV = {
27605      readContext: function (context) {
27606        warnInvalidContextAccess();
27607        return readContext(context);
27608      },
27609      use: function (usable) {
27610        warnInvalidHookAccess();
27611        return use(usable);
27612      },
27613      useCallback: function (callback, deps) {
27614        currentHookNameInDev = "useCallback";
27615        warnInvalidHookAccess();
27616        updateHookTypesDev();
27617        return updateCallback(callback, deps);
27618      },
27619      useContext: function (context) {
27620        currentHookNameInDev = "useContext";
27621        warnInvalidHookAccess();
27622        updateHookTypesDev();
27623        return readContext(context);
27624      },
27625      useEffect: function (create, createDeps) {
27626        currentHookNameInDev = "useEffect";
27627        warnInvalidHookAccess();
27628        updateHookTypesDev();
27629        updateEffectImpl(2048, Passive, create, createDeps);
27630      },
27631      useImperativeHandle: function (ref, create, deps) {
27632        currentHookNameInDev = "useImperativeHandle";
27633        warnInvalidHookAccess();
27634        updateHookTypesDev();
27635        return updateImperativeHandle(ref, create, deps);
27636      },
27637      useInsertionEffect: function (create, deps) {
27638        currentHookNameInDev = "useInsertionEffect";
27639        warnInvalidHookAccess();
27640        updateHookTypesDev();
27641        return updateEffectImpl(4, Insertion, create, deps);
27642      },
27643      useLayoutEffect: function (create, deps) {
27644        currentHookNameInDev = "useLayoutEffect";
27645        warnInvalidHookAccess();
27646        updateHookTypesDev();
27647        return updateEffectImpl(4, Layout, create, deps);
27648      },
27649      useMemo: function (create, deps) {
27650        currentHookNameInDev = "useMemo";
27651        warnInvalidHookAccess();
27652        updateHookTypesDev();
27653        var prevDispatcher = ReactSharedInternals.H;
27654        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
27655        try {
27656          return updateMemo(create, deps);
27657        } finally {
27658          ReactSharedInternals.H = prevDispatcher;
27659        }
27660      },
27661      useReducer: function (reducer, initialArg, init) {
27662        currentHookNameInDev = "useReducer";
27663        warnInvalidHookAccess();
27664        updateHookTypesDev();
27665        var prevDispatcher = ReactSharedInternals.H;
27666        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
27667        try {
27668          return rerenderReducer(reducer, initialArg, init);
27669        } finally {
27670          ReactSharedInternals.H = prevDispatcher;
27671        }
27672      },
27673      useRef: function () {
27674        currentHookNameInDev = "useRef";
27675        warnInvalidHookAccess();
27676        updateHookTypesDev();
27677        return updateWorkInProgressHook().memoizedState;
27678      },
27679      useState: function () {
27680        currentHookNameInDev = "useState";
27681        warnInvalidHookAccess();
27682        updateHookTypesDev();
27683        var prevDispatcher = ReactSharedInternals.H;
27684        ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
27685        try {
27686          return rerenderReducer(basicStateReducer);
27687        } finally {
27688          ReactSharedInternals.H = prevDispatcher;
27689        }
27690      },
27691      useDebugValue: function () {
27692        currentHookNameInDev = "useDebugValue";
27693        warnInvalidHookAccess();
27694        updateHookTypesDev();
27695      },
27696      useDeferredValue: function (value, initialValue) {
27697        currentHookNameInDev = "useDeferredValue";
27698        warnInvalidHookAccess();
27699        updateHookTypesDev();
27700        return rerenderDeferredValue(value, initialValue);
27701      },
27702      useTransition: function () {
27703        currentHookNameInDev = "useTransition";
27704        warnInvalidHookAccess();
27705        updateHookTypesDev();
27706        return rerenderTransition();
27707      },
27708      useSyncExternalStore: function (
27709        subscribe,
27710        getSnapshot,
27711        getServerSnapshot
27712      ) {
27713        currentHookNameInDev = "useSyncExternalStore";
27714        warnInvalidHookAccess();
27715        updateHookTypesDev();
27716        return updateSyncExternalStore(
27717          subscribe,
27718          getSnapshot,
27719          getServerSnapshot
27720        );
27721      },
27722      useId: function () {
27723        currentHookNameInDev = "useId";
27724        warnInvalidHookAccess();
27725        updateHookTypesDev();
27726        return updateWorkInProgressHook().memoizedState;
27727      },
27728      useFormState: function (action) {
27729        currentHookNameInDev = "useFormState";
27730        warnInvalidHookAccess();
27731        updateHookTypesDev();
27732        return rerenderActionState(action);
27733      },
27734      useActionState: function (action) {
27735        currentHookNameInDev = "useActionState";
27736        warnInvalidHookAccess();
27737        updateHookTypesDev();
27738        return rerenderActionState(action);
27739      },
27740      useOptimistic: function (passthrough, reducer) {
27741        currentHookNameInDev = "useOptimistic";
27742        warnInvalidHookAccess();
27743        updateHookTypesDev();
27744        return rerenderOptimistic(passthrough, reducer);
27745      },
27746      useMemoCache: function (size) {
27747        warnInvalidHookAccess();
27748        return useMemoCache(size);
27749      },
27750      useHostTransitionStatus: useHostTransitionStatus,
27751      useCacheRefresh: function () {
27752        currentHookNameInDev = "useCacheRefresh";
27753        updateHookTypesDev();
27754        return updateWorkInProgressHook().memoizedState;
27755      }
27756    };
27757    var callComponent = {
27758        react_stack_bottom_frame: function (Component, props, secondArg) {
27759          var wasRendering = isRendering;
27760          isRendering = !0;
27761          try {
27762            return Component(props, secondArg);
27763          } finally {
27764            isRendering = wasRendering;
27765          }
27766        }
27767      },
27768      callComponentInDEV =
27769        callComponent.react_stack_bottom_frame.bind(callComponent),
27770      callRender = {
27771        react_stack_bottom_frame: function (instance) {
27772          var wasRendering = isRendering;
27773          isRendering = !0;
27774          try {
27775            return instance.render();
27776          } finally {
27777            isRendering = wasRendering;
27778          }
27779        }
27780      },
27781      callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender),
27782      callComponentDidMount = {
27783        react_stack_bottom_frame: function (finishedWork, instance) {
27784          try {
27785            instance.componentDidMount();
27786          } catch (error) {
27787            captureCommitPhaseError(finishedWork, finishedWork.return, error);
27788          }
27789        }
27790      },
27791      callComponentDidMountInDEV =
27792        callComponentDidMount.react_stack_bottom_frame.bind(
27793          callComponentDidMount
27794        ),
27795      callComponentDidUpdate = {
27796        react_stack_bottom_frame: function (
27797          finishedWork,
27798          instance,
27799          prevProps,
27800          prevState,
27801          snapshot
27802        ) {
27803          try {
27804            instance.componentDidUpdate(prevProps, prevState, snapshot);
27805          } catch (error) {
27806            captureCommitPhaseError(finishedWork, finishedWork.return, error);
27807          }
27808        }
27809      },
27810      callComponentDidUpdateInDEV =
27811        callComponentDidUpdate.react_stack_bottom_frame.bind(
27812          callComponentDidUpdate
27813        ),
27814      callComponentDidCatch = {
27815        react_stack_bottom_frame: function (instance, errorInfo) {
27816          var stack = errorInfo.stack;
27817          instance.componentDidCatch(errorInfo.value, {
27818            componentStack: null !== stack ? stack : ""
27819          });
27820        }
27821      },
27822      callComponentDidCatchInDEV =
27823        callComponentDidCatch.react_stack_bottom_frame.bind(
27824          callComponentDidCatch
27825        ),
27826      callComponentWillUnmount = {
27827        react_stack_bottom_frame: function (
27828          current,
27829          nearestMountedAncestor,
27830          instance
27831        ) {
27832          try {
27833            instance.componentWillUnmount();
27834          } catch (error) {
27835            captureCommitPhaseError(current, nearestMountedAncestor, error);
27836          }
27837        }
27838      },
27839      callComponentWillUnmountInDEV =
27840        callComponentWillUnmount.react_stack_bottom_frame.bind(
27841          callComponentWillUnmount
27842        ),
27843      callCreate = {
27844        react_stack_bottom_frame: function (effect) {
27845          null != effect.resourceKind &&
27846            console.error(
27847              "Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",
27848              effect.resourceKind
27849            );
27850          var create = effect.create;
27851          effect = effect.inst;
27852          create = create();
27853          return (effect.destroy = create);
27854        }
27855      },
27856      callCreateInDEV = callCreate.react_stack_bottom_frame.bind(callCreate),
27857      callDestroy = {
27858        react_stack_bottom_frame: function (
27859          current,
27860          nearestMountedAncestor,
27861          destroy
27862        ) {
27863          try {
27864            destroy();
27865          } catch (error) {
27866            captureCommitPhaseError(current, nearestMountedAncestor, error);
27867          }
27868        }
27869      },
27870      callDestroyInDEV = callDestroy.react_stack_bottom_frame.bind(callDestroy),
27871      callLazyInit = {
27872        react_stack_bottom_frame: function (lazy) {
27873          var init = lazy._init;
27874          return init(lazy._payload);
27875        }
27876      },
27877      callLazyInitInDEV =
27878        callLazyInit.react_stack_bottom_frame.bind(callLazyInit),
27879      thenableState = null,
27880      thenableIndexCounter = 0,
27881      currentDebugInfo = null,
27882      didWarnAboutMaps;
27883    var didWarnAboutGenerators = (didWarnAboutMaps = !1);
27884    var ownerHasKeyUseWarning = {};
27885    var ownerHasFunctionTypeWarning = {};
27886    var ownerHasSymbolTypeWarning = {};
27887    warnForMissingKey = function (returnFiber, workInProgress, child) {
27888      if (
27889        null !== child &&
27890        "object" === typeof child &&
27891        child._store &&
27892        ((!child._store.validated && null == child.key) ||
27893          2 === child._store.validated)
27894      ) {
27895        if ("object" !== typeof child._store)
27896          throw Error(
27897            "React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."
27898          );
27899        child._store.validated = 1;
27900        var componentName = getComponentNameFromFiber(returnFiber),
27901          componentKey = componentName || "null";
27902        if (!ownerHasKeyUseWarning[componentKey]) {
27903          ownerHasKeyUseWarning[componentKey] = !0;
27904          child = child._owner;
27905          returnFiber = returnFiber._debugOwner;
27906          var currentComponentErrorInfo = "";
27907          returnFiber &&
27908            "number" === typeof returnFiber.tag &&
27909            (componentKey = getComponentNameFromFiber(returnFiber)) &&
27910            (currentComponentErrorInfo =
27911              "\n\nCheck the render method of `" + componentKey + "`.");
27912          currentComponentErrorInfo ||
27913            (componentName &&
27914              (currentComponentErrorInfo =
27915                "\n\nCheck the top-level render call using <" +
27916                componentName +
27917                ">."));
27918          var childOwnerAppendix = "";
27919          null != child &&
27920            returnFiber !== child &&
27921            ((componentName = null),
27922            "number" === typeof child.tag
27923              ? (componentName = getComponentNameFromFiber(child))
27924              : "string" === typeof child.name && (componentName = child.name),
27925            componentName &&
27926              (childOwnerAppendix =
27927                " It was passed a child from " + componentName + "."));
27928          runWithFiberInDEV(workInProgress, function () {
27929            console.error(
27930              'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
27931              currentComponentErrorInfo,
27932              childOwnerAppendix
27933            );
27934          });
27935        }
27936      }
27937    };
27938    var reconcileChildFibers = createChildReconciler(!0),
27939      mountChildFibers = createChildReconciler(!1),
27940      suspenseHandlerStackCursor = createCursor(null),
27941      shellBoundary = null,
27942      SubtreeSuspenseContextMask = 1,
27943      ForceSuspenseFallback = 2,
27944      suspenseStackCursor = createCursor(0),
27945      fakeInternalInstance = {};
27946    var didWarnAboutStateAssignmentForComponent = new Set();
27947    var didWarnAboutUninitializedState = new Set();
27948    var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate = new Set();
27949    var didWarnAboutLegacyLifecyclesAndDerivedState = new Set();
27950    var didWarnAboutDirectlyAssigningPropsToState = new Set();
27951    var didWarnAboutUndefinedDerivedState = new Set();
27952    var didWarnAboutContextTypes$1 = new Set();
27953    var didWarnAboutChildContextTypes = new Set();
27954    var didWarnAboutInvalidateContextType = new Set();
27955    var didWarnOnInvalidCallback = new Set();
27956    Object.freeze(fakeInternalInstance);
27957    var classComponentUpdater = {
27958        enqueueSetState: function (inst, payload, callback) {
27959          inst = inst._reactInternals;
27960          var lane = requestUpdateLane(inst),
27961            update = createUpdate(lane);
27962          update.payload = payload;
27963          void 0 !== callback &&
27964            null !== callback &&
27965            (warnOnInvalidCallback(callback), (update.callback = callback));
27966          payload = enqueueUpdate(inst, update, lane);
27967          null !== payload &&
27968            (scheduleUpdateOnFiber(payload, inst, lane),
27969            entangleTransitions(payload, inst, lane));
27970          markStateUpdateScheduled(inst, lane);
27971        },
27972        enqueueReplaceState: function (inst, payload, callback) {
27973          inst = inst._reactInternals;
27974          var lane = requestUpdateLane(inst),
27975            update = createUpdate(lane);
27976          update.tag = ReplaceState;
27977          update.payload = payload;
27978          void 0 !== callback &&
27979            null !== callback &&
27980            (warnOnInvalidCallback(callback), (update.callback = callback));
27981          payload = enqueueUpdate(inst, update, lane);
27982          null !== payload &&
27983            (scheduleUpdateOnFiber(payload, inst, lane),
27984            entangleTransitions(payload, inst, lane));
27985          markStateUpdateScheduled(inst, lane);
27986        },
27987        enqueueForceUpdate: function (inst, callback) {
27988          inst = inst._reactInternals;
27989          var lane = requestUpdateLane(inst),
27990            update = createUpdate(lane);
27991          update.tag = ForceUpdate;
27992          void 0 !== callback &&
27993            null !== callback &&
27994            (warnOnInvalidCallback(callback), (update.callback = callback));
27995          callback = enqueueUpdate(inst, update, lane);
27996          null !== callback &&
27997            (scheduleUpdateOnFiber(callback, inst, lane),
27998            entangleTransitions(callback, inst, lane));
27999          null !== injectedProfilingHooks &&
28000            "function" ===
28001              typeof injectedProfilingHooks.markForceUpdateScheduled &&
28002            injectedProfilingHooks.markForceUpdateScheduled(inst, lane);
28003        }
28004      },
28005      reportGlobalError =
28006        "function" === typeof reportError
28007          ? reportError
28008          : function (error) {
28009              if (
28010                "object" === typeof window &&
28011                "function" === typeof window.ErrorEvent
28012              ) {
28013                var event = new window.ErrorEvent("error", {
28014                  bubbles: !0,
28015                  cancelable: !0,
28016                  message:
28017                    "object" === typeof error &&
28018                    null !== error &&
28019                    "string" === typeof error.message
28020                      ? String(error.message)
28021                      : String(error),
28022                  error: error
28023                });
28024                if (!window.dispatchEvent(event)) return;
28025              } else if (
28026                "object" === typeof process &&
28027                "function" === typeof process.emit
28028              ) {
28029                process.emit("uncaughtException", error);
28030                return;
28031              }
28032              console.error(error);
28033            },
28034      componentName = null,
28035      errorBoundaryName = null,
28036      SelectiveHydrationException = Error(
28037        "This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."
28038      ),
28039      didReceiveUpdate = !1;
28040    var didWarnAboutBadClass = {};
28041    var didWarnAboutContextTypeOnFunctionComponent = {};
28042    var didWarnAboutContextTypes = {};
28043    var didWarnAboutGetDerivedStateOnFunctionComponent = {};
28044    var didWarnAboutReassigningProps = !1;
28045    var didWarnAboutRevealOrder = {};
28046    var didWarnAboutTailOptions = {};
28047    var SUSPENDED_MARKER = {
28048        dehydrated: null,
28049        treeContext: null,
28050        retryLane: 0,
28051        hydrationErrors: null
28052      },
28053      hasWarnedAboutUsingNoValuePropOnContextProvider = !1,
28054      didWarnAboutUndefinedSnapshotBeforeUpdate = null;
28055    didWarnAboutUndefinedSnapshotBeforeUpdate = new Set();
28056    var offscreenSubtreeIsHidden = !1,
28057      offscreenSubtreeWasHidden = !1,
28058      needsFormReset = !1,
28059      PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set,
28060      nextEffect = null,
28061      inProgressLanes = null,
28062      inProgressRoot = null,
28063      hostParent = null,
28064      hostParentIsContainer = !1,
28065      currentHoistableRoot = null,
28066      suspenseyCommitFlag = 8192,
28067      DefaultAsyncDispatcher = {
28068        getCacheForType: function (resourceType) {
28069          var cache = readContext(CacheContext),
28070            cacheForType = cache.data.get(resourceType);
28071          void 0 === cacheForType &&
28072            ((cacheForType = resourceType()),
28073            cache.data.set(resourceType, cacheForType));
28074          return cacheForType;
28075        },
28076        getOwner: function () {
28077          return current;
28078        }
28079      };
28080    if ("function" === typeof Symbol && Symbol.for) {
28081      var symbolFor = Symbol.for;
28082      symbolFor("selector.component");
28083      symbolFor("selector.has_pseudo_class");
28084      symbolFor("selector.role");
28085      symbolFor("selector.test_id");
28086      symbolFor("selector.text");
28087    }
28088    var commitHooks = [],
28089      PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map,
28090      NoContext = 0,
28091      RenderContext = 2,
28092      CommitContext = 4,
28093      RootInProgress = 0,
28094      RootFatalErrored = 1,
28095      RootErrored = 2,
28096      RootSuspended = 3,
28097      RootSuspendedWithDelay = 4,
28098      RootSuspendedAtTheShell = 6,
28099      RootCompleted = 5,
28100      executionContext = NoContext,
28101      workInProgressRoot = null,
28102      workInProgress = null,
28103      workInProgressRootRenderLanes = 0,
28104      NotSuspended = 0,
28105      SuspendedOnError = 1,
28106      SuspendedOnData = 2,
28107      SuspendedOnImmediate = 3,
28108      SuspendedOnInstance = 4,
28109      SuspendedOnInstanceAndReadyToContinue = 5,
28110      SuspendedOnDeprecatedThrowPromise = 6,
28111      SuspendedAndReadyToContinue = 7,
28112      SuspendedOnHydration = 8,
28113      SuspendedOnAction = 9,
28114      workInProgressSuspendedReason = NotSuspended,
28115      workInProgressThrownValue = null,
28116      workInProgressRootDidSkipSuspendedSiblings = !1,
28117      workInProgressRootIsPrerendering = !1,
28118      workInProgressRootDidAttachPingListener = !1,
28119      entangledRenderLanes = 0,
28120      workInProgressRootExitStatus = RootInProgress,
28121      workInProgressRootSkippedLanes = 0,
28122      workInProgressRootInterleavedUpdatedLanes = 0,
28123      workInProgressRootPingedLanes = 0,
28124      workInProgressDeferredLane = 0,
28125      workInProgressSuspendedRetryLanes = 0,
28126      workInProgressRootConcurrentErrors = null,
28127      workInProgressRootRecoverableErrors = null,
28128      workInProgressRootDidIncludeRecursiveRenderUpdate = !1,
28129      globalMostRecentFallbackTime = 0,
28130      FALLBACK_THROTTLE_MS = 300,
28131      workInProgressRootRenderTargetTime = Infinity,
28132      RENDER_TIMEOUT_MS = 500,
28133      workInProgressTransitions = null,
28134      legacyErrorBoundariesThatAlreadyFailed = null,
28135      IMMEDIATE_COMMIT = 0,
28136      SUSPENDED_COMMIT = 1,
28137      THROTTLED_COMMIT = 2,
28138      NO_PENDING_EFFECTS = 0,
28139      PENDING_MUTATION_PHASE = 1,
28140      PENDING_LAYOUT_PHASE = 2,
28141      PENDING_AFTER_MUTATION_PHASE = 3,
28142      PENDING_SPAWNED_WORK = 4,
28143      PENDING_PASSIVE_PHASE = 5,
28144      pendingEffectsStatus = 0,
28145      pendingEffectsRoot = null,
28146      pendingFinishedWork = null,
28147      pendingEffectsLanes = 0,
28148      pendingEffectsRemainingLanes = 0,
28149      pendingPassiveTransitions = null,
28150      pendingRecoverableErrors = null,
28151      NESTED_UPDATE_LIMIT = 50,
28152      nestedUpdateCount = 0,
28153      rootWithNestedUpdates = null,
28154      isFlushingPassiveEffects = !1,
28155      didScheduleUpdateDuringPassiveEffects = !1,
28156      NESTED_PASSIVE_UPDATE_LIMIT = 50,
28157      nestedPassiveUpdateCount = 0,
28158      rootWithPassiveNestedUpdates = null,
28159      isRunningInsertionEffect = !1,
28160      didWarnStateUpdateForNotYetMountedComponent = null,
28161      didWarnAboutUpdateInRender = !1;
28162    var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
28163    var fakeActCallbackNode$1 = {},
28164      firstScheduledRoot = null,
28165      lastScheduledRoot = null,
28166      didScheduleMicrotask = !1,
28167      didScheduleMicrotask_act = !1,
28168      mightHavePendingSyncWork = !1,
28169      isFlushingWork = !1,
28170      currentEventTransitionLane = 0,
28171      fakeActCallbackNode = {};
28172    (function () {
28173      for (var i = 0; i < simpleEventPluginEvents.length; i++) {
28174        var eventName = simpleEventPluginEvents[i],
28175          domEventName = eventName.toLowerCase();
28176        eventName = eventName[0].toUpperCase() + eventName.slice(1);
28177        registerSimpleEvent(domEventName, "on" + eventName);
28178      }
28179      registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
28180      registerSimpleEvent(ANIMATION_ITERATION, "onAnimationIteration");
28181      registerSimpleEvent(ANIMATION_START, "onAnimationStart");
28182      registerSimpleEvent("dblclick", "onDoubleClick");
28183      registerSimpleEvent("focusin", "onFocus");
28184      registerSimpleEvent("focusout", "onBlur");
28185      registerSimpleEvent(TRANSITION_RUN, "onTransitionRun");
28186      registerSimpleEvent(TRANSITION_START, "onTransitionStart");
28187      registerSimpleEvent(TRANSITION_CANCEL, "onTransitionCancel");
28188      registerSimpleEvent(TRANSITION_END, "onTransitionEnd");
28189    })();
28190    registerDirectEvent("onMouseEnter", ["mouseout", "mouseover"]);
28191    registerDirectEvent("onMouseLeave", ["mouseout", "mouseover"]);
28192    registerDirectEvent("onPointerEnter", ["pointerout", "pointerover"]);
28193    registerDirectEvent("onPointerLeave", ["pointerout", "pointerover"]);
28194    registerTwoPhaseEvent(
28195      "onChange",
28196      "change click focusin focusout input keydown keyup selectionchange".split(
28197        " "
28198      )
28199    );
28200    registerTwoPhaseEvent(
28201      "onSelect",
28202      "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(
28203        " "
28204      )
28205    );
28206    registerTwoPhaseEvent("onBeforeInput", [
28207      "compositionend",
28208      "keypress",
28209      "textInput",
28210      "paste"
28211    ]);
28212    registerTwoPhaseEvent(
28213      "onCompositionEnd",
28214      "compositionend focusout keydown keypress keyup mousedown".split(" ")
28215    );
28216    registerTwoPhaseEvent(
28217      "onCompositionStart",
28218      "compositionstart focusout keydown keypress keyup mousedown".split(" ")
28219    );
28220    registerTwoPhaseEvent(
28221      "onCompositionUpdate",
28222      "compositionupdate focusout keydown keypress keyup mousedown".split(" ")
28223    );
28224    var mediaEventTypes =
28225        "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(
28226          " "
28227        ),
28228      nonDelegatedEvents = new Set(
28229        "beforetoggle cancel close invalid load scroll scrollend toggle"
28230          .split(" ")
28231          .concat(mediaEventTypes)
28232      ),
28233      listeningMarker = "_reactListening" + Math.random().toString(36).slice(2),
28234      didWarnControlledToUncontrolled = !1,
28235      didWarnUncontrolledToControlled = !1,
28236      didWarnFormActionType = !1,
28237      didWarnFormActionName = !1,
28238      didWarnFormActionTarget = !1,
28239      didWarnFormActionMethod = !1,
28240      didWarnPopoverTargetObject = !1;
28241    var didWarnForNewBooleanPropsWithEmptyValue = {};
28242    var NORMALIZE_NEWLINES_REGEX = /\r\n?/g,
28243      NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g,
28244      xlinkNamespace = "http://www.w3.org/1999/xlink",
28245      xmlNamespace = "http://www.w3.org/XML/1998/namespace",
28246      EXPECTED_FORM_ACTION_URL =
28247        "javascript:throw new Error('React form unexpectedly submitted.')",
28248      SUPPRESS_HYDRATION_WARNING = "suppressHydrationWarning",
28249      SUSPENSE_START_DATA = "$",
28250      SUSPENSE_END_DATA = "/$",
28251      SUSPENSE_PENDING_START_DATA = "$?",
28252      SUSPENSE_FALLBACK_START_DATA = "$!",
28253      PREAMBLE_CONTRIBUTION_HTML = 1,
28254      PREAMBLE_CONTRIBUTION_BODY = 2,
28255      PREAMBLE_CONTRIBUTION_HEAD = 4,
28256      FORM_STATE_IS_MATCHING = "F!",
28257      FORM_STATE_IS_NOT_MATCHING = "F",
28258      DOCUMENT_READY_STATE_COMPLETE = "complete",
28259      STYLE = "style",
28260      HostContextNamespaceNone = 0,
28261      HostContextNamespaceSvg = 1,
28262      HostContextNamespaceMath = 2,
28263      eventsEnabled = null,
28264      selectionInformation = null,
28265      warnedUnknownTags = { dialog: !0, webview: !0 },
28266      currentPopstateTransitionEvent = null,
28267      scheduleTimeout = "function" === typeof setTimeout ? setTimeout : void 0,
28268      cancelTimeout =
28269        "function" === typeof clearTimeout ? clearTimeout : void 0,
28270      noTimeout = -1,
28271      localPromise = "function" === typeof Promise ? Promise : void 0,
28272      scheduleMicrotask =
28273        "function" === typeof queueMicrotask
28274          ? queueMicrotask
28275          : "undefined" !== typeof localPromise
28276            ? function (callback) {
28277                return localPromise
28278                  .resolve(null)
28279                  .then(callback)
28280                  .catch(handleErrorInNextTick);
28281              }
28282            : scheduleTimeout,
28283      previousHydratableOnEnteringScopedSingleton = null,
28284      NotLoaded = 0,
28285      Loaded = 1,
28286      Errored = 2,
28287      Settled = 3,
28288      Inserted = 4,
28289      preloadPropsMap = new Map(),
28290      preconnectsSet = new Set(),
28291      previousDispatcher = ReactDOMSharedInternals.d;
28292    ReactDOMSharedInternals.d = {
28293      f: function () {
28294        var previousWasRendering = previousDispatcher.f(),
28295          wasRendering = flushSyncWork$1();
28296        return previousWasRendering || wasRendering;
28297      },
28298      r: function (form) {
28299        var formInst = getInstanceFromNode(form);
28300        null !== formInst && 5 === formInst.tag && "form" === formInst.type
28301          ? requestFormReset$1(formInst)
28302          : previousDispatcher.r(form);
28303      },
28304      D: function (href) {
28305        previousDispatcher.D(href);
28306        preconnectAs("dns-prefetch", href, null);
28307      },
28308      C: function (href, crossOrigin) {
28309        previousDispatcher.C(href, crossOrigin);
28310        preconnectAs("preconnect", href, crossOrigin);
28311      },
28312      L: function (href, as, options) {
28313        previousDispatcher.L(href, as, options);
28314        var ownerDocument = globalDocument;
28315        if (ownerDocument && href && as) {
28316          var preloadSelector =
28317            'link[rel="preload"][as="' +
28318            escapeSelectorAttributeValueInsideDoubleQuotes(as) +
28319            '"]';
28320          "image" === as
28321            ? options && options.imageSrcSet
28322              ? ((preloadSelector +=
28323                  '[imagesrcset="' +
28324                  escapeSelectorAttributeValueInsideDoubleQuotes(
28325                    options.imageSrcSet
28326                  ) +
28327                  '"]'),
28328                "string" === typeof options.imageSizes &&
28329                  (preloadSelector +=
28330                    '[imagesizes="' +
28331                    escapeSelectorAttributeValueInsideDoubleQuotes(
28332                      options.imageSizes
28333                    ) +
28334                    '"]'))
28335              : (preloadSelector +=
28336                  '[href="' +
28337                  escapeSelectorAttributeValueInsideDoubleQuotes(href) +
28338                  '"]')
28339            : (preloadSelector +=
28340                '[href="' +
28341                escapeSelectorAttributeValueInsideDoubleQuotes(href) +
28342                '"]');
28343          var key = preloadSelector;
28344          switch (as) {
28345            case "style":
28346              key = getStyleKey(href);
28347              break;
28348            case "script":
28349              key = getScriptKey(href);
28350          }
28351          preloadPropsMap.has(key) ||
28352            ((href = assign(
28353              {
28354                rel: "preload",
28355                href:
28356                  "image" === as && options && options.imageSrcSet
28357                    ? void 0
28358                    : href,
28359                as: as
28360              },
28361              options
28362            )),
28363            preloadPropsMap.set(key, href),
28364            null !== ownerDocument.querySelector(preloadSelector) ||
28365              ("style" === as &&
28366                ownerDocument.querySelector(
28367                  getStylesheetSelectorFromKey(key)
28368                )) ||
28369              ("script" === as &&
28370                ownerDocument.querySelector(getScriptSelectorFromKey(key))) ||
28371              ((as = ownerDocument.createElement("link")),
28372              setInitialProperties(as, "link", href),
28373              markNodeAsHoistable(as),
28374              ownerDocument.head.appendChild(as)));
28375        }
28376      },
28377      m: function (href, options) {
28378        previousDispatcher.m(href, options);
28379        var ownerDocument = globalDocument;
28380        if (ownerDocument && href) {
28381          var as =
28382              options && "string" === typeof options.as ? options.as : "script",
28383            preloadSelector =
28384              'link[rel="modulepreload"][as="' +
28385              escapeSelectorAttributeValueInsideDoubleQuotes(as) +
28386              '"][href="' +
28387              escapeSelectorAttributeValueInsideDoubleQuotes(href) +
28388              '"]',
28389            key = preloadSelector;
28390          switch (as) {
28391            case "audioworklet":
28392            case "paintworklet":
28393            case "serviceworker":
28394            case "sharedworker":
28395            case "worker":
28396            case "script":
28397              key = getScriptKey(href);
28398          }
28399          if (
28400            !preloadPropsMap.has(key) &&
28401            ((href = assign({ rel: "modulepreload", href: href }, options)),
28402            preloadPropsMap.set(key, href),
28403            null === ownerDocument.querySelector(preloadSelector))
28404          ) {
28405            switch (as) {
28406              case "audioworklet":
28407              case "paintworklet":
28408              case "serviceworker":
28409              case "sharedworker":
28410              case "worker":
28411              case "script":
28412                if (ownerDocument.querySelector(getScriptSelectorFromKey(key)))
28413                  return;
28414            }
28415            as = ownerDocument.createElement("link");
28416            setInitialProperties(as, "link", href);
28417            markNodeAsHoistable(as);
28418            ownerDocument.head.appendChild(as);
28419          }
28420        }
28421      },
28422      X: function (src, options) {
28423        previousDispatcher.X(src, options);
28424        var ownerDocument = globalDocument;
28425        if (ownerDocument && src) {
28426          var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
28427            key = getScriptKey(src),
28428            resource = scripts.get(key);
28429          resource ||
28430            ((resource = ownerDocument.querySelector(
28431              getScriptSelectorFromKey(key)
28432            )),
28433            resource ||
28434              ((src = assign({ src: src, async: !0 }, options)),
28435              (options = preloadPropsMap.get(key)) &&
28436                adoptPreloadPropsForScript(src, options),
28437              (resource = ownerDocument.createElement("script")),
28438              markNodeAsHoistable(resource),
28439              setInitialProperties(resource, "link", src),
28440              ownerDocument.head.appendChild(resource)),
28441            (resource = {
28442              type: "script",
28443              instance: resource,
28444              count: 1,
28445              state: null
28446            }),
28447            scripts.set(key, resource));
28448        }
28449      },
28450      S: function (href, precedence, options) {
28451        previousDispatcher.S(href, precedence, options);
28452        var ownerDocument = globalDocument;
28453        if (ownerDocument && href) {
28454          var styles = getResourcesFromRoot(ownerDocument).hoistableStyles,
28455            key = getStyleKey(href);
28456          precedence = precedence || "default";
28457          var resource = styles.get(key);
28458          if (!resource) {
28459            var state = { loading: NotLoaded, preload: null };
28460            if (
28461              (resource = ownerDocument.querySelector(
28462                getStylesheetSelectorFromKey(key)
28463              ))
28464            )
28465              state.loading = Loaded | Inserted;
28466            else {
28467              href = assign(
28468                {
28469                  rel: "stylesheet",
28470                  href: href,
28471                  "data-precedence": precedence
28472                },
28473                options
28474              );
28475              (options = preloadPropsMap.get(key)) &&
28476                adoptPreloadPropsForStylesheet(href, options);
28477              var link = (resource = ownerDocument.createElement("link"));
28478              markNodeAsHoistable(link);
28479              setInitialProperties(link, "link", href);
28480              link._p = new Promise(function (resolve, reject) {
28481                link.onload = resolve;
28482                link.onerror = reject;
28483              });
28484              link.addEventListener("load", function () {
28485                state.loading |= Loaded;
28486              });
28487              link.addEventListener("error", function () {
28488                state.loading |= Errored;
28489              });
28490              state.loading |= Inserted;
28491              insertStylesheet(resource, precedence, ownerDocument);
28492            }
28493            resource = {
28494              type: "stylesheet",
28495              instance: resource,
28496              count: 1,
28497              state: state
28498            };
28499            styles.set(key, resource);
28500          }
28501        }
28502      },
28503      M: function (src, options) {
28504        previousDispatcher.M(src, options);
28505        var ownerDocument = globalDocument;
28506        if (ownerDocument && src) {
28507          var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
28508            key = getScriptKey(src),
28509            resource = scripts.get(key);
28510          resource ||
28511            ((resource = ownerDocument.querySelector(
28512              getScriptSelectorFromKey(key)
28513            )),
28514            resource ||
28515              ((src = assign({ src: src, async: !0, type: "module" }, options)),
28516              (options = preloadPropsMap.get(key)) &&
28517                adoptPreloadPropsForScript(src, options),
28518              (resource = ownerDocument.createElement("script")),
28519              markNodeAsHoistable(resource),
28520              setInitialProperties(resource, "link", src),
28521              ownerDocument.head.appendChild(resource)),
28522            (resource = {
28523              type: "script",
28524              instance: resource,
28525              count: 1,
28526              state: null
28527            }),
28528            scripts.set(key, resource));
28529        }
28530      }
28531    };
28532    var globalDocument = "undefined" === typeof document ? null : document,
28533      tagCaches = null,
28534      suspendedState = null,
28535      LAST_PRECEDENCE = null,
28536      precedencesByRoot = null,
28537      NotPendingTransition = NotPending,
28538      HostTransitionContext = {
28539        $$typeof: REACT_CONTEXT_TYPE,
28540        Provider: null,
28541        Consumer: null,
28542        _currentValue: NotPendingTransition,
28543        _currentValue2: NotPendingTransition,
28544        _threadCount: 0
28545      },
28546      badgeFormat = "%c%s%c ",
28547      badgeStyle =
28548        "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",
28549      resetStyle = "",
28550      pad = " ",
28551      bind = Function.prototype.bind;
28552    var didWarnAboutNestedUpdates = !1;
28553    var overrideHookState = null,
28554      overrideHookStateDeletePath = null,
28555      overrideHookStateRenamePath = null,
28556      overrideProps = null,
28557      overridePropsDeletePath = null,
28558      overridePropsRenamePath = null,
28559      scheduleUpdate = null,
28560      setErrorHandler = null,
28561      setSuspenseHandler = null;
28562    overrideHookState = function (fiber, id, path, value) {
28563      id = findHook(fiber, id);
28564      null !== id &&
28565        ((path = copyWithSetImpl(id.memoizedState, path, 0, value)),
28566        (id.memoizedState = path),
28567        (id.baseState = path),
28568        (fiber.memoizedProps = assign({}, fiber.memoizedProps)),
28569        (path = enqueueConcurrentRenderForLane(fiber, 2)),
28570        null !== path && scheduleUpdateOnFiber(path, fiber, 2));
28571    };
28572    overrideHookStateDeletePath = function (fiber, id, path) {
28573      id = findHook(fiber, id);
28574      null !== id &&
28575        ((path = copyWithDeleteImpl(id.memoizedState, path, 0)),
28576        (id.memoizedState = path),
28577        (id.baseState = path),
28578        (fiber.memoizedProps = assign({}, fiber.memoizedProps)),
28579        (path = enqueueConcurrentRenderForLane(fiber, 2)),
28580        null !== path && scheduleUpdateOnFiber(path, fiber, 2));
28581    };
28582    overrideHookStateRenamePath = function (fiber, id, oldPath, newPath) {
28583      id = findHook(fiber, id);
28584      null !== id &&
28585        ((oldPath = copyWithRename(id.memoizedState, oldPath, newPath)),
28586        (id.memoizedState = oldPath),
28587        (id.baseState = oldPath),
28588        (fiber.memoizedProps = assign({}, fiber.memoizedProps)),
28589        (oldPath = enqueueConcurrentRenderForLane(fiber, 2)),
28590        null !== oldPath && scheduleUpdateOnFiber(oldPath, fiber, 2));
28591    };
28592    overrideProps = function (fiber, path, value) {
28593      fiber.pendingProps = copyWithSetImpl(fiber.memoizedProps, path, 0, value);
28594      fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps);
28595      path = enqueueConcurrentRenderForLane(fiber, 2);
28596      null !== path && scheduleUpdateOnFiber(path, fiber, 2);
28597    };
28598    overridePropsDeletePath = function (fiber, path) {
28599      fiber.pendingProps = copyW
28599ithDeleteImpl(fiber.memoizedProps, path, 0);
28600      fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps);
28601      path = enqueueConcurrentRenderForLane(fiber, 2);
28602      null !== path && scheduleUpdateOnFiber(path, fiber, 2);
28603    };
28604    overridePropsRenamePath = function (fiber, oldPath, newPath) {
28605      fiber.pendingProps = copyWithRename(
28606        fiber.memoizedProps,
28607        oldPath,
28608        newPath
28609      );
28610      fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps);
28611      oldPath = enqueueConcurrentRenderForLane(fiber, 2);
28612      null !== oldPath && scheduleUpdateOnFiber(oldPath, fiber, 2);
28613    };
28614    scheduleUpdate = function (fiber) {
28615      var root = enqueueConcurrentRenderForLane(fiber, 2);
28616      null !== root && scheduleUpdateOnFiber(root, fiber, 2);
28617    };
28618    setErrorHandler = function (newShouldErrorImpl) {
28619      shouldErrorImpl = newShouldErrorImpl;
28620    };
28621    setSuspenseHandler = function (newShouldSuspendImpl) {
28622      shouldSuspendImpl = newShouldSuspendImpl;
28623    };
28624    var _enabled = !0,
28625      return_targetInst = null,
28626      hasScheduledReplayAttempt = !1,
28627      queuedFocus = null,
28628      queuedDrag = null,
28629      queuedMouse = null,
28630      queuedPointers = new Map(),
28631      queuedPointerCaptures = new Map(),
28632      queuedExplicitHydrationTargets = [],
28633      discreteReplayableEvents =
28634        "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
28635          " "
28636        ),
28637      lastScheduledReplayQueue = null;
28638    ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render =
28639      function (children) {
28640        var root = this._internalRoot;
28641        if (null === root) throw Error("Cannot update an unmounted root.");
28642        var args = arguments;
28643        "function" === typeof args[1]
28644          ? console.error(
28645              "does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
28646            )
28647          : isValidContainer(args[1])
28648            ? console.error(
28649                "You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."
28650              )
28651            : "undefined" !== typeof args[1] &&
28652              console.error(
28653                "You passed a second argument to root.render(...) but it only accepts one argument."
28654              );
28655        args = children;
28656        var current = root.current,
28657          lane = requestUpdateLane(current);
28658        updateContainerImpl(current, lane, args, root, null, null);
28659      };
28660    ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =
28661      function () {
28662        var args = arguments;
28663        "function" === typeof args[0] &&
28664          console.error(
28665            "does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
28666          );
28667        args = this._internalRoot;
28668        if (null !== args) {
28669          this._internalRoot = null;
28670          var container = args.containerInfo;
28671          (executionContext & (RenderContext | CommitContext)) !== NoContext &&
28672            console.error(
28673              "Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."
28674            );
28675          updateContainerImpl(args.current, 2, null, args, null, null);
28676          flushSyncWork$1();
28677          container[internalContainerInstanceKey] = null;
28678        }
28679      };
28680    ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (
28681      target
28682    ) {
28683      if (target) {
28684        var updatePriority = resolveUpdatePriority();
28685        target = { blockedOn: null, target: target, priority: updatePriority };
28686        for (
28687          var i = 0;
28688          i < queuedExplicitHydrationTargets.length &&
28689          0 !== updatePriority &&
28690          updatePriority < queuedExplicitHydrationTargets[i].priority;
28691          i++
28692        );
28693        queuedExplicitHydrationTargets.splice(i, 0, target);
28694        0 === i && attemptExplicitHydrationTarget(target);
28695      }
28696    };
28697    (function () {
28698      var isomorphicReactPackageVersion = React.version;
28699      if ("19.1.2" !== isomorphicReactPackageVersion)
28700        throw Error(
28701          'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n  - react:      ' +
28702            (isomorphicReactPackageVersion +
28703              "\n  - react-dom:  19.1.2\nLearn more: https://react.dev/warnings/version-mismatch")
28704        );
28705    })();
28706    ("function" === typeof Map &&
28707      null != Map.prototype &&
28708      "function" === typeof Map.prototype.forEach &&
28709      "function" === typeof Set &&
28710      null != Set.prototype &&
28711      "function" === typeof Set.prototype.clear &&
28712      "function" === typeof Set.prototype.forEach) ||
28713      console.error(
28714        "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"
28715      );
28716    ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
28717      var fiber = componentOrElement._reactInternals;
28718      if (void 0 === fiber) {
28719        if ("function" === typeof componentOrElement.render)
28720          throw Error("Unable to find node on an unmounted component.");
28721        componentOrElement = Object.keys(componentOrElement).join(",");
28722        throw Error(
28723          "Argument appears to not be a ReactComponent. Keys: " +
28724            componentOrElement
28725        );
28726      }
28727      componentOrElement = findCurrentFiberUsingSlowPath(fiber);
28728      componentOrElement =
28729        null !== componentOrElement
28730          ? findCurrentHostFiberImpl(componentOrElement)
28731          : null;
28732      componentOrElement =
28733        null === componentOrElement ? null : componentOrElement.stateNode;
28734      return componentOrElement;
28735    };
28736    if (
28737      !(function () {
28738        var internals = {
28739          bundleType: 1,
28740          version: "19.1.2",
28741          rendererPackageName: "react-dom",
28742          currentDispatcherRef: ReactSharedInternals,
28743          reconcilerVersion: "19.1.2"
28744        };
28745        internals.overrideHookState = overrideHookState;
28746        internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
28747        internals.overrideHookStateRenamePath = overrideHookStateRenamePath;
28748        internals.overrideProps = overrideProps;
28749        internals.overridePropsDeletePath = overridePropsDeletePath;
28750        internals.overridePropsRenamePath = overridePropsRenamePath;
28751        internals.scheduleUpdate = scheduleUpdate;
28752        internals.setErrorHandler = setErrorHandler;
28753        internals.setSuspenseHandler = setSuspenseHandler;
28754        internals.scheduleRefresh = scheduleRefresh;
28755        internals.scheduleRoot = scheduleRoot;
28756        internals.setRefreshHandler = setRefreshHandler;
28757        internals.getCurrentFiber = getCurrentFiberForDevTools;
28758        internals.getLaneLabelMap = getLaneLabelMap;
28759        internals.injectProfilingHooks = injectProfilingHooks;
28760        return injectInternals(internals);
28761      })() &&
28762      canUseDOM &&
28763      window.top === window.self &&
28764      ((-1 < navigator.userAgent.indexOf("Chrome") &&
28765        -1 === navigator.userAgent.indexOf("Edge")) ||
28766        -1 < navigator.userAgent.indexOf("Firefox"))
28767    ) {
28768      var protocol = window.location.protocol;
28769      /^(https?|file):$/.test(protocol) &&
28770        console.info(
28771          "%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools" +
28772            ("file:" === protocol
28773              ? "\nYou might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq"
28774              : ""),
28775          "font-weight:bold"
28776        );
28777    }
28778    exports.createRoot = function (container, options) {
28779      if (!isValidContainer(container))
28780        throw Error("Target container is not a DOM element.");
28781      warnIfReactDOMContainerInDEV(container);
28782      var isStrictMode = !1,
28783        identifierPrefix = "",
28784        onUncaughtError = defaultOnUncaughtError,
28785        onCaughtError = defaultOnCaughtError,
28786        onRecoverableError = defaultOnRecoverableError,
28787        transitionCallbacks = null;
28788      null !== options &&
28789        void 0 !== options &&
28790        (options.hydrate
28791          ? console.warn(
28792              "hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."
28793            )
28794          : "object" === typeof options &&
28795            null !== options &&
28796            options.$$typeof === REACT_ELEMENT_TYPE &&
28797            console.error(
28798              "You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n  let root = createRoot(domContainer);\n  root.render(<App />);"
28799            ),
28800        !0 === options.unstable_strictMode && (isStrictMode = !0),
28801        void 0 !== options.identifierPrefix &&
28802          (identifierPrefix = options.identifierPrefix),
28803        void 0 !== options.onUncaughtError &&
28804          (onUncaughtError = options.onUncaughtError),
28805        void 0 !== options.onCaughtError &&
28806          (onCaughtError = options.onCaughtError),
28807        void 0 !== options.onRecoverableError &&
28808          (onRecoverableError = options.onRecoverableError),
28809        void 0 !== options.unstable_transitionCallbacks &&
28810          (transitionCallbacks = options.unstable_transitionCallbacks));
28811      options = createFiberRoot(
28812        container,
28813        1,
28814        !1,
28815        null,
28816        null,
28817        isStrictMode,
28818        identifierPrefix,
28819        onUncaughtError,
28820        onCaughtError,
28821        onRecoverableError,
28822        transitionCallbacks,
28823        null
28824      );
28825      container[internalContainerInstanceKey] = options.current;
28826      listenToAllSupportedEvents(container);
28827      return new ReactDOMRoot(options);
28828    };
28829    exports.hydrateRoot = function (container, initialChildren, options) {
28830      if (!isValidContainer(container))
28831        throw Error("Target container is not a DOM element.");
28832      warnIfReactDOMContainerInDEV(container);
28833      void 0 === initialChildren &&
28834        console.error(
28835          "Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)"
28836        );
28837      var isStrictMode = !1,
28838        identifierPrefix = "",
28839        onUncaughtError = defaultOnUncaughtError,
28840        onCaughtError = defaultOnCaughtError,
28841        onRecoverableError = defaultOnRecoverableError,
28842        transitionCallbacks = null,
28843        formState = null;
28844      null !== options &&
28845        void 0 !== options &&
28846        (!0 === options.unstable_strictMode && (isStrictMode = !0),
28847        void 0 !== options.identifierPrefix &&
28848          (identifierPrefix = options.identifierPrefix),
28849        void 0 !== options.onUncaughtError &&
28850          (onUncaughtError = options.onUncaughtError),
28851        void 0 !== options.onCaughtError &&
28852          (onCaughtError = options.onCaughtError),
28853        void 0 !== options.onRecoverableError &&
28854          (onRecoverableError = options.onRecoverableError),
28855        void 0 !== options.unstable_transitionCallbacks &&
28856          (transitionCallbacks = options.unstable_transitionCallbacks),
28857        void 0 !== options.formState && (formState = options.formState));
28858      initialChildren = createFiberRoot(
28859        container,
28860        1,
28861        !0,
28862        initialChildren,
28863        null != options ? options : null,
28864        isStrictMode,
28865        identifierPrefix,
28866        onUncaughtError,
28867        onCaughtError,
28868        onRecoverableError,
28869        transitionCallbacks,
28870        formState
28871      );
28872      initialChildren.context = getContextForSubtree(null);
28873      options = initialChildren.current;
28874      isStrictMode = requestUpdateLane(options);
28875      isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);
28876      identifierPrefix = createUpdate(isStrictMode);
28877      identifierPrefix.callback = null;
28878      enqueueUpdate(options, identifierPrefix, isStrictMode);
28879      options = isStrictMode;
28880      initialChildren.current.lanes = options;
28881      markRootUpdated$1(initialChildren, options);
28882      ensureRootIsScheduled(initialChildren);
28883      container[internalContainerInstanceKey] = initialChildren.current;
28884      listenToAllSupportedEvents(container);
28885      return new ReactDOMHydrationRoot(initialChildren);
28886    };
28887    exports.version = "19.1.2";
28888    "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
28889      "function" ===
28890        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
28891      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
28892  })();
28893
28894
28895/***/ },
28896
28897/***/ "./node_modules/react-dom/cjs/react-dom.development.js"
28898/*!*************************************************************!*\
28899  !*** ./node_modules/react-dom/cjs/react-dom.development.js ***!
28900  \*************************************************************/
28901(__unused_webpack_module, exports, __webpack_require__) {
28902
28903"use strict";
28904/**
28905 * @license React
28906 * react-dom.development.js
28907 *
28908 * Copyright (c) Meta Platforms, Inc. and affiliates.
28909 *
28910 * This source code is licensed under the MIT license found in the
28911 * LICENSE file in the root directory of this source tree.
28912 */
28913
28914
28915 true &&
28916  (function () {
28917    function noop() {}
28918    function testStringCoercion(value) {
28919      return "" + value;
28920    }
28921    function createPortal$1(children, containerInfo, implementation) {
28922      var key =
28923        3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
vendor: 19,808 bytes, lines 28924-29413
28924      try {
28925        testStringCoercion(key);
28926        var JSCompiler_inline_result = !1;
28927      } catch (e) {
28928        JSCompiler_inline_result = !0;
28929      }
28930      JSCompiler_inline_result &&
28931        (console.error(
28932          "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
28933          ("function" === typeof Symbol &&
28934            Symbol.toStringTag &&
28935            key[Symbol.toStringTag]) ||
28936            key.constructor.name ||
28937            "Object"
28938        ),
28939        testStringCoercion(key));
28940      return {
28941        $$typeof: REACT_PORTAL_TYPE,
28942        key: null == key ? null : "" + key,
28943        children: children,
28944        containerInfo: containerInfo,
28945        implementation: implementation
28946      };
28947    }
28948    function getCrossOriginStringAs(as, input) {
28949      if ("font" === as) return "";
28950      if ("string" === typeof input)
28951        return "use-credentials" === input ? input : "";
28952    }
28953    function getValueDescriptorExpectingObjectForWarning(thing) {
28954      return null === thing
28955        ? "`null`"
28956        : void 0 === thing
28957          ? "`undefined`"
28958          : "" === thing
28959            ? "an empty string"
28960            : 'something with type "' + typeof thing + '"';
28961    }
28962    function getValueDescriptorExpectingEnumForWarning(thing) {
28963      return null === thing
28964        ? "`null`"
28965        : void 0 === thing
28966          ? "`undefined`"
28967          : "" === thing
28968            ? "an empty string"
28969            : "string" === typeof thing
28970              ? JSON.stringify(thing)
28971              : "number" === typeof thing
28972                ? "`" + thing + "`"
28973                : 'something with type "' + typeof thing + '"';
28974    }
28975    function resolveDispatcher() {
28976      var dispatcher = ReactSharedInternals.H;
28977      null === dispatcher &&
28978        console.error(
28979          "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
28980        );
28981      return dispatcher;
28982    }
28983    "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
28984      "function" ===
28985        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
28986      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
28987    var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"),
28988      Internals = {
28989        d: {
28990          f: noop,
28991          r: function () {
28992            throw Error(
28993              "Invalid form element. requestFormReset must be passed a form that was rendered by React."
28994            );
28995          },
28996          D: noop,
28997          C: noop,
28998          L: noop,
28999          m: noop,
29000          X: noop,
29001          S: noop,
29002          M: noop
29003        },
29004        p: 0,
29005        findDOMNode: null
29006      },
29007      REACT_PORTAL_TYPE = Symbol.for("react.portal"),
29008      ReactSharedInternals =
29009        React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
29010    ("function" === typeof Map &&
29011      null != Map.prototype &&
29012      "function" === typeof Map.prototype.forEach &&
29013      "function" === typeof Set &&
29014      null != Set.prototype &&
29015      "function" === typeof Set.prototype.clear &&
29016      "function" === typeof Set.prototype.forEach) ||
29017      console.error(
29018        "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
29019      );
29020    exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
29021      Internals;
29022    exports.createPortal = function (children, container) {
29023      var key =
29024        2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
29025      if (
29026        !container ||
29027        (1 !== container.nodeType &&
29028          9 !== container.nodeType &&
29029          11 !== container.nodeType)
29030      )
29031        throw Error("Target container is not a DOM element.");
29032      return createPortal$1(children, container, null, key);
29033    };
29034    exports.flushSync = function (fn) {
29035      var previousTransition = ReactSharedInternals.T,
29036        previousUpdatePriority = Internals.p;
29037      try {
29038        if (((ReactSharedInternals.T = null), (Internals.p = 2), fn))
29039          return fn();
29040      } finally {
29041        (ReactSharedInternals.T = previousTransition),
29042          (Internals.p = previousUpdatePriority),
29043          Internals.d.f() &&
29044            console.error(
29045              "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
29046            );
29047      }
29048    };
29049    exports.preconnect = function (href, options) {
29050      "string" === typeof href && href
29051        ? null != options && "object" !== typeof options
29052          ? console.error(
29053              "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
29054              getValueDescriptorExpectingEnumForWarning(options)
29055            )
29056          : null != options &&
29057            "string" !== typeof options.crossOrigin &&
29058            console.error(
29059              "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
29060              getValueDescriptorExpectingObjectForWarning(options.crossOrigin)
29061            )
29062        : console.error(
29063            "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
29064            getValueDescriptorExpectingObjectForWarning(href)
29065          );
29066      "string" === typeof href &&
29067        (options
29068          ? ((options = options.crossOrigin),
29069            (options =
29070              "string" === typeof options
29071                ? "use-credentials" === options
29072                  ? options
29073                  : ""
29074                : void 0))
29075          : (options = null),
29076        Internals.d.C(href, options));
29077    };
29078    exports.prefetchDNS = function (href) {
29079      if ("string" !== typeof href || !href)
29080        console.error(
29081          "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
29082          getValueDescriptorExpectingObjectForWarning(href)
29083        );
29084      else if (1 < arguments.length) {
29085        var options = arguments[1];
29086        "object" === typeof options && options.hasOwnProperty("crossOrigin")
29087          ? console.error(
29088              "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
29089              getValueDescriptorExpectingEnumForWarning(options)
29090            )
29091          : console.error(
29092              "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
29093              getValueDescriptorExpectingEnumForWarning(options)
29094            );
29095      }
29096      "string" === typeof href && Internals.d.D(href);
29097    };
29098    exports.preinit = function (href, options) {
29099      "string" === typeof href && href
29100        ? null == options || "object" !== typeof options
29101          ? console.error(
29102              "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
29103              getValueDescriptorExpectingEnumForWarning(options)
29104            )
29105          : "style" !== options.as &&
29106            "script" !== options.as &&
29107            console.error(
29108              'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
29109              getValueDescriptorExpectingEnumForWarning(options.as)
29110            )
29111        : console.error(
29112            "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
29113            getValueDescriptorExpectingObjectForWarning(href)
29114          );
29115      if (
29116        "string" === typeof href &&
29117        options &&
29118        "string" === typeof options.as
29119      ) {
29120        var as = options.as,
29121          crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),
29122          integrity =
29123            "string" === typeof options.integrity ? options.integrity : void 0,
29124          fetchPriority =
29125            "string" === typeof options.fetchPriority
29126              ? options.fetchPriority
29127              : void 0;
29128        "style" === as
29129          ? Internals.d.S(
29130              href,
29131              "string" === typeof options.precedence
29132                ? options.precedence
29133                : void 0,
29134              {
29135                crossOrigin: crossOrigin,
29136                integrity: integrity,
29137                fetchPriority: fetchPriority
29138              }
29139            )
29140          : "script" === as &&
29141            Internals.d.X(href, {
29142              crossOrigin: crossOrigin,
29143              integrity: integrity,
29144              fetchPriority: fetchPriority,
29145              nonce: "string" === typeof options.nonce ? options.nonce : void 0
29146            });
29147      }
29148    };
29149    exports.preinitModule = function (href, options) {
29150      var encountered = "";
29151      ("string" === typeof href && href) ||
29152        (encountered +=
29153          " The `href` argument encountered was " +
29154          getValueDescriptorExpectingObjectForWarning(href) +
29155          ".");
29156      void 0 !== options && "object" !== typeof options
29157        ? (encountered +=
29158            " The `options` argument encountered was " +
29159            getValueDescriptorExpectingObjectForWarning(options) +
29160            ".")
29161        : options &&
29162          "as" in options &&
29163          "script" !== options.as &&
29164          (encountered +=
29165            " The `as` option encountered was " +
29166            getValueDescriptorExpectingEnumForWarning(options.as) +
29167            ".");
29168      if (encountered)
29169        console.error(
29170          "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
29171          encountered
29172        );
29173      else
29174        switch (
29175          ((encountered =
29176            options && "string" === typeof options.as ? options.as : "script"),
29177          encountered)
29178        ) {
29179          case "script":
29180            break;
29181          default:
29182            (encountered =
29183              getValueDescriptorExpectingEnumForWarning(encountered)),
29184              console.error(
29185                'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
29186                encountered,
29187                href
29188              );
29189        }
29190      if ("string" === typeof href)
29191        if ("object" === typeof options && null !== options) {
29192          if (null == options.as || "script" === options.as)
29193            (encountered = getCrossOriginStringAs(
29194              options.as,
29195              options.crossOrigin
29196            )),
29197              Internals.d.M(href, {
29198                crossOrigin: encountered,
29199                integrity:
29200                  "string" === typeof options.integrity
29201                    ? options.integrity
29202                    : void 0,
29203                nonce:
29204                  "string" === typeof options.nonce ? options.nonce : void 0
29205              });
29206        } else null == options && Internals.d.M(href);
29207    };
29208    exports.preload = function (href, options) {
29209      var encountered = "";
29210      ("string" === typeof href && href) ||
29211        (encountered +=
29212          " The `href` argument encountered was " +
29213          getValueDescriptorExpectingObjectForWarning(href) +
29214          ".");
29215      null == options || "object" !== typeof options
29216        ? (encountered +=
29217            " The `options` argument encountered was " +
29218            getValueDescriptorExpectingObjectForWarning(options) +
29219            ".")
29220        : ("string" === typeof options.as && options.as) ||
29221          (encountered +=
29222            " The `as` option encountered was " +
29223            getValueDescriptorExpectingObjectForWarning(options.as) +
29224            ".");
29225      encountered &&
29226        console.error(
29227          'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
29228          encountered
29229        );
29230      if (
29231        "string" === typeof href &&
29232        "object" === typeof options &&
29233        null !== options &&
29234        "string" === typeof options.as
29235      ) {
29236        encountered = options.as;
29237        var crossOrigin = getCrossOriginStringAs(
29238          encountered,
29239          options.crossOrigin
29240        );
29241        Internals.d.L(href, encountered, {
29242          crossOrigin: crossOrigin,
29243          integrity:
29244            "string" === typeof options.integrity ? options.integrity : void 0,
29245          nonce: "string" === typeof options.nonce ? options.nonce : void 0,
29246          type: "string" === typeof options.type ? options.type : void 0,
29247          fetchPriority:
29248            "string" === typeof options.fetchPriority
29249              ? options.fetchPriority
29250              : void 0,
29251          referrerPolicy:
29252            "string" === typeof options.referrerPolicy
29253              ? options.referrerPolicy
29254              : void 0,
29255          imageSrcSet:
29256            "string" === typeof options.imageSrcSet
29257              ? options.imageSrcSet
29258              : void 0,
29259          imageSizes:
29260            "string" === typeof options.imageSizes
29261              ? options.imageSizes
29262              : void 0,
29263          media: "string" === typeof options.media ? options.media : void 0
29264        });
29265      }
29266    };
29267    exports.preloadModule = function (href, options) {
29268      var encountered = "";
29269      ("string" === typeof href && href) ||
29270        (encountered +=
29271          " The `href` argument encountered was " +
29272          getValueDescriptorExpectingObjectForWarning(href) +
29273          ".");
29274      void 0 !== options && "object" !== typeof options
29275        ? (encountered +=
29276            " The `options` argument encountered was " +
29277            getValueDescriptorExpectingObjectForWarning(options) +
29278            ".")
29279        : options &&
29280          "as" in options &&
29281          "string" !== typeof options.as &&
29282          (encountered +=
29283            " The `as` option encountered was " +
29284            getValueDescriptorExpectingObjectForWarning(options.as) +
29285            ".");
29286      encountered &&
29287        console.error(
29288          'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
29289          encountered
29290        );
29291      "string" === typeof href &&
29292        (options
29293          ? ((encountered = getCrossOriginStringAs(
29294              options.as,
29295              options.crossOrigin
29296            )),
29297            Internals.d.m(href, {
29298              as:
29299                "string" === typeof options.as && "script" !== options.as
29300                  ? options.as
29301                  : void 0,
29302              crossOrigin: encountered,
29303              integrity:
29304                "string" === typeof options.integrity
29305                  ? options.integrity
29306                  : void 0
29307            }))
29308          : Internals.d.m(href));
29309    };
29310    exports.requestFormReset = function (form) {
29311      Internals.d.r(form);
29312    };
29313    exports.unstable_batchedUpdates = function (fn, a) {
29314      return fn(a);
29315    };
29316    exports.useFormState = function (action, initialState, permalink) {
29317      return resolveDispatcher().useFormState(action, initialState, permalink);
29318    };
29319    exports.useFormStatus = function () {
29320      return resolveDispatcher().useHostTransitionStatus();
29321    };
29322    exports.version = "19.1.2";
29323    "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
29324      "function" ===
29325        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
29326      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
29327  })();
29328
29329
29330/***/ },
29331
29332/***/ "./node_modules/react-dom/client.js"
29333/*!******************************************!*\
29334  !*** ./node_modules/react-dom/client.js ***!
29335  \******************************************/
29336(module, __unused_webpack_exports, __webpack_require__) {
29337
29338"use strict";
29339
29340
29341function checkDCE() {
29342  /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
29343  if (
29344    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
29345    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
29346  ) {
29347    return;
29348  }
29349  if (true) {
29350    // This branch is unreachable because this function is only called
29351    // in production, but the condition is true only in development.
29352    // Therefore if the branch is still here, dead code elimination wasn't
29353    // properly applied.
29354    // Don't change the message. React DevTools relies on it. Also make sure
29355    // this message doesn't occur elsewhere in this function, or it will cause
29356    // a false positive.
29357    throw new Error('^_^');
29358  }
29359  // removed by dead control flow
29360
29361}
29362
29363if (false) // removed by dead control flow
29364{} else {
29365  module.exports = __webpack_require__(/*! ./cjs/react-dom-client.development.js */ "./node_modules/react-dom/cjs/react-dom-client.development.js");
29366}
29367
29368
29369/***/ },
29370
29371/***/ "./node_modules/react-dom/index.js"
29372/*!*****************************************!*\
29373  !*** ./node_modules/react-dom/index.js ***!
29374  \*****************************************/
29375(module, __unused_webpack_exports, __webpack_require__) {
29376
29377"use strict";
29378
29379
29380function checkDCE() {
29381  /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
29382  if (
29383    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
29384    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
29385  ) {
29386    return;
29387  }
29388  if (true) {
29389    // This branch is unreachable because this function is only called
29390    // in production, but the condition is true only in development.
29391    // Therefore if the branch is still here, dead code elimination wasn't
29392    // properly applied.
29393    // Don't change the message. React DevTools relies on it. Also make sure
29394    // this message doesn't occur elsewhere in this function, or it will cause
29395    // a false positive.
29396    throw new Error('^_^');
29397  }
29398  // removed by dead control flow
29399
29400}
29401
29402if (false) // removed by dead control flow
29403{} else {
29404  module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */ "./node_modules/react-dom/cjs/react-dom.development.js");
29405}
29406
29407
29408/***/ },
29409
29410/***/ "./node_modules/react-is/cjs/react-is.development.js"
29411/*!***********************************************************!*\
29412  !*** ./node_modules/react-is/cjs/react-is.development.js ***!
29413  \***********************************************************/
29414(__unused_webpack_module, exports) {
29415
29416"use strict";
29417/** @license React v16.13.1
29418 * react-is.development.js
29419 *
29420 * Copyright (c) Facebook, Inc. and its affiliates.
29421 *
29422 * This source code is licensed under the MIT license found in the
29423 * LICENSE file in the root directory of this source tree.
29424 */
29425
29426
29427
29428
29429
29430if (true
vendor: 6,679 bytes, lines 29430-29598
29430) {
29431  (function() {
29432'use strict';
29433
29434// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
29435// nor polyfill, then a plain number is used for performance.
29436var hasSymbol = typeof Symbol === 'function' && Symbol.for;
29437var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
29438var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
29439var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
29440var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
29441var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
29442var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
29443var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
29444// (unstable) APIs that have been removed. Can we remove the symbols?
29445
29446var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
29447var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
29448var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
29449var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
29450var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
29451var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
29452var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
29453var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
29454var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
29455var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
29456var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
29457
29458function isValidElementType(type) {
29459  return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
29460  type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
29461}
29462
29463function typeOf(object) {
29464  if (typeof object === 'object' && object !== null) {
29465    var $$typeof = object.$$typeof;
29466
29467    switch ($$typeof) {
29468      case REACT_ELEMENT_TYPE:
29469        var type = object.type;
29470
29471        switch (type) {
29472          case REACT_ASYNC_MODE_TYPE:
29473          case REACT_CONCURRENT_MODE_TYPE:
29474          case REACT_FRAGMENT_TYPE:
29475          case REACT_PROFILER_TYPE:
29476          case REACT_STRICT_MODE_TYPE:
29477          case REACT_SUSPENSE_TYPE:
29478            return type;
29479
29480          default:
29481            var $$typeofType = type && type.$$typeof;
29482
29483            switch ($$typeofType) {
29484              case REACT_CONTEXT_TYPE:
29485              case REACT_FORWARD_REF_TYPE:
29486              case REACT_LAZY_TYPE:
29487              case REACT_MEMO_TYPE:
29488              case REACT_PROVIDER_TYPE:
29489                return $$typeofType;
29490
29491              default:
29492                return $$typeof;
29493            }
29494
29495        }
29496
29497      case REACT_PORTAL_TYPE:
29498        return $$typeof;
29499    }
29500  }
29501
29502  return undefined;
29503} // AsyncMode is deprecated along with isAsyncMode
29504
29505var AsyncMode = REACT_ASYNC_MODE_TYPE;
29506var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
29507var ContextConsumer = REACT_CONTEXT_TYPE;
29508var ContextProvider = REACT_PROVIDER_TYPE;
29509var Element = REACT_ELEMENT_TYPE;
29510var ForwardRef = REACT_FORWARD_REF_TYPE;
29511var Fragment = REACT_FRAGMENT_TYPE;
29512var Lazy = REACT_LAZY_TYPE;
29513var Memo = REACT_MEMO_TYPE;
29514var Portal = REACT_PORTAL_TYPE;
29515var Profiler = REACT_PROFILER_TYPE;
29516var StrictMode = REACT_STRICT_MODE_TYPE;
29517var Suspense = REACT_SUSPENSE_TYPE;
29518var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
29519
29520function isAsyncMode(object) {
29521  {
29522    if (!hasWarnedAboutDeprecatedIsAsyncMode) {
29523      hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
29524
29525      console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
29526    }
29527  }
29528
29529  return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
29530}
29531function isConcurrentMode(object) {
29532  return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
29533}
29534function isContextConsumer(object) {
29535  return typeOf(object) === REACT_CONTEXT_TYPE;
29536}
29537function isContextProvider(object) {
29538  return typeOf(object) === REACT_PROVIDER_TYPE;
29539}
29540function isElement(object) {
29541  return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
29542}
29543function isForwardRef(object) {
29544  return typeOf(object) === REACT_FORWARD_REF_TYPE;
29545}
29546function isFragment(object) {
29547  return typeOf(object) === REACT_FRAGMENT_TYPE;
29548}
29549function isLazy(object) {
29550  return typeOf(object) === REACT_LAZY_TYPE;
29551}
29552function isMemo(object) {
29553  return typeOf(object) === REACT_MEMO_TYPE;
29554}
29555function isPortal(object) {
29556  return typeOf(object) === REACT_PORTAL_TYPE;
29557}
29558function isProfiler(object) {
29559  return typeOf(object) === REACT_PROFILER_TYPE;
29560}
29561function isStrictMode(object) {
29562  return typeOf(object) === REACT_STRICT_MODE_TYPE;
29563}
29564function isSuspense(object) {
29565  return typeOf(object) === REACT_SUSPENSE_TYPE;
29566}
29567
29568exports.AsyncMode = AsyncMode;
29569exports.ConcurrentMode = ConcurrentMode;
29570exports.ContextConsumer = ContextConsumer;
29571exports.ContextProvider = ContextProvider;
29572exports.Element = Element;
29573exports.ForwardRef = ForwardRef;
29574exports.Fragment = Fragment;
29575exports.Lazy = Lazy;
29576exports.Memo = Memo;
29577exports.Portal = Portal;
29578exports.Profiler = Profiler;
29579exports.StrictMode = StrictMode;
29580exports.Suspense = Suspense;
29581exports.isAsyncMode = isAsyncMode;
29582exports.isConcurrentMode = isConcurrentMode;
29583exports.isContextConsumer = isContextConsumer;
29584exports.isContextProvider = isContextProvider;
29585exports.isElement = isElement;
29586exports.isForwardRef = isForwardRef;
29587exports.isFragment = isFragment;
29588exports.isLazy = isLazy;
29589exports.isMemo = isMemo;
29590exports.isPortal = isPortal;
29591exports.isProfiler = isProfiler;
29592exports.isStrictMode = isStrictMode;
29593exports.isSuspense = isSuspense;
29594exports.isValidElementType = isValidElementType;
29595exports.typeOf = typeOf;
29596  })();
29597}
29598
vendor: 4,373 bytes, lines 29599-29731
29599
29600/***/ },
29601
29602/***/ "./node_modules/react-is/index.js"
29603/*!****************************************!*\
29604  !*** ./node_modules/react-is/index.js ***!
29605  \****************************************/
29606(module, __unused_webpack_exports, __webpack_require__) {
29607
29608"use strict";
29609
29610
29611if (false) // removed by dead control flow
29612{} else {
29613  module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "./node_modules/react-is/cjs/react-is.development.js");
29614}
29615
29616
29617/***/ },
29618
29619/***/ "./node_modules/react/cjs/react-jsx-runtime.development.js"
29620/*!*****************************************************************!*\
29621  !*** ./node_modules/react/cjs/react-jsx-runtime.development.js ***!
29622  \*****************************************************************/
29623(__unused_webpack_module, exports, __webpack_require__) {
29624
29625"use strict";
29626/**
29627 * @license React
29628 * react-jsx-runtime.development.js
29629 *
29630 * Copyright (c) Meta Platforms, Inc. and affiliates.
29631 *
29632 * This source code is licensed under the MIT license found in the
29633 * LICENSE file in the root directory of this source tree.
29634 */
29635
29636
29637 true &&
29638  (function () {
29639    function getComponentNameFromType(type) {
29640      if (null == type) return null;
29641      if ("function" === typeof type)
29642        return type.$$typeof === REACT_CLIENT_REFERENCE
29643          ? null
29644          : type.displayName || type.name || null;
29645      if ("string" === typeof type) return type;
29646      switch (type) {
29647        case REACT_FRAGMENT_TYPE:
29648          return "Fragment";
29649        case REACT_PROFILER_TYPE:
29650          return "Profiler";
29651        case REACT_STRICT_MODE_TYPE:
29652          return "StrictMode";
29653        case REACT_SUSPENSE_TYPE:
29654          return "Suspense";
29655        case REACT_SUSPENSE_LIST_TYPE:
29656          return "SuspenseList";
29657        case REACT_ACTIVITY_TYPE:
29658          return "Activity";
29659      }
29660      if ("object" === typeof type)
29661        switch (
29662          ("number" === typeof type.tag &&
29663            console.error(
29664              "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
29665            ),
29666          type.$$typeof)
29667        ) {
29668          case REACT_PORTAL_TYPE:
29669            return "Portal";
29670          case REACT_CONTEXT_TYPE:
29671            return (type.displayName || "Context") + ".Provider";
29672          case REACT_CONSUMER_TYPE:
29673            return (type._context.displayName || "Context") + ".Consumer";
29674          case REACT_FORWARD_REF_TYPE:
29675            var innerType = type.render;
29676            type = type.displayName;
29677            type ||
29678              ((type = innerType.displayName || innerType.name || ""),
29679              (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
29680            return type;
29681          case REACT_MEMO_TYPE:
29682            return (
29683              (innerType = type.displayName || null),
29684              null !== innerType
29685                ? innerType
29686                : getComponentNameFromType(type.type) || "Memo"
29687            );
29688          case REACT_LAZY_TYPE:
29689            innerType = type._payload;
29690            type = type._init;
29691            try {
29692              return getComponentNameFromType(type(innerType));
29693            } catch (x) {}
29694        }
29695      return null;
29696    }
29697    function testStringCoercion(value) {
29698      return "" + value;
29699    }
29700    function checkKeyStringCoercion(value) {
29701      try {
29702        testStringCoercion(value);
29703        var JSCompiler_inline_result = !1;
29704      } catch (e) {
29705        JSCompiler_inline_result = !0;
29706      }
29707      if (JSCompiler_inline_result) {
29708        JSCompiler_inline_result = console;
29709        var JSCompiler_temp_const = JSCompiler_inline_result.error;
29710        var JSCompiler_inline_result$jscomp$0 =
29711          ("function" === typeof Symbol &&
29712            Symbol.toStringTag &&
29713            value[Symbol.toStringTag]) ||
29714          value.constructor.name ||
29715          "Object";
29716        JSCompiler_temp_const.call(
29717          JSCompiler_inline_result,
29718          "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
29719          JSCompiler_inline_result$jscomp$0
29720        );
29721        return testStringCoercion(value);
29722      }
29723    }
29724    function getTaskName(type) {
29725      if (type === REACT_FRAGMENT_TYPE) return "<>";
29726      if (
29727        "object" === typeof type &&
29728        null !== type &&
29729        type.$$typeof === REACT_LAZY_TYPE
29730      )
29731        return "<...>";
29732      try {
29733        var name = getComponentNameFromType(type);
29734        return name ? "<" + name + ">" : "<...>";
29735      } catch (x) {
29736        return "<...>";
29737      }
29738    }
29739    function getOwner() {
29740      var dispatcher = ReactSharedInternals.A;
29741      return null === dispatcher ? null : dispatcher.getOwner();
29742    }
29743    function UnknownOwner() {
29744      return Error("react-stack-top-frame");
29745    }
29746    function hasValidKey(config) {
29747      if (hasOwnProperty.call(config, "key")) {
29748        var getter = Object.getOwnPropertyDescriptor(config, "key").get;
29749        if (getter && getter.isReactWarning) return !1;
29750      }
29751      return void 0 !== config.key;
29752    }
29753    function defineKeyPropWarningGetter(props, displayName) {
29754      function warnAboutAccessingKey() {
29755        specialPropKeyWarningShown ||
29756          ((specialPropKeyWarningShown = !0),
29757          console.error(
29758            "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
29759            displayName
29760          ));
29761      }
29762      warnAboutAccessingKey.isReactWarning = !0;
29763      Object.defineProperty(props, "key", {
29764        get: warnAboutAccessingKey,
29765        configurable: !0
29766      });
29767    }
29768    function elementRefGetterWithDeprecationWarning() {
29769      var componentName = getComponentNameFromType(this.type);
29770      didWarnAboutElementRef[componentName] ||
29771        ((didWarnAboutElementRef[componentName] = !0),
29772        console.error(
29773          "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
29774        ));
29775      componentName = this.props.ref;
29776      return void 0 !== componentName ? componentName : null;
29777    }
29778    function ReactElement(
29779      type,
29780      key,
29781      self,
29782      source,
29783      owner,
29784      props,
29785      debugStack,
29786      debugTask
29787    ) {
29788      self = props.ref;
29789      type = {
29790        $$typeof: REACT_ELEMENT_TYPE,
29791        type: type,
29792        key: key,
29793        props: props,
29794        _owner: owner
29795      };
29796      null !== (void 0 !== self ? self : null)
29797        ? Object.defineProperty(type, "ref", {
29798            enumerable: !1,
29799            get: elementRefGetterWithDeprecationWarning
29800          })
29801        : Object.defineProperty(type, "ref", { enumerable: !1, value: null });
29802      type._store = {};
29803      Object.defineProperty(type._store, "validated", {
29804        configurable: !1,
29805        enumerable: !1,
29806        writable: !0,
29807        value: 0
29808      });
29809      Object.defineProperty(type, "_debugInfo", {
29810        configurable: !1,
29811        enumerable: !1,
29812        writable: !0,
29813        value: null
29814      });
29815      Object.defineProperty(type, "_debugStack", {
29816        configurable: !1,
29817        enumerable: !1,
29818        writable: !0,
29819        value: debugStack
29820      });
29821      Object.defineProperty(type, "_debugTask", {
29822        configurable: !1,
29823        enumerable: !1,
29824        writable: !0,
29825        value: debugTask
29826      });
29827      Object.freeze && (Object.freeze(type.props), Object.freeze(type));
29828      return type;
29829    }
29830    function jsxDEVImpl(
29831      type,
29832      config,
29833      maybeKey,
29834      isStaticChildren,
29835      source,
29836      self,
29837      debugStack,
29838      debugTask
29839    ) {
29840      var children = config.children;
29841      if (void 0 !== children)
29842        if (isStaticChildren)
29843          if (isArrayImpl(children)) {
29844            for (
29845              isStaticChildren = 0;
29846              isStaticChildren < children.length;
29847              isStaticChildren++
29848            )
29849              validateChildKeys(children[isStaticChildren]);
29850            Object.freeze && Object.freeze(children);
29851          } else
29852            console.error(
29853              "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
29854            );
29855        else validateChildKeys(children);
29856      if (hasOwnProperty.call(config, "key")) {
29857        children = getComponentNameFromType(type);
29858        var keys = Object.keys(config).filter(function (k) {
29859          return "key" !== k;
29860        });
29861        isStaticChildren =
29862          0 < keys.length
29863            ? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
29864            : "{key: someKey}";
29865        didWarnAboutKeySpread[children + isStaticChildren] ||
29866          ((keys =
29867            0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
29868          console.error(
29869            'A props object containing a "key" prop is being spread into JSX:\n  let props = %s;\n  <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n  let props = %s;\n  <%s key={someKey} {...props} />',
29870            isStaticChildren,
29871            children,
29872            keys,
29873            children
29874          ),
29875          (didWarnAboutKeySpread[children + isStaticChildren] = !0));
29876      }
29877      children = null;
29878      void 0 !== maybeKey &&
29879        (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
29880      hasValidKey(config) &&
29881        (checkKeyStringCoercion(config.key), (children = "" + config.key));
29882      if ("key" in config) {
29883        maybeKey = {};
29884        for (var propName in config)
29885          "key" !== propName && (maybeKey[propName] = config[propName]);
29886      } else maybeKey = config;
29887      children &&
29888        defineKeyPropWarningGetter(
29889          maybeKey,
29890          "function" === typeof type
29891            ? type.displayName || type.name || "Unknown"
29892            : type
29893        );
29894      return ReactElement(
29895        type,
29896        children,
29897        self,
29898        source,
29899        getOwner(),
29900        maybeKey,
29901        debugStack,
29902        debugTask
29903      );
29904    }
29905    function validateChildKeys(node) {
29906      "object" === typeof node &&
29907        null !== node &&
29908        node.$$typeof === REACT_ELEMENT_TYPE &&
29909        node._store &&
29910        (node._store.validated = 1);
29911    }
29912    var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"),
29913      REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
29914      REACT_PORTAL_TYPE = Symbol.for("react.portal"),
29915      REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
29916      REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
29917      REACT_PROFILER_TYPE = Symbol.for("react.profiler");
29918    Symbol.for("react.provider");
29919    var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
29920      REACT_CONTEXT_TYPE = Symbol.for("react.context"),
29921      REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
29922      REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
29923      REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
29924      REACT_MEMO_TYPE = Symbol.for("react.memo"),
29925      REACT_LAZY_TYPE = Symbol.for("react.lazy"),
29926      REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
29927      REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
29928      ReactSharedInternals =
29929        React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
29930      hasOwnProperty = Object.prototype.hasOwnProperty,
29931      isArrayImpl = Array.isArray,
29932      createTask = console.createTask
29933        ? console.createTask
29934        : function () {
29935            return null;
29936          };
29937    React = {
29938      react_stack_bottom_frame: function (callStackForError) {
29939        return callStackForError();
29940      }
29941    };
29942    var specialPropKeyWarningShown;
29943    var didWarnAboutElementRef = {};
29944    var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
29945      React,
29946      UnknownOwner
29947    )();
29948    var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
29949    var didWarnAboutKeySpread = {};
29950    exports.Fragment = REACT_FRAGMENT_TYPE;
29951    exports.jsx = function (type, config, maybeKey, source, self) {
29952      var trackActualOwner =
29953        1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
29954      return jsxDEVImpl(
29955        type,
29956        config,
29957        maybeKey,
29958        !1,
29959        source,
29960        self,
29961        trackActualOwner
29962          ? Error("react-stack-top-frame")
29963          : unknownOwnerDebugStack,
29964        trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
29965      );
29966    };
29967    exports.jsxs = function (type, config, maybeKey, source, self) {
29968      var trackActualOwner =
29969        1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
29970      return jsxDEVImpl(
29971        type,
29972        config,
29973        maybeKey,
29974        !0,
29975        source,
29976        self,
29977        trackActualOwner
29978          ? Error("react-stack-top-frame")
29979          : unknownOwnerDebugStack,
29980        trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
29981      );
29982    };
29983  })();
29984
29985
29986/***/ },
29987
29988/***/ "./node_modules/react/cjs/react.development.js"
29989/*!*****************************************************!*\
29990  !*** ./node_modules/react/cjs/react.development.js ***!
29991  \*****************************************************/
29992(module, exports, __webpack_require__) {
29993
29994"use strict";
29995/* module decorator */ module = __webpack_require__.nmd(module);
29996/**
29997 * @license React
29998 * react.development.js
29999 *
30000 * Copyright (c) Meta Platforms, Inc. and affiliates.
30001 *
30002 * This source code is licensed under the MIT license found in the
30003 * LICENSE file in the root directory of this source tree.
30004 */
30005
30006
30007 true &&
30008  (function () {
30009    function defineDeprecationWarning(methodName, info) {
30010      Object.defineProperty(Component.prototype, methodName, {
30011        get: function () {
30012          console.warn(
vendor: 21,965 bytes, lines 30013-30615
30013            "%s(...) is deprecated in plain JavaScript React classes. %s",
30014            info[0],
30015            info[1]
30016          );
30017        }
30018      });
30019    }
30020    function getIteratorFn(maybeIterable) {
30021      if (null === maybeIterable || "object" !== typeof maybeIterable)
30022        return null;
30023      maybeIterable =
30024        (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
30025        maybeIterable["@@iterator"];
30026      return "function" === typeof maybeIterable ? maybeIterable : null;
30027    }
30028    function warnNoop(publicInstance, callerName) {
30029      publicInstance =
30030        ((publicInstance = publicInstance.constructor) &&
30031          (publicInstance.displayName || publicInstance.name)) ||
30032        "ReactClass";
30033      var warningKey = publicInstance + "." + callerName;
30034      didWarnStateUpdateForUnmountedComponent[warningKey] ||
30035        (console.error(
30036          "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
30037          callerName,
30038          publicInstance
30039        ),
30040        (didWarnStateUpdateForUnmountedComponent[warningKey] = !0));
30041    }
30042    function Component(props, context, updater) {
30043      this.props = props;
30044      this.context = context;
30045      this.refs = emptyObject;
30046      this.updater = updater || ReactNoopUpdateQueue;
30047    }
30048    function ComponentDummy() {}
30049    function PureComponent(props, context, updater) {
30050      this.props = props;
30051      this.context = context;
30052      this.refs = emptyObject;
30053      this.updater = updater || ReactNoopUpdateQueue;
30054    }
30055    function testStringCoercion(value) {
30056      return "" + value;
30057    }
30058    function checkKeyStringCoercion(value) {
30059      try {
30060        testStringCoercion(value);
30061        var JSCompiler_inline_result = !1;
30062      } catch (e) {
30063        JSCompiler_inline_result = !0;
30064      }
30065      if (JSCompiler_inline_result) {
30066        JSCompiler_inline_result = console;
30067        var JSCompiler_temp_const = JSCompiler_inline_result.error;
30068        var JSCompiler_inline_result$jscomp$0 =
30069          ("function" === typeof Symbol &&
30070            Symbol.toStringTag &&
30071            value[Symbol.toStringTag]) ||
30072          value.constructor.name ||
30073          "Object";
30074        JSCompiler_temp_const.call(
30075          JSCompiler_inline_result,
30076          "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
30077          JSCompiler_inline_result$jscomp$0
30078        );
30079        return testStringCoercion(value);
30080      }
30081    }
30082    function getComponentNameFromType(type) {
30083      if (null == type) return null;
30084      if ("function" === typeof type)
30085        return type.$$typeof === REACT_CLIENT_REFERENCE
30086          ? null
30087          : type.displayName || type.name || null;
30088      if ("string" === typeof type) return type;
30089      switch (type) {
30090        case REACT_FRAGMENT_TYPE:
30091          return "Fragment";
30092        case REACT_PROFILER_TYPE:
30093          return "Profiler";
30094        case REACT_STRICT_MODE_TYPE:
30095          return "StrictMode";
30096        case REACT_SUSPENSE_TYPE:
30097          return "Suspense";
30098        case REACT_SUSPENSE_LIST_TYPE:
30099          return "SuspenseList";
30100        case REACT_ACTIVITY_TYPE:
30101          return "Activity";
30102      }
30103      if ("object" === typeof type)
30104        switch (
30105          ("number" === typeof type.tag &&
30106            console.error(
30107              "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
30108            ),
30109          type.$$typeof)
30110        ) {
30111          case REACT_PORTAL_TYPE:
30112            return "Portal";
30113          case REACT_CONTEXT_TYPE:
30114            return (type.displayName || "Context") + ".Provider";
30115          case REACT_CONSUMER_TYPE:
30116            return (type._context.displayName || "Context") + ".Consumer";
30117          case REACT_FORWARD_REF_TYPE:
30118            var innerType = type.render;
30119            type = type.displayName;
30120            type ||
30121              ((type = innerType.displayName || innerType.name || ""),
30122              (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
30123            return type;
30124          case REACT_MEMO_TYPE:
30125            return (
30126              (innerType = type.displayName || null),
30127              null !== innerType
30128                ? innerType
30129                : getComponentNameFromType(type.type) || "Memo"
30130            );
30131          case REACT_LAZY_TYPE:
30132            innerType = type._payload;
30133            type = type._init;
30134            try {
30135              return getComponentNameFromType(type(innerType));
30136            } catch (x) {}
30137        }
30138      return null;
30139    }
30140    function getTaskName(type) {
30141      if (type === REACT_FRAGMENT_TYPE) return "<>";
30142      if (
30143        "object" === typeof type &&
30144        null !== type &&
30145        type.$$typeof === REACT_LAZY_TYPE
30146      )
30147        return "<...>";
30148      try {
30149        var name = getComponentNameFromType(type);
30150        return name ? "<" + name + ">" : "<...>";
30151      } catch (x) {
30152        return "<...>";
30153      }
30154    }
30155    function getOwner() {
30156      var dispatcher = ReactSharedInternals.A;
30157      return null === dispatcher ? null : dispatcher.getOwner();
30158    }
30159    function UnknownOwner() {
30160      return Error("react-stack-top-frame");
30161    }
30162    function hasValidKey(config) {
30163      if (hasOwnProperty.call(config, "key")) {
30164        var getter = Object.getOwnPropertyDescriptor(config, "key").get;
30165        if (getter && getter.isReactWarning) return !1;
30166      }
30167      return void 0 !== config.key;
30168    }
30169    function defineKeyPropWarningGetter(props, displayName) {
30170      function warnAboutAccessingKey() {
30171        specialPropKeyWarningShown ||
30172          ((specialPropKeyWarningShown = !0),
30173          console.error(
30174            "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
30175            displayName
30176          ));
30177      }
30178      warnAboutAccessingKey.isReactWarning = !0;
30179      Object.defineProperty(props, "key", {
30180        get: warnAboutAccessingKey,
30181        configurable: !0
30182      });
30183    }
30184    function elementRefGetterWithDeprecationWarning() {
30185      var componentName = getComponentNameFromType(this.type);
30186      didWarnAboutElementRef[componentName] ||
30187        ((didWarnAboutElementRef[componentName] = !0),
30188        console.error(
30189          "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
30190        ));
30191      componentName = this.props.ref;
30192      return void 0 !== componentName ? componentName : null;
30193    }
30194    function ReactElement(
30195      type,
30196      key,
30197      self,
30198      source,
30199      owner,
30200      props,
30201      debugStack,
30202      debugTask
30203    ) {
30204      self = props.ref;
30205      type = {
30206        $$typeof: REACT_ELEMENT_TYPE,
30207        type: type,
30208        key: key,
30209        props: props,
30210        _owner: owner
30211      };
30212      null !== (void 0 !== self ? self : null)
30213        ? Object.defineProperty(type, "ref", {
30214            enumerable: !1,
30215            get: elementRefGetterWithDeprecationWarning
30216          })
30217        : Object.defineProperty(type, "ref", { enumerable: !1, value: null });
30218      type._store = {};
30219      Object.defineProperty(type._store, "validated", {
30220        configurable: !1,
30221        enumerable: !1,
30222        writable: !0,
30223        value: 0
30224      });
30225      Object.defineProperty(type, "_debugInfo", {
30226        configurable: !1,
30227        enumerable: !1,
30228        writable: !0,
30229        value: null
30230      });
30231      Object.defineProperty(type, "_debugStack", {
30232        configurable: !1,
30233        enumerable: !1,
30234        writable: !0,
30235        value: debugStack
30236      });
30237      Object.defineProperty(type, "_debugTask", {
30238        configurable: !1,
30239        enumerable: !1,
30240        writable: !0,
30241        value: debugTask
30242      });
30243      Object.freeze && (Object.freeze(type.props), Object.freeze(type));
30244      return type;
30245    }
30246    function cloneAndReplaceKey(oldElement, newKey) {
30247      newKey = ReactElement(
30248        oldElement.type,
30249        newKey,
30250        void 0,
30251        void 0,
30252        oldElement._owner,
30253        oldElement.props,
30254        oldElement._debugStack,
30255        oldElement._debugTask
30256      );
30257      oldElement._store &&
30258        (newKey._store.validated = oldElement._store.validated);
30259      return newKey;
30260    }
30261    function isValidElement(object) {
30262      return (
30263        "object" === typeof object &&
30264        null !== object &&
30265        object.$$typeof === REACT_ELEMENT_TYPE
30266      );
30267    }
30268    function escape(key) {
30269      var escaperLookup = { "=": "=0", ":": "=2" };
30270      return (
30271        "$" +
30272        key.replace(/[=:]/g, function (match) {
30273          return escaperLookup[match];
30274        })
30275      );
30276    }
30277    function getElementKey(element, index) {
30278      return "object" === typeof element &&
30279        null !== element &&
30280        null != element.key
30281        ? (checkKeyStringCoercion(element.key), escape("" + element.key))
30282        : index.toString(36);
30283    }
30284    function noop$1() {}
30285    function resolveThenable(thenable) {
30286      switch (thenable.status) {
30287        case "fulfilled":
30288          return thenable.value;
30289        case "rejected":
30290          throw thenable.reason;
30291        default:
30292          switch (
30293            ("string" === typeof thenable.status
30294              ? thenable.then(noop$1, noop$1)
30295              : ((thenable.status = "pending"),
30296                thenable.then(
30297                  function (fulfilledValue) {
30298                    "pending" === thenable.status &&
30299                      ((thenable.status = "fulfilled"),
30300                      (thenable.value = fulfilledValue));
30301                  },
30302                  function (error) {
30303                    "pending" === thenable.status &&
30304                      ((thenable.status = "rejected"),
30305                      (thenable.reason = error));
30306                  }
30307                )),
30308            thenable.status)
30309          ) {
30310            case "fulfilled":
30311              return thenable.value;
30312            case "rejected":
30313              throw thenable.reason;
30314          }
30315      }
30316      throw thenable;
30317    }
30318    function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
30319      var type = typeof children;
30320      if ("undefined" === type || "boolean" === type) children = null;
30321      var invokeCallback = !1;
30322      if (null === children) invokeCallback = !0;
30323      else
30324        switch (type) {
30325          case "bigint":
30326          case "string":
30327          case "number":
30328            invokeCallback = !0;
30329            break;
30330          case "object":
30331            switch (children.$$typeof) {
30332              case REACT_ELEMENT_TYPE:
30333              case REACT_PORTAL_TYPE:
30334                invokeCallback = !0;
30335                break;
30336              case REACT_LAZY_TYPE:
30337                return (
30338                  (invokeCallback = children._init),
30339                  mapIntoArray(
30340                    invokeCallback(children._payload),
30341                    array,
30342                    escapedPrefix,
30343                    nameSoFar,
30344                    callback
30345                  )
30346                );
30347            }
30348        }
30349      if (invokeCallback) {
30350        invokeCallback = children;
30351        callback = callback(invokeCallback);
30352        var childKey =
30353          "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
30354        isArrayImpl(callback)
30355          ? ((escapedPrefix = ""),
30356            null != childKey &&
30357              (escapedPrefix =
30358                childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
30359            mapIntoArray(callback, array, escapedPrefix, "", function (c) {
30360              return c;
30361            }))
30362          : null != callback &&
30363            (isValidElement(callback) &&
30364              (null != callback.key &&
30365                ((invokeCallback && invokeCallback.key === callback.key) ||
30366                  checkKeyStringCoercion(callback.key)),
30367              (escapedPrefix = cloneAndReplaceKey(
30368                callback,
30369                escapedPrefix +
30370                  (null == callback.key ||
30371                  (invokeCallback && invokeCallback.key === callback.key)
30372                    ? ""
30373                    : ("" + callback.key).replace(
30374                        userProvidedKeyEscapeRegex,
30375                        "$&/"
30376                      ) + "/") +
30377                  childKey
30378              )),
30379              "" !== nameSoFar &&
30380                null != invokeCallback &&
30381                isValidElement(invokeCallback) &&
30382                null == invokeCallback.key &&
30383                invokeCallback._store &&
30384                !invokeCallback._store.validated &&
30385                (escapedPrefix._store.validated = 2),
30386              (callback = escapedPrefix)),
30387            array.push(callback));
30388        return 1;
30389      }
30390      invokeCallback = 0;
30391      childKey = "" === nameSoFar ? "." : nameSoFar + ":";
30392      if (isArrayImpl(children))
30393        for (var i = 0; i < children.length; i++)
30394          (nameSoFar = children[i]),
30395            (type = childKey + getElementKey(nameSoFar, i)),
30396            (invokeCallback += mapIntoArray(
30397              nameSoFar,
30398              array,
30399              escapedPrefix,
30400              type,
30401              callback
30402            ));
30403      else if (((i = getIteratorFn(children)), "function" === typeof i))
30404        for (
30405          i === children.entries &&
30406            (didWarnAboutMaps ||
30407              console.warn(
30408                "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
30409              ),
30410            (didWarnAboutMaps = !0)),
30411            children = i.call(children),
30412            i = 0;
30413          !(nameSoFar = children.next()).done;
30414
30415        )
30416          (nameSoFar = nameSoFar.value),
30417            (type = childKey + getElementKey(nameSoFar, i++)),
30418            (invokeCallback += mapIntoArray(
30419              nameSoFar,
30420              array,
30421              escapedPrefix,
30422              type,
30423              callback
30424            ));
30425      else if ("object" === type) {
30426        if ("function" === typeof children.then)
30427          return mapIntoArray(
30428            resolveThenable(children),
30429            array,
30430            escapedPrefix,
30431            nameSoFar,
30432            callback
30433          );
30434        array = String(children);
30435        throw Error(
30436          "Objects are not valid as a React child (found: " +
30437            ("[object Object]" === array
30438              ? "object with keys {" + Object.keys(children).join(", ") + "}"
30439              : array) +
30440            "). If you meant to render a collection of children, use an array instead."
30441        );
30442      }
30443      return invokeCallback;
30444    }
30445    function mapChildren(children, func, context) {
30446      if (null == children) return children;
30447      var result = [],
30448        count = 0;
30449      mapIntoArray(children, result, "", "", function (child) {
30450        return func.call(context, child, count++);
30451      });
30452      return result;
30453    }
30454    function lazyInitializer(payload) {
30455      if (-1 === payload._status) {
30456        var ctor = payload._result;
30457        ctor = ctor();
30458        ctor.then(
30459          function (moduleObject) {
30460            if (0 === payload._status || -1 === payload._status)
30461              (payload._status = 1), (payload._result = moduleObject);
30462          },
30463          function (error) {
30464            if (0 === payload._status || -1 === payload._status)
30465              (payload._status = 2), (payload._result = error);
30466          }
30467        );
30468        -1 === payload._status &&
30469          ((payload._status = 0), (payload._result = ctor));
30470      }
30471      if (1 === payload._status)
30472        return (
30473          (ctor = payload._result),
30474          void 0 === ctor &&
30475            console.error(
30476              "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n  const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
30477              ctor
30478            ),
30479          "default" in ctor ||
30480            console.error(
30481              "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n  const MyComponent = lazy(() => import('./MyComponent'))",
30482              ctor
30483            ),
30484          ctor.default
30485        );
30486      throw payload._result;
30487    }
30488    function resolveDispatcher() {
30489      var dispatcher = ReactSharedInternals.H;
30490      null === dispatcher &&
30491        console.error(
30492          "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
30493        );
30494      return dispatcher;
30495    }
30496    function noop() {}
30497    function enqueueTask(task) {
30498      if (null === enqueueTaskImpl)
30499        try {
30500          var requireString = ("require" + Math.random()).slice(0, 7);
30501          enqueueTaskImpl = (module && module[requireString]).call(
30502            module,
30503            "timers"
30504          ).setImmediate;
30505        } catch (_err) {
30506          enqueueTaskImpl = function (callback) {
30507            !1 === didWarnAboutMessageChannel &&
30508              ((didWarnAboutMessageChannel = !0),
30509              "undefined" === typeof MessageChannel &&
30510                console.error(
30511                  "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
30512                ));
30513            var channel = new MessageChannel();
30514            channel.port1.onmessage = callback;
30515            channel.port2.postMessage(void 0);
30516          };
30517        }
30518      return enqueueTaskImpl(task);
30519    }
30520    function aggregateErrors(errors) {
30521      return 1 < errors.length && "function" === typeof AggregateError
30522        ? new AggregateError(errors)
30523        : errors[0];
30524    }
30525    function popActScope(prevActQueue, prevActScopeDepth) {
30526      prevActScopeDepth !== actScopeDepth - 1 &&
30527        console.error(
30528          "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
30529        );
30530      actScopeDepth = prevActScopeDepth;
30531    }
30532    function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
30533      var queue = ReactSharedInternals.actQueue;
30534      if (null !== queue)
30535        if (0 !== queue.length)
30536          try {
30537            flushActQueue(queue);
30538            enqueueTask(function () {
30539              return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
30540            });
30541            return;
30542          } catch (error) {
30543            ReactSharedInternals.thrownErrors.push(error);
30544          }
30545        else ReactSharedInternals.actQueue = null;
30546      0 < ReactSharedInternals.thrownErrors.length
30547        ? ((queue = aggregateErrors(ReactSharedInternals.thrownErrors)),
30548          (ReactSharedInternals.thrownErrors.length = 0),
30549          reject(queue))
30550        : resolve(returnValue);
30551    }
30552    function flushActQueue(queue) {
30553      if (!isFlushing) {
30554        isFlushing = !0;
30555        var i = 0;
30556        try {
30557          for (; i < queue.length; i++) {
30558            var callback = queue[i];
30559            do {
30560              ReactSharedInternals.didUsePromise = !1;
30561              var continuation = callback(!1);
30562              if (null !== continuation) {
30563                if (ReactSharedInternals.didUsePromise) {
30564                  queue[i] = callback;
30565                  queue.splice(0, i);
30566                  return;
30567                }
30568                callback = continuation;
30569              } else break;
30570            } while (1);
30571          }
30572          queue.length = 0;
30573        } catch (error) {
30574          queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
30575        } finally {
30576          isFlushing = !1;
30577        }
30578      }
30579    }
30580    "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
30581      "function" ===
30582        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
30583      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
30584    var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
30585      REACT_PORTAL_TYPE = Symbol.for("react.portal"),
30586      REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
30587      REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
30588      REACT_PROFILER_TYPE = Symbol.for("react.profiler");
30589    Symbol.for("react.provider");
30590    var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
30591      REACT_CONTEXT_TYPE = Symbol.for("react.context"),
30592      REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
30593      REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
30594      REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
30595      REACT_MEMO_TYPE = Symbol.for("react.memo"),
30596      REACT_LAZY_TYPE = Symbol.for("react.lazy"),
30597      REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
30598      MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
30599      didWarnStateUpdateForUnmountedComponent = {},
30600      ReactNoopUpdateQueue = {
30601        isMounted: function () {
30602          return !1;
30603        },
30604        enqueueForceUpdate: function (publicInstance) {
30605          warnNoop(publicInstance, "forceUpdate");
30606        },
30607        enqueueReplaceState: function (publicInstance) {
30608          warnNoop(publicInstance, "replaceState");
30609        },
30610        enqueueSetState: function (publicInstance) {
30611          warnNoop(publicInstance, "setState");
30612        }
30613      },
30614      assign = Object.assign,
30615      emptyObject = {};
30616    Object.freeze(emptyObject);
30617    Component.prototype.isReactComponent = {};
30618    Component.prototype.setState = function (partialState, callback) {
30619      if (
30620        "object" !== typeof partialState &&
30621        "function" !== typeof partialState &&
30622        null != partialState
30623      )
30624        throw Error(
30625          "takes an object of state variables to update or a function which returns an object of state variables."
30626        );
30627      this.updater.enqueueSetState(this, partialState, callback, "setState");
30628    };
30629    Component.prototype.forceUpdate = function (callback) {
30630      this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
30631    };
30632    var deprecatedAPIs = {
30633        isMounted: [
30634          "isMounted",
30635          "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
30636        ],
30637        replaceState: [
30638          "replaceState",
30639          "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
30640        ]
30641      },
30642      fnName;
30643    for (fnName in deprecatedAPIs)
30644      deprecatedAPIs.hasOwnProperty(fnName) &&
30645        defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
30646    ComponentDummy.prototype = Component.prototype;
30647    deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
30648    deprecatedAPIs.constructor = PureComponent;
30649    assign(deprecatedAPIs, Component.prototype);
30650    deprecatedAPIs.isPureReactComponent = !0;
30651    var isArrayImpl = Array.isArray,
30652      REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
30653      ReactSharedInternals = {
30654        H: null,
30655        A: null,
30656        T: null,
30657        S: null,
30658        V: null,
30659        actQueue: null,
30660        isBatchingLegacy: !1,
30661        didScheduleLegacyUpdate: !1,
30662        didUsePromise: !1,
30663        thrownErrors: [],
30664        getCurrentStack: null,
30665        recentlyCreatedOwnerStacks: 0
30666      },
30667      hasOwnProperty = Object.prototype.hasOwnProperty,
30668      createTask = console.createTask
30669        ? console.createTask
30670        : function () {
30671            return null;
30672          };
30673    deprecatedAPIs = {
30674      react_stack_bottom_frame: function (callStackForError) {
30675        return callStackForError();
30676      }
30677    };
30678    var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
30679    var didWarnAboutElementRef = {};
30680    var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
30681      deprecatedAPIs,
30682      UnknownOwner
30683    )();
30684    var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
30685    var didWarnAboutMaps = !1,
30686      userProvidedKeyEscapeRegex = /\/+/g,
30687      reportGlobalError =
30688        "function" === typeof reportError
30689          ? reportError
30690          : function (error) {
30691              if (
30692                "object" === typeof window &&
30693                "function" === typeof window.ErrorEvent
30694              ) {
30695                var event = new window.ErrorEvent("error", {
30696                  bubbles: !0,
30697                  cancelable: !0,
30698                  message:
30699                    "object" === typeof error &&
30700                    null !== error &&
30701                    "string" === typeof error.message
30702                      ? String(error.message)
30703                      : String(error),
30704                  error: error
30705                });
30706                if (!window.dispatchEvent(event)) return;
30707              } else if (
30708                "object" === typeof process &&
30709                "function" === typeof process.emit
30710              ) {
30711                process.emit("uncaughtException", error);
30712                return;
30713              }
30714              console.error(error);
30715            },
30716      didWarnAboutMessageChannel = !1,
30717      enqueueTaskImpl = null,
30718      actScopeDepth = 0,
30719      didWarnNoAwaitAct = !1,
30720      isFlushing = !1,
30721      queueSeveralMicrotasks =
30722        "function" === typeof queueMicrotask
30723          ? function (callback) {
30724              queueMicrotask(function () {
30725                return queueMicrotask(callback);
30726              });
30727            }
30728          : enqueueTask;
30729    deprecatedAPIs = Object.freeze({
30730      __proto__: null,
30731      c: function (size) {
30732        return resolveDispatcher().useMemoCache(size);
30733      }
30734    });
30735    exports.Children = {
30736      map: mapChildren,
vendor: 15,438 bytes, lines 30737-31163
30737      forEach: function (children, forEachFunc, forEachContext) {
30738        mapChildren(
30739          children,
30740          function () {
30741            forEachFunc.apply(this, arguments);
30742          },
30743          forEachContext
30744        );
30745      },
30746      count: function (children) {
30747        var n = 0;
30748        mapChildren(children, function () {
30749          n++;
30750        });
30751        return n;
30752      },
30753      toArray: function (children) {
30754        return (
30755          mapChildren(children, function (child) {
30756            return child;
30757          }) || []
30758        );
30759      },
30760      only: function (children) {
30761        if (!isValidElement(children))
30762          throw Error(
30763            "React.Children.only expected to receive a single React element child."
30764          );
30765        return children;
30766      }
30767    };
30768    exports.Component = Component;
30769    exports.Fragment = REACT_FRAGMENT_TYPE;
30770    exports.Profiler = REACT_PROFILER_TYPE;
30771    exports.PureComponent = PureComponent;
30772    exports.StrictMode = REACT_STRICT_MODE_TYPE;
30773    exports.Suspense = REACT_SUSPENSE_TYPE;
30774    exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
30775      ReactSharedInternals;
30776    exports.__COMPILER_RUNTIME = deprecatedAPIs;
30777    exports.act = function (callback) {
30778      var prevActQueue = ReactSharedInternals.actQueue,
30779        prevActScopeDepth = actScopeDepth;
30780      actScopeDepth++;
30781      var queue = (ReactSharedInternals.actQueue =
30782          null !== prevActQueue ? prevActQueue : []),
30783        didAwaitActCall = !1;
30784      try {
30785        var result = callback();
30786      } catch (error) {
30787        ReactSharedInternals.thrownErrors.push(error);
30788      }
30789      if (0 < ReactSharedInternals.thrownErrors.length)
30790        throw (
30791          (popActScope(prevActQueue, prevActScopeDepth),
30792          (callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
30793          (ReactSharedInternals.thrownErrors.length = 0),
30794          callback)
30795        );
30796      if (
30797        null !== result &&
30798        "object" === typeof result &&
30799        "function" === typeof result.then
30800      ) {
30801        var thenable = result;
30802        queueSeveralMicrotasks(function () {
30803          didAwaitActCall ||
30804            didWarnNoAwaitAct ||
30805            ((didWarnNoAwaitAct = !0),
30806            console.error(
30807              "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
30808            ));
30809        });
30810        return {
30811          then: function (resolve, reject) {
30812            didAwaitActCall = !0;
30813            thenable.then(
30814              function (returnValue) {
30815                popActScope(prevActQueue, prevActScopeDepth);
30816                if (0 === prevActScopeDepth) {
30817                  try {
30818                    flushActQueue(queue),
30819                      enqueueTask(function () {
30820                        return recursivelyFlushAsyncActWork(
30821                          returnValue,
30822                          resolve,
30823                          reject
30824                        );
30825                      });
30826                  } catch (error$0) {
30827                    ReactSharedInternals.thrownErrors.push(error$0);
30828                  }
30829                  if (0 < ReactSharedInternals.thrownErrors.length) {
30830                    var _thrownError = aggregateErrors(
30831                      ReactSharedInternals.thrownErrors
30832                    );
30833                    ReactSharedInternals.thrownErrors.length = 0;
30834                    reject(_thrownError);
30835                  }
30836                } else resolve(returnValue);
30837              },
30838              function (error) {
30839                popActScope(prevActQueue, prevActScopeDepth);
30840                0 < ReactSharedInternals.thrownErrors.length
30841                  ? ((error = aggregateErrors(
30842                      ReactSharedInternals.thrownErrors
30843                    )),
30844                    (ReactSharedInternals.thrownErrors.length = 0),
30845                    reject(error))
30846                  : reject(error);
30847              }
30848            );
30849          }
30850        };
30851      }
30852      var returnValue$jscomp$0 = result;
30853      popActScope(prevActQueue, prevActScopeDepth);
30854      0 === prevActScopeDepth &&
30855        (flushActQueue(queue),
30856        0 !== queue.length &&
30857          queueSeveralMicrotasks(function () {
30858            didAwaitActCall ||
30859              didWarnNoAwaitAct ||
30860              ((didWarnNoAwaitAct = !0),
30861              console.error(
30862                "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
30863              ));
30864          }),
30865        (ReactSharedInternals.actQueue = null));
30866      if (0 < ReactSharedInternals.thrownErrors.length)
30867        throw (
30868          ((callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
30869          (ReactSharedInternals.thrownErrors.length = 0),
30870          callback)
30871        );
30872      return {
30873        then: function (resolve, reject) {
30874          didAwaitActCall = !0;
30875          0 === prevActScopeDepth
30876            ? ((ReactSharedInternals.actQueue = queue),
30877              enqueueTask(function () {
30878                return recursivelyFlushAsyncActWork(
30879                  returnValue$jscomp$0,
30880                  resolve,
30881                  reject
30882                );
30883              }))
30884            : resolve(returnValue$jscomp$0);
30885        }
30886      };
30887    };
30888    exports.cache = function (fn) {
30889      return function () {
30890        return fn.apply(null, arguments);
30891      };
30892    };
30893    exports.captureOwnerStack = function () {
30894      var getCurrentStack = ReactSharedInternals.getCurrentStack;
30895      return null === getCurrentStack ? null : getCurrentStack();
30896    };
30897    exports.cloneElement = function (element, config, children) {
30898      if (null === element || void 0 === element)
30899        throw Error(
30900          "The argument must be a React element, but you passed " +
30901            element +
30902            "."
30903        );
30904      var props = assign({}, element.props),
30905        key = element.key,
30906        owner = element._owner;
30907      if (null != config) {
30908        var JSCompiler_inline_result;
30909        a: {
30910          if (
30911            hasOwnProperty.call(config, "ref") &&
30912            (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
30913              config,
30914              "ref"
30915            ).get) &&
30916            JSCompiler_inline_result.isReactWarning
30917          ) {
30918            JSCompiler_inline_result = !1;
30919            break a;
30920          }
30921          JSCompiler_inline_result = void 0 !== config.ref;
30922        }
30923        JSCompiler_inline_result && (owner = getOwner());
30924        hasValidKey(config) &&
30925          (checkKeyStringCoercion(config.key), (key = "" + config.key));
30926        for (propName in config)
30927          !hasOwnProperty.call(config, propName) ||
30928            "key" === propName ||
30929            "__self" === propName ||
30930            "__source" === propName ||
30931            ("ref" === propName && void 0 === config.ref) ||
30932            (props[propName] = config[propName]);
30933      }
30934      var propName = arguments.length - 2;
30935      if (1 === propName) props.children = children;
30936      else if (1 < propName) {
30937        JSCompiler_inline_result = Array(propName);
30938        for (var i = 0; i < propName; i++)
30939          JSCompiler_inline_result[i] = arguments[i + 2];
30940        props.children = JSCompiler_inline_result;
30941      }
30942      props = ReactElement(
30943        element.type,
30944        key,
30945        void 0,
30946        void 0,
30947        owner,
30948        props,
30949        element._debugStack,
30950        element._debugTask
30951      );
30952      for (key = 2; key < arguments.length; key++)
30953        (owner = arguments[key]),
30954          isValidElement(owner) && owner._store && (owner._store.validated = 1);
30955      return props;
30956    };
30957    exports.createContext = function (defaultValue) {
30958      defaultValue = {
30959        $$typeof: REACT_CONTEXT_TYPE,
30960        _currentValue: defaultValue,
30961        _currentValue2: defaultValue,
30962        _threadCount: 0,
30963        Provider: null,
30964        Consumer: null
30965      };
30966      defaultValue.Provider = defaultValue;
30967      defaultValue.Consumer = {
30968        $$typeof: REACT_CONSUMER_TYPE,
30969        _context: defaultValue
30970      };
30971      defaultValue._currentRenderer = null;
30972      defaultValue._currentRenderer2 = null;
30973      return defaultValue;
30974    };
30975    exports.createElement = function (type, config, children) {
30976      for (var i = 2; i < arguments.length; i++) {
30977        var node = arguments[i];
30978        isValidElement(node) && node._store && (node._store.validated = 1);
30979      }
30980      i = {};
30981      node = null;
30982      if (null != config)
30983        for (propName in (didWarnAboutOldJSXRuntime ||
30984          !("__self" in config) ||
30985          "key" in config ||
30986          ((didWarnAboutOldJSXRuntime = !0),
30987          console.warn(
30988            "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
30989          )),
30990        hasValidKey(config) &&
30991          (checkKeyStringCoercion(config.key), (node = "" + config.key)),
30992        config))
30993          hasOwnProperty.call(config, propName) &&
30994            "key" !== propName &&
30995            "__self" !== propName &&
30996            "__source" !== propName &&
30997            (i[propName] = config[propName]);
30998      var childrenLength = arguments.length - 2;
30999      if (1 === childrenLength) i.children = children;
31000      else if (1 < childrenLength) {
31001        for (
31002          var childArray = Array(childrenLength), _i = 0;
31003          _i < childrenLength;
31004          _i++
31005        )
31006          childArray[_i] = arguments[_i + 2];
31007        Object.freeze && Object.freeze(childArray);
31008        i.children = childArray;
31009      }
31010      if (type && type.defaultProps)
31011        for (propName in ((childrenLength = type.defaultProps), childrenLength))
31012          void 0 === i[propName] && (i[propName] = childrenLength[propName]);
31013      node &&
31014        defineKeyPropWarningGetter(
31015          i,
31016          "function" === typeof type
31017            ? type.displayName || type.name || "Unknown"
31018            : type
31019        );
31020      var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
31021      return ReactElement(
31022        type,
31023        node,
31024        void 0,
31025        void 0,
31026        getOwner(),
31027        i,
31028        propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
31029        propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
31030      );
31031    };
31032    exports.createRef = function () {
31033      var refObject = { current: null };
31034      Object.seal(refObject);
31035      return refObject;
31036    };
31037    exports.forwardRef = function (render) {
31038      null != render && render.$$typeof === REACT_MEMO_TYPE
31039        ? console.error(
31040            "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
31041          )
31042        : "function" !== typeof render
31043          ? console.error(
31044              "forwardRef requires a render function but was given %s.",
31045              null === render ? "null" : typeof render
31046            )
31047          : 0 !== render.length &&
31048            2 !== render.length &&
31049            console.error(
31050              "forwardRef render functions accept exactly two parameters: props and ref. %s",
31051              1 === render.length
31052                ? "Did you forget to use the ref parameter?"
31053                : "Any additional parameter will be undefined."
31054            );
31055      null != render &&
31056        null != render.defaultProps &&
31057        console.error(
31058          "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
31059        );
31060      var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },
31061        ownName;
31062      Object.defineProperty(elementType, "displayName", {
31063        enumerable: !1,
31064        configurable: !0,
31065        get: function () {
31066          return ownName;
31067        },
31068        set: function (name) {
31069          ownName = name;
31070          render.name ||
31071            render.displayName ||
31072            (Object.defineProperty(render, "name", { value: name }),
31073            (render.displayName = name));
31074        }
31075      });
31076      return elementType;
31077    };
31078    exports.isValidElement = isValidElement;
31079    exports.lazy = function (ctor) {
31080      return {
31081        $$typeof: REACT_LAZY_TYPE,
31082        _payload: { _status: -1, _result: ctor },
31083        _init: lazyInitializer
31084      };
31085    };
31086    exports.memo = function (type, compare) {
31087      null == type &&
31088        console.error(
31089          "memo: The first argument must be a component. Instead received: %s",
31090          null === type ? "null" : typeof type
31091        );
31092      compare = {
31093        $$typeof: REACT_MEMO_TYPE,
31094        type: type,
31095        compare: void 0 === compare ? null : compare
31096      };
31097      var ownName;
31098      Object.defineProperty(compare, "displayName", {
31099        enumerable: !1,
31100        configurable: !0,
31101        get: function () {
31102          return ownName;
31103        },
31104        set: function (name) {
31105          ownName = name;
31106          type.name ||
31107            type.displayName ||
31108            (Object.defineProperty(type, "name", { value: name }),
31109            (type.displayName = name));
31110        }
31111      });
31112      return compare;
31113    };
31114    exports.startTransition = function (scope) {
31115      var prevTransition = ReactSharedInternals.T,
31116        currentTransition = {};
31117      ReactSharedInternals.T = currentTransition;
31118      currentTransition._updatedFibers = new Set();
31119      try {
31120        var returnValue = scope(),
31121          onStartTransitionFinish = ReactSharedInternals.S;
31122        null !== onStartTransitionFinish &&
31123          onStartTransitionFinish(currentTransition, returnValue);
31124        "object" === typeof returnValue &&
31125          null !== returnValue &&
31126          "function" === typeof returnValue.then &&
31127          returnValue.then(noop, reportGlobalError);
31128      } catch (error) {
31129        reportGlobalError(error);
31130      } finally {
31131        null === prevTransition &&
31132          currentTransition._updatedFibers &&
31133          ((scope = currentTransition._updatedFibers.size),
31134          currentTransition._updatedFibers.clear(),
31135          10 < scope &&
31136            console.warn(
31137              "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
31138            )),
31139          (ReactSharedInternals.T = prevTransition);
31140      }
31141    };
31142    exports.unstable_useCacheRefresh = function () {
31143      return resolveDispatcher().useCacheRefresh();
31144    };
31145    exports.use = function (usable) {
31146      return resolveDispatcher().use(usable);
31147    };
31148    exports.useActionState = function (action, initialState, permalink) {
31149      return resolveDispatcher().useActionState(
31150        action,
31151        initialState,
31152        permalink
31153      );
31154    };
31155    exports.useCallback = function (callback, deps) {
31156      return resolveDispatcher().useCallback(callback, deps);
31157    };
31158    exports.useContext = function (Context) {
31159      var dispatcher = resolveDispatcher();
31160      Context.$$typeof === REACT_CONSUMER_TYPE &&
31161        console.error(
31162          "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
31163        );
31164      return dispatcher.useContext(Context);
31165    };
31166    exports.useDebugValue = function (value, formatterFn) {
31167      return resolveDispatcher().useDebugValue(value, formatterFn);
31168    };
31169    exports.useDeferredValue = function (value, initialValue) {
31170      return resolveDispatcher().useDeferredValue(value, initialValue);
31171    };
31172    exports.useEffect = function (create, createDeps, update) {
31173      null == create &&
31174        console.warn(
31175          "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
31176        );
31177      var dispatcher = resolveDispatcher();
31178      if ("function" === typeof update)
31179        throw Error(
31180          "useEffect CRUD overload is not enabled in this build of React."
31181        );
31182      return dispatcher.useEffect(create, createDeps);
31183    };
31184    exports.useId = function () {
31185      return resolveDispatcher().useId();
31186    };
31187    exports.useImperativeHandle = function (ref, create, deps) {
31188      return resolveDispatcher().useImperativeHandle(ref, create, deps);
31189    };
31190    exports.useInsertionEffect = function (create, deps) {
31191      null == create &&
31192        console.warn(
31193          "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
31194        );
31195      return resolveDispatcher().useInsertionEffect(create, deps);
31196    };
31197    exports.useLayoutEffect = function (create, deps) {
31198      null == create &&
31199        console.warn(
31200          "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
31201        );
31202      return resolveDispatcher().useLayoutEffect(create, deps);
31203    };
31204    exports.useMemo = function (create, deps) {
31205      return resolveDispatcher().useMemo(create, deps);
31206    };
31207    exports.useOptimistic = function (passthrough, reducer) {
31208      return resolveDispatcher().useOptimistic(passthrough, reducer);
31209    };
31210    exports.useReducer = function (reducer, initialArg, init) {
31211      return resolveDispatcher().useReducer(reducer, initialArg, init);
31212    };
31213    exports.useRef = function (initialValue) {
31214      return resolveDispatcher().useRef(initialValue);
31215    };
31216    exports.useState = function (initialState) {
31217      return resolveDispatcher().useState(initialState);
31218    };
31219    exports.useSyncExternalStore = function (
31220      subscribe,
31221      getSnapshot,
31222      getServerSnapshot
31223    ) {
31224      return resolveDispatcher().useSyncExternalStore(
31225        subscribe,
31226        getSnapshot,
31227        getServerSnapshot
31228      );
31229    };
31230    exports.useTransition = function () {
31231      return resolveDispatcher().useTransition();
31232    };
31233    exports.version = "19.1.2";
31234    "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
31235      "function" ===
31236        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
31237      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
31238  })();
31239
31240
31241/***/ },
31242
31243/***/ "./node_modules/react/index.js"
31244/*!*************************************!*\
31245  !*** ./node_modules/react/index.js ***!
31246  \*************************************/
31247(module, __unused_webpack_exports, __webpack_require__) {
31248
31249"use strict";
31250
31251
31252if (false) // removed by dead control flow
31253{} else {
31254  module.exports = __webpack_require__(/*! ./cjs/react.development.js */ "./node_modules/react/cjs/react.development.js");
31255}
31256
31257
31258/***/ },
31259
31260/***/ "./node_modules/react/jsx-runtime.js"
31261/*!*******************************************!*\
31262  !*** ./node_modules/react/jsx-runtime.js ***!
31263  \*******************************************/
31264(module, __unused_webpack_exports, __webpack_require__) {
31265
31266"use strict";
31267
31268
31269if (false) // removed by dead control flow
31270{} else {
31271  module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/react/cjs/react-jsx-runtime.development.js");
31272}
31273
31274
31275/***/ },
31276
31277/***/ "./node_modules/scheduler/cjs/scheduler.development.js"
31278/*!*************************************************************!*\
31279  !*** ./node_modules/scheduler/cjs/scheduler.development.js ***!
31280  \*************************************************************/
31281(__unused_webpack_module, exports) {
31282
31283"use strict";
31284/**
31285 * @license React
31286 * scheduler.development.js
31287 *
31288 * Copyright (c) Meta Platforms, Inc. and affiliates.
31289 *
31290 * This source code is licensed under the MIT license found in the
31291 * LICENSE file in the root directory of this source tree.
31292 */
31293
31294
31295 true &&
31296  (function () {
31297    function performWorkUntilDeadline() {
31298      needsPaint = !1;
31299      if (isMessageLoopRunning) {
31300        var currentTime = exports.unstable_now();
31301        startTime = currentTime;
31302        var hasMoreWork = !0;
31303        try {
31304          a: {
31305            isHostCallbackScheduled = !1;
31306            isHostTimeoutScheduled &&
31307              ((isHostTimeoutScheduled = !1),
31308              localClearTimeout(taskTimeoutID),
31309              (taskTimeoutID = -1));
31310            isPerformingWork = !0;
31311            var previousPriorityLevel = currentPriorityLevel;
31312            try {
31313              b: {
31314                advanceTimers(currentTime);
31315                for (
31316                  currentTask = peek(taskQueue);
31317                  null !== currentTask &&
31318                  !(
31319                    currentTask.expirationTime > currentTime &&
31320                    shouldYieldToHost()
31321                  );
31322
31323                ) {
31324                  var callback = currentTask.callback;
31325                  if ("function" === typeof callback) {
31326                    currentTask.callback = null;
31327                    currentPriorityLevel = currentTask.priorityLevel;
31328                    var continuationCallback = callback(
31329                      currentTask.expirationTime <= currentTime
31330                    );
31331                    currentTime = exports.unstable_now();
31332                    if ("function" === typeof continuationCallback) {
31333                      currentTask.callback = continuationCallback;
31334                      advanceTimers(currentTime);
31335                      hasMoreWork = !0;
31336                      break b;
31337                    }
31338                    currentTask === peek(taskQueue) && pop(taskQueue);
31339                    advanceTimers(currentTime);
31340                  } else pop(taskQueue);
31341                  currentTask = peek(taskQueue);
31342                }
31343                if (null !== currentTask) hasMoreWork = !0;
31344                else {
31345                  var firstTimer = peek(timerQueue);
31346                  null !== firstTimer &&
31347                    requestHostTimeout(
31348                      handleTimeout,
31349                      firstTimer.startTime - currentTime
31350                    );
31351                  hasMoreWork = !1;
31352                }
31353              }
31354              break a;
31355            } finally {
31356              (currentTask = null),
31357                (currentPriorityLevel = previousPriorityLevel),
31358                (isPerformingWork = !1);
31359            }
31360            hasMoreWork = void 0;
31361          }
31362        } finally {
31363          hasMoreWork
31364            ? schedulePerformWorkUntilDeadline()
31365            : (isMessageLoopRunning = !1);
31366        }
31367      }
31368    }
31369    function push(heap, node) {
31370      var index = heap.length;
31371      heap.push(node);
31372      a: for (; 0 < index; ) {
31373        var parentIndex = (index - 1) >>> 1,
31374          parent = heap[parentIndex];
31375        if (0 < compare(parent, node))
31376          (heap[parentIndex] = node),
31377            (heap[index] = parent),
31378            (index = parentIndex);
31379        else break a;
31380      }
31381    }
31382    function peek(heap) {
31383      return 0 === heap.length ? null : heap[0];
31384    }
31385    function pop(heap) {
31386      if (0 === heap.length) return null;
31387      var first = heap[0],
31388        last = heap.pop();
31389      if (last !== first) {
31390        heap[0] = last;
31391        a: for (
31392          var index = 0, length = heap.length, halfLength = length >>> 1;
31393          index < halfLength;
31394
31395        ) {
31396          var leftIndex = 2 * (index + 1) - 1,
31397            left = heap[leftIndex],
31398            rightIndex = leftIndex + 1,
31399            right = heap[rightIndex];
31400          if (0 > compare(left, last))
31401            rightIndex < length && 0 > compare(right, left)
31402              ? ((heap[index] = right),
31403                (heap[rightIndex] = last),
31404                (index = rightIndex))
31405              : ((heap[index] = left),
31406                (heap[leftIndex] = last),
31407                (index = leftIndex));
31408          else if (rightIndex < length && 0 > compare(right, last))
31409            (heap[index] = right),
31410              (heap[rightIndex] = last),
31411              (index = rightIndex);
31412          else break a;
31413        }
31414      }
31415      return first;
31416    }
31417    function compare(a, b) {
31418      var diff = a.sortIndex - b.sortIndex;
31419      return 0 !== diff ? diff : a.id - b.id;
31420    }
31421    function advanceTimers(currentTime) {
31422      for (var timer = peek(timerQueue); null !== timer; ) {
31423        if (null === timer.callback) pop(timerQueue);
31424        else if (timer.startTime <= currentTime)
31425          pop(timerQueue),
31426            (timer.sortIndex = timer.expirationTime),
31427            push(taskQueue, timer);
31428        else break;
31429        timer = peek(timerQueue);
31430      }
31431    }
31432    function handleTimeout(currentTime) {
31433      isHostTimeoutScheduled = !1;
31434      advanceTimers(currentTime);
31435      if (!isHostCallbackScheduled)
31436        if (null !== peek(taskQueue))
31437          (isHostCallbackScheduled = !0),
31438            isMessageLoopRunning ||
31439              ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline());
31440        else {
31441          var firstTimer = peek(timerQueue);
31442          null !== firstTimer &&
31443            requestHostTimeout(
31444              handleTimeout,
31445              firstTimer.startTime - currentTime
31446            );
31447        }
31448    }
31449    function shouldYieldToHost() {
31450      return needsPaint
31451        ? !0
31452        : exports.unstable_now() - startTime < frameInterval
31453          ? !1
31454          : !0;
31455    }
31456    function requestHostTimeout(callback, ms) {
31457      taskTimeoutID = localSetTimeout(function () {
31458        callback(exports.unstable_now());
31459      }, ms);
31460    }
31461    "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
31462      "function" ===
31463        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
31464      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
31465    exports.unstable_now = void 0;
31466    if (
31467      "object" === typeof performance &&
31468      "function" === typeof performance.now
31469    ) {
31470      var localPerformance = performance;
31471      exports.unstable_now = function () {
31472        return localPerformance.now();
31473      };
31474    } else {
31475      var localDate = Date,
31476        initialTime = localDate.now();
31477      exports.unstable_now = function () {
31478        return localDate.now() - initialTime;
31479      };
31480    }
31481    var taskQueue = [],
31482      timerQueue = [],
31483      taskIdCounter = 1,
31484      currentTask = null,
31485      currentPriorityLevel = 3,
31486      isPerformingWork = !1,
31487      isHostCallbackScheduled = !1,
31488      isHostTimeoutScheduled = !1,
31489      needsPaint = !1,
31490      localSetTimeout = "function" === typeof setTimeout ? setTimeout : null,
31491      localClearTimeout =
31492        "function" === typeof clearTimeout ? clearTimeout : null,
31493      localSetImmediate =
31494        "undefined" !== typeof setImmediate ? setImmediate : null,
31495      isMessageLoopRunning = !1,
31496      taskTimeoutID = -1,
31497      frameInterval = 5,
31498      startTime = -1;
31499    if ("function" === typeof localSetImmediate)
31500      var schedulePerformWorkUntilDeadline = function () {
31501        localSetImmediate(performWorkUntilDeadline);
31502      };
31503    else if ("undefined" !== typeof MessageChannel) {
31504      var channel = new MessageChannel(),
31505        port = channel.port2;
31506      channel.port1.onmessage = performWorkUntilDeadline;
31507      schedulePerformWorkUntilDeadline = function () {
31508        port.postMessage(null);
31509      };
31510    } else
31511      schedulePerformWorkUntilDeadline = function () {
31512        localSetTimeout(performWorkUntilDeadline, 0);
31513      };
31514    exports.unstable_IdlePriority = 5;
31515    exports.unstable_ImmediatePriority = 1;
31516    exports.unstable_LowPriority = 4;
31517    exports.unstable_NormalPriority = 3;
31518    exports.unstable_Profiling = null;
31519    exports.unstable_UserBlockingPriority = 2;
31520    exports.unstable_cancelCallback = function (task) {
31521      task.callback = null;
31522    };
31523    exports.unstable_forceFrameRate = function (fps) {
31524      0 > fps || 125 < fps
31525        ? console.error(
31526            "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
31527          )
31528        : (frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5);
31529    };
31530    exports.unstable_getCurrentPriorityLevel = function () {
31531      return currentPriorityLevel;
31532    };
31533    exports.unstable_next = function (eventHandler) {
31534      switch (currentPriorityLevel) {
31535        case 1:
31536        case 2:
31537        case 3:
31538          var priorityLevel = 3;
31539          break;
31540        default:
31541          priorityLevel = currentPriorityLevel;
31542      }
31543      var previousPriorityLevel = currentPriorityLevel;
31544      currentPriorityLevel = priorityLevel;
31545      try {
31546        return eventHandler();
31547      } finally {
31548        currentPriorityLevel = previousPriorityLevel;
31549      }
31550    };
31551    exports.unstable_requestPaint = function () {
31552      needsPaint = !0;
31553    };
31554    exports.unstable_runWithPriority = function (priorityLevel, eventHandler) {
31555      switch (priorityLevel) {
31556        case 1:
31557        case 2:
31558        case 3:
31559        case 4:
31560        case 5:
31561          break;
31562        default:
31563          priorityLevel = 3;
31564      }
31565      var previousPriorityLevel = currentPriorityLevel;
31566      currentPriorityLevel = priorityLevel;
31567      try {
31568        return eventHandler();
31569      } finally {
31570        currentPriorityLevel = previousPriorityLevel;
31571      }
31572    };
31573    exports.unstable_scheduleCallback = function (
31574      priorityLevel,
31575      callback,
31576      options
31577    ) {
31578      var currentTime = exports.unstable_now();
31579      "object" === typeof options && null !== options
31580        ? ((options = options.delay),
31581          (options =
31582            "number" === typeof options && 0 < options
31583              ? currentTime + options
31584              : currentTime))
31585        : (options = currentTime);
31586      switch (priorityLevel) {
31587        case 1:
31588          var timeout = -1;
31589          break;
31590        case 2:
31591          timeout = 250;
31592          break;
31593        case 5:
31594          timeout = 1073741823;
31595          break;
31596        case 4:
31597          timeout = 1e4;
31598          break;
31599        default:
31600          timeout = 5e3;
31601      }
31602      timeout = options + timeout;
31603      priorityLevel = {
31604        id: taskIdCounter++,
31605        callback: callback,
31606        priorityLevel: priorityLevel,
31607        startTime: options,
31608        expirationTime: timeout,
31609        sortIndex: -1
31610      };
31611      options > currentTime
31612        ? ((priorityLevel.sortIndex = options),
31613          push(timerQueue, priorityLevel),
31614          null === peek(taskQueue) &&
31615            priorityLevel === peek(timerQueue) &&
31616            (isHostTimeoutScheduled
31617              ? (localClearTimeout(taskTimeoutID), (taskTimeoutID = -1))
31618              : (isHostTimeoutScheduled = !0),
31619            requestHostTimeout(handleTimeout, options - currentTime)))
31620        : ((priorityLevel.sortIndex = timeout),
31621          push(taskQueue, priorityLevel),
31622          isHostCallbackScheduled ||
31623            isPerformingWork ||
31624            ((isHostCallbackScheduled = !0),
31625            isMessageLoopRunning ||
31626              ((isMessageLoopRunning = !0),
31627              schedulePerformWorkUntilDeadline())));
31628      return priorityLevel;
31629    };
31630    exports.unstable_shouldYield = shouldYieldToHost;
31631    exports.unstable_wrapCallback = function (callback) {
31632      var parentPriorityLevel = currentPriorityLevel;
31633      return function () {
31634        var previousPriorityLevel = currentPriorityLevel;
31635        currentPriorityLevel = parentPriorityLevel;
31636        try {
31637          return callback.apply(this, arguments);
31638        } finally {
31639          currentPriorityLevel = previousPriorityLevel;
31640        }
31641      };
31642    };
31643    "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
31644      "function" ===
31645        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
31646      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
31647  })();
31648
31649
31650/***/ },
31651
31652/***/ "./node_modules/scheduler/index.js"
31653/*!*****************************************!*\
31654  !*** ./node_modules/scheduler/index.js ***!
31655  \*****************************************/
31656(module, __unused_webpack_exports, __webpack_require__) {
31657
31658"use strict";
31659
31660
31661if (false) // removed by dead control flow
31662{} else {
31663  module.exports = __webpack_require__(/*! ./cjs/scheduler.development.js */ "./node_modules/scheduler/cjs/scheduler.development.js");
31664}
31665
31666
31667/***/ },
31668
31669/***/ "./public/images/amazon-buy-with-prime.svg"
31670/*!*************************************************!*\
31671  !*** ./public/images/amazon-buy-with-prime.svg ***!
31672  \*************************************************/
31673(module, __unused_webpack_exports, __webpack_require__) {
31674
31675"use strict";
31676module.exports = __webpack_require__.p + "bd1e870a9b1c7b5765cd.svg";
31677
31678/***/ },
31679
31680/***/ "./public/images/amazon-small-logo.svg"
31681/*!*********************************************!*\
31682  !*** ./public/images/amazon-small-logo.svg ***!
31683  \*********************************************/
31684(module, __unused_webpack_exports, __webpack_require__) {
31685
31686"use strict";
31687module.exports = __webpack_require__.p + "51cb28945c474ab55964.svg";
31688
31689/***/ },
31690
31691/***/ "./public/images/external-link-icon.svg"
31692/*!**********************************************!*\
31693  !*** ./public/images/external-link-icon.svg ***!
31694  \**********************************************/
31695(module, __unused_webpack_exports, __webpack_require__) {
31696
31697"use strict";
31698module.exports = __webpack_require__.p + "af46c8da1d292d727ab0.svg";
31699
31700/***/ },
31701
31702/***/ "./public/payment-options.png"
31703/*!************************************!*\
31704  !*** ./public/payment-options.png ***!
31705  \************************************/
31706(module, __unused_webpack_exports, __webpack_require__) {
31707
31708"use strict";
31709module.exports = __webpack_require__.p + "f4594133ca6799de19fa.png";
31710
31711/***/ },
31712
31713/***/ "./node_modules/@babel/runtime/helpers/esm/extends.js"
31714/*!************************************************************!*\
31715  !*** ./node_modules/@babel/runtime/helpers/esm/extends.js ***!
31716  \************************************************************/
31717(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
31718
31719"use strict";
31720__webpack_require__.r(__webpack_exports__);
31721/* harmony export */ __webpack_require__.d(__webpack_exports__, {
31722/* harmony export */   "default": () => (/* binding */ _extends)
31723/* harmony export */ });
31724function _extends() {
31725  return _extends = Object.assign ? Object.assign.bind() : function (n) {
31726    for (var e = 1; e < arguments.length; e++) {
31727      var t = arguments[e];
31728      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
31729    }
31730    return n;
31731  }, _extends.apply(null, arguments);
31732}
31733
31734
31735/***/ },
31736
31737/***/ "./node_modules/@mui/material/esm/Box/Box.js"
31738/*!***************************************************!*\
31739  !*** ./node_modules/@mui/material/esm/Box/Box.js ***!
31740  \***************************************************/
31741(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
31742
31743"use strict";
31744__webpack_require__.r(__webpack_exports__);
31745/* harmony export */ __webpack_require__.d(__webpack_exports__, {
31746/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
31747/* harmony export */ });
31748/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/system */ "./node_modules/@mui/system/esm/createBox/createBox.js");
31749/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
31750/* harmony import */ var _className_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../className/index.js */ "./node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js");
31751/* harmony import */ var _styles_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styles/index.js */ "./node_modules/@mui/material/esm/styles/createTheme.js");
31752/* harmony import */ var _styles_identifier_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styles/identifier.js */ "./node_modules/@mui/material/esm/styles/identifier.js");
31753/* harmony import */ var _boxClasses_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./boxClasses.js */ "./node_modules/@mui/material/esm/Box/boxClasses.js");
31754'use client';
31755
31756
31757
31758
31759
31760
31761
31762const defaultTheme = (0,_styles_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
31763const Box = (0,_mui_system__WEBPACK_IMPORTED_MODULE_0__["default"])({
31764  themeId: _styles_identifier_js__WEBPACK_IMPORTED_MODULE_4__["default"],
31765  defaultTheme,
31766  defaultClassName: _boxClasses_js__WEBPACK_IMPORTED_MODULE_5__["default"].root,
31767  generateClassName: _className_index_js__WEBPACK_IMPORTED_MODULE_2__["default"].generate
31768});
31769 true ? Box.propTypes /* remove-proptypes */ = {
31770  // ┌────────────────────────────── Warning ──────────────────────────────┐
31771  // │ These PropTypes are generated from the TypeScript type definitions. │
31772  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
31773  // └─────────────────────────────────────────────────────────────────────┘
31774  /**
31775   * @ignore
31776   */
31777  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
31778  /**
31779   * The component used for the root node.
31780   * Either a string to use a HTML element or a component.
31781   */
31782  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
31783  /**
31784   * The system prop that allows defining system overrides as well as additional CSS styles.
31785   */
31786  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
31787} : 0;
31788/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Box);
31789
31790/***/ },
31791
31792/***/ "./node_modules/@mui/material/esm/Box/boxClasses.js"
31793/*!**********************************************************!*\
31794  !*** ./node_modules/@mui/material/esm/Box/boxClasses.js ***!
31795  \**********************************************************/
31796(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
31797
31798"use strict";
31799__webpack_require__.r(__webpack_exports__);
31800/* harmony export */ __webpack_require__.d(__webpack_exports__, {
31801/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
31802/* harmony export */ });
31803/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
31804
31805const boxClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiBox', ['root']);
31806/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (boxClasses);
31807
31808/***/ },
31809
31810/***/ "./node_modules/@mui/material/esm/colors/blue.js"
31811/*!*******************************************************!*\
31812  !*** ./node_modules/@mui/material/esm/colors/blue.js ***!
31813  \*******************************************************/
31814(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
31815
31816"use strict";
31817__webpack_require__.r(__webpack_exports__);
31818/* harmony export */ __webpack_require__.d(__webpack_exports__, {
31819/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
31820/* harmony export */ });
31821const blue = {
31822  50: '#e3f2fd',
31823  100: '#bbdefb',
31824  200: '#90caf9',
31825  300: '#64b5f6',
31826  400: '#42a5f5',
31827  500: '#2196f3',
31828  600: '#1e88e5',
31829  700: '#1976d2',
31830  800: '#1565c0',
31831  900: '#0d47a1',
31832  A100: '#82b1ff',
31833  A200: '#448aff',
31834  A400: '#2979ff',
31835  A700: '#2962ff'
31836};
31837/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (blue);
31838
31839/***/ },
31840
31841/***/ "./node_modules/@mui/material/esm/colors/common.js"
31842/*!*********************************************************!*\
31843  !*** ./node_modules/@mui/material/esm/colors/common.js ***!
31844  \*********************************************************/
31845(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
31846
31847"use strict";
31848__webpack_require__.r(__webpack_exports__);
31849/* harmony export */ __webpack_require__.d(__webpack_exports__, {
31850/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
31851/* harmony export */ });
31852const common = {
31853  black: '#000',
31854  white: '#fff'
31855};
31856/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (common);
31857
31858/***/ },
31859
31860/***/ "./node_modules/@mui/material/esm/colors/green.js"
31861/*!********************************************************!*\
31862  !*** ./node_modules/@mui/material/esm/colors/green.js ***!
31863  \********************************************************/
31864(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
31865
31866"use strict";
31867__webpack_require__.r(__webpack_exports__);
31868/* harmony export */ __webpack_require__.d(__webpack_exports__, {
31869/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
31870/* harmony export */ });
31871const green = {
31872  50: '#e8f5e9',
31873  100: '#c8e6c9',
31874  200: '#a5d6a7',
31875  300: '#81c784',
31876  400: '#66bb6a',
31877  500: '#4caf50',
31878  600: '#43a047',
31879  700: '#388e3c',
31880  800: '#2e7d32',
31881  900: '#1b5e20',
31882  A100: '#b9f6ca',
31883  A200: '#69f0ae',
31884  A400: '#00e676',
31885  A700: '#00c853'
31886};
31887/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (green);
31888
31889/***/ },
31890
31891/***/ "./node_modules/@mui/material/esm/colors/grey.js"
31892/*!*******************************************************!*\
31893  !*** ./node_modules/@mui/material/esm/colors/grey.js ***!
31894  \*******************************************************/
31895(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
31896
31897"use strict";
31898__webpack_require__.r(__webpack_exports__);
31899/* harmony export */ __webpack_require__.d(__webpack_exports__, {
31900/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
31901/* harmony export */ });
31902const grey = {
31903  50: '#fafafa',
31904  100: '#f5f5f5',
31905  200: '#eeeeee',
31906  300: '#e0e0e0',
31907  400: '#bdbdbd',
31908  500: '#9e9e9e',
31909  600: '#757575',
31910  700: '#616161',
31911  800: '#424242',
31912  900: '#212121',
31913  A100: '#f5f5f5',
31914  A200: '#eeeeee',
31915  A400: '#bdbdbd',
31916  A700: '#616161'
31917};
31918/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (grey);
31919
31920/***/ },
31921
31922/***/ "./node_modules/@mui/material/esm/colors/lightBlue.js"
31923/*!************************************************************!*\
31924  !*** ./node_modules/@mui/material/esm/colors/lightBlue.js ***!
31925  \************************************************************/
31926(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
31927
31928"use strict";
31929__webpack_require__.r(__webpack_exports__);
31930/* harmony export */ __webpack_require__.d(__webpack_exports__, {
31931/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
31932/* harmony export */ });
31933const lightBlue = {
31934  50: '#e1f5fe',
31935  100: '#b3e5fc',
31936  200: '#81d4fa',
31937  300: '#4fc3f7',
31938  400: '#29b6f6',
31939  500: '#03a9f4',
31940  600: '#039be5',
31941  700: '#0288d1',
31942  800: '#0277bd',
31943  900: '#01579b',
31944  A100: '#80d8ff',
31945  A200: '#40c4ff',
31946  A400: '#00b0ff',
31947  A700: '#0091ea'
31948};
31949/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (lightBlue);
31950
31951/***/ },
31952
31953/***/ "./node_modules/@mui/material/esm/colors/orange.js"
31954/*!*********************************************************!*\
31955  !*** ./node_modules/@mui/material/esm/colors/orange.js ***!
31956  \*********************************************************/
31957(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
31958
31959"use strict";
31960__webpack_require__.r(__webpack_exports__);
31961/* harmony export */ __webpack_require__.d(__webpack_exports__, {
31962/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
31963/* harmony export */ });
31964const orange = {
31965  50: '#fff3e0',
31966  100: '#ffe0b2',
31967  200: '#ffcc80',
31968  300: '#ffb74d',
31969  400: '#ffa726',
31970  500: '#ff9800',
31971  600: '#fb8c00',
31972  700: '#f57c00',
31973  800: '#ef6c00',
31974  900: '#e65100',
31975  A100: '#ffd180',
31976  A200: '#ffab40',
31977  A400: '#ff9100',
31978  A700: '#ff6d00'
31979};
31980/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (orange);
31981
31982/***/ },
31983
31984/***/ "./node_modules/@mui/material/esm/colors/purple.js"
31985/*!*********************************************************!*\
31986  !*** ./node_modules/@mui/material/esm/colors/purple.js ***!
31987  \*********************************************************/
31988(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
31989
31990"use strict";
31991__webpack_require__.r(__webpack_exports__);
31992/* harmony export */ __webpack_require__.d(__webpack_exports__, {
31993/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
31994/* harmony export */ });
31995const purple = {
31996  50: '#f3e5f5',
31997  100: '#e1bee7',
31998  200: '#ce93d8',
31999  300: '#ba68c8',
32000  400: '#ab47bc',
32001  500: '#9c27b0',
32002  600: '#8e24aa',
32003  700: '#7b1fa2',
32004  800: '#6a1b9a',
32005  900: '#4a148c',
32006  A100: '#ea80fc',
32007  A200: '#e040fb',
32008  A400: '#d500f9',
32009  A700: '#aa00ff'
32010};
32011/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (purple);
32012
32013/***/ },
32014
32015/***/ "./node_modules/@mui/material/esm/colors/red.js"
32016/*!******************************************************!*\
32017  !*** ./node_modules/@mui/material/esm/colors/red.js ***!
32018  \******************************************************/
32019(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
32020
32021"use strict";
32022__webpack_require__.r(__webpack_exports__);
32023/* harmony export */ __webpack_require__.d(__webpack_exports__, {
32024/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
32025/* harmony export */ });
32026const red = {
32027  50: '#ffebee',
32028  100: '#ffcdd2',
32029  200: '#ef9a9a',
32030  300: '#e57373',
32031  400: '#ef5350',
32032  500: '#f44336',
32033  600: '#e53935',
32034  700: '#d32f2f',
32035  800: '#c62828',
32036  900: '#b71c1c',
32037  A100: '#ff8a80',
32038  A200: '#ff5252',
32039  A400: '#ff1744',
32040  A700: '#d50000'
32041};
32042/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (red);
32043
32044/***/ },
32045
32046/***/ "./node_modules/@mui/material/esm/styles/createColorScheme.js"
32047/*!********************************************************************!*\
32048  !*** ./node_modules/@mui/material/esm/styles/createColorScheme.js ***!
32049  \********************************************************************/
32050(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
32051
32052"use strict";
32053__webpack_require__.r(__webpack_exports__);
32054/* harmony export */ __webpack_require__.d(__webpack_exports__, {
32055/* harmony export */   "default": () => (/* binding */ createColorScheme),
32056/* harmony export */   getOpacity: () => (/* binding */ getOpacity),
32057/* harmony export */   getOverlays: () => (/* binding */ getOverlays)
32058/* harmony export */ });
32059/* harmony import */ var _createPalette_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createPalette.js */ "./node_modules/@mui/material/esm/styles/createPalette.js");
32060/* harmony import */ var _getOverlayAlpha_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getOverlayAlpha.js */ "./node_modules/@mui/material/esm/styles/getOverlayAlpha.js");
32061
32062
32063const defaultDarkOverlays = [...Array(25)].map((_, index) => {
32064  if (index === 0) {
32065    return 'none';
32066  }
32067  const overlay = (0,_getOverlayAlpha_js__WEBPACK_IMPORTED_MODULE_1__["default"])(index);
32068  return `linear-gradient(rgba(255 255 255 / ${overlay}), rgba(255 255 255 / ${overlay}))`;
32069});
32070function getOpacity(mode) {
32071  return {
32072    inputPlaceholder: mode === 'dark' ? 0.5 : 0.42,
32073    inputUnderline: mode === 'dark' ? 0.7 : 0.42,
32074    switchTrackDisabled: mode === 'dark' ? 0.2 : 0.12,
32075    switchTrack: mode === 'dark' ? 0.3 : 0.38
32076  };
32077}
32078function getOverlays(mode) {
32079  return mode === 'dark' ? defaultDarkOverlays : [];
32080}
32081function createColorScheme(options) {
32082  const {
32083    palette: paletteInput = {
32084      mode: 'light'
32085    },
32086    // need to cast to avoid module augmentation test
32087    opacity,
32088    overlays,
32089    ...rest
32090  } = options;
32091  const palette = (0,_createPalette_js__WEBPACK_IMPORTED_MODULE_0__["default"])(paletteInput);
32092  return {
32093    palette,
32094    opacity: {
32095      ...getOpacity(palette.mode),
32096      ...opacity
32097    },
32098    overlays: overlays || getOverlays(palette.mode),
32099    ...rest
32100  };
32101}
32102
32103/***/ },
32104
32105/***/ "./node_modules/@mui/material/esm/styles/createGetSelector.js"
32106/*!********************************************************************!*\
32107  !*** ./node_modules/@mui/material/esm/styles/createGetSelector.js ***!
32108  \********************************************************************/
32109(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
32110
32111"use strict";
32112__webpack_require__.r(__webpack_exports__);
32113/* harmony export */ __webpack_require__.d(__webpack_exports__, {
32114/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
32115/* harmony export */ });
32116/* harmony import */ var _excludeVariablesFromRoot_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./excludeVariablesFromRoot.js */ "./node_modules/@mui/material/esm/styles/excludeVariablesFromRoot.js");
32117
32118/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (theme => (colorScheme, css) => {
32119  const root = theme.rootSelector || ':root';
32120  const selector = theme.colorSchemeSelector;
32121  let rule = selector;
32122  if (selector === 'class') {
32123    rule = '.%s';
32124  }
32125  if (selector === 'data') {
32126    rule = '[data-%s]';
32127  }
32128  if (selector?.startsWith('data-') && !selector.includes('%s')) {
32129    // 'data-mui-color-scheme' -> '[data-mui-color-scheme="%s"]'
32130    rule = `[${selector}="%s"]`;
32131  }
32132  if (theme.defaultColorScheme === colorScheme) {
32133    if (colorScheme === 'dark') {
32134      const excludedVariables = {};
32135      (0,_excludeVariablesFromRoot_js__WEBPACK_IMPORTED_MODULE_0__["default"])(theme.cssVarPrefix).forEach(cssVar => {
32136        excludedVariables[cssVar] = css[cssVar];
32137        delete css[cssVar];
32138      });
32139      if (rule === 'media') {
32140        return {
32141          [root]: css,
32142          [`@media (prefers-color-scheme: dark)`]: {
32143            [root]: excludedVariables
32144          }
32145        };
32146      }
32147      if (rule) {
32148        return {
32149          [rule.replace('%s', colorScheme)]: excludedVariables,
32150          [`${root}, ${rule.replace('%s', colorScheme)}`]: css
32151        };
32152      }
32153      return {
32154        [root]: {
32155          ...css,
32156          ...excludedVariables
32157        }
32158      };
32159    }
32160    if (rule && rule !== 'media') {
32161      return `${root}, ${rule.replace('%s', String(colorScheme))}`;
32162    }
32163  } else if (colorScheme) {
32164    if (rule === 'media') {
32165      return {
32166        [`@media (prefers-color-scheme: ${String(colorScheme)})`]: {
32167          [root]: css
32168        }
32169      };
32170    }
32171    if (rule) {
32172      return rule.replace('%s', String(colorScheme));
32173    }
32174  }
32175  return root;
32176});
32177(Object.getOwnPropertyDescriptor(__WEBPACK_DEFAULT_EXPORT__, "name") || {}).writable || Object.defineProperty(__WEBPACK_DEFAULT_EXPORT__, "name", { value: "default", configurable: true });
32178
32179/***/ },
32180
32181/***/ "./node_modules/@mui/material/esm/styles/createMixins.js"
32182/*!***************************************************************!*\
32183  !*** ./node_modules/@mui/material/esm/styles/createMixins.js ***!
32184  \***************************************************************/
32185(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
32186
32187"use strict";
32188__webpack_require__.r(__webpack_exports__);
32189/* harmony export */ __webpack_require__.d(__webpack_exports__, {
32190/* harmony export */   "default": () => (/* binding */ createMixins)
32191/* harmony export */ });
32192function createMixins(breakpoints, mixins) {
32193  return {
32194    toolbar: {
32195      minHeight: 56,
32196      [breakpoints.up('xs')]: {
32197        '@media (orientation: landscape)': {
32198          minHeight: 48
32199        }
32200      },
32201      [breakpoints.up('sm')]: {
32202        minHeight: 64
32203      }
32204    },
32205    ...mixins
32206  };
32207}
32208
32209/***/ },
32210
32211/***/ "./node_modules/@mui/material/esm/styles/createPalette.js"
32212/*!****************************************************************!*\
32213  !*** ./node_modules/@mui/material/esm/styles/createPalette.js ***!
32214  \****************************************************************/
32215(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
32216
32217"use strict";
32218__webpack_require__.r(__webpack_exports__);
32219/* harmony export */ __webpack_require__.d(__webpack_exports__, {
32220/* harmony export */   dark: () => (/* binding */ dark),
32221/* harmony export */   "default": () => (/* binding */ createPalette),
32222/* harmony export */   light: () => (/* binding */ light)
32223/* harmony export */ });
32224/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
32225/* harmony import */ var _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system/colorManipulator */ "./node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
32226/* harmony import */ var _colors_common_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../colors/common.js */ "./node_modules/@mui/material/esm/colors/common.js");
32227/* harmony import */ var _colors_grey_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../colors/grey.js */ "./node_modules/@mui/material/esm/colors/grey.js");
32228/* harmony import */ var _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../colors/purple.js */ "./node_modules/@mui/material/esm/colors/purple.js");
32229/* harmony import */ var _colors_red_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../colors/red.js */ "./node_modules/@mui/material/esm/colors/red.js");
32230/* harmony import */ var _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../colors/orange.js */ "./node_modules/@mui/material/esm/colors/orange.js");
32231/* harmony import */ var _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../colors/blue.js */ "./node_modules/@mui/material/esm/colors/blue.js");
32232/* harmony import */ var _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../colors/lightBlue.js */ "./node_modules/@mui/material/esm/colors/lightBlue.js");
32233/* harmony import */ var _colors_green_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../colors/green.js */ "./node_modules/@mui/material/esm/colors/green.js");
32234
32235
32236
32237
32238
32239
32240
32241
32242
32243
32244
32245function getLight() {
32246  return {
32247    // The colors used to style the text.
32248    text: {
32249      // The most important text.
32250      primary: 'rgba(0, 0, 0, 0.87)',
32251      // Secondary text.
32252      secondary: 'rgba(0, 0, 0, 0.6)',
32253      // Disabled text have even lower visual prominence.
32254      disabled: 'rgba(0, 0, 0, 0.38)'
32255    },
32256    // The color used to divide different elements.
32257    divider: 'rgba(0, 0, 0, 0.12)',
32258    // The background colors used to style the surfaces.
32259    // Consistency between these values is important.
32260    background: {
32261      paper: _colors_common_js__WEBPACK_IMPORTED_MODULE_2__["default"].white,
32262      default: _colors_common_js__WEBPACK_IMPORTED_MODULE_2__["default"].white
32263    },
32264    // The colors used to style the action elements.
32265    action: {
32266      // The color of an active action like an icon button.
32267      active: 'rgba(0, 0, 0, 0.54)',
32268      // The color of an hovered action.
32269      hover: 'rgba(0, 0, 0, 0.04)',
32270      hoverOpacity: 0.04,
32271      // The color of a selected action.
32272      selected: 'rgba(0, 0, 0, 0.08)',
32273      selectedOpacity: 0.08,
32274      // The color of a disabled action.
32275      disabled: 'rgba(0, 0, 0, 0.26)',
32276      // The background color of a disabled action.
32277      disabledBackground: 'rgba(0, 0, 0, 0.12)',
32278      disabledOpacity: 0.38,
32279      focus: 'rgba(0, 0, 0, 0.12)',
32280      focusOpacity: 0.12,
32281      activatedOpacity: 0.12
32282    }
32283  };
32284}
32285const light = getLight();
32286function getDark() {
32287  return {
32288    text: {
32289      primary: _colors_common_js__WEBPACK_IMPORTED_MODULE_2__["default"].white,
32290      secondary: 'rgba(255, 255, 255, 0.7)',
32291      disabled: 'rgba(255, 255, 255, 0.5)',
32292      icon: 'rgba(255, 255, 255, 0.5)'
32293    },
32294    divider: 'rgba(255, 255, 255, 0.12)',
32295    background: {
32296      paper: '#121212',
32297      default: '#121212'
32298    },
32299    action: {
32300      active: _colors_common_js__WEBPACK_IMPORTED_MODULE_2__["default"].white,
32301      hover: 'rgba(255, 255, 255, 0.08)',
32302      hoverOpacity: 0.08,
32303      selected: 'rgba(255, 255, 255, 0.16)',
32304      selectedOpacity: 0.16,
32305      disabled: 'rgba(255, 255, 255, 0.3)',
32306      disabledBackground: 'rgba(255, 255, 255, 0.12)',
32307      disabledOpacity: 0.38,
32308      focus: 'rgba(255, 255, 255, 0.12)',
32309      focusOpacity: 0.12,
32310      activatedOpacity: 0.24
32311    }
32312  };
32313}
32314const dark = getDark();
32315function addLightOrDark(intent, direction, shade, tonalOffset) {
32316  const tonalOffsetLight = tonalOffset.light || tonalOffset;
32317  const tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;
32318  if (!intent[direction]) {
32319    if (intent.hasOwnProperty(shade)) {
32320      intent[direction] = intent[shade];
32321    } else if (direction === 'light') {
32322      intent.light = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.lighten)(intent.main, tonalOffsetLight);
32323    } else if (direction === 'dark') {
32324      intent.dark = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.darken)(intent.main, tonalOffsetDark);
32325    }
32326  }
32327}
32328function getDefaultPrimary(mode = 'light') {
32329  if (mode === 'dark') {
32330    return {
32331      main: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][200],
32332      light: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][50],
32333      dark: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][400]
32334    };
32335  }
32336  return {
32337    main: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][700],
32338    light: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][400],
32339    dark: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][800]
32340  };
32341}
32342function getDefaultSecondary(mode = 'light') {
32343  if (mode === 'dark') {
32344    return {
32345      main: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][200],
32346      light: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][50],
32347      dark: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][400]
32348    };
32349  }
32350  return {
32351    main: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][500],
32352    light: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][300],
32353    dark: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][700]
32354  };
32355}
32356function getDefaultError(mode = 'light') {
32357  if (mode === 'dark') {
32358    return {
32359      main: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][500],
32360      light: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][300],
32361      dark: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][700]
32362    };
32363  }
32364  return {
32365    main: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][700],
32366    light: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][400],
32367    dark: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][800]
32368  };
32369}
32370function getDefaultInfo(mode = 'light') {
32371  if (mode === 'dark') {
32372    return {
32373      main: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][400],
32374      light: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][300],
32375      dark: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][700]
32376    };
32377  }
32378  return {
32379    main: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][700],
32380    light: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][500],
32381    dark: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][900]
32382  };
32383}
32384function getDefaultSuccess(mode = 'light') {
32385  if (mode === 'dark') {
32386    return {
32387      main: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][400],
32388      light: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][300],
32389      dark: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][700]
32390    };
32391  }
32392  return {
32393    main: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][800],
32394    light: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][500],
32395    dark: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][900]
32396  };
32397}
32398function getDefaultWarning(mode = 'light') {
32399  if (mode === 'dark') {
32400    return {
32401      main: _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__["default"][400],
32402      light: _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__["default"][300],
32403      dark: _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__["default"][700]
32404    };
32405  }
32406  return {
32407    main: '#ed6c02',
32408    // closest to orange[800] that pass 3:1.
32409    light: _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__["default"][500],
32410    dark: _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__["default"][900]
32411  };
32412}
32413function createPalette(palette) {
32414  const {
32415    mode = 'light',
32416    contrastThreshold = 3,
32417    tonalOffset = 0.2,
32418    ...other
32419  } = palette;
32420  const primary = palette.primary || getDefaultPrimary(mode);
32421  const secondary = palette.secondary || getDefaultSecondary(mode);
32422  const error = palette.error || getDefaultError(mode);
32423  const info = palette.info || getDefaultInfo(mode);
32424  const success = palette.success || getDefaultSuccess(mode);
32425  const warning = palette.warning || getDefaultWarning(mode);
32426
32427  // Use the same logic as
32428  // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59
32429  // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54
32430  function getContrastText(background) {
32431    const contrastText = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.getContrastRatio)(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;
32432    if (true) {
32433      const contrast = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.getContrastRatio)(background, contrastText);
32434      if (contrast < 3) {
32435        console.error([`MUI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\n'));
32436      }
32437    }
32438    return contrastText;
32439  }
32440  const augmentColor = ({
32441    color,
32442    name,
32443    mainShade = 500,
32444    lightShade = 300,
32445    darkShade = 700
32446  }) => {
32447    color = {
32448      ...color
32449    };
32450    if (!color.main && color[mainShade]) {
32451      color.main = color[mainShade];
32452    }
32453    if (!color.hasOwnProperty('main')) {
32454      throw new Error( true ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\n` + `The color object needs to have a \`main\` property or a \`${mainShade}\` property.` : 0);
32455    }
32456    if (typeof color.main !== 'string') {
32457      throw new Error( true ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\n` + `\`color.main\` should be a string, but \`${JSON.stringify(color.main)}\` was provided instead.\n` + '\n' + 'Did you intend to use one of the following approaches?\n' + '\n' + 'import { green } from "@mui/material/colors";\n' + '\n' + 'const theme1 = createTheme({ palette: {\n' + '  primary: green,\n' + '} });\n' + '\n' + 'const theme2 = createTheme({ palette: {\n' + '  primary: { main: green[500] },\n' + '} });' : 0);
32458    }
32459    addLightOrDark(color, 'light', lightShade, tonalOffset);
32460    addLightOrDark(color, 'dark', darkShade, tonalOffset);
32461    if (!color.contrastText) {
32462      color.contrastText = getContrastText(color.main);
32463    }
32464    return color;
32465  };
32466  let modeHydrated;
32467  if (mode === 'light') {
32468    modeHydrated = getLight();
32469  } else if (mode === 'dark') {
32470    modeHydrated = getDark();
32471  }
32472  if (true) {
32473    if (!modeHydrated) {
32474      console.error(`MUI: The palette mode \`${mode}\` is not supported.`);
32475    }
32476  }
32477  const paletteOutput = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])({
32478    // A collection of common colors.
32479    common: {
32480      ..._colors_common_js__WEBPACK_IMPORTED_MODULE_2__["default"]
32481    },
32482    // prevent mutable object.
32483    // The palette mode, can be light or dark.
32484    mode,
32485    // The colors used to represent primary interface elements for a user.
32486    primary: augmentColor({
32487      color: primary,
32488      name: 'primary'
32489    }),
32490    // The colors used to represent secondary interface elements for a user.
32491    secondary: augmentColor({
32492      color: secondary,
32493      name: 'secondary',
32494      mainShade: 'A400',
32495      lightShade: 'A200',
32496      darkShade: 'A700'
32497    }),
32498    // The colors used to represent interface elements that the user should be made aware of.
32499    error: augmentColor({
32500      color: error,
32501      name: 'error'
32502    }),
32503    // The colors used to represent potentially dangerous actions or important messages.
32504    warning: augmentColor({
32505      color: warning,
32506      name: 'warning'
32507    }),
32508    // The colors used to present information to the user that is neutral and not necessarily important.
32509    info: augmentColor({
32510      color: info,
32511      name: 'info'
32512    }),
32513    // The colors used to indicate the successful completion of an action that user triggered.
32514    success: augmentColor({
32515      color: success,
32516      name: 'success'
32517    }),
32518    // The grey colors.
32519    grey: _colors_grey_js__WEBPACK_IMPORTED_MODULE_3__["default"],
32520    // Used by `getContrastText()` to maximize the contrast between
32521    // the background and the text.
32522    contrastThreshold,
32523    // Takes a background color and returns the text color that maximizes the contrast.
32524    getContrastText,
32525    // Generate a rich color object.
32526    augmentColor,
32527    // Used by the functions below to shift a color's luminance by approximately
32528    // two indexes within its tonal palette.
32529    // E.g., shift from Red 500 to Red 300 or Red 700.
32530    tonalOffset,
32531    // The light and dark mode object.
32532    ...modeHydrated
32533  }, other);
32534  return paletteOutput;
32535}
32536
32537/***/ },
32538
32539/***/ "./node_modules/@mui/material/esm/styles/createTheme.js"
32540/*!**************************************************************!*\
32541  !*** ./node_modules/@mui/material/esm/styles/createTheme.js ***!
32542  \**************************************************************/
32543(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
32544
32545"use strict";
32546__webpack_require__.r(__webpack_exports__);
32547/* harmony export */ __webpack_require__.d(__webpack_exports__, {
32548/* harmony export */   "default": () => (/* binding */ createTheme)
32549/* harmony export */ });
32550/* harmony import */ var _createPalette_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createPalette.js */ "./node_modules/@mui/material/esm/styles/createPalette.js");
32551/* harmony import */ var _createThemeWithVars_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createThemeWithVars.js */ "./node_modules/@mui/material/esm/styles/createThemeWithVars.js");
32552/* harmony import */ var _createThemeNoVars_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./createThemeNoVars.js */ "./node_modules/@mui/material/esm/styles/createThemeNoVars.js");
32553
32554
32555
32556// eslint-disable-next-line consistent-return
32557function attachColorScheme(theme, scheme, colorScheme) {
32558  if (!theme.colorSchemes) {
32559    return undefined;
32560  }
32561  if (colorScheme) {
32562    theme.colorSchemes[scheme] = {
32563      ...(colorScheme !== true && colorScheme),
32564      palette: (0,_createPalette_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
32565        ...(colorScheme === true ? {} : colorScheme.palette),
32566        mode: scheme
32567      }) // cast type to skip module augmentation test
32568    };
32569  }
32570}
32571
32572/**
32573 * Generate a theme base on the options received.
32574 * @param options Takes an incomplete theme object and adds the missing parts.
32575 * @param args Deep merge the arguments with the about to be returned theme.
32576 * @returns A complete, ready-to-use theme object.
32577 */
32578function createTheme(options = {},
32579// cast type to skip module augmentation test
32580...args) {
32581  const {
32582    palette,
32583    cssVariables = false,
32584    colorSchemes: initialColorSchemes = !palette ? {
32585      light: true
32586    } : undefined,
32587    defaultColorScheme: initialDefaultColorScheme = palette?.mode,
32588    ...rest
32589  } = options;
32590  const defaultColorSchemeInput = initialDefaultColorScheme || 'light';
32591  const defaultScheme = initialColorSchemes?.[defaultColorSchemeInput];
32592  const colorSchemesInput = {
32593    ...initialColorSchemes,
32594    ...(palette ? {
32595      [defaultColorSchemeInput]: {
32596        ...(typeof defaultScheme !== 'boolean' && defaultScheme),
32597        palette
32598      }
32599    } : undefined)
32600  };
32601  if (cssVariables === false) {
32602    if (!('colorSchemes' in options)) {
32603      // Behaves exactly as v5
32604      return (0,_createThemeNoVars_js__WEBPACK_IMPORTED_MODULE_2__["default"])(options, ...args);
32605    }
32606    let paletteOptions = palette;
32607    if (!('palette' in options)) {
32608      if (colorSchemesInput[defaultColorSchemeInput]) {
32609        if (colorSchemesInput[defaultColorSchemeInput] !== true) {
32610          paletteOptions = colorSchemesInput[defaultColorSchemeInput].palette;
32611        } else if (defaultColorSchemeInput === 'dark') {
32612          // @ts-ignore to prevent the module augmentation test from failing
32613          paletteOptions = {
32614            mode: 'dark'
32615          };
32616        }
32617      }
32618    }
32619    const theme = (0,_createThemeNoVars_js__WEBPACK_IMPORTED_MODULE_2__["default"])({
32620      ...options,
32621      palette: paletteOptions
32622    }, ...args);
32623    theme.defaultColorScheme = defaultColorSchemeInput;
32624    theme.colorSchemes = colorSchemesInput;
32625    if (theme.palette.mode === 'light') {
32626      theme.colorSchemes.light = {
32627        ...(colorSchemesInput.light !== true && colorSchemesInput.light),
32628        palette: theme.palette
32629      };
32630      attachColorScheme(theme, 'dark', colorSchemesInput.dark);
32631    }
32632    if (theme.palette.mode === 'dark') {
32633      theme.colorSchemes.dark = {
32634        ...(colorSchemesInput.dark !== true && colorSchemesInput.dark),
32635        palette: theme.palette
32636      };
32637      attachColorScheme(theme, 'light', colorSchemesInput.light);
32638    }
32639    return theme;
32640  }
32641  if (!palette && !('light' in colorSchemesInput) && defaultColorSchemeInput === 'light') {
32642    colorSchemesInput.light = true;
32643  }
32644  return (0,_createThemeWithVars_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
32645    ...rest,
32646    colorSchemes: colorSchemesInput,
32647    defaultColorScheme: defaultColorSchemeInput,
32648    ...(typeof cssVariables !== 'boolean' && cssVariables)
32649  }, ...args);
32650}
32651
32652/***/ },
32653
32654/***/ "./node_modules/@mui/material/esm/styles/createThemeNoVars.js"
32655/*!********************************************************************!*\
32656  !*** ./node_modules/@mui/material/esm/styles/createThemeNoVars.js ***!
32657  \********************************************************************/
32658(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
32659
32660"use strict";
32661__webpack_require__.r(__webpack_exports__);
32662/* harmony export */ __webpack_require__.d(__webpack_exports__, {
32663/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
32664/* harmony export */ });
32665/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
32666/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system/styleFunctionSx */ "./node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js");
32667/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/system/styleFunctionSx */ "./node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js");
32668/* harmony import */ var _mui_system_createTheme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/system/createTheme */ "./node_modules/@mui/system/esm/createTheme/createTheme.js");
32669/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
32670/* harmony import */ var _createMixins_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./createMixins.js */ "./node_modules/@mui/material/esm/styles/createMixins.js");
32671/* harmony import */ var _createPalette_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./createPalette.js */ "./node_modules/@mui/material/esm/styles/createPalette.js");
32672/* harmony import */ var _createTypography_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./createTypography.js */ "./node_modules/@mui/material/esm/styles/createTypography.js");
32673/* harmony import */ var _shadows_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./shadows.js */ "./node_modules/@mui/material/esm/styles/shadows.js");
32674/* harmony import */ var _createTransitions_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./createTransitions.js */ "./node_modules/@mui/material/esm/styles/createTransitions.js");
32675/* harmony import */ var _zIndex_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./zIndex.js */ "./node_modules/@mui/material/esm/styles/zIndex.js");
32676/* harmony import */ var _stringifyTheme_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./stringifyTheme.js */ "./node_modules/@mui/material/esm/styles/stringifyTheme.js");
32677
32678
32679
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689function createThemeNoVars(options = {}, ...args) {
32690  const {
32691    breakpoints: breakpointsInput,
32692    mixins: mixinsInput = {},
32693    spacing: spacingInput,
32694    palette: paletteInput = {},
32695    transitions: transitionsInput = {},
32696    typography: typographyInput = {},
32697    shape: shapeInput,
32698    ...other
32699  }
32699 = options;
32700  if (options.vars &&
32701  // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
32702  // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
32703  options.generateThemeVars === undefined) {
32704    throw new Error( true ? 'MUI: `vars` is a private field used for CSS variables support.\n' +
32705    // #host-reference
32706    'Please use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.' : 0);
32707  }
32708  const palette = (0,_createPalette_js__WEBPACK_IMPORTED_MODULE_6__["default"])(paletteInput);
32709  const systemTheme = (0,_mui_system_createTheme__WEBPACK_IMPORTED_MODULE_3__["default"])(options);
32710  let muiTheme = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(systemTheme, {
32711    mixins: (0,_createMixins_js__WEBPACK_IMPORTED_MODULE_5__["default"])(systemTheme.breakpoints, mixinsInput),
32712    palette,
32713    // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
32714    shadows: _shadows_js__WEBPACK_IMPORTED_MODULE_8__["default"].slice(),
32715    typography: (0,_createTypography_js__WEBPACK_IMPORTED_MODULE_7__["default"])(palette, typographyInput),
32716    transitions: (0,_createTransitions_js__WEBPACK_IMPORTED_MODULE_9__["default"])(transitionsInput),
32717    zIndex: {
32718      ..._zIndex_js__WEBPACK_IMPORTED_MODULE_10__["default"]
32719    }
32720  });
32721  muiTheme = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(muiTheme, other);
32722  muiTheme = args.reduce((acc, argument) => (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(acc, argument), muiTheme);
32723  if (true) {
32724    // TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.
32725    const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];
32726    const traverse = (node, component) => {
32727      let key;
32728
32729      // eslint-disable-next-line guard-for-in
32730      for (key in node) {
32731        const child = node[key];
32732        if (stateClasses.includes(key) && Object.keys(child).length > 0) {
32733          if (true) {
32734            const stateClass = (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_4__["default"])('', key);
32735            console.error([`MUI: The \`${component}\` component increases ` + `the CSS specificity of the \`${key}\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({
32736              root: {
32737                [`&.${stateClass}`]: child
32738              }
32739            }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\n'));
32740          }
32741          // Remove the style to prevent global conflicts.
32742          node[key] = {};
32743        }
32744      }
32745    };
32746    Object.keys(muiTheme.components).forEach(component => {
32747      const styleOverrides = muiTheme.components[component].styleOverrides;
32748      if (styleOverrides && component.startsWith('Mui')) {
32749        traverse(styleOverrides, component);
32750      }
32751    });
32752  }
32753  muiTheme.unstable_sxConfig = {
32754    ..._mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_2__["default"],
32755    ...other?.unstable_sxConfig
32756  };
32757  muiTheme.unstable_sx = function sx(props) {
32758    return (0,_mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_1__["default"])({
32759      sx: props,
32760      theme: this
32761    });
32762  };
32763  muiTheme.toRuntimeSource = _stringifyTheme_js__WEBPACK_IMPORTED_MODULE_11__.stringifyTheme; // for Pigment CSS integration
32764
32765  return muiTheme;
32766}
32767/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createThemeNoVars);
32768
32769/***/ },
32770
32771/***/ "./node_modules/@mui/material/esm/styles/createThemeWithVars.js"
32772/*!**********************************************************************!*\
32773  !*** ./node_modules/@mui/material/esm/styles/createThemeWithVars.js ***!
32774  \**********************************************************************/
32775(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
32776
32777"use strict";
32778__webpack_require__.r(__webpack_exports__);
32779/* harmony export */ __webpack_require__.d(__webpack_exports__, {
32780/* harmony export */   createGetCssVar: () => (/* binding */ createGetCssVar),
32781/* harmony export */   "default": () => (/* binding */ createThemeWithVars)
32782/* harmony export */ });
32783/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
32784/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system */ "./node_modules/@mui/system/esm/createTheme/createSpacing.js");
32785/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/system */ "./node_modules/@mui/system/esm/cssVars/createGetCssVar.js");
32786/* harmony import */ var _mui_system_spacing__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/system/spacing */ "./node_modules/@mui/system/esm/spacing/spacing.js");
32787/* harmony import */ var _mui_system_cssVars__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/system/cssVars */ "./node_modules/@mui/system/esm/cssVars/prepareCssVars.js");
32788/* harmony import */ var _mui_system_cssVars__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/system/cssVars */ "./node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js");
32789/* harmony import */ var _mui_system_cssVars__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/system/cssVars */ "./node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js");
32790/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/system/styleFunctionSx */ "./node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js");
32791/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/system/styleFunctionSx */ "./node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js");
32792/* harmony import */ var _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/system/colorManipulator */ "./node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
32793/* harmony import */ var _createThemeNoVars_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./createThemeNoVars.js */ "./node_modules/@mui/material/esm/styles/createThemeNoVars.js");
32794/* harmony import */ var _createColorScheme_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./createColorScheme.js */ "./node_modules/@mui/material/esm/styles/createColorScheme.js");
32795/* harmony import */ var _shouldSkipGeneratingVar_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./shouldSkipGeneratingVar.js */ "./node_modules/@mui/material/esm/styles/shouldSkipGeneratingVar.js");
32796/* harmony import */ var _createGetSelector_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./createGetSelector.js */ "./node_modules/@mui/material/esm/styles/createGetSelector.js");
32797/* harmony import */ var _stringifyTheme_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./stringifyTheme.js */ "./node_modules/@mui/material/esm/styles/stringifyTheme.js");
32798
32799
32800
32801
32802
32803
32804
32805
32806
32807
32808
32809
32810function assignNode(obj, keys) {
32811  keys.forEach(k => {
32812    if (!obj[k]) {
32813      obj[k] = {};
32814    }
32815  });
32816}
32817function setColor(obj, key, defaultValue) {
32818  if (!obj[key] && defaultValue) {
32819    obj[key] = defaultValue;
32820  }
32821}
32822function toRgb(color) {
32823  if (typeof color !== 'string' || !color.startsWith('hsl')) {
32824    return color;
32825  }
32826  return (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.hslToRgb)(color);
32827}
32828function setColorChannel(obj, key) {
32829  if (!(`${key}Channel` in obj)) {
32830    // custom channel token is not provided, generate one.
32831    // if channel token can't be generated, show a warning.
32832    obj[`${key}Channel`] = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeColorChannel)(toRgb(obj[key]), `MUI: Can't create \`palette.${key}Channel\` because \`palette.${key}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` + '\n' + `To suppress this warning, you need to explicitly provide the \`palette.${key}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`);
32833  }
32834}
32835function getSpacingVal(spacingInput) {
32836  if (typeof spacingInput === 'number') {
32837    return `${spacingInput}px`;
32838  }
32839  if (typeof spacingInput === 'string' || typeof spacingInput === 'function' || Array.isArray(spacingInput)) {
32840    return spacingInput;
32841  }
32842  return '8px';
32843}
32844const silent = fn => {
32845  try {
32846    return fn();
32847  } catch (error) {
32848    // ignore error
32849  }
32850  return undefined;
32851};
32852const createGetCssVar = (cssVarPrefix = 'mui') => (0,_mui_system__WEBPACK_IMPORTED_MODULE_2__["default"])(cssVarPrefix);
32853function attachColorScheme(colorSchemes, scheme, restTheme, colorScheme) {
32854  if (!scheme) {
32855    return undefined;
32856  }
32857  scheme = scheme === true ? {} : scheme;
32858  const mode = colorScheme === 'dark' ? 'dark' : 'light';
32859  if (!restTheme) {
32860    colorSchemes[colorScheme] = (0,_createColorScheme_js__WEBPACK_IMPORTED_MODULE_11__["default"])({
32861      ...scheme,
32862      palette: {
32863        mode,
32864        ...scheme?.palette
32865      }
32866    });
32867    return undefined;
32868  }
32869  const {
32870    palette,
32871    ...muiTheme
32872  } = (0,_createThemeNoVars_js__WEBPACK_IMPORTED_MODULE_10__["default"])({
32873    ...restTheme,
32874    palette: {
32875      mode,
32876      ...scheme?.palette
32877    }
32878  });
32879  colorSchemes[colorScheme] = {
32880    ...scheme,
32881    palette,
32882    opacity: {
32883      ...(0,_createColorScheme_js__WEBPACK_IMPORTED_MODULE_11__.getOpacity)(mode),
32884      ...scheme?.opacity
32885    },
32886    overlays: scheme?.overlays || (0,_createColorScheme_js__WEBPACK_IMPORTED_MODULE_11__.getOverlays)(mode)
32887  };
32888  return muiTheme;
32889}
32890
32891/**
32892 * A default `createThemeWithVars` comes with a single color scheme, either `light` or `dark` based on the `defaultColorScheme`.
32893 * This is better suited for apps that only need a single color scheme.
32894 *
32895 * To enable built-in `light` and `dark` color schemes, either:
32896 * 1. provide a `colorSchemeSelector` to define how the color schemes will change.
32897 * 2. provide `colorSchemes.dark` will set `colorSchemeSelector: 'media'` by default.
32898 */
32899function createThemeWithVars(options = {}, ...args) {
32900  const {
32901    colorSchemes: colorSchemesInput = {
32902      light: true
32903    },
32904    defaultColorScheme: defaultColorSchemeInput,
32905    disableCssColorScheme = false,
32906    cssVarPrefix = 'mui',
32907    shouldSkipGeneratingVar = _shouldSkipGeneratingVar_js__WEBPACK_IMPORTED_MODULE_12__["default"],
32908    colorSchemeSelector: selector = colorSchemesInput.light && colorSchemesInput.dark ? 'media' : undefined,
32909    rootSelector = ':root',
32910    ...input
32911  } = options;
32912  const firstColorScheme = Object.keys(colorSchemesInput)[0];
32913  const defaultColorScheme = defaultColorSchemeInput || (colorSchemesInput.light && firstColorScheme !== 'light' ? 'light' : firstColorScheme);
32914  const getCssVar = createGetCssVar(cssVarPrefix);
32915  const {
32916    [defaultColorScheme]: defaultSchemeInput,
32917    light: builtInLight,
32918    dark: builtInDark,
32919    ...customColorSchemes
32920  } = colorSchemesInput;
32921  const colorSchemes = {
32922    ...customColorSchemes
32923  };
32924  let defaultScheme = defaultSchemeInput;
32925
32926  // For built-in light and dark color schemes, ensure that the value is valid if they are the default color scheme.
32927  if (defaultColorScheme === 'dark' && !('dark' in colorSchemesInput) || defaultColorScheme === 'light' && !('light' in colorSchemesInput)) {
32928    defaultScheme = true;
32929  }
32930  if (!defaultScheme) {
32931    throw new Error( true ? `MUI: The \`colorSchemes.${defaultColorScheme}\` option is either missing or invalid.` : 0);
32932  }
32933
32934  // Create the palette for the default color scheme, either `light`, `dark`, or custom color scheme.
32935  const muiTheme = attachColorScheme(colorSchemes, defaultScheme, input, defaultColorScheme);
32936  if (builtInLight && !colorSchemes.light) {
32937    attachColorScheme(colorSchemes, builtInLight, undefined, 'light');
32938  }
32939  if (builtInDark && !colorSchemes.dark) {
32940    attachColorScheme(colorSchemes, builtInDark, undefined, 'dark');
32941  }
32942  let theme = {
32943    defaultColorScheme,
32944    ...muiTheme,
32945    cssVarPrefix,
32946    colorSchemeSelector: selector,
32947    rootSelector,
32948    getCssVar,
32949    colorSchemes,
32950    font: {
32951      ...(0,_mui_system_cssVars__WEBPACK_IMPORTED_MODULE_5__["default"])(muiTheme.typography),
32952      ...muiTheme.font
32953    },
32954    spacing: getSpacingVal(input.spacing)
32955  };
32956  Object.keys(theme.colorSchemes).forEach(key => {
32957    const palette = theme.colorSchemes[key].palette;
32958    const setCssVarColor = cssVar => {
32959      const tokens = cssVar.split('-');
32960      const color = tokens[1];
32961      const colorToken = tokens[2];
32962      return getCssVar(cssVar, palette[color][colorToken]);
32963    };
32964
32965    // attach black & white channels to common node
32966    if (palette.mode === 'light') {
32967      setColor(palette.common, 'background', '#fff');
32968      setColor(palette.common, 'onBackground', '#000');
32969    }
32970    if (palette.mode === 'dark') {
32971      setColor(palette.common, 'background', '#000');
32972      setColor(palette.common, 'onBackground', '#fff');
32973    }
32974
32975    // assign component variables
32976    assignNode(palette, ['Alert', 'AppBar', 'Avatar', 'Button', 'Chip', 'FilledInput', 'LinearProgress', 'Skeleton', 'Slider', 'SnackbarContent', 'SpeedDialAction', 'StepConnector', 'StepContent', 'Switch', 'TableCell', 'Tooltip']);
32977    if (palette.mode === 'light') {
32978      setColor(palette.Alert, 'errorColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.error.light, 0.6));
32979      setColor(palette.Alert, 'infoColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.info.light, 0.6));
32980      setColor(palette.Alert, 'successColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.success.light, 0.6));
32981      setColor(palette.Alert, 'warningColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.warning.light, 0.6));
32982      setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-main'));
32983      setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-main'));
32984      setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-main'));
32985      setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-main'));
32986      setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.main)));
32987      setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.main)));
32988      setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.main)));
32989      setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.main)));
32990      setColor(palette.Alert, 'errorStandardBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.error.light, 0.9));
32991      setColor(palette.Alert, 'infoStandardBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.info.light, 0.9));
32992      setColor(palette.Alert, 'successStandardBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.success.light, 0.9));
32993      setColor(palette.Alert, 'warningStandardBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.warning.light, 0.9));
32994      setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));
32995      setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));
32996      setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));
32997      setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));
32998      setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-100'));
32999      setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-400'));
33000      setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-300'));
33001      setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-A100'));
33002      setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-400'));
33003      setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-700'));
33004      setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-700'));
33005      setColor(palette.FilledInput, 'bg', 'rgba(0, 0, 0, 0.06)');
33006      setColor(palette.FilledInput, 'hoverBg', 'rgba(0, 0, 0, 0.09)');
33007      setColor(palette.FilledInput, 'disabledBg', 'rgba(0, 0, 0, 0.12)');
33008      setColor(palette.LinearProgress, 'primaryBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.primary.main, 0.62));
33009      setColor(palette.LinearProgress, 'secondaryBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.secondary.main, 0.62));
33010      setColor(palette.LinearProgress, 'errorBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.error.main, 0.62));
33011      setColor(palette.LinearProgress, 'infoBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.info.main, 0.62));
33012      setColor(palette.LinearProgress, 'successBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.success.main, 0.62));
33013      setColor(palette.LinearProgress, 'warningBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.warning.main, 0.62));
33014      setColor(palette.Skeleton, 'bg', `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.11)`);
33015      setColor(palette.Slider, 'primaryTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.primary.main, 0.62));
33016      setColor(palette.Slider, 'secondaryTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.secondary.main, 0.62));
33017      setColor(palette.Slider, 'errorTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.error.main, 0.62));
33018      setColor(palette.Slider, 'infoTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.info.main, 0.62));
33019      setColor(palette.Slider, 'successTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.success.main, 0.62));
33020      setColor(palette.Slider, 'warningTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.warning.main, 0.62));
33021      const snackbarContentBackground = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeEmphasize)(palette.background.default, 0.8);
33022      setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);
33023      setColor(palette.SnackbarContent, 'color', silent(() => palette.getContrastText(snackbarContentBackground)));
33024      setColor(palette.SpeedDialAction, 'fabHoverBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeEmphasize)(palette.background.paper, 0.15));
33025      setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-400'));
33026      setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-400'));
33027      setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-common-white'));
33028      setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-100'));
33029      setColor(palette.Switch, 'primaryDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.primary.main, 0.62));
33030      setColor(palette.Switch, 'secondaryDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.secondary.main, 0.62));
33031      setColor(palette.Switch, 'errorDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.error.main, 0.62));
33032      setColor(palette.Switch, 'infoDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.info.main, 0.62));
33033      setColor(palette.Switch, 'successDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.success.main, 0.62));
33034      setColor(palette.Switch, 'warningDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.warning.main, 0.62));
33035      setColor(palette.TableCell, 'border', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)((0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeAlpha)(palette.divider, 1), 0.88));
33036      setColor(palette.Tooltip, 'bg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeAlpha)(palette.grey[700], 0.92));
33037    }
33038    if (palette.mode === 'dark') {
33039      setColor(palette.Alert, 'errorColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.error.light, 0.6));
33040      setColor(palette.Alert, 'infoColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.info.light, 0.6));
33041      setColor(palette.Alert, 'successColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.success.light, 0.6));
33042      setColor(palette.Alert, 'warningColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten)(palette.warning.light, 0.6));
33043      setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-dark'));
33044      setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-dark'));
33045      setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-dark'));
33046      setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-dark'));
33047      setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.dark)));
33048      setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.dark)));
33049      setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.dark)));
33050      setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.dark)));
33051      setColor(palette.Alert, 'errorStandardBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.error.light, 0.9));
33052      setColor(palette.Alert, 'infoStandardBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.info.light, 0.9));
33053      setColor(palette.Alert, 'successStandardBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.success.light, 0.9));
33054      setColor(palette.Alert, 'warningStandardBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.warning.light, 0.9));
33055      setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));
33056      setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));
33057      setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));
33058      setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));
33059      setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-900'));
33060      setColor(palette.AppBar, 'darkBg', setCssVarColor('palette-background-paper')); // specific for dark mode
33061      setColor(palette.AppBar, 'darkColor', setCssVarColor('palette-text-primary')); // specific for dark mode
33062      setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-600'));
33063      setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-800'));
33064      setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-700'));
33065      setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-700'));
33066      setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-300'));
33067      setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-300'));
33068      setColor(palette.FilledInput, 'bg', 'rgba(255, 255, 255, 0.09)');
33069      setColor(palette.FilledInput, 'hoverBg', 'rgba(255, 255, 255, 0.13)');
33070      setColor(palette.FilledInput, 'disabledBg', 'rgba(255, 255, 255, 0.12)');
33071      setColor(palette.LinearProgress, 'primaryBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.primary.main, 0.5));
33072      setColor(palette.LinearProgress, 'secondaryBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.secondary.main, 0.5));
33073      setColor(palette.LinearProgress, 'errorBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.error.main, 0.5));
33074      setColor(palette.LinearProgress, 'infoBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.info.main, 0.5));
33075      setColor(palette.LinearProgress, 'successBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.success.main, 0.5));
33076      setColor(palette.LinearProgress, 'warningBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.warning.main, 0.5));
33077      setColor(palette.Skeleton, 'bg', `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.13)`);
33078      setColor(palette.Slider, 'primaryTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.primary.main, 0.5));
33079      setColor(palette.Slider, 'secondaryTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.secondary.main, 0.5));
33080      setColor(palette.Slider, 'errorTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.error.main, 0.5));
33081      setColor(palette.Slider, 'infoTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.info.main, 0.5));
33082      setColor(palette.Slider, 'successTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.success.main, 0.5));
33083      setColor(palette.Slider, 'warningTrack', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.warning.main, 0.5));
33084      const snackbarContentBackground = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeEmphasize)(palette.background.default, 0.98);
33085      setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);
33086      setColor(palette.SnackbarContent, 'color', silent(() => palette.getContrastText(snackbarContentBackground)));
33087      setColor(palette.SpeedDialAction, 'fabHoverBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeEmphasize)(palette.background.paper, 0.15));
33088      setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-600'));
33089      setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-600'));
33090      setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-grey-300'));
33091      setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-600'));
33092      setColor(palette.Switch, 'primaryDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.primary.main, 0.55));
33093      setColor(palette.Switch, 'secondaryDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.secondary.main, 0.55));
33094      setColor(palette.Switch, 'errorDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.error.main, 0.55));
33095      setColor(palette.Switch, 'infoDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.info.main, 0.55));
33096      setColor(palette.Switch, 'successDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.success.main, 0.55));
33097      setColor(palette.Switch, 'warningDisabledColor', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)(palette.warning.main, 0.55));
33098      setColor(palette.TableCell, 'border', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken)((0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeAlpha)(palette.divider, 1), 0.68));
33099      setColor(palette.Tooltip, 'bg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeAlpha)(palette.grey[700], 0.92));
33100    }
33101
33102    // MUI X - DataGrid needs this token.
33103    setColorChannel(palette.background, 'default');
33104
33105    // added for consistency with the `background.default` token
33106    setColorChannel(palette.background, 'paper');
33107    setColorChannel(palette.common, 'background');
33108    setColorChannel(palette.common, 'onBackground');
33109    setColorChannel(palette, 'divider');
33110    Object.keys(palette).forEach(color => {
33111      const colors = palette[color];
33112
33113      // The default palettes (primary, secondary, error, info, success, and warning) errors are handled by the above `createTheme(...)`.
33114
33115      if (color !== 'tonalOffset' && colors && typeof colors === 'object') {
33116        // Silent the error for custom palettes.
33117        if (colors.main) {
33118          setColor(palette[color], 'mainChannel', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeColorChannel)(toRgb(colors.main)));
33119        }
33120        if (colors.light) {
33121          setColor(palette[color], 'lightChannel', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeColorChannel)(toRgb(colors.light)));
33122        }
33123        if (colors.dark) {
33124          setColor(palette[color], 'darkChannel', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeColorChannel)(toRgb(colors.dark)));
33125        }
33126        if (colors.contrastText) {
33127          setColor(palette[color], 'contrastTextChannel', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeColorChannel)(toRgb(colors.contrastText)));
33128        }
33129        if (color === 'text') {
33130          // Text colors: text.primary, text.secondary
33131          setColorChannel(palette[color], 'primary');
33132          setColorChannel(palette[color], 'secondary');
33133        }
33134        if (color === 'action') {
33135          // Action colors: action.active, action.selected
33136          if (colors.active) {
33137            setColorChannel(palette[color], 'active');
33138          }
33139          if (colors.selected) {
33140            setColorChannel(palette[color], 'selected');
33141          }
33142        }
33143      }
33144    });
33145  });
33146  theme = args.reduce((acc, argument) => (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(acc, argument), theme);
33147  const parserConfig = {
33148    prefix: cssVarPrefix,
33149    disableCssColorScheme,
33150    shouldSkipGeneratingVar,
33151    getSelector: (0,_createGetSelector_js__WEBPACK_IMPORTED_MODULE_13__["default"])(theme)
33152  };
33153  const {
33154    vars,
33155    generateThemeVars,
33156    generateStyleSheets
33157  } = (0,_mui_system_cssVars__WEBPACK_IMPORTED_MODULE_4__["default"])(theme, parserConfig);
33158  theme.vars = vars;
33159  Object.entries(theme.colorSchemes[theme.defaultColorScheme]).forEach(([key, value]) => {
33160    theme[key] = value;
33161  });
33162  theme.generateThemeVars = generateThemeVars;
33163  theme.generateStyleSheets = generateStyleSheets;
33164  theme.generateSpacing = function generateSpacing() {
33165    return (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__["default"])(input.spacing, (0,_mui_system_spacing__WEBPACK_IMPORTED_MODULE_3__.createUnarySpacing)(this));
33166  };
33167  theme.getColorSchemeSelector = (0,_mui_system_cssVars__WEBPACK_IMPORTED_MODULE_6__.createGetColorSchemeSelector)(selector);
33168  theme.spacing = theme.generateSpacing();
33169  theme.shouldSkipGeneratingVar = shouldSkipGeneratingVar;
33170  theme.unstable_sxConfig = {
33171    ..._mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_8__["default"],
33172    ...input?.unstable_sxConfig
33173  };
33174  theme.unstable_sx = function sx(props) {
33175    return (0,_mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_7__["default"])({
33176      sx: props,
33177      theme: this
33178    });
33179  };
33180  theme.toRuntimeSource = _stringifyTheme_js__WEBPACK_IMPORTED_MODULE_14__.stringifyTheme; // for Pigment CSS integration
33181
33182  return theme;
33183}
33184
33185/***/ },
33186
33187/***/ "./node_modules/@mui/material/esm/styles/createTransitions.js"
33188/*!********************************************************************!*\
33189  !*** ./node_modules/@mui/material/esm/styles/createTransitions.js ***!
33190  \********************************************************************/
33191(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33192
33193"use strict";
33194__webpack_require__.r(__webpack_exports__);
33195/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33196/* harmony export */   "default": () => (/* binding */ createTransitions),
33197/* harmony export */   duration: () => (/* binding */ duration),
33198/* harmony export */   easing: () => (/* binding */ easing)
33199/* harmony export */ });
33200// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
33201// to learn the context in which each easing should be used.
33202const easing = {
33203  // This is the most common easing curve.
33204  easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',
33205  // Objects enter the screen at full velocity from off-screen and
33206  // slowly decelerate to a resting point.
33207  easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',
33208  // Objects leave the screen at full velocity. They do not decelerate when off-screen.
33209  easeIn: 'cubic-bezier(0.4, 0, 1, 1)',
33210  // The sharp curve is used by objects that may return to the screen at any time.
33211  sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'
33212};
33213
33214// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations
33215// to learn when use what timing
33216const duration = {
33217  shortest: 150,
33218  shorter: 200,
33219  short: 250,
33220  // most basic recommended timing
33221  standard: 300,
33222  // this is to be used in complex animations
33223  complex: 375,
33224  // recommended when something is entering screen
33225  enteringScreen: 225,
33226  // recommended when something is leaving screen
33227  leavingScreen: 195
33228};
33229function formatMs(milliseconds) {
33230  return `${Math.round(milliseconds)}ms`;
33231}
33232function getAutoHeightDuration(height) {
33233  if (!height) {
33234    return 0;
33235  }
33236  const constant = height / 36;
33237
33238  // https://www.desmos.com/calculator/vbrp3ggqet
33239  return Math.min(Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10), 3000);
33240}
33241function createTransitions(inputTransitions) {
33242  const mergedEasing = {
33243    ...easing,
33244    ...inputTransitions.easing
33245  };
33246  const mergedDuration = {
33247    ...duration,
33248    ...inputTransitions.duration
33249  };
33250  const create = (props = ['all'], options = {}) => {
33251    const {
33252      duration: durationOption = mergedDuration.standard,
33253      easing: easingOption = mergedEasing.easeInOut,
33254      delay = 0,
33255      ...other
33256    } = options;
33257    if (true) {
33258      const isString = value => typeof value === 'string';
33259      const isNumber = value => !Number.isNaN(parseFloat(value));
33260      if (!isString(props) && !Array.isArray(props)) {
33261        console.error('MUI: Argument "props" must be a string or Array.');
33262      }
33263      if (!isNumber(durationOption) && !isString(durationOption)) {
33264        console.error(`MUI: Argument "duration" must be a number or a string but found ${durationOption}.`);
33265      }
33266      if (!isString(easingOption)) {
33267        console.error('MUI: Argument "easing" must be a string.');
33268      }
33269      if (!isNumber(delay) && !isString(delay)) {
33270        console.error('MUI: Argument "delay" must be a number or a string.');
33271      }
33272      if (typeof options !== 'object') {
33273        console.error(['MUI: Secong argument of transition.create must be an object.', "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join('\n'));
33274      }
33275      if (Object.keys(other).length !== 0) {
33276        console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);
33277      }
33278    }
33279    return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption}
33279 ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');
33280  };
33281  return {
33282    getAutoHeightDuration,
33283    create,
33284    ...inputTransitions,
33285    easing: mergedEasing,
33286    duration: mergedDuration
33287  };
33288}
33289
33290/***/ },
33291
33292/***/ "./node_modules/@mui/material/esm/styles/createTypography.js"
33293/*!*******************************************************************!*\
33294  !*** ./node_modules/@mui/material/esm/styles/createTypography.js ***!
33295  \*******************************************************************/
33296(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33297
33298"use strict";
33299__webpack_require__.r(__webpack_exports__);
33300/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33301/* harmony export */   "default": () => (/* binding */ createTypography)
33302/* harmony export */ });
33303/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
33304
33305function round(value) {
33306  return Math.round(value * 1e5) / 1e5;
33307}
33308const caseAllCaps = {
33309  textTransform: 'uppercase'
33310};
33311const defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
33312
33313/**
33314 * @see @link{https://m2.material.io/design/typography/the-type-system.html}
33315 * @see @link{https://m2.material.io/design/typography/understanding-typography.html}
33316 */
33317function createTypography(palette, typography) {
33318  const {
33319    fontFamily = defaultFontFamily,
33320    // The default font size of the Material Specification.
33321    fontSize = 14,
33322    // px
33323    fontWeightLight = 300,
33324    fontWeightRegular = 400,
33325    fontWeightMedium = 500,
33326    fontWeightBold = 700,
33327    // Tell MUI what's the font-size on the html element.
33328    // 16px is the default font-size used by browsers.
33329    htmlFontSize = 16,
33330    // Apply the CSS properties to all the variants.
33331    allVariants,
33332    pxToRem: pxToRem2,
33333    ...other
33334  } = typeof typography === 'function' ? typography(palette) : typography;
33335  if (true) {
33336    if (typeof fontSize !== 'number') {
33337      console.error('MUI: `fontSize` is required to be a number.');
33338    }
33339    if (typeof htmlFontSize !== 'number') {
33340      console.error('MUI: `htmlFontSize` is required to be a number.');
33341    }
33342  }
33343  const coef = fontSize / 14;
33344  const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);
33345  const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => ({
33346    fontFamily,
33347    fontWeight,
33348    fontSize: pxToRem(size),
33349    // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
33350    lineHeight,
33351    // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
33352    // across font-families can cause issues with the kerning.
33353    ...(fontFamily === defaultFontFamily ? {
33354      letterSpacing: `${round(letterSpacing / size)}em`
33355    } : {}),
33356    ...casing,
33357    ...allVariants
33358  });
33359  const variants = {
33360    h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),
33361    h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),
33362    h3: buildVariant(fontWeightRegular, 48, 1.167, 0),
33363    h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),
33364    h5: buildVariant(fontWeightRegular, 24, 1.334, 0),
33365    h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),
33366    subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),
33367    subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),
33368    body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),
33369    body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),
33370    button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),
33371    caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
33372    overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps),
33373    // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
33374    inherit: {
33375      fontFamily: 'inherit',
33376      fontWeight: 'inherit',
33377      fontSize: 'inherit',
33378      lineHeight: 'inherit',
33379      letterSpacing: 'inherit'
33380    }
33381  };
33382  return (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])({
33383    htmlFontSize,
33384    pxToRem,
33385    fontFamily,
33386    fontSize,
33387    fontWeightLight,
33388    fontWeightRegular,
33389    fontWeightMedium,
33390    fontWeightBold,
33391    ...variants
33392  }, other, {
33393    clone: false // No need to clone deep
33394  });
33395}
33396
33397/***/ },
33398
33399/***/ "./node_modules/@mui/material/esm/styles/excludeVariablesFromRoot.js"
33400/*!***************************************************************************!*\
33401  !*** ./node_modules/@mui/material/esm/styles/excludeVariablesFromRoot.js ***!
33402  \***************************************************************************/
33403(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33404
33405"use strict";
33406__webpack_require__.r(__webpack_exports__);
33407/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33408/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
33409/* harmony export */ });
33410/**
33411 * @internal These variables should not appear in the :root stylesheet when the `defaultColorScheme="dark"`
33412 */
33413const excludeVariablesFromRoot = cssVarPrefix => [...[...Array(25)].map((_, index) => `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}overlays-${index}`), `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkBg`, `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkColor`];
33414/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (excludeVariablesFromRoot);
33415
33416/***/ },
33417
33418/***/ "./node_modules/@mui/material/esm/styles/getOverlayAlpha.js"
33419/*!******************************************************************!*\
33420  !*** ./node_modules/@mui/material/esm/styles/getOverlayAlpha.js ***!
33421  \******************************************************************/
33422(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33423
33424"use strict";
33425__webpack_require__.r(__webpack_exports__);
33426/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33427/* harmony export */   "default": () => (/* binding */ getOverlayAlpha)
33428/* harmony export */ });
33429// Inspired by https://github.com/material-components/material-components-ios/blob/bca36107405594d5b7b16265a5b0ed698f85a5ee/components/Elevation/src/UIColor%2BMaterialElevation.m#L61
33430function getOverlayAlpha(elevation) {
33431  let alphaValue;
33432  if (elevation < 1) {
33433    alphaValue = 5.11916 * elevation ** 2;
33434  } else {
33435    alphaValue = 4.5 * Math.log(elevation + 1) + 2;
33436  }
33437  return Math.round(alphaValue * 10) / 1000;
33438}
33439
33440/***/ },
33441
33442/***/ "./node_modules/@mui/material/esm/styles/identifier.js"
33443/*!*************************************************************!*\
33444  !*** ./node_modules/@mui/material/esm/styles/identifier.js ***!
33445  \*************************************************************/
33446(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33447
33448"use strict";
33449__webpack_require__.r(__webpack_exports__);
33450/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33451/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
33452/* harmony export */ });
33453/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ('$$material');
33454
33455/***/ },
33456
33457/***/ "./node_modules/@mui/material/esm/styles/shadows.js"
33458/*!**********************************************************!*\
33459  !*** ./node_modules/@mui/material/esm/styles/shadows.js ***!
33460  \**********************************************************/
33461(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33462
33463"use strict";
33464__webpack_require__.r(__webpack_exports__);
33465/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33466/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
33467/* harmony export */ });
33468const shadowKeyUmbraOpacity = 0.2;
33469const shadowKeyPenumbraOpacity = 0.14;
33470const shadowAmbientShadowOpacity = 0.12;
33471function createShadow(...px) {
33472  return [`${px[0]}px ${px[1]}px ${px[2]}px ${px[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`, `${px[4]}px ${px[5]}px ${px[6]}px ${px[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`, `${px[8]}px ${px[9]}px ${px[10]}px ${px[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(',');
33473}
33474
33475// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss
33476const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
33477/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shadows);
33478
33479/***/ },
33480
33481/***/ "./node_modules/@mui/material/esm/styles/shouldSkipGeneratingVar.js"
33482/*!**************************************************************************!*\
33483  !*** ./node_modules/@mui/material/esm/styles/shouldSkipGeneratingVar.js ***!
33484  \**************************************************************************/
33485(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33486
33487"use strict";
33488__webpack_require__.r(__webpack_exports__);
33489/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33490/* harmony export */   "default": () => (/* binding */ shouldSkipGeneratingVar)
33491/* harmony export */ });
33492function shouldSkipGeneratingVar(keys) {
33493  return !!keys[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!keys[0].match(/sxConfig$/) ||
33494  // ends with sxConfig
33495  keys[0] === 'palette' && !!keys[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
33496}
33497
33498/***/ },
33499
33500/***/ "./node_modules/@mui/material/esm/styles/stringifyTheme.js"
33501/*!*****************************************************************!*\
33502  !*** ./node_modules/@mui/material/esm/styles/stringifyTheme.js ***!
33503  \*****************************************************************/
33504(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33505
33506"use strict";
33507__webpack_require__.r(__webpack_exports__);
33508/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33509/* harmony export */   stringifyTheme: () => (/* binding */ stringifyTheme)
33510/* harmony export */ });
33511/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
33512/* eslint-disable import/prefer-default-export */
33513
33514function isSerializable(val) {
33515  return (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(val) || typeof val === 'undefined' || typeof val === 'string' || typeof val === 'boolean' || typeof val === 'number' || Array.isArray(val);
33516}
33517
33518/**
33519 * `baseTheme` usually comes from `createTheme()` or `extendTheme()`.
33520 *
33521 * This function is intended to be used with zero-runtime CSS-in-JS like Pigment CSS
33522 * For example, in a Next.js project:
33523 *
33524 * ```js
33525 * // next.config.js
33526 * const { extendTheme } = require('@mui/material/styles');
33527 *
33528 * const theme = extendTheme();
33529 * // `.toRuntimeSource` is Pigment CSS specific to create a theme that is available at runtime.
33530 * theme.toRuntimeSource = stringifyTheme;
33531 *
33532 * module.exports = withPigment({
33533 *  theme,
33534 * });
33535 * ```
33536 */
33537function stringifyTheme(baseTheme = {}) {
33538  const serializableTheme = {
33539    ...baseTheme
33540  };
33541  function serializeTheme(object) {
33542    const array = Object.entries(object);
33543    // eslint-disable-next-line no-plusplus
33544    for (let index = 0; index < array.length; index++) {
33545      const [key, value] = array[index];
33546      if (!isSerializable(value) || key.startsWith('unstable_')) {
33547        delete object[key];
33548      } else if ((0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(value)) {
33549        object[key] = {
33550          ...value
33551        };
33552        serializeTheme(object[key]);
33553      }
33554    }
33555  }
33556  serializeTheme(serializableTheme);
33557  return `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
33558
33559const theme = ${JSON.stringify(serializableTheme, null, 2)};
33560
33561theme.breakpoints = createBreakpoints(theme.breakpoints || {});
33562theme.transitions = createTransitions(theme.transitions || {});
33563
33564export default theme;`;
33565}
33566
33567/***/ },
33568
33569/***/ "./node_modules/@mui/material/esm/styles/zIndex.js"
33570/*!*********************************************************!*\
33571  !*** ./node_modules/@mui/material/esm/styles/zIndex.js ***!
33572  \*********************************************************/
33573(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33574
33575"use strict";
33576__webpack_require__.r(__webpack_exports__);
33577/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33578/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
33579/* harmony export */ });
33580// We need to centralize the zIndex definitions as they work
33581// like global values in the browser.
33582const zIndex = {
33583  mobileStepper: 1000,
33584  fab: 1050,
33585  speedDial: 1050,
33586  appBar: 1100,
33587  drawer: 1200,
33588  modal: 1300,
33589  snackbar: 1400,
33590  tooltip: 1500
33591};
33592/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (zIndex);
33593
33594/***/ },
33595
33596/***/ "./node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js"
33597/*!**************************************************************************!*\
33598  !*** ./node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js ***!
33599  \**************************************************************************/
33600(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33601
33602"use strict";
33603__webpack_require__.r(__webpack_exports__);
33604/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33605/* harmony export */   "default": () => (/* binding */ GlobalStyles)
33606/* harmony export */ });
33607/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
33608/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
33609/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/react */ "./node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js");
33610/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
33611'use client';
33612
33613
33614
33615
33616
33617function isEmpty(obj) {
33618  return obj === undefined || obj === null || Object.keys(obj).length === 0;
33619}
33620function GlobalStyles(props) {
33621  const {
33622    styles,
33623    defaultTheme = {}
33624  } = props;
33625  const globalStyles = typeof styles === 'function' ? themeInput => styles(isEmpty(themeInput) ? defaultTheme : themeInput) : styles;
33626  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_emotion_react__WEBPACK_IMPORTED_MODULE_2__.Global, {
33627    styles: globalStyles
33628  });
33629}
33630 true ? GlobalStyles.propTypes = {
33631  defaultTheme: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
33632  styles: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.array, prop_types__WEBPACK_IMPORTED_MODULE_1__.string, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.func])
33633} : 0;
33634
33635/***/ },
33636
33637/***/ "./node_modules/@mui/styled-engine/esm/StyledEngineProvider/StyledEngineProvider.js"
33638/*!******************************************************************************************!*\
33639  !*** ./node_modules/@mui/styled-engine/esm/StyledEngineProvider/StyledEngineProvider.js ***!
33640  \******************************************************************************************/
33641(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33642
33643"use strict";
33644__webpack_require__.r(__webpack_exports__);
33645/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33646/* harmony export */   TEST_INTERNALS_DO_NOT_USE: () => (/* binding */ TEST_INTERNALS_DO_NOT_USE),
33647/* harmony export */   "default": () => (/* binding */ StyledEngineProvider)
33648/* harmony export */ });
33649/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
33650/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
33651/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/react */ "./node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
33652/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js");
33653/* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/sheet */ "./node_modules/@emotion/sheet/dist/emotion-sheet.development.esm.js");
33654/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
33655'use client';
33656
33657
33658
33659
33660
33661
33662
33663// To fix [Jest performance](https://github.com/mui/material-ui/issues/45638).
33664
33665const cacheMap = new Map();
33666
33667// Need to add a private variable to test the generated CSS from Emotion, this is the simplest way to do it.
33668// We can't test the CSS from `style` tag easily because the `speedy: true` (produce empty text content) is enabled by Emotion.
33669// Even if we disable it, JSDOM needs extra configuration to be able to parse `@layer` CSS.
33670const TEST_INTERNALS_DO_NOT_USE = {
33671  /**
33672   * to intercept the generated CSS before inserting to the style tag, so that we can check the generated CSS.
33673   *
33674   * let rule;
33675   * TEST_INTERNALS_DO_NOT_USE.insert = (...args) => {
33676   *    rule = args[0];
33677   * };
33678   *
33679   * expect(rule).to.equal(...);
33680   */
33681  insert: undefined
33682};
33683
33684// We might be able to remove this when this issue is fixed:
33685// https://github.com/emotion-js/emotion/issues/2790
33686const createEmotionCache = (options, CustomSheet) => {
33687  const cache = (0,_emotion_cache__WEBPACK_IMPORTED_MODULE_3__["default"])(options);
33688
33689  // Do the same as https://github.com/emotion-js/emotion/blob/main/packages/cache/src/index.js#L238-L245
33690  cache.sheet = new CustomSheet({
33691    key: cache.key,
33692    nonce: cache.sheet.nonce,
33693    container: cache.sheet.container,
33694    speedy: cache.sheet.isSpeedy,
33695    prepend: cache.sheet.prepend,
33696    insertionPoint: cache.sheet.insertionPoint
33697  });
33698  return cache;
33699};
33700let insertionPoint;
33701if (typeof document === 'object') {
33702  // Use `insertionPoint` over `prepend`(deprecated) because it can be controlled for GlobalStyles injection order
33703  // For more information, see https://github.com/mui/material-ui/issues/44597
33704  insertionPoint = document.querySelector('[name="emotion-insertion-point"]');
33705  if (!insertionPoint) {
33706    insertionPoint = document.createElement('meta');
33707    insertionPoint.setAttribute('name', 'emotion-insertion-point');
33708    insertionPoint.setAttribute('content', '');
33709    const head = document.querySelector('head');
33710    if (head) {
33711      head.prepend(insertionPoint);
33712    }
33713  }
33714}
33715function getCache(injectFirst, enableCssLayer) {
33716  if (injectFirst || enableCssLayer) {
33717    /**
33718     * This is for client-side apps only.
33719     * A custom sheet is required to make the GlobalStyles API injected above the insertion point.
33720     * This is because the [sheet](https://github.com/emotion-js/emotion/blob/main/packages/react/src/global.js#L94-L99) does not consume the options.
33721     */
33722    class MyStyleSheet extends _emotion_sheet__WEBPACK_IMPORTED_MODULE_4__.StyleSheet {
33723      insert(rule, options) {
33724        if (TEST_INTERNALS_DO_NOT_USE.insert) {
33725          return TEST_INTERNALS_DO_NOT_USE.insert(rule, options);
33726        }
33727        if (this.key && this.key.endsWith('global')) {
33728          this.before = insertionPoint;
33729        }
33730        return super.insert(rule, options);
33731      }
33732    }
33733    const emotionCache = createEmotionCache({
33734      key: 'css',
33735      insertionPoint: injectFirst ? insertionPoint : undefined
33736    }, MyStyleSheet);
33737    if (enableCssLayer) {
33738      const prevInsert = emotionCache.insert;
33739      emotionCache.insert = (...args) => {
33740        if (!args[1].styles.match(/^@layer\s+[^{]*$/)) {
33741          // avoid nested @layer
33742          args[1].styles = `@layer mui {${args[1].styles}}`;
33743        }
33744        return prevInsert(...args);
33745      };
33746    }
33747    return emotionCache;
33748  }
33749  return undefined;
33750}
33751function StyledEngineProvider(props) {
33752  const {
33753    injectFirst,
33754    enableCssLayer,
33755    children
33756  } = props;
33757  const cache = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
33758    const cacheKey = `${injectFirst}-${enableCssLayer}`;
33759    if (typeof document === 'object' && cacheMap.has(cacheKey)) {
33760      return cacheMap.get(cacheKey);
33761    }
33762    const fresh = getCache(injectFirst, enableCssLayer);
33763    cacheMap.set(cacheKey, fresh);
33764    return fresh;
33765  }, [injectFirst, enableCssLayer]);
33766  return cache ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_emotion_react__WEBPACK_IMPORTED_MODULE_2__.C, {
33767    value: cache,
33768    children: children
33769  }) : children;
33770}
33771 true ? StyledEngineProvider.propTypes = {
33772  /**
33773   * Your component tree.
33774   */
33775  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
33776  /**
33777   * If `true`, the styles are wrapped in `@layer mui`.
33778   * Learn more about [Cascade layers](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics/Cascade_layers).
33779   */
33780  enableCssLayer: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
33781  /**
33782   * By default, the styles are injected last in the <head> element of the page.
33783   * As a result, they gain more specificity than any other style sheet.
33784   * If you want to override MUI's styles, set this prop.
33785   */
33786  injectFirst: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool
33787} : 0;
33788
33789/***/ },
33790
33791/***/ "./node_modules/@mui/styled-engine/esm/index.js"
33792/*!******************************************************!*\
33793  !*** ./node_modules/@mui/styled-engine/esm/index.js ***!
33794  \******************************************************/
33795(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33796
33797"use strict";
33798__webpack_require__.r(__webpack_exports__);
33799/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33800/* harmony export */   GlobalStyles: () => (/* reexport safe */ _GlobalStyles_index_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
33801/* harmony export */   StyledEngineProvider: () => (/* reexport safe */ _StyledEngineProvider_index_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
33802/* harmony export */   ThemeContext: () => (/* reexport safe */ _emotion_react__WEBPACK_IMPORTED_MODULE_3__.T),
33803/* harmony export */   css: () => (/* reexport safe */ _emotion_react__WEBPACK_IMPORTED_MODULE_2__.css),
33804/* harmony export */   "default": () => (/* binding */ styled),
33805/* harmony export */   internal_mutateStyles: () => (/* binding */ internal_mutateStyles),
33806/* harmony export */   internal_serializeStyles: () => (/* binding */ internal_serializeStyles),
33807/* harmony export */   keyframes: () => (/* reexport safe */ _emotion_react__WEBPACK_IMPORTED_MODULE_2__.keyframes)
33808/* harmony export */ });
33809/* harmony import */ var _emotion_styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/styled */ "./node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js");
33810/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js");
33811/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/react */ "./node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js");
33812/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/react */ "./node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
33813/* harmony import */ var _StyledEngineProvider_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./StyledEngineProvider/index.js */ "./node_modules/@mui/styled-engine/esm/StyledEngineProvider/StyledEngineProvider.js");
33814/* harmony import */ var _GlobalStyles_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./GlobalStyles/index.js */ "./node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js");
33815/**
33816 * @mui/styled-engine v7.2.0
33817 *
33818 * @license MIT
33819 * This source code is licensed under the MIT license found in the
33820 * LICENSE file in the root directory of this source tree.
33821 */
33822'use client';
33823
33824/* eslint-disable no-underscore-dangle */
33825
33826
33827function styled(tag, options) {
33828  const stylesFactory = (0,_emotion_styled__WEBPACK_IMPORTED_MODULE_0__["default"])(tag, options);
33829  if (true) {
33830    return (...styles) => {
33831      const component = typeof tag === 'string' ? `"${tag}"` : 'component';
33832      if (styles.length === 0) {
33833        console.error([`MUI: Seems like you called \`styled(${component})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join('\n'));
33834      } else if (styles.some(style => style === undefined)) {
33835        console.error(`MUI: the styled(${component})(...args) API requires all its args to be defined.`);
33836      }
33837      return stylesFactory(...styles);
33838    };
33839  }
33840  // removed by dead control flow
33841
33842}
33843
33844// eslint-disable-next-line @typescript-eslint/naming-convention
33845function internal_mutateStyles(tag, processor) {
33846  // Emotion attaches all the styles as `__emotion_styles`.
33847  // Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186
33848  if (Array.isArray(tag.__emotion_styles)) {
33849    tag.__emotion_styles = processor(tag.__emotion_styles);
33850  }
33851}
33852
33853// Emotion only accepts an array, but we want to avoid allocations
33854const wrapper = [];
33855// eslint-disable-next-line @typescript-eslint/naming-convention
33856function internal_serializeStyles(styles) {
33857  wrapper[0] = styles;
33858  return (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_1__.serializeStyles)(wrapper);
33859}
33860
33861
33862
33863
33864/***/ },
33865
33866/***/ "./node_modules/@mui/system/esm/borders/borders.js"
33867/*!*********************************************************!*\
33868  !*** ./node_modules/@mui/system/esm/borders/borders.js ***!
33869  \*********************************************************/
33870(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33871
33872"use strict";
33873__webpack_require__.r(__webpack_exports__);
33874/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33875/* harmony export */   border: () => (/* binding */ border),
33876/* harmony export */   borderBottom: () => (/* binding */ borderBottom),
33877/* harmony export */   borderBottomColor: () => (/* binding */ borderBottomColor),
33878/* harmony export */   borderColor: () => (/* binding */ borderColor),
33879/* harmony export */   borderLeft: () => (/* binding */ borderLeft),
33880/* harmony export */   borderLeftColor: () => (/* binding */ borderLeftColor),
33881/* harmony export */   borderRadius: () => (/* binding */ borderRadius),
33882/* harmony export */   borderRight: () => (/* binding */ borderRight),
33883/* harmony export */   borderRightColor: () => (/* binding */ borderRightColor),
33884/* harmony export */   borderTop: () => (/* binding */ borderTop),
33885/* harmony export */   borderTopColor: () => (/* binding */ borderTopColor),
33886/* harmony export */   borderTransform: () => (/* binding */ borderTransform),
33887/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
33888/* harmony export */   outline: () => (/* binding */ outline),
33889/* harmony export */   outlineColor: () => (/* binding */ outlineColor)
33890/* harmony export */ });
33891/* harmony import */ var _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../responsivePropType/index.js */ "./node_modules/@mui/system/esm/responsivePropType/responsivePropType.js");
33892/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/@mui/system/esm/style/style.js");
33893/* harmony import */ var _compose_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../compose/index.js */ "./node_modules/@mui/system/esm/compose/compose.js");
33894/* harmony import */ var _spacing_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../spacing/index.js */ "./node_modules/@mui/system/esm/spacing/spacing.js");
33895/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/@mui/system/esm/breakpoints/breakpoints.js");
33896
33897
33898
33899
33900
33901function borderTransform(value) {
33902  if (typeof value !== 'number') {
33903    return value;
33904  }
33905  return `${value}px solid`;
33906}
33907function createBorderStyle(prop, transform) {
33908  return (0,_style_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
33909    prop,
33910    themeKey: 'borders',
33911    transform
33912  });
33913}
33914const border = createBorderStyle('border', borderTransform);
33915const borderTop = createBorderStyle('borderTop', borderTransform);
33916const borderRight = createBorderStyle('borderRight', borderTransform);
33917const borderBottom = createBorderStyle('borderBottom', borderTransform);
33918const borderLeft = createBorderStyle('borderLeft', borderTransform);
33919const borderColor = createBorderStyle('borderColor');
33920const borderTopColor = createBorderStyle('borderTopColor');
33921const borderRightColor = createBorderStyle('borderRightColor');
33922const borderBottomColor = createBorderStyle('borderBottomColor');
33923const borderLeftColor = createBorderStyle('borderLeftColor');
33924const outline = createBorderStyle('outline', borderTransform);
33925const outlineColor = createBorderStyle('outlineColor');
33926
33927// false positive
33928// eslint-disable-next-line react/function-component-definition
33929const borderRadius = props => {
33930  if (props.borderRadius !== undefined && props.borderRadius !== null) {
33931    const transformer = (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_3__.createUnaryUnit)(props.theme, 'shape.borderRadius', 4, 'borderRadius');
33932    const styleFromPropValue = propValue => ({
33933      borderRadius: (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_3__.getValue)(transformer, propValue)
33934    });
33935    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_4__.handleBreakpoints)(props, props.borderRadius, styleFromPropValue);
33936  }
33937  return null;
33938};
33939borderRadius.propTypes =  true ? {
33940  borderRadius: _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__["default"]
33941} : 0;
33942borderRadius.filterProps = ['borderRadius'];
33943const borders = (0,_compose_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);
33944/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (borders);
33945
33946/***/ },
33947
33948/***/ "./node_modules/@mui/system/esm/breakpoints/breakpoints.js"
33949/*!*****************************************************************!*\
33950  !*** ./node_modules/@mui/system/esm/breakpoints/breakpoints.js ***!
33951  \*****************************************************************/
33952(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
33953
33954"use strict";
33955__webpack_require__.r(__webpack_exports__);
33956/* harmony export */ __webpack_require__.d(__webpack_exports__, {
33957/* harmony export */   computeBreakpointsBase: () => (/* binding */ computeBreakpointsBase),
33958/* harmony export */   createEmptyBreakpointObject: () => (/* binding */ createEmptyBreakpointObject),
33959/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
33960/* harmony export */   handleBreakpoints: () => (/* binding */ handleBreakpoints),
33961/* harmony export */   mergeBreakpointsInOrder: () => (/* binding */ mergeBreakpointsInOrder),
33962/* harmony export */   removeUnusedBreakpoints: () => (/* binding */ removeUnusedBreakpoints),
33963/* harmony export */   resolveBreakpointValues: () => (/* binding */ resolveBreakpointValues),
33964/* harmony export */   values: () => (/* binding */ values)
33965/* harmony export */ });
33966/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
33967/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
33968/* harmony import */ var _merge_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../merge/index.js */ "./node_modules/@mui/system/esm/merge/merge.js");
33969/* harmony import */ var _cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cssContainerQueries/index.js */ "./node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js");
33970
33971
33972
33973
33974
33975// The breakpoint **start** at this value.
33976// For instance with the first breakpoint xs: [xs, sm[.
33977const values = {
33978  xs: 0,
33979  // phone
33980  sm: 600,
33981  // tablet
33982  md: 900,
33983  // small laptop
33984  lg: 1200,
33985  // desktop
33986  xl: 1536 // large screen
33987};
33988const defaultBreakpoints = {
33989  // Sorted ASC by size. That's important.
33990  // It can't be configured as it's used statically for propTypes.
33991  keys: ['xs', 'sm', 'md', 'lg', 'xl'],
33992  up: key => `@media (min-width:${values[key]}px)`
33993};
33994const defaultContainerQueries = {
33995  containerQueries: containerName => ({
33996    up: key => {
33997      let result = typeof key === 'number' ? key : values[key] || key;
33998      if (typeof result === 'number') {
33999        result = `${result}px`;
34000      }
34001      return containerName ? `@container ${containerName} (min-width:${result})` : `@container (min-width:${result})`;
34002    }
34003  })
34004};
34005function handleBreakpoints(props, propValue, styleFromPropValue) {
34006  const theme = props.theme || {};
34007  if (Array.isArray(propValue)) {
34008    const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
34009    return propValue.reduce((acc, item, index) => {
34010      acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
34011      return acc;
34012    }, {});
34013  }
34014  if (typeof propValue === 'object') {
34015    const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
34016    return Object.keys(propValue).reduce((acc, breakpoint) => {
34017      if ((0,_cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_3__.isCqShorthand)(themeBreakpoints.keys, breakpoint)) {
34018        const containerKey = (0,_cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_3__.getContainerQuery)(theme.containerQueries ? theme : defaultContainerQueries, breakpoint);
34019        if (containerKey) {
34020          acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
34021        }
34022      }
34023      // key is breakpoint
34024      else if (Object.keys(themeBreakpoints.values || values).includes(breakpoint)) {
34025        const mediaKey = themeBreakpoints.up(breakpoint);
34026        acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
34027      } else {
34028        const cssKey = breakpoint;
34029        acc[cssKey] = propValue[cssKey];
34030      }
34031      return acc;
34032    }, {});
34033  }
34034  const output = styleFromPropValue(propValue);
34035  return output;
34036}
34037function breakpoints(styleFunction) {
34038  // false positive
34039  // eslint-disable-next-line react/function-component-definition
34040  const newStyleFunction = props => {
34041    const theme = props.theme || {};
34042    const base = styleFunction(props);
34043    const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
34044    const extended = themeBreakpoints.keys.reduce((acc, key) => {
34045      if (props[key]) {
34046        acc = acc || {};
34047        acc[themeBreakpoints.up(key)] = styleFunction({
34048          theme,
34049          ...props[key]
34050        });
34051      }
34052      return acc;
34053    }, null);
34054    return (0,_merge_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(base, extended);
34055  };
34056  newStyleFunction.propTypes =  true ? {
34057    ...styleFunction.propTypes,
34058    xs: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
34059    sm: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
34060    md: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
34061    lg: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
34062    xl: prop_types__WEBPACK_IMPORTED_MODULE_0__.object
34063  } : 0;
34064  newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps];
34065  return newStyleFunction;
34066}
34067function createEmptyBreakpointObject(breakpointsInput = {}) {
34068  const breakpointsInOrder = breakpointsInput.keys?.reduce((acc, key) => {
34069    const breakpointStyleKey = breakpointsInput.up(key);
34070    acc[breakpointStyleKey] = {};
34071    return acc;
34072  }, {});
34073  return breakpointsInOrder || {};
34074}
34075function removeUnusedBreakpoints(breakpointKeys, style) {
34076  return breakpointKeys.reduce((acc, key) => {
34077    const breakpointOutput = acc[key];
34078    const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
34079    if (isBreakpointUnused) {
34080      delete acc[key];
34081    }
34082    return acc;
34083  }, style);
34084}
34085function mergeBreakpointsInOrder(breakpointsInput, ...styles) {
34086  const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);
34087  const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_1__["default"])(prev, next), {});
34088  return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);
34089}
34090
34091// compute base for responsive values; e.g.,
34092// [1,2,3] => {xs: true, sm: true, md: true}
34093// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}
34094function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
34095  // fixed value
34096  if (typeof breakpointValues !== 'object') {
34097    return {};
34098  }
34099  const base = {};
34100  const breakpointsKeys = Object.keys(themeBreakpoints);
34101  if (Array.isArray(breakpointValues)) {
34102    breakpointsKeys.forEach((breakpoint, i) => {
34103      if (i < breakpointValues.length) {
34104        base[breakpoint] = true;
34105      }
34106    });
34107  } else {
34108    breakpointsKeys.forEach(breakpoint => {
34109      if (breakpointValues[breakpoint] != null) {
34110        base[breakpoint] = true;
34111      }
34112    });
34113  }
34114  return base;
34115}
34116function resolveBreakpointValues({
34117  values: breakpointValues,
34118  breakpoints: themeBreakpoints,
34119  base: customBase
34120}) {
34121  const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);
34122  const keys = Object.keys(base);
34123  if (keys.length === 0) {
34124    return breakpointValues;
34125  }
34126  let previous;
34127  return keys.reduce((acc, breakpoint, i) => {
34128    if (Array.isArray(breakpointValues)) {
34129      acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];
34130      previous = i;
34131    } else if (typeof breakpointValues === 'object') {
34132      acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous];
34133      previous = breakpoint;
34134    } else {
34135      acc[breakpoint] = breakpointValues;
34136    }
34137    return acc;
34138  }, {});
34139}
34140/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (breakpoints);
34141
34142/***/ },
34143
34144/***/ "./node_modules/@mui/system/esm/colorManipulator/colorManipulator.js"
34145/*!***************************************************************************!*\
34146  !*** ./node_modules/@mui/system/esm/colorManipulator/colorManipulator.js ***!
34147  \***************************************************************************/
34148(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
34149
34150"use strict";
34151__webpack_require__.r(__webpack_exports__);
34152/* harmony export */ __webpack_require__.d(__webpack_exports__, {
34153/* harmony export */   alpha: () => (/* binding */ alpha),
34154/* harmony export */   blend: () => (/* binding */ blend),
34155/* harmony export */   colorChannel: () => (/* binding */ colorChannel),
34156/* harmony export */   darken: () => (/* binding */ darken),
34157/* harmony export */   decomposeColor: () => (/* binding */ decomposeColor),
34158/* harmony export */   emphasize: () => (/* binding */ emphasize),
34159/* harmony export */   getContrastRatio: () => (/* binding */ getContrastRatio),
34160/* harmony export */   getLuminance: () => (/* binding */ getLuminance),
34161/* harmony export */   hexToRgb: () => (/* binding */ hexToRgb),
34162/* harmony export */   hslToRgb: () => (/* binding */ hslToRgb),
34163/* harmony export */   lighten: () => (/* binding */ lighten),
34164/* harmony export */   private_safeAlpha: () => (/* binding */ private_safeAlpha),
34165/* harmony export */   private_safeColorChannel: () => (/* binding */ private_safeColorChannel),
34166/* harmony export */   private_safeDarken: () => (/* binding */ private_safeDarken),
34167/* harmony export */   private_safeEmphasize: () => (/* binding */ private_safeEmphasize),
34168/* harmony export */   private_safeLighten: () => (/* binding */ private_safeLighten),
34169/* harmony export */   recomposeColor: () => (/* binding */ recomposeColor),
34170/* harmony export */   rgbToHex: () => (/* binding */ rgbToHex)
34171/* harmony export */ });
34172/* harmony import */ var _mui_utils_clamp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/clamp */ "./node_modules/@mui/utils/esm/clamp/clamp.js");
34173
34174/* eslint-disable @typescript-eslint/naming-convention */
34175
34176
34177/**
34178 * Returns a number whose value is limited to the given range.
34179 * @param {number} value The value to be clamped
34180 * @param {number} min The lower boundary of the output range
34181 * @param {number} max The upper boundary of the output range
34182 * @returns {number} A number in the range [min, max]
34183 */
34184function clampWrapper(value, min = 0, max = 1) {
34185  if (true) {
34186    if (value < min || value > max) {
34187      console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);
34188    }
34189  }
34190  return (0,_mui_utils_clamp__WEBPACK_IMPORTED_MODULE_0__["default"])(value, min, max);
34191}
34192
34193/**
34194 * Converts a color from CSS hex format to CSS rgb format.
34195 * @param {string} color - Hex color, i.e. #nnn or #nnnnnn
34196 * @returns {string} A CSS rgb color string
34197 */
34198function hexToRgb(color) {
34199  color = color.slice(1);
34200  const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');
34201  let colors = color.match(re);
34202  if (colors && colors[0].length === 1) {
34203    colors = colors.map(n => n + n);
34204  }
34205  if (true) {
34206    if (color.length !== color.trim().length) {
34207      console.error(`MUI: The color: "${color}
34207" is invalid. Make sure the color input doesn't contain leading/trailing space.`);
34208    }
34209  }
34210  return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {
34211    return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
34212  }).join(', ')})` : '';
34213}
34214function intToHex(int) {
34215  const hex = int.toString(16);
34216  return hex.length === 1 ? `0${hex}` : hex;
34217}
34218
34219/**
34220 * Returns an object with the type and values of a color.
34221 *
34222 * Note: Does not support rgb % values.
34223 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
34224 * @returns {object} - A MUI color object: {type: string, values: number[]}
34225 */
34226function decomposeColor(color) {
34227  // Idempotent
34228  if (color.type) {
34229    return color;
34230  }
34231  if (color.charAt(0) === '#') {
34232    return decomposeColor(hexToRgb(color));
34233  }
34234  const marker = color.indexOf('(');
34235  const type = color.substring(0, marker);
34236  if (!['rgb', 'rgba', 'hsl', 'hsla', 'color'].includes(type)) {
34237    throw new Error( true ? `MUI: Unsupported \`${color}\` color.\n` + 'The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().' : 0);
34238  }
34239  let values = color.substring(marker + 1, color.length - 1);
34240  let colorSpace;
34241  if (type === 'color') {
34242    values = values.split(' ');
34243    colorSpace = values.shift();
34244    if (values.length === 4 && values[3].charAt(0) === '/') {
34245      values[3] = values[3].slice(1);
34246    }
34247    if (!['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].includes(colorSpace)) {
34248      throw new Error( true ? `MUI: unsupported \`${colorSpace}\` color space.\n` + 'The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.' : 0);
34249    }
34250  } else {
34251    values = values.split(',');
34252  }
34253  values = values.map(value => parseFloat(value));
34254  return {
34255    type,
34256    values,
34257    colorSpace
34258  };
34259}
34260
34261/**
34262 * Returns a channel created from the input color.
34263 *
34264 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
34265 * @returns {string} - The channel for the color, that can be used in rgba or hsla colors
34266 */
34267const colorChannel = color => {
34268  const decomposedColor = decomposeColor(color);
34269  return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.includes('hsl') && idx !== 0 ? `${val}%` : val).join(' ');
34270};
34271const private_safeColorChannel = (color, warning) => {
34272  try {
34273    return colorChannel(color);
34274  } catch (error) {
34275    if (warning && "development" !== 'production') {
34276      console.warn(warning);
34277    }
34278    return color;
34279  }
34280};
34281
34282/**
34283 * Converts a color object with type and values to a string.
34284 * @param {object} color - Decomposed color
34285 * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'
34286 * @param {array} color.values - [n,n,n] or [n,n,n,n]
34287 * @returns {string} A CSS color string
34288 */
34289function recomposeColor(color) {
34290  const {
34291    type,
34292    colorSpace
34293  } = color;
34294  let {
34295    values
34296  } = color;
34297  if (type.includes('rgb')) {
34298    // Only convert the first 3 values to int (i.e. not alpha)
34299    values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);
34300  } else if (type.includes('hsl')) {
34301    values[1] = `${values[1]}%`;
34302    values[2] = `${values[2]}%`;
34303  }
34304  if (type.includes('color')) {
34305    values = `${colorSpace} ${values.join(' ')}`;
34306  } else {
34307    values = `${values.join(', ')}`;
34308  }
34309  return `${type}(${values})`;
34310}
34311
34312/**
34313 * Converts a color from CSS rgb format to CSS hex format.
34314 * @param {string} color - RGB color, i.e. rgb(n, n, n)
34315 * @returns {string} A CSS rgb color string, i.e. #nnnnnn
34316 */
34317function rgbToHex(color) {
34318  // Idempotent
34319  if (color.startsWith('#')) {
34320    return color;
34321  }
34322  const {
34323    values
34324  } = decomposeColor(color);
34325  return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;
34326}
34327
34328/**
34329 * Converts a color from hsl format to rgb format.
34330 * @param {string} color - HSL color values
34331 * @returns {string} rgb color values
34332 */
34333function hslToRgb(color) {
34334  color = decomposeColor(color);
34335  const {
34336    values
34337  } = color;
34338  const h = values[0];
34339  const s = values[1] / 100;
34340  const l = values[2] / 100;
34341  const a = s * Math.min(l, 1 - l);
34342  const f = (n, k = (n + h / 30) % 12) =>
vendor: 4,862 bytes, lines 34342-34487
34342 l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);
34343  let type = 'rgb';
34344  const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];
34345  if (color.type === 'hsla') {
34346    type += 'a';
34347    rgb.push(values[3]);
34348  }
34349  return recomposeColor({
34350    type,
34351    values: rgb
34352  });
34353}
34354/**
34355 * The relative brightness of any point in a color space,
34356 * normalized to 0 for darkest black and 1 for lightest white.
34357 *
34358 * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
34359 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
34360 * @returns {number} The relative brightness of the color in the range 0 - 1
34361 */
34362function getLuminance(color) {
34363  color = decomposeColor(color);
34364  let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;
34365  rgb = rgb.map(val => {
34366    if (color.type !== 'color') {
34367      val /= 255; // normalized
34368    }
34369    return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;
34370  });
34371
34372  // Truncate at 3 digits
34373  return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));
34374}
34375
34376/**
34377 * Calculates the contrast ratio between two colors.
34378 *
34379 * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
34380 * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
34381 * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
34382 * @returns {number} A contrast ratio value in the range 0 - 21.
34383 */
34384function getContrastRatio(foreground, background) {
34385  const lumA = getLuminance(foreground);
34386  const lumB = getLuminance(background);
34387  return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);
34388}
34389
34390/**
34391 * Sets the absolute transparency of a color.
34392 * Any existing alpha values are overwritten.
34393 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
34394 * @param {number} value - value to set the alpha channel to in the range 0 - 1
34395 * @returns {string} A CSS color string. Hex input values are returned as rgb
34396 */
34397function alpha(color, value) {
34398  color = decomposeColor(color);
34399  value = clampWrapper(value);
34400  if (color.type === 'rgb' || color.type === 'hsl') {
34401    color.type += 'a';
34402  }
34403  if (color.type === 'color') {
34404    color.values[3] = `/${value}`;
34405  } else {
34406    color.values[3] = value;
34407  }
34408  return recomposeColor(color);
34409}
34410function private_safeAlpha(color, value, warning) {
34411  try {
34412    return alpha(color, value);
34413  } catch (error) {
34414    if (warning && "development" !== 'production') {
34415      console.warn(warning);
34416    }
34417    return color;
34418  }
34419}
34420
34421/**
34422 * Darkens a color.
34423 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
34424 * @param {number} coefficient - multiplier in the range 0 - 1
34425 * @returns {string} A CSS color string. Hex input values are returned as rgb
34426 */
34427function darken(color, coefficient) {
34428  color = decomposeColor(color);
34429  coefficient = clampWrapper(coefficient);
34430  if (color.type.includes('hsl')) {
34431    color.values[2] *= 1 - coefficient;
34432  } else if (color.type.includes('rgb') || color.type.includes('color')) {
34433    for (let i = 0; i < 3; i += 1) {
34434      color.values[i] *= 1 - coefficient;
34435    }
34436  }
34437  return recomposeColor(color);
34438}
34439function private_safeDarken(color, coefficient, warning) {
34440  try {
34441    return darken(color, coefficient);
34442  } catch (error) {
34443    if (warning && "development" !== 'production') {
34444      console.warn(warning);
34445    }
34446    return color;
34447  }
34448}
34449
34450/**
34451 * Lightens a color.
34452 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
34453 * @param {number} coefficient - multiplier in the range 0 - 1
34454 * @returns {string} A CSS color string. Hex input values are returned as rgb
34455 */
34456function lighten(color, coefficient) {
34457  color = decomposeColor(color);
34458  coefficient = clampWrapper(coefficient);
34459  if (color.type.includes('hsl')) {
34460    color.values[2] += (100 - color.values[2]) * coefficient;
34461  } else if (color.type.includes('rgb')) {
34462    for (let i = 0; i < 3; i += 1) {
34463      color.values[i] += (255 - color.values[i]) * coefficient;
34464    }
34465  } else if (color.type.includes('color')) {
34466    for (let i = 0; i < 3; i += 1) {
34467      color.values[i] += (1 - color.values[i]) * coefficient;
34468    }
34469  }
34470  return recomposeColor(color);
34471}
34472function private_safeLighten(color, coefficient, warning) {
34473  try {
34474    return lighten(color, coefficient);
34475  } catch (error) {
34476    if (warning && "development" !== 'production') {
34477      console.warn(warning);
34478    }
34479    return color;
34480  }
34481}
34482
34483/**
34484 * Darken or lighten a color, depending on its luminance.
34485 * Light colors are darkened, dark colors are lightened.
34486 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
34487 * @param {number}
34487 coefficient=0.15 - multiplier in the range 0 - 1
34488 * @returns {string} A CSS color string. Hex input values are returned as rgb
34489 */
34490function emphasize(color, coefficient = 0.15) {
34491  return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);
34492}
34493function private_safeEmphasize(color, coefficient, warning) {
34494  try {
34495    return emphasize(color, coefficient);
34496  } catch (error) {
34497    if (warning && "development" !== 'production') {
34498      console.warn(warning);
34499    }
34500    return color;
34501  }
34502}
34503
34504/**
34505 * Blend a transparent overlay color with a background color, resulting in a single
34506 * RGB color.
34507 * @param {string} background - CSS color
34508 * @param {string} overlay - CSS color
34509 * @param {number} opacity - Opacity multiplier in the range 0 - 1
34510 * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.
34511 */
34512function blend(background, overlay, opacity, gamma = 1.0) {
34513  const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);
34514  const backgroundColor = decomposeColor(background);
34515  const overlayColor = decomposeColor(overlay);
34516  const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];
34517  return recomposeColor({
34518    type: 'rgb',
34519    values: rgb
34520  });
34521}
34522
34523/***/ },
34524
34525/***/ "./node_modules/@mui/system/esm/compose/compose.js"
34526/*!*********************************************************!*\
34527  !*** ./node_modules/@mui/system/esm/compose/compose.js ***!
34528  \*********************************************************/
34529(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
34530
34531"use strict";
34532__webpack_require__.r(__webpack_exports__);
34533/* harmony export */ __webpack_require__.d(__webpack_exports__, {
34534/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
34535/* harmony export */ });
34536/* harmony import */ var _merge_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../merge/index.js */ "./node_modules/@mui/system/esm/merge/merge.js");
34537
34538function compose(...styles) {
34539  const handlers = styles.reduce((acc, style) => {
34540    style.filterProps.forEach(prop => {
34541      acc[prop] = style;
34542    });
34543    return acc;
34544  }, {});
34545
34546  // false positive
34547  // eslint-disable-next-line react/function-component-definition
34548  const fn = props => {
34549    return Object.keys(props).reduce((acc, prop) => {
34550      if (handlers[prop]) {
34551        return (0,_merge_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(acc, handlers[prop](props));
34552      }
34553      return acc;
34554    }, {});
34555  };
34556  fn.propTypes =  true ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : 0;
34557  fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);
34558  return fn;
34559}
34560/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (compose);
34561
34562/***/ },
34563
34564/***/ "./node_modules/@mui/system/esm/createBox/createBox.js"
34565/*!*************************************************************!*\
34566  !*** ./node_modules/@mui/system/esm/createBox/createBox.js ***!
34567  \*************************************************************/
34568(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
34569
34570"use strict";
34571__webpack_require__.r(__webpack_exports__);
34572/* harmony export */ __webpack_require__.d(__webpack_exports__, {
34573/* harmony export */   "default": () => (/* binding */ createBox)
34574/* harmony export */ });
34575/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
34576/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.mjs");
34577/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/styled-engine */ "./node_modules/@mui/styled-engine/esm/index.js");
34578/* harmony import */ var _styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styleFunctionSx/index.js */ "./node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js");
34579/* harmony import */ var _styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styleFunctionSx/index.js */ "./node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js");
34580/* harmony import */ var _useTheme_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../useTheme/index.js */ "./node_modules/@mui/system/esm/useTheme/useTheme.js");
34581/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
34582'use client';
34583
34584
34585
34586
34587
34588
34589
34590function createBox(options = {}) {
34591  const {
34592    themeId,
34593    defaultTheme,
34594    defaultClassName = 'MuiBox-root',
34595    generateClassName
34596  } = options;
34597  const BoxRoot = (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_2__["default"])('div', {
34598    shouldForwardProp: prop => prop !== 'theme' && prop !== 'sx' && prop !== 'as'
34599  })(_styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_3__["default"]);
34600  const Box = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Box(inProps, ref) {
34601    const theme = (0,_useTheme_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])(defaultTheme);
34602    const {
34603      className,
34604      component = 'div',
34605      ...other
34606    } = (0,_styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(inProps);
34607    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(BoxRoot, {
34608      as: component,
34609      ref: ref,
34610      className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])(className, generateClassName ? generateClassName(
34610defaultClassName) : defaultClassName),
34611      theme: themeId ? theme[themeId] || theme : theme,
34612      ...other
34613    });
34614  });
34615  return Box;
34616}
34617
34618/***/ },
34619
34620/***/ "./node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js"
34621/*!*****************************************************************************!*\
34622  !*** ./node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js ***!
34623  \*****************************************************************************/
34624(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
34625
34626"use strict";
34627__webpack_require__.r(__webpack_exports__);
34628/* harmony export */ __webpack_require__.d(__webpack_exports__, {
34629/* harmony export */   breakpointKeys: () => (/* binding */ breakpointKeys),
34630/* harmony export */   "default": () => (/* binding */ createBreakpoints)
34631/* harmony export */ });
34632// Sorted ASC by size. That's important.
34633// It can't be configured as it's used statically for propTypes.
34634const breakpointKeys = ['xs', 'sm', 'md', 'lg', 'xl'];
34635const sortBreakpointsValues = values => {
34636  const breakpointsAsArray = Object.keys(values).map(key => ({
34637    key,
34638    val: values[key]
34639  })) || [];
34640  // Sort in ascending order
34641  breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);
34642  return breakpointsAsArray.reduce((acc, obj) => {
34643    return {
34644      ...acc,
34645      [obj.key]: obj.val
34646    };
34647  }, {});
34648};
34649
34650// Keep in mind that @media is inclusive by the CSS specification.
34651function createBreakpoints(breakpoints) {
34652  const {
34653    // The breakpoint **start** at this value.
34654    // For instance with the first breakpoint xs: [xs, sm).
34655    values = {
34656      xs: 0,
34657      // phone
34658      sm: 600,
34659      // tablet
34660      md: 900,
34661      // small laptop
34662      lg: 1200,
34663      // desktop
34664      xl: 1536 // large screen
34665    },
34666    unit = 'px',
34667    step = 5,
34668    ...other
34669  } = breakpoints;
34670  const sortedValues = sortBreakpointsValues(values);
34671  const keys = Object.keys(sortedValues);
34672  function up(key) {
34673    const value = typeof values[key] === 'number' ? values[key] : key;
34674    return `@media (min-width:${value}${unit})`;
34675  }
34676  function down(key) {
34677    const value = typeof values[key] === 'number' ? values[key] : key;
34678    return `@media (max-width:${value - step / 100}${unit})`;
34679  }
34680  function between(start, end) {
34681    const endIndex = keys.indexOf(end);
34682    return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;
34683  }
34684  function only(key) {
34685    if (keys.indexOf(key) + 1 < keys.length) {
34686      return between(key, keys[keys.indexOf(key) + 1]);
34687    }
34688    return up(key);
34689  }
34690  function not(key) {
34691    // handle first and last key separately, for better readability
34692    const keyIndex = keys.indexOf(key);
34693    if (keyIndex === 0) {
34694      return up(keys[1]);
34695    }
34696    if (keyIndex === keys.length - 1) {
34697      return down(keys[keyIndex]);
34698    }
34699    return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
34700  }
34701  return {
34702    keys,
34703    values: sortedValues,
34704    up,
34705    down,
34706    between,
34707    only,
34708    not,
34709    unit,
34710    ...other
34711  };
34712}
34713
34714/***/ },
34715
34716/***/ "./node_modules/@mui/system/esm/createTheme/applyStyles.js"
34717/*!*****************************************************************!*\
34718  !*** ./node_modules/@mui/system/esm/createTheme/applyStyles.js ***!
34719  \*****************************************************************/
34720(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
34721
34722"use strict";
34723__webpack_require__.r(__webpack_exports__);
34724/* harmony export */ __webpack_require__.d(__webpack_exports__, {
34725/* harmony export */   "default": () => (/* binding */ applyStyles)
34726/* harmony export */ });
34727/**
34728 * A universal utility to style components with multiple color modes. Always use it from the theme object.
34729 * It works with:
34730 *  - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)
34731 *  - [CSS theme variables](https://mui.com/material-ui/customization/css-theme-variables/overview/)
34732 *  - Zero-runtime engine
34733 *
34734 * Tips: Use an array over object spread and place `theme.applyStyles()` last.
34735 *
34736 * With the styled function:
34737 * ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]
34738 * 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}
34739 *
34740 * With the sx prop:
34741 * ✅ [{ background: '#e5e5e5' }, theme => theme.applyStyles('dark', { background: '#1c1c1c' })]
34742 * 🚫 { background: '#e5e5e5', ...theme => theme.applyStyles('dark', { background: '#1c1c1c' })}
34743 *
34744 * @example
34745 * 1. using with `styled`:
34746 * ```jsx
34747 *   const Component = styled('div')(({ theme }) => [
34748 *     { background: '#e5e5e5' },
34749 *     theme.applyStyles('dark', {
34750 *       background: '#1c1c1c',
34751 *       color: '#fff',
34752 *     }),
34753 *   ]);
34754 * ```
34755 *
34756 * @example
34757 * 2. using with `sx` prop:
34758 * ```jsx
34759 *   <Box sx={[
34760 *     { background: '#e5e5e5' },
34761 *     theme => theme.applyStyles('dark', {
34762 *        background: '#1c1c1c',
34763 *        color: '#fff',
34764 *      }),
34765 *     ]}
34766 *   />
34767 * ```
34768 *
34769 * @example
34770 * 3. theming a component:
34771 * ```jsx
34772 *   extendTheme({
34773 *     components: {
34774 *       MuiButton: {
34775 *         styleOverrides: {
34776 *           root: ({ theme }) => [
34777 *             { background: '#e5e5e5' },
34778 *             theme.applyStyles('dark', {
34779 *               background: '#1c1c1c',
34780 *               color: '#fff',
34781 *             }),
34782 *           ],
34783 *         },
34784 *       }
34785 *     }
34786 *   })
34787 *```
34788 */
34789function applyStyles(key, styles) {
34790  // @ts-expect-error this is 'any' type
34791  const theme = this;
34792  if (theme.vars) {
34793    if (!theme.colorSchemes?.[key] || typeof theme.getColorSchemeSelector !== 'function') {
34794      return {};
34795    }
34796    // If CssVarsProvider is used as a provider, returns '*:where({selector}) &'
34797    let selector = theme.getColorSchemeSelector(key);
34798    if (selector === '&') {
34799      return styles;
34800    }
34801    if (selector.includes('data-') || selector.includes('.')) {
34802      // '*' is required as a workaround for Emotion issue (https://github.com/emotion-js/emotion/issues/2836)
34803      selector = `*:where(${selector.replace(/\s*&$/, '')}) &`;
34804    }
34805    return {
34806      [selector]: styles
34807    };
34808  }
34809  if (theme.palette.mode === key) {
34810    return styles;
34811  }
34812  return {};
34813}
34814
34815/***/ },
34816
34817/***/ "./node_modules/@mui/system/esm/createTheme/createSpacing.js"
34818/*!*******************************************************************!*\
34819  !*** ./node_modules/@mui/system/esm/createTheme/createSpacing.js ***!
34820  \*******************************************************************/
34821(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
34822
34823"use strict";
34824__webpack_require__.r(__webpack_exports__);
34825/* harmony export */ __webpack_require__.d(__webpack_exports__, {
34826/* harmony export */   "default": () => (/* binding */ createSpacing)
34827/* harmony export */ });
34828/* harmony import */ var _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../spacing/index.js */ "./node_modules/@mui/system/esm/spacing/spacing.js");
34829
34830
34831// The different signatures imply different meaning for their arguments that can't be expressed structurally.
34832// We express the difference with variable names.
34833
34834function createSpacing(spacingInput = 8,
34835// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.
34836// Smaller components, such as icons, can align to a 4dp grid.
34837// https://m2.material.io/design/layout/understanding-layout.html
34838transform = (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.createUnarySpacing)({
34839  spacing: spacingInput
34840})) {
34841  // Already transformed.
34842  if (spacingInput.mui) {
34843    return spacingInput;
34844  }
34845  const spacing = (...argsInput) => {
34846    if (true) {
34847      if (!(argsInput.length <= 4)) {
34848        console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);
34849      }
34850    }
34851    const args = argsInput.length === 0 ? [1] : argsInput;
34852    return args.map(argument => {
34853      const output = transform(argument);
34854      return typeof output === 'number' ? `${output}px` : output;
34855    }).join(' ');
34856  };
34857  spacing.mui = true;
34858  return spacing;
34859}
34860
34861/***/ },
34862
34863/***/ "./node_modules/@mui/system/esm/createTheme/createTheme.js"
34864/*!*****************************************************************!*\
34865  !*** ./node_modules/@mui/system/esm/createTheme/createTheme.js ***!
34866  \*****************************************************************/
34867(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
34868
34869"use strict";
34870__webpack_require__.r(__webpack_exports__);
34871/* harmony export */ __webpack_require__.d(__webpack_exports__, {
34872/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
34873/* harmony export */ });
34874/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
34875/* harmony import */ var _createBreakpoints_createBreakpoints_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../createBreakpoints/createBreakpoints.js */ "./node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js");
34876/* harmony import */ var _cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../cssContainerQueries/index.js */ "./node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js");
34877/* harmony import */ var _shape_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./shape.js */ "./node_modules/@mui/system/esm/createTheme/shape.js");
34878/* harmony import */ var _createSpacing_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./createSpacing.js */ "./node_modules/@mui/system/esm/createTheme/createSpacing.js");
34879/* harmony import */ var _styleFunctionSx_styleFunctionSx_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../styleFunctionSx/styleFunctionSx.js */ "./node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js");
34880/* harmony import */ var _styleFunctionSx_defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styleFunctionSx/defaultSxConfig.js */ "./node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js");
34881/* harmony import */ var _applyStyles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./applyStyles.js */ "./node_modules/@mui/system/esm/createTheme/applyStyles.js");
34882
34883
34884
34885
34886
34887
34888
34889
34890function createTheme(options = {}, ...args) {
34891  const {
34892    breakpoints: breakpointsInput = {},
34893    palette: paletteInput = {},
34894    spacing: spacingInput,
34895    shape: shapeInput = {},
34896    ...other
34897  }
34897 = options;
34898  const breakpoints = (0,_createBreakpoints_createBreakpoints_js__WEBPACK_IMPORTED_MODULE_1__["default"])(breakpointsInput);
34899  const spacing = (0,_createSpacing_js__WEBPACK_IMPORTED_MODULE_4__["default"])(spacingInput);
34900  let muiTheme = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])({
34901    breakpoints,
34902    direction: 'ltr',
34903    components: {},
34904    // Inject component definitions.
34905    palette: {
34906      mode: 'light',
34907      ...paletteInput
34908    },
34909    spacing,
34910    shape: {
34911      ..._shape_js__WEBPACK_IMPORTED_MODULE_3__["default"],
34912      ...shapeInput
34913    }
34914  }, other);
34915  muiTheme = (0,_cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(muiTheme);
34916  muiTheme.applyStyles = _applyStyles_js__WEBPACK_IMPORTED_MODULE_7__["default"];
34917  muiTheme = args.reduce((acc, argument) => (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(acc, argument), muiTheme);
34918  muiTheme.unstable_sxConfig = {
34919    ..._styleFunctionSx_defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_6__["default"],
34920    ...other?.unstable_sxConfig
34921  };
34922  muiTheme.unstable_sx = function sx(props) {
34923    return (0,_styleFunctionSx_styleFunctionSx_js__WEBPACK_IMPORTED_MODULE_5__["default"])({
34924      sx: props,
34925      theme: this
34926    });
34927  };
34928  return muiTheme;
34929}
34930/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createTheme);
34931
34932/***/ },
34933
34934/***/ "./node_modules/@mui/system/esm/createTheme/shape.js"
34935/*!***********************************************************!*\
34936  !*** ./node_modules/@mui/system/esm/createTheme/shape.js ***!
34937  \***********************************************************/
34938(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
34939
34940"use strict";
34941__webpack_require__.r(__webpack_exports__);
34942/* harmony export */ __webpack_require__.d(__webpack_exports__, {
34943/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
34944/* harmony export */ });
34945const shape = {
34946  borderRadius: 4
34947};
34948/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shape);
34949
34950/***/ },
34951
34952/***/ "./node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js"
34953/*!*********************************************************************************!*\
34954  !*** ./node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js ***!
34955  \*********************************************************************************/
34956(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
34957
34958"use strict";
34959__webpack_require__.r(__webpack_exports__);
34960/* harmony export */ __webpack_require__.d(__webpack_exports__, {
34961/* harmony export */   "default": () => (/* binding */ cssContainerQueries),
34962/* harmony export */   getContainerQuery: () => (/* binding */ getContainerQuery),
34963/* harmony export */   isCqShorthand: () => (/* binding */ isCqShorthand),
34964/* harmony export */   sortContainerQueries: () => (/* binding */ sortContainerQueries)
34965/* harmony export */ });
34966
34967/**
34968 * For using in `sx` prop to sort the breakpoint from low to high.
34969 * Note: this function does not work and will not support multiple units.
34970 *       e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }
34971 *            output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 eventhough 40rem > 300px
34972 */
34973function sortContainerQueries(theme, css) {
34974  if (!theme.containerQueries) {
34975    return css;
34976  }
34977  const sorted = Object.keys(css).filter(key => key.startsWith('@container')).sort((a, b) => {
34978    const regex = /min-width:\s*([0-9.]+)/;
34979    return +(a.match(regex)?.[1] || 0) - +(b.match(regex)?.[1] || 0);
34980  });
34981  if (!sorted.length) {
34982    return css;
34983  }
34984  return sorted.reduce((acc, key) => {
34985    const value = css[key];
34986    delete acc[key];
34987    acc[key] = value;
34988    return acc;
34989  }, {
34990    ...css
34991  });
34992}
34993function isCqShorthand(breakpointKeys, value) {
34994  return value === '@' || value.startsWith('@') && (breakpointKeys.some(key => value.startsWith(`@${key}`)) || !!value.match(/^@\d/));
34995}
34996function getContainerQuery(theme, shorthand) {
34997  const matches = shorthand.match(/^@([^/]+)?\/?(.+)?$/);
34998  if (!matches) {
34999    if (true) {
35000      throw new Error( true ? `MUI: The provided shorthand ${`(${shorthand})`}
35000 is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\n` + 'For example, `@sm` or `@600` or `@40rem/sidebar`.' : 0);
35001    }
35002    // removed by dead control flow
35003
35004  }
35005  const [, containerQuery, containerName] = matches;
35006  const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;
35007  return theme.containerQueries(containerName).up(value);
35008}
35009function cssContainerQueries(themeInput) {
35010  const toContainerQuery = (mediaQuery, name) => mediaQuery.replace('@media', name ? `@container ${name}` : '@container');
35011  function attachCq(node, name) {
35012    node.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);
35013    node.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);
35014    node.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);
35015    node.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);
35016    node.not = (...args) => {
35017      const result = toContainerQuery(themeInput.breakpoints.not(...args), name);
35018      if (result.includes('not all and')) {
35019        // `@container` does not work with `not all and`, so need to invert the logic
35020        return result.replace('not all and ', '').replace('min-width:', 'width<').replace('max-width:', 'width>').replace('and', 'or');
35021      }
35022      return result;
35023    };
35024  }
35025  const node = {};
35026  const containerQueries = name => {
35027    attachCq(node, name);
35028    return node;
35029  };
35030  attachCq(containerQueries);
35031  return {
35032    ...themeInput,
35033    containerQueries
35034  };
35035}
35036
35037/***/ },
35038
35039/***/ "./node_modules/@mui/system/esm/cssGrid/cssGrid.js"
35040/*!*********************************************************!*\
35041  !*** ./node_modules/@mui/system/esm/cssGrid/cssGrid.js ***!
35042  \*********************************************************/
35043(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35044
35045"use strict";
35046__webpack_require__.r(__webpack_exports__);
35047/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35048/* harmony export */   columnGap: () => (/* binding */ columnGap),
35049/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
35050/* harmony export */   gap: () => (/* binding */ gap),
35051/* harmony export */   gridArea: () => (/* binding */ gridArea),
35052/* harmony export */   gridAutoColumns: () => (/* binding */ gridAutoColumns),
35053/* harmony export */   gridAutoFlow: () => (/* binding */ gridAutoFlow),
35054/* harmony export */   gridAutoRows: () => (/* binding */ gridAutoRows),
35055/* harmony export */   gridColumn: () => (/* binding */ gridColumn),
35056/* harmony export */   gridRow: () =>
35056 (/* binding */ gridRow),
35057/* harmony export */   gridTemplateAreas: () => (/* binding */ gridTemplateAreas),
35058/* harmony export */   gridTemplateColumns: () => (/* binding */ gridTemplateColumns),
35059/* harmony export */   gridTemplateRows: () => (/* binding */ gridTemplateRows),
35060/* harmony export */   rowGap: () => (/* binding */ rowGap)
35061/* harmony export */ });
35062/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/@mui/system/esm/style/style.js");
35063/* harmony import */ var _compose_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../compose/index.js */ "./node_modules/@mui/system/esm/compose/compose.js");
35064/* harmony import */ var _spacing_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../spacing/index.js */ "./node_modules/@mui/system/esm/spacing/spacing.js");
35065/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/@mui/system/esm/breakpoints/breakpoints.js");
35066/* harmony import */ var _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../responsivePropType/index.js */ "./node_modules/@mui/system/esm/responsivePropType/responsivePropType.js");
35067
35068
35069
35070
35071
35072
35073// false positive
35074// eslint-disable-next-line react/function-component-definition
35075const gap = props => {
35076  if (props.gap !== undefined && props.gap !== null) {
35077    const transformer = (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.createUnaryUnit)(props.theme, 'spacing', 8, 'gap');
35078    const styleFromPropValue = propValue => ({
35079      gap: (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.getValue)(transformer, propValue)
35080    });
35081    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.handleBreakpoints)(props, props.gap, styleFromPropValue);
35082  }
35083  return null;
35084};
35085gap.propTypes =  true ? {
35086  gap: _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_4__["default"]
35087} : 0;
35088gap.filterProps = ['gap'];
35089
35090// false positive
35091// eslint-disable-next-line react/function-component-definition
35092const columnGap = props => {
35093  if (props.columnGap !== undefined && props.columnGap !== null) {
35094    const transformer = (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.createUnaryUnit)(props.theme, 'spacing', 8, 'columnGap');
35095    const styleFromPropValue = propValue => ({
35096      columnGap: (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.getValue)(transformer, propValue)
35097    });
35098    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.handleBreakpoints)(props, props.columnGap, styleFromPropValue);
35099  }
35100  return null;
35101};
35102columnGap.propTypes =  true ? {
35103  columnGap: _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_4__["default"]
35104} : 0;
35105columnGap.filterProps = ['columnGap'];
35106
35107// false positive
35108// eslint-disable-next-line react/function-component-definition
35109const rowGap = props => {
35110  if (props.rowGap !== undefined && props.rowGap !== null) {
35111    const transformer = (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.createUnaryUnit)(props.theme, 'spacing', 8, 'rowGap');
35112    const styleFromPropValue = propValue => ({
35113      rowGap: (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.getValue)(transformer, propValue)
35114    });
35115    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.handleBreakpoints)(props, props.rowGap, styleFromPropValue);
35116  }
35117  return null;
35118};
35119rowGap.propTypes =  true ? {
35120  rowGap: _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_4__["default"]
35121} : 0;
35122rowGap.filterProps = ['rowGap'];
35123const gridColumn = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35124  prop: 'gridColumn'
35125});
35126const gridRow = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35127  prop: 'gridRow'
35128});
35129const gridAutoFlow = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35130  prop: 'gridAutoFlow'
35131});
35132const gridAutoColumns = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35133  prop: 'gridAutoColumns'
35134});
35135const gridAutoRows = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35136  prop: 'gridAutoRows'
35137});
35138const gridTemplateColumns = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35139  prop: 'gridTemplateColumns'
35140});
35141const gridTemplateRows = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35142  prop: 'gridTemplateRows'
35143});
35144const gridTemplateAreas = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35145  prop: 'gridTemplateAreas'
35146});
35147const gridArea = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35148  prop: 'gridArea'
35149});
35150const grid = (0,_compose_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
35151/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (grid);
35152
35153/***/ },
35154
35155/***/ "./node_modules/@mui/system/esm/cssVars/createGetCssVar.js"
35156/*!*****************************************************************!*\
35157  !*** ./node_modules/@mui/system/esm/cssVars/createGetCssVar.js ***!
35158  \*****************************************************************/
35159(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35160
35161"use strict";
35162__webpack_require__.r(__webpack_exports__);
35163/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35164/* harmony export */   "default": () => (/* binding */ createGetCssVar)
35165/* harmony export */ });
35166/**
35167 * The benefit of this function is to help developers get CSS var from theme without specifying the whole variable
35168 * and they does not need to remember the prefix (defined once).
35169 */
35170function createGetCssVar(prefix = '') {
35171  function appendVar(...vars) {
35172    if (!vars.length) {
35173      return '';
35174    }
35175    const value = vars[0];
35176    if (typeof value === 'string' && !value.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)) {
35177      return `, var(--${prefix ? `${prefix}-` : ''}${value}${appendVar(...vars.slice(1))})`;
35178    }
35179    return `, ${value}`;
35180  }
35181
35182  // AdditionalVars makes `getCssVar` less strict, so it can be use like this `getCssVar('non-mui-variable')` without type error.
35183  const getCssVar = (field, ...fallbacks) => {
35184    return `var(--${prefix ? `${prefix}-` : ''}${field}${appendVar(...fallbacks)})`;
35185  };
35186  return getCssVar;
35187}
35188
35189/***/ },
35190
35191/***/ "./node_modules/@mui/system/esm/cssVars/cssVarsParser.js"
35192/*!***************************************************************!*\
35193  !*** ./node_modules/@mui/system/esm/cssVars/cssVarsParser.js ***!
35194  \***************************************************************/
35195(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35196
35197"use strict";
35198__webpack_require__.r(__webpack_exports__);
35199/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35200/* harmony export */   assignNestedKeys: () => (/* binding */ assignNestedKeys),
35201/* harmony export */   "default": () => (/* binding */ cssVarsParser),
35202/* harmony export */   walkObjectDeep: () => (/* binding */ walkObjectDeep)
35203/* harmony export */ });
35204/**
35205 * This function create an object from keys, value and then assign to target
35206 *
35207 * @param {Object} obj : the target object to be assigned
35208 * @param {string[]} keys
35209 * @param {string | number} value
35210 *
35211 * @example
35212 * const source = {}
35213 * assignNestedKeys(source, ['palette', 'primary'], 'var(--palette-primary)')
35214 * console.log(source) // { palette: { primary: 'var(--palette-primary)' } }
35215 *
35216 * @example
35217 * const source = { palette: { primary: 'var(--palette-primary)' } }
35218 * assignNestedKeys(source, ['palette', 'secondary'], 'var(--palette-secondary)')
35219 * console.log(source) // { palette: { primary: 'var(--palette-primary)', secondary: 'var(--palette-secondary)' } }
35220 */
35221const assignNestedKeys = (obj, keys, value, arrayKeys = []) => {
35222  let temp = obj;
35223  keys.forEach((k, index) => {
35224    if (index === keys.length - 1) {
35225      if (Array.isArray(temp)) {
35226        temp[Number(k)] = value;
35227      } else if (temp && typeof temp === 'object') {
35228        temp[k] = value;
35229      }
35230    } else if (temp && typeof temp === 'object') {
35231      if (!temp[k]) {
35232        temp[k] = arrayKeys.includes(k) ? [] : {};
35233      }
35234      temp = temp[k];
35235    }
35236  });
35237};
35238
35239/**
35240 *
35241 * @param {Object} obj : source object
35242 * @param {Function} callback : a function that will be called when
35243 *                   - the deepest key in source object is reached
35244 *                   - the value of the deepest key is NOT `undefined` | `null`
35245 *
35246 * @example
35247 * walkObjectDeep({ palette: { primary: { main: '#000000' } } }, console.log)
35248 * // ['palette', 'primary', 'main'] '#000000'
35249 */
35250const walkObjectDeep = (obj, callback, shouldSkipPaths) => {
35251  function recurse(object, parentKeys = [], arrayKeys = []) {
35252    Object.entries(object).forEach(([key, value]) => {
35253      if (!shouldSkipPaths || shouldSkipPaths && !shouldSkipPaths([...parentKeys, key])) {
35254        if (value !== undefined && value !== null) {
35255          if (typeof value === 'object' && Object.keys(value).length > 0) {
35256            recurse(value, [...parentKeys, key], Array.isArray(value) ? [...arrayKeys, key] : arrayKeys);
35257          } else {
35258            callback([...parentKeys, key], value, arrayKeys);
35259          }
35260        }
35261      }
35262    });
35263  }
35264  recurse(obj);
35265};
35266const getCssValue = (keys, value) => {
35267  if (typeof value === 'number') {
35268    if (['lineHeight', 'fontWeight', 'opacity', 'zIndex'].some(prop => keys.includes(prop))) {
35269      // CSS property that are unitless
35270      return value;
35271    }
35272    const lastKey = keys[keys.length - 1];
35273    if (lastKey.toLowerCase().includes('opacity')) {
35274      // opacity values are unitless
35275      return value;
35276    }
35277    return `${value}px`;
35278  }
35279  return value;
35280};
35281
35282/**
35283 * a function that parse theme and return { css, vars }
35284 *
35285 * @param {Object} theme
35286 * @param {{
35287 *  prefix?: string,
35288 *  shouldSkipGeneratingVar?: (objectPathKeys: Array<string>, value: string | number) => boolean
35289 * }} options.
35290 *  `prefix`: The prefix of the generated CSS variables. This function does not change the value.
35291 *
35292 * @returns {{ css: Object, vars: Object }} `css` is the stylesheet, `vars` is an object to get css variable (same structure as theme).
35293 *
35294 * @example
35295 * const { css, vars } = parser({
35296 *   fontSize: 12,
35297 *   lineHeight: 1.2,
35298 *   palette: { primary: { 500: 'var(--color)' } }
35299 * }, { prefix: 'foo' })
35300 *
35301 * console.log(css) // { '--foo-fontSize': '12px', '--foo-lineHeight': 1.2, '--foo-palette-primary-500': 'var(--color)' }
35302 * console.log(vars) // { fontSize: 'var(--foo-fontSize)', lineHeight: 'var(--foo-lineHeight)', palette: { primary: { 500: 'var(--foo-palette-primary-500)' } } }
35303 */
35304function cssVarsParser(theme, options) {
35305  const {
35306    prefix,
35307    shouldSkipGeneratingVar
35308  } = options || {};
35309  const css = {};
35310  const vars = {};
35311  const varsWithDefaults = {};
35312  walkObjectDeep(theme, (keys, value, arrayKeys) => {
35313    if (typeof value === 'string' || typeof value === 'number') {
35314      if (!shouldSkipGeneratingVar || !shouldSkipGeneratingVar(keys, value)) {
35315        // only create css & var if `shouldSkipGeneratingVar` return false
35316        const cssVar = `--${prefix ? `${prefix}-` : ''}${keys.join('-')}`;
35317        const resolvedValue = getCssValue(keys, value);
35318        Object.assign(css, {
35319          [cssVar]: resolvedValue
35320        });
35321        assignNestedKeys(vars, keys, `var(${cssVar})`, arrayKeys);
35322        assignNestedKeys(varsWithDefaults, keys, `var(${cssVar}, ${resolvedValue})`, arrayKeys);
35323      }
35324    }
35325  }, keys => keys[0] === 'vars' // skip 'vars/*' paths
35326  );
35327  return {
35328    css,
35329    vars,
35330    varsWithDefaults
35331  };
35332}
35333
35334/***/ },
35335
35336/***/ "./node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js"
35337/*!************************************************************************!*\
35338  !*** ./node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js ***!
35339  \************************************************************************/
35340(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35341
35342"use strict";
35343__webpack_require__.r(__webpack_exports__);
35344/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35345/* harmony export */   createGetColorSchemeSelector: () => (/* binding */ createGetColorSchemeSelector)
35346/* harmony export */ });
35347/* eslint-disable import/prefer-default-export */
35348function createGetColorSchemeSelector(selector) {
35349  return function getColorSchemeSelector(colorScheme) {
35350    if (selector === 'media') {
35351      if (true) {
35352        if (colorScheme !== 'light' && colorScheme !== 'dark') {
35353          console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${colorScheme}'.`);
35354        }
35355      }
35356      return `@media (prefers-color-scheme: ${colorScheme})`;
35357    }
35358    if (selector) {
35359      if (selector.startsWith('data-') && !selector.includes('%s')) {
35360        return `[${selector}="${colorScheme}"] &`;
35361      }
35362      if (selector === 'class') {
35363        return `.${colorScheme} &`;
35364      }
35365      if (selector === 'data') {
35366        return `[data-${colorScheme}] &`;
35367      }
35368      return `${selector.replace('%s', colorScheme)} &`;
35369    }
35370    return '&';
35371  };
35372}
35373
35374/***/ },
35375
35376/***/ "./node_modules/@mui/system/esm/cssVars/prepareCssVars.js"
35377/*!****************************************************************!*\
35378  !*** ./node_modules/@mui/system/esm/cssVars/prepareCssVars.js ***!
35379  \****************************************************************/
35380(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35381
35382"use strict";
35383__webpack_require__.r(__webpack_exports__);
35384/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35385/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
35386/* harmony export */ });
35387/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
35388/* harmony import */ var _cssVarsParser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cssVarsParser.js */ "./node_modules/@mui/system/esm/cssVars/cssVarsParser.js");
35389
35390
35391function prepareCssVars(theme, parserConfig = {}) {
35392  const {
35393    getSelector = defaultGetSelector,
35394    disableCssColorScheme,
35395    colorSchemeSelector: selector
35396  } = parserConfig;
35397  // @ts-ignore - ignore components do not exist
35398  const {
35399    colorSchemes = {},
35400    components,
35401    defaultColorScheme = 'light',
35402    ...otherTheme
35403  } = theme;
35404  const {
35405    vars: rootVars,
35406    css: rootCss,
35407    varsWithDefaults: rootVarsWithDefaults
35408  } = (0,_cssVarsParser_js__WEBPACK_IMPORTED_MODULE_1__["default"])(otherTheme, parserConfig);
35409  let themeVars = rootVarsWithDefaults;
35410  const colorSchemesMap = {};
35411  const {
35412    [defaultColorScheme]: defaultScheme,
35413    ...otherColorSchemes
35414  } = colorSchemes;
35415  Object.entries(otherColorSchemes || {}
35415).forEach(([key, scheme]) => {
35416    const {
35417      vars,
35418      css,
35419      varsWithDefaults
35420    } = (0,_cssVarsParser_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme, parserConfig);
35421    themeVars = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(themeVars, varsWithDefaults);
35422    colorSchemesMap[key] = {
35423      css,
35424      vars
35425    };
35426  });
35427  if (defaultScheme) {
35428    // default color scheme vars should be merged last to set as default
35429    const {
35430      css,
35431      vars,
35432      varsWithDefaults
35433    } = (0,_cssVarsParser_js__WEBPACK_IMPORTED_MODULE_1__["default"])(defaultScheme, parserConfig);
35434    themeVars = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(themeVars, varsWithDefaults);
35435    colorSchemesMap[defaultColorScheme] = {
35436      css,
35437      vars
35438    };
35439  }
35440  function defaultGetSelector(colorScheme, cssObject) {
35441    let rule = selector;
35442    if (selector === 'class') {
35443      rule = '.%s';
35444    }
35445    if (selector === 'data') {
35446      rule = '[data-%s]';
35447    }
35448    if (selector?.startsWith('data-') && !selector.includes('%s')) {
35449      // 'data-joy-color-scheme' -> '[data-joy-color-scheme="%s"]'
35450      rule = `[${selector}="%s"]`;
35451    }
35452    if (colorScheme) {
35453      if (rule === 'media') {
35454        if (theme.defaultColorScheme === colorScheme) {
35455          return ':root';
35456        }
35457        const mode = colorSchemes[colorScheme]?.palette?.mode || colorScheme;
35458        return {
35459          [`@media (prefers-color-scheme: ${mode})`]: {
35460            ':root': cssObject
35461          }
35462        };
35463      }
35464      if (rule) {
35465        if (theme.defaultColorScheme === colorScheme) {
35466          return `:root, ${rule.replace('%s', String(colorScheme))}`;
35467        }
35468        return rule.replace('%s', String(colorScheme));
35469      }
35470    }
35471    return ':root';
35472  }
35473  const generateThemeVars = () => {
35474    let vars = {
35475      ...rootVars
35476    };
35477    Object.entries(colorSchemesMap).forEach(([, {
35478      vars: schemeVars
35479    }]) => {
35480      vars = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(vars, schemeVars);
35481    });
35482    return vars;
35483  };
35484  const generateStyleSheets = () => {
35485    const stylesheets = [];
35486    const colorScheme = theme.defaultColorScheme || 'light';
35487    function insertStyleSheet(key, css) {
35488      if (Object.keys(css).length) {
35489        stylesheets.push(typeof key === 'string' ? {
35490          [key]: {
35491            ...css
35492          }
35493        } : key);
35494      }
35495    }
35496    insertStyleSheet(getSelector(undefined, {
35497      ...rootCss
35498    }), rootCss);
35499    const {
35500      [colorScheme]: defaultSchemeVal,
35501      ...other
35502    } = colorSchemesMap;
35503    if (defaultSchemeVal) {
35504      // default color scheme has to come before other color schemes
35505      const {
35506        css
35507      } = defaultSchemeVal;
35508      const cssColorSheme = colorSchemes[colorScheme]?.palette?.mode;
35509      const finalCss = !disableCssColorScheme && cssColorSheme ? {
35510        colorScheme: cssColorSheme,
35511        ...css
35512      } : {
35513        ...css
35514      };
35515      insertStyleSheet(getSelector(colorScheme, {
35516        ...finalCss
35517      }), finalCss);
35518    }
35519    Object.entries(other).forEach(([key, {
35520      css
35521    }]) => {
35522      const cssColorSheme = colorSchemes[key]?.palette?.mode;
35523      const finalCss = !disableCssColorScheme && cssColorSheme ? {
35524        colorScheme: cssColorSheme,
35525        ...css
35526      } : {
35527        ...css
35528      };
35529      insertStyleSheet(getSelector(key, {
35530        ...finalCss
35531      }), finalCss);
35532    });
35533    return stylesheets;
35534  };
35535  return {
35536    vars: themeVars,
35537    generateThemeVars,
35538    generateStyleSheets
35539  };
35540}
35541/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (prepareCssVars);
35542
35543/***/ },
35544
35545/***/ "./node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js"
35546/*!***********************************************************************!*\
35547  !*** ./node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js ***!
35548  \***********************************************************************/
35549(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35550
35551"use strict";
35552__webpack_require__.r(__webpack_exports__);
35553/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35554/* harmony export */   "default": () => (/* binding */ prepareTypographyVars)
35555/* harmony export */ });
35556function prepareTypographyVars(typography) {
35557  const vars = {};
35558  const entries = Object.entries(typography);
35559  entries.forEach(entry => {
35560    const [key, value] = entry;
35561    if (typeof value === 'object') {
35562      vars[key] = `${value.fontStyle ? `${value.fontStyle} ` : ''}${value.fontVariant ? `${value.fontVariant} ` : ''}${value.fontWeight ? `${value.fontWeight} ` : ''}${value.fontStretch ? `${value.fontStretch} ` : ''}${value.fontSize || ''}${value.lineHeight ? `/${value.lineHeight} ` : ''}${value.fontFamily || ''}`;
35563    }
35564  });
35565  return vars;
35566}
35567
35568/***/ },
35569
35570/***/ "./node_modules/@mui/system/esm/memoize/memoize.js"
35571/*!*********************************************************!*\
35572  !*** ./node_modules/@mui/system/esm/memoize/memoize.js ***!
35573  \*********************************************************/
35574(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35575
35576"use strict";
35577__webpack_require__.r(__webpack_exports__);
35578/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35579/* harmony export */   "default": () => (/* binding */ memoize)
35580/* harmony export */ });
35581function memoize(fn) {
35582  const cache = {};
35583  return arg => {
35584    if (cache[arg] === undefined) {
35585      cache[arg] = fn(arg);
35586    }
35587    return cache[arg];
35588  };
35589}
35590
35591/***/ },
35592
35593/***/ "./node_modules/@mui/system/esm/merge/merge.js"
35594/*!*****************************************************!*\
35595  !*** ./node_modules/@mui/system/esm/merge/merge.js ***!
35596  \*****************************************************/
35597(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35598
35599"use strict";
35600__webpack_require__.r(__webpack_exports__);
35601/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35602/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
35603/* harmony export */ });
35604/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
35605
35606function merge(acc, item) {
35607  if (!item) {
35608    return acc;
35609  }
35610  return (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(acc, item, {
35611    clone: false // No need to clone deep, it's way faster.
35612  });
35613}
35614/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (merge);
35615
35616/***/ },
35617
35618/***/ "./node_modules/@mui/system/esm/palette/palette.js"
35619/*!*********************************************************!*\
35620  !*** ./node_modules/@mui/system/esm/palette/palette.js ***!
35621  \*********************************************************/
35622(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35623
35624"use strict";
35625__webpack_require__.r(__webpack_exports__);
35626/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35627/* harmony export */   backgroundColor: () => (/* binding */ backgroundColor),
35628/* harmony export */   bgcolor: () => (/* binding */ bgcolor),
35629/* harmony export */   color: () => (/* binding */ color),
35630/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
35631/* harmony export */   paletteTransform: () => (/* binding */ paletteTransform)
35632/* harmony export */ });
35633/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/@mui/system/esm/style/style.js");
35634/* harmony import */ var _compose_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../compose/index.js */ "./node_modules/@mui/system/esm/compose/compose.js");
35635
35636
35637function paletteTransform(value, userValue) {
35638  if (userValue === 'grey') {
35639    return userValue;
35640  }
35641  return value;
35642}
35643const color = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35644  prop: 'color',
35645  themeKey: 'palette',
35646  transform: paletteTransform
35647});
35648const bgcolor = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35649  prop: 'bgcolor',
35650  cssProperty: 'backgroundColor',
35651  themeKey: 'palette',
35652  transform: paletteTransform
35653});
35654const backgroundColor = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35655  prop: 'backgroundColor',
35656  themeKey: 'palette',
35657  transform: paletteTransform
35658});
35659const palette = (0,_compose_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(color, bgcolor, backgroundColor);
35660/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (palette);
35661
35662/***/ },
35663
35664/***/ "./node_modules/@mui/system/esm/responsivePropType/responsivePropType.js"
35665/*!*******************************************************************************!*\
35666  !*** ./node_modules/@mui/system/esm/responsivePropType/responsivePropType.js ***!
35667  \*******************************************************************************/
35668(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35669
35670"use strict";
35671__webpack_require__.r(__webpack_exports__);
35672/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35673/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
35674/* harmony export */ });
35675/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
35676
35677const responsivePropType =  true ? prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.string, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.array]) : 0;
35678/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (responsivePropType);
35679
35680/***/ },
35681
35682/***/ "./node_modules/@mui/system/esm/sizing/sizing.js"
35683/*!*******************************************************!*\
35684  !*** ./node_modules/@mui/system/esm/sizing/sizing.js ***!
35685  \*******************************************************/
35686(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35687
35688"use strict";
35689__webpack_require__.r(__webpack_exports__);
35690/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35691/* harmony export */   boxSizing: () => (/* binding */ boxSizing),
35692/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
35693/* harmony export */   height: () => (/* binding */ height),
35694/* harmony export */   maxHeight: () => (/* binding */ maxHeight),
35695/* harmony export */   maxWidth: () => (/* binding */ maxWidth),
35696/* harmony export */   minHeight: () => (/* binding */ minHeight),
35697/* harmony export */   minWidth: () => (/* binding */ minWidth),
35698/* harmony export */   sizeHeight: () => (/* binding */ sizeHeight),
35699/* harmony export */   sizeWidth: () => (/* binding */ sizeWidth),
35700/* harmony export */   sizingTransform: () => (/* binding */ sizingTransform),
35701/* harmony export */   width: () => (/* binding */ width)
35702/* harmony export */ });
35703/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/@mui/system/esm/style/style.js");
35704/* harmony import */ var _compose_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../compose/index.js */ "./node_modules/@mui/system/esm/compose/compose.js");
35705/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/@mui/system/esm/breakpoints/breakpoints.js");
35706
35707
35708
35709function sizingTransform(value) {
35710  return value <= 1 && value !== 0 ? `${value * 100}%` : value;
35711}
35712const width = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35713  prop: 'width',
35714  transform: sizingTransform
35715});
35716const maxWidth = props => {
35717  if (props.maxWidth !== undefined && props.maxWidth !== null) {
35718    const styleFromPropValue = propValue => {
35719      const breakpoint = props.theme?.breakpoints?.values?.[propValue] || _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_2__.values[propValue];
35720      if (!breakpoint) {
35721        return {
35722          maxWidth: sizingTransform(propValue)
35723        };
35724      }
35725      if (props.theme?.breakpoints?.unit !== 'px') {
35726        return {
35727          maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`
35728        };
35729      }
35730      return {
35731        maxWidth: breakpoint
35732      };
35733    };
35734    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_2__.handleBreakpoints)(props, props.maxWidth, styleFromPropValue);
35735  }
35736  return null;
35737};
35738maxWidth.filterProps = ['maxWidth'];
35739const minWidth = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35740  prop: 'minWidth',
35741  transform: sizingTransform
35742});
35743const height = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35744  prop: 'height',
35745  transform: sizingTransform
35746});
35747const maxHeight = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35748  prop: 'maxHeight',
35749  transform: sizingTransform
35750});
35751const minHeight = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35752  prop: 'minHeight',
35753  transform: sizingTransform
35754});
35755const sizeWidth = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35756  prop: 'size',
35757  cssProperty: 'width',
35758  transform: sizingTransform
35759});
35760const sizeHeight = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35761  prop: 'size',
35762  cssProperty: 'height',
35763  transform: sizingTransform
35764});
35765const boxSizing = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
35766  prop: 'boxSizing'
35767});
35768const sizing = (0,_compose_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
35769/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (sizing);
35770
35771/***/ },
35772
35773/***/ "./node_modules/@mui/system/esm/spacing/spacing.js"
35774/*!*********************************************************!*\
35775  !*** ./node_modules/@mui/system/esm/spacing/spacing.js ***!
35776  \*********************************************************/
35777(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35778
35779"use strict";
35780__webpack_require__.r(__webpack_exports__);
35781/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35782/* harmony export */   createUnarySpacing: () => (/* binding */ createUnarySpacing),
35783/* harmony export */   createUnaryUnit: () => (/* binding */ createUnaryUnit),
35784/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
35785/* harmony export */   getStyleFromPropValue: () => (/* binding */ getStyleFromPropValue),
35786/* harmony export */   getValue: () => (/* binding */ getValue),
35787/* harmony export */   margin: () => (/* binding */ margin),
35788/* harmony export */   marginKeys: () => (/* binding */ marginKeys),
35789/* harmony export */   padding: () => (/* binding */ padding),
35790/* harmony export */   paddingKeys: () => (/* binding */ paddingKeys)
35791/* harmony export */ });
35792/* harmony import */ var _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../responsivePropType/index.js */ "./node_modules/@mui/system/esm/responsivePropType/responsivePropType.js");
35793/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/@mui/system/esm/breakpoints/breakpoints.js");
35794/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/@mui/system/esm/style/style.js");
35795/* harmony import */ var _merge_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../merge/index.js */ "./node_modules/@mui/system/esm/merge/merge.js");
35796/* harmony import */ var _memoize_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../memoize/index.js */ "./node_modules/@mui/system/esm/memoize/memoize.js");
35797
35798
35799
35800
35801
35802const properties = {
35803  m: 'margin',
35804  p: 'padding'
35805};
35806const directions = {
35807  t: 'Top',
35808  r: 'Right',
35809  b: 'Bottom',
35810  l: 'Left',
35811  x: ['Left', 'Right'],
35812  y: ['Top', 'Bottom']
35813};
35814const aliases = {
35815  marginX: 'mx',
35816  marginY: 'my',
35817  paddingX: 'px',
35818  paddingY: 'py'
35819};
35820
35821// memoize() impact:
35822// From 300,000 ops/sec
35823// To 350,000 ops/sec
35824const getCssProperties = (0,_memoize_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(prop => {
35825  // It's not a shorthand notation.
35826  if (prop.length > 2) {
35827    if (aliases[prop]) {
35828      prop = aliases[prop];
35829    } else {
35830      return [prop];
35831    }
35832  }
35833  const [a, b] = prop.split('');
35834  const property = properties[a];
35835  const direction = directions[b] || '';
35836  return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];
35837});
35838const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd'];
35839const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd'];
35840const spacingKeys = [...marginKeys, ...paddingKeys];
35841function createUnaryUnit(theme, themeKey, defaultValue, propName) {
35842  const themeSpacing = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_2__.getPath)(theme, themeKey, true) ?? defaultValue;
35843  if (typeof themeSpacing === 'number' || typeof themeSpacing === 'string') {
35844    return val => {
35845      if (typeof val === 'string') {
35846        return val;
35847      }
35848      if (true) {
35849        if (typeof val !== 'number') {
35850          console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${val}.`);
35851        }
35852      }
35853      if (typeof themeSpacing === 'string') {
35854        if (themeSpacing.startsWith('var(') && val === 0) {
35855          return 0;
35856        }
35857        if (themeSpacing.startsWith('var(') && val === 1) {
35858          return themeSpacing;
35859        }
35860        return `calc(${val} * ${themeSpacing})`;
35861      }
35862      return themeSpacing * val;
35863    };
35864  }
35865  if (Array.isArray(themeSpacing)) {
35866    return val => {
35867      if (typeof val === 'string') {
35868        return val;
35869      }
35870      const abs = Math.abs(val);
35871      if (true) {
35872        if (!Number.isInteger(abs)) {
35873          console.error([`MUI: The \`theme.${themeKey}\` array type cannot be combined with non integer values.` + `You should either use an integer value that can be used as index, or define the \`theme.${themeKey}\` as a number.`].join('\n'));
35874        } else if (abs > themeSpacing.length - 1) {
35875          console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join('\n'));
35876        }
35877      }
35878      const transformed = themeSpacing[abs];
35879      if (val >= 0) {
35880        return transformed;
35881      }
35882      if (typeof transformed === 'number') {
35883        return -transformed;
35884      }
35885      if (typeof transformed === 'string' && transformed.startsWith('var(')) {
35886        return `calc(-1 * ${transformed})`;
35887      }
35888      return `-${transformed}`;
35889    };
35890  }
35891  if (typeof themeSpacing === 'function') {
35892    return themeSpacing;
35893  }
35894  if (true) {
35895    console.error([`MUI: The \`theme.${themeKey}\` value (${themeSpacing}
35895) is invalid.`, 'It should be a number, an array or a function.'].join('\n'));
35896  }
35897  return () => undefined;
35898}
35899function createUnarySpacing(theme) {
35900  return createUnaryUnit(theme, 'spacing', 8, 'spacing');
35901}
35902function getValue(transformer, propValue) {
35903  if (typeof propValue === 'string' || propValue == null) {
35904    return propValue;
35905  }
35906  return transformer(propValue);
35907}
35908function getStyleFromPropValue(cssProperties, transformer) {
35909  return propValue => cssProperties.reduce((acc, cssProperty) => {
35910    acc[cssProperty] = getValue(transformer, propValue);
35911    return acc;
35912  }, {});
35913}
35914function resolveCssProperty(props, keys, prop, transformer) {
35915  // Using a hash computation over an array iteration could be faster, but with only 28 items,
35916  // it's doesn't worth the bundle size.
35917  if (!keys.includes(prop)) {
35918    return null;
35919  }
35920  const cssProperties = getCssProperties(prop);
35921  const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);
35922  const propValue = props[prop];
35923  return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_1__.handleBreakpoints)(props, propValue, styleFromPropValue);
35924}
35925function style(props, keys) {
35926  const transformer = createUnarySpacing(props.theme);
35927  return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(_merge_index_js__WEBPACK_IMPORTED_MODULE_3__["default"], {});
35928}
35929function margin(props) {
35930  return style(props, marginKeys);
35931}
35932margin.propTypes =  true ? marginKeys.reduce((obj, key) => {
35933  obj[key] = _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__["default"];
35934  return obj;
35935}, {}) : 0;
35936margin.filterProps = marginKeys;
35937function padding(props) {
35938  return style(props, paddingKeys);
35939}
35940padding.propTypes =  true ? paddingKeys.reduce((obj, key) => {
35941  obj[key] = _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__["default"];
35942  return obj;
35943}, {}) : 0;
35944padding.filterProps = paddingKeys;
35945function spacing(props) {
35946  return style(props, spacingKeys);
35947}
35948spacing.propTypes =  true ? spacingKeys.reduce((obj, key) => {
35949  obj[key] = _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__["default"];
35950  return obj;
35951}, {}) : 0;
35952spacing.filterProps = spacingKeys;
35953/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (spacing);
35954
35955/***/ },
35956
35957/***/ "./node_modules/@mui/system/esm/style/style.js"
35958/*!*****************************************************!*\
35959  !*** ./node_modules/@mui/system/esm/style/style.js ***!
35960  \*****************************************************/
35961(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35962
35963"use strict";
35964__webpack_require__.r(__webpack_exports__);
35965/* harmony export */ __webpack_require__.d(__webpack_exports__, {
35966/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
35967/* harmony export */   getPath: () => (/* binding */ getPath),
35968/* harmony export */   getStyleValue: () => (/* binding */ getStyleValue)
35969/* harmony export */ });
35970/* harmony import */ var _mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/capitalize */ "./node_modules/@mui/utils/esm/capitalize/capitalize.js");
35971/* harmony import */ var _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../responsivePropType/index.js */ "./node_modules/@mui/system/esm/responsivePropType/responsivePropType.js");
35972/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/@mui/system/esm/breakpoints/breakpoints.js");
35973
35974
35975
35976function getPath(obj, path, checkVars = true) {
35977  if (!path || typeof path !== 'string') {
35978    return null;
35979  }
35980
35981  // Check if CSS variables are used
35982  if (obj && obj.vars && checkVars) {
35983    const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);
35984    if (val != null) {
35985      return val;
35986    }
35987  }
35988  return path.split('.').reduce((acc, item) => {
35989    if (acc && acc[item] != null) {
35990      return acc[item];
35991    }
35992    return null;
35993  }, obj);
35994}
35995function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {
35996  let value;
35997  if (typeof themeMapping === 'function') {
35998    value = themeMapping(propValueFinal);
35999  } else if (Array.isArray(themeMapping)) {
36000    value = themeMapping[propValueFinal] || userValue;
36001  } else {
36002    value = getPath(themeMapping, propValueFinal) || userValue;
36003  }
36004  if (transform) {
36005    value = transform(value, userValue, themeMapping);
36006  }
36007  return value;
36008}
36009function style(options) {
36010  const {
36011    prop,
36012    cssProperty = options.prop,
36013    themeKey,
36014    transform
36015  } = options;
36016
36017  // false positive
36018  // eslint-disable-next-line react/function-component-definition
36019  const fn = props => {
36020    if (props[prop] == null) {
36021      return null;
36022    }
36023    const propValue = props[prop];
36024    const theme = props.theme;
36025    const themeMapping = getPath(theme, themeKey) || {};
36026    const styleFromPropValue = propValueFinal => {
36027      let value = getStyleValue(themeMapping, transform, propValueFinal);
36028      if (propValueFinal === value && typeof propValueFinal === 'string') {
36029        // Haven't found value
36030        value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : (0,_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__["default"])(propValueFinal)}`, propValueFinal);
36031      }
36032      if (cssProperty === false) {
36033        return value;
36034      }
36035      return {
36036        [cssProperty]: value
36037      };
36038    };
36039    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_2__.handleBreakpoints)(props, propValue, styleFromPropValue);
36040  };
36041  fn.propTypes =  true ? {
36042    [prop]: _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_1__["default"]
36043  } : 0;
36044  fn.filterProps = [prop];
36045  return fn;
36046}
36047/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (style);
36048
36049/***/ },
36050
36051/***/ "./node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js"
36052/*!*************************************************************************!*\
36053  !*** ./node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js ***!
36054  \*************************************************************************/
36055(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36056
36057"use strict";
36058__webpack_require__.r(__webpack_exports__);
36059/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36060/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
36061/* harmony export */ });
36062/* harmony import */ var _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../spacing/index.js */ "./node_modules/@mui/system/esm/spacing/spacing.js");
36063/* harmony import */ var _borders_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../borders/index.js */ "./node_modules/@mui/system/esm/borders/borders.js");
36064/* harmony import */ var _cssGrid_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../cssGrid/index.js */ "./node_modules/@mui/system/esm/cssGrid/cssGrid.js");
36065/* harmony import */ var _palette_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../palette/index.js */ "./node_modules/@mui/system/esm/palette/palette.js");
36066/* harmony import */ var _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sizing/index.js */ "./node_modules/@mui/system/esm/sizing/sizing.js");
36067
36068
36069
36070
36071
36072const defaultSxConfig = {
36073  // borders
36074  border: {
36075    themeKey: 'borders',
36076    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
36077  },
36078  borderTop: {
36079    themeKey: 'borders',
36080    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
36081  },
36082  borderRight: {
36083    themeKey: 'borders',
36084    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
36085  },
36086  borderBottom: {
36087    themeKey: 'borders',
36088    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
36089  },
36090  borderLeft: {
36091    themeKey: 'borders',
36092    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
36093  },
36094  borderColor: {
36095    themeKey: 'palette'
36096  },
36097  borderTopColor: {
36098    themeKey: 'palette'
36099  },
36100  borderRightColor: {
36101    themeKey: 'palette'
36102  },
36103  borderBottomColor: {
36104    themeKey: 'palette'
36105  },
36106  borderLeftColor: {
36107    themeKey: 'palette'
36108  },
36109  outline: {
36110    themeKey: 'borders',
36111    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
36112  },
36113  outlineColor: {
36114    themeKey: 'palette'
36115  },
36116  borderRadius: {
36117    themeKey: 'shape.borderRadius',
36118    style: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderRadius
36119  },
36120  // palette
36121  color: {
36122    themeKey: 'palette',
36123    transform: _palette_index_js__WEBPACK_IMPORTED_MODULE_3__.paletteTransform
36124  },
36125  bgcolor: {
36126    themeKey: 'palette',
36127    cssProperty: 'backgroundColor',
36128    transform: _palette_index_js__WEBPACK_IMPORTED_MODULE_3__.paletteTransform
36129  },
36130  backgroundColor: {
36131    themeKey: 'palette',
36132    transform: _palette_index_js__WEBPACK_IMPORTED_MODULE_3__.paletteTransform
36133  },
36134  // spacing
36135  p: {
36136    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36137  },
36138  pt: {
36139    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36140  },
36141  pr: {
36142    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36143  },
36144  pb: {
36145    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36146  },
36147  pl: {
36148    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36149  },
36150  px: {
36151    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36152  },
36153  py: {
36154    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36155  },
36156  padding: {
36157    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36158  },
36159  paddingTop: {
36160    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36161  },
36162  paddingRight: {
36163    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36164  },
36165  paddingBottom: {
36166    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36167  },
36168  paddingLeft: {
36169    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36170  },
36171  paddingX: {
36172    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36173  },
36174  paddingY: {
36175    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36176  },
36177  paddingInline: {
36178    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36179  },
36180  paddingInlineStart: {
36181    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36182  },
36183  paddingInlineEnd: {
36184    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36185  },
36186  paddingBlock: {
36187    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36188  },
36189  paddingBlockStart: {
36190    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36191  },
36192  paddingBlockEnd: {
36193    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
36194  },
36195  m: {
36196    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36197  },
36198  mt: {
36199    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36200  },
36201  mr: {
36202    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36203  },
36204  mb: {
36205    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36206  },
36207  ml: {
36208    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36209  },
36210  mx: {
36211    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36212  },
36213  my: {
36214    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36215  },
36216  margin: {
36217    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36218  },
36219  marginTop: {
36220    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36221  },
36222  marginRight: {
36223    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36224  },
36225  marginBottom: {
36226    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36227  },
36228  marginLeft: {
36229    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36230  },
36231  marginX: {
36232    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36233  },
36234  marginY: {
36235    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36236  },
36237  marginInline: {
36238    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36239  },
36240  marginInlineStart: {
36241    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36242  },
36243  marginInlineEnd: {
36244    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36245  },
36246  marginBlock: {
36247    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36248  },
36249  marginBlockStart: {
36250    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36251  },
36252  marginBlockEnd: {
36253    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
36254  },
36255  // display
36256  displayPrint: {
36257    cssProperty: false,
36258    transform: value => ({
36259      '@media print': {
36260        display: value
36261      }
36262    })
36263  },
36264  display: {},
36265  overflow: {},
36266  textOverflow: {},
36267  visibility: {},
36268  whiteSpace: {},
36269  // flexbox
36270  flexBasis: {},
36271  flexDirection: {},
36272  flexWrap: {},
36273  justifyContent: {},
36274  alignItems: {},
36275  alignContent: {},
36276  order: {},
36277  flex: {},
36278  flexGrow: {},
36279  flexShrink: {},
36280  alignSelf: {},
36281  justifyItems: {},
36282  justifySelf: {},
36283  // grid
36284  gap: {
36285    style: _cssGrid_index_js__WEBPACK_IMPORTED_MODULE_2__.gap
36286  },
36287  rowGap: {
36288    style: _cssGrid_index_js__WEBPACK_IMPORTED_MODULE_2__.rowGap
36289  },
36290  columnGap: {
36291    style: _cssGrid_index_js__WEBPACK_IMPORTED_MODULE_2__.columnGap
36292  },
36293  gridColumn: {},
36294  gridRow: {},
36295  gridAutoFlow: {},
36296  gridAutoColumns: {},
36297  gridAutoRows: {},
36298  gridTemplateColumns: {},
36299  gridTemplateRows: {},
36300  gridTemplateAreas: {},
36301  gridArea: {},
36302  // positions
36303  position: {},
36304  zIndex: {
36305    themeKey: 'zIndex'
36306  },
36307  top: {},
36308  right: {},
36309  bottom: {},
36310  left: {},
36311  // shadows
36312  boxShadow: {
36313    themeKey: 'shadows'
36314  },
36315  // sizing
36316  width: {
36317    transform: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.sizingTransform
36318  },
36319  maxWidth: {
36320    style: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.maxWidth
36321  },
36322  minWidth: {
36323    transform: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.sizingTransform
36324  },
36325  height: {
36326    transform: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.sizingTransform
36327  },
36328  maxHeight: {
36329    transform: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.sizingTransform
36330  },
36331  minHeight: {
36332    transform: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.sizingTransform
36333  },
36334  boxSizing: {},
36335  // typography
36336  font: {
36337    themeKey: 'font'
36338  },
36339  fontFamily: {
36340    themeKey: 'typography'
36341  },
36342  fontSize: {
36343    themeKey: 'typography'
36344  },
36345  fontStyle: {
36346    themeKey: 'typography'
36347  },
36348  fontWeight: {
36349    themeKey: 'typography'
36350  },
36351  letterSpacing: {},
36352  textTransform: {},
36353  lineHeight: {},
36354  textAlign: {},
36355  typography: {
36356    cssProperty: false,
36357    themeKey: 'typography'
36358  }
36359};
36360/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultSxConfig);
36361
36362/***/ },
36363
36364/***/ "./node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js"
36365/*!**********************************************************************!*\
36366  !*** ./node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js ***!
36367  \**********************************************************************/
36368(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36369
36370"use strict";
36371__webpack_require__.r(__webpack_exports__);
36372/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36373/* harmony export */   "default": () => (/* binding */ extendSxProp)
36374/* harmony export */ });
36375/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
36376/* harmony import */ var _defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultSxConfig.js */ "./node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js");
36377
36378
36379const splitProps = props => {
36380  const result = {
36381    systemProps: {},
36382    otherProps: {}
36383  };
36384  const config = props?.theme?.unstable_sxConfig ?? _defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_1__["default"];
36385  Object.keys(props).forEach(prop => {
36386    if (config[prop]) {
36387      result.systemProps[prop] = props[prop];
36388    } else {
36389      result.otherProps[prop] = props[prop];
36390    }
36391  });
36392  return result;
36393};
36394function extendSxProp(props) {
36395  const {
36396    sx: inSx,
36397    ...other
36398  } = props;
36399  const {
36400    systemProps,
36401    otherProps
36402  } = splitProps(other);
36403  let finalSx;
36404  if (Array.isArray(inSx)) {
36405    finalSx = [systemProps, ...inSx];
36406  } else if (typeof inSx === 'function') {
36407    finalSx = (...args) => {
36408      const result = inSx(...args);
36409      if (!(0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(result)) {
36410        return systemProps;
36411      }
36412      return {
36413        ...systemProps,
36414        ...result
36415      };
36416    };
36417  } else {
36418    finalSx = {
36419      ...systemProps,
36420      ...inSx
36421    };
36422  }
36423  return {
36424    ...otherProps,
36425    sx: finalSx
36426  };
36427}
36428
36429/***/ },
36430
36431/***/ "./node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js"
36432/*!*************************************************************************!*\
36433  !*** ./node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js ***!
36434  \*************************************************************************/
36435(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36436
36437"use strict";
36438__webpack_require__.r(__webpack_exports__);
36439/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36440/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
36441/* harmony export */   unstable_createStyleFunctionSx: () => (/* binding */ unstable_createStyleFunctionSx)
36442/* harmony export */ });
36443/* harmony import */ var _mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/capitalize */ "./node_modules/@mui/utils/esm/capitalize/capitalize.js");
36444/* harmony import */ var _merge_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../merge/index.js */ "./node_modules/@mui/system/esm/merge/merge.js");
36445/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/@mui/system/esm/style/style.js");
36446/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/@mui/system/esm/breakpoints/breakpoints.js");
36447/* harmony import */ var _cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../cssContainerQueries/index.js */ "./node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js");
36448/* harmony import */ var _defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./defaultSxConfig.js */ "./node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js");
36449
36450
36451
36452
36453
36454
36455function objectsHaveSameKeys(...objects) {
36456  const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);
36457  const union = new Set(allKeys);
36458  return objects.every(object => union.size === Object.keys(object).length);
36459}
36460function callIfFn(maybeFn, arg) {
36461  return typeof maybeFn === 'function' ? maybeFn(arg) : maybeFn;
36462}
36463
36464// eslint-disable-next-line @typescript-eslint/naming-convention
36465function unstable_createStyleFunctionSx() {
36466  function getThemeValue(prop, val, theme, config) {
36467    const props = {
36468      [prop]: val,
36469      theme
36470    };
36471    const options = config[prop];
36472    if (!options) {
36473      return {
36474        [prop]: val
36475      };
36476    }
36477    const {
36478      cssProperty = prop,
36479      themeKey,
36480      transform,
36481      style
36482    } = options;
36483    if (val == null) {
36484      return null;
36485    }
36486
36487    // TODO v6: remove, see https://github.com/mui/material-ui/pull/38123
36488    if (themeKey === 'typography' && val === 'inherit') {
36489      return {
36490        [prop]: val
36491      };
36492    }
36493    const themeMapping = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_2__.getPath)(theme, themeKey) || {};
36494    if (style) {
36495      return style(props);
36496    }
36497    const styleFromPropValue = propValueFinal => {
36498      let value = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_2__.getStyleValue)(themeMapping, transform, propValueFinal);
36499      if (propValueFinal === value && typeof propValueFinal === 'string') {
36500        // Haven't found value
36501        value = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_2__.getStyleValue)(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : (0,_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__["default"])(propValueFinal)}`, propValueFinal);
36502      }
36503      if (cssProperty === false) {
36504        return value;
36505      }
36506      return {
36507        [cssProperty]: value
36508      };
36509    };
36510    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.handleBreakpoints)(props, val, styleFromPropValue);
36511  }
36512  function styleFunctionSx(props) {
36513    const {
36514      sx,
36515      theme = {},
36516      nested
36517    } = props || {};
36518    if (!sx) {
36519      return null; // Emotion & styled-components will neglect null
36520    }
36521    const config = theme.unstable_sxConfig ?? _defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_5__["default"];
36522
36523    /*
36524     * Receive `sxInput` as object or callback
36525     * and then recursively check keys & values to create media query object styles.
36526     * (the result will be used in `styled`)
36527     */
36528    function traverse(sxInput) {
36529      let sxObject = sxInput;
36530      if (typeof sxInput === 'function') {
36531        sxObject = sxInput(theme);
36532      } else if (typeof sxInput !== 'object') {
36533        // value
36534        return sxInput;
36535      }
36536      if (!sxObject) {
36537        return null;
36538      }
36539      const emptyBreakpoints = (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.createEmptyBreakpointObject)(theme.breakpoints);
36540      const breakpointsKeys = Object.keys(emptyBreakpoints);
36541      let css = emptyBreakpoints;
36542      Object.keys(sxObject).forEach(styleKey => {
36543        const value = callIfFn(sxObject[styleKey], theme);
36544        if (value !== null && value !== undefined) {
36545          if (typeof value === 'object') {
36546            if (config[styleKey]) {
36547              css = (0,_merge_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(css, getThemeValue(styleKey, value, theme, config));
36548            } else {
36549              const breakpointsValues = (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.handleBreakpoints)({
36550                theme
36551              }, value, x => ({
36552                [styleKey]: x
36553              }));
36554              if (objectsHaveSameKeys(breakpointsValues, value)) {
36555                css[styleKey] = styleFunctionSx({
36556                  sx: value,
36557                  theme,
36558                  nested: true
36559                });
36560              } else {
36561                css = (0,_merge_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(css, breakpointsValues);
36562              }
36563            }
36564          } else {
36565            css = (0,_merge_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(css, getThemeValue(styleKey, value, theme, config));
36566          }
36567        }
36568      });
36569      if (!nested && theme.modularCssLayers) {
36570        return {
36571          '@layer sx': (0,_cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_4__.sortContainerQueries)(theme, (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.removeUnusedBreakpoints)(breakpointsKeys, css))
36572        };
36573      }
36574      return (0,_cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_4__.sortContainerQueries)(theme, (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.removeUnusedBreakpoints)(breakpointsKeys, css));
36575    }
36576    return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
36577  }
36578  return styleFunctionSx;
36579}
36580const styleFunctionSx = unstable_createStyleFunctionSx();
36581styleFunctionSx.filterProps = ['sx'];
36582/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (styleFunctionSx);
36583
36584/***/ },
36585
36586/***/ "./node_modules/@mui/system/esm/useTheme/useTheme.js"
36587/*!***********************************************************!*\
36588  !*** ./node_modules/@mui/system/esm/useTheme/useTheme.js ***!
36589  \***********************************************************/
36590(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36591
36592"use strict";
36593__webpack_require__.r(__webpack_exports__);
36594/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36595/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
36596/* harmony export */   systemDefaultTheme: () => (/* binding */ systemDefaultTheme)
36597/* harmony export */ });
36598/* harmony import */ var _createTheme_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createTheme/index.js */ "./node_modules/@mui/system/esm/createTheme/createTheme.js");
36599/* harmony import */ var _useThemeWithoutDefault_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../useThemeWithoutDefault/index.js */ "./node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js");
36600'use client';
36601
36602
36603
36604const systemDefaultTheme = (0,_createTheme_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])();
36605function useTheme(defaultTheme = systemDefaultTheme) {
36606  return (0,_useThemeWithoutDefault_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(defaultTheme);
36607}
36608/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useTheme);
36609
36610/***/ },
36611
36612/***/ "./node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js"
36613/*!***************************************************************************************!*\
36614  !*** ./node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js ***!
36615  \***************************************************************************************/
36616(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36617
36618"use strict";
36619__webpack_require__.r(__webpack_exports__);
36620/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36621/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
36622/* harmony export */ });
36623/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
36624/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/styled-engine */ "./node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
36625'use client';
36626
36627
36628
36629function isObjectEmpty(obj) {
36630  return Object.keys(obj).length === 0;
36631}
36632function useTheme(defaultTheme = null) {
36633  const contextTheme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__.T);
36634  return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;
36635}
36636/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useTheme);
36637
36638/***/ },
36639
36640/***/ "./node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js"
36641/*!******************************************************************************!*\
36642  !*** ./node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js ***!
36643  \******************************************************************************/
36644(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36645
36646"use strict";
36647__webpack_require__.r(__webpack_exports__);
36648/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36649/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
36650/* harmony export */ });
36651const defaultGenerator = componentName => componentName;
36652const createClassNameGenerator = () => {
36653  let generate = defaultGenerator;
36654  return {
36655    configure(generator) {
36656      generate = generator;
36657    },
36658    generate(componentName) {
36659      return generate(componentName);
36660    },
36661    reset() {
36662      generate = defaultGenerator;
36663    }
36664  };
36665};
36666const ClassNameGenerator = createClassNameGenerator();
36667/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ClassNameGenerator);
36668
36669/***/ },
36670
36671/***/ "./node_modules/@mui/utils/esm/capitalize/capitalize.js"
36672/*!**************************************************************!*\
36673  !*** ./node_modules/@mui/utils/esm/capitalize/capitalize.js ***!
36674  \**************************************************************/
36675(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36676
36677"use strict";
36678__webpack_require__.r(__webpack_exports__);
36679/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36680/* harmony export */   "default": () => (/* binding */ capitalize)
36681/* harmony export */ });
36682
36683// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
36684//
36685// A strict capitalization should uppercase the first letter of each word in the sentence.
36686// We only handle the first word.
36687function capitalize(string) {
36688  if (typeof string !== 'string') {
36689    throw new Error( true ? 'MUI: `capitalize(string)` expects a string argument.' : 0);
36690  }
36691  return string.charAt(0).toUpperCase() + string.slice(1);
36692}
36693
36694/***/ },
36695
36696/***/ "./node_modules/@mui/utils/esm/clamp/clamp.js"
36697/*!****************************************************!*\
36698  !*** ./node_modules/@mui/utils/esm/clamp/clamp.js ***!
36699  \****************************************************/
36700(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36701
36702"use strict";
36703__webpack_require__.r(__webpack_exports__);
36704/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36705/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
36706/* harmony export */ });
36707function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {
36708  return Math.max(min, Math.min(val, max));
36709}
36710/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clamp);
36711
36712/***/ },
36713
36714/***/ "./node_modules/@mui/utils/esm/deepmerge/deepmerge.js"
36715/*!************************************************************!*\
36716  !*** ./node_modules/@mui/utils/esm/deepmerge/deepmerge.js ***!
36717  \************************************************************/
36718(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36719
36720"use strict";
36721__webpack_require__.r(__webpack_exports__);
36722/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36723/* harmony export */   "default": () => (/* binding */ deepmerge),
36724/* harmony export */   isPlainObject: () => (/* binding */ isPlainObject)
36725/* harmony export */ });
36726/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
36727/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js");
36728
36729
36730
36731// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js
36732function isPlainObject(item) {
36733  if (typeof item !== 'object' || item === null) {
36734    return false;
36735  }
36736  const prototype = Object.getPrototypeOf(item);
36737  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
36738}
36739function deepClone(source) {
36740  if (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(source) || (0,react_is__WEBPACK_IMPORTED_MODULE_1__.isValidElementType)(source) || !isPlainObject(source)) {
36741    return source;
36742  }
36743  const output = {};
36744  Object.keys(source).forEach(key => {
36745    output[key] = deepClone(source[key]);
36746  });
36747  return output;
36748}
36749
36750/**
36751 * Merge objects deeply.
36752 * It will shallow copy React elements.
36753 *
36754 * If `options.clone` is set to `false` the source object will be merged directly into the target object.
36755 *
36756 * @example
36757 * ```ts
36758 * deepmerge({ a: { b: 1 }, d: 2 }, { a: { c: 2 }, d: 4 });
36759 * // => { a: { b: 1, c: 2 }, d: 4 }
36760 * ````
36761 *
36762 * @param target The target object.
36763 * @param source The source object.
36764 * @param options The merge options.
36765 * @param options.clone Set to `false` to merge the source object directly into the target object.
36766 * @returns The merged object.
36767 */
36768function deepmerge(target, source, options = {
36769  clone: true
36770}) {
36771  const output = options.clone ? {
36772    ...target
36773  } : target;
36774  if (isPlainObject(target) && isPlainObject(source)) {
36775    Object.keys(source).forEach(key => {
36776      if (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(source[key]) || (0,react_is__WEBPACK_IMPORTED_MODULE_1__.isValidElementType)(source[key])) {
36777        output[key] = source[key];
36778      } else if (isPlainObject(source[key]) &&
36779      // Avoid prototype pollution
36780      Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
36781        // Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.
36782        output[key] = deepmerge(target[key], source[key], options);
36783      } else if (options.clone) {
36784        output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
36785      } else {
36786        output[key] = source[key];
36787      }
36788    });
36789  }
36790  return output;
36791}
36792
36793/***/ },
36794
36795/***/ "./node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js"
36796/*!**********************************************************************************!*\
36797  !*** ./node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js ***!
36798  \**********************************************************************************/
36799(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36800
36801"use strict";
36802__webpack_require__.r(__webpack_exports__);
36803/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36804/* harmony export */   "default": () => (/* binding */ generateUtilityClass),
36805/* harmony export */   globalStateClasses: () => (/* binding */ globalStateClasses),
36806/* harmony export */   isGlobalState: () => (/* binding */ isGlobalState)
36807/* harmony export */ });
36808/* harmony import */ var _ClassNameGenerator_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ClassNameGenerator/index.js */ "./node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js");
36809
36810const globalStateClasses = {
36811  active: 'active',
36812  checked: 'checked',
36813  completed: 'completed',
36814  disabled: 'disabled',
36815  error: 'error',
36816  expanded: 'expanded',
36817  focused: 'focused',
36818  focusVisible: 'focusVisible',
36819  open: 'open',
36820  readOnly: 'readOnly',
36821  required: 'required',
36822  selected: 'selected'
36823};
36824function generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {
36825  const globalStateClass = globalStateClasses[slot];
36826  return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${_ClassNameGenerator_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].generate(componentName)}-${slot}`;
36827}
36828function isGlobalState(slot) {
36829  return globalStateClasses[slot] !== undefined;
36830}
36831
36832/***/ },
36833
36834/***/ "./node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js"
36835/*!**************************************************************************************!*\
36836  !*** ./node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js ***!
36837  \**************************************************************************************/
36838(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36839
36840"use strict";
36841__webpack_require__.r(__webpack_exports__);
36842/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36843/* harmony export */   "default": () => (/* binding */ generateUtilityClasses)
36844/* harmony export */ });
36845/* harmony import */ var _generateUtilityClass_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../generateUtilityClass/index.js */ "./node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
36846
36847function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui') {
36848  const result = {};
36849  slots.forEach(slot => {
36850    result[slot] = (0,_generateUtilityClass_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(componentName, slot, globalStatePrefix);
36851  });
36852  return result;
36853}
36854
36855/***/ },
36856
36857/***/ "./node_modules/clsx/dist/clsx.mjs"
36858/*!*****************************************!*\
36859  !*** ./node_modules/clsx/dist/clsx.mjs ***!
36860  \*****************************************/
36861(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36862
36863"use strict";
36864__webpack_require__.r(__webpack_exports__);
36865/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36866/* harmony export */   clsx: () => (/* binding */ clsx),
36867/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
36868/* harmony export */ });
36869function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clsx);
36870
36871/***/ },
36872
36873/***/ "./node_modules/date-fns/_lib/defaultOptions.js"
36874/*!******************************************************!*\
36875  !*** ./node_modules/date-fns/_lib/defaultOptions.js ***!
36876  \******************************************************/
36877(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36878
36879"use strict";
36880__webpack_require__.r(__webpack_exports__);
36881/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36882/* harmony export */   getDefaultOptions: () => (/* binding */ getDefaultOptions),
36883/* harmony export */   setDefaultOptions: () => (/* binding */ setDefaultOptions)
36884/* harmony export */ });
36885let defaultOptions = {};
36886
36887function getDefaultOptions() {
36888  return defaultOptions;
36889}
36890
36891function setDefaultOptions(newOptions) {
36892  defaultOptions = newOptions;
36893}
36894
36895
36896/***/ },
36897
36898/***/ "./node_modules/date-fns/_lib/format/longFormatters.js"
36899/*!*************************************************************!*\
36900  !*** ./node_modules/date-fns/_lib/format/longFormatters.js ***!
36901  \*************************************************************/
36902(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36903
36904"use strict";
36905__webpack_require__.r(__webpack_exports__);
36906/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36907/* harmony export */   longFormatters: () => (/* binding */ longFormatters)
36908/* harmony export */ });
36909const dateLongFormatter = (pattern, formatLong) => {
36910  switch (pattern) {
36911    case "P":
36912      return formatLong.date({ width: "short" });
36913    case "PP":
36914      return formatLong.date({ width: "medium" });
36915    case "PPP":
36916      return formatLong.date({ width: "long" });
36917    case "PPPP":
36918    default:
36919      return formatLong.date({ width: "full" });
36920  }
36921};
36922
36923const timeLongFormatter = (pattern, formatLong) => {
36924  switch (pattern) {
36925    case "p":
36926      return formatLong.time({ width: "short" });
36927    case "pp":
36928      return formatLong.time({ width: "medium" });
36929    case "ppp":
36930      return formatLong.time({ width: "long" });
36931    case "pppp":
36932    default:
36933      return formatLong.time({ width: "full" });
36934  }
36935};
36936
36937const dateTimeLongFormatter = (pattern, formatLong) => {
36938  const matchResult = pattern.match(/(P+)(p+)?/) || [];
36939  const datePattern = matchResult[1];
36940  const timePattern = matchResult[2];
36941
36942  if (!timePattern) {
36943    return dateLongFormatter(pattern, formatLong);
36944  }
36945
36946  let dateTimeFormat;
36947
36948  switch (datePattern) {
36949    case "P":
36950      dateTimeFormat = formatLong.dateTime({ width: "short" });
36951      break;
36952    case "PP":
36953      dateTimeFormat = formatLong.dateTime({ width: "medium" });
36954      break;
36955    case "PPP":
36956      dateTimeFormat = formatLong.dateTime({ width: "long" });
36957      break;
36958    case "PPPP":
36959    default:
36960      dateTimeFormat = formatLong.dateTime({ width: "full" });
36961      break;
36962  }
36963
36964  return dateTimeFormat
36965    .replace("{{date}}", dateLongFormatter(datePattern, formatLong))
36966    .replace("{{time}}", timeLongFormatter(timePattern, formatLong));
36967};
36968
36969const longFormatters = {
36970  p: timeLongFormatter,
36971  P: dateTimeLongFormatter,
36972};
36973
36974
36975/***/ },
36976
36977/***/ "./node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js"
36978/*!***********************************************************************!*\
36979  !*** ./node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js ***!
36980  \***********************************************************************/
36981(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36982
36983"use strict";
36984__webpack_require__.r(__webpack_exports__);
36985/* harmony export */ __webpack_require__.d(__webpack_exports__, {
36986/* harmony export */   getTimezoneOffsetInMilliseconds: () => (/* binding */ getTimezoneOffsetInMilliseconds)
36987/* harmony export */ });
36988/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../toDate.js */ "./node_modules/date-fns/toDate.js");
36989
36990
36991/**
36992 * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.
36993 * They usually appear for dates that denote time before the timezones were introduced
36994 * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891
36995 * and GMT+01:00:00 after that date)
36996 *
36997 * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,
36998 * which would lead to incorrect calculations.
36999 *
37000 * This function returns the timezone offset in milliseconds that takes seconds in account.
37001 */
37002function getTimezoneOffsetInMilliseconds(date) {
37003  const _date = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_0__.toDate)(date);
37004  const utcDate = new Date(
37005    Date.UTC(
37006      _date.getFullYear(),
37007      _date.getMonth(),
37008      _date.getDate(),
37009      _date.getHours(),
37010      _date.getMinutes(),
37011      _date.getSeconds(),
37012      _date.getMilliseconds(),
37013    ),
37014  );
37015  utcDate.setUTCFullYear(_date.getFullYear());
37016  return +date - +utcDate;
37017}
37018
37019
37020/***/ },
37021
37022/***/ "./node_modules/date-fns/_lib/protectedTokens.js"
37023/*!*******************************************************!*\
37024  !*** ./node_modules/date-fns/_lib/protectedTokens.js ***!
37025  \*******************************************************/
37026(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37027
37028"use strict";
37029__webpack_require__.r(__webpack_exports__);
37030/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37031/* harmony export */   isProtectedDayOfYearToken: () => (/* binding */ isProtectedDayOfYearToken),
37032/* harmony export */   isProtectedWeekYearToken: () => (/* binding */ isProtectedWeekYearToken),
37033/* harmony export */   warnOrThrowProtectedError: () => (/* binding */ warnOrThrowProtectedError)
37034/* harmony export */ });
37035const dayOfYearTokenRE = /^D+$/;
37036const weekYearTokenRE = /^Y+$/;
37037
37038const throwTokens = ["D", "DD", "YY", "YYYY"];
37039
37040function isProtectedDayOfYearToken(token) {
37041  return dayOfYearTokenRE.test(token);
37042}
37043
37044function isProtectedWeekYearToken(token) {
37045  return weekYearTokenRE.test(token);
37046}
37047
37048function warnOrThrowProtectedError(token, format, input) {
37049  const _message = message(token, format, input);
37050  console.warn(_message);
37051  if (throwTokens.includes(token)) throw new RangeError(_message);
37052}
37053
37054function message(token, format, input) {
37055  const subject = token[0] === "Y" ? "years" : "days of the month";
37056  return `Use \`${token.toLowerCase()}\` instead of \`${token}\` (in \`${format}\`) for formatting ${subject} to the input \`${input}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
37057}
37058
37059
37060/***/ },
37061
37062/***/ "./node_modules/date-fns/addDays.js"
37063/*!******************************************!*\
37064  !*** ./node_modules/date-fns/addDays.js ***!
37065  \******************************************/
37066(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37067
37068"use strict";
37069__webpack_require__.r(__webpack_exports__);
37070/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37071/* harmony export */   addDays: () => (/* binding */ addDays)
37072/* harmony export */ });
37073/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
37074/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
37075
37076
37077
37078/**
37079 * The {@link addDays} function options.
37080 */
37081
37082/**
37083 * @name addDays
37084 * @category Day Helpers
37085 * @summary Add the specified number of days to the given date.
37086 *
37087 * @description
37088 * Add the specified number of days to the given date.
37089 *
37090 * **You don't need date-fns\***:
37091 *
37092 * Temporal has a built-in `add` method on all its classes:
37093 *
37094 * - [`Temporal.Instant.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/Instant/add)
37095 * - [`Temporal.PlainDate.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/PlainDate/add)
37096 * - [`Temporal.PlainDateTime.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/PlainDateTime/add)
37097 * - [`Temporal.PlainTime.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/PlainTime/add)
37098 * - [`Temporal.PlainYearMonth.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/PlainYearMonth/add)
37099 * - [`Temporal.ZonedDateTime.prototype.add()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/ZonedDateTime/add)
37100 *
37101 * \* **Not really**, see: https://date-fns.org/you-dont-need-date-fns
37102 *
37103 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
37104 * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
37105 *
37106 * @param date - The date to be changed
37107 * @param amount - The amount of days to be added.
37108 * @param options - An object with options
37109 *
37110 * @returns The new date with the days added
37111 *
37112 * @example
37113 * // Add 10 days to 1 September 2014:
37114 * const result = addDays(new Date(2014, 8, 1), 10)
37115 * //=> Thu Sep 11 2014 00:00:00
37116 *
37117 * @example
37118 * // Using Temporal:
37119 * // Add 10 days to 1 September 2014:
37120 * Temporal.PlainDate.from("2014-09-01").add({ days: 10 }).toString();
37121 * //=> "2014-09-11"
37122 */
37123function addDays(date, amount, options) {
37124  const _date = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_1__.toDate)(date, options?.in);
37125  if (isNaN(amount)) return (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(options?.in || date, NaN);
37126
37127  // If 0 days, no-op to avoid changing times in the hour before end of DST
37128  if (!amount) return _date;
37129
37130  _date.setDate(_date.getDate() + amount);
37131  return _date;
37132}
37133
37134
37135/***/ },
37136
37137/***/ "./node_modules/date-fns/constants.js"
37138/*!********************************************!*\
37139  !*** ./node_modules/date-fns/constants.js ***!
37140  \********************************************/
37141(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37142
37143"use strict";
37144__webpack_require__.r(__webpack_exports__);
37145/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37146/* harmony export */   constructFromSymbol: () => (/* binding */ constructFromSymbol),
37147/* harmony export */   daysInWeek: () => (/* binding */ daysInWeek),
37148/* harmony export */   daysInYear: () => (/* binding */ daysInYear),
37149/* harmony export */   maxTime: () => (/* binding */ maxTime),
37150/* harmony export */   millisecondsInDay: () => (/* binding */ millisecondsInDay),
37151/* harmony export */   millisecondsInHour: () => (/* binding */ millisecondsInHour),
37152/* harmony export */   millisecondsInMinute: () => (/* binding */ millisecondsInMinute),
37153/* harmony export */   millisecondsInSecond: () => (/* binding */ millisecondsInSecond),
37154/* harmony export */   millisecondsInWeek: () => (/* binding */ millisecondsInWeek),
37155/* harmony export */   minTime: () => (/* binding */ minTime),
37156/* harmony export */   minutesInDay: () => (/* binding */ minutesInDay),
37157/* harmony export */   minutesInHour: () => (/* binding */ minutesInHour),
37158/* harmony export */   minutesInMonth: () => (/* binding */ minutesInMonth),
37159/* harmony export */   minutesInYear: () => (/* binding */ minutesInYear),
37160/* harmony export */   monthsInQuarter: () => (/* binding */ monthsInQuarter),
37161/* harmony export */   monthsInYear: () => (/* binding */ monthsInYear),
37162/* harmony export */   quartersInYear: () => (/* binding */ quartersInYear),
37163/* harmony export */   secondsInDay: () => (/* binding */ secondsInDay),
37164/* harmony export */   secondsInHour: () => (/* binding */ secondsInHour),
37165/* harmony export */   secondsInMinute: () => (/* binding */ secondsInMinute),
37166/* harmony export */   secondsInMonth: () => (/* binding */ secondsInMonth),
37167/* harmony export */   secondsInQuarter: () => (/* binding */ secondsInQuarter),
37168/* harmony export */   secondsInWeek: () => (/* binding */ secondsInWeek),
37169/* harmony export */   secondsInYear: () => (/* binding */ secondsInYear)
37170/* harmony export */ });
37171/**
37172 * @module constants
37173 * @summary Useful constants
37174 * @description
37175 * Collection of useful date constants.
37176 *
37177 * The constants could be imported from `date-fns/constants`:
37178 *
37179 * ```ts
37180 * import { maxTime, minTime } from "./constants/date-fns/constants";
37181 *
37182 * function isAllowedTime(time) {
37183 *   return time <= maxTime && time >= minTime;
37184 * }
37185 * ```
37186 */
37187
37188/**
37189 * @constant
37190 * @name daysInWeek
37191 * @summary Days in 1 week.
37192 */
37193const daysInWeek = 7;
37194
37195/**
37196 * @constant
37197 * @name daysInYear
37198 * @summary Days in 1 year.
37199 *
37200 * @description
37201 * How many days in a year.
37202 *
37203 * One years equals 365.2425 days according to the formula:
37204 *
37205 * > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.
37206 * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days
37207 */
37208const daysInYear = 365.2425;
37209
37210/**
37211 * @constant
37212 * @name maxTime
37213 * @summary Maximum allowed time.
37214 *
37215 * @example
37216 * import { maxTime } from "./constants/date-fns/constants";
37217 *
37218 * const isValid = 8640000000000001 <= maxTime;
37219 * //=> false
37220 *
37221 * new Date(8640000000000001);
37222 * //=> Invalid Date
37223 */
37224const maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;
37225
37226/**
37227 * @constant
37228 * @name minTime
37229 * @summary Minimum allowed time.
37230 *
37231 * @example
37232 * import { minTime } from "./constants/date-fns/constants";
37233 *
37234 * const isValid = -8640000000000001 >= minTime;
37235 * //=> false
37236 *
37237 * new Date(-8640000000000001)
37238 * //=> Invalid Date
37239 */
37240const minTime = -maxTime;
37241
37242/**
37243 * @constant
37244 * @name millisecondsInWeek
37245 * @summary Milliseconds in 1 week.
37246 */
37247const millisecondsInWeek = 604800000;
37248
37249/**
37250 * @constant
37251 * @name millisecondsInDay
37252 * @summary Milliseconds in 1 day.
37253 */
37254const millisecondsInDay = 86400000;
37255
37256/**
37257 * @constant
37258 * @name millisecondsInMinute
37259 * @summary Milliseconds in 1 minute
37260 */
37261const millisecondsInMinute = 60000;
37262
37263/**
37264 * @constant
37265 * @name millisecondsInHour
37266 * @summary Milliseconds in 1 hour
37267 */
37268const millisecondsInHour = 3600000;
37269
37270/**
37271 * @constant
37272 * @name millisecondsInSecond
37273 * @summary Milliseconds in 1 second
37274 */
37275const millisecondsInSecond = 1000;
37276
37277/**
37278 * @constant
37279 * @name minutesInYear
37280 * @summary Minutes in 1 year.
37281 */
37282const minutesInYear = 525600;
37283
37284/**
37285 * @constant
37286 * @name minutesInMonth
37287 * @summary Minutes in 1 month.
37288 */
37289const minutesInMonth = 43200;
37290
37291/**
37292 * @constant
37293 * @name minutesInDay
37294 * @summary Minutes in 1 day.
37295 */
37296const minutesInDay = 1440;
37297
37298/**
37299 * @constant
37300 * @name minutesInHour
37301 * @summary Minutes in 1 hour.
37302 */
37303const minutesInHour = 60;
37304
37305/**
37306 * @constant
37307 * @name monthsInQuarter
37308 * @summary Months in 1 quarter.
37309 */
37310const monthsInQuarter = 3;
37311
37312/**
37313 * @constant
37314 * @name monthsInYear
37315 * @summary Months in 1 year.
37316 */
37317const monthsInYear = 12;
37318
37319/**
37320 * @constant
37321 * @name quartersInYear
37322 * @summary Quarters in 1 year
37323 */
37324const quartersInYear = 4;
37325
37326/**
37327 * @constant
37328 * @name secondsInHour
37329 * @summary Seconds in 1 hour.
37330 */
37331const secondsInHour = 3600;
37332
37333/**
37334 * @constant
37335 * @name secondsInMinute
37336 * @summary Seconds in 1 minute.
37337 */
37338const secondsInMinute = 60;
37339
37340/**
37341 * @constant
37342 * @name secondsInDay
37343 * @summary Seconds in 1 day.
37344 */
37345const secondsInDay = secondsInHour * 24;
37346
37347/**
37348 * @constant
37349 * @name secondsInWeek
37350 * @summary Seconds in 1 week.
37351 */
37352const secondsInWeek = secondsInDay * 7;
37353
37354/**
37355 * @constant
37356 * @name secondsInYear
37357 * @summary Seconds in 1 year.
37358 */
37359const secondsInYear = secondsInDay * daysInYear;
37360
37361/**
37362 * @constant
37363 * @name secondsInMonth
37364 * @summary Seconds in 1 month
37365 */
37366const secondsInMonth = secondsInYear / 12;
37367
37368/**
37369 * @constant
37370 * @name secondsInQuarter
37371 * @summary Seconds in 1 quarter.
37372 */
37373const secondsInQuarter = secondsInMonth * 3;
37374
37375/**
37376 * @constant
37377 * @name constructFromSymbol
37378 * @summary Symbol enabling Date extensions to inherit properties from the reference date.
37379 *
37380 * The symbol is used to enable the `constructFrom` function to construct a date
37381 * using a reference date and a value. It allows to transfer extra properties
37382 * from the reference date to the new date. It's useful for extensions like
37383 * [`TZDate`](https://github.com/date-fns/tz) that accept a time zone as
37384 * a constructor argument.
37385 */
37386const constructFromSymbol = Symbol.for("constructDateFrom");
37387
37388
37389/***/ },
37390
37391/***/ "./node_modules/date-fns/constructFrom.js"
37392/*!************************************************!*\
37393  !*** ./node_modules/date-fns/constructFrom.js ***!
37394  \************************************************/
37395(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37396
37397"use strict";
37398__webpack_require__.r(__webpack_exports__);
37399/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37400/* harmony export */   constructFrom: () => (/* binding */ constructFrom)
37401/* harmony export */ });
37402/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants.js */ "./node_modules/date-fns/constants.js");
37403
37404
37405/**
37406 * @name constructFrom
37407 * @category Generic Helpers
37408 * @summary Constructs a date using the reference date and the value
37409 *
37410 * @description
37411 * The function constructs a new date using the constructor from the reference
37412 * date and the given value. It helps to build generic functions that accept
37413 * date extensions.
37414 *
37415 * It defaults to `Date` if the passed reference date is a number or a string.
37416 *
37417 * Starting from v3.7.0, it allows to construct a date using `[Symbol.for("constructDateFrom")]`
37418 * enabling to transfer extra properties from the reference date to the new date.
37419 * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)
37420 * that accept a time zone as a constructor argument.
37421 *
37422 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
37423 *
37424 * @param date - The reference date to take constructor from
37425 * @param value - The value to create the date
37426 *
37427 * @returns Date initialized using the given date and value
37428 *
37429 * @example
37430 * import { constructFrom } from "./constructFrom/date-fns";
37431 *
37432 * // A function that clones a date preserving the original type
37433 * function cloneDate<DateType extends Date>(date: DateType): DateType {
37434 *   return constructFrom(
37435 *     date, // Use constructor from the given date
37436 *     date.getTime() // Use the date value to create a new date
37437 *   );
37438 * }
37439 */
37440function constructFrom(date, value) {
37441  if (typeof date === "function") return date(value);
37442
37443  if (date && typeof date === "object" && _constants_js__WEBPACK_IMPORTED_MODULE_0__.constructFromSymbol in date)
37444    return date[_constants_js__WEBPACK_IMPORTED_MODULE_0__.constructFromSymbol](value);
37445
37446  if (date instanceof Date) return new date.constructor(value);
37447
37448  return new Date(value);
37449}
37450
37451
37452/***/ },
37453
37454/***/ "./node_modules/date-fns/endOfDay.js"
37455/*!*******************************************!*\
37456  !*** ./node_modules/date-fns/endOfDay.js ***!
37457  \*******************************************/
37458(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37459
37460"use strict";
37461__webpack_require__.r(__webpack_exports__);
37462/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37463/* harmony export */   endOfDay: () => (/* binding */ endOfDay)
37464/* harmony export */ });
37465/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
37466
37467
37468/**
37469 * The {@link endOfDay}
vendor: 11,013 bytes, lines 37469-37770
37469 function options.
37470 */
37471
37472/**
37473 * @name endOfDay
37474 * @category Day Helpers
37475 * @summary Return the end of a day for the given date.
37476 *
37477 * @description
37478 * Return the end of a day for the given date.
37479 * The result will be in the local timezone.
37480 *
37481 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
37482 * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
37483 *
37484 * @param date - The original date
37485 * @param options - An object with options
37486 *
37487 * @returns The end of a day
37488 *
37489 * @example
37490 * // The end of a day for 2 September 2014 11:55:00:
37491 * const result = endOfDay(new Date(2014, 8, 2, 11, 55, 0))
37492 * //=> Tue Sep 02 2014 23:59:59.999
37493 */
37494function endOfDay(date, options) {
37495  const _date = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_0__.toDate)(date, options?.in);
37496  _date.setHours(23, 59, 59, 999);
37497  return _date;
37498}
37499
37500
37501/***/ },
37502
37503/***/ "./node_modules/date-fns/getDefaultOptions.js"
37504/*!****************************************************!*\
37505  !*** ./node_modules/date-fns/getDefaultOptions.js ***!
37506  \****************************************************/
37507(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37508
37509"use strict";
37510__webpack_require__.r(__webpack_exports__);
37511/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37512/* harmony export */   getDefaultOptions: () => (/* binding */ getDefaultOptions)
37513/* harmony export */ });
37514/* harmony import */ var _lib_defaultOptions_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_lib/defaultOptions.js */ "./node_modules/date-fns/_lib/defaultOptions.js");
37515
37516
37517/**
37518 * @name getDefaultOptions
37519 * @category Common Helpers
37520 * @summary Get default options.
37521 * @pure false
37522 *
37523 * @description
37524 * Returns an object that contains defaults for
37525 * `options.locale`, `options.weekStartsOn` and `options.firstWeekContainsDate`
37526 * arguments for all functions.
37527 *
37528 * You can change these with [setDefaultOptions](https://date-fns.org/docs/setDefaultOptions).
37529 *
37530 * @returns The default options
37531 *
37532 * @example
37533 * const result = getDefaultOptions()
37534 * //=> {}
37535 *
37536 * @example
37537 * setDefaultOptions({ weekStarsOn: 1, firstWeekContainsDate: 4 })
37538 * const result = getDefaultOptions()
37539 * //=> { weekStarsOn: 1, firstWeekContainsDate: 4 }
37540 */
37541function getDefaultOptions() {
37542  return Object.assign({}, (0,_lib_defaultOptions_js__WEBPACK_IMPORTED_MODULE_0__.getDefaultOptions)());
37543}
37544
37545
37546/***/ },
37547
37548/***/ "./node_modules/date-fns/getISODay.js"
37549/*!********************************************!*\
37550  !*** ./node_modules/date-fns/getISODay.js ***!
37551  \********************************************/
37552(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37553
37554"use strict";
37555__webpack_require__.r(__webpack_exports__);
37556/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37557/* harmony export */   getISODay: () => (/* binding */ getISODay)
37558/* harmony export */ });
37559/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
37560
37561
37562/**
37563 * The {@link getISODay} function options.
37564 */
37565
37566/**
37567 * @name getISODay
37568 * @category Weekday Helpers
37569 * @summary Get the day of the ISO week of the given date.
37570 *
37571 * @description
37572 * Get the day of the ISO week of the given date,
37573 * which is 7 for Sunday, 1 for Monday etc.
37574 *
37575 * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
37576 *
37577 * @param date - The given date
37578 * @param options - An object with options
37579 *
37580 * @returns The day of ISO week
37581 *
37582 * @example
37583 * // Which day of the ISO week is 26 February 2012?
37584 * const result = getISODay(new Date(2012, 1, 26))
37585 * //=> 7
37586 */
37587function getISODay(date, options) {
37588  const day = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_0__.toDate)(date, options?.in).getDay();
37589  return day === 0 ? 7 : day;
37590}
37591
37592
37593/***/ },
37594
37595/***/ "./node_modules/date-fns/getISOWeek.js"
37596/*!*********************************************!*\
37597  !*** ./node_modules/date-fns/getISOWeek.js ***!
37598  \*********************************************/
37599(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37600
37601"use strict";
37602__webpack_require__.r(__webpack_exports__);
37603/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37604/* harmony export */   getISOWeek: () => (/* binding */ getISOWeek)
37605/* harmony export */ });
37606/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants.js */ "./node_modules/date-fns/constants.js");
37607/* harmony import */ var _startOfISOWeek_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./startOfISOWeek.js */ "./node_modules/date-fns/startOfISOWeek.js");
37608/* harmony import */ var _startOfISOWeekYear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./startOfISOWeekYear.js */ "./node_modules/date-fns/startOfISOWeekYear.js");
37609/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
37610
37611
37612
37613
37614
37615/**
37616 * The {@link getISOWeek} function options.
37617 */
37618
37619/**
37620 * @name getISOWeek
37621 * @category ISO Week Helpers
37622 * @summary Get the ISO week of the given date.
37623 *
37624 * @description
37625 * Get the ISO week of the given date.
37626 *
37627 * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
37628 *
37629 * @param date - The given date
37630 * @param options - The options
37631 *
37632 * @returns The ISO week
37633 *
37634 * @example
37635 * // Which week of the ISO-week numbering year is 2 January 2005?
37636 * const result = getISOWeek(new Date(2005, 0, 2))
37637 * //=> 53
37638 */
37639function getISOWeek(date, options) {
37640  const _date = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_3__.toDate)(date, options?.in);
37641  const diff = +(0,_startOfISOWeek_js__WEBPACK_IMPORTED_MODULE_1__.startOfISOWeek)(_date) - +(0,_startOfISOWeekYear_js__WEBPACK_IMPORTED_MODULE_2__.startOfISOWeekYear)(_date);
37642
37643  // Round the number of weeks to the nearest integer because the number of
37644  // milliseconds in a week is not constant (e.g. it's different in the week of
37645  // the daylight saving time clock shift).
37646  return Math.round(diff / _constants_js__WEBPACK_IMPORTED_MODULE_0__.millisecondsInWeek) + 1;
37647}
37648
37649
37650/***/ },
37651
37652/***/ "./node_modules/date-fns/getISOWeekYear.js"
37653/*!*************************************************!*\
37654  !*** ./node_modules/date-fns/getISOWeekYear.js ***!
37655  \*************************************************/
37656(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37657
37658"use strict";
37659__webpack_require__.r(__webpack_exports__);
37660/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37661/* harmony export */   getISOWeekYear: () => (/* binding */ getISOWeekYear)
37662/* harmony export */ });
37663/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
37664/* harmony import */ var _startOfISOWeek_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./startOfISOWeek.js */ "./node_modules/date-fns/startOfISOWeek.js");
37665/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
37666
37667
37668
37669
37670/**
37671 * The {@link getISOWeekYear} function options.
37672 */
37673
37674/**
37675 * @name getISOWeekYear
37676 * @category ISO Week-Numbering Year Helpers
37677 * @summary Get the ISO week-numbering year of the given date.
37678 *
37679 * @description
37680 * Get the ISO week-numbering year of the given date,
37681 * which always starts 3 days before the year's first Thursday.
37682 *
37683 * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
37684 *
37685 * @param date - The given date
37686 *
37687 * @returns The ISO week-numbering year
37688 *
37689 * @example
37690 * // Which ISO-week numbering year is 2 January 2005?
37691 * const result = getISOWeekYear(new Date(2005, 0, 2))
37692 * //=> 2004
37693 */
37694function getISOWeekYear(date, options) {
37695  const _date = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_2__.toDate)(date, options?.in);
37696  const year = _date.getFullYear();
37697
37698  const fourthOfJanuaryOfNextYear = (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(_date, 0);
37699  fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);
37700  fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);
37701  const startOfNextYear = (0,_startOfISOWeek_js__WEBPACK_IMPORTED_MODULE_1__.startOfISOWeek)(fourthOfJanuaryOfNextYear);
37702
37703  const fourthOfJanuaryOfThisYear = (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(_date, 0);
37704  fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);
37705  fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);
37706  const startOfThisYear = (0,_startOfISOWeek_js__WEBPACK_IMPORTED_MODULE_1__.startOfISOWeek)(fourthOfJanuaryOfThisYear);
37707
37708  if (_date.getTime() >= startOfNextYear.getTime()) {
37709    return year + 1;
37710  } else if (_date.getTime() >= startOfThisYear.getTime()) {
37711    return year;
37712  } else {
37713    return year - 1;
37714  }
37715}
37716
37717
37718/***/ },
37719
37720/***/ "./node_modules/date-fns/getWeek.js"
37721/*!******************************************!*\
37722  !*** ./node_modules/date-fns/getWeek.js ***!
37723  \******************************************/
37724(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37725
37726"use strict";
37727__webpack_require__.r(__webpack_exports__);
37728/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37729/* harmony export */   getWeek: () => (/* binding */ getWeek)
37730/* harmony export */ });
37731/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants.js */ "./node_modules/date-fns/constants.js");
37732/* harmony import */ var _startOfWeek_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./startOfWeek.js */ "./node_modules/date-fns/startOfWeek.js");
37733/* harmony import */ var _startOfWeekYear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./startOfWeekYear.js */ "./node_modules/date-fns/startOfWeekYear.js");
37734/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
37735
37736
37737
37738
37739
37740/**
37741 * The {@link getWeek} function options.
37742 */
37743
37744/**
37745 * @name getWeek
37746 * @category Week Helpers
37747 * @summary Get the local week index of the given date.
37748 *
37749 * @description
37750 * Get the local week index of the given date.
37751 * The exact calculation depends on the values of
37752 * `options.weekStartsOn` (which is the index of the first day of the week)
37753 * and `options.firstWeekContainsDate` (which is the day of January, which is always in
37754 * the first week of the week-numbering year)
37755 *
37756 * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system
37757 *
37758 * @param date - The given date
37759 * @param options - An object with options
37760 *
37761 * @returns The week
37762 *
37763 * @example
37764 * // Which week of the local week numbering year is 2 January 2005 with default options?
37765 * const result = getWeek(new Date(2005, 0, 2))
37766 * //=> 2
37767 *
37768 * @example
37769 * // Which week of the local week numbering year is 2 January 2005,
37770 * // if Monday is the first day of the week,
37771 * // and the first week of the year always contains 4 January?
37772 * const result = getWeek(new Date(2005, 0, 2), {
37773 *   weekStartsOn: 1,
37774 *   firstWeekContainsDate: 4
37775 * })
37776 * //=> 53
37777 */
37778function getWeek(date, options) {
37779  const _date = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_3__.toDate)(date, options?.in);
37780  const diff = +(0,_startOfWeek_js__WEBPACK_IMPORTED_MODULE_1__.startOfWeek)(_date, options) - +(0,_startOfWeekYear_js__WEBPACK_IMPORTED_MODULE_2__.startOfWeekYear)(_date, options);
37781
37782  // Round the number of weeks to the nearest integer because the number of
37783  // milliseconds in a week is not constant (e.g. it's different in the week of
37784  // the daylight saving time clock shift).
37785  return Math.round(diff / _constants_js__WEBPACK_IMPORTED_MODULE_0__.millisecondsInWeek) + 1;
37786}
37787
37788
37789/***/ },
37790
37791/***/ "./node_modules/date-fns/getWeekYear.js"
37792/*!**********************************************!*\
37793  !*** ./node_modules/date-fns/getWeekYear.js ***!
37794  \**********************************************/
37795(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37796
37797"use strict";
37798__webpack_require__.r(__webpack_exports__);
37799/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37800/* harmony export */   getWeekYear: () => (/* binding */ getWeekYear)
37801/* harmony export */ });
37802/* harmony import */ var _lib_defaultOptions_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_lib/defaultOptions.js */ "./node_modules/date-fns/_lib/defaultOptions.js");
37803/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
37804/* harmony import */ var _startOfWeek_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./startOfWeek.js */ "./node_modules/date-fns/startOfWeek.js");
37805/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
37806
37807
37808
37809
37810
37811/**
37812 * The {@link getWeekYear} function options.
37813 */
37814
37815/**
37816 * @name getWeekYear
37817 * @category Week-Numbering Year Helpers
37818 * @summary Get the local week-numbering year of the given date.
37819 *
37820 * @description
37821 * Get the local week-numbering year of the given date.
37822 * The exact calculation depends on the values of
37823 * `options.weekStartsOn` (which is the index of the first day of the week)
37824 * and `options.firstWeekContainsDate` (which is the day of January, which is always in
37825 * the first week of the week-numbering year)
37826 *
37827 * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system
37828 *
37829 * @param date - The given date
37830 * @param options - An object with options.
37831 *
37832 * @returns The local week-numbering year
37833 *
37834 * @example
37835 * // Which week numbering year is 26 December 2004 with the default settings?
37836 * const result = getWeekYear(new Date(2004, 11, 26))
37837 * //=> 2005
37838 *
37839 * @example
37840 * // Which week numbering year is 26 December 2004 if week starts on Saturday?
37841 * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 })
37842 * //=> 2004
37843 *
37844 * @example
37845 * // Which week numbering year is 26 December 2004 if the first week contains 4 January?
37846 * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 })
37847 * //=> 2004
37848 */
37849function getWeekYear(date, options) {
37850  const _date = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_3__.toDate)(date, options?.in);
37851  const year = _date.getFullYear();
37852
37853  const defaultOptions = (0,_lib_defaultOptions_js__WEBPACK_IMPORTED_MODULE_0__.getDefaultOptions)();
37854  const firstWeekContainsDate =
37855    options?.firstWeekContainsDate ??
37856    options?.locale?.options?.firstWeekContainsDate ??
37857    defaultOptions.firstWeekContainsDate ??
37858    defaultOptions.locale?.options?.firstWeekContainsDate ??
37859    1;
37860
37861  const firstWeekOfNextYear = (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_1__.constructFrom)(options?.in || date, 0);
37862  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
37863  firstWeekOfNextYear.setHours(0, 0, 0, 0);
37864  const startOfNextYear = (0,_startOfWeek_js__WEBPACK_IMPORTED_MODULE_2__.startOfWeek)(firstWeekOfNextYear, options);
37865
37866  const firstWeekOfThisYear = (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_1__.constructFrom)(options?.in || date, 0);
37867  firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate);
37868  firstWeekOfThisYear.setHours(0, 0, 0, 0);
37869  const startOfThisYear = (0,_startOfWeek_js__WEBPACK_IMPORTED_MODULE_2__.startOfWeek)(firstWeekOfThisYear, options);
37870
37871  if (+_date >= +startOfNextYear) {
37872    return year + 1;
37873  } else if (+_date >= +startOfThisYear) {
37874    return year;
37875  } else {
37876    return year - 1;
37877  }
37878}
37879
37880
37881/***/ },
37882
37883/***/ "./node_modules/date-fns/isDate.js"
37884/*!*****************************************!*\
37885  !*** ./node_modules/date-fns/isDate.js ***!
37886  \*****************************************/
37887(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37888
37889"use strict";
37890__webpack_require__.r(__webpack_exports__);
37891/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37892/* harmony export */   isDate: () => (/* binding */ isDate)
37893/* harmony export */ });
37894/**
37895 * @name isDate
37896 * @category Common Helpers
37897 * @summary Is the given value a date?
37898 *
37899 * @description
37900 * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
37901 *
37902 * @param value - The value to check
37903 *
37904 * @returns True if the given value is a date
37905 *
37906 * @example
37907 * // For a valid date:
37908 * const result = isDate(new Date())
37909 * //=> true
37910 *
37911 * @example
vendor: 21,469 bytes, lines 37912-38658
37912 * // For an invalid date:
37913 * const result = isDate(new Date(NaN))
37914 * //=> true
37915 *
37916 * @example
37917 * // For some value:
37918 * const result = isDate('2014-02-31')
37919 * //=> false
37920 *
37921 * @example
37922 * // For an object:
37923 * const result = isDate({})
37924 * //=> false
37925 */
37926function isDate(value) {
37927  return (
37928    value instanceof Date ||
37929    (typeof value === "object" &&
37930      Object.prototype.toString.call(value) === "[object Date]")
37931  );
37932}
37933
37934
37935/***/ },
37936
37937/***/ "./node_modules/date-fns/isValid.js"
37938/*!******************************************!*\
37939  !*** ./node_modules/date-fns/isValid.js ***!
37940  \******************************************/
37941(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37942
37943"use strict";
37944__webpack_require__.r(__webpack_exports__);
37945/* harmony export */ __webpack_require__.d(__webpack_exports__, {
37946/* harmony export */   isValid: () => (/* binding */ isValid)
37947/* harmony export */ });
37948/* harmony import */ var _isDate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isDate.js */ "./node_modules/date-fns/isDate.js");
37949/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
37950
37951
37952
37953/**
37954 * @name isValid
37955 * @category Common Helpers
37956 * @summary Is the given date valid?
37957 *
37958 * @description
37959 * Returns false if argument is Invalid Date and true otherwise.
37960 * Argument is converted to Date using `toDate`. See [toDate](https://date-fns.org/docs/toDate)
37961 * Invalid Date is a Date, whose time value is NaN.
37962 *
37963 * Time value of Date: http://es5.github.io/#x15.9.1.1
37964 *
37965 * @param date - The date to check
37966 *
37967 * @returns The date is valid
37968 *
37969 * @example
37970 * // For the valid date:
37971 * const result = isValid(new Date(2014, 1, 31))
37972 * //=> true
37973 *
37974 * @example
37975 * // For the value, convertible into a date:
37976 * const result = isValid(1393804800000)
37977 * //=> true
37978 *
37979 * @example
37980 * // For the invalid date:
37981 * const result = isValid(new Date(''))
37982 * //=> false
37983 */
37984function isValid(date) {
37985  return !((!(0,_isDate_js__WEBPACK_IMPORTED_MODULE_0__.isDate)(date) && typeof date !== "number") || isNaN(+(0,_toDate_js__WEBPACK_IMPORTED_MODULE_1__.toDate)(date)));
37986}
37987
37988
37989/***/ },
37990
37991/***/ "./node_modules/date-fns/isWithinInterval.js"
37992/*!***************************************************!*\
37993  !*** ./node_modules/date-fns/isWithinInterval.js ***!
37994  \***************************************************/
37995(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
37996
37997"use strict";
37998__webpack_require__.r(__webpack_exports__);
37999/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38000/* harmony export */   isWithinInterval: () => (/* binding */ isWithinInterval)
38001/* harmony export */ });
38002/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
38003
38004
38005/**
38006 * The {@link isWithinInterval} function options.
38007 */
38008
38009/**
38010 * @name isWithinInterval
38011 * @category Interval Helpers
38012 * @summary Is the given date within the interval?
38013 *
38014 * @description
38015 * Is the given date within the interval? (Including start and end.)
38016 *
38017 * @param date - The date to check
38018 * @param interval - The interval to check
38019 * @param options - An object with options
38020 *
38021 * @returns The date is within the interval
38022 *
38023 * @example
38024 * // For the date within the interval:
38025 * isWithinInterval(new Date(2014, 0, 3), {
38026 *   start: new Date(2014, 0, 1),
38027 *   end: new Date(2014, 0, 7)
38028 * })
38029 * // => true
38030 *
38031 * @example
38032 * // For the date outside of the interval:
38033 * isWithinInterval(new Date(2014, 0, 10), {
38034 *   start: new Date(2014, 0, 1),
38035 *   end: new Date(2014, 0, 7)
38036 * })
38037 * // => false
38038 *
38039 * @example
38040 * // For date equal to the interval start:
38041 * isWithinInterval(date, { start, end: date })
38042 * // => true
38043 *
38044 * @example
38045 * // For date equal to the interval end:
38046 * isWithinInterval(date, { start: date, end })
38047 * // => true
38048 */
38049function isWithinInterval(date, interval, options) {
38050  const time = +(0,_toDate_js__WEBPACK_IMPORTED_MODULE_0__.toDate)(date, options?.in);
38051  const [startTime, endTime] = [
38052    +(0,_toDate_js__WEBPACK_IMPORTED_MODULE_0__.toDate)(interval.start, options?.in),
38053    +(0,_toDate_js__WEBPACK_IMPORTED_MODULE_0__.toDate)(interval.end, options?.in),
38054  ].sort((a, b) => a - b);
38055
38056  return time >= startTime && time <= endTime;
38057}
38058
38059
38060/***/ },
38061
38062/***/ "./node_modules/date-fns/locale/_lib/buildFormatLongFn.js"
38063/*!****************************************************************!*\
38064  !*** ./node_modules/date-fns/locale/_lib/buildFormatLongFn.js ***!
38065  \****************************************************************/
38066(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38067
38068"use strict";
38069__webpack_require__.r(__webpack_exports__);
38070/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38071/* harmony export */   buildFormatLongFn: () => (/* binding */ buildFormatLongFn)
38072/* harmony export */ });
38073function buildFormatLongFn(args) {
38074  return (options = {}) => {
38075    // TODO: Remove String()
38076    const width = options.width ? String(options.width) : args.defaultWidth;
38077    const format = args.formats[width] || args.formats[args.defaultWidth];
38078    return format;
38079  };
38080}
38081
38082
38083/***/ },
38084
38085/***/ "./node_modules/date-fns/locale/_lib/buildLocalizeFn.js"
38086/*!**************************************************************!*\
38087  !*** ./node_modules/date-fns/locale/_lib/buildLocalizeFn.js ***!
38088  \**************************************************************/
38089(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38090
38091"use strict";
38092__webpack_require__.r(__webpack_exports__);
38093/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38094/* harmony export */   buildLocalizeFn: () => (/* binding */ buildLocalizeFn)
38095/* harmony export */ });
38096/**
38097 * The localize function argument callback which allows to convert raw value to
38098 * the actual type.
38099 *
38100 * @param value - The value to convert
38101 *
38102 * @returns The converted value
38103 */
38104
38105/**
38106 * The map of localized values for each width.
38107 */
38108
38109/**
38110 * The index type of the locale unit value. It types conversion of units of
38111 * values that don't start at 0 (i.e. quarters).
38112 */
38113
38114/**
38115 * Converts the unit value to the tuple of values.
38116 */
38117
38118/**
38119 * The tuple of localized era values. The first element represents BC,
38120 * the second element represents AD.
38121 */
38122
38123/**
38124 * The tuple of localized quarter values. The first element represents Q1.
38125 */
38126
38127/**
38128 * The tuple of localized day values. The first element represents Sunday.
38129 */
38130
38131/**
38132 * The tuple of localized month values. The first element represents January.
38133 */
38134
38135function buildLocalizeFn(args) {
38136  return (value, options) => {
38137    const context = options?.context ? String(options.context) : "standalone";
38138
38139    let valuesArray;
38140    if (context === "formatting" && args.formattingValues) {
38141      const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
38142      const width = options?.width ? String(options.width) : defaultWidth;
38143
38144      valuesArray =
38145        args.formattingValues[width] || args.formattingValues[defaultWidth];
38146    } else {
38147      const defaultWidth = args.defaultWidth;
38148      const width = options?.width ? String(options.width) : args.defaultWidth;
38149
38150      valuesArray = args.values[width] || args.values[defaultWidth];
38151    }
38152    const index = args.argumentCallback ? args.argumentCallback(value) : value;
38153
38154    // @ts-expect-error - For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!
38155    return valuesArray[index];
38156  };
38157}
38158
38159
38160/***/ },
38161
38162/***/ "./node_modules/date-fns/locale/_lib/buildMatchFn.js"
38163/*!***********************************************************!*\
38164  !*** ./node_modules/date-fns/locale/_lib/buildMatchFn.js ***!
38165  \***********************************************************/
38166(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38167
38168"use strict";
38169__webpack_require__.r(__webpack_exports__);
38170/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38171/* harmony export */   buildMatchFn: () => (/* binding */ buildMatchFn)
38172/* harmony export */ });
38173function buildMatchFn(args) {
38174  return (string, options = {}) => {
38175    const width = options.width;
38176
38177    const matchPattern =
38178      (width && args.matchPatterns[width]) ||
38179      args.matchPatterns[args.defaultMatchWidth];
38180    const matchResult = string.match(matchPattern);
38181
38182    if (!matchResult) {
38183      return null;
38184    }
38185    const matchedString = matchResult[0];
38186
38187    const parsePatterns =
38188      (width && args.parsePatterns[width]) ||
38189      args.parsePatterns[args.defaultParseWidth];
38190
38191    const key = Array.isArray(parsePatterns)
38192      ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString))
38193      : // [TODO] -- I challenge you to fix the type
38194        findKey(parsePatterns, (pattern) => pattern.test(matchedString));
38195
38196    let value;
38197
38198    value = args.valueCallback ? args.valueCallback(key) : key;
38199    value = options.valueCallback
38200      ? // [TODO] -- I challenge you to fix the type
38201        options.valueCallback(value)
38202      : value;
38203
38204    const rest = string.slice(matchedString.length);
38205
38206    return { value, rest };
38207  };
38208}
38209
38210function findKey(object, predicate) {
38211  for (const key in object) {
38212    if (
38213      Object.prototype.hasOwnProperty.call(object, key) &&
38214      predicate(object[key])
38215    ) {
38216      return key;
38217    }
38218  }
38219  return undefined;
38220}
38221
38222function findIndex(array, predicate) {
38223  for (let key = 0; key < array.length; key++) {
38224    if (predicate(array[key])) {
38225      return key;
38226    }
38227  }
38228  return undefined;
38229}
38230
38231
38232/***/ },
38233
38234/***/ "./node_modules/date-fns/locale/_lib/buildMatchPatternFn.js"
38235/*!******************************************************************!*\
38236  !*** ./node_modules/date-fns/locale/_lib/buildMatchPatternFn.js ***!
38237  \******************************************************************/
38238(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38239
38240"use strict";
38241__webpack_require__.r(__webpack_exports__);
38242/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38243/* harmony export */   buildMatchPatternFn: () => (/* binding */ buildMatchPatternFn)
38244/* harmony export */ });
38245function buildMatchPatternFn(args) {
38246  return (string, options = {}) => {
38247    const matchResult = string.match(args.matchPattern);
38248    if (!matchResult) return null;
38249    const matchedString = matchResult[0];
38250
38251    const parseResult = string.match(args.parsePattern);
38252    if (!parseResult) return null;
38253    let value = args.valueCallback
38254      ? args.valueCallback(parseResult[0])
38255      : parseResult[0];
38256
38257    // [TODO] I challenge you to fix the type
38258    value = options.valueCallback ? options.valueCallback(value) : value;
38259
38260    const rest = string.slice(matchedString.length);
38261
38262    return { value, rest };
38263  };
38264}
38265
38266
38267/***/ },
38268
38269/***/ "./node_modules/date-fns/locale/en-US.js"
38270/*!***********************************************!*\
38271  !*** ./node_modules/date-fns/locale/en-US.js ***!
38272  \***********************************************/
38273(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38274
38275"use strict";
38276__webpack_require__.r(__webpack_exports__);
38277/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38278/* harmony export */   enUS: () => (/* binding */ enUS)
38279/* harmony export */ });
38280/* harmony import */ var _en_US_lib_formatDistance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./en-US/_lib/formatDistance.js */ "./node_modules/date-fns/locale/en-US/_lib/formatDistance.js");
38281/* harmony import */ var _en_US_lib_formatLong_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./en-US/_lib/formatLong.js */ "./node_modules/date-fns/locale/en-US/_lib/formatLong.js");
38282/* harmony import */ var _en_US_lib_formatRelative_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./en-US/_lib/formatRelative.js */ "./node_modules/date-fns/locale/en-US/_lib/formatRelative.js");
38283/* harmony import */ var _en_US_lib_localize_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./en-US/_lib/localize.js */ "./node_modules/date-fns/locale/en-US/_lib/localize.js");
38284/* harmony import */ var _en_US_lib_match_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./en-US/_lib/match.js */ "./node_modules/date-fns/locale/en-US/_lib/match.js");
38285
38286
38287
38288
38289
38290
38291/**
38292 * @category Locales
38293 * @summary English locale (United States).
38294 * @language English
38295 * @iso-639-2 eng
38296 * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)
38297 * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)
38298 */
38299const enUS = {
38300  code: "en-US",
38301  formatDistance: _en_US_lib_formatDistance_js__WEBPACK_IMPORTED_MODULE_0__.formatDistance,
38302  formatLong: _en_US_lib_formatLong_js__WEBPACK_IMPORTED_MODULE_1__.formatLong,
38303  formatRelative: _en_US_lib_formatRelative_js__WEBPACK_IMPORTED_MODULE_2__.formatRelative,
38304  localize: _en_US_lib_localize_js__WEBPACK_IMPORTED_MODULE_3__.localize,
38305  match: _en_US_lib_match_js__WEBPACK_IMPORTED_MODULE_4__.match,
38306  options: {
38307    weekStartsOn: 0 /* Sunday */,
38308    firstWeekContainsDate: 1,
38309  },
38310};
38311
38312
38313/***/ },
38314
38315/***/ "./node_modules/date-fns/locale/en-US/_lib/formatDistance.js"
38316/*!*******************************************************************!*\
38317  !*** ./node_modules/date-fns/locale/en-US/_lib/formatDistance.js ***!
38318  \*******************************************************************/
38319(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38320
38321"use strict";
38322__webpack_require__.r(__webpack_exports__);
38323/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38324/* harmony export */   formatDistance: () => (/* binding */ formatDistance)
38325/* harmony export */ });
38326const formatDistanceLocale = {
38327  lessThanXSeconds: {
38328    one: "less than a second",
38329    other: "less than {{count}} seconds",
38330  },
38331
38332  xSeconds: {
38333    one: "1 second",
38334    other: "{{count}} seconds",
38335  },
38336
38337  halfAMinute: "half a minute",
38338
38339  lessThanXMinutes: {
38340    one: "less than a minute",
38341    other: "less than {{count}} minutes",
38342  },
38343
38344  xMinutes: {
38345    one: "1 minute",
38346    other: "{{count}} minutes",
38347  },
38348
38349  aboutXHours: {
38350    one: "about 1 hour",
38351    other: "about {{count}} hours",
38352  },
38353
38354  xHours: {
38355    one: "1 hour",
38356    other: "{{count}} hours",
38357  },
38358
38359  xDays: {
38360    one: "1 day",
38361    other: "{{count}} days",
38362  },
38363
38364  aboutXWeeks: {
38365    one: "about 1 week",
38366    other: "about {{count}} weeks",
38367  },
38368
38369  xWeeks: {
38370    one: "1 week",
38371    other: "{{count}} weeks",
38372  },
38373
38374  aboutXMonths: {
38375    one: "about 1 month",
38376    other: "about {{count}} months",
38377  },
38378
38379  xMonths: {
38380    one: "1 month",
38381    other: "{{count}} months",
38382  },
38383
38384  aboutXYears: {
38385    one: "about 1 year",
38386    other: "about {{count}} years",
38387  },
38388
38389  xYears: {
38390    one: "1 year",
38391    other: "{{count}} years",
38392  },
38393
38394  overXYears: {
38395    one: "over 1 year",
38396    other: "over {{count}} years",
38397  },
38398
38399  almostXYears: {
38400    one: "almost 1 year",
38401    other: "almost {{count}} years",
38402  },
38403};
38404
38405const formatDistance = (token, count, options) => {
38406  let result;
38407
38408  const tokenValue = formatDistanceLocale[token];
38409  if (typeof tokenValue === "string") {
38410    result = tokenValue;
38411  } else if (count === 1) {
38412    result = tokenValue.one;
38413  } else {
38414    result = tokenValue.other.replace("{{count}}", count.toString());
38415  }
38416
38417  if (options?.addSuffix) {
38418    if (options.comparison && options.comparison > 0) {
38419      return "in " + result;
38420    } else {
38421      return result + " ago";
38422    }
38423  }
38424
38425  return result;
38426};
38427
38428
38429/***/ },
38430
38431/***/ "./node_modules/date-fns/locale/en-US/_lib/formatLong.js"
38432/*!***************************************************************!*\
38433  !*** ./node_modules/date-fns/locale/en-US/_lib/formatLong.js ***!
38434  \***************************************************************/
38435(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38436
38437"use strict";
38438__webpack_require__.r(__webpack_exports__);
38439/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38440/* harmony export */   formatLong: () => (/* binding */ formatLong)
38441/* harmony export */ });
38442/* harmony import */ var _lib_buildFormatLongFn_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../_lib/buildFormatLongFn.js */ "./node_modules/date-fns/locale/_lib/buildFormatLongFn.js");
38443
38444
38445const dateFormats = {
38446  full: "EEEE, MMMM do, y",
38447  long: "MMMM do, y",
38448  medium: "MMM d, y",
38449  short: "MM/dd/yyyy",
38450};
38451
38452const timeFormats = {
38453  full: "h:mm:ss a zzzz",
38454  long: "h:mm:ss a z",
38455  medium: "h:mm:ss a",
38456  short: "h:mm a",
38457};
38458
38459const dateTimeFormats = {
38460  full: "{{date}} 'at' {{time}}",
38461  long: "{{date}} 'at' {{time}}",
38462  medium: "{{date}}, {{time}}",
38463  short: "{{date}}, {{time}}",
38464};
38465
38466const formatLong = {
38467  date: (0,_lib_buildFormatLongFn_js__WEBPACK_IMPORTED_MODULE_0__.buildFormatLongFn)({
38468    formats: dateFormats,
38469    defaultWidth: "full",
38470  }),
38471
38472  time: (0,_lib_buildFormatLongFn_js__WEBPACK_IMPORTED_MODULE_0__.buildFormatLongFn)({
38473    formats: timeFormats,
38474    defaultWidth: "full",
38475  }),
38476
38477  dateTime: (0,_lib_buildFormatLongFn_js__WEBPACK_IMPORTED_MODULE_0__.buildFormatLongFn)({
38478    formats: dateTimeFormats,
38479    defaultWidth: "full",
38480  }),
38481};
38482
38483
38484/***/ },
38485
38486/***/ "./node_modules/date-fns/locale/en-US/_lib/formatRelative.js"
38487/*!*******************************************************************!*\
38488  !*** ./node_modules/date-fns/locale/en-US/_lib/formatRelative.js ***!
38489  \*******************************************************************/
38490(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38491
38492"use strict";
38493__webpack_require__.r(__webpack_exports__);
38494/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38495/* harmony export */   formatRelative: () => (/* binding */ formatRelative)
38496/* harmony export */ });
38497const formatRelativeLocale = {
38498  lastWeek: "'last' eeee 'at' p",
38499  yesterday: "'yesterday at' p",
38500  today: "'today at' p",
38501  tomorrow: "'tomorrow at' p",
38502  nextWeek: "eeee 'at' p",
38503  other: "P",
38504};
38505
38506const formatRelative = (token, _date, _baseDate, _options) =>
38507  formatRelativeLocale[token];
38508
38509
38510/***/ },
38511
38512/***/ "./node_modules/date-fns/locale/en-US/_lib/localize.js"
38513/*!*************************************************************!*\
38514  !*** ./node_modules/date-fns/locale/en-US/_lib/localize.js ***!
38515  \*************************************************************/
38516(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38517
38518"use strict";
38519__webpack_require__.r(__webpack_exports__);
38520/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38521/* harmony export */   localize: () => (/* binding */ localize)
38522/* harmony export */ });
38523/* harmony import */ var _lib_buildLocalizeFn_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../_lib/buildLocalizeFn.js */ "./node_modules/date-fns/locale/_lib/buildLocalizeFn.js");
38524
38525
38526const eraValues = {
38527  narrow: ["B", "A"],
38528  abbreviated: ["BC", "AD"],
38529  wide: ["Before Christ", "Anno Domini"],
38530};
38531
38532const quarterValues = {
38533  narrow: ["1", "2", "3", "4"],
38534  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
38535  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"],
38536};
38537
38538// Note: in English, the names of days of the week and months are capitalized.
38539// If you are making a new locale based on this one, check if the same is true for the language you're working on.
38540// Generally, formatted dates should look like they are in the middle of a sentence,
38541// e.g. in Spanish language the weekdays and months should be in the lowercase.
38542const monthValues = {
38543  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
38544  abbreviated: [
38545    "Jan",
38546    "Feb",
38547    "Mar",
38548    "Apr",
38549    "May",
38550    "Jun",
38551    "Jul",
38552    "Aug",
38553    "Sep",
38554    "Oct",
38555    "Nov",
38556    "Dec",
38557  ],
38558
38559  wide: [
38560    "January",
38561    "February",
38562    "March",
38563    "April",
38564    "May",
38565    "June",
38566    "July",
38567    "August",
38568    "September",
38569    "October",
38570    "November",
38571    "December",
38572  ],
38573};
38574
38575const dayValues = {
38576  narrow: ["S", "M", "T", "W", "T", "F", "S"],
38577  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
38578  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
38579  wide: [
38580    "Sunday",
38581    "Monday",
38582    "Tuesday",
38583    "Wednesday",
38584    "Thursday",
38585    "Friday",
38586    "Saturday",
38587  ],
38588};
38589
38590const dayPeriodValues = {
38591  narrow: {
38592    am: "a",
38593    pm: "p",
38594    midnight: "mi",
38595    noon: "n",
38596    morning: "morning",
38597    afternoon: "afternoon",
38598    evening: "evening",
38599    night: "night",
38600  },
38601  abbreviated: {
38602    am: "AM",
38603    pm: "PM",
38604    midnight: "midnight",
38605    noon: "noon",
38606    morning: "morning",
38607    afternoon: "afternoon",
38608    evening: "evening",
38609    night: "night",
38610  },
38611  wide: {
38612    am: "a.m.",
38613    pm: "p.m.",
38614    midnight: "midnight",
38615    noon: "noon",
38616    morning: "morning",
38617    afternoon: "afternoon",
38618    evening: "evening",
38619    night: "night",
38620  },
38621};
38622
38623const formattingDayPeriodValues = {
38624  narrow: {
38625    am: "a",
38626    pm: "p",
38627    midnight: "mi",
38628    noon: "n",
38629    morning: "in the morning",
38630    afternoon: "in the afternoon",
38631    evening: "in the evening",
38632    night: "at night",
38633  },
38634  abbreviated: {
38635    am: "AM",
38636    pm: "PM",
38637    midnight: "midnight",
38638    noon: "noon",
38639    morning: "in the morning",
38640    afternoon: "in the afternoon",
38641    evening: "in the evening",
38642    night: "at night",
38643  },
38644  wide: {
38645    am: "a.m.",
38646    pm: "p.m.",
38647    midnight: "midnight",
38648    noon: "noon",
38649    morning: "in the morning",
38650    afternoon: "in the afternoon",
38651    evening: "in the evening",
38652    night: "at night",
38653  },
38654};
38655
38656const ordinalNumber = (dirtyNumber, _options) => {
38657  const number = Number(dirtyNumber);
38658
38659  // If ordinal numbers depend on context, for example,
38660  // if they are different for different grammatical genders,
38661  // use `options.unit`.
38662  //
38663  // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',
38664  // 'day', 'hour', 'minute', 'second'.
38665
38666  const rem100 = number % 100;
38667  if (rem100 > 20 || rem100 < 10) {
38668    switch (rem100 % 10) {
38669      case 1:
38670        return number + "st";
38671      case 2:
38672        return number + "nd";
38673      case 3:
38674        return number + "rd";
38675    }
38676  }
38677  return number + "th";
38678};
38679
38680const localize = {
38681  ordinalNumber,
38682
38683  era: (0,_lib_buildLocalizeFn_js__WEBPACK_IMPORTED_MODULE_0__.buildLocalizeFn)({
38684    values: eraValues,
38685    defaultWidth: "wide",
38686  }),
38687
38688  quarter: (0,_lib_buildLocalizeFn_js__WEBPACK_IMPORTED_MODULE_0__.buildLocalizeFn)({
38689    values: quarterValues,
38690    defaultWidth: "wide",
38691    argumentCallback: (quarter) => quarter - 1,
38692  }),
38693
38694  month: (0,_lib_buildLocalizeFn_js__WEBPACK_IMPORTED_MODULE_0__.buildLocalizeFn)({
38695    values: monthValues,
38696    defaultWidth: "wide",
38697  }),
38698
38699  day: (0,_lib_buildLocalizeFn_js__WEBPACK_IMPORTED_MODULE_0__.buildLocalizeFn)({
38700    values: dayValues,
38701    defaultWidth: "wide",
38702  }),
38703
38704  dayPeriod: (0,_lib_buildLocalizeFn_js__WEBPACK_IMPORTED_MODULE_0__.buildLocalizeFn)({
38705    values: dayPeriodValues,
38706    defaultWidth: "wide",
38707    formattingValues: formattingDayPeriodValues,
38708    defaultFormattingWidth: "wide",
38709  }),
38710};
38711
38712
38713/***/ },
38714
38715/***/ "./node_modules/date-fns/locale/en-US/_lib/match.js"
38716/*!**********************************************************!*\
38717  !*** ./node_modules/date-fns/locale/en-US/_lib/match.js ***!
38718  \**********************************************************/
38719(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38720
38721"use strict";
38722__webpack_require__.r(__webpack_exports__);
38723/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38724/* harmony export */   match: () => (/* binding */ match)
38725/* harmony export */ });
38726/* harmony import */ var _lib_buildMatchFn_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../_lib/buildMatchFn.js */ "./node_modules/date-fns/locale/_lib/buildMatchFn.js");
38727/* harmony import */ var _lib_buildMatchPatternFn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../_lib/buildMatchPatternFn.js */ "./node_modules/date-fns/locale/_lib/buildMatchPatternFn.js");
38728
38729
38730
38731const matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
38732const parseOrdinalNumberPattern = /\d+/i;
38733
38734const matchEraPatterns = {
38735  narrow: /^(b|a)/i,
38736  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
38737  wide: /^(before christ|before common era|anno domini|common era)/i,
38738};
38739const parseEraPatterns = {
38740  any: [/^b/i, /^(a|c)/i],
38741};
38742
38743const matchQuarterPatterns = {
38744  narrow: /^[1234]/i,
38745  abbreviated: /^q[1234]/i,
38746  wide: /^[1234](th|st|nd|rd)? quarter/i,
38747};
38748const parseQuarterPatterns = {
38749  any: [/1/i, /2/i, /3/i, /4/i],
38750};
38751
38752const matchMonthPatterns = {
38753  narrow: /^[jfmasond]/i,
38754  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
38755  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i,
38756};
38757const parseMonthPatterns = {
38758  narrow: [
38759    /^j/i,
38760    /^f/i,
38761    /^m/i,
38762    /^a/i,
38763    /^m/i,
38764    /^j/i,
38765    /^j/i,
38766    /^a/i,
38767    /^s/i,
38768    /^o/i,
38769    /^n/i,
38770    /^d/i,
38771  ],
38772
38773  any: [
38774    /^ja/i,
38775    /^f/i,
38776    /^mar/i,
38777    /^ap/i,
38778    /^may/i,
38779    /^jun/i,
38780    /^jul/i,
38781    /^au/i,
38782    /^s/i,
38783    /^o/i,
38784    /^n/i,
38785    /^d/i,
38786  ],
38787};
38788
38789const matchDayPatterns = {
38790  narrow: /^[smtwf]/i,
38791  short: /^(su|mo|tu|we|th|fr|sa)/i,
38792  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
38793  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i,
38794};
38795const parseDayPatterns = {
38796  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
38797  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i],
38798};
38799
38800const matchDayPeriodPatterns = {
38801  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
38802  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i,
38803};
38804const parseDayPeriodPatterns = {
38805  any: {
38806    am: /^a/i,
38807    pm: /^p/i,
38808    midnight: /^mi/i,
38809    noon: /^no/i,
38810    morning: /morning/i,
38811    afternoon: /afternoon/i,
38812    evening: /evening/i,
38813    night: /night/i,
38814  },
38815};
38816
38817const match = {
38818  ordinalNumber: (0,_lib_buildMatchPatternFn_js__WEBPACK_IMPORTED_MODULE_1__.buildMatchPatternFn)({
38819    matchPattern: matchOrdinalNumberPattern,
38820    parsePattern: parseOrdinalNumberPattern,
38821    valueCallback: (value) => parseInt(value, 10),
38822  }),
38823
38824  era: (0,_lib_buildMatchFn_js__WEBPACK_IMPORTED_MODULE_0__.buildMatchFn)({
38825    matchPatterns: matchEraPatterns,
38826    defaultMatchWidth: "wide",
38827    parsePatterns: parseEraPatterns,
38828    defaultParseWidth: "any",
38829  }),
38830
38831  quarter: (0,_lib_buildMatchFn_js__WEBPACK_IMPORTED_MODULE_0__.buildMatchFn)({
38832    matchPatterns: matchQuarterPatterns,
38833    defaultMatchWidth: "wide",
38834    parsePatterns: parseQuarterPatterns,
38835    defaultParseWidth: "any",
38836    valueCallback: (index) => index + 1,
38837  }),
38838
38839  month: (0,_lib_buildMatchFn_js__WEBPACK_IMPORTED_MODULE_0__.buildMatchFn)({
38840    matchPatterns: matchMonthPatterns,
38841    defaultMatchWidth: "wide",
38842    parsePatterns: parseMonthPatterns,
38843    defaultParseWidth: "any",
38844  }),
38845
38846  day: (0,_lib_buildMatchFn_js__WEBPACK_IMPORTED_MODULE_0__.buildMatchFn)({
38847    matchPatterns: matchDayPatterns,
38848    defaultMatchWidth: "wide",
38849    parsePatterns: parseDayPatterns,
38850    defaultParseWidth: "any",
38851  }),
38852
38853  dayPeriod: (0,_lib_buildMatchFn_js__WEBPACK_IMPORTED_MODULE_0__.buildMatchFn)({
38854    matchPatterns: matchDayPeriodPatterns,
38855    defaultMatchWidth: "any",
38856    parsePatterns: parseDayPeriodPatterns,
38857    defaultParseWidth: "any",
38858  }),
38859};
38860
38861
38862/***/ },
38863
38864/***/ "./node_modules/date-fns/parse.js"
38865/*!****************************************!*\
38866  !*** ./node_modules/date-fns/parse.js ***!
38867  \****************************************/
38868(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
38869
38870"use strict";
38871__webpack_require__.r(__webpack_exports__);
38872/* harmony export */ __webpack_require__.d(__webpack_exports__, {
38873/* harmony export */   longFormatters: () => (/* reexport safe */ _lib_format_longFormatters_js__WEBPACK_IMPORTED_MODULE_1__.longFormatters),
38874/* harmony export */   parse: () => (/* binding */ parse),
38875/* harmony export */   parsers: () => (/* reexport safe */ _parse_lib_parsers_js__WEBPACK_IMPORTED_MODULE_7__.parsers)
38876/* harmony export */ });
38877/* harmony import */ var _lib_defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_lib/defaultLocale.js */ "./node_modules/date-fns/locale/en-US.js");
38878/* harmony import */ var _lib_format_longFormatters_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_lib/format/longFormatters.js */ "./node_modules/date-fns/_lib/format/longFormatters.js");
38879/* harmony import */ var _lib_protectedTokens_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_lib/protectedTokens.js */ "./node_modules/date-fns/_lib/protectedTokens.js");
38880/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
38881/* harmony import */ var _getDefaultOptions_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getDefaultOptions.js */ "./node_modules/date-fns/getDefaultOptions.js");
38882/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
38883/* harmony import */ var _parse_lib_Setter_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./parse/_lib/Setter.js */ "./node_modules/date-fns/parse/_lib/Setter.js");
38884/* harmony import */ var _parse_lib_parsers_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./parse/_lib/parsers.js */ "./node_modules/date-fns/parse/_lib/parsers.js");
38885
38886
38887
38888
38889
38890
38891
38892
38893
38894
38895// Rexports of internal for libraries to use.
38896// See: https://github.com/date-fns/date-fns/issues/3638#issuecomment-1877082874
vendor: 23,465 bytes, lines 38897-39224
38897
38898
38899/**
38900 * The {@link parse} function options.
38901 */
38902
38903// This RegExp consists of three parts separated by `|`:
38904// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
38905//   (one of the certain letters followed by `o`)
38906// - (\w)\1* matches any sequences of the same letter
38907// - '' matches two quote characters in a row
38908// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),
38909//   except a single quote symbol, which ends the sequence.
38910//   Two quote characters do not end the sequence.
38911//   If there is no matching single quote
38912//   then the sequence will continue until the end of the string.
38913// - . matches any single character unmatched by previous parts of the RegExps
38914const formattingTokensRegExp =
38915  /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;
38916
38917// This RegExp catches symbols escaped by quotes, and also
38918// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`
38919const longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
38920
38921const escapedStringRegExp = /^'([^]*?)'?$/;
38922const doubleQuoteRegExp = /''/g;
38923
38924const notWhitespaceRegExp = /\S/;
38925const unescapedLatinCharacterRegExp = /[a-zA-Z]/;
38926
38927/**
38928 * @name parse
38929 * @category Common Helpers
38930 * @summary Parse the date.
38931 *
38932 * @description
38933 * Return the date parsed from string using the given format string.
38934 *
38935 * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.
38936 * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
38937 *
38938 * The characters in the format string wrapped between two single quotes characters (') are escaped.
38939 * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.
38940 *
38941 * Format of the format string is based on Unicode Technical Standard #35:
38942 * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
38943 * with a few additions (see note 5 below the table).
38944 *
38945 * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited
38946 * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception:
38947 *
38948 * ```javascript
38949 * parse('23 AM', 'HH a', new Date())
38950 * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time
38951 * ```
38952 *
38953 * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true
38954 *
38955 * Accepted format string patterns:
38956 * | Unit                            |Prior| Pattern | Result examples                   | Notes |
38957 * |---------------------------------|-----|---------|-----------------------------------|-------|
38958 * | Era                             | 140 | G..GGG  | AD, BC                            |       |
38959 * |                                 |     | GGGG    | Anno Domini, Before Christ        | 2     |
38960 * |                                 |     | GGGGG   | A, B                              |       |
38961 * | Calendar year                   | 130 | y       | 44, 1, 1900, 2017, 9999           | 4     |
38962 * |                                 |     | yo      | 44th, 1st, 1900th, 9999999th      | 4,5   |
38963 * |                                 |     | yy      | 44, 01, 00, 17                    | 4     |
38964 * |                                 |     | yyy     | 044, 001, 123, 999                | 4     |
38965 * |                                 |     | yyyy    | 0044, 0001, 1900, 2017            | 4     |
38966 * |                                 |     | yyyyy   | ...                               | 2,4   |
38967 * | Local week-numbering year       | 130 | Y       | 44, 1, 1900, 2017, 9000           | 4     |
38968 * |                                 |     | Yo      | 44th, 1st, 1900th, 9999999th      | 4,5   |
38969 * |                                 |     | YY      | 44, 01, 00, 17                    | 4,6   |
38970 * |                                 |     | YYY     | 044, 001, 123, 999                | 4     |
38971 * |                                 |     | YYYY    | 0044, 0001, 1900, 2017            | 4,6   |
38972 * |                                 |     | YYYYY   | ...                               | 2,4   |
38973 * | ISO week-numbering year         | 130 | R       | -43, 1, 1900, 2017, 9999, -9999   | 4,5   |
38974 * |                                 |     | RR      | -43, 01, 00, 17                   | 4,5   |
38975 * |                                 |     | RRR     | -043, 001, 123, 999, -999         | 4,5   |
38976 * |                                 |     | RRRR    | -0043, 0001, 2017, 9999, -9999    | 4,5   |
38977 * |                                 |     | RRRRR   | ...                               | 2,4,5 |
38978 * | Extended year                   | 130 | u       | -43, 1, 1900, 2017, 9999, -999    | 4     |
38979 * |                                 |     | uu      | -43, 01, 99, -99                  | 4     |
38980 * |                                 |     | uuu     | -043, 001, 123, 999, -999         | 4     |
38981 * |                                 |     | uuuu    | -0043, 0001, 2017, 9999, -9999    | 4     |
38982 * |                                 |     | uuuuu   | ...                               | 2,4   |
38983 * | Quarter (formatting)            | 120 | Q       | 1, 2, 3, 4                        |       |
38984 * |                                 |     | Qo      | 1st, 2nd, 3rd, 4th                | 5     |
38985 * |                                 |     | QQ      | 01, 02, 03, 04                    |       |
38986 * |                                 |     | QQQ     | Q1, Q2, Q3, Q4                    |       |
38987 * |                                 |     | QQQQ    | 1st quarter, 2nd quarter, ...     | 2     |
38988 * |                                 |     | QQQQQ   | 1, 2, 3, 4                        | 4     |
38989 * | Quarter (stand-alone)           | 120 | q       | 1, 2, 3, 4                        |       |
38990 * |                                 |     | qo      | 1st, 2nd, 3rd, 4th                | 5     |
38991 * |                                 |     | qq      | 01, 02, 03, 04                    |       |
38992 * |                                 |     | qqq     | Q1, Q2, Q3, Q4                    |       |
38993 * |                                 |     | qqqq    | 1st quarter, 2nd quarter, ...     | 2     |
38994 * |                                 |     | qqqqq   | 1, 2, 3, 4                        | 3     |
38995 * | Month (formatting)              | 110 | M       | 1, 2, ..., 12                     |       |
38996 * |                                 |     | Mo      | 1st, 2nd, ..., 12th               | 5     |
38997 * |                                 |     | MM      | 01, 02, ..., 12                   |       |
38998 * |                                 |     | MMM     | Jan, Feb, ..., Dec                |       |
38999 * |                                 |     | MMMM    | January, February, ..., December  | 2     |
39000 * |                                 |     | MMMMM   | J, F, ..., D                      |       |
39001 * | Month (stand-alone)             | 110 | L       | 1, 2, ..., 12                     |       |
39002 * |                                 |     | Lo      | 1st, 2nd, ..., 12th               | 5     |
39003 * |                                 |     | LL      | 01, 02, ..., 12                   |       |
39004 * |                                 |     | LLL     | Jan, Feb, ..., Dec                |       |
39005 * |                                 |     | LLLL    | January, February, ..., December  | 2     |
39006 * |                                 |     | LLLLL   | J, F, ..., D                      |       |
39007 * | Local week of year              | 100 | w       | 1, 2, ..., 53                     |       |
39008 * |                                 |     | wo      | 1st, 2nd, ..., 53th               | 5     |
39009 * |                                 |     | ww      | 01, 02, ..., 53                   |       |
39010 * | ISO week of year                | 100 | I       | 1, 2, ..., 53                     | 5     |
39011 * |                                 |     | Io      | 1st, 2nd, ..., 53th               | 5     |
39012 * |                                 |     | II      | 01, 02, ..., 53                   | 5     |
39013 * | Day of month                    |  90 | d       | 1, 2, ..., 31                     |       |
39014 * |                                 |     | do      | 1st, 2nd, ..., 31st               | 5     |
39015 * |                                 |     | dd      | 01, 02, ..., 31                   |       |
39016 * | Day of year                     |  90 | D       | 1, 2, ..., 365, 366               | 7     |
39017 * |                                 |     | Do      | 1st, 2nd, ..., 365th, 366th       | 5     |
39018 * |                                 |     | DD      | 01, 02, ..., 365, 366             | 7     |
39019 * |                                 |     | DDD     | 001, 002, ..., 365, 366           |       |
39020 * |                                 |     | DDDD    | ...                               | 2     |
39021 * | Day of week (formatting)        |  90 | E..EEE  | Mon, Tue, Wed, ..., Sun           |       |
39022 * |                                 |     | EEEE    | Monday, Tuesday, ..., Sunday      | 2     |
39023 * |                                 |     | EEEEE   | M, T, W, T, F, S, S               |       |
39024 * |                                 |     | EEEEEE  | Mo, Tu, We, Th, Fr, Sa, Su        |       |
39025 * | ISO day of week (formatting)    |  90 | i       | 1, 2, 3, ..., 7                   | 5     |
39026 * |                                 |     | io      | 1st, 2nd, ..., 7th                | 5     |
39027 * |                                 |     | ii      | 01, 02, ..., 07                   | 5     |
39028 * |                                 |     | iii     | Mon, Tue, Wed, ..., Sun           | 5     |
39029 * |                                 |     | iiii    | Monday, Tuesday, ..., Sunday      | 2,5   |
39030 * |                                 |     | iiiii   | M, T, W, T, F, S, S               | 5     |
39031 * |                                 |     | iiiiii  | Mo, Tu, We, Th, Fr, Sa, Su        | 5     |
39032 * | Local day of week (formatting)  |  90 | e       | 2, 3, 4, ..., 1                   |       |
39033 * |                                 |     | eo      | 2nd, 3rd, ..., 1st                | 5     |
39034 * |                                 |     | ee      | 02, 03, ..., 01                   |       |
39035 * |                                 |     | eee     | Mon, Tue, Wed, ..., Sun           |       |
39036 * |                                 |     | eeee    | Monday, Tuesday, ..., Sunday      | 2     |
39037 * |                                 |     | eeeee   | M, T, W, T, F, S, S               |       |
39038 * |                                 |     | eeeeee  | Mo, Tu, We, Th, Fr, Sa, Su        |       |
39039 * | Local day of week (stand-alone) |  90 | c       | 2, 3, 4, ..., 1                   |       |
39040 * |                                 |     | co      | 2nd, 3rd, ..., 1st                | 5     |
39041 * |                                 |     | cc      | 02, 03, ..., 01                   |       |
39042 * |                                 |     | ccc     | Mon, Tue, Wed, ..., Sun           |       |
39043 * |                                 |     | cccc    | Monday, Tuesday, ..., Sunday      | 2     |
39044 * |                                 |     | ccccc   | M, T, W, T, F, S, S               |       |
39045 * |                                 |     | cccccc  | Mo, Tu, We, Th, Fr, Sa, Su        |       |
39046 * | AM, PM                          |  80 | a..aaa  | AM, PM                            |       |
39047 * |                                 |     | aaaa    | a.m., p.m.                        | 2     |
39048 * |                                 |     | aaaaa   | a, p                              |       |
39049 * | AM, PM, noon, midnight          |  80 | b..bbb  | AM, PM, noon, midnight            |       |
39050 * |                                 |     | bbbb    | a.m., p.m., noon, midnight        | 2     |
39051 * |                                 |     | bbbbb   | a, p, n, mi                       |       |
39052 * | Flexible day period             |  80 | B..BBB  | at night, in the morning, ...     |       |
39053 * |                                 |     | BBBB    | at night, in the morning, ...     | 2     |
39054 * |                                 |     | BBBBB   | at night, in the morning, ...     |       |
39055 * | Hour [1-12]                     |  70 | h       | 1, 2, ..., 11, 12                 |       |
39056 * |                                 |     | ho      | 1st, 2nd, ..., 11th, 12th         | 5     |
39057 * |                                 |     | hh      | 01, 02, ..., 11, 12               |       |
39058 * | Hour [0-23]                     |  70 | H       | 0, 1, 2, ..., 23                  |       |
39059 * |                                 |     | Ho      | 0th, 1st, 2nd, ..., 23rd          | 5     |
39060 * |                                 |     | HH      | 00, 01, 02, ..., 23               |       |
39061 * | Hour [0-11]                     |  70 | K       | 1, 2, ..., 11, 0                  |       |
39062 * |                                 |     | Ko      | 1st, 2nd, ..., 11th, 0th          | 5     |
39063 * |                                 |     | KK      | 01, 02, ..., 11, 00               |       |
39064 * | Hour [1-24]                     |  70 | k       | 24, 1, 2, ..., 23                 |       |
39065 * |                                 |     | ko      | 24th, 1st, 2nd, ..., 23rd         | 5     |
39066 * |                                 |     | kk      | 24, 01, 02, ..., 23               |       |
39067 * | Minute                          |  60 | m       | 0, 1, ..., 59                     |       |
39068 * |                                 |     | mo      | 0th, 1st, ..., 59th               | 5     |
39069 * |                                 |     | mm      | 00, 01, ..., 59                   |       |
39070 * | Second                          |  50 | s       | 0, 1, ..., 59                     |       |
39071 * |                                 |     | so      | 0th, 1st, ..., 59th               | 5     |
39072 * |                                 |     | ss      | 00, 01, ..., 59                   |       |
39073 * | Seconds timestamp               |  40 | t       | 512969520                         |       |
39074 * |                                 |     | tt      | ...                               | 2     |
39075 * | Fraction of second              |  30 | S       | 0, 1, ..., 9                      |       |
39076 * |                                 |     | SS      | 00, 01, ..., 99                   |       |
39077 * |                                 |     | SSS     | 000, 001, ..., 999                |       |
39078 * |                                 |     | SSSS    | ...                               | 2     |
39079 * | Milliseconds timestamp          |  20 | T       | 512969520900                      |       |
39080 * |                                 |     | TT      | ...                               | 2     |
39081 * | Timezone (ISO-8601 w/ Z)        |  10 | X       | -08, +0530, Z                     |       |
39082 * |                                 |     | XX      | -0800, +0530, Z                   |       |
39083 * |                                 |     | XXX     | -08:00, +05:30, Z                 |       |
39084 * |                                 |     | XXXX    | -0800, +0530, Z, +123456          | 2     |
39085 * |                                 |     | XXXXX   | -08:00, +05:30, Z, +12:34:56      |       |
39086 * | Timezone (ISO-8601 w/o Z)       |  10 | x       | -08, +0530, +00                   |       |
39087 * |                                 |     | xx      | -0800, +0530, +0000               |       |
39088 * |                                 |     | xxx     | -08:00, +05:30, +00:00            | 2     |
39089 * |                                 |     | xxxx    | -0800, +0530, +0000, +123456      |       |
39090 * |                                 |     | xxxxx   | -08:00, +05:30, +00:00, +12:34:56 |       |
39091 * | Long localized date             |  NA | P       | 05/29/1453                        | 5,8   |
39092 * |                                 |     | PP      | May 29, 1453                      |       |
39093 * |                                 |     | PPP     | May 29th, 1453                    |       |
39094 * |                                 |     | PPPP    | Sunday, May 29th, 1453            | 2,5,8 |
39095 * | Long localized time             |  NA | p       | 12:00 AM                          | 5,8   |
39096 * |                                 |     | pp      | 12:00:00 AM                       |       |
39097 * | Combination of date and time    |  NA | Pp      | 05/29/1453, 12:00 AM              |       |
39098 * |                                 |     | PPpp    | May 29, 1453, 12:00:00 AM         |       |
39099 * |                                 |     | PPPpp   | May 29th, 1453 at ...             |       |
39100 * |                                 |     | PPPPpp  | Sunday, May 29th, 1453 at ...     | 2,5,8 |
39101 * Notes:
39102 * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale
39103 *    are the same as "stand-alone" units, but are different in some languages.
39104 *    "Formatting" units are declined according to the rules of the language
39105 *    in the context of a date. "Stand-alone" units are always nominative singular.
39106 *    In `format` function, they will produce different result:
39107 *
39108 *    `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`
39109 *
39110 *    `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`
39111 *
39112 *    `parse` will try to match both formatting and stand-alone units interchangeably.
39113 *
39114 * 2. Any sequence of the identical letters is a pattern, unless it is escaped by
39115 *    the single quote characters (see below).
39116 *    If the sequence is longer than listed in table:
39117 *    - for numerical units (`yyyyyyyy`) `parse` will try to match a number
39118 *      as wide as the sequence
39119 *    - for text units (`MMMMMMMM`) `parse` will try to match the widest variation of the unit.
39120 *      These variations are marked with "2" in the last column of the table.
39121 *
39122 * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.
39123 *    These tokens represent the shortest form of the quarter.
39124 *
39125 * 4. The main difference between `y` and `u` patterns are B.C. years:
39126 *
39127 *    | Year | `y` | `u` |
39128 *    |------|-----|-----|
39129 *    | AC 1 |   1 |   1 |
39130 *    | BC 1 |   1 |   0 |
39131 *    | BC 2 |   2 |  -1 |
39132 *
39133 *    Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`:
39134 *
39135 *    `parse('50', 'yy', new Date(2018, 0, 1)) //=> Sat Jan 01 2050 00:00:00`
39136 *
39137 *    `parse('75', 'yy', new Date(2018, 0, 1)) //=> Wed Jan 01 1975 00:00:00`
39138 *
39139 *    while `uu` will just assign the year as is:
39140 *
39141 *    `parse('50', 'uu', new Date(2018, 0, 1)) //=> Sat Jan 01 0050 00:00:00`
39142 *
39143 *    `parse('75', 'uu', new Date(2018, 0, 1)) //=> Tue Jan 01 0075 00:00:00`
39144 *
39145 *    The same difference is true for local and ISO week-numbering years (`Y` and `R`),
39146 *    except local week-numbering years are dependent on `options.weekStartsOn`
39147 *    and `options.firstWeekContainsDate` (compare [setISOWeekYear](https://date-fns.org/docs/setISOWeekYear)
39148 *    and [setWeekYear](https://date-fns.org/docs/setWeekYear)).
39149 *
39150 * 5. These patterns are not in the Unicode Technical Standard #35:
39151 *    - `i`: ISO day of week
39152 *    - `I`: ISO week of year
39153 *    - `R`: ISO week-numbering year
39154 *    - `o`: ordinal number modifier
39155 *    - `P`: long localized date
39156 *    - `p`: long localized time
39157 *
39158 * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
39159 *    You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
39160 *
39161 * 7. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.
39162 *    You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
39163 *
39164 * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based
39165 *    on the given locale.
39166 *
39167 *    using `en-US` locale: `P` => `MM/dd/yyyy`
39168 *    using `en-US` locale: `p` => `hh:mm a`
39169 *    using `pt-BR` locale: `P` => `dd/MM/yyyy`
39170 *    using `pt-BR` locale: `p` => `HH:mm`
39171 *
39172 * Values will be assigned to the date in the descending order of its unit's priority.
39173 * Units of an equal priority overwrite each other in the order of appearance.
39174 *
39175 * If no values of higher priority are parsed (e.g. when parsing string 'January 1st' without a year),
39176 * the values will be taken from 3rd argument `referenceDate` which works as a context of parsing.
39177 *
39178 * `referenceDate` must be passed for correct work of the function.
39179 * If you're not sure which `referenceDate` to supply, create a new instance of Date:
39180 * `parse('02/11/2014', 'MM/dd/yyyy', new Date())`
39181 * In this case parsing will be done in the context of the current date.
39182 * If `referenceDate` is `Invalid Date` or a value not convertible to valid `Date`,
39183 * then `Invalid Date` will be returned.
39184 *
39185 * The result may vary by locale.
39186 *
39187 * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned.
39188 *
39189 * If parsing failed, `Invalid Date` will be returned.
39190 * Invalid Date is a Date, whose time value is NaN.
39191 * Time value of Date: http://es5.github.io/#x15.9.1.1
39192 *
39193 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
39194 * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
39195 *
39196 * @param dateStr - The string to parse
39197 * @param formatStr - The string of tokens
39198 * @param referenceDate - defines values missing from the parsed dateString
39199 * @param options - An object with options.
39200 *   see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
39201 *   see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
39202 *
39203 * @returns The parsed date
39204 *
39205 * @throws `options.locale` must contain `match` property
39206 * @throws use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
39207 * @throws use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
39208 * @throws use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
39209 * @throws use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
39210 * @throws format string contains an unescaped latin alphabet character
39211 *
39212 * @example
39213 * // Parse 11 February 2014 from middle-endian format:
39214 * var result = parse('02/11/2014', 'MM/dd/yyyy', new Date())
39215 * //=> Tue Feb 11 2014 00:00:00
39216 *
39217 * @example
39218 * // Parse 28th of February in Esperanto locale in the context of 2010 year:
39219 * import eo from 'date-fns/locale/eo'
39220 * var result = parse('28-a de februaro', "do 'de' MMMM", new Date(2010, 0, 1), {
39221 *   locale: eo
39222 * })
39223 * //=> Sun Feb 28 2010 00:00:00
39224 */
vendor: 2,954 bytes, lines 39225-39297
39225function parse(dateStr, formatStr, referenceDate, options) {
39226  const invalidDate = () => (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_3__.constructFrom)(options?.in || referenceDate, NaN);
39227  const defaultOptions = (0,_getDefaultOptions_js__WEBPACK_IMPORTED_MODULE_4__.getDefaultOptions)();
39228  const locale = options?.locale ?? defaultOptions.locale ?? _lib_defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.enUS;
39229
39230  const firstWeekContainsDate =
39231    options?.firstWeekContainsDate ??
39232    options?.locale?.options?.firstWeekContainsDate ??
39233    defaultOptions.firstWeekContainsDate ??
39234    defaultOptions.locale?.options?.firstWeekContainsDate ??
39235    1;
39236
39237  const weekStartsOn =
39238    options?.weekStartsOn ??
39239    options?.locale?.options?.weekStartsOn ??
39240    defaultOptions.weekStartsOn ??
39241    defaultOptions.locale?.options?.weekStartsOn ??
39242    0;
39243
39244  if (!formatStr)
39245    return dateStr ? invalidDate() : (0,_toDate_js__WEBPACK_IMPORTED_MODULE_5__.toDate)(referenceDate, options?.in);
39246
39247  const subFnOptions = {
39248    firstWeekContainsDate,
39249    weekStartsOn,
39250    locale,
39251  };
39252
39253  // If timezone isn't specified, it will try to use the context or
39254  // the reference date and fallback to the system time zone.
39255  const setters = [new _parse_lib_Setter_js__WEBPACK_IMPORTED_MODULE_6__.DateTimezoneSetter(options?.in, referenceDate)];
39256
39257  const tokens = formatStr
39258    .match(longFormattingTokensRegExp)
39259    .map((substring) => {
39260      const firstCharacter = substring[0];
39261      if (firstCharacter in _lib_format_longFormatters_js__WEBPACK_IMPORTED_MODULE_1__.longFormatters) {
39262        const longFormatter = _lib_format_longFormatters_js__WEBPACK_IMPORTED_MODULE_1__.longFormatters[firstCharacter];
39263        return longFormatter(substring, locale.formatLong);
39264      }
39265      return substring;
39266    })
39267    .join("")
39268    .match(formattingTokensRegExp);
39269
39270  const usedTokens = [];
39271
39272  for (let token of tokens) {
39273    if (
39274      !options?.useAdditionalWeekYearTokens &&
39275      (0,_lib_protectedTokens_js__WEBPACK_IMPORTED_MODULE_2__.isProtectedWeekYearToken)(token)
39276    ) {
39277      (0,_lib_protectedTokens_js__WEBPACK_IMPORTED_MODULE_2__.warnOrThrowProtectedError)(token, formatStr, dateStr);
39278    }
39279    if (
39280      !options?.useAdditionalDayOfYearTokens &&
39281      (0,_lib_protectedTokens_js__WEBPACK_IMPORTED_MODULE_2__.isProtectedDayOfYearToken)(token)
39282    ) {
39283      (0,_lib_protectedTokens_js__WEBPACK_IMPORTED_MODULE_2__.warnOrThrowProtectedError)(token, formatStr, dateStr);
39284    }
39285
39286    const firstCharacter = token[0];
39287    const parser = _parse_lib_parsers_js__WEBPACK_IMPORTED_MODULE_7__.parsers[firstCharacter];
39288    if (parser) {
39289      const { incompatibleTokens } = parser;
39290      if (Array.isArray(incompatibleTokens)) {
39291        const incompatibleToken = usedTokens.find(
39292          (usedToken) =>
39293            incompatibleTokens.includes(usedToken.token) ||
39294            usedToken.token === firstCharacter,
39295        );
39296        if (incompatibleToken) {
39297          throw new RangeError(
vendor: 4,991 bytes, lines 39298-39464
39298            `The format string mustn't contain \`${incompatibleToken.fullToken}\` and \`${token}\` at the same time`,
39299          );
39300        }
39301      } else if (parser.incompatibleTokens === "*" && usedTokens.length > 0) {
39302        throw new RangeError(
39303          `The format string mustn't contain \`${token}\` and any other token at the same time`,
39304        );
39305      }
39306
39307      usedTokens.push({ token: firstCharacter, fullToken: token });
39308
39309      const parseResult = parser.run(
39310        dateStr,
39311        token,
39312        locale.match,
39313        subFnOptions,
39314      );
39315
39316      if (!parseResult) {
39317        return invalidDate();
39318      }
39319
39320      setters.push(parseResult.setter);
39321
39322      dateStr = parseResult.rest;
39323    } else {
39324      if (firstCharacter.match(unescapedLatinCharacterRegExp)) {
39325        throw new RangeError(
39326          "Format string contains an unescaped latin alphabet character `" +
39327            firstCharacter +
39328            "`",
39329        );
39330      }
39331
39332      // Replace two single quote characters with one single quote character
39333      if (token === "''") {
39334        token = "'";
39335      } else if (firstCharacter === "'") {
39336        token = cleanEscapedString(token);
39337      }
39338
39339      // Cut token from string, or, if string doesn't match the token, return Invalid Date
39340      if (dateStr.indexOf(token) === 0) {
39341        dateStr = dateStr.slice(token.length);
39342      } else {
39343        return invalidDate();
39344      }
39345    }
39346  }
39347
39348  // Check if the remaining input contains something other than whitespace
39349  if (dateStr.length > 0 && notWhitespaceRegExp.test(dateStr)) {
39350    return invalidDate();
39351  }
39352
39353  const uniquePrioritySetters = setters
39354    .map((setter) => setter.priority)
39355    .sort((a, b) => b - a)
39356    .filter((priority, index, array) => array.indexOf(priority) === index)
39357    .map((priority) =>
39358      setters
39359        .filter((setter) => setter.priority === priority)
39360        .sort((a, b) => b.subPriority - a.subPriority),
39361    )
39362    .map((setterArray) => setterArray[0]);
39363
39364  let date = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_5__.toDate)(referenceDate, options?.in);
39365
39366  if (isNaN(+date)) return invalidDate();
39367
39368  const flags = {};
39369  for (const setter of uniquePrioritySetters) {
39370    if (!setter.validate(date, subFnOptions)) {
39371      return invalidDate();
39372    }
39373
39374    const result = setter.set(date, flags, subFnOptions);
39375    // Result is tuple (date, flags)
39376    if (Array.isArray(result)) {
39377      date = result[0];
39378      Object.assign(flags, result[1]);
39379      // Result is date
39380    } else {
39381      date = result;
39382    }
39383  }
39384
39385  return date;
39386}
39387
39388function cleanEscapedString(input) {
39389  return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
39390}
39391
39392
39393/***/ },
39394
39395/***/ "./node_modules/date-fns/parse/_lib/Parser.js"
39396/*!****************************************************!*\
39397  !*** ./node_modules/date-fns/parse/_lib/Parser.js ***!
39398  \****************************************************/
39399(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
39400
39401"use strict";
39402__webpack_require__.r(__webpack_exports__);
39403/* harmony export */ __webpack_require__.d(__webpack_exports__, {
39404/* harmony export */   Parser: () => (/* binding */ Parser)
39405/* harmony export */ });
39406/* harmony import */ var _Setter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Setter.js */ "./node_modules/date-fns/parse/_lib/Setter.js");
39407
39408
39409class Parser {
39410  run(dateString, token, match, options) {
39411    const result = this.parse(dateString, token, match, options);
39412    if (!result) {
39413      return null;
39414    }
39415
39416    return {
39417      setter: new _Setter_js__WEBPACK_IMPORTED_MODULE_0__.ValueSetter(
39418        result.value,
39419        this.validate,
39420        this.set,
39421        this.priority,
39422        this.subPriority,
39423      ),
39424      rest: result.rest,
39425    };
39426  }
39427
39428  validate(_utcDate, _value, _options) {
39429    return true;
39430  }
39431}
39432
39433
39434/***/ },
39435
39436/***/ "./node_modules/date-fns/parse/_lib/Setter.js"
39437/*!****************************************************!*\
39438  !*** ./node_modules/date-fns/parse/_lib/Setter.js ***!
39439  \****************************************************/
39440(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
39441
39442"use strict";
39443__webpack_require__.r(__webpack_exports__);
39444/* harmony export */ __webpack_require__.d(__webpack_exports__, {
39445/* harmony export */   DateTimezoneSetter: () => (/* binding */ DateTimezoneSetter),
39446/* harmony export */   Setter: () => (/* binding */ Setter),
39447/* harmony export */   ValueSetter: () => (/* binding */ ValueSetter)
39448/* harmony export */ });
39449/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
39450/* harmony import */ var _transpose_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../transpose.js */ "./node_modules/date-fns/transpose.js");
39451
39452
39453
39454const TIMEZONE_UNIT_PRIORITY = 10;
39455
39456class Setter {
39457  subPriority = 0;
39458
39459  validate(_utcDate, _options) {
39460    return true;
39461  }
39462}
39463
39464class ValueSetter extends Setter {
39465  constructor(
39466    value,
39467
39468    validateValue,
39469
39470    setValue,
39471
39472    priority,
39473    subPriority,
39474  ) {
39475    super();
39476    this.value = value;
39477    this.validateValue = validateValue;
39478    this.setValue = setValue;
39479    this.priority = priority;
39480    if (subPriority) {
39481      this.subPriority = subPriority;
39482    }
39483  }
39484
39485  validate(date, options) {
39486    return this.validateValue(date, this.value, options);
39487  }
39488
39489  set(date, flags, options) {
39490    return this.setValue(date, flags, this.value, options);
39491  }
39492}
39493
39494class DateTimezoneSetter extends Setter {
39495  priority = TIMEZONE_UNIT_PRIORITY;
39496  subPriority = -1;
39497
39498  constructor(context, reference) {
39499    super();
39500    this.context = context || ((date) => (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(reference, date));
39501  }
39502
39503  set(date, flags) {
39504    if (flags.timestampIsSet) return date;
39505    return (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(date, (0,_transpose_js__WEBPACK_IMPORTED_MODULE_1__.transpose)(date, this.context));
39506  }
39507}
39508
39509
39510/***/ },
39511
39512/***/ "./node_modules/date-fns/parse/_lib/constants.js"
39513/*!*******************************************************!*\
39514  !*** ./node_modules/date-fns/parse/_lib/constants.js ***!
39515  \*******************************************************/
39516(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
39517
39518"use strict";
39519__webpack_require__.r(__webpack_exports__);
39520/* harmony export */ __webpack_require__.d(__webpack_exports__, {
39521/* harmony export */   numericPatterns: () => (/* binding */ numericPatterns),
39522/* harmony export */   timezonePatterns: () => (/* binding */ timezonePatterns)
39523/* harmony export */ });
39524const numericPatterns = {
39525  month: /^(1[0-2]|0?\d)/, // 0 to 12
39526  date: /^(3[0-1]|[0-2]?\d)/, // 0 to 31
39527  dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/, // 0 to 366
39528  week: /^(5[0-3]|[0-4]?\d)/, // 0 to 53
39529  hour23h: /^(2[0-3]|[0-1]?\d)/, // 0 to 23
39530  hour24h: /^(2[0-4]|[0-1]?\d)/, // 0 to 24
39531  hour11h: /^(1[0-1]|0?\d)/, // 0 to 11
39532  hour12h: /^(1[0-2]|0?\d)/, // 0 to 12
39533  minute: /^[0-5]?\d/, // 0 to 59
39534  second: /^[0-5]?\d/, // 0 to 59
39535
39536  singleDigit: /^\d/, // 0 to 9
39537  twoDigits: /^\d{1,2}/, // 0 to 99
39538  threeDigits: /^\d{1,3}/, // 0 to 999
39539  fourDigits: /^\d{1,4}/, // 0 to 9999
39540
39541  anyDigitsSigned: /^-?\d+/,
39542  singleDigitSigned: /^-?\d/, // 0 to 9, -0 to -9
39543  twoDigitsSigned: /^-?\d{1,2}/, // 0 to 99, -0 to -99
39544  threeDigitsSigned: /^-?\d{1,3}/, // 0 to 999, -0 to -999
39545  fourDigitsSigned: /^-?\d{1,4}/, // 0 to 9999, -0 to -9999
39546};
39547
39548const timezonePatterns = {
39549  basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
39550  basic: /^([+-])(\d{2})(\d{2})|Z/,
39551  basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
39552  extended: /^([+-])(\d{2}):(\d{2})|Z/,
39553  extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/,
39554};
39555
39556
39557/***/ },
39558
39559/***/ "./node_modules/date-fns/parse/_lib/parsers.js"
39560/*!*****************************************************!*\
39561  !*** ./node_modules/date-fns/parse/_lib/parsers.js ***!
39562  \*****************************************************/
39563(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
39564
39565"use strict";
39566__webpack_require__.r(__webpack_exports__);
39567/* harmony export */ __webpack_require__.d(__webpack_exports__, {
39568/* harmony export */   parsers: () => (/* binding */ parsers)
39569/* harmony export */ });
39570/* harmony import */ var _parsers_EraParser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parsers/EraParser.js */ "./node_modules/date-fns/parse/_lib/parsers/EraParser.js");
39571/* harmony import */ var _parsers_YearParser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parsers/YearParser.js */ "./node_modules/date-fns/parse/_lib/parsers/YearParser.js");
39572/* harmony import */ var _parsers_LocalWeekYearParser_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./parsers/LocalWeekYearParser.js */ "./node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js");
39573/* harmony import */ var _parsers_ISOWeekYearParser_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./parsers/ISOWeekYearParser.js */ "./node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js");
39574/* harmony import */ var _parsers_ExtendedYearParser_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./parsers/ExtendedYearParser.js */ "./node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js");
39575/* harmony import */ var _parsers_QuarterParser_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./parsers/QuarterParser.js */ "./node_modules/date-fns/parse/_lib/parsers/QuarterParser.js");
39576/* harmony import */ var _parsers_StandAloneQuarterParser_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./parsers/StandAloneQuarterParser.js */ "./node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js");
39577/* harmony import */ var _parsers_MonthParser_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./parsers/MonthParser.js */ "./node_modules/date-fns/parse/_lib/parsers/MonthParser.js");
39578/* harmony import */ var _parsers_StandAloneMonthParser_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./parsers/StandAloneMonthParser.js */ "./node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js");
39579/* harmony import */ var _parsers_LocalWeekParser_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./parsers/LocalWeekParser.js */ "./node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js");
39580/* harmony import */ var _parsers_ISOWeekParser_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./parsers/ISOWeekParser.js */ "./node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js");
39581/* harmony import */ var _parsers_DateParser_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./parsers/DateParser.js */ "./node_modules/date-fns/parse/_lib/parsers/DateParser.js");
39582/* harmony import */ var _parsers_DayOfYearParser_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./parsers/DayOfYearParser.js */ "./node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js");
39583/* harmony import */ var _parsers_DayParser_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./parsers/DayParser.js */ "./node_modules/date-fns/parse/_lib/parsers/DayParser.js");
39584/* harmony import */ var _parsers_LocalDayParser_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./parsers/LocalDayParser.js */ "./node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js");
39585/* harmony import */ var _parsers_StandAloneLocalDayParser_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./parsers/StandAloneLocalDayParser.js */ "./node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js");
39586/* harmony import */ var _parsers_ISODayParser_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./parsers/ISODayParser.js */ "./node_modules/date-fns/parse/_lib/parsers/ISODayParser.js");
39587/* harmony import */ var _parsers_AMPMParser_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./parsers/AMPMParser.js */ "./node_modules/date-fns/parse/_lib/parsers/AMPMParser.js");
39588/* harmony import */ var _parsers_AMPMMidnightParser_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./parsers/AMPMMidnightParser.js */ "./node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js");
39589/* harmony import */ var _parsers_DayPeriodParser_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./parsers/DayPeriodParser.js */ "./node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js");
39590/* harmony import */ var _parsers_Hour1to12Parser_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./parsers/Hour1to12Parser.js */ "./node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js");
39591/* harmony import */ var _parsers_Hour0to23Parser_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./parsers/Hour0to23Parser.js */ "./node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js");
39592/* harmony import */ var _parsers_Hour0To11Parser_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./parsers/Hour0To11Parser.js */ "./node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js");
39593/* harmony import */ var _parsers_Hour1To24Parser_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./parsers/Hour1To24Parser.js */ "./node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js");
39594/* harmony import */ var _parsers_MinuteParser_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./parsers/MinuteParser.js */ "./node_modules/date-fns/parse/_lib/parsers/MinuteParser.js");
39595/* harmony import */ var _parsers_SecondParser_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./parsers/SecondParser.js */ "./node_modules/date-fns/parse/_lib/parsers/SecondParser.js");
39596/* harmony import */ var _parsers_FractionOfSecondParser_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./parsers/FractionOfSecondParser.js */ "./node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js");
39597/* harmony import */ var _parsers_ISOTimezoneWithZParser_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./parsers/ISOTimezoneWithZParser.js */ "./node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js");
39598/* harmony import */ var _parsers_ISOTimezoneParser_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./parsers/ISOTimezoneParser.js */ "./node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js");
39599/* harmony import */ var _parsers_TimestampSecondsParser_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./parsers/TimestampSecondsParser.js */ "./node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js");
39600/* harmony import */ var _parsers_TimestampMillisecondsParser_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./parsers/TimestampMillisecondsParser.js */ "./node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js");
39601
39602
39603
39604
39605
39606
39607
39608
39609
39610
39611
39612
39613
39614
39615
39616
39617
39618
39619
39620
39621
39622
39623
39624
39625
39626
39627
39628
39629
39630
39631
39632
39633/*
39634 * |     | Unit                           |     | Unit                           |
39635 * |-----|--------------------------------|-----|--------------------------------|
39636 * |  a  | AM, PM                         |  A* | Milliseconds in day            |
39637 * |  b  | AM, PM, noon, midnight         |  B  | Flexible day period            |
39638 * |  c  | Stand-alone local day of week  |  C* | Localized hour w/ day period   |
39639 * |  d  | Day of month                   |  D  | Day of year                    |
39640 * |  e  | Local day of week              |  E  | Day of week                    |
39641 * |  f  |                                |  F* | Day of week in month           |
39642 * |  g* | Modified Julian day            |  G  | Era                            |
39643 * |  h  | Hour [1-12]                    |  H  | Hour [0-23]                    |
39644 * |  i! | ISO day of week                |  I! | ISO week of year               |
39645 * |  j* | Localized hour w/ day period   |  J* | Localized hour w/o day period  |
39646 * |  k  | Hour [1-24]                    |  K  | Hour [0-11]                    |
39647 * |  l* | (deprecated)                   |  L  | Stand-alone month              |
39648 * |  m  | Minute                         |  M  | Month                          |
39649 * |  n  |                                |  N  |                                |
39650 * |  o! | Ordinal number modifier        |  O* | Timezone (GMT)                 |
39651 * |  p  |                                |  P  |                                |
39652 * |  q  | Stand-alone quarter            |  Q  | Quarter                        |
39653 * |  r* | Related Gregorian year         |  R! | ISO week-numbering year        |
39654 * |  s  | Second                         |  S  | Fraction of second             |
39655 * |  t! | Seconds timestamp              |  T! | Milliseconds timestamp         |
39656 * |  u  | Extended year                  |  U* | Cyclic year                    |
39657 * |  v* | Timezone (generic non-locat.)  |  V* | Timezone (location)            |
39658 * |  w  | Local week of year             |  W* | Week of month                  |
39659 * |  x  | Timezone (ISO-8601 w/o Z)      |  X  | Timezone (ISO-8601)            |
39660 * |  y  | Year (abs)                     |  Y  | Local week-numbering year      |
39661 * |  z* | Timezone (specific non-locat.) |  Z* | Timezone (aliases)             |
39662 *
39663 * Letters marked by * are not implemented but reserved by Unicode standard.
39664 *
39665 * Letters marked by ! are non-standard, but implemented by date-fns:
39666 * - `o` modifies the previous token to turn it into an ordinal (see `parse` docs)
39667 * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,
39668 *   i.e. 7 for Sunday, 1 for Monday, etc.
39669 * - `I` is ISO week of year, as opposed to `w` which is local week of year.
39670 * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.
39671 *   `R` is supposed to be used in conjunction with `I` and `i`
39672 *   for universal ISO week-numbering date, whereas
39673 *   `Y` is supposed to be used in conjunction with `w` and `e`
39674 *   for week-numbering date specific to the locale.
39675 */
39676const parsers = {
39677  G: new _parsers_EraParser_js__WEBPACK_IMPORTED_MODULE_0__.EraParser(),
39678  y: new _parsers_YearParser_js__WEBPACK_IMPORTED_MODULE_1__.YearParser(),
39679  Y: new _parsers_LocalWeekYearParser_js__WEBPACK_IMPORTED_MODULE_2__.LocalWeekYearParser(),
39680  R: new _parsers_ISOWeekYearParser_js__WEBPACK_IMPORTED_MODULE_3__.ISOWeekYearParser(),
39681  u: new _parsers_ExtendedYearParser_js__WEBPACK_IMPORTED_MODULE_4__.ExtendedYearParser(),
39682  Q: new _parsers_QuarterParser_js__WEBPACK_IMPORTED_MODULE_5__.QuarterParser(),
39683  q: new _parsers_StandAloneQuarterParser_js__WEBPACK_IMPORTED_MODULE_6__.StandAloneQuarterParser(),
39684  M: new _parsers_MonthParser_js__WEBPACK_IMPORTED_MODULE_7__.MonthParser(),
39685  L: new _parsers_StandAloneMonthParser_js__WEBPACK_IMPORTED_MODULE_8__.StandAloneMonthParser(),
39686  w: new _parsers_LocalWeekParser_js__WEBPACK_IMPORTED_MODULE_9__.LocalWeekParser(),
39687  I: new _parsers_ISOWeekParser_js__WEBPACK_IMPORTED_MODULE_10__.ISOWeekParser(),
39688  d: new _parsers_DateParser_js__WEBPACK_IMPORTED_MODULE_11__.DateParser(),
39689  D: new _parsers_DayOfYearParser_js__WEBPACK_IMPORTED_MODULE_12__.DayOfYearParser(),
39690  E: new _parsers_DayParser_js__WEBPACK_IMPORTED_MODULE_13__.DayParser(),
39691  e: new _parsers_LocalDayParser_js__WEBPACK_IMPORTED_MODULE_14__.LocalDayParser(),
39692  c: new _parsers_StandAloneLocalDayParser_js__WEBPACK_IMPORTED_MODULE_15__.StandAloneLocalDayParser(),
39693  i: new _parsers_ISODayParser_js__WEBPACK_IMPORTED_MODULE_16__.ISODayParser(),
39694  a: new _parsers_AMPMParser_js__WEBPACK_IMPORTED_MODULE_17__.AMPMParser(),
39695  b: new _parsers_AMPMMidnightParser_js__WEBPACK_IMPORTED_MODULE_18__.AMPMMidnightParser(),
39696  B: new _parsers_DayPeriodParser_js__WEBPACK_IMPORTED_MODULE_19__.DayPeriodParser(),
39697  h: new _parsers_Hour1to12Parser_js__WEBPACK_IMPORTED_MODULE_20__.Hour1to12Parser(),
39698  H: new _parsers_Hour0to23Parser_js__WEBPACK_IMPORTED_MODULE_21__.Hour0to23Parser(),
39699  K: new _parsers_Hour0To11Parser_js__WEBPACK_IMPORTED_MODULE_22__.Hour0To11Parser(),
39700  k: new _parsers_Hour1To24Parser_js__WEBPACK_IMPORTED_MODULE_23__.Hour1To24Parser(),
39701  m: new _parsers_MinuteParser_js__WEBPACK_IMPORTED_MODULE_24__.MinuteParser(),
39702  s: new _parsers_SecondParser_js__WEBPACK_IMPORTED_MODULE_25__.SecondParser(),
39703  S: new _parsers_FractionOfSecondParser_js__WEBPACK_IMPORTED_MODULE_26__.FractionOfSecondParser(),
39704  X: new _parsers_ISOTimezoneWithZParser_js__WEBPACK_IMPORTED_MODULE_27__.ISOTimezoneWithZParser(),
39705  x: new _parsers_ISOTimezoneParser_js__WEBPACK_IMPORTED_MODULE_28__.ISOTimezoneParser(),
39706  t: new _parsers_TimestampSecondsParser_js__WEBPACK_IMPORTED_MODULE_29__.TimestampSecondsParser(),
39707  T: new _parsers_TimestampMillisecondsParser_js__WEBPACK_IMPORTED_MODULE_30__.TimestampMillisecondsParser(),
39708};
39709
39710
39711/***/ },
39712
39713/***/ "./node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js"
39714/*!************************************************************************!*\
39715  !*** ./node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js ***!
39716  \************************************************************************/
39717(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
39718
39719"use strict";
39720__webpack_require__.r(__webpack_exports__);
39721/* harmony export */ __webpack_require__.d(__webpack_exports__, {
39722/* harmony export */   AMPMMidnightParser: () => (/* binding */ AMPMMidnightParser)
39723/* harmony export */ });
39724/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Parser.js
39724 */ "./node_modules/date-fns/parse/_lib/Parser.js");
39725/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
39726
39727
39728
39729
39730class AMPMMidnightParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_0__.Parser {
39731  priority = 80;
39732
39733  parse(dateString, token, match) {
39734    switch (token) {
39735      case "b":
39736      case "bb":
39737      case "bbb":
39738        return (
39739          match.dayPeriod(dateString, {
39740            width: "abbreviated",
39741            context: "formatting",
39742          }) ||
39743          match.dayPeriod(dateString, {
39744            width: "narrow",
39745            context: "formatting",
39746          })
39747        );
39748
39749      case "bbbbb":
39750        return match.dayPeriod(dateString, {
39751          width: "narrow",
39752          context: "formatting",
39753        });
39754      case "bbbb":
39755      default:
39756        return (
39757          match.dayPeriod(dateString, {
39758            width: "wide",
39759            context: "formatting",
39760          }) ||
39761          match.dayPeriod(dateString, {
39762            width: "abbreviated",
39763            context: "formatting",
39764          }) ||
39765          match.dayPeriod(dateString, {
39766            width: "narrow",
39767            context: "formatting",
39768          })
39769        );
39770    }
39771  }
39772
39773  set(date, _flags, value) {
39774    date.setHours((0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.dayPeriodEnumToHours)(value), 0, 0, 0);
39775    return date;
39776  }
39777
39778  incompatibleTokens = ["a", "B", "H", "k", "t", "T"];
39779}
39780
39781
39782/***/ },
39783
39784/***/ "./node_modules/date-fns/parse/_lib/parsers/AMPMParser.js"
39785/*!****************************************************************!*\
39786  !*** ./node_modules/date-fns/parse/_lib/parsers/AMPMParser.js ***!
39787  \****************************************************************/
39788(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
39789
39790"use strict";
39791__webpack_require__.r(__webpack_exports__);
39792/* harmony export */ __webpack_require__.d(__webpack_exports__, {
39793/* harmony export */   AMPMParser: () => (/* binding */ AMPMParser)
39794/* harmony export */ });
39795/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
39796/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
39797
39798
39799
39800
39801class AMPMParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_0__.Parser {
39802  priority = 80;
39803
39804  parse(dateString, token, match) {
39805    switch (token) {
39806      case "a":
39807      case "aa":
39808      case "aaa":
39809        return (
39810          match.dayPeriod(dateString, {
39811            width: "abbreviated",
39812            context: "formatting",
39813          }) ||
39814          match.dayPeriod(dateString, {
39815            width: "narrow",
39816            context: "formatting",
39817          })
39818        );
39819
39820      case "aaaaa":
39821        return match.dayPeriod(dateString, {
39822          width: "narrow",
39823          context: "formatting",
39824        });
39825      case "aaaa":
39826      default:
39827        return (
39828          match.dayPeriod(dateString, {
39829            width: "wide",
39830            context: "formatting",
39831          }) ||
39832          match.dayPeriod(dateString, {
39833            width: "abbreviated",
39834            context: "formatting",
39835          }) ||
39836          match.dayPeriod(dateString, {
39837            width: "narrow",
39838            context: "formatting",
39839          })
39840        );
39841    }
39842  }
39843
39844  set(date, _flags, value) {
39845    date.setHours((0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.dayPeriodEnumToHours)(value), 0, 0, 0);
39846    return date;
39847  }
39848
39849  incompatibleTokens = ["b", "B", "H", "k", "t", "T"];
39850}
39851
39852
39853/***/ },
39854
39855/***/ "./node_modules/date-fns/parse/_lib/parsers/DateParser.js"
39856/*!****************************************************************!*\
39857  !*** ./node_modules/date-fns/parse/_lib/parsers/DateParser.js ***!
39858  \****************************************************************/
39859(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
39860
39861"use strict";
39862__webpack_require__.r(__webpack_exports__);
39863/* harmony export */ __webpack_require__.d(__webpack_exports__, {
39864/* harmony export */   DateParser: () => (/* binding */ DateParser)
39865/* harmony export */ });
39866/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
39867/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
39868/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
39869
39870
39871
39872
39873
39874const DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
39875const DAYS_IN_MONTH_LEAP_YEAR = [
39876  31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31,
39877];
39878
39879// Day of the month
39880class DateParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
39881  priority = 90;
39882  subPriority = 1;
39883
39884  parse(dateString, token, match) {
39885    switch (token) {
39886      case "d":
39887        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.numericPatterns.date, dateString);
39888      case "do":
39889        return match.ordinalNumber(dateString, { unit: "date" });
39890      default:
39891        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(token.length, dateString);
39892    }
39893  }
39894
39895  validate(date, value) {
39896    const year = date.getFullYear();
39897    const isLeapYear = (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.isLeapYearIndex)(year);
vendor: 75,735 bytes, lines 39898-42126
39898    const month = date.getMonth();
39899    if (isLeapYear) {
39900      return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];
39901    } else {
39902      return value >= 1 && value <= DAYS_IN_MONTH[month];
39903    }
39904  }
39905
39906  set(date, _flags, value) {
39907    date.setDate(value);
39908    date.setHours(0, 0, 0, 0);
39909    return date;
39910  }
39911
39912  incompatibleTokens = [
39913    "Y",
39914    "R",
39915    "q",
39916    "Q",
39917    "w",
39918    "I",
39919    "D",
39920    "i",
39921    "e",
39922    "c",
39923    "t",
39924    "T",
39925  ];
39926}
39927
39928
39929/***/ },
39930
39931/***/ "./node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js"
39932/*!*********************************************************************!*\
39933  !*** ./node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js ***!
39934  \*********************************************************************/
39935(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
39936
39937"use strict";
39938__webpack_require__.r(__webpack_exports__);
39939/* harmony export */ __webpack_require__.d(__webpack_exports__, {
39940/* harmony export */   DayOfYearParser: () => (/* binding */ DayOfYearParser)
39941/* harmony export */ });
39942/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
39943/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
39944/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
39945
39946
39947
39948
39949
39950class DayOfYearParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
39951  priority = 90;
39952
39953  subpriority = 1;
39954
39955  parse(dateString, token, match) {
39956    switch (token) {
39957      case "D":
39958      case "DD":
39959        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.numericPatterns.dayOfYear, dateString);
39960      case "Do":
39961        return match.ordinalNumber(dateString, { unit: "date" });
39962      default:
39963        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(token.length, dateString);
39964    }
39965  }
39966
39967  validate(date, value) {
39968    const year = date.getFullYear();
39969    const isLeapYear = (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.isLeapYearIndex)(year);
39970    if (isLeapYear) {
39971      return value >= 1 && value <= 366;
39972    } else {
39973      return value >= 1 && value <= 365;
39974    }
39975  }
39976
39977  set(date, _flags, value) {
39978    date.setMonth(0, value);
39979    date.setHours(0, 0, 0, 0);
39980    return date;
39981  }
39982
39983  incompatibleTokens = [
39984    "Y",
39985    "R",
39986    "q",
39987    "Q",
39988    "M",
39989    "L",
39990    "w",
39991    "I",
39992    "d",
39993    "E",
39994    "i",
39995    "e",
39996    "c",
39997    "t",
39998    "T",
39999  ];
40000}
40001
40002
40003/***/ },
40004
40005/***/ "./node_modules/date-fns/parse/_lib/parsers/DayParser.js"
40006/*!***************************************************************!*\
40007  !*** ./node_modules/date-fns/parse/_lib/parsers/DayParser.js ***!
40008  \***************************************************************/
40009(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40010
40011"use strict";
40012__webpack_require__.r(__webpack_exports__);
40013/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40014/* harmony export */   DayParser: () => (/* binding */ DayParser)
40015/* harmony export */ });
40016/* harmony import */ var _setDay_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../setDay.js */ "./node_modules/date-fns/setDay.js");
40017/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40018
40019
40020
40021// Day of week
40022class DayParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
40023  priority = 90;
40024
40025  parse(dateString, token, match) {
40026    switch (token) {
40027      // Tue
40028      case "E":
40029      case "EE":
40030      case "EEE":
40031        return (
40032          match.day(dateString, {
40033            width: "abbreviated",
40034            context: "formatting",
40035          }) ||
40036          match.day(dateString, { width: "short", context: "formatting" }) ||
40037          match.day(dateString, { width: "narrow", context: "formatting" })
40038        );
40039
40040      // T
40041      case "EEEEE":
40042        return match.day(dateString, {
40043          width: "narrow",
40044          context: "formatting",
40045        });
40046      // Tu
40047      case "EEEEEE":
40048        return (
40049          match.day(dateString, { width: "short", context: "formatting" }) ||
40050          match.day(dateString, { width: "narrow", context: "formatting" })
40051        );
40052
40053      // Tuesday
40054      case "EEEE":
40055      default:
40056        return (
40057          match.day(dateString, { width: "wide", context: "formatting" }) ||
40058          match.day(dateString, {
40059            width: "abbreviated",
40060            context: "formatting",
40061          }) ||
40062          match.day(dateString, { width: "short", context: "formatting" }) ||
40063          match.day(dateString, { width: "narrow", context: "formatting" })
40064        );
40065    }
40066  }
40067
40068  validate(_date, value) {
40069    return value >= 0 && value <= 6;
40070  }
40071
40072  set(date, _flags, value, options) {
40073    date = (0,_setDay_js__WEBPACK_IMPORTED_MODULE_0__.setDay)(date, value, options);
40074    date.setHours(0, 0, 0, 0);
40075    return date;
40076  }
40077
40078  incompatibleTokens = ["D", "i", "e", "c", "t", "T"];
40079}
40080
40081
40082/***/ },
40083
40084/***/ "./node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js"
40085/*!*********************************************************************!*\
40086  !*** ./node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js ***!
40087  \*********************************************************************/
40088(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40089
40090"use strict";
40091__webpack_require__.r(__webpack_exports__);
40092/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40093/* harmony export */   DayPeriodParser: () => (/* binding */ DayPeriodParser)
40094/* harmony export */ });
40095/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40096/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40097
40098
40099
40100
40101// in the morning, in the afternoon, in the evening, at night
40102class DayPeriodParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_0__.Parser {
40103  priority = 80;
40104
40105  parse(dateString, token, match) {
40106    switch (token) {
40107      case "B":
40108      case "BB":
40109      case "BBB":
40110        return (
40111          match.dayPeriod(dateString, {
40112            width: "abbreviated",
40113            context: "formatting",
40114          }) ||
40115          match.dayPeriod(dateString, {
40116            width: "narrow",
40117            context: "formatting",
40118          })
40119        );
40120
40121      case "BBBBB":
40122        return match.dayPeriod(dateString, {
40123          width: "narrow",
40124          context: "formatting",
40125        });
40126      case "BBBB":
40127      default:
40128        return (
40129          match.dayPeriod(dateString, {
40130            width: "wide",
40131            context: "formatting",
40132          }) ||
40133          match.dayPeriod(dateString, {
40134            width: "abbreviated",
40135            context: "formatting",
40136          }) ||
40137          match.dayPeriod(dateString, {
40138            width: "narrow",
40139            context: "formatting",
40140          })
40141        );
40142    }
40143  }
40144
40145  set(date, _flags, value) {
40146    date.setHours((0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.dayPeriodEnumToHours)(value), 0, 0, 0);
40147    return date;
40148  }
40149
40150  incompatibleTokens = ["a", "b", "t", "T"];
40151}
40152
40153
40154/***/ },
40155
40156/***/ "./node_modules/date-fns/parse/_lib/parsers/EraParser.js"
40157/*!***************************************************************!*\
40158  !*** ./node_modules/date-fns/parse/_lib/parsers/EraParser.js ***!
40159  \***************************************************************/
40160(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40161
40162"use strict";
40163__webpack_require__.r(__webpack_exports__);
40164/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40165/* harmony export */   EraParser: () => (/* binding */ EraParser)
40166/* harmony export */ });
40167/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40168
40169
40170class EraParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_0__.Parser {
40171  priority = 140;
40172
40173  parse(dateString, token, match) {
40174    switch (token) {
40175      // AD, BC
40176      case "G":
40177      case "GG":
40178      case "GGG":
40179        return (
40180          match.era(dateString, { width: "abbreviated" }) ||
40181          match.era(dateString, { width: "narrow" })
40182        );
40183
40184      // A, B
40185      case "GGGGG":
40186        return match.era(dateString, { width: "narrow" });
40187      // Anno Domini, Before Christ
40188      case "GGGG":
40189      default:
40190        return (
40191          match.era(dateString, { width: "wide" }) ||
40192          match.era(dateString, { width: "abbreviated" }) ||
40193          match.era(dateString, { width: "narrow" })
40194        );
40195    }
40196  }
40197
40198  set(date, flags, value) {
40199    flags.era = value;
40200    date.setFullYear(value, 0, 1);
40201    date.setHours(0, 0, 0, 0);
40202    return date;
40203  }
40204
40205  incompatibleTokens = ["R", "u", "t", "T"];
40206}
40207
40208
40209/***/ },
40210
40211/***/ "./node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js"
40212/*!************************************************************************!*\
40213  !*** ./node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js ***!
40214  \************************************************************************/
40215(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40216
40217"use strict";
40218__webpack_require__.r(__webpack_exports__);
40219/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40220/* harmony export */   ExtendedYearParser: () => (/* binding */ ExtendedYearParser)
40221/* harmony export */ });
40222/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40223/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40224
40225
40226
40227
40228class ExtendedYearParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_0__.Parser {
40229  priority = 130;
40230
40231  parse(dateString, token) {
40232    if (token === "u") {
40233      return (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.parseNDigitsSigned)(4, dateString);
40234    }
40235
40236    return (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.parseNDigitsSigned)(token.length, dateString);
40237  }
40238
40239  set(date, _flags, value) {
40240    date.setFullYear(value, 0, 1);
40241    date.setHours(0, 0, 0, 0);
40242    return date;
40243  }
40244
40245  incompatibleTokens = ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"];
40246}
40247
40248
40249/***/ },
40250
40251/***/ "./node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js"
40252/*!****************************************************************************!*\
40253  !*** ./node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js ***!
40254  \****************************************************************************/
40255(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40256
40257"use strict";
40258__webpack_require__.r(__webpack_exports__);
40259/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40260/* harmony export */   FractionOfSecondParser: () => (/* binding */ FractionOfSecondParser)
40261/* harmony export */ });
40262/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40263/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40264
40265
40266
40267
40268class FractionOfSecondParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_0__.Parser {
40269  priority = 30;
40270
40271  parse(dateString, token) {
40272    const valueCallback = (value) =>
40273      Math.trunc(value * Math.pow(10, -token.length + 3));
40274    return (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.mapValue)((0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.parseNDigits)(token.length, dateString), valueCallback);
40275  }
40276
40277  set(date, _flags, value) {
40278    date.setMilliseconds(value);
40279    return date;
40280  }
40281
40282  incompatibleTokens = ["t", "T"];
40283}
40284
40285
40286/***/ },
40287
40288/***/ "./node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js"
40289/*!*********************************************************************!*\
40290  !*** ./node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js ***!
40291  \*********************************************************************/
40292(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40293
40294"use strict";
40295__webpack_require__.r(__webpack_exports__);
40296/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40297/* harmony export */   Hour0To11Parser: () => (/* binding */ Hour0To11Parser)
40298/* harmony export */ });
40299/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
40300/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40301/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40302
40303
40304
40305
40306
40307class Hour0To11Parser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
40308  priority = 70;
40309
40310  parse(dateString, token, match) {
40311    switch (token) {
40312      case "K":
40313        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.numericPatterns.hour11h, dateString);
40314      case "Ko":
40315        return match.ordinalNumber(dateString, { unit: "hour" });
40316      default:
40317        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(token.length, dateString);
40318    }
40319  }
40320
40321  validate(_date, value) {
40322    return value >= 0 && value <= 11;
40323  }
40324
40325  set(date, _flags, value) {
40326    const isPM = date.getHours() >= 12;
40327    if (isPM && value < 12) {
40328      date.setHours(value + 12, 0, 0, 0);
40329    } else {
40330      date.setHours(value, 0, 0, 0);
40331    }
40332    return date;
40333  }
40334
40335  incompatibleTokens = ["h", "H", "k", "t", "T"];
40336}
40337
40338
40339/***/ },
40340
40341/***/ "./node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js"
40342/*!*********************************************************************!*\
40343  !*** ./node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js ***!
40344  \*********************************************************************/
40345(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40346
40347"use strict";
40348__webpack_require__.r(__webpack_exports__);
40349/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40350/* harmony export */   Hour0to23Parser: () => (/* binding */ Hour0to23Parser)
40351/* harmony export */ });
40352/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
40353/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40354/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40355
40356
40357
40358
40359
40360class Hour0to23Parser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
40361  priority = 70;
40362
40363  parse(dateString, token, match) {
40364    switch (token) {
40365      case "H":
40366        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.numericPatterns.hour23h, dateString);
40367      case "Ho":
40368        return match.ordinalNumber(dateString, { unit: "hour" });
40369      default:
40370        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(token.length, dateString);
40371    }
40372  }
40373
40374  validate(_date, value) {
40375    return value >= 0 && value <= 23;
40376  }
40377
40378  set(date, _flags, value) {
40379    date.setHours(value, 0, 0, 0);
40380    return date;
40381  }
40382
40383  incompatibleTokens = ["a", "b", "h", "K", "k", "t", "T"];
40384}
40385
40386
40387/***/ },
40388
40389/***/ "./node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js"
40390/*!*********************************************************************!*\
40391  !*** ./node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js ***!
40392  \*********************************************************************/
40393(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40394
40395"use strict";
40396__webpack_require__.r(__webpack_exports__);
40397/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40398/* harmony export */   Hour1To24Parser: () => (/* binding */ Hour1To24Parser)
40399/* harmony export */ });
40400/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
40401/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40402/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40403
40404
40405
40406
40407
40408class Hour1To24Parser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
40409  priority = 70;
40410
40411  parse(dateString, token, match) {
40412    switch (token) {
40413      case "k":
40414        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.numericPatterns.hour24h, dateString);
40415      case "ko":
40416        return match.ordinalNumber(dateString, { unit: "hour" });
40417      default:
40418        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(token.length, dateString);
40419    }
40420  }
40421
40422  validate(_date, value) {
40423    return value >= 1 && value <= 24;
40424  }
40425
40426  set(date, _flags, value) {
40427    const hours = value <= 24 ? value % 24 : value;
40428    date.setHours(hours, 0, 0, 0);
40429    return date;
40430  }
40431
40432  incompatibleTokens = ["a", "b", "h", "H", "K", "t", "T"];
40433}
40434
40435
40436/***/ },
40437
40438/***/ "./node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js"
40439/*!*********************************************************************!*\
40440  !*** ./node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js ***!
40441  \*********************************************************************/
40442(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40443
40444"use strict";
40445__webpack_require__.r(__webpack_exports__);
40446/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40447/* harmony export */   Hour1to12Parser: () => (/* binding */ Hour1to12Parser)
40448/* harmony export */ });
40449/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
40450/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40451/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40452
40453
40454
40455
40456
40457class Hour1to12Parser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
40458  priority = 70;
40459
40460  parse(dateString, token, match) {
40461    switch (token) {
40462      case "h":
40463        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.numericPatterns.hour12h, dateString);
40464      case "ho":
40465        return match.ordinalNumber(dateString, { unit: "hour" });
40466      default:
40467        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(token.length, dateString);
40468    }
40469  }
40470
40471  validate(_date, value) {
40472    return value >= 1 && value <= 12;
40473  }
40474
40475  set(date, _flags, value) {
40476    const isPM = date.getHours() >= 12;
40477    if (isPM && value < 12) {
40478      date.setHours(value + 12, 0, 0, 0);
40479    } else if (!isPM && value === 12) {
40480      date.setHours(0, 0, 0, 0);
40481    } else {
40482      date.setHours(value, 0, 0, 0);
40483    }
40484    return date;
40485  }
40486
40487  incompatibleTokens = ["H", "K", "k", "t", "T"];
40488}
40489
40490
40491/***/ },
40492
40493/***/ "./node_modules/date-fns/parse/_lib/parsers/ISODayParser.js"
40494/*!******************************************************************!*\
40495  !*** ./node_modules/date-fns/parse/_lib/parsers/ISODayParser.js ***!
40496  \******************************************************************/
40497(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40498
40499"use strict";
40500__webpack_require__.r(__webpack_exports__);
40501/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40502/* harmony export */   ISODayParser: () => (/* binding */ ISODayParser)
40503/* harmony export */ });
40504/* harmony import */ var _setISODay_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../setISODay.js */ "./node_modules/date-fns/setISODay.js");
40505/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40506/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40507
40508
40509
40510
40511
40512// ISO day of week
40513class ISODayParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
40514  priority = 90;
40515
40516  parse(dateString, token, match) {
40517    const valueCallback = (value) => {
40518      if (value === 0) {
40519        return 7;
40520      }
40521      return value;
40522    };
40523
40524    switch (token) {
40525      // 2
40526      case "i":
40527      case "ii": // 02
40528        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(token.length, dateString);
40529      // 2nd
40530      case "io":
40531        return match.ordinalNumber(dateString, { unit: "day" });
40532      // Tue
40533      case "iii":
40534        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)(
40535          match.day(dateString, {
40536            width: "abbreviated",
40537            context: "formatting",
40538          }) ||
40539            match.day(dateString, {
40540              width: "short",
40541              context: "formatting",
40542            }) ||
40543            match.day(dateString, {
40544              width: "narrow",
40545              context: "formatting",
40546            }),
40547          valueCallback,
40548        );
40549      // T
40550      case "iiiii":
40551        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)(
40552          match.day(dateString, {
40553            width: "narrow",
40554            context: "formatting",
40555          }),
40556          valueCallback,
40557        );
40558      // Tu
40559      case "iiiiii":
40560        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)(
40561          match.day(dateString, {
40562            width: "short",
40563            context: "formatting",
40564          }) ||
40565            match.day(dateString, {
40566              width: "narrow",
40567              context: "formatting",
40568            }),
40569          valueCallback,
40570        );
40571      // Tuesday
40572      case "iiii":
40573      default:
40574        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)(
40575          match.day(dateString, {
40576            width: "wide",
40577            context: "formatting",
40578          }) ||
40579            match.day(dateString, {
40580              width: "abbreviated",
40581              context: "formatting",
40582            }) ||
40583            match.day(dateString, {
40584              width: "short",
40585              context: "formatting",
40586            }) ||
40587            match.day(dateString, {
40588              width: "narrow",
40589              context: "formatting",
40590            }),
40591          valueCallback,
40592        );
40593    }
40594  }
40595
40596  validate(_date, value) {
40597    return value >= 1 && value <= 7;
40598  }
40599
40600  set(date, _flags, value) {
40601    date = (0,_setISODay_js__WEBPACK_IMPORTED_MODULE_0__.setISODay)(date, value);
40602    date.setHours(0, 0, 0, 0);
40603    return date;
40604  }
40605
40606  incompatibleTokens = [
40607    "y",
40608    "Y",
40609    "u",
40610    "q",
40611    "Q",
40612    "M",
40613    "L",
40614    "w",
40615    "d",
40616    "D",
40617    "E",
40618    "e",
40619    "c",
40620    "t",
40621    "T",
40622  ];
40623}
40624
40625
40626/***/ },
40627
40628/***/ "./node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js"
40629/*!***********************************************************************!*\
40630  !*** ./node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js ***!
40631  \***********************************************************************/
40632(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40633
40634"use strict";
40635__webpack_require__.r(__webpack_exports__);
40636/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40637/* harmony export */   ISOTimezoneParser: () => (/* binding */ ISOTimezoneParser)
40638/* harmony export */ });
40639/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
40640/* harmony import */ var _lib_getTimezoneOffsetInMilliseconds_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../_lib/getTimezoneOffsetInMilliseconds.js */ "./node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js");
40641/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
40642/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40643/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40644
40645
40646
40647
40648
40649
40650
40651// Timezone (ISO-8601)
40652class ISOTimezoneParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_3__.Parser {
40653  priority = 10;
40654
40655  parse(dateString, token) {
40656    switch (token) {
40657      case "x":
40658        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseTimezonePattern)(
40659          _constants_js__WEBPACK_IMPORTED_MODULE_2__.timezonePatterns.basicOptionalMinutes,
40660          dateString,
40661        );
40662      case "xx":
40663        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseTimezonePattern)(_constants_js__WEBPACK_IMPORTED_MODULE_2__.timezonePatterns.basic, dateString);
40664      case "xxxx":
40665        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseTimezonePattern)(
40666          _constants_js__WEBPACK_IMPORTED_MODULE_2__.timezonePatterns.basicOptionalSeconds,
40667          dateString,
40668        );
40669      case "xxxxx":
40670        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseTimezonePattern)(
40671          _constants_js__WEBPACK_IMPORTED_MODULE_2__.timezonePatterns.extendedOptionalSeconds,
40672          dateString,
40673        );
40674      case "xxx":
40675      default:
40676        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseTimezonePattern)(_constants_js__WEBPACK_IMPORTED_MODULE_2__.timezonePatterns.extended, dateString);
40677    }
40678  }
40679
40680  set(date, flags, value) {
40681    if (flags.timestampIsSet) return date;
40682    return (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(
40683      date,
40684      date.getTime() - (0,_lib_getTimezoneOffsetInMilliseconds_js__WEBPACK_IMPORTED_MODULE_1__.getTimezoneOffsetInMilliseconds)(date) - value,
40685    );
40686  }
40687
40688  incompatibleTokens = ["t", "T", "X"];
40689}
40690
40691
40692/***/ },
40693
40694/***/ "./node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js"
40695/*!****************************************************************************!*\
40696  !*** ./node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js ***!
40697  \****************************************************************************/
40698(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40699
40700"use strict";
40701__webpack_require__.r(__webpack_exports__);
40702/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40703/* harmony export */   ISOTimezoneWithZParser: () => (/* binding */ ISOTimezoneWithZParser)
40704/* harmony export */ });
40705/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
40706/* harmony import */ var _lib_getTimezoneOffsetInMilliseconds_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../_lib/getTimezoneOffsetInMilliseconds.js */ "./node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js");
40707/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
40708/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40709/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40710
40711
40712
40713
40714
40715
40716
40717// Timezone (ISO-8601. +00:00 is `'Z'`)
40718class ISOTimezoneWithZParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_3__.Parser {
40719  priority = 10;
40720
40721  parse(dateString, token) {
40722    switch (token) {
40723      case "X":
40724        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseTimezonePattern)(
40725          _constants_js__WEBPACK_IMPORTED_MODULE_2__.timezonePatterns.basicOptionalMinutes,
40726          dateString,
40727        );
40728      case "XX":
40729        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseTimezonePattern)(_constants_js__WEBPACK_IMPORTED_MODULE_2__.timezonePatterns.basic, dateString);
40730      case "XXXX":
40731        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseTimezonePattern)(
40732          _constants_js__WEBPACK_IMPORTED_MODULE_2__.timezonePatterns.basicOptionalSeconds,
40733          dateString,
40734        );
40735      case "XXXXX":
40736        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseTimezonePattern)(
40737          _constants_js__WEBPACK_IMPORTED_MODULE_2__.timezonePatterns.extendedOptionalSeconds,
40738          dateString,
40739        );
40740      case "XXX":
40741      default:
40742        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseTimezonePattern)(_constants_js__WEBPACK_IMPORTED_MODULE_2__.timezonePatterns.extended, dateString);
40743    }
40744  }
40745
40746  set(date, flags, value) {
40747    if (flags.timestampIsSet) return date;
40748    return (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(
40749      date,
40750      date.getTime() - (0,_lib_getTimezoneOffsetInMilliseconds_js__WEBPACK_IMPORTED_MODULE_1__.getTimezoneOffsetInMilliseconds)(date) - value,
40751    );
40752  }
40753
40754  incompatibleTokens = ["t", "T", "x"];
40755}
40756
40757
40758/***/ },
40759
40760/***/ "./node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js"
40761/*!*******************************************************************!*\
40762  !*** ./node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js ***!
40763  \*******************************************************************/
40764(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40765
40766"use strict";
40767__webpack_require__.r(__webpack_exports__);
40768/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40769/* harmony export */   ISOWeekParser: () => (/* binding */ ISOWeekParser)
40770/* harmony export */ });
40771/* harmony import */ var _setISOWeek_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../setISOWeek.js */ "./node_modules/date-fns/setISOWeek.js");
40772/* harmony import */ var _startOfISOWeek_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../startOfISOWeek.js */ "./node_modules/date-fns/startOfISOWeek.js");
40773/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
40774/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40775/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40776
40777
40778
40779
40780
40781
40782
40783// ISO week of year
40784class ISOWeekParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_3__.Parser {
40785  priority = 100;
40786
40787  parse(dateString, token, match) {
40788    switch (token) {
40789      case "I":
40790        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_2__.numericPatterns.week, dateString);
40791      case "Io":
40792        return match.ordinalNumber(dateString, { unit: "week" });
40793      default:
40794        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseNDigits)(token.length, dateString);
40795    }
40796  }
40797
40798  validate(_date, value) {
40799    return value >= 1 && value <= 53;
40800  }
40801
40802  set(date, _flags, value) {
40803    return (0,_startOfISOWeek_js__WEBPACK_IMPORTED_MODULE_1__.startOfISOWeek)((0,_setISOWeek_js__WEBPACK_IMPORTED_MODULE_0__.setISOWeek)(date, value));
40804  }
40805
40806  incompatibleTokens = [
40807    "y",
40808    "Y",
40809    "u",
40810    "q",
40811    "Q",
40812    "M",
40813    "L",
40814    "w",
40815    "d",
40816    "D",
40817    "e",
40818    "c",
40819    "t",
40820    "T",
40821  ];
40822}
40823
40824
40825/***/ },
40826
40827/***/ "./node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js"
40828/*!***********************************************************************!*\
40829  !*** ./node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js ***!
40830  \***********************************************************************/
40831(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40832
40833"use strict";
40834__webpack_require__.r(__webpack_exports__);
40835/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40836/* harmony export */   ISOWeekYearParser: () => (/* binding */ ISOWeekYearParser)
40837/* harmony export */ });
40838/* harmony import */ var _startOfISOWeek_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../startOfISOWeek.js */ "./node_modules/date-fns/startOfISOWeek.js");
40839/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
40840/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40841/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40842
40843
40844
40845
40846
40847
40848// ISO week-numbering year
40849class ISOWeekYearParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_2__.Parser {
40850  priority = 130;
40851
40852  parse(dateString, token) {
40853    if (token === "R") {
40854      return (0,_utils_js__WEBPACK_IMPORTED_MODULE_3__.parseNDigitsSigned)(4, dateString);
40855    }
40856
40857    return (0,_utils_js__WEBPACK_IMPORTED_MODULE_3__.parseNDigitsSigned)(token.length, dateString);
40858  }
40859
40860  set(date, _flags, value) {
40861    const firstWeekOfYear = (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_1__.constructFrom)(date, 0);
40862    firstWeekOfYear.setFullYear(value, 0, 4);
40863    firstWeekOfYear.setHours(0, 0, 0, 0);
40864    return (0,_startOfISOWeek_js__WEBPACK_IMPORTED_MODULE_0__.startOfISOWeek)(firstWeekOfYear);
40865  }
40866
40867  incompatibleTokens = [
40868    "G",
40869    "y",
40870    "Y",
40871    "u",
40872    "Q",
40873    "q",
40874    "M",
40875    "L",
40876    "w",
40877    "d",
40878    "D",
40879    "e",
40880    "c",
40881    "t",
40882    "T",
40883  ];
40884}
40885
40886
40887/***/ },
40888
40889/***/ "./node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js"
40890/*!********************************************************************!*\
40891  !*** ./node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js ***!
40892  \********************************************************************/
40893(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
40894
40895"use strict";
40896__webpack_require__.r(__webpack_exports__);
40897/* harmony export */ __webpack_require__.d(__webpack_exports__, {
40898/* harmony export */   LocalDayParser: () => (/* binding */ LocalDayParser)
40899/* harmony export */ });
40900/* harmony import */ var _setDay_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../setDay.js */ "./node_modules/date-fns/setDay.js");
40901/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
40902/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
40903
40904
40905
40906
40907
40908// Local day of week
40909class LocalDayParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
40910  priority = 90;
40911  parse(dateString, token, match, options) {
40912    const valueCallback = (value) => {
40913      // We want here floor instead of trunc, so we get -7 for value 0 instead of 0
40914      const wholeWeekDays = Math.floor((value - 1) / 7) * 7;
40915      return ((value + options.weekStartsOn + 6) % 7) + wholeWeekDays;
40916    };
40917
40918    switch (token) {
40919      // 3
40920      case "e":
40921      case "ee": // 03
40922        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)((0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(token.length, dateString), valueCallback);
40923      // 3rd
40924      case "eo":
40925        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)(
40926          match.ordinalNumber(dateString, {
40927            unit: "day",
40928          }),
40929          valueCallback,
40930        );
40931      // Tue
40932      case "eee":
40933        return (
40934          match.day(dateString, {
40935            width: "abbreviated",
40936            context: "formatting",
40937          }) ||
40938          match.day(dateString, { width: "short", context: "formatting" }) ||
40939          match.day(dateString, { width: "narrow", context: "formatting" })
40940        );
40941
40942      // T
40943      case "eeeee":
40944        return match.day(dateString, {
40945          width: "narrow",
40946          context: "formatting",
40947        });
40948      // Tu
40949      case "eeeeee":
40950        return (
40951          match.day(dateString, { width: "short", context: "formatting" }) ||
40952          match.day(dateString, { width: "narrow", context: "formatting" })
40953        );
40954
40955      // Tuesday
40956      case "eeee":
40957      default:
40958        return (
40959          match.day(dateString, { width: "wide", context: "formatting" }) ||
40960          match.day(dateString, {
40961            width: "abbreviated",
40962            context: "formatting",
40963          }) ||
40964          match.day(dateString, { width: "short", context: "formatting" }) ||
40965          match.day(dateString, { width: "narrow", context: "formatting" })
40966        );
40967    }
40968  }
40969
40970  validate(_date, value) {
40971    return value >= 0 && value <= 6;
40972  }
40973
40974  set(date, _flags, value, options) {
40975    date = (0,_setDay_js__WEBPACK_IMPORTED_MODULE_0__.setDay)(date, value, options);
40976    date.setHours(0, 0, 0, 0);
40977    return date;
40978  }
40979
40980  incompatibleTokens = [
40981    "y",
40982    "R",
40983    "u",
40984    "q",
40985    "Q",
40986    "M",
40987    "L",
40988    "I",
40989    "d",
40990    "D",
40991    "E",
40992    "i",
40993    "c",
40994    "t",
40995    "T",
40996  ];
40997}
40998
40999
41000/***/ },
41001
41002/***/ "./node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js"
41003/*!*********************************************************************!*\
41004  !*** ./node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js ***!
41005  \*********************************************************************/
41006(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41007
41008"use strict";
41009__webpack_require__.r(__webpack_exports__);
41010/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41011/* harmony export */   LocalWeekParser: () => (/* binding */ LocalWeekParser)
41012/* harmony export */ });
41013/* harmony import */ var _setWeek_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../setWeek.js */ "./node_modules/date-fns/setWeek.js");
41014/* harmony import */ var _startOfWeek_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../startOfWeek.js */ "./node_modules/date-fns/startOfWeek.js");
41015/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
41016/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41017/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41018
41019
41020
41021
41022
41023
41024
41025// Local week of year
41026class LocalWeekParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_3__.Parser {
41027  priority = 100;
41028
41029  parse(dateString, token, match) {
41030    switch (token) {
41031      case "w":
41032        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_2__.numericPatterns.week, dateString);
41033      case "wo":
41034        return match.ordinalNumber(dateString, { unit: "week" });
41035      default:
41036        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_4__.parseNDigits)(token.length, dateString);
41037    }
41038  }
41039
41040  validate(_date, value) {
41041    return value >= 1 && value <= 53;
41042  }
41043
41044  set(date, _flags, value, options) {
41045    return (0,_startOfWeek_js__WEBPACK_IMPORTED_MODULE_1__.startOfWeek)((0,_setWeek_js__WEBPACK_IMPORTED_MODULE_0__.setWeek)(date, value, options), options);
41046  }
41047
41048  incompatibleTokens = [
41049    "y",
41050    "R",
41051    "u",
41052    "q",
41053    "Q",
41054    "M",
41055    "L",
41056    "I",
41057    "d",
41058    "D",
41059    "i",
41060    "t",
41061    "T",
41062  ];
41063}
41064
41065
41066/***/ },
41067
41068/***/ "./node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js"
41069/*!*************************************************************************!*\
41070  !*** ./node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js ***!
41071  \*************************************************************************/
41072(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41073
41074"use strict";
41075__webpack_require__.r(__webpack_exports__);
41076/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41077/* harmony export */   LocalWeekYearParser: () => (/* binding */ LocalWeekYearParser)
41078/* harmony export */ });
41079/* harmony import */ var _getWeekYear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../getWeekYear.js */ "./node_modules/date-fns/getWeekYear.js");
41080/* harmony import */ var _startOfWeek_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../startOfWeek.js */ "./node_modules/date-fns/startOfWeek.js");
41081/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41082/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41083
41084
41085
41086
41087
41088
41089
41090// Local week-numbering year
41091class LocalWeekYearParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_2__.Parser {
41092  priority = 130;
41093
41094  parse(dateString, token, match) {
41095    const valueCallback = (year) => ({
41096      year,
41097      isTwoDigitYear: token === "YY",
41098    });
41099
41100    switch (token) {
41101      case "Y":
41102        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_3__.mapValue)((0,_utils_js__WEBPACK_IMPORTED_MODULE_3__.parseNDigits)(4, dateString), valueCallback);
41103      case "Yo":
41104        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_3__.mapValue)(
41105          match.ordinalNumber(dateString, {
41106            unit: "year",
41107          }),
41108          valueCallback,
41109        );
41110      default:
41111        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_3__.mapValue)((0,_utils_js__WEBPACK_IMPORTED_MODULE_3__.parseNDigits)(token.length, dateString), valueCallback);
41112    }
41113  }
41114
41115  validate(_date, value) {
41116    return value.isTwoDigitYear || value.year > 0;
41117  }
41118
41119  set(date, flags, value, options) {
41120    const currentYear = (0,_getWeekYear_js__WEBPACK_IMPORTED_MODULE_0__.getWeekYear)(date, options);
41121
41122    if (value.isTwoDigitYear) {
41123      const normalizedTwoDigitYear = (0,_utils_js__WEBPACK_IMPORTED_MODULE_3__.normalizeTwoDigitYear)(
41124        value.year,
41125        currentYear,
41126      );
41127      date.setFullYear(
41128        normalizedTwoDigitYear,
41129        0,
41130        options.firstWeekContainsDate,
41131      );
41132      date.setHours(0, 0, 0, 0);
41133      return (0,_startOfWeek_js__WEBPACK_IMPORTED_MODULE_1__.startOfWeek)(date, options);
41134    }
41135
41136    const year =
41137      !("era" in flags) || flags.era === 1 ? value.year : 1 - value.year;
41138    date.setFullYear(year, 0, options.firstWeekContainsDate);
41139    date.setHours(0, 0, 0, 0);
41140    return (0,_startOfWeek_js__WEBPACK_IMPORTED_MODULE_1__.startOfWeek)(date, options);
41141  }
41142
41143  incompatibleTokens = [
41144    "y",
41145    "R",
41146    "u",
41147    "Q",
41148    "q",
41149    "M",
41150    "L",
41151    "I",
41152    "d",
41153    "D",
41154    "i",
41155    "t",
41156    "T",
41157  ];
41158}
41159
41160
41161/***/ },
41162
41163/***/ "./node_modules/date-fns/parse/_lib/parsers/MinuteParser.js"
41164/*!******************************************************************!*\
41165  !*** ./node_modules/date-fns/parse/_lib/parsers/MinuteParser.js ***!
41166  \******************************************************************/
41167(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41168
41169"use strict";
41170__webpack_require__.r(__webpack_exports__);
41171/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41172/* harmony export */   MinuteParser: () => (/* binding */ MinuteParser)
41173/* harmony export */ });
41174/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
41175/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41176/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41177
41178
41179
41180
41181
41182class MinuteParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
41183  priority = 60;
41184
41185  parse(dateString, token, match) {
41186    switch (token) {
41187      case "m":
41188        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.numericPatterns.minute, dateString);
41189      case "mo":
41190        return match.ordinalNumber(dateString, { unit: "minute" });
41191      default:
41192        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(token.length, dateString);
41193    }
41194  }
41195
41196  validate(_date, value) {
41197    return value >= 0 && value <= 59;
41198  }
41199
41200  set(date, _flags, value) {
41201    date.setMinutes(value, 0, 0);
41202    return date;
41203  }
41204
41205  incompatibleTokens = ["t", "T"];
41206}
41207
41208
41209/***/ },
41210
41211/***/ "./node_modules/date-fns/parse/_lib/parsers/MonthParser.js"
41212/*!*****************************************************************!*\
41213  !*** ./node_modules/date-fns/parse/_lib/parsers/MonthParser.js ***!
41214  \*****************************************************************/
41215(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41216
41217"use strict";
41218__webpack_require__.r(__webpack_exports__);
41219/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41220/* harmony export */   MonthParser: () => (/* binding */ MonthParser)
41221/* harmony export */ });
41222/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
41223/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41224/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41225
41226
41227
41228
41229
41230class MonthParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
41231  incompatibleTokens = [
41232    "Y",
41233    "R",
41234    "q",
41235    "Q",
41236    "L",
41237    "w",
41238    "I",
41239    "D",
41240    "i",
41241    "e",
41242    "c",
41243    "t",
41244    "T",
41245  ];
41246
41247  priority = 110;
41248
41249  parse(dateString, token, match) {
41250    const valueCallback = (value) => value - 1;
41251
41252    switch (token) {
41253      // 1, 2, ..., 12
41254      case "M":
41255        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)(
41256          (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.numericPatterns.month, dateString),
41257          valueCallback,
41258        );
41259      // 01, 02, ..., 12
41260      case "MM":
41261        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)((0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(2, dateString), valueCallback);
41262      // 1st, 2nd, ..., 12th
41263      case "Mo":
41264        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)(
41265          match.ordinalNumber(dateString, {
41266            unit: "month",
41267          }),
41268          valueCallback,
41269        );
41270      // Jan, Feb, ..., Dec
41271      case "MMM":
41272        return (
41273          match.month(dateString, {
41274            width: "abbreviated",
41275            context: "formatting",
41276          }) ||
41277          match.month(dateString, { width: "narrow", context: "formatting" })
41278        );
41279
41280      // J, F, ..., D
41281      case "MMMMM":
41282        return match.month(dateString, {
41283          width: "narrow",
41284          context: "formatting",
41285        });
41286      // January, February, ..., December
41287      case "MMMM":
41288      default:
41289        return (
41290          match.month(dateString, { width: "wide", context: "formatting" }) ||
41291          match.month(dateString, {
41292            width: "abbreviated",
41293            context: "formatting",
41294          }) ||
41295          match.month(dateString, { width: "narrow", context: "formatting" })
41296        );
41297    }
41298  }
41299
41300  validate(_date, value) {
41301    return value >= 0 && value <= 11;
41302  }
41303
41304  set(date, _flags, value) {
41305    date.setMonth(value, 1);
41306    date.setHours(0, 0, 0, 0);
41307    return date;
41308  }
41309}
41310
41311
41312/***/ },
41313
41314/***/ "./node_modules/date-fns/parse/_lib/parsers/QuarterParser.js"
41315/*!*******************************************************************!*\
41316  !*** ./node_modules/date-fns/parse/_lib/parsers/QuarterParser.js ***!
41317  \*******************************************************************/
41318(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41319
41320"use strict";
41321__webpack_require__.r(__webpack_exports__);
41322/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41323/* harmony export */   QuarterParser: () => (/* binding */ QuarterParser)
41324/* harmony export */ });
41325/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41326/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41327
41328
41329
41330
41331class QuarterParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_0__.Parser {
41332  priority = 120;
41333
41334  parse(dateString, token, match) {
41335    switch (token) {
41336      // 1, 2, 3, 4
41337      case "Q":
41338      case "QQ": // 01, 02, 03, 04
41339        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.parseNDigits)(token.length, dateString);
41340      // 1st, 2nd, 3rd, 4th
41341      case "Qo":
41342        return match.ordinalNumber(dateString, { unit: "quarter" });
41343      // Q1, Q2, Q3, Q4
41344      case "QQQ":
41345        return (
41346          match.quarter(dateString, {
41347            width: "abbreviated",
41348            context: "formatting",
41349          }) ||
41350          match.quarter(dateString, {
41351            width: "narrow",
41352            context: "formatting",
41353          })
41354        );
41355
41356      // 1, 2, 3, 4 (narrow quarter; could be not numerical)
41357      case "QQQQQ":
41358        return match.quarter(dateString, {
41359          width: "narrow",
41360          context: "formatting",
41361        });
41362      // 1st quarter, 2nd quarter, ...
41363      case "QQQQ":
41364      default:
41365        return (
41366          match.quarter(dateString, {
41367            width: "wide",
41368            context: "formatting",
41369          }) ||
41370          match.quarter(dateString, {
41371            width: "abbreviated",
41372            context: "formatting",
41373          }) ||
41374          match.quarter(dateString, {
41375            width: "narrow",
41376            context: "formatting",
41377          })
41378        );
41379    }
41380  }
41381
41382  validate(_date, value) {
41383    return value >= 1 && value <= 4;
41384  }
41385
41386  set(date, _flags, value) {
41387    date.setMonth((value - 1) * 3, 1);
41388    date.setHours(0, 0, 0, 0);
41389    return date;
41390  }
41391
41392  incompatibleTokens = [
41393    "Y",
41394    "R",
41395    "q",
41396    "M",
41397    "L",
41398    "w",
41399    "I",
41400    "d",
41401    "D",
41402    "i",
41403    "e",
41404    "c",
41405    "t",
41406    "T",
41407  ];
41408}
41409
41410
41411/***/ },
41412
41413/***/ "./node_modules/date-fns/parse/_lib/parsers/SecondParser.js"
41414/*!******************************************************************!*\
41415  !*** ./node_modules/date-fns/parse/_lib/parsers/SecondParser.js ***!
41416  \******************************************************************/
41417(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41418
41419"use strict";
41420__webpack_require__.r(__webpack_exports__);
41421/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41422/* harmony export */   SecondParser: () => (/* binding */ SecondParser)
41423/* harmony export */ });
41424/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
41425/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41426/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41427
41428
41429
41430
41431
41432class SecondParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
41433  priority = 50;
41434
41435  parse(dateString, token, match) {
41436    switch (token) {
41437      case "s":
41438        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.numericPatterns.second, dateString);
41439      case "so":
41440        return match.ordinalNumber(dateString, { unit: "second" });
41441      default:
41442        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(token.length, dateString);
41443    }
41444  }
41445
41446  validate(_date, value) {
41447    return value >= 0 && value <= 59;
41448  }
41449
41450  set(date, _flags, value) {
41451    date.setSeconds(value, 0);
41452    return date;
41453  }
41454
41455  incompatibleTokens = ["t", "T"];
41456}
41457
41458
41459/***/ },
41460
41461/***/ "./node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js"
41462/*!******************************************************************************!*\
41463  !*** ./node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js ***!
41464  \******************************************************************************/
41465(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41466
41467"use strict";
41468__webpack_require__.r(__webpack_exports__);
41469/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41470/* harmony export */   StandAloneLocalDayParser: () => (/* binding */ StandAloneLocalDayParser)
41471/* harmony export */ });
41472/* harmony import */ var _setDay_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../setDay.js */ "./node_modules/date-fns/setDay.js");
41473/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41474/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41475
41476
41477
41478
41479
41480// Stand-alone local day of week
41481class StandAloneLocalDayParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
41482  priority = 90;
41483
41484  parse(dateString, token, match, options) {
41485    const valueCallback = (value) => {
41486      // We want here floor instead of trunc, so we get -7 for value 0 instead of 0
41487      const wholeWeekDays = Math.floor((value - 1) / 7) * 7;
41488      return ((value + options.weekStartsOn + 6) % 7) + wholeWeekDays;
41489    };
41490
41491    switch (token) {
41492      // 3
41493      case "c":
41494      case "cc": // 03
41495        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)((0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(token.length, dateString), valueCallback);
41496      // 3rd
41497      case "co":
41498        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)(
41499          match.ordinalNumber(dateString, {
41500            unit: "day",
41501          }),
41502          valueCallback,
41503        );
41504      // Tue
41505      case "ccc":
41506        return (
41507          match.day(dateString, {
41508            width: "abbreviated",
41509            context: "standalone",
41510          }) ||
41511          match.day(dateString, { width: "short", context: "standalone" }) ||
41512          match.day(dateString, { width: "narrow", context: "standalone" })
41513        );
41514
41515      // T
41516      case "ccccc":
41517        return match.day(dateString, {
41518          width: "narrow",
41519          context: "standalone",
41520        });
41521      // Tu
41522      case "cccccc":
41523        return (
41524          match.day(dateString, { width: "short", context: "standalone" }) ||
41525          match.day(dateString, { width: "narrow", context: "standalone" })
41526        );
41527
41528      // Tuesday
41529      case "cccc":
41530      default:
41531        return (
41532          match.day(dateString, { width: "wide", context: "standalone" }) ||
41533          match.day(dateString, {
41534            width: "abbreviated",
41535            context: "standalone",
41536          }) ||
41537          match.day(dateString, { width: "short", context: "standalone" }) ||
41538          match.day(dateString, { width: "narrow", context: "standalone" })
41539        );
41540    }
41541  }
41542
41543  validate(_date, value) {
41544    return value >= 0 && value <= 6;
41545  }
41546
41547  set(date, _flags, value, options) {
41548    date = (0,_setDay_js__WEBPACK_IMPORTED_MODULE_0__.setDay)(date, value, options);
41549    date.setHours(0, 0, 0, 0);
41550    return date;
41551  }
41552
41553  incompatibleTokens = [
41554    "y",
41555    "R",
41556    "u",
41557    "q",
41558    "Q",
41559    "M",
41560    "L",
41561    "I",
41562    "d",
41563    "D",
41564    "E",
41565    "i",
41566    "e",
41567    "t",
41568    "T",
41569  ];
41570}
41571
41572
41573/***/ },
41574
41575/***/ "./node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js"
41576/*!***************************************************************************!*\
41577  !*** ./node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js ***!
41578  \***************************************************************************/
41579(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41580
41581"use strict";
41582__webpack_require__.r(__webpack_exports__);
41583/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41584/* harmony export */   StandAloneMonthParser: () => (/* binding */ StandAloneMonthParser)
41585/* harmony export */ });
41586/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
41587/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41588/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41589
41590
41591
41592
41593
41594class StandAloneMonthParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
41595  priority = 110;
41596
41597  parse(dateString, token, match) {
41598    const valueCallback = (value) => value - 1;
41599
41600    switch (token) {
41601      // 1, 2, ..., 12
41602      case "L":
41603        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)(
41604          (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNumericPattern)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.numericPatterns.month, dateString),
41605          valueCallback,
41606        );
41607      // 01, 02, ..., 12
41608      case "LL":
41609        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)((0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseNDigits)(2, dateString), valueCallback);
41610      // 1st, 2nd, ..., 12th
41611      case "Lo":
41612        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.mapValue)(
41613          match.ordinalNumber(dateString, {
41614            unit: "month",
41615          }),
41616          valueCallback,
41617        );
41618      // Jan, Feb, ..., Dec
41619      case "LLL":
41620        return (
41621          match.month(dateString, {
41622            width: "abbreviated",
41623            context: "standalone",
41624          }) ||
41625          match.month(dateString, { width: "narrow", context: "standalone" })
41626        );
41627
41628      // J, F, ..., D
41629      case "LLLLL":
41630        return match.month(dateString, {
41631          width: "narrow",
41632          context: "standalone",
41633        });
41634      // January, February, ..., December
41635      case "LLLL":
41636      default:
41637        return (
41638          match.month(dateString, { width: "wide", context: "standalone" }) ||
41639          match.month(dateString, {
41640            width: "abbreviated",
41641            context: "standalone",
41642          }) ||
41643          match.month(dateString, { width: "narrow", context: "standalone" })
41644        );
41645    }
41646  }
41647
41648  validate(_date, value) {
41649    return value >= 0 && value <= 11;
41650  }
41651
41652  set(date, _flags, value) {
41653    date.setMonth(value, 1);
41654    date.setHours(0, 0, 0, 0);
41655    return date;
41656  }
41657
41658  incompatibleTokens = [
41659    "Y",
41660    "R",
41661    "q",
41662    "Q",
41663    "M",
41664    "w",
41665    "I",
41666    "D",
41667    "i",
41668    "e",
41669    "c",
41670    "t",
41671    "T",
41672  ];
41673}
41674
41675
41676/***/ },
41677
41678/***/ "./node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js"
41679/*!*****************************************************************************!*\
41680  !*** ./node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js ***!
41681  \*****************************************************************************/
41682(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41683
41684"use strict";
41685__webpack_require__.r(__webpack_exports__);
41686/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41687/* harmony export */   StandAloneQuarterParser: () => (/* binding */ StandAloneQuarterParser)
41688/* harmony export */ });
41689/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41690/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41691
41692
41693
41694
41695class StandAloneQuarterParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_0__.Parser {
41696  priority = 120;
41697
41698  parse(dateString, token, match) {
41699    switch (token) {
41700      // 1, 2, 3, 4
41701      case "q":
41702      case "qq": // 01, 02, 03, 04
41703        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.parseNDigits)(token.length, dateString);
41704      // 1st, 2nd, 3rd, 4th
41705      case "qo":
41706        return match.ordinalNumber(dateString, { unit: "quarter" });
41707      // Q1, Q2, Q3, Q4
41708      case "qqq":
41709        return (
41710          match.quarter(dateString, {
41711            width: "abbreviated",
41712            context: "standalone",
41713          }) ||
41714          match.quarter(dateString, {
41715            width: "narrow",
41716            context: "standalone",
41717          })
41718        );
41719
41720      // 1, 2, 3, 4 (narrow quarter; could be not numerical)
41721      case "qqqqq":
41722        return match.quarter(dateString, {
41723          width: "narrow",
41724          context: "standalone",
41725        });
41726      // 1st quarter, 2nd quarter, ...
41727      case "qqqq":
41728      default:
41729        return (
41730          match.quarter(dateString, {
41731            width: "wide",
41732            context: "standalone",
41733          }) ||
41734          match.quarter(dateString, {
41735            width: "abbreviated",
41736            context: "standalone",
41737          }) ||
41738          match.quarter(dateString, {
41739            width: "narrow",
41740            context: "standalone",
41741          })
41742        );
41743    }
41744  }
41745
41746  validate(_date, value) {
41747    return value >= 1 && value <= 4;
41748  }
41749
41750  set(date, _flags, value) {
41751    date.setMonth((value - 1) * 3, 1);
41752    date.setHours(0, 0, 0, 0);
41753    return date;
41754  }
41755
41756  incompatibleTokens = [
41757    "Y",
41758    "R",
41759    "Q",
41760    "M",
41761    "L",
41762    "w",
41763    "I",
41764    "d",
41765    "D",
41766    "i",
41767    "e",
41768    "c",
41769    "t",
41770    "T",
41771  ];
41772}
41773
41774
41775/***/ },
41776
41777/***/ "./node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js"
41778/*!*********************************************************************************!*\
41779  !*** ./node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js ***!
41780  \*********************************************************************************/
41781(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41782
41783"use strict";
41784__webpack_require__.r(__webpack_exports__);
41785/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41786/* harmony export */   TimestampMillisecondsParser: () => (/* binding */ TimestampMillisecondsParser)
41787/* harmony export */ });
41788/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
41789/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41790/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41791
41792
41793
41794
41795
41796class TimestampMillisecondsParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
41797  priority = 20;
41798
41799  parse(dateString) {
41800    return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseAnyDigitsSigned)(dateString);
41801  }
41802
41803  set(date, _flags, value) {
41804    return [(0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(date, value), { timestampIsSet: true }];
41805  }
41806
41807  incompatibleTokens = "*";
41808}
41809
41810
41811/***/ },
41812
41813/***/ "./node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js"
41814/*!****************************************************************************!*\
41815  !*** ./node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js ***!
41816  \****************************************************************************/
41817(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41818
41819"use strict";
41820__webpack_require__.r(__webpack_exports__);
41821/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41822/* harmony export */   TimestampSecondsParser: () => (/* binding */ TimestampSecondsParser)
41823/* harmony export */ });
41824/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
41825/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41826/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41827
41828
41829
41830
41831
41832class TimestampSecondsParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_1__.Parser {
41833  priority = 40;
41834
41835  parse(dateString) {
41836    return (0,_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseAnyDigitsSigned)(dateString);
41837  }
41838
41839  set(date, _flags, value) {
41840    return [(0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(date, value * 1000), { timestampIsSet: true }];
41841  }
41842
41843  incompatibleTokens = "*";
41844}
41845
41846
41847/***/ },
41848
41849/***/ "./node_modules/date-fns/parse/_lib/parsers/YearParser.js"
41850/*!****************************************************************!*\
41851  !*** ./node_modules/date-fns/parse/_lib/parsers/YearParser.js ***!
41852  \****************************************************************/
41853(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41854
41855"use strict";
41856__webpack_require__.r(__webpack_exports__);
41857/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41858/* harmony export */   YearParser: () => (/* binding */ YearParser)
41859/* harmony export */ });
41860/* harmony import */ var _Parser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Parser.js */ "./node_modules/date-fns/parse/_lib/Parser.js");
41861/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/date-fns/parse/_lib/utils.js");
41862
41863
41864
41865
41866// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns
41867// | Year     |     y | yy |   yyy |  yyyy | yyyyy |
41868// |----------|-------|----|-------|-------|-------|
41869// | AD 1     |     1 | 01 |   001 |  0001 | 00001 |
41870// | AD 12    |    12 | 12 |   012 |  0012 | 00012 |
41871// | AD 123   |   123 | 23 |   123 |  0123 | 00123 |
41872// | AD 1234  |  1234 | 34 |  1234 |  1234 | 01234 |
41873// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
41874class YearParser extends _Parser_js__WEBPACK_IMPORTED_MODULE_0__.Parser {
41875  priority = 130;
41876  incompatibleTokens = ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"];
41877
41878  parse(dateString, token, match) {
41879    const valueCallback = (year) => ({
41880      year,
41881      isTwoDigitYear: token === "yy",
41882    });
41883
41884    switch (token) {
41885      case "y":
41886        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.mapValue)((0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.parseNDigits)(4, dateString), valueCallback);
41887      case "yo":
41888        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.mapValue)(
41889          match.ordinalNumber(dateString, {
41890            unit: "year",
41891          }),
41892          valueCallback,
41893        );
41894      default:
41895        return (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.mapValue)((0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.parseNDigits)(token.length, dateString), valueCallback);
41896    }
41897  }
41898
41899  validate(_date, value) {
41900    return value.isTwoDigitYear || value.year > 0;
41901  }
41902
41903  set(date, flags, value) {
41904    const currentYear = date.getFullYear();
41905
41906    if (value.isTwoDigitYear) {
41907      const normalizedTwoDigitYear = (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.normalizeTwoDigitYear)(
41908        value.year,
41909        currentYear,
41910      );
41911      date.setFullYear(normalizedTwoDigitYear, 0, 1);
41912      date.setHours(0, 0, 0, 0);
41913      return date;
41914    }
41915
41916    const year =
41917      !("era" in flags) || flags.era === 1 ? value.year : 1 - value.year;
41918    date.setFullYear(year, 0, 1);
41919    date.setHours(0, 0, 0, 0);
41920    return date;
41921  }
41922}
41923
41924
41925/***/ },
41926
41927/***/ "./node_modules/date-fns/parse/_lib/utils.js"
41928/*!***************************************************!*\
41929  !*** ./node_modules/date-fns/parse/_lib/utils.js ***!
41930  \***************************************************/
41931(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
41932
41933"use strict";
41934__webpack_require__.r(__webpack_exports__);
41935/* harmony export */ __webpack_require__.d(__webpack_exports__, {
41936/* harmony export */   dayPeriodEnumToHours: () => (/* binding */ dayPeriodEnumToHours),
41937/* harmony export */   isLeapYearIndex: () => (/* binding */ isLeapYearIndex),
41938/* harmony export */   mapValue: () => (/* binding */ mapValue),
41939/* harmony export */   normalizeTwoDigitYear: () => (/* binding */ normalizeTwoDigitYear),
41940/* harmony export */   parseAnyDigitsSigned: () => (/* binding */ parseAnyDigitsSigned),
41941/* harmony export */   parseNDigits: () => (/* binding */ parseNDigits),
41942/* harmony export */   parseNDigitsSigned: () => (/* binding */ parseNDigitsSigned),
41943/* harmony export */   parseNumericPattern: () => (/* binding */ parseNumericPattern),
41944/* harmony export */   parseTimezonePattern: () => (/* binding */ parseTimezonePattern)
41945/* harmony export */ });
41946/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../constants.js */ "./node_modules/date-fns/constants.js");
41947/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants.js */ "./node_modules/date-fns/parse/_lib/constants.js");
41948
41949
41950
41951
41952function mapValue(parseFnResult, mapFn) {
41953  if (!parseFnResult) {
41954    return parseFnResult;
41955  }
41956
41957  return {
41958    value: mapFn(parseFnResult.value),
41959    rest: parseFnResult.rest,
41960  };
41961}
41962
41963function parseNumericPattern(pattern, dateString) {
41964  const matchResult = dateString.match(pattern);
41965
41966  if (!matchResult) {
41967    return null;
41968  }
41969
41970  return {
41971    value: parseInt(matchResult[0], 10),
41972    rest: dateString.slice(matchResult[0].length),
41973  };
41974}
41975
41976function parseTimezonePattern(pattern, dateString) {
41977  const matchResult = dateString.match(pattern);
41978
41979  if (!matchResult) {
41980    return null;
41981  }
41982
41983  // Input is 'Z'
41984  if (matchResult[0] === "Z") {
41985    return {
41986      value: 0,
41987      rest: dateString.slice(1),
41988    };
41989  }
41990
41991  const sign = matchResult[1] === "+" ? 1 : -1;
41992  const hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;
41993  const minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;
41994  const seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;
41995
41996  return {
41997    value:
41998      sign *
41999      (hours * _constants_js__WEBPACK_IMPORTED_MODULE_0__.millisecondsInHour +
42000        minutes * _constants_js__WEBPACK_IMPORTED_MODULE_0__.millisecondsInMinute +
42001        seconds * _constants_js__WEBPACK_IMPORTED_MODULE_0__.millisecondsInSecond),
42002    rest: dateString.slice(matchResult[0].length),
42003  };
42004}
42005
42006function parseAnyDigitsSigned(dateString) {
42007  return parseNumericPattern(_constants_js__WEBPACK_IMPORTED_MODULE_1__.numericPatterns.anyDigitsSigned, dateString);
42008}
42009
42010function parseNDigits(n, dateString) {
42011  switch (n) {
42012    case 1:
42013      return parseNumericPattern(_constants_js__WEBPACK_IMPORTED_MODULE_1__.numericPatterns.singleDigit, dateString);
42014    case 2:
42015      return parseNumericPattern(_constants_js__WEBPACK_IMPORTED_MODULE_1__.numericPatterns.twoDigits, dateString);
42016    case 3:
42017      return parseNumericPattern(_constants_js__WEBPACK_IMPORTED_MODULE_1__.numericPatterns.threeDigits, dateString);
42018    case 4:
42019      return parseNumericPattern(_constants_js__WEBPACK_IMPORTED_MODULE_1__.numericPatterns.fourDigits, dateString);
42020    default:
42021      return parseNumericPattern(new RegExp("^\\d{1," + n + "}"), dateString);
42022  }
42023}
42024
42025function parseNDigitsSigned(n, dateString) {
42026  switch (n) {
42027    case 1:
42028      return parseNumericPattern(_constants_js__WEBPACK_IMPORTED_MODULE_1__.numericPatterns.singleDigitSigned, dateString);
42029    case 2:
42030      return parseNumericPattern(_constants_js__WEBPACK_IMPORTED_MODULE_1__.numericPatterns.twoDigitsSigned, dateString);
42031    case 3:
42032      return parseNumericPattern(_constants_js__WEBPACK_IMPORTED_MODULE_1__.numericPatterns.threeDigitsSigned, dateString);
42033    case 4:
42034      return parseNumericPattern(_constants_js__WEBPACK_IMPORTED_MODULE_1__.numericPatterns.fourDigitsSigned, dateString);
42035    default:
42036      return parseNumericPattern(new RegExp("^-?\\d{1," + n + "}"), dateString);
42037  }
42038}
42039
42040function dayPeriodEnumToHours(dayPeriod) {
42041  switch (dayPeriod) {
42042    case "morning":
42043      return 4;
42044    case "evening":
42045      return 17;
42046    case "pm":
42047    case "noon":
42048    case "afternoon":
42049      return 12;
42050    case "am":
42051    case "midnight":
42052    case "night":
42053    default:
42054      return 0;
42055  }
42056}
42057
42058function normalizeTwoDigitYear(twoDigitYear, currentYear) {
42059  const isCommonEra = currentYear > 0;
42060  // Absolute number of the current year:
42061  // 1 -> 1 AC
42062  // 0 -> 1 BC
42063  // -1 -> 2 BC
42064  const absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;
42065
42066  let result;
42067  if (absCurrentYear <= 50) {
42068    result = twoDigitYear || 100;
42069  } else {
42070    const rangeEnd = absCurrentYear + 50;
42071    const rangeEndCentury = Math.trunc(rangeEnd / 100) * 100;
42072    const isPreviousCentury = twoDigitYear >= rangeEnd % 100;
42073    result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);
42074  }
42075
42076  return isCommonEra ? result : 1 - result;
42077}
42078
42079function isLeapYearIndex(year) {
42080  return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0);
42081}
42082
42083
42084/***/ },
42085
42086/***/ "./node_modules/date-fns/setDay.js"
42087/*!*****************************************!*\
42088  !*** ./node_modules/date-fns/setDay.js ***!
42089  \*****************************************/
42090(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42091
42092"use strict";
42093__webpack_require__.r(__webpack_exports__);
42094/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42095/* harmony export */   setDay: () => (/* binding */ setDay)
42096/* harmony export */ });
42097/* harmony import */ var _lib_defaultOptions_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_lib/defaultOptions.js */ "./node_modules/date-fns/_lib/defaultOptions.js");
42098/* harmony import */ var _addDays_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./addDays.js */ "./node_modules/date-fns/addDays.js");
42099/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
42100
42101
42102
42103
42104/**
42105 * The {@link setDay} function options.
42106 */
42107
42108/**
42109 * @name setDay
42110 * @category Weekday Helpers
42111 * @summary Set the day of the week to the given date.
42112 *
42113 * @description
42114 * Set the day of the week to the given date.
42115 *
42116 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
42117 * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
42118 *
42119 * @param date - The date to be changed
42120 * @param day - The day of the week of the new date
42121 * @param options - An object with options.
42122 *
42123 * @returns The new date with the day of the week set
42124 *
42125 * @example
42126 * // Set week day to Sunday, with the default weekStartsOn of Sunday:
42127 * const result = setDay(new Date(2014, 8, 1), 0)
42128 * //=> Sun Aug 31 2014 00:00:00
42129 *
42130 * @example
42131 * // Set week day to Sunday, with a weekStartsOn of Monday:
42132 * const result = setDay(new Date(2014, 8, 1), 0, { weekStartsOn: 1 })
42133 * //=> Sun Sep 07 2014 00:00:00
42134 */
42135function setDay(date, day, options) {
42136  const defaultOptions = (0,_lib_defaultOptions_js__WEBPACK_IMPORTED_MODULE_0__.getDefaultOptions)();
42137  const weekStartsOn =
42138    options?.weekStartsOn ??
42139    options?.locale?.options?.weekStartsOn ??
42140    defaultOptions.weekStartsOn ??
42141    defaultOptions.locale?.options?.weekStartsOn ??
42142    0;
42143
42144  const date_ = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_2__.toDate)(date, options?.in);
42145  const currentDay = date_.getDay();
42146
42147  const remainder = day % 7;
42148  const dayIndex = (remainder + 7) % 7;
42149
42150  const delta = 7 - weekStartsOn;
42151  const diff =
42152    day < 0 || day > 6
42153      ? day - ((currentDay + delta) % 7)
42154      : ((dayIndex + delta) % 7) - ((currentDay + delta) % 7);
42155  return (0,_addDays_js__WEBPACK_IMPORTED_MODULE_1__.addDays)(date_, diff, options);
42156}
42157
42158
42159/***/ },
42160
42161/***/ "./node_modules/date-fns/setISODay.js"
42162/*!********************************************!*\
42163  !*** ./node_modules/date-fns/setISODay.js ***!
42164  \********************************************/
42165(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42166
42167"use strict";
42168__webpack_require__.r(__webpack_exports__);
42169/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42170/* harmony export */   setISODay: () => (/* binding */ setISODay)
42171/* harmony export */ });
42172/* harmony import */ var _addDays_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./addDays.js */ "./node_modules/date-fns/addDays.js");
42173/* harmony import */ var _getISODay_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getISODay.js */ "./node_modules/date-fns/getISODay.js");
42174/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
42175
42176
42177
42178
42179/**
42180 * The {@link setISODay} function options.
42181 */
42182
42183/**
42184 * @name setISODay
42185 * @category Weekday Helpers
42186 * @summary Set the day of the ISO week to the given date.
42187 *
42188 * @description
42189 * Set the day of the ISO week to the given date.
42190 * ISO week starts with Monday.
42191 * 7 is the index of Sunday, 1 is the index of Monday, etc.
42192 *
42193 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
42194 * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
42195 *
42196 * @param date - The date to be changed
42197 * @param day - The day of the ISO week of the new date
42198 * @param options - An object with options
42199 *
42200 * @returns The new date with the day of the ISO week set
42201 *
42202 * @example
42203 * // Set Sunday to 1 September 2014:
42204 * const result = setISODay(new Date(2014, 8, 1), 7)
42205 * //=> Sun Sep 07 2014 00:00:00
42206 */
42207function setISODay(date, day, options) {
42208  const date_ = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_2__.toDate)(date, options?.in);
42209  const currentDay = (0,_getISODay_js__WEBPACK_IMPORTED_MODULE_1__.getISODay)(date_, options);
42210  const diff = day - currentDay;
42211  return (0,_addDays_js__WEBPACK_IMPORTED_MODULE_0__.addDays)(date_, diff, options);
42212}
42213
42214
42215/***/ },
42216
42217/***/ "./node_modules/date-fns/setISOWeek.js"
42218/*!*********************************************!*\
42219  !*** ./node_modules/date-fns/setISOWeek.js ***!
42220  \*********************************************/
42221(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42222
42223"use strict";
42224__webpack_require__.r(__webpack_exports__);
42225/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42226/* harmony export */   setISOWeek: () => (/* binding */ setISOWeek)
42227/* harmony export */ });
42228/* harmony import */ var _getISOWeek_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getISOWeek.js */ "./node_modules/date-fns/getISOWeek.js");
42229/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
42230
42231
42232
42233/**
42234 * The {@link setISOWeek} function options.
42235 */
42236
42237/**
42238 * @name setISOWeek
42239 * @category ISO Week Helpers
42240 * @summary Set the ISO week to the given date.
42241 *
42242 * @description
42243 * Set the ISO week to the given date, saving the weekday number.
42244 *
42245 * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
42246 *
42247 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
42248 * @typeParam ResultDate - The `Date` type of the context function.
42249 *
42250 * @param date - The date to be changed
42251 * @param week - The ISO week of the new date
42252 * @param options - An object with options
42253 *
42254 * @returns The new date with the ISO week set
42255 *
42256 * @example
42257 * // Set the 53rd ISO week to 7 August 2004:
42258 * const result = setISOWeek(new Date(2004, 7, 7), 53)
42259 * //=> Sat Jan 01 2005 00:00:00
42260 */
42261function setISOWeek(date, week, options) {
42262  const _date = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_1__.toDate)(date, options?.in);
42263  const diff = (0,_getISOWeek_js__WEBPACK_IMPORTED_MODULE_0__.getISOWeek)(_date, options) - week;
42264  _date.setDate(_date.getDate() - diff * 7);
42265  return _date;
42266}
42267
42268
42269/***/ },
42270
42271/***/ "./node_modules/date-fns/setWeek.js"
42272/*!******************************************!*\
42273  !*** ./node_modules/date-fns/setWeek.js ***!
42274  \******************************************/
42275(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42276
42277"use strict";
42278__webpack_require__.r(__webpack_exports__);
42279/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42280/* harmony export */   setWeek: () => (/* binding */ setWeek)
42281/* harmony export */ });
42282/* harmony import */ var _getWeek_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWeek.js */ "./node_modules/date-fns/getWeek.js");
42283/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
42284
42285
42286
42287/**
42288 * The {@link setWeek} function options.
42289 */
42290
42291/**
42292 * @name setWeek
42293 * @category Week Helpers
42294 * @summary Set the local week to the given date.
42295 *
42296 * @description
42297 * Set the local week to the given date, saving the weekday number.
42298 * The exact calculation depends on the values of
42299 * `options.weekStartsOn` (which is the index of the first day of the week)
42300 * and `options.firstWeekContainsDate` (which is the day of January, which is always in
42301 * the first week of the week-numbering year)
42302 *
42303 * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system
42304 *
42305 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
42306 * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
42307 *
42308 * @param date - The date to be changed
42309 * @param week - The week of the new date
42310 * @param options - An object with options
42311 *
42312 * @returns The new date with the local week set
42313 *
42314 * @example
42315 * // Set the 1st week to 2 January 2005 with default options:
42316 * const result = setWeek(new Date(2005, 0, 2), 1)
42317 * //=> Sun Dec 26 2004 00:00:00
42318 *
42319 * @example
42320 * // Set the 1st week to 2 January 2005,
42321 * // if Monday is the first day of the week,
42322 * // and the first week of the year always contains 4 January:
42323 * const result = setWeek(new Date(2005, 0, 2), 1, {
42324 *   weekStartsOn: 1,
42325 *   firstWeekContainsDate: 4
42326 * })
42327 * //=> Sun Jan 4 2004 00:00:00
42328 */
42329function setWeek(date, week, options) {
42330  const date_ = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_1__.toDate)(date, options?.in);
42331  const diff = (0,_getWeek_js__WEBPACK_IMPORTED_MODULE_0__.getWeek)(date_, options) - week;
42332  date_.setDate(date_.getDate() - diff * 7);
42333  return (0,_toDate_js__WEBPACK_IMPORTED_MODULE_1__.toDate)(date_, options?.in);
42334}
42335
42336
42337/***/ },
42338
42339/***/ "./node_modules/date-fns/startOfISOWeek.js"
42340/*!*************************************************!*\
42341  !*** ./node_modules/date-fns/startOfISOWeek.js ***!
42342  \*************************************************/
42343(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42344
42345"use strict";
42346__webpack_require__.r(__webpack_exports__);
42347/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42348/* harmony export */   startOfISOWeek: () => (/* binding */ startOfISOWeek)
42349/* harmony export */ });
42350/* harmony import */ var _startOfWeek_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./startOfWeek.js */ "./node_modules/date-fns/startOfWeek.js");
42351
42352
42353/**
42354 * The {@link startOfISOWeek} function options.
42355 */
42356
42357/**
42358 * @name startOfISOWeek
42359 * @category ISO Week Helpers
42360 * @summary Return the start of an ISO week for the given date.
42361 *
42362 * @description
42363 * Return the start of an ISO week for the given date.
42364 * The result will be in the local timezone.
42365 *
42366 * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
42367 *
42368 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
42369 * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
42370 *
42371 * @param date - The original date
42372 * @param options - An object with options
42373 *
42374 * @returns The start of an ISO week
42375 *
42376 * @example
42377 * // The start of an ISO week for 2 September 2014 11:55:00:
42378 * const result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))
42379 * //=> Mon Sep 01 2014 00:00:00
42380 */
42381function startOfISOWeek(date, options) {
42382  return (0,_startOfWeek_js__WEBPACK_IMPORTED_MODULE_0__.startOfWeek)(date, { ...options, weekStartsOn: 1 });
42383}
42384
42385
42386/***/ },
42387
42388/***/ "./node_modules/date-fns/startOfISOWeekYear.js"
42389/*!*****************************************************!*\
42390  !*** ./node_modules/date-fns/startOfISOWeekYear.js ***!
42391  \*****************************************************/
42392(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42393
42394"use strict";
42395__webpack_require__.r(__webpack_exports__);
42396/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42397/* harmony export */   startOfISOWeekYear: () => (/* binding */ startOfISOWeekYear)
42398/* harmony export */ });
42399/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
42400/* harmony import */ var _getISOWeekYear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getISOWeekYear.js */ "./node_modules/date-fns/getISOWeekYear.js");
42401/* harmony import */ var _startOfISOWeek_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./startOfISOWeek.js */ "./node_modules/date-fns/startOfISOWeek.js");
42402
42403
42404
42405
42406/**
42407 * The {@link startOfISOWeekYear} function options.
42408 */
42409
42410/**
42411 * @name startOfISOWeekYear
42412 * @category ISO Week-Numbering Year Helpers
42413 * @summary Return the start of an ISO week-numbering year for the given date.
42414 *
42415 * @description
42416 * Return the start of an ISO week-numbering year,
42417 * which always starts 3 days before the year's first Thursday.
42418 * The result will be in the local timezone.
42419 *
42420 * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
42421 *
42422 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
42423 * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
42424 *
42425 * @param date - The original date
42426 * @param options - An object with options
42427 *
42428 * @returns The start of an ISO week-numbering year
42429 *
42430 * @example
42431 * // The start of an ISO week-numbering year for 2 July 2005:
42432 * const result = startOfISOWeekYear(new Date(2005, 6, 2))
42433 * //=> Mon Jan 03 2005 00:00:00
42434 */
42435function startOfISOWeekYear(date, options) {
42436  const year = (0,_getISOWeekYear_js__WEBPACK_IMPORTED_MODULE_1__.getISOWeekYear)(date, options);
42437  const fourthOfJanuary = (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(options?.in || date, 0);
42438  fourthOfJanuary.setFullYear(year, 0, 4);
42439  fourthOfJanuary.setHours(0, 0, 0, 0);
42440  return (0,_startOfISOWeek_js__WEBPACK_IMPORTED_MODULE_2__.startOfISOWeek)(fourthOfJanuary);
42441}
42442
42443
42444/***/ },
42445
42446/***/ "./node_modules/date-fns/startOfWeek.js"
42447/*!**********************************************!*\
42448  !*** ./node_modules/date-fns/startOfWeek.js ***!
42449  \**********************************************/
42450(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42451
42452"use strict";
42453__webpack_require__.r(__webpack_exports__);
42454/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42455/* harmony export */   startOfWeek: () => (/* binding */ startOfWeek)
42456/* harmony export */ });
42457/* harmony import */ var _lib_defaultOptions_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_lib/defaultOptions.js */ "./node_modules/date-fns/_lib/defaultOptions.js");
42458/* harmony import */ var _toDate_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toDate.js */ "./node_modules/date-fns/toDate.js");
42459
42460
42461
42462/**
42463 * The {@link startOfWeek} function options.
42464 */
42465
42466/**
42467 * @name startOfWeek
42468 * @category Week Helpers
42469 * @summary Return the start of a week for the given date.
42470 *
42471 * @description
42472 * Return the start of a week for the given date.
42473 * The result will be in the local timezone.
42474 *
42475 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
42476 * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
42477 *
42478 * @param date - The original date
42479 * @param options - An object with options
42480 *
42481 * @returns The start of a week
42482 *
42483 * @example
42484 * // The start of a week for 2 September 2014 11:55:00:
42485 * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0))
42486 * //=> Sun Aug 31 2014 00:00:00
42487 *
42488 * @example
42489 * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00:
42490 * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })
42491 * //=> Mon Sep 01 2014 00:00:00
42492 */
42493function startOfWeek(date, options) {
42494  const defaultOptions = (0,_lib_defaultOptions_js__WEBPACK_IMPORTED_MODULE_0__.getDefaultOptions)();
42495  const weekStartsOn =
42496    options?.weekStartsOn ??
42497    options?.locale?.options?.weekStartsOn ??
42498    defaultOptions.weekStartsOn ??
42499    defaultOptions.locale?.options?.weekStartsOn ??
42500    0;
42501
42502  const _date = (0,_toDate_js__WEBPACK_IMPORTED_MODULE_1__.toDate)(date, options?.in);
42503  const day = _date.getDay();
42504  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
42505
42506  _date.setDate(_date.getDate() - diff);
42507  _date.setHours(0, 0, 0, 0);
42508  return _date;
42509}
42510
42511
42512/***/ },
42513
42514/***/ "./node_modules/date-fns/startOfWeekYear.js"
42515/*!**************************************************!*\
42516  !*** ./node_modules/date-fns/startOfWeekYear.js ***!
42517  \**************************************************/
42518(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42519
42520"use strict";
42521__webpack_require__.r(__webpack_exports__);
42522/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42523/* harmony export */   startOfWeekYear: () => (/* binding */ startOfWeekYear)
42524/* harmony export */ });
42525/* harmony import */ var _lib_defaultOptions_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_lib/defaultOptions.js */ "./node_modules/date-fns/_lib/defaultOptions.js");
42526/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
42527/* harmony import */ var _getWeekYear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWeekYear.js */ "./node_modules/date-fns/getWeekYear.js");
42528/* harmony import */ var _startOfWeek_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./startOfWeek.js */ "./node_modules/date-fns/startOfWeek.js");
42529
42530
42531
42532
42533
42534/**
42535 * The {@link startOfWeekYear} function options.
42536 */
42537
42538/**
42539 * @name startOfWeekYear
42540 * @category Week-Numbering Year Helpers
42541 * @summary Return the start of a local week-numbering year for the given date.
42542 *
42543 * @description
42544 * Return the start of a local week-numbering year.
42545 * The exact calculation depends on the values of
42546 * `options.weekStartsOn` (which is the index of the first day of the week)
42547 * and `options.firstWeekContainsDate` (which is the day of January, which is always in
42548 * the first week of the week-numbering year)
42549 *
42550 * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system
42551 *
42552 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
42553 * @typeParam ResultDate - The result `Date` type.
42554 *
42555 * @param date - The original date
42556 * @param options - An object with options
42557 *
42558 * @returns The start of a week-numbering year
42559 *
42560 * @example
42561 * // The start of an a week-numbering year for 2 July 2005 with default settings:
42562 * const result = startOfWeekYear(new Date(2005, 6, 2))
42563 * //=> Sun Dec 26 2004 00:00:00
42564 *
42565 * @example
42566 * // The start of a week-numbering year for 2 July 2005
42567 * // if Monday is the first day of week
42568 * // and 4 January is always in the first week of the year:
42569 * const result = startOfWeekYear(new Date(2005, 6, 2), {
42570 *   weekStartsOn: 1,
42571 *   firstWeekContainsDate: 4
42572 * })
42573 * //=> Mon Jan 03 2005 00:00:00
42574 */
42575function startOfWeekYear(date, options) {
42576  const defaultOptions = (0,_lib_defaultOptions_js__WEBPACK_IMPORTED_MODULE_0__.getDefaultOptions)();
42577  const firstWeekContainsDate =
42578    options?.firstWeekContainsDate ??
42579    options?.locale?.options?.firstWeekContainsDate ??
42580    defaultOptions.firstWeekContainsDate ??
42581    defaultOptions.locale?.options?.firstWeekContainsDate ??
42582    1;
42583
42584  const year = (0,_getWeekYear_js__WEBPACK_IMPORTED_MODULE_2__.getWeekYear)(date, options);
42585  const firstWeek = (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_1__.constructFrom)(options?.in || date, 0);
42586  firstWeek.setFullYear(year, 0, firstWeekContainsDate);
42587  firstWeek.setHours(0, 0, 0, 0);
42588  const _date = (0,_startOfWeek_js__WEBPACK_IMPORTED_MODULE_3__.startOfWeek)(firstWeek, options);
42589  return _date;
42590}
42591
42592
42593/***/ },
42594
42595/***/ "./node_modules/date-fns/toDate.js"
42596/*!*****************************************!*\
42597  !*** ./node_modules/date-fns/toDate.js ***!
42598  \*****************************************/
42599(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42600
42601"use strict";
42602__webpack_require__.r(__webpack_exports__);
42603/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42604/* harmony export */   toDate: () => (/* binding */ toDate)
42605/* harmony export */ });
42606/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
42607
42608
42609/**
42610 * @name toDate
42611 * @category Common Helpers
42612 * @summary Convert the given argument to an instance of Date.
42613 *
42614 * @description
42615 * Convert the given argument to an instance of Date.
42616 *
42617 * If the argument is an instance of Date, the function returns its clone.
42618 *
42619 * If the argument is a number, it is treated as a timestamp.
42620 *
42621 * If the argument is none of the above, the function returns Invalid Date.
42622 *
42623 * Starting from v3.7.0, it clones a date using `[Symbol.for("constructDateFrom")]`
42624 * enabling to transfer extra properties from the reference date to the new date.
42625 * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)
42626 * that accept a time zone as a constructor argument.
42627 *
42628 * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
42629 *
42630 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
42631 * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
42632 *
42633 * @param argument - The value to convert
42634 *
42635 * @returns The parsed date in the local time zone
42636 *
42637 * @example
42638 * // Clone the date:
42639 * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
42640 * //=> Tue Feb 11 2014 11:30:30
42641 *
42642 * @example
42643 * // Convert the timestamp to date:
42644 * const result = toDate(1392098430000)
42645 * //=> Tue Feb 11 2014 11:30:30
42646 */
42647function toDate(argument, context) {
42648  // [TODO] Get rid of `toDate` or `constructFrom`?
42649  return (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(context || argument, argument);
42650}
42651
42652
42653/***/ },
42654
42655/***/ "./node_modules/date-fns/transpose.js"
42656/*!********************************************!*\
42657  !*** ./node_modules/date-fns/transpose.js ***!
42658  \********************************************/
42659(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42660
42661"use strict";
42662__webpack_require__.r(__webpack_exports__);
42663/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42664/* harmony export */   transpose: () => (/* binding */ transpose)
42665/* harmony export */ });
42666/* harmony import */ var _constructFrom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constructFrom.js */ "./node_modules/date-fns/constructFrom.js");
42667
42668
42669/**
42670 * @name transpose
42671 * @category Generic Helpers
42672 * @summary Transpose the date to the given constructor.
42673 *
42674 * @description
42675 * The function transposes the date to the given constructor. It helps you
42676 * to transpose the date in the system time zone to say `UTCDate` or any other
42677 * date extension.
42678 *
42679 * @typeParam InputDate - The input `Date` type derived from the passed argument.
42680 * @typeParam ResultDate - The result `Date` type derived from the passed constructor.
42681 *
42682 * @param date - The date to use values from
42683 * @param constructor - The date constructor to use
42684 *
42685 * @returns Date transposed to the given constructor
42686 *
42687 * @example
42688 * // Create July 10, 2022 00:00 in locale time zone
42689 * const date = new Date(2022, 6, 10)
42690 * //=> 'Sun Jul 10 2022 00:00:00 GMT+0800 (Singapore Standard Time)'
42691 *
42692 * @example
42693 * // Transpose the date to July 10, 2022 00:00 in UTC
42694 * transpose(date, UTCDate)
42695 * //=> 'Sun Jul 10 2022 00:00:00 GMT+0000 (Coordinated Universal Time)'
42696 */
42697function transpose(date, constructor) {
42698  const date_ = isConstructor(constructor)
42699    ? new constructor(0)
42700    : (0,_constructFrom_js__WEBPACK_IMPORTED_MODULE_0__.constructFrom)(constructor, 0);
42701  date_.setFullYear(date.getFullYear(), date.getMonth(), date.getDate());
42702  date_.setHours(
42703    date.getHours(),
42704    date.getMinutes(),
42705    date.getSeconds(),
42706    date.getMilliseconds(),
42707  );
42708  return date_;
42709}
42710
42711function isConstructor(constructor) {
42712  return (
42713    typeof constructor === "function" &&
42714    constructor.prototype?.constructor === constructor
42715  );
42716}
42717
42718
42719/***/ },
42720
42721/***/ "./app/_theme/colors.js"
42722/*!******************************!*\
42723  !*** ./app/_theme/colors.js ***!
42724  \******************************/
42725(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42726
42727"use strict";
42728__webpack_require__.r(__webpack_exports__);
42729/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42730/* harmony export */   black: () => (/* binding */ black),
42731/* harmony export */   blueDark: () => (/* binding */ blueDark),
42732/* harmony export */   blueDark2: () => (/* binding */ blueDark2),
42733/* harmony export */   blueLight: () => (/* binding */ blueLight),
42734/* harmony export */   blueLight2: () => (/* binding */ blueLight2),
42735/* harmony export */   blueLight3: () => (/* binding */ blueLight3),
42736/* harmony export */   borderGray: () => (/* binding */ borderGray),
42737/* harmony export */   bouncieBlue: () => (/* binding */ bouncieBlue),
42738/* harmony export */   darkGray: () => (/* binding */ darkGray),
42739/* harmony export */   darkGray2: () => (/* binding */ darkGray2),
42740/* harmony export */   darkGray3: () => (/* binding */ darkGray3),
42741/* harmony export */   darkGray4: () => (/* binding */ darkGray4),
42742/* harmony export */   enterpriseGreen: () => (/* binding */ enterpriseGreen),
42743/* harmony export */   enterpriseGreenBg: () => (/* binding */ enterpriseGreenBg),
42744/* harmony export */   enterpriseTuroOrange: () => (/* binding */ enterpriseTuroOrange),
42745/* harmony export */   enterpriseTuroOrangeBg: () => (/* binding */ enterpriseTuroOrangeBg),
42746/* harmony export */   fadedBlack: () => (/* binding */ fadedBlack),
42747/* harmony export */   gray: () => (/* binding */ gray),
42748/* harmony export */   gray2: () => (/* binding */ gray2),
42749/* harmony export */   gray3: () => (/* binding */ gray3),
42750/* harmony export */   gray4: () => (/* binding */ gray4),
42751/* harmony export */   gray5: () => (/* binding */ gray5),
42752/* harmony export */   gray6: () => (/* binding */ gray6),
42753/* harmony export */   gray8: () => (/* binding */ gray8),
42754/* harmony export */   grayLight1: () => (/* binding */ grayLight1),
42755/* harmony export */   orange: () => (/* binding */ orange),
42756/* harmony export */   orangeAmazon: () => (/* binding */ orangeAmazon),
42757/* harmony export */   red: () => (/* binding */ red),
42758/* harmony export */   softBlue: () => (/* binding */ softBlue),
42759/* harmony export */   white: () => (/* binding */ white),
42760/* harmony export */   zachBlack: () => (/* binding */ zachBlack)
42761/* harmony export */ });
42762const bouncieBlue = "#1F69F2";
42763const blueLight = "#9EBDF4";
42764const blueLight2 = "#F2F5F9";
42765const blueLight3 = "#E1EDFD";
42766const blueDark = "#0954E0";
42767const blueDark2 = "#091f49";
42768const orange = "#f99a52";
42769const orangeAmazon = "#FF6200";
42770const red = "#F21F1F";
42771const black = "#000000";
42772const fadedBlack = "#5C5C5C";
42773const zachBlack = "#2A3141";
42774const darkGray = "#D5D5D5";
42775const darkGray2 = "#757575";
42776const darkGray3 = "#58606F";
42777const darkGray4 = "#888888";
42778const gray = "#F5F7FA";
42779const gray2 = "#DFDFDF";
42780const gray3 = "#F2F5F9";
42781const gray4 = "#F3F3F3";
42782const gray5 = "#BFC2C9";
42783const gray6 = "#DEE1E6";
42784const gray8 = "#F7F9FB";
42785const grayLight1 = "#D5D5D5";
42786const borderGray = "#BFC2C9";
42787const softBlue = "#E0E7F5";
42788const white = "#ffffff";
42789const enterpriseGreen = "#81B81A";
42790const enterpriseGreenBg = "rgba(129, 184, 26, 0.13)";
42791const enterpriseTuroOrange = "#F5BD23";
42792const enterpriseTuroOrangeBg = "rgba(245, 189, 35, 0.13)";
42793
42794
42795/***/ },
42796
42797/***/ "./app/cart/constants.js"
42798/*!*******************************!*\
42799  !*** ./app/cart/constants.js ***!
42800  \*******************************/
42801(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42802
42803"use strict";
42804__webpack_require__.r(__webpack_exports__);
42805/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42806/* harmony export */   CART_CONTAINER_ID: () => (/* binding */ CART_CONTAINER_ID),
42807/* harmony export */   CART_GLOBAL_VARIABLE_NAME: () => (/* binding */ CART_GLOBAL_VARIABLE_NAME),
42808/* harmony export */   EVENT_TYPES: () => (/* binding */ EVENT_TYPES),
42809/* harmony export */   PERSIST_STORAGE_KEY: () => (/* binding */ PERSIST_STORAGE_KEY),
42810/* harmony export */   PRODUCT_CODES: () => (/* binding */ PRODUCT_CODES)
42811/* harmony export */ });
42812const CART_GLOBAL_VARIABLE_NAME = "BouncieEmbeddedCart";
42813const PERSIST_STORAGE_KEY = CART_GLOBAL_VARIABLE_NAME;
42814const createKey = (name) =>
42814 `${CART_GLOBAL_VARIABLE_NAME}_${name}`;
42815const CART_CONTAINER_ID = createKey("panel");
42816const EVENT_TYPES = {
42817  OPEN_CART: createKey("openCart"),
42818  CLOSE_CART: createKey("closeCart"),
42819  TOGGLE_CART: createKey("toggleCart"),
42820  READY: createKey("ready"),
42821  PRICING_LOADED: createKey("pricingLoaded"),
42822  COOKIE_UPDATE: createKey("cookieUpdate")
42823};
42824const PRODUCT_CODES = {
42825  BOUNCIE_OBD: "bouncieobd",
42826  BOUNCIE_CHARGER: "bounciecharger"
42827};
42828
42829
42830/***/ },
42831
42832/***/ "./app/cart/cookie.js"
42833/*!****************************!*\
42834  !*** ./app/cart/cookie.js ***!
42835  \****************************/
42836(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42837
42838"use strict";
42839__webpack_require__.r(__webpack_exports__);
42840/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42841/* harmony export */   deleteCookie: () => (/* binding */ deleteCookie),
42842/* harmony export */   emit: () => (/* binding */ emit),
42843/* harmony export */   getCookies: () => (/* binding */ getCookies),
42844/* harmony export */   setCookie: () => (/* binding */ setCookie),
42845/* harmony export */   subscribe: () => (/* binding */ subscribe)
42846/* harmony export */ });
42847/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! js-cookie */ "./node_modules/js-cookie/dist/js.cookie.mjs");
42848/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants.js */ "./app/cart/constants.js");
42849/* harmony import */ var _events_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./events.js */ "./app/cart/events.js");
42850
42851
42852
42853const listeners = /* @__PURE__ */ new Set();
42854const handleCookieUpdate = (e) => {
42855  const cookie = e.detail.value;
42856  listeners.forEach((listener) => listener(cookie));
42857};
42858const registerListener = (listener) => {
42859  if (listeners.size === 0) {
42860    window.addEventListener(_constants_js__WEBPACK_IMPORTED_MODULE_1__.EVENT_TYPES.COOKIE_UPDATE, handleCookieUpdate);
42861  }
42862  listeners.add(listener);
42863};
42864const unregisterListener = (listener) => {
42865  listeners.delete(listener);
42866  if (listeners.size === 0) {
42867    window.removeEventListener(_constants_js__WEBPACK_IMPORTED_MODULE_1__.EVENT_TYPES.COOKIE_UPDATE, handleCookieUpdate);
42868  }
42869};
42870const subscribe = (listener) => {
42871  registerListener(listener);
42872  return () => {
42873    unregisterListener(listener);
42874  };
42875};
42876const emit = (name, value) => {
42877  _events_js__WEBPACK_IMPORTED_MODULE_2__["default"].cookieUpdate.emit({ name, value });
42878};
42879const getCookies = (name) => js_cookie__WEBPACK_IMPORTED_MODULE_0__["default"].get(name);
42880const setCookie = (name, value, options) => {
42881  try {
42882    js_cookie__WEBPACK_IMPORTED_MODULE_0__["default"].set(name, value, options);
42883  } catch (err) {
42884    console.error("Failed to set cookie", { name, value, options }, err);
42885  }
42886  emit(name, value);
42887};
42888const deleteCookie = (name, options) => {
42889  js_cookie__WEBPACK_IMPORTED_MODULE_0__["default"].remove(name, options);
42890  emit(name);
42891};
42892
42893
42894/***/ },
42895
42896/***/ "./app/cart/countries.js"
42897/*!*******************************!*\
42898  !*** ./app/cart/countries.js ***!
42899  \*******************************/
42900(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42901
42902"use strict";
42903__webpack_require__.r(__webpack_exports__);
42904/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42905/* harmony export */   COUNTRIES: () => (/* binding */ COUNTRIES),
42906/* harmony export */   getCountryByCountryCode: () => (/* binding */ getCountryByCountryCode),
42907/* harmony export */   getCountryByCurrencyCode: () => (/* binding */ getCountryByCurrencyCode)
42908/* harmony export */ });
42909const COUNTRIES = [
42910  { currencyCode: "usd", countryCode: "us", currencySymbol: "$" },
42911  { currencyCode: "cad", countryCode: "ca", currencySymbol: "$" }
42912];
42913const findCountryByFieldValue = (field, value) => COUNTRIES.find((country) => country[field] === value) || COUNTRIES[0];
42914const getCountryByCountryCode = (countryCode) => findCountryByFieldValue("countryCode", countryCode);
42915const getCountryByCurrencyCode = (currencyCode) => findCountryByFieldValue("currencyCode", currencyCode);
42916
42917
42918/***/ },
42919
42920/***/ "./app/cart/events.js"
42921/*!****************************!*\
42922  !*** ./app/cart/events.js ***!
42923  \****************************/
42924(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42925
42926"use strict";
42927__webpack_require__.r(__webpack_exports__);
42928/* harmony export */ __webpack_require__.d(__webpack_exports__, {
42929/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
42930/* harmony export */ });
42931/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants.js */ "./app/cart/constants.js");
42932
42933function emit(type, value, meta) {
42934  const detail = { value, meta };
42935  window.dispatchEvent(new CustomEvent(type, { detail }));
42936}
42937function on(type, handler) {
42938  const listener = (e) => handler(e.detail.value, e.detail.meta);
42939  window.addEventListener(type, listener);
42940  return () => window.removeEventListener(type, listener);
42941}
42942let readyEventHasEmitted = false;
42943let pricingLoadedHasEmitted = false;
42944let readyEventData;
42945const events = {
42946  ready: {
42947    subscribe: (handler) => {
42948      if (readyEventHasEmitted) {
42949        handler(readyEventData == null ? void 0 : readyEventData.value);
42950      }
42951      return on(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.READY, handler);
42952    },
42953    emit: (value) => {
42954      readyEventData = { value };
42955      emit(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.READY, value);
42956      readyEventHasEmitted = true;
42957    }
42958  },
42959  pricingLoaded: {
42960    subscribe: (handler) => {
42961      if (pricingLoadedHasEmitted) {
42962        handler();
42963      }
42964      return on(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.PRICING_LOADED, handler);
42965    },
42966    emit: () => {
42967      emit(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.PRICING_LOADED);
42968      pricingLoadedHasEmitted = true;
42969    }
42970  },
42971  cookieUpdate: {
42972    subscribe: (handler) => on(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.COOKIE_UPDATE, handler),
42973    emit: (value) => emit(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.COOKIE_UPDATE, value)
42974  },
42975  openCart: {
42976    subscribe: (handler) => on(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.OPEN_CART, handler),
42977    emit: () => emit(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.OPEN_CART)
42978  },
42979  closeCart: {
42980    subscribe: (handler) => on(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.CLOSE_CART, handler),
42981    emit: () => emit(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.CLOSE_CART)
42982  },
42983  toggleCart: {
42984    subscribe: (handler) => on(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.TOGGLE_CART, handler),
42985    emit: () => emit(_constants_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_TYPES.TOGGLE_CART)
42986  }
42987};
42988/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (events);
42989
42990
42991/***/ },
42992
42993/***/ "./app/cart/persist.js"
42994/*!*****************************!*\
42995  !*** ./app/cart/persist.js ***!
42996  \*****************************/
42997(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42998
42999"use strict";
43000__webpack_require__.r(__webpack_exports__);
43001/* harmony export */ __webpack_require__.d(__webpack_exports__, {
43002/* harmony export */   PRODUCT_CODES: () => (/* reexport safe */ _constants_js__WEBPACK_IMPORTED_MODULE_0__.PRODUCT_CODES),
43003/* harmony export */   deletePersist: () => (/* binding */ deletePersist),
43004/* harmony export */   getDomain: () => (/* binding */ getDomain),
43005/* harmony export */   getPersist: () => (/* binding */ getPersist),
43006/* harmony export */   initialState: () => (/* binding */ initialState),
43007/* harmony export */   removeProduct: () => (/* binding */ removeProduct),
43008/* harmony export */   setPersist: () => (/* binding */ setPersist),
43009/* harmony export */   subscribe: () => (/* binding */ subscribe),
43010/* harmony export */   updatePersist: () => (/* binding */ updatePersist),
43011/* harmony export */   utils: () => (/* binding */ utils)
43012/* harmony export */ });
43013/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants.js */ "./app/cart/constants.js");
43014/* harmony import */ var _cookie_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cookie.js */ "./app/cart/cookie.js");
43015var __defProp = Object.defineProperty;
43016var __defProps = Object.defineProperties;
43017var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
43018var __getOwnPropSymbols = Object.getOwnPropertySymbols;
43019var __hasOwnProp = Object.prototype.hasOwnProperty;
43020var __propIsEnum = Object.prototype.propertyIsEnumerable;
43021var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
43022var __spreadValues = (a, b) => {
43023  for (var prop in b || (b = {}))
43024    if (__hasOwnProp.call(b, prop))
43025      __defNormalProp(a, prop, b[prop]);
43026  if (__getOwnPropSymbols)
43027    for (var prop of __getOwnPropSymbols(b)) {
43028      if (__propIsEnum.call(b, prop))
43029        __defNormalProp(a, prop, b[prop]);
43030    }
43031  return a;
43032};
43033var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
43034var __objRest = (source, exclude) => {
43035  var target = {};
43036  for (var prop in source)
43037    if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
43038      target[prop] = source[prop];
43039  if (source != null && __getOwnPropSymbols)
43040    for (var prop of __getOwnPropSymbols(source)) {
43041      if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
43042        target[prop] = source[prop];
43043    }
43044  return target;
43045};
43046
43047
43048
43049const ONE_MONTH_IN_DAYS = 30;
43050const baseDomains = [
43051  "localhost",
43052  "bouncie.com",
43053  "taillight.cloud",
43054  "taillight.xyz",
43055  "showcase.dev"
43056];
43057const initialState = {
43058  isCartPanelOpen: false,
43059  products: Object.values(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PRODUCT_CODES).map((productCode) =>
43059 ({ productCode, quantity: 0 }))
43060};
43061const CURRENCY_BY_REGION = { us: "usd", ca: "cad" };
43062const deriveCurrencyFromLocale = (locale) => {
43063  var _a;
43064  if (!locale) {
43065    return void 0;
43066  }
43067  try {
43068    const region = (_a = new Intl.Locale(locale).maximize().region) == null ? void 0 : _a.toLowerCase();
43069    return CURRENCY_BY_REGION[region];
43070  } catch (e) {
43071    return void 0;
43072  }
43073};
43074const LOCALE_BY_CURRENCY = { usd: "en-us", cad: "en-ca" };
43075const deriveLocaleFromCurrency = (currency) => LOCALE_BY_CURRENCY[currency];
43076const withDerivedLocaleFields = (data, update = {}) => {
43077  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
43078  const currency = (_c = (_b = (_a = update.currency) != null ? _a : update.locale ? deriveCurrencyFromLocale(update.locale) : void 0) != null ? _b : data.currency) != null ? _c : deriveCurrencyFromLocale(data.locale);
43079  const locale = (_f = (_e = (_d = update.locale) != null ? _d : update.currency ? deriveLocaleFromCurrency(update.currency) : void 0) != null ? _e : data.locale) != null ? _f : deriveLocaleFromCurrency(currency);
43080  const language = (_j = (_i = (_h = (_g = update.language) != null ? _g : update.locale) != null ? _h : data.language) != null ? _i : data.locale) != null ? _j : locale;
43081  return __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, data), update), currency && { currency }), language && { language }), locale && { locale });
43082};
43083const serializeCookieValue = (cookie) => JSON.stringify(cookie);
43084const parseCookieValue = (rawValue) => {
43085  if (!rawValue) {
43086    return initialState;
43087  }
43088  try {
43089    const parsed = JSON.parse(rawValue);
43090    if (Array.isArray(parsed.products)) {
43091      parsed.products = parsed.products.map(
43092        (product) => product.productCode === "bouncie-obd" ? __spreadProps(__spreadValues({}, product), { productCode: _constants_js__WEBPACK_IMPORTED_MODULE_0__.PRODUCT_CODES.BOUNCIE_OBD }) : product
43093      );
43094    } else {
43095      parsed.products = initialState.products;
43096    }
43097    return withDerivedLocaleFields(parsed);
43098  } catch (err) {
43099    console.error("Failed to parse persisted cookie value", rawValue, err);
43100    return initialState;
43101  }
43102};
43103const getDomain = () => {
43104  if (typeof window === "undefined") {
43105    return "";
43106  }
43107  return baseDomains.find((element) => window.location.hostname.includes(element)) || window.location.hostname;
43108};
43109const getPersist = () => {
43110  const rawCookie = (0,_cookie_js__WEBPACK_IMPORTED_MODULE_1__.getCookies)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PERSIST_STORAGE_KEY);
43111  return parseCookieValue(rawCookie);
43112};
43113const setPersist = (value) => {
43114  const options = {
43115    domain: getDomain(),
43116    expires: ONE_MONTH_IN_DAYS
43117  };
43118  return (0,_cookie_js__WEBPACK_IMPORTED_MODULE_1__.setCookie)(
43119    _constants_js__WEBPACK_IMPORTED_MODULE_0__.PERSIST_STORAGE_KEY,
43120    serializeCookieValue(value),
43121    options
43122  );
43123};
43124const updatePersist = (update) => {
43125  const persistedData = getPersist();
43126  return setPersist(withDerivedLocaleFields(persistedData, update));
43127};
43128const deletePersist = () => {
43129  const options = {
43130    domain: getDomain()
43131  };
43132  (0,_cookie_js__WEBPACK_IMPORTED_MODULE_1__.deleteCookie)(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PERSIST_STORAGE_KEY, options);
43133};
43134const subscribe = (handler) => (0,_cookie_js__WEBPACK_IMPORTED_MODULE_1__.subscribe)((cookie) => {
43135  if (cookie.name !== _constants_js__WEBPACK_IMPORTED_MODULE_0__.PERSIST_STORAGE_KEY) {
43136    return;
43137  }
43138  handler(parseCookieValue(cookie.value));
43139});
43140const sumProductQuantity = (sum, p) => sum + (p.quantity || 0);
43141const findProductWithCode = (code) => (p) => p.productCode === code;
43142const addNewProduct = (productCode, quantity, products) => [
43143  ...products,
43144  { productCode, quantity }
43145];
43146const updateProductQuantity = (existingIndex, newQuantity, products) => products.map((p, i) => {
43147  if (i === existingIndex) {
43148    return __spreadProps(__spreadValues({}, p), {
43149      quantity: newQuantity
43150    });
43151  }
43152  return p;
43153});
43154const utils = {
43155  getTotalQuantity: (products = []) => products.reduce(sumProductQuantity, 0),
43156  getProductQuantity: (productCode, products = []) => {
43157    const product = products.find(findProductWithCode(productCode));
43158    return (product == null ? void 0 : product.quantity) || 0;
43159  },
43160  setProductQuantity: (productCode, newQuantity, products = []) => {
43161    const existingIndex = products.findIndex(findProductWithCode(productCode));
43162    const updatedProducts = existingIndex === -1 ? addNewProduct(productCode, newQuantity, products) : updateProductQuantity(existingIndex, newQuantity, products);
43163    return updatedProducts;
43164  },
43165  removeProduct: (productCode, products = []) => products.filter((p) => p.productCode !== productCode)
43166};
43167const removeProduct = (productCode) => {
43168  const _a = getPersist(), { products: currentProducts = [] } = _a, rest = __objRest(_a, ["products"]);
43169  const updatedProducts = utils.removeProduct(productCode, currentProducts);
43170  setPersist(__spreadProps(__spreadValues({}, rest), { products: updatedProducts }));
43171};
43172
43173
43174/***/ },
43175
43176/***/ "./app/hooks/useWindowObjectObserver.js"
43177/*!**********************************************!*\
43178  !*** ./app/hooks/useWindowObjectObserver.js ***!
43179  \**********************************************/
43180(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
43181
43182"use strict";
43183__webpack_require__.r(__webpack_exports__);
43184/* harmony export */ __webpack_require__.d(__webpack_exports__, {
43185/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
43186/* harmony export */ });
43187/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
43188/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ramda */ "./node_modules/ramda/es/defaultTo.js");
43189/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ramda */ "./node_modules/ramda/es/path.js");
43190/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ramda */ "./node_modules/ramda/es/pipe.js");
43191/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ramda */ "./node_modules/ramda/es/split.js");
43192
43193
43194const getNestedValue = (0,ramda__WEBPACK_IMPORTED_MODULE_3__["default"])(
43195  (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(""),
43196  (0,ramda__WEBPACK_IMPORTED_MODULE_4__["default"])("."),
43197  ramda__WEBPACK_IMPORTED_MODULE_2__["default"]
43198);
43199const useWindowObjectObserver = (dotPath) => {
43200  const getValue = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(() => {
43201    if (typeof window === "undefined") {
43202      return void 0;
43203    }
43204    return getNestedValue(dotPath)(window);
43205  }, [dotPath]);
43206  const [value, setValue] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(getValue);
43207  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
43208    const checkValue = () => {
43209      setValue(getValue());
43210    };
43211    checkValue();
43212    const observer = new MutationObserver(checkValue);
43213    observer.observe(document, { childList: true, subtree: true });
43214    window.addEventListener("load", checkValue);
43215    return () => {
43216      observer.disconnect();
43217      window.removeEventListener("load", checkValue);
43218    };
43219  }, [dotPath, getValue]);
43220  return value;
43221};
43222/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useWindowObjectObserver);
43223
43224
43225/***/ },
43226
43227/***/ "./embed/cart/AmazonLinkEmbedded.js"
43228/*!******************************************!*\
43229  !*** ./embed/cart/AmazonLinkEmbedded.js ***!
43230  \******************************************/
43231(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
43232
43233"use strict";
43234__webpack_require__.r(__webpack_exports__);
43235/* harmony export */ __webpack_require__.d(__webpack_exports__, {
43236/* harmony export */   BigDealOrderOnAmazonLink: () => (/* binding */ BigDealOrderOnAmazonLink),
43237/* harmony export */   PrimeDayOrderOnAmazonLink: () => (/* binding */ PrimeDayOrderOnAmazonLink),
43238/* harmony export */   "default": () => (/* binding */ OrderOnAmazonLink)
43239/* harmony export */ });
43240/* harmony import */ var _emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/react/jsx-runtime */ "./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js");
43241/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
43242/* harmony import */ var _styled_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./styled.js */ "./embed/cart/styled.js");
43243/* harmony import */ var _utils_fp_utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/fp-utils.js */ "./embed/cart/utils/fp-utils.js");
43244/* harmony import */ var _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../app/_theme/colors.js */ "./app/_theme/colors.js");
43245/* harmony import */ var _app_hooks_useWindowObjectObserver_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../app/hooks/useWindowObjectObserver.js */ "./app/hooks/useWindowObjectObserver.js");
43246/* harmony import */ var _public_images_amazon_small_logo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../public/images/amazon-small-logo.svg */ "./public/images/amazon-small-logo.svg");
43247/* harmony import */ var _public_images_external_link_icon_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../public/images/external-link-icon.svg */ "./public/images/external-link-icon.svg");
43248/* harmony import */ var _public_images_amazon_buy_with_prime_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../public/images/amazon-buy-with-prime.svg */ "./public/images/amazon-buy-with-prime.svg");
43249/* harmony import */ var _hooks_useCartState_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./hooks/useCartState.js */ "./embed/cart/hooks/useCartState.js");
43250/* harmony import */ var _app_cart_countries_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../app/cart/countries.js */ "./app/cart/countries.js");
43251/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ramda */ "./node_modules/ramda/es/toLower.js");
43252/* harmony import */ var _utils_amazon_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./utils/amazon.js */ "./embed/cart/utils/amazon.js");
43253/* harmony import */ var _AmazonLogoWhite_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./AmazonLogoWhite.js */ "./embed/cart/AmazonLogoWhite.js");
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
43268const GTM_CLASS_NAME = "trigger-gtm-amazon-order-button trigger-gtm-pricing-page-amazon-order-button";
43269const GTM_CLASS_NAME_BWP = "trigger-gtm-amazon-buy-with-prime-button";
43270const buildAmazonUrl = (config, isBWPEnabled, isCanada) => {
43271  var _a;
43272  if (isBWPEnabled && !isCanada) {
43273    return "/buy-with-prime";
43274  }
43275  const tld = isCanada ? "ca" : "com";
43276  const pathname = isCanada ? "dp/B07H8NS5MS" : "bouncie";
43277  const maasKey = (_a = config.amazon) == null ? void 0 : _a.maasKey;
43278  const queryString = maasKey ? `?maas=${maasKey}&ref_=aa_maas&tag=maas` : "";
43279  return `https://www.amazon.${tld}/${pathname}${queryString}`;
43280};
43281function AmazonLinkUnstyled({ isBWPEnabled, countryCode, className, config, onClick, children }) {
43282  const countryCodeDefaulted = (0,_utils_fp_utils_js__WEBPACK_IMPORTED_MODULE_3__.includes)(countryCode, ["us", "ca"]) ? countryCode : "us";
43283  const isCanada = countryCodeDefaulted === "ca";
43284  const href = buildAmazonUrl(config, isBWPEnabled, isCanada);
43285  return /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a", { href, target: href.startsWith("http") ? "_blank" : "_self", className, onClick, children });
43286}
43287const LinkWrapper = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div({
43288  display: "flex",
43289  justifyContent: "center",
43290  width: "100%",
43291  paddingTop: 18,
43292  borderTop: "1px solid #DFE1E5"
43293});
43294const AmazonLink = (0,_styled_js__WEBPACK_IMPORTED_MODULE_2__["default"])(AmazonLinkUnstyled)({
43295  display: "flex",
43296  alignItems: "center",
43297  fontSize: 16,
43298  gap: 10,
43299  color: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.bouncieBlue,
43300  textDecoration: "none",
43301  "&:hover": {
43302    textDecoration: "underline"
43303  }
43304});
43305const AmazonLogoWrapper = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div({
43306  width: 23,
43307  paddingTop: 5
43308});
43309const ExternalLinkIconWrapper = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div({
43310  width: 18,
43311  paddingTop: 2
43312});
43313const BuyWithPrimeImage = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].img([{
43314  height: "fit-content",
43315  maxWidth: "unset",
43316  width: 50
43317}]);
43318const PrimeDayStyledLink = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].a({
43319  background: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.zachBlack,
43320  borderRadius: 10,
43321  width: "100%",
43322  color: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.white,
43323  fontSize: 16,
43324  gap: 5,
43325  display: "flex",
43326  alignItems: "center",
43327  justifyContent: "center",
43328  textDecoration: "none",
43329  "&:hover": {
43330    textDecoration: "none"
43331  }
43332});
43333function PrimeDayOrderOnAmazonLink({ href, onClick }) {
43334  return /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(LinkWrapper, { children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(PrimeDayStyledLink, { href, target: "_blank", children: [
43335    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", { css: { marginRight: 3 }, children: "Order on" }),
43336    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_AmazonLogoWhite_js__WEBPACK_IMPORTED_MODULE_13__["default"], { styles: { marginTop: 20, marginBottom: 5 } })
43337  ] }) });
43338}
43339function BigDealOrderOnAmazonLink({ href, onClick }) {
43340  return /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(LinkWrapper, { children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(PrimeDayStyledLink, { href, target: "_blank", children: [
43341    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", { css: { marginRight: 3 }, children: "Order on" }),
43342    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_AmazonLogoWhite_js__WEBPACK_IMPORTED_MODULE_13__["default"], { styles: { marginTop: 20, marginBottom: 5 } })
43343  ] }) });
43344}
43345function OrderOnAmazonLink({ config, pricing }) {
43346  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
43347  const { currency, updateCartState } = (0,_hooks_useCartState_js__WEBPACK_IMPORTED_MODULE_9__["default"])();
43348  const countryCode = (0,ramda__WEBPACK_IMPORTED_MODULE_11__["default"])((0,_app_cart_countries_js__WEBPACK_IMPORTED_MODULE_10__.getCountryByCurrencyCode)(currency).countryCode);
43349  const handleClick = () => updateCartState({ isCartPanelOpen: false });
43350  const isCanada = countryCode === "ca";
43351  const isBwpCartInitialized = (0,_app_hooks_useWindowObjectObserver_js__WEBPACK_IMPORTED_MODULE_5__["default"])("bwpCart.isInitialized");
43352  const isBwpCartError = (0,_app_hooks_useWindowObjectObserver_js__WEBPACK_IMPORTED_MODULE_5__["default"])("bwpCart.isApiError");
43353  const isBwpCartReady = isBwpCartInitialized && !isBwpCartError;
43354  const isActiveBigDealDays = (0,_utils_amazon_js__WEBPACK_IMPORTED_MODULE_12__.isAmazonPrimeBigDealDaysActiveEffective)(
43355    (_a = config.amazon) == null ? void 0 : _a.primeBigDealDays,
43356    countryCode
43357  );
43358  const primeDayHref = isCanada ? (_c = (_b = config.amazon) == null ? void 0 : _b.primeDay) == null ? void 0 : _c.attributionLinkCanada : (_e = (_d = config.amazon) == null ? void 0 : _d.primeDay) == null ? void 0 : _e.attributionLinkUnitedStates;
43359  const primeBigDealHref = isCanada ? (_g = (_f = config.amazon) == null ? void 0 : _f.primeBigDealDays) == null ? void 0 : _g.attributionLinkCanada : (_i = (_h = config.amazon) == null ? void 0 : _h.primeBigDealDays) == null ? void 0 : _i.attributionLinkUnitedStates;
43360  if ((_k = (_j = config.amazon) == null ? void 0 : _j.primeDay) == null ? void 0 : _k.isActive) {
43361    return /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43362      PrimeDayOrderOnAmazonLink,
43363      {
43364        href: primeDayHref,
43365        onClick: handleClick
43366      }
43367    );
43368  }
43369  if (isActiveBigDealDays) {
43370    return /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43371      BigDealOrderOnAmazonLink,
43372      {
43373        href: primeBigDealHref,
43374        onClick: handleClick
43375      }
43376    );
43377  }
43378  const className = isBwpCartReady ? GTM_CLASS_NAME_BWP : GTM_CLASS_NAME;
43379  return /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(LinkWrapper, { children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(AmazonLink, { countryCode, className, isBWPEnabled: isBwpCartReady, config, onClick: handleClick, children: isBwpCartReady && countryCode === "us" ? /* @__P
43379URE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, { children: [
43380    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(BuyWithPrimeImage, { src: _public_images_amazon_buy_with_prime_svg__WEBPACK_IMPORTED_MODULE_8__, alt: "Order from Amazon" }),
43381    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", { children: "Order from Amazon" })
43382  ] }) : /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, { children: [
43383    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(AmazonLogoWrapper, { children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img", { src: _public_images_amazon_small_logo_svg__WEBPACK_IMPORTED_MODULE_6__, alt: "Amazon order now", layout: "responsive" }) }),
43384    "Order on Amazon",
43385    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(ExternalLinkIconWrapper, { children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img", { src: _public_images_external_link_icon_svg__WEBPACK_IMPORTED_MODULE_7__, alt: "Amazon order now", layout: "responsive" }) })
43386  ] }) }) });
43387}
43388
43389
43390/***/ },
43391
43392/***/ "./embed/cart/AmazonLogoWhite.js"
43393/*!***************************************!*\
43394  !*** ./embed/cart/AmazonLogoWhite.js ***!
43395  \***************************************/
43396(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
43397
43398"use strict";
43399__webpack_require__.r(__webpack_exports__);
43400/* harmony export */ __webpack_require__.d(__webpack_exports__, {
43401/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
43402/* harmony export */ });
43403/* harmony import */ var _emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/react/jsx-runtime */ "./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js");
43404/* harmony import */ var _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../app/_theme/colors.js */ "./app/_theme/colors.js");
43405var __defProp = Object.defineProperty;
43406var __getOwnPropSymbols = Object.getOwnPropertySymbols;
43407var __hasOwnProp = Object.prototype.hasOwnProperty;
43408var __propIsEnum = Object.prototype.propertyIsEnumerable;
43409var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
43410var __spreadValues = (a, b) => {
43411  for (var prop in b || (b = {}))
43412    if (__hasOwnProp.call(b, prop))
43413      __defNormalProp(a, prop, b[prop]);
43414  if (__getOwnPropSymbols)
43415    for (var prop of __getOwnPropSymbols(b)) {
43416      if (__propIsEnum.call(b, prop))
43417        __defNormalProp(a, prop, b[prop]);
43418    }
43419  return a;
43420};
43421
43422
43423const SVGImage = ({ width = 78, arrowColor }) => /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("svg", { width, height: "25", viewBox: "0 0 78 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
43424  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { d: "M48.3596 19.2977C43.8296 22.7091 37.2638 24.5291 31.6108 24.5291C23.6842 24.5291 16.5482 21.5339 11.1496 16.5522C10.7255 16.1605 11.1055 15.6266 11.6145 15.9318C17.4407 19.3949 24.6445 21.4785 32.0859 21.4785C37.1044 21.4785 42.6252 20.4177 47.7015 18.2162C48.4682 17.8833 49.1095 18.7293 48.3596 19.2977Z", fill: arrowColor }),
43425  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { d: "M50.243 17.0963C49.6663 16.3406 46.4156 16.7393 44.9565 16.9161C44.5119 16.9716 44.4441 16.5764 44.8446 16.2921C47.4335 14.4305 51.6819 14.9678 52.1774 15.5918C52.6727 16.2192 52.0484 20.5699 49.6154 22.6466C49.2422 22.9655 48.8858 22.7957 49.0522 22.3728C49.5985 20.9791 50.8234 17.8555 50.243 17.0963Z", fill: arrowColor }),
43426  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { d: "M45.0587 3.14968V1.34009C45.0587 1.06623 45.2623 0.882431 45.5067 0.882431H53.4367C53.6911 0.882431 53.8947 1.06967 53.8947 1.34009V2.88971C53.8913 3.14968 53.6775 3.48939 53.2975 4.02691L49.1883 10.02
4342607C50.7153 9.98265 52.3271 10.215 53.7114 11.0122C54.0236 11.1924 54.1084 11.456 54.1322 11.7159V13.6469C54.1322 13.9105 53.8472 14.219 53.5486 14.0595C51.1088 12.7525 47.8683 12.6104 45.1707 14.0732C44.8958 14.2258 44.6074 13.9208 44.6074 13.6572V11.8235C44.6074 11.5287 44.6108 11.0262 44.8993 10.579L49.6599 3.6039H45.5168C45.2623 3.6039 45.0587 3.42023 45.0587 3.14968Z", fill: "white" }),
43427  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { d: "M16.1307 14.4409H13.7181C13.4873 14.4235 13.3042 14.2467 13.2871 14.0214V1.37129C13.2871 1.11833 13.4942 0.91721 13.752 0.91721H16.0017C16.2359 0.927524 16.4225 1.11133 16.4395 1.34009V2.99365H16.4836C17.0707 1.39549 18.1734 0.650101 19.6597 0.650101C21.1697 0.650101 22.113 1.39549 22.7916 2.99365C23.3752 1.39549 24.702 0.650101 26.1237 0.650101C27.135 0.650101 28.2411 1.07655 28.9163 2.03338C29.6798 3.09772 29.5237 4.64378 29.5237 5.99929L29.5203 13.9831C29.5203 14.2362 29.3134 14.4407 29.0555 14.4407H26.6462C26.4054 14.4234 26.212 14.2258 26.212 13.9831V7.27863C26.212 6.74481 26.2595 5.41363 26.1442 4.90731C25.9643 4.05799 25.4248 3.81891 24.7258 3.81891C24.1422 3.81891 23.5314 4.21759 23.2837 4.85548C23.0359 5.49324 23.0598 6.56101 23.0598 7.27863V13.9832C23.0598 14.2363 22.8527 14.4409 22.5949 14.4409H20.1855C19.9413 14.4235 19.7513 14.226 19.7513 13.9832L19.7478 7.27863C19.7478 5.86772 19.9751 3.79114 18.2616 3.79114C16.5276 3.79114 16.5954 5.81575 16.5954 7.27863V13.9832C16.5954 14.2363 16.3885 14.4409 16.1307 14.4409Z", fill: "white" }),
43428  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { "fill-rule": "evenodd", clipRule: "evenodd", d: "M66.2377 7.78481C66.2377 3.79113 64.3 0.650223 60.7203 0.650223C57.2287 0.650223 55.291 3.71153 55.291 7.64953C55.291 11.5635 57.2049 14.7043 60.7203 14.7043C64.0966 14.7043 66.2377 11.6432 66.2377 7.78481ZM58.8501 7.25086C58.8501 5.70824 58.9621 3.23299 60.74 3.23299C61.507 3.23299 62.0465 3.57613 62.318 4.45666C62.6334 5.4689 62.6777 6.74481 62.6777 7.81245C62.6777 9.43481 62.5894 12.0973 60.7198 12.0973C58.8492 12.0973 58.8498 8.87649 58.8501 7.30779C58.8501 7.28856 58.8501 7.26958 58.8501 7.25086Z", fill: "white" }),
43429  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { d: "M70.8811 14.4409H68.4787C68.2379 14.4235 68.0445 14.226 68.0445 13.9832L68.041 1.32978C68.0615 1.09758 68.2617 0.917352 68.5059 0.917352H70.7421C70.9524 0.927666 71.1256 1.07339 71.1731 1.27094V3.20536H71.2171C71.8923 1.4755 72.8389 0.650375 74.5051 0.650375C75.5875 0.650375 76.643 1.04919 77.3214 2.14103C77.9527 3.15327 77.9527 4.85549 77.9527 6.07917V14.0423C77.9256 14.2642 77.7254 14.441 77.4878 14.441H75.0684C74.8479 14.4237 74.6647 14.2572 74.6408 14.0423V7.17127C74.6408 5.78799 74.7968 3.76352 73.1309 3.76352C72.544 3.76352 72.0043 4.16563 71.7363 4.77575C71.3971 5.54891 71.3528 6.31851 71.3528 7.17127V13.9833C71.3495 14.2363 71.1389 14.4409 70.8811 14.4409Z", fill: "white" }),
43430  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { "fill-rule": "evenodd", clipRule: "evenodd", d: "M42.8896 11.9241C42.9369 11.9892 42.9845 12.0547 43.0318 12.1216C43.1846 12.3435 43.2185 12.6104 43.0213 12.7771C42.5294 13.1966 41.6539 13.9766 41.1721 14.4134L41.1687 14.4065C41.0092 14.5519 40.7786 14.5624 40.5987 14.4653C39.9173 13.8871 39.7101 13.5725 39.3938 13.0922C39.3384 13.008 39.2796 12.9187 39.2143 12.8221C37.8909 14.2019 36.951 14.6143 35.2374 14.6143C33.2048 14.6143 31.627 13.3351 31.627 10.7733C31.627 8.77299 32.6857 7.41047 34.1991 6.74495C35.2974 6.25075 36.7608 6.09778 38.0289 5.96522C38.2731 5.93969 38.5101 5.91492 38.7358 5.88861V5.56967C38.7358 5.51 38.7363 5.44921 38.7368 5.38762C38.7408 4.84447 38.7454 4.2389 38.4406 3.78427C38.1489 3.33019 37.5856 3.14295 37.0868 3.14295C36.1672 3.14295 35.3495 3.62467 35.1492 4.62315C35.1086 4.84504 34.9491 5.06349 34.7286 5.0738L32.3907 4.81727C32.194 4.77218 31.9734 4.6094 32.031 4.30077C32.5673 1.40264 35.1324 0.529114 37.4263 0.529114C38.6003 0.529114 40.134 0.848058 41.0604 1.75623C42.1397 2.78562 42.1322 4.13138 42.1239 5.6051C42.1232 5.73445 42.1225 5.86479 42.1225 5.99599V9.8372C42.1225 10.8677 42.4957 11.3817 42.8896 11.9241ZM36.6145 12.1321C37.2897 12.1321 37.9007 11.7056 38.284 11.0122C38.7372 10.1986 38.7363 9.43238 38.7353 8.52963C38.7353 8.4862 38.7352 8.44246 38.7352 8.39838V7.86456C36.9878 7.86456 35.1452 8.24578 35.1452 10.3467C35.1452 11.411 35.6882 12.1321 36.6145 12.1321Z", fill: "white" }),
43431  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { "fill-rule": "evenodd", clipRule: "evenodd", d: "M11.2626 11.9241C11.3099 11.9892 11.3575 12.0547 11.4047 12.1216C11.5608 12.3435 11.5947 12.6104 11.3979 12.7771C10.9058 13.1966 10.0305 13.9766 9.54861 14.4134L9.54175 14.4065C9.38229 14.5519 9.15165 14.5624 8.97175 14.4653C8.29781 13.8934 8.09013 13.5794 7.77831 13.1078C7.71962 13.0191 7.65724 12.9247 7.58737 12.8221C6.26397 14.2019 5.32742 14.6143 3.61042 14.6143C1.58123 14.6143 0 13.3351 0 10.7733C0 8.77299 1.06209 7.41047 2.57214 6.74495C3.67047 6.25075 5.13382 6.09778 6.40199 5.96522C6.64619 5.93969 6.88315 5.91492 7.10888 5.88861V5.56967C7.10888 5.50951 7.10934 5.44822 7.10981 5.38611C7.11393 4.84335 7.11853 4.23848 6.81714 3.78427C6.52192 3.33019 5.95864 3.14295 5.46319 3.14295C4.54373 3.14295 3.7225 3.62467 3.52228 4.62315C3.48151 4.84504 3.32205 5.06349 3.10487 5.0738L0.76363 4.81727C0.566898 4.77218 0.349717 4.6094 0.403947 4.30077C0.943406 1.40264 3.50532 0.529114 5.79919 0.529114C6.97324 0.529114 8.50697 0.848058 9.43329 1.75623C10.5126 2.78562 10.5051 4.13138 10.4968 5.6051C10.4961 5.73445 10.4954 5.86479 10.4954 5.99599V9.8372C10.4954 10.8677 10.8686 11.3817 11.2626 11.9241ZM4.98856 12.1321C5.66728 12.1321 6.27469 11.7056 6.65806 11.0122C7.11149 10.1984 7.11051 9.43204 7.10936 8.52902C7.10931 8.48579 7.10925 8.44225 7.10925 8.39838V7.86456C5.36519 7.86456 3.52265 8.24578 3.52265 10.3467C3.52265 11.411 4.06223 12.1321 4.98856 12.1321Z", fill: "white" })
43432] });
43433const AmazonLogoWhite = ({ width, styles, arrowColor = _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_1__.orangeAmazon }) => /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { css: __spreadValues({ verticalAlign: "middle" }, styles), children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SVGImage, { width, arrowColor }) });
43434/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AmazonLogoWhite);
43435
43436
43437/***/ },
43438
43439/***/ "./embed/cart/Cart.js"
43440/*!****************************!*\
43441  !*** ./embed/cart/Cart.js ***!
43442  \****************************/
43443(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
43444
43445"use strict";
43446__webpack_require__.r(__webpack_exports__);
43447/* harmony export */ __webpack_require__.d(__webpack_exports__, {
43448/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
43449/* harmony export */ });
43450/* harmony import */ var _emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/react/jsx-runtime */ "./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js");
43451/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
43452/* harmony import */ var _CartPanelEmbedded_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CartPanelEmbedded.js */ "./embed/cart/CartPanelEmbedded.js");
43453/* harmony import */ var _hooks_useCartState_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./hooks/useCartState.js */ "./embed/cart/hooks/useCartState.js");
43454/* harmony import */ var _hooks_useLocationPathname_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hooks/useLocationPathname.js */ "./embed/cart/hooks/useLocationPathname.js");
43455/* harmony import */ var _app_cart_events_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../app/cart/events.js */ "./app/cart/events.js");
43456
43457
43458
43459
43460
43461
43462const Cart = ({
43463  config
43464}) => {
43465  const [isLoading, setIsLoading] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);
43466  const [pricing, setPricing] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null);
43467  const {
43468    catalog,
43469    isCartPanelOpen,
43470    multiProductCartEnabled,
43471    currency,
43472    products,
43473    removeProduct,
43474    totalQuantity,
43475    updateCartState,
43476    updateProductQuantity
43477  } = (0,_hooks_useCartState_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
43478  const activeProducts = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(
43479    () => products.filter((p) => p.quantity > 0),
43480    [products]
43481  );
43482  const activeProductsKey = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(
43483    () => activeProducts.map((p) =>
43483 `${p.productCode}:${p.quantity}`).join(","),
43484    [activeProducts]
43485  );
43486  const pathname = (0,_hooks_useLocationPathname_js__WEBPACK_IMPORTED_MODULE_4__["default"])();
43487  const shouldSuppressCart = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(
43488    () => config.excludedPaths.some((excludedPath) => pathname.startsWith(excludedPath)),
43489    [config.excludedPaths, pathname]
43490  );
43491  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
43492    if (shouldSuppressCart && isCartPanelOpen) {
43493      updateCartState({ isCartPanelOpen: false });
43494    }
43495  }, [shouldSuppressCart, updateCartState, isCartPanelOpen]);
43496  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
43497    (async () => {
43498      if (activeProducts.length === 0) {
43499        setPricing({});
43500        return;
43501      }
43502      try {
43503        setIsLoading(true);
43504        let response;
43505        if (multiProductCartEnabled) {
43506          const body = JSON.stringify({
43507            lineItems: activeProducts.map((p) => ({
43508              productCode: p.productCode,
43509              quantity: p.quantity
43510            })),
43511            currency
43512          });
43513          response = await fetch(`${config.sourceUrl}/api/products/price-preview`, {
43514            method: "POST",
43515            headers: { "Content-Type": "application/json" },
43516            body
43517          });
43518        } else {
43519          response = await fetch(`${config.sourceUrl}/api/products/bouncie?quantity=${totalQuantity}&currency=${currency}`);
43520        }
43521        const jsonResponse = await response.json();
43522        setPricing((jsonResponse == null ? void 0 : jsonResponse.pricing) || {});
43523      } catch (error) {
43524        if (error.name === "AbortError") {
43525          return;
43526        }
43527        console.error("[BouncieEmbeddedCart] Pricing fetch failed:", error);
43528        setPricing(null);
43529      } finally {
43530        setIsLoading(false);
43531      }
43532    })();
43533  }, [activeProductsKey, currency, config.sourceUrl, activeProducts, multiProductCartEnabled, totalQuantity]);
43534  const handleOpenCart = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => {
43535    updateCartState({ isCartPanelOpen: true });
43536  }, [updateCartState]);
43537  const handleCloseCart = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => {
43538    updateCartState({ isCartPanelOpen: false });
43539  }, [updateCartState]);
43540  const handleToggleCart = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => {
43541    if (isCartPanelOpen) {
43542      handleCloseCart();
43543    } else {
43544      handleOpenCart();
43545    }
43546  }, [isCartPanelOpen, handleOpenCart, handleCloseCart]);
43547  const handleCheckoutClicked = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => {
43548    var _a;
43549    _app_cart_events_js__WEBPACK_IMPORTED_MODULE_5__["default"].closeCart.emit();
43550    window.location = (_a = config.checkoutUrl) != null ? _a : `${config.sourceUrl}/order/checkout/shipping`;
43551  }, [config.checkoutUrl, config.sourceUrl]);
43552  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function manageOpenCartListener() {
43553    const unsubscribe = _app_cart_events_js__WEBPACK_IMPORTED_MODULE_5__["default"].openCart.subscribe(handleOpenCart);
43554    return unsubscribe;
43555  }, [handleOpenCart]);
43556  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function manageCloseCartListener() {
43557    const unsubscribe = _app_cart_events_js__WEBPACK_IMPORTED_MODULE_5__["default"].closeCart.subscribe(handleCloseCart);
43558    return unsubscribe;
43559  }, [handleCloseCart]);
43560  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function manageToggleCartListener() {
43561    const unsubscribe = _app_cart_events_js__WEBPACK_IMPORTED_MODULE_5__["default"].toggleCart.subscribe(handleToggleCart);
43562    return unsubscribe;
43563  }, [handleToggleCart]);
43564  return /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, { children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43565    _CartPanelEmbedded_js__WEBPACK_IMPORTED_MODULE_2__["default"],
43566    {
43567      isLoading,
43568      isCartPanelOpen,
43569      multiProductCartEnabled,
43570      config,
43571      catalog,
43572      pricing,
43573      lineItems: activeProducts,
43574      totalQuantity,
43575      onQuantityChange: updateProductQuantity,
43576      onRemoveProduct: removeProduct,
43577      onClose: handleCloseCart,
43578      onCheckoutClicked: handleCheckoutClicked
43579    }
43580  ) });
43581};
43582/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Cart);
43583
43584
43585/***/ },
43586
43587/***/ "./embed/cart/CartPanelEmbedded.js"
43588/*!*****************************************!*\
43589  !*** ./embed/cart/CartPanelEmbedded.js ***!
43590  \*****************************************/
43591(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
43592
43593"use strict";
43594__webpack_require__.r(__webpack_exports__);
43595/* harmony export */ __webpack_require__.d(__webpack_exports__, {
43596/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
43597/* harmony export */ });
43598/* harmony import */ var _emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/react/jsx-runtime */ "./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js");
43599/* harmony import */ var _public_payment_options_png__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../public/payment-options.png */ "./public/payment-options.png");
43600/* harmony import */ var _OrderDetailsEmbedded_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OrderDetailsEmbedded.js */ "./embed/cart/OrderDetailsEmbedded.js");
43601/* harmony import */ var _QuantityInputEmbedded_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./QuantityInputEmbedded.js */ "./embed/cart/QuantityInputEmbedded.js");
43602/* harmony import */ var _AmazonLinkEmbedded_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AmazonLinkEmbedded.js */ "./embed/cart/AmazonLinkEmbedded.js");
43603/* harmony import */ var _cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cartPanelStyles.js */ "./embed/cart/cartPanelStyles.js");
43604/* harmony import */ var _app_cart_constants_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../app/cart/constants.js */ "./app/cart/constants.js");
43605
43606
43607
43608
43609
43610
43611
43612
43613
43614const CartPanel = ({
43615  isCartPanelOpen,
43616  multiProductCartEnabled,
43617  isLoading,
43618  onQuantityChange,
43619  onRemoveProduct,
43620  onClose,
43621  catalog,
43622  lineItems,
43623  config,
43624  pricing,
43625  totalQuantity,
43626  onCheckoutClicked
43627}) => /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_5__.CartWrapper, { isOpen: isCartPanelOpen, children: [
43628  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_5__.CloseButton, { className: "trigger-gtm-close-cart", onClick: onClose, children: [
43629    "Hide ",
43630    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_5__.HideArrow, { children: "\xBB" })
43631  ] }),
43632  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_5__.Heading, { css: { marginBottom: 32 }, children: [
43633    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_5__.Title, { children: "Cart" }),
43634    !multiProductCartEnabled && /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43635      _QuantityInputEmbedded_js__WEBPACK_IMPORTED_MODULE_3__.QuantityInput,
43636      {
43637        value: totalQuantity,
43638        onChange: (newQty) => onQuantityChange(_app_cart_constants_js__WEBPACK_IMPORTED_MODULE_6__.PRODUCT_CODES.BOUNCIE_OBD, newQty),
43639        isLoading,
43640        minValue: 0
43641      }
43642    )
43643  ] }),
43644  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_5__.LoadingWrapper, { isLoading, children: [
43645    pricing !== null && /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43646      _OrderDetailsEmbedded_js__WEBPACK_IMPORTED_MODULE_2__.OrderDetailsEmbedded,
43647      {
43648        catalog,
43649        pricing,
43650        lineItems,
43651        onQuantityChange,
43652        onRemoveProduct,
43653        isLoading,
43654        multiProductCartEnabled
43655      }
43656    ),
43657    pricing === null && /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { children: "Loading pricing details..." }),
43658    " "
43659  ] }),
43660  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_5__.Disclaimer, { children: [
43661    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { children: "The Bouncie device is a one-time charge." }),
43662    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { children: "A monthly data subscription is required for each active device. Your subscription is created when Bouncie is installed and can be cancelled at any time." })
43663  ] }),
43664  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43665    _cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_5__.CheckoutButton,
43666    {
43667      css: { marginBottom: "1rem" },
43668      className: "trigger-gtm-cart-checkout",
43669      disabled: totalQuantity < 1,
43670      onClick: onCheckoutClicked,
43671      children: "Check Out"
43672    }
43673  ),
43674  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_5__.PaymentOptionsImage, { src: _public_payment_options_png__WEBPACK_IMPORTED_MODULE_1__, alt: "payment options" }),
43675  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_AmazonLinkEmbedded_js__WEBPACK_IMPORTED_MODULE_4__["default"], { config, pricing })
43676] });
43677/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CartPanel);
43678
43679
43680/***/ },
43681
43682/***/ "./embed/cart/OrderDetailRowEmbedded.js"
43683/*!**********************************************!*\
43684  !*** ./embed/cart/OrderDetailRowEmbedded.js ***!
43685  \**********************************************/
43686(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
43687
43688"use strict";
43689__webpack_require__.r(__webpack_exports__);
43690/* harmony export */ __webpack_require__.d(__webpack_exports__, {
43691/* harmony export */   OrderDetailRow: () => (/* binding */ OrderDetailRow)
43692/* harmony export */ });
43693/* harmony import */ var _emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/react/jsx-runtime */ "./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js");
43694/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
43695/* harmony import */ var _styled_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./styled.js */ "./embed/cart/styled.js");
43696/* harmony import */ var _utils_utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/utils.js */ "./embed/cart/utils/utils.js");
43697var __defProp = Object.defineProperty;
43698var __getOwnPropSymbols = Object.getOwnPropertySymbols;
43699var __hasOwnProp = Object.prototype.hasOwnProperty;
43700var __propIsEnum = Object.prototype.propertyIsEnumerable;
43701var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
43702var __spreadValues = (a, b) => {
43703  for (var prop in b || (b = {}))
43704    if (__hasOwnProp.call(b, prop))
43705      __defNormalProp(a, prop, b[prop]);
43706  if (__getOwnPropSymbols)
43707    for (var prop of __getOwnPropSymbols(b)) {
43708      if (__propIsEnum.call(b, prop))
43709        __defNormalProp(a, prop, b[prop]);
43710    }
43711  return a;
43712};
43713
43714
43715
43716
43717const LineItem = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div(({ hasImage }) => ({
43718  display: "flex",
43719  flexDirection: "row",
43720  width: "100%",
43721  alignItems: "center",
43722  gap: 6
43723}));
43724const ItemContent = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div({
43725  display: "flex",
43726  flexDirection: "column",
43727  flexGrow: 1,
43728  gap: 6
43729});
43730const ItemImage = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div({
43731  flexShrink: 0,
43732  width: 50,
43733  height: 50,
43734  img: {
43735    objectFit: "contain"
43736  }
43737});
43738const ItemInfoRow = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div(({ isBold }) => __spreadValues({
43739  fontSize: "16px",
43740  display: "flex",
43741  flexDirection: "row",
43742  alignItems: "center",
43743  justifyContent: "space-between",
43744  fontFamily: isBold ? "text-bold, sans-serif" : "text-regular, sans-serif"
43745}, isBold ? { fontWeight: "bold" } : {}));
43746const DiscountItemInfoRow = (0,_styled_js__WEBPACK_IMPORTED_MODULE_2__["default"])(ItemInfoRow)({
43747  fontSize: "13px"
43748});
43749const DescriptionText = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div({
43750  fontFamily: "text-regular, sans-serif"
43751});
43752const ValueText = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div({
43753  fontSize: "1.15em"
43754});
43755const InlineCurrencySup = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].sup({
43756  padding: "0 1px",
43757  position: "relative",
43758  top: "0.1875em",
43759  fontSize: "0.6em"
43760});
43761const CurrencyCode = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].span({
43762  fontWeight: "normal",
43763  fontFamily: "text-regular"
43764});
43765const renderValue = (hasValidPricing, currencySymbol, currencyCode, value) => {
43766  if (!hasValidPricing) {
43767    return "-";
43768  }
43769  if (typeof value === "number") {
43770    return /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, { children: [
43771      value < 0 && /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, { children: "-" }),
43772      currencySymbol && /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(InlineCurrencySup, { children: currencySymbol }),
43773      (0,_utils_utils_js__WEBPACK_IMPORTED_MODULE_3__.formatMoney)(Math.abs(value)),
43774      currencyCode && /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(CurrencyCode, { children: [
43775        "\xA0",
43776        currencyCode
43777      ] })
43778    ] });
43779  }
43780  return value;
43781};
43782const OrderDetailRow = ({
43783  alt = "",
43784  description,
43785  image,
43786  value,
43787  currencyCode,
43788  currencySymbol,
43789  discounts,
43790  hasValidPricing,
43791  isBold = false,
43792  lineItemQuantity
43793}) => {
43794  const hasImage = Boolean(image);
43795  return /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(LineItem, { hasImage, children: [
43796    hasImage && /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(ItemImage, { children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img", { alt, src: image, style: { height: "100%", width: "100%" } }) }),
43797    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(ItemContent, { children: [
43798      /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(ItemInfoRow, { isBold, children: [
43799        /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(DescriptionText, { children: [
43800          description,
43801          lineItemQuantity > 0 && /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, { children: [
43802            "\xA0(",
43803            lineItemQuantity,
43804            ")"
43805          ] })
43806        ] }),
43807        /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(ValueText, { children: renderValue(hasValidPricing, currencySymbol, currencyCode, value) })
43808      ] }),
43809      discounts == null ? void 0 : discounts.map(
43810        (discount, i) => /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(DiscountItemInfoRow, { children: [
43811          /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(DescriptionText, { children: discount.description }),
43812          /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(ValueText, { children: renderValue(hasValidPricing, currencySymbol, currencyCode, -1 * discount.subtotal) })
43813        ] }, i)
43814      )
43815    ] })
43816  ] });
43817};
43818
43819
43820/***/ },
43821
43822/***/ "./embed/cart/OrderDetailsEmbedded.js"
43823/*!********************************************!*\
43824  !*** ./embed/cart/OrderDetailsEmbedded.js ***!
43825  \********************************************/
43826(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
43827
43828"use strict";
43829__webpack_require__.r(__webpack_exports__);
43830/* harmony export */ __webpack_require__.d(__webpack_exports__, {
43831/* harmony export */   OrderDetailsEmbedded: () => (/* binding */ OrderDetailsEmbedded)
43832/* harmony export */ });
43833/* harmony import */ var _emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/react/jsx-runtime */ "./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js");
43834/* harmony import */ var _styled_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./styled.js */ "./embed/cart/styled.js");
43835/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
43836/* harmony import */ var _utils_fp_utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/fp-utils.js */ "./embed/cart/utils/fp-utils.js");
43837/* harmony import */ var _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../app/_theme/colors.js */ "./app/_theme/colors.js");
43838/* harmony import */ var _OrderDetailRowEmbedded_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./OrderDetailRowEmbedded.js */ "./embed/cart/OrderDetailRowEmbedded.js");
43839/* harmony import */ var _QuantityInputEmbedded_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./QuantityInputEmbedded.js */ "./embed/cart/QuantityInputEmbedded.js");
43840/* harmony import */ var _cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cartPanelStyles.js */ "./embed/cart/cartPanelStyles.js");
43841
43842
43843
43844
43845
43846
43847
43848
43849const SmallPrint = _styled_js__WEBPACK_IMPORTED_MODULE_1__["default"].div({
43850  fontSize: 14
43851});
43852const PricingSection = _styled_js__WEBPACK_IMPORTED_MODULE_1__["default"].div({
43853  width: "100%",
43854  display: "flex",
43855  flexDirection: "column",
43856  gap: 20
43857});
43858const Divider = _styled_js__WEBPACK_IMPORTED_MODULE_1__["default"].div({
43859  height: 1,
43860  backgroundColor: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.softBlue,
43861  margin: 0
43862});
43863const ProductRowControls = _styled_js__WEBPACK_IMPORTED_MODULE_1__["default"].div({
43864  display: "flex",
43865  flexDirection: "row",
43866  alignItems: "center",
43867  gap: 8,
43868  marginTop: 6
43869});
43870const OrderDetailsEmbedded = ({
43871  catalog,
43872  pricing,
43873  lineItems,
43874  onQuantityChange,
43875  onRemoveProduct,
43876  isLoading,
43877  multiProductCartEnabled
43878}) => {
43879  const { adjustedSubtotal, currencyType, currencySymbol, lineItems: pricingLineItems, taxInfo, total } = pricing != null ? pricing : {};
43880  const hasValidPricing = !(0,_utils_fp_utils_js__WEBPACK_IMPORTED_MODULE_3__.isNil)(adjustedSubtotal);
43881  const displayLineItems = hasValidPricing ? lineItems == null ? void 0 : lineItems.map((item) => {
43882    var _a, _b;
43883    const pricingDetails = pricingLineItems == null ? void 0 : pricingLineItems.find((lineItem) => lineItem.productCode === item.productCode);
43884    const productDetails = (_a = catalog == null ? void 0 : catalog.products) == null ? void 0 : _a.find((product) => product.productCode === item.productCode && product.currency === currencyType);
43885    return {
43886      productCode: item.productCode,
43887      quantity: item.quantity,
43888      title: productDetails == null ? void 0 : productDetails.title,
43889      description: productDetails == null ? void 0 : productDetails.description,
43890      imageUrl: productDetails == null ? void 0 : productDetails.imageUrl,
43891      discounts: pricingDetails == null ? void 0 : pricingDetails.discounts,
43892      amount: (_b = pricingDetails == null ? void 0 : pricingDetails.baseSubtotal) != null ? _b : pricingDetails == null ? void 0 : pricingDetails.adjustedSubtotal
43893    };
43894  }) : [];
43895  const isEmpty = (displayLineItems == null ? void 0 : displayLineItems.length) === 0;
43896  return /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(PricingSection, { children: [
43897    displayLineItems == null ? void 0 : displayLineItems.map((lineItem) => /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", { children: [
43898      /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43899        _OrderDetailRowEmbedded_js__WEBPACK_IMPORTED_MODULE_5__.OrderDetailRow,
43900        {
43901          alt: lineItem.description,
43902          description: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("strong", { children: lineItem.title }),
43903          image: lineItem.imageUrl,
43904          value: lineItem.amount,
43905          discounts: lineItem.discounts,
43906          currencySymbol,
43907          hasValidPricing
43908        }
43909      ),
43910      multiProductCartEnabled && /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(ProductRowControls, { children: [
43911        /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43912          _QuantityInputEmbedded_js__WEBPACK_IMPORTED_MODULE_6__.QuantityInput,
43913          {
43914            value: lineItem.quantity,
43915            onChange: (newQty) => onQuantityChange(lineItem.productCode, newQty),
43916            isLoading,
43917            minValue: 1,
43918            itemLabel: lineItem.title
43919          }
43920        ),
43921        /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43922          _cartPanelStyles_js__WEBPACK_IMPORTED_MODULE_7__.DeleteButton,
43923          {
43924            type: "button",
43925            "aria-label": `Remove ${lineItem.title} from cart`,
43926            onClick: () => onRemoveProduct(lineItem.productCode),
43927            children: "Remove"
43928          }
43929        )
43930      ] })
43931    ] }, lineItem.productCode)),
43932    isEmpty && /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { children: "Nothing in the cart." }),
43933    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Divider, {}),
43934    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43935      _OrderDetailRowEmbedded_js__WEBPACK_IMPORTED_MODULE_5__.OrderDetailRow,
43936      {
43937        description: "Subtotal",
43938        value: adjustedSubtotal,
43939        currencySymbol,
43940        hasValidPricing,
43941        isBold: true
43942      }
43943    ),
43944    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43945      _OrderDetailRowEmbedded_js__WEBPACK_IMPORTED_MODULE_5__.OrderDetailRow,
43946      {
43947        description: "Shipping",
43948        value: "Free",
43949        hasValidPricing
43950      }
43951    ),
43952    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43953      _OrderDetailRowEmbedded_js__WEBPACK_IMPORTED_MODULE_5__.OrderDetailRow,
43954      {
43955        description: "Taxes",
43956        value: (0,_utils_fp_utils_js__WEBPACK_IMPORTED_MODULE_3__.when)(_utils_fp_utils_js__WEBPACK_IMPORTED_MODULE_3__.isNil, (0,_utils_fp_utils_js__WEBPACK_IMPORTED_MODULE_3__.always)(/* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SmallPrint, { children: "Calculated at checkout" })))(taxInfo == null ? void 0 : taxInfo.amount),
43957        currencySymbol,
43958        hasValidPricing
43959      }
43960    ),
43961    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Divider, {}),
43962    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
43963      _OrderDetailRowEmbedded_js__WEBPACK_IMPORTED_MODULE_5__.OrderDetailRow,
43964      {
43965        description: "Total",
43966        value: total,
43967        currencySymbol,
43968        hasValidPricing,
43969        isBold: true
43970      }
43971    )
43972  ] });
43973};
43974
43975
43976/***/ },
43977
43978/***/ "./embed/cart/QuantityInputEmbedded.js"
43979/*!*********************************************!*\
43980  !*** ./embed/cart/QuantityInputEmbedded.js ***!
43981  \*********************************************/
43982(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
43983
43984"use strict";
43985__webpack_require__.r(__webpack_exports__);
43986/* harmony export */ __webpack_require__.d(__webpack_exports__, {
43987/* harmony export */   QuantityInput: () => (/* binding */ QuantityInput)
43988/* harmony export */ });
43989/* harmony import */ var _emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/react/jsx-runtime */ "./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js");
43990/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
43991/* harmony import */ var _utils_fp_utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/fp-utils.js */ "./embed/cart/utils/fp-utils.js");
43992/* harmony import */ var _styled_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./styled.js */ "./embed/cart/styled.js");
43993/* harmony import */ var _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../app/_theme/colors.js */ "./app/_theme/colors.js");
43994
43995
43996
43997
43998
43999const borderRadius = 5;
44000const height = 40;
44001const QuantityControlContainer = _styled_js__WEBPACK_IMPORTED_MODULE_3__["default"].span({
44002  display: "flex"
44003});
44004const QuantityControlInput = _styled_js__WEBPACK_IMPORTED_MODULE_3__["default"].input({
44005  fontSize: 18,
44006  fontFamily: "text-bold, sans-serif",
44007  fontWeight: 600,
44008  width: 60,
44009  background: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.white,
44010  borderRadius: 0,
44011  padding: 0,
44012  height,
44013  textAlign: "center",
44014  border: `1px solid ${_app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.gray2}`
44015});
44016const QuantityControlButton = _styled_js__WEBPACK_IMPORTED_MODULE_3__["default"].button(
44017  {
44018    background: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.white,
44019    border: `1px solid ${_app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.gray2}`,
44020    color: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.fadedBlack,
44021    padding: 0,
44022    height,
44023    width: height,
44024    display: "flex",
44025    justifyContent: "center",
44026    alignItems: "center",
44027    transition: "background-color 100ms ease-in-out",
44028    "&:hover": {
44029      background: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.blueLight3
44030    },
44031    "&:nth-of-type(1)": {
44032      borderRight: "none",
44033      borderTopLeftRadius: borderRadius,
44034      borderBottomLeftRadius: borderRadius
44035    },
44036    "&:nth-of-type(2)": {
44037      borderLeft: "none",
44038      borderTopRightRadius: borderRadius,
44039      borderBottomRightRadius: borderRadius
44040    }
44041  },
44042  ({ disabled }) => ({
44043    opacity: disabled ? 0.4 : 1,
44044    cursor: disabled ? "not-allowed" : "pointer",
44045    "&:hover": {
44046      backgroundColor: disabled ? _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.white : _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.blueLight3
44047    }
44048  })
44049);
44050const Minus = () => /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { width: "14", height: "2", viewBox: "0 0 14 2", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14 1C14 1.55229 13.5523 2 13 2L1 2C0.447715 2 -4.82823e-08 1.55228 0 1C4.82823e-08 0.447715 0.447715 -4.82823e-08 1 0L13 1.04907e-06C13.5523 1.09736e-06 14 0.447716 14 1Z", fill: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.fadedBlack }) });
44051const Plus = () => /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 1C8 0.447715 7.55228 0 7 0C6.44772 0 6 0.447715 6 1V6L1 6C0.447715 6 0 6.44771 0 7C0 7.55228 0.447715 8 1 8L6 8V13C6 13.5523 6.44771 14 7 14C7.55228 14 8 13.5523 8 13V8L13 8C13.5523 8 14 7.55228 14 7C14 6.44772 13.5523 6 13 6L8 6V1Z", fill: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_4__.fadedBlack }) });
44052const QuantityInput = ({
44053  isLoading = false,
44054  itemLabel,
44055  maxValue = 999,
44056  minValue = 1,
44057  onChange,
44058  value
44059}) => {
44060  const bound = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(
44061    (v) => (0,_utils_fp_utils_js__WEBPACK_IMPORTED_MODULE_2__.clamp)(minValue, maxValue, v),
44062    [maxValue, minValue]
44063  );
44064  const handleChange = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((event) => {
44065    if (event.target.value && !isNaN(event.target.value)) {
44066      onChange(bound(parseInt(event.target.value, 10)));
44067    }
44068  }, [onChange, bound]);
44069  const handleIncrement = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => {
44070    onChange(bound(value + 1));
44071  }, [onChange, bound, value]);
44072  const handleDecrement = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => {
44073    onChange(bound(value - 1));
44074  }, [onChange, bound, value]);
44075  const handleBlur = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((event) => {
44076    if (!event.target.value) {
44077      onChange(minValue);
44078    }
44079  }, [onChange, minValue]);
44080  const onesPattern = new RegExp(`[${minValue}-9]`);
44081  return /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(QuantityControlContainer, { children: [
44082    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
44083      QuantityControlButton,
44084      {
44085        type: "button",
44086        className: "trigger-gtm-quantity-decrement",
44087        "aria-label": itemLabel ? `Decrease quantity for ${itemLabel}` : "Decrease quantity",
44088        onClick: handleDecrement,
44089        disabled: isLoading || value <= minValue,
44090        children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Minus, {})
44091      }
44092    ),
44093    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
44094      QuantityControlInput,
44095      {
44096        id: "quantity-input",
44097        "aria-label": "quantity-input",
44098        value: value || minValue,
44099        onChange: handleChange,
44100        onBlur: handleBlur,
44101        disabled: isLoading,
44102        inputMode: "numeric",
44103        guide: false,
44104        mask: [onesPattern, /[0-9]/, /[0-9]/],
44105        min: minValue,
44106        max: maxValue
44107      }
44108    ),
44109    /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
44110      QuantityControlButton,
44111      {
44112        type: "button",
44113        className: "trigger-gtm-quantity-increment",
44114        "aria-label": itemLabel ? `Increase quantity for ${itemLabel}` : "Increase quantity",
44115        onClick: handleIncrement,
44116        disabled: isLoading || value >= maxValue,
44117        children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Plus, {})
44118      }
44119    )
44120  ] });
44121};
44122
44123
44124/***/ },
44125
44126/***/ "./embed/cart/cartPanelStyles.js"
44127/*!***************************************!*\
44128  !*** ./embed/cart/cartPanelStyles.js ***!
44129  \***************************************/
44130(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44131
44132"use strict";
44133__webpack_require__.r(__webpack_exports__);
44134/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44135/* harmony export */   CartWrapper: () => (/* binding */ CartWrapper),
44136/* harmony export */   CheckoutButton: () => (/* binding */ CheckoutButton),
44137/* harmony export */   CloseButton: () => (/* binding */ CloseButton),
44138/* harmony export */   DeleteButton: () => (/* binding */ DeleteButton),
44139/* harmony export */   Disclaimer: () => (/* binding */ Disclaimer),
44140/* harmony export */   Heading: () => (/* binding */ Heading),
44141/* harmony export */   HideArrow: () => (/* binding */ HideArrow),
44142/* harmony export */   LoadingWrapper: () => (/* binding */ LoadingWrapper),
44143/* harmony export */   PaymentOptionsImage: () => (/* binding */ PaymentOptionsImage),
44144/* harmony export */   Title: () => (/* binding */ Title)
44145/* harmony export */ });
44146/* harmony import */ var _emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/react/jsx-runtime */ "./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js");
44147/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
44148/* harmony import */ var _styled_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./styled.js */ "./embed/cart/styled.js");
44149/* harmony import */ var _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../app/_theme/colors.js */ "./app/_theme/colors.js");
44150/* harmony import */ var _app_components_LoadingSpinner_jsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../app/_components/LoadingSpinner.jsx */ "./app/_components/LoadingSpinner.jsx");
44151
44152
44153
44154
44155
44156const width = 450;
44157const height = 700;
44158const top = 70;
44159const CartWrapper = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div(({ isOpen }) => [
44160  {
44161    // external behavior
44162    position: "fixed",
44163    padding: "32px clamp(32px, 5%, 5px)",
44164    top,
44165    right: 0,
44166    width,
44167    maxWidth: "95%",
44168    boxSizing: "border-box",
44169    maxHeight: `calc(100vh - ${top + 32}px)`,
44170    zIndex: 1001,
44171    // One more than Bouncie Web's HeaderNavigation z-index
44172    transform: !isOpen && "translateX(105%)",
44173    transition: "transform 300ms ease-in-out",
44174    boxShadow: "0px 0px 10px rgba(0,0,0,.15)",
44175    borderRadius: "10px 0 0 10px",
44176    border: `1px solid ${_app_theme_colors_js__WEBPACK_IMPORTED_MODULE_3__.grayLight1}`,
44177    borderRight: 0,
44178    overflowY: "auto",
44179    [`@media(max-height: ${height}px)`]: {
44180      zIndex: 1001,
44181      // One more than HeaderNavigation z-index
44182      top: 0,
44183      right: 0,
44184      bottom: 0,
44185      width: "100%",
44186      maxWidth: width,
44187      borderRadius: 0,
44188      maxHeight: "unset",
44189      overscrollBehavior: "contain"
44190    },
44191    // internal behavior
44192    fontFamily: "text-regular, Helvetica Neue, sans-serif",
44193    display: "flex",
44194    flexDirection: "column",
44195    alignItems: "center",
44196    // gap: 32,
44197    background: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_3__.blueLight2,
44198    color: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_3__.zachBlack,
44199    "*, *::before, *::after": {
44200      "-webkit-box-sizing": "border-box",
44201      "-moz-box-sizing": "border-box",
44202      boxSizing: "border-box"
44203    },
44204    sup: {
44205      verticalAlign: "super"
44206    },
44207    p: {
44208      marginBottom: 10
44209    }
44210  }
44211]);
44212const Heading = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div({
44213  display: "flex",
44214  flexDirection: "row",
44215  gap: "1rem",
44216  alignSelf: "flex-start",
44217  alignItems: "center"
44218});
44219const Title = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].span({
44220  fontSize: 28,
44221  fontFamily: "text-medium, sans-serif",
44222  fontWeight: 500,
44223  margin: 0
44224});
44225const LoadingWrapperContainer = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div({
44226  width: "100%",
44227  position: "relative"
44228});
44229const LoadingFilter = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div(
44230  {
44231    width: "100%",
44232    transition: "150ms all ease-in-out"
44233  },
44234  ({ isLoading }) => isLoading ? {
44235    opacity: "50%",
44236    filter: "saturate(0%) blur(2px)"
44237  } : {}
44238);
44239const LoadingOverlay = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div({
44240  position: "absolute",
44241  top: 0,
44242  left: 0,
44243  width: "100%",
44244  height: "100%",
44245  zIndex: 100,
44246  display: "flex",
44247  alignItems: "center",
44248  justifyContent: "center"
44249});
44250const LoadingWrapper = ({ isLoading, children }) => /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(LoadingWrapperContainer, { children: [
44251  /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(LoadingFilter, { isLoading, children }),
44252  isLoading && /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(LoadingOverlay, { children: /* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_app_components_LoadingSpinner_jsx__WEBPACK_IMPORTED_MODULE_4__.RoundLoadingAnimation, { primaryColor: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_3__.grayLight1, secondaryColor: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_3__.bouncieBlue }) })
44253] });
44254const CheckoutButton = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].button({
44255  padding: "11px 0px",
44256  borderRadius: 10,
44257  background: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_3__.bouncieBlue,
44258  width: "85%",
44259  display: "inline-block",
44260  textAlign: "center",
44261  color: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_3__.white,
44262  fontSize: 16,
44263  border: "none",
44264  cursor: "pointer",
44265  "&:disabled": {
44266    opacity: 0.5,
44267    cursor: "unset"
44268  }
44269});
44270const CloseButton = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].button({
44271  position: "absolute",
44272  top: "1rem",
44273  right: "1rem",
44274  padding: 0,
44275  color: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_3__.fadedBlack,
44276  background: "none",
44277  display: "flex",
44278  alignItems: "center",
44279  gap: 5,
44280  border: "none",
44281  fontSize: 12,
44282  cursor: "pointer",
44283  "@media (min-width: 600px)": {
44284    top: "1rem",
44285    right: "2rem"
44286  }
44287});
44288const HideArrow = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].span({
44289  color: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_3__.bouncieBlue,
44290  fontSize: "1.5em",
44291  marginBottom: 4
44292});
44293const Disclaimer = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].div({
44294  fontSize: 12,
44295  fontFamily: "text-regular, sans-serif"
44296});
44297const PaymentOptionsImage = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].img({
44298  height: "fit-content",
44299  maxWidth: "100%",
44300  width: 280,
44301  marginBottom: 24
44302});
44303const DeleteButton = _styled_js__WEBPACK_IMPORTED_MODULE_2__["default"].button({
44304  background: "none",
44305  border: "none",
44306  color: _app_theme_colors_js__WEBPACK_IMPORTED_MODULE_3__.fadedBlack,
44307  fontSize: 13,
44308  fontFamily: "text-regular, sans-serif",
44309  cursor: "pointer",
44310  padding: "0 4px",
44311  textDecoration: "underline",
44312  "&:hover": {
44313    opacity: 0.7
44314  }
44315});
44316
44317
44318/***/ },
44319
44320/***/ "./embed/cart/hooks/useCartState.js"
44321/*!******************************************!*\
44322  !*** ./embed/cart/hooks/useCartState.js ***!
44323  \******************************************/
44324(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44325
44326"use strict";
44327__webpack_require__.r(__webpack_exports__);
44328/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44329/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
44330/* harmony export */ });
44331/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
44332/* harmony import */ var _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../app/cart/persist.js */ "./app/cart/persist.js");
44333
44334
44335const useCartState = () => {
44336  var _a;
44337  const [multiProductCartEnabled, setMultiProductCartEnabled] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)((_a = _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.initialState.multiProductCartEnabled) != null ? _a : false);
44338  const [catalog, setCatalog] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(_app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.initialState.catalog || {});
44339  const [products, setProducts] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(_app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.initialState.products);
44340  const [currency, setCurrency] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(_app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.initialState.currency);
44341  const [isCartPanelOpen, setIsCartPanelOpen] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(_app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.initialState.isCartPanelOpen);
44342  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function syncWithCookie() {
44343    const handler = () => {
44344      var _a2, _b;
44345      const cookies = (0,_app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.getPersist)();
44346      setCatalog(cookies.catalog);
44347      setMultiProductCartEnabled((_b = (_a2 = cookies.catalog) == null ? void 0 : _a2.multiProductCartEnabled) != null ? _b : false);
44348      setProducts(cookies.products || []);
44349      setCurrency(cookies.currency);
44350      setIsCartPanelOpen(cookies.isCartPanelOpen);
44351    };
44352    const unsubscribe = (0,_app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.subscribe)(handler);
44353    window.addEventListener("focus", handler);
44354    window.addEventListener("pageshow", handler);
44355    handler();
44356    return () => {
44357      unsubscribe();
44358      window.removeEventListener("focus", handler);
44359      window.removeEventListener("pageshow", handler);
44360    };
44361  }, []);
44362  const updateProductQuantity = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((productCode, newQuantity) => {
44363    const { products: currentProducts = [] } = (0,_app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.getPersist)();
44364    const updatedProducts = _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.utils.setProductQuantity(
44365      productCode,
44366      newQuantity,
44367      currentProducts
44368    );
44369    (0,_app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.updatePersist)({ products: updatedProducts });
44370  }, []);
44371  const getProductQuantity = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(
44372    (productCode) => _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.utils.getProductQuantity(productCode, products),
44373    [products]
44374  );
44375  const removeProduct = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((productCode) => {
44376    (0,_app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.removeProduct)(productCode);
44377  }, []);
44378  return {
44379    catalog,
44380    quantity: _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.utils.getTotalQuantity(products),
44381    // DEPRECATED: switch bouncieweb to use totalQuantity
44382    totalQuantity: _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.utils.getTotalQuantity(products),
44383    products,
44384    currency,
44385    isCartPanelOpen,
44386    multiProductCartEnabled,
44387    updateCartState: _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.updatePersist,
44388    getProductQuantity,
44389    updateProductQuantity,
44390    removeProduct,
44391    clearCartState: _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_1__.deletePersist
44392  };
44393};
44394/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useCartState);
44395
44396
44397/***/ },
44398
44399/***/ "./embed/cart/hooks/useLocationPathname.js"
44400/*!*************************************************!*\
44401  !*** ./embed/cart/hooks/useLocationPathname.js ***!
44402  \*************************************************/
44403(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44404
44405"use strict";
44406__webpack_require__.r(__webpack_exports__);
44407/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44408/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
44409/* harmony export */ });
44410/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
44411
44412const useLocationPathname = () => {
44413  const [pathname, setPathname] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(
44414    () => typeof window === "undefined" ? "" : window.location.pathname
44415  );
44416  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
44417    const originalPushState = history.pushState;
44418    const originalReplaceState = history.replaceState;
44419    history.pushState = function(...args) {
44420      originalPushState.apply(this, args);
44421      window.dispatchEvent(new Event("locationchange"));
44422    };
44423    history.replaceState = function(...args) {
44424      originalReplaceState.apply(this, args);
44425      window.dispatchEvent(new Event("locationchange"));
44426    };
44427    const handleLocationChange = () => {
44428      setPathname(window.location.pathname);
44429    };
44430    window.addEventListener("popstate", handleLocationChange);
44431    window.addEventListener("locationchange", handleLocationChange);
44432    return () => {
44433      history.pushState = originalPushState;
44434      history.replaceState = originalReplaceState;
44435      window.removeEventListener("popstate", handleLocationChange);
44436      window.removeEventListener("locationchange", handleLocationChange);
44437    };
44438  }, []);
44439  return pathname;
44440};
44441/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useLocationPathname);
44442
44443
44444/***/ },
44445
44446/***/ "./embed/cart/styled.js"
44447/*!******************************!*\
44448  !*** ./embed/cart/styled.js ***!
44449  \******************************/
44450(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44451
44452"use strict";
44453__webpack_require__.r(__webpack_exports__);
44454/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44455/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
44456/* harmony export */ });
44457/* harmony import */ var _emotion_styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/styled */ "./node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js");
44458
44459const RESET = { all: "revert" };
44460const withReset = (createStyledComponent) => (...styles) => createStyledComponent(RESET, ...styles);
44461const styled = new Proxy(_emotion_styled__WEBPACK_IMPORTED_MODULE_0__["default"], {
44462  apply(target, thisArg, argumentsList) {
44463    return withReset(Reflect.apply(target, thisArg, argumentsList));
44464  },
44465  get(target, prop, receiver) {
44466    const value = Reflect.get(target, prop, receiver);
44467    return typeof value === "function" ? withReset(value) : value;
44468  }
44469});
44470/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (styled);
44471
44472
44473/***/ },
44474
44475/***/ "./embed/cart/utils/amazon.js"
44476/*!************************************!*\
44477  !*** ./embed/cart/utils/amazon.js ***!
44478  \************************************/
44479(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44480
44481"use strict";
44482__webpack_require__.r(__webpack_exports__);
44483/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44484/* harmony export */   isAmazonPrimeBigDealDaysActiveEffective: () => (/* binding */ isAmazonPrimeBigDealDaysActiveEffective),
44485/* harmony export */   isPrimeBigDealDaysActiveForCountry: () => (/* binding */ isPrimeBigDealDaysActiveForCountry)
44486/* harmony export */ });
44487/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! date-fns */ "./node_modules/date-fns/endOfDay.js");
44488/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! date-fns */ "./node_modules/date-fns/isValid.js");
44489/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! date-fns */ "./node_modules/date-fns/isWithinInterval.js");
44490/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! date-fns */ "./node_modules/date-fns/parse.js");
44491
44492function parseLocalYMD(dateStr) {
44493  if (typeof dateStr !== "string") {
44494    return null;
44495  }
44496  const d = (0,date_fns__WEBPACK_IMPORTED_MODULE_3__.parse)(dateStr, "yyyy-MM-dd", /* @__P
44496URE__ */ new Date());
44497  return (0,date_fns__WEBPACK_IMPORTED_MODULE_1__.isValid)(d) ? d : null;
44498}
44499function isWithinDateRange(now, startStr, endStr) {
44500  const start = parseLocalYMD(startStr);
44501  const end = parseLocalYMD(endStr);
44502  if (!start || !end) {
44503    return false;
44504  }
44505  return (0,date_fns__WEBPACK_IMPORTED_MODULE_2__.isWithinInterval)(now, { start, end: (0,date_fns__WEBPACK_IMPORTED_MODULE_0__.endOfDay)(end) });
44506}
44507function isPrimeBigDealDaysActiveForCountry(countryCode, datesConfig, now = /* @__PURE__ */ new Date()) {
44508  var _a, _b, _c, _d;
44509  const cc = (countryCode || "us").toLowerCase();
44510  const dates = datesConfig || {};
44511  if (cc === "us") {
44512    return isWithinDateRange(now, (_a = dates.us) == null ? void 0 : _a.start, (_b = dates.us) == null ? void 0 : _b.end);
44513  }
44514  if (cc === "ca") {
44515    return isWithinDateRange(now, (_c = dates.ca) == null ? void 0 : _c.start, (_d = dates.ca) == null ? void 0 : _d.end);
44516  }
44517  return false;
44518}
44519function isAmazonPrimeBigDealDaysActiveEffective(config, countryCode, now = /* @__PURE__ */ new Date()) {
44520  const autoEnable = (config == null ? void 0 : config.autoEnable) !== false;
44521  if (!autoEnable) {
44522    return false;
44523  }
44524  return isPrimeBigDealDaysActiveForCountry(countryCode, config == null ? void 0 : config.dates, now);
44525}
44526
44527
44528/***/ },
44529
44530/***/ "./embed/cart/utils/fp-utils.js"
44531/*!**************************************!*\
44532  !*** ./embed/cart/utils/fp-utils.js ***!
44533  \**************************************/
44534(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44535
44536"use strict";
44537__webpack_require__.r(__webpack_exports__);
44538/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44539/* harmony export */   always: () => (/* binding */ always),
44540/* harmony export */   clamp: () => (/* binding */ clamp),
44541/* harmony export */   includes: () => (/* binding */ includes),
44542/* harmony export */   isNil: () => (/* binding */ isNil),
44543/* harmony export */   when: () => (/* binding */ when)
44544/* harmony export */ });
44545const always = (val) => () => val;
44546const isNil = (val) => val === null || val === void 0;
44547const when = (pred, fn) => (val) => pred(val) ? fn(val) : val;
44548const clamp = (min, max, val) => Math.min(max, Math.max(min, val));
44549const includes = (val, arr) => arr.includes(val);
44550
44551
44552/***/ },
44553
44554/***/ "./embed/cart/utils/utils.js"
44555/*!***********************************!*\
44556  !*** ./embed/cart/utils/utils.js ***!
44557  \***********************************/
44558(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44559
44560"use strict";
44561__webpack_require__.r(__webpack_exports__);
44562/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44563/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
44564/* harmony export */   formatMoney: () => (/* binding */ formatMoney),
44565/* harmony export */   round: () => (/* binding */ round)
44566/* harmony export */ });
44567function round(value, digits) {
44568  return Number(Math.round(value + `e+${digits}`) + `e-${digits}`);
44569}
44570function formatMoney(number) {
44571  return round(number, 2).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1,");
44572}
44573const utils = {
44574  formatMoney,
44575  round
44576};
44577/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (utils);
44578
44579
44580/***/ },
44581
44582/***/ "./node_modules/js-cookie/dist/js.cookie.mjs"
44583/*!***************************************************!*\
44584  !*** ./node_modules/js-cookie/dist/js.cookie.mjs ***!
44585  \***************************************************/
44586(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44587
44588"use strict";
44589__webpack_require__.r(__webpack_exports__);
44590/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44591/* harmony export */   "default": () => (/* binding */ api)
44592/* harmony export */ });
44593/*! js-cookie v3.0.7 | MIT */
44594function assign (target) {
44595  for (var i = 1; i < arguments.length; i++) {
44596    var source = arguments[i];
44597    for (var key in source) {
44598      if (key === '__proto__') continue
44599      target[key] = source[key];
44600    }
44601  }
44602  return target
44603}
44604
44605var defaultConverter = {
44606  read: function (value) {
44607    if (value[0] === '"') {
44608      value = value.slice(1, -1);
44609    }
44610    return value.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent)
44611  },
44612  write: function (value) {
44613    return encodeURIComponent(value).replace(
44614      /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
44615      decodeURIComponent
44616    )
44617  }
44618};
44619
44620function init(converter, defaultAttributes) {
44621  function set(name, value, attributes) {
44622    if (typeof document === 'undefined') {
44623      return
44624    }
44625
44626    attributes = assign({}, defaultAttributes, attributes);
44627
44628    if (typeof attributes.expires === 'number') {
44629      attributes.expires = new Date(Date.now() + attributes.expires * 864e5);
44630    }
44631    if (attributes.expires) {
44632      attributes.expires = attributes.expires.toUTCString();
44633    }
44634
44635    name = encodeURIComponent(name)
44636      .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)
44637      .replace(/[()]/g, escape);
44638
44639    var stringifiedAttributes = '';
44640    for (var attributeName in attributes) {
44641      if (!attributes[attributeName]) {
44642        continue
44643      }
44644
vendor: 4,114 bytes, lines 44645-44774
44645      stringifiedAttributes += '; ' + attributeName;
44646
44647      if (attributes[attributeName] === true) {
44648        continue
44649      }
44650
44651      // Considers RFC 6265 section 5.2:
44652      // ...
44653      // 3.  If the remaining unparsed-attributes contains a %x3B (";")
44654      //     character:
44655      // Consume the characters of the unparsed-attributes up to,
44656      // not including, the first %x3B (";") character.
44657      // ...
44658      stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];
44659    }
44660
44661    return (document.cookie =
44662      name + '=' + converter.write(value, name) + stringifiedAttributes)
44663  }
44664
44665  function get(name) {
44666    if (typeof document === 'undefined' || (arguments.length && !name)) {
44667      return
44668    }
44669
44670    // To prevent the for loop in the first place assign an empty array
44671    // in case there are no cookies at all.
44672    var cookies = document.cookie ? document.cookie.split('; ') : [];
44673    var jar = {};
44674    for (var i = 0; i < cookies.length; i++) {
44675      var parts = cookies[i].split('=');
44676      var value = parts.slice(1).join('=');
44677
44678      try {
44679        var found = decodeURIComponent(parts[0]);
44680        if (!(found in jar)) jar[found] = converter.read(value, found);
44681        if (name === found) {
44682          break
44683        }
44684      } catch {
44685        // Do nothing...
44686      }
44687    }
44688
44689    return name ? jar[name] : jar
44690  }
44691
44692  return Object.create(
44693    {
44694      set,
44695      get,
44696      remove: function (name, attributes) {
44697        set(
44698          name,
44699          '',
44700          assign({}, attributes, {
44701            expires: -1
44702          })
44703        );
44704      },
44705      withAttributes: function (attributes) {
44706        return init(this.converter, assign({}, this.attributes, attributes))
44707      },
44708      withConverter: function (converter) {
44709        return init(assign({}, this.converter, converter), this.attributes)
44710      }
44711    },
44712    {
44713      attributes: { value: Object.freeze(defaultAttributes) },
44714      converter: { value: Object.freeze(converter) }
44715    }
44716  )
44717}
44718
44719var api = init(defaultConverter, { path: '/' });
44720
44721
44722
44723
44724/***/ },
44725
44726/***/ "./node_modules/ramda/es/bind.js"
44727/*!***************************************!*\
44728  !*** ./node_modules/ramda/es/bind.js ***!
44729  \***************************************/
44730(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44731
44732"use strict";
44733__webpack_require__.r(__webpack_exports__);
44734/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44735/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
44736/* harmony export */ });
44737/* harmony import */ var _internal_arity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_arity.js */ "./node_modules/ramda/es/internal/_arity.js");
44738/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_curry2.js */ "./node_modules/ramda/es/internal/_curry2.js");
44739
44740
44741
44742/**
44743 * Creates a function that is bound to a context.
44744 * Note: `R.bind` does not provide the additional argument-binding capabilities of
44745 * [Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).
44746 *
44747 * @func
44748 * @memberOf R
44749 * @since v0.6.0
44750 * @category Function
44751 * @category Object
44752 * @sig (* -> *) -> {*} -> (* -> *)
44753 * @param {Function} fn The function to bind to context
44754 * @param {Object} thisObj The context to bind `fn` to
44755 * @return {Function} A function that will execute in the context of `thisObj`.
44756 * @see R.partial
44757 * @example
44758 *
44759 *      const log = R.bind(console.log, console);
44760 *      R.pipe(R.assoc('a', 2), R.tap(log), R.assoc('a', 3))({a: 1}); //=> {a: 3}
44761 *      // logs {a: 2}
44762 * @symb R.bind(f, o)(a, b) = f.call(o, a, b)
44763 */
44764var bind = /*#__PURE__*/(0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function bind(fn, thisObj) {
44765  return (0,_internal_arity_js__WEBPACK_IMPORTED_MODULE_0__["default"])(fn.length, function () {
44766    return fn.apply(thisObj, arguments);
44767  });
44768});
44769/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (bind);
44770
44771/***/ },
44772
44773/***/ "./node_modules/ramda/es/curryN.js"
44774/*!*****************************************!*\
44775  !*** ./node_modules/ramda/es/curryN.js ***!
44776  \*****************************************/
44777(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44778
44779"use strict";
44780__webpack_require__.r(__webpack_exports__);
44781/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44782/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
44783/* harmony export */ });
44784/* harmony import */ var _internal_arity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_arity.js */ "./node_modules/ramda/es/internal/_arity.js");
44785/* harmony import */ var _internal_curry1_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_curry1.js */ "./node_modules/ramda/es/internal/_curry1.js");
44786/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./internal/_curry2.js */ "./node_modules/ramda/es/internal/_curry2.js");
44787/* harmony import */ var _internal_curryN_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./internal/_curryN.js */ "./node_modules/ramda/es/internal/_curryN.js");
44788
44789
44790
44791
44792
44793/**
44794 * Returns a curried equivalent of the provided function, with the specified
44795 * arity. The curried function has two unusual capabilities. First, its
44796 * arguments needn't be provided one at a time. If `g` is `R.curryN(3, f)`, the
44797 * following are equivalent:
44798 *
44799 *   - `g(1)(2)(3)`
44800 *   - `g(1)(2, 3)`
44801 *   - `g(1, 2)(3)`
44802 *   - `g(1, 2, 3)`
44803 *
44804 * Secondly, the special placeholder value [`R.__`](#__) may be used to specify
44805 * "gaps", allowing partial application of any combination of arguments,
44806 * regardless of their positions. If `g` is as above and `_` is [`R.__`](#__),
44807 * the following are equivalent:
44808 *
44809 *   - `g(1, 2, 3)`
44810 *   - `g(_, 2, 3)(1)`
44811 *   - `g(_, _, 3)(1)(2)`
44812 *   - `g(_, _, 3)(1, 2)`
44813 *   - `g(_, 2)(1)(3)`
44814 *   - `g(_, 2)(1, 3)`
44815 *   - `g(_, 2)(_, 3)(1)`
44816 *
44817 * @func
44818 * @memberOf R
44819 * @since v0.5.0
44820 * @category Function
44821 * @sig Number -> (* -> a) -> (* -> a)
44822 * @param {Number} length The arity for the returned function.
44823 * @param {Function} fn The function to curry.
44824 * @return {Function} A new, curried function.
44825 * @see R.curry
44826 * @example
44827 *
44828 *      const sumArgs = (...args) => R.sum(args);
44829 *
44830 *      const curriedAddFourNumbers = R.curryN(4, sumArgs);
44831 *      const f = curriedAddFourNumbers(1, 2);
44832 *      const g = f(3);
44833 *      g(4); //=> 10
44834 */
44835var curryN = /*#__PURE__*/(0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_2__["default"])(function curryN(length, fn) {
44836  if (length === 1) {
44837    return (0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_1__["default"])(fn);
44838  }
44839  return (0,_internal_arity_js__WEBPACK_IMPORTED_MODULE_0__["default"])(length, (0,_internal_curryN_js__WEBPACK_IMPORTED_MODULE_3__["default"])(length, [], fn));
44840});
44841/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (curryN);
44842
44843/***/ },
44844
44845/***/ "./node_modules/ramda/es/defaultTo.js"
44846/*!********************************************!*\
44847  !*** ./node_modules/ramda/es/defaultTo.js ***!
44848  \********************************************/
44849(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44850
44851"use strict";
44852__webpack_require__.r(__webpack_exports__);
44853/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44854/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
44855/* harmony export */ });
44856/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_curry2.js */ "./node_modules/ramda/es/internal/_curry2.js");
44857
44858
44859/**
44860 * Returns the second argument if it is not `null`, `undefined` or `NaN`;
44861 * otherwise the first argument is returned.
44862 *
44863 * @func
44864 * @memberOf R
44865 * @since v0.10.0
44866 * @category Logic
44867 * @sig a -> b -> a | b
44868 * @param {a} default The default value.
44869 * @param {b} val `val` will be returned instead of `default` unless `val` is `null`, `undefined` or `NaN`.
44870 * @return {*} The second value if it is not `null`, `undefined` or `NaN`, otherwise the default value
44871 * @example
44872 *
44873 *      const defaultTo42 = R.defaultTo(42);
44874 *
44875 *      defaultTo42(null);  //=> 42
44876 *      defaultTo42(undefined);  //=> 42
44877 *      defaultTo42(false);  //=> false
44878 *      defaultTo42('Ramda');  //=> 'Ramda'
44879 *      // parseInt('string') results in NaN
44880 *      defaultTo42(parseInt('string')); //=> 42
44881 */
44882var defaultTo = /*#__PURE__*/(0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function defaultTo(d, v) {
44883  return v == null || v !== v ? d : v;
44884});
44885/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultTo);
44886
44887/***/ },
44888
44889/***/ "./node_modules/ramda/es/equals.js"
44890/*!*****************************************!*\
44891  !*** ./node_modules/ramda/es/equals.js ***!
44892  \*****************************************/
44893(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44894
44895"use strict";
44896__webpack_require__.r(__webpack_exports__);
44897/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44898/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
44899/* harmony export */ });
44900/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_curry2.js */ "./node_modules/ramda/es/internal/_curry2.js");
44901/* harmony import */ var _internal_equals_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_equals.js */ "./node_modules/ramda/es/internal/_equals.js");
44902
44903
44904
44905/**
44906 * Returns `true` if its arguments are equivalent, `false` otherwise. Handles
44907 * cyclical data structures.
44908 *
44909 * Dispatches symmetrically to the `equals` methods of both arguments, if
44910 * present.
44911 *
44912 * @func
44913 * @memberOf R
44914 * @since v0.15.0
44915 * @category Relation
44916 * @sig a -> b -> Boolean
44917 * @param {*} a
44918 * @param {*} b
44919 * @return {Boolean}
44920 * @example
44921 *
44922 *      R.equals(1, 1); //=> true
44923 *      R.equals(1, '1'); //=> false
44924 *      R.equals([1, 2, 3], [1, 2, 3]); //=> true
44925 *
44926 *      const a = {}; a.v = a;
44927 *      const b = {}; b.v = b;
44928 *      R.equals(a, b); //=> true
44929 */
44930var equals = /*#__PURE__*/(0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function equals(a, b) {
44931  return (0,_internal_equals_js__WEBPACK_IMPORTED_MODULE_1__["default"])(a, b, [], []);
44932});
44933/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (equals);
44934
44935/***/ },
44936
44937/***/ "./node_modules/ramda/es/filter.js"
44938/*!*****************************************!*\
44939  !*** ./node_modules/ramda/es/filter.js ***!
44940  \*****************************************/
44941(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
44942
44943"use strict";
44944__webpack_require__.r(__webpack_exports__);
44945/* harmony export */ __webpack_require__.d(__webpack_exports__, {
44946/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
44947/* harmony export */ });
44948/* harmony import */ var _internal_arrayReduce_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_arrayReduce.js */ "./node_modules/ramda/es/internal/_arrayReduce.js");
44949/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_curry2.js */ "./node_modules/ramda/es/internal/_curry2.js");
44950/* harmony import */ var _internal_dispatchable_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./internal/_dispatchable.js */ "./node_modules/ramda/es/internal/_dispatchable.js");
44951/* harmony import */ var _internal_filter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./internal/_filter.js */ "./node_modules/ramda/es/internal/_filter.js");
44952/* harmony import */ var _internal_filterMap_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./internal/_filterMap.js */ "./node_modules/ramda/es/internal/_filterMap.js");
44953/* harmony import */ var _internal_isMap_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./internal/_isMap.js */ "./node_modules/ramda/es/internal/_isMap.js");
44954/* harmony import */ var _internal_isObject_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./internal/_isObject.js */ "./node_modules/ramda/es/internal/_isObject.js");
44955/* harmony import */ var _internal_xfilter_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./internal/_xfilter.js */ "./node_modules/ramda/es/internal/_xfilter.js");
44956/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./keys.js */ "./node_modules/ramda/es/keys.js");
44957
44958
44959
44960
44961
44962
44963
44964
44965
44966
44967/**
44968 * Takes a predicate and a `Filterable`, and returns a new filterable of the
44969 * same type containing the members of the given filterable which satisfy the
44970 * given predicate. Filterable objects include plain objects, Maps, or any object
44971 * that has a filter method such as `Array`.
44972 *
44973 * Dispatches to the `filter` method of the second argument, if present.
44974 *
44975 * Acts as a transducer if a transformer is given in list position.
44976 *
44977 * @func
44978 * @memberOf R
44979 * @since v0.1.0
44980 * @category List
44981 * @category Object
44982 * @sig Filterable f => (a -> Boolean) -> f a -> f a
44983 * @param {Function} pred
44984 * @param {Array} filterable
44985 * @return {Array} Filterable
44986 * @see R.reject, R.transduce, R.addIndex
44987 * @example
44988 *
44989 *      const isEven = n => n % 2 === 0;
44990 *
44991 *      R.filter(isEven, [1, 2, 3, 4]); //=> [2, 4]
44992 *
44993 *      R.filter(isEven, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}
44994 */
44995var filter = /*#__PURE__*/(0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,_internal_dispatchable_js__WEBPACK_IMPORTED_MODULE_2__["default"])(['fantasy-land/filter', 'filter'], _internal_xfilter_js__WEBPACK_IMPORTED_MODULE_7__["default"], function (pred, filterable) {
44996  return (0,_internal_isObject_js__WEBPACK_IMPORTED_MODULE_6__["default"])(filterable) ? (0,_internal_arrayReduce_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (acc, key) {
44997    if (pred(filterable[key])) {
44998      acc[key] = filterable[key];
44999    }
45000    return acc;
45001  }, {}, (0,_keys_js__WEBPACK_IMPORTED_MODULE_8__["default"])(filterable)) : (0,_internal_isMap_js__WEBPACK_IMPORTED_MODULE_5__["default"])(filterable) ? (0,_internal_filterMap_js__WEBPACK_IMPORTED_MODULE_4__["default"])(pred, filterable) :
45002  // else
45003  (0,_internal_filter_js__WEBPACK_IMPORTED_MODULE_3__["default"])(pred, filterable);
45004}));
45005/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (filter);
45006
45007/***/ },
45008
45009/***/ "./node_modules/ramda/es/internal/_arity.js"
45010/*!**************************************************!*\
45011  !*** ./node_modules/ramda/es/internal/_arity.js ***!
45012  \**************************************************/
45013(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45014
45015"use strict";
45016__webpack_require__.r(__webpack_exports__);
45017/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45018/* harmony export */   "default": () => (/* binding */ _arity)
45019/* harmony export */ });
45020function _arity(n, fn) {
45021  /* eslint-disable no-unused-vars */
45022  switch (n) {
45023    case 0:
45024      return function () {
45025        return fn.apply(this, arguments);
45026      };
45027    case 1:
45028      return function (a0) {
45029        return fn.apply(this, arguments);
45030      };
45031    case 2:
45032      return function (a0, a1) {
45033        return fn.apply(this, arguments);
45034      };
45035    case 3:
45036      return function (a0, a1, a2) {
45037        return fn.apply(this, arguments);
45038      };
45039    case 4:
45040      return function (a0, a1, a2, a3) {
45041        return fn.apply(this, arguments);
45042      };
45043    case 5:
45044      return function (a0, a1, a2, a3, a4) {
45045        return fn.apply(this, arguments);
45046      };
45047    case 6:
45048      return function (a0, a1, a2, a3, a4, a5) {
45049        return fn.apply(this, arguments);
45050      };
45051    case 7:
45052      return function (a0, a1, a2, a3, a4, a5, a6) {
45053        return fn.apply(this, arguments);
45054      };
45055    case 8:
45056      return function (a0, a1, a2, a3, a4, a5, a6, a7) {
45057        return fn.apply(this, arguments);
45058      };
45059    case 9:
45060      return function (a0, a1, a2, a3, a4, a5, a6, a7, a8) {
45061        return fn.apply(this, arguments);
45062      };
45063    case 10:
45064      return function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
45065        return fn.apply(this, arguments);
45066      };
45067    default:
45068      throw new Error('First argument to _arity must be a non-negative integer no greater than ten');
45069  }
45070}
45071
45072/***/ },
45073
45074/***/ "./node_modules/ramda/es/internal/_arrayFromIterator.js"
45075/*!**************************************************************!*\
45076  !*** ./node_modules/ramda/es/internal/_arrayFromIterator.js ***!
45077  \**************************************************************/
45078(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45079
45080"use strict";
45081__webpack_require__.r(__webpack_exports__);
45082/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45083/* harmony export */   "default": () => (/* binding */ _arrayFromIterator)
45084/* harmony export */ });
45085function _arrayFromIterator(iter) {
45086  var list = [];
45087  var next;
45088  while (!(next = iter.next()).done) {
45089    list.push(next.value);
45090  }
45091  return list;
45092}
45093
45094/***/ },
45095
45096/***/ "./node_modules/ramda/es/internal/_arrayReduce.js"
45097/*!********************************************************!*\
45098  !*** ./node_modules/ramda/es/internal/_arrayReduce.js ***!
45099  \********************************************************/
45100(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45101
45102"use strict";
45103__webpack_require__.r(__webpack_exports__);
45104/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45105/* harmony export */   "default": () => (/* binding */ _arrayReduce)
45106/* harmony export */ });
45107function _arrayReduce(reducer, acc, list) {
45108  var index = 0;
45109  var length = list.length;
45110  while (index < length) {
45111    acc = reducer(acc, list[index]);
45112    index += 1;
45113  }
45114  return acc;
45115}
45116
45117/***/ },
45118
45119/***/ "./node_modules/ramda/es/internal/_checkForMethod.js"
45120/*!***********************************************************!*\
45121  !*** ./node_modules/ramda/es/internal/_checkForMethod.js ***!
45122  \***********************************************************/
45123(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45124
45125"use strict";
45126__webpack_require__.r(__webpack_exports__);
45127/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45128/* harmony export */   "default": () => (/* binding */ _checkForMethod)
45129/* harmony export */ });
45130/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_isArray.js */ "./node_modules/ramda/es/internal/_isArray.js");
45131
45132
45133/**
45134 * This checks whether a function has a [methodname] function. If it isn't an
45135 * array it will execute that function otherwise it will default to the ramda
45136 * implementation.
45137 *
45138 * @private
45139 * @param {Function} fn ramda implementation
45140 * @param {String} methodname property to check for a custom implementation
45141 * @return {Object} Whatever the return value of the method is.
45142 */
45143function _checkForMethod(methodname, fn) {
45144  return function () {
45145    var length = arguments.length;
45146    if (length === 0) {
45147      return fn();
45148    }
45149    var obj = arguments[length - 1];
45150    return (0,_isArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(obj) || typeof obj[methodname] !== 'function' ? fn.apply(this, arguments) : obj[methodname].apply(obj, Array.prototype.slice.call(arguments, 0, length - 1));
45151  };
45152}
45153
45154/***/ },
45155
45156/***/ "./node_modules/ramda/es/internal/_complement.js"
45157/*!*******************************************************!*\
45158  !*** ./node_modules/ramda/es/internal/_complement.js ***!
45159  \*******************************************************/
45160(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45161
45162"use strict";
45163__webpack_require__.r(__webpack_exports__);
45164/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45165/* harmony export */   "default": () => (/* binding */ _complement)
45166/* harmony export */ });
45167function _complement(f) {
45168  return function () {
45169    return !f.apply(this, arguments);
45170  };
45171}
45172
45173/***/ },
45174
45175/***/ "./node_modules/ramda/es/internal/_createReduce.js"
45176/*!*********************************************************!*\
45177  !*** ./node_modules/ramda/es/internal/_createReduce.js ***!
45178  \*********************************************************/
45179(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45180
45181"use strict";
45182__webpack_require__.r(__webpack_exports__);
45183/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45184/* harmony export */   "default": () => (/* binding */ _createReduce)
45185/* harmony export */ });
45186/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_isArrayLike.js */ "./node_modules/ramda/es/internal/_isArrayLike.js");
45187
45188var symIterator = typeof Symbol !== 'undefined' ? Symbol.iterator : '@@iterator';
45189function _createReduce(arrayReduce, methodReduce, iterableReduce) {
45190  return function _reduce(xf, acc, list) {
45191    if ((0,_isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__["default"])(list)) {
45192      return arrayReduce(xf, acc, list);
45193    }
45194    if (list == null) {
45195      return acc;
45196    }
45197    if (typeof list['fantasy-land/reduce'] === 'function') {
45198      return methodReduce(xf, acc, list, 'fantasy-land/reduce');
45199    }
45200    if (list[symIterator] != null) {
45201      return iterableReduce(xf, acc, list[symIterator]());
45202    }
45203    if (typeof list.next === 'function') {
45204      return iterableReduce(xf, acc, list);
45205    }
45206    if (typeof list.reduce === 'function') {
45207      return methodReduce(xf, acc, list, 'reduce');
45208    }
45209    throw new TypeError('reduce: list must be array or iterable');
45210  };
45211}
45212
45213/***/ },
45214
45215/***/ "./node_modules/ramda/es/internal/_curry1.js"
45216/*!***************************************************!*\
45217  !*** ./node_modules/ramda/es/internal/_curry1.js ***!
45218  \***************************************************/
45219(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45220
45221"use strict";
45222__webpack_require__.r(__webpack_exports__);
45223/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45224/* harmony export */   "default": () => (/* binding */ _curry1)
45225/* harmony export */ });
45226/* harmony import */ var _isPlaceholder_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_isPlaceholder.js */ "./node_modules/ramda/es/internal/_isPlaceholder.js");
45227
45228
45229/**
45230 * Optimized internal one-arity curry function.
45231 *
45232 * @private
45233 * @category Function
45234 * @param {Function} fn The function to curry.
45235 * @return {Function} The curried function.
45236 */
45237function _curry1(fn) {
45238  return function f1(a) {
45239    if (arguments.length === 0 || (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a)) {
45240      return f1;
45241    } else {
45242      return fn.apply(this, arguments);
45243    }
45244  };
45245}
45246
45247/***/ },
45248
45249/***/ "./node_modules/ramda/es/internal/_curry2.js"
45250/*!***************************************************!*\
45251  !*** ./node_modules/ramda/es/internal/_curry2.js ***!
45252  \***************************************************/
45253(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45254
45255"use strict";
45256__webpack_require__.r(__webpack_exports__);
45257/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45258/* harmony export */   "default": () => (/* binding */ _curry2)
45259/* harmony export */ });
45260/* harmony import */ var _curry1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_curry1.js */ "./node_modules/ramda/es/internal/_curry1.js");
45261/* harmony import */ var _isPlaceholder_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_isPlaceholder.js */ "./node_modules/ramda/es/internal/_isPlaceholder.js");
45262
45263
45264
45265/**
45266 * Optimized internal two-arity curry function.
45267 *
45268 * @private
45269 * @category Function
45270 * @param {Function} fn The function to curry.
45271 * @return {Function} The curried function.
45272 */
45273function _curry2(fn) {
45274  return function f2(a, b) {
45275    switch (arguments.length) {
45276      case 0:
45277        return f2;
45278      case 1:
45279        return (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_1__["default"])(a) ? f2 : (0,_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (_b) {
45280          return fn(a, _b);
45281        });
45282      default:
45283        return (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_1__["default"])(a) && (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_1__["default"])(b) ? f2 : (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_1__["default"])(a) ? (0,_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (_a) {
45284          return fn(_a, b);
45285        }) : (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_1__["default"])(b) ? (0,_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (_b) {
45286          return fn(a, _b);
45287        }) : fn(a, b);
45288    }
45289  };
45290}
45291
45292/***/ },
45293
45294/***/ "./node_modules/ramda/es/internal/_curry3.js"
45295/*!***************************************************!*\
45296  !*** ./node_modules/ramda/es/internal/_curry3.js ***!
45297  \***************************************************/
45298(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45299
45300"use strict";
45301__webpack_require__.r(__webpack_exports__);
45302/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45303/* harmony export */   "default": () => (/* binding */ _curry3)
45304/* harmony export */ });
45305/* harmony import */ var _curry1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_curry1.js */ "./node_modules/ramda/es/internal/_curry1.js");
45306/* harmony import */ var _curry2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_curry2.js */ "./node_modules/ramda/es/internal/_curry2.js");
45307/* harmony import */ var _isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_isPlaceholder.js */ "./node_modules/ramda/es/internal/_isPlaceholder.js");
45308
45309
45310
45311
45312/**
45313 * Optimized internal three-arity curry function.
45314 *
45315 * @private
45316 * @category Function
45317 * @param {Function} fn The function to curry.
45318 * @return {Function} The curried function.
45319 */
45320function _curry3(fn) {
45321  return function f3(a, b, c) {
45322    switch (arguments.length) {
45323      case 0:
45324        return f3;
45325      case 1:
45326        return (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(a) ? f3 : (0,_curry2_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function (_b, _c) {
45327          return fn(a, _b, _c);
45328        });
45329      case 2:
45330        return (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(a) && (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(b) ? f3 : (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(a) ? (0,_curry2_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function (_a, _c) {
45331          return fn(_a, b, _c);
45332        }) : (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(b) ? (0,_curry2_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function (_b, _c) {
45333          return fn(a, _b, _c);
45334        }) : (0,_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (_c) {
45335          return fn(a, b, _c);
45336        });
45337      default:
45338        return (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(a) && (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(b) && (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(c) ? f3 : (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(a) && (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(b) ? (0,_curry2_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function (_a, _b) {
45339          return fn(_a, _b, c);
45340        }) : (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(a) && (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(c) ? (0,_curry2_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function (_a, _c) {
45341          return fn(_a, b, _c);
45342        }) : (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(b) && (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(c) ? (0,_curry2_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function (_b, _c) {
45343          return fn(a, _b, _c);
45344        }) : (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(a) ? (0,_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (_a) {
45345          return fn(_a, b, c);
45346        }) : (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(b) ? (0,_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (_b) {
45347          return fn(a, _b, c);
45348        }) : (0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_2__["default"])(c) ? (0,_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (_c) {
45349          return fn(a, b, _c);
45350        }) : fn(a, b, c);
45351    }
45352  };
45353}
45354
45355/***/ },
45356
45357/***/ "./node_modules/ramda/es/internal/_curryN.js"
45358/*!***************************************************!*\
45359  !*** ./node_modules/ramda/es/internal/_curryN.js ***!
45360  \***************************************************/
45361(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45362
45363"use strict";
45364__webpack_require__.r(__webpack_exports__);
45365/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45366/* harmony export */   "default": () => (/* binding */ _curryN)
45367/* harmony export */ });
45368/* harmony import */ var _arity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_arity.js */ "./node_modules/ramda/es/internal/_arity.js");
45369/* harmony import */ var _isPlaceholder_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_isPlaceholder.js */ "./node_modules/ramda/es/internal/_isPlaceholder.js");
45370
45371
45372
45373/**
45374 * Internal curryN function.
45375 *
45376 * @private
45377 * @category Function
45378 * @param {Number} length The arity of the curried function.
45379 * @param {Array} received An array of arguments received thus far.
45380 * @param {Function} fn The function to curry.
45381 * @return {Function} The curried function.
45382 */
45383function _curryN(length, received, fn) {
45384  return function () {
45385    var combined = [];
45386    var argsIdx = 0;
45387    var left = length;
45388    var combinedIdx = 0;
45389    var hasPlaceholder = false;
45390    while (combinedIdx < received.length || argsIdx < arguments.length) {
45391      var result;
45392      if (combinedIdx < received.length && (!(0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_1__["default"])(received[combinedIdx]) || argsIdx >= arguments.length)) {
45393        result = received[combinedIdx];
45394      } else {
45395        result = arguments[argsIdx];
45396        argsIdx += 1;
45397      }
45398      combined[combinedIdx] = result;
45399      if (!(0,_isPlaceholder_js__WEBPACK_IMPORTED_MODULE_1__["default"])(result)) {
45400        left -= 1;
45401      } else {
45402        hasPlaceholder = true;
45403      }
45404      combinedIdx += 1;
45405    }
45406    return !hasPlaceholder && left <= 0 ? fn.apply(this, combined) : (0,_arity_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Math.max(0, left), _curryN(length, combined, fn));
45407  };
45408}
45409
45410/***/ },
45411
45412/***/ "./node_modules/ramda/es/internal/_dispatchable.js"
45413/*!*********************************************************!*\
45414  !*** ./node_modules/ramda/es/internal/_dispatchable.js ***!
45415  \*********************************************************/
45416(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45417
45418"use strict";
45419__webpack_require__.r(__webpack_exports__);
45420/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45421/* harmony export */   "default": () => (/* binding */ _dispatchable)
45422/* harmony export */ });
45423/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_isArray.js */ "./node_modules/ramda/es/internal/_isArray.js");
45424/* harmony import */ var _isTransformer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_isTransformer.js */ "./node_modules/ramda/es/internal/_isTransformer.js");
45425
45426
45427
45428/**
45429 * Returns a function that dispatches with different strategies based on the
45430 * object in list position (last argument). If it is an array, executes [fn].
45431 * Otherwise, if it has a function with one of the given method names, it will
45432 * execute that function (functor case). Otherwise, if it is a transformer,
45433 * uses transducer created by [transducerCreator] to return a new transformer
45434 * (transducer case).
45435 * Otherwise, it will default to executing [fn].
45436 *
45437 * @private
45438 * @param {Array} methodNames properties to check for a custom implementation
45439 * @param {Function} transducerCreator transducer factory if object is transformer
45440 * @param {Function} fn default ramda implementation
45441 * @return {Function} A function that dispatches on object in list position
45442 */
45443function _dispatchable(methodNames, transducerCreator, fn) {
45444  return function () {
45445    if (arguments.length === 0) {
45446      return fn();
45447    }
45448    var obj = arguments[arguments.length - 1];
45449    if (!(0,_isArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(obj)) {
45450      var idx = 0;
45451      while (idx < methodNames.length) {
45452        if (typeof obj[methodNames[idx]] === 'function') {
45453          return obj[methodNames[idx]].apply(obj, Array.prototype.slice.call(arguments, 0, -1));
45454        }
45455        idx += 1;
45456      }
45457      if ((0,_isTransformer_js__WEBPACK_IMPORTED_MODULE_1__["default"])(obj)) {
45458        var transducer = transducerCreator.apply(null, Array.prototype.slice.call(arguments, 0, -1));
45459        return transducer(obj);
45460      }
45461    }
45462    return fn.apply(this, arguments);
45463  };
45464}
45465
45466/***/ },
45467
45468/***/ "./node_modules/ramda/es/internal/_equals.js"
45469/*!***************************************************!*\
45470  !*** ./node_modules/ramda/es/internal/_equals.js ***!
45471  \***************************************************/
45472(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45473
45474"use strict";
45475__webpack_require__.r(__webpack_exports__);
45476/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45477/* harmony export */   "default": () => (/* binding */ _equals)
45478/* harmony export */ });
45479/* harmony import */ var _arrayFromIterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_arrayFromIterator.js */ "./node_modules/ramda/es/internal/_arrayFromIterator.js");
45480/* harmony import */ var _includesWith_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_includesWith.js */ "./node_modules/ramda/es/internal/_includesWith.js");
45481/* harmony import */ var _functionName_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_functionName.js */ "./node_modules/ramda/es/internal/_functionName.js");
45482/* harmony import */ var _has_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_has.js */ "./node_modules/ramda/es/internal/_has.js");
45483/* harmony import */ var _objectIs_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_objectIs.js */ "./node_modules/ramda/es/internal/_objectIs.js");
45484/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../keys.js */ "./node_modules/ramda/es/keys.js");
45485/* harmony import */ var _type_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../type.js */ "./node_modules/ramda/es/type.js");
45486
45487
45488
45489
45490
45491
45492
45493
45494/**
45495 * private _uniqContentEquals function.
45496 * That function is checking equality of 2 iterator contents with 2 assumptions
45497 * - iterators lengths are the same
45498 * - iterators values are unique
45499 *
45500 * false-positive result will be returned for comparison of, e.g.
45501 * - [1,2,3] and [1,2,3,4]
45502 * - [1,1,1] and [1,2,3]
45503 * */
45504
45505function _uniqContentEquals(aIterator, bIterator, stackA, stackB) {
45506  var a = (0,_arrayFromIterator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(aIterator);
45507  var b = (0,_arrayFromIterator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(bIterator);
45508  function eq(_a, _b) {
45509    return _equals(_a, _b, stackA.slice(), stackB.slice());
45510  }
45511
45512  // if *a* array contains any element that is not included in *b*
45513  return !(0,_includesWith_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function (b, aItem) {
45514    return !(0,_includesWith_js__WEBPACK_IMPORTED_MODULE_1__["default"])(eq, aItem, b);
45515  }, b, a);
45516}
45517function _equals(a, b, stackA, stackB) {
45518  if ((0,_objectIs_js__WEBPACK_IMPORTED_MODULE_4__["default"])(a, b)) {
45519    return true;
45520  }
45521  var typeA = (0,_type_js__WEBPACK_IMPORTED_MODULE_6__["default"])(a);
45522  if (typeA !== (0,_type_js__WEBPACK_IMPORTED_MODULE_6__["default"])(b)) {
45523    return false;
45524  }
45525  if (typeof a['fantasy-land/equals'] === 'function' || typeof b['fantasy-land/equals'] === 'function') {
45526    return typeof a['fantasy-land/equals'] === 'function' && a['fantasy-land/equals'](b) && typeof b['fantasy-land/equals'] === 'function' && b['fantasy-land/equals'](a);
45527  }
45528  if (typeof a.equals === 'function' || typeof b.equals === 'function') {
45529    return typeof a.equals === 'function' && a.equals(b) && typeof b.equals === 'function' && b.equals(a);
45530  }
45531  switch (typeA) {
45532    case 'Arguments':
45533    case 'Array':
45534    case 'Object':
45535      if (typeof a.constructor === 'function' && (0,_functionName_js__WEBPACK_IMPORTED_MODULE_2__["default"])(a.constructor) === 'Promise') {
45536        return a === b;
45537      }
45538      break;
45539    case 'Boolean':
45540    case 'Number':
45541    case 'String':
45542      if (!(typeof a === typeof b && (0,_objectIs_js__WEBPACK_IMPORTED_MODULE_4__["default"])(a.valueOf(), b.valueOf()))) {
45543        return false;
45544      }
45545      break;
45546    case 'Date':
45547      if (!(0,_objectIs_js__WEBPACK_IMPORTED_MODULE_4__["default"])(a.valueOf(), b.valueOf())) {
45548        return false;
45549      }
45550      break;
45551    case 'Error':
45552      return a.name === b.name && a.message === b.message;
45553    case 'RegExp':
45554      if (!(a.source === b.source && a.global === b.global && a.ignoreCase === b.ignoreCase && a.multiline === b.multiline && a.sticky === b.sticky && a.unicode === b.unicode)) {
45555        return false;
45556      }
45557      break;
45558  }
45559  var idx = stackA.length - 1;
45560  while (idx >= 0) {
45561    if (stackA[idx] === a) {
45562      return stackB[idx] === b;
45563    }
45564    idx -= 1;
45565  }
45566  switch (typeA) {
45567    case 'Map':
45568      if (a.size !== b.size) {
45569        return false;
45570      }
45571      return _uniqContentEquals(a.entries(), b.entries(), stackA.concat([a]), stackB.concat([b]));
45572    case 'Set':
45573      if (a.size !== b.size) {
45574        return false;
45575      }
45576      return _uniqContentEquals(a.values(), b.values(), stackA.concat([a]), stackB.concat([b]));
45577    case 'Arguments':
45578    case 'Array':
45579    case 'Object':
45580    case 'Boolean':
45581    case 'Number':
45582    case 'String':
45583    case 'Date':
45584    case 'Error':
45585    case 'RegExp':
45586    case 'Int8Array':
45587    case 'Uint8Array':
45588    case 'Uint8ClampedArray':
45589    case 'Int16Array':
45590    case 'Uint16Array':
45591    case 'Int32Array':
45592    case 'Uint32Array':
45593    case 'Float32Array':
45594    case 'Float64Array':
45595    case 'ArrayBuffer':
45596      break;
45597    default:
45598      // Values of other types are only equal if identical.
45599      return false;
45600  }
45601  var keysA = (0,_keys_js__WEBPACK_IMPORTED_MODULE_5__["default"])(a);
45602  if (keysA.length !== (0,_keys_js__WEBPACK_IMPORTED_MODULE_5__["default"])(b).length) {
45603    return false;
45604  }
45605  var extendedStackA = stackA.concat([a]);
45606  var extendedStackB = stackB.concat([b]);
45607  idx = keysA.length - 1;
45608  while (idx >= 0) {
45609    var key = keysA[idx];
45610    if (!((0,_has_js__WEBPACK_IMPORTED_MODULE_3__["default"])(key, b) && _equals(b[key], a[key], extendedStackA, extendedStackB))) {
45611      return false;
45612    }
45613    idx -= 1;
45614  }
45615  return true;
45616}
45617
45618/***/ },
45619
45620/***/ "./node_modules/ramda/es/internal/_filter.js"
45621/*!***************************************************!*\
45622  !*** ./node_modules/ramda/es/internal/_filter.js ***!
45623  \***************************************************/
45624(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45625
45626"use strict";
45627__webpack_require__.r(__webpack_exports__);
45628/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45629/* harmony export */   "default": () => (/* binding */ _filter)
45630/* harmony export */ });
45631function _filter(fn, list) {
45632  var idx = 0;
45633  var len = list.length;
45634  var result = [];
45635  while (idx < len) {
45636    if (fn(list[idx])) {
45637      result[result.length] = list[idx];
45638    }
45639    idx += 1;
45640  }
45641  return result;
45642}
45643
45644/***/ },
45645
45646/***/ "./node_modules/ramda/es/internal/_filterMap.js"
45647/*!******************************************************!*\
45648  !*** ./node_modules/ramda/es/internal/_filterMap.js ***!
45649  \******************************************************/
45650(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45651
45652"use strict";
45653__webpack_require__.r(__webpack_exports__);
45654/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45655/* harmony export */   "default": () => (/* binding */ _filterMap)
45656/* harmony export */ });
45657function _filterMap(fn, map) {
45658  var result = new Map();
45659  var iterator = map.entries();
45660  var current = iterator.next();
45661  while (!current.done) {
45662    if (fn(current.value[1])) {
45663      result.set(current.value[0], current.value[1]);
45664    }
45665    current = iterator.next();
45666  }
45667  return result;
45668}
45669
45670/***/ },
45671
45672/***/ "./node_modules/ramda/es/internal/_functionName.js"
45673/*!*********************************************************!*\
45674  !*** ./node_modules/ramda/es/internal/_functionName.js ***!
45675  \*********************************************************/
45676(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45677
45678"use strict";
45679__webpack_require__.r(__webpack_exports__);
45680/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45681/* harmony export */   "default": () => (/* binding */ _functionName)
45682/* harmony export */ });
45683function _functionName(f) {
45684  // String(x => x) evaluates to "x => x", so the pattern may not match.
45685  var match = String(f).match(/^function (\w*)/);
45686  return match == null ? '' : match[1];
45687}
45688
45689/***/ },
45690
45691/***/ "./node_modules/ramda/es/internal/_has.js"
45692/*!************************************************!*\
45693  !*** ./node_modules/ramda/es/internal/_has.js ***!
45694  \************************************************/
45695(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45696
45697"use strict";
45698__webpack_require__.r(__webpack_exports__);
45699/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45700/* harmony export */   "default": () => (/* binding */ _has)
45701/* harmony export */ });
45702function _has(prop, obj) {
45703  return Object.prototype.hasOwnProperty.call(obj, prop);
45704}
45705
45706/***/ },
45707
45708/***/ "./node_modules/ramda/es/internal/_includes.js"
45709/*!*****************************************************!*\
45710  !*** ./node_modules/ramda/es/internal/_includes.js ***!
45711  \*****************************************************/
45712(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45713
45714"use strict";
45715__webpack_require__.r(__webpack_exports__);
45716/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45717/* harmony export */   "default": () => (/* binding */ _includes)
45718/* harmony export */ });
45719/* harmony import */ var _indexOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_indexOf.js */ "./node_modules/ramda/es/internal/_indexOf.js");
45720
45721function _includes(a, list) {
45722  return (0,_indexOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(list, a, 0) >= 0;
45723}
45724
45725/***/ },
45726
45727/***/ "./node_modules/ramda/es/internal/_includesWith.js"
45728/*!*********************************************************!*\
45729  !*** ./node_modules/ramda/es/internal/_includesWith.js ***!
45730  \*********************************************************/
45731(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45732
45733"use strict";
45734__webpack_require__.r(__webpack_exports__);
45735/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45736/* harmony export */   "default": () => (/* binding */ _includesWith)
45737/* harmony export */ });
45738function _includesWith(pred, x, list) {
45739  var idx = 0;
45740  var len = list.length;
45741  while (idx < len) {
45742    if (pred(x, list[idx])) {
45743      return true;
45744    }
45745    idx += 1;
45746  }
45747  return false;
45748}
45749
45750/***/ },
45751
45752/***/ "./node_modules/ramda/es/internal/_indexOf.js"
45753/*!****************************************************!*\
45754  !*** ./node_modules/ramda/es/internal/_indexOf.js ***!
45755  \****************************************************/
45756(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45757
45758"use strict";
45759__webpack_require__.r(__webpack_exports__);
45760/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45761/* harmony export */   "default": () => (/* binding */ _indexOf)
45762/* harmony export */ });
45763/* harmony import */ var _equals_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../equals.js */ "./node_modules/ramda/es/equals.js");
45764
45765function _indexOf(list, a, idx) {
45766  var inf, item;
45767  // Array.prototype.indexOf doesn't exist below IE9
45768  if (typeof list.indexOf === 'function') {
45769    switch (typeof a) {
45770      case 'number':
45771        if (a === 0) {
45772          // manually crawl the list to distinguish between +0 and -0
45773          inf = 1 / a;
45774          while (idx < list.length) {
45775            item = list[idx];
45776            if (item === 0 && 1 / item === inf) {
45777              return idx;
45778            }
45779            idx += 1;
45780          }
45781          return -1;
45782        } else if (a !== a) {
45783          // NaN
45784          while (idx < list.length) {
45785            item = list[idx];
45786            if (typeof item === 'number' && item !== item) {
45787              return idx;
45788            }
45789            idx += 1;
45790          }
45791          return -1;
45792        }
45793        // non-zero numbers can utilise Set
45794        return list.indexOf(a, idx);
45795
45796      // all these types can utilise Set
45797      case 'string':
45798      case 'boolean':
45799      case 'function':
45800      case 'undefined':
45801        return list.indexOf(a, idx);
45802      case 'object':
45803        if (a === null) {
45804          // null can utilise Set
45805          return list.indexOf(a, idx);
45806        }
45807    }
45808  }
45809  // anything else not covered above, defer to R.equals
45810  while (idx < list.length) {
45811    if ((0,_equals_js__WEBPACK_IMPORTED_MODULE_0__["default"])(list[idx], a)) {
45812      return idx;
45813    }
45814    idx += 1;
45815  }
45816  return -1;
45817}
45818
45819/***/ },
45820
45821/***/ "./node_modules/ramda/es/internal/_isArguments.js"
45822/*!********************************************************!*\
45823  !*** ./node_modules/ramda/es/internal/_isArguments.js ***!
45824  \********************************************************/
45825(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45826
45827"use strict";
45828__webpack_require__.r(__webpack_exports__);
45829/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45830/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
45831/* harmony export */ });
45832/* harmony import */ var _has_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_has.js */ "./node_modules/ramda/es/internal/_has.js");
45833
45834var toString = Object.prototype.toString;
45835var _isArguments = /*#__PURE__*/function () {
45836  return toString.call(arguments) === '[object Arguments]' ? function _isArguments(x) {
45837    return toString.call(x) === '[object Arguments]';
45838  } : function _isArguments(x) {
45839    return (0,_has_js__WEBPACK_IMPORTED_MODULE_0__["default"])('callee', x);
45840  };
45841}();
45842/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_isArguments);
45843
45844/***/ },
45845
45846/***/ "./node_modules/ramda/es/internal/_isArray.js"
45847/*!****************************************************!*\
45848  !*** ./node_modules/ramda/es/internal/_isArray.js ***!
45849  \****************************************************/
45850(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45851
45852"use strict";
45853__webpack_require__.r(__webpack_exports__);
45854/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45855/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
45856/* harmony export */ });
45857/**
45858 * Tests whether or not an object is an array.
45859 *
45860 * @private
45861 * @param {*} val The object to test.
45862 * @return {Boolean} `true` if `val` is an array, `false` otherwise.
45863 * @example
45864 *
45865 *      _isArray([]); //=> true
45866 *      _isArray(null); //=> false
45867 *      _isArray({}); //=> false
45868 */
45869/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Array.isArray || function _isArray(val) {
45870  return val != null && val.length >= 0 && Object.prototype.toString.call(val) === '[object Array]';
45871});
45872
45873/***/ },
45874
45875/***/ "./node_modules/ramda/es/internal/_isArrayLike.js"
45876/*!********************************************************!*\
45877  !*** ./node_modules/ramda/es/internal/_isArrayLike.js ***!
45878  \********************************************************/
45879(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45880
45881"use strict";
45882__webpack_require__.r(__webpack_exports__);
45883/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45884/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
45885/* harmony export */ });
45886/* harmony import */ var _curry1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_curry1.js */ "./node_modules/ramda/es/internal/_curry1.js");
45887/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_isArray.js */ "./node_modules/ramda/es/internal/_isArray.js");
45888/* harmony import */ var _isString_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_isString.js */ "./node_modules/ramda/es/internal/_isString.js");
45889
45890
45891
45892
45893/**
45894 * Tests whether or not an object is similar to an array.
45895 *
45896 * @private
45897 * @category Type
45898 * @category List
45899 * @sig * -> Boolean
45900 * @param {*} x The object to test.
45901 * @return {Boolean} `true` if `x` has a numeric length property and extreme indices defined; `false` otherwise.
45902 * @example
45903 *
45904 *      _isArrayLike([]); //=> true
45905 *      _isArrayLike(true); //=> false
45906 *      _isArrayLike({}); //=> false
45907 *      _isArrayLike({length: 10}); //=> false
45908 *      _isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true
45909 *      _isArrayLike({nodeType: 1, length: 1}) // => false
45910 */
45911var _isArrayLike = /*#__PURE__*/(0,_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function isArrayLike(x) {
45912  if ((0,_isArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(x)) {
45913    return true;
45914  }
45915  if (!x) {
45916    return false;
45917  }
45918  if (typeof x !== 'object') {
45919    return false;
45920  }
45921  if ((0,_isString_js__WEBPACK_IMPORTED_MODULE_2__["default"])(x)) {
45922    return false;
45923  }
45924  if (x.length === 0) {
45925    return true;
45926  }
45927  if (x.length > 0) {
45928    return x.hasOwnProperty(0) && x.hasOwnProperty(x.length - 1);
45929  }
45930  return false;
45931});
45932/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_isArrayLike);
45933
45934/***/ },
45935
45936/***/ "./node_modules/ramda/es/internal/_isFunction.js"
45937/*!*******************************************************!*\
45938  !*** ./node_modules/ramda/es/internal/_isFunction.js ***!
45939  \*******************************************************/
45940(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45941
45942"use strict";
45943__webpack_require__.r(__webpack_exports__);
45944/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45945/* harmony export */   "default": () => (/* binding */ _isFunction)
45946/* harmony export */ });
45947function _isFunction(x) {
45948  var type = Object.prototype.toString.call(x);
45949  return type === '[object Function]' || type === '[object AsyncFunction]' || type === '[object GeneratorFunction]' || type === '[object AsyncGeneratorFunction]';
45950}
45951
45952/***/ },
45953
45954/***/ "./node_modules/ramda/es/internal/_isInteger.js"
45955/*!******************************************************!*\
45956  !*** ./node_modules/ramda/es/internal/_isInteger.js ***!
45957  \******************************************************/
45958(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45959
45960"use strict";
45961__webpack_require__.r(__webpack_exports__);
45962/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45963/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
45964/* harmony export */ });
45965/**
45966 * Determine if the passed argument is an integer.
45967 *
45968 * @private
45969 * @param {*} n
45970 * @category Type
45971 * @return {Boolean}
45972 */
45973/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Number.isInteger || function _isInteger(n) {
45974  return n << 0 === n;
45975});
45976
45977/***/ },
45978
45979/***/ "./node_modules/ramda/es/internal/_isMap.js"
45980/*!**************************************************!*\
45981  !*** ./node_modules/ramda/es/internal/_isMap.js ***!
45982  \**************************************************/
45983(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45984
45985"use strict";
45986__webpack_require__.r(__webpack_exports__);
45987/* harmony export */ __webpack_require__.d(__webpack_exports__, {
45988/* harmony export */   "default": () => (/* binding */ _isMap)
45989/* harmony export */ });
45990function _isMap(x) {
45991  return Object.prototype.toString.call(x) === '[object Map]';
45992}
45993
45994/***/ },
45995
45996/***/ "./node_modules/ramda/es/internal/_isObject.js"
45997/*!*****************************************************!*\
45998  !*** ./node_modules/ramda/es/internal/_isObject.js ***!
45999  \*****************************************************/
46000(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46001
46002"use strict";
46003__webpack_require__.r(__webpack_exports__);
46004/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46005/* harmony export */   "default": () => (/* binding */ _isObject)
46006/* harmony export */ });
46007function _isObject(x) {
46008  return Object.prototype.toString.call(x) === '[object Object]';
46009}
46010
46011/***/ },
46012
46013/***/ "./node_modules/ramda/es/internal/_isPlaceholder.js"
46014/*!**********************************************************!*\
46015  !*** ./node_modules/ramda/es/internal/_isPlaceholder.js ***!
46016  \**********************************************************/
46017(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46018
46019"use strict";
46020__webpack_require__.r(__webpack_exports__);
46021/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46022/* harmony export */   "default": () => (/* binding */ _isPlaceholder)
46023/* harmony export */ });
46024function _isPlaceholder(a) {
46025  return a != null && typeof a === 'object' && a['@@functional/placeholder'] === true;
46026}
46027
46028/***/ },
46029
46030/***/ "./node_modules/ramda/es/internal/_isString.js"
46031/*!*****************************************************!*\
46032  !*** ./node_modules/ramda/es/internal/_isString.js ***!
46033  \*****************************************************/
46034(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46035
46036"use strict";
46037__webpack_require__.r(__webpack_exports__);
46038/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46039/* harmony export */   "default": () => (/* binding */ _isString)
46040/* harmony export */ });
46041function _isString(x) {
46042  return Object.prototype.toString.call(x) === '[object String]';
46043}
46044
46045/***/ },
46046
46047/***/ "./node_modules/ramda/es/internal/_isTransformer.js"
46048/*!**********************************************************!*\
46049  !*** ./node_modules/ramda/es/internal/_isTransformer.js ***!
46050  \**********************************************************/
46051(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46052
46053"use strict";
46054__webpack_require__.r(__webpack_exports__);
46055/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46056/* harmony export */   "default": () => (/* binding */ _isTransformer)
46057/* harmony export */ });
46058function _isTransformer(obj) {
46059  return obj != null && typeof obj['@@transducer/step'] === 'function';
46060}
46061
46062/***/ },
46063
46064/***/ "./node_modules/ramda/es/internal/_map.js"
46065/*!************************************************!*\
46066  !*** ./node_modules/ramda/es/internal/_map.js ***!
46067  \************************************************/
46068(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46069
46070"use strict";
46071__webpack_require__.r(__webpack_exports__);
46072/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46073/* harmony export */   "default": () => (/* binding */ _map)
46074/* harmony export */ });
46075function _map(fn, functor) {
46076  var idx = 0;
46077  var len = functor.length;
46078  var result = Array(len);
46079  while (idx < len) {
46080    result[idx] = fn(functor[idx]);
46081    idx += 1;
46082  }
46083  return result;
46084}
46085
46086/***/ },
46087
46088/***/ "./node_modules/ramda/es/internal/_nth.js"
46089/*!************************************************!*\
46090  !*** ./node_modules/ramda/es/internal/_nth.js ***!
46091  \************************************************/
46092(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46093
46094"use strict";
46095__webpack_require__.r(__webpack_exports__);
46096/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46097/* harmony export */   "default": () => (/* binding */ _nth)
46098/* harmony export */ });
46099function _nth(offset, list) {
46100  var idx = offset < 0 ? list.length + offset : offset;
46101  return list[idx];
46102}
46103
46104/***/ },
46105
46106/***/ "./node_modules/ramda/es/internal/_objectIs.js"
46107/*!*****************************************************!*\
46108  !*** ./node_modules/ramda/es/internal/_objectIs.js ***!
46109  \*****************************************************/
46110(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46111
46112"use strict";
46113__webpack_require__.r(__webpack_exports__);
46114/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46115/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46116/* harmony export */ });
46117// Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
46118function _objectIs(a, b) {
46119  // SameValue algorithm
46120  if (a === b) {
46121    // Steps 1-5, 7-10
46122    // Steps 6.b-6.e: +0 != -0
46123    return a !== 0 || 1 / a === 1 / b;
46124  } else {
46125    // Step 6.a: NaN == NaN
46126    return a !== a && b !== b;
46127  }
46128}
46129/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (typeof Object.is === 'function' ? Object.is : _objectIs);
46130
46131/***/ },
46132
46133/***/ "./node_modules/ramda/es/internal/_path.js"
46134/*!*************************************************!*\
46135  !*** ./node_modules/ramda/es/internal/_path.js ***!
46136  \*************************************************/
46137(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46138
46139"use strict";
46140__webpack_require__.r(__webpack_exports__);
46141/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46142/* harmony export */   "default": () => (/* binding */ _path)
46143/* harmony export */ });
46144/* harmony import */ var _isInteger_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_isInteger.js */ "./node_modules/ramda/es/internal/_isInteger.js");
46145/* harmony import */ var _nth_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_nth.js */ "./node_modules/ramda/es/internal/_nth.js");
46146
46147
46148function _path(pathAr, obj) {
46149  var val = obj;
46150  for (var i = 0; i < pathAr.length; i += 1) {
46151    if (val == null) {
46152      return undefined;
46153    }
46154    var p = pathAr[i];
46155    if ((0,_isInteger_js__WEBPACK_IMPORTED_MODULE_0__["default"])(p)) {
46156      val = (0,_nth_js__WEBPACK_IMPORTED_MODULE_1__["default"])(p, val);
46157    } else {
46158      val = val[p];
46159    }
46160  }
46161  return val;
46162}
46163
46164/***/ },
46165
46166/***/ "./node_modules/ramda/es/internal/_pipe.js"
46167/*!*************************************************!*\
46168  !*** ./node_modules/ramda/es/internal/_pipe.js ***!
46169  \*************************************************/
46170(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46171
46172"use strict";
46173__webpack_require__.r(__webpack_exports__);
46174/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46175/* harmony export */   "default": () => (/* binding */ _pipe)
46176/* harmony export */ });
46177function _pipe(f, g) {
46178  return function () {
46179    return g.call(this, f.apply(this, arguments));
46180  };
46181}
46182
46183/***/ },
46184
46185/***/ "./node_modules/ramda/es/internal/_quote.js"
46186/*!**************************************************!*\
46187  !*** ./node_modules/ramda/es/internal/_quote.js ***!
46188  \**************************************************/
46189(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46190
46191"use strict";
46192__webpack_require__.r(__webpack_exports__);
46193/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46194/* harmony export */   "default": () => (/* binding */ _quote)
46195/* harmony export */ });
46196function _quote(s) {
46197  var escaped = s.replace(/\\/g, '\\\\').replace(/[\b]/g, '\\b') // \b matches word boundary; [\b] matches backspace
46198  .replace(/\f/g, '\\f').replace(/\n/g, '\\n').replace(/\r/g, '\\r').replace(/\t/g, '\\t').replace(/\v/g, '\\v').replace(/\0/g, '\\0');
46199  return '"' + escaped.replace(/"/g, '\\"') + '"';
46200}
46201
46202/***/ },
46203
46204/***/ "./node_modules/ramda/es/internal/_toISOString.js"
46205/*!********************************************************!*\
46206  !*** ./node_modules/ramda/es/internal/_toISOString.js ***!
46207  \********************************************************/
46208(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46209
46210"use strict";
46211__webpack_require__.r(__webpack_exports__);
46212/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46213/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46214/* harmony export */ });
46215/**
46216 * Polyfill from <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString>.
46217 */
46218var pad = function pad(n) {
46219  return (n < 10 ? '0' : '') + n;
46220};
46221var _toISOString = typeof Date.prototype.toISOString === 'function' ? function _toISOString(d) {
46222  return d.toISOString();
46223} : function _toISOString(d) {
46224  return d.getUTCFullYear() + '-' + pad(d.getUTCMonth() + 1) + '-' + pad(d.getUTCDate()) + 'T' + pad(d.getUTCHours()) + ':' + pad(d.getUTCMinutes()) + ':' + pad(d.getUTCSeconds()) + '.' + (d.getUTCMilliseconds() / 1000).toFixed(3).slice(2, 5) + 'Z';
46225};
46226/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_toISOString);
46227
46228/***/ },
46229
46230/***/ "./node_modules/ramda/es/internal/_toString.js"
46231/*!*****************************************************!*\
46232  !*** ./node_modules/ramda/es/internal/_toString.js ***!
46233  \*****************************************************/
46234(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46235
46236"use strict";
46237__webpack_require__.r(__webpack_exports__);
46238/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46239/* harmony export */   "default": () => (/* binding */ _toString)
46240/* harmony export */ });
46241/* harmony import */ var _includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_includes.js */ "./node_modules/ramda/es/internal/_includes.js");
46242/* harmony import */ var _map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_map.js */ "./node_modules/ramda/es/internal/_map.js");
46243/* harmony import */ var _quote_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_quote.js */ "./node_modules/ramda/es/internal/_quote.js");
46244/* harmony import */ var _toISOString_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_toISOString.js */ "./node_modules/ramda/es/internal/_toISOString.js");
46245/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../keys.js */ "./node_modules/ramda/es/keys.js");
46246/* harmony import */ var _reject_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../reject.js */ "./node_modules/ramda/es/reject.js");
46247
46248
46249
46250
46251
46252
46253function _toString(x, seen) {
46254  var recur = function recur(y) {
46255    var xs = seen.concat([x]);
46256    return (0,_includes_js__WEBPACK_IMPORTED_MODULE_0__["default"])(y, xs) ? '<Circular>' : _toString(y, xs);
46257  };
46258
46259  //  mapPairs :: (Object, [String]) -> [String]
46260  var mapPairs = function (obj, keys) {
46261    return (0,_map_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function (k) {
46262      return (0,_quote_js__WEBPACK_IMPORTED_MODULE_2__["default"])(k) + ': ' + recur(obj[k]);
46263    }, keys.slice().sort());
46264  };
46265  switch (Object.prototype.toString.call(x)) {
46266    case '[object Arguments]':
46267      return '(function() { return arguments; }(' + (0,_map_js__WEBPACK_IMPORTED_MODULE_1__["default"])(recur, x).join(', ') + '))';
46268    case '[object Array]':
46269      return '[' + (0,_map_js__WEBPACK_IMPORTED_MODULE_1__["default"])(recur, x).concat(mapPairs(x, (0,_reject_js__WEBPACK_IMPORTED_MODULE_5__["default"])(function (k) {
46270        return /^\d+$/.test(k);
46271      }, (0,_keys_js__WEBPACK_IMPORTED_MODULE_4__["default"])(x)))).join(', ') + ']';
46272    case '[object Boolean]':
46273      return typeof x === 'object' ? 'new Boolean(' + recur(x.valueOf()) + ')' : x.toString();
46274    case '[object Date]':
46275      return 'new Date(' + (isNaN(x.valueOf()) ? recur(NaN) : (0,_quote_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_toISOString_js__WEBPACK_IMPORTED_MODULE_3__["default"])(x))) + ')';
46276    case '[object Map]':
46277      return 'new Map(' + recur(Array.from(x)) + ')';
46278    case '[object Null]':
46279      return 'null';
46280    case '[object Number]':
46281      return typeof x === 'object' ? 'new Number(' + recur(x.valueOf()) + ')' : 1 / x === -Infinity ? '-0' : x.toString(10);
46282    case '[object Set]':
46283      return 'new Set(' + recur(Array.from(x).sort()) + ')';
46284    case '[object String]':
46285      return typeof x === 'object' ? 'new String(' + recur(x.valueOf()) + ')' : (0,_quote_js__WEBPACK_IMPORTED_MODULE_2__["default"])(x);
46286    case '[object Undefined]':
46287      return 'undefined';
46288    default:
46289      if (typeof x.toString === 'function') {
46290        var repr = x.toString();
46291        if (repr !== '[object Object]') {
46292          return repr;
46293        }
46294      }
46295      return '{' + mapPairs(x, (0,_keys_js__WEBPACK_IMPORTED_MODULE_4__["default"])(x)).join(', ') + '}';
46296  }
46297}
46298
46299/***/ },
46300
46301/***/ "./node_modules/ramda/es/internal/_xArrayReduce.js"
46302/*!*********************************************************!*\
46303  !*** ./node_modules/ramda/es/internal/_xArrayReduce.js ***!
46304  \*********************************************************/
46305(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46306
46307"use strict";
46308__webpack_require__.r(__webpack_exports__);
46309/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46310/* harmony export */   "default": () => (/* binding */ _xArrayReduce)
46311/* harmony export */ });
46312function _xArrayReduce(xf, acc, list) {
46313  var idx = 0;
46314  var len = list.length;
46315  while (idx < len) {
46316    acc = xf['@@transducer/step'](acc, list[idx]);
46317    if (acc && acc['@@transducer/reduced']) {
46318      acc = acc['@@transducer/value'];
46319      break;
46320    }
46321    idx += 1;
46322  }
46323  return xf['@@transducer/result'](acc);
46324}
46325
46326/***/ },
46327
46328/***/ "./node_modules/ramda/es/internal/_xReduce.js"
46329/*!****************************************************!*\
46330  !*** ./node_modules/ramda/es/internal/_xReduce.js ***!
46331  \****************************************************/
46332(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46333
46334"use strict";
46335__webpack_require__.r(__webpack_exports__);
46336/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46337/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46338/* harmony export */ });
46339/* harmony import */ var _createReduce_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_createReduce.js */ "./node_modules/ramda/es/internal/_createReduce.js");
46340/* harmony import */ var _xArrayReduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_xArrayReduce.js */ "./node_modules/ramda/es/internal/_xArrayReduce.js");
46341/* harmony import */ var _bind_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../bind.js */ "./node_modules/ramda/es/bind.js");
46342
46343
46344
46345function _xIterableReduce(xf, acc, iter) {
46346  var step = iter.next();
46347  while (!step.done) {
46348    acc = xf['@@transducer/step'](acc, step.value);
46349    if (acc && acc['@@transducer/reduced']) {
46350      acc = acc['@@transducer/value'];
46351      break;
46352    }
46353    step = iter.next();
46354  }
46355  return xf['@@transducer/result'](acc);
46356}
46357function _xMethodReduce(xf, acc, obj, methodName) {
46358  return xf['@@transducer/result'](obj[methodName]((0,_bind_js__WEBPACK_IMPORTED_MODULE_2__["default"])(xf['@@transducer/step'], xf), acc));
46359}
46360var _xReduce = /*#__PURE__*/(0,_createReduce_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_xArrayReduce_js__WEBPACK_IMPORTED_MODULE_1__["default"], _xMethodReduce, _xIterableReduce);
46361/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_xReduce);
46362
46363/***/ },
46364
46365/***/ "./node_modules/ramda/es/internal/_xfBase.js"
46366/*!***************************************************!*\
46367  !*** ./node_modules/ramda/es/internal/_xfBase.js ***!
46368  \***************************************************/
46369(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46370
46371"use strict";
46372__webpack_require__.r(__webpack_exports__);
46373/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46374/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46375/* harmony export */ });
46376/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
46377  init: function () {
46378    return this.xf['@@transducer/init']();
46379  },
46380  result: function (result) {
46381    return this.xf['@@transducer/result'](result);
46382  }
46383});
46384
46385/***/ },
46386
46387/***/ "./node_modules/ramda/es/internal/_xfilter.js"
46388/*!****************************************************!*\
46389  !*** ./node_modules/ramda/es/internal/_xfilter.js ***!
46390  \****************************************************/
46391(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46392
46393"use strict";
46394__webpack_require__.r(__webpack_exports__);
46395/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46396/* harmony export */   "default": () => (/* binding */ _xfilter)
46397/* harmony export */ });
46398/* harmony import */ var _xfBase_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_xfBase.js */ "./node_modules/ramda/es/internal/_xfBase.js");
46399
46400var XFilter = /*#__PURE__*/function () {
46401  function XFilter(f, xf) {
46402    this.xf = xf;
46403    this.f = f;
46404  }
46405  XFilter.prototype['@@transducer/init'] = _xfBase_js__WEBPACK_IMPORTED_MODULE_0__["default"].init;
46406  XFilter.prototype['@@transducer/result'] = _xfBase_js__WEBPACK_IMPORTED_MODULE_0__["default"].result;
46407  XFilter.prototype['@@transducer/step'] = function (result, input) {
46408    return this.f(input) ? this.xf['@@transducer/step'](result, input) : result;
46409  };
46410  return XFilter;
46411}();
46412function _xfilter(f) {
46413  return function (xf) {
46414    return new XFilter(f, xf);
46415  };
46416}
46417
46418/***/ },
46419
46420/***/ "./node_modules/ramda/es/internal/_xwrap.js"
46421/*!**************************************************!*\
46422  !*** ./node_modules/ramda/es/internal/_xwrap.js ***!
46423  \**************************************************/
46424(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46425
46426"use strict";
46427__webpack_require__.r(__webpack_exports__);
46428/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46429/* harmony export */   "default": () => (/* binding */ _xwrap)
46430/* harmony export */ });
46431var XWrap = /*#__PURE__*/function () {
46432  function XWrap(fn) {
46433    this.f = fn;
46434  }
46435  XWrap.prototype['@@transducer/init'] = function () {
46436    throw new Error('init not implemented on XWrap');
46437  };
46438  XWrap.prototype['@@transducer/result'] = function (acc) {
46439    return acc;
46440  };
46441  XWrap.prototype['@@transducer/step'] = function (acc, x) {
46442    return this.f(acc, x);
46443  };
46444  return XWrap;
46445}();
46446function _xwrap(fn) {
46447  return new XWrap(fn);
46448}
46449
46450/***/ },
46451
46452/***/ "./node_modules/ramda/es/invoker.js"
46453/*!******************************************!*\
46454  !*** ./node_modules/ramda/es/invoker.js ***!
46455  \******************************************/
46456(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46457
46458"use strict";
46459__webpack_require__.r(__webpack_exports__);
46460/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46461/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46462/* harmony export */ });
46463/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_curry2.js */ "./node_modules/ramda/es/internal/_curry2.js");
46464/* harmony import */ var _internal_isFunction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_isFunction.js */ "./node_modules/ramda/es/internal/_isFunction.js");
46465/* harmony import */ var _curryN_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./curryN.js */ "./node_modules/ramda/es/curr
46465yN.js");
46466/* harmony import */ var _toString_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./toString.js */ "./node_modules/ramda/es/toString.js");
46467
46468
46469
46470
46471
46472/**
46473 * Given an `arity` (Number) and a `name` (String) the `invoker` function
46474 * returns a curried function that takes `arity` arguments and a `context`
46475 * object. It will "invoke" the `name`'d function (a method) on the `context`
46476 * object.
46477 *
46478 * @func
46479 * @memberOf R
46480 * @since v0.1.0
46481 * @category Function
46482 * @sig Number -> String -> (a -> b -> ... -> n -> Object -> *)
46483 * @param {Number} arity Number of arguments the returned function should take
46484 *        before the target object.
46485 * @param {String} method Name of any of the target object's methods to call.
46486 * @return {Function} A new curried function.
46487 * @see R.construct
46488 * @example
46489 *      // A function with no arguments
46490 *      const asJson = invoker(0, "json")
46491 *      // Just like calling .then((response) => response.json())
46492 *      fetch("http://example.com/index.json").then(asJson)
46493 *
46494 *      // A function with one argument
46495 *      const sliceFrom = invoker(1, 'slice');
46496 *      sliceFrom(6, 'abcdefghijklm'); //=> 'ghijklm'
46497 *
46498 *      // A function with two arguments
46499 *      const sliceFrom6 = invoker(2, 'slice')(6);
46500 *      sliceFrom6(8, 'abcdefghijklm'); //=> 'gh'
46501 *
46502 *      // NOTE: You can't simply pass some of the arguments to the initial invoker function.
46503 *      const firstCreditCardSection = invoker(2, "slice", 0, 4)
46504 *      firstCreditCardSection("4242 4242 4242 4242") // => Function<...>
46505 *
46506 *      // Since invoker returns a curried function, you may partially apply it to create the function you need.
46507 *      const firstCreditCardSection = invoker(2, "slice")(0, 4)
46508 *      firstCreditCardSection("4242 4242 4242 4242") // => "4242"
46509 *
46510 * @symb R.invoker(0, 'method')(o) = o['method']()
46511 * @symb R.invoker(1, 'method')(a, o) = o['method'](a)
46512 * @symb R.invoker(2, 'method')(a, b, o) = o['method'](a, b)
46513 */
46514var invoker = /*#__PURE__*/(0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function invoker(arity, method) {
46515  return (0,_curryN_js__WEBPACK_IMPORTED_MODULE_2__["default"])(arity + 1, function () {
46516    var target = arguments[arity];
46517    if (target != null && (0,_internal_isFunction_js__WEBPACK_IMPORTED_MODULE_1__["default"])(target[method])) {
46518      return target[method].apply(target, Array.prototype.slice.call(arguments, 0, arity));
46519    }
46520    throw new TypeError((0,_toString_js__WEBPACK_IMPORTED_MODULE_3__["default"])(target) + ' does not have a method named "' + method + '"');
46521  });
46522});
46523/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (invoker);
46524
46525/***/ },
46526
46527/***/ "./node_modules/ramda/es/keys.js"
46528/*!***************************************!*\
46529  !*** ./node_modules/ramda/es/keys.js ***!
46530  \***************************************/
46531(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46532
46533"use strict";
46534__webpack_require__.r(__webpack_exports__);
46535/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46536/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46537/* harmony export */ });
46538/* harmony import */ var _internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_curry1.js */ "./node_modules/ramda/es/internal/_curry1.js");
46539/* harmony import */ var _internal_has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_has.js */ "./node_modules/ramda/es/internal/_has.js");
46540/* harmony import */ var _internal_isArguments_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./internal/_isArguments.js */ "./node_modules/ramda/es/internal/_isArguments.js");
46541
46542
46543
46544
46545// cover IE < 9 keys issues
46546var hasEnumBug = ! /*#__PURE__*/{
46547  toString: null
46548}.propertyIsEnumerable('toString');
46549var nonEnumerableProps = ['constructor', 'valueOf', 'isPrototypeOf', 'toString', 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString'];
46550// Safari bug
46551var hasArgsEnumBug = /*#__PURE__*/function () {
46552  'use strict';
46553
46554  return arguments.propertyIsEnumerable('length');
46555}();
46556var contains = function contains(list, item) {
46557  var idx = 0;
46558  while (idx < list.length) {
46559    if (list[idx] === item) {
46560      return true;
46561    }
46562    idx += 1;
46563  }
46564  return false;
46565};
46566
46567/**
46568 * Returns a list containing the names of all the enumerable own properties of
46569 * the supplied object.
46570 * Note that the order of the output array is not guaranteed to be consistent
46571 * across different JS platforms.
46572 *
46573 * @func
46574 * @memberOf R
46575 * @since v0.1.0
46576 * @category Object
46577 * @sig {k: v} -> [k]
46578 * @param {Object} obj The object to extract properties from
46579 * @return {Array} An array of the object's own properties.
46580 * @see R.keysIn, R.values, R.toPairs
46581 * @example
46582 *
46583 *      R.keys({a: 1, b: 2, c: 3}); //=> ['a', 'b', 'c']
46584 */
46585var keys = typeof Object.keys === 'function' && !hasArgsEnumBug ? /*#__PURE__*/(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function keys(obj) {
46586  return Object(obj) !== obj ? [] : Object.keys(obj);
46587}) : /*#__PURE__*/(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function keys(obj) {
46588  if (Object(obj) !== obj) {
46589    return [];
46590  }
46591  var prop, nIdx;
46592  var ks = [];
46593  var checkArgsLength = hasArgsEnumBug && (0,_internal_isArguments_js__WEBPACK_IMPORTED_MODULE_2__["default"])(obj);
46594  for (prop in obj) {
46595    if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(prop, obj) && (!checkArgsLength || prop !== 'length')) {
46596      ks[ks.length] = prop;
46597    }
46598  }
46599  if (hasEnumBug) {
46600    nIdx = nonEnumerableProps.length - 1;
46601    while (nIdx >= 0) {
46602      prop = nonEnumerableProps[nIdx];
46603      if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(prop, obj) && !contains(ks, prop)) {
46604        ks[ks.length] = prop;
46605      }
46606      nIdx -= 1;
46607    }
46608  }
46609  return ks;
46610});
46611/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (keys);
46612
46613/***/ },
46614
46615/***/ "./node_modules/ramda/es/path.js"
46616/*!***************************************!*\
46617  !*** ./node_modules/ramda/es/path.js ***!
46618  \***************************************/
46619(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46620
46621"use strict";
46622__webpack_require__.r(__webpack_exports__);
46623/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46624/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46625/* harmony export */ });
46626/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_curry2.js */ "./node_modules/ramda/es/internal/_curry2.js");
46627/* harmony import */ var _internal_path_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_path.js */ "./node_modules/ramda/es/internal/_path.js");
46628
46629
46630
46631/**
46632 * Retrieves the value at a given path. The nodes of the path can be arbitrary strings or non-negative integers.
46633 * For anything else, the value is unspecified. Integer paths are meant to index arrays, strings are meant for objects.
46634 *
46635 * @func
46636 * @memberOf R
46637 * @since v0.2.0
46638 * @category Object
46639 * @typedefn Idx = String | Int | Symbol
46640 * @sig [Idx] -> {a} -> a | Undefined
46641 * @sig Idx = String | NonNegativeInt
46642 * @param {Array} path The path to use.
46643 * @param {Object} obj The object or array to retrieve the nested property from.
46644 * @return {*} The data at `path`.
46645 * @see R.prop, R.nth, R.assocPath, R.dissocPath
46646 * @example
46647 *
46648 *      R.path(['a', 'b'], {a: {b: 2}}); //=> 2
46649 *      R.path(['a', 'b'], {c: {b: 2}}); //=> undefined
46650 *      R.path(['a', 'b', 0], {a: {b: [1, 2, 3]}}); //=> 1
46651 *      R.path(['a', 'b', -2], {a: {b: [1, 2, 3]}}); //=> 2
46652 *      R.path([2], {'2': 2}); //=> 2
46653 *      R.path([-2], {'-2': 'a'}); //=> undefined
46654 */
46655
46656var path = /*#__PURE__*/(0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_internal_path_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
46657/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (path);
46658
46659/***/ },
46660
46661/***/ "./node_modules/ramda/es/pipe.js"
46662/*!***************************************!*\
46663  !*** ./node_modules/ramda/es/pipe.js ***!
46664  \***************************************/
46665(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46666
46667"use strict";
46668__webpack_require__.r(__webpack_exports__);
46669/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46670/* harmony export */   "default": () => (/* binding */ pipe)
46671/* harmony export */ });
46672/* harmony import */ var _internal_arity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_arity.js */ "./node_modules/ramda/es/internal/_arity.js");
46673/* harmony import */ var _internal_pipe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_pipe.js */ "./node_modules/ramda/es/internal/_pipe.js");
46674/* harmony import */ var _reduce_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reduce.js */ "./node_modules/ramda/es/reduce.js");
46675/* harmony import */ var _tail_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./tail.js */ "./node_modules/ramda/es/tail.js");
46676
46677
46678
46679
46680
46681/**
46682 * Performs left-to-right function composition. The first argument may have
46683 * any arity; the remaining arguments must be unary.
46684 *
46685 * In some libraries this function is named `sequence`.
46686 *
46687 * **Note:** The result of pipe is not automatically curried.
46688 *
46689 * @func
46690 * @memberOf R
46691 * @since v0.1.0
46692 * @category Function
46693 * @sig (((a, b, ..., n) -> o), (o -> p), ..., (x -> y), (y -> z)) -> ((a, b, ..., n) -> z)
46694 * @param {...Function} functions
46695 * @return {Function}
46696 * @see R.compose
46697 * @example
46698 *
46699 *      const f = R.pipe(Math.pow, R.negate, R.inc);
46700 *
46701 *      f(3, 4); // -(3^4) + 1
46702 * @symb R.pipe(f, g, h)(a, b) = h(g(f(a, b)))
46703 * @symb R.pipe(f, g, h)(a)(b) = h(g(f(a)))(b)
46704 */
46705function pipe() {
46706  if (arguments.length === 0) {
46707    throw new Error('pipe requires at least one argument');
46708  }
46709  return (0,_internal_arity_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arguments[0].length, (0,_reduce_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_internal_pipe_js__WEBPACK_IMPORTED_MODULE_1__["default"], arguments[0], (0,_tail_js__WEBPACK_IMPORTED_MODULE_3__["default"])(arguments)));
46710}
46711
46712/***/ },
46713
46714/***/ "./node_modules/ramda/es/reduce.js"
46715/*!*****************************************!*\
46716  !*** ./node_modules/ramda/es/reduce.js ***!
46717  \*****************************************/
46718(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46719
46720"use strict";
46721__webpack_require__.r(__webpack_exports__);
46722/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46723/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46724/* harmony export */ });
46725/* harmony import */ var _internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_curry3.js */ "./node_modules/ramda/es/internal/_curry3.js");
46726/* harmony import */ var _internal_xReduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_xReduce.js */ "./node_modules/ramda/es/internal/_xReduce.js");
46727/* harmony import */ var _internal_xwrap_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./internal/_xwrap.js */ "./node_modules/ramda/es/internal/_xwrap.js");
46728
46729
46730
46731
46732/**
46733 * Returns a single item by iterating through the list, successively calling
46734 * the iterator function and passing it an accumulator value and the current
46735 * value from the array, and then passing the result to the next call.
46736 *
46737 * The iterator function receives two values: *(acc, value)*. It may use
46738 * [`R.reduced`](#reduced) to shortcut the iteration.
46739 *
46740 * The arguments' order of [`reduceRight`](#reduceRight)'s iterator function
46741 * is *(value, acc)*.
46742 *
46743 * Note: `R.reduce` does not skip deleted or unassigned indices (sparse
46744 * arrays), unlike the native `Array.prototype.reduce` method. For more details
46745 * on this behavior, see:
46746 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce#Description
46747 *
46748 * Be cautious of mutating and returning the accumulator. If you reuse it across
46749 * invocations, it will continue to accumulate onto the same value. The general
46750 * recommendation is to always return a new value. If you can't do so for
46751 * performance reasons, then be sure to reinitialize the accumulator on each
46752 * invocation.
46753 *
46754 * Dispatches to the `reduce` method of the third argument, if present. When
46755 * doing so, it is up to the user to handle the [`R.reduced`](#reduced)
46756 * shortcuting, as this is not implemented by `reduce`.
46757 *
46758 * @func
46759 * @memberOf R
46760 * @since v0.1.0
46761 * @category List
46762 * @sig ((a, b) -> a) -> a -> [b] -> a
46763 * @param {Function} fn The iterator function. Receives two values, the accumulator and the
46764 *        current element from the array.
46765 * @param {*} acc The accumulator value.
46766 * @param {Array} list The list to iterate over.
46767 * @return {*} The final, accumulated value.
46768 * @see R.reduced, R.addIndex, R.reduceRight
46769 * @example
46770 *
46771 *      R.reduce(R.subtract, 0, [1, 2, 3, 4]) // => ((((0 - 1) - 2) - 3) - 4) = -10
46772 *      //          -               -10
46773 *      //         / \              / \
46774 *      //        -   4           -6   4
46775 *      //       / \              / \
46776 *      //      -   3   ==>     -3   3
46777 *      //     / \              / \
46778 *      //    -   2           -1   2
46779 *      //   / \              / \
46780 *      //  0   1            0   1
46781 *
46782 * @symb R.reduce(f, a, [b, c, d]) = f(f(f(a, b), c), d)
46783 */
46784var reduce = /*#__PURE__*/(0,_internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (xf, acc, list) {
46785  return (0,_internal_xReduce_js__WEBPACK_IMPORTED_MODULE_1__["default"])(typeof xf === 'function' ? (0,_internal_xwrap_js__WEBPACK_IMPORTED_MODULE_2__["default"])(xf) : xf, acc, list);
46786});
46787/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (reduce);
46788
46789/***/ },
46790
46791/***/ "./node_modules/ramda/es/reject.js"
46792/*!*****************************************!*\
46793  !*** ./node_modules/ramda/es/reject.js ***!
46794  \*****************************************/
46795(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46796
46797"use strict";
46798__webpack_require__.r(__webpack_exports__);
46799/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46800/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46801/* harmony export */ });
46802/* harmony import */ var _internal_complement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_complement.js */ "./node_modules/ramda/es/internal/_complement.js");
46803/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_curry2.js */ "./node_modules/ramda/es/internal/_curry2.js");
46804/* harmony import */ var _filter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./filter.js */ "./node_modules/ramda/es/filter.js");
46805
46806
46807
46808
46809/**
46810 * The complement of [`filter`](#filter).
46811 *
46812 * Acts as a transducer if a transformer is given in list position. Filterable
46813 * objects include plain objects or any object that has a filter method such
46814 * as `Array`.
46815 *
46816 * @func
46817 * @memberOf R
46818 * @since v0.1.0
46819 * @category List
46820 * @sig Filterable f => (a -> Boolean) -> f a -> f a
46821 * @param {Function} pred
46822 * @param {Array} filterable
46823 * @return {Array}
46824 * @see R.filter, R.transduce, R.addIndex
46825 * @example
46826 *
46827 *      const isOdd = (n) => n % 2 !== 0;
46828 *
46829 *      R.reject(isOdd, [1, 2, 3, 4]); //=> [2, 4]
46830 *
46831 *      R.reject(isOdd, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}
46832 */
46833var reject = /*#__PURE__*/(0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function reject(pred, filterable) {
46834  return (0,_filter_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_internal_complement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(pred), filterable);
46835});
46836/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (reject);
46837
46838/***/ },
46839
46840/***/ "./node_modules/ramda/es/slice.js"
46841/*!****************************************!*\
46842  !*** ./node_modules/ramda/es/slice.js ***!
46843  \****************************************/
46844(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46845
46846"use strict";
46847__webpack_require__.r(__webpack_exports__);
46848/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46849/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46850/* harmony export */ });
46851/* harmony import */ var _internal_checkForMethod_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_checkForMethod.js */ "./node_modules/ramda/es/internal/_checkForMethod.js");
46852/* harmony import */ var _internal_curry3_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_curry3.js */ "./node_modules/ramda/es/internal/_curry3.js");
46853
46854
46855
46856/**
46857 * Returns the elements of the given list or string (or object with a `slice`
46858 * method) from `fromIndex` (inclusive) to `toIndex` (exclusive).
46859 *
46860 * Dispatches to the `slice` method of the third argument, if present.
46861 *
46862 * @func
46863 * @memberOf R
46864 * @since v0.1.4
46865 * @category List
46866 * @sig Number -> Number -> [a] -> [a]
46867 * @sig Number -> Number -> String -> String
46868 * @param {Number} fromIndex The start index (inclusive).
46869 * @param {Number} toIndex The end index (exclusive).
46870 * @param {*} list
46871 * @return {*}
46872 * @example
46873 *
46874 *      R.slice(1, 3, ['a', 'b', 'c', 'd']);        //=> ['b', 'c']
46875 *      R.slice(1, Infinity, ['a', 'b', 'c', 'd']); //=> ['b', 'c', 'd']
46876 *      R.slice(0, -1, ['a', 'b', 'c', 'd']);       //=> ['a', 'b', 'c']
46877 *      R.slice(-3, -1, ['a', 'b', 'c', 'd']);      //=> ['b', 'c']
46878 *      R.slice(0, 3, 'ramda');                     //=> 'ram'
46879 */
46880var slice = /*#__PURE__*/(0,_internal_curry3_js__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,_internal_checkForMethod_js__WEBPACK_IMPORTED_MODULE_0__["default"])('slice', function slice(fromIndex, toIndex, list) {
46881  return Array.prototype.slice.call(list, fromIndex, toIndex);
46882}));
46883/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (slice);
46884
46885/***/ },
46886
46887/***/ "./node_modules/ramda/es/split.js"
46888/*!****************************************!*\
46889  !*** ./node_modules/ramda/es/split.js ***!
46890  \****************************************/
46891(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46892
46893"use strict";
46894__webpack_require__.r(__webpack_exports__);
46895/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46896/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46897/* harmony export */ });
46898/* harmony import */ var _invoker_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./invoker.js */ "./node_modules/ramda/es/invoker.js");
46899
46900
46901/**
46902 * Splits a string into an array of strings based on the given
46903 * separator.
46904 *
46905 * @func
46906 * @memberOf R
46907 * @since v0.1.0
46908 * @category String
46909 * @sig (String | RegExp) -> String -> [String]
46910 * @param {String|RegExp} sep The pattern.
46911 * @param {String} str The string to separate into an array.
46912 * @return {Array} The array of strings from `str` separated by `sep`.
46913 * @see R.join
46914 * @example
46915 *
46916 *      const pathComponents = R.split('/');
46917 *      R.tail(pathComponents('/usr/local/bin/node')); //=> ['usr', 'local', 'bin', 'node']
46918 *
46919 *      R.split('.', 'a.b.c.xyz.d'); //=> ['a', 'b', 'c', 'xyz', 'd']
46920 */
46921var split = /*#__PURE__*/(0,_invoker_js__WEBPACK_IMPORTED_MODULE_0__["default"])(1, 'split');
46922/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (split);
46923
46924/***/ },
46925
46926/***/ "./node_modules/ramda/es/tail.js"
46927/*!***************************************!*\
46928  !*** ./node_modules/ramda/es/tail.js ***!
46929  \***************************************/
46930(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46931
46932"use strict";
46933__webpack_require__.r(__webpack_exports__);
46934/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46935/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46936/* harmony export */ });
46937/* harmony import */ var _internal_checkForMethod_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_checkForMethod.js */ "./node_modules/ramda/es/internal/_checkForMethod.js");
46938/* harmony import */ var _internal_curry1_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_curry1.js */ "./node_modules/ramda/es/internal/_curry1.js");
46939/* harmony import */ var _slice_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./slice.js */ "./node_modules/ramda/es/slice.js");
46940
46941
46942
46943
46944/**
46945 * Returns all but the first element of the given list or string (or object
46946 * with a `tail` method).
46947 *
46948 * Dispatches to the `slice` method of the first argument, if present.
46949 *
46950 * @func
46951 * @memberOf R
46952 * @since v0.1.0
46953 * @category List
46954 * @sig [a] -> [a]
46955 * @sig String -> String
46956 * @param {*} list
46957 * @return {*}
46958 * @see R.head, R.init, R.last
46959 * @example
46960 *
46961 *      R.tail([1, 2, 3]);  //=> [2, 3]
46962 *      R.tail([1, 2]);     //=> [2]
46963 *      R.tail([1]);        //=> []
46964 *      R.tail([]);         //=> []
46965 *
46966 *      R.tail('abc');  //=> 'bc'
46967 *      R.tail('ab');   //=> 'b'
46968 *      R.tail('a');    //=> ''
46969 *      R.tail('');     //=> ''
46970 */
46971var tail = /*#__PURE__*/(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,_internal_checkForMethod_js__WEBPACK_IMPORTED_MODULE_0__["default"])('tail', /*#__PURE__*/(0,_slice_js__WEBPACK_IMPORTED_MODULE_2__["default"])(1, Infinity)));
46972/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tail);
46973
46974/***/ },
46975
46976/***/ "./node_modules/ramda/es/toLower.js"
46977/*!******************************************!*\
46978  !*** ./node_modules/ramda/es/toLower.js ***!
46979  \******************************************/
46980(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46981
46982"use strict";
46983__webpack_require__.r(__webpack_exports__);
46984/* harmony export */ __webpack_require__.d(__webpack_exports__, {
46985/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
46986/* harmony export */ });
46987/* harmony import */ var _invoker_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./invoker.js */ "./node_modules/ramda/es/invoker.js");
46988
46989
46990/**
46991 * The lower case version of a string.
46992 *
46993 * @func
46994 * @memberOf R
46995 * @since v0.9.0
46996 * @category String
46997 * @sig String -> String
46998 * @param {String} str The string to lower case.
46999 * @return {String} The lower case version of `str`.
47000 * @see R.toUpper
47001 * @example
47002 *
47003 *      R.toLower('XYZ'); //=> 'xyz'
47004 */
47005var toLower = /*#__PURE__*/(0,_invoker_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0, 'toLowerCase');
47006/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toLower);
47007
47008/***/ },
47009
47010/***/ "./node_modules/ramda/es/toString.js"
47011/*!*******************************************!*\
47012  !*** ./node_modules/ramda/es/toString.js ***!
47013  \*******************************************/
47014(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
47015
47016"use strict";
47017__webpack_require__.r(__webpack_exports__);
47018/* harmony export */ __webpack_require__.d(__webpack_exports__, {
47019/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
47020/* harmony export */ });
47021/* harmony import */ var _internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_curry1.js */ "./node_modules/ramda/es/internal/_curry1.js");
47022/* harmony import */ var _internal_toString_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/_toString.js */ "./node_modules/ramda/es/internal/_toString.js");
47023
47024
47025
47026/**
47027 * Returns the string representation of the given value. `eval`'ing the output
47028 * should result in a value equivalent to the input value. Many of the built-in
47029 * `toString` methods do not satisfy this requirement.
47030 *
47031 * If the given value is an `[object Object]` with a `toString` method other
47032 * than `Object.prototype.toString`, this method is invoked with no arguments
47033 * to produce the return value. This means user-defined constructor functions
47034 * can provide a suitable `toString` method. For example:
47035 *
47036 *     function Point(x, y) {
47037 *       this.x = x;
47038 *       this.y = y;
47039 *     }
47040 *
47041 *     Point.prototype.toString = function() {
47042 *       return 'new Point(' + this.x + ', ' + this.y + ')';
47043 *     };
47044 *
47045 *     R.toString(new Point(1, 2)); //=> 'new Point(1, 2)'
47046 *
47047 * @func
47048 * @memberOf R
47049 * @since v0.14.0
47050 * @category String
47051 * @sig * -> String
47052 * @param {*} val
47053 * @return {String}
47054 * @example
47055 *
47056 *      R.toString(42); //=> '42'
47057 *      R.toString('abc'); //=> '"abc"'
47058 *      R.toString([1, 2, 3]); //=> '[1, 2, 3]'
47059 *      R.toString({foo: 1, bar: 2, baz: 3}); //=> '{"bar": 2, "baz": 3, "foo": 1}'
47060 *      R.toString(new Date('2001-02-03T04:05:06Z')); //=> 'new Date("2001-02-03T04:05:06.000Z")'
47061 */
47062var toString = /*#__PURE__*/(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function toString(val) {
47063  return (0,_internal_toString_js__WEBPACK_IMPORTED_MODULE_1__["default"])(val, []);
47064});
47065/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toString);
47066
47067/***/ },
47068
47069/***/ "./node_modules/ramda/es/type.js"
47070/*!***************************************!*\
47071  !*** ./node_modules/ramda/es/type.js ***!
47072  \***************************************/
47073(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
47074
47075"use strict";
47076__webpack_require__.r(__webpack_exports__);
47077/* harmony export */ __webpack_require__.d(__webpack_exports__, {
47078/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
47079/* harmony export */ });
47080/* harmony import */ var _internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/_curry1.js */ "./node_modules/ramda/es/internal/_curry1.js");
47081
47082
47083/**
47084 * Gives a single-word string description of the (native) type of a value,
47085 * returning such answers as 'Object', 'Number', 'Array', or 'Null'. Does not
47086 * attempt to distinguish user Object types any further, reporting them all as
47087 * 'Object'.
47088 *
47089 * @func
47090 * @memberOf R
47091 * @since v0.8.0
47092 * @category Type
47093 * @sig * -> String
47094 * @param {*} val The value to test
47095 * @return {String}
47096 * @example
47097 *
47098 *      R.type({}); //=> "Object"
47099 *      R.type(1); //=> "Number"
47100 *      R.type(false); //=> "Boolean"
47101 *      R.type('s'); //=> "String"
47102 *      R.type(null); //=> "Null"
47103 *      R.type([]); //=> "Array"
47104 *      R.type(/[A-z]/); //=> "RegExp"
47105 *      R.type(() => {}); //=> "Function"
47106 *      R.type(async () => {}); //=> "AsyncFunction"
47107 *      R.type(undefined); //=> "Undefined"
47108 *      R.type(BigInt(123)); //=> "BigInt"
47109 */
47110var type = /*#__PURE__*/(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function type(val) {
47111  return val === null ? 'Null' : val === undefined ? 'Undefined' : Object.prototype.toString.call(val).slice(8, -1);
47112});
47113/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (type);
47114
47115/***/ },
47116
47117/***/ "./node_modules/stylis/src/Enum.js"
47118/*!*****************************************!*\
47119  !*** ./node_modules/stylis/src/Enum.js ***!
47120  \*****************************************/
47121(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
47122
47123"use strict";
47124__webpack_require__.r(__webpack_exports__);
47125/* harmony export */ __webpack_require__.d(__webpack_exports__, {
47126/* harmony export */   CHARSET: () => (/* binding */ CHARSET),
47127/* harmony export */   COMMENT: () => (/* binding */ COMMENT),
47128/* harmony export */   COUNTER_STYLE: () => (/* binding */ COUNTER_STYLE),
47129/* harmony export */   DECLARATION: () => (/* binding */ DECLARATION),
47130/* harmony export */   DOCUMENT: () => (/* binding */ DOCUMENT),
47131/* harmony export */   FONT_FACE: () => (/* binding */ FONT_FACE),
47132/* harmony export */   FONT_FEATURE_VALUES: () => (/* binding */ FONT_FEATURE_VALUES),
47133/* harmony export */   IMPORT: () => (/* binding */ IMPORT),
47134/* harmony export */   KEYFRAMES: () => (/* binding */ KEYFRAMES),
47135/* harmony export */   LAYER: () => (/* binding */ LAYER),
47136/* harmony export */   MEDIA: () => (/* binding */ MEDIA),
47137/* harmony export */   MOZ: () => (/* binding */ MOZ),
47138/* harmony export */   MS: () => (/* binding */ MS),
47139/* harmony export */   NAMESPACE: () => (/* binding */ NAMESPACE),
47140/* harmony export */   PAGE: () => (/* binding */ PAGE),
47141/* harmony export */   RULESET: () => (/* binding */ RULESET),
47142/* harmony export */   SUPPORTS: () => (/* binding */ SUPPORTS),
47143/* harmony export */   VIEWPORT: () => (/* binding */ VIEWPORT),
47144/* harmony export */   WEBKIT: () => (/* binding */ WEBKIT)
47145/* harmony export */ });
47146var MS = '-ms-'
47147var MOZ = '-moz-'
47148var WEBKIT = '-webkit-'
47149
47150var COMMENT = 'comm'
47151var RULESET = 'rule'
47152var DECLARATION = 'decl'
47153
47154var PAGE = '@page'
47155var MEDIA = '@media'
47156var IMPORT = '@import'
47157var CHARSET = '@charset'
47158var VIEWPORT = '@viewport'
47159var SUPPORTS = '@supports'
47160var DOCUMENT = '@document'
47161var NAMESPACE = '@namespace'
47162var KEYFRAMES = '@keyframes'
47163var FONT_FACE = '@font-face'
47164var COUNTER_STYLE = '@counter-style'
47165var FONT_FEATURE_VALUES = '@font-feature-values'
47166var LAYER = '@layer'
47167
47168
47169/***/ },
47170
47171/***/ "./node_modules/stylis/src/Middleware.js"
47172/*!***********************************************!*\
47173  !*** ./node_modules/stylis/src/Middleware.js ***!
47174  \***********************************************/
47175(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
47176
47177"use strict";
47178__webpack_require__.r(__webpack_exports__);
47179/* harmony export */ __webpack_require__.d(__webpack_exports__, {
47180/* harmony export */   middleware: () => (/* binding */ middleware),
47181/* harmony export */   namespace: () => (/* binding */ namespace),
47182/* harmony export */   prefixer: () => (/* binding */ prefixer),
47183/* harmony export */   rulesheet: () => (/* binding */ rulesheet)
47184/* harmony export */ });
47185/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/stylis/src/Enum.js");
47186/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/stylis/src/Utility.js");
47187/* harmony import */ var _Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Tokenizer.js */ "./node_modules/stylis/src/Tokenizer.js");
47188/* harmony import */ var _Serializer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Serializer.js */ "./node_modules/stylis/src/Serializer.js");
47189/* harmony import */ var _Prefixer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Prefixer.js */ "./node_modules/stylis/src/Prefixer.js");
47190
47191
47192
47193
47194
47195
47196/**
47197 * @param {function[]} collection
47198 * @return {function}
47199 */
47200function middleware (collection) {
47201	var length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(collection)
47202
47203	return function (element, index, children, callback) {
47204		var output = ''
47205
47206		for (var i = 0; i < length; i++)
47207			output += collection[i](element, index, children, callback) || ''
47208
47209		return output
47210	}
47211}
47212
47213/**
47214 * @param {function} callback
47215 * @return {function}
47216 */
47217function rulesheet (callback) {
47218	return function (element) {
47219		if (!element.root)
47220			if (element = element.return)
47221				callback(element)
47222	}
47223}
47224
47225/**
47226 * @param {object} element
47227 * @param {number} index
47228 * @param {object[]} children
47229 * @param {function} callback
47230 */
47231function prefixer (element, index, children, callback) {
47232	if (element.length > -1)
47233		if (!element.return)
47234			switch (element.type) {
47235				case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.DECLARATION: element.return = (0,_Prefixer_js__WEBPACK_IMPORTED_MODULE_4__.prefix)(element.value, element.length, children)
47236					return
47237				case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.KEYFRAMES:
47238					return (0,_Serializer_js__WEBPACK_IMPORTED_MODULE_3__.serialize)([(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {value: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(element.value, '@', '@' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT)})], callback)
47239				case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET:
47240					if (element.length)
47241						return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.combine)(element.props, function (value) {
47242							switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, /(::plac\w+|:read-\w+)/)) {
47243								// :read-(only|write)
47244								case ':read-only': case ':read-write':
47245									return (0,_Serializer_js__WEBPACK_IMPORTED_MODULE_3__.serialize)([(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(read-\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + '$1')]})], callback)
47246								// :placeholder
47247								case '::placeholder':
47248									return (0,_Serializer_js__WEBPACK_IMPORTED_MODULE_3__.serialize)([
47249										(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(plac\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'input-$1')]}),
47250										(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(plac\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + '$1')]}),
47251										(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(plac\w+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'input-$1')]})
47252									], callback)
47253							}
47254
47255							return ''
47256						})
47257			}
47258}
47259
47260/**
47261 * @param {object} element
47262 * @param {number} index
47263 * @param {object[]} children
47264 */
47265function namespace (element) {
47266	switch (element.type) {
47267		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET:
47268			element.props = element.props.map(function (value) {
47269				return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.combine)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.tokenize)(value), function (value, index, children) {
47270					switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, 0)) {
47271						// \f
47272						case 12:
47273							return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 1, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(value))
47274						// \0 ( + > ~
47275						case 0: case 40: case 43: case 62: case 126:
47276							return value
47277						// :
47278						case 58:
47279							if (children[++index] === 'global')
47280								children[index] = '', children[++index] = '\f' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(children[index], index = 1, -1)
47281						// \s
47282						case 32:
47283							return index === 1 ? '' : value
47284						default:
47285							switch (index) {
47286								case 0: element = value
47287									return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(children) > 1 ? '' : value
47288								case index = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(children) - 1: case 2:
47289									return index === 2 ? value + element + element : value + element
47290								default:
47291									return value
47292							}
47293					}
47294				})
47295			})
47296	}
47297}
47298
47299
47300/***/ },
47301
47302/***/ "./node_modules/stylis/src/Parser.js"
47303/*!*******************************************!*\
47304  !*** ./node_modules/stylis/src/Parser.js ***!
47305  \*******************************************/
47306(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
47307
47308"use strict";
47309__webpack_require__.r(__webpack_exports__);
47310/* harmony export */ __webpack_require__.d(__webpack_exports__, {
47311/* harmony export */   comment: () => (/* binding */ comment),
47312/* harmony export */   compile: () => (/* binding */ compile),
47313/* harmony export */   declaration: () => (/* binding */ declaration),
47314/* harmony export */   parse: () => (/* binding */ parse),
47315/* harmony export */   ruleset: () => (/* binding */ ruleset)
47316/* harmony export */ });
47317/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/stylis/src/Enum.js");
47318/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/stylis/src/Utility.js");
47319/* harmony import */ var _Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Tokenizer.js */ "./node_modules/stylis/src/Tokenizer.js");
47320
47321
47322
47323
47324/**
47325 * @param {string} value
47326 * @return {object[]}
47327 */
47328function compile (value) {
47329	return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.dealloc)(parse('', null, null, null, [''], value = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.alloc)(value), 0, [0], value))
47330}
47331
47332/**
47333 * @param {string} value
47334 * @param {object} root
47335 * @param {object?} parent
47336 * @param {string[]} rule
47337 * @param {string[]} rules
47338 * @param {string[]} rulesets
47339 * @param {number[]} pseudo
47340 * @param {number[]} points
47341 * @param {string[]} declarations
47342 * @return {object}
47343 */
47344function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
47345	var index = 0
47346	var offset = 0
47347	var length = pseudo
47348	var atrule = 0
47349	var property = 0
47350	var previous = 0
47351	var variable = 1
47352	var scanning = 1
47353	var ampersand = 1
47354	var character = 0
47355	var type = ''
47356	var props = rules
47357	var children = rulesets
47358	var reference = rule
47359	var characters = type
47360
47361	while (scanning)
47362		switch (previous = character, character = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.next)()) {
47363			// (
47364			case 40:
47365				if (previous != 108 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(characters, length - 1) == 58) {
47366					if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(characters += (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.delimit)(character), '&', '&\f'), '&\f') != -1)
47367						ampersand = -1
47368					break
47369				}
47370			// " ' [
47371			case 34: case 39: case 91:
47372				characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.delimit)(character)
47373				break
47374			// \t \n \r \s
47375			case 9: case 10: case 13: case 32:
47376				characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.whitespace)(previous)
47377				break
47378			// \
47379			case 92:
47380				characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.escaping)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.caret)() - 1, 7)
47381				continue
47382			// /
47383			case 47:
47384				switch ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.peek)()) {
47385					case 42: case 47:
47386						;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(comment((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.commenter)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.next)(), (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.caret)()), root, parent), declarations)
47387						break
47388					default:
47389						characters += '/'
47390				}
47391				break
47392			// {
47393			case 123 * variable:
47394				points[index++] = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) * ampersand
47395			// } ; \0
47396			case 125 * variable: case 59: case 0:
47397				switch (character) {
47398					// \0 }
47399					case 0: case 125: scanning = 0
47400					// ;
47401					case 59 + offset: if (ampersand == -1) characters = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(characters, /\f/g, '')
47402						if (property > 0 && ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) - length))
47403							(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(property >
47403 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(characters, ' ', '') + ';', rule, parent, length - 2), declarations)
47404						break
47405					// @ ;
47406					case 59: characters += ';'
47407					// { rule/at-rule
47408					default:
47409						;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)
47410
47411						if (character === 123)
47412							if (offset === 0)
47413								parse(characters, root, reference, reference, props, rulesets, length, points, children)
47414							else
47415								switch (atrule === 99 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(characters, 3) === 110 ? 100 : atrule) {
47416									// d l m s
47417									case 100: case 108: case 109: case 115:
47418										parse(value, reference, reference, rule && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)
47419										break
47420									default:
47421										parse(characters, reference, reference, reference, [''], children, 0, points, children)
47422								}
47423				}
47424
47425				index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo
47426				break
47427			// :
47428			case 58:
47429				length = 1 + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters), property = previous
47430			default:
47431				if (variable < 1)
47432					if (character == 123)
47433						--variable
47434					else if (character == 125 && variable++ == 0 && (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.prev)() == 125)
47435						continue
47436
47437				switch (characters += (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.from)(character), character * variable) {
47438					// &
47439					case 38:
47440						ampersand = offset > 0 ? 1 : (characters += '\f', -1)
47441						break
47442					// ,
47443					case 44:
47444						points[index++] = ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) - 1) * ampersand, ampersand = 1
47445						break
47446					// @
47447					case 64:
47448						// -
47449						if ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.peek)() === 45)
47450							characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.delimit)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.next)())
47451
47452						atrule = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.peek)(), offset = length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(type = characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.identifier)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.caret)())), character++
47453						break
47454					// -
47455					case 45:
47456						if (previous === 45 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) == 2)
47457							variable = 0
47458				}
47459		}
47460
47461	return rulesets
47462}
47463
47464/**
47465 * @param {string} value
47466 * @param {object} root
47467 * @param {object?} parent
47468 * @param {number} index
47469 * @param {number} offset
47470 * @param {string[]} rules
47471 * @param {number[]} points
47472 * @param {string} type
47473 * @param {string[]} props
47474 * @param {string[]} children
47475 * @param {number} length
47476 * @return {object}
47477 */
47478function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {
47479	var post = offset - 1
47480	var rule = offset === 0 ? rules : ['']
47481	var size = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(rule)
47482
47483	for (var i = 0, j = 0, k = 0; i < index; ++i)
47484		for (var x = 0, y = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, post + 1, post = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.abs)(j = points[i])), z = value; x < size; ++x)
47485			if (z = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.trim)(j > 0 ? rule[x] + ' ' + y : (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(y, /&\f/g, rule[x])))
47486				props[k++] = z
47487
47488	return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.node)(value, root, parent, offset === 0 ? _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET : type, props, children, length)
47489}
47490
47491/**
47492 * @param {number} value
47493 * @param {object} root
47494 * @param {object?} parent
47495 * @return {object}
47496 */
47497function comment (value, root, parent) {
47498	return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.node)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.COMMENT, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.from)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.char)()), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 2, -2), 0)
47499}
47500
47501/**
47502 * @param {string} value
47503 * @param {object} root
47504 * @param {object?} parent
47505 * @param {number} length
47506 * @return {object}
47507 */
47508function declaration (value, root, parent, length) {
47509	return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.node)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.DECLARATION, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 0, length), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, length + 1, -1), length)
47510}
47511
47512
47513/***/ },
47514
47515/***/ "./node_modules/stylis/src/Prefixer.js"
47516/*!*********************************************!*\
47517  !*** ./node_modules/stylis/src/Prefixer.js ***!
47518  \*********************************************/
47519(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
47520
47521"use strict";
47522__webpack_require__.r(__webpack_exports__);
47523/* harmony export */ __webpack_require__.d(__webpack_exports__, {
47524/* harmony export */   prefix: () => (/* binding */ prefix)
47525/* harmony export */ });
47526/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/stylis/src/Enum.js");
47527/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/stylis/src/Utility.js");
47528
47529
47530
47531/**
47532 * @param {string} value
47533 * @param {number} length
47534 * @param {object[]} children
47535 * @return {string}
47536 */
47537function prefix (value, length, children) {
47538	switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.hash)(value, length)) {
47539		// color-adjust
47540		case 5103:
47541			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'print-' + value + value
47542		// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
47543		case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:
47544		// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
47545		case 5572: case 6356: case 5844: case 3191: case 6645: case 3005:
47546		// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
47547		case 6391: case 5879: case 5623: case 6135: case 4599: case 4855:
47548		// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
47549		case 4215: case 6389: case 5109: case 5365: case 5621: case 3829:
47550			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + value
47551		// tab-size
47552		case 4789:
47553			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + value + value
47554		// appearance, user-select, transform, hyphens, text-size-adjust
47555		case 5349: case 4246: case 4810: case 6968: case 2756:
47556			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + value + value
47557		// writing-mode
47558		case 5936:
47559			switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 11)) {
47560				// vertical-l(r)
47561				case 114:
47562					return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb') + value
47563				// vertical-r(l)
47564				case 108:
47565					return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value
47566				// horizontal(-)tb
47567				case 45:
47568					return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /[svh]\w+-[tblr]{2}/, 'lr') + value
47569				// default: fallthrough to below
47570			}
47571		// flex, flex-direction, scroll-snap-type, writing-mode
47572		case 6828: case 4268: case 2903:
47573			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + value + value
47574		// order
47575		case 6165:
47576			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-' + value + value
47577		// align-items
47578		case 5187:
47579			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(\w+).+(:[^]+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'box-$1$2' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-$1$2') + value
47580		// align-self
47581		case 5443:
47582			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-item-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /flex-|-self/g, '') + (!(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, /flex-|baseline/) ? _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'grid-row-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /flex-|-self/g, '') : '') + value
47583		// align-content
47584		case 4675:
47585			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-line-pack' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /align-content|flex-|-self/g, '') + value
47586		// flex-shrink
47587		case 5548:
47588			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'shrink', 'negative') + value
47589		// flex-basis
47590		case 5292:
47591			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'basis', 'preferred-size') + value
47592		// flex-grow
47593		case 6060:
47594			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'box-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-grow', '') + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'grow', 'positive') + value
47595		// transition
47596		case 4554:
47597			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /([^-])(transform)/g, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$2') + value
47598		// cursor
47599		case 6187:
47600			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(zoom-|grab)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1'), /(image-set)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1'), value, '') + value
47601		// background, background-image
47602		case 5495: case 3959:
47603			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(image-set\([^]*)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1' + '$`$1')
47604		// justify-content
47605		case 4968:
47606			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+:)(flex-)?(.*)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'box-pack:$3' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + value
47607		// justify-self
47608		case 4200:
47609			if (!(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, /flex-|baseline/)) return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'grid-column-align' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, length) + value
47610			break
47611		// grid-template-(columns|rows)
47612		case 2592: case 3360:
47613			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'template-', '') + value
47614		// grid-(row|column)-start
47615		case 4384: case 3616:
47616			if (children && children.some(function (element, index) { return length = index, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(element.props, /grid-\w+-end/) })) {
47617				return ~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(value + (children = children[length].value), 'span') ? value : (_Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-start', '') + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'grid-row-span:' + (~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(children, 'span') ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(children, /\d+/) : +(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(children, /\d+/) - +(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, /\d+/)) + ';')
47618			}
47619			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-start', '') + value
47620		// grid-(row|column)-end
47621		case 4896: case 4128:
47622			return (children && children.some(function (element) { return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(element.props, /grid-\w+-start/) })) ? value : _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-end', '-span'), 'span ', '') + value
47623		// (margin|padding)-inline-(start|end)
47624		case 4095: case 3583: case 4068: case 2532:
47625			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+)-inline(.+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1$2') + value
47626		// (min|max)?(width|height|inline-size|block-size)
47627		case 8116: case 7059: case 5753: case 5535:
47628		case 5445: case 5701: case 4933: case 4677:
47629		case 5533: case 5789: case 5021: case 4765:
47630			// stretch, max-content, min-content, fill-available
47631			if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(value) - 1 - length > 6)
47632				switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 1)) {
47633					// (m)ax-content, (m)in-content
47634					case 109:
47635						// -
47636						if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 4) !== 45)
47637							break
47638					// (f)ill-available, (f)it-content
47639					case 102:
47640						return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+:)(.+)-([^]+)/, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$2-$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 3) == 108 ? '$3' : '$2-$3')) + value
47641					// (s)tretch
47642					case 115:
47643						return ~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(value, 'stretch') ? prefix((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'stretch', 'fill-available'), length, children) + value : value
47644				}
47645			break
47646		// grid-(column|row)
47647		case 5152: case 5920:
47648			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (_Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + a + ':' + b + f) + (c ? (_Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })
47649		// position: sticky
47650		case 4949:
47651			// stick(y)?
47652			if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 6) === 121)
47653				return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, ':', ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT) + value
47654			break
47655		// display: (flex|inline-flex|grid|inline-grid)
47656		case 6444:
47657			switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, 14) === 45 ? 18 : 11)) {
47658				// (inline-)?fle(x)
47659				case 120:
47660					return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$2$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + '$2box$3') + value
47661				// (inline-)?gri(d)
47662				case 100:
47663					return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, ':', ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS) + value
47664			}
47665			break
47666		// scroll-margin, scroll-margin-(top|right|bottom|left)
47667		case 5719: case 2647: case 2135: case 3927: case 2391:
47668			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'scroll-', 'scroll-snap-') + value
47669	}
47670
47671	return value
47672}
47673
47674
47675/***/ },
47676
47677/***/ "./node_modules/stylis/src/Serializer.js"
47678/*!***********************************************!*\
47679  !*** ./node_modules/stylis/src/Serializer.js ***!
47680  \***********************************************/
47681(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
47682
47683"use strict";
47684__webpack_require__.r(__webpack_exports__);
47685/* harmony export */ __webpack_require__.d(__webpack_exports__, {
47686/* harmony export */   serialize: () => (/* binding */ serialize),
47687/* harmony export */   stringify: () => (/* binding */ stringify)
47688/* harmony export */ });
47689/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/stylis/src/Enum.js");
47690/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/stylis/src/Utility.js");
47691
47692
47693
47694/**
47695 * @param {object[]} children
47696 * @param {function} callback
47697 * @return {string}
47698 */
47699function serialize (children, callback) {
47700	var output = ''
47701	var length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(children)
47702
47703	for (var i = 0; i < length; i++)
47704		output += callback(children[i], i, children, callback) || ''
47705
47706	return output
47707}
47708
47709/**
47710 * @param {object} element
47711 * @param {number} index
47712 * @param {object[]} children
47713 * @param {function} callback
47714 * @return {string}
47715 */
47716function stringify (element, index, children, callback) {
47717	switch (element.type) {
47718		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.LAYER: if (element.children.length) break
47719		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.IMPORT: case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.DECLARATION: return element.return = element.return || element.value
47720		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.COMMENT: return ''
47721		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'
47722		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET: element.value = element.props.join(',')
47723	}
47724
47725	return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''
47726}
47727
47728
47729/***/ },
47730
47731/***/ "./node_modules/stylis/src/Tokenizer.js"
47732/*!**********************************************!*\
47733  !*** ./node_modules/stylis/src/Tokenizer.js ***!
47734  \**********************************************/
47735(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
47736
47737"use strict";
47738__webpack_require__.r(__webpack_exports__);
47739/* harmony export */ __webpack_require__.d(__webpack_exports__, {
47740/* harmony export */   alloc: () => (/* binding */ alloc),
47741/* harmony export */   caret: () => (/* binding */ caret),
47742/* harmony export */   char: () => (/* binding */ char),
47743/* harmony export */   character: () => (/* binding */ character),
47744/* harmony export */   characters: () => (/* binding */ characters),
47745/* harmony export */   column: () => (/* binding */ column),
47746/* harmony export */   commenter: () => (/* binding */ commenter),
47747/* harmony export */   copy: () => (/* binding */ copy),
47748/* harmony export */   dealloc: () => (/* binding */ dealloc),
47749/* harmony export */   delimit: () => (/* binding */ delimit),
47750/* harmony export */   delimiter: () => (/* binding */ delimiter),
47751/* harmony export */   escaping: () => (/* binding */ escaping),
47752/* harmony export */   identifier: () => (/* binding */ identifier),
47753/* harmony export */   length: () => (/* binding */ length),
47754/* harmony export */   line: () => (/* binding */ line),
47755/* harmony export */   next: () => (/* binding */ next),
47756/* harmony export */   node: () => (/* binding */ node),
47757/* harmony export */   peek: () => (/* binding */ peek),
47758/* harmony export */   position: () => (/* binding */ position),
47759/* harmony export */   prev: () => (/* binding */ prev),
47760/* harmony export */   slice: () => (/* binding */ slice),
47761/* harmony export */   token: () => (/* binding */ token),
47762/* harmony export */   tokenize: () => (/* binding */ tokenize),
47763/* harmony export */   tokenizer: () => (/* binding */ tokenizer),
47764/* harmony export */   whitespace: () => (/* binding */ whitespace)
47765/* harmony export */ });
47766/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/stylis/src/Utility.js");
47767
47768
47769var line = 1
47770var column = 1
47771var length = 0
47772var position = 0
47773var character = 0
47774var characters = ''
47775
47776/**
47777 * @param {string} value
47778 * @param {object | null} root
47779 * @param {object | null} parent
47780 * @param {string} type
47781 * @param {string[] | string} props
47782 * @param {object[] | string} children
47783 * @param {number} length
47784 */
47785function node (value, root, parent, type, props, children, length) {
47786	return {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}
47787}
47788
47789/**
47790 * @param {object} root
47791 * @param {object} props
47792 * @return {object}
47793 */
47794function copy (root, props) {
47795	return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.assign)(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)
47796}
47797
47798/**
47799 * @return {number}
47800 */
47801function char () {
47802	return character
47803}
47804
47805/**
47806 * @return {number}
47807 */
47808function prev () {
47809	character = position > 0 ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, --position) : 0
47810
47811	if (column--, character === 10)
47812		column = 1, line--
47813
47814	return character
47815}
47816
47817/**
47818 * @return {number}
47819 */
47820function next () {
47821	character = position < length ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, position++) : 0
47822
47823	if (column++, character === 10)
47824		column = 1, line++
47825
47826	return character
47827}
47828
47829/**
47830 * @return {number}
47831 */
47832function peek () {
47833	return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, position)
47834}
47835
47836/**
47837 * @return {number}
47838 */
47839function caret () {
47840	return position
47841}
47842
47843/**
47844 * @param {number} begin
47845 * @param {number} end
47846 * @return {string}
47847 */
47848function slice (begin, end) {
47849	return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.substr)(characters, begin, end)
47850}
47851
47852/**
47853 * @param {number} type
47854 * @return {number}
47855 */
47856function token (type) {
47857	switch (type) {
47858		// \0 \t \n \r \s whitespace token
47859		case 0: case 9: case 10: case 13: case 32:
47860			return 5
47861		// ! + , / > @ ~ isolate token
47862		case 33: case 43: case 44: case 47: case 62: case 64: case 126:
47863		// ; { } breakpoint token
47864		case 59: case 123: case 125:
47865			return 4
47866		// : accompanied token
47867		case 58:
47868			return 3
47869		// " ' ( [ opening delimit token
47870		case 34: case 39: case 40: case 91:
47871			return 2
47872		// ) ] closing delimit token
47873		case 41: case 93:
47874			return 1
47875	}
47876
47877	return 0
47878}
47879
47880/**
47881 * @param {string} value
47882 * @return {any[]}
47883 */
47884function alloc (value) {
47885	return line = column = 1, length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.strlen)(characters = value), position = 0, []
47886}
47886
47887
47888/**
47889 * @param {any} value
47890 * @return {any}
47891 */
47892function dealloc (value) {
47893	return characters = '', value
47894}
47895
47896/**
47897 * @param {number} type
47898 * @return {string}
47899 */
47900function delimit (type) {
47901	return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.trim)(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))
47902}
47903
47904/**
47905 * @param {string} value
47906 * @return {string[]}
47907 */
47908function tokenize (value) {
47909	return dealloc(tokenizer(alloc(value)))
47910}
47911
47912/**
47913 * @param {number} type
47914 * @return {string}
47915 */
47916function whitespace (type) {
47917	while (character = peek())
47918		if (character < 33)
47919			next()
47920		else
47921			break
47922
47923	return token(type) > 2 || token(character) > 3 ? '' : ' '
47924}
47925
47926/**
47927 * @param {string[]} children
47928 * @return {string[]}
47929 */
47930function tokenizer (children) {
47931	while (next())
47932		switch (token(character)) {
47933			case 0: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(identifier(position - 1), children)
47934				break
47935			case 2: ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(delimit(character), children)
47936				break
47937			default: ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.from)(character), children)
47938		}
47939
47940	return children
47941}
47942
47943/**
47944 * @param {number} index
47945 * @param {number} count
47946 * @return {string}
47947 */
47948function escaping (index, count) {
47949	while (--count && next())
47950		// not 0-9 A-F a-f
47951		if (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))
47952			break
47953
47954	return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))
47955}
47956
47957/**
47958 * @param {number} type
47959 * @return {number}
47960 */
47961function delimiter (type) {
47962	while (next())
47963		switch (character) {
47964			// ] ) " '
47965			case type:
47966				return position
47967			// " '
47968			case 34: case 39:
47969				if (type !== 34 && type !== 39)
47970					delimiter(character)
47971				break
47972			// (
47973			case 40:
47974				if (type === 41)
47975					delimiter(type)
47976				break
47977			// \
47978			case 92:
47979				next()
47980				break
47981		}
47982
47983	return position
47984}
47985
47986/**
47987 * @param {number} type
47988 * @param {number} index
47989 * @return {number}
47990 */
47991function commenter (type, index) {
47992	while (next())
47993		// //
47994		if (type + character === 47 + 10)
47995			break
47996		// /*
47997		else if (type + character === 42 + 42 && peek() === 47)
47998			break
47999
48000	return '/*' + slice(index, position - 1) + '*' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.from)(type === 47 ? type : next())
48001}
48002
48003/**
48004 * @param {number} index
48005 * @return {string}
48006 */
48007function identifier (index) {
48008	while (!token(peek()))
48009		next()
48010
48011	return slice(index, position)
48012}
48013
48014
48015/***/ },
48016
48017/***/ "./node_modules/stylis/src/Utility.js"
48018/*!********************************************!*\
48019  !*** ./node_modules/stylis/src/Utility.js ***!
48020  \********************************************/
48021(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
48022
48023"use strict";
48024__webpack_require__.r(__webpack_exports__);
48025/* harmony export */ __webpack_require__.d(__webpack_exports__, {
48026/* harmony export */   abs: () => (/* binding */ abs),
48027/* harmony export */   append: () => (/* binding */ append),
48028/* harmony export */   assign: () => (/* binding */ assign),
48029/* harmony export */   charat: () => (/* binding */ charat),
48030/* harmony export */   combine: () => (/* binding */ combine),
48031/* harmony export */   from: () => (/* binding */ from),
48032/* harmony export */   hash: () => (/* binding */ hash),
48033/* harmony export */   indexof: () => (/* binding */ indexof),
48034/* harmony export */   match: () => (/* binding */ match),
48035/* harmony export */   replace: () => (/* binding */ replace),
48036/* harmony export */   sizeof: () => (/* binding */ sizeof),
48037/* harmony export */   strlen: () => (/* binding */ strlen),
48038/* harmony export */   substr: () => (/* binding */ substr),
48039/* harmony export */   trim: () => (/* binding */ trim)
48040/* harmony export */ });
48041/**
48042 * @param {number}
48043 * @return {number}
48044 */
48045var abs = Math.abs
48046
48047/**
48048 * @param {number}
48049 * @return {string}
48050 */
48051var from = String.fromCharCode
48052
48053/**
48054 * @param {object}
48055 * @return {object}
48056 */
48057var assign = Object.assign
48058
48059/**
48060 * @param {string} value
48061 * @param {number} length
48062 * @return {number}
48063 */
48064function hash (value, length) {
48065	return charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0
48066}
48067
48068/**
48069 * @param {string} value
48070 * @return {string}
48071 */
48072function trim (value) {
48073	return value.trim()
48074}
48075
48076/**
48077 * @param {string} value
48078 * @param {RegExp} pattern
48079 * @return {string?}
48080 */
48081function match (value, pattern) {
48082	return (value = pattern.exec(value)) ? value[0] : value
48083}
48084
vendor: 5,861 bytes, lines 48085-48274
48085/**
48086 * @param {string} value
48087 * @param {(string|RegExp)} pattern
48088 * @param {string} replacement
48089 * @return {string}
48090 */
48091function replace (value, pattern, replacement) {
48092	return value.replace(pattern, replacement)
48093}
48094
48095/**
48096 * @param {string} value
48097 * @param {string} search
48098 * @return {number}
48099 */
48100function indexof (value, search) {
48101	return value.indexOf(search)
48102}
48103
48104/**
48105 * @param {string} value
48106 * @param {number} index
48107 * @return {number}
48108 */
48109function charat (value, index) {
48110	return value.charCodeAt(index) | 0
48111}
48112
48113/**
48114 * @param {string} value
48115 * @param {number} begin
48116 * @param {number} end
48117 * @return {string}
48118 */
48119function substr (value, begin, end) {
48120	return value.slice(begin, end)
48121}
48122
48123/**
48124 * @param {string} value
48125 * @return {number}
48126 */
48127function strlen (value) {
48128	return value.length
48129}
48130
48131/**
48132 * @param {any[]} value
48133 * @return {number}
48134 */
48135function sizeof (value) {
48136	return value.length
48137}
48138
48139/**
48140 * @param {any} value
48141 * @param {any[]} array
48142 * @return {any}
48143 */
48144function append (value, array) {
48145	return array.push(value), value
48146}
48147
48148/**
48149 * @param {string[]} array
48150 * @param {function} callback
48151 * @return {string}
48152 */
48153function combine (array, callback) {
48154	return array.map(callback).join('')
48155}
48156
48157
48158/***/ }
48159
48160/******/ 	});
48161/************************************************************************/
48162/******/ 	// The module cache
48163/******/ 	var __webpack_module_cache__ = {};
48164/******/ 	
48165/******/ 	// The require function
48166/******/ 	function __webpack_require__(moduleId) {
48167/******/ 		// Check if module is in cache
48168/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
48169/******/ 		if (cachedModule !== undefined) {
48170/******/ 			return cachedModule.exports;
48171/******/ 		}
48172/******/ 		// Create a new module (and put it into the cache)
48173/******/ 		var module = __webpack_module_cache__[moduleId] = {
48174/******/ 			id: moduleId,
48175/******/ 			loaded: false,
48176/******/ 			exports: {}
48177/******/ 		};
48178/******/ 	
48179/******/ 		// Execute the module function
48180/******/ 		if (!(moduleId in __webpack_modules__)) {
48181/******/ 			delete __webpack_module_cache__[moduleId];
48182/******/ 			var e = new Error("Cannot find module '" + moduleId + "'");
48183/******/ 			e.code = 'MODULE_NOT_FOUND';
48184/******/ 			throw e;
48185/******/ 		}
48186/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
48187/******/ 	
48188/******/ 		// Flag the module as loaded
48189/******/ 		module.loaded = true;
48190/******/ 	
48191/******/ 		// Return the exports of the module
48192/******/ 		return module.exports;
48193/******/ 	}
48194/******/ 	
48195/************************************************************************/
48196/******/ 	/* webpack/runtime/compat get default export */
48197/******/ 	(() => {
48198/******/ 		// getDefaultExport function for compatibility with non-harmony modules
48199/******/ 		__webpack_require__.n = (module) => {
48200/******/ 			var getter = module && module.__esModule ?
48201/******/ 				() => (module['default']) :
48202/******/ 				() => (module);
48203/******/ 			__webpack_require__.d(getter, { a: getter });
48204/******/ 			return getter;
48205/******/ 		};
48206/******/ 	})();
48207/******/ 	
48208/******/ 	/* webpack/runtime/define property getters */
48209/******/ 	(() => {
48210/******/ 		// define getter functions for harmony exports
48211/******/ 		__webpack_require__.d = (exports, definition) => {
48212/******/ 			for(var key in definition) {
48213/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
48214/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
48215/******/ 				}
48216/******/ 			}
48217/******/ 		};
48218/******/ 	})();
48219/******/ 	
48220/******/ 	/* webpack/runtime/global */
48221/******/ 	(() => {
48222/******/ 		__webpack_require__.g = (function() {
48223/******/ 			if (typeof globalThis === 'object') return globalThis;
48224/******/ 			try {
48225/******/ 				return this || new Function('return this')();
48226/******/ 			} catch (e) {
48227/******/ 				if (typeof window === 'object') return window;
48228/******/ 			}
48229/******/ 		})();
48230/******/ 	})();
48231/******/ 	
48232/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
48233/******/ 	(() => {
48234/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
48235/******/ 	})();
48236/******/ 	
48237/******/ 	/* webpack/runtime/make namespace object */
48238/******/ 	(() => {
48239/******/ 		// define __esModule on exports
48240/******/ 		__webpack_require__.r = (exports) => {
48241/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
48242/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48243/******/ 			}
48244/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
48245/******/ 		};
48246/******/ 	})();
48247/******/ 	
48248/******/ 	/* webpack/runtime/node module decorator */
48249/******/ 	(() => {
48250/******/ 		__webpack_require__.nmd = (module) => {
48251/******/ 			module.paths = [];
48252/******/ 			if (!module.children) module.children = [];
48253/******/ 			return module;
48254/******/ 		};
48255/******/ 	})();
48256/******/ 	
48257/******/ 	/* webpack/runtime/publicPath */
48258/******/ 	(() => {
48259/******/ 		var scriptUrl;
48260/******/ 		if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
48261/******/ 		var document = __webpack_require__.g.document;
48262/******/ 		if (!scriptUrl && document) {
48263/******/ 			if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
48264/******/ 				scriptUrl = document.currentScript.src;
48265/******/ 			if (!scriptUrl) {
48266/******/ 				var scripts = document.getElementsByTagName("script");
48267/******/ 				if(scripts.length) {
48268/******/ 					var i = scripts.length - 1;
48269/******/ 					while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
48270/******/ 				}
48271/******/ 			}
48272/******/ 		}
48273/******/ 		// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
48274/******/ 		// or pass an empty string ("") and set the __webpack_public_path__ variable from your co
48274de to use your own logic.
48275/******/ 		if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
48276/******/ 		scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
48277/******/ 		__webpack_require__.p = scriptUrl + "../";
48278/******/ 	})();
48279/******/ 	
48280/************************************************************************/
48281var __webpack_exports__ = {};
48282// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
48283(() => {
48284"use strict";
48285/*!**********************************!*\
48286  !*** ./embed/cart/entrypoint.js ***!
48287  \**********************************/
48288__webpack_require__.r(__webpack_exports__);
48289/* harmony export */ __webpack_require__.d(__webpack_exports__, {
48290/* harmony export */   events: () => (/* reexport safe */ _app_cart_events_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
48291/* harmony export */   state: () => (/* binding */ state)
48292/* harmony export */ });
48293/* harmony import */ var _emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/react/jsx-runtime */ "./node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js");
48294/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
48295/* harmony import */ var react_dom_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-dom/client */ "./node_modules/react-dom/client.js");
48296/* harmony import */ var _app_cart_constants_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../app/cart/constants.js */ "./app/cart/constants.js");
48297/* harmony import */ var _Cart_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Cart.js */ "./embed/cart/Cart.js");
48298/* harmony import */ var _app_cart_events_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../app/cart/events.js */ "./app/cart/events.js");
48299/* harmony import */ var _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../app/cart/persist.js */ "./app/cart/persist.js");
48300
48301
48302
48303
48304
48305
48306
48307
48308const state = _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_6__;
48309const CART_ELEMENT_ID = "bouncie-embedded-cart";
48310const MAX_WAIT_RETRIES = 10;
48311const waitFor = (conditionFn, limit = MAX_WAIT_RETRIES) => new Promise((resolve, reject) => {
48312  const check = (fn, retries = 0) => {
48313    if (conditionFn()) {
48314      return resolve();
48315    }
48316    if (retries >= limit) {
48317      return reject("Exceeded retry attempt limit");
48318    }
48319    retries++;
48320    setTimeout(() => check(fn, retries), 0);
48321  };
48322  check(conditionFn);
48323});
48324const determineOriginUrl = () => {
48325  var _a;
48326  try {
48327    if (!((_a = document.currentScript) == null ? void 0 : _a.src)) {
48328      throw new Error(`[${_app_cart_constants_js__WEBPACK_IMPORTED_MODULE_3__.CART_GLOBAL_VARIABLE_NAME}] Script attribute \`src\` is missing`);
48329    }
48330    return new URL(document.currentScript.src).origin;
48331  } catch (error) {
48332    console.error(`[${_app_cart_constants_js__WEBPACK_IMPORTED_MODULE_3__.CART_GLOBAL_VARIABLE_NAME}] Failed to determine origin URL:`, error);
48333  }
48334};
48335const originUrl = determineOriginUrl();
48336const scriptConfig = (() => {
48337  var _a, _b;
48338  try {
48339    return JSON.parse((_b = (_a = document.currentScript) == null ? void 0 : _a.dataset.config) != null ? _b : "null");
48340  } catch (e) {
48341    return null;
48342  }
48343})();
48344const createCartElement = (embeddedConfig) => {
48345  const element = document.createElement("div");
48346  element.id = CART_ELEMENT_ID;
48347  document.body.prepend(element);
48348  const root = react_dom_client__WEBPACK_IMPORTED_MODULE_2__.createRoot(element);
48349  root.render(/* @__PURE__ */ (0,_emotion_react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_Cart_js__WEBPACK_IMPORTED_MODULE_4__["default"], { config: embeddedConfig }));
48350};
48351const loadPricing = async (baseUrl) => {
48352  const catalog = await fetch(`${baseUrl}/api/products/catalog`).then((res) => res.json());
48353  await waitFor(() => {
48354    var _a;
48355    return (_a = window[_app_cart_constants_js__WEBPACK_IMPORTED_MODULE_3__.CART_GLOBAL_VARIABLE_NAME]) == null ? void 0 : _a.isReady;
48356  });
48357  window[_app_cart_constants_js__WEBPACK_IMPORTED_MODULE_3__.CART_GLOBAL_VARIABLE_NAME].pricingCatalog = catalog;
48358  _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_6__.updatePersist({
48359    catalog
48360  });
48361  _app_cart_events_js__WEBPACK_IMPORTED_MODULE_5__["default"].pricingLoaded.emit();
48362};
48363async function init() {
48364  var _a, _b, _c;
48365  console.log(`[${_app_cart_constants_js__WEBPACK_IMPORTED_MODULE_3__.CART_GLOBAL_VARIABLE_NAME}] Initializing... \`originUrl\`: ${originUrl}`);
48366  const persistedData = _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_6__.getPersist();
48367  const preInitConfig = scriptConfig != null ? scriptConfig : {};
48368  const config = {
48369    originUrl,
48370    // Basically just for record-keeping - originUrl shouldn't be used except as a fallback, below
48371    sourceUrl: (_a = preInitConfig.sourceUrl) != null ? _a : originUrl,
48372    checkoutUrl: preInitConfig.checkoutUrl,
48373    excludedPaths: (_b = preInitConfig.excludedPaths) != null ? _b : [],
48374    amazon: (_c = preInitConfig.amazon) != null ? _c : {},
48375    totalQuantity: _app_cart_persist_js__WEBPACK_IMPORTED_MODULE_6__.utils.getTotalQuantity(persistedData == null ? void 0 : persistedData.products),
48376    isCartPanelOpen: (persistedData == null ? void 0 : persistedData.isCartPanelOpen) || false
48377  };
48378  if (!preInitConfig.sourceUrl) {
48379    console.warn(`[${_app_cart_constants_js__WEBPACK_IMPORTED_MODULE_3__.CART_GLOBAL_VARIABLE_NAME}] No \`sourceUrl\` was provided, falling back to \`originUrl\` (${originUrl}).`);
48380  }
48381  createCartElement(config);
48382  _app_cart_events_js__WEBPACK_IMPORTED_MODULE_5__["default"].ready.emit({ sourceUrl: config.sourceUrl });
48383}
48384_app_cart_events_js__WEBPACK_IMPORTED_MODULE_5__["default"].ready.subscribe((args) => {
48385  if (args == null ? void 0 : args.sourceUrl) {
48386    loadPricing(args.sourceUrl);
48387  }
48388});
48389_app_cart_events_js__WEBPACK_IMPORTED_MODULE_5__["default"].ready.subscribe(async () => {
48390  try {
48391    await waitFor(() => window[_app_cart_constants_js__WEBPACK_IMPORTED_MODULE_3__.CART_GLOBAL_VARIABLE_NAME], 10);
48392    window[_app_cart_constants_js__WEBPACK_IMPORTED_MODULE_3__.CART_GLOBAL_VARIABLE_NAME].isReady = true;
48393  } catch (err) {
48394    console.error(`[${_app_cart_constants_js__WEBPACK_IMPORTED_MODULE_3__.CART_GLOBAL_VARIABLE_NAME}] ${err}`);
48395  }
48396});
48397function documentReady(fn) {
48398  if (document.readyState === "loading") {
48399    document.addEventListener("DOMContentLoaded", fn);
48400  } else {
48401    fn();
48402  }
48403}
48404documentReady(init);
48405
48406})();
48407
48408BouncieEmbeddedCart = __webpack_exports__;
48409/******/ })()
48410;
48411//# sourceMappingURL=cart.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.