bromcom-ui 2.11.1-rc.9-3 → 2.11.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 (337) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/p-04068410.entry.js +5 -0
  4. package/dist/bromcom-ui/p-06392358.entry.js +5 -0
  5. package/dist/bromcom-ui/p-08af4159.entry.js +5 -0
  6. package/dist/bromcom-ui/{p-2cd6cdee.js → p-09318a64.js} +1 -1
  7. package/dist/bromcom-ui/p-0bde4e71.entry.js +5 -0
  8. package/dist/bromcom-ui/p-0d87846a.entry.js +5 -0
  9. package/dist/bromcom-ui/p-0ed34855.entry.js +5 -0
  10. package/dist/bromcom-ui/p-0f58e83a.js +5 -0
  11. package/dist/bromcom-ui/p-19283acb.entry.js +5 -0
  12. package/dist/bromcom-ui/p-1e377d82.js +5 -0
  13. package/dist/bromcom-ui/p-207c20c6.entry.js +5 -0
  14. package/dist/bromcom-ui/{p-35c215f2.entry.js → p-20b5c273.entry.js} +1 -1
  15. package/dist/bromcom-ui/p-24906295.entry.js +5 -0
  16. package/dist/bromcom-ui/p-2b4970f5.entry.js +5 -0
  17. package/dist/bromcom-ui/p-2d3ff3b8.entry.js +5 -0
  18. package/dist/bromcom-ui/p-2e7107b8.entry.js +5 -0
  19. package/dist/bromcom-ui/p-3115008f.entry.js +5 -0
  20. package/dist/bromcom-ui/p-346395fa.entry.js +5 -0
  21. package/dist/bromcom-ui/p-375906b2.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-adcb30bc.entry.js → p-3861fc92.entry.js} +1 -1
  23. package/dist/bromcom-ui/p-3f3579b5.entry.js +5 -0
  24. package/dist/bromcom-ui/p-41e75c88.entry.js +5 -0
  25. package/dist/bromcom-ui/p-4e44bab2.entry.js +5 -0
  26. package/dist/bromcom-ui/p-5196912d.js +5 -0
  27. package/dist/bromcom-ui/p-51b2e857.entry.js +5 -0
  28. package/dist/bromcom-ui/p-52a75efb.entry.js +5 -0
  29. package/dist/bromcom-ui/{p-6f37a4d7.entry.js → p-5c70a918.entry.js} +1 -1
  30. package/dist/bromcom-ui/p-5fbb4950.entry.js +5 -0
  31. package/dist/bromcom-ui/{p-a4b675ef.entry.js → p-630a4d45.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-65ac7386.entry.js +5 -0
  33. package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
  34. package/dist/bromcom-ui/p-7005fb55.entry.js +5 -0
  35. package/dist/bromcom-ui/{p-930f3618.js → p-743731ac.js} +1 -1
  36. package/dist/bromcom-ui/p-7c512c4d.entry.js +5 -0
  37. package/dist/bromcom-ui/p-81887469.entry.js +5 -0
  38. package/dist/bromcom-ui/p-81cbc318.entry.js +5 -0
  39. package/dist/bromcom-ui/p-82d01088.entry.js +5 -0
  40. package/dist/bromcom-ui/p-82f0b161.js +5 -0
  41. package/dist/bromcom-ui/p-84b97f53.entry.js +5 -0
  42. package/dist/bromcom-ui/p-857628f6.js +5 -0
  43. package/dist/bromcom-ui/{p-90223f9f.entry.js → p-887c26f8.entry.js} +1 -1
  44. package/dist/bromcom-ui/p-8a6fb2d5.entry.js +5 -0
  45. package/dist/bromcom-ui/{p-8b31581f.js → p-8ed054fe.js} +1 -1
  46. package/dist/bromcom-ui/p-926f8ac4.entry.js +5 -0
  47. package/dist/bromcom-ui/p-950a341e.entry.js +7 -0
  48. package/dist/bromcom-ui/p-9810187e.entry.js +5 -0
  49. package/dist/bromcom-ui/p-9b5c86e1.entry.js +5 -0
  50. package/dist/bromcom-ui/p-a0d6d680.js +1 -1
  51. package/dist/bromcom-ui/{p-a018f340.entry.js → p-a1e299af.entry.js} +1 -1
  52. package/dist/bromcom-ui/p-a313fba6.js +1 -1
  53. package/dist/bromcom-ui/p-a34bc3d8.entry.js +5 -0
  54. package/dist/bromcom-ui/p-a42fbe84.entry.js +5 -0
  55. package/dist/bromcom-ui/p-a5208f05.entry.js +5 -0
  56. package/dist/bromcom-ui/p-a6142e74.entry.js +5 -0
  57. package/dist/bromcom-ui/p-aea1b034.entry.js +5 -0
  58. package/dist/bromcom-ui/p-b381e7f1.js +19 -0
  59. package/dist/bromcom-ui/p-b4da198b.entry.js +5 -0
  60. package/dist/bromcom-ui/{p-14ed8029.entry.js → p-b764ab86.entry.js} +1 -1
  61. package/dist/bromcom-ui/p-bde67994.entry.js +5 -0
  62. package/dist/bromcom-ui/p-c1761829.entry.js +5 -0
  63. package/dist/bromcom-ui/{p-5a391fcd.js → p-c7aff122.js} +1 -1
  64. package/dist/bromcom-ui/p-c7caf94d.js +5 -0
  65. package/dist/bromcom-ui/{p-5bf1657b.entry.js → p-ce3b34da.entry.js} +1 -1
  66. package/dist/bromcom-ui/p-cf011393.entry.js +5 -0
  67. package/dist/bromcom-ui/p-d01426b6.entry.js +5 -0
  68. package/dist/bromcom-ui/p-d098f115.entry.js +5 -0
  69. package/dist/bromcom-ui/p-d9fcd150.js +5 -0
  70. package/dist/bromcom-ui/{p-0eacfbb2.entry.js → p-dc62a5f7.entry.js} +1 -1
  71. package/dist/bromcom-ui/p-e3c69b3b.entry.js +5 -0
  72. package/dist/bromcom-ui/{p-db15dca3.entry.js → p-e9333e52.entry.js} +1 -1
  73. package/dist/bromcom-ui/p-f56f2a2d.entry.js +5 -0
  74. package/dist/bromcom-ui/p-fcf4b343.entry.js +5 -0
  75. package/dist/bromcom-ui/p-fe776e62.entry.js +5 -0
  76. package/dist/cjs/Overflow-a821abd0.js +2769 -0
  77. package/dist/cjs/{bcm-1d1fcf21.js → bcm-489c9b1a.js} +4 -4
  78. package/dist/cjs/bcm-accordion.cjs.entry.js +74 -0
  79. package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
  80. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -9
  81. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -9
  82. package/dist/cjs/bcm-attendance-actions.cjs.entry.js +329 -0
  83. package/dist/cjs/bcm-attendance.cjs.entry.js +35 -0
  84. package/dist/cjs/bcm-avatar_2.cjs.entry.js +209 -0
  85. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  86. package/dist/cjs/bcm-button-group.cjs.entry.js +92 -0
  87. package/dist/cjs/bcm-button_15.cjs.entry.js +18623 -0
  88. package/dist/cjs/bcm-caption.cjs.entry.js +9 -10
  89. package/dist/cjs/bcm-card.cjs.entry.js +5 -5
  90. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +415 -0
  91. package/dist/cjs/{bcm-checkbox-lite_8.cjs.entry.js → bcm-checkbox-lite_9.cjs.entry.js} +26 -6
  92. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +194 -0
  93. package/dist/cjs/bcm-chip-group.cjs.entry.js +9 -10
  94. package/dist/cjs/bcm-chip.cjs.entry.js +91 -0
  95. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  96. package/dist/cjs/bcm-color-input.cjs.entry.js +76 -0
  97. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  98. package/dist/cjs/bcm-drawer.cjs.entry.js +95 -0
  99. package/dist/cjs/bcm-dropdown.cjs.entry.js +119 -0
  100. package/dist/cjs/bcm-error-layout.cjs.entry.js +1 -1
  101. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +116 -0
  102. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  103. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +10 -11
  104. package/dist/cjs/bcm-item.cjs.entry.js +72 -0
  105. package/dist/cjs/bcm-items.cjs.entry.js +49 -0
  106. package/dist/cjs/bcm-link.cjs.entry.js +3 -3
  107. package/dist/cjs/bcm-list_3.cjs.entry.js +1970 -0
  108. package/dist/cjs/bcm-menu.cjs.entry.js +150 -0
  109. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -7
  110. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -7
  111. package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -8
  112. package/dist/cjs/bcm-modal.cjs.entry.js +157 -0
  113. package/dist/cjs/bcm-number-input.cjs.entry.js +9 -10
  114. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +115 -0
  115. package/dist/cjs/bcm-popconfirm.cjs.entry.js +101 -0
  116. package/dist/cjs/bcm-popover.cjs.entry.js +9 -10
  117. package/dist/cjs/bcm-progress.cjs.entry.js +162 -0
  118. package/dist/cjs/bcm-radio-group.cjs.entry.js +160 -0
  119. package/dist/cjs/bcm-radio.cjs.entry.js +64 -0
  120. package/dist/cjs/bcm-range.cjs.entry.js +6 -6
  121. package/dist/cjs/bcm-select.cjs.entry.js +2 -2
  122. package/dist/cjs/bcm-shortcut.cjs.entry.js +64 -0
  123. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -7
  124. package/dist/cjs/bcm-step.cjs.entry.js +89 -0
  125. package/dist/cjs/bcm-stepper.cjs.entry.js +239 -0
  126. package/dist/cjs/bcm-switch.cjs.entry.js +151 -0
  127. package/dist/cjs/bcm-tab-group.cjs.entry.js +209 -0
  128. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +58 -0
  129. package/dist/cjs/bcm-tab-item.cjs.entry.js +90 -0
  130. package/dist/cjs/bcm-table.cjs.entry.js +6 -7
  131. package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
  132. package/dist/cjs/bcm-text.cjs.entry.js +49 -0
  133. package/dist/cjs/bcm-textarea.cjs.entry.js +163 -0
  134. package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
  135. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  136. package/dist/cjs/{caption-template-85a18b6d.js → caption-template-086e9cac.js} +2 -2
  137. package/dist/cjs/{floating-ui-5b396838.js → floating-ui-21890d11.js} +2 -2
  138. package/dist/cjs/{generate-f73a098d.js → generate-82c63a56.js} +1 -1
  139. package/dist/cjs/{global-baf04c81.js → global-1e13ce25.js} +1 -1
  140. package/dist/cjs/input-template-e0087a2b.js +92 -0
  141. package/dist/cjs/json-parse-decarator-e0946e2e.js +40 -0
  142. package/dist/cjs/{label-template-e83447b5.js → label-template-94b3d775.js} +3 -3
  143. package/dist/cjs/loader.cjs.js +3 -3
  144. package/dist/cjs/{number-helper-0543a62e.js → number-helper-10017fcd.js} +1 -1
  145. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
  146. package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
  147. package/dist/cjs/{package-e717a31f.js → package-13f78ab4.js} +1 -1
  148. package/dist/cjs/{popover-placement-02e6101b.js → popover-placement-e7d6eabd.js} +1 -1
  149. package/dist/cjs/{slot-template-df7b5b59.js → slot-template-c8e2816c.js} +1 -1
  150. package/dist/cjs/stepper-states-77438c3a.js +85 -0
  151. package/dist/cjs/{string-helper-9cdfb273.js → string-helper-f9184277.js} +2 -2
  152. package/dist/cjs/tooltip-helper-a2793290.js +157 -0
  153. package/dist/cjs/{validators-77768582.js → validators-f4c3063b.js} +6 -1
  154. package/dist/collection/components/atoms/avatar/avatar.js +1 -1
  155. package/dist/collection/components/atoms/badge/badge.js +1 -1
  156. package/dist/collection/components/atoms/badge/badge.style.js +1 -1
  157. package/dist/collection/components/atoms/button/button.css +13 -13
  158. package/dist/collection/components/atoms/button/button.js +14 -14
  159. package/dist/collection/components/atoms/chip/chip.css +4 -4
  160. package/dist/collection/components/atoms/chip/chip.js +3 -3
  161. package/dist/collection/components/molecules/checkbox/group.css +2 -2
  162. package/dist/collection/components/molecules/checkbox/group.js +1 -1
  163. package/dist/collection/components/molecules/color-input/color-input.js +1 -1
  164. package/dist/collection/components/molecules/empty/empty.js +1 -1
  165. package/dist/collection/components/molecules/error-layout/error-layout.js +1 -1
  166. package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +1 -1
  167. package/dist/collection/components/molecules/input/input.js +1 -1
  168. package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +1 -1
  169. package/dist/collection/components/molecules/menu/menu.css +4 -4
  170. package/dist/collection/components/molecules/modal/modal.css +1 -1
  171. package/dist/collection/components/molecules/radio/radio-group.js +1 -1
  172. package/dist/collection/components/molecules/radio/radio.js +1 -1
  173. package/dist/collection/components/molecules/range/range.js +1 -1
  174. package/dist/collection/components/molecules/switch/switch.css +2 -2
  175. package/dist/collection/components/molecules/tab-group/tab-group.js +2 -2
  176. package/dist/collection/components/molecules/tab-group/tab-item-header.js +5 -5
  177. package/dist/collection/components/molecules/tooltip/tooltip.js +1 -1
  178. package/dist/collection/components/organism/list/list.css +2 -2
  179. package/dist/collection/components/organism/list/list.js +2 -2
  180. package/dist/collection/components/other/attendance/attendance.js +1 -1
  181. package/dist/collection/components/third-parts/rc-picker/date.js +1 -1
  182. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +40 -5
  183. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +11 -2
  184. package/dist/collection/stories/ui-library/components/date/argTypes_common.js +0 -1
  185. package/dist/collection/templates/button-template.js +1 -1
  186. package/dist/collection/templates/caption-template.js +2 -2
  187. package/dist/collection/templates/input-template.js +1 -1
  188. package/dist/collection/templates/label-template.js +1 -1
  189. package/dist/collection/templates/list-item-template.js +1 -1
  190. package/dist/collection/templates/list-template.js +9 -3
  191. package/dist/components/{raf.js → Overflow.js} +692 -69
  192. package/dist/components/avatar.js +1 -1
  193. package/dist/components/badge.js +2 -2
  194. package/dist/components/bcm-attendance.js +1 -1
  195. package/dist/components/bcm-checkbox-group.js +2 -2
  196. package/dist/components/bcm-color-input.js +1 -1
  197. package/dist/components/bcm-date.js +1 -1
  198. package/dist/components/bcm-error-layout.js +1 -1
  199. package/dist/components/bcm-expansion-panel.js +1 -1
  200. package/dist/components/bcm-input-dropdown.js +1 -1
  201. package/dist/components/bcm-modal.js +1 -1
  202. package/dist/components/bcm-radio-group.js +1 -1
  203. package/dist/components/bcm-range.js +1 -1
  204. package/dist/components/bcm-switch.js +1 -1
  205. package/dist/components/bcm-tab-group.js +2 -2
  206. package/dist/components/bcm-tab-item-header.js +5 -5
  207. package/dist/components/button.js +16 -16
  208. package/dist/components/caption-template.js +2 -2
  209. package/dist/components/chip.js +4 -4
  210. package/dist/components/empty.js +1 -1
  211. package/dist/components/generate.js +1 -1
  212. package/dist/components/input-template.js +1 -1
  213. package/dist/components/input.js +1 -1
  214. package/dist/components/label.js +1 -1
  215. package/dist/components/list.js +13 -7
  216. package/dist/components/menu.js +1 -1
  217. package/dist/components/radio.js +1 -1
  218. package/dist/components/rc-overflow.js +1 -593
  219. package/dist/components/rc-picker.js +8620 -8025
  220. package/dist/components/tooltip.js +1 -1
  221. package/dist/esm/Overflow-2cffcda0.js +2750 -0
  222. package/dist/esm/bcm-a50d55ba.js +1 -1
  223. package/dist/esm/bcm-accordion.entry.js +70 -0
  224. package/dist/esm/bcm-alert.entry.js +2 -2
  225. package/dist/esm/bcm-attendance-actions-comment.entry.js +5 -6
  226. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +5 -6
  227. package/dist/esm/bcm-attendance-actions.entry.js +325 -0
  228. package/dist/esm/bcm-attendance.entry.js +31 -0
  229. package/dist/esm/bcm-avatar_2.entry.js +204 -0
  230. package/dist/esm/bcm-breadcrumb.entry.js +2 -2
  231. package/dist/esm/bcm-button-group.entry.js +88 -0
  232. package/dist/esm/bcm-button_15.entry.js +18605 -0
  233. package/dist/esm/bcm-caption.entry.js +6 -7
  234. package/dist/esm/bcm-card.entry.js +2 -2
  235. package/dist/esm/bcm-checkbox-group.entry.js +411 -0
  236. package/dist/esm/{bcm-checkbox-lite_8.entry.js → bcm-checkbox-lite_9.entry.js} +24 -5
  237. package/dist/esm/bcm-checkbox_2.entry.js +189 -0
  238. package/dist/esm/bcm-chip-group.entry.js +7 -8
  239. package/dist/esm/bcm-chip.entry.js +87 -0
  240. package/dist/esm/bcm-collapse.entry.js +2 -2
  241. package/dist/esm/bcm-color-input.entry.js +72 -0
  242. package/dist/esm/bcm-default.entry.js +2 -2
  243. package/dist/esm/bcm-drawer.entry.js +91 -0
  244. package/dist/esm/bcm-dropdown.entry.js +115 -0
  245. package/dist/esm/bcm-error-layout.entry.js +1 -1
  246. package/dist/esm/bcm-expansion-panel.entry.js +112 -0
  247. package/dist/esm/bcm-input-custom.entry.js +2 -2
  248. package/dist/esm/bcm-input-dropdown.entry.js +7 -8
  249. package/dist/esm/bcm-item.entry.js +68 -0
  250. package/dist/esm/bcm-items.entry.js +45 -0
  251. package/dist/esm/bcm-link.entry.js +1 -1
  252. package/dist/esm/bcm-list_3.entry.js +1964 -0
  253. package/dist/esm/bcm-menu.entry.js +146 -0
  254. package/dist/esm/bcm-modal-2-footer.entry.js +4 -5
  255. package/dist/esm/bcm-modal-2-header.entry.js +4 -5
  256. package/dist/esm/bcm-modal-2.entry.js +5 -6
  257. package/dist/esm/bcm-modal.entry.js +153 -0
  258. package/dist/esm/bcm-number-input.entry.js +6 -7
  259. package/dist/esm/bcm-popconfirm-box.entry.js +111 -0
  260. package/dist/esm/bcm-popconfirm.entry.js +97 -0
  261. package/dist/esm/bcm-popover.entry.js +5 -6
  262. package/dist/esm/bcm-progress.entry.js +158 -0
  263. package/dist/esm/bcm-radio-group.entry.js +156 -0
  264. package/dist/esm/bcm-radio.entry.js +60 -0
  265. package/dist/esm/bcm-range.entry.js +4 -4
  266. package/dist/esm/bcm-shortcut.entry.js +60 -0
  267. package/dist/esm/bcm-skeleton.entry.js +4 -5
  268. package/dist/esm/bcm-step.entry.js +85 -0
  269. package/dist/esm/bcm-stepper.entry.js +235 -0
  270. package/dist/esm/bcm-switch.entry.js +147 -0
  271. package/dist/esm/bcm-tab-group.entry.js +205 -0
  272. package/dist/esm/bcm-tab-item-header.entry.js +54 -0
  273. package/dist/esm/bcm-tab-item.entry.js +86 -0
  274. package/dist/esm/bcm-table.entry.js +4 -5
  275. package/dist/esm/bcm-tag.entry.js +4 -4
  276. package/dist/esm/bcm-text.entry.js +45 -0
  277. package/dist/esm/bcm-textarea.entry.js +159 -0
  278. package/dist/esm/bcm-toast.entry.js +3 -3
  279. package/dist/esm/bromcom-ui.js +3 -3
  280. package/dist/esm/{caption-template-d7953d13.js → caption-template-fd7738eb.js} +2 -2
  281. package/dist/esm/floating-ui-3f4394da.js +1 -1
  282. package/dist/esm/{generate-c2c0b02e.js → generate-b33f722f.js} +1 -1
  283. package/dist/esm/{global-2473677b.js → global-d524a06a.js} +1 -1
  284. package/dist/esm/input-template-453bfff8.js +90 -0
  285. package/dist/esm/json-parse-decarator-1aa4119c.js +38 -0
  286. package/dist/esm/{label-template-a26f76c0.js → label-template-374fbdcd.js} +2 -2
  287. package/dist/esm/loader.js +3 -3
  288. package/dist/esm/{number-helper-75447fa6.js → number-helper-712eedd0.js} +1 -1
  289. package/dist/esm/old-bcm-popover-box.entry.js +3 -3
  290. package/dist/esm/old-bcm-popover.entry.js +3 -3
  291. package/dist/esm/{package-28dc6847.js → package-c604bd07.js} +1 -1
  292. package/dist/esm/stepper-states-00eb7d7d.js +83 -0
  293. package/dist/esm/string-helper-3592bdc2.js +1 -1
  294. package/dist/esm/tooltip-helper-088013ec.js +155 -0
  295. package/dist/esm/{validators-5a383988.js → validators-ebf92486.js} +6 -2
  296. package/dist/types/templates/list-template.d.ts +0 -1
  297. package/package.json +2 -2
  298. package/dist/bromcom-ui/p-1345d51b.entry.js +0 -5
  299. package/dist/bromcom-ui/p-178fa936.entry.js +0 -5
  300. package/dist/bromcom-ui/p-3361f6c9.entry.js +0 -5
  301. package/dist/bromcom-ui/p-350dbff0.entry.js +0 -5
  302. package/dist/bromcom-ui/p-3cdfd8eb.entry.js +0 -5
  303. package/dist/bromcom-ui/p-5a22b74b.entry.js +0 -5
  304. package/dist/bromcom-ui/p-626a65e9.js +0 -5
  305. package/dist/bromcom-ui/p-627c7769.entry.js +0 -5
  306. package/dist/bromcom-ui/p-64f21481.entry.js +0 -20
  307. package/dist/bromcom-ui/p-70253803.entry.js +0 -5
  308. package/dist/bromcom-ui/p-7fd22a35.entry.js +0 -5
  309. package/dist/bromcom-ui/p-a0f44b56.entry.js +0 -5
  310. package/dist/bromcom-ui/p-abd2f9ff.entry.js +0 -5
  311. package/dist/bromcom-ui/p-bb46d881.entry.js +0 -5
  312. package/dist/bromcom-ui/p-bca0ff0a.entry.js +0 -5
  313. package/dist/bromcom-ui/p-c10b07cc.entry.js +0 -5
  314. package/dist/bromcom-ui/p-c7030364.entry.js +0 -5
  315. package/dist/bromcom-ui/p-dc607ae4.entry.js +0 -5
  316. package/dist/bromcom-ui/p-de0b0192.entry.js +0 -5
  317. package/dist/bromcom-ui/p-e10780ed.entry.js +0 -5
  318. package/dist/bromcom-ui/p-e497cf5d.entry.js +0 -5
  319. package/dist/bromcom-ui/p-e93d6619.js +0 -5
  320. package/dist/bromcom-ui/p-ebeb9689.entry.js +0 -5
  321. package/dist/bromcom-ui/p-eca0acda.js +0 -5
  322. package/dist/bromcom-ui/p-ede82918.js +0 -5
  323. package/dist/bromcom-ui/p-fba1682e.entry.js +0 -5
  324. package/dist/cjs/bcm-accordion_46.cjs.entry.js +0 -24086
  325. package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -182
  326. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1450
  327. package/dist/cjs/bcm-form-2.cjs.entry.js +0 -212
  328. package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
  329. package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -150
  330. package/dist/cjs/datetime-helper-eaf4fadb.js +0 -11
  331. package/dist/esm/bcm-accordion_46.entry.js +0 -24037
  332. package/dist/esm/bcm-date-picker.entry.js +0 -178
  333. package/dist/esm/bcm-datetime-picker.entry.js +0 -1446
  334. package/dist/esm/bcm-form-2.entry.js +0 -208
  335. package/dist/esm/bcm-old-input.entry.js +0 -393
  336. package/dist/esm/bcm-time-picker.entry.js +0 -146
  337. package/dist/esm/datetime-helper-df25808a.js +0 -9
@@ -0,0 +1,2769 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ 'use strict';
6
+
7
+ const _commonjsHelpers = require('./_commonjsHelpers-ed84c3ca.js');
8
+ const index$1 = require('./index-95ae50d0.js');
9
+
10
+ /*
11
+ object-assign
12
+ (c) Sindre Sorhus
13
+ @license MIT
14
+ */
15
+ /* eslint-disable no-unused-vars */
16
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
17
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
18
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
19
+
20
+ function toObject(val) {
21
+ if (val === null || val === undefined) {
22
+ throw new TypeError('Object.assign cannot be called with null or undefined');
23
+ }
24
+
25
+ return Object(val);
26
+ }
27
+
28
+ function shouldUseNative() {
29
+ try {
30
+ if (!Object.assign) {
31
+ return false;
32
+ }
33
+
34
+ // Detect buggy property enumeration order in older V8 versions.
35
+
36
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
37
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
38
+ test1[5] = 'de';
39
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
40
+ return false;
41
+ }
42
+
43
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
44
+ var test2 = {};
45
+ for (var i = 0; i < 10; i++) {
46
+ test2['_' + String.fromCharCode(i)] = i;
47
+ }
48
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
49
+ return test2[n];
50
+ });
51
+ if (order2.join('') !== '0123456789') {
52
+ return false;
53
+ }
54
+
55
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
56
+ var test3 = {};
57
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
58
+ test3[letter] = letter;
59
+ });
60
+ if (Object.keys(Object.assign({}, test3)).join('') !==
61
+ 'abcdefghijklmnopqrst') {
62
+ return false;
63
+ }
64
+
65
+ return true;
66
+ } catch (err) {
67
+ // We don't expect any of the above to throw, but better to be safe.
68
+ return false;
69
+ }
70
+ }
71
+
72
+ var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
73
+ var from;
74
+ var to = toObject(target);
75
+ var symbols;
76
+
77
+ for (var s = 1; s < arguments.length; s++) {
78
+ from = Object(arguments[s]);
79
+
80
+ for (var key in from) {
81
+ if (hasOwnProperty.call(from, key)) {
82
+ to[key] = from[key];
83
+ }
84
+ }
85
+
86
+ if (getOwnPropertySymbols) {
87
+ symbols = getOwnPropertySymbols(from);
88
+ for (var i = 0; i < symbols.length; i++) {
89
+ if (propIsEnumerable.call(from, symbols[i])) {
90
+ to[symbols[i]] = from[symbols[i]];
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ return to;
97
+ };
98
+
99
+ var n$1="function"===typeof Symbol&&Symbol.for,p$1=n$1?Symbol.for("react.element"):60103,q$1=n$1?Symbol.for("react.portal"):60106,r=n$1?Symbol.for("react.fragment"):60107,t$1=n$1?Symbol.for("react.strict_mode"):60108,u$2=n$1?Symbol.for("react.profiler"):60114,v$2=n$1?Symbol.for("react.provider"):60109,w=n$1?Symbol.for("react.context"):60110,x=n$1?Symbol.for("react.forward_ref"):60112,y=n$1?Symbol.for("react.suspense"):60113,z=n$1?Symbol.for("react.memo"):60115,A=n$1?Symbol.for("react.lazy"):
100
+ 60116,B="function"===typeof Symbol&&Symbol.iterator;function C$1(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return "Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
101
+ var D={isMounted:function(){return !1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E$1={};function F$1(a,b,c){this.props=a;this.context=b;this.refs=E$1;this.updater=c||D;}F$1.prototype.isReactComponent={};F$1.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(C$1(85));this.updater.enqueueSetState(this,a,b,"setState");};F$1.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate");};
102
+ function G$1(){}G$1.prototype=F$1.prototype;function H$1(a,b,c){this.props=a;this.context=b;this.refs=E$1;this.updater=c||D;}var I$1=H$1.prototype=new G$1;I$1.constructor=H$1;objectAssign(I$1,F$1.prototype);I$1.isPureReactComponent=!0;var J$1={current:null},K$1=Object.prototype.hasOwnProperty,L$1={key:!0,ref:!0,__self:!0,__source:!0};
103
+ function M$1(a,b,c){var e,d={},g=null,k=null;if(null!=b)for(e in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=""+b.key),b)K$1.call(b,e)&&!L$1.hasOwnProperty(e)&&(d[e]=b[e]);var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){for(var h=Array(f),m=0;m<f;m++)h[m]=arguments[m+2];d.children=h;}if(a&&a.defaultProps)for(e in f=a.defaultProps,f)void 0===d[e]&&(d[e]=f[e]);return {$$typeof:p$1,type:a,key:g,ref:k,props:d,_owner:J$1.current}}
104
+ function N$1(a,b){return {$$typeof:p$1,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O$1(a){return "object"===typeof a&&null!==a&&a.$$typeof===p$1}function escape(a){var b={"=":"=0",":":"=2"};return "$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var P$1=/\/+/g,Q$1=[];function R$1(a,b,c,e){if(Q$1.length){var d=Q$1.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=e;d.count=0;return d}return {result:a,keyPrefix:b,func:c,context:e,count:0}}
105
+ function S$1(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q$1.length&&Q$1.push(a);}
106
+ function T$1(a,b,c,e){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p$1:case q$1:g=!0;}}if(g)return c(e,a,""===b?"."+U$1(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){d=a[k];var f=b+U$1(d,k);g+=T$1(d,f,c,e);}else if(null===a||"object"!==typeof a?f=null:(f=B&&a[B]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),k=
107
+ 0;!(d=a.next()).done;)d=d.value,f=b+U$1(d,k++),g+=T$1(d,f,c,e);else if("object"===d)throw c=""+a,Error(C$1(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return g}function V$1(a,b,c){return null==a?0:T$1(a,"",b,c)}function U$1(a,b){return "object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function W$1(a,b){a.func.call(a.context,b,a.count++);}
108
+ function aa(a,b,c){var e=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?X$1(a,e,c,function(a){return a}):null!=a&&(O$1(a)&&(a=N$1(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(P$1,"$&/")+"/")+c)),e.push(a));}function X$1(a,b,c,e,d){var g="";null!=c&&(g=(""+c).replace(P$1,"$&/")+"/");b=R$1(b,g,e,d);V$1(a,aa,b);S$1(b);}var Y$1={current:null};function Z$1(){var a=Y$1.current;if(null===a)throw Error(C$1(321));return a}
109
+ var ba$1={ReactCurrentDispatcher:Y$1,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:J$1,IsSomeRendererActing:{current:!1},assign:objectAssign};var Children={map:function(a,b,c){if(null==a)return a;var e=[];X$1(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=R$1(null,null,b,c);V$1(a,W$1,b);S$1(b);},count:function(a){return V$1(a,function(){return null},null)},toArray:function(a){var b=[];X$1(a,b,null,function(a){return a});return b},only:function(a){if(!O$1(a))throw Error(C$1(143));return a}};
110
+ var Component=F$1;var Fragment$1=r;var Profiler$1=u$2;var PureComponent=H$1;var StrictMode$1=t$1;var Suspense$1=y;var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED$1=ba$1;
111
+ var cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(C$1(267,a));var e=objectAssign({},a.props),d=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=J$1.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)K$1.call(b,h)&&!L$1.hasOwnProperty(h)&&(e[h]=void 0===b[h]&&void 0!==f?f[h]:b[h]);}var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){f=Array(h);for(var m=0;m<h;m++)f[m]=arguments[m+2];e.children=f;}return {$$typeof:p$1,type:a.type,
112
+ key:d,ref:g,props:e,_owner:k}};var createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v$2,_context:a};return a.Consumer=a};var createElement=M$1;var createFactory=function(a){var b=M$1.bind(null,a);b.type=a;return b};var createRef=function(){return {current:null}};var forwardRef=function(a){return {$$typeof:x,render:a}};var isValidElement=O$1;
113
+ var lazy=function(a){return {$$typeof:A,_ctor:a,_status:-1,_result:null}};var memo=function(a,b){return {$$typeof:z,type:a,compare:void 0===b?null:b}};var useCallback=function(a,b){return Z$1().useCallback(a,b)};var useContext=function(a,b){return Z$1().useContext(a,b)};var useDebugValue=function(){};var useEffect=function(a,b){return Z$1().useEffect(a,b)};var useImperativeHandle=function(a,b,c){return Z$1().useImperativeHandle(a,b,c)};
114
+ var useLayoutEffect$1=function(a,b){return Z$1().useLayoutEffect(a,b)};var useMemo$1=function(a,b){return Z$1().useMemo(a,b)};var useReducer=function(a,b,c){return Z$1().useReducer(a,b,c)};var useRef=function(a){return Z$1().useRef(a)};var useState=function(a){return Z$1().useState(a)};var version$1="16.14.0";
115
+
116
+ var react_production_min = {
117
+ Children: Children,
118
+ Component: Component,
119
+ Fragment: Fragment$1,
120
+ Profiler: Profiler$1,
121
+ PureComponent: PureComponent,
122
+ StrictMode: StrictMode$1,
123
+ Suspense: Suspense$1,
124
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED$1,
125
+ cloneElement: cloneElement,
126
+ createContext: createContext,
127
+ createElement: createElement,
128
+ createFactory: createFactory,
129
+ createRef: createRef,
130
+ forwardRef: forwardRef,
131
+ isValidElement: isValidElement,
132
+ lazy: lazy,
133
+ memo: memo,
134
+ useCallback: useCallback,
135
+ useContext: useContext,
136
+ useDebugValue: useDebugValue,
137
+ useEffect: useEffect,
138
+ useImperativeHandle: useImperativeHandle,
139
+ useLayoutEffect: useLayoutEffect$1,
140
+ useMemo: useMemo$1,
141
+ useReducer: useReducer,
142
+ useRef: useRef,
143
+ useState: useState,
144
+ version: version$1
145
+ };
146
+
147
+ _commonjsHelpers.createCommonjsModule(function (module, exports) {
148
+ });
149
+
150
+ var react = _commonjsHelpers.createCommonjsModule(function (module) {
151
+
152
+ {
153
+ module.exports = react_production_min;
154
+ }
155
+ });
156
+
157
+ const React = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.assign(/*#__PURE__*/Object.create(null), react, {
158
+ 'default': react
159
+ }));
160
+
161
+ var scheduler_production_min = _commonjsHelpers.createCommonjsModule(function (module, exports) {
162
+ var f,g,h,k,l;
163
+ if("undefined"===typeof window||"function"!==typeof MessageChannel){var p=null,q=null,t=function(){if(null!==p)try{var a=exports.unstable_now();p(!0,a);p=null;}catch(b){throw setTimeout(t,0),b;}},u=Date.now();exports.unstable_now=function(){return Date.now()-u};f=function(a){null!==p?setTimeout(f,0,a):(p=a,setTimeout(t,0));};g=function(a,b){q=setTimeout(a,b);};h=function(){clearTimeout(q);};k=function(){return !1};l=exports.unstable_forceFrameRate=function(){};}else {var w=window.performance,x=window.Date,
164
+ y=window.setTimeout,z=window.clearTimeout;if("undefined"!==typeof console){var A=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");"function"!==typeof A&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");}if("object"===
165
+ typeof w&&"function"===typeof w.now)exports.unstable_now=function(){return w.now()};else {var B=x.now();exports.unstable_now=function(){return x.now()-B};}var C=!1,D=null,E=-1,F=5,G=0;k=function(){return exports.unstable_now()>=G};l=function(){};exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):F=0<a?Math.floor(1E3/a):5;};var H=new MessageChannel,I=H.port2;H.port1.onmessage=
166
+ function(){if(null!==D){var a=exports.unstable_now();G=a+F;try{D(!0,a)?I.postMessage(null):(C=!1,D=null);}catch(b){throw I.postMessage(null),b;}}else C=!1;};f=function(a){D=a;C||(C=!0,I.postMessage(null));};g=function(a,b){E=y(function(){a(exports.unstable_now());},b);};h=function(){z(E);E=-1;};}function J(a,b){var c=a.length;a.push(b);a:for(;;){var d=c-1>>>1,e=a[d];if(void 0!==e&&0<K(e,b))a[d]=b,a[c]=e,c=d;else break a}}function L(a){a=a[0];return void 0===a?null:a}
167
+ function M(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>K(n,c))void 0!==r&&0>K(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>K(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function K(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var N=[],O=[],P=1,Q=null,R=3,S=!1,T=!1,U=!1;
168
+ function V(a){for(var b=L(O);null!==b;){if(null===b.callback)M(O);else if(b.startTime<=a)M(O),b.sortIndex=b.expirationTime,J(N,b);else break;b=L(O);}}function W(a){U=!1;V(a);if(!T)if(null!==L(N))T=!0,f(X);else {var b=L(O);null!==b&&g(W,b.startTime-a);}}
169
+ function X(a,b){T=!1;U&&(U=!1,h());S=!0;var c=R;try{V(b);for(Q=L(N);null!==Q&&(!(Q.expirationTime>b)||a&&!k());){var d=Q.callback;if(null!==d){Q.callback=null;R=Q.priorityLevel;var e=d(Q.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?Q.callback=e:Q===L(N)&&M(N);V(b);}else M(N);Q=L(N);}if(null!==Q)var m=!0;else {var n=L(O);null!==n&&g(W,n.startTime-b);m=!1;}return m}finally{Q=null,R=c,S=!1;}}
170
+ function Y(a){switch(a){case 1:return -1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var Z=l;exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null;};exports.unstable_continueExecution=function(){T||S||(T=!0,f(X));};
171
+ exports.unstable_getCurrentPriorityLevel=function(){return R};exports.unstable_getFirstCallbackNode=function(){return L(N)};exports.unstable_next=function(a){switch(R){case 1:case 2:case 3:var b=3;break;default:b=R;}var c=R;R=b;try{return a()}finally{R=c;}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=Z;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3;}var c=R;R=a;try{return b()}finally{R=c;}};
172
+ exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();if("object"===typeof c&&null!==c){var e=c.delay;e="number"===typeof e&&0<e?d+e:d;c="number"===typeof c.timeout?c.timeout:Y(a);}else c=Y(a),e=d;c=e+c;a={id:P++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,J(O,a),null===L(N)&&a===L(O)&&(U?h():U=!0,g(W,e-d))):(a.sortIndex=c,J(N,a),T||S||(T=!0,f(X)));return a};
173
+ exports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=L(N);return b!==Q&&null!==Q&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<Q.expirationTime||k()};exports.unstable_wrapCallback=function(a){var b=R;return function(){var c=R;R=b;try{return a.apply(this,arguments)}finally{R=c;}}};
174
+ });
175
+
176
+ _commonjsHelpers.createCommonjsModule(function (module, exports) {
177
+ });
178
+
179
+ var scheduler = _commonjsHelpers.createCommonjsModule(function (module) {
180
+
181
+ {
182
+ module.exports = scheduler_production_min;
183
+ }
184
+ });
185
+
186
+ function u$1(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return "Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!react)throw Error(u$1(227));
187
+ function ba(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l);}catch(m){this.onError(m);}}var da=!1,ea=null,fa=!1,ha=null,ia={onError:function(a){da=!0;ea=a;}};function ja(a,b,c,d,e,f,g,h,k){da=!1;ea=null;ba.apply(ia,arguments);}function ka(a,b,c,d,e,f,g,h,k){ja.apply(this,arguments);if(da){if(da){var l=ea;da=!1;ea=null;}else throw Error(u$1(198));fa||(fa=!0,ha=l);}}var la=null,ma=null,na=null;
188
+ function oa(a,b,c){var d=a.type||"unknown-event";a.currentTarget=na(c);ka(d,b,void 0,a);a.currentTarget=null;}var pa=null,qa={};
189
+ function ra(){if(pa)for(var a in qa){var b=qa[a],c=pa.indexOf(a);if(!(-1<c))throw Error(u$1(96,a));if(!sa[c]){if(!b.extractEvents)throw Error(u$1(97,a));sa[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;if(ta.hasOwnProperty(h))throw Error(u$1(99,h));ta[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&ua(k[e],g,h);e=!0;}else f.registrationName?(ua(f.registrationName,g,h),e=!0):e=!1;if(!e)throw Error(u$1(98,d,a));}}}}
190
+ function ua(a,b,c){if(va[a])throw Error(u$1(100,a));va[a]=b;wa[a]=b.eventTypes[c].dependencies;}var sa=[],ta={},va={},wa={};function xa(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(!qa.hasOwnProperty(c)||qa[c]!==d){if(qa[c])throw Error(u$1(102,c));qa[c]=d;b=!0;}}b&&ra();}var ya=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),za=null,Aa=null,Ba=null;
191
+ function Ca(a){if(a=ma(a)){if("function"!==typeof za)throw Error(u$1(280));var b=a.stateNode;b&&(b=la(b),za(a.stateNode,a.type,b));}}function Da(a){Aa?Ba?Ba.push(a):Ba=[a]:Aa=a;}function Ea(){if(Aa){var a=Aa,b=Ba;Ba=Aa=null;Ca(a);if(b)for(a=0;a<b.length;a++)Ca(b[a]);}}function Fa(a,b){return a(b)}function Ga(a,b,c,d,e){return a(b,c,d,e)}function Ha(){}var Ia=Fa,Ja=!1,Ka=!1;function La(){if(null!==Aa||null!==Ba)Ha(),Ea();}
192
+ function Ma(a,b,c){if(Ka)return a(b,c);Ka=!0;try{return Ia(a,b,c)}finally{Ka=!1,La();}}var Na=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Oa=Object.prototype.hasOwnProperty,Pa={},Qa={};
193
+ function Ra(a){if(Oa.call(Qa,a))return !0;if(Oa.call(Pa,a))return !1;if(Na.test(a))return Qa[a]=!0;Pa[a]=!0;return !1}function Sa(a,b,c,d){if(null!==c&&0===c.type)return !1;switch(typeof b){case "function":case "symbol":return !0;case "boolean":if(d)return !1;if(null!==c)return !c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return "data-"!==a&&"aria-"!==a;default:return !1}}
194
+ function Ta(a,b,c,d){if(null===b||"undefined"===typeof b||Sa(a,b,c,d))return !0;if(d)return !1;if(null!==c)switch(c.type){case 3:return !b;case 4:return !1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return !1}function v$1(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;}var C={};
195
+ "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){C[a]=new v$1(a,0,!1,a,null,!1);});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];C[b]=new v$1(b,1,!1,a[1],null,!1);});["contentEditable","draggable","spellCheck","value"].forEach(function(a){C[a]=new v$1(a,2,!1,a.toLowerCase(),null,!1);});
196
+ ["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){C[a]=new v$1(a,2,!1,a,null,!1);});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){C[a]=new v$1(a,3,!1,a.toLowerCase(),null,!1);});
197
+ ["checked","multiple","muted","selected"].forEach(function(a){C[a]=new v$1(a,3,!0,a,null,!1);});["capture","download"].forEach(function(a){C[a]=new v$1(a,4,!1,a,null,!1);});["cols","rows","size","span"].forEach(function(a){C[a]=new v$1(a,6,!1,a,null,!1);});["rowSpan","start"].forEach(function(a){C[a]=new v$1(a,5,!1,a.toLowerCase(),null,!1);});var Ua=/[\-:]([a-z])/g;function Va(a){return a[1].toUpperCase()}
198
+ "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(Ua,
199
+ Va);C[b]=new v$1(b,1,!1,a,null,!1);});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v$1(b,1,!1,a,"http://www.w3.org/1999/xlink",!1);});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v$1(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1);});["tabIndex","crossOrigin"].forEach(function(a){C[a]=new v$1(a,1,!1,a.toLowerCase(),null,!1);});
200
+ C.xlinkHref=new v$1("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){C[a]=new v$1(a,1,!1,a.toLowerCase(),null,!0);});var Wa=react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Wa.hasOwnProperty("ReactCurrentDispatcher")||(Wa.ReactCurrentDispatcher={current:null});Wa.hasOwnProperty("ReactCurrentBatchConfig")||(Wa.ReactCurrentBatchConfig={suspense:null});
201
+ function Xa(a,b,c,d){var e=C.hasOwnProperty(b)?C[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(Ta(b,c,e,d)&&(c=null),d||null===e?Ra(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))));}
202
+ var Ya=/^(.*)[\\\/]/,E="function"===typeof Symbol&&Symbol.for,Za=E?Symbol.for("react.element"):60103,$a=E?Symbol.for("react.portal"):60106,ab=E?Symbol.for("react.fragment"):60107,bb=E?Symbol.for("react.strict_mode"):60108,cb=E?Symbol.for("react.profiler"):60114,db=E?Symbol.for("react.provider"):60109,eb=E?Symbol.for("react.context"):60110,fb=E?Symbol.for("react.concurrent_mode"):60111,gb=E?Symbol.for("react.forward_ref"):60112,hb=E?Symbol.for("react.suspense"):60113,ib=E?Symbol.for("react.suspense_list"):
203
+ 60120,jb=E?Symbol.for("react.memo"):60115,kb=E?Symbol.for("react.lazy"):60116,lb=E?Symbol.for("react.block"):60121,mb="function"===typeof Symbol&&Symbol.iterator;function nb(a){if(null===a||"object"!==typeof a)return null;a=mb&&a[mb]||a["@@iterator"];return "function"===typeof a?a:null}function ob(a){if(-1===a._status){a._status=0;var b=a._ctor;b=b();a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b);},function(b){0===a._status&&(a._status=2,a._result=b);});}}
204
+ function pb(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case ab:return "Fragment";case $a:return "Portal";case cb:return "Profiler";case bb:return "StrictMode";case hb:return "Suspense";case ib:return "SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case eb:return "Context.Consumer";case db:return "Context.Provider";case gb:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":
205
+ "ForwardRef");case jb:return pb(a.type);case lb:return pb(a.render);case kb:if(a=1===a._status?a._result:null)return pb(a)}return null}function qb(a){var b="";do{a:switch(a.tag){case 3:case 4:case 6:case 7:case 10:case 9:var c="";break a;default:var d=a._debugOwner,e=a._debugSource,f=pb(a.type);c=null;d&&(c=pb(d.type));d=f;f="";e?f=" (at "+e.fileName.replace(Ya,"")+":"+e.lineNumber+")":c&&(f=" (created by "+c+")");c="\n in "+(d||"Unknown")+f;}b+=c;a=a.return;}while(a);return b}
206
+ function rb(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;default:return ""}}function sb(a){var b=a.type;return (a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
207
+ function tb(a){var b=sb(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a);}});Object.defineProperty(a,b,{enumerable:c.enumerable});return {getValue:function(){return d},setValue:function(a){d=""+a;},stopTracking:function(){a._valueTracker=
208
+ null;delete a[b];}}}}function xb(a){a._valueTracker||(a._valueTracker=tb(a));}function yb(a){if(!a)return !1;var b=a._valueTracker;if(!b)return !0;var c=b.getValue();var d="";a&&(d=sb(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function zb(a,b){var c=b.checked;return objectAssign({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}
209
+ function Ab(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=rb(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value};}function Bb(a,b){b=b.checked;null!=b&&Xa(a,"checked",b,!1);}
210
+ function Cb(a,b){Bb(a,b);var c=rb(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c;}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?Db(a,b.type,c):b.hasOwnProperty("defaultValue")&&Db(a,b.type,rb(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked);}
211
+ function Eb(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b;}c=a.name;""!==c&&(a.name="");a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c);}
212
+ function Db(a,b,c){if("number"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c);}function Fb(a){var b="";react.Children.forEach(a,function(a){null!=a&&(b+=a);});return b}function Gb(a,b){a=objectAssign({children:void 0},b);if(b=Fb(b.children))a.children=b;return a}
213
+ function Hb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0);}else {c=""+rb(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e]);}null!==b&&(b.selected=!0);}}
214
+ function Ib(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(u$1(91));return objectAssign({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Jb(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(u$1(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(u$1(93));c=c[0];}b=c;}null==b&&(b="");c=b;}a._wrapperState={initialValue:rb(c)};}
215
+ function Kb(a,b){var c=rb(b.value),d=rb(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d);}function Lb(a){var b=a.textContent;b===a._wrapperState.initialValue&&""!==b&&null!==b&&(a.value=b);}var Mb={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
216
+ function Nb(a){switch(a){case "svg":return "http://www.w3.org/2000/svg";case "math":return "http://www.w3.org/1998/Math/MathML";default:return "http://www.w3.org/1999/xhtml"}}function Ob(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Nb(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}
217
+ var Pb,Qb=function(a){return "undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)});}:a}(function(a,b){if(a.namespaceURI!==Mb.svg||"innerHTML"in a)a.innerHTML=b;else {Pb=Pb||document.createElement("div");Pb.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=Pb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild);}});
218
+ function Rb(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b;}function Sb(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Tb={animationend:Sb("Animation","AnimationEnd"),animationiteration:Sb("Animation","AnimationIteration"),animationstart:Sb("Animation","AnimationStart"),transitionend:Sb("Transition","TransitionEnd")},Ub={},Vb={};
219
+ ya&&(Vb=document.createElement("div").style,"AnimationEvent"in window||(delete Tb.animationend.animation,delete Tb.animationiteration.animation,delete Tb.animationstart.animation),"TransitionEvent"in window||delete Tb.transitionend.transition);function Wb(a){if(Ub[a])return Ub[a];if(!Tb[a])return a;var b=Tb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Vb)return Ub[a]=b[c];return a}
220
+ var Xb=Wb("animationend"),Yb=Wb("animationiteration"),Zb=Wb("animationstart"),$b=Wb("transitionend"),ac="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),bc=new ("function"===typeof WeakMap?WeakMap:Map);function cc(a){var b=bc.get(a);void 0===b&&(b=new Map,bc.set(a,b));return b}
221
+ function dc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else {a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function ec(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function fc(a){if(dc(a)!==a)throw Error(u$1(188));}
222
+ function gc(a){var b=a.alternate;if(!b){b=dc(a);if(null===b)throw Error(u$1(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return fc(e),a;if(f===d)return fc(e),b;f=f.sibling;}throw Error(u$1(188));}if(c.return!==d.return)c=e,d=f;else {for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling;}if(!g){for(h=f.child;h;){if(h===
223
+ c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling;}if(!g)throw Error(u$1(189));}}if(c.alternate!==d)throw Error(u$1(190));}if(3!==c.tag)throw Error(u$1(188));return c.stateNode.current===c?a:b}function hc(a){a=gc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else {if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return;}b.sibling.return=b.return;b=b.sibling;}}return null}
224
+ function ic(a,b){if(null==b)throw Error(u$1(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function jc(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a);}var kc=null;
225
+ function lc(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))for(var d=0;d<b.length&&!a.isPropagationStopped();d++)oa(a,b[d],c[d]);else b&&oa(a,b,c);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a);}}function mc(a){null!==a&&(kc=ic(kc,a));a=kc;kc=null;if(a){jc(a,lc);if(kc)throw Error(u$1(95));if(fa)throw a=ha,fa=!1,ha=null,a;}}
226
+ function nc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function oc(a){if(!ya)return !1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}var pc=[];function qc(a){a.topLevelType=null;a.nativeEvent=null;a.targetInst=null;a.ancestors.length=0;10>pc.length&&pc.push(a);}
227
+ function rc(a,b,c,d){if(pc.length){var e=pc.pop();e.topLevelType=a;e.eventSystemFlags=d;e.nativeEvent=b;e.targetInst=c;return e}return {topLevelType:a,eventSystemFlags:d,nativeEvent:b,targetInst:c,ancestors:[]}}
228
+ function sc(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else {for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo;}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=tc(d);}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=nc(a.nativeEvent);d=a.topLevelType;var f=a.nativeEvent,g=a.eventSystemFlags;0===c&&(g|=64);for(var h=null,k=0;k<sa.length;k++){var l=sa[k];l&&(l=l.extractEvents(d,b,f,e,g))&&(h=
229
+ ic(h,l));}mc(h);}}function uc(a,b,c){if(!c.has(a)){switch(a){case "scroll":vc(b,"scroll",!0);break;case "focus":case "blur":vc(b,"focus",!0);vc(b,"blur",!0);c.set("blur",null);c.set("focus",null);break;case "cancel":case "close":oc(a)&&vc(b,a,!0);break;case "invalid":case "submit":case "reset":break;default:-1===ac.indexOf(a)&&F(a,b);}c.set(a,null);}}
230
+ var wc,xc,yc,zc=!1,Ac=[],Bc=null,Cc=null,Dc=null,Ec=new Map,Fc=new Map,Gc=[],Hc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Ic="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");
231
+ function Jc(a,b){var c=cc(b);Hc.forEach(function(a){uc(a,b,c);});Ic.forEach(function(a){uc(a,b,c);});}function Kc(a,b,c,d,e){return {blockedOn:a,topLevelType:b,eventSystemFlags:c|32,nativeEvent:e,container:d}}
232
+ function Lc(a,b){switch(a){case "focus":case "blur":Bc=null;break;case "dragenter":case "dragleave":Cc=null;break;case "mouseover":case "mouseout":Dc=null;break;case "pointerover":case "pointerout":Ec.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":Fc.delete(b.pointerId);}}function Mc(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a=Kc(b,c,d,e,f),null!==b&&(b=Nc(b),null!==b&&xc(b)),a;a.eventSystemFlags|=d;return a}
233
+ function Oc(a,b,c,d,e){switch(b){case "focus":return Bc=Mc(Bc,a,b,c,d,e),!0;case "dragenter":return Cc=Mc(Cc,a,b,c,d,e),!0;case "mouseover":return Dc=Mc(Dc,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;Ec.set(f,Mc(Ec.get(f)||null,a,b,c,d,e));return !0;case "gotpointercapture":return f=e.pointerId,Fc.set(f,Mc(Fc.get(f)||null,a,b,c,d,e)),!0}return !1}
234
+ function Pc(a){var b=tc(a.target);if(null!==b){var c=dc(b);if(null!==c)if(b=c.tag,13===b){if(b=ec(c),null!==b){a.blockedOn=b;scheduler.unstable_runWithPriority(a.priority,function(){yc(c);});return}}else if(3===b&&c.stateNode.hydrate){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null;}function Qc(a){if(null!==a.blockedOn)return !1;var b=Rc(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);if(null!==b){var c=Nc(b);null!==c&&xc(c);a.blockedOn=b;return !1}return !0}
235
+ function Sc(a,b,c){Qc(a)&&c.delete(b);}function Tc(){for(zc=!1;0<Ac.length;){var a=Ac[0];if(null!==a.blockedOn){a=Nc(a.blockedOn);null!==a&&wc(a);break}var b=Rc(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);null!==b?a.blockedOn=b:Ac.shift();}null!==Bc&&Qc(Bc)&&(Bc=null);null!==Cc&&Qc(Cc)&&(Cc=null);null!==Dc&&Qc(Dc)&&(Dc=null);Ec.forEach(Sc);Fc.forEach(Sc);}function Uc(a,b){a.blockedOn===b&&(a.blockedOn=null,zc||(zc=!0,scheduler.unstable_scheduleCallback(scheduler.unstable_NormalPriority,Tc)));}
236
+ function Vc(a){function b(b){return Uc(b,a)}if(0<Ac.length){Uc(Ac[0],a);for(var c=1;c<Ac.length;c++){var d=Ac[c];d.blockedOn===a&&(d.blockedOn=null);}}null!==Bc&&Uc(Bc,a);null!==Cc&&Uc(Cc,a);null!==Dc&&Uc(Dc,a);Ec.forEach(b);Fc.forEach(b);for(c=0;c<Gc.length;c++)d=Gc[c],d.blockedOn===a&&(d.blockedOn=null);for(;0<Gc.length&&(c=Gc[0],null===c.blockedOn);)Pc(c),null===c.blockedOn&&Gc.shift();}
237
+ var Wc={},Yc=new Map,Zc=new Map,$c=["abort","abort",Xb,"animationEnd",Yb,"animationIteration",Zb,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking",
238
+ "seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",$b,"transitionEnd","waiting","waiting"];function ad(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1],f="on"+(e[0].toUpperCase()+e.slice(1));f={phasedRegistrationNames:{bubbled:f,captured:f+"Capture"},dependencies:[d],eventPriority:b};Zc.set(d,b);Yc.set(d,f);Wc[e]=f;}}
239
+ ad("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);
240
+ ad("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);ad($c,2);for(var bd="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),cd=0;cd<bd.length;cd++)Zc.set(bd[cd],0);
241
+ var dd=scheduler.unstable_UserBlockingPriority,ed=scheduler.unstable_runWithPriority,fd=!0;function F(a,b){vc(b,a,!1);}function vc(a,b,c){var d=Zc.get(b);switch(void 0===d?2:d){case 0:d=gd.bind(null,b,1,a);break;case 1:d=hd.bind(null,b,1,a);break;default:d=id.bind(null,b,1,a);}c?a.addEventListener(b,d,!0):a.addEventListener(b,d,!1);}function gd(a,b,c,d){Ja||Ha();var e=id,f=Ja;Ja=!0;try{Ga(e,a,b,c,d);}finally{(Ja=f)||La();}}function hd(a,b,c,d){ed(dd,id.bind(null,a,b,c,d));}
242
+ function id(a,b,c,d){if(fd)if(0<Ac.length&&-1<Hc.indexOf(a))a=Kc(null,a,b,c,d),Ac.push(a);else {var e=Rc(a,b,c,d);if(null===e)Lc(a,d);else if(-1<Hc.indexOf(a))a=Kc(e,a,b,c,d),Ac.push(a);else if(!Oc(e,a,b,c,d)){Lc(a,d);a=rc(a,d,null,b);try{Ma(sc,a);}finally{qc(a);}}}}
243
+ function Rc(a,b,c,d){c=nc(d);c=tc(c);if(null!==c){var e=dc(c);if(null===e)c=null;else {var f=e.tag;if(13===f){c=ec(e);if(null!==c)return c;c=null;}else if(3===f){if(e.stateNode.hydrate)return 3===e.tag?e.stateNode.containerInfo:null;c=null;}else e!==c&&(c=null);}}a=rc(a,d,c,b);try{Ma(sc,a);}finally{qc(a);}return null}
244
+ var jd={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,
245
+ floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},kd=["Webkit","ms","Moz","O"];Object.keys(jd).forEach(function(a){kd.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);jd[b]=jd[a];});});function ld(a,b,c){return null==b||"boolean"===typeof b||""===b?"":c||"number"!==typeof b||0===b||jd.hasOwnProperty(a)&&jd[a]?(""+b).trim():b+"px"}
246
+ function md(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--"),e=ld(c,b[c],d);"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e;}}var nd=objectAssign({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});
247
+ function od(a,b){if(b){if(nd[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(u$1(137,a,""));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(u$1(60));if(!("object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML))throw Error(u$1(61));}if(null!=b.style&&"object"!==typeof b.style)throw Error(u$1(62,""));}}
248
+ function pd(a,b){if(-1===a.indexOf("-"))return "string"===typeof b.is;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return !1;default:return !0}}var qd=Mb.html;function rd(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=cc(a);b=wa[b];for(var d=0;d<b.length;d++)uc(b[d],a,c);}function sd(){}
249
+ function td(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function ud(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function vd(a,b){var c=ud(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return {node:c,offset:b-a};a=d;}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode;}c=void 0;}c=ud(c);}}
250
+ function wd(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?wd(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function xd(){for(var a=window,b=td();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href;}catch(d){c=!1;}if(c)a=b.contentWindow;else break;b=td(a.document);}return b}
251
+ function yd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}var zd="$",Ad="/$",Bd="$?",Cd="$!",Dd=null,Ed=null;function Fd(a,b){switch(a){case "button":case "input":case "select":case "textarea":return !!b.autoFocus}return !1}
252
+ function Gd(a,b){return "textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}var Hd="function"===typeof setTimeout?setTimeout:void 0,Id="function"===typeof clearTimeout?clearTimeout:void 0;function Jd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}
253
+ function Kd(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===zd||c===Cd||c===Bd){if(0===b)return a;b--;}else c===Ad&&b++;}a=a.previousSibling;}return null}var Ld=Math.random().toString(36).slice(2),Md="__reactInternalInstance$"+Ld,Nd="__reactEventHandlers$"+Ld,Od="__reactContainere$"+Ld;
254
+ function tc(a){var b=a[Md];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Od]||c[Md]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Kd(a);null!==a;){if(c=a[Md])return c;a=Kd(a);}return b}a=c;c=a.parentNode;}return null}function Nc(a){a=a[Md]||a[Od];return !a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Pd(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(u$1(33));}function Qd(a){return a[Nd]||null}
255
+ function Rd(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}
256
+ function Sd(a,b){var c=a.stateNode;if(!c)return null;var d=la(c);if(!d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1;}if(a)return null;if(c&&"function"!==typeof c)throw Error(u$1(231,
257
+ b,typeof c));return c}function Td(a,b,c){if(b=Sd(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a);}function Ud(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=Rd(b);for(b=c.length;0<b--;)Td(c[b],"captured",a);for(b=0;b<c.length;b++)Td(c[b],"bubbled",a);}}
258
+ function Vd(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=Sd(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a));}function Wd(a){a&&a.dispatchConfig.registrationName&&Vd(a._targetInst,null,a);}function Xd(a){jc(a,Ud);}var Yd=null,Zd=null,$d=null;
259
+ function ae(){if($d)return $d;var a,b=Zd,c=b.length,d,e="value"in Yd?Yd.value:Yd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return $d=e.slice(a,1<d?1-d:void 0)}function be(){return !0}function ce(){return !1}
260
+ function G(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?be:ce;this.isPropagationStopped=ce;return this}
261
+ objectAssign(G.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=be);},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=be);},persist:function(){this.isPersistent=be;},isPersistent:ce,destructor:function(){var a=this.constructor.Interface,
262
+ b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=ce;this._dispatchInstances=this._dispatchListeners=null;}});G.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};
263
+ G.extend=function(a){function b(){}function c(){return d.apply(this,arguments)}var d=this;b.prototype=d.prototype;var e=new b;objectAssign(e,c.prototype);c.prototype=e;c.prototype.constructor=c;c.Interface=objectAssign({},d.Interface,a);c.extend=d.extend;de(c);return c};de(G);function ee(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}
264
+ function fe(a){if(!(a instanceof this))throw Error(u$1(279));a.destructor();10>this.eventPool.length&&this.eventPool.push(a);}function de(a){a.eventPool=[];a.getPooled=ee;a.release=fe;}var ge=G.extend({data:null}),he=G.extend({data:null}),ie=[9,13,27,32],je=ya&&"CompositionEvent"in window,ke=null;ya&&"documentMode"in document&&(ke=document.documentMode);
265
+ var le=ya&&"TextEvent"in window&&!ke,me=ya&&(!je||ke&&8<ke&&11>=ke),ne=String.fromCharCode(32),oe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",
266
+ captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},pe=!1;
267
+ function qe(a,b){switch(a){case "keyup":return -1!==ie.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return !0;default:return !1}}function re(a){a=a.detail;return "object"===typeof a&&"data"in a?a.data:null}var se=!1;function te(a,b){switch(a){case "compositionend":return re(b);case "keypress":if(32!==b.which)return null;pe=!0;return ne;case "textInput":return a=b.data,a===ne&&pe?null:a;default:return null}}
268
+ function ue(a,b){if(se)return "compositionend"===a||!je&&qe(a,b)?(a=ae(),$d=Zd=Yd=null,se=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return me&&"ko"!==b.locale?null:b.data;default:return null}}
269
+ var ve={eventTypes:oe,extractEvents:function(a,b,c,d){var e;if(je)b:{switch(a){case "compositionstart":var f=oe.compositionStart;break b;case "compositionend":f=oe.compositionEnd;break b;case "compositionupdate":f=oe.compositionUpdate;break b}f=void 0;}else se?qe(a,c)&&(f=oe.compositionEnd):"keydown"===a&&229===c.keyCode&&(f=oe.compositionStart);f?(me&&"ko"!==c.locale&&(se||f!==oe.compositionStart?f===oe.compositionEnd&&se&&(e=ae()):(Yd=d,Zd="value"in Yd?Yd.value:Yd.textContent,se=!0)),f=ge.getPooled(f,
270
+ b,c,d),e?f.data=e:(e=re(c),null!==e&&(f.data=e)),Xd(f),e=f):e=null;(a=le?te(a,c):ue(a,c))?(b=he.getPooled(oe.beforeInput,b,c,d),b.data=a,Xd(b)):b=null;return null===e?b:null===b?e:[e,b]}},we={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function xe(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return "input"===b?!!we[a.type]:"textarea"===b?!0:!1}
271
+ var ye={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function ze(a,b,c){a=G.getPooled(ye.change,a,b,c);a.type="change";Da(c);Xd(a);return a}var Ae=null,Be=null;function Ce(a){mc(a);}function De(a){var b=Pd(a);if(yb(b))return a}function Ee(a,b){if("change"===a)return b}var Fe=!1;ya&&(Fe=oc("input")&&(!document.documentMode||9<document.documentMode));
272
+ function Ge(){Ae&&(Ae.detachEvent("onpropertychange",He),Be=Ae=null);}function He(a){if("value"===a.propertyName&&De(Be))if(a=ze(Be,a,nc(a)),Ja)mc(a);else {Ja=!0;try{Fa(Ce,a);}finally{Ja=!1,La();}}}function Ie(a,b,c){"focus"===a?(Ge(),Ae=b,Be=c,Ae.attachEvent("onpropertychange",He)):"blur"===a&&Ge();}function Je(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return De(Be)}function Ke(a,b){if("click"===a)return De(b)}function Le(a,b){if("input"===a||"change"===a)return De(b)}
273
+ var Me={eventTypes:ye,_isInputEventSupported:Fe,extractEvents:function(a,b,c,d){var e=b?Pd(b):window,f=e.nodeName&&e.nodeName.toLowerCase();if("select"===f||"input"===f&&"file"===e.type)var g=Ee;else if(xe(e))if(Fe)g=Le;else {g=Je;var h=Ie;}else (f=e.nodeName)&&"input"===f.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)&&(g=Ke);if(g&&(g=g(a,b)))return ze(g,c,d);h&&h(a,e,b);"blur"===a&&(a=e._wrapperState)&&a.controlled&&"number"===e.type&&Db(e,"number",e.value);}},Ne=G.extend({view:null,detail:null}),
274
+ Oe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pe(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Oe[a])?!!b[a]:!1}function Qe(){return Pe}
275
+ var Re=0,Se=0,Te=!1,Ue=!1,Ve=Ne.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Qe,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if("movementX"in a)return a.movementX;var b=Re;Re=a.screenX;return Te?"mousemove"===a.type?a.screenX-b:0:(Te=!0,0)},movementY:function(a){if("movementY"in a)return a.movementY;
276
+ var b=Se;Se=a.screenY;return Ue?"mousemove"===a.type?a.screenY-b:0:(Ue=!0,0)}}),We=Ve.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Xe={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",
277
+ dependencies:["pointerout","pointerover"]}},Ye={eventTypes:Xe,extractEvents:function(a,b,c,d,e){var f="mouseover"===a||"pointerover"===a,g="mouseout"===a||"pointerout"===a;if(f&&0===(e&32)&&(c.relatedTarget||c.fromElement)||!g&&!f)return null;f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window;if(g){if(g=b,b=(b=c.relatedTarget||c.toElement)?tc(b):null,null!==b){var h=dc(b);if(b!==h||5!==b.tag&&6!==b.tag)b=null;}}else g=null;if(g===b)return null;if("mouseout"===a||"mouseover"===
278
+ a){var k=Ve;var l=Xe.mouseLeave;var m=Xe.mouseEnter;var p="mouse";}else if("pointerout"===a||"pointerover"===a)k=We,l=Xe.pointerLeave,m=Xe.pointerEnter,p="pointer";a=null==g?f:Pd(g);f=null==b?f:Pd(b);l=k.getPooled(l,g,c,d);l.type=p+"leave";l.target=a;l.relatedTarget=f;c=k.getPooled(m,b,c,d);c.type=p+"enter";c.target=f;c.relatedTarget=a;d=g;p=b;if(d&&p)a:{k=d;m=p;g=0;for(a=k;a;a=Rd(a))g++;a=0;for(b=m;b;b=Rd(b))a++;for(;0<g-a;)k=Rd(k),g--;for(;0<a-g;)m=Rd(m),a--;for(;g--;){if(k===m||k===m.alternate)break a;
279
+ k=Rd(k);m=Rd(m);}k=null;}else k=null;m=k;for(k=[];d&&d!==m;){g=d.alternate;if(null!==g&&g===m)break;k.push(d);d=Rd(d);}for(d=[];p&&p!==m;){g=p.alternate;if(null!==g&&g===m)break;d.push(p);p=Rd(p);}for(p=0;p<k.length;p++)Vd(k[p],"bubbled",l);for(p=d.length;0<p--;)Vd(d[p],"captured",c);return 0===(e&64)?[l]:[l,c]}};function Ze(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var $e="function"===typeof Object.is?Object.is:Ze,af=Object.prototype.hasOwnProperty;
280
+ function bf(a,b){if($e(a,b))return !0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return !1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return !1;for(d=0;d<c.length;d++)if(!af.call(b,c[d])||!$e(a[c[d]],b[c[d]]))return !1;return !0}
281
+ var cf=ya&&"documentMode"in document&&11>=document.documentMode,df={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ef=null,ff=null,gf=null,hf=!1;
282
+ function jf(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(hf||null==ef||ef!==td(c))return null;c=ef;"selectionStart"in c&&yd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return gf&&bf(gf,c)?null:(gf=c,a=G.getPooled(df.select,ff,a,b),a.type="select",a.target=ef,Xd(a),a)}
283
+ var kf={eventTypes:df,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=cc(e);f=wa.onSelect;for(var g=0;g<f.length;g++)if(!e.has(f[g])){e=!1;break a}e=!0;}f=!e;}if(f)return null;e=b?Pd(b):window;switch(a){case "focus":if(xe(e)||"true"===e.contentEditable)ef=e,ff=b,gf=null;break;case "blur":gf=ff=ef=null;break;case "mousedown":hf=!0;break;case "contextmenu":case "mouseup":case "dragend":return hf=!1,jf(c,d);case "selectionchange":if(cf)break;
284
+ case "keydown":case "keyup":return jf(c,d)}return null}},lf=G.extend({animationName:null,elapsedTime:null,pseudoElement:null}),mf=G.extend({clipboardData:function(a){return "clipboardData"in a?a.clipboardData:window.clipboardData}}),nf=Ne.extend({relatedTarget:null});function of(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}
285
+ var pf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qf={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",
286
+ 116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rf=Ne.extend({key:function(a){if(a.key){var b=pf[a.key]||a.key;if("Unidentified"!==b)return b}return "keypress"===a.type?(a=of(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?qf[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Qe,charCode:function(a){return "keypress"===
287
+ a.type?of(a):0},keyCode:function(a){return "keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return "keypress"===a.type?of(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),sf=Ve.extend({dataTransfer:null}),tf=Ne.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Qe}),uf=G.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vf=Ve.extend({deltaX:function(a){return "deltaX"in a?a.deltaX:"wheelDeltaX"in
288
+ a?-a.wheelDeltaX:0},deltaY:function(a){return "deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),wf={eventTypes:Wc,extractEvents:function(a,b,c,d){var e=Yc.get(a);if(!e)return null;switch(a){case "keypress":if(0===of(c))return null;case "keydown":case "keyup":a=rf;break;case "blur":case "focus":a=nf;break;case "click":if(2===c.button)return null;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":a=
289
+ Ve;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":a=sf;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":a=tf;break;case Xb:case Yb:case Zb:a=lf;break;case $b:a=uf;break;case "scroll":a=Ne;break;case "wheel":a=vf;break;case "copy":case "cut":case "paste":a=mf;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":a=
290
+ We;break;default:a=G;}b=a.getPooled(e,b,c,d);Xd(b);return b}};if(pa)throw Error(u$1(101));pa=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));ra();var xf=Nc;la=Qd;ma=xf;na=Pd;xa({SimpleEventPlugin:wf,EnterLeaveEventPlugin:Ye,ChangeEventPlugin:Me,SelectEventPlugin:kf,BeforeInputEventPlugin:ve});var yf=[],zf=-1;function H(a){0>zf||(a.current=yf[zf],yf[zf]=null,zf--);}
291
+ function I(a,b){zf++;yf[zf]=a.current;a.current=b;}var Af={},J={current:Af},K={current:!1},Bf=Af;function Cf(a,b){var c=a.type.contextTypes;if(!c)return Af;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function L(a){a=a.childContextTypes;return null!==a&&void 0!==a}
292
+ function Df(){H(K);H(J);}function Ef(a,b,c){if(J.current!==Af)throw Error(u$1(168));I(J,b);I(K,c);}function Ff(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(u$1(108,pb(b)||"Unknown",e));return objectAssign({},c,{},d)}function Gf(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Af;Bf=J.current;I(J,a);I(K,K.current);return !0}
293
+ function Hf(a,b,c){var d=a.stateNode;if(!d)throw Error(u$1(169));c?(a=Ff(a,b,Bf),d.__reactInternalMemoizedMergedChildContext=a,H(K),H(J),I(J,a)):H(K);I(K,c);}
294
+ var If=scheduler.unstable_runWithPriority,Jf=scheduler.unstable_scheduleCallback,Kf=scheduler.unstable_cancelCallback,Lf=scheduler.unstable_requestPaint,Mf=scheduler.unstable_now,Nf=scheduler.unstable_getCurrentPriorityLevel,Of=scheduler.unstable_ImmediatePriority,Pf=scheduler.unstable_UserBlockingPriority,Qf=scheduler.unstable_NormalPriority,Rf=scheduler.unstable_LowPriority,Sf=scheduler.unstable_IdlePriority,Tf={},Uf=scheduler.unstable_shouldYield,Vf=void 0!==Lf?Lf:function(){},Wf=null,Xf=null,Yf=!1,Zf=Mf(),$f=1E4>Zf?Mf:function(){return Mf()-Zf};
295
+ function ag(){switch(Nf()){case Of:return 99;case Pf:return 98;case Qf:return 97;case Rf:return 96;case Sf:return 95;default:throw Error(u$1(332));}}function bg(a){switch(a){case 99:return Of;case 98:return Pf;case 97:return Qf;case 96:return Rf;case 95:return Sf;default:throw Error(u$1(332));}}function cg(a,b){a=bg(a);return If(a,b)}function dg(a,b,c){a=bg(a);return Jf(a,b,c)}function eg(a){null===Wf?(Wf=[a],Xf=Jf(Of,fg)):Wf.push(a);return Tf}function gg(){if(null!==Xf){var a=Xf;Xf=null;Kf(a);}fg();}
296
+ function fg(){if(!Yf&&null!==Wf){Yf=!0;var a=0;try{var b=Wf;cg(99,function(){for(;a<b.length;a++){var c=b[a];do c=c(!0);while(null!==c)}});Wf=null;}catch(c){throw null!==Wf&&(Wf=Wf.slice(a+1)),Jf(Of,gg),c;}finally{Yf=!1;}}}function hg(a,b,c){c/=10;return 1073741821-(((1073741821-a+b/10)/c|0)+1)*c}function ig(a,b){if(a&&a.defaultProps){b=objectAssign({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);}return b}var jg={current:null},kg=null,lg=null,mg=null;function ng(){mg=lg=kg=null;}
297
+ function og(a){var b=jg.current;H(jg);a.type._context._currentValue=b;}function pg(a,b){for(;null!==a;){var c=a.alternate;if(a.childExpirationTime<b)a.childExpirationTime=b,null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);else if(null!==c&&c.childExpirationTime<b)c.childExpirationTime=b;else break;a=a.return;}}function qg(a,b){kg=a;mg=lg=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(a.expirationTime>=b&&(rg=!0),a.firstContext=null);}
298
+ function sg(a,b){if(mg!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)mg=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===lg){if(null===kg)throw Error(u$1(308));lg=b;kg.dependencies={expirationTime:0,firstContext:b,responders:null};}else lg=lg.next=b;}return a._currentValue}var tg=!1;function ug(a){a.updateQueue={baseState:a.memoizedState,baseQueue:null,shared:{pending:null},effects:null};}
299
+ function vg(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,baseQueue:a.baseQueue,shared:a.shared,effects:a.effects});}function wg(a,b){a={expirationTime:a,suspenseConfig:b,tag:0,payload:null,callback:null,next:null};return a.next=a}function xg(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b;}}
300
+ function yg(a,b){var c=a.alternate;null!==c&&vg(c,a);a=a.updateQueue;c=a.baseQueue;null===c?(a.baseQueue=b.next=b,b.next=b):(b.next=c.next,c.next=b);}
301
+ function zg(a,b,c,d){var e=a.updateQueue;tg=!1;var f=e.baseQueue,g=e.shared.pending;if(null!==g){if(null!==f){var h=f.next;f.next=g.next;g.next=h;}f=g;e.shared.pending=null;h=a.alternate;null!==h&&(h=h.updateQueue,null!==h&&(h.baseQueue=g));}if(null!==f){h=f.next;var k=e.baseState,l=0,m=null,p=null,x=null;if(null!==h){var z=h;do{g=z.expirationTime;if(g<d){var ca={expirationTime:z.expirationTime,suspenseConfig:z.suspenseConfig,tag:z.tag,payload:z.payload,callback:z.callback,next:null};null===x?(p=x=
302
+ ca,m=k):x=x.next=ca;g>l&&(l=g);}else {null!==x&&(x=x.next={expirationTime:1073741823,suspenseConfig:z.suspenseConfig,tag:z.tag,payload:z.payload,callback:z.callback,next:null});Ag(g,z.suspenseConfig);a:{var D=a,t=z;g=b;ca=c;switch(t.tag){case 1:D=t.payload;if("function"===typeof D){k=D.call(ca,k,g);break a}k=D;break a;case 3:D.effectTag=D.effectTag&-4097|64;case 0:D=t.payload;g="function"===typeof D?D.call(ca,k,g):D;if(null===g||void 0===g)break a;k=objectAssign({},k,g);break a;case 2:tg=!0;}}null!==z.callback&&
303
+ (a.effectTag|=32,g=e.effects,null===g?e.effects=[z]:g.push(z));}z=z.next;if(null===z||z===h)if(g=e.shared.pending,null===g)break;else z=f.next=g.next,g.next=h,e.baseQueue=f=g,e.shared.pending=null;}while(1)}null===x?m=k:x.next=p;e.baseState=m;e.baseQueue=x;Bg(l);a.expirationTime=l;a.memoizedState=k;}}
304
+ function Cg(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=e;e=c;if("function"!==typeof d)throw Error(u$1(191,d));d.call(e);}}}var Dg=Wa.ReactCurrentBatchConfig,Eg=(new react.Component).refs;function Fg(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:objectAssign({},b,c);a.memoizedState=c;0===a.expirationTime&&(a.updateQueue.baseState=c);}
305
+ var Jg={isMounted:function(a){return (a=a._reactInternalFiber)?dc(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=Gg(),e=Dg.suspense;d=Hg(d,a,e);e=wg(d,e);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);xg(a,e);Ig(a,d);},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=Gg(),e=Dg.suspense;d=Hg(d,a,e);e=wg(d,e);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);xg(a,e);Ig(a,d);},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=Gg(),d=Dg.suspense;
306
+ c=Hg(c,a,d);d=wg(c,d);d.tag=2;void 0!==b&&null!==b&&(d.callback=b);xg(a,d);Ig(a,c);}};function Kg(a,b,c,d,e,f,g){a=a.stateNode;return "function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!bf(c,d)||!bf(e,f):!0}
307
+ function Lg(a,b,c){var d=!1,e=Af;var f=b.contextType;"object"===typeof f&&null!==f?f=sg(f):(e=L(b)?Bf:J.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Cf(a,e):Af);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Jg;a.stateNode=b;b._reactInternalFiber=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}
308
+ function Mg(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Jg.enqueueReplaceState(b,b.state,null);}
309
+ function Ng(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=Eg;ug(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=sg(f):(f=L(b)?Bf:J.current,e.context=Cf(a,f));zg(a,c,e,d);e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(Fg(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||
310
+ (b=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Jg.enqueueReplaceState(e,e.state,null),zg(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.effectTag|=4);}var Og=Array.isArray;
311
+ function Pg(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(u$1(309));var d=c.stateNode;}if(!d)throw Error(u$1(147,a));var e=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===Eg&&(b=d.refs={});null===a?delete b[e]:b[e]=a;};b._stringRef=e;return b}if("string"!==typeof a)throw Error(u$1(284));if(!c._owner)throw Error(u$1(290,a));}return a}
312
+ function Qg(a,b){if("textarea"!==a.type)throw Error(u$1(31,"[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,""));}
313
+ function Rg(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8;}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b){a=Sg(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=
314
+ 2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=Tg(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props),d.ref=Pg(a,b,c),d.return=a,d;d=Ug(c.type,c.key,c.props,null,a.mode,d);d.ref=Pg(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==
315
+ c.implementation)return b=Vg(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=Wg(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function p(a,b,c){if("string"===typeof b||"number"===typeof b)return b=Tg(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case Za:return c=Ug(b.type,b.key,b.props,null,a.mode,c),c.ref=Pg(a,null,b),c.return=a,c;case $a:return b=Vg(b,a.mode,c),b.return=a,b}if(Og(b)||
316
+ nb(b))return b=Wg(b,a.mode,c,null),b.return=a,b;Qg(a,b);}return null}function x(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case Za:return c.key===e?c.type===ab?m(a,b,c.props.children,d,e):k(a,b,c,d):null;case $a:return c.key===e?l(a,b,c,d):null}if(Og(c)||nb(c))return null!==e?null:m(a,b,c,d,null);Qg(a,c);}return null}function z(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=
317
+ a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case Za:return a=a.get(null===d.key?c:d.key)||null,d.type===ab?m(b,a,d.props.children,e,d.key):k(b,a,d,e);case $a:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(Og(d)||nb(d))return a=a.get(c)||null,m(b,a,d,e,null);Qg(b,d);}return null}function ca(e,g,h,k){for(var l=null,t=null,m=g,y=g=0,A=null;null!==m&&y<h.length;y++){m.index>y?(A=m,m=null):A=m.sibling;var q=x(e,m,h[y],k);if(null===q){null===m&&(m=A);break}a&&
318
+ m&&null===q.alternate&&b(e,m);g=f(q,g,y);null===t?l=q:t.sibling=q;t=q;m=A;}if(y===h.length)return c(e,m),l;if(null===m){for(;y<h.length;y++)m=p(e,h[y],k),null!==m&&(g=f(m,g,y),null===t?l=m:t.sibling=m,t=m);return l}for(m=d(e,m);y<h.length;y++)A=z(m,e,y,h[y],k),null!==A&&(a&&null!==A.alternate&&m.delete(null===A.key?y:A.key),g=f(A,g,y),null===t?l=A:t.sibling=A,t=A);a&&m.forEach(function(a){return b(e,a)});return l}function D(e,g,h,l){var k=nb(h);if("function"!==typeof k)throw Error(u$1(150));h=k.call(h);
319
+ if(null==h)throw Error(u$1(151));for(var m=k=null,t=g,y=g=0,A=null,q=h.next();null!==t&&!q.done;y++,q=h.next()){t.index>y?(A=t,t=null):A=t.sibling;var D=x(e,t,q.value,l);if(null===D){null===t&&(t=A);break}a&&t&&null===D.alternate&&b(e,t);g=f(D,g,y);null===m?k=D:m.sibling=D;m=D;t=A;}if(q.done)return c(e,t),k;if(null===t){for(;!q.done;y++,q=h.next())q=p(e,q.value,l),null!==q&&(g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);return k}for(t=d(e,t);!q.done;y++,q=h.next())q=z(t,e,y,q.value,l),null!==q&&(a&&null!==
320
+ q.alternate&&t.delete(null===q.key?y:q.key),g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);a&&t.forEach(function(a){return b(e,a)});return k}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ab&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case Za:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){switch(k.tag){case 7:if(f.type===ab){c(a,k.sibling);d=e(k,f.props.children);d.return=a;a=d;break a}break;default:if(k.elementType===f.type){c(a,
321
+ k.sibling);d=e(k,f.props);d.ref=Pg(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling;}f.type===ab?(d=Wg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Ug(f.type,f.key,f.props,null,a.mode,h),h.ref=Pg(a,d,f),h.return=a,a=h);}return g(a);case $a:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else {c(a,d);break}else b(a,d);d=
322
+ d.sibling;}d=Vg(f,a.mode,h);d.return=a;a=d;}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=Tg(f,a.mode,h),d.return=a,a=d),g(a);if(Og(f))return ca(a,d,f,h);if(nb(f))return D(a,d,f,h);l&&Qg(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:throw a=a.type,Error(u$1(152,a.displayName||a.name||"Component"));}return c(a,d)}}var Xg=Rg(!0),Yg=Rg(!1),Zg={},$g={current:Zg},ah={current:Zg},bh={current:Zg};
323
+ function ch(a){if(a===Zg)throw Error(u$1(174));return a}function dh(a,b){I(bh,b);I(ah,a);I($g,Zg);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Ob(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Ob(b,a);}H($g);I($g,b);}function eh(){H($g);H(ah);H(bh);}function fh(a){ch(bh.current);var b=ch($g.current);var c=Ob(b,a.type);b!==c&&(I(ah,a),I($g,c));}function gh(a){ah.current===a&&(H($g),H(ah));}var M={current:0};
324
+ function hh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===Bd||c.data===Cd))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return;}b.sibling.return=b.return;b=b.sibling;}return null}function ih(a,b){return {responder:a,props:b}}
325
+ var jh=Wa.ReactCurrentDispatcher,kh=Wa.ReactCurrentBatchConfig,lh=0,N=null,O=null,P=null,mh=!1;function Q(){throw Error(u$1(321));}function nh(a,b){if(null===b)return !1;for(var c=0;c<b.length&&c<a.length;c++)if(!$e(a[c],b[c]))return !1;return !0}
326
+ function oh(a,b,c,d,e,f){lh=f;N=b;b.memoizedState=null;b.updateQueue=null;b.expirationTime=0;jh.current=null===a||null===a.memoizedState?ph:qh;a=c(d,e);if(b.expirationTime===lh){f=0;do{b.expirationTime=0;if(!(25>f))throw Error(u$1(301));f+=1;P=O=null;b.updateQueue=null;jh.current=rh;a=c(d,e);}while(b.expirationTime===lh)}jh.current=sh;b=null!==O&&null!==O.next;lh=0;P=O=N=null;mh=!1;if(b)throw Error(u$1(300));return a}
327
+ function th(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===P?N.memoizedState=P=a:P=P.next=a;return P}function uh(){if(null===O){var a=N.alternate;a=null!==a?a.memoizedState:null;}else a=O.next;var b=null===P?N.memoizedState:P.next;if(null!==b)P=b,O=a;else {if(null===a)throw Error(u$1(310));O=a;a={memoizedState:O.memoizedState,baseState:O.baseState,baseQueue:O.baseQueue,queue:O.queue,next:null};null===P?N.memoizedState=P=a:P=P.next=a;}return P}
328
+ function vh(a,b){return "function"===typeof b?b(a):b}
329
+ function wh(a){var b=uh(),c=b.queue;if(null===c)throw Error(u$1(311));c.lastRenderedReducer=a;var d=O,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g;}d.baseQueue=e=f;c.pending=null;}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,k=e;do{var l=k.expirationTime;if(l<lh){var m={expirationTime:k.expirationTime,suspenseConfig:k.suspenseConfig,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null};null===h?(g=h=m,f=d):h=h.next=m;l>N.expirationTime&&
330
+ (N.expirationTime=l,Bg(l));}else null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:k.suspenseConfig,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null}),Ag(l,k.suspenseConfig),d=k.eagerReducer===a?k.eagerState:a(d,k.action);k=k.next;}while(null!==k&&k!==e);null===h?f=d:h.next=g;$e(d,b.memoizedState)||(rg=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d;}return [b.memoizedState,c.dispatch]}
331
+ function xh(a){var b=uh(),c=b.queue;if(null===c)throw Error(u$1(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);$e(f,b.memoizedState)||(rg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f;}return [f,d]}
332
+ function yh(a){var b=th();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:vh,lastRenderedState:a};a=a.dispatch=zh.bind(null,N,a);return [b.memoizedState,a]}function Ah(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=N.updateQueue;null===b?(b={lastEffect:null},N.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}
333
+ function Bh(){return uh().memoizedState}function Ch(a,b,c,d){var e=th();N.effectTag|=a;e.memoizedState=Ah(1|b,c,void 0,void 0===d?null:d);}function Dh(a,b,c,d){var e=uh();d=void 0===d?null:d;var f=void 0;if(null!==O){var g=O.memoizedState;f=g.destroy;if(null!==d&&nh(d,g.deps)){Ah(b,c,f,d);return}}N.effectTag|=a;e.memoizedState=Ah(1|b,c,f,d);}function Eh(a,b){return Ch(516,4,a,b)}function Fh(a,b){return Dh(516,4,a,b)}function Gh(a,b){return Dh(4,2,a,b)}
334
+ function Hh(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null);};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null;}}function Ih(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Dh(4,2,Hh.bind(null,b,a),c)}function Jh(){}function Kh(a,b){th().memoizedState=[a,void 0===b?null:b];return a}function Lh(a,b){var c=uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&nh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}
335
+ function Mh(a,b){var c=uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&nh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function Nh(a,b,c){var d=ag();cg(98>d?98:d,function(){a(!0);});cg(97<d?97:d,function(){var d=kh.suspense;kh.suspense=void 0===b?null:b;try{a(!1),c();}finally{kh.suspense=d;}});}
336
+ function zh(a,b,c){var d=Gg(),e=Dg.suspense;d=Hg(d,a,e);e={expirationTime:d,suspenseConfig:e,action:c,eagerReducer:null,eagerState:null,next:null};var f=b.pending;null===f?e.next=e:(e.next=f.next,f.next=e);b.pending=e;f=a.alternate;if(a===N||null!==f&&f===N)mh=!0,e.expirationTime=lh,N.expirationTime=lh;else {if(0===a.expirationTime&&(null===f||0===f.expirationTime)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.eagerReducer=f;e.eagerState=h;if($e(h,g))return}catch(k){}finally{}Ig(a,
337
+ d);}}
338
+ var sh={readContext:sg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useResponder:Q,useDeferredValue:Q,useTransition:Q},ph={readContext:sg,useCallback:Kh,useContext:sg,useEffect:Eh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Ch(4,2,Hh.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Ch(4,2,a,b)},useMemo:function(a,b){var c=th();b=void 0===b?null:b;a=a();c.memoizedState=[a,
339
+ b];return a},useReducer:function(a,b,c){var d=th();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={pending:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=zh.bind(null,N,a);return [d.memoizedState,a]},useRef:function(a){var b=th();a={current:a};return b.memoizedState=a},useState:yh,useDebugValue:Jh,useResponder:ih,useDeferredValue:function(a,b){var c=yh(a),d=c[0],e=c[1];Eh(function(){var c=kh.suspense;kh.suspense=void 0===b?null:b;try{e(a);}finally{kh.suspense=
340
+ c;}},[a,b]);return d},useTransition:function(a){var b=yh(!1),c=b[0];b=b[1];return [Kh(Nh.bind(null,b,a),[b,a]),c]}},qh={readContext:sg,useCallback:Lh,useContext:sg,useEffect:Fh,useImperativeHandle:Ih,useLayoutEffect:Gh,useMemo:Mh,useReducer:wh,useRef:Bh,useState:function(){return wh(vh)},useDebugValue:Jh,useResponder:ih,useDeferredValue:function(a,b){var c=wh(vh),d=c[0],e=c[1];Fh(function(){var c=kh.suspense;kh.suspense=void 0===b?null:b;try{e(a);}finally{kh.suspense=c;}},[a,b]);return d},useTransition:function(a){var b=
341
+ wh(vh),c=b[0];b=b[1];return [Lh(Nh.bind(null,b,a),[b,a]),c]}},rh={readContext:sg,useCallback:Lh,useContext:sg,useEffect:Fh,useImperativeHandle:Ih,useLayoutEffect:Gh,useMemo:Mh,useReducer:xh,useRef:Bh,useState:function(){return xh(vh)},useDebugValue:Jh,useResponder:ih,useDeferredValue:function(a,b){var c=xh(vh),d=c[0],e=c[1];Fh(function(){var c=kh.suspense;kh.suspense=void 0===b?null:b;try{e(a);}finally{kh.suspense=c;}},[a,b]);return d},useTransition:function(a){var b=xh(vh),c=b[0];b=b[1];return [Lh(Nh.bind(null,
342
+ b,a),[b,a]),c]}},Oh=null,Ph=null,Qh=!1;function Rh(a,b){var c=Sh(5,null,null,0);c.elementType="DELETED";c.type="DELETED";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c;}
343
+ function Th(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;case 13:return !1;default:return !1}}
344
+ function Uh(a){if(Qh){var b=Ph;if(b){var c=b;if(!Th(a,b)){b=Jd(c.nextSibling);if(!b||!Th(a,b)){a.effectTag=a.effectTag&-1025|2;Qh=!1;Oh=a;return}Rh(Oh,c);}Oh=a;Ph=Jd(b.firstChild);}else a.effectTag=a.effectTag&-1025|2,Qh=!1,Oh=a;}}function Vh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;Oh=a;}
345
+ function Wh(a){if(a!==Oh)return !1;if(!Qh)return Vh(a),Qh=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!Gd(b,a.memoizedProps))for(b=Ph;b;)Rh(a,b),b=Jd(b.nextSibling);Vh(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(u$1(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if(c===Ad){if(0===b){Ph=Jd(a.nextSibling);break a}b--;}else c!==zd&&c!==Cd&&c!==Bd||b++;}a=a.nextSibling;}Ph=null;}}else Ph=Oh?Jd(a.stateNode.nextSibling):null;return !0}
346
+ function Xh(){Ph=Oh=null;Qh=!1;}var Yh=Wa.ReactCurrentOwner,rg=!1;function R(a,b,c,d){b.child=null===a?Yg(b,null,c,d):Xg(b,a.child,c,d);}function Zh(a,b,c,d,e){c=c.render;var f=b.ref;qg(b,e);d=oh(a,b,c,d,f,e);if(null!==a&&!rg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),$h(a,b,e);b.effectTag|=1;R(a,b,d,e);return b.child}
347
+ function ai(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===typeof g&&!bi(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ci(a,b,g,d,e,f);a=Ug(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e<f&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:bf,c(e,d)&&a.ref===b.ref))return $h(a,b,f);b.effectTag|=1;a=Sg(g,d);a.ref=b.ref;a.return=b;return b.child=a}
348
+ function ci(a,b,c,d,e,f){return null!==a&&bf(a.memoizedProps,d)&&a.ref===b.ref&&(rg=!1,e<f)?(b.expirationTime=a.expirationTime,$h(a,b,f)):di(a,b,c,d,f)}function ei(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.effectTag|=128;}function di(a,b,c,d,e){var f=L(c)?Bf:J.current;f=Cf(b,f);qg(b,e);c=oh(a,b,c,d,f,e);if(null!==a&&!rg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),$h(a,b,e);b.effectTag|=1;R(a,b,c,e);return b.child}
349
+ function fi(a,b,c,d,e){if(L(c)){var f=!0;Gf(b);}else f=!1;qg(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Lg(b,c,d),Ng(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=sg(l):(l=L(c)?Bf:J.current,l=Cf(b,l));var m=c.getDerivedStateFromProps,p="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate;p||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&
350
+ "function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Mg(b,g,d,l);tg=!1;var x=b.memoizedState;g.state=x;zg(b,d,g,e);k=b.memoizedState;h!==d||x!==k||K.current||tg?("function"===typeof m&&(Fg(b,c,m,d),k=b.memoizedState),(h=tg||Kg(b,c,h,d,x,k,l))?(p||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===
351
+ typeof g.componentDidMount&&(b.effectTag|=4)):("function"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1);}else g=b.stateNode,vg(a,b),h=b.memoizedProps,g.props=b.type===b.elementType?h:ig(b.type,h),k=g.context,l=c.contextType,"object"===typeof l&&null!==l?l=sg(l):(l=L(c)?Bf:J.current,l=Cf(b,l)),m=c.getDerivedStateFromProps,(p="function"===typeof m||"function"===
352
+ typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Mg(b,g,d,l),tg=!1,k=b.memoizedState,g.state=k,zg(b,d,g,e),x=b.memoizedState,h!==d||k!==x||K.current||tg?("function"===typeof m&&(Fg(b,c,m,d),x=b.memoizedState),(m=tg||Kg(b,c,h,d,k,x,l))?(p||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,
353
+ x,l),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,x,l)),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=x),g.props=d,g.state=x,g.context=l,d=m):
354
+ ("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),d=!1);return gi(a,b,c,d,f,e)}
355
+ function gi(a,b,c,d,e,f){ei(a,b);var g=0!==(b.effectTag&64);if(!d&&!g)return e&&Hf(b,c,!1),$h(a,b,f);d=b.stateNode;Yh.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.effectTag|=1;null!==a&&g?(b.child=Xg(b,a.child,null,f),b.child=Xg(b,null,h,f)):R(a,b,h,f);b.memoizedState=d.state;e&&Hf(b,c,!0);return b.child}function hi(a){var b=a.stateNode;b.pendingContext?Ef(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Ef(a,b.context,!1);dh(a,b.containerInfo);}
356
+ var ii={dehydrated:null,retryTime:0};
357
+ function ji(a,b,c){var d=b.mode,e=b.pendingProps,f=M.current,g=!1,h;(h=0!==(b.effectTag&64))||(h=0!==(f&2)&&(null===a||null!==a.memoizedState));h?(g=!0,b.effectTag&=-65):null!==a&&null===a.memoizedState||void 0===e.fallback||!0===e.unstable_avoidThisFallback||(f|=1);I(M,f&1);if(null===a){void 0!==e.fallback&&Uh(b);if(g){g=e.fallback;e=Wg(null,d,0,null);e.return=b;if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==a;)a.return=e,a=a.sibling;c=Wg(g,d,c,null);c.return=
358
+ b;e.sibling=c;b.memoizedState=ii;b.child=e;return c}d=e.children;b.memoizedState=null;return b.child=Yg(b,null,d,c)}if(null!==a.memoizedState){a=a.child;d=a.sibling;if(g){e=e.fallback;c=Sg(a,a.pendingProps);c.return=b;if(0===(b.mode&2)&&(g=null!==b.memoizedState?b.child.child:b.child,g!==a.child))for(c.child=g;null!==g;)g.return=c,g=g.sibling;d=Sg(d,e);d.return=b;c.sibling=d;c.childExpirationTime=0;b.memoizedState=ii;b.child=c;return d}c=Xg(b,a.child,e.children,c);b.memoizedState=null;return b.child=
359
+ c}a=a.child;if(g){g=e.fallback;e=Wg(null,d,0,null);e.return=b;e.child=a;null!==a&&(a.return=e);if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==a;)a.return=e,a=a.sibling;c=Wg(g,d,c,null);c.return=b;e.sibling=c;c.effectTag|=2;e.childExpirationTime=0;b.memoizedState=ii;b.child=e;return c}b.memoizedState=null;return b.child=Xg(b,a,e.children,c)}
360
+ function ki(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);pg(a.return,b);}function li(a,b,c,d,e,f){var g=a.memoizedState;null===g?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailExpiration:0,tailMode:e,lastEffect:f}:(g.isBackwards=b,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=c,g.tailExpiration=0,g.tailMode=e,g.lastEffect=f);}
361
+ function mi(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;R(a,b,d.children,c);d=M.current;if(0!==(d&2))d=d&1|2,b.effectTag|=64;else {if(null!==a&&0!==(a.effectTag&64))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&ki(a,c);else if(19===a.tag)ki(a,c);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return;}a.sibling.return=a.return;a=a.sibling;}d&=1;}I(M,d);if(0===(b.mode&2))b.memoizedState=
362
+ null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===hh(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);li(b,!1,e,c,f,b.lastEffect);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===hh(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a;}li(b,!0,c,null,f,b.lastEffect);break;case "together":li(b,!1,null,null,void 0,b.lastEffect);break;default:b.memoizedState=null;}return b.child}
363
+ function $h(a,b,c){null!==a&&(b.dependencies=a.dependencies);var d=b.expirationTime;0!==d&&Bg(d);if(b.childExpirationTime<c)return null;if(null!==a&&b.child!==a.child)throw Error(u$1(153));if(null!==b.child){a=b.child;c=Sg(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Sg(a,a.pendingProps),c.return=b;c.sibling=null;}return b.child}var ni,oi,pi,qi;
364
+ ni=function(a,b){for(var c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return;}c.sibling.return=c.return;c=c.sibling;}};oi=function(){};
365
+ pi=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;ch($g.current);a=null;switch(c){case "input":f=zb(g,f);d=zb(g,d);a=[];break;case "option":f=Gb(g,f);d=Gb(g,d);a=[];break;case "select":f=objectAssign({},f,{value:void 0});d=objectAssign({},d,{value:void 0});a=[];break;case "textarea":f=Ib(g,f);d=Ib(g,d);a=[];break;default:"function"!==typeof f.onClick&&"function"===typeof d.onClick&&(g.onclick=sd);}od(c,d);var h,k;c=null;for(h in f)if(!d.hasOwnProperty(h)&&f.hasOwnProperty(h)&&null!=f[h])if("style"===
366
+ h)for(k in g=f[h],g)g.hasOwnProperty(k)&&(c||(c={}),c[k]="");else "dangerouslySetInnerHTML"!==h&&"children"!==h&&"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&"autoFocus"!==h&&(va.hasOwnProperty(h)?a||(a=[]):(a=a||[]).push(h,null));for(h in d){var l=d[h];g=null!=f?f[h]:void 0;if(d.hasOwnProperty(h)&&l!==g&&(null!=l||null!=g))if("style"===h)if(g){for(k in g)!g.hasOwnProperty(k)||l&&l.hasOwnProperty(k)||(c||(c={}),c[k]="");for(k in l)l.hasOwnProperty(k)&&g[k]!==l[k]&&(c||(c={}),
367
+ c[k]=l[k]);}else c||(a||(a=[]),a.push(h,c)),c=l;else "dangerouslySetInnerHTML"===h?(l=l?l.__html:void 0,g=g?g.__html:void 0,null!=l&&g!==l&&(a=a||[]).push(h,l)):"children"===h?g===l||"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(h,""+l):"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&(va.hasOwnProperty(h)?(null!=l&&rd(e,h),a||g===l||(a=[])):(a=a||[]).push(h,l));}c&&(a=a||[]).push("style",c);e=a;if(b.updateQueue=e)b.effectTag|=4;}};
368
+ qi=function(a,b,c,d){c!==d&&(b.effectTag|=4);};function ri(a,b){switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null;}}
369
+ function si(a,b,c){var d=b.pendingProps;switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return L(b.type)&&Df(),null;case 3:return eh(),H(K),H(J),c=b.stateNode,c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==a&&null!==a.child||!Wh(b)||(b.effectTag|=4),oi(b),null;case 5:gh(b);c=ch(bh.current);var e=b.type;if(null!==a&&null!=b.stateNode)pi(a,b,e,d,c),a.ref!==b.ref&&(b.effectTag|=128);else {if(!d){if(null===b.stateNode)throw Error(u$1(166));
370
+ return null}a=ch($g.current);if(Wh(b)){d=b.stateNode;e=b.type;var f=b.memoizedProps;d[Md]=b;d[Nd]=f;switch(e){case "iframe":case "object":case "embed":F("load",d);break;case "video":case "audio":for(a=0;a<ac.length;a++)F(ac[a],d);break;case "source":F("error",d);break;case "img":case "image":case "link":F("error",d);F("load",d);break;case "form":F("reset",d);F("submit",d);break;case "details":F("toggle",d);break;case "input":Ab(d,f);F("invalid",d);rd(c,"onChange");break;case "select":d._wrapperState=
371
+ {wasMultiple:!!f.multiple};F("invalid",d);rd(c,"onChange");break;case "textarea":Jb(d,f),F("invalid",d),rd(c,"onChange");}od(e,f);a=null;for(var g in f)if(f.hasOwnProperty(g)){var h=f[g];"children"===g?"string"===typeof h?d.textContent!==h&&(a=["children",h]):"number"===typeof h&&d.textContent!==""+h&&(a=["children",""+h]):va.hasOwnProperty(g)&&null!=h&&rd(c,g);}switch(e){case "input":xb(d);Eb(d,f,!0);break;case "textarea":xb(d);Lb(d);break;case "select":case "option":break;default:"function"===typeof f.onClick&&
372
+ (d.onclick=sd);}c=a;b.updateQueue=c;null!==c&&(b.effectTag|=4);}else {g=9===c.nodeType?c:c.ownerDocument;a===qd&&(a=Nb(e));a===qd?"script"===e?(a=g.createElement("div"),a.innerHTML="<script>\x3c/script>",a=a.removeChild(a.firstChild)):"string"===typeof d.is?a=g.createElement(e,{is:d.is}):(a=g.createElement(e),"select"===e&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,e);a[Md]=b;a[Nd]=d;ni(a,b,!1,!1);b.stateNode=a;g=pd(e,d);switch(e){case "iframe":case "object":case "embed":F("load",
373
+ a);h=d;break;case "video":case "audio":for(h=0;h<ac.length;h++)F(ac[h],a);h=d;break;case "source":F("error",a);h=d;break;case "img":case "image":case "link":F("error",a);F("load",a);h=d;break;case "form":F("reset",a);F("submit",a);h=d;break;case "details":F("toggle",a);h=d;break;case "input":Ab(a,d);h=zb(a,d);F("invalid",a);rd(c,"onChange");break;case "option":h=Gb(a,d);break;case "select":a._wrapperState={wasMultiple:!!d.multiple};h=objectAssign({},d,{value:void 0});F("invalid",a);rd(c,"onChange");break;case "textarea":Jb(a,
374
+ d);h=Ib(a,d);F("invalid",a);rd(c,"onChange");break;default:h=d;}od(e,h);var k=h;for(f in k)if(k.hasOwnProperty(f)){var l=k[f];"style"===f?md(a,l):"dangerouslySetInnerHTML"===f?(l=l?l.__html:void 0,null!=l&&Qb(a,l)):"children"===f?"string"===typeof l?("textarea"!==e||""!==l)&&Rb(a,l):"number"===typeof l&&Rb(a,""+l):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(va.hasOwnProperty(f)?null!=l&&rd(c,f):null!=l&&Xa(a,f,l,g));}switch(e){case "input":xb(a);Eb(a,d,!1);
375
+ break;case "textarea":xb(a);Lb(a);break;case "option":null!=d.value&&a.setAttribute("value",""+rb(d.value));break;case "select":a.multiple=!!d.multiple;c=d.value;null!=c?Hb(a,!!d.multiple,c,!1):null!=d.defaultValue&&Hb(a,!!d.multiple,d.defaultValue,!0);break;default:"function"===typeof h.onClick&&(a.onclick=sd);}Fd(e,d)&&(b.effectTag|=4);}null!==b.ref&&(b.effectTag|=128);}return null;case 6:if(a&&null!=b.stateNode)qi(a,b,a.memoizedProps,d);else {if("string"!==typeof d&&null===b.stateNode)throw Error(u$1(166));
376
+ c=ch(bh.current);ch($g.current);Wh(b)?(c=b.stateNode,d=b.memoizedProps,c[Md]=b,c.nodeValue!==d&&(b.effectTag|=4)):(c=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),c[Md]=b,b.stateNode=c);}return null;case 13:H(M);d=b.memoizedState;if(0!==(b.effectTag&64))return b.expirationTime=c,b;c=null!==d;d=!1;null===a?void 0!==b.memoizedProps.fallback&&Wh(b):(e=a.memoizedState,d=null!==e,c||null===e||(e=a.child.sibling,null!==e&&(f=b.firstEffect,null!==f?(b.firstEffect=e,e.nextEffect=f):(b.firstEffect=b.lastEffect=
377
+ e,e.nextEffect=null),e.effectTag=8)));if(c&&!d&&0!==(b.mode&2))if(null===a&&!0!==b.memoizedProps.unstable_avoidThisFallback||0!==(M.current&1))S===ti&&(S=ui);else {if(S===ti||S===ui)S=vi;0!==wi&&null!==T&&(xi(T,U),yi(T,wi));}if(c||d)b.effectTag|=4;return null;case 4:return eh(),oi(b),null;case 10:return og(b),null;case 17:return L(b.type)&&Df(),null;case 19:H(M);d=b.memoizedState;if(null===d)return null;e=0!==(b.effectTag&64);f=d.rendering;if(null===f)if(e)ri(d,!1);else {if(S!==ti||null!==a&&0!==(a.effectTag&
378
+ 64))for(f=b.child;null!==f;){a=hh(f);if(null!==a){b.effectTag|=64;ri(d,!1);e=a.updateQueue;null!==e&&(b.updateQueue=e,b.effectTag|=4);null===d.lastEffect&&(b.firstEffect=null);b.lastEffect=d.lastEffect;for(d=b.child;null!==d;)e=d,f=c,e.effectTag&=2,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null,a=e.alternate,null===a?(e.childExpirationTime=0,e.expirationTime=f,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null):(e.childExpirationTime=a.childExpirationTime,
379
+ e.expirationTime=a.expirationTime,e.child=a.child,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,f=a.dependencies,e.dependencies=null===f?null:{expirationTime:f.expirationTime,firstContext:f.firstContext,responders:f.responders}),d=d.sibling;I(M,M.current&1|2);return b.child}f=f.sibling;}}else {if(!e)if(a=hh(f),null!==a){if(b.effectTag|=64,e=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.effectTag|=4),ri(d,!0),null===d.tail&&"hidden"===d.tailMode&&!f.alternate)return b=
380
+ b.lastEffect=d.lastEffect,null!==b&&(b.nextEffect=null),null}else 2*$f()-d.renderingStartTime>d.tailExpiration&&1<c&&(b.effectTag|=64,e=!0,ri(d,!1),b.expirationTime=b.childExpirationTime=c-1);d.isBackwards?(f.sibling=b.child,b.child=f):(c=d.last,null!==c?c.sibling=f:b.child=f,d.last=f);}return null!==d.tail?(0===d.tailExpiration&&(d.tailExpiration=$f()+500),c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=$f(),c.sibling=null,b=M.current,I(M,e?b&1|2:b&1),c):null}throw Error(u$1(156,
381
+ b.tag));}function zi(a){switch(a.tag){case 1:L(a.type)&&Df();var b=a.effectTag;return b&4096?(a.effectTag=b&-4097|64,a):null;case 3:eh();H(K);H(J);b=a.effectTag;if(0!==(b&64))throw Error(u$1(285));a.effectTag=b&-4097|64;return a;case 5:return gh(a),null;case 13:return H(M),b=a.effectTag,b&4096?(a.effectTag=b&-4097|64,a):null;case 19:return H(M),null;case 4:return eh(),null;case 10:return og(a),null;default:return null}}function Ai(a,b){return {value:a,source:b,stack:qb(b)}}
382
+ var Bi="function"===typeof WeakSet?WeakSet:Set;function Ci(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=qb(c));null!==c&&pb(c.type);b=b.value;null!==a&&1===a.tag&&pb(a.type);try{console.error(b);}catch(e){setTimeout(function(){throw e;});}}function Di(a,b){try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount();}catch(c){Ei(a,c);}}function Fi(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null);}catch(c){Ei(a,c);}else b.current=null;}
383
+ function Gi(a,b){switch(b.tag){case 0:case 11:case 15:case 22:return;case 1:if(b.effectTag&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===b.type?c:ig(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b;}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(u$1(163));}
384
+ function Hi(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.destroy;c.destroy=void 0;void 0!==d&&d();}c=c.next;}while(c!==b)}}function Ii(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d();}c=c.next;}while(c!==b)}}
385
+ function Ji(a,b,c){switch(c.tag){case 0:case 11:case 15:case 22:Ii(3,c);return;case 1:a=c.stateNode;if(c.effectTag&4)if(null===b)a.componentDidMount();else {var d=c.elementType===c.type?b.memoizedProps:ig(c.type,b.memoizedProps);a.componentDidUpdate(d,b.memoizedState,a.__reactInternalSnapshotBeforeUpdate);}b=c.updateQueue;null!==b&&Cg(c,b,a);return;case 3:b=c.updateQueue;if(null!==b){a=null;if(null!==c.child)switch(c.child.tag){case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode;}Cg(c,b,a);}return;
386
+ case 5:a=c.stateNode;null===b&&c.effectTag&4&&Fd(c.type,c.memoizedProps)&&a.focus();return;case 6:return;case 4:return;case 12:return;case 13:null===c.memoizedState&&(c=c.alternate,null!==c&&(c=c.memoizedState,null!==c&&(c=c.dehydrated,null!==c&&Vc(c))));return;case 19:case 17:case 20:case 21:return}throw Error(u$1(163));}
387
+ function Ki(a,b,c){"function"===typeof Li&&Li(b);switch(b.tag){case 0:case 11:case 14:case 15:case 22:a=b.updateQueue;if(null!==a&&(a=a.lastEffect,null!==a)){var d=a.next;cg(97<c?97:c,function(){var a=d;do{var c=a.destroy;if(void 0!==c){var g=b;try{c();}catch(h){Ei(g,h);}}a=a.next;}while(a!==d)});}break;case 1:Fi(b);c=b.stateNode;"function"===typeof c.componentWillUnmount&&Di(b,c);break;case 5:Fi(b);break;case 4:Mi(a,b,c);}}
388
+ function Ni(a){var b=a.alternate;a.return=null;a.child=null;a.memoizedState=null;a.updateQueue=null;a.dependencies=null;a.alternate=null;a.firstEffect=null;a.lastEffect=null;a.pendingProps=null;a.memoizedProps=null;a.stateNode=null;null!==b&&Ni(b);}function Oi(a){return 5===a.tag||3===a.tag||4===a.tag}
389
+ function Pi(a){a:{for(var b=a.return;null!==b;){if(Oi(b)){var c=b;break a}b=b.return;}throw Error(u$1(160));}b=c.stateNode;switch(c.tag){case 5:var d=!1;break;case 3:b=b.containerInfo;d=!0;break;case 4:b=b.containerInfo;d=!0;break;default:throw Error(u$1(161));}c.effectTag&16&&(Rb(b,""),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Oi(c.return)){c=null;break a}c=c.return;}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.effectTag&2)continue b;
390
+ if(null===c.child||4===c.tag)continue b;else c.child.return=c,c=c.child;}if(!(c.effectTag&2)){c=c.stateNode;break a}}d?Qi(a,c,b):Ri(a,c,b);}
391
+ function Qi(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=sd));else if(4!==d&&(a=a.child,null!==a))for(Qi(a,b,c),a=a.sibling;null!==a;)Qi(a,b,c),a=a.sibling;}
392
+ function Ri(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Ri(a,b,c),a=a.sibling;null!==a;)Ri(a,b,c),a=a.sibling;}
393
+ function Mi(a,b,c){for(var d=b,e=!1,f,g;;){if(!e){e=d.return;a:for(;;){if(null===e)throw Error(u$1(160));f=e.stateNode;switch(e.tag){case 5:g=!1;break a;case 3:f=f.containerInfo;g=!0;break a;case 4:f=f.containerInfo;g=!0;break a}e=e.return;}e=!0;}if(5===d.tag||6===d.tag){a:for(var h=a,k=d,l=c,m=k;;)if(Ki(h,m,l),null!==m.child&&4!==m.tag)m.child.return=m,m=m.child;else {if(m===k)break a;for(;null===m.sibling;){if(null===m.return||m.return===k)break a;m=m.return;}m.sibling.return=m.return;m=m.sibling;}g?(h=
394
+ f,k=d.stateNode,8===h.nodeType?h.parentNode.removeChild(k):h.removeChild(k)):f.removeChild(d.stateNode);}else if(4===d.tag){if(null!==d.child){f=d.stateNode.containerInfo;g=!0;d.child.return=d;d=d.child;continue}}else if(Ki(a,d,c),null!==d.child){d.child.return=d;d=d.child;continue}if(d===b)break;for(;null===d.sibling;){if(null===d.return||d.return===b)return;d=d.return;4===d.tag&&(e=!1);}d.sibling.return=d.return;d=d.sibling;}}
395
+ function Si(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:Hi(3,b);return;case 1:return;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[Nd]=d;"input"===a&&"radio"===d.type&&null!=d.name&&Bb(c,d);pd(a,e);b=pd(a,d);for(e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];"style"===g?md(c,h):"dangerouslySetInnerHTML"===g?Qb(c,h):"children"===g?Rb(c,h):Xa(c,g,h,b);}switch(a){case "input":Cb(c,d);break;
396
+ case "textarea":Kb(c,d);break;case "select":b=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,a=d.value,null!=a?Hb(c,!!d.multiple,a,!1):b!==!!d.multiple&&(null!=d.defaultValue?Hb(c,!!d.multiple,d.defaultValue,!0):Hb(c,!!d.multiple,d.multiple?[]:"",!1));}}}return;case 6:if(null===b.stateNode)throw Error(u$1(162));b.stateNode.nodeValue=b.memoizedProps;return;case 3:b=b.stateNode;b.hydrate&&(b.hydrate=!1,Vc(b.containerInfo));return;case 12:return;case 13:c=b;null===b.memoizedState?
397
+ d=!1:(d=!0,c=b.child,Ti=$f());if(null!==c)a:for(a=c;;){if(5===a.tag)f=a.stateNode,d?(f=f.style,"function"===typeof f.setProperty?f.setProperty("display","none","important"):f.display="none"):(f=a.stateNode,e=a.memoizedProps.style,e=void 0!==e&&null!==e&&e.hasOwnProperty("display")?e.display:null,f.style.display=ld("display",e));else if(6===a.tag)a.stateNode.nodeValue=d?"":a.memoizedProps;else if(13===a.tag&&null!==a.memoizedState&&null===a.memoizedState.dehydrated){f=a.child.sibling;f.return=a;a=
398
+ f;continue}else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===c)break;for(;null===a.sibling;){if(null===a.return||a.return===c)break a;a=a.return;}a.sibling.return=a.return;a=a.sibling;}Ui(b);return;case 19:Ui(b);return;case 17:return}throw Error(u$1(163));}function Ui(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Bi);b.forEach(function(b){var d=Vi.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d));});}}
399
+ var Wi="function"===typeof WeakMap?WeakMap:Map;function Xi(a,b,c){c=wg(c,null);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Yi||(Yi=!0,Zi=d);Ci(a,b);};return c}
400
+ function $i(a,b,c){c=wg(c,null);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){Ci(a,b);return d(e)};}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===aj?aj=new Set([this]):aj.add(this),Ci(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:""});});return c}
401
+ var bj=Math.ceil,cj=Wa.ReactCurrentDispatcher,dj=Wa.ReactCurrentOwner,V=0,ej=8,fj=16,gj=32,ti=0,hj=1,ij=2,ui=3,vi=4,jj=5,W=V,T=null,X=null,U=0,S=ti,kj=null,lj=1073741823,mj=1073741823,nj=null,wi=0,oj=!1,Ti=0,pj=500,Y=null,Yi=!1,Zi=null,aj=null,qj=!1,rj=null,sj=90,tj=null,uj=0,vj=null,wj=0;function Gg(){return (W&(fj|gj))!==V?1073741821-($f()/10|0):0!==wj?wj:wj=1073741821-($f()/10|0)}
402
+ function Hg(a,b,c){b=b.mode;if(0===(b&2))return 1073741823;var d=ag();if(0===(b&4))return 99===d?1073741823:1073741822;if((W&fj)!==V)return U;if(null!==c)a=hg(a,c.timeoutMs|0||5E3,250);else switch(d){case 99:a=1073741823;break;case 98:a=hg(a,150,100);break;case 97:case 96:a=hg(a,5E3,250);break;case 95:a=2;break;default:throw Error(u$1(326));}null!==T&&a===U&&--a;return a}
403
+ function Ig(a,b){if(50<uj)throw uj=0,vj=null,Error(u$1(185));a=xj(a,b);if(null!==a){var c=ag();1073741823===b?(W&ej)!==V&&(W&(fj|gj))===V?yj(a):(Z(a),W===V&&gg()):Z(a);(W&4)===V||98!==c&&99!==c||(null===tj?tj=new Map([[a,b]]):(c=tj.get(a),(void 0===c||c>b)&&tj.set(a,b)));}}
404
+ function xj(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;d.childExpirationTime<b&&(d.childExpirationTime=b);null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return;}null!==e&&(T===e&&(Bg(b),S===vi&&xi(e,U)),yi(e,b));return e}
405
+ function zj(a){var b=a.lastExpiredTime;if(0!==b)return b;b=a.firstPendingTime;if(!Aj(a,b))return b;var c=a.lastPingedTime;a=a.nextKnownPendingLevel;a=c>a?c:a;return 2>=a&&b!==a?0:a}
406
+ function Z(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=eg(yj.bind(null,a));else {var b=zj(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else {var d=Gg();1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Tf&&Kf(c);}a.callbackExpirationTime=
407
+ b;a.callbackPriority=d;b=1073741823===b?eg(yj.bind(null,a)):dg(d,Bj.bind(null,a),{timeout:10*(1073741821-b)-$f()});a.callbackNode=b;}}}
408
+ function Bj(a,b){wj=0;if(b)return b=Gg(),Cj(a,b),Z(a),null;var c=zj(a);if(0!==c){b=a.callbackNode;if((W&(fj|gj))!==V)throw Error(u$1(327));Dj();a===T&&c===U||Ej(a,c);if(null!==X){var d=W;W|=fj;var e=Fj();do try{Gj();break}catch(h){Hj(a,h);}while(1);ng();W=d;cj.current=e;if(S===hj)throw b=kj,Ej(a,c),xi(a,c),Z(a),b;if(null===X)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=S,T=null,d){case ti:case hj:throw Error(u$1(345));case ij:Cj(a,2<c?2:c);break;case ui:xi(a,c);d=a.lastSuspendedTime;
409
+ c===d&&(a.nextKnownPendingLevel=Ij(e));if(1073741823===lj&&(e=Ti+pj-$f(),10<e)){if(oj){var f=a.lastPingedTime;if(0===f||f>=c){a.lastPingedTime=c;Ej(a,c);break}}f=zj(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=Hd(Jj.bind(null,a),e);break}Jj(a);break;case vi:xi(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ij(e));if(oj&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;Ej(a,c);break}e=zj(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=
410
+ d;break}1073741823!==mj?d=10*(1073741821-mj)-$f():1073741823===lj?d=0:(d=10*(1073741821-lj)-5E3,e=$f(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*bj(d/1960))-d,c<d&&(d=c));if(10<d){a.timeoutHandle=Hd(Jj.bind(null,a),d);break}Jj(a);break;case jj:if(1073741823!==lj&&null!==nj){f=lj;var g=nj;d=g.busyMinDurationMs|0;0>=d?d=0:(e=g.busyDelayMs|0,f=$f()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10<d){xi(a,c);a.timeoutHandle=
411
+ Hd(Jj.bind(null,a),d);break}}Jj(a);break;default:throw Error(u$1(329));}Z(a);if(a.callbackNode===b)return Bj.bind(null,a)}}return null}
412
+ function yj(a){var b=a.lastExpiredTime;b=0!==b?b:1073741823;if((W&(fj|gj))!==V)throw Error(u$1(327));Dj();a===T&&b===U||Ej(a,b);if(null!==X){var c=W;W|=fj;var d=Fj();do try{Kj();break}catch(e){Hj(a,e);}while(1);ng();W=c;cj.current=d;if(S===hj)throw c=kj,Ej(a,b),xi(a,b),Z(a),c;if(null!==X)throw Error(u$1(261));a.finishedWork=a.current.alternate;a.finishedExpirationTime=b;T=null;Jj(a);Z(a);}return null}function Lj(){if(null!==tj){var a=tj;tj=null;a.forEach(function(a,c){Cj(c,a);Z(c);});gg();}}
413
+ function Mj(a,b){var c=W;W|=1;try{return a(b)}finally{W=c,W===V&&gg();}}function Nj(a,b){var c=W;W&=-2;W|=ej;try{return a(b)}finally{W=c,W===V&&gg();}}
414
+ function Ej(a,b){a.finishedWork=null;a.finishedExpirationTime=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Id(c));if(null!==X)for(c=X.return;null!==c;){var d=c;switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&Df();break;case 3:eh();H(K);H(J);break;case 5:gh(d);break;case 4:eh();break;case 13:H(M);break;case 19:H(M);break;case 10:og(d);}c=c.return;}T=a;X=Sg(a.current,null);U=b;S=ti;kj=null;mj=lj=1073741823;nj=null;wi=0;oj=!1;}
415
+ function Hj(a,b){do{try{ng();jh.current=sh;if(mh)for(var c=N.memoizedState;null!==c;){var d=c.queue;null!==d&&(d.pending=null);c=c.next;}lh=0;P=O=N=null;mh=!1;if(null===X||null===X.return)return S=hj,kj=b,X=null;a:{var e=a,f=X.return,g=X,h=b;b=U;g.effectTag|=2048;g.firstEffect=g.lastEffect=null;if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var k=h;if(0===(g.mode&2)){var l=g.alternate;l?(g.updateQueue=l.updateQueue,g.memoizedState=l.memoizedState,g.expirationTime=l.expirationTime):(g.updateQueue=
416
+ null,g.memoizedState=null);}var m=0!==(M.current&1),p=f;do{var x;if(x=13===p.tag){var z=p.memoizedState;if(null!==z)x=null!==z.dehydrated?!0:!1;else {var ca=p.memoizedProps;x=void 0===ca.fallback?!1:!0!==ca.unstable_avoidThisFallback?!0:m?!1:!0;}}if(x){var D=p.updateQueue;if(null===D){var t=new Set;t.add(k);p.updateQueue=t;}else D.add(k);if(0===(p.mode&2)){p.effectTag|=64;g.effectTag&=-2981;if(1===g.tag)if(null===g.alternate)g.tag=17;else {var y=wg(1073741823,null);y.tag=2;xg(g,y);}g.expirationTime=1073741823;
417
+ break a}h=void 0;g=b;var A=e.pingCache;null===A?(A=e.pingCache=new Wi,h=new Set,A.set(k,h)):(h=A.get(k),void 0===h&&(h=new Set,A.set(k,h)));if(!h.has(g)){h.add(g);var q=Oj.bind(null,e,k,g);k.then(q,q);}p.effectTag|=4096;p.expirationTime=b;break a}p=p.return;}while(null!==p);h=Error((pb(g.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+qb(g));}S!==
418
+ jj&&(S=ij);h=Ai(h,g);p=f;do{switch(p.tag){case 3:k=h;p.effectTag|=4096;p.expirationTime=b;var B=Xi(p,k,b);yg(p,B);break a;case 1:k=h;var w=p.type,ub=p.stateNode;if(0===(p.effectTag&64)&&("function"===typeof w.getDerivedStateFromError||null!==ub&&"function"===typeof ub.componentDidCatch&&(null===aj||!aj.has(ub)))){p.effectTag|=4096;p.expirationTime=b;var vb=$i(p,k,b);yg(p,vb);break a}}p=p.return;}while(null!==p)}X=Pj(X);}catch(Xc){b=Xc;continue}break}while(1)}
419
+ function Fj(){var a=cj.current;cj.current=sh;return null===a?sh:a}function Ag(a,b){a<lj&&2<a&&(lj=a);null!==b&&a<mj&&2<a&&(mj=a,nj=b);}function Bg(a){a>wi&&(wi=a);}function Kj(){for(;null!==X;)X=Qj(X);}function Gj(){for(;null!==X&&!Uf();)X=Qj(X);}function Qj(a){var b=Rj(a.alternate,a,U);a.memoizedProps=a.pendingProps;null===b&&(b=Pj(a));dj.current=null;return b}
420
+ function Pj(a){X=a;do{var b=X.alternate;a=X.return;if(0===(X.effectTag&2048)){b=si(b,X,U);if(1===U||1!==X.childExpirationTime){for(var c=0,d=X.child;null!==d;){var e=d.expirationTime,f=d.childExpirationTime;e>c&&(c=e);f>c&&(c=f);d=d.sibling;}X.childExpirationTime=c;}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=X.firstEffect),null!==X.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=X.firstEffect),a.lastEffect=X.lastEffect),1<X.effectTag&&(null!==
421
+ a.lastEffect?a.lastEffect.nextEffect=X:a.firstEffect=X,a.lastEffect=X));}else {b=zi(X);if(null!==b)return b.effectTag&=2047,b;null!==a&&(a.firstEffect=a.lastEffect=null,a.effectTag|=2048);}b=X.sibling;if(null!==b)return b;X=a;}while(null!==X);S===ti&&(S=jj);return null}function Ij(a){var b=a.expirationTime;a=a.childExpirationTime;return b>a?b:a}function Jj(a){var b=ag();cg(99,Sj.bind(null,a,b));return null}
422
+ function Sj(a,b){do Dj();while(null!==rj);if((W&(fj|gj))!==V)throw Error(u$1(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(u$1(177));a.callbackNode=null;a.callbackExpirationTime=0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Ij(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=
423
+ d-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===T&&(X=T=null,U=0);1<c.effectTag?null!==c.lastEffect?(c.lastEffect.nextEffect=c,e=c.firstEffect):e=c:e=c.firstEffect;if(null!==e){var f=W;W|=gj;dj.current=null;Dd=fd;var g=xd();if(yd(g)){if("selectionStart"in g)var h={start:g.selectionStart,end:g.selectionEnd};else {h=(h=g.ownerDocument)&&h.defaultView||window;var k=h.getSelection&&h.getSelection();if(k&&0!==k.rangeCount){h=k.anchorNode;var l=k.anchorOffset,
424
+ m=k.focusNode;k=k.focusOffset;var p=0,x=-1,z=-1,ca=0,D=0,t=g,y=null;b:for(;;){for(var A;;){t!==h||0!==l&&3!==t.nodeType||(x=p+l);t!==m||0!==k&&3!==t.nodeType||(z=p+k);3===t.nodeType&&(p+=t.nodeValue.length);if(null===(A=t.firstChild))break;y=t;t=A;}for(;;){if(t===g)break b;y===h&&++ca===l&&(x=p);y===m&&++D===k&&(z=p);if(null!==(A=t.nextSibling))break;t=y;y=t.parentNode;}t=A;}h=-1===x||-1===z?null:{start:x,end:z};}else h=null;}h=h||{start:0,end:0};}else h=
425
+ null;Ed={activeElementDetached:null,focusedElem:g,selectionRange:h};fd=!1;Y=e;do try{Tj();}catch(wb){if(null===Y)throw Error(u$1(330));Ei(Y,wb);Y=Y.nextEffect;}while(null!==Y);Y=e;do try{for(g=a,h=b;null!==Y;){var q=Y.effectTag;q&16&&Rb(Y.stateNode,"");if(q&128){var B=Y.alternate;if(null!==B){var w=B.ref;null!==w&&("function"===typeof w?w(null):w.current=null);}}switch(q&1038){case 2:Pi(Y);Y.effectTag&=-3;break;case 6:Pi(Y);Y.effectTag&=-3;Si(Y.alternate,Y);break;case 1024:Y.effectTag&=-1025;break;case 1028:Y.effectTag&=
426
+ -1025;Si(Y.alternate,Y);break;case 4:Si(Y.alternate,Y);break;case 8:l=Y,Mi(g,l,h),Ni(l);}Y=Y.nextEffect;}}catch(wb){if(null===Y)throw Error(u$1(330));Ei(Y,wb);Y=Y.nextEffect;}while(null!==Y);w=Ed;B=xd();q=w.focusedElem;h=w.selectionRange;if(B!==q&&q&&q.ownerDocument&&wd(q.ownerDocument.documentElement,q)){null!==h&&yd(q)&&(B=h.start,w=h.end,void 0===w&&(w=B),"selectionStart"in q?(q.selectionStart=B,q.selectionEnd=Math.min(w,q.value.length)):(w=(B=q.ownerDocument||document)&&B.defaultView||window,w.getSelection&&
427
+ (w=w.getSelection(),l=q.textContent.length,g=Math.min(h.start,l),h=void 0===h.end?g:Math.min(h.end,l),!w.extend&&g>h&&(l=h,h=g,g=l),l=vd(q,g),m=vd(q,h),l&&m&&(1!==w.rangeCount||w.anchorNode!==l.node||w.anchorOffset!==l.offset||w.focusNode!==m.node||w.focusOffset!==m.offset)&&(B=B.createRange(),B.setStart(l.node,l.offset),w.removeAllRanges(),g>h?(w.addRange(B),w.extend(m.node,m.offset)):(B.setEnd(m.node,m.offset),w.addRange(B))))));B=[];for(w=q;w=w.parentNode;)1===w.nodeType&&B.push({element:w,left:w.scrollLeft,
428
+ top:w.scrollTop});"function"===typeof q.focus&&q.focus();for(q=0;q<B.length;q++)w=B[q],w.element.scrollLeft=w.left,w.element.scrollTop=w.top;}fd=!!Dd;Ed=Dd=null;a.current=c;Y=e;do try{for(q=a;null!==Y;){var ub=Y.effectTag;ub&36&&Ji(q,Y.alternate,Y);if(ub&128){B=void 0;var vb=Y.ref;if(null!==vb){var Xc=Y.stateNode;switch(Y.tag){case 5:B=Xc;break;default:B=Xc;}"function"===typeof vb?vb(B):vb.current=B;}}Y=Y.nextEffect;}}catch(wb){if(null===Y)throw Error(u$1(330));Ei(Y,wb);Y=Y.nextEffect;}while(null!==Y);Y=
429
+ null;Vf();W=f;}else a.current=c;if(qj)qj=!1,rj=a,sj=b;else for(Y=e;null!==Y;)b=Y.nextEffect,Y.nextEffect=null,Y=b;b=a.firstPendingTime;0===b&&(aj=null);1073741823===b?a===vj?uj++:(uj=0,vj=a):uj=0;"function"===typeof Uj&&Uj(c.stateNode,d);Z(a);if(Yi)throw Yi=!1,a=Zi,Zi=null,a;if((W&ej)!==V)return null;gg();return null}function Tj(){for(;null!==Y;){var a=Y.effectTag;0!==(a&256)&&Gi(Y.alternate,Y);0===(a&512)||qj||(qj=!0,dg(97,function(){Dj();return null}));Y=Y.nextEffect;}}
430
+ function Dj(){if(90!==sj){var a=97<sj?97:sj;sj=90;return cg(a,Vj)}}function Vj(){if(null===rj)return !1;var a=rj;rj=null;if((W&(fj|gj))!==V)throw Error(u$1(331));var b=W;W|=gj;for(a=a.current.firstEffect;null!==a;){try{var c=a;if(0!==(c.effectTag&512))switch(c.tag){case 0:case 11:case 15:case 22:Hi(5,c),Ii(5,c);}}catch(d){if(null===a)throw Error(u$1(330));Ei(a,d);}c=a.nextEffect;a.nextEffect=null;a=c;}W=b;gg();return !0}
431
+ function Wj(a,b,c){b=Ai(c,b);b=Xi(a,b,1073741823);xg(a,b);a=xj(a,1073741823);null!==a&&Z(a);}function Ei(a,b){if(3===a.tag)Wj(a,a,b);else for(var c=a.return;null!==c;){if(3===c.tag){Wj(c,a,b);break}else if(1===c.tag){var d=c.stateNode;if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===aj||!aj.has(d))){a=Ai(b,a);a=$i(c,a,1073741823);xg(c,a);c=xj(c,1073741823);null!==c&&Z(c);break}}c=c.return;}}
432
+ function Oj(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);T===a&&U===c?S===vi||S===ui&&1073741823===lj&&$f()-Ti<pj?Ej(a,U):oj=!0:Aj(a,c)&&(b=a.lastPingedTime,0!==b&&b<c||(a.lastPingedTime=c,Z(a)));}function Vi(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=0;0===b&&(b=Gg(),b=Hg(b,a,null));a=xj(a,b);null!==a&&Z(a);}var Rj;
433
+ Rj=function(a,b,c){var d=b.expirationTime;if(null!==a){var e=b.pendingProps;if(a.memoizedProps!==e||K.current)rg=!0;else {if(d<c){rg=!1;switch(b.tag){case 3:hi(b);Xh();break;case 5:fh(b);if(b.mode&4&&1!==c&&e.hidden)return b.expirationTime=b.childExpirationTime=1,null;break;case 1:L(b.type)&&Gf(b);break;case 4:dh(b,b.stateNode.containerInfo);break;case 10:d=b.memoizedProps.value;e=b.type._context;I(jg,e._currentValue);e._currentValue=d;break;case 13:if(null!==b.memoizedState){d=b.child.childExpirationTime;
434
+ if(0!==d&&d>=c)return ji(a,b,c);I(M,M.current&1);b=$h(a,b,c);return null!==b?b.sibling:null}I(M,M.current&1);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return mi(a,b,c);b.effectTag|=64;}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);I(M,M.current);if(!d)return null}return $h(a,b,c)}rg=!1;}}else rg=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=Cf(b,J.current);qg(b,c);e=oh(null,
435
+ b,d,a,e,c);b.effectTag|=1;if("object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(L(d)){var f=!0;Gf(b);}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;ug(b);var g=d.getDerivedStateFromProps;"function"===typeof g&&Fg(b,d,g,a);e.updater=Jg;b.stateNode=e;e._reactInternalFiber=b;Ng(b,d,a,c);b=gi(null,b,d,!0,f,c);}else b.tag=0,R(null,b,e,c),b=b.child;return b;case 16:a:{e=b.elementType;null!==a&&(a.alternate=
436
+ null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;ob(e);if(1!==e._status)throw e._result;e=e._result;b.type=e;f=b.tag=Xj(e);a=ig(e,a);switch(f){case 0:b=di(null,b,e,a,c);break a;case 1:b=fi(null,b,e,a,c);break a;case 11:b=Zh(null,b,e,a,c);break a;case 14:b=ai(null,b,e,ig(e.type,a),d,c);break a}throw Error(u$1(306,e,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),di(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),fi(a,b,d,e,c);
437
+ case 3:hi(b);d=b.updateQueue;if(null===a||null===d)throw Error(u$1(282));d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;vg(a,b);zg(b,d,null,c);d=b.memoizedState.element;if(d===e)Xh(),b=$h(a,b,c);else {if(e=b.stateNode.hydrate)Ph=Jd(b.stateNode.containerInfo.firstChild),Oh=b,e=Qh=!0;if(e)for(c=Yg(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else R(a,b,d,c),Xh();b=b.child;}return b;case 5:return fh(b),null===a&&Uh(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:
438
+ null,g=e.children,Gd(d,e)?g=null:null!==f&&Gd(d,f)&&(b.effectTag|=16),ei(a,b),b.mode&4&&1!==c&&e.hidden?(b.expirationTime=b.childExpirationTime=1,b=null):(R(a,b,g,c),b=b.child),b;case 6:return null===a&&Uh(b),null;case 13:return ji(a,b,c);case 4:return dh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Xg(b,null,d,c):R(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),Zh(a,b,d,e,c);case 7:return R(a,b,b.pendingProps,c),b.child;case 8:return R(a,
439
+ b,b.pendingProps.children,c),b.child;case 12:return R(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;I(jg,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=$e(h,f)?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!K.current){b=$h(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==
440
+ k){g=h.child;for(var l=k.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=wg(c,null),l.tag=2,xg(h,l));h.expirationTime<c&&(h.expirationTime=c);l=h.alternate;null!==l&&l.expirationTime<c&&(l.expirationTime=c);pg(h.return,c);k.expirationTime<c&&(k.expirationTime=c);break}l=l.next;}}else g=10===h.tag?h.type===b.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===b){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return;}h=
441
+ g;}R(a,b,e.children,c);b=b.child;}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,qg(b,c),e=sg(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,R(a,b,d,c),b.child;case 14:return e=b.type,f=ig(e,b.pendingProps),f=ig(e.type,f),ai(a,b,e,f,d,c);case 15:return ci(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),b.tag=1,L(d)?(a=!0,Gf(b)):a=!1,qg(b,c),Lg(b,d,e),Ng(b,d,e,c),gi(null,
442
+ b,d,!0,a,c);case 19:return mi(a,b,c)}throw Error(u$1(156,b.tag));};var Uj=null,Li=null;function Yj(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return !1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return !0;try{var c=b.inject(a);Uj=function(a){try{b.onCommitFiberRoot(c,a,void 0,64===(a.current.effectTag&64));}catch(e){}};Li=function(a){try{b.onCommitFiberUnmount(c,a);}catch(e){}};}catch(d){}return !0}
443
+ function Zj(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null;}function Sh(a,b,c,d){return new Zj(a,b,c,d)}
444
+ function bi(a){a=a.prototype;return !(!a||!a.isReactComponent)}function Xj(a){if("function"===typeof a)return bi(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===gb)return 11;if(a===jb)return 14}return 2}
445
+ function Sg(a,b){var c=a.alternate;null===c?(c=Sh(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{expirationTime:b.expirationTime,
446
+ firstContext:b.firstContext,responders:b.responders};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}
447
+ function Ug(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)bi(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case ab:return Wg(c.children,e,f,b);case fb:g=8;e|=7;break;case bb:g=8;e|=1;break;case cb:return a=Sh(12,c,b,e|8),a.elementType=cb,a.type=cb,a.expirationTime=f,a;case hb:return a=Sh(13,c,b,e),a.type=hb,a.elementType=hb,a.expirationTime=f,a;case ib:return a=Sh(19,c,b,e),a.elementType=ib,a.expirationTime=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case db:g=
448
+ 10;break a;case eb:g=9;break a;case gb:g=11;break a;case jb:g=14;break a;case kb:g=16;d=null;break a;case lb:g=22;break a}throw Error(u$1(130,null==a?a:typeof a,""));}b=Sh(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function Wg(a,b,c,d){a=Sh(7,a,d,b);a.expirationTime=c;return a}function Tg(a,b,c){a=Sh(6,a,null,b);a.expirationTime=c;return a}
449
+ function Vg(a,b,c){b=Sh(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}
450
+ function ak(a,b,c){this.tag=b;this.current=null;this.containerInfo=a;this.pingCache=this.pendingChildren=null;this.finishedExpirationTime=0;this.finishedWork=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=null;this.callbackPriority=90;this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0;}
451
+ function Aj(a,b){var c=a.firstSuspendedTime;a=a.lastSuspendedTime;return 0!==c&&c>=b&&a<=b}function xi(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;c<b&&(a.firstSuspendedTime=b);if(d>b||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0);}
452
+ function yi(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b));}function Cj(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b;}
453
+ function bk(a,b,c,d){var e=b.current,f=Gg(),g=Dg.suspense;f=Hg(f,e,g);a:if(c){c=c._reactInternalFiber;b:{if(dc(c)!==c||1!==c.tag)throw Error(u$1(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(L(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return;}while(null!==h);throw Error(u$1(171));}if(1===c.tag){var k=c.type;if(L(k)){c=Ff(c,k,h);break a}}c=h;}else c=Af;null===b.context?b.context=c:b.pendingContext=c;b=wg(f,g);b.payload={element:a};d=void 0===
454
+ d?null:d;null!==d&&(b.callback=d);xg(e,b);Ig(e,f);return f}function ck(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function dk(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime<b&&(a.retryTime=b);}function ek(a,b){dk(a,b);(a=a.alternate)&&dk(a,b);}
455
+ function fk(a,b,c){c=null!=c&&!0===c.hydrate;var d=new ak(a,b,c),e=Sh(3,null,null,2===b?7:1===b?3:0);d.current=e;e.stateNode=d;ug(e);a[Od]=d.current;c&&0!==b&&Jc(a,9===a.nodeType?a:a.ownerDocument);this._internalRoot=d;}fk.prototype.render=function(a){bk(a,this._internalRoot,null,null);};fk.prototype.unmount=function(){var a=this._internalRoot,b=a.containerInfo;bk(null,a,null,function(){b[Od]=null;});};
456
+ function gk(a){return !(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function hk(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute("data-reactroot")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new fk(a,0,b?{hydrate:!0}:void 0)}
457
+ function ik(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;if("function"===typeof e){var h=e;e=function(){var a=ck(g);h.call(a);};}bk(b,g,a,e);}else {f=c._reactRootContainer=hk(c,d);g=f._internalRoot;if("function"===typeof e){var k=e;e=function(){var a=ck(g);k.call(a);};}Nj(function(){bk(b,g,a,e);});}return ck(g)}function jk(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return {$$typeof:$a,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}
458
+ wc=function(a){if(13===a.tag){var b=hg(Gg(),150,100);Ig(a,b);ek(a,b);}};xc=function(a){13===a.tag&&(Ig(a,3),ek(a,3));};yc=function(a){if(13===a.tag){var b=Gg();b=Hg(b,a,null);Ig(a,b);ek(a,b);}};
459
+ za=function(a,b,c){switch(b){case "input":Cb(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Qd(d);if(!e)throw Error(u$1(90));yb(d);Cb(d,e);}}}break;case "textarea":Kb(a,c);break;case "select":b=c.value,null!=b&&Hb(a,!!c.multiple,b,!1);}};Fa=Mj;
460
+ Ga=function(a,b,c,d,e){var f=W;W|=4;try{return cg(98,a.bind(null,b,c,d,e))}finally{W=f,W===V&&gg();}};Ha=function(){(W&(1|fj|gj))===V&&(Lj(),Dj());};Ia=function(a,b){var c=W;W|=2;try{return a(b)}finally{W=c,W===V&&gg();}};function kk(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!gk(b))throw Error(u$1(200));return jk(a,b,null,c)}var lk={Events:[Nc,Pd,Qd,xa,ta,Xd,function(a){jc(a,Wd);},Da,Ea,id,mc,Dj,{current:!1}]};
461
+ (function(a){var b=a.findFiberByHostInstance;return Yj(objectAssign({},a,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Wa.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=hc(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:tc,bundleType:0,version:"16.14.0",
462
+ rendererPackageName:"react-dom"});var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lk;var createPortal=kk;var findDOMNode$1=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;if(void 0===b){if("function"===typeof a.render)throw Error(u$1(188));throw Error(u$1(268,Object.keys(a)));}a=hc(b);a=null===a?null:a.stateNode;return a};
463
+ var flushSync=function(a,b){if((W&(fj|gj))!==V)throw Error(u$1(187));var c=W;W|=1;try{return cg(99,a.bind(null,b))}finally{W=c,gg();}};var hydrate=function(a,b,c){if(!gk(b))throw Error(u$1(200));return ik(null,a,b,!0,c)};var render=function(a,b,c){if(!gk(b))throw Error(u$1(200));return ik(null,a,b,!1,c)};
464
+ var unmountComponentAtNode=function(a){if(!gk(a))throw Error(u$1(40));return a._reactRootContainer?(Nj(function(){ik(null,null,a,!1,function(){a._reactRootContainer=null;a[Od]=null;});}),!0):!1};var unstable_batchedUpdates=Mj;var unstable_createPortal=function(a,b){return kk(a,b,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)};
465
+ var unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!gk(c))throw Error(u$1(200));if(null==a||void 0===a._reactInternalFiber)throw Error(u$1(38));return ik(a,b,c,!1,d)};var version="16.14.0";
466
+
467
+ var reactDom_production_min = {
468
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
469
+ createPortal: createPortal,
470
+ findDOMNode: findDOMNode$1,
471
+ flushSync: flushSync,
472
+ hydrate: hydrate,
473
+ render: render,
474
+ unmountComponentAtNode: unmountComponentAtNode,
475
+ unstable_batchedUpdates: unstable_batchedUpdates,
476
+ unstable_createPortal: unstable_createPortal,
477
+ unstable_renderSubtreeIntoContainer: unstable_renderSubtreeIntoContainer,
478
+ version: version
479
+ };
480
+
481
+ /** @license React v0.19.1
482
+ * scheduler-tracing.production.min.js
483
+ *
484
+ * Copyright (c) Facebook, Inc. and its affiliates.
485
+ *
486
+ * This source code is licensed under the MIT license found in the
487
+ * LICENSE file in the root directory of this source tree.
488
+ */
489
+ var b$1=0;var __interactionsRef=null;var __subscriberRef=null;var unstable_clear=function(a){return a()};var unstable_getCurrent=function(){return null};var unstable_getThreadID=function(){return ++b$1};var unstable_subscribe=function(){};var unstable_trace=function(a,d,c){return c()};var unstable_unsubscribe=function(){};var unstable_wrap=function(a){return a};
490
+
491
+ var schedulerTracing_production_min = {
492
+ __interactionsRef: __interactionsRef,
493
+ __subscriberRef: __subscriberRef,
494
+ unstable_clear: unstable_clear,
495
+ unstable_getCurrent: unstable_getCurrent,
496
+ unstable_getThreadID: unstable_getThreadID,
497
+ unstable_subscribe: unstable_subscribe,
498
+ unstable_trace: unstable_trace,
499
+ unstable_unsubscribe: unstable_unsubscribe,
500
+ unstable_wrap: unstable_wrap
501
+ };
502
+
503
+ _commonjsHelpers.createCommonjsModule(function (module, exports) {
504
+ });
505
+
506
+ _commonjsHelpers.createCommonjsModule(function (module) {
507
+
508
+ {
509
+ module.exports = schedulerTracing_production_min;
510
+ }
511
+ });
512
+
513
+ _commonjsHelpers.createCommonjsModule(function (module, exports) {
514
+ });
515
+
516
+ var reactDom = _commonjsHelpers.createCommonjsModule(function (module) {
517
+
518
+ function checkDCE() {
519
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
520
+ if (
521
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
522
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
523
+ ) {
524
+ return;
525
+ }
526
+ try {
527
+ // Verify that the code above has been dead code eliminated (DCE'd).
528
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
529
+ } catch (err) {
530
+ // DevTools shouldn't crash React, no matter what.
531
+ // We should still report in case we break this code.
532
+ console.error(err);
533
+ }
534
+ }
535
+
536
+ {
537
+ // DCE check should happen before ReactDOM bundle executes so that
538
+ // DevTools can report bad minification during injection.
539
+ checkDCE();
540
+ module.exports = reactDom_production_min;
541
+ }
542
+ });
543
+
544
+ function useEvent(callback) {
545
+ var fnRef = react.useRef();
546
+ fnRef.current = callback;
547
+ var memoFn = react.useCallback(function () {
548
+ var _fnRef$current;
549
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
550
+ args[_key] = arguments[_key];
551
+ }
552
+ return (_fnRef$current = fnRef.current) === null || _fnRef$current === void 0 ? void 0 : _fnRef$current.call.apply(_fnRef$current, [fnRef].concat(args));
553
+ }, []);
554
+ return memoFn;
555
+ }
556
+
557
+ function canUseDom() {
558
+ return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
559
+ }
560
+
561
+ /**
562
+ * Wrap `React.useLayoutEffect` which will not throw warning message in test env
563
+ */
564
+ var useInternalLayoutEffect = canUseDom() ? react.useLayoutEffect : react.useEffect;
565
+ var useLayoutEffect = function useLayoutEffect(callback, deps) {
566
+ var firstMountRef = react.useRef(true);
567
+ useInternalLayoutEffect(function () {
568
+ return callback(firstMountRef.current);
569
+ }, deps);
570
+
571
+ // We tell react that first mount has passed
572
+ useInternalLayoutEffect(function () {
573
+ firstMountRef.current = false;
574
+ return function () {
575
+ firstMountRef.current = true;
576
+ };
577
+ }, []);
578
+ };
579
+ var useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) {
580
+ useLayoutEffect(function (firstMount) {
581
+ if (!firstMount) {
582
+ return callback();
583
+ }
584
+ }, deps);
585
+ };
586
+
587
+ function _typeof$2(obj) {
588
+ "@babel/helpers - typeof";
589
+
590
+ return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
591
+ return typeof obj;
592
+ } : function (obj) {
593
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
594
+ }, _typeof$2(obj);
595
+ }
596
+
597
+ /**
598
+ * @license React
599
+ * react-is.production.min.js
600
+ *
601
+ * Copyright (c) Facebook, Inc. and its affiliates.
602
+ *
603
+ * This source code is licensed under the MIT license found in the
604
+ * LICENSE file in the root directory of this source tree.
605
+ */
606
+ var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
607
+ function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}var ContextConsumer=h;var ContextProvider=g;var Element$1=b;var ForwardRef=l;var Fragment=d;var Lazy=q;var Memo=p;var Portal=c;var Profiler=f;var StrictMode=e;var Suspense=m;
608
+ var SuspenseList=n;var isAsyncMode=function(){return !1};var isConcurrentMode=function(){return !1};var isContextConsumer=function(a){return v(a)===h};var isContextProvider=function(a){return v(a)===g};var isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};var isForwardRef=function(a){return v(a)===l};var isFragment=function(a){return v(a)===d};var isLazy=function(a){return v(a)===q};var isMemo=function(a){return v(a)===p};
609
+ var isPortal=function(a){return v(a)===c};var isProfiler=function(a){return v(a)===f};var isStrictMode=function(a){return v(a)===e};var isSuspense=function(a){return v(a)===m};var isSuspenseList=function(a){return v(a)===n};
610
+ var isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};var typeOf=v;
611
+
612
+ var reactIs_production_min = {
613
+ ContextConsumer: ContextConsumer,
614
+ ContextProvider: ContextProvider,
615
+ Element: Element$1,
616
+ ForwardRef: ForwardRef,
617
+ Fragment: Fragment,
618
+ Lazy: Lazy,
619
+ Memo: Memo,
620
+ Portal: Portal,
621
+ Profiler: Profiler,
622
+ StrictMode: StrictMode,
623
+ Suspense: Suspense,
624
+ SuspenseList: SuspenseList,
625
+ isAsyncMode: isAsyncMode,
626
+ isConcurrentMode: isConcurrentMode,
627
+ isContextConsumer: isContextConsumer,
628
+ isContextProvider: isContextProvider,
629
+ isElement: isElement,
630
+ isForwardRef: isForwardRef,
631
+ isFragment: isFragment,
632
+ isLazy: isLazy,
633
+ isMemo: isMemo,
634
+ isPortal: isPortal,
635
+ isProfiler: isProfiler,
636
+ isStrictMode: isStrictMode,
637
+ isSuspense: isSuspense,
638
+ isSuspenseList: isSuspenseList,
639
+ isValidElementType: isValidElementType,
640
+ typeOf: typeOf
641
+ };
642
+
643
+ _commonjsHelpers.createCommonjsModule(function (module, exports) {
644
+ });
645
+
646
+ var reactIs = _commonjsHelpers.createCommonjsModule(function (module) {
647
+
648
+ {
649
+ module.exports = reactIs_production_min;
650
+ }
651
+ });
652
+
653
+ function useMemo(getValue, condition, shouldUpdate) {
654
+ var cacheRef = react.useRef({});
655
+ if (!('value' in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {
656
+ cacheRef.current.value = getValue();
657
+ cacheRef.current.condition = condition;
658
+ }
659
+ return cacheRef.current.value;
660
+ }
661
+
662
+ function fillRef(ref, node) {
663
+ if (typeof ref === 'function') {
664
+ ref(node);
665
+ } else if (_typeof$2(ref) === 'object' && ref && 'current' in ref) {
666
+ ref.current = node;
667
+ }
668
+ }
669
+
670
+ /**
671
+ * Merge refs into one ref function to support ref passing.
672
+ */
673
+ function composeRef() {
674
+ for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
675
+ refs[_key] = arguments[_key];
676
+ }
677
+ var refList = refs.filter(function (ref) {
678
+ return ref;
679
+ });
680
+ if (refList.length <= 1) {
681
+ return refList[0];
682
+ }
683
+ return function (node) {
684
+ refs.forEach(function (ref) {
685
+ fillRef(ref, node);
686
+ });
687
+ };
688
+ }
689
+ function useComposeRef() {
690
+ for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
691
+ refs[_key2] = arguments[_key2];
692
+ }
693
+ return useMemo(function () {
694
+ return composeRef.apply(void 0, refs);
695
+ }, refs, function (prev, next) {
696
+ return prev.length !== next.length || prev.every(function (ref, i) {
697
+ return ref !== next[i];
698
+ });
699
+ });
700
+ }
701
+ function supportRef(nodeOrComponent) {
702
+ var _type$prototype, _nodeOrComponent$prot;
703
+ var type = reactIs.isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;
704
+
705
+ // Function component node
706
+ if (typeof type === 'function' && !((_type$prototype = type.prototype) !== null && _type$prototype !== void 0 && _type$prototype.render) && type.$$typeof !== reactIs.ForwardRef) {
707
+ return false;
708
+ }
709
+
710
+ // Class component
711
+ if (typeof nodeOrComponent === 'function' && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== reactIs.ForwardRef) {
712
+ return false;
713
+ }
714
+ return true;
715
+ }
716
+ /* eslint-enable */
717
+
718
+ /* eslint-disable no-console */
719
+ var warned = {};
720
+
721
+ /**
722
+ * Pre warning enable you to parse content before console.error.
723
+ * Modify to null will prevent warning.
724
+ */
725
+ var preMessage = function preMessage(fn) {
726
+ };
727
+
728
+ /**
729
+ * Warning if condition not match.
730
+ * @param valid Condition
731
+ * @param message Warning message
732
+ * @example
733
+ * ```js
734
+ * warning(false, 'some error'); // print some error
735
+ * warning(true, 'some error'); // print nothing
736
+ * warning(1 === 2, 'some error'); // print some error
737
+ * ```
738
+ */
739
+ function warning(valid, message) {
740
+ }
741
+
742
+ /** @see Similar to {@link warning} */
743
+ function note(valid, message) {
744
+ }
745
+ function resetWarned() {
746
+ warned = {};
747
+ }
748
+ function call(method, valid, message) {
749
+ if (!valid && !warned[message]) {
750
+ method(false, message);
751
+ warned[message] = true;
752
+ }
753
+ }
754
+
755
+ /** @see Same as {@link warning}, but only warn once for the same message */
756
+ function warningOnce(valid, message) {
757
+ call(warning, valid, message);
758
+ }
759
+
760
+ /** @see Same as {@link warning}, but only warn once for the same message */
761
+ function noteOnce(valid, message) {
762
+ call(note, valid, message);
763
+ }
764
+ warningOnce.preMessage = preMessage;
765
+ warningOnce.resetWarned = resetWarned;
766
+ warningOnce.noteOnce = noteOnce;
767
+
768
+ function _extends$1() {
769
+ _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
770
+ for (var i = 1; i < arguments.length; i++) {
771
+ var source = arguments[i];
772
+ for (var key in source) {
773
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
774
+ target[key] = source[key];
775
+ }
776
+ }
777
+ }
778
+ return target;
779
+ };
780
+ return _extends$1.apply(this, arguments);
781
+ }
782
+
783
+ function toArray(children) {
784
+ var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
785
+ var ret = [];
786
+ react.Children.forEach(children, function (child) {
787
+ if ((child === undefined || child === null) && !option.keepEmpty) {
788
+ return;
789
+ }
790
+ if (Array.isArray(child)) {
791
+ ret = ret.concat(toArray(child));
792
+ } else if (reactIs.isFragment(child) && child.props) {
793
+ ret = ret.concat(toArray(child.props.children, option));
794
+ } else {
795
+ ret.push(child);
796
+ }
797
+ });
798
+ return ret;
799
+ }
800
+
801
+ function _typeof$1(obj) {
802
+ "@babel/helpers - typeof";
803
+
804
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
805
+ return typeof obj;
806
+ } : function (obj) {
807
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
808
+ }, _typeof$1(obj);
809
+ }
810
+
811
+ function _toPrimitive$1(input, hint) {
812
+ if (_typeof$1(input) !== "object" || input === null) return input;
813
+ var prim = input[Symbol.toPrimitive];
814
+ if (prim !== undefined) {
815
+ var res = prim.call(input, hint || "default");
816
+ if (_typeof$1(res) !== "object") return res;
817
+ throw new TypeError("@@toPrimitive must return a primitive value.");
818
+ }
819
+ return (hint === "string" ? String : Number)(input);
820
+ }
821
+
822
+ function _toPropertyKey$1(arg) {
823
+ var key = _toPrimitive$1(arg, "string");
824
+ return _typeof$1(key) === "symbol" ? key : String(key);
825
+ }
826
+
827
+ function _defineProperty$1(obj, key, value) {
828
+ key = _toPropertyKey$1(key);
829
+ if (key in obj) {
830
+ Object.defineProperty(obj, key, {
831
+ value: value,
832
+ enumerable: true,
833
+ configurable: true,
834
+ writable: true
835
+ });
836
+ } else {
837
+ obj[key] = value;
838
+ }
839
+ return obj;
840
+ }
841
+
842
+ function ownKeys$1(object, enumerableOnly) {
843
+ var keys = Object.keys(object);
844
+ if (Object.getOwnPropertySymbols) {
845
+ var symbols = Object.getOwnPropertySymbols(object);
846
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
847
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
848
+ })), keys.push.apply(keys, symbols);
849
+ }
850
+ return keys;
851
+ }
852
+ function _objectSpread2$1(target) {
853
+ for (var i = 1; i < arguments.length; i++) {
854
+ var source = null != arguments[i] ? arguments[i] : {};
855
+ i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) {
856
+ _defineProperty$1(target, key, source[key]);
857
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) {
858
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
859
+ });
860
+ }
861
+ return target;
862
+ }
863
+
864
+ function isDOM(node) {
865
+ // https://developer.mozilla.org/en-US/docs/Web/API/Element
866
+ // Since XULElement is also subclass of Element, we only need HTMLElement and SVGElement
867
+ return node instanceof HTMLElement || node instanceof SVGElement;
868
+ }
869
+
870
+ /**
871
+ * Return if a node is a DOM node. Else will return by `findDOMNode`
872
+ */
873
+ function findDOMNode(node) {
874
+ if (isDOM(node)) {
875
+ return node;
876
+ }
877
+ if (node instanceof react.Component) {
878
+ return reactDom.findDOMNode(node);
879
+ }
880
+ return null;
881
+ }
882
+
883
+ var CollectionContext = /*#__PURE__*/react.createContext(null);
884
+ /**
885
+ * Collect all the resize event from children ResizeObserver
886
+ */
887
+ function Collection(_ref) {
888
+ var children = _ref.children,
889
+ onBatchResize = _ref.onBatchResize;
890
+ var resizeIdRef = react.useRef(0);
891
+ var resizeInfosRef = react.useRef([]);
892
+ var onCollectionResize = react.useContext(CollectionContext);
893
+ var onResize = react.useCallback(function (size, element, data) {
894
+ resizeIdRef.current += 1;
895
+ var currentId = resizeIdRef.current;
896
+ resizeInfosRef.current.push({
897
+ size: size,
898
+ element: element,
899
+ data: data
900
+ });
901
+ Promise.resolve().then(function () {
902
+ if (currentId === resizeIdRef.current) {
903
+ onBatchResize === null || onBatchResize === void 0 || onBatchResize(resizeInfosRef.current);
904
+ resizeInfosRef.current = [];
905
+ }
906
+ });
907
+
908
+ // Continue bubbling if parent exist
909
+ onCollectionResize === null || onCollectionResize === void 0 || onCollectionResize(size, element, data);
910
+ }, [onBatchResize, onCollectionResize]);
911
+ return /*#__PURE__*/react.createElement(CollectionContext.Provider, {
912
+ value: onResize
913
+ }, children);
914
+ }
915
+
916
+ /**
917
+ * A collection of shims that provide minimal functionality of the ES6 collections.
918
+ *
919
+ * These implementations are not meant to be used outside of the ResizeObserver
920
+ * modules as they cover only a limited range of use cases.
921
+ */
922
+ /* eslint-disable require-jsdoc, valid-jsdoc */
923
+ var MapShim = (function () {
924
+ if (typeof Map !== 'undefined') {
925
+ return Map;
926
+ }
927
+ /**
928
+ * Returns index in provided array that matches the specified key.
929
+ *
930
+ * @param {Array<Array>} arr
931
+ * @param {*} key
932
+ * @returns {number}
933
+ */
934
+ function getIndex(arr, key) {
935
+ var result = -1;
936
+ arr.some(function (entry, index) {
937
+ if (entry[0] === key) {
938
+ result = index;
939
+ return true;
940
+ }
941
+ return false;
942
+ });
943
+ return result;
944
+ }
945
+ return /** @class */ (function () {
946
+ function class_1() {
947
+ this.__entries__ = [];
948
+ }
949
+ Object.defineProperty(class_1.prototype, "size", {
950
+ /**
951
+ * @returns {boolean}
952
+ */
953
+ get: function () {
954
+ return this.__entries__.length;
955
+ },
956
+ enumerable: true,
957
+ configurable: true
958
+ });
959
+ /**
960
+ * @param {*} key
961
+ * @returns {*}
962
+ */
963
+ class_1.prototype.get = function (key) {
964
+ var index = getIndex(this.__entries__, key);
965
+ var entry = this.__entries__[index];
966
+ return entry && entry[1];
967
+ };
968
+ /**
969
+ * @param {*} key
970
+ * @param {*} value
971
+ * @returns {void}
972
+ */
973
+ class_1.prototype.set = function (key, value) {
974
+ var index = getIndex(this.__entries__, key);
975
+ if (~index) {
976
+ this.__entries__[index][1] = value;
977
+ }
978
+ else {
979
+ this.__entries__.push([key, value]);
980
+ }
981
+ };
982
+ /**
983
+ * @param {*} key
984
+ * @returns {void}
985
+ */
986
+ class_1.prototype.delete = function (key) {
987
+ var entries = this.__entries__;
988
+ var index = getIndex(entries, key);
989
+ if (~index) {
990
+ entries.splice(index, 1);
991
+ }
992
+ };
993
+ /**
994
+ * @param {*} key
995
+ * @returns {void}
996
+ */
997
+ class_1.prototype.has = function (key) {
998
+ return !!~getIndex(this.__entries__, key);
999
+ };
1000
+ /**
1001
+ * @returns {void}
1002
+ */
1003
+ class_1.prototype.clear = function () {
1004
+ this.__entries__.splice(0);
1005
+ };
1006
+ /**
1007
+ * @param {Function} callback
1008
+ * @param {*} [ctx=null]
1009
+ * @returns {void}
1010
+ */
1011
+ class_1.prototype.forEach = function (callback, ctx) {
1012
+ if (ctx === void 0) { ctx = null; }
1013
+ for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {
1014
+ var entry = _a[_i];
1015
+ callback.call(ctx, entry[1], entry[0]);
1016
+ }
1017
+ };
1018
+ return class_1;
1019
+ }());
1020
+ })();
1021
+
1022
+ /**
1023
+ * Detects whether window and document objects are available in current environment.
1024
+ */
1025
+ var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;
1026
+
1027
+ // Returns global object of a current environment.
1028
+ var global$1 = (function () {
1029
+ if (typeof global !== 'undefined' && global.Math === Math) {
1030
+ return global;
1031
+ }
1032
+ if (typeof self !== 'undefined' && self.Math === Math) {
1033
+ return self;
1034
+ }
1035
+ if (typeof window !== 'undefined' && window.Math === Math) {
1036
+ return window;
1037
+ }
1038
+ // eslint-disable-next-line no-new-func
1039
+ return Function('return this')();
1040
+ })();
1041
+
1042
+ /**
1043
+ * A shim for the requestAnimationFrame which falls back to the setTimeout if
1044
+ * first one is not supported.
1045
+ *
1046
+ * @returns {number} Requests' identifier.
1047
+ */
1048
+ var requestAnimationFrame$1 = (function () {
1049
+ if (typeof requestAnimationFrame === 'function') {
1050
+ // It's required to use a bounded function because IE sometimes throws
1051
+ // an "Invalid calling object" error if rAF is invoked without the global
1052
+ // object on the left hand side.
1053
+ return requestAnimationFrame.bind(global$1);
1054
+ }
1055
+ return function (callback) { return setTimeout(function () { return callback(Date.now()); }, 1000 / 60); };
1056
+ })();
1057
+
1058
+ // Defines minimum timeout before adding a trailing call.
1059
+ var trailingTimeout = 2;
1060
+ /**
1061
+ * Creates a wrapper function which ensures that provided callback will be
1062
+ * invoked only once during the specified delay period.
1063
+ *
1064
+ * @param {Function} callback - Function to be invoked after the delay period.
1065
+ * @param {number} delay - Delay after which to invoke callback.
1066
+ * @returns {Function}
1067
+ */
1068
+ function throttle (callback, delay) {
1069
+ var leadingCall = false, trailingCall = false, lastCallTime = 0;
1070
+ /**
1071
+ * Invokes the original callback function and schedules new invocation if
1072
+ * the "proxy" was called during current request.
1073
+ *
1074
+ * @returns {void}
1075
+ */
1076
+ function resolvePending() {
1077
+ if (leadingCall) {
1078
+ leadingCall = false;
1079
+ callback();
1080
+ }
1081
+ if (trailingCall) {
1082
+ proxy();
1083
+ }
1084
+ }
1085
+ /**
1086
+ * Callback invoked after the specified delay. It will further postpone
1087
+ * invocation of the original function delegating it to the
1088
+ * requestAnimationFrame.
1089
+ *
1090
+ * @returns {void}
1091
+ */
1092
+ function timeoutCallback() {
1093
+ requestAnimationFrame$1(resolvePending);
1094
+ }
1095
+ /**
1096
+ * Schedules invocation of the original function.
1097
+ *
1098
+ * @returns {void}
1099
+ */
1100
+ function proxy() {
1101
+ var timeStamp = Date.now();
1102
+ if (leadingCall) {
1103
+ // Reject immediately following calls.
1104
+ if (timeStamp - lastCallTime < trailingTimeout) {
1105
+ return;
1106
+ }
1107
+ // Schedule new call to be in invoked when the pending one is resolved.
1108
+ // This is important for "transitions" which never actually start
1109
+ // immediately so there is a chance that we might miss one if change
1110
+ // happens amids the pending invocation.
1111
+ trailingCall = true;
1112
+ }
1113
+ else {
1114
+ leadingCall = true;
1115
+ trailingCall = false;
1116
+ setTimeout(timeoutCallback, delay);
1117
+ }
1118
+ lastCallTime = timeStamp;
1119
+ }
1120
+ return proxy;
1121
+ }
1122
+
1123
+ // Minimum delay before invoking the update of observers.
1124
+ var REFRESH_DELAY = 20;
1125
+ // A list of substrings of CSS properties used to find transition events that
1126
+ // might affect dimensions of observed elements.
1127
+ var transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight'];
1128
+ // Check if MutationObserver is available.
1129
+ var mutationObserverSupported = typeof MutationObserver !== 'undefined';
1130
+ /**
1131
+ * Singleton controller class which handles updates of ResizeObserver instances.
1132
+ */
1133
+ var ResizeObserverController = /** @class */ (function () {
1134
+ /**
1135
+ * Creates a new instance of ResizeObserverController.
1136
+ *
1137
+ * @private
1138
+ */
1139
+ function ResizeObserverController() {
1140
+ /**
1141
+ * Indicates whether DOM listeners have been added.
1142
+ *
1143
+ * @private {boolean}
1144
+ */
1145
+ this.connected_ = false;
1146
+ /**
1147
+ * Tells that controller has subscribed for Mutation Events.
1148
+ *
1149
+ * @private {boolean}
1150
+ */
1151
+ this.mutationEventsAdded_ = false;
1152
+ /**
1153
+ * Keeps reference to the instance of MutationObserver.
1154
+ *
1155
+ * @private {MutationObserver}
1156
+ */
1157
+ this.mutationsObserver_ = null;
1158
+ /**
1159
+ * A list of connected observers.
1160
+ *
1161
+ * @private {Array<ResizeObserverSPI>}
1162
+ */
1163
+ this.observers_ = [];
1164
+ this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);
1165
+ this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);
1166
+ }
1167
+ /**
1168
+ * Adds observer to observers list.
1169
+ *
1170
+ * @param {ResizeObserverSPI} observer - Observer to be added.
1171
+ * @returns {void}
1172
+ */
1173
+ ResizeObserverController.prototype.addObserver = function (observer) {
1174
+ if (!~this.observers_.indexOf(observer)) {
1175
+ this.observers_.push(observer);
1176
+ }
1177
+ // Add listeners if they haven't been added yet.
1178
+ if (!this.connected_) {
1179
+ this.connect_();
1180
+ }
1181
+ };
1182
+ /**
1183
+ * Removes observer from observers list.
1184
+ *
1185
+ * @param {ResizeObserverSPI} observer - Observer to be removed.
1186
+ * @returns {void}
1187
+ */
1188
+ ResizeObserverController.prototype.removeObserver = function (observer) {
1189
+ var observers = this.observers_;
1190
+ var index = observers.indexOf(observer);
1191
+ // Remove observer if it's present in registry.
1192
+ if (~index) {
1193
+ observers.splice(index, 1);
1194
+ }
1195
+ // Remove listeners if controller has no connected observers.
1196
+ if (!observers.length && this.connected_) {
1197
+ this.disconnect_();
1198
+ }
1199
+ };
1200
+ /**
1201
+ * Invokes the update of observers. It will continue running updates insofar
1202
+ * it detects changes.
1203
+ *
1204
+ * @returns {void}
1205
+ */
1206
+ ResizeObserverController.prototype.refresh = function () {
1207
+ var changesDetected = this.updateObservers_();
1208
+ // Continue running updates if changes have been detected as there might
1209
+ // be future ones caused by CSS transitions.
1210
+ if (changesDetected) {
1211
+ this.refresh();
1212
+ }
1213
+ };
1214
+ /**
1215
+ * Updates every observer from observers list and notifies them of queued
1216
+ * entries.
1217
+ *
1218
+ * @private
1219
+ * @returns {boolean} Returns "true" if any observer has detected changes in
1220
+ * dimensions of it's elements.
1221
+ */
1222
+ ResizeObserverController.prototype.updateObservers_ = function () {
1223
+ // Collect observers that have active observations.
1224
+ var activeObservers = this.observers_.filter(function (observer) {
1225
+ return observer.gatherActive(), observer.hasActive();
1226
+ });
1227
+ // Deliver notifications in a separate cycle in order to avoid any
1228
+ // collisions between observers, e.g. when multiple instances of
1229
+ // ResizeObserver are tracking the same element and the callback of one
1230
+ // of them changes content dimensions of the observed target. Sometimes
1231
+ // this may result in notifications being blocked for the rest of observers.
1232
+ activeObservers.forEach(function (observer) { return observer.broadcastActive(); });
1233
+ return activeObservers.length > 0;
1234
+ };
1235
+ /**
1236
+ * Initializes DOM listeners.
1237
+ *
1238
+ * @private
1239
+ * @returns {void}
1240
+ */
1241
+ ResizeObserverController.prototype.connect_ = function () {
1242
+ // Do nothing if running in a non-browser environment or if listeners
1243
+ // have been already added.
1244
+ if (!isBrowser || this.connected_) {
1245
+ return;
1246
+ }
1247
+ // Subscription to the "Transitionend" event is used as a workaround for
1248
+ // delayed transitions. This way it's possible to capture at least the
1249
+ // final state of an element.
1250
+ document.addEventListener('transitionend', this.onTransitionEnd_);
1251
+ window.addEventListener('resize', this.refresh);
1252
+ if (mutationObserverSupported) {
1253
+ this.mutationsObserver_ = new MutationObserver(this.refresh);
1254
+ this.mutationsObserver_.observe(document, {
1255
+ attributes: true,
1256
+ childList: true,
1257
+ characterData: true,
1258
+ subtree: true
1259
+ });
1260
+ }
1261
+ else {
1262
+ document.addEventListener('DOMSubtreeModified', this.refresh);
1263
+ this.mutationEventsAdded_ = true;
1264
+ }
1265
+ this.connected_ = true;
1266
+ };
1267
+ /**
1268
+ * Removes DOM listeners.
1269
+ *
1270
+ * @private
1271
+ * @returns {void}
1272
+ */
1273
+ ResizeObserverController.prototype.disconnect_ = function () {
1274
+ // Do nothing if running in a non-browser environment or if listeners
1275
+ // have been already removed.
1276
+ if (!isBrowser || !this.connected_) {
1277
+ return;
1278
+ }
1279
+ document.removeEventListener('transitionend', this.onTransitionEnd_);
1280
+ window.removeEventListener('resize', this.refresh);
1281
+ if (this.mutationsObserver_) {
1282
+ this.mutationsObserver_.disconnect();
1283
+ }
1284
+ if (this.mutationEventsAdded_) {
1285
+ document.removeEventListener('DOMSubtreeModified', this.refresh);
1286
+ }
1287
+ this.mutationsObserver_ = null;
1288
+ this.mutationEventsAdded_ = false;
1289
+ this.connected_ = false;
1290
+ };
1291
+ /**
1292
+ * "Transitionend" event handler.
1293
+ *
1294
+ * @private
1295
+ * @param {TransitionEvent} event
1296
+ * @returns {void}
1297
+ */
1298
+ ResizeObserverController.prototype.onTransitionEnd_ = function (_a) {
1299
+ var _b = _a.propertyName, propertyName = _b === void 0 ? '' : _b;
1300
+ // Detect whether transition may affect dimensions of an element.
1301
+ var isReflowProperty = transitionKeys.some(function (key) {
1302
+ return !!~propertyName.indexOf(key);
1303
+ });
1304
+ if (isReflowProperty) {
1305
+ this.refresh();
1306
+ }
1307
+ };
1308
+ /**
1309
+ * Returns instance of the ResizeObserverController.
1310
+ *
1311
+ * @returns {ResizeObserverController}
1312
+ */
1313
+ ResizeObserverController.getInstance = function () {
1314
+ if (!this.instance_) {
1315
+ this.instance_ = new ResizeObserverController();
1316
+ }
1317
+ return this.instance_;
1318
+ };
1319
+ /**
1320
+ * Holds reference to the controller's instance.
1321
+ *
1322
+ * @private {ResizeObserverController}
1323
+ */
1324
+ ResizeObserverController.instance_ = null;
1325
+ return ResizeObserverController;
1326
+ }());
1327
+
1328
+ /**
1329
+ * Defines non-writable/enumerable properties of the provided target object.
1330
+ *
1331
+ * @param {Object} target - Object for which to define properties.
1332
+ * @param {Object} props - Properties to be defined.
1333
+ * @returns {Object} Target object.
1334
+ */
1335
+ var defineConfigurable = (function (target, props) {
1336
+ for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {
1337
+ var key = _a[_i];
1338
+ Object.defineProperty(target, key, {
1339
+ value: props[key],
1340
+ enumerable: false,
1341
+ writable: false,
1342
+ configurable: true
1343
+ });
1344
+ }
1345
+ return target;
1346
+ });
1347
+
1348
+ /**
1349
+ * Returns the global object associated with provided element.
1350
+ *
1351
+ * @param {Object} target
1352
+ * @returns {Object}
1353
+ */
1354
+ var getWindowOf = (function (target) {
1355
+ // Assume that the element is an instance of Node, which means that it
1356
+ // has the "ownerDocument" property from which we can retrieve a
1357
+ // corresponding global object.
1358
+ var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;
1359
+ // Return the local global object if it's not possible extract one from
1360
+ // provided element.
1361
+ return ownerGlobal || global$1;
1362
+ });
1363
+
1364
+ // Placeholder of an empty content rectangle.
1365
+ var emptyRect = createRectInit(0, 0, 0, 0);
1366
+ /**
1367
+ * Converts provided string to a number.
1368
+ *
1369
+ * @param {number|string} value
1370
+ * @returns {number}
1371
+ */
1372
+ function toFloat(value) {
1373
+ return parseFloat(value) || 0;
1374
+ }
1375
+ /**
1376
+ * Extracts borders size from provided styles.
1377
+ *
1378
+ * @param {CSSStyleDeclaration} styles
1379
+ * @param {...string} positions - Borders positions (top, right, ...)
1380
+ * @returns {number}
1381
+ */
1382
+ function getBordersSize(styles) {
1383
+ var positions = [];
1384
+ for (var _i = 1; _i < arguments.length; _i++) {
1385
+ positions[_i - 1] = arguments[_i];
1386
+ }
1387
+ return positions.reduce(function (size, position) {
1388
+ var value = styles['border-' + position + '-width'];
1389
+ return size + toFloat(value);
1390
+ }, 0);
1391
+ }
1392
+ /**
1393
+ * Extracts paddings sizes from provided styles.
1394
+ *
1395
+ * @param {CSSStyleDeclaration} styles
1396
+ * @returns {Object} Paddings box.
1397
+ */
1398
+ function getPaddings(styles) {
1399
+ var positions = ['top', 'right', 'bottom', 'left'];
1400
+ var paddings = {};
1401
+ for (var _i = 0, positions_1 = positions; _i < positions_1.length; _i++) {
1402
+ var position = positions_1[_i];
1403
+ var value = styles['padding-' + position];
1404
+ paddings[position] = toFloat(value);
1405
+ }
1406
+ return paddings;
1407
+ }
1408
+ /**
1409
+ * Calculates content rectangle of provided SVG element.
1410
+ *
1411
+ * @param {SVGGraphicsElement} target - Element content rectangle of which needs
1412
+ * to be calculated.
1413
+ * @returns {DOMRectInit}
1414
+ */
1415
+ function getSVGContentRect(target) {
1416
+ var bbox = target.getBBox();
1417
+ return createRectInit(0, 0, bbox.width, bbox.height);
1418
+ }
1419
+ /**
1420
+ * Calculates content rectangle of provided HTMLElement.
1421
+ *
1422
+ * @param {HTMLElement} target - Element for which to calculate the content rectangle.
1423
+ * @returns {DOMRectInit}
1424
+ */
1425
+ function getHTMLElementContentRect(target) {
1426
+ // Client width & height properties can't be
1427
+ // used exclusively as they provide rounded values.
1428
+ var clientWidth = target.clientWidth, clientHeight = target.clientHeight;
1429
+ // By this condition we can catch all non-replaced inline, hidden and
1430
+ // detached elements. Though elements with width & height properties less
1431
+ // than 0.5 will be discarded as well.
1432
+ //
1433
+ // Without it we would need to implement separate methods for each of
1434
+ // those cases and it's not possible to perform a precise and performance
1435
+ // effective test for hidden elements. E.g. even jQuery's ':visible' filter
1436
+ // gives wrong results for elements with width & height less than 0.5.
1437
+ if (!clientWidth && !clientHeight) {
1438
+ return emptyRect;
1439
+ }
1440
+ var styles = getWindowOf(target).getComputedStyle(target);
1441
+ var paddings = getPaddings(styles);
1442
+ var horizPad = paddings.left + paddings.right;
1443
+ var vertPad = paddings.top + paddings.bottom;
1444
+ // Computed styles of width & height are being used because they are the
1445
+ // only dimensions available to JS that contain non-rounded values. It could
1446
+ // be possible to utilize the getBoundingClientRect if only it's data wasn't
1447
+ // affected by CSS transformations let alone paddings, borders and scroll bars.
1448
+ var width = toFloat(styles.width), height = toFloat(styles.height);
1449
+ // Width & height include paddings and borders when the 'border-box' box
1450
+ // model is applied (except for IE).
1451
+ if (styles.boxSizing === 'border-box') {
1452
+ // Following conditions are required to handle Internet Explorer which
1453
+ // doesn't include paddings and borders to computed CSS dimensions.
1454
+ //
1455
+ // We can say that if CSS dimensions + paddings are equal to the "client"
1456
+ // properties then it's either IE, and thus we don't need to subtract
1457
+ // anything, or an element merely doesn't have paddings/borders styles.
1458
+ if (Math.round(width + horizPad) !== clientWidth) {
1459
+ width -= getBordersSize(styles, 'left', 'right') + horizPad;
1460
+ }
1461
+ if (Math.round(height + vertPad) !== clientHeight) {
1462
+ height -= getBordersSize(styles, 'top', 'bottom') + vertPad;
1463
+ }
1464
+ }
1465
+ // Following steps can't be applied to the document's root element as its
1466
+ // client[Width/Height] properties represent viewport area of the window.
1467
+ // Besides, it's as well not necessary as the <html> itself neither has
1468
+ // rendered scroll bars nor it can be clipped.
1469
+ if (!isDocumentElement(target)) {
1470
+ // In some browsers (only in Firefox, actually) CSS width & height
1471
+ // include scroll bars size which can be removed at this step as scroll
1472
+ // bars are the only difference between rounded dimensions + paddings
1473
+ // and "client" properties, though that is not always true in Chrome.
1474
+ var vertScrollbar = Math.round(width + horizPad) - clientWidth;
1475
+ var horizScrollbar = Math.round(height + vertPad) - clientHeight;
1476
+ // Chrome has a rather weird rounding of "client" properties.
1477
+ // E.g. for an element with content width of 314.2px it sometimes gives
1478
+ // the client width of 315px and for the width of 314.7px it may give
1479
+ // 314px. And it doesn't happen all the time. So just ignore this delta
1480
+ // as a non-relevant.
1481
+ if (Math.abs(vertScrollbar) !== 1) {
1482
+ width -= vertScrollbar;
1483
+ }
1484
+ if (Math.abs(horizScrollbar) !== 1) {
1485
+ height -= horizScrollbar;
1486
+ }
1487
+ }
1488
+ return createRectInit(paddings.left, paddings.top, width, height);
1489
+ }
1490
+ /**
1491
+ * Checks whether provided element is an instance of the SVGGraphicsElement.
1492
+ *
1493
+ * @param {Element} target - Element to be checked.
1494
+ * @returns {boolean}
1495
+ */
1496
+ var isSVGGraphicsElement = (function () {
1497
+ // Some browsers, namely IE and Edge, don't have the SVGGraphicsElement
1498
+ // interface.
1499
+ if (typeof SVGGraphicsElement !== 'undefined') {
1500
+ return function (target) { return target instanceof getWindowOf(target).SVGGraphicsElement; };
1501
+ }
1502
+ // If it's so, then check that element is at least an instance of the
1503
+ // SVGElement and that it has the "getBBox" method.
1504
+ // eslint-disable-next-line no-extra-parens
1505
+ return function (target) { return (target instanceof getWindowOf(target).SVGElement &&
1506
+ typeof target.getBBox === 'function'); };
1507
+ })();
1508
+ /**
1509
+ * Checks whether provided element is a document element (<html>).
1510
+ *
1511
+ * @param {Element} target - Element to be checked.
1512
+ * @returns {boolean}
1513
+ */
1514
+ function isDocumentElement(target) {
1515
+ return target === getWindowOf(target).document.documentElement;
1516
+ }
1517
+ /**
1518
+ * Calculates an appropriate content rectangle for provided html or svg element.
1519
+ *
1520
+ * @param {Element} target - Element content rectangle of which needs to be calculated.
1521
+ * @returns {DOMRectInit}
1522
+ */
1523
+ function getContentRect(target) {
1524
+ if (!isBrowser) {
1525
+ return emptyRect;
1526
+ }
1527
+ if (isSVGGraphicsElement(target)) {
1528
+ return getSVGContentRect(target);
1529
+ }
1530
+ return getHTMLElementContentRect(target);
1531
+ }
1532
+ /**
1533
+ * Creates rectangle with an interface of the DOMRectReadOnly.
1534
+ * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly
1535
+ *
1536
+ * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.
1537
+ * @returns {DOMRectReadOnly}
1538
+ */
1539
+ function createReadOnlyRect(_a) {
1540
+ var x = _a.x, y = _a.y, width = _a.width, height = _a.height;
1541
+ // If DOMRectReadOnly is available use it as a prototype for the rectangle.
1542
+ var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;
1543
+ var rect = Object.create(Constr.prototype);
1544
+ // Rectangle's properties are not writable and non-enumerable.
1545
+ defineConfigurable(rect, {
1546
+ x: x, y: y, width: width, height: height,
1547
+ top: y,
1548
+ right: x + width,
1549
+ bottom: height + y,
1550
+ left: x
1551
+ });
1552
+ return rect;
1553
+ }
1554
+ /**
1555
+ * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.
1556
+ * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit
1557
+ *
1558
+ * @param {number} x - X coordinate.
1559
+ * @param {number} y - Y coordinate.
1560
+ * @param {number} width - Rectangle's width.
1561
+ * @param {number} height - Rectangle's height.
1562
+ * @returns {DOMRectInit}
1563
+ */
1564
+ function createRectInit(x, y, width, height) {
1565
+ return { x: x, y: y, width: width, height: height };
1566
+ }
1567
+
1568
+ /**
1569
+ * Class that is responsible for computations of the content rectangle of
1570
+ * provided DOM element and for keeping track of it's changes.
1571
+ */
1572
+ var ResizeObservation = /** @class */ (function () {
1573
+ /**
1574
+ * Creates an instance of ResizeObservation.
1575
+ *
1576
+ * @param {Element} target - Element to be observed.
1577
+ */
1578
+ function ResizeObservation(target) {
1579
+ /**
1580
+ * Broadcasted width of content rectangle.
1581
+ *
1582
+ * @type {number}
1583
+ */
1584
+ this.broadcastWidth = 0;
1585
+ /**
1586
+ * Broadcasted height of content rectangle.
1587
+ *
1588
+ * @type {number}
1589
+ */
1590
+ this.broadcastHeight = 0;
1591
+ /**
1592
+ * Reference to the last observed content rectangle.
1593
+ *
1594
+ * @private {DOMRectInit}
1595
+ */
1596
+ this.contentRect_ = createRectInit(0, 0, 0, 0);
1597
+ this.target = target;
1598
+ }
1599
+ /**
1600
+ * Updates content rectangle and tells whether it's width or height properties
1601
+ * have changed since the last broadcast.
1602
+ *
1603
+ * @returns {boolean}
1604
+ */
1605
+ ResizeObservation.prototype.isActive = function () {
1606
+ var rect = getContentRect(this.target);
1607
+ this.contentRect_ = rect;
1608
+ return (rect.width !== this.broadcastWidth ||
1609
+ rect.height !== this.broadcastHeight);
1610
+ };
1611
+ /**
1612
+ * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data
1613
+ * from the corresponding properties of the last observed content rectangle.
1614
+ *
1615
+ * @returns {DOMRectInit} Last observed content rectangle.
1616
+ */
1617
+ ResizeObservation.prototype.broadcastRect = function () {
1618
+ var rect = this.contentRect_;
1619
+ this.broadcastWidth = rect.width;
1620
+ this.broadcastHeight = rect.height;
1621
+ return rect;
1622
+ };
1623
+ return ResizeObservation;
1624
+ }());
1625
+
1626
+ var ResizeObserverEntry = /** @class */ (function () {
1627
+ /**
1628
+ * Creates an instance of ResizeObserverEntry.
1629
+ *
1630
+ * @param {Element} target - Element that is being observed.
1631
+ * @param {DOMRectInit} rectInit - Data of the element's content rectangle.
1632
+ */
1633
+ function ResizeObserverEntry(target, rectInit) {
1634
+ var contentRect = createReadOnlyRect(rectInit);
1635
+ // According to the specification following properties are not writable
1636
+ // and are also not enumerable in the native implementation.
1637
+ //
1638
+ // Property accessors are not being used as they'd require to define a
1639
+ // private WeakMap storage which may cause memory leaks in browsers that
1640
+ // don't support this type of collections.
1641
+ defineConfigurable(this, { target: target, contentRect: contentRect });
1642
+ }
1643
+ return ResizeObserverEntry;
1644
+ }());
1645
+
1646
+ var ResizeObserverSPI = /** @class */ (function () {
1647
+ /**
1648
+ * Creates a new instance of ResizeObserver.
1649
+ *
1650
+ * @param {ResizeObserverCallback} callback - Callback function that is invoked
1651
+ * when one of the observed elements changes it's content dimensions.
1652
+ * @param {ResizeObserverController} controller - Controller instance which
1653
+ * is responsible for the updates of observer.
1654
+ * @param {ResizeObserver} callbackCtx - Reference to the public
1655
+ * ResizeObserver instance which will be passed to callback function.
1656
+ */
1657
+ function ResizeObserverSPI(callback, controller, callbackCtx) {
1658
+ /**
1659
+ * Collection of resize observations that have detected changes in dimensions
1660
+ * of elements.
1661
+ *
1662
+ * @private {Array<ResizeObservation>}
1663
+ */
1664
+ this.activeObservations_ = [];
1665
+ /**
1666
+ * Registry of the ResizeObservation instances.
1667
+ *
1668
+ * @private {Map<Element, ResizeObservation>}
1669
+ */
1670
+ this.observations_ = new MapShim();
1671
+ if (typeof callback !== 'function') {
1672
+ throw new TypeError('The callback provided as parameter 1 is not a function.');
1673
+ }
1674
+ this.callback_ = callback;
1675
+ this.controller_ = controller;
1676
+ this.callbackCtx_ = callbackCtx;
1677
+ }
1678
+ /**
1679
+ * Starts observing provided element.
1680
+ *
1681
+ * @param {Element} target - Element to be observed.
1682
+ * @returns {void}
1683
+ */
1684
+ ResizeObserverSPI.prototype.observe = function (target) {
1685
+ if (!arguments.length) {
1686
+ throw new TypeError('1 argument required, but only 0 present.');
1687
+ }
1688
+ // Do nothing if current environment doesn't have the Element interface.
1689
+ if (typeof Element === 'undefined' || !(Element instanceof Object)) {
1690
+ return;
1691
+ }
1692
+ if (!(target instanceof getWindowOf(target).Element)) {
1693
+ throw new TypeError('parameter 1 is not of type "Element".');
1694
+ }
1695
+ var observations = this.observations_;
1696
+ // Do nothing if element is already being observed.
1697
+ if (observations.has(target)) {
1698
+ return;
1699
+ }
1700
+ observations.set(target, new ResizeObservation(target));
1701
+ this.controller_.addObserver(this);
1702
+ // Force the update of observations.
1703
+ this.controller_.refresh();
1704
+ };
1705
+ /**
1706
+ * Stops observing provided element.
1707
+ *
1708
+ * @param {Element} target - Element to stop observing.
1709
+ * @returns {void}
1710
+ */
1711
+ ResizeObserverSPI.prototype.unobserve = function (target) {
1712
+ if (!arguments.length) {
1713
+ throw new TypeError('1 argument required, but only 0 present.');
1714
+ }
1715
+ // Do nothing if current environment doesn't have the Element interface.
1716
+ if (typeof Element === 'undefined' || !(Element instanceof Object)) {
1717
+ return;
1718
+ }
1719
+ if (!(target instanceof getWindowOf(target).Element)) {
1720
+ throw new TypeError('parameter 1 is not of type "Element".');
1721
+ }
1722
+ var observations = this.observations_;
1723
+ // Do nothing if element is not being observed.
1724
+ if (!observations.has(target)) {
1725
+ return;
1726
+ }
1727
+ observations.delete(target);
1728
+ if (!observations.size) {
1729
+ this.controller_.removeObserver(this);
1730
+ }
1731
+ };
1732
+ /**
1733
+ * Stops observing all elements.
1734
+ *
1735
+ * @returns {void}
1736
+ */
1737
+ ResizeObserverSPI.prototype.disconnect = function () {
1738
+ this.clearActive();
1739
+ this.observations_.clear();
1740
+ this.controller_.removeObserver(this);
1741
+ };
1742
+ /**
1743
+ * Collects observation instances the associated element of which has changed
1744
+ * it's content rectangle.
1745
+ *
1746
+ * @returns {void}
1747
+ */
1748
+ ResizeObserverSPI.prototype.gatherActive = function () {
1749
+ var _this = this;
1750
+ this.clearActive();
1751
+ this.observations_.forEach(function (observation) {
1752
+ if (observation.isActive()) {
1753
+ _this.activeObservations_.push(observation);
1754
+ }
1755
+ });
1756
+ };
1757
+ /**
1758
+ * Invokes initial callback function with a list of ResizeObserverEntry
1759
+ * instances collected from active resize observations.
1760
+ *
1761
+ * @returns {void}
1762
+ */
1763
+ ResizeObserverSPI.prototype.broadcastActive = function () {
1764
+ // Do nothing if observer doesn't have active observations.
1765
+ if (!this.hasActive()) {
1766
+ return;
1767
+ }
1768
+ var ctx = this.callbackCtx_;
1769
+ // Create ResizeObserverEntry instance for every active observation.
1770
+ var entries = this.activeObservations_.map(function (observation) {
1771
+ return new ResizeObserverEntry(observation.target, observation.broadcastRect());
1772
+ });
1773
+ this.callback_.call(ctx, entries, ctx);
1774
+ this.clearActive();
1775
+ };
1776
+ /**
1777
+ * Clears the collection of active observations.
1778
+ *
1779
+ * @returns {void}
1780
+ */
1781
+ ResizeObserverSPI.prototype.clearActive = function () {
1782
+ this.activeObservations_.splice(0);
1783
+ };
1784
+ /**
1785
+ * Tells whether observer has active observations.
1786
+ *
1787
+ * @returns {boolean}
1788
+ */
1789
+ ResizeObserverSPI.prototype.hasActive = function () {
1790
+ return this.activeObservations_.length > 0;
1791
+ };
1792
+ return ResizeObserverSPI;
1793
+ }());
1794
+
1795
+ // Registry of internal observers. If WeakMap is not available use current shim
1796
+ // for the Map collection as it has all required methods and because WeakMap
1797
+ // can't be fully polyfilled anyway.
1798
+ var observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();
1799
+ /**
1800
+ * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation
1801
+ * exposing only those methods and properties that are defined in the spec.
1802
+ */
1803
+ var ResizeObserver$1 = /** @class */ (function () {
1804
+ /**
1805
+ * Creates a new instance of ResizeObserver.
1806
+ *
1807
+ * @param {ResizeObserverCallback} callback - Callback that is invoked when
1808
+ * dimensions of the observed elements change.
1809
+ */
1810
+ function ResizeObserver(callback) {
1811
+ if (!(this instanceof ResizeObserver)) {
1812
+ throw new TypeError('Cannot call a class as a function.');
1813
+ }
1814
+ if (!arguments.length) {
1815
+ throw new TypeError('1 argument required, but only 0 present.');
1816
+ }
1817
+ var controller = ResizeObserverController.getInstance();
1818
+ var observer = new ResizeObserverSPI(callback, controller, this);
1819
+ observers.set(this, observer);
1820
+ }
1821
+ return ResizeObserver;
1822
+ }());
1823
+ // Expose public methods of ResizeObserver.
1824
+ [
1825
+ 'observe',
1826
+ 'unobserve',
1827
+ 'disconnect'
1828
+ ].forEach(function (method) {
1829
+ ResizeObserver$1.prototype[method] = function () {
1830
+ var _a;
1831
+ return (_a = observers.get(this))[method].apply(_a, arguments);
1832
+ };
1833
+ });
1834
+
1835
+ var index = (function () {
1836
+ // Export existing implementation if available.
1837
+ if (typeof global$1.ResizeObserver !== 'undefined') {
1838
+ return global$1.ResizeObserver;
1839
+ }
1840
+ return ResizeObserver$1;
1841
+ })();
1842
+
1843
+ // =============================== Const ===============================
1844
+ var elementListeners = new Map();
1845
+ function onResize(entities) {
1846
+ entities.forEach(function (entity) {
1847
+ var _elementListeners$get;
1848
+ var target = entity.target;
1849
+ (_elementListeners$get = elementListeners.get(target)) === null || _elementListeners$get === void 0 || _elementListeners$get.forEach(function (listener) {
1850
+ return listener(target);
1851
+ });
1852
+ });
1853
+ }
1854
+
1855
+ // Note: ResizeObserver polyfill not support option to measure border-box resize
1856
+ var resizeObserver = new index(onResize);
1857
+
1858
+ // ============================== Observe ==============================
1859
+ function observe(element, callback) {
1860
+ if (!elementListeners.has(element)) {
1861
+ elementListeners.set(element, new Set());
1862
+ resizeObserver.observe(element);
1863
+ }
1864
+ elementListeners.get(element).add(callback);
1865
+ }
1866
+ function unobserve(element, callback) {
1867
+ if (elementListeners.has(element)) {
1868
+ elementListeners.get(element).delete(callback);
1869
+ if (!elementListeners.get(element).size) {
1870
+ resizeObserver.unobserve(element);
1871
+ elementListeners.delete(element);
1872
+ }
1873
+ }
1874
+ }
1875
+
1876
+ function _classCallCheck(instance, Constructor) {
1877
+ if (!(instance instanceof Constructor)) {
1878
+ throw new TypeError("Cannot call a class as a function");
1879
+ }
1880
+ }
1881
+
1882
+ function _defineProperties(target, props) {
1883
+ for (var i = 0; i < props.length; i++) {
1884
+ var descriptor = props[i];
1885
+ descriptor.enumerable = descriptor.enumerable || false;
1886
+ descriptor.configurable = true;
1887
+ if ("value" in descriptor) descriptor.writable = true;
1888
+ Object.defineProperty(target, _toPropertyKey$1(descriptor.key), descriptor);
1889
+ }
1890
+ }
1891
+ function _createClass(Constructor, protoProps, staticProps) {
1892
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
1893
+ if (staticProps) _defineProperties(Constructor, staticProps);
1894
+ Object.defineProperty(Constructor, "prototype", {
1895
+ writable: false
1896
+ });
1897
+ return Constructor;
1898
+ }
1899
+
1900
+ function _setPrototypeOf(o, p) {
1901
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
1902
+ o.__proto__ = p;
1903
+ return o;
1904
+ };
1905
+ return _setPrototypeOf(o, p);
1906
+ }
1907
+
1908
+ function _inherits(subClass, superClass) {
1909
+ if (typeof superClass !== "function" && superClass !== null) {
1910
+ throw new TypeError("Super expression must either be null or a function");
1911
+ }
1912
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
1913
+ constructor: {
1914
+ value: subClass,
1915
+ writable: true,
1916
+ configurable: true
1917
+ }
1918
+ });
1919
+ Object.defineProperty(subClass, "prototype", {
1920
+ writable: false
1921
+ });
1922
+ if (superClass) _setPrototypeOf(subClass, superClass);
1923
+ }
1924
+
1925
+ function _getPrototypeOf(o) {
1926
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
1927
+ return o.__proto__ || Object.getPrototypeOf(o);
1928
+ };
1929
+ return _getPrototypeOf(o);
1930
+ }
1931
+
1932
+ function _isNativeReflectConstruct() {
1933
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
1934
+ if (Reflect.construct.sham) return false;
1935
+ if (typeof Proxy === "function") return true;
1936
+ try {
1937
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
1938
+ return true;
1939
+ } catch (e) {
1940
+ return false;
1941
+ }
1942
+ }
1943
+
1944
+ function _assertThisInitialized(self) {
1945
+ if (self === void 0) {
1946
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1947
+ }
1948
+ return self;
1949
+ }
1950
+
1951
+ function _possibleConstructorReturn(self, call) {
1952
+ if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
1953
+ return call;
1954
+ } else if (call !== void 0) {
1955
+ throw new TypeError("Derived constructors may only return object or undefined");
1956
+ }
1957
+ return _assertThisInitialized(self);
1958
+ }
1959
+
1960
+ function _createSuper(Derived) {
1961
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
1962
+ return function _createSuperInternal() {
1963
+ var Super = _getPrototypeOf(Derived),
1964
+ result;
1965
+ if (hasNativeReflectConstruct) {
1966
+ var NewTarget = _getPrototypeOf(this).constructor;
1967
+ result = Reflect.construct(Super, arguments, NewTarget);
1968
+ } else {
1969
+ result = Super.apply(this, arguments);
1970
+ }
1971
+ return _possibleConstructorReturn(this, result);
1972
+ };
1973
+ }
1974
+
1975
+ /**
1976
+ * Fallback to findDOMNode if origin ref do not provide any dom element
1977
+ */
1978
+ var DomWrapper = /*#__PURE__*/function (_React$Component) {
1979
+ _inherits(DomWrapper, _React$Component);
1980
+ var _super = _createSuper(DomWrapper);
1981
+ function DomWrapper() {
1982
+ _classCallCheck(this, DomWrapper);
1983
+ return _super.apply(this, arguments);
1984
+ }
1985
+ _createClass(DomWrapper, [{
1986
+ key: "render",
1987
+ value: function render() {
1988
+ return this.props.children;
1989
+ }
1990
+ }]);
1991
+ return DomWrapper;
1992
+ }(react.Component);
1993
+
1994
+ function SingleObserver(props, ref) {
1995
+ var children = props.children,
1996
+ disabled = props.disabled;
1997
+ var elementRef = react.useRef(null);
1998
+ var wrapperRef = react.useRef(null);
1999
+ var onCollectionResize = react.useContext(CollectionContext);
2000
+
2001
+ // =========================== Children ===========================
2002
+ var isRenderProps = typeof children === 'function';
2003
+ var mergedChildren = isRenderProps ? children(elementRef) : children;
2004
+
2005
+ // ============================= Size =============================
2006
+ var sizeRef = react.useRef({
2007
+ width: -1,
2008
+ height: -1,
2009
+ offsetWidth: -1,
2010
+ offsetHeight: -1
2011
+ });
2012
+
2013
+ // ============================= Ref ==============================
2014
+ var canRef = !isRenderProps && /*#__PURE__*/react.isValidElement(mergedChildren) && supportRef(mergedChildren);
2015
+ var originRef = canRef ? mergedChildren.ref : null;
2016
+ var mergedRef = useComposeRef(originRef, elementRef);
2017
+ var getDom = function getDom() {
2018
+ var _elementRef$current;
2019
+ return findDOMNode(elementRef.current) || (
2020
+ // Support `nativeElement` format
2021
+ elementRef.current && _typeof$1(elementRef.current) === 'object' ? findDOMNode((_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.nativeElement) : null) || findDOMNode(wrapperRef.current);
2022
+ };
2023
+ react.useImperativeHandle(ref, function () {
2024
+ return getDom();
2025
+ });
2026
+
2027
+ // =========================== Observe ============================
2028
+ var propsRef = react.useRef(props);
2029
+ propsRef.current = props;
2030
+
2031
+ // Handler
2032
+ var onInternalResize = react.useCallback(function (target) {
2033
+ var _propsRef$current = propsRef.current,
2034
+ onResize = _propsRef$current.onResize,
2035
+ data = _propsRef$current.data;
2036
+ var _target$getBoundingCl = target.getBoundingClientRect(),
2037
+ width = _target$getBoundingCl.width,
2038
+ height = _target$getBoundingCl.height;
2039
+ var offsetWidth = target.offsetWidth,
2040
+ offsetHeight = target.offsetHeight;
2041
+
2042
+ /**
2043
+ * Resize observer trigger when content size changed.
2044
+ * In most case we just care about element size,
2045
+ * let's use `boundary` instead of `contentRect` here to avoid shaking.
2046
+ */
2047
+ var fixedWidth = Math.floor(width);
2048
+ var fixedHeight = Math.floor(height);
2049
+ if (sizeRef.current.width !== fixedWidth || sizeRef.current.height !== fixedHeight || sizeRef.current.offsetWidth !== offsetWidth || sizeRef.current.offsetHeight !== offsetHeight) {
2050
+ var size = {
2051
+ width: fixedWidth,
2052
+ height: fixedHeight,
2053
+ offsetWidth: offsetWidth,
2054
+ offsetHeight: offsetHeight
2055
+ };
2056
+ sizeRef.current = size;
2057
+
2058
+ // IE is strange, right?
2059
+ var mergedOffsetWidth = offsetWidth === Math.round(width) ? width : offsetWidth;
2060
+ var mergedOffsetHeight = offsetHeight === Math.round(height) ? height : offsetHeight;
2061
+ var sizeInfo = _objectSpread2$1(_objectSpread2$1({}, size), {}, {
2062
+ offsetWidth: mergedOffsetWidth,
2063
+ offsetHeight: mergedOffsetHeight
2064
+ });
2065
+
2066
+ // Let collection know what happened
2067
+ onCollectionResize === null || onCollectionResize === void 0 || onCollectionResize(sizeInfo, target, data);
2068
+ if (onResize) {
2069
+ // defer the callback but not defer to next frame
2070
+ Promise.resolve().then(function () {
2071
+ onResize(sizeInfo, target);
2072
+ });
2073
+ }
2074
+ }
2075
+ }, []);
2076
+
2077
+ // Dynamic observe
2078
+ react.useEffect(function () {
2079
+ var currentElement = getDom();
2080
+ if (currentElement && !disabled) {
2081
+ observe(currentElement, onInternalResize);
2082
+ }
2083
+ return function () {
2084
+ return unobserve(currentElement, onInternalResize);
2085
+ };
2086
+ }, [elementRef.current, disabled]);
2087
+
2088
+ // ============================ Render ============================
2089
+ return /*#__PURE__*/react.createElement(DomWrapper, {
2090
+ ref: wrapperRef
2091
+ }, canRef ? /*#__PURE__*/react.cloneElement(mergedChildren, {
2092
+ ref: mergedRef
2093
+ }) : mergedChildren);
2094
+ }
2095
+ var RefSingleObserver = /*#__PURE__*/react.forwardRef(SingleObserver);
2096
+
2097
+ var INTERNAL_PREFIX_KEY = 'rc-observer-key';
2098
+ function ResizeObserver(props, ref) {
2099
+ var children = props.children;
2100
+ var childNodes = typeof children === 'function' ? [children] : toArray(children);
2101
+ return childNodes.map(function (child, index) {
2102
+ var key = (child === null || child === void 0 ? void 0 : child.key) || "".concat(INTERNAL_PREFIX_KEY, "-").concat(index);
2103
+ return /*#__PURE__*/react.createElement(RefSingleObserver, _extends$1({}, props, {
2104
+ key: key,
2105
+ ref: index === 0 ? ref : undefined
2106
+ }), child);
2107
+ });
2108
+ }
2109
+ var RefResizeObserver = /*#__PURE__*/react.forwardRef(ResizeObserver);
2110
+ RefResizeObserver.Collection = Collection;
2111
+
2112
+ var raf = function raf(callback) {
2113
+ return +setTimeout(callback, 16);
2114
+ };
2115
+ var caf = function caf(num) {
2116
+ return clearTimeout(num);
2117
+ };
2118
+ if (typeof window !== 'undefined' && 'requestAnimationFrame' in window) {
2119
+ raf = function raf(callback) {
2120
+ return window.requestAnimationFrame(callback);
2121
+ };
2122
+ caf = function caf(handle) {
2123
+ return window.cancelAnimationFrame(handle);
2124
+ };
2125
+ }
2126
+ var rafUUID = 0;
2127
+ var rafIds = new Map();
2128
+ function cleanup(id) {
2129
+ rafIds.delete(id);
2130
+ }
2131
+ var wrapperRaf = function wrapperRaf(callback) {
2132
+ var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
2133
+ rafUUID += 1;
2134
+ var id = rafUUID;
2135
+ function callRef(leftTimes) {
2136
+ if (leftTimes === 0) {
2137
+ // Clean up
2138
+ cleanup(id);
2139
+
2140
+ // Trigger
2141
+ callback();
2142
+ } else {
2143
+ // Next raf
2144
+ var realId = raf(function () {
2145
+ callRef(leftTimes - 1);
2146
+ });
2147
+
2148
+ // Bind real raf id
2149
+ rafIds.set(id, realId);
2150
+ }
2151
+ }
2152
+ callRef(times);
2153
+ return id;
2154
+ };
2155
+ wrapperRaf.cancel = function (id) {
2156
+ var realId = rafIds.get(id);
2157
+ cleanup(id);
2158
+ return caf(realId);
2159
+ };
2160
+
2161
+ function _extends() {
2162
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
2163
+ for (var i = 1; i < arguments.length; i++) {
2164
+ var source = arguments[i];
2165
+ for (var key in source) {
2166
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
2167
+ target[key] = source[key];
2168
+ }
2169
+ }
2170
+ }
2171
+ return target;
2172
+ };
2173
+ return _extends.apply(this, arguments);
2174
+ }
2175
+
2176
+ function _typeof(obj) {
2177
+ "@babel/helpers - typeof";
2178
+
2179
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
2180
+ return typeof obj;
2181
+ } : function (obj) {
2182
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2183
+ }, _typeof(obj);
2184
+ }
2185
+
2186
+ function _toPrimitive(input, hint) {
2187
+ if (_typeof(input) !== "object" || input === null) return input;
2188
+ var prim = input[Symbol.toPrimitive];
2189
+ if (prim !== undefined) {
2190
+ var res = prim.call(input, hint || "default");
2191
+ if (_typeof(res) !== "object") return res;
2192
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2193
+ }
2194
+ return (hint === "string" ? String : Number)(input);
2195
+ }
2196
+
2197
+ function _toPropertyKey(arg) {
2198
+ var key = _toPrimitive(arg, "string");
2199
+ return _typeof(key) === "symbol" ? key : String(key);
2200
+ }
2201
+
2202
+ function _defineProperty(obj, key, value) {
2203
+ key = _toPropertyKey(key);
2204
+ if (key in obj) {
2205
+ Object.defineProperty(obj, key, {
2206
+ value: value,
2207
+ enumerable: true,
2208
+ configurable: true,
2209
+ writable: true
2210
+ });
2211
+ } else {
2212
+ obj[key] = value;
2213
+ }
2214
+ return obj;
2215
+ }
2216
+
2217
+ function ownKeys(object, enumerableOnly) {
2218
+ var keys = Object.keys(object);
2219
+ if (Object.getOwnPropertySymbols) {
2220
+ var symbols = Object.getOwnPropertySymbols(object);
2221
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
2222
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
2223
+ })), keys.push.apply(keys, symbols);
2224
+ }
2225
+ return keys;
2226
+ }
2227
+ function _objectSpread2(target) {
2228
+ for (var i = 1; i < arguments.length; i++) {
2229
+ var source = null != arguments[i] ? arguments[i] : {};
2230
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
2231
+ _defineProperty(target, key, source[key]);
2232
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
2233
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
2234
+ });
2235
+ }
2236
+ return target;
2237
+ }
2238
+
2239
+ function _arrayWithHoles(arr) {
2240
+ if (Array.isArray(arr)) return arr;
2241
+ }
2242
+
2243
+ function _iterableToArrayLimit(arr, i) {
2244
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
2245
+ if (null != _i) {
2246
+ var _s,
2247
+ _e,
2248
+ _x,
2249
+ _r,
2250
+ _arr = [],
2251
+ _n = !0,
2252
+ _d = !1;
2253
+ try {
2254
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
2255
+ if (Object(_i) !== _i) return;
2256
+ _n = !1;
2257
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
2258
+ } catch (err) {
2259
+ _d = !0, _e = err;
2260
+ } finally {
2261
+ try {
2262
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
2263
+ } finally {
2264
+ if (_d) throw _e;
2265
+ }
2266
+ }
2267
+ return _arr;
2268
+ }
2269
+ }
2270
+
2271
+ function _arrayLikeToArray(arr, len) {
2272
+ if (len == null || len > arr.length) len = arr.length;
2273
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
2274
+ return arr2;
2275
+ }
2276
+
2277
+ function _unsupportedIterableToArray(o, minLen) {
2278
+ if (!o) return;
2279
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
2280
+ var n = Object.prototype.toString.call(o).slice(8, -1);
2281
+ if (n === "Object" && o.constructor) n = o.constructor.name;
2282
+ if (n === "Map" || n === "Set") return Array.from(o);
2283
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
2284
+ }
2285
+
2286
+ function _nonIterableRest() {
2287
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2288
+ }
2289
+
2290
+ function _slicedToArray(arr, i) {
2291
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
2292
+ }
2293
+
2294
+ function _objectWithoutPropertiesLoose(source, excluded) {
2295
+ if (source == null) return {};
2296
+ var target = {};
2297
+ var sourceKeys = Object.keys(source);
2298
+ var key, i;
2299
+ for (i = 0; i < sourceKeys.length; i++) {
2300
+ key = sourceKeys[i];
2301
+ if (excluded.indexOf(key) >= 0) continue;
2302
+ target[key] = source[key];
2303
+ }
2304
+ return target;
2305
+ }
2306
+
2307
+ function _objectWithoutProperties(source, excluded) {
2308
+ if (source == null) return {};
2309
+ var target = _objectWithoutPropertiesLoose(source, excluded);
2310
+ var key, i;
2311
+ if (Object.getOwnPropertySymbols) {
2312
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
2313
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
2314
+ key = sourceSymbolKeys[i];
2315
+ if (excluded.indexOf(key) >= 0) continue;
2316
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
2317
+ target[key] = source[key];
2318
+ }
2319
+ }
2320
+ return target;
2321
+ }
2322
+
2323
+ var _excluded$2 = ["prefixCls", "invalidate", "item", "renderItem", "responsive", "responsiveDisabled", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"];
2324
+ // Use shared variable to save bundle size
2325
+ var UNDEFINED = undefined;
2326
+ function InternalItem(props, ref) {
2327
+ var prefixCls = props.prefixCls,
2328
+ invalidate = props.invalidate,
2329
+ item = props.item,
2330
+ renderItem = props.renderItem,
2331
+ responsive = props.responsive,
2332
+ responsiveDisabled = props.responsiveDisabled,
2333
+ registerSize = props.registerSize,
2334
+ itemKey = props.itemKey,
2335
+ className = props.className,
2336
+ style = props.style,
2337
+ children = props.children,
2338
+ display = props.display,
2339
+ order = props.order,
2340
+ _props$component = props.component,
2341
+ Component = _props$component === void 0 ? 'div' : _props$component,
2342
+ restProps = _objectWithoutProperties(props, _excluded$2);
2343
+ var mergedHidden = responsive && !display;
2344
+ // ================================ Effect ================================
2345
+ function internalRegisterSize(width) {
2346
+ registerSize(itemKey, width);
2347
+ }
2348
+ react.useEffect(function () {
2349
+ return function () {
2350
+ internalRegisterSize(null);
2351
+ };
2352
+ }, []);
2353
+ // ================================ Render ================================
2354
+ var childNode = renderItem && item !== UNDEFINED ? renderItem(item) : children;
2355
+ var overflowStyle;
2356
+ if (!invalidate) {
2357
+ overflowStyle = {
2358
+ opacity: mergedHidden ? 0 : 1,
2359
+ height: mergedHidden ? 0 : UNDEFINED,
2360
+ overflowY: mergedHidden ? 'hidden' : UNDEFINED,
2361
+ order: responsive ? order : UNDEFINED,
2362
+ pointerEvents: mergedHidden ? 'none' : UNDEFINED,
2363
+ position: mergedHidden ? 'absolute' : UNDEFINED
2364
+ };
2365
+ }
2366
+ var overflowProps = {};
2367
+ if (mergedHidden) {
2368
+ overflowProps['aria-hidden'] = true;
2369
+ }
2370
+ var itemNode = /*#__PURE__*/react.createElement(Component, _extends({
2371
+ className: index$1.classnames(!invalidate && prefixCls, className),
2372
+ style: _objectSpread2(_objectSpread2({}, overflowStyle), style)
2373
+ }, overflowProps, restProps, {
2374
+ ref: ref
2375
+ }), childNode);
2376
+ if (responsive) {
2377
+ itemNode = /*#__PURE__*/react.createElement(RefResizeObserver, {
2378
+ onResize: function onResize(_ref) {
2379
+ var offsetWidth = _ref.offsetWidth;
2380
+ internalRegisterSize(offsetWidth);
2381
+ },
2382
+ disabled: responsiveDisabled
2383
+ }, itemNode);
2384
+ }
2385
+ return itemNode;
2386
+ }
2387
+ var Item = /*#__PURE__*/react.forwardRef(InternalItem);
2388
+ Item.displayName = 'Item';
2389
+
2390
+ function channelUpdate(callback) {
2391
+ if (typeof MessageChannel === 'undefined') {
2392
+ wrapperRaf(callback);
2393
+ } else {
2394
+ var channel = new MessageChannel();
2395
+ channel.port1.onmessage = function () {
2396
+ return callback();
2397
+ };
2398
+ channel.port2.postMessage(undefined);
2399
+ }
2400
+ }
2401
+
2402
+ /**
2403
+ * Batcher for record any `useEffectState` need update.
2404
+ */
2405
+ function useBatcher() {
2406
+ // Updater Trigger
2407
+ var updateFuncRef = react.useRef(null);
2408
+ // Notify update
2409
+ var notifyEffectUpdate = function notifyEffectUpdate(callback) {
2410
+ if (!updateFuncRef.current) {
2411
+ updateFuncRef.current = [];
2412
+ channelUpdate(function () {
2413
+ reactDom.unstable_batchedUpdates(function () {
2414
+ updateFuncRef.current.forEach(function (fn) {
2415
+ fn();
2416
+ });
2417
+ updateFuncRef.current = null;
2418
+ });
2419
+ });
2420
+ }
2421
+ updateFuncRef.current.push(callback);
2422
+ };
2423
+ return notifyEffectUpdate;
2424
+ }
2425
+ /**
2426
+ * Trigger state update by `useLayoutEffect` to save perf.
2427
+ */
2428
+ function useEffectState(notifyEffectUpdate, defaultValue) {
2429
+ // Value
2430
+ var _React$useState = react.useState(defaultValue),
2431
+ _React$useState2 = _slicedToArray(_React$useState, 2),
2432
+ stateValue = _React$useState2[0],
2433
+ setStateValue = _React$useState2[1];
2434
+ // Set State
2435
+ var setEffectVal = useEvent(function (nextValue) {
2436
+ notifyEffectUpdate(function () {
2437
+ setStateValue(nextValue);
2438
+ });
2439
+ });
2440
+ return [stateValue, setEffectVal];
2441
+ }
2442
+
2443
+ var OverflowContext = /*#__PURE__*/react.createContext(null);
2444
+
2445
+ var _excluded$1 = ["component"],
2446
+ _excluded2 = ["className"],
2447
+ _excluded3 = ["className"];
2448
+ var InternalRawItem = function InternalRawItem(props, ref) {
2449
+ var context = react.useContext(OverflowContext);
2450
+ // Render directly when context not provided
2451
+ if (!context) {
2452
+ var _props$component = props.component,
2453
+ Component = _props$component === void 0 ? 'div' : _props$component,
2454
+ _restProps = _objectWithoutProperties(props, _excluded$1);
2455
+ return /*#__PURE__*/react.createElement(Component, _extends({}, _restProps, {
2456
+ ref: ref
2457
+ }));
2458
+ }
2459
+ var contextClassName = context.className,
2460
+ restContext = _objectWithoutProperties(context, _excluded2);
2461
+ var className = props.className,
2462
+ restProps = _objectWithoutProperties(props, _excluded3);
2463
+ // Do not pass context to sub item to avoid multiple measure
2464
+ return /*#__PURE__*/react.createElement(OverflowContext.Provider, {
2465
+ value: null
2466
+ }, /*#__PURE__*/react.createElement(Item, _extends({
2467
+ ref: ref,
2468
+ className: index$1.classnames(contextClassName, className)
2469
+ }, restContext, restProps)));
2470
+ };
2471
+ var RawItem = /*#__PURE__*/react.forwardRef(InternalRawItem);
2472
+ RawItem.displayName = 'RawItem';
2473
+
2474
+ var _excluded = ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"];
2475
+ var RESPONSIVE = 'responsive';
2476
+ var INVALIDATE = 'invalidate';
2477
+ function defaultRenderRest(omittedItems) {
2478
+ return "+ ".concat(omittedItems.length, " ...");
2479
+ }
2480
+ function Overflow(props, ref) {
2481
+ var _props$prefixCls = props.prefixCls,
2482
+ prefixCls = _props$prefixCls === void 0 ? 'rc-overflow' : _props$prefixCls,
2483
+ _props$data = props.data,
2484
+ data = _props$data === void 0 ? [] : _props$data,
2485
+ renderItem = props.renderItem,
2486
+ renderRawItem = props.renderRawItem,
2487
+ itemKey = props.itemKey,
2488
+ _props$itemWidth = props.itemWidth,
2489
+ itemWidth = _props$itemWidth === void 0 ? 10 : _props$itemWidth,
2490
+ ssr = props.ssr,
2491
+ style = props.style,
2492
+ className = props.className,
2493
+ maxCount = props.maxCount,
2494
+ renderRest = props.renderRest,
2495
+ renderRawRest = props.renderRawRest,
2496
+ suffix = props.suffix,
2497
+ _props$component = props.component,
2498
+ Component = _props$component === void 0 ? 'div' : _props$component,
2499
+ itemComponent = props.itemComponent,
2500
+ onVisibleChange = props.onVisibleChange,
2501
+ restProps = _objectWithoutProperties(props, _excluded);
2502
+ var fullySSR = ssr === 'full';
2503
+ var notifyEffectUpdate = useBatcher();
2504
+ var _useEffectState = useEffectState(notifyEffectUpdate, null),
2505
+ _useEffectState2 = _slicedToArray(_useEffectState, 2),
2506
+ containerWidth = _useEffectState2[0],
2507
+ setContainerWidth = _useEffectState2[1];
2508
+ var mergedContainerWidth = containerWidth || 0;
2509
+ var _useEffectState3 = useEffectState(notifyEffectUpdate, new Map()),
2510
+ _useEffectState4 = _slicedToArray(_useEffectState3, 2),
2511
+ itemWidths = _useEffectState4[0],
2512
+ setItemWidths = _useEffectState4[1];
2513
+ var _useEffectState5 = useEffectState(notifyEffectUpdate, 0),
2514
+ _useEffectState6 = _slicedToArray(_useEffectState5, 2),
2515
+ prevRestWidth = _useEffectState6[0],
2516
+ setPrevRestWidth = _useEffectState6[1];
2517
+ var _useEffectState7 = useEffectState(notifyEffectUpdate, 0),
2518
+ _useEffectState8 = _slicedToArray(_useEffectState7, 2),
2519
+ restWidth = _useEffectState8[0],
2520
+ setRestWidth = _useEffectState8[1];
2521
+ var _useEffectState9 = useEffectState(notifyEffectUpdate, 0),
2522
+ _useEffectState10 = _slicedToArray(_useEffectState9, 2),
2523
+ suffixWidth = _useEffectState10[0],
2524
+ setSuffixWidth = _useEffectState10[1];
2525
+ var _useState = react.useState(null),
2526
+ _useState2 = _slicedToArray(_useState, 2),
2527
+ suffixFixedStart = _useState2[0],
2528
+ setSuffixFixedStart = _useState2[1];
2529
+ var _useState3 = react.useState(null),
2530
+ _useState4 = _slicedToArray(_useState3, 2),
2531
+ displayCount = _useState4[0],
2532
+ setDisplayCount = _useState4[1];
2533
+ var mergedDisplayCount = react.useMemo(function () {
2534
+ if (displayCount === null && fullySSR) {
2535
+ return Number.MAX_SAFE_INTEGER;
2536
+ }
2537
+ return displayCount || 0;
2538
+ }, [displayCount, containerWidth]);
2539
+ var _useState5 = react.useState(false),
2540
+ _useState6 = _slicedToArray(_useState5, 2),
2541
+ restReady = _useState6[0],
2542
+ setRestReady = _useState6[1];
2543
+ var itemPrefixCls = "".concat(prefixCls, "-item");
2544
+ // Always use the max width to avoid blink
2545
+ var mergedRestWidth = Math.max(prevRestWidth, restWidth);
2546
+ // ================================= Data =================================
2547
+ var isResponsive = maxCount === RESPONSIVE;
2548
+ var shouldResponsive = data.length && isResponsive;
2549
+ var invalidate = maxCount === INVALIDATE;
2550
+ /**
2551
+ * When is `responsive`, we will always render rest node to get the real width of it for calculation
2552
+ */
2553
+ var showRest = shouldResponsive || typeof maxCount === 'number' && data.length > maxCount;
2554
+ var mergedData = react.useMemo(function () {
2555
+ var items = data;
2556
+ if (shouldResponsive) {
2557
+ if (containerWidth === null && fullySSR) {
2558
+ items = data;
2559
+ } else {
2560
+ items = data.slice(0, Math.min(data.length, mergedContainerWidth / itemWidth));
2561
+ }
2562
+ } else if (typeof maxCount === 'number') {
2563
+ items = data.slice(0, maxCount);
2564
+ }
2565
+ return items;
2566
+ }, [data, itemWidth, containerWidth, maxCount, shouldResponsive]);
2567
+ var omittedItems = react.useMemo(function () {
2568
+ if (shouldResponsive) {
2569
+ return data.slice(mergedDisplayCount + 1);
2570
+ }
2571
+ return data.slice(mergedData.length);
2572
+ }, [data, mergedData, shouldResponsive, mergedDisplayCount]);
2573
+ // ================================= Item =================================
2574
+ var getKey = react.useCallback(function (item, index) {
2575
+ var _ref;
2576
+ if (typeof itemKey === 'function') {
2577
+ return itemKey(item);
2578
+ }
2579
+ return (_ref = itemKey && (item === null || item === void 0 ? void 0 : item[itemKey])) !== null && _ref !== void 0 ? _ref : index;
2580
+ }, [itemKey]);
2581
+ var mergedRenderItem = react.useCallback(renderItem || function (item) {
2582
+ return item;
2583
+ }, [renderItem]);
2584
+ function updateDisplayCount(count, suffixFixedStartVal, notReady) {
2585
+ // React 18 will sync render even when the value is same in some case.
2586
+ // We take `mergedData` as deps which may cause dead loop if it's dynamic generate.
2587
+ // ref: https://github.com/ant-design/ant-design/issues/36559
2588
+ if (displayCount === count && (suffixFixedStartVal === undefined || suffixFixedStartVal === suffixFixedStart)) {
2589
+ return;
2590
+ }
2591
+ setDisplayCount(count);
2592
+ if (!notReady) {
2593
+ setRestReady(count < data.length - 1);
2594
+ onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(count);
2595
+ }
2596
+ if (suffixFixedStartVal !== undefined) {
2597
+ setSuffixFixedStart(suffixFixedStartVal);
2598
+ }
2599
+ }
2600
+ // ================================= Size =================================
2601
+ function onOverflowResize(_, element) {
2602
+ setContainerWidth(element.clientWidth);
2603
+ }
2604
+ function registerSize(key, width) {
2605
+ setItemWidths(function (origin) {
2606
+ var clone = new Map(origin);
2607
+ if (width === null) {
2608
+ clone.delete(key);
2609
+ } else {
2610
+ clone.set(key, width);
2611
+ }
2612
+ return clone;
2613
+ });
2614
+ }
2615
+ function registerOverflowSize(_, width) {
2616
+ setRestWidth(width);
2617
+ setPrevRestWidth(restWidth);
2618
+ }
2619
+ function registerSuffixSize(_, width) {
2620
+ setSuffixWidth(width);
2621
+ }
2622
+ // ================================ Effect ================================
2623
+ function getItemWidth(index) {
2624
+ return itemWidths.get(getKey(mergedData[index], index));
2625
+ }
2626
+ useLayoutEffect(function () {
2627
+ if (mergedContainerWidth && typeof mergedRestWidth === 'number' && mergedData) {
2628
+ var totalWidth = suffixWidth;
2629
+ var len = mergedData.length;
2630
+ var lastIndex = len - 1;
2631
+ // When data count change to 0, reset this since not loop will reach
2632
+ if (!len) {
2633
+ updateDisplayCount(0, null);
2634
+ return;
2635
+ }
2636
+ for (var i = 0; i < len; i += 1) {
2637
+ var currentItemWidth = getItemWidth(i);
2638
+ // Fully will always render
2639
+ if (fullySSR) {
2640
+ currentItemWidth = currentItemWidth || 0;
2641
+ }
2642
+ // Break since data not ready
2643
+ if (currentItemWidth === undefined) {
2644
+ updateDisplayCount(i - 1, undefined, true);
2645
+ break;
2646
+ }
2647
+ // Find best match
2648
+ totalWidth += currentItemWidth;
2649
+ if (
2650
+ // Only one means `totalWidth` is the final width
2651
+ lastIndex === 0 && totalWidth <= mergedContainerWidth ||
2652
+ // Last two width will be the final width
2653
+ i === lastIndex - 1 && totalWidth + getItemWidth(lastIndex) <= mergedContainerWidth) {
2654
+ // Additional check if match the end
2655
+ updateDisplayCount(lastIndex, null);
2656
+ break;
2657
+ } else if (totalWidth + mergedRestWidth > mergedContainerWidth) {
2658
+ // Can not hold all the content to show rest
2659
+ updateDisplayCount(i - 1, totalWidth - currentItemWidth - suffixWidth + restWidth);
2660
+ break;
2661
+ }
2662
+ }
2663
+ if (suffix && getItemWidth(0) + suffixWidth > mergedContainerWidth) {
2664
+ setSuffixFixedStart(null);
2665
+ }
2666
+ }
2667
+ }, [mergedContainerWidth, itemWidths, restWidth, suffixWidth, getKey, mergedData]);
2668
+ // ================================ Render ================================
2669
+ var displayRest = restReady && !!omittedItems.length;
2670
+ var suffixStyle = {};
2671
+ if (suffixFixedStart !== null && shouldResponsive) {
2672
+ suffixStyle = {
2673
+ position: 'absolute',
2674
+ left: suffixFixedStart,
2675
+ top: 0
2676
+ };
2677
+ }
2678
+ var itemSharedProps = {
2679
+ prefixCls: itemPrefixCls,
2680
+ responsive: shouldResponsive,
2681
+ component: itemComponent,
2682
+ invalidate: invalidate
2683
+ };
2684
+ // >>>>> Choice render fun by `renderRawItem`
2685
+ var internalRenderItemNode = renderRawItem ? function (item, index) {
2686
+ var key = getKey(item, index);
2687
+ return /*#__PURE__*/react.createElement(OverflowContext.Provider, {
2688
+ key: key,
2689
+ value: _objectSpread2(_objectSpread2({}, itemSharedProps), {}, {
2690
+ order: index,
2691
+ item: item,
2692
+ itemKey: key,
2693
+ registerSize: registerSize,
2694
+ display: index <= mergedDisplayCount
2695
+ })
2696
+ }, renderRawItem(item, index));
2697
+ } : function (item, index) {
2698
+ var key = getKey(item, index);
2699
+ return /*#__PURE__*/react.createElement(Item, _extends({}, itemSharedProps, {
2700
+ order: index,
2701
+ key: key,
2702
+ item: item,
2703
+ renderItem: mergedRenderItem,
2704
+ itemKey: key,
2705
+ registerSize: registerSize,
2706
+ display: index <= mergedDisplayCount
2707
+ }));
2708
+ };
2709
+ // >>>>> Rest node
2710
+ var restNode;
2711
+ var restContextProps = {
2712
+ order: displayRest ? mergedDisplayCount : Number.MAX_SAFE_INTEGER,
2713
+ className: "".concat(itemPrefixCls, "-rest"),
2714
+ registerSize: registerOverflowSize,
2715
+ display: displayRest
2716
+ };
2717
+ if (!renderRawRest) {
2718
+ var mergedRenderRest = renderRest || defaultRenderRest;
2719
+ restNode = /*#__PURE__*/react.createElement(Item, _extends({}, itemSharedProps, restContextProps), typeof mergedRenderRest === 'function' ? mergedRenderRest(omittedItems) : mergedRenderRest);
2720
+ } else if (renderRawRest) {
2721
+ restNode = /*#__PURE__*/react.createElement(OverflowContext.Provider, {
2722
+ value: _objectSpread2(_objectSpread2({}, itemSharedProps), restContextProps)
2723
+ }, renderRawRest(omittedItems));
2724
+ }
2725
+ var overflowNode = /*#__PURE__*/react.createElement(Component, _extends({
2726
+ className: index$1.classnames(!invalidate && prefixCls, className),
2727
+ style: style,
2728
+ ref: ref
2729
+ }, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /*#__PURE__*/react.createElement(Item, _extends({}, itemSharedProps, {
2730
+ responsive: isResponsive,
2731
+ responsiveDisabled: !shouldResponsive,
2732
+ order: mergedDisplayCount,
2733
+ className: "".concat(itemPrefixCls, "-suffix"),
2734
+ registerSize: registerSuffixSize,
2735
+ display: true,
2736
+ style: suffixStyle
2737
+ }), suffix));
2738
+ if (isResponsive) {
2739
+ overflowNode = /*#__PURE__*/react.createElement(RefResizeObserver, {
2740
+ onResize: onOverflowResize,
2741
+ disabled: !shouldResponsive
2742
+ }, overflowNode);
2743
+ }
2744
+ return overflowNode;
2745
+ }
2746
+ var ForwardOverflow = /*#__PURE__*/react.forwardRef(Overflow);
2747
+ ForwardOverflow.displayName = 'Overflow';
2748
+ ForwardOverflow.Item = RawItem;
2749
+ ForwardOverflow.RESPONSIVE = RESPONSIVE;
2750
+ ForwardOverflow.INVALIDATE = INVALIDATE;
2751
+
2752
+ exports.ForwardOverflow = ForwardOverflow;
2753
+ exports.React = React;
2754
+ exports.RefResizeObserver = RefResizeObserver;
2755
+ exports._typeof = _typeof$2;
2756
+ exports.canUseDom = canUseDom;
2757
+ exports.composeRef = composeRef;
2758
+ exports.fillRef = fillRef;
2759
+ exports.findDOMNode = findDOMNode;
2760
+ exports.isDOM = isDOM;
2761
+ exports.react = react;
2762
+ exports.reactDom = reactDom;
2763
+ exports.supportRef = supportRef;
2764
+ exports.useComposeRef = useComposeRef;
2765
+ exports.useEvent = useEvent;
2766
+ exports.useLayoutEffect = useLayoutEffect;
2767
+ exports.useLayoutUpdateEffect = useLayoutUpdateEffect;
2768
+ exports.warningOnce = warningOnce;
2769
+ exports.wrapperRaf = wrapperRaf;