@eightshift/ui-components 1.0.6 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/README.md +9 -0
  2. package/dist/{Button-eebLs4cp.js → Button-CbFrFO04.js} +5 -5
  3. package/dist/{Checkbox-BN0TEda-.js → Checkbox-Cv3pZDHg.js} +12 -16
  4. package/dist/{ColorSwatch-BrowHhTG.js → ColorSwatch-CNQmCQV8.js} +6 -7
  5. package/dist/{FieldError-ILxgMZy5.js → FieldError-J1-YPbi6.js} +2 -2
  6. package/dist/{FocusScope-B9b0VMib.js → FocusScope-Bw-IatMO.js} +79 -153
  7. package/dist/{GridList-CzpWxJsS.js → GridList-CEzzyr-l.js} +62 -90
  8. package/dist/{Group-Dkdm2-E7.js → Group-D3Qa6PrV.js} +3 -3
  9. package/dist/{Input-BJA4rmIo.js → Input-CX_rocyZ.js} +8 -8
  10. package/dist/{Label-9x5iLJ-Y.js → Label-Bg5O81Wb.js} +1 -1
  11. package/dist/{ListBox-D3Vr4vvC.js → ListBox-CCWXTj0t.js} +391 -598
  12. package/dist/{LiveAnnouncer-IsokfWQ5.js → LiveAnnouncer-D8h-3GrG.js} +12 -22
  13. package/dist/{NumberFormatter-LzoKy975.js → NumberFormatter-U_Gx0UDq.js} +26 -44
  14. package/dist/{Select-49a62830.esm-CKPmlkza.js → Select-49a62830.esm-BnlXlUnT.js} +92 -166
  15. package/dist/{SelectionManager-sedvcM-1.js → SelectionManager-XOAt-Ekx.js} +219 -401
  16. package/dist/{Separator-B6rnDabE.js → Separator-DZeg0KOr.js} +41 -72
  17. package/dist/{Slider-C5U5N7uM.js → Slider-fULMI0gI.js} +51 -82
  18. package/dist/{Text-Cyxp9ewv.js → Text-WqetJduR.js} +1 -1
  19. package/dist/{VisuallyHidden-BPJVSUyp.js → VisuallyHidden-Di1zXprL.js} +8 -11
  20. package/dist/{ariaHideOutside-ByKBPHmX.js → ariaHideOutside-Zn64-frS.js} +20 -36
  21. package/dist/assets/style.css +1 -1
  22. package/dist/assets/wp-font-enhancements.css +1 -1
  23. package/dist/assets/wp-ui-enhancements.css +1 -1
  24. package/dist/{button-idVI4jmd.js → button-CD8Q1eok.js} +17 -29
  25. package/dist/components/animated-visibility/animated-visibility.js +125 -113
  26. package/dist/components/base-control/base-control.js +3 -9
  27. package/dist/components/breakpoint-preview/breakpoint-preview.js +51 -108
  28. package/dist/components/button/button.js +6 -6
  29. package/dist/components/checkbox/checkbox.js +2 -2
  30. package/dist/components/color-pickers/color-picker.js +2 -2
  31. package/dist/components/color-pickers/color-swatch.js +5 -9
  32. package/dist/components/color-pickers/gradient-editor.js +15 -29
  33. package/dist/components/color-pickers/solid-color-picker.js +81 -128
  34. package/dist/components/component-toggle/component-toggle.js +4 -4
  35. package/dist/components/container-panel/container-panel.js +4 -11
  36. package/dist/components/draggable-list/draggable-list-item.js +4 -4
  37. package/dist/components/draggable-list/draggable-list.js +5 -5
  38. package/dist/components/expandable/expandable.js +45 -57
  39. package/dist/components/index.js +3 -3
  40. package/dist/components/input-field/input-field.js +11 -26
  41. package/dist/components/layout/hstack.js +2 -12
  42. package/dist/components/layout/vstack.js +2 -12
  43. package/dist/components/link-input/link-input.js +36 -53
  44. package/dist/components/list-box/list-box.js +4 -4
  45. package/dist/components/matrix-align/matrix-align.js +6 -10
  46. package/dist/components/menu/menu.js +101 -170
  47. package/dist/components/notice/notice.js +1 -1
  48. package/dist/components/number-picker/number-picker.js +15 -15
  49. package/dist/components/option-select/option-select.js +48 -64
  50. package/dist/components/options-panel/options-panel.js +3 -3
  51. package/dist/components/placeholders/file-placeholder.js +2 -2
  52. package/dist/components/placeholders/image-placeholder.js +1 -1
  53. package/dist/components/placeholders/media-placeholder.js +1 -1
  54. package/dist/components/popover/popover.js +4 -4
  55. package/dist/components/radio/radio.js +25 -38
  56. package/dist/components/repeater/repeater-item.js +6 -17
  57. package/dist/components/repeater/repeater.js +6 -7
  58. package/dist/components/responsive/responsive-legacy.js +6 -12
  59. package/dist/components/responsive/responsive.js +21 -48
  60. package/dist/components/responsive-preview/responsive-preview.js +1 -1
  61. package/dist/components/rich-label/rich-label.js +2 -8
  62. package/dist/components/select/async-multi-select.js +3 -3
  63. package/dist/components/select/async-single-select.js +2 -2
  64. package/dist/components/select/custom-select-default-components.js +2 -2
  65. package/dist/components/select/multi-select-components.js +2 -2
  66. package/dist/components/select/multi-select.js +3 -3
  67. package/dist/components/select/react-select-component-wrappers.js +9 -9
  68. package/dist/components/select/single-select.js +2 -2
  69. package/dist/components/select/styles.js +3 -10
  70. package/dist/components/slider/column-config-slider.js +4 -4
  71. package/dist/components/slider/slider.js +5 -8
  72. package/dist/components/slider/utils.js +2 -6
  73. package/dist/components/spacer/spacer.js +2 -7
  74. package/dist/components/tabs/tabs.js +29 -50
  75. package/dist/components/toggle/switch.js +8 -8
  76. package/dist/components/toggle/toggle.js +1 -1
  77. package/dist/components/toggle-button/toggle-button.js +8 -22
  78. package/dist/components/tooltip/tooltip.js +4 -4
  79. package/dist/{context-BAcFg5GO.js → context-4oSz1ItD.js} +10 -16
  80. package/dist/{default-i18n-Bk1GxDHz.js → default-i18n-BqwLkgZv.js} +21 -22
  81. package/dist/{filterDOMProps-DG2RfOUr.js → filterDOMProps-EDDcM64A.js} +1 -3
  82. package/dist/{focusSafely-B0hyd-S4.js → focusSafely-BS4dllCW.js} +85 -143
  83. package/dist/icons/generic-color-swatch.js +105 -13
  84. package/dist/icons/icons.js +31010 -3447
  85. package/dist/icons/jsx-svg.js +591 -953
  86. package/dist/{index-BDk0TPWz.js → index-CAPcSs9K.js} +1504 -2087
  87. package/dist/{index-a301f526.esm-BzTuHLdr.js → index-a301f526.esm-ByOfDxiG.js} +111 -183
  88. package/dist/index.js +3 -3
  89. package/dist/{intlStrings-Ctkp0HDc.js → intlStrings-Dxaeitoh.js} +35 -60
  90. package/dist/{isScrollable-PcyglExV.js → isScrollable-Dh9D9IOd.js} +1 -2
  91. package/dist/lite-DVmmD_-j.js +7 -0
  92. package/dist/{multi-select-components-nORKdJ-2.js → multi-select-components-7vKCF8dG.js} +3 -3
  93. package/dist/{number-rWqELA8W.js → number-CHmNj-oR.js} +3 -6
  94. package/dist/{popover-o2Q28Ljn.js → popover-Dk2o4S7K.js} +70 -112
  95. package/dist/{react-select-async.esm-CLj9uZTq.js → react-select-async.esm-5zW9Dv9E.js} +7 -11
  96. package/dist/{react-select.esm-3tyTZmrx.js → react-select.esm-Bi6uzjbT.js} +3 -3
  97. package/dist/{textSelection-BRZdHY-4.js → textSelection-exP_9srp.js} +5 -9
  98. package/dist/{tooltip-T6H9uF-Z.js → tooltip-BRQ4tvZL.js} +64 -111
  99. package/dist/{useButton-D-xACzEY.js → useButton-DbjDV_33.js} +19 -22
  100. package/dist/{useEvent-XlYPKgwX.js → useEvent-zvxfEnmK.js} +2 -3
  101. package/dist/{useFocusRing-CRx_hYC4.js → useFocusRing-SPRI0-SN.js} +1 -1
  102. package/dist/{useFocusable-CHfpEdlE.js → useFocusable-CLmhO94g.js} +5 -8
  103. package/dist/{useFormReset-aHn6-wRk.js → useFormReset-BVWgcyGO.js} +2 -3
  104. package/dist/{useFormValidationState-CdYmOaXI.js → useFormValidationState-CthG9Fbc.js} +20 -38
  105. package/dist/{useHasTabbableChild-domoFB7A.js → useHasTabbableChild--gkWUICh.js} +2 -2
  106. package/dist/{useLabel-DVhXVhtH.js → useLabel-g836T8kL.js} +3 -4
  107. package/dist/{useLabels-C7E5SkOi.js → useLabels-CfOtyOe2.js} +3 -5
  108. package/dist/{useListData-BelKu4kx.js → useListData-BpYQj7kK.js} +18 -32
  109. package/dist/{useListState-BRsq7O1C.js → useListState-DnWZa__1.js} +6 -12
  110. package/dist/{useLocalizedStringFormatter-WsEL47qR.js → useLocalizedStringFormatter-BQCMno9k.js} +12 -21
  111. package/dist/{useNumberFieldState-ZH2Qyyxh.js → useNumberFieldState-BegO5X6F.js} +75 -132
  112. package/dist/{useNumberFormatter-mhdYLxWQ.js → useNumberFormatter-DhOGEsEK.js} +2 -2
  113. package/dist/{usePress-B42RawCH.js → usePress-CScNeV3V.js} +92 -175
  114. package/dist/{useToggle-CExfZM8x.js → useToggle-6LnpaJ7-.js} +6 -7
  115. package/dist/{useToggleState-DghG5ImG.js → useToggleState-Cymkpac8.js} +3 -5
  116. package/dist/utilities/array-helpers.js +1 -1
  117. package/dist/utilities/index.js +1 -1
  118. package/dist/utilities/text-helpers.js +20 -20
  119. package/dist/{utils-DIBzm1e4.js → utils-Dc35LwuT.js} +49 -90
  120. package/package.json +96 -90
  121. package/dist/lite-pbIeT7tm.js +0 -8
@@ -437,8 +437,7 @@ var reactJsxParser_min = { exports: {} };
437
437
  for (; ; ) {
438
438
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
439
439
  let s3 = this.input.charCodeAt(this.pos);
440
- if (s3 === t5)
441
- break;
440
+ if (s3 === t5) break;
442
441
  38 === s3 ? (e5 += this.input.slice(i3, this.pos), e5 += this.jsx_readEntity(), i3 = this.pos) : g(s3) ? (e5 += this.input.slice(i3, this.pos), e5 += this.jsx_readNewLine(false), i3 = this.pos) : ++this.pos;
443
442
  }
444
443
  return e5 += this.input.slice(i3, this.pos++), this.finishToken(c.string, e5);
@@ -469,14 +468,12 @@ var reactJsxParser_min = { exports: {} };
469
468
  }
470
469
  jsx_parseNamespacedName() {
471
470
  let e5 = this.start, i3 = this.startLoc, s3 = this.jsx_parseIdentifier();
472
- if (!t4.allowNamespaces || !this.eat(c.colon))
473
- return s3;
471
+ if (!t4.allowNamespaces || !this.eat(c.colon)) return s3;
474
472
  var r2 = this.startNodeAt(e5, i3);
475
473
  return r2.namespace = s3, r2.name = this.jsx_parseIdentifier(), this.finishNode(r2, "JSXNamespacedName");
476
474
  }
477
475
  jsx_parseElementName() {
478
- if (this.type === l.jsxTagEnd)
479
- return "";
476
+ if (this.type === l.jsxTagEnd) return "";
480
477
  let e5 = this.start, i3 = this.startLoc, s3 = this.jsx_parseNamespacedName();
481
478
  for (this.type !== c.dot || "JSXNamespacedName" !== s3.type || t4.allowNamespacedObjects || this.unexpected(); this.eat(c.dot); ) {
482
479
  let t5 = this.startNodeAt(e5, i3);
@@ -512,8 +509,7 @@ var reactJsxParser_min = { exports: {} };
512
509
  let s3 = this.startNodeAt(e5, i3);
513
510
  s3.attributes = [];
514
511
  let r2 = this.jsx_parseElementName();
515
- for (r2 && (s3.name = r2); this.type !== c.slash && this.type !== l.jsxTagEnd; )
516
- s3.attributes.push(this.jsx_parseAttribute());
512
+ for (r2 && (s3.name = r2); this.type !== c.slash && this.type !== l.jsxTagEnd; ) s3.attributes.push(this.jsx_parseAttribute());
517
513
  s3.selfClosing = this.eat(c.slash), this.expect(l.jsxTagEnd);
518
514
  const a2 = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "menuitem", "meta", "param", "source", "track", "wbr"];
519
515
  return t4.autoCloseVoidElements && r2 && a2.includes(r2.name) && (s3.selfClosing = true), this.finishNode(s3, r2 ? "JSXOpeningElement" : "JSXOpeningFragment");
@@ -525,25 +521,23 @@ var reactJsxParser_min = { exports: {} };
525
521
  jsx_parseElementAt(t5, e5) {
526
522
  let i3 = this.startNodeAt(t5, e5), s3 = [], r2 = this.jsx_parseOpeningElementAt(t5, e5), a2 = null;
527
523
  if (!r2.selfClosing) {
528
- t:
529
- for (; ; )
530
- switch (this.type) {
531
- case l.jsxTagStart:
532
- if (t5 = this.start, e5 = this.startLoc, this.next(), this.eat(c.slash)) {
533
- a2 = this.jsx_parseClosingElementAt(t5, e5);
534
- break t;
535
- }
536
- s3.push(this.jsx_parseElementAt(t5, e5));
537
- break;
538
- case l.jsxText:
539
- s3.push(this.parseExprAtom());
540
- break;
541
- case c.braceL:
542
- s3.push(this.jsx_parseExpressionContainer());
543
- break;
544
- default:
545
- this.unexpected();
524
+ t: for (; ; ) switch (this.type) {
525
+ case l.jsxTagStart:
526
+ if (t5 = this.start, e5 = this.startLoc, this.next(), this.eat(c.slash)) {
527
+ a2 = this.jsx_parseClosingElementAt(t5, e5);
528
+ break t;
546
529
  }
530
+ s3.push(this.jsx_parseElementAt(t5, e5));
531
+ break;
532
+ case l.jsxText:
533
+ s3.push(this.parseExprAtom());
534
+ break;
535
+ case c.braceL:
536
+ s3.push(this.jsx_parseExpressionContainer());
537
+ break;
538
+ default:
539
+ this.unexpected();
540
+ }
547
541
  h(a2.name) !== h(r2.name) && this.raise(a2.start, "Expected corresponding JSX closing tag for <" + h(r2.name) + ">");
548
542
  }
549
543
  let n3 = r2.name ? "Element" : "Fragment";
@@ -562,15 +556,11 @@ var reactJsxParser_min = { exports: {} };
562
556
  }
563
557
  readToken(t5) {
564
558
  let e5 = this.curContext();
565
- if (e5 === m)
566
- return this.jsx_readToken();
559
+ if (e5 === m) return this.jsx_readToken();
567
560
  if (e5 === d || e5 === f) {
568
- if (x(t5))
569
- return this.jsx_readWord();
570
- if (62 == t5)
571
- return ++this.pos, this.finishToken(l.jsxTagEnd);
572
- if ((34 === t5 || 39 === t5) && e5 == d)
573
- return this.jsx_readString(t5);
561
+ if (x(t5)) return this.jsx_readWord();
562
+ if (62 == t5) return ++this.pos, this.finishToken(l.jsxTagEnd);
563
+ if ((34 === t5 || 39 === t5) && e5 == d) return this.jsx_readString(t5);
574
564
  }
575
565
  return 60 === t5 && this.exprAllowed && 33 !== this.input.charCodeAt(this.pos + 1) ? (++this.pos, this.finishToken(l.jsxTagStart)) : super.readToken(t5);
576
566
  }
@@ -579,8 +569,7 @@ var reactJsxParser_min = { exports: {} };
579
569
  var e5 = this.curContext();
580
570
  e5 == d ? this.context.push(u.b_expr) : e5 == m ? this.context.push(u.b_tmpl) : super.updateContext(t5), this.exprAllowed = true;
581
571
  } else {
582
- if (this.type !== c.slash || t5 !== l.jsxTagStart)
583
- return super.updateContext(t5);
572
+ if (this.type !== c.slash || t5 !== l.jsxTagStart) return super.updateContext(t5);
584
573
  this.context.length -= 2, this.context.push(f), this.exprAllowed = false;
585
574
  }
586
575
  }
@@ -599,10 +588,8 @@ var reactJsxParser_min = { exports: {} };
599
588
  var p = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938], c = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
600
589
  function l(t4, e4) {
601
590
  for (var i3 = 65536, s3 = 0; s3 < e4.length; s3 += 2) {
602
- if ((i3 += e4[s3]) > t4)
603
- return false;
604
- if ((i3 += e4[s3 + 1]) >= t4)
605
- return true;
591
+ if ((i3 += e4[s3]) > t4) return false;
592
+ if ((i3 += e4[s3 + 1]) >= t4) return true;
606
593
  }
607
594
  }
608
595
  function u(t4, e4) {
@@ -648,16 +635,14 @@ var reactJsxParser_min = { exports: {} };
648
635
  for (var i3 = 1, s3 = 0; ; ) {
649
636
  k.lastIndex = s3;
650
637
  var r2 = k.exec(t4);
651
- if (!(r2 && r2.index < e4))
652
- return new L(i3, e4 - s3);
638
+ if (!(r2 && r2.index < e4)) return new L(i3, e4 - s3);
653
639
  ++i3, s3 = r2.index + r2[0].length;
654
640
  }
655
641
  }
656
642
  var R = { ecmaVersion: null, sourceType: "script", onInsertedSemicolon: null, onTrailingComma: null, allowReserved: null, allowReturnOutsideFunction: false, allowImportExportEverywhere: false, allowAwaitOutsideFunction: false, allowHashBang: false, locations: false, onToken: null, onComment: null, ranges: false, program: null, sourceFile: null, directSourceFile: null, preserveParens: false }, M = false;
657
643
  function B(t4) {
658
644
  var e4 = {};
659
- for (var i3 in R)
660
- e4[i3] = t4 && P(t4, i3) ? t4[i3] : R[i3];
645
+ for (var i3 in R) e4[i3] = t4 && P(t4, i3) ? t4[i3] : R[i3];
661
646
  if ("latest" === e4.ecmaVersion ? e4.ecmaVersion = 1e8 : null == e4.ecmaVersion ? (!M && "object" == typeof console && console.warn && (M = true, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), e4.ecmaVersion = 11) : e4.ecmaVersion >= 2015 && (e4.ecmaVersion -= 2009), null == e4.allowReserved && (e4.allowReserved = e4.ecmaVersion < 5), T(e4.onToken)) {
662
647
  var s3 = e4.onToken;
663
648
  e4.onToken = function(t5) {
@@ -701,10 +686,8 @@ var reactJsxParser_min = { exports: {} };
701
686
  }, it.inNonArrowFunction.get = function() {
702
687
  return (this.currentThisScope().flags & U) > 0;
703
688
  }, et.extend = function() {
704
- for (var t4 = [], e4 = arguments.length; e4--; )
705
- t4[e4] = arguments[e4];
706
- for (var i3 = this, s3 = 0; s3 < t4.length; s3++)
707
- i3 = t4[s3](i3);
689
+ for (var t4 = [], e4 = arguments.length; e4--; ) t4[e4] = arguments[e4];
690
+ for (var i3 = this, s3 = 0; s3 < t4.length; s3++) i3 = t4[s3](i3);
708
691
  return i3;
709
692
  }, et.parse = function(t4, e4) {
710
693
  return new this(e4, t4).parse();
@@ -722,8 +705,7 @@ var reactJsxParser_min = { exports: {} };
722
705
  for (; ; ) {
723
706
  C.lastIndex = t4, t4 += C.exec(this.input)[0].length;
724
707
  var e4 = rt.exec(this.input.slice(t4));
725
- if (!e4)
726
- return false;
708
+ if (!e4) return false;
727
709
  if ("use strict" === (e4[1] || e4[2])) {
728
710
  C.lastIndex = t4 + e4[0].length;
729
711
  var i3 = C.exec(this.input), s3 = i3.index + i3[0].length, r2 = this.input.charAt(s3);
@@ -742,13 +724,11 @@ var reactJsxParser_min = { exports: {} };
742
724
  }, st.canInsertSemicolon = function() {
743
725
  return this.type === b.eof || this.type === b.braceR || _.test(this.input.slice(this.lastTokEnd, this.start));
744
726
  }, st.insertSemicolon = function() {
745
- if (this.canInsertSemicolon())
746
- return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), true;
727
+ if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), true;
747
728
  }, st.semicolon = function() {
748
729
  this.eat(b.semi) || this.insertSemicolon() || this.unexpected();
749
730
  }, st.afterTrailingComma = function(t4, e4) {
750
- if (this.type === t4)
751
- return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), e4 || this.next(), true;
731
+ if (this.type === t4) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), e4 || this.next(), true;
752
732
  }, st.expect = function(t4) {
753
733
  this.eat(t4) || this.unexpected();
754
734
  }, st.unexpected = function(t4) {
@@ -760,11 +740,9 @@ var reactJsxParser_min = { exports: {} };
760
740
  i3 > -1 && this.raiseRecoverable(i3, "Parenthesized pattern");
761
741
  }
762
742
  }, st.checkExpressionErrors = function(t4, e4) {
763
- if (!t4)
764
- return false;
743
+ if (!t4) return false;
765
744
  var i3 = t4.shorthandAssign, s3 = t4.doubleProto;
766
- if (!e4)
767
- return i3 >= 0 || s3 >= 0;
745
+ if (!e4) return i3 >= 0 || s3 >= 0;
768
746
  i3 >= 0 && this.raise(i3, "Shorthand property assignments are valid only in destructuring patterns"), s3 >= 0 && this.raiseRecoverable(s3, "Redefinition of __proto__ property");
769
747
  }, st.checkYieldAwaitInDefaultParams = function() {
770
748
  this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
@@ -778,36 +756,28 @@ var reactJsxParser_min = { exports: {} };
778
756
  var i3 = this.parseStatement(null, true, e4);
779
757
  t4.body.push(i3);
780
758
  }
781
- if (this.inModule)
782
- for (var s3 = 0, r2 = Object.keys(this.undefinedExports); s3 < r2.length; s3 += 1) {
783
- var a2 = r2[s3];
784
- this.raiseRecoverable(this.undefinedExports[a2].start, "Export '" + a2 + "' is not defined");
785
- }
759
+ if (this.inModule) for (var s3 = 0, r2 = Object.keys(this.undefinedExports); s3 < r2.length; s3 += 1) {
760
+ var a2 = r2[s3];
761
+ this.raiseRecoverable(this.undefinedExports[a2].start, "Export '" + a2 + "' is not defined");
762
+ }
786
763
  return this.adaptDirectivePrologue(t4.body), this.next(), t4.sourceType = this.options.sourceType, this.finishNode(t4, "Program");
787
764
  };
788
765
  var ot = { kind: "loop" }, ht = { kind: "switch" };
789
766
  nt.isLet = function(t4) {
790
- if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
791
- return false;
767
+ if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return false;
792
768
  C.lastIndex = this.pos;
793
769
  var e4 = C.exec(this.input), i3 = this.pos + e4[0].length, s3 = this.input.charCodeAt(i3);
794
- if (91 === s3)
795
- return true;
796
- if (t4)
797
- return false;
798
- if (123 === s3)
799
- return true;
770
+ if (91 === s3) return true;
771
+ if (t4) return false;
772
+ if (123 === s3) return true;
800
773
  if (u(s3, true)) {
801
- for (var a2 = i3 + 1; d(this.input.charCodeAt(a2), true); )
802
- ++a2;
774
+ for (var a2 = i3 + 1; d(this.input.charCodeAt(a2), true); ) ++a2;
803
775
  var n2 = this.input.slice(i3, a2);
804
- if (!r.test(n2))
805
- return true;
776
+ if (!r.test(n2)) return true;
806
777
  }
807
778
  return false;
808
779
  }, nt.isAsyncFunction = function() {
809
- if (this.options.ecmaVersion < 8 || !this.isContextual("async"))
810
- return false;
780
+ if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return false;
811
781
  C.lastIndex = this.pos;
812
782
  var t4 = C.exec(this.input), e4 = this.pos + t4[0].length;
813
783
  return !(_.test(this.input.slice(this.pos, e4)) || "function" !== this.input.slice(e4, e4 + 8) || e4 + 8 !== this.input.length && d(this.input.charAt(e4 + 8)));
@@ -853,13 +823,11 @@ var reactJsxParser_min = { exports: {} };
853
823
  if (this.options.ecmaVersion > 10 && r2 === b._import) {
854
824
  C.lastIndex = this.pos;
855
825
  var n2 = C.exec(this.input), o2 = this.pos + n2[0].length, h2 = this.input.charCodeAt(o2);
856
- if (40 === h2 || 46 === h2)
857
- return this.parseExpressionStatement(a2, this.parseExpression());
826
+ if (40 === h2 || 46 === h2) return this.parseExpressionStatement(a2, this.parseExpression());
858
827
  }
859
828
  return this.options.allowImportExportEverywhere || (e4 || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), r2 === b._import ? this.parseImport(a2) : this.parseExport(a2, i3);
860
829
  default:
861
- if (this.isAsyncFunction())
862
- return t4 && this.unexpected(), this.next(), this.parseFunctionStatement(a2, true, !t4);
830
+ if (this.isAsyncFunction()) return t4 && this.unexpected(), this.next(), this.parseFunctionStatement(a2, true, !t4);
863
831
  var p2 = this.value, c2 = this.parseExpression();
864
832
  return r2 === b.name && "Identifier" === c2.type && this.eat(b.colon) ? this.parseLabeledStatement(a2, p2, c2, t4) : this.parseExpressionStatement(a2, c2);
865
833
  }
@@ -869,10 +837,8 @@ var reactJsxParser_min = { exports: {} };
869
837
  for (var s3 = 0; s3 < this.labels.length; ++s3) {
870
838
  var r2 = this.labels[s3];
871
839
  if (null == t4.label || r2.name === t4.label.name) {
872
- if (null != r2.kind && (i3 || "loop" === r2.kind))
873
- break;
874
- if (t4.label && i3)
875
- break;
840
+ if (null != r2.kind && (i3 || "loop" === r2.kind)) break;
841
+ if (t4.label && i3) break;
876
842
  }
877
843
  }
878
844
  return s3 === this.labels.length && this.raise(t4.start, "Unsyntactic " + e4), this.finishNode(t4, i3 ? "BreakStatement" : "ContinueStatement");
@@ -883,8 +849,7 @@ var reactJsxParser_min = { exports: {} };
883
849
  }, nt.parseForStatement = function(t4) {
884
850
  this.next();
885
851
  var e4 = this.options.ecmaVersion >= 9 && (this.inAsync || !this.inFunction && this.options.allowAwaitOutsideFunction) && this.eatContextual("await") ? this.lastTokStart : -1;
886
- if (this.labels.push(ot), this.enterScope(0), this.expect(b.parenL), this.type === b.semi)
887
- return e4 > -1 && this.unexpected(e4), this.parseFor(t4, null);
852
+ if (this.labels.push(ot), this.enterScope(0), this.expect(b.parenL), this.type === b.semi) return e4 > -1 && this.unexpected(e4), this.parseFor(t4, null);
888
853
  var i3 = this.isLet();
889
854
  if (this.type === b._var || this.type === b._const || i3) {
890
855
  var s3 = this.startNode(), r2 = i3 ? "let" : this.value;
@@ -901,12 +866,10 @@ var reactJsxParser_min = { exports: {} };
901
866
  }, nt.parseSwitchStatement = function(t4) {
902
867
  var e4;
903
868
  this.next(), t4.discriminant = this.parseParenExpression(), t4.cases = [], this.expect(b.braceL), this.labels.push(ht), this.enterScope(0);
904
- for (var i3 = false; this.type !== b.braceR; )
905
- if (this.type === b._case || this.type === b._default) {
906
- var s3 = this.type === b._case;
907
- e4 && this.finishNode(e4, "SwitchCase"), t4.cases.push(e4 = this.startNode()), e4.consequent = [], this.next(), s3 ? e4.test = this.parseExpression() : (i3 && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), i3 = true, e4.test = null), this.expect(b.colon);
908
- } else
909
- e4 || this.unexpected(), e4.consequent.push(this.parseStatement(null));
869
+ for (var i3 = false; this.type !== b.braceR; ) if (this.type === b._case || this.type === b._default) {
870
+ var s3 = this.type === b._case;
871
+ e4 && this.finishNode(e4, "SwitchCase"), t4.cases.push(e4 = this.startNode()), e4.consequent = [], this.next(), s3 ? e4.test = this.parseExpression() : (i3 && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), i3 = true, e4.test = null), this.expect(b.colon);
872
+ } else e4 || this.unexpected(), e4.consequent.push(this.parseStatement(null));
910
873
  return this.exitScope(), e4 && this.finishNode(e4, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(t4, "SwitchStatement");
911
874
  }, nt.parseThrowStatement = function(t4) {
912
875
  return this.next(), _.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), t4.argument = this.parseExpression(), this.semicolon(), this.finishNode(t4, "ThrowStatement");
@@ -919,8 +882,7 @@ var reactJsxParser_min = { exports: {} };
919
882
  e4.param = this.parseBindingAtom();
920
883
  var i3 = "Identifier" === e4.param.type;
921
884
  this.enterScope(i3 ? W : 0), this.checkLValPattern(e4.param, i3 ? $ : Y), this.expect(b.parenR);
922
- } else
923
- this.options.ecmaVersion < 10 && this.unexpected(), e4.param = null, this.enterScope(0);
885
+ } else this.options.ecmaVersion < 10 && this.unexpected(), e4.param = null, this.enterScope(0);
924
886
  e4.body = this.parseBlock(false), this.exitScope(), t4.handler = this.finishNode(e4, "CatchClause");
925
887
  }
926
888
  return t4.finalizer = this.eat(b._finally) ? this.parseBlock() : null, t4.handler || t4.finalizer || this.raise(t4.start, "Missing catch or finally clause"), this.finishNode(t4, "TryStatement");
@@ -933,12 +895,10 @@ var reactJsxParser_min = { exports: {} };
933
895
  }, nt.parseEmptyStatement = function(t4) {
934
896
  return this.next(), this.finishNode(t4, "EmptyStatement");
935
897
  }, nt.parseLabeledStatement = function(t4, e4, i3, s3) {
936
- for (var r2 = 0, a2 = this.labels; r2 < a2.length; r2 += 1)
937
- a2[r2].name === e4 && this.raise(i3.start, "Label '" + e4 + "' is already declared");
898
+ for (var r2 = 0, a2 = this.labels; r2 < a2.length; r2 += 1) a2[r2].name === e4 && this.raise(i3.start, "Label '" + e4 + "' is already declared");
938
899
  for (var n2 = this.type.isLoop ? "loop" : this.type === b._switch ? "switch" : null, o2 = this.labels.length - 1; o2 >= 0; o2--) {
939
900
  var h2 = this.labels[o2];
940
- if (h2.statementStart !== t4.start)
941
- break;
901
+ if (h2.statementStart !== t4.start) break;
942
902
  h2.statementStart = this.start, h2.kind = n2;
943
903
  }
944
904
  return this.labels.push({ name: e4, kind: n2, statementStart: this.start }), t4.body = this.parseStatement(s3 ? -1 === s3.indexOf("label") ? s3 + "label" : s3 : "label"), this.labels.pop(), t4.label = i3, this.finishNode(t4, "LabeledStatement");
@@ -958,8 +918,7 @@ var reactJsxParser_min = { exports: {} };
958
918
  }, nt.parseVar = function(t4, e4, i3) {
959
919
  for (t4.declarations = [], t4.kind = i3; ; ) {
960
920
  var s3 = this.startNode();
961
- if (this.parseVarId(s3, i3), this.eat(b.eq) ? s3.init = this.parseMaybeAssign(e4) : "const" !== i3 || this.type === b._in || this.options.ecmaVersion >= 6 && this.isContextual("of") ? "Identifier" === s3.id.type || e4 && (this.type === b._in || this.isContextual("of")) ? s3.init = null : this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : this.unexpected(), t4.declarations.push(this.finishNode(s3, "VariableDeclarator")), !this.eat(b.comma))
962
- break;
921
+ if (this.parseVarId(s3, i3), this.eat(b.eq) ? s3.init = this.parseMaybeAssign(e4) : "const" !== i3 || this.type === b._in || this.options.ecmaVersion >= 6 && this.isContextual("of") ? "Identifier" === s3.id.type || e4 && (this.type === b._in || this.isContextual("of")) ? s3.init = null : this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : this.unexpected(), t4.declarations.push(this.finishNode(s3, "VariableDeclarator")), !this.eat(b.comma)) break;
963
922
  }
964
923
  return t4;
965
924
  }, nt.parseVarId = function(t4, e4) {
@@ -984,8 +943,7 @@ var reactJsxParser_min = { exports: {} };
984
943
  return this.strict = i3, this.next(), t4.body = this.finishNode(s3, "ClassBody"), this.finishNode(t4, e4 ? "ClassDeclaration" : "ClassExpression");
985
944
  }, nt.parseClassElement = function(t4) {
986
945
  var e4 = this;
987
- if (this.eat(b.semi))
988
- return null;
946
+ if (this.eat(b.semi)) return null;
989
947
  var i3 = this.startNode(), s3 = function(t5, s4) {
990
948
  void 0 === s4 && (s4 = false);
991
949
  var r3 = e4.start, a3 = e4.startLoc;
@@ -1003,8 +961,7 @@ var reactJsxParser_min = { exports: {} };
1003
961
  }, nt.parseClassSuper = function(t4) {
1004
962
  t4.superClass = this.eat(b._extends) ? this.parseExprSubscripts() : null;
1005
963
  }, nt.parseExport = function(t4, e4) {
1006
- if (this.next(), this.eat(b.star))
1007
- return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (t4.exported = this.parseIdent(true), this.checkExport(e4, t4.exported.name, this.lastTokStart)) : t4.exported = null), this.expectContextual("from"), this.type !== b.string && this.unexpected(), t4.source = this.parseExprAtom(), this.semicolon(), this.finishNode(t4, "ExportAllDeclaration");
964
+ if (this.next(), this.eat(b.star)) return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (t4.exported = this.parseIdent(true), this.checkExport(e4, t4.exported.name, this.lastTokStart)) : t4.exported = null), this.expectContextual("from"), this.type !== b.string && this.unexpected(), t4.source = this.parseExprAtom(), this.semicolon(), this.finishNode(t4, "ExportAllDeclaration");
1008
965
  if (this.eat(b._default)) {
1009
966
  var i3;
1010
967
  if (this.checkExport(e4, "default", this.lastTokStart), this.type === b._function || (i3 = this.isAsyncFunction())) {
@@ -1013,15 +970,12 @@ var reactJsxParser_min = { exports: {} };
1013
970
  } else if (this.type === b._class) {
1014
971
  var r2 = this.startNode();
1015
972
  t4.declaration = this.parseClass(r2, "nullableID");
1016
- } else
1017
- t4.declaration = this.parseMaybeAssign(), this.semicolon();
973
+ } else t4.declaration = this.parseMaybeAssign(), this.semicolon();
1018
974
  return this.finishNode(t4, "ExportDefaultDeclaration");
1019
975
  }
1020
- if (this.shouldParseExportStatement())
1021
- t4.declaration = this.parseStatement(null), "VariableDeclaration" === t4.declaration.type ? this.checkVariableExport(e4, t4.declaration.declarations) : this.checkExport(e4, t4.declaration.id.name, t4.declaration.id.start), t4.specifiers = [], t4.source = null;
976
+ if (this.shouldParseExportStatement()) t4.declaration = this.parseStatement(null), "VariableDeclaration" === t4.declaration.type ? this.checkVariableExport(e4, t4.declaration.declarations) : this.checkExport(e4, t4.declaration.id.name, t4.declaration.id.start), t4.specifiers = [], t4.source = null;
1022
977
  else {
1023
- if (t4.declaration = null, t4.specifiers = this.parseExportSpecifiers(e4), this.eatContextual("from"))
1024
- this.type !== b.string && this.unexpected(), t4.source = this.parseExprAtom();
978
+ if (t4.declaration = null, t4.specifiers = this.parseExportSpecifiers(e4), this.eatContextual("from")) this.type !== b.string && this.unexpected(), t4.source = this.parseExprAtom();
1025
979
  else {
1026
980
  for (var a2 = 0, n2 = t4.specifiers; a2 < n2.length; a2 += 1) {
1027
981
  var o2 = n2[a2];
@@ -1036,35 +990,28 @@ var reactJsxParser_min = { exports: {} };
1036
990
  t4 && (P(t4, e4) && this.raiseRecoverable(i3, "Duplicate export '" + e4 + "'"), t4[e4] = true);
1037
991
  }, nt.checkPatternExport = function(t4, e4) {
1038
992
  var i3 = e4.type;
1039
- if ("Identifier" === i3)
1040
- this.checkExport(t4, e4.name, e4.start);
1041
- else if ("ObjectPattern" === i3)
1042
- for (var s3 = 0, r2 = e4.properties; s3 < r2.length; s3 += 1) {
1043
- var a2 = r2[s3];
1044
- this.checkPatternExport(t4, a2);
1045
- }
1046
- else if ("ArrayPattern" === i3)
1047
- for (var n2 = 0, o2 = e4.elements; n2 < o2.length; n2 += 1) {
1048
- var h2 = o2[n2];
1049
- h2 && this.checkPatternExport(t4, h2);
1050
- }
1051
- else
1052
- "Property" === i3 ? this.checkPatternExport(t4, e4.value) : "AssignmentPattern" === i3 ? this.checkPatternExport(t4, e4.left) : "RestElement" === i3 ? this.checkPatternExport(t4, e4.argument) : "ParenthesizedExpression" === i3 && this.checkPatternExport(t4, e4.expression);
993
+ if ("Identifier" === i3) this.checkExport(t4, e4.name, e4.start);
994
+ else if ("ObjectPattern" === i3) for (var s3 = 0, r2 = e4.properties; s3 < r2.length; s3 += 1) {
995
+ var a2 = r2[s3];
996
+ this.checkPatternExport(t4, a2);
997
+ }
998
+ else if ("ArrayPattern" === i3) for (var n2 = 0, o2 = e4.elements; n2 < o2.length; n2 += 1) {
999
+ var h2 = o2[n2];
1000
+ h2 && this.checkPatternExport(t4, h2);
1001
+ }
1002
+ else "Property" === i3 ? this.checkPatternExport(t4, e4.value) : "AssignmentPattern" === i3 ? this.checkPatternExport(t4, e4.left) : "RestElement" === i3 ? this.checkPatternExport(t4, e4.argument) : "ParenthesizedExpression" === i3 && this.checkPatternExport(t4, e4.expression);
1053
1003
  }, nt.checkVariableExport = function(t4, e4) {
1054
- if (t4)
1055
- for (var i3 = 0, s3 = e4; i3 < s3.length; i3 += 1) {
1056
- var r2 = s3[i3];
1057
- this.checkPatternExport(t4, r2.id);
1058
- }
1004
+ if (t4) for (var i3 = 0, s3 = e4; i3 < s3.length; i3 += 1) {
1005
+ var r2 = s3[i3];
1006
+ this.checkPatternExport(t4, r2.id);
1007
+ }
1059
1008
  }, nt.shouldParseExportStatement = function() {
1060
1009
  return "var" === this.type.keyword || "const" === this.type.keyword || "class" === this.type.keyword || "function" === this.type.keyword || this.isLet() || this.isAsyncFunction();
1061
1010
  }, nt.parseExportSpecifiers = function(t4) {
1062
1011
  var e4 = [], i3 = true;
1063
1012
  for (this.expect(b.braceL); !this.eat(b.braceR); ) {
1064
- if (i3)
1065
- i3 = false;
1066
- else if (this.expect(b.comma), this.afterTrailingComma(b.braceR))
1067
- break;
1013
+ if (i3) i3 = false;
1014
+ else if (this.expect(b.comma), this.afterTrailingComma(b.braceR)) break;
1068
1015
  var s3 = this.startNode();
1069
1016
  s3.local = this.parseIdent(true), s3.exported = this.eatContextual("as") ? this.parseIdent(true) : s3.local, this.checkExport(t4, s3.exported.name, s3.exported.start), e4.push(this.finishNode(s3, "ExportSpecifier"));
1070
1017
  }
@@ -1075,73 +1022,66 @@ var reactJsxParser_min = { exports: {} };
1075
1022
  var t4 = [], e4 = true;
1076
1023
  if (this.type === b.name) {
1077
1024
  var i3 = this.startNode();
1078
- if (i3.local = this.parseIdent(), this.checkLValSimple(i3.local, Y), t4.push(this.finishNode(i3, "ImportDefaultSpecifier")), !this.eat(b.comma))
1079
- return t4;
1025
+ if (i3.local = this.parseIdent(), this.checkLValSimple(i3.local, Y), t4.push(this.finishNode(i3, "ImportDefaultSpecifier")), !this.eat(b.comma)) return t4;
1080
1026
  }
1081
1027
  if (this.type === b.star) {
1082
1028
  var s3 = this.startNode();
1083
1029
  return this.next(), this.expectContextual("as"), s3.local = this.parseIdent(), this.checkLValSimple(s3.local, Y), t4.push(this.finishNode(s3, "ImportNamespaceSpecifier")), t4;
1084
1030
  }
1085
1031
  for (this.expect(b.braceL); !this.eat(b.braceR); ) {
1086
- if (e4)
1087
- e4 = false;
1088
- else if (this.expect(b.comma), this.afterTrailingComma(b.braceR))
1089
- break;
1032
+ if (e4) e4 = false;
1033
+ else if (this.expect(b.comma), this.afterTrailingComma(b.braceR)) break;
1090
1034
  var r2 = this.startNode();
1091
1035
  r2.imported = this.parseIdent(true), this.eatContextual("as") ? r2.local = this.parseIdent() : (this.checkUnreserved(r2.imported), r2.local = r2.imported), this.checkLValSimple(r2.local, Y), t4.push(this.finishNode(r2, "ImportSpecifier"));
1092
1036
  }
1093
1037
  return t4;
1094
1038
  }, nt.adaptDirectivePrologue = function(t4) {
1095
- for (var e4 = 0; e4 < t4.length && this.isDirectiveCandidate(t4[e4]); ++e4)
1096
- t4[e4].directive = t4[e4].expression.raw.slice(1, -1);
1039
+ for (var e4 = 0; e4 < t4.length && this.isDirectiveCandidate(t4[e4]); ++e4) t4[e4].directive = t4[e4].expression.raw.slice(1, -1);
1097
1040
  }, nt.isDirectiveCandidate = function(t4) {
1098
1041
  return "ExpressionStatement" === t4.type && "Literal" === t4.expression.type && "string" == typeof t4.expression.value && ('"' === this.input[t4.start] || "'" === this.input[t4.start]);
1099
1042
  };
1100
1043
  var dt = et.prototype;
1101
1044
  dt.toAssignable = function(t4, e4, i3) {
1102
- if (this.options.ecmaVersion >= 6 && t4)
1103
- switch (t4.type) {
1104
- case "Identifier":
1105
- this.inAsync && "await" === t4.name && this.raise(t4.start, "Cannot use 'await' as identifier inside an async function");
1106
- break;
1107
- case "ObjectPattern":
1108
- case "ArrayPattern":
1109
- case "AssignmentPattern":
1110
- case "RestElement":
1111
- break;
1112
- case "ObjectExpression":
1113
- t4.type = "ObjectPattern", i3 && this.checkPatternErrors(i3, true);
1114
- for (var s3 = 0, r2 = t4.properties; s3 < r2.length; s3 += 1) {
1115
- var a2 = r2[s3];
1116
- this.toAssignable(a2, e4), "RestElement" !== a2.type || "ArrayPattern" !== a2.argument.type && "ObjectPattern" !== a2.argument.type || this.raise(a2.argument.start, "Unexpected token");
1117
- }
1118
- break;
1119
- case "Property":
1120
- "init" !== t4.kind && this.raise(t4.key.start, "Object pattern can't contain getter or setter"), this.toAssignable(t4.value, e4);
1121
- break;
1122
- case "ArrayExpression":
1123
- t4.type = "ArrayPattern", i3 && this.checkPatternErrors(i3, true), this.toAssignableList(t4.elements, e4);
1124
- break;
1125
- case "SpreadElement":
1126
- t4.type = "RestElement", this.toAssignable(t4.argument, e4), "AssignmentPattern" === t4.argument.type && this.raise(t4.argument.start, "Rest elements cannot have a default value");
1127
- break;
1128
- case "AssignmentExpression":
1129
- "=" !== t4.operator && this.raise(t4.left.end, "Only '=' operator can be used for specifying default value."), t4.type = "AssignmentPattern", delete t4.operator, this.toAssignable(t4.left, e4);
1130
- break;
1131
- case "ParenthesizedExpression":
1132
- this.toAssignable(t4.expression, e4, i3);
1133
- break;
1134
- case "ChainExpression":
1135
- this.raiseRecoverable(t4.start, "Optional chaining cannot appear in left-hand side");
1136
- break;
1137
- case "MemberExpression":
1138
- if (!e4)
1139
- break;
1140
- default:
1141
- this.raise(t4.start, "Assigning to rvalue");
1142
- }
1143
- else
1144
- i3 && this.checkPatternErrors(i3, true);
1045
+ if (this.options.ecmaVersion >= 6 && t4) switch (t4.type) {
1046
+ case "Identifier":
1047
+ this.inAsync && "await" === t4.name && this.raise(t4.start, "Cannot use 'await' as identifier inside an async function");
1048
+ break;
1049
+ case "ObjectPattern":
1050
+ case "ArrayPattern":
1051
+ case "AssignmentPattern":
1052
+ case "RestElement":
1053
+ break;
1054
+ case "ObjectExpression":
1055
+ t4.type = "ObjectPattern", i3 && this.checkPatternErrors(i3, true);
1056
+ for (var s3 = 0, r2 = t4.properties; s3 < r2.length; s3 += 1) {
1057
+ var a2 = r2[s3];
1058
+ this.toAssignable(a2, e4), "RestElement" !== a2.type || "ArrayPattern" !== a2.argument.type && "ObjectPattern" !== a2.argument.type || this.raise(a2.argument.start, "Unexpected token");
1059
+ }
1060
+ break;
1061
+ case "Property":
1062
+ "init" !== t4.kind && this.raise(t4.key.start, "Object pattern can't contain getter or setter"), this.toAssignable(t4.value, e4);
1063
+ break;
1064
+ case "ArrayExpression":
1065
+ t4.type = "ArrayPattern", i3 && this.checkPatternErrors(i3, true), this.toAssignableList(t4.elements, e4);
1066
+ break;
1067
+ case "SpreadElement":
1068
+ t4.type = "RestElement", this.toAssignable(t4.argument, e4), "AssignmentPattern" === t4.argument.type && this.raise(t4.argument.start, "Rest elements cannot have a default value");
1069
+ break;
1070
+ case "AssignmentExpression":
1071
+ "=" !== t4.operator && this.raise(t4.left.end, "Only '=' operator can be used for specifying default value."), t4.type = "AssignmentPattern", delete t4.operator, this.toAssignable(t4.left, e4);
1072
+ break;
1073
+ case "ParenthesizedExpression":
1074
+ this.toAssignable(t4.expression, e4, i3);
1075
+ break;
1076
+ case "ChainExpression":
1077
+ this.raiseRecoverable(t4.start, "Optional chaining cannot appear in left-hand side");
1078
+ break;
1079
+ case "MemberExpression":
1080
+ if (!e4) break;
1081
+ default:
1082
+ this.raise(t4.start, "Assigning to rvalue");
1083
+ }
1084
+ else i3 && this.checkPatternErrors(i3, true);
1145
1085
  return t4;
1146
1086
  }, dt.toAssignableList = function(t4, e4) {
1147
1087
  for (var i3 = t4.length, s3 = 0; s3 < i3; s3++) {
@@ -1160,36 +1100,31 @@ var reactJsxParser_min = { exports: {} };
1160
1100
  var t4 = this.startNode();
1161
1101
  return this.next(), 6 === this.options.ecmaVersion && this.type !== b.name && this.unexpected(), t4.argument = this.parseBindingAtom(), this.finishNode(t4, "RestElement");
1162
1102
  }, dt.parseBindingAtom = function() {
1163
- if (this.options.ecmaVersion >= 6)
1164
- switch (this.type) {
1165
- case b.bracketL:
1166
- var t4 = this.startNode();
1167
- return this.next(), t4.elements = this.parseBindingList(b.bracketR, true, true), this.finishNode(t4, "ArrayPattern");
1168
- case b.braceL:
1169
- return this.parseObj(true);
1170
- }
1103
+ if (this.options.ecmaVersion >= 6) switch (this.type) {
1104
+ case b.bracketL:
1105
+ var t4 = this.startNode();
1106
+ return this.next(), t4.elements = this.parseBindingList(b.bracketR, true, true), this.finishNode(t4, "ArrayPattern");
1107
+ case b.braceL:
1108
+ return this.parseObj(true);
1109
+ }
1171
1110
  return this.parseIdent();
1172
1111
  }, dt.parseBindingList = function(t4, e4, i3) {
1173
- for (var s3 = [], r2 = true; !this.eat(t4); )
1174
- if (r2 ? r2 = false : this.expect(b.comma), e4 && this.type === b.comma)
1175
- s3.push(null);
1176
- else {
1177
- if (i3 && this.afterTrailingComma(t4))
1178
- break;
1179
- if (this.type === b.ellipsis) {
1180
- var a2 = this.parseRestBinding();
1181
- this.parseBindingListItem(a2), s3.push(a2), this.type === b.comma && this.raise(this.start, "Comma is not permitted after the rest element"), this.expect(t4);
1182
- break;
1183
- }
1184
- var n2 = this.parseMaybeDefault(this.start, this.startLoc);
1185
- this.parseBindingListItem(n2), s3.push(n2);
1112
+ for (var s3 = [], r2 = true; !this.eat(t4); ) if (r2 ? r2 = false : this.expect(b.comma), e4 && this.type === b.comma) s3.push(null);
1113
+ else {
1114
+ if (i3 && this.afterTrailingComma(t4)) break;
1115
+ if (this.type === b.ellipsis) {
1116
+ var a2 = this.parseRestBinding();
1117
+ this.parseBindingListItem(a2), s3.push(a2), this.type === b.comma && this.raise(this.start, "Comma is not permitted after the rest element"), this.expect(t4);
1118
+ break;
1186
1119
  }
1120
+ var n2 = this.parseMaybeDefault(this.start, this.startLoc);
1121
+ this.parseBindingListItem(n2), s3.push(n2);
1122
+ }
1187
1123
  return s3;
1188
1124
  }, dt.parseBindingListItem = function(t4) {
1189
1125
  return t4;
1190
1126
  }, dt.parseMaybeDefault = function(t4, e4, i3) {
1191
- if (i3 = i3 || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(b.eq))
1192
- return i3;
1127
+ if (i3 = i3 || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(b.eq)) return i3;
1193
1128
  var s3 = this.startNodeAt(t4, e4);
1194
1129
  return s3.left = i3, s3.right = this.parseMaybeAssign(), this.finishNode(s3, "AssignmentPattern");
1195
1130
  }, dt.checkLValSimple = function(t4, e4, i3) {
@@ -1257,8 +1192,7 @@ var reactJsxParser_min = { exports: {} };
1257
1192
  return;
1258
1193
  }
1259
1194
  var a2 = t4.kind;
1260
- if (this.options.ecmaVersion >= 6)
1261
- "__proto__" === s3 && "init" === a2 && (e4.proto && (i3 ? i3.doubleProto < 0 && (i3.doubleProto = r2.start) : this.raiseRecoverable(r2.start, "Redefinition of __proto__ property")), e4.proto = true);
1195
+ if (this.options.ecmaVersion >= 6) "__proto__" === s3 && "init" === a2 && (e4.proto && (i3 ? i3.doubleProto < 0 && (i3.doubleProto = r2.start) : this.raiseRecoverable(r2.start, "Redefinition of __proto__ property")), e4.proto = true);
1262
1196
  else {
1263
1197
  var n2 = e4[s3 = "$" + s3];
1264
1198
  n2 ? ("init" === a2 ? this.strict && n2.init || n2.get || n2.set : n2.init || n2[a2]) && this.raiseRecoverable(r2.start, "Redefinition of property") : n2 = e4[s3] = { init: false, get: false, set: false }, n2[a2] = true;
@@ -1268,15 +1202,13 @@ var reactJsxParser_min = { exports: {} };
1268
1202
  var i3 = this.start, s3 = this.startLoc, r2 = this.parseMaybeAssign(t4, e4);
1269
1203
  if (this.type === b.comma) {
1270
1204
  var a2 = this.startNodeAt(i3, s3);
1271
- for (a2.expressions = [r2]; this.eat(b.comma); )
1272
- a2.expressions.push(this.parseMaybeAssign(t4, e4));
1205
+ for (a2.expressions = [r2]; this.eat(b.comma); ) a2.expressions.push(this.parseMaybeAssign(t4, e4));
1273
1206
  return this.finishNode(a2, "SequenceExpression");
1274
1207
  }
1275
1208
  return r2;
1276
1209
  }, ft.parseMaybeAssign = function(t4, e4, i3) {
1277
1210
  if (this.isContextual("yield")) {
1278
- if (this.inGenerator)
1279
- return this.parseYield(t4);
1211
+ if (this.inGenerator) return this.parseYield(t4);
1280
1212
  this.exprAllowed = false;
1281
1213
  }
1282
1214
  var s3 = false, r2 = -1, a2 = -1;
@@ -1291,8 +1223,7 @@ var reactJsxParser_min = { exports: {} };
1291
1223
  return s3 && this.checkExpressionErrors(e4, true), r2 > -1 && (e4.parenthesizedAssign = r2), a2 > -1 && (e4.trailingComma = a2), h2;
1292
1224
  }, ft.parseMaybeConditional = function(t4, e4) {
1293
1225
  var i3 = this.start, s3 = this.startLoc, r2 = this.parseExprOps(t4, e4);
1294
- if (this.checkExpressionErrors(e4))
1295
- return r2;
1226
+ if (this.checkExpressionErrors(e4)) return r2;
1296
1227
  if (this.eat(b.question)) {
1297
1228
  var a2 = this.startNodeAt(i3, s3);
1298
1229
  return a2.test = r2, a2.consequent = this.parseMaybeAssign(), this.expect(b.colon), a2.alternate = this.parseMaybeAssign(t4), this.finishNode(a2, "ConditionalExpression");
@@ -1317,14 +1248,12 @@ var reactJsxParser_min = { exports: {} };
1317
1248
  return n2.left = i3, n2.operator = r2, n2.right = s3, this.finishNode(n2, a2 ? "LogicalExpression" : "BinaryExpression");
1318
1249
  }, ft.parseMaybeUnary = function(t4, e4) {
1319
1250
  var i3, s3 = this.start, r2 = this.startLoc;
1320
- if (this.isContextual("await") && (this.inAsync || !this.inFunction && this.options.allowAwaitOutsideFunction))
1321
- i3 = this.parseAwait(), e4 = true;
1251
+ if (this.isContextual("await") && (this.inAsync || !this.inFunction && this.options.allowAwaitOutsideFunction)) i3 = this.parseAwait(), e4 = true;
1322
1252
  else if (this.type.prefix) {
1323
1253
  var a2 = this.startNode(), n2 = this.type === b.incDec;
1324
1254
  a2.operator = this.value, a2.prefix = true, this.next(), a2.argument = this.parseMaybeUnary(null, true), this.checkExpressionErrors(t4, true), n2 ? this.checkLValSimple(a2.argument) : this.strict && "delete" === a2.operator && "Identifier" === a2.argument.type ? this.raiseRecoverable(a2.start, "Deleting local variable in strict mode") : e4 = true, i3 = this.finishNode(a2, n2 ? "UpdateExpression" : "UnaryExpression");
1325
1255
  } else {
1326
- if (i3 = this.parseExprSubscripts(t4), this.checkExpressionErrors(t4))
1327
- return i3;
1256
+ if (i3 = this.parseExprSubscripts(t4), this.checkExpressionErrors(t4)) return i3;
1328
1257
  for (; this.type.postfix && !this.canInsertSemicolon(); ) {
1329
1258
  var o2 = this.startNodeAt(s3, r2);
1330
1259
  o2.operator = this.value, o2.prefix = false, o2.argument = i3, this.checkLValSimple(i3), this.next(), i3 = this.finishNode(o2, "UpdateExpression");
@@ -1333,8 +1262,7 @@ var reactJsxParser_min = { exports: {} };
1333
1262
  return !e4 && this.eat(b.starstar) ? this.buildBinary(s3, r2, i3, this.parseMaybeUnary(null, false), "**", false) : i3;
1334
1263
  }, ft.parseExprSubscripts = function(t4) {
1335
1264
  var e4 = this.start, i3 = this.startLoc, s3 = this.parseExprAtom(t4);
1336
- if ("ArrowFunctionExpression" === s3.type && ")" !== this.input.slice(this.lastTokStart, this.lastTokEnd))
1337
- return s3;
1265
+ if ("ArrowFunctionExpression" === s3.type && ")" !== this.input.slice(this.lastTokStart, this.lastTokEnd)) return s3;
1338
1266
  var r2 = this.parseSubscripts(s3, e4, i3);
1339
1267
  return t4 && "MemberExpression" === r2.type && (t4.parenthesizedAssign >= r2.start && (t4.parenthesizedAssign = -1), t4.parenthesizedBind >= r2.start && (t4.parenthesizedBind = -1)), r2;
1340
1268
  }, ft.parseSubscripts = function(t4, e4, i3, s3) {
@@ -1360,8 +1288,7 @@ var reactJsxParser_min = { exports: {} };
1360
1288
  var c2 = new at(), l2 = this.yieldPos, u2 = this.awaitPos, d2 = this.awaitIdentPos;
1361
1289
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
1362
1290
  var f2 = this.parseExprList(b.parenR, this.options.ecmaVersion >= 8, false, c2);
1363
- if (r2 && !o2 && !this.canInsertSemicolon() && this.eat(b.arrow))
1364
- return this.checkPatternErrors(c2, false), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = l2, this.awaitPos = u2, this.awaitIdentPos = d2, this.parseArrowExpression(this.startNodeAt(e4, i3), f2, true);
1291
+ if (r2 && !o2 && !this.canInsertSemicolon() && this.eat(b.arrow)) return this.checkPatternErrors(c2, false), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = l2, this.awaitPos = u2, this.awaitIdentPos = d2, this.parseArrowExpression(this.startNodeAt(e4, i3), f2, true);
1365
1292
  this.checkExpressionErrors(c2, true), this.yieldPos = l2 || this.yieldPos, this.awaitPos = u2 || this.awaitPos, this.awaitIdentPos = d2 || this.awaitIdentPos;
1366
1293
  var m2 = this.startNodeAt(e4, i3);
1367
1294
  m2.callee = t4, m2.arguments = f2, n2 && (m2.optional = o2), t4 = this.finishNode(m2, "CallExpression");
@@ -1381,13 +1308,10 @@ var reactJsxParser_min = { exports: {} };
1381
1308
  return e4 = this.startNode(), this.next(), this.finishNode(e4, "ThisExpression");
1382
1309
  case b.name:
1383
1310
  var s3 = this.start, r2 = this.startLoc, a2 = this.containsEsc, n2 = this.parseIdent(false);
1384
- if (this.options.ecmaVersion >= 8 && !a2 && "async" === n2.name && !this.canInsertSemicolon() && this.eat(b._function))
1385
- return this.parseFunction(this.startNodeAt(s3, r2), 0, false, true);
1311
+ if (this.options.ecmaVersion >= 8 && !a2 && "async" === n2.name && !this.canInsertSemicolon() && this.eat(b._function)) return this.parseFunction(this.startNodeAt(s3, r2), 0, false, true);
1386
1312
  if (i3 && !this.canInsertSemicolon()) {
1387
- if (this.eat(b.arrow))
1388
- return this.parseArrowExpression(this.startNodeAt(s3, r2), [n2], false);
1389
- if (this.options.ecmaVersion >= 8 && "async" === n2.name && this.type === b.name && !a2)
1390
- return n2 = this.parseIdent(false), !this.canInsertSemicolon() && this.eat(b.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(s3, r2), [n2], true);
1313
+ if (this.eat(b.arrow)) return this.parseArrowExpression(this.startNodeAt(s3, r2), [n2], false);
1314
+ if (this.options.ecmaVersion >= 8 && "async" === n2.name && this.type === b.name && !a2) return n2 = this.parseIdent(false), !this.canInsertSemicolon() && this.eat(b.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(s3, r2), [n2], true);
1391
1315
  }
1392
1316
  return n2;
1393
1317
  case b.regexp:
@@ -1466,11 +1390,9 @@ var reactJsxParser_min = { exports: {} };
1466
1390
  h2.push(this.parseMaybeAssign(false, l2, this.parseParenItem));
1467
1391
  }
1468
1392
  var f2 = this.start, m2 = this.startLoc;
1469
- if (this.expect(b.parenR), t4 && !this.canInsertSemicolon() && this.eat(b.arrow))
1470
- return this.checkPatternErrors(l2, false), this.checkYieldAwaitInDefaultParams(), this.yieldPos = u2, this.awaitPos = d2, this.parseParenArrowList(i3, s3, h2);
1393
+ if (this.expect(b.parenR), t4 && !this.canInsertSemicolon() && this.eat(b.arrow)) return this.checkPatternErrors(l2, false), this.checkYieldAwaitInDefaultParams(), this.yieldPos = u2, this.awaitPos = d2, this.parseParenArrowList(i3, s3, h2);
1471
1394
  h2.length && !c2 || this.unexpected(this.lastTokStart), a2 && this.unexpected(a2), this.checkExpressionErrors(l2, true), this.yieldPos = u2 || this.yieldPos, this.awaitPos = d2 || this.awaitPos, h2.length > 1 ? ((e4 = this.startNodeAt(n2, o2)).expressions = h2, this.finishNodeAt(e4, "SequenceExpression", f2, m2)) : e4 = h2[0];
1472
- } else
1473
- e4 = this.parseParenExpression();
1395
+ } else e4 = this.parseParenExpression();
1474
1396
  if (this.options.preserveParens) {
1475
1397
  var g2 = this.startNodeAt(i3, s3);
1476
1398
  return g2.expression = e4, this.finishNode(g2, "ParenthesizedExpression");
@@ -1502,49 +1424,40 @@ var reactJsxParser_min = { exports: {} };
1502
1424
  var i3 = this.startNode();
1503
1425
  this.next(), i3.expressions = [];
1504
1426
  var s3 = this.parseTemplateElement({ isTagged: e4 });
1505
- for (i3.quasis = [s3]; !s3.tail; )
1506
- this.type === b.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(b.dollarBraceL), i3.expressions.push(this.parseExpression()), this.expect(b.braceR), i3.quasis.push(s3 = this.parseTemplateElement({ isTagged: e4 }));
1427
+ for (i3.quasis = [s3]; !s3.tail; ) this.type === b.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(b.dollarBraceL), i3.expressions.push(this.parseExpression()), this.expect(b.braceR), i3.quasis.push(s3 = this.parseTemplateElement({ isTagged: e4 }));
1507
1428
  return this.next(), this.finishNode(i3, "TemplateLiteral");
1508
1429
  }, ft.isAsyncProp = function(t4) {
1509
1430
  return !t4.computed && "Identifier" === t4.key.type && "async" === t4.key.name && (this.type === b.name || this.type === b.num || this.type === b.string || this.type === b.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === b.star) && !_.test(this.input.slice(this.lastTokEnd, this.start));
1510
1431
  }, ft.parseObj = function(t4, e4) {
1511
1432
  var i3 = this.startNode(), s3 = true, r2 = {};
1512
1433
  for (i3.properties = [], this.next(); !this.eat(b.braceR); ) {
1513
- if (s3)
1514
- s3 = false;
1515
- else if (this.expect(b.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(b.braceR))
1516
- break;
1434
+ if (s3) s3 = false;
1435
+ else if (this.expect(b.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(b.braceR)) break;
1517
1436
  var a2 = this.parseProperty(t4, e4);
1518
1437
  t4 || this.checkPropClash(a2, r2, e4), i3.properties.push(a2);
1519
1438
  }
1520
1439
  return this.finishNode(i3, t4 ? "ObjectPattern" : "ObjectExpression");
1521
1440
  }, ft.parseProperty = function(t4, e4) {
1522
1441
  var i3, s3, r2, a2, n2 = this.startNode();
1523
- if (this.options.ecmaVersion >= 9 && this.eat(b.ellipsis))
1524
- return t4 ? (n2.argument = this.parseIdent(false), this.type === b.comma && this.raise(this.start, "Comma is not permitted after the rest element"), this.finishNode(n2, "RestElement")) : (this.type === b.parenL && e4 && (e4.parenthesizedAssign < 0 && (e4.parenthesizedAssign = this.start), e4.parenthesizedBind < 0 && (e4.parenthesizedBind = this.start)), n2.argument = this.parseMaybeAssign(false, e4), this.type === b.comma && e4 && e4.trailingComma < 0 && (e4.trailingComma = this.start), this.finishNode(n2, "SpreadElement"));
1442
+ if (this.options.ecmaVersion >= 9 && this.eat(b.ellipsis)) return t4 ? (n2.argument = this.parseIdent(false), this.type === b.comma && this.raise(this.start, "Comma is not permitted after the rest element"), this.finishNode(n2, "RestElement")) : (this.type === b.parenL && e4 && (e4.parenthesizedAssign < 0 && (e4.parenthesizedAssign = this.start), e4.parenthesizedBind < 0 && (e4.parenthesizedBind = this.start)), n2.argument = this.parseMaybeAssign(false, e4), this.type === b.comma && e4 && e4.trailingComma < 0 && (e4.trailingComma = this.start), this.finishNode(n2, "SpreadElement"));
1525
1443
  this.options.ecmaVersion >= 6 && (n2.method = false, n2.shorthand = false, (t4 || e4) && (r2 = this.start, a2 = this.startLoc), t4 || (i3 = this.eat(b.star)));
1526
1444
  var o2 = this.containsEsc;
1527
1445
  return this.parsePropertyName(n2), !t4 && !o2 && this.options.ecmaVersion >= 8 && !i3 && this.isAsyncProp(n2) ? (s3 = true, i3 = this.options.ecmaVersion >= 9 && this.eat(b.star), this.parsePropertyName(n2, e4)) : s3 = false, this.parsePropertyValue(n2, t4, i3, s3, r2, a2, e4, o2), this.finishNode(n2, "Property");
1528
1446
  }, ft.parsePropertyValue = function(t4, e4, i3, s3, r2, a2, n2, o2) {
1529
- if ((i3 || s3) && this.type === b.colon && this.unexpected(), this.eat(b.colon))
1530
- t4.value = e4 ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, n2), t4.kind = "init";
1531
- else if (this.options.ecmaVersion >= 6 && this.type === b.parenL)
1532
- e4 && this.unexpected(), t4.kind = "init", t4.method = true, t4.value = this.parseMethod(i3, s3);
1533
- else if (e4 || o2 || !(this.options.ecmaVersion >= 5) || t4.computed || "Identifier" !== t4.key.type || "get" !== t4.key.name && "set" !== t4.key.name || this.type === b.comma || this.type === b.braceR || this.type === b.eq)
1534
- this.options.ecmaVersion >= 6 && !t4.computed && "Identifier" === t4.key.type ? ((i3 || s3) && this.unexpected(), this.checkUnreserved(t4.key), "await" !== t4.key.name || this.awaitIdentPos || (this.awaitIdentPos = r2), t4.kind = "init", e4 ? t4.value = this.parseMaybeDefault(r2, a2, this.copyNode(t4.key)) : this.type === b.eq && n2 ? (n2.shorthandAssign < 0 && (n2.shorthandAssign = this.start), t4.value = this.parseMaybeDefault(r2, a2, this.copyNode(t4.key))) : t4.value = this.copyNode(t4.key), t4.shorthand = true) : this.unexpected();
1447
+ if ((i3 || s3) && this.type === b.colon && this.unexpected(), this.eat(b.colon)) t4.value = e4 ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, n2), t4.kind = "init";
1448
+ else if (this.options.ecmaVersion >= 6 && this.type === b.parenL) e4 && this.unexpected(), t4.kind = "init", t4.method = true, t4.value = this.parseMethod(i3, s3);
1449
+ else if (e4 || o2 || !(this.options.ecmaVersion >= 5) || t4.computed || "Identifier" !== t4.key.type || "get" !== t4.key.name && "set" !== t4.key.name || this.type === b.comma || this.type === b.braceR || this.type === b.eq) this.options.ecmaVersion >= 6 && !t4.computed && "Identifier" === t4.key.type ? ((i3 || s3) && this.unexpected(), this.checkUnreserved(t4.key), "await" !== t4.key.name || this.awaitIdentPos || (this.awaitIdentPos = r2), t4.kind = "init", e4 ? t4.value = this.parseMaybeDefault(r2, a2, this.copyNode(t4.key)) : this.type === b.eq && n2 ? (n2.shorthandAssign < 0 && (n2.shorthandAssign = this.start), t4.value = this.parseMaybeDefault(r2, a2, this.copyNode(t4.key))) : t4.value = this.copyNode(t4.key), t4.shorthand = true) : this.unexpected();
1535
1450
  else {
1536
1451
  (i3 || s3) && this.unexpected(), t4.kind = t4.key.name, this.parsePropertyName(t4), t4.value = this.parseMethod(false);
1537
1452
  var h2 = "get" === t4.kind ? 0 : 1;
1538
1453
  if (t4.value.params.length !== h2) {
1539
1454
  var p2 = t4.value.start;
1540
1455
  "get" === t4.kind ? this.raiseRecoverable(p2, "getter should have no params") : this.raiseRecoverable(p2, "setter should have exactly one param");
1541
- } else
1542
- "set" === t4.kind && "RestElement" === t4.value.params[0].type && this.raiseRecoverable(t4.value.params[0].start, "Setter cannot use rest params");
1456
+ } else "set" === t4.kind && "RestElement" === t4.value.params[0].type && this.raiseRecoverable(t4.value.params[0].start, "Setter cannot use rest params");
1543
1457
  }
1544
1458
  }, ft.parsePropertyName = function(t4) {
1545
1459
  if (this.options.ecmaVersion >= 6) {
1546
- if (this.eat(b.bracketL))
1547
- return t4.computed = true, t4.key = this.parseMaybeAssign(), this.expect(b.bracketR), t4.key;
1460
+ if (this.eat(b.bracketL)) return t4.computed = true, t4.key = this.parseMaybeAssign(), this.expect(b.bracketR), t4.key;
1548
1461
  t4.computed = false;
1549
1462
  }
1550
1463
  return t4.key = this.type === b.num || this.type === b.string ? this.parseExprAtom() : this.parseIdent("never" !== this.options.allowReserved);
@@ -1558,8 +1471,7 @@ var reactJsxParser_min = { exports: {} };
1558
1471
  return this.enterScope(X(i3, false) | H), this.initFunction(t4), this.options.ecmaVersion >= 8 && (t4.async = !!i3), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t4.params = this.toAssignableList(e4, true), this.parseFunctionBody(t4, true, false), this.yieldPos = s3, this.awaitPos = r2, this.awaitIdentPos = a2, this.finishNode(t4, "ArrowFunctionExpression");
1559
1472
  }, ft.parseFunctionBody = function(t4, e4, i3) {
1560
1473
  var s3 = e4 && this.type !== b.braceL, r2 = this.strict, a2 = false;
1561
- if (s3)
1562
- t4.body = this.parseMaybeAssign(), t4.expression = true, this.checkParams(t4, false);
1474
+ if (s3) t4.body = this.parseMaybeAssign(), t4.expression = true, this.checkParams(t4, false);
1563
1475
  else {
1564
1476
  var n2 = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(t4.params);
1565
1477
  r2 && !n2 || (a2 = this.strictDirective(this.end)) && n2 && this.raiseRecoverable(t4.start, "Illegal 'use strict' directive in function with non-simple parameter list");
@@ -1568,9 +1480,7 @@ var reactJsxParser_min = { exports: {} };
1568
1480
  }
1569
1481
  this.exitScope();
1570
1482
  }, ft.isSimpleParamList = function(t4) {
1571
- for (var e4 = 0, i3 = t4; e4 < i3.length; e4 += 1)
1572
- if ("Identifier" !== i3[e4].type)
1573
- return false;
1483
+ for (var e4 = 0, i3 = t4; e4 < i3.length; e4 += 1) if ("Identifier" !== i3[e4].type) return false;
1574
1484
  return true;
1575
1485
  }, ft.checkParams = function(t4, e4) {
1576
1486
  for (var i3 = /* @__PURE__ */ Object.create(null), s3 = 0, r2 = t4.params; s3 < r2.length; s3 += 1) {
@@ -1579,10 +1489,8 @@ var reactJsxParser_min = { exports: {} };
1579
1489
  }
1580
1490
  }, ft.parseExprList = function(t4, e4, i3, s3) {
1581
1491
  for (var r2 = [], a2 = true; !this.eat(t4); ) {
1582
- if (a2)
1583
- a2 = false;
1584
- else if (this.expect(b.comma), e4 && this.afterTrailingComma(t4))
1585
- break;
1492
+ if (a2) a2 = false;
1493
+ else if (this.expect(b.comma), e4 && this.afterTrailingComma(t4)) break;
1586
1494
  var n2 = void 0;
1587
1495
  i3 && this.type === b.comma ? n2 = null : this.type === b.ellipsis ? (n2 = this.parseSpread(s3), s3 && this.type === b.comma && s3.trailingComma < 0 && (s3.trailingComma = this.start)) : n2 = this.parseMaybeAssign(false, s3), r2.push(n2);
1588
1496
  }
@@ -1609,8 +1517,7 @@ var reactJsxParser_min = { exports: {} };
1609
1517
  var s3 = new SyntaxError(e4);
1610
1518
  throw s3.pos = t4, s3.loc = i3, s3.raisedAt = this.pos, s3;
1611
1519
  }, gt.raiseRecoverable = gt.raise, gt.curPosition = function() {
1612
- if (this.options.locations)
1613
- return new L(this.curLine, this.pos - this.lineStart);
1520
+ if (this.options.locations) return new L(this.curLine, this.pos - this.lineStart);
1614
1521
  };
1615
1522
  var xt = et.prototype, yt = function(t4) {
1616
1523
  this.flags = t4, this.var = [], this.lexical = [], this.functions = [];
@@ -1626,21 +1533,18 @@ var reactJsxParser_min = { exports: {} };
1626
1533
  if (e4 === Y) {
1627
1534
  var r2 = this.currentScope();
1628
1535
  s3 = r2.lexical.indexOf(t4) > -1 || r2.functions.indexOf(t4) > -1 || r2.var.indexOf(t4) > -1, r2.lexical.push(t4), this.inModule && r2.flags & j && delete this.undefinedExports[t4];
1629
- } else if (e4 === $)
1630
- this.currentScope().lexical.push(t4);
1536
+ } else if (e4 === $) this.currentScope().lexical.push(t4);
1631
1537
  else if (e4 === Z) {
1632
1538
  var a2 = this.currentScope();
1633
1539
  s3 = this.treatFunctionsAsVar ? a2.lexical.indexOf(t4) > -1 : a2.lexical.indexOf(t4) > -1 || a2.var.indexOf(t4) > -1, a2.functions.push(t4);
1634
- } else
1635
- for (var n2 = this.scopeStack.length - 1; n2 >= 0; --n2) {
1636
- var o2 = this.scopeStack[n2];
1637
- if (o2.lexical.indexOf(t4) > -1 && !(o2.flags & W && o2.lexical[0] === t4) || !this.treatFunctionsAsVarInScope(o2) && o2.functions.indexOf(t4) > -1) {
1638
- s3 = true;
1639
- break;
1640
- }
1641
- if (o2.var.push(t4), this.inModule && o2.flags & j && delete this.undefinedExports[t4], o2.flags & F)
1642
- break;
1540
+ } else for (var n2 = this.scopeStack.length - 1; n2 >= 0; --n2) {
1541
+ var o2 = this.scopeStack[n2];
1542
+ if (o2.lexical.indexOf(t4) > -1 && !(o2.flags & W && o2.lexical[0] === t4) || !this.treatFunctionsAsVarInScope(o2) && o2.functions.indexOf(t4) > -1) {
1543
+ s3 = true;
1544
+ break;
1643
1545
  }
1546
+ if (o2.var.push(t4), this.inModule && o2.flags & j && delete this.undefinedExports[t4], o2.flags & F) break;
1547
+ }
1644
1548
  s3 && this.raiseRecoverable(i3, "Identifier '" + t4 + "' has already been declared");
1645
1549
  }, xt.checkLocalExport = function(t4) {
1646
1550
  -1 === this.scopeStack[0].lexical.indexOf(t4.name) && -1 === this.scopeStack[0].var.indexOf(t4.name) && (this.undefinedExports[t4.name] = t4);
@@ -1649,14 +1553,12 @@ var reactJsxParser_min = { exports: {} };
1649
1553
  }, xt.currentVarScope = function() {
1650
1554
  for (var t4 = this.scopeStack.length - 1; ; t4--) {
1651
1555
  var e4 = this.scopeStack[t4];
1652
- if (e4.flags & F)
1653
- return e4;
1556
+ if (e4.flags & F) return e4;
1654
1557
  }
1655
1558
  }, xt.currentThisScope = function() {
1656
1559
  for (var t4 = this.scopeStack.length - 1; ; t4--) {
1657
1560
  var e4 = this.scopeStack[t4];
1658
- if (e4.flags & F && !(e4.flags & H))
1659
- return e4;
1561
+ if (e4.flags & F && !(e4.flags & H)) return e4;
1660
1562
  }
1661
1563
  };
1662
1564
  var vt = function(t4, e4, i3) {
@@ -1675,8 +1577,7 @@ var reactJsxParser_min = { exports: {} };
1675
1577
  return _t.call(this, t4, e4, i3, s3);
1676
1578
  }, bt.copyNode = function(t4) {
1677
1579
  var e4 = new vt(this, t4.start, this.startLoc);
1678
- for (var i3 in t4)
1679
- e4[i3] = t4[i3];
1580
+ for (var i3 in t4) e4[i3] = t4[i3];
1680
1581
  return e4;
1681
1582
  };
1682
1583
  var kt = function(t4, e4, i3, s3, r2) {
@@ -1692,8 +1593,7 @@ var reactJsxParser_min = { exports: {} };
1692
1593
  }, wt.inGeneratorContext = function() {
1693
1594
  for (var t4 = this.context.length - 1; t4 >= 1; t4--) {
1694
1595
  var e4 = this.context[t4];
1695
- if ("function" === e4.token)
1696
- return e4.generator;
1596
+ if ("function" === e4.token) return e4.generator;
1697
1597
  }
1698
1598
  return false;
1699
1599
  }, wt.updateContext = function(t4) {
@@ -1703,8 +1603,7 @@ var reactJsxParser_min = { exports: {} };
1703
1603
  if (1 !== this.context.length) {
1704
1604
  var t4 = this.context.pop();
1705
1605
  t4 === St.b_stat && "function" === this.curContext().token && (t4 = this.context.pop()), this.exprAllowed = !t4.isExpr;
1706
- } else
1707
- this.exprAllowed = true;
1606
+ } else this.exprAllowed = true;
1708
1607
  }, b.braceL.updateContext = function(t4) {
1709
1608
  this.context.push(this.braceIsBlock(t4) ? St.b_stat : St.b_expr), this.exprAllowed = true;
1710
1609
  }, b.dollarBraceL.updateContext = function() {
@@ -1783,18 +1682,15 @@ var reactJsxParser_min = { exports: {} };
1783
1682
  }, Mt.prototype.at = function(t4, e4) {
1784
1683
  void 0 === e4 && (e4 = false);
1785
1684
  var i3 = this.source, s3 = i3.length;
1786
- if (t4 >= s3)
1787
- return -1;
1685
+ if (t4 >= s3) return -1;
1788
1686
  var r2 = i3.charCodeAt(t4);
1789
- if (!e4 && !this.switchU || r2 <= 55295 || r2 >= 57344 || t4 + 1 >= s3)
1790
- return r2;
1687
+ if (!e4 && !this.switchU || r2 <= 55295 || r2 >= 57344 || t4 + 1 >= s3) return r2;
1791
1688
  var a2 = i3.charCodeAt(t4 + 1);
1792
1689
  return a2 >= 56320 && a2 <= 57343 ? (r2 << 10) + a2 - 56613888 : r2;
1793
1690
  }, Mt.prototype.nextIndex = function(t4, e4) {
1794
1691
  void 0 === e4 && (e4 = false);
1795
1692
  var i3 = this.source, s3 = i3.length;
1796
- if (t4 >= s3)
1797
- return s3;
1693
+ if (t4 >= s3) return s3;
1798
1694
  var r2, a2 = i3.charCodeAt(t4);
1799
1695
  return !e4 && !this.switchU || a2 <= 55295 || a2 >= 57344 || t4 + 1 >= s3 || (r2 = i3.charCodeAt(t4 + 1)) < 56320 || r2 > 57343 ? t4 + 1 : t4 + 2;
1800
1696
  }, Mt.prototype.current = function(t4) {
@@ -1819,27 +1715,22 @@ var reactJsxParser_min = { exports: {} };
1819
1715
  -1 === t4.groupNames.indexOf(s3) && t4.raise("Invalid named capture referenced");
1820
1716
  }
1821
1717
  }, Rt.regexp_disjunction = function(t4) {
1822
- for (this.regexp_alternative(t4); t4.eat(124); )
1823
- this.regexp_alternative(t4);
1718
+ for (this.regexp_alternative(t4); t4.eat(124); ) this.regexp_alternative(t4);
1824
1719
  this.regexp_eatQuantifier(t4, true) && t4.raise("Nothing to repeat"), t4.eat(123) && t4.raise("Lone quantifier brackets");
1825
1720
  }, Rt.regexp_alternative = function(t4) {
1826
- for (; t4.pos < t4.source.length && this.regexp_eatTerm(t4); )
1827
- ;
1721
+ for (; t4.pos < t4.source.length && this.regexp_eatTerm(t4); ) ;
1828
1722
  }, Rt.regexp_eatTerm = function(t4) {
1829
1723
  return this.regexp_eatAssertion(t4) ? (t4.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(t4) && t4.switchU && t4.raise("Invalid quantifier"), true) : !!(t4.switchU ? this.regexp_eatAtom(t4) : this.regexp_eatExtendedAtom(t4)) && (this.regexp_eatQuantifier(t4), true);
1830
1724
  }, Rt.regexp_eatAssertion = function(t4) {
1831
1725
  var e4 = t4.pos;
1832
- if (t4.lastAssertionIsQuantifiable = false, t4.eat(94) || t4.eat(36))
1833
- return true;
1726
+ if (t4.lastAssertionIsQuantifiable = false, t4.eat(94) || t4.eat(36)) return true;
1834
1727
  if (t4.eat(92)) {
1835
- if (t4.eat(66) || t4.eat(98))
1836
- return true;
1728
+ if (t4.eat(66) || t4.eat(98)) return true;
1837
1729
  t4.pos = e4;
1838
1730
  }
1839
1731
  if (t4.eat(40) && t4.eat(63)) {
1840
1732
  var i3 = false;
1841
- if (this.options.ecmaVersion >= 9 && (i3 = t4.eat(60)), t4.eat(61) || t4.eat(33))
1842
- return this.regexp_disjunction(t4), t4.eat(41) || t4.raise("Unterminated group"), t4.lastAssertionIsQuantifiable = !i3, true;
1733
+ if (this.options.ecmaVersion >= 9 && (i3 = t4.eat(60)), t4.eat(61) || t4.eat(33)) return this.regexp_disjunction(t4), t4.eat(41) || t4.raise("Unterminated group"), t4.lastAssertionIsQuantifiable = !i3, true;
1843
1734
  }
1844
1735
  return t4.pos = e4, false;
1845
1736
  }, Rt.regexp_eatQuantifier = function(t4, e4) {
@@ -1850,8 +1741,7 @@ var reactJsxParser_min = { exports: {} };
1850
1741
  var i3 = t4.pos;
1851
1742
  if (t4.eat(123)) {
1852
1743
  var s3 = 0, r2 = -1;
1853
- if (this.regexp_eatDecimalDigits(t4) && (s3 = t4.lastIntValue, t4.eat(44) && this.regexp_eatDecimalDigits(t4) && (r2 = t4.lastIntValue), t4.eat(125)))
1854
- return -1 !== r2 && r2 < s3 && !e4 && t4.raise("numbers out of order in {} quantifier"), true;
1744
+ if (this.regexp_eatDecimalDigits(t4) && (s3 = t4.lastIntValue, t4.eat(44) && this.regexp_eatDecimalDigits(t4) && (r2 = t4.lastIntValue), t4.eat(125))) return -1 !== r2 && r2 < s3 && !e4 && t4.raise("numbers out of order in {} quantifier"), true;
1855
1745
  t4.switchU && !e4 && t4.raise("Incomplete quantifier"), t4.pos = i3;
1856
1746
  }
1857
1747
  return false;
@@ -1860,8 +1750,7 @@ var reactJsxParser_min = { exports: {} };
1860
1750
  }, Rt.regexp_eatReverseSolidusAtomEscape = function(t4) {
1861
1751
  var e4 = t4.pos;
1862
1752
  if (t4.eat(92)) {
1863
- if (this.regexp_eatAtomEscape(t4))
1864
- return true;
1753
+ if (this.regexp_eatAtomEscape(t4)) return true;
1865
1754
  t4.pos = e4;
1866
1755
  }
1867
1756
  return false;
@@ -1869,8 +1758,7 @@ var reactJsxParser_min = { exports: {} };
1869
1758
  var e4 = t4.pos;
1870
1759
  if (t4.eat(40)) {
1871
1760
  if (t4.eat(63) && t4.eat(58)) {
1872
- if (this.regexp_disjunction(t4), t4.eat(41))
1873
- return true;
1761
+ if (this.regexp_disjunction(t4), t4.eat(41)) return true;
1874
1762
  t4.raise("Unterminated group");
1875
1763
  }
1876
1764
  t4.pos = e4;
@@ -1878,8 +1766,7 @@ var reactJsxParser_min = { exports: {} };
1878
1766
  return false;
1879
1767
  }, Rt.regexp_eatCapturingGroup = function(t4) {
1880
1768
  if (t4.eat(40)) {
1881
- if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(t4) : 63 === t4.current() && t4.raise("Invalid group"), this.regexp_disjunction(t4), t4.eat(41))
1882
- return t4.numCapturingParens += 1, true;
1769
+ if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(t4) : 63 === t4.current() && t4.raise("Invalid group"), this.regexp_disjunction(t4), t4.eat(41)) return t4.numCapturingParens += 1, true;
1883
1770
  t4.raise("Unterminated group");
1884
1771
  }
1885
1772
  return false;
@@ -1891,29 +1778,25 @@ var reactJsxParser_min = { exports: {} };
1891
1778
  var e4 = t4.current();
1892
1779
  return !!Dt(e4) && (t4.lastIntValue = e4, t4.advance(), true);
1893
1780
  }, Rt.regexp_eatPatternCharacters = function(t4) {
1894
- for (var e4 = t4.pos, i3 = 0; -1 !== (i3 = t4.current()) && !Dt(i3); )
1895
- t4.advance();
1781
+ for (var e4 = t4.pos, i3 = 0; -1 !== (i3 = t4.current()) && !Dt(i3); ) t4.advance();
1896
1782
  return t4.pos !== e4;
1897
1783
  }, Rt.regexp_eatExtendedPatternCharacter = function(t4) {
1898
1784
  var e4 = t4.current();
1899
1785
  return !(-1 === e4 || 36 === e4 || e4 >= 40 && e4 <= 43 || 46 === e4 || 63 === e4 || 91 === e4 || 94 === e4 || 124 === e4 || (t4.advance(), 0));
1900
1786
  }, Rt.regexp_groupSpecifier = function(t4) {
1901
1787
  if (t4.eat(63)) {
1902
- if (this.regexp_eatGroupName(t4))
1903
- return -1 !== t4.groupNames.indexOf(t4.lastStringValue) && t4.raise("Duplicate capture group name"), void t4.groupNames.push(t4.lastStringValue);
1788
+ if (this.regexp_eatGroupName(t4)) return -1 !== t4.groupNames.indexOf(t4.lastStringValue) && t4.raise("Duplicate capture group name"), void t4.groupNames.push(t4.lastStringValue);
1904
1789
  t4.raise("Invalid group");
1905
1790
  }
1906
1791
  }, Rt.regexp_eatGroupName = function(t4) {
1907
1792
  if (t4.lastStringValue = "", t4.eat(60)) {
1908
- if (this.regexp_eatRegExpIdentifierName(t4) && t4.eat(62))
1909
- return true;
1793
+ if (this.regexp_eatRegExpIdentifierName(t4) && t4.eat(62)) return true;
1910
1794
  t4.raise("Invalid capture group name");
1911
1795
  }
1912
1796
  return false;
1913
1797
  }, Rt.regexp_eatRegExpIdentifierName = function(t4) {
1914
1798
  if (t4.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(t4)) {
1915
- for (t4.lastStringValue += Bt(t4.lastIntValue); this.regexp_eatRegExpIdentifierPart(t4); )
1916
- t4.lastStringValue += Bt(t4.lastIntValue);
1799
+ for (t4.lastStringValue += Bt(t4.lastIntValue); this.regexp_eatRegExpIdentifierPart(t4); ) t4.lastStringValue += Bt(t4.lastIntValue);
1917
1800
  return true;
1918
1801
  }
1919
1802
  return false;
@@ -1929,17 +1812,14 @@ var reactJsxParser_min = { exports: {} };
1929
1812
  var e4 = t4.pos;
1930
1813
  if (this.regexp_eatDecimalEscape(t4)) {
1931
1814
  var i3 = t4.lastIntValue;
1932
- if (t4.switchU)
1933
- return i3 > t4.maxBackReference && (t4.maxBackReference = i3), true;
1934
- if (i3 <= t4.numCapturingParens)
1935
- return true;
1815
+ if (t4.switchU) return i3 > t4.maxBackReference && (t4.maxBackReference = i3), true;
1816
+ if (i3 <= t4.numCapturingParens) return true;
1936
1817
  t4.pos = e4;
1937
1818
  }
1938
1819
  return false;
1939
1820
  }, Rt.regexp_eatKGroupName = function(t4) {
1940
1821
  if (t4.eat(107)) {
1941
- if (this.regexp_eatGroupName(t4))
1942
- return t4.backReferenceNames.push(t4.lastStringValue), true;
1822
+ if (this.regexp_eatGroupName(t4)) return t4.backReferenceNames.push(t4.lastStringValue), true;
1943
1823
  t4.raise("Invalid named reference");
1944
1824
  }
1945
1825
  return false;
@@ -1948,8 +1828,7 @@ var reactJsxParser_min = { exports: {} };
1948
1828
  }, Rt.regexp_eatCControlLetter = function(t4) {
1949
1829
  var e4 = t4.pos;
1950
1830
  if (t4.eat(99)) {
1951
- if (this.regexp_eatControlLetter(t4))
1952
- return true;
1831
+ if (this.regexp_eatControlLetter(t4)) return true;
1953
1832
  t4.pos = e4;
1954
1833
  }
1955
1834
  return false;
@@ -1971,21 +1850,18 @@ var reactJsxParser_min = { exports: {} };
1971
1850
  var a2 = t4.pos;
1972
1851
  if (t4.eat(92) && t4.eat(117) && this.regexp_eatFixedHexDigits(t4, 4)) {
1973
1852
  var n2 = t4.lastIntValue;
1974
- if (n2 >= 56320 && n2 <= 57343)
1975
- return t4.lastIntValue = 1024 * (r2 - 55296) + (n2 - 56320) + 65536, true;
1853
+ if (n2 >= 56320 && n2 <= 57343) return t4.lastIntValue = 1024 * (r2 - 55296) + (n2 - 56320) + 65536, true;
1976
1854
  }
1977
1855
  t4.pos = a2, t4.lastIntValue = r2;
1978
1856
  }
1979
1857
  return true;
1980
1858
  }
1981
- if (s3 && t4.eat(123) && this.regexp_eatHexDigits(t4) && t4.eat(125) && qt(t4.lastIntValue))
1982
- return true;
1859
+ if (s3 && t4.eat(123) && this.regexp_eatHexDigits(t4) && t4.eat(125) && qt(t4.lastIntValue)) return true;
1983
1860
  s3 && t4.raise("Invalid unicode escape"), t4.pos = i3;
1984
1861
  }
1985
1862
  return false;
1986
1863
  }, Rt.regexp_eatIdentityEscape = function(t4) {
1987
- if (t4.switchU)
1988
- return !!this.regexp_eatSyntaxCharacter(t4) || !!t4.eat(47) && (t4.lastIntValue = 47, true);
1864
+ if (t4.switchU) return !!this.regexp_eatSyntaxCharacter(t4) || !!t4.eat(47) && (t4.lastIntValue = 47, true);
1989
1865
  var e4 = t4.current();
1990
1866
  return !(99 === e4 || t4.switchN && 107 === e4 || (t4.lastIntValue = e4, t4.advance(), 0));
1991
1867
  }, Rt.regexp_eatDecimalEscape = function(t4) {
@@ -2000,11 +1876,9 @@ var reactJsxParser_min = { exports: {} };
2000
1876
  return false;
2001
1877
  }, Rt.regexp_eatCharacterClassEscape = function(t4) {
2002
1878
  var e4 = t4.current();
2003
- if (Gt(e4))
2004
- return t4.lastIntValue = -1, t4.advance(), true;
1879
+ if (Gt(e4)) return t4.lastIntValue = -1, t4.advance(), true;
2005
1880
  if (t4.switchU && this.options.ecmaVersion >= 9 && (80 === e4 || 112 === e4)) {
2006
- if (t4.lastIntValue = -1, t4.advance(), t4.eat(123) && this.regexp_eatUnicodePropertyValueExpression(t4) && t4.eat(125))
2007
- return true;
1881
+ if (t4.lastIntValue = -1, t4.advance(), t4.eat(123) && this.regexp_eatUnicodePropertyValueExpression(t4) && t4.eat(125)) return true;
2008
1882
  t4.raise("Invalid property name");
2009
1883
  }
2010
1884
  return false;
@@ -2028,20 +1902,17 @@ var reactJsxParser_min = { exports: {} };
2028
1902
  t4.unicodeProperties.binary.test(e4) || t4.raise("Invalid property name");
2029
1903
  }, Rt.regexp_eatUnicodePropertyName = function(t4) {
2030
1904
  var e4 = 0;
2031
- for (t4.lastStringValue = ""; Ht(e4 = t4.current()); )
2032
- t4.lastStringValue += Bt(e4), t4.advance();
1905
+ for (t4.lastStringValue = ""; Ht(e4 = t4.current()); ) t4.lastStringValue += Bt(e4), t4.advance();
2033
1906
  return "" !== t4.lastStringValue;
2034
1907
  }, Rt.regexp_eatUnicodePropertyValue = function(t4) {
2035
1908
  var e4 = 0;
2036
- for (t4.lastStringValue = ""; Wt(e4 = t4.current()); )
2037
- t4.lastStringValue += Bt(e4), t4.advance();
1909
+ for (t4.lastStringValue = ""; Wt(e4 = t4.current()); ) t4.lastStringValue += Bt(e4), t4.advance();
2038
1910
  return "" !== t4.lastStringValue;
2039
1911
  }, Rt.regexp_eatLoneUnicodePropertyNameOrValue = function(t4) {
2040
1912
  return this.regexp_eatUnicodePropertyValue(t4);
2041
1913
  }, Rt.regexp_eatCharacterClass = function(t4) {
2042
1914
  if (t4.eat(91)) {
2043
- if (t4.eat(94), this.regexp_classRanges(t4), t4.eat(93))
2044
- return true;
1915
+ if (t4.eat(94), this.regexp_classRanges(t4), t4.eat(93)) return true;
2045
1916
  t4.raise("Unterminated character class");
2046
1917
  }
2047
1918
  return false;
@@ -2056,8 +1927,7 @@ var reactJsxParser_min = { exports: {} };
2056
1927
  }, Rt.regexp_eatClassAtom = function(t4) {
2057
1928
  var e4 = t4.pos;
2058
1929
  if (t4.eat(92)) {
2059
- if (this.regexp_eatClassEscape(t4))
2060
- return true;
1930
+ if (this.regexp_eatClassEscape(t4)) return true;
2061
1931
  if (t4.switchU) {
2062
1932
  var i3 = t4.current();
2063
1933
  (99 === i3 || Qt(i3)) && t4.raise("Invalid class escape"), t4.raise("Invalid escape");
@@ -2068,13 +1938,10 @@ var reactJsxParser_min = { exports: {} };
2068
1938
  return 93 !== s3 && (t4.lastIntValue = s3, t4.advance(), true);
2069
1939
  }, Rt.regexp_eatClassEscape = function(t4) {
2070
1940
  var e4 = t4.pos;
2071
- if (t4.eat(98))
2072
- return t4.lastIntValue = 8, true;
2073
- if (t4.switchU && t4.eat(45))
2074
- return t4.lastIntValue = 45, true;
1941
+ if (t4.eat(98)) return t4.lastIntValue = 8, true;
1942
+ if (t4.switchU && t4.eat(45)) return t4.lastIntValue = 45, true;
2075
1943
  if (!t4.switchU && t4.eat(99)) {
2076
- if (this.regexp_eatClassControlLetter(t4))
2077
- return true;
1944
+ if (this.regexp_eatClassControlLetter(t4)) return true;
2078
1945
  t4.pos = e4;
2079
1946
  }
2080
1947
  return this.regexp_eatCharacterClassEscape(t4) || this.regexp_eatCharacterEscape(t4);
@@ -2084,20 +1951,17 @@ var reactJsxParser_min = { exports: {} };
2084
1951
  }, Rt.regexp_eatHexEscapeSequence = function(t4) {
2085
1952
  var e4 = t4.pos;
2086
1953
  if (t4.eat(120)) {
2087
- if (this.regexp_eatFixedHexDigits(t4, 2))
2088
- return true;
1954
+ if (this.regexp_eatFixedHexDigits(t4, 2)) return true;
2089
1955
  t4.switchU && t4.raise("Invalid escape"), t4.pos = e4;
2090
1956
  }
2091
1957
  return false;
2092
1958
  }, Rt.regexp_eatDecimalDigits = function(t4) {
2093
1959
  var e4 = t4.pos, i3 = 0;
2094
- for (t4.lastIntValue = 0; zt(i3 = t4.current()); )
2095
- t4.lastIntValue = 10 * t4.lastIntValue + (i3 - 48), t4.advance();
1960
+ for (t4.lastIntValue = 0; zt(i3 = t4.current()); ) t4.lastIntValue = 10 * t4.lastIntValue + (i3 - 48), t4.advance();
2096
1961
  return t4.pos !== e4;
2097
1962
  }, Rt.regexp_eatHexDigits = function(t4) {
2098
1963
  var e4 = t4.pos, i3 = 0;
2099
- for (t4.lastIntValue = 0; Kt(i3 = t4.current()); )
2100
- t4.lastIntValue = 16 * t4.lastIntValue + Xt(i3), t4.advance();
1964
+ for (t4.lastIntValue = 0; Kt(i3 = t4.current()); ) t4.lastIntValue = 16 * t4.lastIntValue + Xt(i3), t4.advance();
2101
1965
  return t4.pos !== e4;
2102
1966
  }, Rt.regexp_eatLegacyOctalEscapeSequence = function(t4) {
2103
1967
  if (this.regexp_eatOctalDigit(t4)) {
@@ -2105,8 +1969,7 @@ var reactJsxParser_min = { exports: {} };
2105
1969
  if (this.regexp_eatOctalDigit(t4)) {
2106
1970
  var i3 = t4.lastIntValue;
2107
1971
  e4 <= 3 && this.regexp_eatOctalDigit(t4) ? t4.lastIntValue = 64 * e4 + 8 * i3 + t4.lastIntValue : t4.lastIntValue = 8 * e4 + i3;
2108
- } else
2109
- t4.lastIntValue = e4;
1972
+ } else t4.lastIntValue = e4;
2110
1973
  return true;
2111
1974
  }
2112
1975
  return false;
@@ -2118,8 +1981,7 @@ var reactJsxParser_min = { exports: {} };
2118
1981
  t4.lastIntValue = 0;
2119
1982
  for (var s3 = 0; s3 < e4; ++s3) {
2120
1983
  var r2 = t4.current();
2121
- if (!Kt(r2))
2122
- return t4.pos = i3, false;
1984
+ if (!Kt(r2)) return t4.pos = i3, false;
2123
1985
  t4.lastIntValue = 16 * t4.lastIntValue + Xt(r2), t4.advance();
2124
1986
  }
2125
1987
  return true;
@@ -2158,56 +2020,50 @@ var reactJsxParser_min = { exports: {} };
2158
2020
  return t4 <= 55295 || t4 >= 57344 ? t4 : (t4 << 10) + this.input.charCodeAt(this.pos + 1) - 56613888;
2159
2021
  }, Yt.skipBlockComment = function() {
2160
2022
  var t4, e4 = this.options.onComment && this.curPosition(), i3 = this.pos, s3 = this.input.indexOf("*/", this.pos += 2);
2161
- if (-1 === s3 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = s3 + 2, this.options.locations)
2162
- for (k.lastIndex = i3; (t4 = k.exec(this.input)) && t4.index < this.pos; )
2163
- ++this.curLine, this.lineStart = t4.index + t4[0].length;
2023
+ if (-1 === s3 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = s3 + 2, this.options.locations) for (k.lastIndex = i3; (t4 = k.exec(this.input)) && t4.index < this.pos; ) ++this.curLine, this.lineStart = t4.index + t4[0].length;
2164
2024
  this.options.onComment && this.options.onComment(true, this.input.slice(i3 + 2, s3), i3, this.pos, e4, this.curPosition());
2165
2025
  }, Yt.skipLineComment = function(t4) {
2166
- for (var e4 = this.pos, i3 = this.options.onComment && this.curPosition(), s3 = this.input.charCodeAt(this.pos += t4); this.pos < this.input.length && !S(s3); )
2167
- s3 = this.input.charCodeAt(++this.pos);
2026
+ for (var e4 = this.pos, i3 = this.options.onComment && this.curPosition(), s3 = this.input.charCodeAt(this.pos += t4); this.pos < this.input.length && !S(s3); ) s3 = this.input.charCodeAt(++this.pos);
2168
2027
  this.options.onComment && this.options.onComment(false, this.input.slice(e4 + t4, this.pos), e4, this.pos, i3, this.curPosition());
2169
2028
  }, Yt.skipSpace = function() {
2170
- t:
2171
- for (; this.pos < this.input.length; ) {
2172
- var t4 = this.input.charCodeAt(this.pos);
2173
- switch (t4) {
2174
- case 32:
2175
- case 160:
2176
- ++this.pos;
2177
- break;
2178
- case 13:
2179
- 10 === this.input.charCodeAt(this.pos + 1) && ++this.pos;
2180
- case 10:
2181
- case 8232:
2182
- case 8233:
2183
- ++this.pos, this.options.locations && (++this.curLine, this.lineStart = this.pos);
2184
- break;
2185
- case 47:
2186
- switch (this.input.charCodeAt(this.pos + 1)) {
2187
- case 42:
2188
- this.skipBlockComment();
2189
- break;
2190
- case 47:
2191
- this.skipLineComment(2);
2192
- break;
2193
- default:
2194
- break t;
2195
- }
2196
- break;
2197
- default:
2198
- if (!(t4 > 8 && t4 < 14 || t4 >= 5760 && w.test(String.fromCharCode(t4))))
2029
+ t: for (; this.pos < this.input.length; ) {
2030
+ var t4 = this.input.charCodeAt(this.pos);
2031
+ switch (t4) {
2032
+ case 32:
2033
+ case 160:
2034
+ ++this.pos;
2035
+ break;
2036
+ case 13:
2037
+ 10 === this.input.charCodeAt(this.pos + 1) && ++this.pos;
2038
+ case 10:
2039
+ case 8232:
2040
+ case 8233:
2041
+ ++this.pos, this.options.locations && (++this.curLine, this.lineStart = this.pos);
2042
+ break;
2043
+ case 47:
2044
+ switch (this.input.charCodeAt(this.pos + 1)) {
2045
+ case 42:
2046
+ this.skipBlockComment();
2047
+ break;
2048
+ case 47:
2049
+ this.skipLineComment(2);
2050
+ break;
2051
+ default:
2199
2052
  break t;
2200
- ++this.pos;
2201
- }
2053
+ }
2054
+ break;
2055
+ default:
2056
+ if (!(t4 > 8 && t4 < 14 || t4 >= 5760 && w.test(String.fromCharCode(t4)))) break t;
2057
+ ++this.pos;
2202
2058
  }
2059
+ }
2203
2060
  }, Yt.finishToken = function(t4, e4) {
2204
2061
  this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
2205
2062
  var i3 = this.type;
2206
2063
  this.type = t4, this.value = e4, this.updateContext(i3);
2207
2064
  }, Yt.readToken_dot = function() {
2208
2065
  var t4 = this.input.charCodeAt(this.pos + 1);
2209
- if (t4 >= 48 && t4 <= 57)
2210
- return this.readNumber(true);
2066
+ if (t4 >= 48 && t4 <= 57) return this.readNumber(true);
2211
2067
  var e4 = this.input.charCodeAt(this.pos + 2);
2212
2068
  return this.options.ecmaVersion >= 6 && 46 === t4 && 46 === e4 ? (this.pos += 3, this.finishToken(b.ellipsis)) : (++this.pos, this.finishToken(b.dot));
2213
2069
  }, Yt.readToken_slash = function() {
@@ -2236,11 +2092,9 @@ var reactJsxParser_min = { exports: {} };
2236
2092
  var e4 = this.input.charCodeAt(this.pos + 1);
2237
2093
  if (46 === e4) {
2238
2094
  var i3 = this.input.charCodeAt(this.pos + 2);
2239
- if (i3 < 48 || i3 > 57)
2240
- return this.finishOp(b.questionDot, 2);
2095
+ if (i3 < 48 || i3 > 57) return this.finishOp(b.questionDot, 2);
2241
2096
  }
2242
- if (63 === e4)
2243
- return t4 >= 12 && 61 === this.input.charCodeAt(this.pos + 2) ? this.finishOp(b.assign, 3) : this.finishOp(b.coalesce, 2);
2097
+ if (63 === e4) return t4 >= 12 && 61 === this.input.charCodeAt(this.pos + 2) ? this.finishOp(b.assign, 3) : this.finishOp(b.coalesce, 2);
2244
2098
  }
2245
2099
  return this.finishOp(b.question, 1);
2246
2100
  }, Yt.getTokenFromCode = function(t4) {
@@ -2266,18 +2120,14 @@ var reactJsxParser_min = { exports: {} };
2266
2120
  case 58:
2267
2121
  return ++this.pos, this.finishToken(b.colon);
2268
2122
  case 96:
2269
- if (this.options.ecmaVersion < 6)
2270
- break;
2123
+ if (this.options.ecmaVersion < 6) break;
2271
2124
  return ++this.pos, this.finishToken(b.backQuote);
2272
2125
  case 48:
2273
2126
  var e4 = this.input.charCodeAt(this.pos + 1);
2274
- if (120 === e4 || 88 === e4)
2275
- return this.readRadixNumber(16);
2127
+ if (120 === e4 || 88 === e4) return this.readRadixNumber(16);
2276
2128
  if (this.options.ecmaVersion >= 6) {
2277
- if (111 === e4 || 79 === e4)
2278
- return this.readRadixNumber(8);
2279
- if (98 === e4 || 66 === e4)
2280
- return this.readRadixNumber(2);
2129
+ if (111 === e4 || 79 === e4) return this.readRadixNumber(8);
2130
+ if (98 === e4 || 66 === e4) return this.readRadixNumber(2);
2281
2131
  }
2282
2132
  case 49:
2283
2133
  case 50:
@@ -2324,15 +2174,11 @@ var reactJsxParser_min = { exports: {} };
2324
2174
  for (var t4, e4, i3 = this.pos; ; ) {
2325
2175
  this.pos >= this.input.length && this.raise(i3, "Unterminated regular expression");
2326
2176
  var s3 = this.input.charAt(this.pos);
2327
- if (_.test(s3) && this.raise(i3, "Unterminated regular expression"), t4)
2328
- t4 = false;
2177
+ if (_.test(s3) && this.raise(i3, "Unterminated regular expression"), t4) t4 = false;
2329
2178
  else {
2330
- if ("[" === s3)
2331
- e4 = true;
2332
- else if ("]" === s3 && e4)
2333
- e4 = false;
2334
- else if ("/" === s3 && !e4)
2335
- break;
2179
+ if ("[" === s3) e4 = true;
2180
+ else if ("]" === s3 && e4) e4 = false;
2181
+ else if ("/" === s3 && !e4) break;
2336
2182
  t4 = "\\" === s3;
2337
2183
  }
2338
2184
  ++this.pos;
@@ -2352,11 +2198,9 @@ var reactJsxParser_min = { exports: {} };
2352
2198
  }, Yt.readInt = function(t4, e4, i3) {
2353
2199
  for (var s3 = this.options.ecmaVersion >= 12 && void 0 === e4, r2 = i3 && 48 === this.input.charCodeAt(this.pos), a2 = this.pos, n2 = 0, o2 = 0, h2 = 0, p2 = null == e4 ? 1 / 0 : e4; h2 < p2; ++h2, ++this.pos) {
2354
2200
  var c2 = this.input.charCodeAt(this.pos), l2 = void 0;
2355
- if (s3 && 95 === c2)
2356
- r2 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), 95 === o2 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), 0 === h2 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), o2 = c2;
2201
+ if (s3 && 95 === c2) r2 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), 95 === o2 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), 0 === h2 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), o2 = c2;
2357
2202
  else {
2358
- if ((l2 = c2 >= 97 ? c2 - 97 + 10 : c2 >= 65 ? c2 - 65 + 10 : c2 >= 48 && c2 <= 57 ? c2 - 48 : 1 / 0) >= t4)
2359
- break;
2203
+ if ((l2 = c2 >= 97 ? c2 - 97 + 10 : c2 >= 65 ? c2 - 65 + 10 : c2 >= 48 && c2 <= 57 ? c2 - 48 : 1 / 0) >= t4) break;
2360
2204
  o2 = c2, n2 = n2 * t4 + l2;
2361
2205
  }
2362
2206
  }
@@ -2385,15 +2229,13 @@ var reactJsxParser_min = { exports: {} };
2385
2229
  this.options.ecmaVersion < 6 && this.unexpected();
2386
2230
  var e4 = ++this.pos;
2387
2231
  t4 = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos), ++this.pos, t4 > 1114111 && this.invalidStringToken(e4, "Code point out of bounds");
2388
- } else
2389
- t4 = this.readHexChar(4);
2232
+ } else t4 = this.readHexChar(4);
2390
2233
  return t4;
2391
2234
  }, Yt.readString = function(t4) {
2392
2235
  for (var e4 = "", i3 = ++this.pos; ; ) {
2393
2236
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
2394
2237
  var s3 = this.input.charCodeAt(this.pos);
2395
- if (s3 === t4)
2396
- break;
2238
+ if (s3 === t4) break;
2397
2239
  92 === s3 ? (e4 += this.input.slice(i3, this.pos), e4 += this.readEscapedChar(false), i3 = this.pos) : (S(s3, this.options.ecmaVersion >= 10) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
2398
2240
  }
2399
2241
  return e4 += this.input.slice(i3, this.pos++), this.finishToken(b.string, e4);
@@ -2404,23 +2246,19 @@ var reactJsxParser_min = { exports: {} };
2404
2246
  try {
2405
2247
  this.readTmplToken();
2406
2248
  } catch (t4) {
2407
- if (t4 !== ee)
2408
- throw t4;
2249
+ if (t4 !== ee) throw t4;
2409
2250
  this.readInvalidTemplateToken();
2410
2251
  }
2411
2252
  this.inTemplateElement = false;
2412
2253
  }, Yt.invalidStringToken = function(t4, e4) {
2413
- if (this.inTemplateElement && this.options.ecmaVersion >= 9)
2414
- throw ee;
2254
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw ee;
2415
2255
  this.raise(t4, e4);
2416
2256
  }, Yt.readTmplToken = function() {
2417
2257
  for (var t4 = "", e4 = this.pos; ; ) {
2418
2258
  this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
2419
2259
  var i3 = this.input.charCodeAt(this.pos);
2420
- if (96 === i3 || 36 === i3 && 123 === this.input.charCodeAt(this.pos + 1))
2421
- return this.pos !== this.start || this.type !== b.template && this.type !== b.invalidTemplate ? (t4 += this.input.slice(e4, this.pos), this.finishToken(b.template, t4)) : 36 === i3 ? (this.pos += 2, this.finishToken(b.dollarBraceL)) : (++this.pos, this.finishToken(b.backQuote));
2422
- if (92 === i3)
2423
- t4 += this.input.slice(e4, this.pos), t4 += this.readEscapedChar(true), e4 = this.pos;
2260
+ if (96 === i3 || 36 === i3 && 123 === this.input.charCodeAt(this.pos + 1)) return this.pos !== this.start || this.type !== b.template && this.type !== b.invalidTemplate ? (t4 += this.input.slice(e4, this.pos), this.finishToken(b.template, t4)) : 36 === i3 ? (this.pos += 2, this.finishToken(b.dollarBraceL)) : (++this.pos, this.finishToken(b.backQuote));
2261
+ if (92 === i3) t4 += this.input.slice(e4, this.pos), t4 += this.readEscapedChar(true), e4 = this.pos;
2424
2262
  else if (S(i3)) {
2425
2263
  switch (t4 += this.input.slice(e4, this.pos), ++this.pos, i3) {
2426
2264
  case 13:
@@ -2432,21 +2270,18 @@ var reactJsxParser_min = { exports: {} };
2432
2270
  t4 += String.fromCharCode(i3);
2433
2271
  }
2434
2272
  this.options.locations && (++this.curLine, this.lineStart = this.pos), e4 = this.pos;
2435
- } else
2436
- ++this.pos;
2273
+ } else ++this.pos;
2437
2274
  }
2438
2275
  }, Yt.readInvalidTemplateToken = function() {
2439
- for (; this.pos < this.input.length; this.pos++)
2440
- switch (this.input[this.pos]) {
2441
- case "\\":
2442
- ++this.pos;
2443
- break;
2444
- case "$":
2445
- if ("{" !== this.input[this.pos + 1])
2446
- break;
2447
- case "`":
2448
- return this.finishToken(b.invalidTemplate, this.input.slice(this.start, this.pos));
2449
- }
2276
+ for (; this.pos < this.input.length; this.pos++) switch (this.input[this.pos]) {
2277
+ case "\\":
2278
+ ++this.pos;
2279
+ break;
2280
+ case "$":
2281
+ if ("{" !== this.input[this.pos + 1]) break;
2282
+ case "`":
2283
+ return this.finishToken(b.invalidTemplate, this.input.slice(this.start, this.pos));
2284
+ }
2450
2285
  this.raise(this.start, "Unterminated template");
2451
2286
  }, Yt.readEscapedChar = function(t4) {
2452
2287
  var e4 = this.input.charCodeAt(++this.pos);
@@ -2491,11 +2326,9 @@ var reactJsxParser_min = { exports: {} };
2491
2326
  this.containsEsc = false;
2492
2327
  for (var t4 = "", e4 = true, i3 = this.pos, s3 = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
2493
2328
  var r2 = this.fullCharCodeAtPos();
2494
- if (d(r2, s3))
2495
- this.pos += r2 <= 65535 ? 1 : 2;
2329
+ if (d(r2, s3)) this.pos += r2 <= 65535 ? 1 : 2;
2496
2330
  else {
2497
- if (92 !== r2)
2498
- break;
2331
+ if (92 !== r2) break;
2499
2332
  this.containsEsc = true, t4 += this.input.slice(i3, this.pos);
2500
2333
  var a2 = this.pos;
2501
2334
  117 !== this.input.charCodeAt(++this.pos) && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
@@ -2528,10 +2361,8 @@ var reactJsxParser_min = { exports: {} };
2528
2361
  var l = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938], u = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
2529
2362
  function d(t3, e3) {
2530
2363
  for (var i3 = 65536, s3 = 0; s3 < e3.length; s3 += 2) {
2531
- if ((i3 += e3[s3]) > t3)
2532
- return false;
2533
- if ((i3 += e3[s3 + 1]) >= t3)
2534
- return true;
2364
+ if ((i3 += e3[s3]) > t3) return false;
2365
+ if ((i3 += e3[s3 + 1]) >= t3) return true;
2535
2366
  }
2536
2367
  }
2537
2368
  function f(t3, e3) {
@@ -2577,16 +2408,14 @@ var reactJsxParser_min = { exports: {} };
2577
2408
  for (var i3 = 1, s3 = 0; ; ) {
2578
2409
  w.lastIndex = s3;
2579
2410
  var r2 = w.exec(t3);
2580
- if (!(r2 && r2.index < e3))
2581
- return new O(i3, e3 - s3);
2411
+ if (!(r2 && r2.index < e3)) return new O(i3, e3 - s3);
2582
2412
  ++i3, s3 = r2.index + r2[0].length;
2583
2413
  }
2584
2414
  }
2585
2415
  var B = { ecmaVersion: null, sourceType: "script", onInsertedSemicolon: null, onTrailingComma: null, allowReserved: null, allowReturnOutsideFunction: false, allowImportExportEverywhere: false, allowAwaitOutsideFunction: false, allowHashBang: false, locations: false, onToken: null, onComment: null, ranges: false, program: null, sourceFile: null, directSourceFile: null, preserveParens: false }, D = false;
2586
2416
  function j(t3) {
2587
2417
  var e3 = {};
2588
- for (var i3 in B)
2589
- e3[i3] = t3 && N(t3, i3) ? t3[i3] : B[i3];
2418
+ for (var i3 in B) e3[i3] = t3 && N(t3, i3) ? t3[i3] : B[i3];
2590
2419
  if ("latest" === e3.ecmaVersion ? e3.ecmaVersion = 1e8 : null == e3.ecmaVersion ? (!D && "object" == typeof console && console.warn && (D = true, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), e3.ecmaVersion = 11) : e3.ecmaVersion >= 2015 && (e3.ecmaVersion -= 2009), null == e3.allowReserved && (e3.allowReserved = e3.ecmaVersion < 5), L(e3.onToken)) {
2591
2420
  var s3 = e3.onToken;
2592
2421
  e3.onToken = function(t4) {
@@ -2628,10 +2457,8 @@ var reactJsxParser_min = { exports: {} };
2628
2457
  }, q.inNonArrowFunction.get = function() {
2629
2458
  return (2 & this.currentThisScope().flags) > 0;
2630
2459
  }, F.extend = function() {
2631
- for (var t3 = [], e3 = arguments.length; e3--; )
2632
- t3[e3] = arguments[e3];
2633
- for (var i3 = this, s3 = 0; s3 < t3.length; s3++)
2634
- i3 = t3[s3](i3);
2460
+ for (var t3 = [], e3 = arguments.length; e3--; ) t3[e3] = arguments[e3];
2461
+ for (var i3 = this, s3 = 0; s3 < t3.length; s3++) i3 = t3[s3](i3);
2635
2462
  return i3;
2636
2463
  }, F.parse = function(t3, e3) {
2637
2464
  return new this(e3, t3).parse();
@@ -2649,8 +2476,7 @@ var reactJsxParser_min = { exports: {} };
2649
2476
  for (; ; ) {
2650
2477
  A.lastIndex = t3, t3 += A.exec(this.input)[0].length;
2651
2478
  var e3 = H.exec(this.input.slice(t3));
2652
- if (!e3)
2653
- return false;
2479
+ if (!e3) return false;
2654
2480
  if ("use strict" === (e3[1] || e3[2])) {
2655
2481
  A.lastIndex = t3 + e3[0].length;
2656
2482
  var i3 = A.exec(this.input), s3 = i3.index + i3[0].length, r2 = this.input.charAt(s3);
@@ -2669,13 +2495,11 @@ var reactJsxParser_min = { exports: {} };
2669
2495
  }, G.canInsertSemicolon = function() {
2670
2496
  return this.type === k.eof || this.type === k.braceR || S.test(this.input.slice(this.lastTokEnd, this.start));
2671
2497
  }, G.insertSemicolon = function() {
2672
- if (this.canInsertSemicolon())
2673
- return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), true;
2498
+ if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), true;
2674
2499
  }, G.semicolon = function() {
2675
2500
  this.eat(k.semi) || this.insertSemicolon() || this.unexpected();
2676
2501
  }, G.afterTrailingComma = function(t3, e3) {
2677
- if (this.type === t3)
2678
- return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), e3 || this.next(), true;
2502
+ if (this.type === t3) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), e3 || this.next(), true;
2679
2503
  }, G.expect = function(t3) {
2680
2504
  this.eat(t3) || this.unexpected();
2681
2505
  }, G.unexpected = function(t3) {
@@ -2687,11 +2511,9 @@ var reactJsxParser_min = { exports: {} };
2687
2511
  i3 > -1 && this.raiseRecoverable(i3, "Parenthesized pattern");
2688
2512
  }
2689
2513
  }, G.checkExpressionErrors = function(t3, e3) {
2690
- if (!t3)
2691
- return false;
2514
+ if (!t3) return false;
2692
2515
  var i3 = t3.shorthandAssign, s3 = t3.doubleProto;
2693
- if (!e3)
2694
- return i3 >= 0 || s3 >= 0;
2516
+ if (!e3) return i3 >= 0 || s3 >= 0;
2695
2517
  i3 >= 0 && this.raise(i3, "Shorthand property assignments are valid only in destructuring patterns"), s3 >= 0 && this.raiseRecoverable(s3, "Redefinition of __proto__ property");
2696
2518
  }, G.checkYieldAwaitInDefaultParams = function() {
2697
2519
  this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
@@ -2705,36 +2527,28 @@ var reactJsxParser_min = { exports: {} };
2705
2527
  var i3 = this.parseStatement(null, true, e3);
2706
2528
  t3.body.push(i3);
2707
2529
  }
2708
- if (this.inModule)
2709
- for (var s3 = 0, r2 = Object.keys(this.undefinedExports); s3 < r2.length; s3 += 1) {
2710
- var a2 = r2[s3];
2711
- this.raiseRecoverable(this.undefinedExports[a2].start, "Export '" + a2 + "' is not defined");
2712
- }
2530
+ if (this.inModule) for (var s3 = 0, r2 = Object.keys(this.undefinedExports); s3 < r2.length; s3 += 1) {
2531
+ var a2 = r2[s3];
2532
+ this.raiseRecoverable(this.undefinedExports[a2].start, "Export '" + a2 + "' is not defined");
2533
+ }
2713
2534
  return this.adaptDirectivePrologue(t3.body), this.next(), t3.sourceType = this.options.sourceType, this.finishNode(t3, "Program");
2714
2535
  };
2715
2536
  var K = { kind: "loop" }, X = { kind: "switch" };
2716
2537
  z.isLet = function(t3) {
2717
- if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
2718
- return false;
2538
+ if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return false;
2719
2539
  A.lastIndex = this.pos;
2720
2540
  var e3 = A.exec(this.input), i3 = this.pos + e3[0].length, s3 = this.input.charCodeAt(i3);
2721
- if (91 === s3)
2722
- return true;
2723
- if (t3)
2724
- return false;
2725
- if (123 === s3)
2726
- return true;
2541
+ if (91 === s3) return true;
2542
+ if (t3) return false;
2543
+ if (123 === s3) return true;
2727
2544
  if (f(s3, true)) {
2728
- for (var r2 = i3 + 1; m(this.input.charCodeAt(r2), true); )
2729
- ++r2;
2545
+ for (var r2 = i3 + 1; m(this.input.charCodeAt(r2), true); ) ++r2;
2730
2546
  var a2 = this.input.slice(i3, r2);
2731
- if (!n.test(a2))
2732
- return true;
2547
+ if (!n.test(a2)) return true;
2733
2548
  }
2734
2549
  return false;
2735
2550
  }, z.isAsyncFunction = function() {
2736
- if (this.options.ecmaVersion < 8 || !this.isContextual("async"))
2737
- return false;
2551
+ if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return false;
2738
2552
  A.lastIndex = this.pos;
2739
2553
  var t3 = A.exec(this.input), e3 = this.pos + t3[0].length;
2740
2554
  return !(S.test(this.input.slice(this.pos, e3)) || "function" !== this.input.slice(e3, e3 + 8) || e3 + 8 !== this.input.length && m(this.input.charAt(e3 + 8)));
@@ -2780,13 +2594,11 @@ var reactJsxParser_min = { exports: {} };
2780
2594
  if (this.options.ecmaVersion > 10 && r2 === k._import) {
2781
2595
  A.lastIndex = this.pos;
2782
2596
  var n2 = A.exec(this.input), o2 = this.pos + n2[0].length, h2 = this.input.charCodeAt(o2);
2783
- if (40 === h2 || 46 === h2)
2784
- return this.parseExpressionStatement(a2, this.parseExpression());
2597
+ if (40 === h2 || 46 === h2) return this.parseExpressionStatement(a2, this.parseExpression());
2785
2598
  }
2786
2599
  return this.options.allowImportExportEverywhere || (e3 || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), r2 === k._import ? this.parseImport(a2) : this.parseExport(a2, i3);
2787
2600
  default:
2788
- if (this.isAsyncFunction())
2789
- return t3 && this.unexpected(), this.next(), this.parseFunctionStatement(a2, true, !t3);
2601
+ if (this.isAsyncFunction()) return t3 && this.unexpected(), this.next(), this.parseFunctionStatement(a2, true, !t3);
2790
2602
  var p2 = this.value, c2 = this.parseExpression();
2791
2603
  return r2 === k.name && "Identifier" === c2.type && this.eat(k.colon) ? this.parseLabeledStatement(a2, p2, c2, t3) : this.parseExpressionStatement(a2, c2);
2792
2604
  }
@@ -2796,10 +2608,8 @@ var reactJsxParser_min = { exports: {} };
2796
2608
  for (var s3 = 0; s3 < this.labels.length; ++s3) {
2797
2609
  var r2 = this.labels[s3];
2798
2610
  if (null == t3.label || r2.name === t3.label.name) {
2799
- if (null != r2.kind && (i3 || "loop" === r2.kind))
2800
- break;
2801
- if (t3.label && i3)
2802
- break;
2611
+ if (null != r2.kind && (i3 || "loop" === r2.kind)) break;
2612
+ if (t3.label && i3) break;
2803
2613
  }
2804
2614
  }
2805
2615
  return s3 === this.labels.length && this.raise(t3.start, "Unsyntactic " + e3), this.finishNode(t3, i3 ? "BreakStatement" : "ContinueStatement");
@@ -2810,8 +2620,7 @@ var reactJsxParser_min = { exports: {} };
2810
2620
  }, z.parseForStatement = function(t3) {
2811
2621
  this.next();
2812
2622
  var e3 = this.options.ecmaVersion >= 9 && (this.inAsync || !this.inFunction && this.options.allowAwaitOutsideFunction) && this.eatContextual("await") ? this.lastTokStart : -1;
2813
- if (this.labels.push(K), this.enterScope(0), this.expect(k.parenL), this.type === k.semi)
2814
- return e3 > -1 && this.unexpected(e3), this.parseFor(t3, null);
2623
+ if (this.labels.push(K), this.enterScope(0), this.expect(k.parenL), this.type === k.semi) return e3 > -1 && this.unexpected(e3), this.parseFor(t3, null);
2815
2624
  var i3 = this.isLet();
2816
2625
  if (this.type === k._var || this.type === k._const || i3) {
2817
2626
  var s3 = this.startNode(), r2 = i3 ? "let" : this.value;
@@ -2828,12 +2637,10 @@ var reactJsxParser_min = { exports: {} };
2828
2637
  }, z.parseSwitchStatement = function(t3) {
2829
2638
  var e3;
2830
2639
  this.next(), t3.discriminant = this.parseParenExpression(), t3.cases = [], this.expect(k.braceL), this.labels.push(X), this.enterScope(0);
2831
- for (var i3 = false; this.type !== k.braceR; )
2832
- if (this.type === k._case || this.type === k._default) {
2833
- var s3 = this.type === k._case;
2834
- e3 && this.finishNode(e3, "SwitchCase"), t3.cases.push(e3 = this.startNode()), e3.consequent = [], this.next(), s3 ? e3.test = this.parseExpression() : (i3 && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), i3 = true, e3.test = null), this.expect(k.colon);
2835
- } else
2836
- e3 || this.unexpected(), e3.consequent.push(this.parseStatement(null));
2640
+ for (var i3 = false; this.type !== k.braceR; ) if (this.type === k._case || this.type === k._default) {
2641
+ var s3 = this.type === k._case;
2642
+ e3 && this.finishNode(e3, "SwitchCase"), t3.cases.push(e3 = this.startNode()), e3.consequent = [], this.next(), s3 ? e3.test = this.parseExpression() : (i3 && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), i3 = true, e3.test = null), this.expect(k.colon);
2643
+ } else e3 || this.unexpected(), e3.consequent.push(this.parseStatement(null));
2837
2644
  return this.exitScope(), e3 && this.finishNode(e3, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(t3, "SwitchStatement");
2838
2645
  }, z.parseThrowStatement = function(t3) {
2839
2646
  return this.next(), S.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), t3.argument = this.parseExpression(), this.semicolon(), this.finishNode(t3, "ThrowStatement");
@@ -2846,8 +2653,7 @@ var reactJsxParser_min = { exports: {} };
2846
2653
  e3.param = this.parseBindingAtom();
2847
2654
  var i3 = "Identifier" === e3.param.type;
2848
2655
  this.enterScope(i3 ? 32 : 0), this.checkLValPattern(e3.param, i3 ? 4 : 2), this.expect(k.parenR);
2849
- } else
2850
- this.options.ecmaVersion < 10 && this.unexpected(), e3.param = null, this.enterScope(0);
2656
+ } else this.options.ecmaVersion < 10 && this.unexpected(), e3.param = null, this.enterScope(0);
2851
2657
  e3.body = this.parseBlock(false), this.exitScope(), t3.handler = this.finishNode(e3, "CatchClause");
2852
2658
  }
2853
2659
  return t3.finalizer = this.eat(k._finally) ? this.parseBlock() : null, t3.handler || t3.finalizer || this.raise(t3.start, "Missing catch or finally clause"), this.finishNode(t3, "TryStatement");
@@ -2865,8 +2671,7 @@ var reactJsxParser_min = { exports: {} };
2865
2671
  }
2866
2672
  for (var n2 = this.type.isLoop ? "loop" : this.type === k._switch ? "switch" : null, o2 = this.labels.length - 1; o2 >= 0; o2--) {
2867
2673
  var h2 = this.labels[o2];
2868
- if (h2.statementStart !== t3.start)
2869
- break;
2674
+ if (h2.statementStart !== t3.start) break;
2870
2675
  h2.statementStart = this.start, h2.kind = n2;
2871
2676
  }
2872
2677
  return this.labels.push({ name: e3, kind: n2, statementStart: this.start }), t3.body = this.parseStatement(s3 ? -1 === s3.indexOf("label") ? s3 + "label" : s3 : "label"), this.labels.pop(), t3.label = i3, this.finishNode(t3, "LabeledStatement");
@@ -2886,8 +2691,7 @@ var reactJsxParser_min = { exports: {} };
2886
2691
  }, z.parseVar = function(t3, e3, i3) {
2887
2692
  for (t3.declarations = [], t3.kind = i3; ; ) {
2888
2693
  var s3 = this.startNode();
2889
- if (this.parseVarId(s3, i3), this.eat(k.eq) ? s3.init = this.parseMaybeAssign(e3) : "const" !== i3 || this.type === k._in || this.options.ecmaVersion >= 6 && this.isContextual("of") ? "Identifier" === s3.id.type || e3 && (this.type === k._in || this.isContextual("of")) ? s3.init = null : this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : this.unexpected(), t3.declarations.push(this.finishNode(s3, "VariableDeclarator")), !this.eat(k.comma))
2890
- break;
2694
+ if (this.parseVarId(s3, i3), this.eat(k.eq) ? s3.init = this.parseMaybeAssign(e3) : "const" !== i3 || this.type === k._in || this.options.ecmaVersion >= 6 && this.isContextual("of") ? "Identifier" === s3.id.type || e3 && (this.type === k._in || this.isContextual("of")) ? s3.init = null : this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : this.unexpected(), t3.declarations.push(this.finishNode(s3, "VariableDeclarator")), !this.eat(k.comma)) break;
2891
2695
  }
2892
2696
  return t3;
2893
2697
  }, z.parseVarId = function(t3, e3) {
@@ -2912,8 +2716,7 @@ var reactJsxParser_min = { exports: {} };
2912
2716
  return this.strict = i3, this.next(), t3.body = this.finishNode(s3, "ClassBody"), this.finishNode(t3, e3 ? "ClassDeclaration" : "ClassExpression");
2913
2717
  }, z.parseClassElement = function(t3) {
2914
2718
  var e3 = this;
2915
- if (this.eat(k.semi))
2916
- return null;
2719
+ if (this.eat(k.semi)) return null;
2917
2720
  var i3 = this.startNode(), s3 = function(t4, s4) {
2918
2721
  void 0 === s4 && (s4 = false);
2919
2722
  var r3 = e3.start, a3 = e3.startLoc;
@@ -2931,8 +2734,7 @@ var reactJsxParser_min = { exports: {} };
2931
2734
  }, z.parseClassSuper = function(t3) {
2932
2735
  t3.superClass = this.eat(k._extends) ? this.parseExprSubscripts() : null;
2933
2736
  }, z.parseExport = function(t3, e3) {
2934
- if (this.next(), this.eat(k.star))
2935
- return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (t3.exported = this.parseIdent(true), this.checkExport(e3, t3.exported.name, this.lastTokStart)) : t3.exported = null), this.expectContextual("from"), this.type !== k.string && this.unexpected(), t3.source = this.parseExprAtom(), this.semicolon(), this.finishNode(t3, "ExportAllDeclaration");
2737
+ if (this.next(), this.eat(k.star)) return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (t3.exported = this.parseIdent(true), this.checkExport(e3, t3.exported.name, this.lastTokStart)) : t3.exported = null), this.expectContextual("from"), this.type !== k.string && this.unexpected(), t3.source = this.parseExprAtom(), this.semicolon(), this.finishNode(t3, "ExportAllDeclaration");
2936
2738
  if (this.eat(k._default)) {
2937
2739
  var i3;
2938
2740
  if (this.checkExport(e3, "default", this.lastTokStart), this.type === k._function || (i3 = this.isAsyncFunction())) {
@@ -2941,15 +2743,12 @@ var reactJsxParser_min = { exports: {} };
2941
2743
  } else if (this.type === k._class) {
2942
2744
  var r2 = this.startNode();
2943
2745
  t3.declaration = this.parseClass(r2, "nullableID");
2944
- } else
2945
- t3.declaration = this.parseMaybeAssign(), this.semicolon();
2746
+ } else t3.declaration = this.parseMaybeAssign(), this.semicolon();
2946
2747
  return this.finishNode(t3, "ExportDefaultDeclaration");
2947
2748
  }
2948
- if (this.shouldParseExportStatement())
2949
- t3.declaration = this.parseStatement(null), "VariableDeclaration" === t3.declaration.type ? this.checkVariableExport(e3, t3.declaration.declarations) : this.checkExport(e3, t3.declaration.id.name, t3.declaration.id.start), t3.specifiers = [], t3.source = null;
2749
+ if (this.shouldParseExportStatement()) t3.declaration = this.parseStatement(null), "VariableDeclaration" === t3.declaration.type ? this.checkVariableExport(e3, t3.declaration.declarations) : this.checkExport(e3, t3.declaration.id.name, t3.declaration.id.start), t3.specifiers = [], t3.source = null;
2950
2750
  else {
2951
- if (t3.declaration = null, t3.specifiers = this.parseExportSpecifiers(e3), this.eatContextual("from"))
2952
- this.type !== k.string && this.unexpected(), t3.source = this.parseExprAtom();
2751
+ if (t3.declaration = null, t3.specifiers = this.parseExportSpecifiers(e3), this.eatContextual("from")) this.type !== k.string && this.unexpected(), t3.source = this.parseExprAtom();
2953
2752
  else {
2954
2753
  for (var a2 = 0, n2 = t3.specifiers; a2 < n2.length; a2 += 1) {
2955
2754
  var o2 = n2[a2];
@@ -2964,35 +2763,28 @@ var reactJsxParser_min = { exports: {} };
2964
2763
  t3 && (N(t3, e3) && this.raiseRecoverable(i3, "Duplicate export '" + e3 + "'"), t3[e3] = true);
2965
2764
  }, z.checkPatternExport = function(t3, e3) {
2966
2765
  var i3 = e3.type;
2967
- if ("Identifier" === i3)
2968
- this.checkExport(t3, e3.name, e3.start);
2969
- else if ("ObjectPattern" === i3)
2970
- for (var s3 = 0, r2 = e3.properties; s3 < r2.length; s3 += 1) {
2971
- var a2 = r2[s3];
2972
- this.checkPatternExport(t3, a2);
2973
- }
2974
- else if ("ArrayPattern" === i3)
2975
- for (var n2 = 0, o2 = e3.elements; n2 < o2.length; n2 += 1) {
2976
- var h2 = o2[n2];
2977
- h2 && this.checkPatternExport(t3, h2);
2978
- }
2979
- else
2980
- "Property" === i3 ? this.checkPatternExport(t3, e3.value) : "AssignmentPattern" === i3 ? this.checkPatternExport(t3, e3.left) : "RestElement" === i3 ? this.checkPatternExport(t3, e3.argument) : "ParenthesizedExpression" === i3 && this.checkPatternExport(t3, e3.expression);
2766
+ if ("Identifier" === i3) this.checkExport(t3, e3.name, e3.start);
2767
+ else if ("ObjectPattern" === i3) for (var s3 = 0, r2 = e3.properties; s3 < r2.length; s3 += 1) {
2768
+ var a2 = r2[s3];
2769
+ this.checkPatternExport(t3, a2);
2770
+ }
2771
+ else if ("ArrayPattern" === i3) for (var n2 = 0, o2 = e3.elements; n2 < o2.length; n2 += 1) {
2772
+ var h2 = o2[n2];
2773
+ h2 && this.checkPatternExport(t3, h2);
2774
+ }
2775
+ else "Property" === i3 ? this.checkPatternExport(t3, e3.value) : "AssignmentPattern" === i3 ? this.checkPatternExport(t3, e3.left) : "RestElement" === i3 ? this.checkPatternExport(t3, e3.argument) : "ParenthesizedExpression" === i3 && this.checkPatternExport(t3, e3.expression);
2981
2776
  }, z.checkVariableExport = function(t3, e3) {
2982
- if (t3)
2983
- for (var i3 = 0, s3 = e3; i3 < s3.length; i3 += 1) {
2984
- var r2 = s3[i3];
2985
- this.checkPatternExport(t3, r2.id);
2986
- }
2777
+ if (t3) for (var i3 = 0, s3 = e3; i3 < s3.length; i3 += 1) {
2778
+ var r2 = s3[i3];
2779
+ this.checkPatternExport(t3, r2.id);
2780
+ }
2987
2781
  }, z.shouldParseExportStatement = function() {
2988
2782
  return "var" === this.type.keyword || "const" === this.type.keyword || "class" === this.type.keyword || "function" === this.type.keyword || this.isLet() || this.isAsyncFunction();
2989
2783
  }, z.parseExportSpecifiers = function(t3) {
2990
2784
  var e3 = [], i3 = true;
2991
2785
  for (this.expect(k.braceL); !this.eat(k.braceR); ) {
2992
- if (i3)
2993
- i3 = false;
2994
- else if (this.expect(k.comma), this.afterTrailingComma(k.braceR))
2995
- break;
2786
+ if (i3) i3 = false;
2787
+ else if (this.expect(k.comma), this.afterTrailingComma(k.braceR)) break;
2996
2788
  var s3 = this.startNode();
2997
2789
  s3.local = this.parseIdent(true), s3.exported = this.eatContextual("as") ? this.parseIdent(true) : s3.local, this.checkExport(t3, s3.exported.name, s3.exported.start), e3.push(this.finishNode(s3, "ExportSpecifier"));
2998
2790
  }
@@ -3003,73 +2795,66 @@ var reactJsxParser_min = { exports: {} };
3003
2795
  var t3 = [], e3 = true;
3004
2796
  if (this.type === k.name) {
3005
2797
  var i3 = this.startNode();
3006
- if (i3.local = this.parseIdent(), this.checkLValSimple(i3.local, 2), t3.push(this.finishNode(i3, "ImportDefaultSpecifier")), !this.eat(k.comma))
3007
- return t3;
2798
+ if (i3.local = this.parseIdent(), this.checkLValSimple(i3.local, 2), t3.push(this.finishNode(i3, "ImportDefaultSpecifier")), !this.eat(k.comma)) return t3;
3008
2799
  }
3009
2800
  if (this.type === k.star) {
3010
2801
  var s3 = this.startNode();
3011
2802
  return this.next(), this.expectContextual("as"), s3.local = this.parseIdent(), this.checkLValSimple(s3.local, 2), t3.push(this.finishNode(s3, "ImportNamespaceSpecifier")), t3;
3012
2803
  }
3013
2804
  for (this.expect(k.braceL); !this.eat(k.braceR); ) {
3014
- if (e3)
3015
- e3 = false;
3016
- else if (this.expect(k.comma), this.afterTrailingComma(k.braceR))
3017
- break;
2805
+ if (e3) e3 = false;
2806
+ else if (this.expect(k.comma), this.afterTrailingComma(k.braceR)) break;
3018
2807
  var r2 = this.startNode();
3019
2808
  r2.imported = this.parseIdent(true), this.eatContextual("as") ? r2.local = this.parseIdent() : (this.checkUnreserved(r2.imported), r2.local = r2.imported), this.checkLValSimple(r2.local, 2), t3.push(this.finishNode(r2, "ImportSpecifier"));
3020
2809
  }
3021
2810
  return t3;
3022
2811
  }, z.adaptDirectivePrologue = function(t3) {
3023
- for (var e3 = 0; e3 < t3.length && this.isDirectiveCandidate(t3[e3]); ++e3)
3024
- t3[e3].directive = t3[e3].expression.raw.slice(1, -1);
2812
+ for (var e3 = 0; e3 < t3.length && this.isDirectiveCandidate(t3[e3]); ++e3) t3[e3].directive = t3[e3].expression.raw.slice(1, -1);
3025
2813
  }, z.isDirectiveCandidate = function(t3) {
3026
2814
  return "ExpressionStatement" === t3.type && "Literal" === t3.expression.type && "string" == typeof t3.expression.value && ('"' === this.input[t3.start] || "'" === this.input[t3.start]);
3027
2815
  };
3028
2816
  var Z = F.prototype;
3029
2817
  Z.toAssignable = function(t3, e3, i3) {
3030
- if (this.options.ecmaVersion >= 6 && t3)
3031
- switch (t3.type) {
3032
- case "Identifier":
3033
- this.inAsync && "await" === t3.name && this.raise(t3.start, "Cannot use 'await' as identifier inside an async function");
3034
- break;
3035
- case "ObjectPattern":
3036
- case "ArrayPattern":
3037
- case "AssignmentPattern":
3038
- case "RestElement":
3039
- break;
3040
- case "ObjectExpression":
3041
- t3.type = "ObjectPattern", i3 && this.checkPatternErrors(i3, true);
3042
- for (var s3 = 0, r2 = t3.properties; s3 < r2.length; s3 += 1) {
3043
- var a2 = r2[s3];
3044
- this.toAssignable(a2, e3), "RestElement" !== a2.type || "ArrayPattern" !== a2.argument.type && "ObjectPattern" !== a2.argument.type || this.raise(a2.argument.start, "Unexpected token");
3045
- }
3046
- break;
3047
- case "Property":
3048
- "init" !== t3.kind && this.raise(t3.key.start, "Object pattern can't contain getter or setter"), this.toAssignable(t3.value, e3);
3049
- break;
3050
- case "ArrayExpression":
3051
- t3.type = "ArrayPattern", i3 && this.checkPatternErrors(i3, true), this.toAssignableList(t3.elements, e3);
3052
- break;
3053
- case "SpreadElement":
3054
- t3.type = "RestElement", this.toAssignable(t3.argument, e3), "AssignmentPattern" === t3.argument.type && this.raise(t3.argument.start, "Rest elements cannot have a default value");
3055
- break;
3056
- case "AssignmentExpression":
3057
- "=" !== t3.operator && this.raise(t3.left.end, "Only '=' operator can be used for specifying default value."), t3.type = "AssignmentPattern", delete t3.operator, this.toAssignable(t3.left, e3);
3058
- break;
3059
- case "ParenthesizedExpression":
3060
- this.toAssignable(t3.expression, e3, i3);
3061
- break;
3062
- case "ChainExpression":
3063
- this.raiseRecoverable(t3.start, "Optional chaining cannot appear in left-hand side");
3064
- break;
3065
- case "MemberExpression":
3066
- if (!e3)
3067
- break;
3068
- default:
3069
- this.raise(t3.start, "Assigning to rvalue");
3070
- }
3071
- else
3072
- i3 && this.checkPatternErrors(i3, true);
2818
+ if (this.options.ecmaVersion >= 6 && t3) switch (t3.type) {
2819
+ case "Identifier":
2820
+ this.inAsync && "await" === t3.name && this.raise(t3.start, "Cannot use 'await' as identifier inside an async function");
2821
+ break;
2822
+ case "ObjectPattern":
2823
+ case "ArrayPattern":
2824
+ case "AssignmentPattern":
2825
+ case "RestElement":
2826
+ break;
2827
+ case "ObjectExpression":
2828
+ t3.type = "ObjectPattern", i3 && this.checkPatternErrors(i3, true);
2829
+ for (var s3 = 0, r2 = t3.properties; s3 < r2.length; s3 += 1) {
2830
+ var a2 = r2[s3];
2831
+ this.toAssignable(a2, e3), "RestElement" !== a2.type || "ArrayPattern" !== a2.argument.type && "ObjectPattern" !== a2.argument.type || this.raise(a2.argument.start, "Unexpected token");
2832
+ }
2833
+ break;
2834
+ case "Property":
2835
+ "init" !== t3.kind && this.raise(t3.key.start, "Object pattern can't contain getter or setter"), this.toAssignable(t3.value, e3);
2836
+ break;
2837
+ case "ArrayExpression":
2838
+ t3.type = "ArrayPattern", i3 && this.checkPatternErrors(i3, true), this.toAssignableList(t3.elements, e3);
2839
+ break;
2840
+ case "SpreadElement":
2841
+ t3.type = "RestElement", this.toAssignable(t3.argument, e3), "AssignmentPattern" === t3.argument.type && this.raise(t3.argument.start, "Rest elements cannot have a default value");
2842
+ break;
2843
+ case "AssignmentExpression":
2844
+ "=" !== t3.operator && this.raise(t3.left.end, "Only '=' operator can be used for specifying default value."), t3.type = "AssignmentPattern", delete t3.operator, this.toAssignable(t3.left, e3);
2845
+ break;
2846
+ case "ParenthesizedExpression":
2847
+ this.toAssignable(t3.expression, e3, i3);
2848
+ break;
2849
+ case "ChainExpression":
2850
+ this.raiseRecoverable(t3.start, "Optional chaining cannot appear in left-hand side");
2851
+ break;
2852
+ case "MemberExpression":
2853
+ if (!e3) break;
2854
+ default:
2855
+ this.raise(t3.start, "Assigning to rvalue");
2856
+ }
2857
+ else i3 && this.checkPatternErrors(i3, true);
3073
2858
  return t3;
3074
2859
  }, Z.toAssignableList = function(t3, e3) {
3075
2860
  for (var i3 = t3.length, s3 = 0; s3 < i3; s3++) {
@@ -3088,36 +2873,31 @@ var reactJsxParser_min = { exports: {} };
3088
2873
  var t3 = this.startNode();
3089
2874
  return this.next(), 6 === this.options.ecmaVersion && this.type !== k.name && this.unexpected(), t3.argument = this.parseBindingAtom(), this.finishNode(t3, "RestElement");
3090
2875
  }, Z.parseBindingAtom = function() {
3091
- if (this.options.ecmaVersion >= 6)
3092
- switch (this.type) {
3093
- case k.bracketL:
3094
- var t3 = this.startNode();
3095
- return this.next(), t3.elements = this.parseBindingList(k.bracketR, true, true), this.finishNode(t3, "ArrayPattern");
3096
- case k.braceL:
3097
- return this.parseObj(true);
3098
- }
2876
+ if (this.options.ecmaVersion >= 6) switch (this.type) {
2877
+ case k.bracketL:
2878
+ var t3 = this.startNode();
2879
+ return this.next(), t3.elements = this.parseBindingList(k.bracketR, true, true), this.finishNode(t3, "ArrayPattern");
2880
+ case k.braceL:
2881
+ return this.parseObj(true);
2882
+ }
3099
2883
  return this.parseIdent();
3100
2884
  }, Z.parseBindingList = function(t3, e3, i3) {
3101
- for (var s3 = [], r2 = true; !this.eat(t3); )
3102
- if (r2 ? r2 = false : this.expect(k.comma), e3 && this.type === k.comma)
3103
- s3.push(null);
3104
- else {
3105
- if (i3 && this.afterTrailingComma(t3))
3106
- break;
3107
- if (this.type === k.ellipsis) {
3108
- var a2 = this.parseRestBinding();
3109
- this.parseBindingListItem(a2), s3.push(a2), this.type === k.comma && this.raise(this.start, "Comma is not permitted after the rest element"), this.expect(t3);
3110
- break;
3111
- }
3112
- var n2 = this.parseMaybeDefault(this.start, this.startLoc);
3113
- this.parseBindingListItem(n2), s3.push(n2);
2885
+ for (var s3 = [], r2 = true; !this.eat(t3); ) if (r2 ? r2 = false : this.expect(k.comma), e3 && this.type === k.comma) s3.push(null);
2886
+ else {
2887
+ if (i3 && this.afterTrailingComma(t3)) break;
2888
+ if (this.type === k.ellipsis) {
2889
+ var a2 = this.parseRestBinding();
2890
+ this.parseBindingListItem(a2), s3.push(a2), this.type === k.comma && this.raise(this.start, "Comma is not permitted after the rest element"), this.expect(t3);
2891
+ break;
3114
2892
  }
2893
+ var n2 = this.parseMaybeDefault(this.start, this.startLoc);
2894
+ this.parseBindingListItem(n2), s3.push(n2);
2895
+ }
3115
2896
  return s3;
3116
2897
  }, Z.parseBindingListItem = function(t3) {
3117
2898
  return t3;
3118
2899
  }, Z.parseMaybeDefault = function(t3, e3, i3) {
3119
- if (i3 = i3 || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(k.eq))
3120
- return i3;
2900
+ if (i3 = i3 || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(k.eq)) return i3;
3121
2901
  var s3 = this.startNodeAt(t3, e3);
3122
2902
  return s3.left = i3, s3.right = this.parseMaybeAssign(), this.finishNode(s3, "AssignmentPattern");
3123
2903
  }, Z.checkLValSimple = function(t3, e3, i3) {
@@ -3185,14 +2965,11 @@ var reactJsxParser_min = { exports: {} };
3185
2965
  return;
3186
2966
  }
3187
2967
  var a2 = t3.kind;
3188
- if (this.options.ecmaVersion >= 6)
3189
- "__proto__" === s3 && "init" === a2 && (e3.proto && (i3 ? i3.doubleProto < 0 && (i3.doubleProto = r2.start) : this.raiseRecoverable(r2.start, "Redefinition of __proto__ property")), e3.proto = true);
2968
+ if (this.options.ecmaVersion >= 6) "__proto__" === s3 && "init" === a2 && (e3.proto && (i3 ? i3.doubleProto < 0 && (i3.doubleProto = r2.start) : this.raiseRecoverable(r2.start, "Redefinition of __proto__ property")), e3.proto = true);
3190
2969
  else {
3191
2970
  var n2 = e3[s3 = "$" + s3];
3192
- if (n2)
3193
- ("init" === a2 ? this.strict && n2.init || n2.get || n2.set : n2.init || n2[a2]) && this.raiseRecoverable(r2.start, "Redefinition of property");
3194
- else
3195
- n2 = e3[s3] = { init: false, get: false, set: false };
2971
+ if (n2) ("init" === a2 ? this.strict && n2.init || n2.get || n2.set : n2.init || n2[a2]) && this.raiseRecoverable(r2.start, "Redefinition of property");
2972
+ else n2 = e3[s3] = { init: false, get: false, set: false };
3196
2973
  n2[a2] = true;
3197
2974
  }
3198
2975
  }
@@ -3200,15 +2977,13 @@ var reactJsxParser_min = { exports: {} };
3200
2977
  var i3 = this.start, s3 = this.startLoc, r2 = this.parseMaybeAssign(t3, e3);
3201
2978
  if (this.type === k.comma) {
3202
2979
  var a2 = this.startNodeAt(i3, s3);
3203
- for (a2.expressions = [r2]; this.eat(k.comma); )
3204
- a2.expressions.push(this.parseMaybeAssign(t3, e3));
2980
+ for (a2.expressions = [r2]; this.eat(k.comma); ) a2.expressions.push(this.parseMaybeAssign(t3, e3));
3205
2981
  return this.finishNode(a2, "SequenceExpression");
3206
2982
  }
3207
2983
  return r2;
3208
2984
  }, $.parseMaybeAssign = function(t3, e3, i3) {
3209
2985
  if (this.isContextual("yield")) {
3210
- if (this.inGenerator)
3211
- return this.parseYield(t3);
2986
+ if (this.inGenerator) return this.parseYield(t3);
3212
2987
  this.exprAllowed = false;
3213
2988
  }
3214
2989
  var s3 = false, r2 = -1, a2 = -1;
@@ -3223,8 +2998,7 @@ var reactJsxParser_min = { exports: {} };
3223
2998
  return s3 && this.checkExpressionErrors(e3, true), r2 > -1 && (e3.parenthesizedAssign = r2), a2 > -1 && (e3.trailingComma = a2), h2;
3224
2999
  }, $.parseMaybeConditional = function(t3, e3) {
3225
3000
  var i3 = this.start, s3 = this.startLoc, r2 = this.parseExprOps(t3, e3);
3226
- if (this.checkExpressionErrors(e3))
3227
- return r2;
3001
+ if (this.checkExpressionErrors(e3)) return r2;
3228
3002
  if (this.eat(k.question)) {
3229
3003
  var a2 = this.startNodeAt(i3, s3);
3230
3004
  return a2.test = r2, a2.consequent = this.parseMaybeAssign(), this.expect(k.colon), a2.alternate = this.parseMaybeAssign(t3), this.finishNode(a2, "ConditionalExpression");
@@ -3249,14 +3023,12 @@ var reactJsxParser_min = { exports: {} };
3249
3023
  return n2.left = i3, n2.operator = r2, n2.right = s3, this.finishNode(n2, a2 ? "LogicalExpression" : "BinaryExpression");
3250
3024
  }, $.parseMaybeUnary = function(t3, e3) {
3251
3025
  var i3, s3 = this.start, r2 = this.startLoc;
3252
- if (this.isContextual("await") && (this.inAsync || !this.inFunction && this.options.allowAwaitOutsideFunction))
3253
- i3 = this.parseAwait(), e3 = true;
3026
+ if (this.isContextual("await") && (this.inAsync || !this.inFunction && this.options.allowAwaitOutsideFunction)) i3 = this.parseAwait(), e3 = true;
3254
3027
  else if (this.type.prefix) {
3255
3028
  var a2 = this.startNode(), n2 = this.type === k.incDec;
3256
3029
  a2.operator = this.value, a2.prefix = true, this.next(), a2.argument = this.parseMaybeUnary(null, true), this.checkExpressionErrors(t3, true), n2 ? this.checkLValSimple(a2.argument) : this.strict && "delete" === a2.operator && "Identifier" === a2.argument.type ? this.raiseRecoverable(a2.start, "Deleting local variable in strict mode") : e3 = true, i3 = this.finishNode(a2, n2 ? "UpdateExpression" : "UnaryExpression");
3257
3030
  } else {
3258
- if (i3 = this.parseExprSubscripts(t3), this.checkExpressionErrors(t3))
3259
- return i3;
3031
+ if (i3 = this.parseExprSubscripts(t3), this.checkExpressionErrors(t3)) return i3;
3260
3032
  for (; this.type.postfix && !this.canInsertSemicolon(); ) {
3261
3033
  var o2 = this.startNodeAt(s3, r2);
3262
3034
  o2.operator = this.value, o2.prefix = false, o2.argument = i3, this.checkLValSimple(i3), this.next(), i3 = this.finishNode(o2, "UpdateExpression");
@@ -3265,8 +3037,7 @@ var reactJsxParser_min = { exports: {} };
3265
3037
  return !e3 && this.eat(k.starstar) ? this.buildBinary(s3, r2, i3, this.parseMaybeUnary(null, false), "**", false) : i3;
3266
3038
  }, $.parseExprSubscripts = function(t3) {
3267
3039
  var e3 = this.start, i3 = this.startLoc, s3 = this.parseExprAtom(t3);
3268
- if ("ArrowFunctionExpression" === s3.type && ")" !== this.input.slice(this.lastTokStart, this.lastTokEnd))
3269
- return s3;
3040
+ if ("ArrowFunctionExpression" === s3.type && ")" !== this.input.slice(this.lastTokStart, this.lastTokEnd)) return s3;
3270
3041
  var r2 = this.parseSubscripts(s3, e3, i3);
3271
3042
  return t3 && "MemberExpression" === r2.type && (t3.parenthesizedAssign >= r2.start && (t3.parenthesizedAssign = -1), t3.parenthesizedBind >= r2.start && (t3.parenthesizedBind = -1)), r2;
3272
3043
  }, $.parseSubscripts = function(t3, e3, i3, s3) {
@@ -3292,8 +3063,7 @@ var reactJsxParser_min = { exports: {} };
3292
3063
  var c2 = new W(), l2 = this.yieldPos, u2 = this.awaitPos, d2 = this.awaitIdentPos;
3293
3064
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
3294
3065
  var f2 = this.parseExprList(k.parenR, this.options.ecmaVersion >= 8, false, c2);
3295
- if (r2 && !o2 && !this.canInsertSemicolon() && this.eat(k.arrow))
3296
- return this.checkPatternErrors(c2, false), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = l2, this.awaitPos = u2, this.awaitIdentPos = d2, this.parseArrowExpression(this.startNodeAt(e3, i3), f2, true);
3066
+ if (r2 && !o2 && !this.canInsertSemicolon() && this.eat(k.arrow)) return this.checkPatternErrors(c2, false), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = l2, this.awaitPos = u2, this.awaitIdentPos = d2, this.parseArrowExpression(this.startNodeAt(e3, i3), f2, true);
3297
3067
  this.checkExpressionErrors(c2, true), this.yieldPos = l2 || this.yieldPos, this.awaitPos = u2 || this.awaitPos, this.awaitIdentPos = d2 || this.awaitIdentPos;
3298
3068
  var m2 = this.startNodeAt(e3, i3);
3299
3069
  m2.callee = t3, m2.arguments = f2, n2 && (m2.optional = o2), t3 = this.finishNode(m2, "CallExpression");
@@ -3313,13 +3083,10 @@ var reactJsxParser_min = { exports: {} };
3313
3083
  return e3 = this.startNode(), this.next(), this.finishNode(e3, "ThisExpression");
3314
3084
  case k.name:
3315
3085
  var s3 = this.start, r2 = this.startLoc, a2 = this.containsEsc, n2 = this.parseIdent(false);
3316
- if (this.options.ecmaVersion >= 8 && !a2 && "async" === n2.name && !this.canInsertSemicolon() && this.eat(k._function))
3317
- return this.parseFunction(this.startNodeAt(s3, r2), 0, false, true);
3086
+ if (this.options.ecmaVersion >= 8 && !a2 && "async" === n2.name && !this.canInsertSemicolon() && this.eat(k._function)) return this.parseFunction(this.startNodeAt(s3, r2), 0, false, true);
3318
3087
  if (i3 && !this.canInsertSemicolon()) {
3319
- if (this.eat(k.arrow))
3320
- return this.parseArrowExpression(this.startNodeAt(s3, r2), [n2], false);
3321
- if (this.options.ecmaVersion >= 8 && "async" === n2.name && this.type === k.name && !a2)
3322
- return n2 = this.parseIdent(false), !this.canInsertSemicolon() && this.eat(k.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(s3, r2), [n2], true);
3088
+ if (this.eat(k.arrow)) return this.parseArrowExpression(this.startNodeAt(s3, r2), [n2], false);
3089
+ if (this.options.ecmaVersion >= 8 && "async" === n2.name && this.type === k.name && !a2) return n2 = this.parseIdent(false), !this.canInsertSemicolon() && this.eat(k.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(s3, r2), [n2], true);
3323
3090
  }
3324
3091
  return n2;
3325
3092
  case k.regexp:
@@ -3398,11 +3165,9 @@ var reactJsxParser_min = { exports: {} };
3398
3165
  h2.push(this.parseMaybeAssign(false, l2, this.parseParenItem));
3399
3166
  }
3400
3167
  var f2 = this.start, m2 = this.startLoc;
3401
- if (this.expect(k.parenR), t3 && !this.canInsertSemicolon() && this.eat(k.arrow))
3402
- return this.checkPatternErrors(l2, false), this.checkYieldAwaitInDefaultParams(), this.yieldPos = u2, this.awaitPos = d2, this.parseParenArrowList(i3, s3, h2);
3168
+ if (this.expect(k.parenR), t3 && !this.canInsertSemicolon() && this.eat(k.arrow)) return this.checkPatternErrors(l2, false), this.checkYieldAwaitInDefaultParams(), this.yieldPos = u2, this.awaitPos = d2, this.parseParenArrowList(i3, s3, h2);
3403
3169
  h2.length && !c2 || this.unexpected(this.lastTokStart), a2 && this.unexpected(a2), this.checkExpressionErrors(l2, true), this.yieldPos = u2 || this.yieldPos, this.awaitPos = d2 || this.awaitPos, h2.length > 1 ? ((e3 = this.startNodeAt(n2, o2)).expressions = h2, this.finishNodeAt(e3, "SequenceExpression", f2, m2)) : e3 = h2[0];
3404
- } else
3405
- e3 = this.parseParenExpression();
3170
+ } else e3 = this.parseParenExpression();
3406
3171
  if (this.options.preserveParens) {
3407
3172
  var g2 = this.startNodeAt(i3, s3);
3408
3173
  return g2.expression = e3, this.finishNode(g2, "ParenthesizedExpression");
@@ -3434,49 +3199,40 @@ var reactJsxParser_min = { exports: {} };
3434
3199
  var i3 = this.startNode();
3435
3200
  this.next(), i3.expressions = [];
3436
3201
  var s3 = this.parseTemplateElement({ isTagged: e3 });
3437
- for (i3.quasis = [s3]; !s3.tail; )
3438
- this.type === k.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(k.dollarBraceL), i3.expressions.push(this.parseExpression()), this.expect(k.braceR), i3.quasis.push(s3 = this.parseTemplateElement({ isTagged: e3 }));
3202
+ for (i3.quasis = [s3]; !s3.tail; ) this.type === k.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(k.dollarBraceL), i3.expressions.push(this.parseExpression()), this.expect(k.braceR), i3.quasis.push(s3 = this.parseTemplateElement({ isTagged: e3 }));
3439
3203
  return this.next(), this.finishNode(i3, "TemplateLiteral");
3440
3204
  }, $.isAsyncProp = function(t3) {
3441
3205
  return !t3.computed && "Identifier" === t3.key.type && "async" === t3.key.name && (this.type === k.name || this.type === k.num || this.type === k.string || this.type === k.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === k.star) && !S.test(this.input.slice(this.lastTokEnd, this.start));
3442
3206
  }, $.parseObj = function(t3, e3) {
3443
3207
  var i3 = this.startNode(), s3 = true, r2 = {};
3444
3208
  for (i3.properties = [], this.next(); !this.eat(k.braceR); ) {
3445
- if (s3)
3446
- s3 = false;
3447
- else if (this.expect(k.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(k.braceR))
3448
- break;
3209
+ if (s3) s3 = false;
3210
+ else if (this.expect(k.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(k.braceR)) break;
3449
3211
  var a2 = this.parseProperty(t3, e3);
3450
3212
  t3 || this.checkPropClash(a2, r2, e3), i3.properties.push(a2);
3451
3213
  }
3452
3214
  return this.finishNode(i3, t3 ? "ObjectPattern" : "ObjectExpression");
3453
3215
  }, $.parseProperty = function(t3, e3) {
3454
3216
  var i3, s3, r2, a2, n2 = this.startNode();
3455
- if (this.options.ecmaVersion >= 9 && this.eat(k.ellipsis))
3456
- return t3 ? (n2.argument = this.parseIdent(false), this.type === k.comma && this.raise(this.start, "Comma is not permitted after the rest element"), this.finishNode(n2, "RestElement")) : (this.type === k.parenL && e3 && (e3.parenthesizedAssign < 0 && (e3.parenthesizedAssign = this.start), e3.parenthesizedBind < 0 && (e3.parenthesizedBind = this.start)), n2.argument = this.parseMaybeAssign(false, e3), this.type === k.comma && e3 && e3.trailingComma < 0 && (e3.trailingComma = this.start), this.finishNode(n2, "SpreadElement"));
3217
+ if (this.options.ecmaVersion >= 9 && this.eat(k.ellipsis)) return t3 ? (n2.argument = this.parseIdent(false), this.type === k.comma && this.raise(this.start, "Comma is not permitted after the rest element"), this.finishNode(n2, "RestElement")) : (this.type === k.parenL && e3 && (e3.parenthesizedAssign < 0 && (e3.parenthesizedAssign = this.start), e3.parenthesizedBind < 0 && (e3.parenthesizedBind = this.start)), n2.argument = this.parseMaybeAssign(false, e3), this.type === k.comma && e3 && e3.trailingComma < 0 && (e3.trailingComma = this.start), this.finishNode(n2, "SpreadElement"));
3457
3218
  this.options.ecmaVersion >= 6 && (n2.method = false, n2.shorthand = false, (t3 || e3) && (r2 = this.start, a2 = this.startLoc), t3 || (i3 = this.eat(k.star)));
3458
3219
  var o2 = this.containsEsc;
3459
3220
  return this.parsePropertyName(n2), !t3 && !o2 && this.options.ecmaVersion >= 8 && !i3 && this.isAsyncProp(n2) ? (s3 = true, i3 = this.options.ecmaVersion >= 9 && this.eat(k.star), this.parsePropertyName(n2, e3)) : s3 = false, this.parsePropertyValue(n2, t3, i3, s3, r2, a2, e3, o2), this.finishNode(n2, "Property");
3460
3221
  }, $.parsePropertyValue = function(t3, e3, i3, s3, r2, a2, n2, o2) {
3461
- if ((i3 || s3) && this.type === k.colon && this.unexpected(), this.eat(k.colon))
3462
- t3.value = e3 ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, n2), t3.kind = "init";
3463
- else if (this.options.ecmaVersion >= 6 && this.type === k.parenL)
3464
- e3 && this.unexpected(), t3.kind = "init", t3.method = true, t3.value = this.parseMethod(i3, s3);
3465
- else if (e3 || o2 || !(this.options.ecmaVersion >= 5) || t3.computed || "Identifier" !== t3.key.type || "get" !== t3.key.name && "set" !== t3.key.name || this.type === k.comma || this.type === k.braceR || this.type === k.eq)
3466
- this.options.ecmaVersion >= 6 && !t3.computed && "Identifier" === t3.key.type ? ((i3 || s3) && this.unexpected(), this.checkUnreserved(t3.key), "await" !== t3.key.name || this.awaitIdentPos || (this.awaitIdentPos = r2), t3.kind = "init", e3 ? t3.value = this.parseMaybeDefault(r2, a2, this.copyNode(t3.key)) : this.type === k.eq && n2 ? (n2.shorthandAssign < 0 && (n2.shorthandAssign = this.start), t3.value = this.parseMaybeDefault(r2, a2, this.copyNode(t3.key))) : t3.value = this.copyNode(t3.key), t3.shorthand = true) : this.unexpected();
3222
+ if ((i3 || s3) && this.type === k.colon && this.unexpected(), this.eat(k.colon)) t3.value = e3 ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, n2), t3.kind = "init";
3223
+ else if (this.options.ecmaVersion >= 6 && this.type === k.parenL) e3 && this.unexpected(), t3.kind = "init", t3.method = true, t3.value = this.parseMethod(i3, s3);
3224
+ else if (e3 || o2 || !(this.options.ecmaVersion >= 5) || t3.computed || "Identifier" !== t3.key.type || "get" !== t3.key.name && "set" !== t3.key.name || this.type === k.comma || this.type === k.braceR || this.type === k.eq) this.options.ecmaVersion >= 6 && !t3.computed && "Identifier" === t3.key.type ? ((i3 || s3) && this.unexpected(), this.checkUnreserved(t3.key), "await" !== t3.key.name || this.awaitIdentPos || (this.awaitIdentPos = r2), t3.kind = "init", e3 ? t3.value = this.parseMaybeDefault(r2, a2, this.copyNode(t3.key)) : this.type === k.eq && n2 ? (n2.shorthandAssign < 0 && (n2.shorthandAssign = this.start), t3.value = this.parseMaybeDefault(r2, a2, this.copyNode(t3.key))) : t3.value = this.copyNode(t3.key), t3.shorthand = true) : this.unexpected();
3467
3225
  else {
3468
3226
  (i3 || s3) && this.unexpected(), t3.kind = t3.key.name, this.parsePropertyName(t3), t3.value = this.parseMethod(false);
3469
3227
  var h2 = "get" === t3.kind ? 0 : 1;
3470
3228
  if (t3.value.params.length !== h2) {
3471
3229
  var p2 = t3.value.start;
3472
3230
  "get" === t3.kind ? this.raiseRecoverable(p2, "getter should have no params") : this.raiseRecoverable(p2, "setter should have exactly one param");
3473
- } else
3474
- "set" === t3.kind && "RestElement" === t3.value.params[0].type && this.raiseRecoverable(t3.value.params[0].start, "Setter cannot use rest params");
3231
+ } else "set" === t3.kind && "RestElement" === t3.value.params[0].type && this.raiseRecoverable(t3.value.params[0].start, "Setter cannot use rest params");
3475
3232
  }
3476
3233
  }, $.parsePropertyName = function(t3) {
3477
3234
  if (this.options.ecmaVersion >= 6) {
3478
- if (this.eat(k.bracketL))
3479
- return t3.computed = true, t3.key = this.parseMaybeAssign(), this.expect(k.bracketR), t3.key;
3235
+ if (this.eat(k.bracketL)) return t3.computed = true, t3.key = this.parseMaybeAssign(), this.expect(k.bracketR), t3.key;
3480
3236
  t3.computed = false;
3481
3237
  }
3482
3238
  return t3.key = this.type === k.num || this.type === k.string ? this.parseExprAtom() : this.parseIdent("never" !== this.options.allowReserved);
@@ -3490,8 +3246,7 @@ var reactJsxParser_min = { exports: {} };
3490
3246
  return this.enterScope(16 | U(i3, false)), this.initFunction(t3), this.options.ecmaVersion >= 8 && (t3.async = !!i3), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t3.params = this.toAssignableList(e3, true), this.parseFunctionBody(t3, true, false), this.yieldPos = s3, this.awaitPos = r2, this.awaitIdentPos = a2, this.finishNode(t3, "ArrowFunctionExpression");
3491
3247
  }, $.parseFunctionBody = function(t3, e3, i3) {
3492
3248
  var s3 = e3 && this.type !== k.braceL, r2 = this.strict, a2 = false;
3493
- if (s3)
3494
- t3.body = this.parseMaybeAssign(), t3.expression = true, this.checkParams(t3, false);
3249
+ if (s3) t3.body = this.parseMaybeAssign(), t3.expression = true, this.checkParams(t3, false);
3495
3250
  else {
3496
3251
  var n2 = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(t3.params);
3497
3252
  r2 && !n2 || (a2 = this.strictDirective(this.end)) && n2 && this.raiseRecoverable(t3.start, "Illegal 'use strict' directive in function with non-simple parameter list");
@@ -3501,8 +3256,7 @@ var reactJsxParser_min = { exports: {} };
3501
3256
  this.exitScope();
3502
3257
  }, $.isSimpleParamList = function(t3) {
3503
3258
  for (var e3 = 0, i3 = t3; e3 < i3.length; e3 += 1) {
3504
- if ("Identifier" !== i3[e3].type)
3505
- return false;
3259
+ if ("Identifier" !== i3[e3].type) return false;
3506
3260
  }
3507
3261
  return true;
3508
3262
  }, $.checkParams = function(t3, e3) {
@@ -3512,10 +3266,8 @@ var reactJsxParser_min = { exports: {} };
3512
3266
  }
3513
3267
  }, $.parseExprList = function(t3, e3, i3, s3) {
3514
3268
  for (var r2 = [], a2 = true; !this.eat(t3); ) {
3515
- if (a2)
3516
- a2 = false;
3517
- else if (this.expect(k.comma), e3 && this.afterTrailingComma(t3))
3518
- break;
3269
+ if (a2) a2 = false;
3270
+ else if (this.expect(k.comma), e3 && this.afterTrailingComma(t3)) break;
3519
3271
  var n2 = void 0;
3520
3272
  i3 && this.type === k.comma ? n2 = null : this.type === k.ellipsis ? (n2 = this.parseSpread(s3), s3 && this.type === k.comma && s3.trailingComma < 0 && (s3.trailingComma = this.start)) : n2 = this.parseMaybeAssign(false, s3), r2.push(n2);
3521
3273
  }
@@ -3542,8 +3294,7 @@ var reactJsxParser_min = { exports: {} };
3542
3294
  var s3 = new SyntaxError(e3);
3543
3295
  throw s3.pos = t3, s3.loc = i3, s3.raisedAt = this.pos, s3;
3544
3296
  }, et.raiseRecoverable = et.raise, et.curPosition = function() {
3545
- if (this.options.locations)
3546
- return new O(this.curLine, this.pos - this.lineStart);
3297
+ if (this.options.locations) return new O(this.curLine, this.pos - this.lineStart);
3547
3298
  };
3548
3299
  var it = F.prototype, st = function(t3) {
3549
3300
  this.flags = t3, this.var = [], this.lexical = [], this.functions = [];
@@ -3564,16 +3315,14 @@ var reactJsxParser_min = { exports: {} };
3564
3315
  } else if (3 === e3) {
3565
3316
  var a2 = this.currentScope();
3566
3317
  s3 = this.treatFunctionsAsVar ? a2.lexical.indexOf(t3) > -1 : a2.lexical.indexOf(t3) > -1 || a2.var.indexOf(t3) > -1, a2.functions.push(t3);
3567
- } else
3568
- for (var n2 = this.scopeStack.length - 1; n2 >= 0; --n2) {
3569
- var o2 = this.scopeStack[n2];
3570
- if (o2.lexical.indexOf(t3) > -1 && !(32 & o2.flags && o2.lexical[0] === t3) || !this.treatFunctionsAsVarInScope(o2) && o2.functions.indexOf(t3) > -1) {
3571
- s3 = true;
3572
- break;
3573
- }
3574
- if (o2.var.push(t3), this.inModule && 1 & o2.flags && delete this.undefinedExports[t3], 3 & o2.flags)
3575
- break;
3318
+ } else for (var n2 = this.scopeStack.length - 1; n2 >= 0; --n2) {
3319
+ var o2 = this.scopeStack[n2];
3320
+ if (o2.lexical.indexOf(t3) > -1 && !(32 & o2.flags && o2.lexical[0] === t3) || !this.treatFunctionsAsVarInScope(o2) && o2.functions.indexOf(t3) > -1) {
3321
+ s3 = true;
3322
+ break;
3576
3323
  }
3324
+ if (o2.var.push(t3), this.inModule && 1 & o2.flags && delete this.undefinedExports[t3], 3 & o2.flags) break;
3325
+ }
3577
3326
  s3 && this.raiseRecoverable(i3, "Identifier '" + t3 + "' has already been declared");
3578
3327
  }, it.checkLocalExport = function(t3) {
3579
3328
  -1 === this.scopeStack[0].lexical.indexOf(t3.name) && -1 === this.scopeStack[0].var.indexOf(t3.name) && (this.undefinedExports[t3.name] = t3);
@@ -3582,14 +3331,12 @@ var reactJsxParser_min = { exports: {} };
3582
3331
  }, it.currentVarScope = function() {
3583
3332
  for (var t3 = this.scopeStack.length - 1; ; t3--) {
3584
3333
  var e3 = this.scopeStack[t3];
3585
- if (3 & e3.flags)
3586
- return e3;
3334
+ if (3 & e3.flags) return e3;
3587
3335
  }
3588
3336
  }, it.currentThisScope = function() {
3589
3337
  for (var t3 = this.scopeStack.length - 1; ; t3--) {
3590
3338
  var e3 = this.scopeStack[t3];
3591
- if (3 & e3.flags && !(16 & e3.flags))
3592
- return e3;
3339
+ if (3 & e3.flags && !(16 & e3.flags)) return e3;
3593
3340
  }
3594
3341
  };
3595
3342
  var rt = function(t3, e3, i3) {
@@ -3608,8 +3355,7 @@ var reactJsxParser_min = { exports: {} };
3608
3355
  return nt.call(this, t3, e3, i3, s3);
3609
3356
  }, at.copyNode = function(t3) {
3610
3357
  var e3 = new rt(this, t3.start, this.startLoc);
3611
- for (var i3 in t3)
3612
- e3[i3] = t3[i3];
3358
+ for (var i3 in t3) e3[i3] = t3[i3];
3613
3359
  return e3;
3614
3360
  };
3615
3361
  var ot = function(t3, e3, i3, s3, r2) {
@@ -3625,8 +3371,7 @@ var reactJsxParser_min = { exports: {} };
3625
3371
  }, pt.inGeneratorContext = function() {
3626
3372
  for (var t3 = this.context.length - 1; t3 >= 1; t3--) {
3627
3373
  var e3 = this.context[t3];
3628
- if ("function" === e3.token)
3629
- return e3.generator;
3374
+ if ("function" === e3.token) return e3.generator;
3630
3375
  }
3631
3376
  return false;
3632
3377
  }, pt.updateContext = function(t3) {
@@ -3636,8 +3381,7 @@ var reactJsxParser_min = { exports: {} };
3636
3381
  if (1 !== this.context.length) {
3637
3382
  var t3 = this.context.pop();
3638
3383
  t3 === ht.b_stat && "function" === this.curContext().token && (t3 = this.context.pop()), this.exprAllowed = !t3.isExpr;
3639
- } else
3640
- this.exprAllowed = true;
3384
+ } else this.exprAllowed = true;
3641
3385
  }, k.braceL.updateContext = function(t3) {
3642
3386
  this.context.push(this.braceIsBlock(t3) ? ht.b_stat : ht.b_expr), this.exprAllowed = true;
3643
3387
  }, k.dollarBraceL.updateContext = function() {
@@ -3704,18 +3448,15 @@ var reactJsxParser_min = { exports: {} };
3704
3448
  }, _t.prototype.at = function(t3, e3) {
3705
3449
  void 0 === e3 && (e3 = false);
3706
3450
  var i3 = this.source, s3 = i3.length;
3707
- if (t3 >= s3)
3708
- return -1;
3451
+ if (t3 >= s3) return -1;
3709
3452
  var r2 = i3.charCodeAt(t3);
3710
- if (!e3 && !this.switchU || r2 <= 55295 || r2 >= 57344 || t3 + 1 >= s3)
3711
- return r2;
3453
+ if (!e3 && !this.switchU || r2 <= 55295 || r2 >= 57344 || t3 + 1 >= s3) return r2;
3712
3454
  var a2 = i3.charCodeAt(t3 + 1);
3713
3455
  return a2 >= 56320 && a2 <= 57343 ? (r2 << 10) + a2 - 56613888 : r2;
3714
3456
  }, _t.prototype.nextIndex = function(t3, e3) {
3715
3457
  void 0 === e3 && (e3 = false);
3716
3458
  var i3 = this.source, s3 = i3.length;
3717
- if (t3 >= s3)
3718
- return s3;
3459
+ if (t3 >= s3) return s3;
3719
3460
  var r2, a2 = i3.charCodeAt(t3);
3720
3461
  return !e3 && !this.switchU || a2 <= 55295 || a2 >= 57344 || t3 + 1 >= s3 || (r2 = i3.charCodeAt(t3 + 1)) < 56320 || r2 > 57343 ? t3 + 1 : t3 + 2;
3721
3462
  }, _t.prototype.current = function(t3) {
@@ -3740,27 +3481,22 @@ var reactJsxParser_min = { exports: {} };
3740
3481
  -1 === t3.groupNames.indexOf(s3) && t3.raise("Invalid named capture referenced");
3741
3482
  }
3742
3483
  }, bt.regexp_disjunction = function(t3) {
3743
- for (this.regexp_alternative(t3); t3.eat(124); )
3744
- this.regexp_alternative(t3);
3484
+ for (this.regexp_alternative(t3); t3.eat(124); ) this.regexp_alternative(t3);
3745
3485
  this.regexp_eatQuantifier(t3, true) && t3.raise("Nothing to repeat"), t3.eat(123) && t3.raise("Lone quantifier brackets");
3746
3486
  }, bt.regexp_alternative = function(t3) {
3747
- for (; t3.pos < t3.source.length && this.regexp_eatTerm(t3); )
3748
- ;
3487
+ for (; t3.pos < t3.source.length && this.regexp_eatTerm(t3); ) ;
3749
3488
  }, bt.regexp_eatTerm = function(t3) {
3750
3489
  return this.regexp_eatAssertion(t3) ? (t3.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(t3) && t3.switchU && t3.raise("Invalid quantifier"), true) : !!(t3.switchU ? this.regexp_eatAtom(t3) : this.regexp_eatExtendedAtom(t3)) && (this.regexp_eatQuantifier(t3), true);
3751
3490
  }, bt.regexp_eatAssertion = function(t3) {
3752
3491
  var e3 = t3.pos;
3753
- if (t3.lastAssertionIsQuantifiable = false, t3.eat(94) || t3.eat(36))
3754
- return true;
3492
+ if (t3.lastAssertionIsQuantifiable = false, t3.eat(94) || t3.eat(36)) return true;
3755
3493
  if (t3.eat(92)) {
3756
- if (t3.eat(66) || t3.eat(98))
3757
- return true;
3494
+ if (t3.eat(66) || t3.eat(98)) return true;
3758
3495
  t3.pos = e3;
3759
3496
  }
3760
3497
  if (t3.eat(40) && t3.eat(63)) {
3761
3498
  var i3 = false;
3762
- if (this.options.ecmaVersion >= 9 && (i3 = t3.eat(60)), t3.eat(61) || t3.eat(33))
3763
- return this.regexp_disjunction(t3), t3.eat(41) || t3.raise("Unterminated group"), t3.lastAssertionIsQuantifiable = !i3, true;
3499
+ if (this.options.ecmaVersion >= 9 && (i3 = t3.eat(60)), t3.eat(61) || t3.eat(33)) return this.regexp_disjunction(t3), t3.eat(41) || t3.raise("Unterminated group"), t3.lastAssertionIsQuantifiable = !i3, true;
3764
3500
  }
3765
3501
  return t3.pos = e3, false;
3766
3502
  }, bt.regexp_eatQuantifier = function(t3, e3) {
@@ -3771,8 +3507,7 @@ var reactJsxParser_min = { exports: {} };
3771
3507
  var i3 = t3.pos;
3772
3508
  if (t3.eat(123)) {
3773
3509
  var s3 = 0, r2 = -1;
3774
- if (this.regexp_eatDecimalDigits(t3) && (s3 = t3.lastIntValue, t3.eat(44) && this.regexp_eatDecimalDigits(t3) && (r2 = t3.lastIntValue), t3.eat(125)))
3775
- return -1 !== r2 && r2 < s3 && !e3 && t3.raise("numbers out of order in {} quantifier"), true;
3510
+ if (this.regexp_eatDecimalDigits(t3) && (s3 = t3.lastIntValue, t3.eat(44) && this.regexp_eatDecimalDigits(t3) && (r2 = t3.lastIntValue), t3.eat(125))) return -1 !== r2 && r2 < s3 && !e3 && t3.raise("numbers out of order in {} quantifier"), true;
3776
3511
  t3.switchU && !e3 && t3.raise("Incomplete quantifier"), t3.pos = i3;
3777
3512
  }
3778
3513
  return false;
@@ -3781,8 +3516,7 @@ var reactJsxParser_min = { exports: {} };
3781
3516
  }, bt.regexp_eatReverseSolidusAtomEscape = function(t3) {
3782
3517
  var e3 = t3.pos;
3783
3518
  if (t3.eat(92)) {
3784
- if (this.regexp_eatAtomEscape(t3))
3785
- return true;
3519
+ if (this.regexp_eatAtomEscape(t3)) return true;
3786
3520
  t3.pos = e3;
3787
3521
  }
3788
3522
  return false;
@@ -3790,8 +3524,7 @@ var reactJsxParser_min = { exports: {} };
3790
3524
  var e3 = t3.pos;
3791
3525
  if (t3.eat(40)) {
3792
3526
  if (t3.eat(63) && t3.eat(58)) {
3793
- if (this.regexp_disjunction(t3), t3.eat(41))
3794
- return true;
3527
+ if (this.regexp_disjunction(t3), t3.eat(41)) return true;
3795
3528
  t3.raise("Unterminated group");
3796
3529
  }
3797
3530
  t3.pos = e3;
@@ -3799,8 +3532,7 @@ var reactJsxParser_min = { exports: {} };
3799
3532
  return false;
3800
3533
  }, bt.regexp_eatCapturingGroup = function(t3) {
3801
3534
  if (t3.eat(40)) {
3802
- if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(t3) : 63 === t3.current() && t3.raise("Invalid group"), this.regexp_disjunction(t3), t3.eat(41))
3803
- return t3.numCapturingParens += 1, true;
3535
+ if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(t3) : 63 === t3.current() && t3.raise("Invalid group"), this.regexp_disjunction(t3), t3.eat(41)) return t3.numCapturingParens += 1, true;
3804
3536
  t3.raise("Unterminated group");
3805
3537
  }
3806
3538
  return false;
@@ -3812,29 +3544,25 @@ var reactJsxParser_min = { exports: {} };
3812
3544
  var e3 = t3.current();
3813
3545
  return !!St(e3) && (t3.lastIntValue = e3, t3.advance(), true);
3814
3546
  }, bt.regexp_eatPatternCharacters = function(t3) {
3815
- for (var e3 = t3.pos, i3 = 0; -1 !== (i3 = t3.current()) && !St(i3); )
3816
- t3.advance();
3547
+ for (var e3 = t3.pos, i3 = 0; -1 !== (i3 = t3.current()) && !St(i3); ) t3.advance();
3817
3548
  return t3.pos !== e3;
3818
3549
  }, bt.regexp_eatExtendedPatternCharacter = function(t3) {
3819
3550
  var e3 = t3.current();
3820
3551
  return !(-1 === e3 || 36 === e3 || e3 >= 40 && e3 <= 43 || 46 === e3 || 63 === e3 || 91 === e3 || 94 === e3 || 124 === e3) && (t3.advance(), true);
3821
3552
  }, bt.regexp_groupSpecifier = function(t3) {
3822
3553
  if (t3.eat(63)) {
3823
- if (this.regexp_eatGroupName(t3))
3824
- return -1 !== t3.groupNames.indexOf(t3.lastStringValue) && t3.raise("Duplicate capture group name"), void t3.groupNames.push(t3.lastStringValue);
3554
+ if (this.regexp_eatGroupName(t3)) return -1 !== t3.groupNames.indexOf(t3.lastStringValue) && t3.raise("Duplicate capture group name"), void t3.groupNames.push(t3.lastStringValue);
3825
3555
  t3.raise("Invalid group");
3826
3556
  }
3827
3557
  }, bt.regexp_eatGroupName = function(t3) {
3828
3558
  if (t3.lastStringValue = "", t3.eat(60)) {
3829
- if (this.regexp_eatRegExpIdentifierName(t3) && t3.eat(62))
3830
- return true;
3559
+ if (this.regexp_eatRegExpIdentifierName(t3) && t3.eat(62)) return true;
3831
3560
  t3.raise("Invalid capture group name");
3832
3561
  }
3833
3562
  return false;
3834
3563
  }, bt.regexp_eatRegExpIdentifierName = function(t3) {
3835
3564
  if (t3.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(t3)) {
3836
- for (t3.lastStringValue += kt(t3.lastIntValue); this.regexp_eatRegExpIdentifierPart(t3); )
3837
- t3.lastStringValue += kt(t3.lastIntValue);
3565
+ for (t3.lastStringValue += kt(t3.lastIntValue); this.regexp_eatRegExpIdentifierPart(t3); ) t3.lastStringValue += kt(t3.lastIntValue);
3838
3566
  return true;
3839
3567
  }
3840
3568
  return false;
@@ -3854,17 +3582,14 @@ var reactJsxParser_min = { exports: {} };
3854
3582
  var e3 = t3.pos;
3855
3583
  if (this.regexp_eatDecimalEscape(t3)) {
3856
3584
  var i3 = t3.lastIntValue;
3857
- if (t3.switchU)
3858
- return i3 > t3.maxBackReference && (t3.maxBackReference = i3), true;
3859
- if (i3 <= t3.numCapturingParens)
3860
- return true;
3585
+ if (t3.switchU) return i3 > t3.maxBackReference && (t3.maxBackReference = i3), true;
3586
+ if (i3 <= t3.numCapturingParens) return true;
3861
3587
  t3.pos = e3;
3862
3588
  }
3863
3589
  return false;
3864
3590
  }, bt.regexp_eatKGroupName = function(t3) {
3865
3591
  if (t3.eat(107)) {
3866
- if (this.regexp_eatGroupName(t3))
3867
- return t3.backReferenceNames.push(t3.lastStringValue), true;
3592
+ if (this.regexp_eatGroupName(t3)) return t3.backReferenceNames.push(t3.lastStringValue), true;
3868
3593
  t3.raise("Invalid named reference");
3869
3594
  }
3870
3595
  return false;
@@ -3873,8 +3598,7 @@ var reactJsxParser_min = { exports: {} };
3873
3598
  }, bt.regexp_eatCControlLetter = function(t3) {
3874
3599
  var e3 = t3.pos;
3875
3600
  if (t3.eat(99)) {
3876
- if (this.regexp_eatControlLetter(t3))
3877
- return true;
3601
+ if (this.regexp_eatControlLetter(t3)) return true;
3878
3602
  t3.pos = e3;
3879
3603
  }
3880
3604
  return false;
@@ -3896,21 +3620,18 @@ var reactJsxParser_min = { exports: {} };
3896
3620
  var n2 = t3.pos;
3897
3621
  if (t3.eat(92) && t3.eat(117) && this.regexp_eatFixedHexDigits(t3, 4)) {
3898
3622
  var o2 = t3.lastIntValue;
3899
- if (o2 >= 56320 && o2 <= 57343)
3900
- return t3.lastIntValue = 1024 * (a2 - 55296) + (o2 - 56320) + 65536, true;
3623
+ if (o2 >= 56320 && o2 <= 57343) return t3.lastIntValue = 1024 * (a2 - 55296) + (o2 - 56320) + 65536, true;
3901
3624
  }
3902
3625
  t3.pos = n2, t3.lastIntValue = a2;
3903
3626
  }
3904
3627
  return true;
3905
3628
  }
3906
- if (r2 && t3.eat(123) && this.regexp_eatHexDigits(t3) && t3.eat(125) && ((i3 = t3.lastIntValue) >= 0 && i3 <= 1114111))
3907
- return true;
3629
+ if (r2 && t3.eat(123) && this.regexp_eatHexDigits(t3) && t3.eat(125) && ((i3 = t3.lastIntValue) >= 0 && i3 <= 1114111)) return true;
3908
3630
  r2 && t3.raise("Invalid unicode escape"), t3.pos = s3;
3909
3631
  }
3910
3632
  return false;
3911
3633
  }, bt.regexp_eatIdentityEscape = function(t3) {
3912
- if (t3.switchU)
3913
- return !!this.regexp_eatSyntaxCharacter(t3) || !!t3.eat(47) && (t3.lastIntValue = 47, true);
3634
+ if (t3.switchU) return !!this.regexp_eatSyntaxCharacter(t3) || !!t3.eat(47) && (t3.lastIntValue = 47, true);
3914
3635
  var e3 = t3.current();
3915
3636
  return !(99 === e3 || t3.switchN && 107 === e3) && (t3.lastIntValue = e3, t3.advance(), true);
3916
3637
  }, bt.regexp_eatDecimalEscape = function(t3) {
@@ -3927,11 +3648,9 @@ var reactJsxParser_min = { exports: {} };
3927
3648
  var e3 = t3.current();
3928
3649
  if (/* @__PURE__ */ function(t4) {
3929
3650
  return 100 === t4 || 68 === t4 || 115 === t4 || 83 === t4 || 119 === t4 || 87 === t4;
3930
- }(e3))
3931
- return t3.lastIntValue = -1, t3.advance(), true;
3651
+ }(e3)) return t3.lastIntValue = -1, t3.advance(), true;
3932
3652
  if (t3.switchU && this.options.ecmaVersion >= 9 && (80 === e3 || 112 === e3)) {
3933
- if (t3.lastIntValue = -1, t3.advance(), t3.eat(123) && this.regexp_eatUnicodePropertyValueExpression(t3) && t3.eat(125))
3934
- return true;
3653
+ if (t3.lastIntValue = -1, t3.advance(), t3.eat(123) && this.regexp_eatUnicodePropertyValueExpression(t3) && t3.eat(125)) return true;
3935
3654
  t3.raise("Invalid property name");
3936
3655
  }
3937
3656
  return false;
@@ -3955,20 +3674,17 @@ var reactJsxParser_min = { exports: {} };
3955
3674
  t3.unicodeProperties.binary.test(e3) || t3.raise("Invalid property name");
3956
3675
  }, bt.regexp_eatUnicodePropertyName = function(t3) {
3957
3676
  var e3 = 0;
3958
- for (t3.lastStringValue = ""; Ct(e3 = t3.current()); )
3959
- t3.lastStringValue += kt(e3), t3.advance();
3677
+ for (t3.lastStringValue = ""; Ct(e3 = t3.current()); ) t3.lastStringValue += kt(e3), t3.advance();
3960
3678
  return "" !== t3.lastStringValue;
3961
3679
  }, bt.regexp_eatUnicodePropertyValue = function(t3) {
3962
3680
  var e3 = 0;
3963
- for (t3.lastStringValue = ""; Et(e3 = t3.current()); )
3964
- t3.lastStringValue += kt(e3), t3.advance();
3681
+ for (t3.lastStringValue = ""; Et(e3 = t3.current()); ) t3.lastStringValue += kt(e3), t3.advance();
3965
3682
  return "" !== t3.lastStringValue;
3966
3683
  }, bt.regexp_eatLoneUnicodePropertyNameOrValue = function(t3) {
3967
3684
  return this.regexp_eatUnicodePropertyValue(t3);
3968
3685
  }, bt.regexp_eatCharacterClass = function(t3) {
3969
3686
  if (t3.eat(91)) {
3970
- if (t3.eat(94), this.regexp_classRanges(t3), t3.eat(93))
3971
- return true;
3687
+ if (t3.eat(94), this.regexp_classRanges(t3), t3.eat(93)) return true;
3972
3688
  t3.raise("Unterminated character class");
3973
3689
  }
3974
3690
  return false;
@@ -3983,8 +3699,7 @@ var reactJsxParser_min = { exports: {} };
3983
3699
  }, bt.regexp_eatClassAtom = function(t3) {
3984
3700
  var e3 = t3.pos;
3985
3701
  if (t3.eat(92)) {
3986
- if (this.regexp_eatClassEscape(t3))
3987
- return true;
3702
+ if (this.regexp_eatClassEscape(t3)) return true;
3988
3703
  if (t3.switchU) {
3989
3704
  var i3 = t3.current();
3990
3705
  (99 === i3 || Tt(i3)) && t3.raise("Invalid class escape"), t3.raise("Invalid escape");
@@ -3995,13 +3710,10 @@ var reactJsxParser_min = { exports: {} };
3995
3710
  return 93 !== s3 && (t3.lastIntValue = s3, t3.advance(), true);
3996
3711
  }, bt.regexp_eatClassEscape = function(t3) {
3997
3712
  var e3 = t3.pos;
3998
- if (t3.eat(98))
3999
- return t3.lastIntValue = 8, true;
4000
- if (t3.switchU && t3.eat(45))
4001
- return t3.lastIntValue = 45, true;
3713
+ if (t3.eat(98)) return t3.lastIntValue = 8, true;
3714
+ if (t3.switchU && t3.eat(45)) return t3.lastIntValue = 45, true;
4002
3715
  if (!t3.switchU && t3.eat(99)) {
4003
- if (this.regexp_eatClassControlLetter(t3))
4004
- return true;
3716
+ if (this.regexp_eatClassControlLetter(t3)) return true;
4005
3717
  t3.pos = e3;
4006
3718
  }
4007
3719
  return this.regexp_eatCharacterClassEscape(t3) || this.regexp_eatCharacterEscape(t3);
@@ -4011,20 +3723,17 @@ var reactJsxParser_min = { exports: {} };
4011
3723
  }, bt.regexp_eatHexEscapeSequence = function(t3) {
4012
3724
  var e3 = t3.pos;
4013
3725
  if (t3.eat(120)) {
4014
- if (this.regexp_eatFixedHexDigits(t3, 2))
4015
- return true;
3726
+ if (this.regexp_eatFixedHexDigits(t3, 2)) return true;
4016
3727
  t3.switchU && t3.raise("Invalid escape"), t3.pos = e3;
4017
3728
  }
4018
3729
  return false;
4019
3730
  }, bt.regexp_eatDecimalDigits = function(t3) {
4020
3731
  var e3 = t3.pos, i3 = 0;
4021
- for (t3.lastIntValue = 0; At(i3 = t3.current()); )
4022
- t3.lastIntValue = 10 * t3.lastIntValue + (i3 - 48), t3.advance();
3732
+ for (t3.lastIntValue = 0; At(i3 = t3.current()); ) t3.lastIntValue = 10 * t3.lastIntValue + (i3 - 48), t3.advance();
4023
3733
  return t3.pos !== e3;
4024
3734
  }, bt.regexp_eatHexDigits = function(t3) {
4025
3735
  var e3 = t3.pos, i3 = 0;
4026
- for (t3.lastIntValue = 0; It(i3 = t3.current()); )
4027
- t3.lastIntValue = 16 * t3.lastIntValue + Pt(i3), t3.advance();
3736
+ for (t3.lastIntValue = 0; It(i3 = t3.current()); ) t3.lastIntValue = 16 * t3.lastIntValue + Pt(i3), t3.advance();
4028
3737
  return t3.pos !== e3;
4029
3738
  }, bt.regexp_eatLegacyOctalEscapeSequence = function(t3) {
4030
3739
  if (this.regexp_eatOctalDigit(t3)) {
@@ -4032,8 +3741,7 @@ var reactJsxParser_min = { exports: {} };
4032
3741
  if (this.regexp_eatOctalDigit(t3)) {
4033
3742
  var i3 = t3.lastIntValue;
4034
3743
  e3 <= 3 && this.regexp_eatOctalDigit(t3) ? t3.lastIntValue = 64 * e3 + 8 * i3 + t3.lastIntValue : t3.lastIntValue = 8 * e3 + i3;
4035
- } else
4036
- t3.lastIntValue = e3;
3744
+ } else t3.lastIntValue = e3;
4037
3745
  return true;
4038
3746
  }
4039
3747
  return false;
@@ -4045,8 +3753,7 @@ var reactJsxParser_min = { exports: {} };
4045
3753
  t3.lastIntValue = 0;
4046
3754
  for (var s3 = 0; s3 < e3; ++s3) {
4047
3755
  var r2 = t3.current();
4048
- if (!It(r2))
4049
- return t3.pos = i3, false;
3756
+ if (!It(r2)) return t3.pos = i3, false;
4050
3757
  t3.lastIntValue = 16 * t3.lastIntValue + Pt(r2), t3.advance();
4051
3758
  }
4052
3759
  return true;
@@ -4082,56 +3789,50 @@ var reactJsxParser_min = { exports: {} };
4082
3789
  return t3 <= 55295 || t3 >= 57344 ? t3 : (t3 << 10) + this.input.charCodeAt(this.pos + 1) - 56613888;
4083
3790
  }, Lt.skipBlockComment = function() {
4084
3791
  var t3, e3 = this.options.onComment && this.curPosition(), i3 = this.pos, s3 = this.input.indexOf("*/", this.pos += 2);
4085
- if (-1 === s3 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = s3 + 2, this.options.locations)
4086
- for (w.lastIndex = i3; (t3 = w.exec(this.input)) && t3.index < this.pos; )
4087
- ++this.curLine, this.lineStart = t3.index + t3[0].length;
3792
+ if (-1 === s3 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = s3 + 2, this.options.locations) for (w.lastIndex = i3; (t3 = w.exec(this.input)) && t3.index < this.pos; ) ++this.curLine, this.lineStart = t3.index + t3[0].length;
4088
3793
  this.options.onComment && this.options.onComment(true, this.input.slice(i3 + 2, s3), i3, this.pos, e3, this.curPosition());
4089
3794
  }, Lt.skipLineComment = function(t3) {
4090
- for (var e3 = this.pos, i3 = this.options.onComment && this.curPosition(), s3 = this.input.charCodeAt(this.pos += t3); this.pos < this.input.length && !C(s3); )
4091
- s3 = this.input.charCodeAt(++this.pos);
3795
+ for (var e3 = this.pos, i3 = this.options.onComment && this.curPosition(), s3 = this.input.charCodeAt(this.pos += t3); this.pos < this.input.length && !C(s3); ) s3 = this.input.charCodeAt(++this.pos);
4092
3796
  this.options.onComment && this.options.onComment(false, this.input.slice(e3 + t3, this.pos), e3, this.pos, i3, this.curPosition());
4093
3797
  }, Lt.skipSpace = function() {
4094
- t:
4095
- for (; this.pos < this.input.length; ) {
4096
- var t3 = this.input.charCodeAt(this.pos);
4097
- switch (t3) {
4098
- case 32:
4099
- case 160:
4100
- ++this.pos;
4101
- break;
4102
- case 13:
4103
- 10 === this.input.charCodeAt(this.pos + 1) && ++this.pos;
4104
- case 10:
4105
- case 8232:
4106
- case 8233:
4107
- ++this.pos, this.options.locations && (++this.curLine, this.lineStart = this.pos);
4108
- break;
4109
- case 47:
4110
- switch (this.input.charCodeAt(this.pos + 1)) {
4111
- case 42:
4112
- this.skipBlockComment();
4113
- break;
4114
- case 47:
4115
- this.skipLineComment(2);
4116
- break;
4117
- default:
4118
- break t;
4119
- }
4120
- break;
4121
- default:
4122
- if (!(t3 > 8 && t3 < 14 || t3 >= 5760 && E.test(String.fromCharCode(t3))))
3798
+ t: for (; this.pos < this.input.length; ) {
3799
+ var t3 = this.input.charCodeAt(this.pos);
3800
+ switch (t3) {
3801
+ case 32:
3802
+ case 160:
3803
+ ++this.pos;
3804
+ break;
3805
+ case 13:
3806
+ 10 === this.input.charCodeAt(this.pos + 1) && ++this.pos;
3807
+ case 10:
3808
+ case 8232:
3809
+ case 8233:
3810
+ ++this.pos, this.options.locations && (++this.curLine, this.lineStart = this.pos);
3811
+ break;
3812
+ case 47:
3813
+ switch (this.input.charCodeAt(this.pos + 1)) {
3814
+ case 42:
3815
+ this.skipBlockComment();
3816
+ break;
3817
+ case 47:
3818
+ this.skipLineComment(2);
3819
+ break;
3820
+ default:
4123
3821
  break t;
4124
- ++this.pos;
4125
- }
3822
+ }
3823
+ break;
3824
+ default:
3825
+ if (!(t3 > 8 && t3 < 14 || t3 >= 5760 && E.test(String.fromCharCode(t3)))) break t;
3826
+ ++this.pos;
4126
3827
  }
3828
+ }
4127
3829
  }, Lt.finishToken = function(t3, e3) {
4128
3830
  this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
4129
3831
  var i3 = this.type;
4130
3832
  this.type = t3, this.value = e3, this.updateContext(i3);
4131
3833
  }, Lt.readToken_dot = function() {
4132
3834
  var t3 = this.input.charCodeAt(this.pos + 1);
4133
- if (t3 >= 48 && t3 <= 57)
4134
- return this.readNumber(true);
3835
+ if (t3 >= 48 && t3 <= 57) return this.readNumber(true);
4135
3836
  var e3 = this.input.charCodeAt(this.pos + 2);
4136
3837
  return this.options.ecmaVersion >= 6 && 46 === t3 && 46 === e3 ? (this.pos += 3, this.finishToken(k.ellipsis)) : (++this.pos, this.finishToken(k.dot));
4137
3838
  }, Lt.readToken_slash = function() {
@@ -4144,8 +3845,7 @@ var reactJsxParser_min = { exports: {} };
4144
3845
  var e3 = this.input.charCodeAt(this.pos + 1);
4145
3846
  if (e3 === t3) {
4146
3847
  if (this.options.ecmaVersion >= 12) {
4147
- if (61 === this.input.charCodeAt(this.pos + 2))
4148
- return this.finishOp(k.assign, 3);
3848
+ if (61 === this.input.charCodeAt(this.pos + 2)) return this.finishOp(k.assign, 3);
4149
3849
  }
4150
3850
  return this.finishOp(124 === t3 ? k.logicalOR : k.logicalAND, 2);
4151
3851
  }
@@ -4167,13 +3867,11 @@ var reactJsxParser_min = { exports: {} };
4167
3867
  var e3 = this.input.charCodeAt(this.pos + 1);
4168
3868
  if (46 === e3) {
4169
3869
  var i3 = this.input.charCodeAt(this.pos + 2);
4170
- if (i3 < 48 || i3 > 57)
4171
- return this.finishOp(k.questionDot, 2);
3870
+ if (i3 < 48 || i3 > 57) return this.finishOp(k.questionDot, 2);
4172
3871
  }
4173
3872
  if (63 === e3) {
4174
3873
  if (t3 >= 12) {
4175
- if (61 === this.input.charCodeAt(this.pos + 2))
4176
- return this.finishOp(k.assign, 3);
3874
+ if (61 === this.input.charCodeAt(this.pos + 2)) return this.finishOp(k.assign, 3);
4177
3875
  }
4178
3876
  return this.finishOp(k.coalesce, 2);
4179
3877
  }
@@ -4202,18 +3900,14 @@ var reactJsxParser_min = { exports: {} };
4202
3900
  case 58:
4203
3901
  return ++this.pos, this.finishToken(k.colon);
4204
3902
  case 96:
4205
- if (this.options.ecmaVersion < 6)
4206
- break;
3903
+ if (this.options.ecmaVersion < 6) break;
4207
3904
  return ++this.pos, this.finishToken(k.backQuote);
4208
3905
  case 48:
4209
3906
  var e3 = this.input.charCodeAt(this.pos + 1);
4210
- if (120 === e3 || 88 === e3)
4211
- return this.readRadixNumber(16);
3907
+ if (120 === e3 || 88 === e3) return this.readRadixNumber(16);
4212
3908
  if (this.options.ecmaVersion >= 6) {
4213
- if (111 === e3 || 79 === e3)
4214
- return this.readRadixNumber(8);
4215
- if (98 === e3 || 66 === e3)
4216
- return this.readRadixNumber(2);
3909
+ if (111 === e3 || 79 === e3) return this.readRadixNumber(8);
3910
+ if (98 === e3 || 66 === e3) return this.readRadixNumber(2);
4217
3911
  }
4218
3912
  case 49:
4219
3913
  case 50:
@@ -4260,15 +3954,11 @@ var reactJsxParser_min = { exports: {} };
4260
3954
  for (var t3, e3, i3 = this.pos; ; ) {
4261
3955
  this.pos >= this.input.length && this.raise(i3, "Unterminated regular expression");
4262
3956
  var s3 = this.input.charAt(this.pos);
4263
- if (S.test(s3) && this.raise(i3, "Unterminated regular expression"), t3)
4264
- t3 = false;
3957
+ if (S.test(s3) && this.raise(i3, "Unterminated regular expression"), t3) t3 = false;
4265
3958
  else {
4266
- if ("[" === s3)
4267
- e3 = true;
4268
- else if ("]" === s3 && e3)
4269
- e3 = false;
4270
- else if ("/" === s3 && !e3)
4271
- break;
3959
+ if ("[" === s3) e3 = true;
3960
+ else if ("]" === s3 && e3) e3 = false;
3961
+ else if ("/" === s3 && !e3) break;
4272
3962
  t3 = "\\" === s3;
4273
3963
  }
4274
3964
  ++this.pos;
@@ -4288,11 +3978,9 @@ var reactJsxParser_min = { exports: {} };
4288
3978
  }, Lt.readInt = function(t3, e3, i3) {
4289
3979
  for (var s3 = this.options.ecmaVersion >= 12 && void 0 === e3, r2 = i3 && 48 === this.input.charCodeAt(this.pos), a2 = this.pos, n2 = 0, o2 = 0, h2 = 0, p2 = null == e3 ? 1 / 0 : e3; h2 < p2; ++h2, ++this.pos) {
4290
3980
  var c2 = this.input.charCodeAt(this.pos), l2 = void 0;
4291
- if (s3 && 95 === c2)
4292
- r2 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), 95 === o2 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), 0 === h2 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), o2 = c2;
3981
+ if (s3 && 95 === c2) r2 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), 95 === o2 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), 0 === h2 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), o2 = c2;
4293
3982
  else {
4294
- if ((l2 = c2 >= 97 ? c2 - 97 + 10 : c2 >= 65 ? c2 - 65 + 10 : c2 >= 48 && c2 <= 57 ? c2 - 48 : 1 / 0) >= t3)
4295
- break;
3983
+ if ((l2 = c2 >= 97 ? c2 - 97 + 10 : c2 >= 65 ? c2 - 65 + 10 : c2 >= 48 && c2 <= 57 ? c2 - 48 : 1 / 0) >= t3) break;
4296
3984
  o2 = c2, n2 = n2 * t3 + l2;
4297
3985
  }
4298
3986
  }
@@ -4321,15 +4009,13 @@ var reactJsxParser_min = { exports: {} };
4321
4009
  this.options.ecmaVersion < 6 && this.unexpected();
4322
4010
  var e3 = ++this.pos;
4323
4011
  t3 = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos), ++this.pos, t3 > 1114111 && this.invalidStringToken(e3, "Code point out of bounds");
4324
- } else
4325
- t3 = this.readHexChar(4);
4012
+ } else t3 = this.readHexChar(4);
4326
4013
  return t3;
4327
4014
  }, Lt.readString = function(t3) {
4328
4015
  for (var e3 = "", i3 = ++this.pos; ; ) {
4329
4016
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
4330
4017
  var s3 = this.input.charCodeAt(this.pos);
4331
- if (s3 === t3)
4332
- break;
4018
+ if (s3 === t3) break;
4333
4019
  92 === s3 ? (e3 += this.input.slice(i3, this.pos), e3 += this.readEscapedChar(false), i3 = this.pos) : (C(s3, this.options.ecmaVersion >= 10) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
4334
4020
  }
4335
4021
  return e3 += this.input.slice(i3, this.pos++), this.finishToken(k.string, e3);
@@ -4340,23 +4026,19 @@ var reactJsxParser_min = { exports: {} };
4340
4026
  try {
4341
4027
  this.readTmplToken();
4342
4028
  } catch (t3) {
4343
- if (t3 !== Rt)
4344
- throw t3;
4029
+ if (t3 !== Rt) throw t3;
4345
4030
  this.readInvalidTemplateToken();
4346
4031
  }
4347
4032
  this.inTemplateElement = false;
4348
4033
  }, Lt.invalidStringToken = function(t3, e3) {
4349
- if (this.inTemplateElement && this.options.ecmaVersion >= 9)
4350
- throw Rt;
4034
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Rt;
4351
4035
  this.raise(t3, e3);
4352
4036
  }, Lt.readTmplToken = function() {
4353
4037
  for (var t3 = "", e3 = this.pos; ; ) {
4354
4038
  this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
4355
4039
  var i3 = this.input.charCodeAt(this.pos);
4356
- if (96 === i3 || 36 === i3 && 123 === this.input.charCodeAt(this.pos + 1))
4357
- return this.pos !== this.start || this.type !== k.template && this.type !== k.invalidTemplate ? (t3 += this.input.slice(e3, this.pos), this.finishToken(k.template, t3)) : 36 === i3 ? (this.pos += 2, this.finishToken(k.dollarBraceL)) : (++this.pos, this.finishToken(k.backQuote));
4358
- if (92 === i3)
4359
- t3 += this.input.slice(e3, this.pos), t3 += this.readEscapedChar(true), e3 = this.pos;
4040
+ if (96 === i3 || 36 === i3 && 123 === this.input.charCodeAt(this.pos + 1)) return this.pos !== this.start || this.type !== k.template && this.type !== k.invalidTemplate ? (t3 += this.input.slice(e3, this.pos), this.finishToken(k.template, t3)) : 36 === i3 ? (this.pos += 2, this.finishToken(k.dollarBraceL)) : (++this.pos, this.finishToken(k.backQuote));
4041
+ if (92 === i3) t3 += this.input.slice(e3, this.pos), t3 += this.readEscapedChar(true), e3 = this.pos;
4360
4042
  else if (C(i3)) {
4361
4043
  switch (t3 += this.input.slice(e3, this.pos), ++this.pos, i3) {
4362
4044
  case 13:
@@ -4368,21 +4050,18 @@ var reactJsxParser_min = { exports: {} };
4368
4050
  t3 += String.fromCharCode(i3);
4369
4051
  }
4370
4052
  this.options.locations && (++this.curLine, this.lineStart = this.pos), e3 = this.pos;
4371
- } else
4372
- ++this.pos;
4053
+ } else ++this.pos;
4373
4054
  }
4374
4055
  }, Lt.readInvalidTemplateToken = function() {
4375
- for (; this.pos < this.input.length; this.pos++)
4376
- switch (this.input[this.pos]) {
4377
- case "\\":
4378
- ++this.pos;
4379
- break;
4380
- case "$":
4381
- if ("{" !== this.input[this.pos + 1])
4382
- break;
4383
- case "`":
4384
- return this.finishToken(k.invalidTemplate, this.input.slice(this.start, this.pos));
4385
- }
4056
+ for (; this.pos < this.input.length; this.pos++) switch (this.input[this.pos]) {
4057
+ case "\\":
4058
+ ++this.pos;
4059
+ break;
4060
+ case "$":
4061
+ if ("{" !== this.input[this.pos + 1]) break;
4062
+ case "`":
4063
+ return this.finishToken(k.invalidTemplate, this.input.slice(this.start, this.pos));
4064
+ }
4386
4065
  this.raise(this.start, "Unterminated template");
4387
4066
  }, Lt.readEscapedChar = function(t3) {
4388
4067
  var e3 = this.input.charCodeAt(++this.pos);
@@ -4427,11 +4106,9 @@ var reactJsxParser_min = { exports: {} };
4427
4106
  this.containsEsc = false;
4428
4107
  for (var t3 = "", e3 = true, i3 = this.pos, s3 = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
4429
4108
  var r2 = this.fullCharCodeAtPos();
4430
- if (m(r2, s3))
4431
- this.pos += r2 <= 65535 ? 1 : 2;
4109
+ if (m(r2, s3)) this.pos += r2 <= 65535 ? 1 : 2;
4432
4110
  else {
4433
- if (92 !== r2)
4434
- break;
4111
+ if (92 !== r2) break;
4435
4112
  this.containsEsc = true, t3 += this.input.slice(i3, this.pos);
4436
4113
  var a2 = this.pos;
4437
4114
  117 !== this.input.charCodeAt(++this.pos) && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
@@ -4515,36 +4192,28 @@ var reactJsxParser_min = { exports: {} };
4515
4192
  };
4516
4193
  function Yt(t3) {
4517
4194
  return function(t4) {
4518
- if (Array.isArray(t4))
4519
- return t4;
4195
+ if (Array.isArray(t4)) return t4;
4520
4196
  }(t3) || function(t4) {
4521
- if ("undefined" != typeof Symbol && Symbol.iterator in Object(t4))
4522
- return Array.from(t4);
4197
+ if ("undefined" != typeof Symbol && Symbol.iterator in Object(t4)) return Array.from(t4);
4523
4198
  }(t3) || function(t4, e3) {
4524
- if (!t4)
4525
- return;
4526
- if ("string" == typeof t4)
4527
- return Zt(t4, e3);
4199
+ if (!t4) return;
4200
+ if ("string" == typeof t4) return Zt(t4, e3);
4528
4201
  var i3 = Object.prototype.toString.call(t4).slice(8, -1);
4529
4202
  "Object" === i3 && t4.constructor && (i3 = t4.constructor.name);
4530
- if ("Map" === i3 || "Set" === i3)
4531
- return Array.from(t4);
4532
- if ("Arguments" === i3 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i3))
4533
- return Zt(t4, e3);
4203
+ if ("Map" === i3 || "Set" === i3) return Array.from(t4);
4204
+ if ("Arguments" === i3 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i3)) return Zt(t4, e3);
4534
4205
  }(t3) || function() {
4535
4206
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4536
4207
  }();
4537
4208
  }
4538
4209
  function Zt(t3, e3) {
4539
4210
  (null == e3 || e3 > t3.length) && (e3 = t3.length);
4540
- for (var i3 = 0, s3 = new Array(e3); i3 < e3; i3++)
4541
- s3[i3] = t3[i3];
4211
+ for (var i3 = 0, s3 = new Array(e3); i3 < e3; i3++) s3[i3] = t3[i3];
4542
4212
  return s3;
4543
4213
  }
4544
4214
  var $t = function t3(e3, i3) {
4545
4215
  var s3 = Yt(i3), r2 = s3[0], a2 = s3.slice(1);
4546
- if (null != e3 && null != r2)
4547
- return 0 === a2.length ? e3[r2] : t3(e3[r2], a2);
4216
+ if (null != e3 && null != r2) return 0 === a2.length ? e3[r2] : t3(e3[r2], a2);
4548
4217
  }, te = function(t3, e3) {
4549
4218
  return $t(t3, function(t4) {
4550
4219
  return null == t4 || "" === t4 ? [] : t4.split(".");
@@ -4580,23 +4249,19 @@ var reactJsxParser_min = { exports: {} };
4580
4249
  }
4581
4250
  function re(t3, e3) {
4582
4251
  return function(t4) {
4583
- if (Array.isArray(t4))
4584
- return t4;
4252
+ if (Array.isArray(t4)) return t4;
4585
4253
  }(t3) || function(t4, e4) {
4586
- if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(t4)))
4587
- return;
4254
+ if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(t4))) return;
4588
4255
  var i3 = [], s3 = true, r2 = false, a2 = void 0;
4589
4256
  try {
4590
- for (var n2, o2 = t4[Symbol.iterator](); !(s3 = (n2 = o2.next()).done) && (i3.push(n2.value), !e4 || i3.length !== e4); s3 = true)
4591
- ;
4257
+ for (var n2, o2 = t4[Symbol.iterator](); !(s3 = (n2 = o2.next()).done) && (i3.push(n2.value), !e4 || i3.length !== e4); s3 = true) ;
4592
4258
  } catch (t5) {
4593
4259
  r2 = true, a2 = t5;
4594
4260
  } finally {
4595
4261
  try {
4596
4262
  s3 || null == o2.return || o2.return();
4597
4263
  } finally {
4598
- if (r2)
4599
- throw a2;
4264
+ if (r2) throw a2;
4600
4265
  }
4601
4266
  }
4602
4267
  return i3;
@@ -4606,32 +4271,27 @@ var reactJsxParser_min = { exports: {} };
4606
4271
  }
4607
4272
  function ae(t3) {
4608
4273
  return function(t4) {
4609
- if (Array.isArray(t4))
4610
- return oe(t4);
4274
+ if (Array.isArray(t4)) return oe(t4);
4611
4275
  }(t3) || function(t4) {
4612
- if ("undefined" != typeof Symbol && Symbol.iterator in Object(t4))
4613
- return Array.from(t4);
4276
+ if ("undefined" != typeof Symbol && Symbol.iterator in Object(t4)) return Array.from(t4);
4614
4277
  }(t3) || ne(t3) || function() {
4615
4278
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4616
4279
  }();
4617
4280
  }
4618
4281
  function ne(t3, e3) {
4619
4282
  if (t3) {
4620
- if ("string" == typeof t3)
4621
- return oe(t3, e3);
4283
+ if ("string" == typeof t3) return oe(t3, e3);
4622
4284
  var i3 = Object.prototype.toString.call(t3).slice(8, -1);
4623
4285
  return "Object" === i3 && t3.constructor && (i3 = t3.constructor.name), "Map" === i3 || "Set" === i3 ? Array.from(t3) : "Arguments" === i3 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i3) ? oe(t3, e3) : void 0;
4624
4286
  }
4625
4287
  }
4626
4288
  function oe(t3, e3) {
4627
4289
  (null == e3 || e3 > t3.length) && (e3 = t3.length);
4628
- for (var i3 = 0, s3 = new Array(e3); i3 < e3; i3++)
4629
- s3[i3] = t3[i3];
4290
+ for (var i3 = 0, s3 = new Array(e3); i3 < e3; i3++) s3[i3] = t3[i3];
4630
4291
  return s3;
4631
4292
  }
4632
4293
  function he(t3, e3) {
4633
- if (!(t3 instanceof e3))
4634
- throw new TypeError("Cannot call a class as a function");
4294
+ if (!(t3 instanceof e3)) throw new TypeError("Cannot call a class as a function");
4635
4295
  }
4636
4296
  function pe(t3, e3) {
4637
4297
  return (pe = Object.setPrototypeOf || function(t4, e4) {
@@ -4640,12 +4300,9 @@ var reactJsxParser_min = { exports: {} };
4640
4300
  }
4641
4301
  function ce(t3) {
4642
4302
  var e3 = function() {
4643
- if ("undefined" == typeof Reflect || !Reflect.construct)
4644
- return false;
4645
- if (Reflect.construct.sham)
4646
- return false;
4647
- if ("function" == typeof Proxy)
4648
- return true;
4303
+ if ("undefined" == typeof Reflect || !Reflect.construct) return false;
4304
+ if (Reflect.construct.sham) return false;
4305
+ if ("function" == typeof Proxy) return true;
4649
4306
  try {
4650
4307
  return Date.prototype.toString.call(Reflect.construct(Date, [], function() {
4651
4308
  })), true;
@@ -4658,8 +4315,7 @@ var reactJsxParser_min = { exports: {} };
4658
4315
  if (e3) {
4659
4316
  var r2 = de(this).constructor;
4660
4317
  i3 = Reflect.construct(s3, arguments, r2);
4661
- } else
4662
- i3 = s3.apply(this, arguments);
4318
+ } else i3 = s3.apply(this, arguments);
4663
4319
  return le(this, i3);
4664
4320
  };
4665
4321
  }
@@ -4667,8 +4323,7 @@ var reactJsxParser_min = { exports: {} };
4667
4323
  return !e3 || "object" !== ee(e3) && "function" != typeof e3 ? ue(t3) : e3;
4668
4324
  }
4669
4325
  function ue(t3) {
4670
- if (void 0 === t3)
4671
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4326
+ if (void 0 === t3) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4672
4327
  return t3;
4673
4328
  }
4674
4329
  function de(t3) {
@@ -4681,22 +4336,19 @@ var reactJsxParser_min = { exports: {} };
4681
4336
  }
4682
4337
  function me(t3, e3) {
4683
4338
  var i3 = e3.get(t3);
4684
- if (!i3)
4685
- throw new TypeError("attempted to get private field on non-instance");
4339
+ if (!i3) throw new TypeError("attempted to get private field on non-instance");
4686
4340
  return i3.get ? i3.get.call(t3) : i3.value;
4687
4341
  }
4688
4342
  var ge = /* @__PURE__ */ new WeakMap(), xe = /* @__PURE__ */ new WeakMap(), ye = /* @__PURE__ */ new WeakMap(), ve = /* @__PURE__ */ new WeakMap(), be = /* @__PURE__ */ new WeakMap(), _e = function(t3) {
4689
4343
  !function(t4, e4) {
4690
- if ("function" != typeof e4 && null !== e4)
4691
- throw new TypeError("Super expression must either be null or a function");
4344
+ if ("function" != typeof e4 && null !== e4) throw new TypeError("Super expression must either be null or a function");
4692
4345
  t4.prototype = Object.create(e4 && e4.prototype, { constructor: { value: t4, writable: true, configurable: true } }), e4 && pe(t4, e4);
4693
4346
  }(i3, t3);
4694
4347
  var e3 = ce(i3);
4695
4348
  function i3() {
4696
4349
  var t4;
4697
4350
  he(this, i3);
4698
- for (var s3 = arguments.length, r2 = new Array(s3), a2 = 0; a2 < s3; a2++)
4699
- r2[a2] = arguments[a2];
4351
+ for (var s3 = arguments.length, r2 = new Array(s3), a2 = 0; a2 < s3; a2++) r2[a2] = arguments[a2];
4700
4352
  return fe(ue(t4 = e3.call.apply(e3, [this].concat(r2))), "ParsedChildren", null), ge.set(ue(t4), { writable: true, value: function(e4) {
4701
4353
  var i4 = F.extend(Bt()({ autoCloseVoidElements: t4.props.autoCloseVoidElements })), s4 = "<root>".concat(e4, "</root>"), r3 = [];
4702
4354
  try {
@@ -4798,11 +4450,9 @@ var reactJsxParser_min = { exports: {} };
4798
4450
  return;
4799
4451
  case "ArrowFunctionExpression":
4800
4452
  var o2, h2;
4801
- if (e4.async || e4.generator)
4802
- null === (o2 = (h2 = t4.props).onError) || void 0 === o2 || o2.call(h2, new Error("Async and generator arrow functions are not supported."));
4453
+ if (e4.async || e4.generator) null === (o2 = (h2 = t4.props).onError) || void 0 === o2 || o2.call(h2, new Error("Async and generator arrow functions are not supported."));
4803
4454
  return function() {
4804
- for (var i5 = arguments.length, s5 = new Array(i5), r4 = 0; r4 < i5; r4++)
4805
- s5[r4] = arguments[r4];
4455
+ for (var i5 = arguments.length, s5 = new Array(i5), r4 = 0; r4 < i5; r4++) s5[r4] = arguments[r4];
4806
4456
  var a4 = {};
4807
4457
  return e4.params.forEach(function(t5, e5) {
4808
4458
  a4[t5.name] = s5[e5];
@@ -4811,15 +4461,12 @@ var reactJsxParser_min = { exports: {} };
4811
4461
  }
4812
4462
  } }), ye.set(ue(t4), { writable: true, value: function(e4, i4) {
4813
4463
  var s4, r3, a3, n2, o2 = e4.object, h2 = [null !== (s4 = null === (r3 = e4.property) || void 0 === r3 ? void 0 : r3.name) && void 0 !== s4 ? s4 : JSON.parse(null !== (a3 = null === (n2 = e4.property) || void 0 === n2 ? void 0 : n2.raw) && void 0 !== a3 ? a3 : '""')];
4814
- if ("Literal" !== e4.object.type)
4815
- for (; o2 && ["MemberExpression", "Literal"].includes(null === (p2 = o2) || void 0 === p2 ? void 0 : p2.type); ) {
4816
- var p2, c2, l2, u2 = o2.property;
4817
- if (o2.computed)
4818
- h2.unshift(me(ue(t4), xe).call(ue(t4), u2, i4));
4819
- else
4820
- h2.unshift(null !== (c2 = null == u2 ? void 0 : u2.name) && void 0 !== c2 ? c2 : JSON.parse(null !== (l2 = null == u2 ? void 0 : u2.raw) && void 0 !== l2 ? l2 : '""'));
4821
- o2 = o2.object;
4822
- }
4464
+ if ("Literal" !== e4.object.type) for (; o2 && ["MemberExpression", "Literal"].includes(null === (p2 = o2) || void 0 === p2 ? void 0 : p2.type); ) {
4465
+ var p2, c2, l2, u2 = o2.property;
4466
+ if (o2.computed) h2.unshift(me(ue(t4), xe).call(ue(t4), u2, i4));
4467
+ else h2.unshift(null !== (c2 = null == u2 ? void 0 : u2.name) && void 0 !== c2 ? c2 : JSON.parse(null !== (l2 = null == u2 ? void 0 : u2.raw) && void 0 !== l2 ? l2 : '""'));
4468
+ o2 = o2.object;
4469
+ }
4823
4470
  var d2 = me(ue(t4), xe).call(ue(t4), o2, i4);
4824
4471
  try {
4825
4472
  var f2 = d2, m2 = h2.reduce(function(t5, e5) {
@@ -4838,33 +4485,26 @@ var reactJsxParser_min = { exports: {} };
4838
4485
  }), m2 = (t4.props.blacklistedTags || []).map(function(t5) {
4839
4486
  return t5.trim().toLowerCase();
4840
4487
  }).filter(Boolean);
4841
- if (/^(html|head|body)$/i.test(d2))
4842
- return p2.map(function(e5) {
4843
- return me(ue(t4), be).call(ue(t4), e5, i4);
4844
- });
4488
+ if (/^(html|head|body)$/i.test(d2)) return p2.map(function(e5) {
4489
+ return me(ue(t4), be).call(ue(t4), e5, i4);
4490
+ });
4845
4491
  var g2, x2 = d2.trim().toLowerCase();
4846
- if (-1 !== m2.indexOf(x2))
4847
- return o2(new Error("The tag <".concat(d2, "> is blacklisted, and will not be rendered."))), null;
4492
+ if (-1 !== m2.indexOf(x2)) return o2(new Error("The tag <".concat(d2, "> is blacklisted, and will not be rendered."))), null;
4848
4493
  if ("" !== d2 && !te(a3, d2)) {
4849
- if (n2)
4850
- return o2(new Error("The component <".concat(d2, "> is unrecognized, and will not be rendered."))), t4.props.renderUnrecognized(d2);
4851
- if (!r3 && document.createElement(d2) instanceof HTMLUnknownElement)
4852
- return o2(new Error("The tag <".concat(d2, "> is unrecognized in this browser, and will not be rendered."))), t4.props.renderUnrecognized(d2);
4494
+ if (n2) return o2(new Error("The component <".concat(d2, "> is unrecognized, and will not be rendered."))), t4.props.renderUnrecognized(d2);
4495
+ if (!r3 && document.createElement(d2) instanceof HTMLUnknownElement) return o2(new Error("The tag <".concat(d2, "> is unrecognized in this browser, and will not be rendered."))), t4.props.renderUnrecognized(d2);
4853
4496
  }
4854
4497
  var y2 = "JSXElement" === e4.type ? te(a3, d2) : Dt.Fragment;
4855
- if (y2 || Gt(d2))
4856
- if (g2 = p2.map(function(e5) {
4857
- return me(ue(t4), xe).call(ue(t4), e5, i4);
4858
- }), y2 || Ht(d2) || (g2 = g2.filter(function(t5) {
4859
- return "string" != typeof t5 || !/^\s*$/.test(t5);
4860
- })), 0 === g2.length)
4861
- g2 = void 0;
4862
- else if (1 === g2.length) {
4863
- g2 = re(g2, 1)[0];
4864
- } else
4865
- g2.length > 1 && !t4.props.disableKeyGeneration && (g2 = g2.map(function(t5, e5) {
4866
- return null == t5 || !t5.type || null != t5 && t5.key ? t5 : se(se({}, t5), {}, { key: t5.key || e5 });
4867
- }));
4498
+ if (y2 || Gt(d2)) if (g2 = p2.map(function(e5) {
4499
+ return me(ue(t4), xe).call(ue(t4), e5, i4);
4500
+ }), y2 || Ht(d2) || (g2 = g2.filter(function(t5) {
4501
+ return "string" != typeof t5 || !/^\s*$/.test(t5);
4502
+ })), 0 === g2.length) g2 = void 0;
4503
+ else if (1 === g2.length) {
4504
+ g2 = re(g2, 1)[0];
4505
+ } else g2.length > 1 && !t4.props.disableKeyGeneration && (g2 = g2.map(function(t5, e5) {
4506
+ return null == t5 || !t5.type || null != t5 && t5.key ? t5 : se(se({}, t5), {}, { key: t5.key || e5 });
4507
+ }));
4868
4508
  var v2 = { key: t4.props.disableKeyGeneration ? void 0 : Wt() };
4869
4509
  u2.forEach(function(e5) {
4870
4510
  if ("JSXAttribute" === e5.type) {
@@ -4901,8 +4541,7 @@ var reactJsxParser_min = { exports: {} };
4901
4541
  e2.exports = t;
4902
4542
  } }, i = {};
4903
4543
  function s(t2) {
4904
- if (i[t2])
4905
- return i[t2].exports;
4544
+ if (i[t2]) return i[t2].exports;
4906
4545
  var r = i[t2] = { exports: {} };
4907
4546
  return e[t2].call(r.exports, r, r.exports, s), r.exports;
4908
4547
  }
@@ -4910,8 +4549,7 @@ var reactJsxParser_min = { exports: {} };
4910
4549
  var e2 = t2 && t2.__esModule ? () => t2.default : () => t2;
4911
4550
  return s.d(e2, { a: e2 }), e2;
4912
4551
  }, s.d = (t2, e2) => {
4913
- for (var i2 in e2)
4914
- s.o(e2, i2) && !s.o(t2, i2) && Object.defineProperty(t2, i2, { enumerable: true, get: e2[i2] });
4552
+ for (var i2 in e2) s.o(e2, i2) && !s.o(t2, i2) && Object.defineProperty(t2, i2, { enumerable: true, get: e2[i2] });
4915
4553
  }, s.o = (t2, e2) => Object.prototype.hasOwnProperty.call(t2, e2), s.r = (t2) => {
4916
4554
  "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t2, "__esModule", { value: true });
4917
4555
  }, s(272);