@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.5 → 0.0.1-alpha.50

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 (261) hide show
  1. package/dist/openapi-k8s-toolkit.es.js +19736 -35225
  2. package/dist/openapi-k8s-toolkit.es.js.map +1 -1
  3. package/dist/openapi-k8s-toolkit.umd.js +517 -410
  4. package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
  5. package/dist/types/api/bff/scopes/checkScopes.d.ts +11 -0
  6. package/dist/types/api/bff/scopes/filterScopes.d.ts +22 -0
  7. package/dist/types/api/bff/swagger/getSwagger.d.ts +5 -0
  8. package/dist/types/api/forms.d.ts +12 -0
  9. package/dist/types/api/getApiResource.d.ts +17 -0
  10. package/dist/types/api/getApiResourceTypes.d.ts +9 -0
  11. package/dist/types/api/getBuiltinResource.d.ts +13 -0
  12. package/dist/types/api/getBuiltinResourceTypes.d.ts +4 -0
  13. package/dist/types/api/getClusterList.d.ts +3 -0
  14. package/dist/types/api/getCrdData.d.ts +6 -0
  15. package/dist/types/api/getCrdResource.d.ts +16 -0
  16. package/dist/types/api/permissions.d.ts +14 -0
  17. package/dist/types/components/atoms/ContentCard/ContentCard.d.ts +8 -0
  18. package/dist/types/components/atoms/ContentCard/index.d.ts +2 -0
  19. package/dist/types/components/atoms/ContentCard/styled.d.ts +13 -0
  20. package/dist/types/components/atoms/DeleteModal/DeleteModal.d.ts +7 -0
  21. package/dist/types/components/atoms/DeleteModal/index.d.ts +2 -0
  22. package/dist/types/components/atoms/DeleteModalMany/DeleteModalMany.d.ts +9 -0
  23. package/dist/types/components/atoms/DeleteModalMany/index.d.ts +2 -0
  24. package/dist/types/components/atoms/Icons/BackToDefaultIcon.d.ts +2 -0
  25. package/dist/types/components/atoms/Icons/CustomFeedBackIcons.d.ts +6 -0
  26. package/dist/types/components/atoms/Icons/DeleteIcon.d.ts +2 -0
  27. package/dist/types/components/atoms/Icons/DownIcon.d.ts +2 -0
  28. package/dist/types/components/atoms/Icons/EditIcon.d.ts +2 -0
  29. package/dist/types/components/atoms/Icons/LockedIcon.d.ts +2 -0
  30. package/dist/types/components/atoms/Icons/MinusIcon.d.ts +2 -0
  31. package/dist/types/components/atoms/Icons/PlusIcon.d.ts +2 -0
  32. package/dist/types/components/atoms/Icons/SuccessIcon.d.ts +2 -0
  33. package/dist/types/components/atoms/Icons/UnlockedIcon.d.ts +2 -0
  34. package/dist/types/components/atoms/Icons/UpIcon.d.ts +2 -0
  35. package/dist/types/components/atoms/Icons/index.d.ts +11 -0
  36. package/dist/types/components/atoms/Spacer/Spacer.d.ts +7 -0
  37. package/dist/types/components/atoms/Spacer/index.d.ts +2 -0
  38. package/dist/types/components/atoms/TreeWithSearch/TreeWithSearch.d.ts +7 -0
  39. package/dist/types/components/atoms/TreeWithSearch/index.d.ts +2 -0
  40. package/dist/types/components/atoms/TreeWithSearch/styled.d.ts +276 -0
  41. package/dist/types/components/atoms/index.d.ts +6 -0
  42. package/dist/types/components/index.d.ts +2 -0
  43. package/dist/types/components/molecules/BlackholeForm/atoms/ArrayInsideContainer/ArrayInsideContainer.d.ts +4 -0
  44. package/dist/types/components/molecules/BlackholeForm/atoms/ArrayInsideContainer/index.d.ts +1 -0
  45. package/dist/types/components/molecules/BlackholeForm/atoms/ArrayInsideContainer/styled.d.ts +9 -0
  46. package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/CustomCollapse.d.ts +13 -0
  47. package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/index.d.ts +1 -0
  48. package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/styled.d.ts +288 -0
  49. package/dist/types/components/molecules/BlackholeForm/atoms/CustomSizeTitle/CustomSizeTitle.d.ts +6 -0
  50. package/dist/types/components/molecules/BlackholeForm/atoms/CustomSizeTitle/index.d.ts +1 -0
  51. package/dist/types/components/molecules/BlackholeForm/atoms/DebugNameViewer/DebugNameViewer.d.ts +11 -0
  52. package/dist/types/components/molecules/BlackholeForm/atoms/DebugNameViewer/index.d.ts +1 -0
  53. package/dist/types/components/molecules/BlackholeForm/atoms/HeightContainer/HeightContainer.d.ts +6 -0
  54. package/dist/types/components/molecules/BlackholeForm/atoms/HeightContainer/index.d.ts +1 -0
  55. package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/HiddenContainer.d.ts +8 -0
  56. package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/index.d.ts +1 -0
  57. package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/PersistedCheckbox.d.ts +9 -0
  58. package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/index.d.ts +1 -0
  59. package/dist/types/components/molecules/BlackholeForm/atoms/PossibleHiddenContainer/PossibleHiddenContainer.d.ts +6 -0
  60. package/dist/types/components/molecules/BlackholeForm/atoms/PossibleHiddenContainer/index.d.ts +1 -0
  61. package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/ResetedFormItem.d.ts +49 -0
  62. package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/index.d.ts +1 -0
  63. package/dist/types/components/molecules/BlackholeForm/atoms/index.d.ts +9 -0
  64. package/dist/types/components/molecules/BlackholeForm/index.d.ts +1 -0
  65. package/dist/types/components/molecules/BlackholeForm/molecules/FormArrayHeader/FormArrayHeader.d.ts +16 -0
  66. package/dist/types/components/molecules/BlackholeForm/molecules/FormArrayHeader/index.d.ts +1 -0
  67. package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/FormBooleanInput.d.ts +16 -0
  68. package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/index.d.ts +1 -0
  69. package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/styled.d.ts +548 -0
  70. package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/FormEnumStringInput.d.ts +20 -0
  71. package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/index.d.ts +1 -0
  72. package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/FormListInput.d.ts +22 -0
  73. package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/index.d.ts +1 -0
  74. package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/FormNamespaceInput.d.ts +12 -0
  75. package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/index.d.ts +1 -0
  76. package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/FormNumberInput.d.ts +20 -0
  77. package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/index.d.ts +1 -0
  78. package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/FormObjectFromSwagger.d.ts +35 -0
  79. package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/index.d.ts +1 -0
  80. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/FormRangeInput.d.ts +19 -0
  81. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/index.d.ts +1 -0
  82. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/RangeInput.d.ts +19 -0
  83. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/index.d.ts +1 -0
  84. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/index.d.ts +1 -0
  85. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/utils.d.ts +18 -0
  86. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/FormStringInput.d.ts +19 -0
  87. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/index.d.ts +1 -0
  88. package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/YamlEditor.d.ts +8 -0
  89. package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/index.d.ts +1 -0
  90. package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/styled.d.ts +276 -0
  91. package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/YamlEditorSingleton.d.ts +17 -0
  92. package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/index.d.ts +1 -0
  93. package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/styled.d.ts +13 -0
  94. package/dist/types/components/molecules/BlackholeForm/molecules/index.d.ts +11 -0
  95. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +33 -0
  96. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/context.d.ts +27 -0
  97. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/index.d.ts +2 -0
  98. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/styled.d.ts +311 -0
  99. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utils.d.ts +192 -0
  100. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utilsErrorHandler.d.ts +16 -0
  101. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/BlackholeFormDataProvider.d.ts +36 -0
  102. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/index.d.ts +2 -0
  103. package/dist/types/components/molecules/BlackholeForm/organisms/index.d.ts +2 -0
  104. package/dist/types/components/molecules/EnrichedTable/EnrichedTable.d.ts +30 -0
  105. package/dist/types/components/molecules/EnrichedTable/atoms/FilterDropdown/FilterDropdown.d.ts +11 -0
  106. package/dist/types/components/molecules/EnrichedTable/atoms/FilterDropdown/index.d.ts +1 -0
  107. package/dist/types/components/molecules/EnrichedTable/atoms/ShortenedTextWithTooltip/ShortenedTextWithTooltip.d.ts +8 -0
  108. package/dist/types/components/molecules/EnrichedTable/atoms/ShortenedTextWithTooltip/index.d.ts +1 -0
  109. package/dist/types/components/molecules/EnrichedTable/atoms/ShortenedTextWithTooltip/styled.d.ts +9 -0
  110. package/dist/types/components/molecules/EnrichedTable/atoms/TableComponents/TableComponents.d.ts +284 -0
  111. package/dist/types/components/molecules/EnrichedTable/atoms/TableComponents/index.d.ts +1 -0
  112. package/dist/types/components/molecules/EnrichedTable/atoms/TextAlignContainer/TextAlignContainer.d.ts +6 -0
  113. package/dist/types/components/molecules/EnrichedTable/atoms/TextAlignContainer/index.d.ts +1 -0
  114. package/dist/types/components/molecules/EnrichedTable/atoms/TinyButton/TinyButton.d.ts +312 -0
  115. package/dist/types/components/molecules/EnrichedTable/atoms/TinyButton/index.d.ts +1 -0
  116. package/dist/types/components/molecules/EnrichedTable/atoms/TrimmedTags/TrimmedTags.d.ts +7 -0
  117. package/dist/types/components/molecules/EnrichedTable/atoms/TrimmedTags/index.d.ts +1 -0
  118. package/dist/types/components/molecules/EnrichedTable/atoms/index.d.ts +6 -0
  119. package/dist/types/components/molecules/EnrichedTable/index.d.ts +3 -0
  120. package/dist/types/components/molecules/EnrichedTable/types.d.ts +16 -0
  121. package/dist/types/components/molecules/EnrichedTable/utils.d.ts +17 -0
  122. package/dist/types/components/molecules/EnrichedTableProvider/EnrichedTableProvider.d.ts +45 -0
  123. package/dist/types/components/molecules/EnrichedTableProvider/index.d.ts +3 -0
  124. package/dist/types/components/molecules/EnrichedTableProvider/utils.d.ts +25 -0
  125. package/dist/types/components/molecules/ManageableBreadcrumbs/ManageableBreadcrumbs.d.ts +12 -3
  126. package/dist/types/components/molecules/ManageableBreadcrumbs/index.d.ts +2 -2
  127. package/dist/types/components/molecules/ManageableBreadcrumbs/styled.d.ts +3 -3
  128. package/dist/types/components/molecules/ManageableBreadcrumbs/types.d.ts +1 -1
  129. package/dist/types/components/molecules/ManageableBreadcrumbs/utils.d.ts +3 -7
  130. package/dist/types/components/molecules/ManageableSidebar/ManageableSidebar.d.ts +22 -0
  131. package/dist/types/components/molecules/ManageableSidebar/index.d.ts +3 -0
  132. package/dist/types/components/molecules/ManageableSidebar/styled.d.ts +10 -0
  133. package/dist/types/components/molecules/ManageableSidebar/types.d.ts +19 -0
  134. package/dist/types/components/molecules/ManageableSidebar/utils.d.ts +16 -0
  135. package/dist/types/components/molecules/MarketPlace/MarketPlace.d.ts +11 -0
  136. package/dist/types/components/molecules/MarketPlace/atoms/AddCard/AddCard.d.ts +6 -0
  137. package/dist/types/components/molecules/MarketPlace/atoms/AddCard/index.d.ts +1 -0
  138. package/dist/types/components/molecules/MarketPlace/atoms/AddCard/styled.d.ts +310 -0
  139. package/dist/types/components/molecules/MarketPlace/atoms/index.d.ts +1 -0
  140. package/dist/types/components/molecules/MarketPlace/index.d.ts +4 -0
  141. package/dist/types/components/molecules/MarketPlace/molecules/AddEditFormModal/AddEditFormModal.d.ts +17 -0
  142. package/dist/types/components/molecules/MarketPlace/molecules/AddEditFormModal/index.d.ts +1 -0
  143. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/MarketplaceCard.d.ts +12 -0
  144. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/index.d.ts +1 -0
  145. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/styled.d.ts +1924 -0
  146. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/utils.d.ts +28 -0
  147. package/dist/types/components/molecules/MarketPlace/molecules/SearchTextInput/SearchTextInput.d.ts +8 -0
  148. package/dist/types/components/molecules/MarketPlace/molecules/SearchTextInput/index.d.ts +1 -0
  149. package/dist/types/components/molecules/MarketPlace/molecules/index.d.ts +3 -0
  150. package/dist/types/components/molecules/MarketPlace/styled.d.ts +276 -0
  151. package/dist/types/components/molecules/ProjectInfoCard/ProjectInfoCard.d.ts +15 -0
  152. package/dist/types/components/molecules/ProjectInfoCard/index.d.ts +2 -0
  153. package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownAccessGroups/DropdownAccessGroups.d.ts +6 -0
  154. package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownAccessGroups/index.d.ts +1 -0
  155. package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownActions/DropdownActions.d.ts +7 -0
  156. package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownActions/index.d.ts +1 -0
  157. package/dist/types/components/molecules/ProjectInfoCard/molecules/index.d.ts +2 -0
  158. package/dist/types/components/molecules/ProjectInfoCard/styled.d.ts +548 -0
  159. package/dist/types/components/molecules/index.d.ts +6 -0
  160. package/dist/types/components/organisms/DynamicComponents/DynamicComponents.d.ts +3 -0
  161. package/dist/types/components/organisms/DynamicComponents/index.d.ts +2 -0
  162. package/dist/types/components/organisms/DynamicComponents/molecules/AntdButton/AntdButton.d.ts +6 -0
  163. package/dist/types/components/organisms/DynamicComponents/molecules/AntdButton/index.d.ts +1 -0
  164. package/dist/types/components/organisms/DynamicComponents/molecules/AntdCard/AntdCard.d.ts +6 -0
  165. package/dist/types/components/organisms/DynamicComponents/molecules/AntdCard/index.d.ts +1 -0
  166. package/dist/types/components/organisms/DynamicComponents/molecules/AntdCol/AntdCol.d.ts +6 -0
  167. package/dist/types/components/organisms/DynamicComponents/molecules/AntdCol/index.d.ts +1 -0
  168. package/dist/types/components/organisms/DynamicComponents/molecules/AntdFlex/AntdFlex.d.ts +6 -0
  169. package/dist/types/components/organisms/DynamicComponents/molecules/AntdFlex/index.d.ts +1 -0
  170. package/dist/types/components/organisms/DynamicComponents/molecules/AntdRow/AntdRow.d.ts +6 -0
  171. package/dist/types/components/organisms/DynamicComponents/molecules/AntdRow/index.d.ts +1 -0
  172. package/dist/types/components/organisms/DynamicComponents/molecules/AntdTabs/AntdTabs.d.ts +6 -0
  173. package/dist/types/components/organisms/DynamicComponents/molecules/AntdTabs/index.d.ts +1 -0
  174. package/dist/types/components/organisms/DynamicComponents/molecules/AntdText/AntdText.d.ts +6 -0
  175. package/dist/types/components/organisms/DynamicComponents/molecules/AntdText/index.d.ts +1 -0
  176. package/dist/types/components/organisms/DynamicComponents/molecules/ContentCard/ContentCard.d.ts +6 -0
  177. package/dist/types/components/organisms/DynamicComponents/molecules/ContentCard/index.d.ts +1 -0
  178. package/dist/types/components/organisms/DynamicComponents/molecules/DefaultDiv/DefaultDiv.d.ts +6 -0
  179. package/dist/types/components/organisms/DynamicComponents/molecules/DefaultDiv/index.d.ts +1 -0
  180. package/dist/types/components/organisms/DynamicComponents/molecules/MarketplaceCard/MarketplaceCard.d.ts +6 -0
  181. package/dist/types/components/organisms/DynamicComponents/molecules/MarketplaceCard/index.d.ts +1 -0
  182. package/dist/types/components/organisms/DynamicComponents/molecules/MultiQuery/MultiQuery.d.ts +5 -0
  183. package/dist/types/components/organisms/DynamicComponents/molecules/MultiQuery/index.d.ts +1 -0
  184. package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/ParsedText.d.ts +5 -0
  185. package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/index.d.ts +1 -0
  186. package/dist/types/components/organisms/DynamicComponents/molecules/PartsOfUrl/PartsOfUrl.d.ts +5 -0
  187. package/dist/types/components/organisms/DynamicComponents/molecules/PartsOfUrl/index.d.ts +1 -0
  188. package/dist/types/components/organisms/DynamicComponents/molecules/ProjectInfoCard/ProjectInfoCard.d.ts +6 -0
  189. package/dist/types/components/organisms/DynamicComponents/molecules/ProjectInfoCard/index.d.ts +1 -0
  190. package/dist/types/components/organisms/DynamicComponents/molecules/SidebarProvider/SidebarProvider.d.ts +6 -0
  191. package/dist/types/components/organisms/DynamicComponents/molecules/SidebarProvider/index.d.ts +1 -0
  192. package/dist/types/components/organisms/DynamicComponents/molecules/Spacer/Spacer.d.ts +6 -0
  193. package/dist/types/components/organisms/DynamicComponents/molecules/Spacer/index.d.ts +1 -0
  194. package/dist/types/components/organisms/DynamicComponents/molecules/StatusText/StatusText.d.ts +6 -0
  195. package/dist/types/components/organisms/DynamicComponents/molecules/StatusText/index.d.ts +1 -0
  196. package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +17 -0
  197. package/dist/types/components/organisms/DynamicComponents/types.d.ts +86 -0
  198. package/dist/types/components/organisms/DynamicRenderer/DynamicRenderer.d.ts +7 -0
  199. package/dist/types/components/organisms/DynamicRenderer/index.d.ts +2 -0
  200. package/dist/types/components/organisms/DynamicRendererWithProviders/DynamicRendererWithProviders.d.ts +6 -0
  201. package/dist/types/components/organisms/DynamicRendererWithProviders/index.d.ts +1 -0
  202. package/dist/types/components/organisms/DynamicRendererWithProviders/multiQueryProvider.d.ts +17 -0
  203. package/dist/types/components/organisms/DynamicRendererWithProviders/partsOfUrlContext.d.ts +9 -0
  204. package/dist/types/components/organisms/index.d.ts +3 -0
  205. package/dist/types/hooks/useApiResource.d.ts +28 -0
  206. package/dist/types/hooks/useApisResourceTypes.d.ts +30 -0
  207. package/dist/types/hooks/useBuiltinResource.d.ts +24 -0
  208. package/dist/types/hooks/useBuiltinResourceTypes.d.ts +4 -0
  209. package/dist/types/hooks/useClusterList.d.ts +3 -0
  210. package/dist/types/hooks/useCrdData.d.ts +25 -0
  211. package/dist/types/hooks/useCrdResource.d.ts +38 -0
  212. package/dist/types/hooks/useDirectUnknownResource.d.ts +2 -1
  213. package/dist/types/hooks/usePermissions.d.ts +13 -0
  214. package/dist/types/index.d.ts +34 -0
  215. package/dist/types/localTypes/JSON.d.ts +3 -0
  216. package/dist/types/localTypes/api.d.ts +8 -0
  217. package/dist/types/localTypes/bff/form.d.ts +52 -0
  218. package/dist/types/localTypes/bff/scopes.d.ts +33 -0
  219. package/dist/types/localTypes/bff/swagger.d.ts +2 -0
  220. package/dist/types/localTypes/clusterList.d.ts +7 -0
  221. package/dist/types/localTypes/dynamicRender.d.ts +29 -0
  222. package/dist/types/localTypes/form.d.ts +26 -0
  223. package/dist/types/localTypes/formExtensions.d.ts +52 -0
  224. package/dist/types/localTypes/k8s.d.ts +96 -0
  225. package/dist/types/localTypes/marketplace.d.ts +27 -0
  226. package/dist/types/localTypes/richTable.d.ts +31 -0
  227. package/dist/types/utils/createContextFactory/createContextFactory.d.ts +7 -0
  228. package/dist/types/utils/createContextFactory/index.d.ts +1 -0
  229. package/dist/types/utils/filterSelectOptions/filterSelectOptions.d.ts +2 -0
  230. package/dist/types/utils/filterSelectOptions/index.d.ts +1 -0
  231. package/dist/types/utils/getAllPathsFromObj/getAllPathsFromObj.d.ts +3 -0
  232. package/dist/types/utils/getAllPathsFromObj/index.d.ts +1 -0
  233. package/dist/types/utils/getGroupsByCategory/getGroupsByCategory.d.ts +53 -0
  234. package/dist/types/utils/getGroupsByCategory/index.d.ts +1 -0
  235. package/dist/types/utils/getPrefixSubArrays/getPrefixSubArrays.d.ts +1 -0
  236. package/dist/types/utils/getPrefixSubArrays/index.d.ts +1 -0
  237. package/dist/types/utils/getStringByName/getStringByName.d.ts +2 -0
  238. package/dist/types/utils/getStringByName/index.d.ts +1 -0
  239. package/dist/types/utils/groupsToTreeData/groupsToTreeData.d.ts +7 -0
  240. package/dist/types/utils/groupsToTreeData/index.d.ts +1 -0
  241. package/dist/types/utils/index.d.ts +14 -0
  242. package/dist/types/utils/isFlatObject/index.d.ts +1 -0
  243. package/dist/types/utils/isFlatObject/isFlatObject.d.ts +1 -0
  244. package/dist/types/utils/nestedStringsArrayInclude/index.d.ts +1 -0
  245. package/dist/types/utils/nestedStringsArrayInclude/nestedStringsArrayInclude.d.ts +1 -0
  246. package/dist/types/utils/normalizeValuesForQuotas/index.d.ts +1 -0
  247. package/dist/types/utils/normalizeValuesForQuotas/normalizeValuesForQuotas.d.ts +2 -0
  248. package/dist/types/utils/parseColumnsOverrides/guards.d.ts +21 -0
  249. package/dist/types/utils/parseColumnsOverrides/index.d.ts +2 -0
  250. package/dist/types/utils/parseColumnsOverrides/parseColumnsOverrides.d.ts +22 -0
  251. package/dist/types/utils/parseForQuotaValues/index.d.ts +1 -0
  252. package/dist/types/utils/parseForQuotaValues/parseForQuotaValues.d.ts +4 -0
  253. package/dist/types/utils/prepareTableMappings/index.d.ts +1 -0
  254. package/dist/types/utils/prepareTableMappings/prepareTableMappings.d.ts +20 -0
  255. package/dist/types/utils/prepareTemplate/index.d.ts +1 -0
  256. package/dist/types/utils/prepareTemplate/prepareTemplate.d.ts +4 -0
  257. package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/index.d.ts +1 -0
  258. package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/prepareUrlsToFetchForDynamicRenderer.d.ts +4 -0
  259. package/package.json +25 -15
  260. package/dist/types/components/molecules/ManageableBreadcrumbs/prepareDataForManageableBreadcrumbs.test.d.ts +0 -1
  261. /package/dist/types/{components/molecules/ManageableBreadcrumbs → utils/prepareTemplate}/prepareTemplate.test.d.ts +0 -0
@@ -1,406 +1,6 @@
1
- (function(xc,yp){typeof exports=="object"&&typeof module<"u"?yp(exports):typeof define=="function"&&define.amd?define(["exports"],yp):(xc=typeof globalThis<"u"?globalThis:xc||self,yp(xc["@prorobotech/openapi-k8s-toolkit"]={}))})(this,function(xc){"use strict";function yp(n,i){for(var a=0;a<i.length;a++){const u=i[a];if(typeof u!="string"&&!Array.isArray(u)){for(const s in u)if(s!=="default"&&!(s in n)){const p=Object.getOwnPropertyDescriptor(u,s);p&&Object.defineProperty(n,s,p.get?p:{enumerable:!0,get:()=>u[s]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function aA(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var vR={exports:{}},oa=vR.exports={},Bl,Wl;function xS(){throw new Error("setTimeout has not been defined")}function RS(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Bl=setTimeout:Bl=xS}catch{Bl=xS}try{typeof clearTimeout=="function"?Wl=clearTimeout:Wl=RS}catch{Wl=RS}})();function pR(n){if(Bl===setTimeout)return setTimeout(n,0);if((Bl===xS||!Bl)&&setTimeout)return Bl=setTimeout,setTimeout(n,0);try{return Bl(n,0)}catch{try{return Bl.call(null,n,0)}catch{return Bl.call(this,n,0)}}}function iA(n){if(Wl===clearTimeout)return clearTimeout(n);if((Wl===RS||!Wl)&&clearTimeout)return Wl=clearTimeout,clearTimeout(n);try{return Wl(n)}catch{try{return Wl.call(null,n)}catch{return Wl.call(this,n)}}}var Tu=[],ed=!1,Rc,dg=-1;function oA(){!ed||!Rc||(ed=!1,Rc.length?Tu=Rc.concat(Tu):dg=-1,Tu.length&&hR())}function hR(){if(!ed){var n=pR(oA);ed=!0;for(var i=Tu.length;i;){for(Rc=Tu,Tu=[];++dg<i;)Rc&&Rc[dg].run();dg=-1,i=Tu.length}Rc=null,ed=!1,iA(n)}}oa.nextTick=function(n){var i=new Array(arguments.length-1);if(arguments.length>1)for(var a=1;a<arguments.length;a++)i[a-1]=arguments[a];Tu.push(new mR(n,i)),Tu.length===1&&!ed&&pR(hR)};function mR(n,i){this.fun=n,this.array=i}mR.prototype.run=function(){this.fun.apply(null,this.array)},oa.title="browser",oa.browser=!0,oa.env={},oa.argv=[],oa.version="",oa.versions={};function Ou(){}oa.on=Ou,oa.addListener=Ou,oa.once=Ou,oa.off=Ou,oa.removeListener=Ou,oa.removeAllListeners=Ou,oa.emit=Ou,oa.prependListener=Ou,oa.prependOnceListener=Ou,oa.listeners=function(n){return[]},oa.binding=function(n){throw new Error("process.binding is not supported")},oa.cwd=function(){return"/"},oa.chdir=function(n){throw new Error("process.chdir is not supported")},oa.umask=function(){return 0};var lA=vR.exports;const ce=aA(lA);function TS(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var OS={exports:{}},bp={},vg={exports:{}},xn={};/**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var gR;function uA(){if(gR)return xn;gR=1;var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),d=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),C=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),R=Symbol.iterator;function O(B){return B===null||typeof B!="object"?null:(B=R&&B[R]||B["@@iterator"],typeof B=="function"?B:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,A={};function k(B,re,xe){this.props=B,this.context=re,this.refs=A,this.updater=xe||D}k.prototype.isReactComponent={},k.prototype.setState=function(B,re){if(typeof B!="object"&&typeof B!="function"&&B!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,B,re,"setState")},k.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function V(){}V.prototype=k.prototype;function $(B,re,xe){this.props=B,this.context=re,this.refs=A,this.updater=xe||D}var F=$.prototype=new V;F.constructor=$,N(F,k.prototype),F.isPureReactComponent=!0;var z=Array.isArray,I=Object.prototype.hasOwnProperty,H={current:null},W={key:!0,ref:!0,__self:!0,__source:!0};function Z(B,re,xe){var we,Pe={},Fe=null,Le=null;if(re!=null)for(we in re.ref!==void 0&&(Le=re.ref),re.key!==void 0&&(Fe=""+re.key),re)I.call(re,we)&&!W.hasOwnProperty(we)&&(Pe[we]=re[we]);var He=arguments.length-2;if(He===1)Pe.children=xe;else if(1<He){for(var Be=Array(He),ot=0;ot<He;ot++)Be[ot]=arguments[ot+2];Pe.children=Be}if(B&&B.defaultProps)for(we in He=B.defaultProps,He)Pe[we]===void 0&&(Pe[we]=He[we]);return{$$typeof:n,type:B,key:Fe,ref:Le,props:Pe,_owner:H.current}}function J(B,re){return{$$typeof:n,type:B.type,key:re,ref:B.ref,props:B.props,_owner:B._owner}}function U(B){return typeof B=="object"&&B!==null&&B.$$typeof===n}function q(B){var re={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(xe){return re[xe]})}var te=/\/+/g;function Y(B,re){return typeof B=="object"&&B!==null&&B.key!=null?q(""+B.key):re.toString(36)}function Q(B,re,xe,we,Pe){var Fe=typeof B;(Fe==="undefined"||Fe==="boolean")&&(B=null);var Le=!1;if(B===null)Le=!0;else switch(Fe){case"string":case"number":Le=!0;break;case"object":switch(B.$$typeof){case n:case i:Le=!0}}if(Le)return Le=B,Pe=Pe(Le),B=we===""?"."+Y(Le,0):we,z(Pe)?(xe="",B!=null&&(xe=B.replace(te,"$&/")+"/"),Q(Pe,re,xe,"",function(ot){return ot})):Pe!=null&&(U(Pe)&&(Pe=J(Pe,xe+(!Pe.key||Le&&Le.key===Pe.key?"":(""+Pe.key).replace(te,"$&/")+"/")+B)),re.push(Pe)),1;if(Le=0,we=we===""?".":we+":",z(B))for(var He=0;He<B.length;He++){Fe=B[He];var Be=we+Y(Fe,He);Le+=Q(Fe,re,xe,Be,Pe)}else if(Be=O(B),typeof Be=="function")for(B=Be.call(B),He=0;!(Fe=B.next()).done;)Fe=Fe.value,Be=we+Y(Fe,He++),Le+=Q(Fe,re,xe,Be,Pe);else if(Fe==="object")throw re=String(B),Error("Objects are not valid as a React child (found: "+(re==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":re)+"). If you meant to render a collection of children, use an array instead.");return Le}function se(B,re,xe){if(B==null)return B;var we=[],Pe=0;return Q(B,we,"","",function(Fe){return re.call(xe,Fe,Pe++)}),we}function ye(B){if(B._status===-1){var re=B._result;re=re(),re.then(function(xe){(B._status===0||B._status===-1)&&(B._status=1,B._result=xe)},function(xe){(B._status===0||B._status===-1)&&(B._status=2,B._result=xe)}),B._status===-1&&(B._status=0,B._result=re)}if(B._status===1)return B._result.default;throw B._result}var de={current:null},ne={transition:null},me={ReactCurrentDispatcher:de,ReactCurrentBatchConfig:ne,ReactCurrentOwner:H};function le(){throw Error("act(...) is not supported in production builds of React.")}return xn.Children={map:se,forEach:function(B,re,xe){se(B,function(){re.apply(this,arguments)},xe)},count:function(B){var re=0;return se(B,function(){re++}),re},toArray:function(B){return se(B,function(re){return re})||[]},only:function(B){if(!U(B))throw Error("React.Children.only expected to receive a single React element child.");return B}},xn.Component=k,xn.Fragment=a,xn.Profiler=s,xn.PureComponent=$,xn.StrictMode=u,xn.Suspense=y,xn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=me,xn.act=le,xn.cloneElement=function(B,re,xe){if(B==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+B+".");var we=N({},B.props),Pe=B.key,Fe=B.ref,Le=B._owner;if(re!=null){if(re.ref!==void 0&&(Fe=re.ref,Le=H.current),re.key!==void 0&&(Pe=""+re.key),B.type&&B.type.defaultProps)var He=B.type.defaultProps;for(Be in re)I.call(re,Be)&&!W.hasOwnProperty(Be)&&(we[Be]=re[Be]===void 0&&He!==void 0?He[Be]:re[Be])}var Be=arguments.length-2;if(Be===1)we.children=xe;else if(1<Be){He=Array(Be);for(var ot=0;ot<Be;ot++)He[ot]=arguments[ot+2];we.children=He}return{$$typeof:n,type:B.type,key:Pe,ref:Fe,props:we,_owner:Le}},xn.createContext=function(B){return B={$$typeof:d,_currentValue:B,_currentValue2:B,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},B.Provider={$$typeof:p,_context:B},B.Consumer=B},xn.createElement=Z,xn.createFactory=function(B){var re=Z.bind(null,B);return re.type=B,re},xn.createRef=function(){return{current:null}},xn.forwardRef=function(B){return{$$typeof:g,render:B}},xn.isValidElement=U,xn.lazy=function(B){return{$$typeof:x,_payload:{_status:-1,_result:B},_init:ye}},xn.memo=function(B,re){return{$$typeof:C,type:B,compare:re===void 0?null:re}},xn.startTransition=function(B){var re=ne.transition;ne.transition={};try{B()}finally{ne.transition=re}},xn.unstable_act=le,xn.useCallback=function(B,re){return de.current.useCallback(B,re)},xn.useContext=function(B){return de.current.useContext(B)},xn.useDebugValue=function(){},xn.useDeferredValue=function(B){return de.current.useDeferredValue(B)},xn.useEffect=function(B,re){return de.current.useEffect(B,re)},xn.useId=function(){return de.current.useId()},xn.useImperativeHandle=function(B,re,xe){return de.current.useImperativeHandle(B,re,xe)},xn.useInsertionEffect=function(B,re){return de.current.useInsertionEffect(B,re)},xn.useLayoutEffect=function(B,re){return de.current.useLayoutEffect(B,re)},xn.useMemo=function(B,re){return de.current.useMemo(B,re)},xn.useReducer=function(B,re,xe){return de.current.useReducer(B,re,xe)},xn.useRef=function(B){return de.current.useRef(B)},xn.useState=function(B){return de.current.useState(B)},xn.useSyncExternalStore=function(B,re,xe){return de.current.useSyncExternalStore(B,re,xe)},xn.useTransition=function(){return de.current.useTransition()},xn.version="18.3.1",xn}var Sp={exports:{}};Sp.exports;var yR;function sA(){return yR||(yR=1,function(n,i){ce.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var a="18.3.1",u=Symbol.for("react.element"),s=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),C=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),k=Symbol.iterator,V="@@iterator";function $(M){if(M===null||typeof M!="object")return null;var X=k&&M[k]||M[V];return typeof X=="function"?X:null}var F={current:null},z={transition:null},I={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},H={current:null},W={},Z=null;function J(M){Z=M}W.setExtraStackFrame=function(M){Z=M},W.getCurrentStack=null,W.getStackAddendum=function(){var M="";Z&&(M+=Z);var X=W.getCurrentStack;return X&&(M+=X()||""),M};var U=!1,q=!1,te=!1,Y=!1,Q=!1,se={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:z,ReactCurrentOwner:H};se.ReactDebugCurrentFrame=W,se.ReactCurrentActQueue=I;function ye(M){{for(var X=arguments.length,be=new Array(X>1?X-1:0),Re=1;Re<X;Re++)be[Re-1]=arguments[Re];ne("warn",M,be)}}function de(M){{for(var X=arguments.length,be=new Array(X>1?X-1:0),Re=1;Re<X;Re++)be[Re-1]=arguments[Re];ne("error",M,be)}}function ne(M,X,be){{var Re=se.ReactDebugCurrentFrame,Ue=Re.getStackAddendum();Ue!==""&&(X+="%s",be=be.concat([Ue]));var $t=be.map(function(Ze){return String(Ze)});$t.unshift("Warning: "+X),Function.prototype.apply.call(console[M],console,$t)}}var me={};function le(M,X){{var be=M.constructor,Re=be&&(be.displayName||be.name)||"ReactClass",Ue=Re+"."+X;if(me[Ue])return;de("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",X,Re),me[Ue]=!0}}var B={isMounted:function(M){return!1},enqueueForceUpdate:function(M,X,be){le(M,"forceUpdate")},enqueueReplaceState:function(M,X,be,Re){le(M,"replaceState")},enqueueSetState:function(M,X,be,Re){le(M,"setState")}},re=Object.assign,xe={};Object.freeze(xe);function we(M,X,be){this.props=M,this.context=X,this.refs=xe,this.updater=be||B}we.prototype.isReactComponent={},we.prototype.setState=function(M,X){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,X,"setState")},we.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};{var Pe={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Fe=function(M,X){Object.defineProperty(we.prototype,M,{get:function(){ye("%s(...) is deprecated in plain JavaScript React classes. %s",X[0],X[1])}})};for(var Le in Pe)Pe.hasOwnProperty(Le)&&Fe(Le,Pe[Le])}function He(){}He.prototype=we.prototype;function Be(M,X,be){this.props=M,this.context=X,this.refs=xe,this.updater=be||B}var ot=Be.prototype=new He;ot.constructor=Be,re(ot,we.prototype),ot.isPureReactComponent=!0;function tt(){var M={current:null};return Object.seal(M),M}var bt=Array.isArray;function St(M){return bt(M)}function _e(M){{var X=typeof Symbol=="function"&&Symbol.toStringTag,be=X&&M[Symbol.toStringTag]||M.constructor.name||"Object";return be}}function mt(M){try{return st(M),!1}catch{return!0}}function st(M){return""+M}function yn(M){if(mt(M))return de("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",_e(M)),st(M)}function rn(M,X,be){var Re=M.displayName;if(Re)return Re;var Ue=X.displayName||X.name||"";return Ue!==""?be+"("+Ue+")":be}function pn(M){return M.displayName||"Context"}function en(M){if(M==null)return null;if(typeof M.tag=="number"&&de("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof M=="function")return M.displayName||M.name||null;if(typeof M=="string")return M;switch(M){case p:return"Fragment";case s:return"Portal";case g:return"Profiler";case d:return"StrictMode";case R:return"Suspense";case O:return"SuspenseList"}if(typeof M=="object")switch(M.$$typeof){case C:var X=M;return pn(X)+".Consumer";case y:var be=M;return pn(be._context)+".Provider";case x:return rn(M,M.render,"ForwardRef");case D:var Re=M.displayName||null;return Re!==null?Re:en(M.type)||"Memo";case N:{var Ue=M,$t=Ue._payload,Ze=Ue._init;try{return en(Ze($t))}catch{return null}}}return null}var pt=Object.prototype.hasOwnProperty,jt={key:!0,ref:!0,__self:!0,__source:!0},Ke,an,Mt;Mt={};function Nt(M){if(pt.call(M,"ref")){var X=Object.getOwnPropertyDescriptor(M,"ref").get;if(X&&X.isReactWarning)return!1}return M.ref!==void 0}function Kn(M){if(pt.call(M,"key")){var X=Object.getOwnPropertyDescriptor(M,"key").get;if(X&&X.isReactWarning)return!1}return M.key!==void 0}function nr(M,X){var be=function(){Ke||(Ke=!0,de("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",X))};be.isReactWarning=!0,Object.defineProperty(M,"key",{get:be,configurable:!0})}function rr(M,X){var be=function(){an||(an=!0,de("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",X))};be.isReactWarning=!0,Object.defineProperty(M,"ref",{get:be,configurable:!0})}function Ie(M){if(typeof M.ref=="string"&&H.current&&M.__self&&H.current.stateNode!==M.__self){var X=en(H.current.type);Mt[X]||(de('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',X,M.ref),Mt[X]=!0)}}var Xe=function(M,X,be,Re,Ue,$t,Ze){var Vt={$$typeof:u,type:M,key:X,ref:be,props:Ze,_owner:$t};return Vt._store={},Object.defineProperty(Vt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Vt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Re}),Object.defineProperty(Vt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ue}),Object.freeze&&(Object.freeze(Vt.props),Object.freeze(Vt)),Vt};function ut(M,X,be){var Re,Ue={},$t=null,Ze=null,Vt=null,mn=null;if(X!=null){Nt(X)&&(Ze=X.ref,Ie(X)),Kn(X)&&(yn(X.key),$t=""+X.key),Vt=X.__self===void 0?null:X.__self,mn=X.__source===void 0?null:X.__source;for(Re in X)pt.call(X,Re)&&!jt.hasOwnProperty(Re)&&(Ue[Re]=X[Re])}var Fn=arguments.length-2;if(Fn===1)Ue.children=be;else if(Fn>1){for(var Cr=Array(Fn),cr=0;cr<Fn;cr++)Cr[cr]=arguments[cr+2];Object.freeze&&Object.freeze(Cr),Ue.children=Cr}if(M&&M.defaultProps){var cn=M.defaultProps;for(Re in cn)Ue[Re]===void 0&&(Ue[Re]=cn[Re])}if($t||Ze){var fr=typeof M=="function"?M.displayName||M.name||"Unknown":M;$t&&nr(Ue,fr),Ze&&rr(Ue,fr)}return Xe(M,$t,Ze,Vt,mn,H.current,Ue)}function Et(M,X){var be=Xe(M.type,X,M.ref,M._self,M._source,M._owner,M.props);return be}function Ut(M,X,be){if(M==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+M+".");var Re,Ue=re({},M.props),$t=M.key,Ze=M.ref,Vt=M._self,mn=M._source,Fn=M._owner;if(X!=null){Nt(X)&&(Ze=X.ref,Fn=H.current),Kn(X)&&(yn(X.key),$t=""+X.key);var Cr;M.type&&M.type.defaultProps&&(Cr=M.type.defaultProps);for(Re in X)pt.call(X,Re)&&!jt.hasOwnProperty(Re)&&(X[Re]===void 0&&Cr!==void 0?Ue[Re]=Cr[Re]:Ue[Re]=X[Re])}var cr=arguments.length-2;if(cr===1)Ue.children=be;else if(cr>1){for(var cn=Array(cr),fr=0;fr<cr;fr++)cn[fr]=arguments[fr+2];Ue.children=cn}return Xe(M.type,$t,Ze,Vt,mn,Fn,Ue)}function bn(M){return typeof M=="object"&&M!==null&&M.$$typeof===u}var Yt=".",Dt=":";function Jt(M){var X=/[=:]/g,be={"=":"=0",":":"=2"},Re=M.replace(X,function(Ue){return be[Ue]});return"$"+Re}var on=!1,ln=/\/+/g;function qn(M){return M.replace(ln,"$&/")}function ar(M,X){return typeof M=="object"&&M!==null&&M.key!=null?(yn(M.key),Jt(""+M.key)):X.toString(36)}function In(M,X,be,Re,Ue){var $t=typeof M;($t==="undefined"||$t==="boolean")&&(M=null);var Ze=!1;if(M===null)Ze=!0;else switch($t){case"string":case"number":Ze=!0;break;case"object":switch(M.$$typeof){case u:case s:Ze=!0}}if(Ze){var Vt=M,mn=Ue(Vt),Fn=Re===""?Yt+ar(Vt,0):Re;if(St(mn)){var Cr="";Fn!=null&&(Cr=qn(Fn)+"/"),In(mn,X,Cr,"",function(ch){return ch})}else mn!=null&&(bn(mn)&&(mn.key&&(!Vt||Vt.key!==mn.key)&&yn(mn.key),mn=Et(mn,be+(mn.key&&(!Vt||Vt.key!==mn.key)?qn(""+mn.key)+"/":"")+Fn)),X.push(mn));return 1}var cr,cn,fr=0,$r=Re===""?Yt:Re+Dt;if(St(M))for(var Gl=0;Gl<M.length;Gl++)cr=M[Gl],cn=$r+ar(cr,Gl),fr+=In(cr,X,be,cn,Ue);else{var Hc=$(M);if(typeof Hc=="function"){var bl=M;Hc===bl.entries&&(on||ye("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),on=!0);for(var Uc=Hc.call(bl),zu,sh=0;!(zu=Uc.next()).done;)cr=zu.value,cn=$r+ar(cr,sh++),fr+=In(cr,X,be,cn,Ue)}else if($t==="object"){var $d=String(M);throw new Error("Objects are not valid as a React child (found: "+($d==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":$d)+"). If you meant to render a collection of children, use an array instead.")}}return fr}function kn(M,X,be){if(M==null)return M;var Re=[],Ue=0;return In(M,Re,"","",function($t){return X.call(be,$t,Ue++)}),Re}function Or(M){var X=0;return kn(M,function(){X++}),X}function Tn(M,X,be){kn(M,function(){X.apply(this,arguments)},be)}function ht(M){return kn(M,function(X){return X})||[]}function Ye(M){if(!bn(M))throw new Error("React.Children.only expected to receive a single React element child.");return M}function wt(M){var X={$$typeof:C,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};X.Provider={$$typeof:y,_context:X};var be=!1,Re=!1,Ue=!1;{var $t={$$typeof:C,_context:X};Object.defineProperties($t,{Provider:{get:function(){return Re||(Re=!0,de("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),X.Provider},set:function(Ze){X.Provider=Ze}},_currentValue:{get:function(){return X._currentValue},set:function(Ze){X._currentValue=Ze}},_currentValue2:{get:function(){return X._currentValue2},set:function(Ze){X._currentValue2=Ze}},_threadCount:{get:function(){return X._threadCount},set:function(Ze){X._threadCount=Ze}},Consumer:{get:function(){return be||(be=!0,de("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),X.Consumer}},displayName:{get:function(){return X.displayName},set:function(Ze){Ue||(ye("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Ze),Ue=!0)}}}),X.Consumer=$t}return X._currentRenderer=null,X._currentRenderer2=null,X}var nn=-1,Ft=0,Bt=1,On=2;function ir(M){if(M._status===nn){var X=M._result,be=X();if(be.then(function($t){if(M._status===Ft||M._status===nn){var Ze=M;Ze._status=Bt,Ze._result=$t}},function($t){if(M._status===Ft||M._status===nn){var Ze=M;Ze._status=On,Ze._result=$t}}),M._status===nn){var Re=M;Re._status=Ft,Re._result=be}}if(M._status===Bt){var Ue=M._result;return Ue===void 0&&de(`lazy: Expected the result of a dynamic import() call. Instead received: %s
10
-
11
- Your code should look like:
12
- const MyComponent = lazy(() => import('./MyComponent'))
13
-
14
- Did you accidentally put curly braces around the import?`,Ue),"default"in Ue||de(`lazy: Expected the result of a dynamic import() call. Instead received: %s
15
-
16
- Your code should look like:
17
- const MyComponent = lazy(() => import('./MyComponent'))`,Ue),Ue.default}else throw M._result}function _r(M){var X={_status:nn,_result:M},be={$$typeof:N,_payload:X,_init:ir};{var Re,Ue;Object.defineProperties(be,{defaultProps:{configurable:!0,get:function(){return Re},set:function($t){de("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Re=$t,Object.defineProperty(be,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Ue},set:function($t){de("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Ue=$t,Object.defineProperty(be,"propTypes",{enumerable:!0})}}})}return be}function Pr(M){M!=null&&M.$$typeof===D?de("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof M!="function"?de("forwardRef requires a render function but was given %s.",M===null?"null":typeof M):M.length!==0&&M.length!==2&&de("forwardRef render functions accept exactly two parameters: props and ref. %s",M.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),M!=null&&(M.defaultProps!=null||M.propTypes!=null)&&de("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var X={$$typeof:x,render:M};{var be;Object.defineProperty(X,"displayName",{enumerable:!1,configurable:!0,get:function(){return be},set:function(Re){be=Re,!M.name&&!M.displayName&&(M.displayName=Re)}})}return X}var G;G=Symbol.for("react.module.reference");function Me(M){return!!(typeof M=="string"||typeof M=="function"||M===p||M===g||Q||M===d||M===R||M===O||Y||M===A||U||q||te||typeof M=="object"&&M!==null&&(M.$$typeof===N||M.$$typeof===D||M.$$typeof===y||M.$$typeof===C||M.$$typeof===x||M.$$typeof===G||M.getModuleId!==void 0))}function We(M,X){Me(M)||de("memo: The first argument must be a component. Instead received: %s",M===null?"null":typeof M);var be={$$typeof:D,type:M,compare:X===void 0?null:X};{var Re;Object.defineProperty(be,"displayName",{enumerable:!1,configurable:!0,get:function(){return Re},set:function(Ue){Re=Ue,!M.name&&!M.displayName&&(M.displayName=Ue)}})}return be}function qe(){var M=F.current;return M===null&&de(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
18
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
19
- 2. You might be breaking the Rules of Hooks
20
- 3. You might have more than one copy of React in the same app
21
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),M}function Pt(M){var X=qe();if(M._context!==void 0){var be=M._context;be.Consumer===M?de("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):be.Provider===M&&de("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return X.useContext(M)}function yt(M){var X=qe();return X.useState(M)}function ct(M,X,be){var Re=qe();return Re.useReducer(M,X,be)}function It(M){var X=qe();return X.useRef(M)}function Gn(M,X){var be=qe();return be.useEffect(M,X)}function _n(M,X){var be=qe();return be.useInsertionEffect(M,X)}function zn(M,X){var be=qe();return be.useLayoutEffect(M,X)}function En(M,X){var be=qe();return be.useCallback(M,X)}function sa(M,X){var be=qe();return be.useMemo(M,X)}function _a(M,X,be){var Re=qe();return Re.useImperativeHandle(M,X,be)}function At(M,X){{var be=qe();return be.useDebugValue(M,X)}}function Kt(){var M=qe();return M.useTransition()}function ka(M){var X=qe();return X.useDeferredValue(M)}function ei(){var M=qe();return M.useId()}function ga(M,X,be){var Re=qe();return Re.useSyncExternalStore(M,X,be)}var Xr=0,zi,Ma,br,ji,xr,Na,ya;function ti(){}ti.__reactDisabledLog=!0;function ba(){{if(Xr===0){zi=console.log,Ma=console.info,br=console.warn,ji=console.error,xr=console.group,Na=console.groupCollapsed,ya=console.groupEnd;var M={configurable:!0,enumerable:!0,value:ti,writable:!0};Object.defineProperties(console,{info:M,log:M,warn:M,error:M,group:M,groupCollapsed:M,groupEnd:M})}Xr++}}function Sr(){{if(Xr--,Xr===0){var M={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:re({},M,{value:zi}),info:re({},M,{value:Ma}),warn:re({},M,{value:br}),error:re({},M,{value:ji}),group:re({},M,{value:xr}),groupCollapsed:re({},M,{value:Na}),groupEnd:re({},M,{value:ya})})}Xr<0&&de("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Da=se.ReactCurrentDispatcher,Sa;function ro(M,X,be){{if(Sa===void 0)try{throw Error()}catch(Ue){var Re=Ue.stack.trim().match(/\n( *(at )?)/);Sa=Re&&Re[1]||""}return`
22
- `+Sa+M}}var ni=!1,Mn;{var hn=typeof WeakMap=="function"?WeakMap:Map;Mn=new hn}function Nn(M,X){if(!M||ni)return"";{var be=Mn.get(M);if(be!==void 0)return be}var Re;ni=!0;var Ue=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var $t;$t=Da.current,Da.current=null,ba();try{if(X){var Ze=function(){throw Error()};if(Object.defineProperty(Ze.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ze,[])}catch($r){Re=$r}Reflect.construct(M,[],Ze)}else{try{Ze.call()}catch($r){Re=$r}M.call(Ze.prototype)}}else{try{throw Error()}catch($r){Re=$r}M()}}catch($r){if($r&&Re&&typeof $r.stack=="string"){for(var Vt=$r.stack.split(`
23
- `),mn=Re.stack.split(`
24
- `),Fn=Vt.length-1,Cr=mn.length-1;Fn>=1&&Cr>=0&&Vt[Fn]!==mn[Cr];)Cr--;for(;Fn>=1&&Cr>=0;Fn--,Cr--)if(Vt[Fn]!==mn[Cr]){if(Fn!==1||Cr!==1)do if(Fn--,Cr--,Cr<0||Vt[Fn]!==mn[Cr]){var cr=`
25
- `+Vt[Fn].replace(" at new "," at ");return M.displayName&&cr.includes("<anonymous>")&&(cr=cr.replace("<anonymous>",M.displayName)),typeof M=="function"&&Mn.set(M,cr),cr}while(Fn>=1&&Cr>=0);break}}}finally{ni=!1,Da.current=$t,Sr(),Error.prepareStackTrace=Ue}var cn=M?M.displayName||M.name:"",fr=cn?ro(cn):"";return typeof M=="function"&&Mn.set(M,fr),fr}function sr(M,X,be){return Nn(M,!1)}function Vr(M){var X=M.prototype;return!!(X&&X.isReactComponent)}function Ca(M,X,be){if(M==null)return"";if(typeof M=="function")return Nn(M,Vr(M));if(typeof M=="string")return ro(M);switch(M){case R:return ro("Suspense");case O:return ro("SuspenseList")}if(typeof M=="object")switch(M.$$typeof){case x:return sr(M.render);case D:return Ca(M.type,X,be);case N:{var Re=M,Ue=Re._payload,$t=Re._init;try{return Ca($t(Ue),X,be)}catch{}}}return""}var un={},ao=se.ReactDebugCurrentFrame;function sn(M){if(M){var X=M._owner,be=Ca(M.type,M._source,X?X.type:null);ao.setExtraStackFrame(be)}else ao.setExtraStackFrame(null)}function Si(M,X,be,Re,Ue){{var $t=Function.call.bind(pt);for(var Ze in M)if($t(M,Ze)){var Vt=void 0;try{if(typeof M[Ze]!="function"){var mn=Error((Re||"React class")+": "+be+" type `"+Ze+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof M[Ze]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw mn.name="Invariant Violation",mn}Vt=M[Ze](X,Ze,Re,be,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Fn){Vt=Fn}Vt&&!(Vt instanceof Error)&&(sn(Ue),de("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Re||"React class",be,Ze,typeof Vt),sn(null)),Vt instanceof Error&&!(Vt.message in un)&&(un[Vt.message]=!0,sn(Ue),de("Failed %s type: %s",be,Vt.message),sn(null))}}}function hr(M){if(M){var X=M._owner,be=Ca(M.type,M._source,X?X.type:null);J(be)}else J(null)}var kt;kt=!1;function Hr(){if(H.current){var M=en(H.current.type);if(M)return`
26
-
27
- Check the render method of \``+M+"`."}return""}function zr(M){if(M!==void 0){var X=M.fileName.replace(/^.*[\\\/]/,""),be=M.lineNumber;return`
28
-
29
- Check your code at `+X+":"+be+"."}return""}function Pa(M){return M!=null?zr(M.__source):""}var kr={};function ca(M){var X=Hr();if(!X){var be=typeof M=="string"?M:M.displayName||M.name;be&&(X=`
30
-
31
- Check the top-level render call using <`+be+">.")}return X}function Xn(M,X){if(!(!M._store||M._store.validated||M.key!=null)){M._store.validated=!0;var be=ca(X);if(!kr[be]){kr[be]=!0;var Re="";M&&M._owner&&M._owner!==H.current&&(Re=" It was passed a child from "+en(M._owner.type)+"."),hr(M),de('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',be,Re),hr(null)}}}function jn(M,X){if(typeof M=="object"){if(St(M))for(var be=0;be<M.length;be++){var Re=M[be];bn(Re)&&Xn(Re,X)}else if(bn(M))M._store&&(M._store.validated=!0);else if(M){var Ue=$(M);if(typeof Ue=="function"&&Ue!==M.entries)for(var $t=Ue.call(M),Ze;!(Ze=$t.next()).done;)bn(Ze.value)&&Xn(Ze.value,X)}}}function io(M){{var X=M.type;if(X==null||typeof X=="string")return;var be;if(typeof X=="function")be=X.propTypes;else if(typeof X=="object"&&(X.$$typeof===x||X.$$typeof===D))be=X.propTypes;else return;if(be){var Re=en(X);Si(be,M.props,"prop",Re,M)}else if(X.PropTypes!==void 0&&!kt){kt=!0;var Ue=en(X);de("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ue||"Unknown")}typeof X.getDefaultProps=="function"&&!X.getDefaultProps.isReactClassApproved&&de("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ar(M){{for(var X=Object.keys(M.props),be=0;be<X.length;be++){var Re=X[be];if(Re!=="children"&&Re!=="key"){hr(M),de("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Re),hr(null);break}}M.ref!==null&&(hr(M),de("Invalid attribute `ref` supplied to `React.Fragment`."),hr(null))}}function fa(M,X,be){var Re=Me(M);if(!Re){var Ue="";(M===void 0||typeof M=="object"&&M!==null&&Object.keys(M).length===0)&&(Ue+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var $t=Pa(X);$t?Ue+=$t:Ue+=Hr();var Ze;M===null?Ze="null":St(M)?Ze="array":M!==void 0&&M.$$typeof===u?(Ze="<"+(en(M.type)||"Unknown")+" />",Ue=" Did you accidentally export a JSX literal instead of a component?"):Ze=typeof M,de("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ze,Ue)}var Vt=ut.apply(this,arguments);if(Vt==null)return Vt;if(Re)for(var mn=2;mn<arguments.length;mn++)jn(arguments[mn],M);return M===p?Ar(Vt):io(Vt),Vt}var Qe=!1;function Tt(M){var X=fa.bind(null,M);return X.type=M,Qe||(Qe=!0,ye("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(X,"type",{enumerable:!1,get:function(){return ye("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:M}),M}}),X}function Zn(M,X,be){for(var Re=Ut.apply(this,arguments),Ue=2;Ue<arguments.length;Ue++)jn(arguments[Ue],Re.type);return io(Re),Re}function Rr(M,X){var be=z.transition;z.transition={};var Re=z.transition;z.transition._updatedFibers=new Set;try{M()}finally{if(z.transition=be,be===null&&Re._updatedFibers){var Ue=Re._updatedFibers.size;Ue>10&&ye("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),Re._updatedFibers.clear()}}}var Qn=!1,oo=null;function Fu(M){if(oo===null)try{var X=("require"+Math.random()).slice(0,7),be=n&&n[X];oo=be.call(n,"timers").setImmediate}catch{oo=function(Ue){Qn===!1&&(Qn=!0,typeof MessageChannel>"u"&&de("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var $t=new MessageChannel;$t.port1.onmessage=Ue,$t.port2.postMessage(void 0)}}return oo(M)}var ri=0,Ka=!1;function Ho(M){{var X=ri;ri++,I.current===null&&(I.current=[]);var be=I.isBatchingLegacy,Re;try{if(I.isBatchingLegacy=!0,Re=M(),!be&&I.didScheduleLegacyUpdate){var Ue=I.current;Ue!==null&&(I.didScheduleLegacyUpdate=!1,ql(Ue))}}catch(cn){throw lo(X),cn}finally{I.isBatchingLegacy=be}if(Re!==null&&typeof Re=="object"&&typeof Re.then=="function"){var $t=Re,Ze=!1,Vt={then:function(cn,fr){Ze=!0,$t.then(function($r){lo(X),ri===0?As($r,cn,fr):cn($r)},function($r){lo(X),fr($r)})}};return!Ka&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Ze||(Ka=!0,de("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Vt}else{var mn=Re;if(lo(X),ri===0){var Fn=I.current;Fn!==null&&(ql(Fn),I.current=null);var Cr={then:function(cn,fr){I.current===null?(I.current=[],As(mn,cn,fr)):cn(mn)}};return Cr}else{var cr={then:function(cn,fr){cn(mn)}};return cr}}}}function lo(M){M!==ri-1&&de("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ri=M}function As(M,X,be){{var Re=I.current;if(Re!==null)try{ql(Re),Fu(function(){Re.length===0?(I.current=null,X(M)):As(M,X,be)})}catch(Ue){be(Ue)}else X(M)}}var $s=!1;function ql(M){if(!$s){$s=!0;var X=0;try{for(;X<M.length;X++){var be=M[X];do be=be(!0);while(be!==null)}M.length=0}catch(Re){throw M=M.slice(X+1),Re}finally{$s=!1}}}var Iu=fa,Ls=Zn,Fs=Tt,_o={map:kn,forEach:Tn,count:Or,toArray:ht,only:Ye};i.Children=_o,i.Component=we,i.Fragment=p,i.Profiler=g,i.PureComponent=Be,i.StrictMode=d,i.Suspense=R,i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=se,i.act=Ho,i.cloneElement=Ls,i.createContext=wt,i.createElement=Iu,i.createFactory=Fs,i.createRef=tt,i.forwardRef=Pr,i.isValidElement=bn,i.lazy=_r,i.memo=We,i.startTransition=Rr,i.unstable_act=Ho,i.useCallback=En,i.useContext=Pt,i.useDebugValue=At,i.useDeferredValue=ka,i.useEffect=Gn,i.useId=ei,i.useImperativeHandle=_a,i.useInsertionEffect=_n,i.useLayoutEffect=zn,i.useMemo=sa,i.useReducer=ct,i.useRef=It,i.useState=yt,i.useSyncExternalStore=ga,i.useTransition=Kt,i.version=a,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Sp,Sp.exports)),Sp.exports}var bR;function Cp(){return bR||(bR=1,ce.env.NODE_ENV==="production"?vg.exports=uA():vg.exports=sA()),vg.exports}/**
32
- * @license React
33
- * react-jsx-runtime.production.min.js
34
- *
35
- * Copyright (c) Facebook, Inc. and its affiliates.
36
- *
37
- * This source code is licensed under the MIT license found in the
38
- * LICENSE file in the root directory of this source tree.
39
- */var SR;function cA(){if(SR)return bp;SR=1;var n=Cp(),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function d(g,y,C){var x,R={},O=null,D=null;C!==void 0&&(O=""+C),y.key!==void 0&&(O=""+y.key),y.ref!==void 0&&(D=y.ref);for(x in y)u.call(y,x)&&!p.hasOwnProperty(x)&&(R[x]=y[x]);if(g&&g.defaultProps)for(x in y=g.defaultProps,y)R[x]===void 0&&(R[x]=y[x]);return{$$typeof:i,type:g,key:O,ref:D,props:R,_owner:s.current}}return bp.Fragment=a,bp.jsx=d,bp.jsxs=d,bp}var Ep={},CR;function fA(){return CR||(CR=1,ce.env.NODE_ENV!=="production"&&function(){var n=Cp(),i=Symbol.for("react.element"),a=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),g=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),D=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function k(G){if(G===null||typeof G!="object")return null;var Me=N&&G[N]||G[A];return typeof Me=="function"?Me:null}var V=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function $(G){{for(var Me=arguments.length,We=new Array(Me>1?Me-1:0),qe=1;qe<Me;qe++)We[qe-1]=arguments[qe];F("error",G,We)}}function F(G,Me,We){{var qe=V.ReactDebugCurrentFrame,Pt=qe.getStackAddendum();Pt!==""&&(Me+="%s",We=We.concat([Pt]));var yt=We.map(function(ct){return String(ct)});yt.unshift("Warning: "+Me),Function.prototype.apply.call(console[G],console,yt)}}var z=!1,I=!1,H=!1,W=!1,Z=!1,J;J=Symbol.for("react.module.reference");function U(G){return!!(typeof G=="string"||typeof G=="function"||G===u||G===p||Z||G===s||G===C||G===x||W||G===D||z||I||H||typeof G=="object"&&G!==null&&(G.$$typeof===O||G.$$typeof===R||G.$$typeof===d||G.$$typeof===g||G.$$typeof===y||G.$$typeof===J||G.getModuleId!==void 0))}function q(G,Me,We){var qe=G.displayName;if(qe)return qe;var Pt=Me.displayName||Me.name||"";return Pt!==""?We+"("+Pt+")":We}function te(G){return G.displayName||"Context"}function Y(G){if(G==null)return null;if(typeof G.tag=="number"&&$("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof G=="function")return G.displayName||G.name||null;if(typeof G=="string")return G;switch(G){case u:return"Fragment";case a:return"Portal";case p:return"Profiler";case s:return"StrictMode";case C:return"Suspense";case x:return"SuspenseList"}if(typeof G=="object")switch(G.$$typeof){case g:var Me=G;return te(Me)+".Consumer";case d:var We=G;return te(We._context)+".Provider";case y:return q(G,G.render,"ForwardRef");case R:var qe=G.displayName||null;return qe!==null?qe:Y(G.type)||"Memo";case O:{var Pt=G,yt=Pt._payload,ct=Pt._init;try{return Y(ct(yt))}catch{return null}}}return null}var Q=Object.assign,se=0,ye,de,ne,me,le,B,re;function xe(){}xe.__reactDisabledLog=!0;function we(){{if(se===0){ye=console.log,de=console.info,ne=console.warn,me=console.error,le=console.group,B=console.groupCollapsed,re=console.groupEnd;var G={configurable:!0,enumerable:!0,value:xe,writable:!0};Object.defineProperties(console,{info:G,log:G,warn:G,error:G,group:G,groupCollapsed:G,groupEnd:G})}se++}}function Pe(){{if(se--,se===0){var G={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},G,{value:ye}),info:Q({},G,{value:de}),warn:Q({},G,{value:ne}),error:Q({},G,{value:me}),group:Q({},G,{value:le}),groupCollapsed:Q({},G,{value:B}),groupEnd:Q({},G,{value:re})})}se<0&&$("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fe=V.ReactCurrentDispatcher,Le;function He(G,Me,We){{if(Le===void 0)try{throw Error()}catch(Pt){var qe=Pt.stack.trim().match(/\n( *(at )?)/);Le=qe&&qe[1]||""}return`
40
- `+Le+G}}var Be=!1,ot;{var tt=typeof WeakMap=="function"?WeakMap:Map;ot=new tt}function bt(G,Me){if(!G||Be)return"";{var We=ot.get(G);if(We!==void 0)return We}var qe;Be=!0;var Pt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var yt;yt=Fe.current,Fe.current=null,we();try{if(Me){var ct=function(){throw Error()};if(Object.defineProperty(ct.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ct,[])}catch(At){qe=At}Reflect.construct(G,[],ct)}else{try{ct.call()}catch(At){qe=At}G.call(ct.prototype)}}else{try{throw Error()}catch(At){qe=At}G()}}catch(At){if(At&&qe&&typeof At.stack=="string"){for(var It=At.stack.split(`
41
- `),Gn=qe.stack.split(`
42
- `),_n=It.length-1,zn=Gn.length-1;_n>=1&&zn>=0&&It[_n]!==Gn[zn];)zn--;for(;_n>=1&&zn>=0;_n--,zn--)if(It[_n]!==Gn[zn]){if(_n!==1||zn!==1)do if(_n--,zn--,zn<0||It[_n]!==Gn[zn]){var En=`
43
- `+It[_n].replace(" at new "," at ");return G.displayName&&En.includes("<anonymous>")&&(En=En.replace("<anonymous>",G.displayName)),typeof G=="function"&&ot.set(G,En),En}while(_n>=1&&zn>=0);break}}}finally{Be=!1,Fe.current=yt,Pe(),Error.prepareStackTrace=Pt}var sa=G?G.displayName||G.name:"",_a=sa?He(sa):"";return typeof G=="function"&&ot.set(G,_a),_a}function St(G,Me,We){return bt(G,!1)}function _e(G){var Me=G.prototype;return!!(Me&&Me.isReactComponent)}function mt(G,Me,We){if(G==null)return"";if(typeof G=="function")return bt(G,_e(G));if(typeof G=="string")return He(G);switch(G){case C:return He("Suspense");case x:return He("SuspenseList")}if(typeof G=="object")switch(G.$$typeof){case y:return St(G.render);case R:return mt(G.type,Me,We);case O:{var qe=G,Pt=qe._payload,yt=qe._init;try{return mt(yt(Pt),Me,We)}catch{}}}return""}var st=Object.prototype.hasOwnProperty,yn={},rn=V.ReactDebugCurrentFrame;function pn(G){if(G){var Me=G._owner,We=mt(G.type,G._source,Me?Me.type:null);rn.setExtraStackFrame(We)}else rn.setExtraStackFrame(null)}function en(G,Me,We,qe,Pt){{var yt=Function.call.bind(st);for(var ct in G)if(yt(G,ct)){var It=void 0;try{if(typeof G[ct]!="function"){var Gn=Error((qe||"React class")+": "+We+" type `"+ct+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof G[ct]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Gn.name="Invariant Violation",Gn}It=G[ct](Me,ct,qe,We,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_n){It=_n}It&&!(It instanceof Error)&&(pn(Pt),$("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",qe||"React class",We,ct,typeof It),pn(null)),It instanceof Error&&!(It.message in yn)&&(yn[It.message]=!0,pn(Pt),$("Failed %s type: %s",We,It.message),pn(null))}}}var pt=Array.isArray;function jt(G){return pt(G)}function Ke(G){{var Me=typeof Symbol=="function"&&Symbol.toStringTag,We=Me&&G[Symbol.toStringTag]||G.constructor.name||"Object";return We}}function an(G){try{return Mt(G),!1}catch{return!0}}function Mt(G){return""+G}function Nt(G){if(an(G))return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ke(G)),Mt(G)}var Kn=V.ReactCurrentOwner,nr={key:!0,ref:!0,__self:!0,__source:!0},rr,Ie;function Xe(G){if(st.call(G,"ref")){var Me=Object.getOwnPropertyDescriptor(G,"ref").get;if(Me&&Me.isReactWarning)return!1}return G.ref!==void 0}function ut(G){if(st.call(G,"key")){var Me=Object.getOwnPropertyDescriptor(G,"key").get;if(Me&&Me.isReactWarning)return!1}return G.key!==void 0}function Et(G,Me){typeof G.ref=="string"&&Kn.current}function Ut(G,Me){{var We=function(){rr||(rr=!0,$("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Me))};We.isReactWarning=!0,Object.defineProperty(G,"key",{get:We,configurable:!0})}}function bn(G,Me){{var We=function(){Ie||(Ie=!0,$("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Me))};We.isReactWarning=!0,Object.defineProperty(G,"ref",{get:We,configurable:!0})}}var Yt=function(G,Me,We,qe,Pt,yt,ct){var It={$$typeof:i,type:G,key:Me,ref:We,props:ct,_owner:yt};return It._store={},Object.defineProperty(It._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(It,"_self",{configurable:!1,enumerable:!1,writable:!1,value:qe}),Object.defineProperty(It,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Pt}),Object.freeze&&(Object.freeze(It.props),Object.freeze(It)),It};function Dt(G,Me,We,qe,Pt){{var yt,ct={},It=null,Gn=null;We!==void 0&&(Nt(We),It=""+We),ut(Me)&&(Nt(Me.key),It=""+Me.key),Xe(Me)&&(Gn=Me.ref,Et(Me,Pt));for(yt in Me)st.call(Me,yt)&&!nr.hasOwnProperty(yt)&&(ct[yt]=Me[yt]);if(G&&G.defaultProps){var _n=G.defaultProps;for(yt in _n)ct[yt]===void 0&&(ct[yt]=_n[yt])}if(It||Gn){var zn=typeof G=="function"?G.displayName||G.name||"Unknown":G;It&&Ut(ct,zn),Gn&&bn(ct,zn)}return Yt(G,It,Gn,Pt,qe,Kn.current,ct)}}var Jt=V.ReactCurrentOwner,on=V.ReactDebugCurrentFrame;function ln(G){if(G){var Me=G._owner,We=mt(G.type,G._source,Me?Me.type:null);on.setExtraStackFrame(We)}else on.setExtraStackFrame(null)}var qn;qn=!1;function ar(G){return typeof G=="object"&&G!==null&&G.$$typeof===i}function In(){{if(Jt.current){var G=Y(Jt.current.type);if(G)return`
44
-
45
- Check the render method of \``+G+"`."}return""}}function kn(G){return""}var Or={};function Tn(G){{var Me=In();if(!Me){var We=typeof G=="string"?G:G.displayName||G.name;We&&(Me=`
46
-
47
- Check the top-level render call using <`+We+">.")}return Me}}function ht(G,Me){{if(!G._store||G._store.validated||G.key!=null)return;G._store.validated=!0;var We=Tn(Me);if(Or[We])return;Or[We]=!0;var qe="";G&&G._owner&&G._owner!==Jt.current&&(qe=" It was passed a child from "+Y(G._owner.type)+"."),ln(G),$('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',We,qe),ln(null)}}function Ye(G,Me){{if(typeof G!="object")return;if(jt(G))for(var We=0;We<G.length;We++){var qe=G[We];ar(qe)&&ht(qe,Me)}else if(ar(G))G._store&&(G._store.validated=!0);else if(G){var Pt=k(G);if(typeof Pt=="function"&&Pt!==G.entries)for(var yt=Pt.call(G),ct;!(ct=yt.next()).done;)ar(ct.value)&&ht(ct.value,Me)}}}function wt(G){{var Me=G.type;if(Me==null||typeof Me=="string")return;var We;if(typeof Me=="function")We=Me.propTypes;else if(typeof Me=="object"&&(Me.$$typeof===y||Me.$$typeof===R))We=Me.propTypes;else return;if(We){var qe=Y(Me);en(We,G.props,"prop",qe,G)}else if(Me.PropTypes!==void 0&&!qn){qn=!0;var Pt=Y(Me);$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Pt||"Unknown")}typeof Me.getDefaultProps=="function"&&!Me.getDefaultProps.isReactClassApproved&&$("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function nn(G){{for(var Me=Object.keys(G.props),We=0;We<Me.length;We++){var qe=Me[We];if(qe!=="children"&&qe!=="key"){ln(G),$("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",qe),ln(null);break}}G.ref!==null&&(ln(G),$("Invalid attribute `ref` supplied to `React.Fragment`."),ln(null))}}var Ft={};function Bt(G,Me,We,qe,Pt,yt){{var ct=U(G);if(!ct){var It="";(G===void 0||typeof G=="object"&&G!==null&&Object.keys(G).length===0)&&(It+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Gn=kn();Gn?It+=Gn:It+=In();var _n;G===null?_n="null":jt(G)?_n="array":G!==void 0&&G.$$typeof===i?(_n="<"+(Y(G.type)||"Unknown")+" />",It=" Did you accidentally export a JSX literal instead of a component?"):_n=typeof G,$("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_n,It)}var zn=Dt(G,Me,We,Pt,yt);if(zn==null)return zn;if(ct){var En=Me.children;if(En!==void 0)if(qe)if(jt(En)){for(var sa=0;sa<En.length;sa++)Ye(En[sa],G);Object.freeze&&Object.freeze(En)}else $("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ye(En,G)}if(st.call(Me,"key")){var _a=Y(G),At=Object.keys(Me).filter(function(ei){return ei!=="key"}),Kt=At.length>0?"{key: someKey, "+At.join(": ..., ")+": ...}":"{key: someKey}";if(!Ft[_a+Kt]){var ka=At.length>0?"{"+At.join(": ..., ")+": ...}":"{}";$(`A props object containing a "key" prop is being spread into JSX:
48
- let props = %s;
49
- <%s {...props} />
50
- React keys must be passed directly to JSX without using spread:
51
- let props = %s;
52
- <%s key={someKey} {...props} />`,Kt,_a,ka,_a),Ft[_a+Kt]=!0}}return G===u?nn(zn):wt(zn),zn}}function On(G,Me,We){return Bt(G,Me,We,!0)}function ir(G,Me,We){return Bt(G,Me,We,!1)}var _r=ir,Pr=On;Ep.Fragment=u,Ep.jsx=_r,Ep.jsxs=Pr}()),Ep}ce.env.NODE_ENV==="production"?OS.exports=cA():OS.exports=fA();var pg=OS.exports,E=Cp();const Rn=TS(E),hg=yp({__proto__:null,default:Rn},[E]);var ER={exports:{}};/*!
53
- Copyright (c) 2018 Jed Watson.
54
- Licensed under the MIT License (MIT), see
55
- http://jedwatson.github.io/classnames
56
- */(function(n){(function(){var i={}.hasOwnProperty;function a(){for(var p="",d=0;d<arguments.length;d++){var g=arguments[d];g&&(p=s(p,u(g)))}return p}function u(p){if(typeof p=="string"||typeof p=="number")return p;if(typeof p!="object")return"";if(Array.isArray(p))return a.apply(null,p);if(p.toString!==Object.prototype.toString&&!p.toString.toString().includes("[native code]"))return p.toString();var d="";for(var g in p)i.call(p,g)&&p[g]&&(d=s(d,g));return d}function s(p,d){return d?p?p+" "+d:p+d:p}n.exports?(a.default=a,n.exports=a):window.classNames=a})()})(ER);var dA=ER.exports;const fn=TS(dA);function Sn(){return Sn=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var u in a)({}).hasOwnProperty.call(a,u)&&(n[u]=a[u])}return n},Sn.apply(null,arguments)}function Zt(n){"@babel/helpers - typeof";return Zt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Zt(n)}var vA=Symbol.for("react.element"),pA=Symbol.for("react.transitional.element"),hA=Symbol.for("react.fragment");function wR(n){return n&&Zt(n)==="object"&&(n.$$typeof===vA||n.$$typeof===pA)&&n.type===hA}function _u(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=[];return Rn.Children.forEach(n,function(u){u==null&&!i.keepEmpty||(Array.isArray(u)?a=a.concat(_u(u)):wR(u)&&u.props?a=a.concat(_u(u.props.children,i)):a.push(u))}),a}var _S={},kS=[],mA=function(i){kS.push(i)};function td(n,i){if(ce.env.NODE_ENV!=="production"&&!n&&console!==void 0){var a=kS.reduce(function(u,s){return s(u??"","warning")},i);a&&console.error("Warning: ".concat(a))}}function gA(n,i){if(ce.env.NODE_ENV!=="production"&&!n&&console!==void 0){var a=kS.reduce(function(u,s){return s(u??"","note")},i);a&&console.warn("Note: ".concat(a))}}function xR(){_S={}}function RR(n,i,a){!i&&!_S[a]&&(n(!1,a),_S[a]=!0)}function or(n,i){RR(td,n,i)}function yA(n,i){RR(gA,n,i)}or.preMessage=mA,or.resetWarned=xR,or.noteOnce=yA;function bA(n,i){if(Zt(n)!="object"||!n)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var u=a.call(n,i);if(Zt(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(n)}function TR(n){var i=bA(n,"string");return Zt(i)=="symbol"?i:i+""}function ue(n,i,a){return(i=TR(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a,n}function OR(n,i){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);i&&(u=u.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),a.push.apply(a,u)}return a}function Ce(n){for(var i=1;i<arguments.length;i++){var a=arguments[i]!=null?arguments[i]:{};i%2?OR(Object(a),!0).forEach(function(u){ue(n,u,a[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):OR(Object(a)).forEach(function(u){Object.defineProperty(n,u,Object.getOwnPropertyDescriptor(a,u))})}return n}var MS={exports:{}},Ji={},mg={exports:{}},NS={};/**
57
- * @license React
58
- * scheduler.production.min.js
59
- *
60
- * Copyright (c) Facebook, Inc. and its affiliates.
61
- *
62
- * This source code is licensed under the MIT license found in the
63
- * LICENSE file in the root directory of this source tree.
64
- */var _R;function SA(){return _R||(_R=1,function(n){function i(ne,me){var le=ne.length;ne.push(me);e:for(;0<le;){var B=le-1>>>1,re=ne[B];if(0<s(re,me))ne[B]=me,ne[le]=re,le=B;else break e}}function a(ne){return ne.length===0?null:ne[0]}function u(ne){if(ne.length===0)return null;var me=ne[0],le=ne.pop();if(le!==me){ne[0]=le;e:for(var B=0,re=ne.length,xe=re>>>1;B<xe;){var we=2*(B+1)-1,Pe=ne[we],Fe=we+1,Le=ne[Fe];if(0>s(Pe,le))Fe<re&&0>s(Le,Pe)?(ne[B]=Le,ne[Fe]=le,B=Fe):(ne[B]=Pe,ne[we]=le,B=we);else if(Fe<re&&0>s(Le,le))ne[B]=Le,ne[Fe]=le,B=Fe;else break e}}return me}function s(ne,me){var le=ne.sortIndex-me.sortIndex;return le!==0?le:ne.id-me.id}if(typeof performance=="object"&&typeof performance.now=="function"){var p=performance;n.unstable_now=function(){return p.now()}}else{var d=Date,g=d.now();n.unstable_now=function(){return d.now()-g}}var y=[],C=[],x=1,R=null,O=3,D=!1,N=!1,A=!1,k=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function F(ne){for(var me=a(C);me!==null;){if(me.callback===null)u(C);else if(me.startTime<=ne)u(C),me.sortIndex=me.expirationTime,i(y,me);else break;me=a(C)}}function z(ne){if(A=!1,F(ne),!N)if(a(y)!==null)N=!0,ye(I);else{var me=a(C);me!==null&&de(z,me.startTime-ne)}}function I(ne,me){N=!1,A&&(A=!1,V(Z),Z=-1),D=!0;var le=O;try{for(F(me),R=a(y);R!==null&&(!(R.expirationTime>me)||ne&&!q());){var B=R.callback;if(typeof B=="function"){R.callback=null,O=R.priorityLevel;var re=B(R.expirationTime<=me);me=n.unstable_now(),typeof re=="function"?R.callback=re:R===a(y)&&u(y),F(me)}else u(y);R=a(y)}if(R!==null)var xe=!0;else{var we=a(C);we!==null&&de(z,we.startTime-me),xe=!1}return xe}finally{R=null,O=le,D=!1}}var H=!1,W=null,Z=-1,J=5,U=-1;function q(){return!(n.unstable_now()-U<J)}function te(){if(W!==null){var ne=n.unstable_now();U=ne;var me=!0;try{me=W(!0,ne)}finally{me?Y():(H=!1,W=null)}}else H=!1}var Y;if(typeof $=="function")Y=function(){$(te)};else if(typeof MessageChannel<"u"){var Q=new MessageChannel,se=Q.port2;Q.port1.onmessage=te,Y=function(){se.postMessage(null)}}else Y=function(){k(te,0)};function ye(ne){W=ne,H||(H=!0,Y())}function de(ne,me){Z=k(function(){ne(n.unstable_now())},me)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(ne){ne.callback=null},n.unstable_continueExecution=function(){N||D||(N=!0,ye(I))},n.unstable_forceFrameRate=function(ne){0>ne||125<ne?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<ne?Math.floor(1e3/ne):5},n.unstable_getCurrentPriorityLevel=function(){return O},n.unstable_getFirstCallbackNode=function(){return a(y)},n.unstable_next=function(ne){switch(O){case 1:case 2:case 3:var me=3;break;default:me=O}var le=O;O=me;try{return ne()}finally{O=le}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(ne,me){switch(ne){case 1:case 2:case 3:case 4:case 5:break;default:ne=3}var le=O;O=ne;try{return me()}finally{O=le}},n.unstable_scheduleCallback=function(ne,me,le){var B=n.unstable_now();switch(typeof le=="object"&&le!==null?(le=le.delay,le=typeof le=="number"&&0<le?B+le:B):le=B,ne){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=le+re,ne={id:x++,callback:me,priorityLevel:ne,startTime:le,expirationTime:re,sortIndex:-1},le>B?(ne.sortIndex=le,i(C,ne),a(y)===null&&ne===a(C)&&(A?(V(Z),Z=-1):A=!0,de(z,le-B))):(ne.sortIndex=re,i(y,ne),N||D||(N=!0,ye(I))),ne},n.unstable_shouldYield=q,n.unstable_wrapCallback=function(ne){var me=O;return function(){var le=O;O=me;try{return ne.apply(this,arguments)}finally{O=le}}}}(NS)),NS}var DS={},kR;function CA(){return kR||(kR=1,function(n){ce.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i=!1,a=5;function u(Ie,Xe){var ut=Ie.length;Ie.push(Xe),d(Ie,Xe,ut)}function s(Ie){return Ie.length===0?null:Ie[0]}function p(Ie){if(Ie.length===0)return null;var Xe=Ie[0],ut=Ie.pop();return ut!==Xe&&(Ie[0]=ut,g(Ie,ut,0)),Xe}function d(Ie,Xe,ut){for(var Et=ut;Et>0;){var Ut=Et-1>>>1,bn=Ie[Ut];if(y(bn,Xe)>0)Ie[Ut]=Xe,Ie[Et]=bn,Et=Ut;else return}}function g(Ie,Xe,ut){for(var Et=ut,Ut=Ie.length,bn=Ut>>>1;Et<bn;){var Yt=(Et+1)*2-1,Dt=Ie[Yt],Jt=Yt+1,on=Ie[Jt];if(y(Dt,Xe)<0)Jt<Ut&&y(on,Dt)<0?(Ie[Et]=on,Ie[Jt]=Xe,Et=Jt):(Ie[Et]=Dt,Ie[Yt]=Xe,Et=Yt);else if(Jt<Ut&&y(on,Xe)<0)Ie[Et]=on,Ie[Jt]=Xe,Et=Jt;else return}}function y(Ie,Xe){var ut=Ie.sortIndex-Xe.sortIndex;return ut!==0?ut:Ie.id-Xe.id}var C=1,x=2,R=3,O=4,D=5;function N(Ie,Xe){}var A=typeof performance=="object"&&typeof performance.now=="function";if(A){var k=performance;n.unstable_now=function(){return k.now()}}else{var V=Date,$=V.now();n.unstable_now=function(){return V.now()-$}}var F=1073741823,z=-1,I=250,H=5e3,W=1e4,Z=F,J=[],U=[],q=1,te=null,Y=R,Q=!1,se=!1,ye=!1,de=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,me=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function le(Ie){for(var Xe=s(U);Xe!==null;){if(Xe.callback===null)p(U);else if(Xe.startTime<=Ie)p(U),Xe.sortIndex=Xe.expirationTime,u(J,Xe);else return;Xe=s(U)}}function B(Ie){if(ye=!1,le(Ie),!se)if(s(J)!==null)se=!0,Mt(re);else{var Xe=s(U);Xe!==null&&Nt(B,Xe.startTime-Ie)}}function re(Ie,Xe){se=!1,ye&&(ye=!1,Kn()),Q=!0;var ut=Y;try{var Et;if(!i)return xe(Ie,Xe)}finally{te=null,Y=ut,Q=!1}}function xe(Ie,Xe){var ut=Xe;for(le(ut),te=s(J);te!==null&&!(te.expirationTime>ut&&(!Ie||rn()));){var Et=te.callback;if(typeof Et=="function"){te.callback=null,Y=te.priorityLevel;var Ut=te.expirationTime<=ut,bn=Et(Ut);ut=n.unstable_now(),typeof bn=="function"?te.callback=bn:te===s(J)&&p(J),le(ut)}else p(J);te=s(J)}if(te!==null)return!0;var Yt=s(U);return Yt!==null&&Nt(B,Yt.startTime-ut),!1}function we(Ie,Xe){switch(Ie){case C:case x:case R:case O:case D:break;default:Ie=R}var ut=Y;Y=Ie;try{return Xe()}finally{Y=ut}}function Pe(Ie){var Xe;switch(Y){case C:case x:case R:Xe=R;break;default:Xe=Y;break}var ut=Y;Y=Xe;try{return Ie()}finally{Y=ut}}function Fe(Ie){var Xe=Y;return function(){var ut=Y;Y=Xe;try{return Ie.apply(this,arguments)}finally{Y=ut}}}function Le(Ie,Xe,ut){var Et=n.unstable_now(),Ut;if(typeof ut=="object"&&ut!==null){var bn=ut.delay;typeof bn=="number"&&bn>0?Ut=Et+bn:Ut=Et}else Ut=Et;var Yt;switch(Ie){case C:Yt=z;break;case x:Yt=I;break;case D:Yt=Z;break;case O:Yt=W;break;case R:default:Yt=H;break}var Dt=Ut+Yt,Jt={id:q++,callback:Xe,priorityLevel:Ie,startTime:Ut,expirationTime:Dt,sortIndex:-1};return Ut>Et?(Jt.sortIndex=Ut,u(U,Jt),s(J)===null&&Jt===s(U)&&(ye?Kn():ye=!0,Nt(B,Ut-Et))):(Jt.sortIndex=Dt,u(J,Jt),!se&&!Q&&(se=!0,Mt(re))),Jt}function He(){}function Be(){!se&&!Q&&(se=!0,Mt(re))}function ot(){return s(J)}function tt(Ie){Ie.callback=null}function bt(){return Y}var St=!1,_e=null,mt=-1,st=a,yn=-1;function rn(){var Ie=n.unstable_now()-yn;return!(Ie<st)}function pn(){}function en(Ie){if(Ie<0||Ie>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Ie>0?st=Math.floor(1e3/Ie):st=a}var pt=function(){if(_e!==null){var Ie=n.unstable_now();yn=Ie;var Xe=!0,ut=!0;try{ut=_e(Xe,Ie)}finally{ut?jt():(St=!1,_e=null)}}else St=!1},jt;if(typeof me=="function")jt=function(){me(pt)};else if(typeof MessageChannel<"u"){var Ke=new MessageChannel,an=Ke.port2;Ke.port1.onmessage=pt,jt=function(){an.postMessage(null)}}else jt=function(){de(pt,0)};function Mt(Ie){_e=Ie,St||(St=!0,jt())}function Nt(Ie,Xe){mt=de(function(){Ie(n.unstable_now())},Xe)}function Kn(){ne(mt),mt=-1}var nr=pn,rr=null;n.unstable_IdlePriority=D,n.unstable_ImmediatePriority=C,n.unstable_LowPriority=O,n.unstable_NormalPriority=R,n.unstable_Profiling=rr,n.unstable_UserBlockingPriority=x,n.unstable_cancelCallback=tt,n.unstable_continueExecution=Be,n.unstable_forceFrameRate=en,n.unstable_getCurrentPriorityLevel=bt,n.unstable_getFirstCallbackNode=ot,n.unstable_next=Pe,n.unstable_pauseExecution=He,n.unstable_requestPaint=nr,n.unstable_runWithPriority=we,n.unstable_scheduleCallback=Le,n.unstable_shouldYield=rn,n.unstable_wrapCallback=Fe,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(DS)),DS}var MR;function NR(){return MR||(MR=1,ce.env.NODE_ENV==="production"?mg.exports=SA():mg.exports=CA()),mg.exports}/**
65
- * @license React
66
- * react-dom.production.min.js
67
- *
68
- * Copyright (c) Facebook, Inc. and its affiliates.
69
- *
70
- * This source code is licensed under the MIT license found in the
71
- * LICENSE file in the root directory of this source tree.
72
- */var DR;function EA(){if(DR)return Ji;DR=1;var n=Cp(),i=NR();function a(r){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+r,f=1;f<arguments.length;f++)o+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+r+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var u=new Set,s={};function p(r,o){d(r,o),d(r+"Capture",o)}function d(r,o){for(s[r]=o,r=0;r<o.length;r++)u.add(o[r])}var g=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),y=Object.prototype.hasOwnProperty,C=/^[: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]*$/,x={},R={};function O(r){return y.call(R,r)?!0:y.call(x,r)?!1:C.test(r)?R[r]=!0:(x[r]=!0,!1)}function D(r,o,f,h){if(f!==null&&f.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return h?!1:f!==null?!f.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function N(r,o,f,h){if(o===null||typeof o>"u"||D(r,o,f,h))return!0;if(h)return!1;if(f!==null)switch(f.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function A(r,o,f,h,b,w,P){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=h,this.attributeNamespace=b,this.mustUseProperty=f,this.propertyName=r,this.type=o,this.sanitizeURL=w,this.removeEmptyString=P}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){k[r]=new A(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var o=r[0];k[o]=new A(o,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){k[r]=new A(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){k[r]=new A(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){k[r]=new A(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){k[r]=new A(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){k[r]=new A(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){k[r]=new A(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){k[r]=new A(r,5,!1,r.toLowerCase(),null,!1,!1)});var V=/[\-:]([a-z])/g;function $(r){return r[1].toUpperCase()}"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(r){var o=r.replace(V,$);k[o]=new A(o,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var o=r.replace(V,$);k[o]=new A(o,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var o=r.replace(V,$);k[o]=new A(o,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){k[r]=new A(r,1,!1,r.toLowerCase(),null,!1,!1)}),k.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){k[r]=new A(r,1,!1,r.toLowerCase(),null,!0,!0)});function F(r,o,f,h){var b=k.hasOwnProperty(o)?k[o]:null;(b!==null?b.type!==0:h||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(N(o,f,b,h)&&(f=null),h||b===null?O(o)&&(f===null?r.removeAttribute(o):r.setAttribute(o,""+f)):b.mustUseProperty?r[b.propertyName]=f===null?b.type===3?!1:"":f:(o=b.attributeName,h=b.attributeNamespace,f===null?r.removeAttribute(o):(b=b.type,f=b===3||b===4&&f===!0?"":""+f,h?r.setAttributeNS(h,o,f):r.setAttribute(o,f))))}var z=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I=Symbol.for("react.element"),H=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),q=Symbol.for("react.context"),te=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),ye=Symbol.for("react.lazy"),de=Symbol.for("react.offscreen"),ne=Symbol.iterator;function me(r){return r===null||typeof r!="object"?null:(r=ne&&r[ne]||r["@@iterator"],typeof r=="function"?r:null)}var le=Object.assign,B;function re(r){if(B===void 0)try{throw Error()}catch(f){var o=f.stack.trim().match(/\n( *(at )?)/);B=o&&o[1]||""}return`
73
- `+B+r}var xe=!1;function we(r,o){if(!r||xe)return"";xe=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(Se){var h=Se}Reflect.construct(r,[],o)}else{try{o.call()}catch(Se){h=Se}r.call(o.prototype)}else{try{throw Error()}catch(Se){h=Se}r()}}catch(Se){if(Se&&h&&typeof Se.stack=="string"){for(var b=Se.stack.split(`
74
- `),w=h.stack.split(`
75
- `),P=b.length-1,K=w.length-1;1<=P&&0<=K&&b[P]!==w[K];)K--;for(;1<=P&&0<=K;P--,K--)if(b[P]!==w[K]){if(P!==1||K!==1)do if(P--,K--,0>K||b[P]!==w[K]){var ee=`
76
- `+b[P].replace(" at new "," at ");return r.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",r.displayName)),ee}while(1<=P&&0<=K);break}}}finally{xe=!1,Error.prepareStackTrace=f}return(r=r?r.displayName||r.name:"")?re(r):""}function Pe(r){switch(r.tag){case 5:return re(r.type);case 16:return re("Lazy");case 13:return re("Suspense");case 19:return re("SuspenseList");case 0:case 2:case 15:return r=we(r.type,!1),r;case 11:return r=we(r.type.render,!1),r;case 1:return r=we(r.type,!0),r;default:return""}}function Fe(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case W:return"Fragment";case H:return"Portal";case J:return"Profiler";case Z:return"StrictMode";case Y:return"Suspense";case Q:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case q:return(r.displayName||"Context")+".Consumer";case U:return(r._context.displayName||"Context")+".Provider";case te:var o=r.render;return r=r.displayName,r||(r=o.displayName||o.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case se:return o=r.displayName||null,o!==null?o:Fe(r.type)||"Memo";case ye:o=r._payload,r=r._init;try{return Fe(r(o))}catch{}}return null}function Le(r){var o=r.type;switch(r.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=o.render,r=r.displayName||r.name||"",o.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Fe(o);case 8:return o===Z?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function He(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Be(r){var o=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function ot(r){var o=Be(r)?"checked":"value",f=Object.getOwnPropertyDescriptor(r.constructor.prototype,o),h=""+r[o];if(!r.hasOwnProperty(o)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var b=f.get,w=f.set;return Object.defineProperty(r,o,{configurable:!0,get:function(){return b.call(this)},set:function(P){h=""+P,w.call(this,P)}}),Object.defineProperty(r,o,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(P){h=""+P},stopTracking:function(){r._valueTracker=null,delete r[o]}}}}function tt(r){r._valueTracker||(r._valueTracker=ot(r))}function bt(r){if(!r)return!1;var o=r._valueTracker;if(!o)return!0;var f=o.getValue(),h="";return r&&(h=Be(r)?r.checked?"true":"false":r.value),r=h,r!==f?(o.setValue(r),!0):!1}function St(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function _e(r,o){var f=o.checked;return le({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??r._wrapperState.initialChecked})}function mt(r,o){var f=o.defaultValue==null?"":o.defaultValue,h=o.checked!=null?o.checked:o.defaultChecked;f=He(o.value!=null?o.value:f),r._wrapperState={initialChecked:h,initialValue:f,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function st(r,o){o=o.checked,o!=null&&F(r,"checked",o,!1)}function yn(r,o){st(r,o);var f=He(o.value),h=o.type;if(f!=null)h==="number"?(f===0&&r.value===""||r.value!=f)&&(r.value=""+f):r.value!==""+f&&(r.value=""+f);else if(h==="submit"||h==="reset"){r.removeAttribute("value");return}o.hasOwnProperty("value")?pn(r,o.type,f):o.hasOwnProperty("defaultValue")&&pn(r,o.type,He(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(r.defaultChecked=!!o.defaultChecked)}function rn(r,o,f){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var h=o.type;if(!(h!=="submit"&&h!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+r._wrapperState.initialValue,f||o===r.value||(r.value=o),r.defaultValue=o}f=r.name,f!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,f!==""&&(r.name=f)}function pn(r,o,f){(o!=="number"||St(r.ownerDocument)!==r)&&(f==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+f&&(r.defaultValue=""+f))}var en=Array.isArray;function pt(r,o,f,h){if(r=r.options,o){o={};for(var b=0;b<f.length;b++)o["$"+f[b]]=!0;for(f=0;f<r.length;f++)b=o.hasOwnProperty("$"+r[f].value),r[f].selected!==b&&(r[f].selected=b),b&&h&&(r[f].defaultSelected=!0)}else{for(f=""+He(f),o=null,b=0;b<r.length;b++){if(r[b].value===f){r[b].selected=!0,h&&(r[b].defaultSelected=!0);return}o!==null||r[b].disabled||(o=r[b])}o!==null&&(o.selected=!0)}}function jt(r,o){if(o.dangerouslySetInnerHTML!=null)throw Error(a(91));return le({},o,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function Ke(r,o){var f=o.value;if(f==null){if(f=o.children,o=o.defaultValue,f!=null){if(o!=null)throw Error(a(92));if(en(f)){if(1<f.length)throw Error(a(93));f=f[0]}o=f}o==null&&(o=""),f=o}r._wrapperState={initialValue:He(f)}}function an(r,o){var f=He(o.value),h=He(o.defaultValue);f!=null&&(f=""+f,f!==r.value&&(r.value=f),o.defaultValue==null&&r.defaultValue!==f&&(r.defaultValue=f)),h!=null&&(r.defaultValue=""+h)}function Mt(r){var o=r.textContent;o===r._wrapperState.initialValue&&o!==""&&o!==null&&(r.value=o)}function Nt(r){switch(r){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 Kn(r,o){return r==null||r==="http://www.w3.org/1999/xhtml"?Nt(o):r==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var nr,rr=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,f,h,b){MSApp.execUnsafeLocalFunction(function(){return r(o,f,h,b)})}:r}(function(r,o){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=o;else{for(nr=nr||document.createElement("div"),nr.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=nr.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;o.firstChild;)r.appendChild(o.firstChild)}});function Ie(r,o){if(o){var f=r.firstChild;if(f&&f===r.lastChild&&f.nodeType===3){f.nodeValue=o;return}}r.textContent=o}var Xe={animationIterationCount:!0,aspectRatio:!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,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ut=["Webkit","ms","Moz","O"];Object.keys(Xe).forEach(function(r){ut.forEach(function(o){o=o+r.charAt(0).toUpperCase()+r.substring(1),Xe[o]=Xe[r]})});function Et(r,o,f){return o==null||typeof o=="boolean"||o===""?"":f||typeof o!="number"||o===0||Xe.hasOwnProperty(r)&&Xe[r]?(""+o).trim():o+"px"}function Ut(r,o){r=r.style;for(var f in o)if(o.hasOwnProperty(f)){var h=f.indexOf("--")===0,b=Et(f,o[f],h);f==="float"&&(f="cssFloat"),h?r.setProperty(f,b):r[f]=b}}var bn=le({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});function Yt(r,o){if(o){if(bn[r]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(a(137,r));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(a(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(a(61))}if(o.style!=null&&typeof o.style!="object")throw Error(a(62))}}function Dt(r,o){if(r.indexOf("-")===-1)return typeof o.is=="string";switch(r){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 Jt=null;function on(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var ln=null,qn=null,ar=null;function In(r){if(r=Ot(r)){if(typeof ln!="function")throw Error(a(280));var o=r.stateNode;o&&(o=Ur(o),ln(r.stateNode,r.type,o))}}function kn(r){qn?ar?ar.push(r):ar=[r]:qn=r}function Or(){if(qn){var r=qn,o=ar;if(ar=qn=null,In(r),o)for(r=0;r<o.length;r++)In(o[r])}}function Tn(r,o){return r(o)}function ht(){}var Ye=!1;function wt(r,o,f){if(Ye)return r(o,f);Ye=!0;try{return Tn(r,o,f)}finally{Ye=!1,(qn!==null||ar!==null)&&(ht(),Or())}}function nn(r,o){var f=r.stateNode;if(f===null)return null;var h=Ur(f);if(h===null)return null;f=h[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(r=r.type,h=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!h;break e;default:r=!1}if(r)return null;if(f&&typeof f!="function")throw Error(a(231,o,typeof f));return f}var Ft=!1;if(g)try{var Bt={};Object.defineProperty(Bt,"passive",{get:function(){Ft=!0}}),window.addEventListener("test",Bt,Bt),window.removeEventListener("test",Bt,Bt)}catch{Ft=!1}function On(r,o,f,h,b,w,P,K,ee){var Se=Array.prototype.slice.call(arguments,3);try{o.apply(f,Se)}catch(Ae){this.onError(Ae)}}var ir=!1,_r=null,Pr=!1,G=null,Me={onError:function(r){ir=!0,_r=r}};function We(r,o,f,h,b,w,P,K,ee){ir=!1,_r=null,On.apply(Me,arguments)}function qe(r,o,f,h,b,w,P,K,ee){if(We.apply(this,arguments),ir){if(ir){var Se=_r;ir=!1,_r=null}else throw Error(a(198));Pr||(Pr=!0,G=Se)}}function Pt(r){var o=r,f=r;if(r.alternate)for(;o.return;)o=o.return;else{r=o;do o=r,o.flags&4098&&(f=o.return),r=o.return;while(r)}return o.tag===3?f:null}function yt(r){if(r.tag===13){var o=r.memoizedState;if(o===null&&(r=r.alternate,r!==null&&(o=r.memoizedState)),o!==null)return o.dehydrated}return null}function ct(r){if(Pt(r)!==r)throw Error(a(188))}function It(r){var o=r.alternate;if(!o){if(o=Pt(r),o===null)throw Error(a(188));return o!==r?null:r}for(var f=r,h=o;;){var b=f.return;if(b===null)break;var w=b.alternate;if(w===null){if(h=b.return,h!==null){f=h;continue}break}if(b.child===w.child){for(w=b.child;w;){if(w===f)return ct(b),r;if(w===h)return ct(b),o;w=w.sibling}throw Error(a(188))}if(f.return!==h.return)f=b,h=w;else{for(var P=!1,K=b.child;K;){if(K===f){P=!0,f=b,h=w;break}if(K===h){P=!0,h=b,f=w;break}K=K.sibling}if(!P){for(K=w.child;K;){if(K===f){P=!0,f=w,h=b;break}if(K===h){P=!0,h=w,f=b;break}K=K.sibling}if(!P)throw Error(a(189))}}if(f.alternate!==h)throw Error(a(190))}if(f.tag!==3)throw Error(a(188));return f.stateNode.current===f?r:o}function Gn(r){return r=It(r),r!==null?_n(r):null}function _n(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var o=_n(r);if(o!==null)return o;r=r.sibling}return null}var zn=i.unstable_scheduleCallback,En=i.unstable_cancelCallback,sa=i.unstable_shouldYield,_a=i.unstable_requestPaint,At=i.unstable_now,Kt=i.unstable_getCurrentPriorityLevel,ka=i.unstable_ImmediatePriority,ei=i.unstable_UserBlockingPriority,ga=i.unstable_NormalPriority,Xr=i.unstable_LowPriority,zi=i.unstable_IdlePriority,Ma=null,br=null;function ji(r){if(br&&typeof br.onCommitFiberRoot=="function")try{br.onCommitFiberRoot(Ma,r,void 0,(r.current.flags&128)===128)}catch{}}var xr=Math.clz32?Math.clz32:ti,Na=Math.log,ya=Math.LN2;function ti(r){return r>>>=0,r===0?32:31-(Na(r)/ya|0)|0}var ba=64,Sr=4194304;function Da(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Sa(r,o){var f=r.pendingLanes;if(f===0)return 0;var h=0,b=r.suspendedLanes,w=r.pingedLanes,P=f&268435455;if(P!==0){var K=P&~b;K!==0?h=Da(K):(w&=P,w!==0&&(h=Da(w)))}else P=f&~b,P!==0?h=Da(P):w!==0&&(h=Da(w));if(h===0)return 0;if(o!==0&&o!==h&&!(o&b)&&(b=h&-h,w=o&-o,b>=w||b===16&&(w&4194240)!==0))return o;if(h&4&&(h|=f&16),o=r.entangledLanes,o!==0)for(r=r.entanglements,o&=h;0<o;)f=31-xr(o),b=1<<f,h|=r[f],o&=~b;return h}function ro(r,o){switch(r){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ni(r,o){for(var f=r.suspendedLanes,h=r.pingedLanes,b=r.expirationTimes,w=r.pendingLanes;0<w;){var P=31-xr(w),K=1<<P,ee=b[P];ee===-1?(!(K&f)||K&h)&&(b[P]=ro(K,o)):ee<=o&&(r.expiredLanes|=K),w&=~K}}function Mn(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function hn(){var r=ba;return ba<<=1,!(ba&4194240)&&(ba=64),r}function Nn(r){for(var o=[],f=0;31>f;f++)o.push(r);return o}function sr(r,o,f){r.pendingLanes|=o,o!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,o=31-xr(o),r[o]=f}function Vr(r,o){var f=r.pendingLanes&~o;r.pendingLanes=o,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=o,r.mutableReadLanes&=o,r.entangledLanes&=o,o=r.entanglements;var h=r.eventTimes;for(r=r.expirationTimes;0<f;){var b=31-xr(f),w=1<<b;o[b]=0,h[b]=-1,r[b]=-1,f&=~w}}function Ca(r,o){var f=r.entangledLanes|=o;for(r=r.entanglements;f;){var h=31-xr(f),b=1<<h;b&o|r[h]&o&&(r[h]|=o),f&=~b}}var un=0;function ao(r){return r&=-r,1<r?4<r?r&268435455?16:536870912:4:1}var sn,Si,hr,kt,Hr,zr=!1,Pa=[],kr=null,ca=null,Xn=null,jn=new Map,io=new Map,Ar=[],fa="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Qe(r,o){switch(r){case"focusin":case"focusout":kr=null;break;case"dragenter":case"dragleave":ca=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":jn.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":io.delete(o.pointerId)}}function Tt(r,o,f,h,b,w){return r===null||r.nativeEvent!==w?(r={blockedOn:o,domEventName:f,eventSystemFlags:h,nativeEvent:w,targetContainers:[b]},o!==null&&(o=Ot(o),o!==null&&Si(o)),r):(r.eventSystemFlags|=h,o=r.targetContainers,b!==null&&o.indexOf(b)===-1&&o.push(b),r)}function Zn(r,o,f,h,b){switch(o){case"focusin":return kr=Tt(kr,r,o,f,h,b),!0;case"dragenter":return ca=Tt(ca,r,o,f,h,b),!0;case"mouseover":return Xn=Tt(Xn,r,o,f,h,b),!0;case"pointerover":var w=b.pointerId;return jn.set(w,Tt(jn.get(w)||null,r,o,f,h,b)),!0;case"gotpointercapture":return w=b.pointerId,io.set(w,Tt(io.get(w)||null,r,o,f,h,b)),!0}return!1}function Rr(r){var o=Wu(r.target);if(o!==null){var f=Pt(o);if(f!==null){if(o=f.tag,o===13){if(o=yt(f),o!==null){r.blockedOn=o,Hr(r.priority,function(){hr(f)});return}}else if(o===3&&f.stateNode.current.memoizedState.isDehydrated){r.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Qn(r){if(r.blockedOn!==null)return!1;for(var o=r.targetContainers;0<o.length;){var f=Ls(r.domEventName,r.eventSystemFlags,o[0],r.nativeEvent);if(f===null){f=r.nativeEvent;var h=new f.constructor(f.type,f);Jt=h,f.target.dispatchEvent(h),Jt=null}else return o=Ot(f),o!==null&&Si(o),r.blockedOn=f,!1;o.shift()}return!0}function oo(r,o,f){Qn(r)&&f.delete(o)}function Fu(){zr=!1,kr!==null&&Qn(kr)&&(kr=null),ca!==null&&Qn(ca)&&(ca=null),Xn!==null&&Qn(Xn)&&(Xn=null),jn.forEach(oo),io.forEach(oo)}function ri(r,o){r.blockedOn===o&&(r.blockedOn=null,zr||(zr=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Fu)))}function Ka(r){function o(b){return ri(b,r)}if(0<Pa.length){ri(Pa[0],r);for(var f=1;f<Pa.length;f++){var h=Pa[f];h.blockedOn===r&&(h.blockedOn=null)}}for(kr!==null&&ri(kr,r),ca!==null&&ri(ca,r),Xn!==null&&ri(Xn,r),jn.forEach(o),io.forEach(o),f=0;f<Ar.length;f++)h=Ar[f],h.blockedOn===r&&(h.blockedOn=null);for(;0<Ar.length&&(f=Ar[0],f.blockedOn===null);)Rr(f),f.blockedOn===null&&Ar.shift()}var Ho=z.ReactCurrentBatchConfig,lo=!0;function As(r,o,f,h){var b=un,w=Ho.transition;Ho.transition=null;try{un=1,ql(r,o,f,h)}finally{un=b,Ho.transition=w}}function $s(r,o,f,h){var b=un,w=Ho.transition;Ho.transition=null;try{un=4,ql(r,o,f,h)}finally{un=b,Ho.transition=w}}function ql(r,o,f,h){if(lo){var b=Ls(r,o,f,h);if(b===null)Yd(r,o,h,Iu,f),Qe(r,h);else if(Zn(b,r,o,f,h))h.stopPropagation();else if(Qe(r,h),o&4&&-1<fa.indexOf(r)){for(;b!==null;){var w=Ot(b);if(w!==null&&sn(w),w=Ls(r,o,f,h),w===null&&Yd(r,o,h,Iu,f),w===b)break;b=w}b!==null&&h.stopPropagation()}else Yd(r,o,h,null,f)}}var Iu=null;function Ls(r,o,f,h){if(Iu=null,r=on(h),r=Wu(r),r!==null)if(o=Pt(r),o===null)r=null;else if(f=o.tag,f===13){if(r=yt(o),r!==null)return r;r=null}else if(f===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;r=null}else o!==r&&(r=null);return Iu=r,null}function Fs(r){switch(r){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Kt()){case ka:return 1;case ei:return 4;case ga:case Xr:return 16;case zi:return 536870912;default:return 16}default:return 16}}var _o=null,M=null,X=null;function be(){if(X)return X;var r,o=M,f=o.length,h,b="value"in _o?_o.value:_o.textContent,w=b.length;for(r=0;r<f&&o[r]===b[r];r++);var P=f-r;for(h=1;h<=P&&o[f-h]===b[w-h];h++);return X=b.slice(r,1<h?1-h:void 0)}function Re(r){var o=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&o===13&&(r=13)):r=o,r===10&&(r=13),32<=r||r===13?r:0}function Ue(){return!0}function $t(){return!1}function Ze(r){function o(f,h,b,w,P){this._reactName=f,this._targetInst=b,this.type=h,this.nativeEvent=w,this.target=P,this.currentTarget=null;for(var K in r)r.hasOwnProperty(K)&&(f=r[K],this[K]=f?f(w):w[K]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?Ue:$t,this.isPropagationStopped=$t,this}return le(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Ue)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Ue)},persist:function(){},isPersistent:Ue}),o}var Vt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mn=Ze(Vt),Fn=le({},Vt,{view:0,detail:0}),Cr=Ze(Fn),cr,cn,fr,$r=le({},Fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vh,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==fr&&(fr&&r.type==="mousemove"?(cr=r.screenX-fr.screenX,cn=r.screenY-fr.screenY):cn=cr=0,fr=r),cr)},movementY:function(r){return"movementY"in r?r.movementY:cn}}),Gl=Ze($r),Hc=le({},$r,{dataTransfer:0}),bl=Ze(Hc),Uc=le({},Fn,{relatedTarget:0}),zu=Ze(Uc),sh=le({},Vt,{animationName:0,elapsedTime:0,pseudoElement:0}),$d=Ze(sh),ch=le({},Vt,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Py=Ze(ch),fh=le({},Vt,{data:0}),dh=Ze(fh),Ay={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$y={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",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},QE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sl(r){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(r):(r=QE[r])?!!o[r]:!1}function vh(){return Sl}var ph=le({},Fn,{key:function(r){if(r.key){var o=Ay[r.key]||r.key;if(o!=="Unidentified")return o}return r.type==="keypress"?(r=Re(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?$y[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vh,charCode:function(r){return r.type==="keypress"?Re(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Re(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),hh=Ze(ph),mh=le({},$r,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ly=Ze(mh),Ld=le({},Fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vh}),Fy=Ze(Ld),Ci=le({},Vt,{propertyName:0,elapsedTime:0,pseudoElement:0}),Cl=Ze(Ci),Qr=le({},$r,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),El=Ze(Qr),gh=[9,13,27,32],Is=g&&"CompositionEvent"in window,Bc=null;g&&"documentMode"in document&&(Bc=document.documentMode);var Wc=g&&"TextEvent"in window&&!Bc,Iy=g&&(!Is||Bc&&8<Bc&&11>=Bc),zy=" ",Fd=!1;function jy(r,o){switch(r){case"keyup":return gh.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vy(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var zs=!1;function Hy(r,o){switch(r){case"compositionend":return Vy(o);case"keypress":return o.which!==32?null:(Fd=!0,zy);case"textInput":return r=o.data,r===zy&&Fd?null:r;default:return null}}function ZE(r,o){if(zs)return r==="compositionend"||!Is&&jy(r,o)?(r=be(),X=M=_o=null,zs=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Iy&&o.locale!=="ko"?null:o.data;default:return null}}var JE={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 Uy(r){var o=r&&r.nodeName&&r.nodeName.toLowerCase();return o==="input"?!!JE[r.type]:o==="textarea"}function yh(r,o,f,h){kn(h),o=Qc(o,"onChange"),0<o.length&&(f=new mn("onChange","change",null,f,h),r.push({event:f,listeners:o}))}var Uo=null,ju=null;function By(r){Uu(r,0)}function Yc(r){var o=Mo(r);if(bt(o))return r}function ew(r,o){if(r==="change")return o}var Wy=!1;if(g){var bh;if(g){var Sh="oninput"in document;if(!Sh){var Yy=document.createElement("div");Yy.setAttribute("oninput","return;"),Sh=typeof Yy.oninput=="function"}bh=Sh}else bh=!1;Wy=bh&&(!document.documentMode||9<document.documentMode)}function Ky(){Uo&&(Uo.detachEvent("onpropertychange",qy),ju=Uo=null)}function qy(r){if(r.propertyName==="value"&&Yc(ju)){var o=[];yh(o,ju,r,on(r)),wt(By,o)}}function tw(r,o,f){r==="focusin"?(Ky(),Uo=o,ju=f,Uo.attachEvent("onpropertychange",qy)):r==="focusout"&&Ky()}function Gy(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Yc(ju)}function nw(r,o){if(r==="click")return Yc(o)}function Xy(r,o){if(r==="input"||r==="change")return Yc(o)}function rw(r,o){return r===o&&(r!==0||1/r===1/o)||r!==r&&o!==o}var ko=typeof Object.is=="function"?Object.is:rw;function Kc(r,o){if(ko(r,o))return!0;if(typeof r!="object"||r===null||typeof o!="object"||o===null)return!1;var f=Object.keys(r),h=Object.keys(o);if(f.length!==h.length)return!1;for(h=0;h<f.length;h++){var b=f[h];if(!y.call(o,b)||!ko(r[b],o[b]))return!1}return!0}function Qy(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Id(r,o){var f=Qy(r);r=0;for(var h;f;){if(f.nodeType===3){if(h=r+f.textContent.length,r<=o&&h>=o)return{node:f,offset:o-r};r=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Qy(f)}}function Xl(r,o){return r&&o?r===o?!0:r&&r.nodeType===3?!1:o&&o.nodeType===3?Xl(r,o.parentNode):"contains"in r?r.contains(o):r.compareDocumentPosition?!!(r.compareDocumentPosition(o)&16):!1:!1}function qc(){for(var r=window,o=St();o instanceof r.HTMLIFrameElement;){try{var f=typeof o.contentWindow.location.href=="string"}catch{f=!1}if(f)r=o.contentWindow;else break;o=St(r.document)}return o}function zd(r){var o=r&&r.nodeName&&r.nodeName.toLowerCase();return o&&(o==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||o==="textarea"||r.contentEditable==="true")}function js(r){var o=qc(),f=r.focusedElem,h=r.selectionRange;if(o!==f&&f&&f.ownerDocument&&Xl(f.ownerDocument.documentElement,f)){if(h!==null&&zd(f)){if(o=h.start,r=h.end,r===void 0&&(r=o),"selectionStart"in f)f.selectionStart=o,f.selectionEnd=Math.min(r,f.value.length);else if(r=(o=f.ownerDocument||document)&&o.defaultView||window,r.getSelection){r=r.getSelection();var b=f.textContent.length,w=Math.min(h.start,b);h=h.end===void 0?w:Math.min(h.end,b),!r.extend&&w>h&&(b=h,h=w,w=b),b=Id(f,w);var P=Id(f,h);b&&P&&(r.rangeCount!==1||r.anchorNode!==b.node||r.anchorOffset!==b.offset||r.focusNode!==P.node||r.focusOffset!==P.offset)&&(o=o.createRange(),o.setStart(b.node,b.offset),r.removeAllRanges(),w>h?(r.addRange(o),r.extend(P.node,P.offset)):(o.setEnd(P.node,P.offset),r.addRange(o)))}}for(o=[],r=f;r=r.parentNode;)r.nodeType===1&&o.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<o.length;f++)r=o[f],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var aw=g&&"documentMode"in document&&11>=document.documentMode,Vs=null,Ch=null,Gc=null,Eh=!1;function wh(r,o,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Eh||Vs==null||Vs!==St(h)||(h=Vs,"selectionStart"in h&&zd(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),Gc&&Kc(Gc,h)||(Gc=h,h=Qc(Ch,"onSelect"),0<h.length&&(o=new mn("onSelect","select",null,o,f),r.push({event:o,listeners:h}),o.target=Vs)))}function jd(r,o){var f={};return f[r.toLowerCase()]=o.toLowerCase(),f["Webkit"+r]="webkit"+o,f["Moz"+r]="moz"+o,f}var Vu={animationend:jd("Animation","AnimationEnd"),animationiteration:jd("Animation","AnimationIteration"),animationstart:jd("Animation","AnimationStart"),transitionend:jd("Transition","TransitionEnd")},Aa={},xh={};g&&(xh=document.createElement("div").style,"AnimationEvent"in window||(delete Vu.animationend.animation,delete Vu.animationiteration.animation,delete Vu.animationstart.animation),"TransitionEvent"in window||delete Vu.transitionend.transition);function Vd(r){if(Aa[r])return Aa[r];if(!Vu[r])return r;var o=Vu[r],f;for(f in o)if(o.hasOwnProperty(f)&&f in xh)return Aa[r]=o[f];return r}var Zy=Vd("animationend"),Jy=Vd("animationiteration"),e0=Vd("animationstart"),t0=Vd("transitionend"),Rh=new Map,Hd="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function uo(r,o){Rh.set(r,o),p(o,[r])}for(var Th=0;Th<Hd.length;Th++){var Hu=Hd[Th],iw=Hu.toLowerCase(),ow=Hu[0].toUpperCase()+Hu.slice(1);uo(iw,"on"+ow)}uo(Zy,"onAnimationEnd"),uo(Jy,"onAnimationIteration"),uo(e0,"onAnimationStart"),uo("dblclick","onDoubleClick"),uo("focusin","onFocus"),uo("focusout","onBlur"),uo(t0,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),p("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),p("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),p("onBeforeInput",["compositionend","keypress","textInput","paste"]),p("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Oh=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xc));function Ud(r,o,f){var h=r.type||"unknown-event";r.currentTarget=f,qe(h,o,void 0,r),r.currentTarget=null}function Uu(r,o){o=(o&4)!==0;for(var f=0;f<r.length;f++){var h=r[f],b=h.event;h=h.listeners;e:{var w=void 0;if(o)for(var P=h.length-1;0<=P;P--){var K=h[P],ee=K.instance,Se=K.currentTarget;if(K=K.listener,ee!==w&&b.isPropagationStopped())break e;Ud(b,K,Se),w=ee}else for(P=0;P<h.length;P++){if(K=h[P],ee=K.instance,Se=K.currentTarget,K=K.listener,ee!==w&&b.isPropagationStopped())break e;Ud(b,K,Se),w=ee}}}if(Pr)throw r=G,Pr=!1,G=null,r}function Jn(r,o){var f=o[ef];f===void 0&&(f=o[ef]=new Set);var h=r+"__bubble";f.has(h)||(n0(o,r,2,!1),f.add(h))}function Bd(r,o,f){var h=0;o&&(h|=4),n0(f,r,h,o)}var Wd="_reactListening"+Math.random().toString(36).slice(2);function Hs(r){if(!r[Wd]){r[Wd]=!0,u.forEach(function(f){f!=="selectionchange"&&(Oh.has(f)||Bd(f,!1,r),Bd(f,!0,r))});var o=r.nodeType===9?r:r.ownerDocument;o===null||o[Wd]||(o[Wd]=!0,Bd("selectionchange",!1,o))}}function n0(r,o,f,h){switch(Fs(o)){case 1:var b=As;break;case 4:b=$s;break;default:b=ql}f=b.bind(null,o,f,r),b=void 0,!Ft||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(b=!0),h?b!==void 0?r.addEventListener(o,f,{capture:!0,passive:b}):r.addEventListener(o,f,!0):b!==void 0?r.addEventListener(o,f,{passive:b}):r.addEventListener(o,f,!1)}function Yd(r,o,f,h,b){var w=h;if(!(o&1)&&!(o&2)&&h!==null)e:for(;;){if(h===null)return;var P=h.tag;if(P===3||P===4){var K=h.stateNode.containerInfo;if(K===b||K.nodeType===8&&K.parentNode===b)break;if(P===4)for(P=h.return;P!==null;){var ee=P.tag;if((ee===3||ee===4)&&(ee=P.stateNode.containerInfo,ee===b||ee.nodeType===8&&ee.parentNode===b))return;P=P.return}for(;K!==null;){if(P=Wu(K),P===null)return;if(ee=P.tag,ee===5||ee===6){h=w=P;continue e}K=K.parentNode}}h=h.return}wt(function(){var Se=w,Ae=on(f),ze=[];e:{var De=Rh.get(r);if(De!==void 0){var rt=mn,ft=r;switch(r){case"keypress":if(Re(f)===0)break e;case"keydown":case"keyup":rt=hh;break;case"focusin":ft="focus",rt=zu;break;case"focusout":ft="blur",rt=zu;break;case"beforeblur":case"afterblur":rt=zu;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":rt=Gl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":rt=bl;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":rt=Fy;break;case Zy:case Jy:case e0:rt=$d;break;case t0:rt=Cl;break;case"scroll":rt=Cr;break;case"wheel":rt=El;break;case"copy":case"cut":case"paste":rt=Py;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":rt=Ly}var gt=(o&4)!==0,qr=!gt&&r==="scroll",fe=gt?De!==null?De+"Capture":null:De;gt=[];for(var ie=Se,he;ie!==null;){he=ie;var $e=he.stateNode;if(he.tag===5&&$e!==null&&(he=$e,fe!==null&&($e=nn(ie,fe),$e!=null&&gt.push(Us(ie,$e,he)))),qr)break;ie=ie.return}0<gt.length&&(De=new rt(De,ft,null,f,Ae),ze.push({event:De,listeners:gt}))}}if(!(o&7)){e:{if(De=r==="mouseover"||r==="pointerover",rt=r==="mouseout"||r==="pointerout",De&&f!==Jt&&(ft=f.relatedTarget||f.fromElement)&&(Wu(ft)||ft[wl]))break e;if((rt||De)&&(De=Ae.window===Ae?Ae:(De=Ae.ownerDocument)?De.defaultView||De.parentWindow:window,rt?(ft=f.relatedTarget||f.toElement,rt=Se,ft=ft?Wu(ft):null,ft!==null&&(qr=Pt(ft),ft!==qr||ft.tag!==5&&ft.tag!==6)&&(ft=null)):(rt=null,ft=Se),rt!==ft)){if(gt=Gl,$e="onMouseLeave",fe="onMouseEnter",ie="mouse",(r==="pointerout"||r==="pointerover")&&(gt=Ly,$e="onPointerLeave",fe="onPointerEnter",ie="pointer"),qr=rt==null?De:Mo(rt),he=ft==null?De:Mo(ft),De=new gt($e,ie+"leave",rt,f,Ae),De.target=qr,De.relatedTarget=he,$e=null,Wu(Ae)===Se&&(gt=new gt(fe,ie+"enter",ft,f,Ae),gt.target=he,gt.relatedTarget=qr,$e=gt),qr=$e,rt&&ft)t:{for(gt=rt,fe=ft,ie=0,he=gt;he;he=Ql(he))ie++;for(he=0,$e=fe;$e;$e=Ql($e))he++;for(;0<ie-he;)gt=Ql(gt),ie--;for(;0<he-ie;)fe=Ql(fe),he--;for(;ie--;){if(gt===fe||fe!==null&&gt===fe.alternate)break t;gt=Ql(gt),fe=Ql(fe)}gt=null}else gt=null;rt!==null&&r0(ze,De,rt,gt,!1),ft!==null&&qr!==null&&r0(ze,qr,ft,gt,!0)}}e:{if(De=Se?Mo(Se):window,rt=De.nodeName&&De.nodeName.toLowerCase(),rt==="select"||rt==="input"&&De.type==="file")var dt=ew;else if(Uy(De))if(Wy)dt=Xy;else{dt=Gy;var zt=tw}else(rt=De.nodeName)&&rt.toLowerCase()==="input"&&(De.type==="checkbox"||De.type==="radio")&&(dt=nw);if(dt&&(dt=dt(r,Se))){yh(ze,dt,f,Ae);break e}zt&&zt(r,De,Se),r==="focusout"&&(zt=De._wrapperState)&&zt.controlled&&De.type==="number"&&pn(De,"number",De.value)}switch(zt=Se?Mo(Se):window,r){case"focusin":(Uy(zt)||zt.contentEditable==="true")&&(Vs=zt,Ch=Se,Gc=null);break;case"focusout":Gc=Ch=Vs=null;break;case"mousedown":Eh=!0;break;case"contextmenu":case"mouseup":case"dragend":Eh=!1,wh(ze,f,Ae);break;case"selectionchange":if(aw)break;case"keydown":case"keyup":wh(ze,f,Ae)}var Ht;if(Is)e:{switch(r){case"compositionstart":var Gt="onCompositionStart";break e;case"compositionend":Gt="onCompositionEnd";break e;case"compositionupdate":Gt="onCompositionUpdate";break e}Gt=void 0}else zs?jy(r,f)&&(Gt="onCompositionEnd"):r==="keydown"&&f.keyCode===229&&(Gt="onCompositionStart");Gt&&(Iy&&f.locale!=="ko"&&(zs||Gt!=="onCompositionStart"?Gt==="onCompositionEnd"&&zs&&(Ht=be()):(_o=Ae,M="value"in _o?_o.value:_o.textContent,zs=!0)),zt=Qc(Se,Gt),0<zt.length&&(Gt=new dh(Gt,r,null,f,Ae),ze.push({event:Gt,listeners:zt}),Ht?Gt.data=Ht:(Ht=Vy(f),Ht!==null&&(Gt.data=Ht)))),(Ht=Wc?Hy(r,f):ZE(r,f))&&(Se=Qc(Se,"onBeforeInput"),0<Se.length&&(Ae=new dh("onBeforeInput","beforeinput",null,f,Ae),ze.push({event:Ae,listeners:Se}),Ae.data=Ht))}Uu(ze,o)})}function Us(r,o,f){return{instance:r,listener:o,currentTarget:f}}function Qc(r,o){for(var f=o+"Capture",h=[];r!==null;){var b=r,w=b.stateNode;b.tag===5&&w!==null&&(b=w,w=nn(r,f),w!=null&&h.unshift(Us(r,w,b)),w=nn(r,o),w!=null&&h.push(Us(r,w,b))),r=r.return}return h}function Ql(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function r0(r,o,f,h,b){for(var w=o._reactName,P=[];f!==null&&f!==h;){var K=f,ee=K.alternate,Se=K.stateNode;if(ee!==null&&ee===h)break;K.tag===5&&Se!==null&&(K=Se,b?(ee=nn(f,w),ee!=null&&P.unshift(Us(f,ee,K))):b||(ee=nn(f,w),ee!=null&&P.push(Us(f,ee,K)))),f=f.return}P.length!==0&&r.push({event:o,listeners:P})}var a0=/\r\n?/g,lw=/\u0000|\uFFFD/g;function i0(r){return(typeof r=="string"?r:""+r).replace(a0,`
77
- `).replace(lw,"")}function Kd(r,o,f){if(o=i0(o),i0(r)!==o&&f)throw Error(a(425))}function Zl(){}var Zc=null,Bu=null;function qd(r,o){return r==="textarea"||r==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Gd=typeof setTimeout=="function"?setTimeout:void 0,_h=typeof clearTimeout=="function"?clearTimeout:void 0,o0=typeof Promise=="function"?Promise:void 0,Bs=typeof queueMicrotask=="function"?queueMicrotask:typeof o0<"u"?function(r){return o0.resolve(null).then(r).catch(Xd)}:Gd;function Xd(r){setTimeout(function(){throw r})}function Ws(r,o){var f=o,h=0;do{var b=f.nextSibling;if(r.removeChild(f),b&&b.nodeType===8)if(f=b.data,f==="/$"){if(h===0){r.removeChild(b),Ka(o);return}h--}else f!=="$"&&f!=="$?"&&f!=="$!"||h++;f=b}while(f);Ka(o)}function Bo(r){for(;r!=null;r=r.nextSibling){var o=r.nodeType;if(o===1||o===3)break;if(o===8){if(o=r.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return r}function l0(r){r=r.previousSibling;for(var o=0;r;){if(r.nodeType===8){var f=r.data;if(f==="$"||f==="$!"||f==="$?"){if(o===0)return r;o--}else f==="/$"&&o++}r=r.previousSibling}return null}var Jl=Math.random().toString(36).slice(2),Wo="__reactFiber$"+Jl,Jc="__reactProps$"+Jl,wl="__reactContainer$"+Jl,ef="__reactEvents$"+Jl,Ys="__reactListeners$"+Jl,uw="__reactHandles$"+Jl;function Wu(r){var o=r[Wo];if(o)return o;for(var f=r.parentNode;f;){if(o=f[wl]||f[Wo]){if(f=o.alternate,o.child!==null||f!==null&&f.child!==null)for(r=l0(r);r!==null;){if(f=r[Wo])return f;r=l0(r)}return o}r=f,f=r.parentNode}return null}function Ot(r){return r=r[Wo]||r[wl],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function Mo(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(a(33))}function Ur(r){return r[Jc]||null}var Dn=[],so=-1;function No(r){return{current:r}}function Er(r){0>so||(r.current=Dn[so],Dn[so]=null,so--)}function xt(r,o){so++,Dn[so]=r.current,r.current=o}var Ei={},jr=No(Ei),da=No(!1),wi=Ei;function co(r,o){var f=r.type.contextTypes;if(!f)return Ei;var h=r.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===o)return h.__reactInternalMemoizedMaskedChildContext;var b={},w;for(w in f)b[w]=o[w];return h&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=o,r.__reactInternalMemoizedMaskedChildContext=b),b}function Zr(r){return r=r.childContextTypes,r!=null}function Ks(){Er(da),Er(jr)}function u0(r,o,f){if(jr.current!==Ei)throw Error(a(168));xt(jr,o),xt(da,f)}function tf(r,o,f){var h=r.stateNode;if(o=o.childContextTypes,typeof h.getChildContext!="function")return f;h=h.getChildContext();for(var b in h)if(!(b in o))throw Error(a(108,Le(r)||"Unknown",b));return le({},f,h)}function xi(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Ei,wi=jr.current,xt(jr,r),xt(da,da.current),!0}function Qd(r,o,f){var h=r.stateNode;if(!h)throw Error(a(169));f?(r=tf(r,o,wi),h.__reactInternalMemoizedMergedChildContext=r,Er(da),Er(jr),xt(jr,r)):Er(da),xt(da,f)}var Yo=null,qs=!1,xl=!1;function Zd(r){Yo===null?Yo=[r]:Yo.push(r)}function eu(r){qs=!0,Zd(r)}function Ko(){if(!xl&&Yo!==null){xl=!0;var r=0,o=un;try{var f=Yo;for(un=1;r<f.length;r++){var h=f[r];do h=h(!0);while(h!==null)}Yo=null,qs=!1}catch(b){throw Yo!==null&&(Yo=Yo.slice(r+1)),zn(ka,Ko),b}finally{un=o,xl=!1}}return null}var tu=[],nu=0,ru=null,Rl=0,Jr=[],fo=0,Vi=null,qo=1,Go="";function Yu(r,o){tu[nu++]=Rl,tu[nu++]=ru,ru=r,Rl=o}function s0(r,o,f){Jr[fo++]=qo,Jr[fo++]=Go,Jr[fo++]=Vi,Vi=r;var h=qo;r=Go;var b=32-xr(h)-1;h&=~(1<<b),f+=1;var w=32-xr(o)+b;if(30<w){var P=b-b%5;w=(h&(1<<P)-1).toString(32),h>>=P,b-=P,qo=1<<32-xr(o)+b|f<<b|h,Go=w+r}else qo=1<<w|f<<b|h,Go=r}function Jd(r){r.return!==null&&(Yu(r,1),s0(r,1,0))}function ev(r){for(;r===ru;)ru=tu[--nu],tu[nu]=null,Rl=tu[--nu],tu[nu]=null;for(;r===Vi;)Vi=Jr[--fo],Jr[fo]=null,Go=Jr[--fo],Jr[fo]=null,qo=Jr[--fo],Jr[fo]=null}var Ri=null,Ti=null,Mr=!1,vo=null;function kh(r,o){var f=yo(5,null,null,0);f.elementType="DELETED",f.stateNode=o,f.return=r,o=r.deletions,o===null?(r.deletions=[f],r.flags|=16):o.push(f)}function c0(r,o){switch(r.tag){case 5:var f=r.type;return o=o.nodeType!==1||f.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(r.stateNode=o,Ri=r,Ti=Bo(o.firstChild),!0):!1;case 6:return o=r.pendingProps===""||o.nodeType!==3?null:o,o!==null?(r.stateNode=o,Ri=r,Ti=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(f=Vi!==null?{id:qo,overflow:Go}:null,r.memoizedState={dehydrated:o,treeContext:f,retryLane:1073741824},f=yo(18,null,null,0),f.stateNode=o,f.return=r,r.child=f,Ri=r,Ti=null,!0):!1;default:return!1}}function Mh(r){return(r.mode&1)!==0&&(r.flags&128)===0}function Nh(r){if(Mr){var o=Ti;if(o){var f=o;if(!c0(r,o)){if(Mh(r))throw Error(a(418));o=Bo(f.nextSibling);var h=Ri;o&&c0(r,o)?kh(h,f):(r.flags=r.flags&-4097|2,Mr=!1,Ri=r)}}else{if(Mh(r))throw Error(a(418));r.flags=r.flags&-4097|2,Mr=!1,Ri=r}}}function va(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;Ri=r}function tv(r){if(r!==Ri)return!1;if(!Mr)return va(r),Mr=!0,!1;var o;if((o=r.tag!==3)&&!(o=r.tag!==5)&&(o=r.type,o=o!=="head"&&o!=="body"&&!qd(r.type,r.memoizedProps)),o&&(o=Ti)){if(Mh(r))throw nf(),Error(a(418));for(;o;)kh(r,o),o=Bo(o.nextSibling)}if(va(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));e:{for(r=r.nextSibling,o=0;r;){if(r.nodeType===8){var f=r.data;if(f==="/$"){if(o===0){Ti=Bo(r.nextSibling);break e}o--}else f!=="$"&&f!=="$!"&&f!=="$?"||o++}r=r.nextSibling}Ti=null}}else Ti=Ri?Bo(r.stateNode.nextSibling):null;return!0}function nf(){for(var r=Ti;r;)r=Bo(r.nextSibling)}function au(){Ti=Ri=null,Mr=!1}function Tl(r){vo===null?vo=[r]:vo.push(r)}var sw=z.ReactCurrentBatchConfig;function Ku(r,o,f){if(r=f.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(a(309));var h=f.stateNode}if(!h)throw Error(a(147,r));var b=h,w=""+r;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===w?o.ref:(o=function(P){var K=b.refs;P===null?delete K[w]:K[w]=P},o._stringRef=w,o)}if(typeof r!="string")throw Error(a(284));if(!f._owner)throw Error(a(290,r))}return r}function nv(r,o){throw r=Object.prototype.toString.call(o),Error(a(31,r==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":r))}function f0(r){var o=r._init;return o(r._payload)}function qu(r){function o(fe,ie){if(r){var he=fe.deletions;he===null?(fe.deletions=[ie],fe.flags|=16):he.push(ie)}}function f(fe,ie){if(!r)return null;for(;ie!==null;)o(fe,ie),ie=ie.sibling;return null}function h(fe,ie){for(fe=new Map;ie!==null;)ie.key!==null?fe.set(ie.key,ie):fe.set(ie.index,ie),ie=ie.sibling;return fe}function b(fe,ie){return fe=du(fe,ie),fe.index=0,fe.sibling=null,fe}function w(fe,ie,he){return fe.index=he,r?(he=fe.alternate,he!==null?(he=he.index,he<ie?(fe.flags|=2,ie):he):(fe.flags|=2,ie)):(fe.flags|=1048576,ie)}function P(fe){return r&&fe.alternate===null&&(fe.flags|=2),fe}function K(fe,ie,he,$e){return ie===null||ie.tag!==6?(ie=um(he,fe.mode,$e),ie.return=fe,ie):(ie=b(ie,he),ie.return=fe,ie)}function ee(fe,ie,he,$e){var dt=he.type;return dt===W?Ae(fe,ie,he.props.children,$e,he.key):ie!==null&&(ie.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===ye&&f0(dt)===ie.type)?($e=b(ie,he.props),$e.ref=Ku(fe,ie,he),$e.return=fe,$e):($e=Pf(he.type,he.key,he.props,null,fe.mode,$e),$e.ref=Ku(fe,ie,he),$e.return=fe,$e)}function Se(fe,ie,he,$e){return ie===null||ie.tag!==4||ie.stateNode.containerInfo!==he.containerInfo||ie.stateNode.implementation!==he.implementation?(ie=$v(he,fe.mode,$e),ie.return=fe,ie):(ie=b(ie,he.children||[]),ie.return=fe,ie)}function Ae(fe,ie,he,$e,dt){return ie===null||ie.tag!==7?(ie=Dl(he,fe.mode,$e,dt),ie.return=fe,ie):(ie=b(ie,he),ie.return=fe,ie)}function ze(fe,ie,he){if(typeof ie=="string"&&ie!==""||typeof ie=="number")return ie=um(""+ie,fe.mode,he),ie.return=fe,ie;if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case I:return he=Pf(ie.type,ie.key,ie.props,null,fe.mode,he),he.ref=Ku(fe,null,ie),he.return=fe,he;case H:return ie=$v(ie,fe.mode,he),ie.return=fe,ie;case ye:var $e=ie._init;return ze(fe,$e(ie._payload),he)}if(en(ie)||me(ie))return ie=Dl(ie,fe.mode,he,null),ie.return=fe,ie;nv(fe,ie)}return null}function De(fe,ie,he,$e){var dt=ie!==null?ie.key:null;if(typeof he=="string"&&he!==""||typeof he=="number")return dt!==null?null:K(fe,ie,""+he,$e);if(typeof he=="object"&&he!==null){switch(he.$$typeof){case I:return he.key===dt?ee(fe,ie,he,$e):null;case H:return he.key===dt?Se(fe,ie,he,$e):null;case ye:return dt=he._init,De(fe,ie,dt(he._payload),$e)}if(en(he)||me(he))return dt!==null?null:Ae(fe,ie,he,$e,null);nv(fe,he)}return null}function rt(fe,ie,he,$e,dt){if(typeof $e=="string"&&$e!==""||typeof $e=="number")return fe=fe.get(he)||null,K(ie,fe,""+$e,dt);if(typeof $e=="object"&&$e!==null){switch($e.$$typeof){case I:return fe=fe.get($e.key===null?he:$e.key)||null,ee(ie,fe,$e,dt);case H:return fe=fe.get($e.key===null?he:$e.key)||null,Se(ie,fe,$e,dt);case ye:var zt=$e._init;return rt(fe,ie,he,zt($e._payload),dt)}if(en($e)||me($e))return fe=fe.get(he)||null,Ae(ie,fe,$e,dt,null);nv(ie,$e)}return null}function ft(fe,ie,he,$e){for(var dt=null,zt=null,Ht=ie,Gt=ie=0,xa=null;Ht!==null&&Gt<he.length;Gt++){Ht.index>Gt?(xa=Ht,Ht=null):xa=Ht.sibling;var Bn=De(fe,Ht,he[Gt],$e);if(Bn===null){Ht===null&&(Ht=xa);break}r&&Ht&&Bn.alternate===null&&o(fe,Ht),ie=w(Bn,ie,Gt),zt===null?dt=Bn:zt.sibling=Bn,zt=Bn,Ht=xa}if(Gt===he.length)return f(fe,Ht),Mr&&Yu(fe,Gt),dt;if(Ht===null){for(;Gt<he.length;Gt++)Ht=ze(fe,he[Gt],$e),Ht!==null&&(ie=w(Ht,ie,Gt),zt===null?dt=Ht:zt.sibling=Ht,zt=Ht);return Mr&&Yu(fe,Gt),dt}for(Ht=h(fe,Ht);Gt<he.length;Gt++)xa=rt(Ht,fe,Gt,he[Gt],$e),xa!==null&&(r&&xa.alternate!==null&&Ht.delete(xa.key===null?Gt:xa.key),ie=w(xa,ie,Gt),zt===null?dt=xa:zt.sibling=xa,zt=xa);return r&&Ht.forEach(function(hu){return o(fe,hu)}),Mr&&Yu(fe,Gt),dt}function gt(fe,ie,he,$e){var dt=me(he);if(typeof dt!="function")throw Error(a(150));if(he=dt.call(he),he==null)throw Error(a(151));for(var zt=dt=null,Ht=ie,Gt=ie=0,xa=null,Bn=he.next();Ht!==null&&!Bn.done;Gt++,Bn=he.next()){Ht.index>Gt?(xa=Ht,Ht=null):xa=Ht.sibling;var hu=De(fe,Ht,Bn.value,$e);if(hu===null){Ht===null&&(Ht=xa);break}r&&Ht&&hu.alternate===null&&o(fe,Ht),ie=w(hu,ie,Gt),zt===null?dt=hu:zt.sibling=hu,zt=hu,Ht=xa}if(Bn.done)return f(fe,Ht),Mr&&Yu(fe,Gt),dt;if(Ht===null){for(;!Bn.done;Gt++,Bn=he.next())Bn=ze(fe,Bn.value,$e),Bn!==null&&(ie=w(Bn,ie,Gt),zt===null?dt=Bn:zt.sibling=Bn,zt=Bn);return Mr&&Yu(fe,Gt),dt}for(Ht=h(fe,Ht);!Bn.done;Gt++,Bn=he.next())Bn=rt(Ht,fe,Gt,Bn.value,$e),Bn!==null&&(r&&Bn.alternate!==null&&Ht.delete(Bn.key===null?Gt:Bn.key),ie=w(Bn,ie,Gt),zt===null?dt=Bn:zt.sibling=Bn,zt=Bn);return r&&Ht.forEach(function(K0){return o(fe,K0)}),Mr&&Yu(fe,Gt),dt}function qr(fe,ie,he,$e){if(typeof he=="object"&&he!==null&&he.type===W&&he.key===null&&(he=he.props.children),typeof he=="object"&&he!==null){switch(he.$$typeof){case I:e:{for(var dt=he.key,zt=ie;zt!==null;){if(zt.key===dt){if(dt=he.type,dt===W){if(zt.tag===7){f(fe,zt.sibling),ie=b(zt,he.props.children),ie.return=fe,fe=ie;break e}}else if(zt.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===ye&&f0(dt)===zt.type){f(fe,zt.sibling),ie=b(zt,he.props),ie.ref=Ku(fe,zt,he),ie.return=fe,fe=ie;break e}f(fe,zt);break}else o(fe,zt);zt=zt.sibling}he.type===W?(ie=Dl(he.props.children,fe.mode,$e,he.key),ie.return=fe,fe=ie):($e=Pf(he.type,he.key,he.props,null,fe.mode,$e),$e.ref=Ku(fe,ie,he),$e.return=fe,fe=$e)}return P(fe);case H:e:{for(zt=he.key;ie!==null;){if(ie.key===zt)if(ie.tag===4&&ie.stateNode.containerInfo===he.containerInfo&&ie.stateNode.implementation===he.implementation){f(fe,ie.sibling),ie=b(ie,he.children||[]),ie.return=fe,fe=ie;break e}else{f(fe,ie);break}else o(fe,ie);ie=ie.sibling}ie=$v(he,fe.mode,$e),ie.return=fe,fe=ie}return P(fe);case ye:return zt=he._init,qr(fe,ie,zt(he._payload),$e)}if(en(he))return ft(fe,ie,he,$e);if(me(he))return gt(fe,ie,he,$e);nv(fe,he)}return typeof he=="string"&&he!==""||typeof he=="number"?(he=""+he,ie!==null&&ie.tag===6?(f(fe,ie.sibling),ie=b(ie,he),ie.return=fe,fe=ie):(f(fe,ie),ie=um(he,fe.mode,$e),ie.return=fe,fe=ie),P(fe)):f(fe,ie)}return qr}var Br=qu(!0),Je=qu(!1),Hi=No(null),Oi=null,Gs=null,Dh=null;function Ph(){Dh=Gs=Oi=null}function Ah(r){var o=Hi.current;Er(Hi),r._currentValue=o}function $h(r,o,f){for(;r!==null;){var h=r.alternate;if((r.childLanes&o)!==o?(r.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),r===f)break;r=r.return}}function Lr(r,o){Oi=r,Dh=Gs=null,r=r.dependencies,r!==null&&r.firstContext!==null&&(r.lanes&o&&(ta=!0),r.firstContext=null)}function po(r){var o=r._currentValue;if(Dh!==r)if(r={context:r,memoizedValue:o,next:null},Gs===null){if(Oi===null)throw Error(a(308));Gs=r,Oi.dependencies={lanes:0,firstContext:r}}else Gs=Gs.next=r;return o}var Gu=null;function Lh(r){Gu===null?Gu=[r]:Gu.push(r)}function Fh(r,o,f,h){var b=o.interleaved;return b===null?(f.next=f,Lh(o)):(f.next=b.next,b.next=f),o.interleaved=f,Ui(r,h)}function Ui(r,o){r.lanes|=o;var f=r.alternate;for(f!==null&&(f.lanes|=o),f=r,r=r.return;r!==null;)r.childLanes|=o,f=r.alternate,f!==null&&(f.childLanes|=o),f=r,r=r.return;return f.tag===3?f.stateNode:null}var Bi=!1;function Ih(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function d0(r,o){r=r.updateQueue,o.updateQueue===r&&(o.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Ol(r,o){return{eventTime:r,lane:o,tag:0,payload:null,callback:null,next:null}}function iu(r,o,f){var h=r.updateQueue;if(h===null)return null;if(h=h.shared,Pn&2){var b=h.pending;return b===null?o.next=o:(o.next=b.next,b.next=o),h.pending=o,Ui(r,f)}return b=h.interleaved,b===null?(o.next=o,Lh(h)):(o.next=b.next,b.next=o),h.interleaved=o,Ui(r,f)}function rv(r,o,f){if(o=o.updateQueue,o!==null&&(o=o.shared,(f&4194240)!==0)){var h=o.lanes;h&=r.pendingLanes,f|=h,o.lanes=f,Ca(r,f)}}function v0(r,o){var f=r.updateQueue,h=r.alternate;if(h!==null&&(h=h.updateQueue,f===h)){var b=null,w=null;if(f=f.firstBaseUpdate,f!==null){do{var P={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};w===null?b=w=P:w=w.next=P,f=f.next}while(f!==null);w===null?b=w=o:w=w.next=o}else b=w=o;f={baseState:h.baseState,firstBaseUpdate:b,lastBaseUpdate:w,shared:h.shared,effects:h.effects},r.updateQueue=f;return}r=f.lastBaseUpdate,r===null?f.firstBaseUpdate=o:r.next=o,f.lastBaseUpdate=o}function rf(r,o,f,h){var b=r.updateQueue;Bi=!1;var w=b.firstBaseUpdate,P=b.lastBaseUpdate,K=b.shared.pending;if(K!==null){b.shared.pending=null;var ee=K,Se=ee.next;ee.next=null,P===null?w=Se:P.next=Se,P=ee;var Ae=r.alternate;Ae!==null&&(Ae=Ae.updateQueue,K=Ae.lastBaseUpdate,K!==P&&(K===null?Ae.firstBaseUpdate=Se:K.next=Se,Ae.lastBaseUpdate=ee))}if(w!==null){var ze=b.baseState;P=0,Ae=Se=ee=null,K=w;do{var De=K.lane,rt=K.eventTime;if((h&De)===De){Ae!==null&&(Ae=Ae.next={eventTime:rt,lane:0,tag:K.tag,payload:K.payload,callback:K.callback,next:null});e:{var ft=r,gt=K;switch(De=o,rt=f,gt.tag){case 1:if(ft=gt.payload,typeof ft=="function"){ze=ft.call(rt,ze,De);break e}ze=ft;break e;case 3:ft.flags=ft.flags&-65537|128;case 0:if(ft=gt.payload,De=typeof ft=="function"?ft.call(rt,ze,De):ft,De==null)break e;ze=le({},ze,De);break e;case 2:Bi=!0}}K.callback!==null&&K.lane!==0&&(r.flags|=64,De=b.effects,De===null?b.effects=[K]:De.push(K))}else rt={eventTime:rt,lane:De,tag:K.tag,payload:K.payload,callback:K.callback,next:null},Ae===null?(Se=Ae=rt,ee=ze):Ae=Ae.next=rt,P|=De;if(K=K.next,K===null){if(K=b.shared.pending,K===null)break;De=K,K=De.next,De.next=null,b.lastBaseUpdate=De,b.shared.pending=null}}while(!0);if(Ae===null&&(ee=ze),b.baseState=ee,b.firstBaseUpdate=Se,b.lastBaseUpdate=Ae,o=b.shared.interleaved,o!==null){b=o;do P|=b.lane,b=b.next;while(b!==o)}else w===null&&(b.shared.lanes=0);el|=P,r.lanes=P,r.memoizedState=ze}}function zh(r,o,f){if(r=o.effects,o.effects=null,r!==null)for(o=0;o<r.length;o++){var h=r[o],b=h.callback;if(b!==null){if(h.callback=null,h=f,typeof b!="function")throw Error(a(191,b));b.call(h)}}}var af={},Xo=No(af),of=No(af),lf=No(af);function Xu(r){if(r===af)throw Error(a(174));return r}function jh(r,o){switch(xt(lf,o),xt(of,r),xt(Xo,af),r=o.nodeType,r){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:Kn(null,"");break;default:r=r===8?o.parentNode:o,o=r.namespaceURI||null,r=r.tagName,o=Kn(o,r)}Er(Xo),xt(Xo,o)}function Qu(){Er(Xo),Er(of),Er(lf)}function p0(r){Xu(lf.current);var o=Xu(Xo.current),f=Kn(o,r.type);o!==f&&(xt(of,r),xt(Xo,f))}function av(r){of.current===r&&(Er(Xo),Er(of))}var Fr=No(0);function iv(r){for(var o=r;o!==null;){if(o.tag===13){var f=o.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if(o.flags&128)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var uf=[];function _t(){for(var r=0;r<uf.length;r++)uf[r]._workInProgressVersionPrimary=null;uf.length=0}var vn=z.ReactCurrentDispatcher,Hn=z.ReactCurrentBatchConfig,dr=0,Un=null,ea=null,Ea=null,ov=!1,sf=!1,Zu=0,Ne=0;function Vn(){throw Error(a(321))}function Wt(r,o){if(o===null)return!1;for(var f=0;f<o.length&&f<r.length;f++)if(!ko(r[f],o[f]))return!1;return!0}function ou(r,o,f,h,b,w){if(dr=w,Un=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,vn.current=r===null||r.memoizedState===null?Cv:hf,r=f(h,b),sf){w=0;do{if(sf=!1,Zu=0,25<=w)throw Error(a(301));w+=1,Ea=ea=null,o.updateQueue=null,vn.current=Ev,r=f(h,b)}while(sf)}if(vn.current=rs,o=ea!==null&&ea.next!==null,dr=0,Ea=ea=Un=null,ov=!1,o)throw Error(a(300));return r}function Do(){var r=Zu!==0;return Zu=0,r}function qa(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ea===null?Un.memoizedState=Ea=r:Ea=Ea.next=r,Ea}function Wr(){if(ea===null){var r=Un.alternate;r=r!==null?r.memoizedState:null}else r=ea.next;var o=Ea===null?Un.memoizedState:Ea.next;if(o!==null)Ea=o,ea=r;else{if(r===null)throw Error(a(310));ea=r,r={memoizedState:ea.memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},Ea===null?Un.memoizedState=Ea=r:Ea=Ea.next=r}return Ea}function _l(r,o){return typeof o=="function"?o(r):o}function lu(r){var o=Wr(),f=o.queue;if(f===null)throw Error(a(311));f.lastRenderedReducer=r;var h=ea,b=h.baseQueue,w=f.pending;if(w!==null){if(b!==null){var P=b.next;b.next=w.next,w.next=P}h.baseQueue=b=w,f.pending=null}if(b!==null){w=b.next,h=h.baseState;var K=P=null,ee=null,Se=w;do{var Ae=Se.lane;if((dr&Ae)===Ae)ee!==null&&(ee=ee.next={lane:0,action:Se.action,hasEagerState:Se.hasEagerState,eagerState:Se.eagerState,next:null}),h=Se.hasEagerState?Se.eagerState:r(h,Se.action);else{var ze={lane:Ae,action:Se.action,hasEagerState:Se.hasEagerState,eagerState:Se.eagerState,next:null};ee===null?(K=ee=ze,P=h):ee=ee.next=ze,Un.lanes|=Ae,el|=Ae}Se=Se.next}while(Se!==null&&Se!==w);ee===null?P=h:ee.next=K,ko(h,o.memoizedState)||(ta=!0),o.memoizedState=h,o.baseState=P,o.baseQueue=ee,f.lastRenderedState=h}if(r=f.interleaved,r!==null){b=r;do w=b.lane,Un.lanes|=w,el|=w,b=b.next;while(b!==r)}else b===null&&(f.lanes=0);return[o.memoizedState,f.dispatch]}function Ju(r){var o=Wr(),f=o.queue;if(f===null)throw Error(a(311));f.lastRenderedReducer=r;var h=f.dispatch,b=f.pending,w=o.memoizedState;if(b!==null){f.pending=null;var P=b=b.next;do w=r(w,P.action),P=P.next;while(P!==b);ko(w,o.memoizedState)||(ta=!0),o.memoizedState=w,o.baseQueue===null&&(o.baseState=w),f.lastRenderedState=w}return[w,h]}function lv(){}function uv(r,o){var f=Un,h=Wr(),b=o(),w=!ko(h.memoizedState,b);if(w&&(h.memoizedState=b,ta=!0),h=h.queue,cf(fv.bind(null,f,h,r),[r]),h.getSnapshot!==o||w||Ea!==null&&Ea.memoizedState.tag&1){if(f.flags|=2048,es(9,cv.bind(null,f,h,b,o),void 0,null),pa===null)throw Error(a(349));dr&30||sv(f,o,b)}return b}function sv(r,o,f){r.flags|=16384,r={getSnapshot:o,value:f},o=Un.updateQueue,o===null?(o={lastEffect:null,stores:null},Un.updateQueue=o,o.stores=[r]):(f=o.stores,f===null?o.stores=[r]:f.push(r))}function cv(r,o,f,h){o.value=f,o.getSnapshot=h,dv(o)&&vv(r)}function fv(r,o,f){return f(function(){dv(o)&&vv(r)})}function dv(r){var o=r.getSnapshot;r=r.value;try{var f=o();return!ko(r,f)}catch{return!0}}function vv(r){var o=Ui(r,1);o!==null&&li(o,r,1,-1)}function pv(r){var o=qa();return typeof r=="function"&&(r=r()),o.memoizedState=o.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_l,lastRenderedState:r},o.queue=r,r=r.dispatch=ns.bind(null,Un,r),[o.memoizedState,r]}function es(r,o,f,h){return r={tag:r,create:o,destroy:f,deps:h,next:null},o=Un.updateQueue,o===null?(o={lastEffect:null,stores:null},Un.updateQueue=o,o.lastEffect=r.next=r):(f=o.lastEffect,f===null?o.lastEffect=r.next=r:(h=f.next,f.next=r,r.next=h,o.lastEffect=r)),r}function hv(){return Wr().memoizedState}function Xs(r,o,f,h){var b=qa();Un.flags|=r,b.memoizedState=es(1|o,f,void 0,h===void 0?null:h)}function Qs(r,o,f,h){var b=Wr();h=h===void 0?null:h;var w=void 0;if(ea!==null){var P=ea.memoizedState;if(w=P.destroy,h!==null&&Wt(h,P.deps)){b.memoizedState=es(o,f,w,h);return}}Un.flags|=r,b.memoizedState=es(1|o,f,w,h)}function mv(r,o){return Xs(8390656,8,r,o)}function cf(r,o){return Qs(2048,8,r,o)}function gv(r,o){return Qs(4,2,r,o)}function ff(r,o){return Qs(4,4,r,o)}function ts(r,o){if(typeof o=="function")return r=r(),o(r),function(){o(null)};if(o!=null)return r=r(),o.current=r,function(){o.current=null}}function yv(r,o,f){return f=f!=null?f.concat([r]):null,Qs(4,4,ts.bind(null,o,r),f)}function df(){}function bv(r,o){var f=Wr();o=o===void 0?null:o;var h=f.memoizedState;return h!==null&&o!==null&&Wt(o,h[1])?h[0]:(f.memoizedState=[r,o],r)}function Sv(r,o){var f=Wr();o=o===void 0?null:o;var h=f.memoizedState;return h!==null&&o!==null&&Wt(o,h[1])?h[0]:(r=r(),f.memoizedState=[r,o],r)}function Vh(r,o,f){return dr&21?(ko(f,o)||(f=hn(),Un.lanes|=f,el|=f,r.baseState=!0),o):(r.baseState&&(r.baseState=!1,ta=!0),r.memoizedState=f)}function vf(r,o){var f=un;un=f!==0&&4>f?f:4,r(!0);var h=Hn.transition;Hn.transition={};try{r(!1),o()}finally{un=f,Hn.transition=h}}function Hh(){return Wr().memoizedState}function pf(r,o,f){var h=tl(r);if(f={lane:h,action:f,hasEagerState:!1,eagerState:null,next:null},Wi(r))h0(o,f);else if(f=Fh(r,o,f,h),f!==null){var b=aa();li(f,r,h,b),mr(f,o,h)}}function ns(r,o,f){var h=tl(r),b={lane:h,action:f,hasEagerState:!1,eagerState:null,next:null};if(Wi(r))h0(o,b);else{var w=r.alternate;if(r.lanes===0&&(w===null||w.lanes===0)&&(w=o.lastRenderedReducer,w!==null))try{var P=o.lastRenderedState,K=w(P,f);if(b.hasEagerState=!0,b.eagerState=K,ko(K,P)){var ee=o.interleaved;ee===null?(b.next=b,Lh(o)):(b.next=ee.next,ee.next=b),o.interleaved=b;return}}catch{}finally{}f=Fh(r,o,b,h),f!==null&&(b=aa(),li(f,r,h,b),mr(f,o,h))}}function Wi(r){var o=r.alternate;return r===Un||o!==null&&o===Un}function h0(r,o){sf=ov=!0;var f=r.pending;f===null?o.next=o:(o.next=f.next,f.next=o),r.pending=o}function mr(r,o,f){if(f&4194240){var h=o.lanes;h&=r.pendingLanes,f|=h,o.lanes=f,Ca(r,f)}}var rs={readContext:po,useCallback:Vn,useContext:Vn,useEffect:Vn,useImperativeHandle:Vn,useInsertionEffect:Vn,useLayoutEffect:Vn,useMemo:Vn,useReducer:Vn,useRef:Vn,useState:Vn,useDebugValue:Vn,useDeferredValue:Vn,useTransition:Vn,useMutableSource:Vn,useSyncExternalStore:Vn,useId:Vn,unstable_isNewReconciler:!1},Cv={readContext:po,useCallback:function(r,o){return qa().memoizedState=[r,o===void 0?null:o],r},useContext:po,useEffect:mv,useImperativeHandle:function(r,o,f){return f=f!=null?f.concat([r]):null,Xs(4194308,4,ts.bind(null,o,r),f)},useLayoutEffect:function(r,o){return Xs(4194308,4,r,o)},useInsertionEffect:function(r,o){return Xs(4,2,r,o)},useMemo:function(r,o){var f=qa();return o=o===void 0?null:o,r=r(),f.memoizedState=[r,o],r},useReducer:function(r,o,f){var h=qa();return o=f!==void 0?f(o):o,h.memoizedState=h.baseState=o,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:o},h.queue=r,r=r.dispatch=pf.bind(null,Un,r),[h.memoizedState,r]},useRef:function(r){var o=qa();return r={current:r},o.memoizedState=r},useState:pv,useDebugValue:df,useDeferredValue:function(r){return qa().memoizedState=r},useTransition:function(){var r=pv(!1),o=r[0];return r=vf.bind(null,r[1]),qa().memoizedState=r,[o,r]},useMutableSource:function(){},useSyncExternalStore:function(r,o,f){var h=Un,b=qa();if(Mr){if(f===void 0)throw Error(a(407));f=f()}else{if(f=o(),pa===null)throw Error(a(349));dr&30||sv(h,o,f)}b.memoizedState=f;var w={value:f,getSnapshot:o};return b.queue=w,mv(fv.bind(null,h,w,r),[r]),h.flags|=2048,es(9,cv.bind(null,h,w,f,o),void 0,null),f},useId:function(){var r=qa(),o=pa.identifierPrefix;if(Mr){var f=Go,h=qo;f=(h&~(1<<32-xr(h)-1)).toString(32)+f,o=":"+o+"R"+f,f=Zu++,0<f&&(o+="H"+f.toString(32)),o+=":"}else f=Ne++,o=":"+o+"r"+f.toString(32)+":";return r.memoizedState=o},unstable_isNewReconciler:!1},hf={readContext:po,useCallback:bv,useContext:po,useEffect:cf,useImperativeHandle:yv,useInsertionEffect:gv,useLayoutEffect:ff,useMemo:Sv,useReducer:lu,useRef:hv,useState:function(){return lu(_l)},useDebugValue:df,useDeferredValue:function(r){var o=Wr();return Vh(o,ea.memoizedState,r)},useTransition:function(){var r=lu(_l)[0],o=Wr().memoizedState;return[r,o]},useMutableSource:lv,useSyncExternalStore:uv,useId:Hh,unstable_isNewReconciler:!1},Ev={readContext:po,useCallback:bv,useContext:po,useEffect:cf,useImperativeHandle:yv,useInsertionEffect:gv,useLayoutEffect:ff,useMemo:Sv,useReducer:Ju,useRef:hv,useState:function(){return Ju(_l)},useDebugValue:df,useDeferredValue:function(r){var o=Wr();return ea===null?o.memoizedState=r:Vh(o,ea.memoizedState,r)},useTransition:function(){var r=Ju(_l)[0],o=Wr().memoizedState;return[r,o]},useMutableSource:lv,useSyncExternalStore:uv,useId:Hh,unstable_isNewReconciler:!1};function Po(r,o){if(r&&r.defaultProps){o=le({},o),r=r.defaultProps;for(var f in r)o[f]===void 0&&(o[f]=r[f]);return o}return o}function Uh(r,o,f,h){o=r.memoizedState,f=f(h,o),f=f==null?o:le({},o,f),r.memoizedState=f,r.lanes===0&&(r.updateQueue.baseState=f)}var wv={isMounted:function(r){return(r=r._reactInternals)?Pt(r)===r:!1},enqueueSetState:function(r,o,f){r=r._reactInternals;var h=aa(),b=tl(r),w=Ol(h,b);w.payload=o,f!=null&&(w.callback=f),o=iu(r,w,b),o!==null&&(li(o,r,b,h),rv(o,r,b))},enqueueReplaceState:function(r,o,f){r=r._reactInternals;var h=aa(),b=tl(r),w=Ol(h,b);w.tag=1,w.payload=o,f!=null&&(w.callback=f),o=iu(r,w,b),o!==null&&(li(o,r,b,h),rv(o,r,b))},enqueueForceUpdate:function(r,o){r=r._reactInternals;var f=aa(),h=tl(r),b=Ol(f,h);b.tag=2,o!=null&&(b.callback=o),o=iu(r,b,h),o!==null&&(li(o,r,h,f),rv(o,r,h))}};function m0(r,o,f,h,b,w,P){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(h,w,P):o.prototype&&o.prototype.isPureReactComponent?!Kc(f,h)||!Kc(b,w):!0}function xv(r,o,f){var h=!1,b=Ei,w=o.contextType;return typeof w=="object"&&w!==null?w=po(w):(b=Zr(o)?wi:jr.current,h=o.contextTypes,w=(h=h!=null)?co(r,b):Ei),o=new o(f,w),r.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=wv,r.stateNode=o,o._reactInternals=r,h&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=b,r.__reactInternalMemoizedMaskedChildContext=w),o}function g0(r,o,f,h){r=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(f,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(f,h),o.state!==r&&wv.enqueueReplaceState(o,o.state,null)}function mf(r,o,f,h){var b=r.stateNode;b.props=f,b.state=r.memoizedState,b.refs={},Ih(r);var w=o.contextType;typeof w=="object"&&w!==null?b.context=po(w):(w=Zr(o)?wi:jr.current,b.context=co(r,w)),b.state=r.memoizedState,w=o.getDerivedStateFromProps,typeof w=="function"&&(Uh(r,o,w,f),b.state=r.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(o=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),o!==b.state&&wv.enqueueReplaceState(b,b.state,null),rf(r,f,b,h),b.state=r.memoizedState),typeof b.componentDidMount=="function"&&(r.flags|=4194308)}function as(r,o){try{var f="",h=o;do f+=Pe(h),h=h.return;while(h);var b=f}catch(w){b=`
78
- Error generating stack: `+w.message+`
79
- `+w.stack}return{value:r,source:o,stack:b,digest:null}}function Bh(r,o,f){return{value:r,source:null,stack:f??null,digest:o??null}}function Wh(r,o){try{console.error(o.value)}catch(f){setTimeout(function(){throw f})}}var Rv=typeof WeakMap=="function"?WeakMap:Map;function y0(r,o,f){f=Ol(-1,f),f.tag=3,f.payload={element:null};var h=o.value;return f.callback=function(){rc||(rc=!0,ls=h),Wh(r,o)},f}function Yh(r,o,f){f=Ol(-1,f),f.tag=3;var h=r.type.getDerivedStateFromError;if(typeof h=="function"){var b=o.value;f.payload=function(){return h(b)},f.callback=function(){Wh(r,o)}}var w=r.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(f.callback=function(){Wh(r,o),typeof h!="function"&&(cu===null?cu=new Set([this]):cu.add(this));var P=o.stack;this.componentDidCatch(o.value,{componentStack:P!==null?P:""})}),f}function Kh(r,o,f){var h=r.pingCache;if(h===null){h=r.pingCache=new Rv;var b=new Set;h.set(o,b)}else b=h.get(o),b===void 0&&(b=new Set,h.set(o,b));b.has(f)||(b.add(f),r=mw.bind(null,r,o,f),o.then(r,r))}function b0(r){do{var o;if((o=r.tag===13)&&(o=r.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return r;r=r.return}while(r!==null);return null}function uu(r,o,f,h,b){return r.mode&1?(r.flags|=65536,r.lanes=b,r):(r===o?r.flags|=65536:(r.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(o=Ol(-1,1),o.tag=2,iu(f,o,1))),f.lanes|=1),r)}var gf=z.ReactCurrentOwner,ta=!1;function $a(r,o,f,h){o.child=r===null?Je(o,null,f,h):Br(o,r.child,f,h)}function _i(r,o,f,h,b){f=f.render;var w=o.ref;return Lr(o,b),h=ou(r,o,f,h,w,b),f=Do(),r!==null&&!ta?(o.updateQueue=r.updateQueue,o.flags&=-2053,r.lanes&=~b,mo(r,o,b)):(Mr&&f&&Jd(o),o.flags|=1,$a(r,o,h,b),o.child)}function is(r,o,f,h,b){if(r===null){var w=f.type;return typeof w=="function"&&!lm(w)&&w.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(o.tag=15,o.type=w,tn(r,o,w,h,b)):(r=Pf(f.type,null,h,o,o.mode,b),r.ref=o.ref,r.return=o,o.child=r)}if(w=r.child,!(r.lanes&b)){var P=w.memoizedProps;if(f=f.compare,f=f!==null?f:Kc,f(P,h)&&r.ref===o.ref)return mo(r,o,b)}return o.flags|=1,r=du(w,h),r.ref=o.ref,r.return=o,o.child=r}function tn(r,o,f,h,b){if(r!==null){var w=r.memoizedProps;if(Kc(w,h)&&r.ref===o.ref)if(ta=!1,o.pendingProps=h=w,(r.lanes&b)!==0)r.flags&131072&&(ta=!0);else return o.lanes=r.lanes,mo(r,o,b)}return S0(r,o,f,h,b)}function yf(r,o,f){var h=o.pendingProps,b=h.children,w=r!==null?r.memoizedState:null;if(h.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},xt(ec,Yi),Yi|=f;else{if(!(f&1073741824))return r=w!==null?w.baseLanes|f:f,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:r,cachePool:null,transitions:null},o.updateQueue=null,xt(ec,Yi),Yi|=r,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},h=w!==null?w.baseLanes:f,xt(ec,Yi),Yi|=h}else w!==null?(h=w.baseLanes|f,o.memoizedState=null):h=f,xt(ec,Yi),Yi|=h;return $a(r,o,b,f),o.child}function qh(r,o){var f=o.ref;(r===null&&f!==null||r!==null&&r.ref!==f)&&(o.flags|=512,o.flags|=2097152)}function S0(r,o,f,h,b){var w=Zr(f)?wi:jr.current;return w=co(o,w),Lr(o,b),f=ou(r,o,f,h,w,b),h=Do(),r!==null&&!ta?(o.updateQueue=r.updateQueue,o.flags&=-2053,r.lanes&=~b,mo(r,o,b)):(Mr&&h&&Jd(o),o.flags|=1,$a(r,o,f,b),o.child)}function C0(r,o,f,h,b){if(Zr(f)){var w=!0;xi(o)}else w=!1;if(Lr(o,b),o.stateNode===null)ho(r,o),xv(o,f,h),mf(o,f,h,b),h=!0;else if(r===null){var P=o.stateNode,K=o.memoizedProps;P.props=K;var ee=P.context,Se=f.contextType;typeof Se=="object"&&Se!==null?Se=po(Se):(Se=Zr(f)?wi:jr.current,Se=co(o,Se));var Ae=f.getDerivedStateFromProps,ze=typeof Ae=="function"||typeof P.getSnapshotBeforeUpdate=="function";ze||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(K!==h||ee!==Se)&&g0(o,P,h,Se),Bi=!1;var De=o.memoizedState;P.state=De,rf(o,h,P,b),ee=o.memoizedState,K!==h||De!==ee||da.current||Bi?(typeof Ae=="function"&&(Uh(o,f,Ae,h),ee=o.memoizedState),(K=Bi||m0(o,f,K,h,De,ee,Se))?(ze||typeof P.UNSAFE_componentWillMount!="function"&&typeof P.componentWillMount!="function"||(typeof P.componentWillMount=="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount=="function"&&P.UNSAFE_componentWillMount()),typeof P.componentDidMount=="function"&&(o.flags|=4194308)):(typeof P.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=h,o.memoizedState=ee),P.props=h,P.state=ee,P.context=Se,h=K):(typeof P.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{P=o.stateNode,d0(r,o),K=o.memoizedProps,Se=o.type===o.elementType?K:Po(o.type,K),P.props=Se,ze=o.pendingProps,De=P.context,ee=f.contextType,typeof ee=="object"&&ee!==null?ee=po(ee):(ee=Zr(f)?wi:jr.current,ee=co(o,ee));var rt=f.getDerivedStateFromProps;(Ae=typeof rt=="function"||typeof P.getSnapshotBeforeUpdate=="function")||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(K!==ze||De!==ee)&&g0(o,P,h,ee),Bi=!1,De=o.memoizedState,P.state=De,rf(o,h,P,b);var ft=o.memoizedState;K!==ze||De!==ft||da.current||Bi?(typeof rt=="function"&&(Uh(o,f,rt,h),ft=o.memoizedState),(Se=Bi||m0(o,f,Se,h,De,ft,ee)||!1)?(Ae||typeof P.UNSAFE_componentWillUpdate!="function"&&typeof P.componentWillUpdate!="function"||(typeof P.componentWillUpdate=="function"&&P.componentWillUpdate(h,ft,ee),typeof P.UNSAFE_componentWillUpdate=="function"&&P.UNSAFE_componentWillUpdate(h,ft,ee)),typeof P.componentDidUpdate=="function"&&(o.flags|=4),typeof P.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof P.componentDidUpdate!="function"||K===r.memoizedProps&&De===r.memoizedState||(o.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||K===r.memoizedProps&&De===r.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=ft),P.props=h,P.state=ft,P.context=ee,h=Se):(typeof P.componentDidUpdate!="function"||K===r.memoizedProps&&De===r.memoizedState||(o.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||K===r.memoizedProps&&De===r.memoizedState||(o.flags|=1024),h=!1)}return bf(r,o,f,h,w,b)}function bf(r,o,f,h,b,w){qh(r,o);var P=(o.flags&128)!==0;if(!h&&!P)return b&&Qd(o,f,!1),mo(r,o,w);h=o.stateNode,gf.current=o;var K=P&&typeof f.getDerivedStateFromError!="function"?null:h.render();return o.flags|=1,r!==null&&P?(o.child=Br(o,r.child,null,w),o.child=Br(o,null,K,w)):$a(r,o,K,w),o.memoizedState=h.state,b&&Qd(o,f,!0),o.child}function Zs(r){var o=r.stateNode;o.pendingContext?u0(r,o.pendingContext,o.pendingContext!==o.context):o.context&&u0(r,o.context,!1),jh(r,o.containerInfo)}function E0(r,o,f,h,b){return au(),Tl(b),o.flags|=256,$a(r,o,f,h),o.child}var Tv={dehydrated:null,treeContext:null,retryLane:0};function Gh(r){return{baseLanes:r,cachePool:null,transitions:null}}function Ov(r,o,f){var h=o.pendingProps,b=Fr.current,w=!1,P=(o.flags&128)!==0,K;if((K=P)||(K=r!==null&&r.memoizedState===null?!1:(b&2)!==0),K?(w=!0,o.flags&=-129):(r===null||r.memoizedState!==null)&&(b|=1),xt(Fr,b&1),r===null)return Nh(o),r=o.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?(o.mode&1?r.data==="$!"?o.lanes=8:o.lanes=1073741824:o.lanes=1,null):(P=h.children,r=h.fallback,w?(h=o.mode,w=o.child,P={mode:"hidden",children:P},!(h&1)&&w!==null?(w.childLanes=0,w.pendingProps=P):w=vu(P,h,0,null),r=Dl(r,h,f,null),w.return=o,r.return=o,w.sibling=r,o.child=w,o.child.memoizedState=Gh(f),o.memoizedState=Tv,r):Xh(o,P));if(b=r.memoizedState,b!==null&&(K=b.dehydrated,K!==null))return w0(r,o,P,h,K,b,f);if(w){w=h.fallback,P=o.mode,b=r.child,K=b.sibling;var ee={mode:"hidden",children:h.children};return!(P&1)&&o.child!==b?(h=o.child,h.childLanes=0,h.pendingProps=ee,o.deletions=null):(h=du(b,ee),h.subtreeFlags=b.subtreeFlags&14680064),K!==null?w=du(K,w):(w=Dl(w,P,f,null),w.flags|=2),w.return=o,h.return=o,h.sibling=w,o.child=h,h=w,w=o.child,P=r.child.memoizedState,P=P===null?Gh(f):{baseLanes:P.baseLanes|f,cachePool:null,transitions:P.transitions},w.memoizedState=P,w.childLanes=r.childLanes&~f,o.memoizedState=Tv,h}return w=r.child,r=w.sibling,h=du(w,{mode:"visible",children:h.children}),!(o.mode&1)&&(h.lanes=f),h.return=o,h.sibling=null,r!==null&&(f=o.deletions,f===null?(o.deletions=[r],o.flags|=16):f.push(r)),o.child=h,o.memoizedState=null,h}function Xh(r,o){return o=vu({mode:"visible",children:o},r.mode,0,null),o.return=r,r.child=o}function Sf(r,o,f,h){return h!==null&&Tl(h),Br(o,r.child,null,f),r=Xh(o,o.pendingProps.children),r.flags|=2,o.memoizedState=null,r}function w0(r,o,f,h,b,w,P){if(f)return o.flags&256?(o.flags&=-257,h=Bh(Error(a(422))),Sf(r,o,P,h)):o.memoizedState!==null?(o.child=r.child,o.flags|=128,null):(w=h.fallback,b=o.mode,h=vu({mode:"visible",children:h.children},b,0,null),w=Dl(w,b,P,null),w.flags|=2,h.return=o,w.return=o,h.sibling=w,o.child=h,o.mode&1&&Br(o,r.child,null,P),o.child.memoizedState=Gh(P),o.memoizedState=Tv,w);if(!(o.mode&1))return Sf(r,o,P,null);if(b.data==="$!"){if(h=b.nextSibling&&b.nextSibling.dataset,h)var K=h.dgst;return h=K,w=Error(a(419)),h=Bh(w,h,void 0),Sf(r,o,P,h)}if(K=(P&r.childLanes)!==0,ta||K){if(h=pa,h!==null){switch(P&-P){case 4:b=2;break;case 16:b=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:b=32;break;case 536870912:b=268435456;break;default:b=0}b=b&(h.suspendedLanes|P)?0:b,b!==0&&b!==w.retryLane&&(w.retryLane=b,Ui(r,b),li(h,r,b,-1))}return om(),h=Bh(Error(a(421))),Sf(r,o,P,h)}return b.data==="$?"?(o.flags|=128,o.child=r.child,o=gw.bind(null,r),b._reactRetry=o,null):(r=w.treeContext,Ti=Bo(b.nextSibling),Ri=o,Mr=!0,vo=null,r!==null&&(Jr[fo++]=qo,Jr[fo++]=Go,Jr[fo++]=Vi,qo=r.id,Go=r.overflow,Vi=o),o=Xh(o,h.children),o.flags|=4096,o)}function Qh(r,o,f){r.lanes|=o;var h=r.alternate;h!==null&&(h.lanes|=o),$h(r.return,o,f)}function ai(r,o,f,h,b){var w=r.memoizedState;w===null?r.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:f,tailMode:b}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=h,w.tail=f,w.tailMode=b)}function Qo(r,o,f){var h=o.pendingProps,b=h.revealOrder,w=h.tail;if($a(r,o,h.children,f),h=Fr.current,h&2)h=h&1|2,o.flags|=128;else{if(r!==null&&r.flags&128)e:for(r=o.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Qh(r,f,o);else if(r.tag===19)Qh(r,f,o);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===o)break e;for(;r.sibling===null;){if(r.return===null||r.return===o)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}h&=1}if(xt(Fr,h),!(o.mode&1))o.memoizedState=null;else switch(b){case"forwards":for(f=o.child,b=null;f!==null;)r=f.alternate,r!==null&&iv(r)===null&&(b=f),f=f.sibling;f=b,f===null?(b=o.child,o.child=null):(b=f.sibling,f.sibling=null),ai(o,!1,b,f,w);break;case"backwards":for(f=null,b=o.child,o.child=null;b!==null;){if(r=b.alternate,r!==null&&iv(r)===null){o.child=b;break}r=b.sibling,b.sibling=f,f=b,b=r}ai(o,!0,f,null,w);break;case"together":ai(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function ho(r,o){!(o.mode&1)&&r!==null&&(r.alternate=null,o.alternate=null,o.flags|=2)}function mo(r,o,f){if(r!==null&&(o.dependencies=r.dependencies),el|=o.lanes,!(f&o.childLanes))return null;if(r!==null&&o.child!==r.child)throw Error(a(153));if(o.child!==null){for(r=o.child,f=du(r,r.pendingProps),o.child=f,f.return=o;r.sibling!==null;)r=r.sibling,f=f.sibling=du(r,r.pendingProps),f.return=o;f.sibling=null}return o.child}function Cf(r,o,f){switch(o.tag){case 3:Zs(o),au();break;case 5:p0(o);break;case 1:Zr(o.type)&&xi(o);break;case 4:jh(o,o.stateNode.containerInfo);break;case 10:var h=o.type._context,b=o.memoizedProps.value;xt(Hi,h._currentValue),h._currentValue=b;break;case 13:if(h=o.memoizedState,h!==null)return h.dehydrated!==null?(xt(Fr,Fr.current&1),o.flags|=128,null):f&o.child.childLanes?Ov(r,o,f):(xt(Fr,Fr.current&1),r=mo(r,o,f),r!==null?r.sibling:null);xt(Fr,Fr.current&1);break;case 19:if(h=(f&o.childLanes)!==0,r.flags&128){if(h)return Qo(r,o,f);o.flags|=128}if(b=o.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),xt(Fr,Fr.current),h)break;return null;case 22:case 23:return o.lanes=0,yf(r,o,f)}return mo(r,o,f)}var go,na,x0,R0;go=function(r,o){for(var f=o.child;f!==null;){if(f.tag===5||f.tag===6)r.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===o)break;for(;f.sibling===null;){if(f.return===null||f.return===o)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},na=function(){},x0=function(r,o,f,h){var b=r.memoizedProps;if(b!==h){r=o.stateNode,Xu(Xo.current);var w=null;switch(f){case"input":b=_e(r,b),h=_e(r,h),w=[];break;case"select":b=le({},b,{value:void 0}),h=le({},h,{value:void 0}),w=[];break;case"textarea":b=jt(r,b),h=jt(r,h),w=[];break;default:typeof b.onClick!="function"&&typeof h.onClick=="function"&&(r.onclick=Zl)}Yt(f,h);var P;f=null;for(Se in b)if(!h.hasOwnProperty(Se)&&b.hasOwnProperty(Se)&&b[Se]!=null)if(Se==="style"){var K=b[Se];for(P in K)K.hasOwnProperty(P)&&(f||(f={}),f[P]="")}else Se!=="dangerouslySetInnerHTML"&&Se!=="children"&&Se!=="suppressContentEditableWarning"&&Se!=="suppressHydrationWarning"&&Se!=="autoFocus"&&(s.hasOwnProperty(Se)?w||(w=[]):(w=w||[]).push(Se,null));for(Se in h){var ee=h[Se];if(K=b?.[Se],h.hasOwnProperty(Se)&&ee!==K&&(ee!=null||K!=null))if(Se==="style")if(K){for(P in K)!K.hasOwnProperty(P)||ee&&ee.hasOwnProperty(P)||(f||(f={}),f[P]="");for(P in ee)ee.hasOwnProperty(P)&&K[P]!==ee[P]&&(f||(f={}),f[P]=ee[P])}else f||(w||(w=[]),w.push(Se,f)),f=ee;else Se==="dangerouslySetInnerHTML"?(ee=ee?ee.__html:void 0,K=K?K.__html:void 0,ee!=null&&K!==ee&&(w=w||[]).push(Se,ee)):Se==="children"?typeof ee!="string"&&typeof ee!="number"||(w=w||[]).push(Se,""+ee):Se!=="suppressContentEditableWarning"&&Se!=="suppressHydrationWarning"&&(s.hasOwnProperty(Se)?(ee!=null&&Se==="onScroll"&&Jn("scroll",r),w||K===ee||(w=[])):(w=w||[]).push(Se,ee))}f&&(w=w||[]).push("style",f);var Se=w;(o.updateQueue=Se)&&(o.flags|=4)}},R0=function(r,o,f,h){f!==h&&(o.flags|=4)};function Ef(r,o){if(!Mr)switch(r.tailMode){case"hidden":o=r.tail;for(var f=null;o!==null;)o.alternate!==null&&(f=o),o=o.sibling;f===null?r.tail=null:f.sibling=null;break;case"collapsed":f=r.tail;for(var h=null;f!==null;)f.alternate!==null&&(h=f),f=f.sibling;h===null?o||r.tail===null?r.tail=null:r.tail.sibling=null:h.sibling=null}}function wa(r){var o=r.alternate!==null&&r.alternate.child===r.child,f=0,h=0;if(o)for(var b=r.child;b!==null;)f|=b.lanes|b.childLanes,h|=b.subtreeFlags&14680064,h|=b.flags&14680064,b.return=r,b=b.sibling;else for(b=r.child;b!==null;)f|=b.lanes|b.childLanes,h|=b.subtreeFlags,h|=b.flags,b.return=r,b=b.sibling;return r.subtreeFlags|=h,r.childLanes=f,o}function T0(r,o,f){var h=o.pendingProps;switch(ev(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wa(o),null;case 1:return Zr(o.type)&&Ks(),wa(o),null;case 3:return h=o.stateNode,Qu(),Er(da),Er(jr),_t(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(r===null||r.child===null)&&(tv(o)?o.flags|=4:r===null||r.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,vo!==null&&(us(vo),vo=null))),na(r,o),wa(o),null;case 5:av(o);var b=Xu(lf.current);if(f=o.type,r!==null&&o.stateNode!=null)x0(r,o,f,h,b),r.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!h){if(o.stateNode===null)throw Error(a(166));return wa(o),null}if(r=Xu(Xo.current),tv(o)){h=o.stateNode,f=o.type;var w=o.memoizedProps;switch(h[Wo]=o,h[Jc]=w,r=(o.mode&1)!==0,f){case"dialog":Jn("cancel",h),Jn("close",h);break;case"iframe":case"object":case"embed":Jn("load",h);break;case"video":case"audio":for(b=0;b<Xc.length;b++)Jn(Xc[b],h);break;case"source":Jn("error",h);break;case"img":case"image":case"link":Jn("error",h),Jn("load",h);break;case"details":Jn("toggle",h);break;case"input":mt(h,w),Jn("invalid",h);break;case"select":h._wrapperState={wasMultiple:!!w.multiple},Jn("invalid",h);break;case"textarea":Ke(h,w),Jn("invalid",h)}Yt(f,w),b=null;for(var P in w)if(w.hasOwnProperty(P)){var K=w[P];P==="children"?typeof K=="string"?h.textContent!==K&&(w.suppressHydrationWarning!==!0&&Kd(h.textContent,K,r),b=["children",K]):typeof K=="number"&&h.textContent!==""+K&&(w.suppressHydrationWarning!==!0&&Kd(h.textContent,K,r),b=["children",""+K]):s.hasOwnProperty(P)&&K!=null&&P==="onScroll"&&Jn("scroll",h)}switch(f){case"input":tt(h),rn(h,w,!0);break;case"textarea":tt(h),Mt(h);break;case"select":case"option":break;default:typeof w.onClick=="function"&&(h.onclick=Zl)}h=b,o.updateQueue=h,h!==null&&(o.flags|=4)}else{P=b.nodeType===9?b:b.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=Nt(f)),r==="http://www.w3.org/1999/xhtml"?f==="script"?(r=P.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof h.is=="string"?r=P.createElement(f,{is:h.is}):(r=P.createElement(f),f==="select"&&(P=r,h.multiple?P.multiple=!0:h.size&&(P.size=h.size))):r=P.createElementNS(r,f),r[Wo]=o,r[Jc]=h,go(r,o,!1,!1),o.stateNode=r;e:{switch(P=Dt(f,h),f){case"dialog":Jn("cancel",r),Jn("close",r),b=h;break;case"iframe":case"object":case"embed":Jn("load",r),b=h;break;case"video":case"audio":for(b=0;b<Xc.length;b++)Jn(Xc[b],r);b=h;break;case"source":Jn("error",r),b=h;break;case"img":case"image":case"link":Jn("error",r),Jn("load",r),b=h;break;case"details":Jn("toggle",r),b=h;break;case"input":mt(r,h),b=_e(r,h),Jn("invalid",r);break;case"option":b=h;break;case"select":r._wrapperState={wasMultiple:!!h.multiple},b=le({},h,{value:void 0}),Jn("invalid",r);break;case"textarea":Ke(r,h),b=jt(r,h),Jn("invalid",r);break;default:b=h}Yt(f,b),K=b;for(w in K)if(K.hasOwnProperty(w)){var ee=K[w];w==="style"?Ut(r,ee):w==="dangerouslySetInnerHTML"?(ee=ee?ee.__html:void 0,ee!=null&&rr(r,ee)):w==="children"?typeof ee=="string"?(f!=="textarea"||ee!=="")&&Ie(r,ee):typeof ee=="number"&&Ie(r,""+ee):w!=="suppressContentEditableWarning"&&w!=="suppressHydrationWarning"&&w!=="autoFocus"&&(s.hasOwnProperty(w)?ee!=null&&w==="onScroll"&&Jn("scroll",r):ee!=null&&F(r,w,ee,P))}switch(f){case"input":tt(r),rn(r,h,!1);break;case"textarea":tt(r),Mt(r);break;case"option":h.value!=null&&r.setAttribute("value",""+He(h.value));break;case"select":r.multiple=!!h.multiple,w=h.value,w!=null?pt(r,!!h.multiple,w,!1):h.defaultValue!=null&&pt(r,!!h.multiple,h.defaultValue,!0);break;default:typeof b.onClick=="function"&&(r.onclick=Zl)}switch(f){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}}h&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return wa(o),null;case 6:if(r&&o.stateNode!=null)R0(r,o,r.memoizedProps,h);else{if(typeof h!="string"&&o.stateNode===null)throw Error(a(166));if(f=Xu(lf.current),Xu(Xo.current),tv(o)){if(h=o.stateNode,f=o.memoizedProps,h[Wo]=o,(w=h.nodeValue!==f)&&(r=Ri,r!==null))switch(r.tag){case 3:Kd(h.nodeValue,f,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&Kd(h.nodeValue,f,(r.mode&1)!==0)}w&&(o.flags|=4)}else h=(f.nodeType===9?f:f.ownerDocument).createTextNode(h),h[Wo]=o,o.stateNode=h}return wa(o),null;case 13:if(Er(Fr),h=o.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(Mr&&Ti!==null&&o.mode&1&&!(o.flags&128))nf(),au(),o.flags|=98560,w=!1;else if(w=tv(o),h!==null&&h.dehydrated!==null){if(r===null){if(!w)throw Error(a(318));if(w=o.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(a(317));w[Wo]=o}else au(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;wa(o),w=!1}else vo!==null&&(us(vo),vo=null),w=!0;if(!w)return o.flags&65536?o:null}return o.flags&128?(o.lanes=f,o):(h=h!==null,h!==(r!==null&&r.memoizedState!==null)&&h&&(o.child.flags|=8192,o.mode&1&&(r===null||Fr.current&1?Kr===0&&(Kr=3):om())),o.updateQueue!==null&&(o.flags|=4),wa(o),null);case 4:return Qu(),na(r,o),r===null&&Hs(o.stateNode.containerInfo),wa(o),null;case 10:return Ah(o.type._context),wa(o),null;case 17:return Zr(o.type)&&Ks(),wa(o),null;case 19:if(Er(Fr),w=o.memoizedState,w===null)return wa(o),null;if(h=(o.flags&128)!==0,P=w.rendering,P===null)if(h)Ef(w,!1);else{if(Kr!==0||r!==null&&r.flags&128)for(r=o.child;r!==null;){if(P=iv(r),P!==null){for(o.flags|=128,Ef(w,!1),h=P.updateQueue,h!==null&&(o.updateQueue=h,o.flags|=4),o.subtreeFlags=0,h=f,f=o.child;f!==null;)w=f,r=h,w.flags&=14680066,P=w.alternate,P===null?(w.childLanes=0,w.lanes=r,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null):(w.childLanes=P.childLanes,w.lanes=P.lanes,w.child=P.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=P.memoizedProps,w.memoizedState=P.memoizedState,w.updateQueue=P.updateQueue,w.type=P.type,r=P.dependencies,w.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),f=f.sibling;return xt(Fr,Fr.current&1|2),o.child}r=r.sibling}w.tail!==null&&At()>nc&&(o.flags|=128,h=!0,Ef(w,!1),o.lanes=4194304)}else{if(!h)if(r=iv(P),r!==null){if(o.flags|=128,h=!0,f=r.updateQueue,f!==null&&(o.updateQueue=f,o.flags|=4),Ef(w,!0),w.tail===null&&w.tailMode==="hidden"&&!P.alternate&&!Mr)return wa(o),null}else 2*At()-w.renderingStartTime>nc&&f!==1073741824&&(o.flags|=128,h=!0,Ef(w,!1),o.lanes=4194304);w.isBackwards?(P.sibling=o.child,o.child=P):(f=w.last,f!==null?f.sibling=P:o.child=P,w.last=P)}return w.tail!==null?(o=w.tail,w.rendering=o,w.tail=o.sibling,w.renderingStartTime=At(),o.sibling=null,f=Fr.current,xt(Fr,h?f&1|2:f&1),o):(wa(o),null);case 22:case 23:return im(),h=o.memoizedState!==null,r!==null&&r.memoizedState!==null!==h&&(o.flags|=8192),h&&o.mode&1?Yi&1073741824&&(wa(o),o.subtreeFlags&6&&(o.flags|=8192)):wa(o),null;case 24:return null;case 25:return null}throw Error(a(156,o.tag))}function _v(r,o){switch(ev(o),o.tag){case 1:return Zr(o.type)&&Ks(),r=o.flags,r&65536?(o.flags=r&-65537|128,o):null;case 3:return Qu(),Er(da),Er(jr),_t(),r=o.flags,r&65536&&!(r&128)?(o.flags=r&-65537|128,o):null;case 5:return av(o),null;case 13:if(Er(Fr),r=o.memoizedState,r!==null&&r.dehydrated!==null){if(o.alternate===null)throw Error(a(340));au()}return r=o.flags,r&65536?(o.flags=r&-65537|128,o):null;case 19:return Er(Fr),null;case 4:return Qu(),null;case 10:return Ah(o.type._context),null;case 22:case 23:return im(),null;case 24:return null;default:return null}}var wf=!1,Ga=!1,cw=typeof WeakSet=="function"?WeakSet:Set,lt=null;function Js(r,o){var f=r.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(h){Nr(r,o,h)}else f.current=null}function kv(r,o,f){try{f()}catch(h){Nr(r,o,h)}}var O0=!1;function _0(r,o){if(Zc=lo,r=qc(),zd(r)){if("selectionStart"in r)var f={start:r.selectionStart,end:r.selectionEnd};else e:{f=(f=r.ownerDocument)&&f.defaultView||window;var h=f.getSelection&&f.getSelection();if(h&&h.rangeCount!==0){f=h.anchorNode;var b=h.anchorOffset,w=h.focusNode;h=h.focusOffset;try{f.nodeType,w.nodeType}catch{f=null;break e}var P=0,K=-1,ee=-1,Se=0,Ae=0,ze=r,De=null;t:for(;;){for(var rt;ze!==f||b!==0&&ze.nodeType!==3||(K=P+b),ze!==w||h!==0&&ze.nodeType!==3||(ee=P+h),ze.nodeType===3&&(P+=ze.nodeValue.length),(rt=ze.firstChild)!==null;)De=ze,ze=rt;for(;;){if(ze===r)break t;if(De===f&&++Se===b&&(K=P),De===w&&++Ae===h&&(ee=P),(rt=ze.nextSibling)!==null)break;ze=De,De=ze.parentNode}ze=rt}f=K===-1||ee===-1?null:{start:K,end:ee}}else f=null}f=f||{start:0,end:0}}else f=null;for(Bu={focusedElem:r,selectionRange:f},lo=!1,lt=o;lt!==null;)if(o=lt,r=o.child,(o.subtreeFlags&1028)!==0&&r!==null)r.return=o,lt=r;else for(;lt!==null;){o=lt;try{var ft=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(ft!==null){var gt=ft.memoizedProps,qr=ft.memoizedState,fe=o.stateNode,ie=fe.getSnapshotBeforeUpdate(o.elementType===o.type?gt:Po(o.type,gt),qr);fe.__reactInternalSnapshotBeforeUpdate=ie}break;case 3:var he=o.stateNode.containerInfo;he.nodeType===1?he.textContent="":he.nodeType===9&&he.documentElement&&he.removeChild(he.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch($e){Nr(o,o.return,$e)}if(r=o.sibling,r!==null){r.return=o.return,lt=r;break}lt=o.return}return ft=O0,O0=!1,ft}function xf(r,o,f){var h=o.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var b=h=h.next;do{if((b.tag&r)===r){var w=b.destroy;b.destroy=void 0,w!==void 0&&kv(o,f,w)}b=b.next}while(b!==h)}}function Rf(r,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var f=o=o.next;do{if((f.tag&r)===r){var h=f.create;f.destroy=h()}f=f.next}while(f!==o)}}function Zh(r){var o=r.ref;if(o!==null){var f=r.stateNode;switch(r.tag){case 5:r=f;break;default:r=f}typeof o=="function"?o(r):o.current=r}}function Mv(r){var o=r.alternate;o!==null&&(r.alternate=null,Mv(o)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(o=r.stateNode,o!==null&&(delete o[Wo],delete o[Jc],delete o[ef],delete o[Ys],delete o[uw])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function Tf(r){return r.tag===5||r.tag===3||r.tag===4}function kl(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Tf(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Zo(r,o,f){var h=r.tag;if(h===5||h===6)r=r.stateNode,o?f.nodeType===8?f.parentNode.insertBefore(r,o):f.insertBefore(r,o):(f.nodeType===8?(o=f.parentNode,o.insertBefore(r,f)):(o=f,o.appendChild(r)),f=f._reactRootContainer,f!=null||o.onclick!==null||(o.onclick=Zl));else if(h!==4&&(r=r.child,r!==null))for(Zo(r,o,f),r=r.sibling;r!==null;)Zo(r,o,f),r=r.sibling}function Jo(r,o,f){var h=r.tag;if(h===5||h===6)r=r.stateNode,o?f.insertBefore(r,o):f.appendChild(r);else if(h!==4&&(r=r.child,r!==null))for(Jo(r,o,f),r=r.sibling;r!==null;)Jo(r,o,f),r=r.sibling}var Yr=null,ii=!1;function oi(r,o,f){for(f=f.child;f!==null;)k0(r,o,f),f=f.sibling}function k0(r,o,f){if(br&&typeof br.onCommitFiberUnmount=="function")try{br.onCommitFiberUnmount(Ma,f)}catch{}switch(f.tag){case 5:Ga||Js(f,o);case 6:var h=Yr,b=ii;Yr=null,oi(r,o,f),Yr=h,ii=b,Yr!==null&&(ii?(r=Yr,f=f.stateNode,r.nodeType===8?r.parentNode.removeChild(f):r.removeChild(f)):Yr.removeChild(f.stateNode));break;case 18:Yr!==null&&(ii?(r=Yr,f=f.stateNode,r.nodeType===8?Ws(r.parentNode,f):r.nodeType===1&&Ws(r,f),Ka(r)):Ws(Yr,f.stateNode));break;case 4:h=Yr,b=ii,Yr=f.stateNode.containerInfo,ii=!0,oi(r,o,f),Yr=h,ii=b;break;case 0:case 11:case 14:case 15:if(!Ga&&(h=f.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){b=h=h.next;do{var w=b,P=w.destroy;w=w.tag,P!==void 0&&(w&2||w&4)&&kv(f,o,P),b=b.next}while(b!==h)}oi(r,o,f);break;case 1:if(!Ga&&(Js(f,o),h=f.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=f.memoizedProps,h.state=f.memoizedState,h.componentWillUnmount()}catch(K){Nr(f,o,K)}oi(r,o,f);break;case 21:oi(r,o,f);break;case 22:f.mode&1?(Ga=(h=Ga)||f.memoizedState!==null,oi(r,o,f),Ga=h):oi(r,o,f);break;default:oi(r,o,f)}}function M0(r){var o=r.updateQueue;if(o!==null){r.updateQueue=null;var f=r.stateNode;f===null&&(f=r.stateNode=new cw),o.forEach(function(h){var b=z0.bind(null,r,h);f.has(h)||(f.add(h),h.then(b,b))})}}function Ao(r,o){var f=o.deletions;if(f!==null)for(var h=0;h<f.length;h++){var b=f[h];try{var w=r,P=o,K=P;e:for(;K!==null;){switch(K.tag){case 5:Yr=K.stateNode,ii=!1;break e;case 3:Yr=K.stateNode.containerInfo,ii=!0;break e;case 4:Yr=K.stateNode.containerInfo,ii=!0;break e}K=K.return}if(Yr===null)throw Error(a(160));k0(w,P,b),Yr=null,ii=!1;var ee=b.alternate;ee!==null&&(ee.return=null),b.return=null}catch(Se){Nr(b,o,Se)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)Jh(o,r),o=o.sibling}function Jh(r,o){var f=r.alternate,h=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(Ao(o,r),ki(r),h&4){try{xf(3,r,r.return),Rf(3,r)}catch(gt){Nr(r,r.return,gt)}try{xf(5,r,r.return)}catch(gt){Nr(r,r.return,gt)}}break;case 1:Ao(o,r),ki(r),h&512&&f!==null&&Js(f,f.return);break;case 5:if(Ao(o,r),ki(r),h&512&&f!==null&&Js(f,f.return),r.flags&32){var b=r.stateNode;try{Ie(b,"")}catch(gt){Nr(r,r.return,gt)}}if(h&4&&(b=r.stateNode,b!=null)){var w=r.memoizedProps,P=f!==null?f.memoizedProps:w,K=r.type,ee=r.updateQueue;if(r.updateQueue=null,ee!==null)try{K==="input"&&w.type==="radio"&&w.name!=null&&st(b,w),Dt(K,P);var Se=Dt(K,w);for(P=0;P<ee.length;P+=2){var Ae=ee[P],ze=ee[P+1];Ae==="style"?Ut(b,ze):Ae==="dangerouslySetInnerHTML"?rr(b,ze):Ae==="children"?Ie(b,ze):F(b,Ae,ze,Se)}switch(K){case"input":yn(b,w);break;case"textarea":an(b,w);break;case"select":var De=b._wrapperState.wasMultiple;b._wrapperState.wasMultiple=!!w.multiple;var rt=w.value;rt!=null?pt(b,!!w.multiple,rt,!1):De!==!!w.multiple&&(w.defaultValue!=null?pt(b,!!w.multiple,w.defaultValue,!0):pt(b,!!w.multiple,w.multiple?[]:"",!1))}b[Jc]=w}catch(gt){Nr(r,r.return,gt)}}break;case 6:if(Ao(o,r),ki(r),h&4){if(r.stateNode===null)throw Error(a(162));b=r.stateNode,w=r.memoizedProps;try{b.nodeValue=w}catch(gt){Nr(r,r.return,gt)}}break;case 3:if(Ao(o,r),ki(r),h&4&&f!==null&&f.memoizedState.isDehydrated)try{Ka(o.containerInfo)}catch(gt){Nr(r,r.return,gt)}break;case 4:Ao(o,r),ki(r);break;case 13:Ao(o,r),ki(r),b=r.child,b.flags&8192&&(w=b.memoizedState!==null,b.stateNode.isHidden=w,!w||b.alternate!==null&&b.alternate.memoizedState!==null||(nm=At())),h&4&&M0(r);break;case 22:if(Ae=f!==null&&f.memoizedState!==null,r.mode&1?(Ga=(Se=Ga)||Ae,Ao(o,r),Ga=Se):Ao(o,r),ki(r),h&8192){if(Se=r.memoizedState!==null,(r.stateNode.isHidden=Se)&&!Ae&&r.mode&1)for(lt=r,Ae=r.child;Ae!==null;){for(ze=lt=Ae;lt!==null;){switch(De=lt,rt=De.child,De.tag){case 0:case 11:case 14:case 15:xf(4,De,De.return);break;case 1:Js(De,De.return);var ft=De.stateNode;if(typeof ft.componentWillUnmount=="function"){h=De,f=De.return;try{o=h,ft.props=o.memoizedProps,ft.state=o.memoizedState,ft.componentWillUnmount()}catch(gt){Nr(h,f,gt)}}break;case 5:Js(De,De.return);break;case 22:if(De.memoizedState!==null){Of(ze);continue}}rt!==null?(rt.return=De,lt=rt):Of(ze)}Ae=Ae.sibling}e:for(Ae=null,ze=r;;){if(ze.tag===5){if(Ae===null){Ae=ze;try{b=ze.stateNode,Se?(w=b.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none"):(K=ze.stateNode,ee=ze.memoizedProps.style,P=ee!=null&&ee.hasOwnProperty("display")?ee.display:null,K.style.display=Et("display",P))}catch(gt){Nr(r,r.return,gt)}}}else if(ze.tag===6){if(Ae===null)try{ze.stateNode.nodeValue=Se?"":ze.memoizedProps}catch(gt){Nr(r,r.return,gt)}}else if((ze.tag!==22&&ze.tag!==23||ze.memoizedState===null||ze===r)&&ze.child!==null){ze.child.return=ze,ze=ze.child;continue}if(ze===r)break e;for(;ze.sibling===null;){if(ze.return===null||ze.return===r)break e;Ae===ze&&(Ae=null),ze=ze.return}Ae===ze&&(Ae=null),ze.sibling.return=ze.return,ze=ze.sibling}}break;case 19:Ao(o,r),ki(r),h&4&&M0(r);break;case 21:break;default:Ao(o,r),ki(r)}}function ki(r){var o=r.flags;if(o&2){try{e:{for(var f=r.return;f!==null;){if(Tf(f)){var h=f;break e}f=f.return}throw Error(a(160))}switch(h.tag){case 5:var b=h.stateNode;h.flags&32&&(Ie(b,""),h.flags&=-33);var w=kl(r);Jo(r,w,b);break;case 3:case 4:var P=h.stateNode.containerInfo,K=kl(r);Zo(r,K,P);break;default:throw Error(a(161))}}catch(ee){Nr(r,r.return,ee)}r.flags&=-3}o&4096&&(r.flags&=-4097)}function fw(r,o,f){lt=r,em(r)}function em(r,o,f){for(var h=(r.mode&1)!==0;lt!==null;){var b=lt,w=b.child;if(b.tag===22&&h){var P=b.memoizedState!==null||wf;if(!P){var K=b.alternate,ee=K!==null&&K.memoizedState!==null||Ga;K=wf;var Se=Ga;if(wf=P,(Ga=ee)&&!Se)for(lt=b;lt!==null;)P=lt,ee=P.child,P.tag===22&&P.memoizedState!==null?tm(b):ee!==null?(ee.return=P,lt=ee):tm(b);for(;w!==null;)lt=w,em(w),w=w.sibling;lt=b,wf=K,Ga=Se}N0(r)}else b.subtreeFlags&8772&&w!==null?(w.return=b,lt=w):N0(r)}}function N0(r){for(;lt!==null;){var o=lt;if(o.flags&8772){var f=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:Ga||Rf(5,o);break;case 1:var h=o.stateNode;if(o.flags&4&&!Ga)if(f===null)h.componentDidMount();else{var b=o.elementType===o.type?f.memoizedProps:Po(o.type,f.memoizedProps);h.componentDidUpdate(b,f.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}var w=o.updateQueue;w!==null&&zh(o,w,h);break;case 3:var P=o.updateQueue;if(P!==null){if(f=null,o.child!==null)switch(o.child.tag){case 5:f=o.child.stateNode;break;case 1:f=o.child.stateNode}zh(o,P,f)}break;case 5:var K=o.stateNode;if(f===null&&o.flags&4){f=K;var ee=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":ee.autoFocus&&f.focus();break;case"img":ee.src&&(f.src=ee.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var Se=o.alternate;if(Se!==null){var Ae=Se.memoizedState;if(Ae!==null){var ze=Ae.dehydrated;ze!==null&&Ka(ze)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(a(163))}Ga||o.flags&512&&Zh(o)}catch(De){Nr(o,o.return,De)}}if(o===r){lt=null;break}if(f=o.sibling,f!==null){f.return=o.return,lt=f;break}lt=o.return}}function Of(r){for(;lt!==null;){var o=lt;if(o===r){lt=null;break}var f=o.sibling;if(f!==null){f.return=o.return,lt=f;break}lt=o.return}}function tm(r){for(;lt!==null;){var o=lt;try{switch(o.tag){case 0:case 11:case 15:var f=o.return;try{Rf(4,o)}catch(ee){Nr(o,f,ee)}break;case 1:var h=o.stateNode;if(typeof h.componentDidMount=="function"){var b=o.return;try{h.componentDidMount()}catch(ee){Nr(o,b,ee)}}var w=o.return;try{Zh(o)}catch(ee){Nr(o,w,ee)}break;case 5:var P=o.return;try{Zh(o)}catch(ee){Nr(o,P,ee)}}}catch(ee){Nr(o,o.return,ee)}if(o===r){lt=null;break}var K=o.sibling;if(K!==null){K.return=o.return,lt=K;break}lt=o.return}}var dw=Math.ceil,su=z.ReactCurrentDispatcher,os=z.ReactCurrentOwner,La=z.ReactCurrentBatchConfig,Pn=0,pa=null,ra=null,Fa=0,Yi=0,ec=No(0),Kr=0,_f=null,el=0,tc=0,Nv=0,kf=null,Mi=null,nm=0,nc=1/0,Ki=null,rc=!1,ls=null,cu=null,Dv=!1,Ml=null,Mf=0,fu=0,ac=null,Nf=-1,Xa=0;function aa(){return Pn&6?At():Nf!==-1?Nf:Nf=At()}function tl(r){return r.mode&1?Pn&2&&Fa!==0?Fa&-Fa:sw.transition!==null?(Xa===0&&(Xa=hn()),Xa):(r=un,r!==0||(r=window.event,r=r===void 0?16:Fs(r.type)),r):1}function li(r,o,f,h){if(50<fu)throw fu=0,ac=null,Error(a(185));sr(r,f,h),(!(Pn&2)||r!==pa)&&(r===pa&&(!(Pn&2)&&(tc|=f),Kr===4&&$o(r,Fa)),Ni(r,h),f===1&&Pn===0&&!(o.mode&1)&&(nc=At()+500,qs&&Ko()))}function Ni(r,o){var f=r.callbackNode;ni(r,o);var h=Sa(r,r===pa?Fa:0);if(h===0)f!==null&&En(f),r.callbackNode=null,r.callbackPriority=0;else if(o=h&-h,r.callbackPriority!==o){if(f!=null&&En(f),o===1)r.tag===0?eu(rm.bind(null,r)):Zd(rm.bind(null,r)),Bs(function(){!(Pn&6)&&Ko()}),f=null;else{switch(ao(h)){case 1:f=ka;break;case 4:f=ei;break;case 16:f=ga;break;case 536870912:f=zi;break;default:f=ga}f=V0(f,Pv.bind(null,r))}r.callbackPriority=o,r.callbackNode=f}}function Pv(r,o){if(Nf=-1,Xa=0,Pn&6)throw Error(a(327));var f=r.callbackNode;if(ic()&&r.callbackNode!==f)return null;var h=Sa(r,r===pa?Fa:0);if(h===0)return null;if(h&30||h&r.expiredLanes||o)o=Av(r,h);else{o=h;var b=Pn;Pn|=2;var w=P0();(pa!==r||Fa!==o)&&(Ki=null,nc=At()+500,Nl(r,o));do try{A0();break}catch(K){D0(r,K)}while(!0);Ph(),su.current=w,Pn=b,ra!==null?o=0:(pa=null,Fa=0,o=Kr)}if(o!==0){if(o===2&&(b=Mn(r),b!==0&&(h=b,o=Df(r,b))),o===1)throw f=_f,Nl(r,0),$o(r,h),Ni(r,At()),f;if(o===6)$o(r,h);else{if(b=r.current.alternate,!(h&30)&&!vw(b)&&(o=Av(r,h),o===2&&(w=Mn(r),w!==0&&(h=w,o=Df(r,w))),o===1))throw f=_f,Nl(r,0),$o(r,h),Ni(r,At()),f;switch(r.finishedWork=b,r.finishedLanes=h,o){case 0:case 1:throw Error(a(345));case 2:cs(r,Mi,Ki);break;case 3:if($o(r,h),(h&130023424)===h&&(o=nm+500-At(),10<o)){if(Sa(r,0)!==0)break;if(b=r.suspendedLanes,(b&h)!==h){aa(),r.pingedLanes|=r.suspendedLanes&b;break}r.timeoutHandle=Gd(cs.bind(null,r,Mi,Ki),o);break}cs(r,Mi,Ki);break;case 4:if($o(r,h),(h&4194240)===h)break;for(o=r.eventTimes,b=-1;0<h;){var P=31-xr(h);w=1<<P,P=o[P],P>b&&(b=P),h&=~w}if(h=b,h=At()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*dw(h/1960))-h,10<h){r.timeoutHandle=Gd(cs.bind(null,r,Mi,Ki),h);break}cs(r,Mi,Ki);break;case 5:cs(r,Mi,Ki);break;default:throw Error(a(329))}}}return Ni(r,At()),r.callbackNode===f?Pv.bind(null,r):null}function Df(r,o){var f=kf;return r.current.memoizedState.isDehydrated&&(Nl(r,o).flags|=256),r=Av(r,o),r!==2&&(o=Mi,Mi=f,o!==null&&us(o)),r}function us(r){Mi===null?Mi=r:Mi.push.apply(Mi,r)}function vw(r){for(var o=r;;){if(o.flags&16384){var f=o.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var h=0;h<f.length;h++){var b=f[h],w=b.getSnapshot;b=b.value;try{if(!ko(w(),b))return!1}catch{return!1}}}if(f=o.child,o.subtreeFlags&16384&&f!==null)f.return=o,o=f;else{if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function $o(r,o){for(o&=~Nv,o&=~tc,r.suspendedLanes|=o,r.pingedLanes&=~o,r=r.expirationTimes;0<o;){var f=31-xr(o),h=1<<f;r[f]=-1,o&=~h}}function rm(r){if(Pn&6)throw Error(a(327));ic();var o=Sa(r,0);if(!(o&1))return Ni(r,At()),null;var f=Av(r,o);if(r.tag!==0&&f===2){var h=Mn(r);h!==0&&(o=h,f=Df(r,h))}if(f===1)throw f=_f,Nl(r,0),$o(r,o),Ni(r,At()),f;if(f===6)throw Error(a(345));return r.finishedWork=r.current.alternate,r.finishedLanes=o,cs(r,Mi,Ki),Ni(r,At()),null}function am(r,o){var f=Pn;Pn|=1;try{return r(o)}finally{Pn=f,Pn===0&&(nc=At()+500,qs&&Ko())}}function ss(r){Ml!==null&&Ml.tag===0&&!(Pn&6)&&ic();var o=Pn;Pn|=1;var f=La.transition,h=un;try{if(La.transition=null,un=1,r)return r()}finally{un=h,La.transition=f,Pn=o,!(Pn&6)&&Ko()}}function im(){Yi=ec.current,Er(ec)}function Nl(r,o){r.finishedWork=null,r.finishedLanes=0;var f=r.timeoutHandle;if(f!==-1&&(r.timeoutHandle=-1,_h(f)),ra!==null)for(f=ra.return;f!==null;){var h=f;switch(ev(h),h.tag){case 1:h=h.type.childContextTypes,h!=null&&Ks();break;case 3:Qu(),Er(da),Er(jr),_t();break;case 5:av(h);break;case 4:Qu();break;case 13:Er(Fr);break;case 19:Er(Fr);break;case 10:Ah(h.type._context);break;case 22:case 23:im()}f=f.return}if(pa=r,ra=r=du(r.current,null),Fa=Yi=o,Kr=0,_f=null,Nv=tc=el=0,Mi=kf=null,Gu!==null){for(o=0;o<Gu.length;o++)if(f=Gu[o],h=f.interleaved,h!==null){f.interleaved=null;var b=h.next,w=f.pending;if(w!==null){var P=w.next;w.next=b,h.next=P}f.pending=h}Gu=null}return r}function D0(r,o){do{var f=ra;try{if(Ph(),vn.current=rs,ov){for(var h=Un.memoizedState;h!==null;){var b=h.queue;b!==null&&(b.pending=null),h=h.next}ov=!1}if(dr=0,Ea=ea=Un=null,sf=!1,Zu=0,os.current=null,f===null||f.return===null){Kr=1,_f=o,ra=null;break}e:{var w=r,P=f.return,K=f,ee=o;if(o=Fa,K.flags|=32768,ee!==null&&typeof ee=="object"&&typeof ee.then=="function"){var Se=ee,Ae=K,ze=Ae.tag;if(!(Ae.mode&1)&&(ze===0||ze===11||ze===15)){var De=Ae.alternate;De?(Ae.updateQueue=De.updateQueue,Ae.memoizedState=De.memoizedState,Ae.lanes=De.lanes):(Ae.updateQueue=null,Ae.memoizedState=null)}var rt=b0(P);if(rt!==null){rt.flags&=-257,uu(rt,P,K,w,o),rt.mode&1&&Kh(w,Se,o),o=rt,ee=Se;var ft=o.updateQueue;if(ft===null){var gt=new Set;gt.add(ee),o.updateQueue=gt}else ft.add(ee);break e}else{if(!(o&1)){Kh(w,Se,o),om();break e}ee=Error(a(426))}}else if(Mr&&K.mode&1){var qr=b0(P);if(qr!==null){!(qr.flags&65536)&&(qr.flags|=256),uu(qr,P,K,w,o),Tl(as(ee,K));break e}}w=ee=as(ee,K),Kr!==4&&(Kr=2),kf===null?kf=[w]:kf.push(w),w=P;do{switch(w.tag){case 3:w.flags|=65536,o&=-o,w.lanes|=o;var fe=y0(w,ee,o);v0(w,fe);break e;case 1:K=ee;var ie=w.type,he=w.stateNode;if(!(w.flags&128)&&(typeof ie.getDerivedStateFromError=="function"||he!==null&&typeof he.componentDidCatch=="function"&&(cu===null||!cu.has(he)))){w.flags|=65536,o&=-o,w.lanes|=o;var $e=Yh(w,K,o);v0(w,$e);break e}}w=w.return}while(w!==null)}L0(f)}catch(dt){o=dt,ra===f&&f!==null&&(ra=f=f.return);continue}break}while(!0)}function P0(){var r=su.current;return su.current=rs,r===null?rs:r}function om(){(Kr===0||Kr===3||Kr===2)&&(Kr=4),pa===null||!(el&268435455)&&!(tc&268435455)||$o(pa,Fa)}function Av(r,o){var f=Pn;Pn|=2;var h=P0();(pa!==r||Fa!==o)&&(Ki=null,Nl(r,o));do try{pw();break}catch(b){D0(r,b)}while(!0);if(Ph(),Pn=f,su.current=h,ra!==null)throw Error(a(261));return pa=null,Fa=0,Kr}function pw(){for(;ra!==null;)$0(ra)}function A0(){for(;ra!==null&&!sa();)$0(ra)}function $0(r){var o=j0(r.alternate,r,Yi);r.memoizedProps=r.pendingProps,o===null?L0(r):ra=o,os.current=null}function L0(r){var o=r;do{var f=o.alternate;if(r=o.return,o.flags&32768){if(f=_v(f,o),f!==null){f.flags&=32767,ra=f;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{Kr=6,ra=null;return}}else if(f=T0(f,o,Yi),f!==null){ra=f;return}if(o=o.sibling,o!==null){ra=o;return}ra=o=r}while(o!==null);Kr===0&&(Kr=5)}function cs(r,o,f){var h=un,b=La.transition;try{La.transition=null,un=1,hw(r,o,f,h)}finally{La.transition=b,un=h}return null}function hw(r,o,f,h){do ic();while(Ml!==null);if(Pn&6)throw Error(a(327));f=r.finishedWork;var b=r.finishedLanes;if(f===null)return null;if(r.finishedWork=null,r.finishedLanes=0,f===r.current)throw Error(a(177));r.callbackNode=null,r.callbackPriority=0;var w=f.lanes|f.childLanes;if(Vr(r,w),r===pa&&(ra=pa=null,Fa=0),!(f.subtreeFlags&2064)&&!(f.flags&2064)||Dv||(Dv=!0,V0(ga,function(){return ic(),null})),w=(f.flags&15990)!==0,f.subtreeFlags&15990||w){w=La.transition,La.transition=null;var P=un;un=1;var K=Pn;Pn|=4,os.current=null,_0(r,f),Jh(f,r),js(Bu),lo=!!Zc,Bu=Zc=null,r.current=f,fw(f),_a(),Pn=K,un=P,La.transition=w}else r.current=f;if(Dv&&(Dv=!1,Ml=r,Mf=b),w=r.pendingLanes,w===0&&(cu=null),ji(f.stateNode),Ni(r,At()),o!==null)for(h=r.onRecoverableError,f=0;f<o.length;f++)b=o[f],h(b.value,{componentStack:b.stack,digest:b.digest});if(rc)throw rc=!1,r=ls,ls=null,r;return Mf&1&&r.tag!==0&&ic(),w=r.pendingLanes,w&1?r===ac?fu++:(fu=0,ac=r):fu=0,Ko(),null}function ic(){if(Ml!==null){var r=ao(Mf),o=La.transition,f=un;try{if(La.transition=null,un=16>r?16:r,Ml===null)var h=!1;else{if(r=Ml,Ml=null,Mf=0,Pn&6)throw Error(a(331));var b=Pn;for(Pn|=4,lt=r.current;lt!==null;){var w=lt,P=w.child;if(lt.flags&16){var K=w.deletions;if(K!==null){for(var ee=0;ee<K.length;ee++){var Se=K[ee];for(lt=Se;lt!==null;){var Ae=lt;switch(Ae.tag){case 0:case 11:case 15:xf(8,Ae,w)}var ze=Ae.child;if(ze!==null)ze.return=Ae,lt=ze;else for(;lt!==null;){Ae=lt;var De=Ae.sibling,rt=Ae.return;if(Mv(Ae),Ae===Se){lt=null;break}if(De!==null){De.return=rt,lt=De;break}lt=rt}}}var ft=w.alternate;if(ft!==null){var gt=ft.child;if(gt!==null){ft.child=null;do{var qr=gt.sibling;gt.sibling=null,gt=qr}while(gt!==null)}}lt=w}}if(w.subtreeFlags&2064&&P!==null)P.return=w,lt=P;else e:for(;lt!==null;){if(w=lt,w.flags&2048)switch(w.tag){case 0:case 11:case 15:xf(9,w,w.return)}var fe=w.sibling;if(fe!==null){fe.return=w.return,lt=fe;break e}lt=w.return}}var ie=r.current;for(lt=ie;lt!==null;){P=lt;var he=P.child;if(P.subtreeFlags&2064&&he!==null)he.return=P,lt=he;else e:for(P=ie;lt!==null;){if(K=lt,K.flags&2048)try{switch(K.tag){case 0:case 11:case 15:Rf(9,K)}}catch(dt){Nr(K,K.return,dt)}if(K===P){lt=null;break e}var $e=K.sibling;if($e!==null){$e.return=K.return,lt=$e;break e}lt=K.return}}if(Pn=b,Ko(),br&&typeof br.onPostCommitFiberRoot=="function")try{br.onPostCommitFiberRoot(Ma,r)}catch{}h=!0}return h}finally{un=f,La.transition=o}}return!1}function F0(r,o,f){o=as(f,o),o=y0(r,o,1),r=iu(r,o,1),o=aa(),r!==null&&(sr(r,1,o),Ni(r,o))}function Nr(r,o,f){if(r.tag===3)F0(r,r,f);else for(;o!==null;){if(o.tag===3){F0(o,r,f);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(cu===null||!cu.has(h))){r=as(f,r),r=Yh(o,r,1),o=iu(o,r,1),r=aa(),o!==null&&(sr(o,1,r),Ni(o,r));break}}o=o.return}}function mw(r,o,f){var h=r.pingCache;h!==null&&h.delete(o),o=aa(),r.pingedLanes|=r.suspendedLanes&f,pa===r&&(Fa&f)===f&&(Kr===4||Kr===3&&(Fa&130023424)===Fa&&500>At()-nm?Nl(r,0):Nv|=f),Ni(r,o)}function I0(r,o){o===0&&(r.mode&1?(o=Sr,Sr<<=1,!(Sr&130023424)&&(Sr=4194304)):o=1);var f=aa();r=Ui(r,o),r!==null&&(sr(r,o,f),Ni(r,f))}function gw(r){var o=r.memoizedState,f=0;o!==null&&(f=o.retryLane),I0(r,f)}function z0(r,o){var f=0;switch(r.tag){case 13:var h=r.stateNode,b=r.memoizedState;b!==null&&(f=b.retryLane);break;case 19:h=r.stateNode;break;default:throw Error(a(314))}h!==null&&h.delete(o),I0(r,f)}var j0;j0=function(r,o,f){if(r!==null)if(r.memoizedProps!==o.pendingProps||da.current)ta=!0;else{if(!(r.lanes&f)&&!(o.flags&128))return ta=!1,Cf(r,o,f);ta=!!(r.flags&131072)}else ta=!1,Mr&&o.flags&1048576&&s0(o,Rl,o.index);switch(o.lanes=0,o.tag){case 2:var h=o.type;ho(r,o),r=o.pendingProps;var b=co(o,jr.current);Lr(o,f),b=ou(null,o,h,r,b,f);var w=Do();return o.flags|=1,typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,Zr(h)?(w=!0,xi(o)):w=!1,o.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,Ih(o),b.updater=wv,o.stateNode=b,b._reactInternals=o,mf(o,h,r,f),o=bf(null,o,h,!0,w,f)):(o.tag=0,Mr&&w&&Jd(o),$a(null,o,b,f),o=o.child),o;case 16:h=o.elementType;e:{switch(ho(r,o),r=o.pendingProps,b=h._init,h=b(h._payload),o.type=h,b=o.tag=bw(h),r=Po(h,r),b){case 0:o=S0(null,o,h,r,f);break e;case 1:o=C0(null,o,h,r,f);break e;case 11:o=_i(null,o,h,r,f);break e;case 14:o=is(null,o,h,Po(h.type,r),f);break e}throw Error(a(306,h,""))}return o;case 0:return h=o.type,b=o.pendingProps,b=o.elementType===h?b:Po(h,b),S0(r,o,h,b,f);case 1:return h=o.type,b=o.pendingProps,b=o.elementType===h?b:Po(h,b),C0(r,o,h,b,f);case 3:e:{if(Zs(o),r===null)throw Error(a(387));h=o.pendingProps,w=o.memoizedState,b=w.element,d0(r,o),rf(o,h,null,f);var P=o.memoizedState;if(h=P.element,w.isDehydrated)if(w={element:h,isDehydrated:!1,cache:P.cache,pendingSuspenseBoundaries:P.pendingSuspenseBoundaries,transitions:P.transitions},o.updateQueue.baseState=w,o.memoizedState=w,o.flags&256){b=as(Error(a(423)),o),o=E0(r,o,h,f,b);break e}else if(h!==b){b=as(Error(a(424)),o),o=E0(r,o,h,f,b);break e}else for(Ti=Bo(o.stateNode.containerInfo.firstChild),Ri=o,Mr=!0,vo=null,f=Je(o,null,h,f),o.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(au(),h===b){o=mo(r,o,f);break e}$a(r,o,h,f)}o=o.child}return o;case 5:return p0(o),r===null&&Nh(o),h=o.type,b=o.pendingProps,w=r!==null?r.memoizedProps:null,P=b.children,qd(h,b)?P=null:w!==null&&qd(h,w)&&(o.flags|=32),qh(r,o),$a(r,o,P,f),o.child;case 6:return r===null&&Nh(o),null;case 13:return Ov(r,o,f);case 4:return jh(o,o.stateNode.containerInfo),h=o.pendingProps,r===null?o.child=Br(o,null,h,f):$a(r,o,h,f),o.child;case 11:return h=o.type,b=o.pendingProps,b=o.elementType===h?b:Po(h,b),_i(r,o,h,b,f);case 7:return $a(r,o,o.pendingProps,f),o.child;case 8:return $a(r,o,o.pendingProps.children,f),o.child;case 12:return $a(r,o,o.pendingProps.children,f),o.child;case 10:e:{if(h=o.type._context,b=o.pendingProps,w=o.memoizedProps,P=b.value,xt(Hi,h._currentValue),h._currentValue=P,w!==null)if(ko(w.value,P)){if(w.children===b.children&&!da.current){o=mo(r,o,f);break e}}else for(w=o.child,w!==null&&(w.return=o);w!==null;){var K=w.dependencies;if(K!==null){P=w.child;for(var ee=K.firstContext;ee!==null;){if(ee.context===h){if(w.tag===1){ee=Ol(-1,f&-f),ee.tag=2;var Se=w.updateQueue;if(Se!==null){Se=Se.shared;var Ae=Se.pending;Ae===null?ee.next=ee:(ee.next=Ae.next,Ae.next=ee),Se.pending=ee}}w.lanes|=f,ee=w.alternate,ee!==null&&(ee.lanes|=f),$h(w.return,f,o),K.lanes|=f;break}ee=ee.next}}else if(w.tag===10)P=w.type===o.type?null:w.child;else if(w.tag===18){if(P=w.return,P===null)throw Error(a(341));P.lanes|=f,K=P.alternate,K!==null&&(K.lanes|=f),$h(P,f,o),P=w.sibling}else P=w.child;if(P!==null)P.return=w;else for(P=w;P!==null;){if(P===o){P=null;break}if(w=P.sibling,w!==null){w.return=P.return,P=w;break}P=P.return}w=P}$a(r,o,b.children,f),o=o.child}return o;case 9:return b=o.type,h=o.pendingProps.children,Lr(o,f),b=po(b),h=h(b),o.flags|=1,$a(r,o,h,f),o.child;case 14:return h=o.type,b=Po(h,o.pendingProps),b=Po(h.type,b),is(r,o,h,b,f);case 15:return tn(r,o,o.type,o.pendingProps,f);case 17:return h=o.type,b=o.pendingProps,b=o.elementType===h?b:Po(h,b),ho(r,o),o.tag=1,Zr(h)?(r=!0,xi(o)):r=!1,Lr(o,f),xv(o,h,b),mf(o,h,b,f),bf(null,o,h,!0,r,f);case 19:return Qo(r,o,f);case 22:return yf(r,o,f)}throw Error(a(156,o.tag))};function V0(r,o){return zn(r,o)}function yw(r,o,f,h){this.tag=r,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yo(r,o,f,h){return new yw(r,o,f,h)}function lm(r){return r=r.prototype,!(!r||!r.isReactComponent)}function bw(r){if(typeof r=="function")return lm(r)?1:0;if(r!=null){if(r=r.$$typeof,r===te)return 11;if(r===se)return 14}return 2}function du(r,o){var f=r.alternate;return f===null?(f=yo(r.tag,o,r.key,r.mode),f.elementType=r.elementType,f.type=r.type,f.stateNode=r.stateNode,f.alternate=r,r.alternate=f):(f.pendingProps=o,f.type=r.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=r.flags&14680064,f.childLanes=r.childLanes,f.lanes=r.lanes,f.child=r.child,f.memoizedProps=r.memoizedProps,f.memoizedState=r.memoizedState,f.updateQueue=r.updateQueue,o=r.dependencies,f.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},f.sibling=r.sibling,f.index=r.index,f.ref=r.ref,f}function Pf(r,o,f,h,b,w){var P=2;if(h=r,typeof r=="function")lm(r)&&(P=1);else if(typeof r=="string")P=5;else e:switch(r){case W:return Dl(f.children,b,w,o);case Z:P=8,b|=8;break;case J:return r=yo(12,f,o,b|2),r.elementType=J,r.lanes=w,r;case Y:return r=yo(13,f,o,b),r.elementType=Y,r.lanes=w,r;case Q:return r=yo(19,f,o,b),r.elementType=Q,r.lanes=w,r;case de:return vu(f,b,w,o);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case U:P=10;break e;case q:P=9;break e;case te:P=11;break e;case se:P=14;break e;case ye:P=16,h=null;break e}throw Error(a(130,r==null?r:typeof r,""))}return o=yo(P,f,o,b),o.elementType=r,o.type=h,o.lanes=w,o}function Dl(r,o,f,h){return r=yo(7,r,h,o),r.lanes=f,r}function vu(r,o,f,h){return r=yo(22,r,h,o),r.elementType=de,r.lanes=f,r.stateNode={isHidden:!1},r}function um(r,o,f){return r=yo(6,r,null,o),r.lanes=f,r}function $v(r,o,f){return o=yo(4,r.children!==null?r.children:[],r.key,o),o.lanes=f,o.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},o}function H0(r,o,f,h,b){this.tag=o,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Nn(0),this.expirationTimes=Nn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nn(0),this.identifierPrefix=h,this.onRecoverableError=b,this.mutableSourceEagerHydrationData=null}function Lv(r,o,f,h,b,w,P,K,ee){return r=new H0(r,o,f,K,ee),o===1?(o=1,w===!0&&(o|=8)):o=0,w=yo(3,null,null,o),r.current=w,w.stateNode=r,w.memoizedState={element:h,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ih(w),r}function Sw(r,o,f){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:H,key:h==null?null:""+h,children:r,containerInfo:o,implementation:f}}function sm(r){if(!r)return Ei;r=r._reactInternals;e:{if(Pt(r)!==r||r.tag!==1)throw Error(a(170));var o=r;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(Zr(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(a(171))}if(r.tag===1){var f=r.type;if(Zr(f))return tf(r,f,o)}return o}function U0(r,o,f,h,b,w,P,K,ee){return r=Lv(f,h,!0,r,b,w,P,K,ee),r.context=sm(null),f=r.current,h=aa(),b=tl(f),w=Ol(h,b),w.callback=o??null,iu(f,w,b),r.current.lanes=b,sr(r,b,h),Ni(r,h),r}function Fv(r,o,f,h){var b=o.current,w=aa(),P=tl(b);return f=sm(f),o.context===null?o.context=f:o.pendingContext=f,o=Ol(w,P),o.payload={element:r},h=h===void 0?null:h,h!==null&&(o.callback=h),r=iu(b,o,P),r!==null&&(li(r,b,P,w),rv(r,b,P)),P}function Iv(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function cm(r,o){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var f=r.retryLane;r.retryLane=f!==0&&f<o?f:o}}function zv(r,o){cm(r,o),(r=r.alternate)&&cm(r,o)}function B0(){return null}var fs=typeof reportError=="function"?reportError:function(r){console.error(r)};function fm(r){this._internalRoot=r}jv.prototype.render=fm.prototype.render=function(r){var o=this._internalRoot;if(o===null)throw Error(a(409));Fv(r,o,null,null)},jv.prototype.unmount=fm.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var o=r.containerInfo;ss(function(){Fv(null,r,null,null)}),o[wl]=null}};function jv(r){this._internalRoot=r}jv.prototype.unstable_scheduleHydration=function(r){if(r){var o=kt();r={blockedOn:null,target:r,priority:o};for(var f=0;f<Ar.length&&o!==0&&o<Ar[f].priority;f++);Ar.splice(f,0,r),f===0&&Rr(r)}};function dm(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function Vv(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function W0(){}function Cw(r,o,f,h,b){if(b){if(typeof h=="function"){var w=h;h=function(){var Se=Iv(P);w.call(Se)}}var P=U0(o,h,r,0,null,!1,!1,"",W0);return r._reactRootContainer=P,r[wl]=P.current,Hs(r.nodeType===8?r.parentNode:r),ss(),P}for(;b=r.lastChild;)r.removeChild(b);if(typeof h=="function"){var K=h;h=function(){var Se=Iv(ee);K.call(Se)}}var ee=Lv(r,0,!1,null,null,!1,!1,"",W0);return r._reactRootContainer=ee,r[wl]=ee.current,Hs(r.nodeType===8?r.parentNode:r),ss(function(){Fv(o,ee,f,h)}),ee}function Af(r,o,f,h,b){var w=f._reactRootContainer;if(w){var P=w;if(typeof b=="function"){var K=b;b=function(){var ee=Iv(P);K.call(ee)}}Fv(o,P,r,b)}else P=Cw(f,o,r,b,h);return Iv(P)}sn=function(r){switch(r.tag){case 3:var o=r.stateNode;if(o.current.memoizedState.isDehydrated){var f=Da(o.pendingLanes);f!==0&&(Ca(o,f|1),Ni(o,At()),!(Pn&6)&&(nc=At()+500,Ko()))}break;case 13:ss(function(){var h=Ui(r,1);if(h!==null){var b=aa();li(h,r,1,b)}}),zv(r,1)}},Si=function(r){if(r.tag===13){var o=Ui(r,134217728);if(o!==null){var f=aa();li(o,r,134217728,f)}zv(r,134217728)}},hr=function(r){if(r.tag===13){var o=tl(r),f=Ui(r,o);if(f!==null){var h=aa();li(f,r,o,h)}zv(r,o)}},kt=function(){return un},Hr=function(r,o){var f=un;try{return un=r,o()}finally{un=f}},ln=function(r,o,f){switch(o){case"input":if(yn(r,f),o=f.name,f.type==="radio"&&o!=null){for(f=r;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<f.length;o++){var h=f[o];if(h!==r&&h.form===r.form){var b=Ur(h);if(!b)throw Error(a(90));bt(h),yn(h,b)}}}break;case"textarea":an(r,f);break;case"select":o=f.value,o!=null&&pt(r,!!f.multiple,o,!1)}},Tn=am,ht=ss;var Ew={usingClientEntryPoint:!1,Events:[Ot,Mo,Ur,kn,Or,am]},$f={findFiberByHostInstance:Wu,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Y0={bundleType:$f.bundleType,version:$f.version,rendererPackageName:$f.rendererPackageName,rendererConfig:$f.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:z.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=Gn(r),r===null?null:r.stateNode},findFiberByHostInstance:$f.findFiberByHostInstance||B0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var pu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pu.isDisabled&&pu.supportsFiber)try{Ma=pu.inject(Y0),br=pu}catch{}}return Ji.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ew,Ji.createPortal=function(r,o){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!dm(o))throw Error(a(200));return Sw(r,o,null,f)},Ji.createRoot=function(r,o){if(!dm(r))throw Error(a(299));var f=!1,h="",b=fs;return o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onRecoverableError!==void 0&&(b=o.onRecoverableError)),o=Lv(r,1,!1,null,null,f,!1,h,b),r[wl]=o.current,Hs(r.nodeType===8?r.parentNode:r),new fm(o)},Ji.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var o=r._reactInternals;if(o===void 0)throw typeof r.render=="function"?Error(a(188)):(r=Object.keys(r).join(","),Error(a(268,r)));return r=Gn(o),r=r===null?null:r.stateNode,r},Ji.flushSync=function(r){return ss(r)},Ji.hydrate=function(r,o,f){if(!Vv(o))throw Error(a(200));return Af(null,r,o,!0,f)},Ji.hydrateRoot=function(r,o,f){if(!dm(r))throw Error(a(405));var h=f!=null&&f.hydratedSources||null,b=!1,w="",P=fs;if(f!=null&&(f.unstable_strictMode===!0&&(b=!0),f.identifierPrefix!==void 0&&(w=f.identifierPrefix),f.onRecoverableError!==void 0&&(P=f.onRecoverableError)),o=U0(o,null,r,1,f??null,b,!1,w,P),r[wl]=o.current,Hs(r),h)for(r=0;r<h.length;r++)f=h[r],b=f._getVersion,b=b(f._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[f,b]:o.mutableSourceEagerHydrationData.push(f,b);return new jv(o)},Ji.render=function(r,o,f){if(!Vv(o))throw Error(a(200));return Af(null,r,o,!1,f)},Ji.unmountComponentAtNode=function(r){if(!Vv(r))throw Error(a(40));return r._reactRootContainer?(ss(function(){Af(null,null,r,!1,function(){r._reactRootContainer=null,r[wl]=null})}),!0):!1},Ji.unstable_batchedUpdates=am,Ji.unstable_renderSubtreeIntoContainer=function(r,o,f,h){if(!Vv(f))throw Error(a(200));if(r==null||r._reactInternals===void 0)throw Error(a(38));return Af(r,o,f,!1,h)},Ji.version="18.3.1-next-f1338f8080-20240426",Ji}var eo={},PR;function wA(){return PR||(PR=1,ce.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Cp(),i=NR(),a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,u=!1;function s(e){u=e}function p(e){if(!u){for(var t=arguments.length,l=new Array(t>1?t-1:0),c=1;c<t;c++)l[c-1]=arguments[c];g("warn",e,l)}}function d(e){if(!u){for(var t=arguments.length,l=new Array(t>1?t-1:0),c=1;c<t;c++)l[c-1]=arguments[c];g("error",e,l)}}function g(e,t,l){{var c=a.ReactDebugCurrentFrame,v=c.getStackAddendum();v!==""&&(t+="%s",l=l.concat([v]));var m=l.map(function(S){return String(S)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var y=0,C=1,x=2,R=3,O=4,D=5,N=6,A=7,k=8,V=9,$=10,F=11,z=12,I=13,H=14,W=15,Z=16,J=17,U=18,q=19,te=21,Y=22,Q=23,se=24,ye=25,de=!0,ne=!1,me=!1,le=!1,B=!1,re=!0,xe=!0,we=!0,Pe=!0,Fe=new Set,Le={},He={};function Be(e,t){ot(e,t),ot(e+"Capture",t)}function ot(e,t){Le[e]&&d("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Le[e]=t;{var l=e.toLowerCase();He[l]=e,e==="onDoubleClick"&&(He.ondblclick=e)}for(var c=0;c<t.length;c++)Fe.add(t[c])}var tt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",bt=Object.prototype.hasOwnProperty;function St(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,l=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return l}}function _e(e){try{return mt(e),!1}catch{return!0}}function mt(e){return""+e}function st(e,t){if(_e(e))return d("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,St(e)),mt(e)}function yn(e){if(_e(e))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",St(e)),mt(e)}function rn(e,t){if(_e(e))return d("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,St(e)),mt(e)}function pn(e,t){if(_e(e))return d("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,St(e)),mt(e)}function en(e){if(_e(e))return d("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",St(e)),mt(e)}function pt(e){if(_e(e))return d("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",St(e)),mt(e)}var jt=0,Ke=1,an=2,Mt=3,Nt=4,Kn=5,nr=6,rr=":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",Ie=rr+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Xe=new RegExp("^["+rr+"]["+Ie+"]*$"),ut={},Et={};function Ut(e){return bt.call(Et,e)?!0:bt.call(ut,e)?!1:Xe.test(e)?(Et[e]=!0,!0):(ut[e]=!0,d("Invalid attribute name: `%s`",e),!1)}function bn(e,t,l){return t!==null?t.type===jt:l?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Yt(e,t,l,c){if(l!==null&&l.type===jt)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(c)return!1;if(l!==null)return!l.acceptsBooleans;var v=e.toLowerCase().slice(0,5);return v!=="data-"&&v!=="aria-"}default:return!1}}function Dt(e,t,l,c){if(t===null||typeof t>"u"||Yt(e,t,l,c))return!0;if(c)return!1;if(l!==null)switch(l.type){case Mt:return!t;case Nt:return t===!1;case Kn:return isNaN(t);case nr:return isNaN(t)||t<1}return!1}function Jt(e){return ln.hasOwnProperty(e)?ln[e]:null}function on(e,t,l,c,v,m,S){this.acceptsBooleans=t===an||t===Mt||t===Nt,this.attributeName=c,this.attributeNamespace=v,this.mustUseProperty=l,this.propertyName=e,this.type=t,this.sanitizeURL=m,this.removeEmptyString=S}var ln={},qn=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];qn.forEach(function(e){ln[e]=new on(e,jt,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],l=e[1];ln[t]=new on(t,Ke,!1,l,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ln[e]=new on(e,an,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ln[e]=new on(e,an,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){ln[e]=new on(e,Mt,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){ln[e]=new on(e,Mt,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){ln[e]=new on(e,Nt,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){ln[e]=new on(e,nr,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){ln[e]=new on(e,Kn,!1,e.toLowerCase(),null,!1,!1)});var ar=/[\-\:]([a-z])/g,In=function(e){return e[1].toUpperCase()};["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"].forEach(function(e){var t=e.replace(ar,In);ln[t]=new on(t,Ke,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ar,In);ln[t]=new on(t,Ke,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ar,In);ln[t]=new on(t,Ke,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){ln[e]=new on(e,Ke,!1,e.toLowerCase(),null,!1,!1)});var kn="xlinkHref";ln[kn]=new on("xlinkHref",Ke,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){ln[e]=new on(e,Ke,!1,e.toLowerCase(),null,!0,!0)});var Or=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Tn=!1;function ht(e){!Tn&&Or.test(e)&&(Tn=!0,d("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ye(e,t,l,c){if(c.mustUseProperty){var v=c.propertyName;return e[v]}else{st(l,t),c.sanitizeURL&&ht(""+l);var m=c.attributeName,S=null;if(c.type===Nt){if(e.hasAttribute(m)){var T=e.getAttribute(m);return T===""?!0:Dt(t,l,c,!1)?T:T===""+l?l:T}}else if(e.hasAttribute(m)){if(Dt(t,l,c,!1))return e.getAttribute(m);if(c.type===Mt)return l;S=e.getAttribute(m)}return Dt(t,l,c,!1)?S===null?l:S:S===""+l?l:S}}function wt(e,t,l,c){{if(!Ut(t))return;if(!e.hasAttribute(t))return l===void 0?void 0:null;var v=e.getAttribute(t);return st(l,t),v===""+l?l:v}}function nn(e,t,l,c){var v=Jt(t);if(!bn(t,v,c)){if(Dt(t,l,v,c)&&(l=null),c||v===null){if(Ut(t)){var m=t;l===null?e.removeAttribute(m):(st(l,t),e.setAttribute(m,""+l))}return}var S=v.mustUseProperty;if(S){var T=v.propertyName;if(l===null){var _=v.type;e[T]=_===Mt?!1:""}else e[T]=l;return}var L=v.attributeName,j=v.attributeNamespace;if(l===null)e.removeAttribute(L);else{var oe=v.type,ae;oe===Mt||oe===Nt&&l===!0?ae="":(st(l,L),ae=""+l,v.sanitizeURL&&ht(ae.toString())),j?e.setAttributeNS(j,L,ae):e.setAttribute(L,ae)}}}var Ft=Symbol.for("react.element"),Bt=Symbol.for("react.portal"),On=Symbol.for("react.fragment"),ir=Symbol.for("react.strict_mode"),_r=Symbol.for("react.profiler"),Pr=Symbol.for("react.provider"),G=Symbol.for("react.context"),Me=Symbol.for("react.forward_ref"),We=Symbol.for("react.suspense"),qe=Symbol.for("react.suspense_list"),Pt=Symbol.for("react.memo"),yt=Symbol.for("react.lazy"),ct=Symbol.for("react.scope"),It=Symbol.for("react.debug_trace_mode"),Gn=Symbol.for("react.offscreen"),_n=Symbol.for("react.legacy_hidden"),zn=Symbol.for("react.cache"),En=Symbol.for("react.tracing_marker"),sa=Symbol.iterator,_a="@@iterator";function At(e){if(e===null||typeof e!="object")return null;var t=sa&&e[sa]||e[_a];return typeof t=="function"?t:null}var Kt=Object.assign,ka=0,ei,ga,Xr,zi,Ma,br,ji;function xr(){}xr.__reactDisabledLog=!0;function Na(){{if(ka===0){ei=console.log,ga=console.info,Xr=console.warn,zi=console.error,Ma=console.group,br=console.groupCollapsed,ji=console.groupEnd;var e={configurable:!0,enumerable:!0,value:xr,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ka++}}function ya(){{if(ka--,ka===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Kt({},e,{value:ei}),info:Kt({},e,{value:ga}),warn:Kt({},e,{value:Xr}),error:Kt({},e,{value:zi}),group:Kt({},e,{value:Ma}),groupCollapsed:Kt({},e,{value:br}),groupEnd:Kt({},e,{value:ji})})}ka<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ti=a.ReactCurrentDispatcher,ba;function Sr(e,t,l){{if(ba===void 0)try{throw Error()}catch(v){var c=v.stack.trim().match(/\n( *(at )?)/);ba=c&&c[1]||""}return`
80
- `+ba+e}}var Da=!1,Sa;{var ro=typeof WeakMap=="function"?WeakMap:Map;Sa=new ro}function ni(e,t){if(!e||Da)return"";{var l=Sa.get(e);if(l!==void 0)return l}var c;Da=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=ti.current,ti.current=null,Na();try{if(t){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(Ee){c=Ee}Reflect.construct(e,[],S)}else{try{S.call()}catch(Ee){c=Ee}e.call(S.prototype)}}else{try{throw Error()}catch(Ee){c=Ee}e()}}catch(Ee){if(Ee&&c&&typeof Ee.stack=="string"){for(var T=Ee.stack.split(`
81
- `),_=c.stack.split(`
82
- `),L=T.length-1,j=_.length-1;L>=1&&j>=0&&T[L]!==_[j];)j--;for(;L>=1&&j>=0;L--,j--)if(T[L]!==_[j]){if(L!==1||j!==1)do if(L--,j--,j<0||T[L]!==_[j]){var oe=`
83
- `+T[L].replace(" at new "," at ");return e.displayName&&oe.includes("<anonymous>")&&(oe=oe.replace("<anonymous>",e.displayName)),typeof e=="function"&&Sa.set(e,oe),oe}while(L>=1&&j>=0);break}}}finally{Da=!1,ti.current=m,ya(),Error.prepareStackTrace=v}var ae=e?e.displayName||e.name:"",ge=ae?Sr(ae):"";return typeof e=="function"&&Sa.set(e,ge),ge}function Mn(e,t,l){return ni(e,!0)}function hn(e,t,l){return ni(e,!1)}function Nn(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function sr(e,t,l){if(e==null)return"";if(typeof e=="function")return ni(e,Nn(e));if(typeof e=="string")return Sr(e);switch(e){case We:return Sr("Suspense");case qe:return Sr("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case Me:return hn(e.render);case Pt:return sr(e.type,t,l);case yt:{var c=e,v=c._payload,m=c._init;try{return sr(m(v),t,l)}catch{}}}return""}function Vr(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case D:return Sr(e.type);case Z:return Sr("Lazy");case I:return Sr("Suspense");case q:return Sr("SuspenseList");case y:case x:case W:return hn(e.type);case F:return hn(e.type.render);case C:return Mn(e.type);default:return""}}function Ca(e){try{var t="",l=e;do t+=Vr(l),l=l.return;while(l);return t}catch(c){return`
84
- Error generating stack: `+c.message+`
85
- `+c.stack}}function un(e,t,l){var c=e.displayName;if(c)return c;var v=t.displayName||t.name||"";return v!==""?l+"("+v+")":l}function ao(e){return e.displayName||"Context"}function sn(e){if(e==null)return null;if(typeof e.tag=="number"&&d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case On:return"Fragment";case Bt:return"Portal";case _r:return"Profiler";case ir:return"StrictMode";case We:return"Suspense";case qe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case G:var t=e;return ao(t)+".Consumer";case Pr:var l=e;return ao(l._context)+".Provider";case Me:return un(e,e.render,"ForwardRef");case Pt:var c=e.displayName||null;return c!==null?c:sn(e.type)||"Memo";case yt:{var v=e,m=v._payload,S=v._init;try{return sn(S(m))}catch{return null}}}return null}function Si(e,t,l){var c=t.displayName||t.name||"";return e.displayName||(c!==""?l+"("+c+")":l)}function hr(e){return e.displayName||"Context"}function kt(e){var t=e.tag,l=e.type;switch(t){case se:return"Cache";case V:var c=l;return hr(c)+".Consumer";case $:var v=l;return hr(v._context)+".Provider";case U:return"DehydratedFragment";case F:return Si(l,l.render,"ForwardRef");case A:return"Fragment";case D:return l;case O:return"Portal";case R:return"Root";case N:return"Text";case Z:return sn(l);case k:return l===ir?"StrictMode":"Mode";case Y:return"Offscreen";case z:return"Profiler";case te:return"Scope";case I:return"Suspense";case q:return"SuspenseList";case ye:return"TracingMarker";case C:case y:case J:case x:case H:case W:if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;break}return null}var Hr=a.ReactDebugCurrentFrame,zr=null,Pa=!1;function kr(){{if(zr===null)return null;var e=zr._debugOwner;if(e!==null&&typeof e<"u")return kt(e)}return null}function ca(){return zr===null?"":Ca(zr)}function Xn(){Hr.getCurrentStack=null,zr=null,Pa=!1}function jn(e){Hr.getCurrentStack=e===null?null:ca,zr=e,Pa=!1}function io(){return zr}function Ar(e){Pa=e}function fa(e){return""+e}function Qe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return pt(e),e;default:return""}}var Tt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Zn(e,t){Tt[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||d("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||d("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Rr(e){var t=e.type,l=e.nodeName;return l&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Qn(e){return e._valueTracker}function oo(e){e._valueTracker=null}function Fu(e){var t="";return e&&(Rr(e)?t=e.checked?"true":"false":t=e.value),t}function ri(e){var t=Rr(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);pt(e[t]);var c=""+e[t];if(!(e.hasOwnProperty(t)||typeof l>"u"||typeof l.get!="function"||typeof l.set!="function")){var v=l.get,m=l.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return v.call(this)},set:function(T){pt(T),c=""+T,m.call(this,T)}}),Object.defineProperty(e,t,{enumerable:l.enumerable});var S={getValue:function(){return c},setValue:function(T){pt(T),c=""+T},stopTracking:function(){oo(e),delete e[t]}};return S}}function Ka(e){Qn(e)||(e._valueTracker=ri(e))}function Ho(e){if(!e)return!1;var t=Qn(e);if(!t)return!0;var l=t.getValue(),c=Fu(e);return c!==l?(t.setValue(c),!0):!1}function lo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var As=!1,$s=!1,ql=!1,Iu=!1;function Ls(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Fs(e,t){var l=e,c=t.checked,v=Kt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??l._wrapperState.initialChecked});return v}function _o(e,t){Zn("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!$s&&(d("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",kr()||"A component",t.type),$s=!0),t.value!==void 0&&t.defaultValue!==void 0&&!As&&(d("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",kr()||"A component",t.type),As=!0);var l=e,c=t.defaultValue==null?"":t.defaultValue;l._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Qe(t.value!=null?t.value:c),controlled:Ls(t)}}function M(e,t){var l=e,c=t.checked;c!=null&&nn(l,"checked",c,!1)}function X(e,t){var l=e;{var c=Ls(t);!l._wrapperState.controlled&&c&&!Iu&&(d("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Iu=!0),l._wrapperState.controlled&&!c&&!ql&&(d("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),ql=!0)}M(e,t);var v=Qe(t.value),m=t.type;if(v!=null)m==="number"?(v===0&&l.value===""||l.value!=v)&&(l.value=fa(v)):l.value!==fa(v)&&(l.value=fa(v));else if(m==="submit"||m==="reset"){l.removeAttribute("value");return}t.hasOwnProperty("value")?$t(l,t.type,v):t.hasOwnProperty("defaultValue")&&$t(l,t.type,Qe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(l.defaultChecked=!!t.defaultChecked)}function be(e,t,l){var c=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var v=t.type,m=v==="submit"||v==="reset";if(m&&(t.value===void 0||t.value===null))return;var S=fa(c._wrapperState.initialValue);l||S!==c.value&&(c.value=S),c.defaultValue=S}var T=c.name;T!==""&&(c.name=""),c.defaultChecked=!c.defaultChecked,c.defaultChecked=!!c._wrapperState.initialChecked,T!==""&&(c.name=T)}function Re(e,t){var l=e;X(l,t),Ue(l,t)}function Ue(e,t){var l=t.name;if(t.type==="radio"&&l!=null){for(var c=e;c.parentNode;)c=c.parentNode;st(l,"name");for(var v=c.querySelectorAll("input[name="+JSON.stringify(""+l)+'][type="radio"]'),m=0;m<v.length;m++){var S=v[m];if(!(S===e||S.form!==e.form)){var T=cb(S);if(!T)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ho(S),X(S,T)}}}}function $t(e,t,l){(t!=="number"||lo(e.ownerDocument)!==e)&&(l==null?e.defaultValue=fa(e._wrapperState.initialValue):e.defaultValue!==fa(l)&&(e.defaultValue=fa(l)))}var Ze=!1,Vt=!1,mn=!1;function Fn(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?n.Children.forEach(t.children,function(l){l!=null&&(typeof l=="string"||typeof l=="number"||Vt||(Vt=!0,d("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(mn||(mn=!0,d("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Ze&&(d("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ze=!0)}function Cr(e,t){t.value!=null&&e.setAttribute("value",fa(Qe(t.value)))}var cr=Array.isArray;function cn(e){return cr(e)}var fr;fr=!1;function $r(){var e=kr();return e?`
86
-
87
- Check the render method of \``+e+"`.":""}var Gl=["value","defaultValue"];function Hc(e){{Zn("select",e);for(var t=0;t<Gl.length;t++){var l=Gl[t];if(e[l]!=null){var c=cn(e[l]);e.multiple&&!c?d("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",l,$r()):!e.multiple&&c&&d("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",l,$r())}}}}function bl(e,t,l,c){var v=e.options;if(t){for(var m=l,S={},T=0;T<m.length;T++)S["$"+m[T]]=!0;for(var _=0;_<v.length;_++){var L=S.hasOwnProperty("$"+v[_].value);v[_].selected!==L&&(v[_].selected=L),L&&c&&(v[_].defaultSelected=!0)}}else{for(var j=fa(Qe(l)),oe=null,ae=0;ae<v.length;ae++){if(v[ae].value===j){v[ae].selected=!0,c&&(v[ae].defaultSelected=!0);return}oe===null&&!v[ae].disabled&&(oe=v[ae])}oe!==null&&(oe.selected=!0)}}function Uc(e,t){return Kt({},t,{value:void 0})}function zu(e,t){var l=e;Hc(t),l._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!fr&&(d("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),fr=!0)}function sh(e,t){var l=e;l.multiple=!!t.multiple;var c=t.value;c!=null?bl(l,!!t.multiple,c,!1):t.defaultValue!=null&&bl(l,!!t.multiple,t.defaultValue,!0)}function $d(e,t){var l=e,c=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!t.multiple;var v=t.value;v!=null?bl(l,!!t.multiple,v,!1):c!==!!t.multiple&&(t.defaultValue!=null?bl(l,!!t.multiple,t.defaultValue,!0):bl(l,!!t.multiple,t.multiple?[]:"",!1))}function ch(e,t){var l=e,c=t.value;c!=null&&bl(l,!!t.multiple,c,!1)}var Py=!1;function fh(e,t){var l=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var c=Kt({},t,{value:void 0,defaultValue:void 0,children:fa(l._wrapperState.initialValue)});return c}function dh(e,t){var l=e;Zn("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Py&&(d("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",kr()||"A component"),Py=!0);var c=t.value;if(c==null){var v=t.children,m=t.defaultValue;if(v!=null){d("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(m!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(cn(v)){if(v.length>1)throw new Error("<textarea> can only have at most one child.");v=v[0]}m=v}}m==null&&(m=""),c=m}l._wrapperState={initialValue:Qe(c)}}function Ay(e,t){var l=e,c=Qe(t.value),v=Qe(t.defaultValue);if(c!=null){var m=fa(c);m!==l.value&&(l.value=m),t.defaultValue==null&&l.defaultValue!==m&&(l.defaultValue=m)}v!=null&&(l.defaultValue=fa(v))}function $y(e,t){var l=e,c=l.textContent;c===l._wrapperState.initialValue&&c!==""&&c!==null&&(l.value=c)}function QE(e,t){Ay(e,t)}var Sl="http://www.w3.org/1999/xhtml",vh="http://www.w3.org/1998/Math/MathML",ph="http://www.w3.org/2000/svg";function hh(e){switch(e){case"svg":return ph;case"math":return vh;default:return Sl}}function mh(e,t){return e==null||e===Sl?hh(t):e===ph&&t==="foreignObject"?Sl:e}var Ly=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,l,c,v){MSApp.execUnsafeLocalFunction(function(){return e(t,l,c,v)})}:e},Ld,Fy=Ly(function(e,t){if(e.namespaceURI===ph&&!("innerHTML"in e)){Ld=Ld||document.createElement("div"),Ld.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var l=Ld.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;l.firstChild;)e.appendChild(l.firstChild);return}e.innerHTML=t}),Ci=1,Cl=3,Qr=8,El=9,gh=11,Is=function(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===Cl){l.nodeValue=t;return}}e.textContent=t},Bc={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Wc={animationIterationCount:!0,aspectRatio:!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,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Iy(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var zy=["Webkit","ms","Moz","O"];Object.keys(Wc).forEach(function(e){zy.forEach(function(t){Wc[Iy(t,e)]=Wc[e]})});function Fd(e,t,l){var c=t==null||typeof t=="boolean"||t==="";return c?"":!l&&typeof t=="number"&&t!==0&&!(Wc.hasOwnProperty(e)&&Wc[e])?t+"px":(pn(t,e),(""+t).trim())}var jy=/([A-Z])/g,Vy=/^ms-/;function zs(e){return e.replace(jy,"-$1").toLowerCase().replace(Vy,"-ms-")}var Hy=function(){};{var ZE=/^(?:webkit|moz|o)[A-Z]/,JE=/^-ms-/,Uy=/-(.)/g,yh=/;\s*$/,Uo={},ju={},By=!1,Yc=!1,ew=function(e){return e.replace(Uy,function(t,l){return l.toUpperCase()})},Wy=function(e){Uo.hasOwnProperty(e)&&Uo[e]||(Uo[e]=!0,d("Unsupported style property %s. Did you mean %s?",e,ew(e.replace(JE,"ms-"))))},bh=function(e){Uo.hasOwnProperty(e)&&Uo[e]||(Uo[e]=!0,d("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Sh=function(e,t){ju.hasOwnProperty(t)&&ju[t]||(ju[t]=!0,d(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(yh,"")))},Yy=function(e,t){By||(By=!0,d("`NaN` is an invalid value for the `%s` css style property.",e))},Ky=function(e,t){Yc||(Yc=!0,d("`Infinity` is an invalid value for the `%s` css style property.",e))};Hy=function(e,t){e.indexOf("-")>-1?Wy(e):ZE.test(e)?bh(e):yh.test(t)&&Sh(e,t),typeof t=="number"&&(isNaN(t)?Yy(e,t):isFinite(t)||Ky(e,t))}}var qy=Hy;function tw(e){{var t="",l="";for(var c in e)if(e.hasOwnProperty(c)){var v=e[c];if(v!=null){var m=c.indexOf("--")===0;t+=l+(m?c:zs(c))+":",t+=Fd(c,v,m),l=";"}}return t||null}}function Gy(e,t){var l=e.style;for(var c in t)if(t.hasOwnProperty(c)){var v=c.indexOf("--")===0;v||qy(c,t[c]);var m=Fd(c,t[c],v);c==="float"&&(c="cssFloat"),v?l.setProperty(c,m):l[c]=m}}function nw(e){return e==null||typeof e=="boolean"||e===""}function Xy(e){var t={};for(var l in e)for(var c=Bc[l]||[l],v=0;v<c.length;v++)t[c[v]]=l;return t}function rw(e,t){{if(!t)return;var l=Xy(e),c=Xy(t),v={};for(var m in l){var S=l[m],T=c[m];if(T&&S!==T){var _=S+","+T;if(v[_])continue;v[_]=!0,d("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",nw(e[S])?"Removing":"Updating",S,T)}}}}var ko={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},Kc=Kt({menuitem:!0},ko),Qy="__html";function Id(e,t){if(t){if(Kc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Qy in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&d("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Xl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 qc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},zd={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},js={},aw=new RegExp("^(aria)-["+Ie+"]*$"),Vs=new RegExp("^(aria)[A-Z]["+Ie+"]*$");function Ch(e,t){{if(bt.call(js,t)&&js[t])return!0;if(Vs.test(t)){var l="aria-"+t.slice(4).toLowerCase(),c=zd.hasOwnProperty(l)?l:null;if(c==null)return d("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),js[t]=!0,!0;if(t!==c)return d("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,c),js[t]=!0,!0}if(aw.test(t)){var v=t.toLowerCase(),m=zd.hasOwnProperty(v)?v:null;if(m==null)return js[t]=!0,!1;if(t!==m)return d("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,m),js[t]=!0,!0}}return!0}function Gc(e,t){{var l=[];for(var c in t){var v=Ch(e,c);v||l.push(c)}var m=l.map(function(S){return"`"+S+"`"}).join(", ");l.length===1?d("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",m,e):l.length>1&&d("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",m,e)}}function Eh(e,t){Xl(e,t)||Gc(e,t)}var wh=!1;function jd(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!wh&&(wh=!0,e==="select"&&t.multiple?d("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):d("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Vu=function(){};{var Aa={},xh=/^on./,Vd=/^on[^A-Z]/,Zy=new RegExp("^(aria)-["+Ie+"]*$"),Jy=new RegExp("^(aria)[A-Z]["+Ie+"]*$");Vu=function(e,t,l,c){if(bt.call(Aa,t)&&Aa[t])return!0;var v=t.toLowerCase();if(v==="onfocusin"||v==="onfocusout")return d("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Aa[t]=!0,!0;if(c!=null){var m=c.registrationNameDependencies,S=c.possibleRegistrationNames;if(m.hasOwnProperty(t))return!0;var T=S.hasOwnProperty(v)?S[v]:null;if(T!=null)return d("Invalid event handler property `%s`. Did you mean `%s`?",t,T),Aa[t]=!0,!0;if(xh.test(t))return d("Unknown event handler property `%s`. It will be ignored.",t),Aa[t]=!0,!0}else if(xh.test(t))return Vd.test(t)&&d("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Aa[t]=!0,!0;if(Zy.test(t)||Jy.test(t))return!0;if(v==="innerhtml")return d("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Aa[t]=!0,!0;if(v==="aria")return d("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Aa[t]=!0,!0;if(v==="is"&&l!==null&&l!==void 0&&typeof l!="string")return d("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof l),Aa[t]=!0,!0;if(typeof l=="number"&&isNaN(l))return d("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Aa[t]=!0,!0;var _=Jt(t),L=_!==null&&_.type===jt;if(qc.hasOwnProperty(v)){var j=qc[v];if(j!==t)return d("Invalid DOM property `%s`. Did you mean `%s`?",t,j),Aa[t]=!0,!0}else if(!L&&t!==v)return d("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,v),Aa[t]=!0,!0;return typeof l=="boolean"&&Yt(t,l,_,!1)?(l?d('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',l,t,t,l,t):d('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',l,t,t,l,t,t,t),Aa[t]=!0,!0):L?!0:Yt(t,l,_,!1)?(Aa[t]=!0,!1):((l==="false"||l==="true")&&_!==null&&_.type===Mt&&(d("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",l,t,l==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,l),Aa[t]=!0),!0)}}var e0=function(e,t,l){{var c=[];for(var v in t){var m=Vu(e,v,t[v],l);m||c.push(v)}var S=c.map(function(T){return"`"+T+"`"}).join(", ");c.length===1?d("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",S,e):c.length>1&&d("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",S,e)}};function t0(e,t,l){Xl(e,t)||e0(e,t,l)}var Rh=1,Hd=2,uo=4,Th=Rh|Hd|uo,Hu=null;function iw(e){Hu!==null&&d("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Hu=e}function ow(){Hu===null&&d("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Hu=null}function Xc(e){return e===Hu}function Oh(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Cl?t.parentNode:t}var Ud=null,Uu=null,Jn=null;function Bd(e){var t=uc(e);if(t){if(typeof Ud!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var l=t.stateNode;if(l){var c=cb(l);Ud(t.stateNode,t.type,c)}}}function Wd(e){Ud=e}function Hs(e){Uu?Jn?Jn.push(e):Jn=[e]:Uu=e}function n0(){return Uu!==null||Jn!==null}function Yd(){if(Uu){var e=Uu,t=Jn;if(Uu=null,Jn=null,Bd(e),t)for(var l=0;l<t.length;l++)Bd(t[l])}}var Us=function(e,t){return e(t)},Qc=function(){},Ql=!1;function r0(){var e=n0();e&&(Qc(),Yd())}function a0(e,t,l){if(Ql)return e(t,l);Ql=!0;try{return Us(e,t,l)}finally{Ql=!1,r0()}}function lw(e,t,l){Us=e,Qc=l}function i0(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Kd(e,t,l){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(l.disabled&&i0(t));default:return!1}}function Zl(e,t){var l=e.stateNode;if(l===null)return null;var c=cb(l);if(c===null)return null;var v=c[t];if(Kd(t,e.type,c))return null;if(v&&typeof v!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof v+"` type.");return v}var Zc=!1;if(tt)try{var Bu={};Object.defineProperty(Bu,"passive",{get:function(){Zc=!0}}),window.addEventListener("test",Bu,Bu),window.removeEventListener("test",Bu,Bu)}catch{Zc=!1}function qd(e,t,l,c,v,m,S,T,_){var L=Array.prototype.slice.call(arguments,3);try{t.apply(l,L)}catch(j){this.onError(j)}}var Gd=qd;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var _h=document.createElement("react");Gd=function(t,l,c,v,m,S,T,_,L){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var j=document.createEvent("Event"),oe=!1,ae=!0,ge=window.event,Ee=Object.getOwnPropertyDescriptor(window,"event");function Te(){_h.removeEventListener(Oe,Lt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=ge)}var et=Array.prototype.slice.call(arguments,3);function Lt(){oe=!0,Te(),l.apply(c,et),ae=!1}var Ct,$n=!1,wn=!1;function ve(pe){if(Ct=pe.error,$n=!0,Ct===null&&pe.colno===0&&pe.lineno===0&&(wn=!0),pe.defaultPrevented&&Ct!=null&&typeof Ct=="object")try{Ct._suppressLogging=!0}catch{}}var Oe="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ve),_h.addEventListener(Oe,Lt,!1),j.initEvent(Oe,!1,!1),_h.dispatchEvent(j),Ee&&Object.defineProperty(window,"event",Ee),oe&&ae&&($n?wn&&(Ct=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Ct=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Ct)),window.removeEventListener("error",ve),!oe)return Te(),qd.apply(this,arguments)}}var o0=Gd,Bs=!1,Xd=null,Ws=!1,Bo=null,l0={onError:function(e){Bs=!0,Xd=e}};function Jl(e,t,l,c,v,m,S,T,_){Bs=!1,Xd=null,o0.apply(l0,arguments)}function Wo(e,t,l,c,v,m,S,T,_){if(Jl.apply(this,arguments),Bs){var L=ef();Ws||(Ws=!0,Bo=L)}}function Jc(){if(Ws){var e=Bo;throw Ws=!1,Bo=null,e}}function wl(){return Bs}function ef(){if(Bs){var e=Xd;return Bs=!1,Xd=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Ys(e){return e._reactInternals}function uw(e){return e._reactInternals!==void 0}function Wu(e,t){e._reactInternals=t}var Ot=0,Mo=1,Ur=2,Dn=4,so=16,No=32,Er=64,xt=128,Ei=256,jr=512,da=1024,wi=2048,co=4096,Zr=8192,Ks=16384,u0=32767,tf=32768,xi=65536,Qd=131072,Yo=1048576,qs=2097152,xl=4194304,Zd=8388608,eu=16777216,Ko=33554432,tu=Dn|da|0,nu=Ur|Dn|so|No|jr|co|Zr,ru=Dn|Er|jr|Zr,Rl=wi|so,Jr=xl|Zd|qs,fo=a.ReactCurrentOwner;function Vi(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{var c=t;do t=c,(t.flags&(Ur|co))!==Ot&&(l=t.return),c=t.return;while(c)}return t.tag===R?l:null}function qo(e){if(e.tag===I){var t=e.memoizedState;if(t===null){var l=e.alternate;l!==null&&(t=l.memoizedState)}if(t!==null)return t.dehydrated}return null}function Go(e){return e.tag===R?e.stateNode.containerInfo:null}function Yu(e){return Vi(e)===e}function s0(e){{var t=fo.current;if(t!==null&&t.tag===C){var l=t,c=l.stateNode;c._warnedAboutRefsInRender||d("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",kt(l)||"A component"),c._warnedAboutRefsInRender=!0}}var v=Ys(e);return v?Vi(v)===v:!1}function Jd(e){if(Vi(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function ev(e){var t=e.alternate;if(!t){var l=Vi(e);if(l===null)throw new Error("Unable to find node on an unmounted component.");return l!==e?null:e}for(var c=e,v=t;;){var m=c.return;if(m===null)break;var S=m.alternate;if(S===null){var T=m.return;if(T!==null){c=v=T;continue}break}if(m.child===S.child){for(var _=m.child;_;){if(_===c)return Jd(m),e;if(_===v)return Jd(m),t;_=_.sibling}throw new Error("Unable to find node on an unmounted component.")}if(c.return!==v.return)c=m,v=S;else{for(var L=!1,j=m.child;j;){if(j===c){L=!0,c=m,v=S;break}if(j===v){L=!0,v=m,c=S;break}j=j.sibling}if(!L){for(j=S.child;j;){if(j===c){L=!0,c=S,v=m;break}if(j===v){L=!0,v=S,c=m;break}j=j.sibling}if(!L)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(c.alternate!==v)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(c.tag!==R)throw new Error("Unable to find node on an unmounted component.");return c.stateNode.current===c?e:t}function Ri(e){var t=ev(e);return t!==null?Ti(t):null}function Ti(e){if(e.tag===D||e.tag===N)return e;for(var t=e.child;t!==null;){var l=Ti(t);if(l!==null)return l;t=t.sibling}return null}function Mr(e){var t=ev(e);return t!==null?vo(t):null}function vo(e){if(e.tag===D||e.tag===N)return e;for(var t=e.child;t!==null;){if(t.tag!==O){var l=vo(t);if(l!==null)return l}t=t.sibling}return null}var kh=i.unstable_scheduleCallback,c0=i.unstable_cancelCallback,Mh=i.unstable_shouldYield,Nh=i.unstable_requestPaint,va=i.unstable_now,tv=i.unstable_getCurrentPriorityLevel,nf=i.unstable_ImmediatePriority,au=i.unstable_UserBlockingPriority,Tl=i.unstable_NormalPriority,sw=i.unstable_LowPriority,Ku=i.unstable_IdlePriority,nv=i.unstable_yieldValue,f0=i.unstable_setDisableYieldValue,qu=null,Br=null,Je=null,Hi=!1,Oi=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Gs(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return d("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{xe&&(e=Kt({},e,{getLaneLabelMap:Gu,injectProfilingHooks:po})),qu=t.inject(e),Br=t}catch(l){d("React instrumentation encountered an error: %s.",l)}return!!t.checkDCE}function Dh(e,t){if(Br&&typeof Br.onScheduleFiberRoot=="function")try{Br.onScheduleFiberRoot(qu,e,t)}catch(l){Hi||(Hi=!0,d("React instrumentation encountered an error: %s",l))}}function Ph(e,t){if(Br&&typeof Br.onCommitFiberRoot=="function")try{var l=(e.current.flags&xt)===xt;if(we){var c;switch(t){case ai:c=nf;break;case Qo:c=au;break;case ho:c=Tl;break;case mo:c=Ku;break;default:c=Tl;break}Br.onCommitFiberRoot(qu,e,c,l)}}catch(v){Hi||(Hi=!0,d("React instrumentation encountered an error: %s",v))}}function Ah(e){if(Br&&typeof Br.onPostCommitFiberRoot=="function")try{Br.onPostCommitFiberRoot(qu,e)}catch(t){Hi||(Hi=!0,d("React instrumentation encountered an error: %s",t))}}function $h(e){if(Br&&typeof Br.onCommitFiberUnmount=="function")try{Br.onCommitFiberUnmount(qu,e)}catch(t){Hi||(Hi=!0,d("React instrumentation encountered an error: %s",t))}}function Lr(e){if(typeof nv=="function"&&(f0(e),s(e)),Br&&typeof Br.setStrictMode=="function")try{Br.setStrictMode(qu,e)}catch(t){Hi||(Hi=!0,d("React instrumentation encountered an error: %s",t))}}function po(e){Je=e}function Gu(){{for(var e=new Map,t=1,l=0;l<Zu;l++){var c=h0(t);e.set(t,c),t*=2}return e}}function Lh(e){Je!==null&&typeof Je.markCommitStarted=="function"&&Je.markCommitStarted(e)}function Fh(){Je!==null&&typeof Je.markCommitStopped=="function"&&Je.markCommitStopped()}function Ui(e){Je!==null&&typeof Je.markComponentRenderStarted=="function"&&Je.markComponentRenderStarted(e)}function Bi(){Je!==null&&typeof Je.markComponentRenderStopped=="function"&&Je.markComponentRenderStopped()}function Ih(e){Je!==null&&typeof Je.markComponentPassiveEffectMountStarted=="function"&&Je.markComponentPassiveEffectMountStarted(e)}function d0(){Je!==null&&typeof Je.markComponentPassiveEffectMountStopped=="function"&&Je.markComponentPassiveEffectMountStopped()}function Ol(e){Je!==null&&typeof Je.markComponentPassiveEffectUnmountStarted=="function"&&Je.markComponentPassiveEffectUnmountStarted(e)}function iu(){Je!==null&&typeof Je.markComponentPassiveEffectUnmountStopped=="function"&&Je.markComponentPassiveEffectUnmountStopped()}function rv(e){Je!==null&&typeof Je.markComponentLayoutEffectMountStarted=="function"&&Je.markComponentLayoutEffectMountStarted(e)}function v0(){Je!==null&&typeof Je.markComponentLayoutEffectMountStopped=="function"&&Je.markComponentLayoutEffectMountStopped()}function rf(e){Je!==null&&typeof Je.markComponentLayoutEffectUnmountStarted=="function"&&Je.markComponentLayoutEffectUnmountStarted(e)}function zh(){Je!==null&&typeof Je.markComponentLayoutEffectUnmountStopped=="function"&&Je.markComponentLayoutEffectUnmountStopped()}function af(e,t,l){Je!==null&&typeof Je.markComponentErrored=="function"&&Je.markComponentErrored(e,t,l)}function Xo(e,t,l){Je!==null&&typeof Je.markComponentSuspended=="function"&&Je.markComponentSuspended(e,t,l)}function of(e){Je!==null&&typeof Je.markLayoutEffectsStarted=="function"&&Je.markLayoutEffectsStarted(e)}function lf(){Je!==null&&typeof Je.markLayoutEffectsStopped=="function"&&Je.markLayoutEffectsStopped()}function Xu(e){Je!==null&&typeof Je.markPassiveEffectsStarted=="function"&&Je.markPassiveEffectsStarted(e)}function jh(){Je!==null&&typeof Je.markPassiveEffectsStopped=="function"&&Je.markPassiveEffectsStopped()}function Qu(e){Je!==null&&typeof Je.markRenderStarted=="function"&&Je.markRenderStarted(e)}function p0(){Je!==null&&typeof Je.markRenderYielded=="function"&&Je.markRenderYielded()}function av(){Je!==null&&typeof Je.markRenderStopped=="function"&&Je.markRenderStopped()}function Fr(e){Je!==null&&typeof Je.markRenderScheduled=="function"&&Je.markRenderScheduled(e)}function iv(e,t){Je!==null&&typeof Je.markForceUpdateScheduled=="function"&&Je.markForceUpdateScheduled(e,t)}function uf(e,t){Je!==null&&typeof Je.markStateUpdateScheduled=="function"&&Je.markStateUpdateScheduled(e,t)}var _t=0,vn=1,Hn=2,dr=8,Un=16,ea=Math.clz32?Math.clz32:sf,Ea=Math.log,ov=Math.LN2;function sf(e){var t=e>>>0;return t===0?32:31-(Ea(t)/ov|0)|0}var Zu=31,Ne=0,Vn=0,Wt=1,ou=2,Do=4,qa=8,Wr=16,_l=32,lu=4194240,Ju=64,lv=128,uv=256,sv=512,cv=1024,fv=2048,dv=4096,vv=8192,pv=16384,es=32768,hv=65536,Xs=131072,Qs=262144,mv=524288,cf=1048576,gv=2097152,ff=130023424,ts=4194304,yv=8388608,df=16777216,bv=33554432,Sv=67108864,Vh=ts,vf=134217728,Hh=268435455,pf=268435456,ns=536870912,Wi=1073741824;function h0(e){{if(e&Wt)return"Sync";if(e&ou)return"InputContinuousHydration";if(e&Do)return"InputContinuous";if(e&qa)return"DefaultHydration";if(e&Wr)return"Default";if(e&_l)return"TransitionHydration";if(e&lu)return"Transition";if(e&ff)return"Retry";if(e&vf)return"SelectiveHydration";if(e&pf)return"IdleHydration";if(e&ns)return"Idle";if(e&Wi)return"Offscreen"}}var mr=-1,rs=Ju,Cv=ts;function hf(e){switch(uu(e)){case Wt:return Wt;case ou:return ou;case Do:return Do;case qa:return qa;case Wr:return Wr;case _l:return _l;case Ju:case lv:case uv:case sv:case cv:case fv:case dv:case vv:case pv:case es:case hv:case Xs:case Qs:case mv:case cf:case gv:return e&lu;case ts:case yv:case df:case bv:case Sv:return e&ff;case vf:return vf;case pf:return pf;case ns:return ns;case Wi:return Wi;default:return d("Should have found matching lanes. This is a bug in React."),e}}function Ev(e,t){var l=e.pendingLanes;if(l===Ne)return Ne;var c=Ne,v=e.suspendedLanes,m=e.pingedLanes,S=l&Hh;if(S!==Ne){var T=S&~v;if(T!==Ne)c=hf(T);else{var _=S&m;_!==Ne&&(c=hf(_))}}else{var L=l&~v;L!==Ne?c=hf(L):m!==Ne&&(c=hf(m))}if(c===Ne)return Ne;if(t!==Ne&&t!==c&&(t&v)===Ne){var j=uu(c),oe=uu(t);if(j>=oe||j===Wr&&(oe&lu)!==Ne)return t}(c&Do)!==Ne&&(c|=l&Wr);var ae=e.entangledLanes;if(ae!==Ne)for(var ge=e.entanglements,Ee=c&ae;Ee>0;){var Te=ta(Ee),et=1<<Te;c|=ge[Te],Ee&=~et}return c}function Po(e,t){for(var l=e.eventTimes,c=mr;t>0;){var v=ta(t),m=1<<v,S=l[v];S>c&&(c=S),t&=~m}return c}function Uh(e,t){switch(e){case Wt:case ou:case Do:return t+250;case qa:case Wr:case _l:case Ju:case lv:case uv:case sv:case cv:case fv:case dv:case vv:case pv:case es:case hv:case Xs:case Qs:case mv:case cf:case gv:return t+5e3;case ts:case yv:case df:case bv:case Sv:return mr;case vf:case pf:case ns:case Wi:return mr;default:return d("Should have found matching lanes. This is a bug in React."),mr}}function wv(e,t){for(var l=e.pendingLanes,c=e.suspendedLanes,v=e.pingedLanes,m=e.expirationTimes,S=l;S>0;){var T=ta(S),_=1<<T,L=m[T];L===mr?((_&c)===Ne||(_&v)!==Ne)&&(m[T]=Uh(_,t)):L<=t&&(e.expiredLanes|=_),S&=~_}}function m0(e){return hf(e.pendingLanes)}function xv(e){var t=e.pendingLanes&-1073741825;return t!==Ne?t:t&Wi?Wi:Ne}function g0(e){return(e&Wt)!==Ne}function mf(e){return(e&Hh)!==Ne}function as(e){return(e&ff)===e}function Bh(e){var t=Wt|Do|Wr;return(e&t)===Ne}function Wh(e){return(e&lu)===e}function Rv(e,t){var l=ou|Do|qa|Wr;return(t&l)!==Ne}function y0(e,t){return(t&e.expiredLanes)!==Ne}function Yh(e){return(e&lu)!==Ne}function Kh(){var e=rs;return rs<<=1,(rs&lu)===Ne&&(rs=Ju),e}function b0(){var e=Cv;return Cv<<=1,(Cv&ff)===Ne&&(Cv=ts),e}function uu(e){return e&-e}function gf(e){return uu(e)}function ta(e){return 31-ea(e)}function $a(e){return ta(e)}function _i(e,t){return(e&t)!==Ne}function is(e,t){return(e&t)===t}function tn(e,t){return e|t}function yf(e,t){return e&~t}function qh(e,t){return e&t}function S0(e){return e}function C0(e,t){return e!==Vn&&e<t?e:t}function bf(e){for(var t=[],l=0;l<Zu;l++)t.push(e);return t}function Zs(e,t,l){e.pendingLanes|=t,t!==ns&&(e.suspendedLanes=Ne,e.pingedLanes=Ne);var c=e.eventTimes,v=$a(t);c[v]=l}function E0(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var l=e.expirationTimes,c=t;c>0;){var v=ta(c),m=1<<v;l[v]=mr,c&=~m}}function Tv(e,t,l){e.pingedLanes|=e.suspendedLanes&t}function Gh(e,t){var l=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Ne,e.pingedLanes=Ne,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var c=e.entanglements,v=e.eventTimes,m=e.expirationTimes,S=l;S>0;){var T=ta(S),_=1<<T;c[T]=Ne,v[T]=mr,m[T]=mr,S&=~_}}function Ov(e,t){for(var l=e.entangledLanes|=t,c=e.entanglements,v=l;v;){var m=ta(v),S=1<<m;S&t|c[m]&t&&(c[m]|=t),v&=~S}}function Xh(e,t){var l=uu(t),c;switch(l){case Do:c=ou;break;case Wr:c=qa;break;case Ju:case lv:case uv:case sv:case cv:case fv:case dv:case vv:case pv:case es:case hv:case Xs:case Qs:case mv:case cf:case gv:case ts:case yv:case df:case bv:case Sv:c=_l;break;case ns:c=pf;break;default:c=Vn;break}return(c&(e.suspendedLanes|t))!==Vn?Vn:c}function Sf(e,t,l){if(Oi)for(var c=e.pendingUpdatersLaneMap;l>0;){var v=$a(l),m=1<<v,S=c[v];S.add(t),l&=~m}}function w0(e,t){if(Oi)for(var l=e.pendingUpdatersLaneMap,c=e.memoizedUpdaters;t>0;){var v=$a(t),m=1<<v,S=l[v];S.size>0&&(S.forEach(function(T){var _=T.alternate;(_===null||!c.has(_))&&c.add(T)}),S.clear()),t&=~m}}function Qh(e,t){return null}var ai=Wt,Qo=Do,ho=Wr,mo=ns,Cf=Vn;function go(){return Cf}function na(e){Cf=e}function x0(e,t){var l=Cf;try{return Cf=e,t()}finally{Cf=l}}function R0(e,t){return e!==0&&e<t?e:t}function Ef(e,t){return e>t?e:t}function wa(e,t){return e!==0&&e<t}function T0(e){var t=uu(e);return wa(ai,t)?wa(Qo,t)?mf(t)?ho:mo:Qo:ai}function _v(e){var t=e.current.memoizedState;return t.isDehydrated}var wf;function Ga(e){wf=e}function cw(e){wf(e)}var lt;function Js(e){lt=e}var kv;function O0(e){kv=e}var _0;function xf(e){_0=e}var Rf;function Zh(e){Rf=e}var Mv=!1,Tf=[],kl=null,Zo=null,Jo=null,Yr=new Map,ii=new Map,oi=[],k0=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function M0(e){return k0.indexOf(e)>-1}function Ao(e,t,l,c,v){return{blockedOn:e,domEventName:t,eventSystemFlags:l,nativeEvent:v,targetContainers:[c]}}function Jh(e,t){switch(e){case"focusin":case"focusout":kl=null;break;case"dragenter":case"dragleave":Zo=null;break;case"mouseover":case"mouseout":Jo=null;break;case"pointerover":case"pointerout":{var l=t.pointerId;Yr.delete(l);break}case"gotpointercapture":case"lostpointercapture":{var c=t.pointerId;ii.delete(c);break}}}function ki(e,t,l,c,v,m){if(e===null||e.nativeEvent!==m){var S=Ao(t,l,c,v,m);if(t!==null){var T=uc(t);T!==null&&lt(T)}return S}e.eventSystemFlags|=c;var _=e.targetContainers;return v!==null&&_.indexOf(v)===-1&&_.push(v),e}function fw(e,t,l,c,v){switch(t){case"focusin":{var m=v;return kl=ki(kl,e,t,l,c,m),!0}case"dragenter":{var S=v;return Zo=ki(Zo,e,t,l,c,S),!0}case"mouseover":{var T=v;return Jo=ki(Jo,e,t,l,c,T),!0}case"pointerover":{var _=v,L=_.pointerId;return Yr.set(L,ki(Yr.get(L)||null,e,t,l,c,_)),!0}case"gotpointercapture":{var j=v,oe=j.pointerId;return ii.set(oe,ki(ii.get(oe)||null,e,t,l,c,j)),!0}}return!1}function em(e){var t=If(e.target);if(t!==null){var l=Vi(t);if(l!==null){var c=l.tag;if(c===I){var v=qo(l);if(v!==null){e.blockedOn=v,Rf(e.priority,function(){kv(l)});return}}else if(c===R){var m=l.stateNode;if(_v(m)){e.blockedOn=Go(l);return}}}}e.blockedOn=null}function N0(e){for(var t=_0(),l={blockedOn:null,target:e,priority:t},c=0;c<oi.length&&wa(t,oi[c].priority);c++);oi.splice(c,0,l),c===0&&em(l)}function Of(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var l=t[0],c=tc(e.domEventName,e.eventSystemFlags,l,e.nativeEvent);if(c===null){var v=e.nativeEvent,m=new v.constructor(v.type,v);iw(m),v.target.dispatchEvent(m),ow()}else{var S=uc(c);return S!==null&&lt(S),e.blockedOn=c,!1}t.shift()}return!0}function tm(e,t,l){Of(e)&&l.delete(t)}function dw(){Mv=!1,kl!==null&&Of(kl)&&(kl=null),Zo!==null&&Of(Zo)&&(Zo=null),Jo!==null&&Of(Jo)&&(Jo=null),Yr.forEach(tm),ii.forEach(tm)}function su(e,t){e.blockedOn===t&&(e.blockedOn=null,Mv||(Mv=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,dw)))}function os(e){if(Tf.length>0){su(Tf[0],e);for(var t=1;t<Tf.length;t++){var l=Tf[t];l.blockedOn===e&&(l.blockedOn=null)}}kl!==null&&su(kl,e),Zo!==null&&su(Zo,e),Jo!==null&&su(Jo,e);var c=function(T){return su(T,e)};Yr.forEach(c),ii.forEach(c);for(var v=0;v<oi.length;v++){var m=oi[v];m.blockedOn===e&&(m.blockedOn=null)}for(;oi.length>0;){var S=oi[0];if(S.blockedOn!==null)break;em(S),S.blockedOn===null&&oi.shift()}}var La=a.ReactCurrentBatchConfig,Pn=!0;function pa(e){Pn=!!e}function ra(){return Pn}function Fa(e,t,l){var c=Nv(t),v;switch(c){case ai:v=Yi;break;case Qo:v=ec;break;case ho:default:v=Kr;break}return v.bind(null,t,l,e)}function Yi(e,t,l,c){var v=go(),m=La.transition;La.transition=null;try{na(ai),Kr(e,t,l,c)}finally{na(v),La.transition=m}}function ec(e,t,l,c){var v=go(),m=La.transition;La.transition=null;try{na(Qo),Kr(e,t,l,c)}finally{na(v),La.transition=m}}function Kr(e,t,l,c){Pn&&_f(e,t,l,c)}function _f(e,t,l,c){var v=tc(e,t,l,c);if(v===null){kw(e,t,c,el,l),Jh(e,c);return}if(fw(v,e,t,l,c)){c.stopPropagation();return}if(Jh(e,c),t&uo&&M0(e)){for(;v!==null;){var m=uc(v);m!==null&&cw(m);var S=tc(e,t,l,c);if(S===null&&kw(e,t,c,el,l),S===v)break;v=S}v!==null&&c.stopPropagation();return}kw(e,t,c,null,l)}var el=null;function tc(e,t,l,c){el=null;var v=Oh(c),m=If(v);if(m!==null){var S=Vi(m);if(S===null)m=null;else{var T=S.tag;if(T===I){var _=qo(S);if(_!==null)return _;m=null}else if(T===R){var L=S.stateNode;if(_v(L))return Go(S);m=null}else S!==m&&(m=null)}}return el=m,null}function Nv(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return ai;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Qo;case"message":{var t=tv();switch(t){case nf:return ai;case au:return Qo;case Tl:case sw:return ho;case Ku:return mo;default:return ho}}default:return ho}}function kf(e,t,l){return e.addEventListener(t,l,!1),l}function Mi(e,t,l){return e.addEventListener(t,l,!0),l}function nm(e,t,l,c){return e.addEventListener(t,l,{capture:!0,passive:c}),l}function nc(e,t,l,c){return e.addEventListener(t,l,{passive:c}),l}var Ki=null,rc=null,ls=null;function cu(e){return Ki=e,rc=Mf(),!0}function Dv(){Ki=null,rc=null,ls=null}function Ml(){if(ls)return ls;var e,t=rc,l=t.length,c,v=Mf(),m=v.length;for(e=0;e<l&&t[e]===v[e];e++);var S=l-e;for(c=1;c<=S&&t[l-c]===v[m-c];c++);var T=c>1?1-c:void 0;return ls=v.slice(e,T),ls}function Mf(){return"value"in Ki?Ki.value:Ki.textContent}function fu(e){var t,l=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&l===13&&(t=13)):t=l,t===10&&(t=13),t>=32||t===13?t:0}function ac(){return!0}function Nf(){return!1}function Xa(e){function t(l,c,v,m,S){this._reactName=l,this._targetInst=v,this.type=c,this.nativeEvent=m,this.target=S,this.currentTarget=null;for(var T in e)if(e.hasOwnProperty(T)){var _=e[T];_?this[T]=_(m):this[T]=m[T]}var L=m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1;return L?this.isDefaultPrevented=ac:this.isDefaultPrevented=Nf,this.isPropagationStopped=Nf,this}return Kt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ac)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ac)},persist:function(){},isPersistent:ac}),t}var aa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tl=Xa(aa),li=Kt({},aa,{view:0,detail:0}),Ni=Xa(li),Pv,Df,us;function vw(e){e!==us&&(us&&e.type==="mousemove"?(Pv=e.screenX-us.screenX,Df=e.screenY-us.screenY):(Pv=0,Df=0),us=e)}var $o=Kt({},li,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(vw(e),Pv)},movementY:function(e){return"movementY"in e?e.movementY:Df}}),rm=Xa($o),am=Kt({},$o,{dataTransfer:0}),ss=Xa(am),im=Kt({},li,{relatedTarget:0}),Nl=Xa(im),D0=Kt({},aa,{animationName:0,elapsedTime:0,pseudoElement:0}),P0=Xa(D0),om=Kt({},aa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Av=Xa(om),pw=Kt({},aa,{data:0}),A0=Xa(pw),$0=A0,L0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cs={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",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function hw(e){if(e.key){var t=L0[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var l=fu(e);return l===13?"Enter":String.fromCharCode(l)}return e.type==="keydown"||e.type==="keyup"?cs[e.keyCode]||"Unidentified":""}var ic={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function F0(e){var t=this,l=t.nativeEvent;if(l.getModifierState)return l.getModifierState(e);var c=ic[e];return c?!!l[c]:!1}function Nr(e){return F0}var mw=Kt({},li,{key:hw,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nr,charCode:function(e){return e.type==="keypress"?fu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?fu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),I0=Xa(mw),gw=Kt({},$o,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),z0=Xa(gw),j0=Kt({},li,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nr}),V0=Xa(j0),yw=Kt({},aa,{propertyName:0,elapsedTime:0,pseudoElement:0}),yo=Xa(yw),lm=Kt({},$o,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),bw=Xa(lm),du=[9,13,27,32],Pf=229,Dl=tt&&"CompositionEvent"in window,vu=null;tt&&"documentMode"in document&&(vu=document.documentMode);var um=tt&&"TextEvent"in window&&!vu,$v=tt&&(!Dl||vu&&vu>8&&vu<=11),H0=32,Lv=String.fromCharCode(H0);function Sw(){Be("onBeforeInput",["compositionend","keypress","textInput","paste"]),Be("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Be("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Be("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var sm=!1;function U0(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Fv(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Iv(e,t){return e==="keydown"&&t.keyCode===Pf}function cm(e,t){switch(e){case"keyup":return du.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Pf;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function B0(e){return e.locale==="ko"}var fs=!1;function fm(e,t,l,c,v){var m,S;if(Dl?m=Fv(t):fs?cm(t,c)&&(m="onCompositionEnd"):Iv(t,c)&&(m="onCompositionStart"),!m)return null;$v&&!B0(c)&&(!fs&&m==="onCompositionStart"?fs=cu(v):m==="onCompositionEnd"&&fs&&(S=Ml()));var T=Q0(l,m);if(T.length>0){var _=new A0(m,t,null,c,v);if(e.push({event:_,listeners:T}),S)_.data=S;else{var L=zv(c);L!==null&&(_.data=L)}}}function jv(e,t){switch(e){case"compositionend":return zv(t);case"keypress":var l=t.which;return l!==H0?null:(sm=!0,Lv);case"textInput":var c=t.data;return c===Lv&&sm?null:c;default:return null}}function dm(e,t){if(fs){if(e==="compositionend"||!Dl&&cm(e,t)){var l=Ml();return Dv(),fs=!1,l}return null}switch(e){case"paste":return null;case"keypress":if(!U0(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return $v&&!B0(t)?null:t.data;default:return null}}function Vv(e,t,l,c,v){var m;if(um?m=jv(t,c):m=dm(t,c),!m)return null;var S=Q0(l,"onBeforeInput");if(S.length>0){var T=new $0("onBeforeInput","beforeinput",null,c,v);e.push({event:T,listeners:S}),T.data=m}}function W0(e,t,l,c,v,m,S){fm(e,t,l,c,v),Vv(e,t,l,c,v)}var Cw={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 Af(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Cw[e.type]:t==="textarea"}/**
88
- * Checks if an event is supported in the current execution environment.
89
- *
90
- * NOTE: This will not work correctly for non-generic events such as `change`,
91
- * `reset`, `load`, `error`, and `select`.
92
- *
93
- * Borrows from Modernizr.
94
- *
95
- * @param {string} eventNameSuffix Event name, e.g. "click".
96
- * @return {boolean} True if the event is supported.
97
- * @internal
98
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
99
- */function Ew(e){if(!tt)return!1;var t="on"+e,l=t in document;if(!l){var c=document.createElement("div");c.setAttribute(t,"return;"),l=typeof c[t]=="function"}return l}function $f(){Be("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function Y0(e,t,l,c){Hs(c);var v=Q0(t,"onChange");if(v.length>0){var m=new tl("onChange","change",null,l,c);e.push({event:m,listeners:v})}}var pu=null,r=null;function o(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function f(e){var t=[];Y0(t,r,e,Oh(e)),a0(h,t)}function h(e){$M(e,0)}function b(e){var t=Kv(e);if(Ho(t))return e}function w(e,t){if(e==="change")return t}var P=!1;tt&&(P=Ew("input")&&(!document.documentMode||document.documentMode>9));function K(e,t){pu=e,r=t,pu.attachEvent("onpropertychange",Se)}function ee(){pu&&(pu.detachEvent("onpropertychange",Se),pu=null,r=null)}function Se(e){e.propertyName==="value"&&b(r)&&f(e)}function Ae(e,t,l){e==="focusin"?(ee(),K(t,l)):e==="focusout"&&ee()}function ze(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return b(r)}function De(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function rt(e,t){if(e==="click")return b(t)}function ft(e,t){if(e==="input"||e==="change")return b(t)}function gt(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||$t(e,"number",e.value)}function qr(e,t,l,c,v,m,S){var T=l?Kv(l):window,_,L;if(o(T)?_=w:Af(T)?P?_=ft:(_=ze,L=Ae):De(T)&&(_=rt),_){var j=_(t,l);if(j){Y0(e,j,c,v);return}}L&&L(t,T,l),t==="focusout"&&gt(T)}function fe(){ot("onMouseEnter",["mouseout","mouseover"]),ot("onMouseLeave",["mouseout","mouseover"]),ot("onPointerEnter",["pointerout","pointerover"]),ot("onPointerLeave",["pointerout","pointerover"])}function ie(e,t,l,c,v,m,S){var T=t==="mouseover"||t==="pointerover",_=t==="mouseout"||t==="pointerout";if(T&&!Xc(c)){var L=c.relatedTarget||c.fromElement;if(L&&(If(L)||Tm(L)))return}if(!(!_&&!T)){var j;if(v.window===v)j=v;else{var oe=v.ownerDocument;oe?j=oe.defaultView||oe.parentWindow:j=window}var ae,ge;if(_){var Ee=c.relatedTarget||c.toElement;if(ae=l,ge=Ee?If(Ee):null,ge!==null){var Te=Vi(ge);(ge!==Te||ge.tag!==D&&ge.tag!==N)&&(ge=null)}}else ae=null,ge=l;if(ae!==ge){var et=rm,Lt="onMouseLeave",Ct="onMouseEnter",$n="mouse";(t==="pointerout"||t==="pointerover")&&(et=z0,Lt="onPointerLeave",Ct="onPointerEnter",$n="pointer");var wn=ae==null?j:Kv(ae),ve=ge==null?j:Kv(ge),Oe=new et(Lt,$n+"leave",ae,c,v);Oe.target=wn,Oe.relatedTarget=ve;var pe=null,je=If(v);if(je===l){var it=new et(Ct,$n+"enter",ge,c,v);it.target=ve,it.relatedTarget=wn,pe=it}p5(e,Oe,pe,ae,ge)}}}function he(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $e=typeof Object.is=="function"?Object.is:he;function dt(e,t){if($e(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),c=Object.keys(t);if(l.length!==c.length)return!1;for(var v=0;v<l.length;v++){var m=l[v];if(!bt.call(t,m)||!$e(e[m],t[m]))return!1}return!0}function zt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ht(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Gt(e,t){for(var l=zt(e),c=0,v=0;l;){if(l.nodeType===Cl){if(v=c+l.textContent.length,c<=t&&v>=t)return{node:l,offset:t-c};c=v}l=zt(Ht(l))}}function xa(e){var t=e.ownerDocument,l=t&&t.defaultView||window,c=l.getSelection&&l.getSelection();if(!c||c.rangeCount===0)return null;var v=c.anchorNode,m=c.anchorOffset,S=c.focusNode,T=c.focusOffset;try{v.nodeType,S.nodeType}catch{return null}return Bn(e,v,m,S,T)}function Bn(e,t,l,c,v){var m=0,S=-1,T=-1,_=0,L=0,j=e,oe=null;e:for(;;){for(var ae=null;j===t&&(l===0||j.nodeType===Cl)&&(S=m+l),j===c&&(v===0||j.nodeType===Cl)&&(T=m+v),j.nodeType===Cl&&(m+=j.nodeValue.length),(ae=j.firstChild)!==null;)oe=j,j=ae;for(;;){if(j===e)break e;if(oe===t&&++_===l&&(S=m),oe===c&&++L===v&&(T=m),(ae=j.nextSibling)!==null)break;j=oe,oe=j.parentNode}j=ae}return S===-1||T===-1?null:{start:S,end:T}}function hu(e,t){var l=e.ownerDocument||document,c=l&&l.defaultView||window;if(c.getSelection){var v=c.getSelection(),m=e.textContent.length,S=Math.min(t.start,m),T=t.end===void 0?S:Math.min(t.end,m);if(!v.extend&&S>T){var _=T;T=S,S=_}var L=Gt(e,S),j=Gt(e,T);if(L&&j){if(v.rangeCount===1&&v.anchorNode===L.node&&v.anchorOffset===L.offset&&v.focusNode===j.node&&v.focusOffset===j.offset)return;var oe=l.createRange();oe.setStart(L.node,L.offset),v.removeAllRanges(),S>T?(v.addRange(oe),v.extend(j.node,j.offset)):(oe.setEnd(j.node,j.offset),v.addRange(oe))}}}function K0(e){return e&&e.nodeType===Cl}function xM(e,t){return!e||!t?!1:e===t?!0:K0(e)?!1:K0(t)?xM(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function X3(e){return e&&e.ownerDocument&&xM(e.ownerDocument.documentElement,e)}function Q3(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function RM(){for(var e=window,t=lo();t instanceof e.HTMLIFrameElement;){if(Q3(t))e=t.contentWindow;else return t;t=lo(e.document)}return t}function ww(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Z3(){var e=RM();return{focusedElem:e,selectionRange:ww(e)?e5(e):null}}function J3(e){var t=RM(),l=e.focusedElem,c=e.selectionRange;if(t!==l&&X3(l)){c!==null&&ww(l)&&t5(l,c);for(var v=[],m=l;m=m.parentNode;)m.nodeType===Ci&&v.push({element:m,left:m.scrollLeft,top:m.scrollTop});typeof l.focus=="function"&&l.focus();for(var S=0;S<v.length;S++){var T=v[S];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}}function e5(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=xa(e),t||{start:0,end:0}}function t5(e,t){var l=t.start,c=t.end;c===void 0&&(c=l),"selectionStart"in e?(e.selectionStart=l,e.selectionEnd=Math.min(c,e.value.length)):hu(e,t)}var n5=tt&&"documentMode"in document&&document.documentMode<=11;function r5(){Be("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Hv=null,xw=null,vm=null,Rw=!1;function a5(e){if("selectionStart"in e&&ww(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,l=t.getSelection();return{anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}}function i5(e){return e.window===e?e.document:e.nodeType===El?e:e.ownerDocument}function TM(e,t,l){var c=i5(l);if(!(Rw||Hv==null||Hv!==lo(c))){var v=a5(Hv);if(!vm||!dt(vm,v)){vm=v;var m=Q0(xw,"onSelect");if(m.length>0){var S=new tl("onSelect","select",null,t,l);e.push({event:S,listeners:m}),S.target=Hv}}}}function o5(e,t,l,c,v,m,S){var T=l?Kv(l):window;switch(t){case"focusin":(Af(T)||T.contentEditable==="true")&&(Hv=T,xw=l,vm=null);break;case"focusout":Hv=null,xw=null,vm=null;break;case"mousedown":Rw=!0;break;case"contextmenu":case"mouseup":case"dragend":Rw=!1,TM(e,c,v);break;case"selectionchange":if(n5)break;case"keydown":case"keyup":TM(e,c,v)}}function q0(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Uv={animationend:q0("Animation","AnimationEnd"),animationiteration:q0("Animation","AnimationIteration"),animationstart:q0("Animation","AnimationStart"),transitionend:q0("Transition","TransitionEnd")},Tw={},OM={};tt&&(OM=document.createElement("div").style,"AnimationEvent"in window||(delete Uv.animationend.animation,delete Uv.animationiteration.animation,delete Uv.animationstart.animation),"TransitionEvent"in window||delete Uv.transitionend.transition);function G0(e){if(Tw[e])return Tw[e];if(!Uv[e])return e;var t=Uv[e];for(var l in t)if(t.hasOwnProperty(l)&&l in OM)return Tw[e]=t[l];return e}var _M=G0("animationend"),kM=G0("animationiteration"),MM=G0("animationstart"),NM=G0("transitionend"),DM=new Map,PM=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function oc(e,t){DM.set(e,t),Be(t,[e])}function l5(){for(var e=0;e<PM.length;e++){var t=PM[e],l=t.toLowerCase(),c=t[0].toUpperCase()+t.slice(1);oc(l,"on"+c)}oc(_M,"onAnimationEnd"),oc(kM,"onAnimationIteration"),oc(MM,"onAnimationStart"),oc("dblclick","onDoubleClick"),oc("focusin","onFocus"),oc("focusout","onBlur"),oc(NM,"onTransitionEnd")}function u5(e,t,l,c,v,m,S){var T=DM.get(t);if(T!==void 0){var _=tl,L=t;switch(t){case"keypress":if(fu(c)===0)return;case"keydown":case"keyup":_=I0;break;case"focusin":L="focus",_=Nl;break;case"focusout":L="blur",_=Nl;break;case"beforeblur":case"afterblur":_=Nl;break;case"click":if(c.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=rm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=ss;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=V0;break;case _M:case kM:case MM:_=P0;break;case NM:_=yo;break;case"scroll":_=Ni;break;case"wheel":_=bw;break;case"copy":case"cut":case"paste":_=Av;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=z0;break}var j=(m&uo)!==0;{var oe=!j&&t==="scroll",ae=d5(l,T,c.type,j,oe);if(ae.length>0){var ge=new _(T,L,null,c,v);e.push({event:ge,listeners:ae})}}}}l5(),fe(),$f(),r5(),Sw();function s5(e,t,l,c,v,m,S){u5(e,t,l,c,v,m);var T=(m&Th)===0;T&&(ie(e,t,l,c,v),qr(e,t,l,c,v),o5(e,t,l,c,v),W0(e,t,l,c,v))}var pm=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Ow=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(pm));function AM(e,t,l){var c=e.type||"unknown-event";e.currentTarget=l,Wo(c,t,void 0,e),e.currentTarget=null}function c5(e,t,l){var c;if(l)for(var v=t.length-1;v>=0;v--){var m=t[v],S=m.instance,T=m.currentTarget,_=m.listener;if(S!==c&&e.isPropagationStopped())return;AM(e,_,T),c=S}else for(var L=0;L<t.length;L++){var j=t[L],oe=j.instance,ae=j.currentTarget,ge=j.listener;if(oe!==c&&e.isPropagationStopped())return;AM(e,ge,ae),c=oe}}function $M(e,t){for(var l=(t&uo)!==0,c=0;c<e.length;c++){var v=e[c],m=v.event,S=v.listeners;c5(m,S,l)}Jc()}function f5(e,t,l,c,v){var m=Oh(l),S=[];s5(S,e,c,l,m,t),$M(S,t)}function Ir(e,t){Ow.has(e)||d('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var l=!1,c=VH(t),v=h5(e);c.has(v)||(LM(t,e,Hd,l),c.add(v))}function _w(e,t,l){Ow.has(e)&&!t&&d('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var c=0;t&&(c|=uo),LM(l,e,c,t)}var X0="_reactListening"+Math.random().toString(36).slice(2);function hm(e){if(!e[X0]){e[X0]=!0,Fe.forEach(function(l){l!=="selectionchange"&&(Ow.has(l)||_w(l,!1,e),_w(l,!0,e))});var t=e.nodeType===El?e:e.ownerDocument;t!==null&&(t[X0]||(t[X0]=!0,_w("selectionchange",!1,t)))}}function LM(e,t,l,c,v){var m=Fa(e,t,l),S=void 0;Zc&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(S=!0),e=e,c?S!==void 0?nm(e,t,m,S):Mi(e,t,m):S!==void 0?nc(e,t,m,S):kf(e,t,m)}function FM(e,t){return e===t||e.nodeType===Qr&&e.parentNode===t}function kw(e,t,l,c,v){var m=c;if(!(t&Rh)&&!(t&Hd)){var S=v;if(c!==null){var T=c;e:for(;;){if(T===null)return;var _=T.tag;if(_===R||_===O){var L=T.stateNode.containerInfo;if(FM(L,S))break;if(_===O)for(var j=T.return;j!==null;){var oe=j.tag;if(oe===R||oe===O){var ae=j.stateNode.containerInfo;if(FM(ae,S))return}j=j.return}for(;L!==null;){var ge=If(L);if(ge===null)return;var Ee=ge.tag;if(Ee===D||Ee===N){T=m=ge;continue e}L=L.parentNode}}T=T.return}}}a0(function(){return f5(e,t,l,m)})}function mm(e,t,l){return{instance:e,listener:t,currentTarget:l}}function d5(e,t,l,c,v,m){for(var S=t!==null?t+"Capture":null,T=c?S:t,_=[],L=e,j=null;L!==null;){var oe=L,ae=oe.stateNode,ge=oe.tag;if(ge===D&&ae!==null&&(j=ae,T!==null)){var Ee=Zl(L,T);Ee!=null&&_.push(mm(L,Ee,j))}if(v)break;L=L.return}return _}function Q0(e,t){for(var l=t+"Capture",c=[],v=e;v!==null;){var m=v,S=m.stateNode,T=m.tag;if(T===D&&S!==null){var _=S,L=Zl(v,l);L!=null&&c.unshift(mm(v,L,_));var j=Zl(v,t);j!=null&&c.push(mm(v,j,_))}v=v.return}return c}function Bv(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==D);return e||null}function v5(e,t){for(var l=e,c=t,v=0,m=l;m;m=Bv(m))v++;for(var S=0,T=c;T;T=Bv(T))S++;for(;v-S>0;)l=Bv(l),v--;for(;S-v>0;)c=Bv(c),S--;for(var _=v;_--;){if(l===c||c!==null&&l===c.alternate)return l;l=Bv(l),c=Bv(c)}return null}function IM(e,t,l,c,v){for(var m=t._reactName,S=[],T=l;T!==null&&T!==c;){var _=T,L=_.alternate,j=_.stateNode,oe=_.tag;if(L!==null&&L===c)break;if(oe===D&&j!==null){var ae=j;if(v){var ge=Zl(T,m);ge!=null&&S.unshift(mm(T,ge,ae))}else if(!v){var Ee=Zl(T,m);Ee!=null&&S.push(mm(T,Ee,ae))}}T=T.return}S.length!==0&&e.push({event:t,listeners:S})}function p5(e,t,l,c,v){var m=c&&v?v5(c,v):null;c!==null&&IM(e,t,c,m,!1),v!==null&&l!==null&&IM(e,l,v,m,!0)}function h5(e,t){return e+"__bubble"}var bo=!1,gm="dangerouslySetInnerHTML",Z0="suppressContentEditableWarning",lc="suppressHydrationWarning",zM="autoFocus",Lf="children",Ff="style",J0="__html",Mw,eb,ym,jM,tb,VM,HM;Mw={dialog:!0,webview:!0},eb=function(e,t){Eh(e,t),jd(e,t),t0(e,t,{registrationNameDependencies:Le,possibleRegistrationNames:He})},VM=tt&&!document.documentMode,ym=function(e,t,l){if(!bo){var c=nb(l),v=nb(t);v!==c&&(bo=!0,d("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(v),JSON.stringify(c)))}},jM=function(e){if(!bo){bo=!0;var t=[];e.forEach(function(l){t.push(l)}),d("Extra attributes from the server: %s",t)}},tb=function(e,t){t===!1?d("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):d("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},HM=function(e,t){var l=e.namespaceURI===Sl?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return l.innerHTML=t,l.innerHTML};var m5=/\r\n?/g,g5=/\u0000|\uFFFD/g;function nb(e){en(e);var t=typeof e=="string"?e:""+e;return t.replace(m5,`
100
- `).replace(g5,"")}function rb(e,t,l,c){var v=nb(t),m=nb(e);if(m!==v&&(c&&(bo||(bo=!0,d('Text content did not match. Server: "%s" Client: "%s"',m,v))),l&&de))throw new Error("Text content does not match server-rendered HTML.")}function UM(e){return e.nodeType===El?e:e.ownerDocument}function y5(){}function ab(e){e.onclick=y5}function b5(e,t,l,c,v){for(var m in c)if(c.hasOwnProperty(m)){var S=c[m];if(m===Ff)S&&Object.freeze(S),Gy(t,S);else if(m===gm){var T=S?S[J0]:void 0;T!=null&&Fy(t,T)}else if(m===Lf)if(typeof S=="string"){var _=e!=="textarea"||S!=="";_&&Is(t,S)}else typeof S=="number"&&Is(t,""+S);else m===Z0||m===lc||m===zM||(Le.hasOwnProperty(m)?S!=null&&(typeof S!="function"&&tb(m,S),m==="onScroll"&&Ir("scroll",t)):S!=null&&nn(t,m,S,v))}}function S5(e,t,l,c){for(var v=0;v<t.length;v+=2){var m=t[v],S=t[v+1];m===Ff?Gy(e,S):m===gm?Fy(e,S):m===Lf?Is(e,S):nn(e,m,S,c)}}function C5(e,t,l,c){var v,m=UM(l),S,T=c;if(T===Sl&&(T=hh(e)),T===Sl){if(v=Xl(e,t),!v&&e!==e.toLowerCase()&&d("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var _=m.createElement("div");_.innerHTML="<script><\/script>";var L=_.firstChild;S=_.removeChild(L)}else if(typeof t.is=="string")S=m.createElement(e,{is:t.is});else if(S=m.createElement(e),e==="select"){var j=S;t.multiple?j.multiple=!0:t.size&&(j.size=t.size)}}else S=m.createElementNS(T,e);return T===Sl&&!v&&Object.prototype.toString.call(S)==="[object HTMLUnknownElement]"&&!bt.call(Mw,e)&&(Mw[e]=!0,d("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),S}function E5(e,t){return UM(t).createTextNode(e)}function w5(e,t,l,c){var v=Xl(t,l);eb(t,l);var m;switch(t){case"dialog":Ir("cancel",e),Ir("close",e),m=l;break;case"iframe":case"object":case"embed":Ir("load",e),m=l;break;case"video":case"audio":for(var S=0;S<pm.length;S++)Ir(pm[S],e);m=l;break;case"source":Ir("error",e),m=l;break;case"img":case"image":case"link":Ir("error",e),Ir("load",e),m=l;break;case"details":Ir("toggle",e),m=l;break;case"input":_o(e,l),m=Fs(e,l),Ir("invalid",e);break;case"option":Fn(e,l),m=l;break;case"select":zu(e,l),m=Uc(e,l),Ir("invalid",e);break;case"textarea":dh(e,l),m=fh(e,l),Ir("invalid",e);break;default:m=l}switch(Id(t,m),b5(t,e,c,m,v),t){case"input":Ka(e),be(e,l,!1);break;case"textarea":Ka(e),$y(e);break;case"option":Cr(e,l);break;case"select":sh(e,l);break;default:typeof m.onClick=="function"&&ab(e);break}}function x5(e,t,l,c,v){eb(t,c);var m=null,S,T;switch(t){case"input":S=Fs(e,l),T=Fs(e,c),m=[];break;case"select":S=Uc(e,l),T=Uc(e,c),m=[];break;case"textarea":S=fh(e,l),T=fh(e,c),m=[];break;default:S=l,T=c,typeof S.onClick!="function"&&typeof T.onClick=="function"&&ab(e);break}Id(t,T);var _,L,j=null;for(_ in S)if(!(T.hasOwnProperty(_)||!S.hasOwnProperty(_)||S[_]==null))if(_===Ff){var oe=S[_];for(L in oe)oe.hasOwnProperty(L)&&(j||(j={}),j[L]="")}else _===gm||_===Lf||_===Z0||_===lc||_===zM||(Le.hasOwnProperty(_)?m||(m=[]):(m=m||[]).push(_,null));for(_ in T){var ae=T[_],ge=S?.[_];if(!(!T.hasOwnProperty(_)||ae===ge||ae==null&&ge==null))if(_===Ff)if(ae&&Object.freeze(ae),ge){for(L in ge)ge.hasOwnProperty(L)&&(!ae||!ae.hasOwnProperty(L))&&(j||(j={}),j[L]="");for(L in ae)ae.hasOwnProperty(L)&&ge[L]!==ae[L]&&(j||(j={}),j[L]=ae[L])}else j||(m||(m=[]),m.push(_,j)),j=ae;else if(_===gm){var Ee=ae?ae[J0]:void 0,Te=ge?ge[J0]:void 0;Ee!=null&&Te!==Ee&&(m=m||[]).push(_,Ee)}else _===Lf?(typeof ae=="string"||typeof ae=="number")&&(m=m||[]).push(_,""+ae):_===Z0||_===lc||(Le.hasOwnProperty(_)?(ae!=null&&(typeof ae!="function"&&tb(_,ae),_==="onScroll"&&Ir("scroll",e)),!m&&ge!==ae&&(m=[])):(m=m||[]).push(_,ae))}return j&&(rw(j,T[Ff]),(m=m||[]).push(Ff,j)),m}function R5(e,t,l,c,v){l==="input"&&v.type==="radio"&&v.name!=null&&M(e,v);var m=Xl(l,c),S=Xl(l,v);switch(S5(e,t,m,S),l){case"input":X(e,v);break;case"textarea":Ay(e,v);break;case"select":$d(e,v);break}}function T5(e){{var t=e.toLowerCase();return qc.hasOwnProperty(t)&&qc[t]||null}}function O5(e,t,l,c,v,m,S){var T,_;switch(T=Xl(t,l),eb(t,l),t){case"dialog":Ir("cancel",e),Ir("close",e);break;case"iframe":case"object":case"embed":Ir("load",e);break;case"video":case"audio":for(var L=0;L<pm.length;L++)Ir(pm[L],e);break;case"source":Ir("error",e);break;case"img":case"image":case"link":Ir("error",e),Ir("load",e);break;case"details":Ir("toggle",e);break;case"input":_o(e,l),Ir("invalid",e);break;case"option":Fn(e,l);break;case"select":zu(e,l),Ir("invalid",e);break;case"textarea":dh(e,l),Ir("invalid",e);break}Id(t,l);{_=new Set;for(var j=e.attributes,oe=0;oe<j.length;oe++){var ae=j[oe].name.toLowerCase();switch(ae){case"value":break;case"checked":break;case"selected":break;default:_.add(j[oe].name)}}}var ge=null;for(var Ee in l)if(l.hasOwnProperty(Ee)){var Te=l[Ee];if(Ee===Lf)typeof Te=="string"?e.textContent!==Te&&(l[lc]!==!0&&rb(e.textContent,Te,m,S),ge=[Lf,Te]):typeof Te=="number"&&e.textContent!==""+Te&&(l[lc]!==!0&&rb(e.textContent,Te,m,S),ge=[Lf,""+Te]);else if(Le.hasOwnProperty(Ee))Te!=null&&(typeof Te!="function"&&tb(Ee,Te),Ee==="onScroll"&&Ir("scroll",e));else if(S&&typeof T=="boolean"){var et=void 0,Lt=Jt(Ee);if(l[lc]!==!0){if(!(Ee===Z0||Ee===lc||Ee==="value"||Ee==="checked"||Ee==="selected")){if(Ee===gm){var Ct=e.innerHTML,$n=Te?Te[J0]:void 0;if($n!=null){var wn=HM(e,$n);wn!==Ct&&ym(Ee,Ct,wn)}}else if(Ee===Ff){if(_.delete(Ee),VM){var ve=tw(Te);et=e.getAttribute("style"),ve!==et&&ym(Ee,et,ve)}}else if(T)_.delete(Ee.toLowerCase()),et=wt(e,Ee,Te),Te!==et&&ym(Ee,et,Te);else if(!bn(Ee,Lt,T)&&!Dt(Ee,Te,Lt,T)){var Oe=!1;if(Lt!==null)_.delete(Lt.attributeName),et=Ye(e,Ee,Te,Lt);else{var pe=c;if(pe===Sl&&(pe=hh(t)),pe===Sl)_.delete(Ee.toLowerCase());else{var je=T5(Ee);je!==null&&je!==Ee&&(Oe=!0,_.delete(je)),_.delete(Ee)}et=wt(e,Ee,Te)}var it=B;!it&&Te!==et&&!Oe&&ym(Ee,et,Te)}}}}}switch(S&&_.size>0&&l[lc]!==!0&&jM(_),t){case"input":Ka(e),be(e,l,!0);break;case"textarea":Ka(e),$y(e);break;case"select":case"option":break;default:typeof l.onClick=="function"&&ab(e);break}return ge}function _5(e,t,l){var c=e.nodeValue!==t;return c}function Nw(e,t){{if(bo)return;bo=!0,d("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Dw(e,t){{if(bo)return;bo=!0,d('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Pw(e,t,l){{if(bo)return;bo=!0,d("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Aw(e,t){{if(t===""||bo)return;bo=!0,d('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function k5(e,t,l){switch(t){case"input":Re(e,l);return;case"textarea":QE(e,l);return;case"select":ch(e,l);return}}var bm=function(){},Sm=function(){};{var M5=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],BM=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],N5=BM.concat(["button"]),D5=["dd","dt","li","option","optgroup","p","rp","rt"],WM={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Sm=function(e,t){var l=Kt({},e||WM),c={tag:t};return BM.indexOf(t)!==-1&&(l.aTagInScope=null,l.buttonTagInScope=null,l.nobrTagInScope=null),N5.indexOf(t)!==-1&&(l.pTagInButtonScope=null),M5.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(l.listItemTagAutoclosing=null,l.dlItemTagAutoclosing=null),l.current=c,t==="form"&&(l.formTag=c),t==="a"&&(l.aTagInScope=c),t==="button"&&(l.buttonTagInScope=c),t==="nobr"&&(l.nobrTagInScope=c),t==="p"&&(l.pTagInButtonScope=c),t==="li"&&(l.listItemTagAutoclosing=c),(t==="dd"||t==="dt")&&(l.dlItemTagAutoclosing=c),l};var P5=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return D5.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},A5=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},YM={};bm=function(e,t,l){l=l||WM;var c=l.current,v=c&&c.tag;t!=null&&(e!=null&&d("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var m=P5(e,v)?null:c,S=m?null:A5(e,l),T=m||S;if(T){var _=T.tag,L=!!m+"|"+e+"|"+_;if(!YM[L]){YM[L]=!0;var j=e,oe="";if(e==="#text"?/\S/.test(t)?j="Text nodes":(j="Whitespace text nodes",oe=" Make sure you don't have any extra whitespace between tags on each line of your source code."):j="<"+e+">",m){var ae="";_==="table"&&e==="tr"&&(ae+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),d("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",j,_,oe,ae)}else d("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",j,_)}}}}var ib="suppressHydrationWarning",ob="$",lb="/$",Cm="$?",Em="$!",$5="style",$w=null,Lw=null;function L5(e){var t,l,c=e.nodeType;switch(c){case El:case gh:{t=c===El?"#document":"#fragment";var v=e.documentElement;l=v?v.namespaceURI:mh(null,"");break}default:{var m=c===Qr?e.parentNode:e,S=m.namespaceURI||null;t=m.tagName,l=mh(S,t);break}}{var T=t.toLowerCase(),_=Sm(null,T);return{namespace:l,ancestorInfo:_}}}function F5(e,t,l){{var c=e,v=mh(c.namespace,t),m=Sm(c.ancestorInfo,t);return{namespace:v,ancestorInfo:m}}}function UB(e){return e}function I5(e){$w=ra(),Lw=Z3();var t=null;return pa(!1),t}function z5(e){J3(Lw),pa($w),$w=null,Lw=null}function j5(e,t,l,c,v){var m;{var S=c;if(bm(e,null,S.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var T=""+t.children,_=Sm(S.ancestorInfo,e);bm(null,T,_)}m=S.namespace}var L=C5(e,t,l,m);return Rm(v,L),Bw(L,t),L}function V5(e,t){e.appendChild(t)}function H5(e,t,l,c,v){switch(w5(e,t,l,c),t){case"button":case"input":case"select":case"textarea":return!!l.autoFocus;case"img":return!0;default:return!1}}function U5(e,t,l,c,v,m){{var S=m;if(typeof c.children!=typeof l.children&&(typeof c.children=="string"||typeof c.children=="number")){var T=""+c.children,_=Sm(S.ancestorInfo,t);bm(null,T,_)}}return x5(e,t,l,c)}function Fw(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function B5(e,t,l,c){{var v=l;bm(null,e,v.ancestorInfo)}var m=E5(e,t);return Rm(c,m),m}function W5(){var e=window.event;return e===void 0?ho:Nv(e.type)}var Iw=typeof setTimeout=="function"?setTimeout:void 0,Y5=typeof clearTimeout=="function"?clearTimeout:void 0,zw=-1,KM=typeof Promise=="function"?Promise:void 0,K5=typeof queueMicrotask=="function"?queueMicrotask:typeof KM<"u"?function(e){return KM.resolve(null).then(e).catch(q5)}:Iw;function q5(e){setTimeout(function(){throw e})}function G5(e,t,l,c){switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&e.focus();return;case"img":{l.src&&(e.src=l.src);return}}}function X5(e,t,l,c,v,m){R5(e,t,l,c,v),Bw(e,v)}function qM(e){Is(e,"")}function Q5(e,t,l){e.nodeValue=l}function Z5(e,t){e.appendChild(t)}function J5(e,t){var l;e.nodeType===Qr?(l=e.parentNode,l.insertBefore(t,e)):(l=e,l.appendChild(t));var c=e._reactRootContainer;c==null&&l.onclick===null&&ab(l)}function eH(e,t,l){e.insertBefore(t,l)}function tH(e,t,l){e.nodeType===Qr?e.parentNode.insertBefore(t,l):e.insertBefore(t,l)}function nH(e,t){e.removeChild(t)}function rH(e,t){e.nodeType===Qr?e.parentNode.removeChild(t):e.removeChild(t)}function jw(e,t){var l=t,c=0;do{var v=l.nextSibling;if(e.removeChild(l),v&&v.nodeType===Qr){var m=v.data;if(m===lb)if(c===0){e.removeChild(v),os(t);return}else c--;else(m===ob||m===Cm||m===Em)&&c++}l=v}while(l);os(t)}function aH(e,t){e.nodeType===Qr?jw(e.parentNode,t):e.nodeType===Ci&&jw(e,t),os(e)}function iH(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function oH(e){e.nodeValue=""}function lH(e,t){e=e;var l=t[$5],c=l!=null&&l.hasOwnProperty("display")?l.display:null;e.style.display=Fd("display",c)}function uH(e,t){e.nodeValue=t}function sH(e){e.nodeType===Ci?e.textContent="":e.nodeType===El&&e.documentElement&&e.removeChild(e.documentElement)}function cH(e,t,l){return e.nodeType!==Ci||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function fH(e,t){return t===""||e.nodeType!==Cl?null:e}function dH(e){return e.nodeType!==Qr?null:e}function GM(e){return e.data===Cm}function Vw(e){return e.data===Em}function vH(e){var t=e.nextSibling&&e.nextSibling.dataset,l,c,v;return t&&(l=t.dgst,c=t.msg,v=t.stck),{message:c,digest:l,stack:v}}function pH(e,t){e._reactRetry=t}function ub(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Ci||t===Cl)break;if(t===Qr){var l=e.data;if(l===ob||l===Em||l===Cm)break;if(l===lb)return null}}return e}function wm(e){return ub(e.nextSibling)}function hH(e){return ub(e.firstChild)}function mH(e){return ub(e.firstChild)}function gH(e){return ub(e.nextSibling)}function yH(e,t,l,c,v,m,S){Rm(m,e),Bw(e,l);var T;{var _=v;T=_.namespace}var L=(m.mode&vn)!==_t;return O5(e,t,l,T,c,L,S)}function bH(e,t,l,c){return Rm(l,e),l.mode&vn,_5(e,t)}function SH(e,t){Rm(t,e)}function CH(e){for(var t=e.nextSibling,l=0;t;){if(t.nodeType===Qr){var c=t.data;if(c===lb){if(l===0)return wm(t);l--}else(c===ob||c===Em||c===Cm)&&l++}t=t.nextSibling}return null}function XM(e){for(var t=e.previousSibling,l=0;t;){if(t.nodeType===Qr){var c=t.data;if(c===ob||c===Em||c===Cm){if(l===0)return t;l--}else c===lb&&l++}t=t.previousSibling}return null}function EH(e){os(e)}function wH(e){os(e)}function xH(e){return e!=="head"&&e!=="body"}function RH(e,t,l,c){var v=!0;rb(t.nodeValue,l,c,v)}function TH(e,t,l,c,v,m){if(t[ib]!==!0){var S=!0;rb(c.nodeValue,v,m,S)}}function OH(e,t){t.nodeType===Ci?Nw(e,t):t.nodeType===Qr||Dw(e,t)}function _H(e,t){{var l=e.parentNode;l!==null&&(t.nodeType===Ci?Nw(l,t):t.nodeType===Qr||Dw(l,t))}}function kH(e,t,l,c,v){(v||t[ib]!==!0)&&(c.nodeType===Ci?Nw(l,c):c.nodeType===Qr||Dw(l,c))}function MH(e,t,l){Pw(e,t)}function NH(e,t){Aw(e,t)}function DH(e,t,l){{var c=e.parentNode;c!==null&&Pw(c,t)}}function PH(e,t){{var l=e.parentNode;l!==null&&Aw(l,t)}}function AH(e,t,l,c,v,m){(m||t[ib]!==!0)&&Pw(l,c)}function $H(e,t,l,c,v){(v||t[ib]!==!0)&&Aw(l,c)}function LH(e){d("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function FH(e){hm(e)}var Wv=Math.random().toString(36).slice(2),Yv="__reactFiber$"+Wv,Hw="__reactProps$"+Wv,xm="__reactContainer$"+Wv,Uw="__reactEvents$"+Wv,IH="__reactListeners$"+Wv,zH="__reactHandles$"+Wv;function jH(e){delete e[Yv],delete e[Hw],delete e[Uw],delete e[IH],delete e[zH]}function Rm(e,t){t[Yv]=e}function sb(e,t){t[xm]=e}function QM(e){e[xm]=null}function Tm(e){return!!e[xm]}function If(e){var t=e[Yv];if(t)return t;for(var l=e.parentNode;l;){if(t=l[xm]||l[Yv],t){var c=t.alternate;if(t.child!==null||c!==null&&c.child!==null)for(var v=XM(e);v!==null;){var m=v[Yv];if(m)return m;v=XM(v)}return t}e=l,l=e.parentNode}return null}function uc(e){var t=e[Yv]||e[xm];return t&&(t.tag===D||t.tag===N||t.tag===I||t.tag===R)?t:null}function Kv(e){if(e.tag===D||e.tag===N)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function cb(e){return e[Hw]||null}function Bw(e,t){e[Hw]=t}function VH(e){var t=e[Uw];return t===void 0&&(t=e[Uw]=new Set),t}var ZM={},JM=a.ReactDebugCurrentFrame;function fb(e){if(e){var t=e._owner,l=sr(e.type,e._source,t?t.type:null);JM.setExtraStackFrame(l)}else JM.setExtraStackFrame(null)}function Pl(e,t,l,c,v){{var m=Function.call.bind(bt);for(var S in e)if(m(e,S)){var T=void 0;try{if(typeof e[S]!="function"){var _=Error((c||"React class")+": "+l+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw _.name="Invariant Violation",_}T=e[S](t,S,c,l,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(L){T=L}T&&!(T instanceof Error)&&(fb(v),d("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",c||"React class",l,S,typeof T),fb(null)),T instanceof Error&&!(T.message in ZM)&&(ZM[T.message]=!0,fb(v),d("Failed %s type: %s",l,T.message),fb(null))}}}var Ww=[],db;db=[];var ds=-1;function sc(e){return{current:e}}function Di(e,t){if(ds<0){d("Unexpected pop.");return}t!==db[ds]&&d("Unexpected Fiber popped."),e.current=Ww[ds],Ww[ds]=null,db[ds]=null,ds--}function Pi(e,t,l){ds++,Ww[ds]=e.current,db[ds]=l,e.current=t}var Yw;Yw={};var Lo={};Object.freeze(Lo);var vs=sc(Lo),mu=sc(!1),Kw=Lo;function qv(e,t,l){return l&&gu(t)?Kw:vs.current}function eN(e,t,l){{var c=e.stateNode;c.__reactInternalMemoizedUnmaskedChildContext=t,c.__reactInternalMemoizedMaskedChildContext=l}}function Gv(e,t){{var l=e.type,c=l.contextTypes;if(!c)return Lo;var v=e.stateNode;if(v&&v.__reactInternalMemoizedUnmaskedChildContext===t)return v.__reactInternalMemoizedMaskedChildContext;var m={};for(var S in c)m[S]=t[S];{var T=kt(e)||"Unknown";Pl(c,m,"context",T)}return v&&eN(e,t,m),m}}function vb(){return mu.current}function gu(e){{var t=e.childContextTypes;return t!=null}}function pb(e){Di(mu,e),Di(vs,e)}function qw(e){Di(mu,e),Di(vs,e)}function tN(e,t,l){{if(vs.current!==Lo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Pi(vs,t,e),Pi(mu,l,e)}}function nN(e,t,l){{var c=e.stateNode,v=t.childContextTypes;if(typeof c.getChildContext!="function"){{var m=kt(e)||"Unknown";Yw[m]||(Yw[m]=!0,d("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",m,m))}return l}var S=c.getChildContext();for(var T in S)if(!(T in v))throw new Error((kt(e)||"Unknown")+'.getChildContext(): key "'+T+'" is not defined in childContextTypes.');{var _=kt(e)||"Unknown";Pl(v,S,"child context",_)}return Kt({},l,S)}}function hb(e){{var t=e.stateNode,l=t&&t.__reactInternalMemoizedMergedChildContext||Lo;return Kw=vs.current,Pi(vs,l,e),Pi(mu,mu.current,e),!0}}function rN(e,t,l){{var c=e.stateNode;if(!c)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(l){var v=nN(e,t,Kw);c.__reactInternalMemoizedMergedChildContext=v,Di(mu,e),Di(vs,e),Pi(vs,v,e),Pi(mu,l,e)}else Di(mu,e),Pi(mu,l,e)}}function HH(e){{if(!Yu(e)||e.tag!==C)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case R:return t.stateNode.context;case C:{var l=t.type;if(gu(l))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var cc=0,mb=1,ps=null,Gw=!1,Xw=!1;function aN(e){ps===null?ps=[e]:ps.push(e)}function UH(e){Gw=!0,aN(e)}function iN(){Gw&&fc()}function fc(){if(!Xw&&ps!==null){Xw=!0;var e=0,t=go();try{var l=!0,c=ps;for(na(ai);e<c.length;e++){var v=c[e];do v=v(l);while(v!==null)}ps=null,Gw=!1}catch(m){throw ps!==null&&(ps=ps.slice(e+1)),kh(nf,fc),m}finally{na(t),Xw=!1}}return null}var Xv=[],Qv=0,gb=null,yb=0,nl=[],rl=0,zf=null,hs=1,ms="";function BH(e){return Vf(),(e.flags&Yo)!==Ot}function WH(e){return Vf(),yb}function YH(){var e=ms,t=hs,l=t&~KH(t);return l.toString(32)+e}function jf(e,t){Vf(),Xv[Qv++]=yb,Xv[Qv++]=gb,gb=e,yb=t}function oN(e,t,l){Vf(),nl[rl++]=hs,nl[rl++]=ms,nl[rl++]=zf,zf=e;var c=hs,v=ms,m=bb(c)-1,S=c&~(1<<m),T=l+1,_=bb(t)+m;if(_>30){var L=m-m%5,j=(1<<L)-1,oe=(S&j).toString(32),ae=S>>L,ge=m-L,Ee=bb(t)+ge,Te=T<<ge,et=Te|ae,Lt=oe+v;hs=1<<Ee|et,ms=Lt}else{var Ct=T<<m,$n=Ct|S,wn=v;hs=1<<_|$n,ms=wn}}function Qw(e){Vf();var t=e.return;if(t!==null){var l=1,c=0;jf(e,l),oN(e,l,c)}}function bb(e){return 32-ea(e)}function KH(e){return 1<<bb(e)-1}function Zw(e){for(;e===gb;)gb=Xv[--Qv],Xv[Qv]=null,yb=Xv[--Qv],Xv[Qv]=null;for(;e===zf;)zf=nl[--rl],nl[rl]=null,ms=nl[--rl],nl[rl]=null,hs=nl[--rl],nl[rl]=null}function qH(){return Vf(),zf!==null?{id:hs,overflow:ms}:null}function GH(e,t){Vf(),nl[rl++]=hs,nl[rl++]=ms,nl[rl++]=zf,hs=t.id,ms=t.overflow,zf=e}function Vf(){si()||d("Expected to be hydrating. This is a bug in React. Please file an issue.")}var ui=null,al=null,Al=!1,Hf=!1,dc=null;function XH(){Al&&d("We should not be hydrating here. This is a bug in React. Please file a bug.")}function lN(){Hf=!0}function QH(){return Hf}function ZH(e){var t=e.stateNode.containerInfo;return al=mH(t),ui=e,Al=!0,dc=null,Hf=!1,!0}function JH(e,t,l){return al=gH(t),ui=e,Al=!0,dc=null,Hf=!1,l!==null&&GH(e,l),!0}function uN(e,t){switch(e.tag){case R:{OH(e.stateNode.containerInfo,t);break}case D:{var l=(e.mode&vn)!==_t;kH(e.type,e.memoizedProps,e.stateNode,t,l);break}case I:{var c=e.memoizedState;c.dehydrated!==null&&_H(c.dehydrated,t);break}}}function sN(e,t){uN(e,t);var l=rB();l.stateNode=t,l.return=e;var c=e.deletions;c===null?(e.deletions=[l],e.flags|=so):c.push(l)}function Jw(e,t){{if(Hf)return;switch(e.tag){case R:{var l=e.stateNode.containerInfo;switch(t.tag){case D:var c=t.type;t.pendingProps,MH(l,c);break;case N:var v=t.pendingProps;NH(l,v);break}break}case D:{var m=e.type,S=e.memoizedProps,T=e.stateNode;switch(t.tag){case D:{var _=t.type,L=t.pendingProps,j=(e.mode&vn)!==_t;AH(m,S,T,_,L,j);break}case N:{var oe=t.pendingProps,ae=(e.mode&vn)!==_t;$H(m,S,T,oe,ae);break}}break}case I:{var ge=e.memoizedState,Ee=ge.dehydrated;if(Ee!==null)switch(t.tag){case D:var Te=t.type;t.pendingProps,DH(Ee,Te);break;case N:var et=t.pendingProps;PH(Ee,et);break}break}default:return}}}function cN(e,t){t.flags=t.flags&-4097|Ur,Jw(e,t)}function fN(e,t){switch(e.tag){case D:{var l=e.type;e.pendingProps;var c=cH(t,l);return c!==null?(e.stateNode=c,ui=e,al=hH(c),!0):!1}case N:{var v=e.pendingProps,m=fH(t,v);return m!==null?(e.stateNode=m,ui=e,al=null,!0):!1}case I:{var S=dH(t);if(S!==null){var T={dehydrated:S,treeContext:qH(),retryLane:Wi};e.memoizedState=T;var _=aB(S);return _.return=e,e.child=_,ui=e,al=null,!0}return!1}default:return!1}}function e1(e){return(e.mode&vn)!==_t&&(e.flags&xt)===Ot}function t1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function n1(e){if(Al){var t=al;if(!t){e1(e)&&(Jw(ui,e),t1()),cN(ui,e),Al=!1,ui=e;return}var l=t;if(!fN(e,t)){e1(e)&&(Jw(ui,e),t1()),t=wm(l);var c=ui;if(!t||!fN(e,t)){cN(ui,e),Al=!1,ui=e;return}sN(c,l)}}}function eU(e,t,l){var c=e.stateNode,v=!Hf,m=yH(c,e.type,e.memoizedProps,t,l,e,v);return e.updateQueue=m,m!==null}function tU(e){var t=e.stateNode,l=e.memoizedProps,c=bH(t,l,e);if(c){var v=ui;if(v!==null)switch(v.tag){case R:{var m=v.stateNode.containerInfo,S=(v.mode&vn)!==_t;RH(m,t,l,S);break}case D:{var T=v.type,_=v.memoizedProps,L=v.stateNode,j=(v.mode&vn)!==_t;TH(T,_,L,t,l,j);break}}}return c}function nU(e){var t=e.memoizedState,l=t!==null?t.dehydrated:null;if(!l)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");SH(l,e)}function rU(e){var t=e.memoizedState,l=t!==null?t.dehydrated:null;if(!l)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return CH(l)}function dN(e){for(var t=e.return;t!==null&&t.tag!==D&&t.tag!==R&&t.tag!==I;)t=t.return;ui=t}function Sb(e){if(e!==ui)return!1;if(!Al)return dN(e),Al=!0,!1;if(e.tag!==R&&(e.tag!==D||xH(e.type)&&!Fw(e.type,e.memoizedProps))){var t=al;if(t)if(e1(e))vN(e),t1();else for(;t;)sN(e,t),t=wm(t)}return dN(e),e.tag===I?al=rU(e):al=ui?wm(e.stateNode):null,!0}function aU(){return Al&&al!==null}function vN(e){for(var t=al;t;)uN(e,t),t=wm(t)}function Zv(){ui=null,al=null,Al=!1,Hf=!1}function pN(){dc!==null&&(lP(dc),dc=null)}function si(){return Al}function r1(e){dc===null?dc=[e]:dc.push(e)}var iU=a.ReactCurrentBatchConfig,oU=null;function lU(){return iU.transition}var $l={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var uU=function(e){for(var t=null,l=e;l!==null;)l.mode&dr&&(t=l),l=l.return;return t},Uf=function(e){var t=[];return e.forEach(function(l){t.push(l)}),t.sort().join(", ")},Om=[],_m=[],km=[],Mm=[],Nm=[],Dm=[],Bf=new Set;$l.recordUnsafeLifecycleWarnings=function(e,t){Bf.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Om.push(e),e.mode&dr&&typeof t.UNSAFE_componentWillMount=="function"&&_m.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&km.push(e),e.mode&dr&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Mm.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Nm.push(e),e.mode&dr&&typeof t.UNSAFE_componentWillUpdate=="function"&&Dm.push(e))},$l.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Om.length>0&&(Om.forEach(function(ae){e.add(kt(ae)||"Component"),Bf.add(ae.type)}),Om=[]);var t=new Set;_m.length>0&&(_m.forEach(function(ae){t.add(kt(ae)||"Component"),Bf.add(ae.type)}),_m=[]);var l=new Set;km.length>0&&(km.forEach(function(ae){l.add(kt(ae)||"Component"),Bf.add(ae.type)}),km=[]);var c=new Set;Mm.length>0&&(Mm.forEach(function(ae){c.add(kt(ae)||"Component"),Bf.add(ae.type)}),Mm=[]);var v=new Set;Nm.length>0&&(Nm.forEach(function(ae){v.add(kt(ae)||"Component"),Bf.add(ae.type)}),Nm=[]);var m=new Set;if(Dm.length>0&&(Dm.forEach(function(ae){m.add(kt(ae)||"Component"),Bf.add(ae.type)}),Dm=[]),t.size>0){var S=Uf(t);d(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
101
-
102
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
103
-
104
- Please update the following components: %s`,S)}if(c.size>0){var T=Uf(c);d(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
105
-
106
- * Move data fetching code or side effects to componentDidUpdate.
107
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
108
-
109
- Please update the following components: %s`,T)}if(m.size>0){var _=Uf(m);d(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
110
-
111
- * Move data fetching code or side effects to componentDidUpdate.
112
-
113
- Please update the following components: %s`,_)}if(e.size>0){var L=Uf(e);p(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
114
-
115
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
116
- * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
117
-
118
- Please update the following components: %s`,L)}if(l.size>0){var j=Uf(l);p(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
119
-
120
- * Move data fetching code or side effects to componentDidUpdate.
121
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
122
- * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
123
-
124
- Please update the following components: %s`,j)}if(v.size>0){var oe=Uf(v);p(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
125
-
126
- * Move data fetching code or side effects to componentDidUpdate.
127
- * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
128
-
129
- Please update the following components: %s`,oe)}};var Cb=new Map,hN=new Set;$l.recordLegacyContextWarning=function(e,t){var l=uU(e);if(l===null){d("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!hN.has(e.type)){var c=Cb.get(l);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(c===void 0&&(c=[],Cb.set(l,c)),c.push(e))}},$l.flushLegacyContextWarning=function(){Cb.forEach(function(e,t){if(e.length!==0){var l=e[0],c=new Set;e.forEach(function(m){c.add(kt(m)||"Component"),hN.add(m.type)});var v=Uf(c);try{jn(l),d(`Legacy context API has been detected within a strict-mode tree.
130
-
131
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
132
-
133
- Please update the following components: %s
134
-
135
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,v)}finally{Xn()}}})},$l.discardPendingWarnings=function(){Om=[],_m=[],km=[],Mm=[],Nm=[],Dm=[],Cb=new Map}}var a1,i1,o1,l1,u1,mN=function(e,t){};a1=!1,i1=!1,o1={},l1={},u1={},mN=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var l=kt(t)||"Component";l1[l]||(l1[l]=!0,d('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function sU(e){return e.prototype&&e.prototype.isReactComponent}function Pm(e,t,l){var c=l.ref;if(c!==null&&typeof c!="function"&&typeof c!="object"){if((e.mode&dr||re)&&!(l._owner&&l._self&&l._owner.stateNode!==l._self)&&!(l._owner&&l._owner.tag!==C)&&!(typeof l.type=="function"&&!sU(l.type))&&l._owner){var v=kt(e)||"Component";o1[v]||(d('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',v,c),o1[v]=!0)}if(l._owner){var m=l._owner,S;if(m){var T=m;if(T.tag!==C)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");S=T.stateNode}if(!S)throw new Error("Missing owner for string ref "+c+". This error is likely caused by a bug in React. Please file an issue.");var _=S;rn(c,"ref");var L=""+c;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===L)return t.ref;var j=function(oe){var ae=_.refs;oe===null?delete ae[L]:ae[L]=oe};return j._stringRef=L,j}else{if(typeof c!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!l._owner)throw new Error("Element ref was specified as a string ("+c+`) but no owner was set. This could happen for one of the following reasons:
136
- 1. You may be adding a ref to a function component
137
- 2. You may be adding a ref to a component that was not created inside a component's render method
138
- 3. You have multiple copies of React loaded
139
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return c}function Eb(e,t){var l=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)+"). If you meant to render a collection of children, use an array instead.")}function wb(e){{var t=kt(e)||"Component";if(u1[t])return;u1[t]=!0,d("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function gN(e){var t=e._payload,l=e._init;return l(t)}function yN(e){function t(ve,Oe){if(e){var pe=ve.deletions;pe===null?(ve.deletions=[Oe],ve.flags|=so):pe.push(Oe)}}function l(ve,Oe){if(!e)return null;for(var pe=Oe;pe!==null;)t(ve,pe),pe=pe.sibling;return null}function c(ve,Oe){for(var pe=new Map,je=Oe;je!==null;)je.key!==null?pe.set(je.key,je):pe.set(je.index,je),je=je.sibling;return pe}function v(ve,Oe){var pe=Jf(ve,Oe);return pe.index=0,pe.sibling=null,pe}function m(ve,Oe,pe){if(ve.index=pe,!e)return ve.flags|=Yo,Oe;var je=ve.alternate;if(je!==null){var it=je.index;return it<Oe?(ve.flags|=Ur,Oe):it}else return ve.flags|=Ur,Oe}function S(ve){return e&&ve.alternate===null&&(ve.flags|=Ur),ve}function T(ve,Oe,pe,je){if(Oe===null||Oe.tag!==N){var it=rR(pe,ve.mode,je);return it.return=ve,it}else{var nt=v(Oe,pe);return nt.return=ve,nt}}function _(ve,Oe,pe,je){var it=pe.type;if(it===On)return j(ve,Oe,pe.props.children,je,pe.key);if(Oe!==null&&(Oe.elementType===it||wP(Oe,pe)||typeof it=="object"&&it!==null&&it.$$typeof===yt&&gN(it)===Oe.type)){var nt=v(Oe,pe.props);return nt.ref=Pm(ve,Oe,pe),nt.return=ve,nt._debugSource=pe._source,nt._debugOwner=pe._owner,nt}var qt=nR(pe,ve.mode,je);return qt.ref=Pm(ve,Oe,pe),qt.return=ve,qt}function L(ve,Oe,pe,je){if(Oe===null||Oe.tag!==O||Oe.stateNode.containerInfo!==pe.containerInfo||Oe.stateNode.implementation!==pe.implementation){var it=aR(pe,ve.mode,je);return it.return=ve,it}else{var nt=v(Oe,pe.children||[]);return nt.return=ve,nt}}function j(ve,Oe,pe,je,it){if(Oe===null||Oe.tag!==A){var nt=wc(pe,ve.mode,je,it);return nt.return=ve,nt}else{var qt=v(Oe,pe);return qt.return=ve,qt}}function oe(ve,Oe,pe){if(typeof Oe=="string"&&Oe!==""||typeof Oe=="number"){var je=rR(""+Oe,ve.mode,pe);return je.return=ve,je}if(typeof Oe=="object"&&Oe!==null){switch(Oe.$$typeof){case Ft:{var it=nR(Oe,ve.mode,pe);return it.ref=Pm(ve,null,Oe),it.return=ve,it}case Bt:{var nt=aR(Oe,ve.mode,pe);return nt.return=ve,nt}case yt:{var qt=Oe._payload,Qt=Oe._init;return oe(ve,Qt(qt),pe)}}if(cn(Oe)||At(Oe)){var pr=wc(Oe,ve.mode,pe,null);return pr.return=ve,pr}Eb(ve,Oe)}return typeof Oe=="function"&&wb(ve),null}function ae(ve,Oe,pe,je){var it=Oe!==null?Oe.key:null;if(typeof pe=="string"&&pe!==""||typeof pe=="number")return it!==null?null:T(ve,Oe,""+pe,je);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case Ft:return pe.key===it?_(ve,Oe,pe,je):null;case Bt:return pe.key===it?L(ve,Oe,pe,je):null;case yt:{var nt=pe._payload,qt=pe._init;return ae(ve,Oe,qt(nt),je)}}if(cn(pe)||At(pe))return it!==null?null:j(ve,Oe,pe,je,null);Eb(ve,pe)}return typeof pe=="function"&&wb(ve),null}function ge(ve,Oe,pe,je,it){if(typeof je=="string"&&je!==""||typeof je=="number"){var nt=ve.get(pe)||null;return T(Oe,nt,""+je,it)}if(typeof je=="object"&&je!==null){switch(je.$$typeof){case Ft:{var qt=ve.get(je.key===null?pe:je.key)||null;return _(Oe,qt,je,it)}case Bt:{var Qt=ve.get(je.key===null?pe:je.key)||null;return L(Oe,Qt,je,it)}case yt:var pr=je._payload,Wn=je._init;return ge(ve,Oe,pe,Wn(pr),it)}if(cn(je)||At(je)){var ha=ve.get(pe)||null;return j(Oe,ha,je,it,null)}Eb(Oe,je)}return typeof je=="function"&&wb(Oe),null}function Ee(ve,Oe,pe){{if(typeof ve!="object"||ve===null)return Oe;switch(ve.$$typeof){case Ft:case Bt:mN(ve,pe);var je=ve.key;if(typeof je!="string")break;if(Oe===null){Oe=new Set,Oe.add(je);break}if(!Oe.has(je)){Oe.add(je);break}d("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",je);break;case yt:var it=ve._payload,nt=ve._init;Ee(nt(it),Oe,pe);break}}return Oe}function Te(ve,Oe,pe,je){for(var it=null,nt=0;nt<pe.length;nt++){var qt=pe[nt];it=Ee(qt,it,ve)}for(var Qt=null,pr=null,Wn=Oe,ha=0,Yn=0,ia=null;Wn!==null&&Yn<pe.length;Yn++){Wn.index>Yn?(ia=Wn,Wn=null):ia=Wn.sibling;var $i=ae(ve,Wn,pe[Yn],je);if($i===null){Wn===null&&(Wn=ia);break}e&&Wn&&$i.alternate===null&&t(ve,Wn),ha=m($i,ha,Yn),pr===null?Qt=$i:pr.sibling=$i,pr=$i,Wn=ia}if(Yn===pe.length){if(l(ve,Wn),si()){var mi=Yn;jf(ve,mi)}return Qt}if(Wn===null){for(;Yn<pe.length;Yn++){var Io=oe(ve,pe[Yn],je);Io!==null&&(ha=m(Io,ha,Yn),pr===null?Qt=Io:pr.sibling=Io,pr=Io)}if(si()){var Qi=Yn;jf(ve,Qi)}return Qt}for(var Zi=c(ve,Wn);Yn<pe.length;Yn++){var Li=ge(Zi,ve,Yn,pe[Yn],je);Li!==null&&(e&&Li.alternate!==null&&Zi.delete(Li.key===null?Yn:Li.key),ha=m(Li,ha,Yn),pr===null?Qt=Li:pr.sibling=Li,pr=Li)}if(e&&Zi.forEach(function(gp){return t(ve,gp)}),si()){var ws=Yn;jf(ve,ws)}return Qt}function et(ve,Oe,pe,je){var it=At(pe);if(typeof it!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&pe[Symbol.toStringTag]==="Generator"&&(i1||d("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),i1=!0),pe.entries===it&&(a1||d("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),a1=!0);var nt=it.call(pe);if(nt)for(var qt=null,Qt=nt.next();!Qt.done;Qt=nt.next()){var pr=Qt.value;qt=Ee(pr,qt,ve)}}var Wn=it.call(pe);if(Wn==null)throw new Error("An iterable object provided no iterator.");for(var ha=null,Yn=null,ia=Oe,$i=0,mi=0,Io=null,Qi=Wn.next();ia!==null&&!Qi.done;mi++,Qi=Wn.next()){ia.index>mi?(Io=ia,ia=null):Io=ia.sibling;var Zi=ae(ve,ia,Qi.value,je);if(Zi===null){ia===null&&(ia=Io);break}e&&ia&&Zi.alternate===null&&t(ve,ia),$i=m(Zi,$i,mi),Yn===null?ha=Zi:Yn.sibling=Zi,Yn=Zi,ia=Io}if(Qi.done){if(l(ve,ia),si()){var Li=mi;jf(ve,Li)}return ha}if(ia===null){for(;!Qi.done;mi++,Qi=Wn.next()){var ws=oe(ve,Qi.value,je);ws!==null&&($i=m(ws,$i,mi),Yn===null?ha=ws:Yn.sibling=ws,Yn=ws)}if(si()){var gp=mi;jf(ve,gp)}return ha}for(var fg=c(ve,ia);!Qi.done;mi++,Qi=Wn.next()){var Ru=ge(fg,ve,mi,Qi.value,je);Ru!==null&&(e&&Ru.alternate!==null&&fg.delete(Ru.key===null?mi:Ru.key),$i=m(Ru,$i,mi),Yn===null?ha=Ru:Yn.sibling=Ru,Yn=Ru)}if(e&&fg.forEach(function($B){return t(ve,$B)}),si()){var AB=mi;jf(ve,AB)}return ha}function Lt(ve,Oe,pe,je){if(Oe!==null&&Oe.tag===N){l(ve,Oe.sibling);var it=v(Oe,pe);return it.return=ve,it}l(ve,Oe);var nt=rR(pe,ve.mode,je);return nt.return=ve,nt}function Ct(ve,Oe,pe,je){for(var it=pe.key,nt=Oe;nt!==null;){if(nt.key===it){var qt=pe.type;if(qt===On){if(nt.tag===A){l(ve,nt.sibling);var Qt=v(nt,pe.props.children);return Qt.return=ve,Qt._debugSource=pe._source,Qt._debugOwner=pe._owner,Qt}}else if(nt.elementType===qt||wP(nt,pe)||typeof qt=="object"&&qt!==null&&qt.$$typeof===yt&&gN(qt)===nt.type){l(ve,nt.sibling);var pr=v(nt,pe.props);return pr.ref=Pm(ve,nt,pe),pr.return=ve,pr._debugSource=pe._source,pr._debugOwner=pe._owner,pr}l(ve,nt);break}else t(ve,nt);nt=nt.sibling}if(pe.type===On){var Wn=wc(pe.props.children,ve.mode,je,pe.key);return Wn.return=ve,Wn}else{var ha=nR(pe,ve.mode,je);return ha.ref=Pm(ve,Oe,pe),ha.return=ve,ha}}function $n(ve,Oe,pe,je){for(var it=pe.key,nt=Oe;nt!==null;){if(nt.key===it)if(nt.tag===O&&nt.stateNode.containerInfo===pe.containerInfo&&nt.stateNode.implementation===pe.implementation){l(ve,nt.sibling);var qt=v(nt,pe.children||[]);return qt.return=ve,qt}else{l(ve,nt);break}else t(ve,nt);nt=nt.sibling}var Qt=aR(pe,ve.mode,je);return Qt.return=ve,Qt}function wn(ve,Oe,pe,je){var it=typeof pe=="object"&&pe!==null&&pe.type===On&&pe.key===null;if(it&&(pe=pe.props.children),typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case Ft:return S(Ct(ve,Oe,pe,je));case Bt:return S($n(ve,Oe,pe,je));case yt:var nt=pe._payload,qt=pe._init;return wn(ve,Oe,qt(nt),je)}if(cn(pe))return Te(ve,Oe,pe,je);if(At(pe))return et(ve,Oe,pe,je);Eb(ve,pe)}return typeof pe=="string"&&pe!==""||typeof pe=="number"?S(Lt(ve,Oe,""+pe,je)):(typeof pe=="function"&&wb(ve),l(ve,Oe))}return wn}var Jv=yN(!0),bN=yN(!1);function cU(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var l=t.child,c=Jf(l,l.pendingProps);for(t.child=c,c.return=t;l.sibling!==null;)l=l.sibling,c=c.sibling=Jf(l,l.pendingProps),c.return=t;c.sibling=null}}function fU(e,t){for(var l=e.child;l!==null;)Z6(l,t),l=l.sibling}var s1=sc(null),c1;c1={};var xb=null,ep=null,f1=null,Rb=!1;function Tb(){xb=null,ep=null,f1=null,Rb=!1}function SN(){Rb=!0}function CN(){Rb=!1}function EN(e,t,l){Pi(s1,t._currentValue,e),t._currentValue=l,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==c1&&d("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=c1}function d1(e,t){var l=s1.current;Di(s1,t),e._currentValue=l}function v1(e,t,l){for(var c=e;c!==null;){var v=c.alternate;if(is(c.childLanes,t)?v!==null&&!is(v.childLanes,t)&&(v.childLanes=tn(v.childLanes,t)):(c.childLanes=tn(c.childLanes,t),v!==null&&(v.childLanes=tn(v.childLanes,t))),c===l)break;c=c.return}c!==l&&d("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function dU(e,t,l){vU(e,t,l)}function vU(e,t,l){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var v=void 0,m=c.dependencies;if(m!==null){v=c.child;for(var S=m.firstContext;S!==null;){if(S.context===t){if(c.tag===C){var T=gf(l),_=gs(mr,T);_.tag=_b;var L=c.updateQueue;if(L!==null){var j=L.shared,oe=j.pending;oe===null?_.next=_:(_.next=oe.next,oe.next=_),j.pending=_}}c.lanes=tn(c.lanes,l);var ae=c.alternate;ae!==null&&(ae.lanes=tn(ae.lanes,l)),v1(c.return,l,e),m.lanes=tn(m.lanes,l);break}S=S.next}}else if(c.tag===$)v=c.type===e.type?null:c.child;else if(c.tag===U){var ge=c.return;if(ge===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ge.lanes=tn(ge.lanes,l);var Ee=ge.alternate;Ee!==null&&(Ee.lanes=tn(Ee.lanes,l)),v1(ge,l,e),v=c.sibling}else v=c.child;if(v!==null)v.return=c;else for(v=c;v!==null;){if(v===e){v=null;break}var Te=v.sibling;if(Te!==null){Te.return=v.return,v=Te;break}v=v.return}c=v}}function tp(e,t){xb=e,ep=null,f1=null;var l=e.dependencies;if(l!==null){var c=l.firstContext;c!==null&&(_i(l.lanes,t)&&qm(),l.firstContext=null)}}function Ra(e){Rb&&d("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(f1!==e){var l={context:e,memoizedValue:t,next:null};if(ep===null){if(xb===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");ep=l,xb.dependencies={lanes:Ne,firstContext:l}}else ep=ep.next=l}return t}var Wf=null;function p1(e){Wf===null?Wf=[e]:Wf.push(e)}function pU(){if(Wf!==null){for(var e=0;e<Wf.length;e++){var t=Wf[e],l=t.interleaved;if(l!==null){t.interleaved=null;var c=l.next,v=t.pending;if(v!==null){var m=v.next;v.next=c,l.next=m}t.pending=l}}Wf=null}}function wN(e,t,l,c){var v=t.interleaved;return v===null?(l.next=l,p1(t)):(l.next=v.next,v.next=l),t.interleaved=l,Ob(e,c)}function hU(e,t,l,c){var v=t.interleaved;v===null?(l.next=l,p1(t)):(l.next=v.next,v.next=l),t.interleaved=l}function mU(e,t,l,c){var v=t.interleaved;return v===null?(l.next=l,p1(t)):(l.next=v.next,v.next=l),t.interleaved=l,Ob(e,c)}function So(e,t){return Ob(e,t)}var gU=Ob;function Ob(e,t){e.lanes=tn(e.lanes,t);var l=e.alternate;l!==null&&(l.lanes=tn(l.lanes,t)),l===null&&(e.flags&(Ur|co))!==Ot&&bP(e);for(var c=e,v=e.return;v!==null;)v.childLanes=tn(v.childLanes,t),l=v.alternate,l!==null?l.childLanes=tn(l.childLanes,t):(v.flags&(Ur|co))!==Ot&&bP(e),c=v,v=v.return;if(c.tag===R){var m=c.stateNode;return m}else return null}var xN=0,RN=1,_b=2,h1=3,kb=!1,m1,Mb;m1=!1,Mb=null;function g1(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Ne},effects:null};e.updateQueue=t}function TN(e,t){var l=t.updateQueue,c=e.updateQueue;if(l===c){var v={baseState:c.baseState,firstBaseUpdate:c.firstBaseUpdate,lastBaseUpdate:c.lastBaseUpdate,shared:c.shared,effects:c.effects};t.updateQueue=v}}function gs(e,t){var l={eventTime:e,lane:t,tag:xN,payload:null,callback:null,next:null};return l}function vc(e,t,l){var c=e.updateQueue;if(c===null)return null;var v=c.shared;if(Mb===v&&!m1&&(d("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),m1=!0),h6()){var m=v.pending;return m===null?t.next=t:(t.next=m.next,m.next=t),v.pending=t,gU(e,l)}else return mU(e,v,t,l)}function Nb(e,t,l){var c=t.updateQueue;if(c!==null){var v=c.shared;if(Yh(l)){var m=v.lanes;m=qh(m,e.pendingLanes);var S=tn(m,l);v.lanes=S,Ov(e,S)}}}function y1(e,t){var l=e.updateQueue,c=e.alternate;if(c!==null){var v=c.updateQueue;if(l===v){var m=null,S=null,T=l.firstBaseUpdate;if(T!==null){var _=T;do{var L={eventTime:_.eventTime,lane:_.lane,tag:_.tag,payload:_.payload,callback:_.callback,next:null};S===null?m=S=L:(S.next=L,S=L),_=_.next}while(_!==null);S===null?m=S=t:(S.next=t,S=t)}else m=S=t;l={baseState:v.baseState,firstBaseUpdate:m,lastBaseUpdate:S,shared:v.shared,effects:v.effects},e.updateQueue=l;return}}var j=l.lastBaseUpdate;j===null?l.firstBaseUpdate=t:j.next=t,l.lastBaseUpdate=t}function yU(e,t,l,c,v,m){switch(l.tag){case RN:{var S=l.payload;if(typeof S=="function"){SN();var T=S.call(m,c,v);{if(e.mode&dr){Lr(!0);try{S.call(m,c,v)}finally{Lr(!1)}}CN()}return T}return S}case h1:e.flags=e.flags&-65537|xt;case xN:{var _=l.payload,L;if(typeof _=="function"){SN(),L=_.call(m,c,v);{if(e.mode&dr){Lr(!0);try{_.call(m,c,v)}finally{Lr(!1)}}CN()}}else L=_;return L==null?c:Kt({},c,L)}case _b:return kb=!0,c}return c}function Db(e,t,l,c){var v=e.updateQueue;kb=!1,Mb=v.shared;var m=v.firstBaseUpdate,S=v.lastBaseUpdate,T=v.shared.pending;if(T!==null){v.shared.pending=null;var _=T,L=_.next;_.next=null,S===null?m=L:S.next=L,S=_;var j=e.alternate;if(j!==null){var oe=j.updateQueue,ae=oe.lastBaseUpdate;ae!==S&&(ae===null?oe.firstBaseUpdate=L:ae.next=L,oe.lastBaseUpdate=_)}}if(m!==null){var ge=v.baseState,Ee=Ne,Te=null,et=null,Lt=null,Ct=m;do{var $n=Ct.lane,wn=Ct.eventTime;if(is(c,$n)){if(Lt!==null){var Oe={eventTime:wn,lane:Vn,tag:Ct.tag,payload:Ct.payload,callback:Ct.callback,next:null};Lt=Lt.next=Oe}ge=yU(e,v,Ct,ge,t,l);var pe=Ct.callback;if(pe!==null&&Ct.lane!==Vn){e.flags|=Er;var je=v.effects;je===null?v.effects=[Ct]:je.push(Ct)}}else{var ve={eventTime:wn,lane:$n,tag:Ct.tag,payload:Ct.payload,callback:Ct.callback,next:null};Lt===null?(et=Lt=ve,Te=ge):Lt=Lt.next=ve,Ee=tn(Ee,$n)}if(Ct=Ct.next,Ct===null){if(T=v.shared.pending,T===null)break;var it=T,nt=it.next;it.next=null,Ct=nt,v.lastBaseUpdate=it,v.shared.pending=null}}while(!0);Lt===null&&(Te=ge),v.baseState=Te,v.firstBaseUpdate=et,v.lastBaseUpdate=Lt;var qt=v.shared.interleaved;if(qt!==null){var Qt=qt;do Ee=tn(Ee,Qt.lane),Qt=Qt.next;while(Qt!==qt)}else m===null&&(v.shared.lanes=Ne);og(Ee),e.lanes=Ee,e.memoizedState=ge}Mb=null}function bU(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function ON(){kb=!1}function Pb(){return kb}function _N(e,t,l){var c=t.effects;if(t.effects=null,c!==null)for(var v=0;v<c.length;v++){var m=c[v],S=m.callback;S!==null&&(m.callback=null,bU(S,l))}}var Am={},pc=sc(Am),$m=sc(Am),Ab=sc(Am);function $b(e){if(e===Am)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function kN(){var e=$b(Ab.current);return e}function b1(e,t){Pi(Ab,t,e),Pi($m,e,e),Pi(pc,Am,e);var l=L5(t);Di(pc,e),Pi(pc,l,e)}function np(e){Di(pc,e),Di($m,e),Di(Ab,e)}function S1(){var e=$b(pc.current);return e}function MN(e){$b(Ab.current);var t=$b(pc.current),l=F5(t,e.type);t!==l&&(Pi($m,e,e),Pi(pc,l,e))}function C1(e){$m.current===e&&(Di(pc,e),Di($m,e))}var SU=0,NN=1,DN=1,Lm=2,Ll=sc(SU);function E1(e,t){return(e&t)!==0}function rp(e){return e&NN}function w1(e,t){return e&NN|t}function CU(e,t){return e|t}function hc(e,t){Pi(Ll,t,e)}function ap(e){Di(Ll,e)}function EU(e,t){var l=e.memoizedState;return l!==null?l.dehydrated!==null:(e.memoizedProps,!0)}function Lb(e){for(var t=e;t!==null;){if(t.tag===I){var l=t.memoizedState;if(l!==null){var c=l.dehydrated;if(c===null||GM(c)||Vw(c))return t}}else if(t.tag===q&&t.memoizedProps.revealOrder!==void 0){var v=(t.flags&xt)!==Ot;if(v)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Co=0,Ia=1,yu=2,za=4,ci=8,x1=[];function R1(){for(var e=0;e<x1.length;e++){var t=x1[e];t._workInProgressVersionPrimary=null}x1.length=0}function wU(e,t){var l=t._getVersion,c=l(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,c]:e.mutableSourceEagerHydrationData.push(t,c)}var at=a.ReactCurrentDispatcher,Fm=a.ReactCurrentBatchConfig,T1,ip;T1=new Set;var Yf=Ne,vr=null,ja=null,Va=null,Fb=!1,Im=!1,zm=0,xU=0,RU=25,ke=null,il=null,mc=-1,O1=!1;function er(){{var e=ke;il===null?il=[e]:il.push(e)}}function Ge(){{var e=ke;il!==null&&(mc++,il[mc]!==e&&TU(e))}}function op(e){e!=null&&!cn(e)&&d("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ke,typeof e)}function TU(e){{var t=kt(vr);if(!T1.has(t)&&(T1.add(t),il!==null)){for(var l="",c=30,v=0;v<=mc;v++){for(var m=il[v],S=v===mc?e:m,T=v+1+". "+m;T.length<c;)T+=" ";T+=S+`
140
- `,l+=T}d(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
141
-
142
- Previous render Next render
143
- ------------------------------------------------------
144
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
145
- `,t,l)}}}function Ai(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
146
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
147
- 2. You might be breaking the Rules of Hooks
148
- 3. You might have more than one copy of React in the same app
149
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function _1(e,t){if(O1)return!1;if(t===null)return d("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ke),!1;e.length!==t.length&&d(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
150
-
151
- Previous: %s
152
- Incoming: %s`,ke,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var l=0;l<t.length&&l<e.length;l++)if(!$e(e[l],t[l]))return!1;return!0}function lp(e,t,l,c,v,m){Yf=m,vr=t,il=e!==null?e._debugHookTypes:null,mc=-1,O1=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Ne,e!==null&&e.memoizedState!==null?at.current=eD:il!==null?at.current=JN:at.current=ZN;var S=l(c,v);if(Im){var T=0;do{if(Im=!1,zm=0,T>=RU)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");T+=1,O1=!1,ja=null,Va=null,t.updateQueue=null,mc=-1,at.current=tD,S=l(c,v)}while(Im)}at.current=Xb,t._debugHookTypes=il;var _=ja!==null&&ja.next!==null;if(Yf=Ne,vr=null,ja=null,Va=null,ke=null,il=null,mc=-1,e!==null&&(e.flags&Jr)!==(t.flags&Jr)&&(e.mode&vn)!==_t&&d("Internal React error: Expected static flag was missing. Please notify the React team."),Fb=!1,_)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return S}function up(){var e=zm!==0;return zm=0,e}function PN(e,t,l){t.updateQueue=e.updateQueue,(t.mode&Un)!==_t?t.flags&=-50333701:t.flags&=-2053,e.lanes=yf(e.lanes,l)}function AN(){if(at.current=Xb,Fb){for(var e=vr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Fb=!1}Yf=Ne,vr=null,ja=null,Va=null,il=null,mc=-1,ke=null,KN=!1,Im=!1,zm=0}function bu(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Va===null?vr.memoizedState=Va=e:Va=Va.next=e,Va}function ol(){var e;if(ja===null){var t=vr.alternate;t!==null?e=t.memoizedState:e=null}else e=ja.next;var l;if(Va===null?l=vr.memoizedState:l=Va.next,l!==null)Va=l,l=Va.next,ja=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");ja=e;var c={memoizedState:ja.memoizedState,baseState:ja.baseState,baseQueue:ja.baseQueue,queue:ja.queue,next:null};Va===null?vr.memoizedState=Va=c:Va=Va.next=c}return Va}function $N(){return{lastEffect:null,stores:null}}function k1(e,t){return typeof t=="function"?t(e):t}function M1(e,t,l){var c=bu(),v;l!==void 0?v=l(t):v=t,c.memoizedState=c.baseState=v;var m={pending:null,interleaved:null,lanes:Ne,dispatch:null,lastRenderedReducer:e,lastRenderedState:v};c.queue=m;var S=m.dispatch=MU.bind(null,vr,m);return[c.memoizedState,S]}function N1(e,t,l){var c=ol(),v=c.queue;if(v===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");v.lastRenderedReducer=e;var m=ja,S=m.baseQueue,T=v.pending;if(T!==null){if(S!==null){var _=S.next,L=T.next;S.next=L,T.next=_}m.baseQueue!==S&&d("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),m.baseQueue=S=T,v.pending=null}if(S!==null){var j=S.next,oe=m.baseState,ae=null,ge=null,Ee=null,Te=j;do{var et=Te.lane;if(is(Yf,et)){if(Ee!==null){var Ct={lane:Vn,action:Te.action,hasEagerState:Te.hasEagerState,eagerState:Te.eagerState,next:null};Ee=Ee.next=Ct}if(Te.hasEagerState)oe=Te.eagerState;else{var $n=Te.action;oe=e(oe,$n)}}else{var Lt={lane:et,action:Te.action,hasEagerState:Te.hasEagerState,eagerState:Te.eagerState,next:null};Ee===null?(ge=Ee=Lt,ae=oe):Ee=Ee.next=Lt,vr.lanes=tn(vr.lanes,et),og(et)}Te=Te.next}while(Te!==null&&Te!==j);Ee===null?ae=oe:Ee.next=ge,$e(oe,c.memoizedState)||qm(),c.memoizedState=oe,c.baseState=ae,c.baseQueue=Ee,v.lastRenderedState=oe}var wn=v.interleaved;if(wn!==null){var ve=wn;do{var Oe=ve.lane;vr.lanes=tn(vr.lanes,Oe),og(Oe),ve=ve.next}while(ve!==wn)}else S===null&&(v.lanes=Ne);var pe=v.dispatch;return[c.memoizedState,pe]}function D1(e,t,l){var c=ol(),v=c.queue;if(v===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");v.lastRenderedReducer=e;var m=v.dispatch,S=v.pending,T=c.memoizedState;if(S!==null){v.pending=null;var _=S.next,L=_;do{var j=L.action;T=e(T,j),L=L.next}while(L!==_);$e(T,c.memoizedState)||qm(),c.memoizedState=T,c.baseQueue===null&&(c.baseState=T),v.lastRenderedState=T}return[T,m]}function BB(e,t,l){}function WB(e,t,l){}function P1(e,t,l){var c=vr,v=bu(),m,S=si();if(S){if(l===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");m=l(),ip||m!==l()&&(d("The result of getServerSnapshot should be cached to avoid an infinite loop"),ip=!0)}else{if(m=t(),!ip){var T=t();$e(m,T)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),ip=!0)}var _=hS();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Rv(_,Yf)||LN(c,t,m)}v.memoizedState=m;var L={value:m,getSnapshot:t};return v.queue=L,Hb(IN.bind(null,c,L,e),[e]),c.flags|=wi,jm(Ia|ci,FN.bind(null,c,L,m,t),void 0,null),m}function Ib(e,t,l){var c=vr,v=ol(),m=t();if(!ip){var S=t();$e(m,S)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),ip=!0)}var T=v.memoizedState,_=!$e(T,m);_&&(v.memoizedState=m,qm());var L=v.queue;if(Hm(IN.bind(null,c,L,e),[e]),L.getSnapshot!==t||_||Va!==null&&Va.memoizedState.tag&Ia){c.flags|=wi,jm(Ia|ci,FN.bind(null,c,L,m,t),void 0,null);var j=hS();if(j===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Rv(j,Yf)||LN(c,t,m)}return m}function LN(e,t,l){e.flags|=Ks;var c={getSnapshot:t,value:l},v=vr.updateQueue;if(v===null)v=$N(),vr.updateQueue=v,v.stores=[c];else{var m=v.stores;m===null?v.stores=[c]:m.push(c)}}function FN(e,t,l,c){t.value=l,t.getSnapshot=c,zN(t)&&jN(e)}function IN(e,t,l){var c=function(){zN(t)&&jN(e)};return l(c)}function zN(e){var t=e.getSnapshot,l=e.value;try{var c=t();return!$e(l,c)}catch{return!0}}function jN(e){var t=So(e,Wt);t!==null&&Wa(t,e,Wt,mr)}function zb(e){var t=bu();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var l={pending:null,interleaved:null,lanes:Ne,dispatch:null,lastRenderedReducer:k1,lastRenderedState:e};t.queue=l;var c=l.dispatch=NU.bind(null,vr,l);return[t.memoizedState,c]}function A1(e){return N1(k1)}function $1(e){return D1(k1)}function jm(e,t,l,c){var v={tag:e,create:t,destroy:l,deps:c,next:null},m=vr.updateQueue;if(m===null)m=$N(),vr.updateQueue=m,m.lastEffect=v.next=v;else{var S=m.lastEffect;if(S===null)m.lastEffect=v.next=v;else{var T=S.next;S.next=v,v.next=T,m.lastEffect=v}}return v}function L1(e){var t=bu();{var l={current:e};return t.memoizedState=l,l}}function jb(e){var t=ol();return t.memoizedState}function Vm(e,t,l,c){var v=bu(),m=c===void 0?null:c;vr.flags|=e,v.memoizedState=jm(Ia|t,l,void 0,m)}function Vb(e,t,l,c){var v=ol(),m=c===void 0?null:c,S=void 0;if(ja!==null){var T=ja.memoizedState;if(S=T.destroy,m!==null){var _=T.deps;if(_1(m,_)){v.memoizedState=jm(t,l,S,m);return}}}vr.flags|=e,v.memoizedState=jm(Ia|t,l,S,m)}function Hb(e,t){return(vr.mode&Un)!==_t?Vm(Ko|wi|Zd,ci,e,t):Vm(wi|Zd,ci,e,t)}function Hm(e,t){return Vb(wi,ci,e,t)}function F1(e,t){return Vm(Dn,yu,e,t)}function Ub(e,t){return Vb(Dn,yu,e,t)}function I1(e,t){var l=Dn;return l|=xl,(vr.mode&Un)!==_t&&(l|=eu),Vm(l,za,e,t)}function Bb(e,t){return Vb(Dn,za,e,t)}function VN(e,t){if(typeof t=="function"){var l=t,c=e();return l(c),function(){l(null)}}else if(t!=null){var v=t;v.hasOwnProperty("current")||d("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(v).join(", ")+"}");var m=e();return v.current=m,function(){v.current=null}}}function z1(e,t,l){typeof t!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var c=l!=null?l.concat([e]):null,v=Dn;return v|=xl,(vr.mode&Un)!==_t&&(v|=eu),Vm(v,za,VN.bind(null,t,e),c)}function Wb(e,t,l){typeof t!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var c=l!=null?l.concat([e]):null;return Vb(Dn,za,VN.bind(null,t,e),c)}function OU(e,t){}var Yb=OU;function j1(e,t){var l=bu(),c=t===void 0?null:t;return l.memoizedState=[e,c],e}function Kb(e,t){var l=ol(),c=t===void 0?null:t,v=l.memoizedState;if(v!==null&&c!==null){var m=v[1];if(_1(c,m))return v[0]}return l.memoizedState=[e,c],e}function V1(e,t){var l=bu(),c=t===void 0?null:t,v=e();return l.memoizedState=[v,c],v}function qb(e,t){var l=ol(),c=t===void 0?null:t,v=l.memoizedState;if(v!==null&&c!==null){var m=v[1];if(_1(c,m))return v[0]}var S=e();return l.memoizedState=[S,c],S}function H1(e){var t=bu();return t.memoizedState=e,e}function HN(e){var t=ol(),l=ja,c=l.memoizedState;return BN(t,c,e)}function UN(e){var t=ol();if(ja===null)return t.memoizedState=e,e;var l=ja.memoizedState;return BN(t,l,e)}function BN(e,t,l){var c=!Bh(Yf);if(c){if(!$e(l,t)){var v=Kh();vr.lanes=tn(vr.lanes,v),og(v),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,qm()),e.memoizedState=l,l}function _U(e,t,l){var c=go();na(R0(c,Qo)),e(!0);var v=Fm.transition;Fm.transition={};var m=Fm.transition;Fm.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(na(c),Fm.transition=v,v===null&&m._updatedFibers){var S=m._updatedFibers.size;S>10&&p("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),m._updatedFibers.clear()}}}function U1(){var e=zb(!1),t=e[0],l=e[1],c=_U.bind(null,l),v=bu();return v.memoizedState=c,[t,c]}function WN(){var e=A1(),t=e[0],l=ol(),c=l.memoizedState;return[t,c]}function YN(){var e=$1(),t=e[0],l=ol(),c=l.memoizedState;return[t,c]}var KN=!1;function kU(){return KN}function B1(){var e=bu(),t=hS(),l=t.identifierPrefix,c;if(si()){var v=YH();c=":"+l+"R"+v;var m=zm++;m>0&&(c+="H"+m.toString(32)),c+=":"}else{var S=xU++;c=":"+l+"r"+S.toString(32)+":"}return e.memoizedState=c,c}function Gb(){var e=ol(),t=e.memoizedState;return t}function MU(e,t,l){typeof arguments[3]=="function"&&d("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var c=Cc(e),v={lane:c,action:l,hasEagerState:!1,eagerState:null,next:null};if(qN(e))GN(t,v);else{var m=wN(e,t,v,c);if(m!==null){var S=Xi();Wa(m,e,c,S),XN(m,t,c)}}QN(e,c)}function NU(e,t,l){typeof arguments[3]=="function"&&d("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var c=Cc(e),v={lane:c,action:l,hasEagerState:!1,eagerState:null,next:null};if(qN(e))GN(t,v);else{var m=e.alternate;if(e.lanes===Ne&&(m===null||m.lanes===Ne)){var S=t.lastRenderedReducer;if(S!==null){var T;T=at.current,at.current=Fl;try{var _=t.lastRenderedState,L=S(_,l);if(v.hasEagerState=!0,v.eagerState=L,$e(L,_)){hU(e,t,v,c);return}}catch{}finally{at.current=T}}}var j=wN(e,t,v,c);if(j!==null){var oe=Xi();Wa(j,e,c,oe),XN(j,t,c)}}QN(e,c)}function qN(e){var t=e.alternate;return e===vr||t!==null&&t===vr}function GN(e,t){Im=Fb=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function XN(e,t,l){if(Yh(l)){var c=t.lanes;c=qh(c,e.pendingLanes);var v=tn(c,l);t.lanes=v,Ov(e,v)}}function QN(e,t,l){uf(e,t)}var Xb={readContext:Ra,useCallback:Ai,useContext:Ai,useEffect:Ai,useImperativeHandle:Ai,useInsertionEffect:Ai,useLayoutEffect:Ai,useMemo:Ai,useReducer:Ai,useRef:Ai,useState:Ai,useDebugValue:Ai,useDeferredValue:Ai,useTransition:Ai,useMutableSource:Ai,useSyncExternalStore:Ai,useId:Ai,unstable_isNewReconciler:ne},ZN=null,JN=null,eD=null,tD=null,Su=null,Fl=null,Qb=null;{var W1=function(){d("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Xt=function(){d("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};ZN={readContext:function(e){return Ra(e)},useCallback:function(e,t){return ke="useCallback",er(),op(t),j1(e,t)},useContext:function(e){return ke="useContext",er(),Ra(e)},useEffect:function(e,t){return ke="useEffect",er(),op(t),Hb(e,t)},useImperativeHandle:function(e,t,l){return ke="useImperativeHandle",er(),op(l),z1(e,t,l)},useInsertionEffect:function(e,t){return ke="useInsertionEffect",er(),op(t),F1(e,t)},useLayoutEffect:function(e,t){return ke="useLayoutEffect",er(),op(t),I1(e,t)},useMemo:function(e,t){ke="useMemo",er(),op(t);var l=at.current;at.current=Su;try{return V1(e,t)}finally{at.current=l}},useReducer:function(e,t,l){ke="useReducer",er();var c=at.current;at.current=Su;try{return M1(e,t,l)}finally{at.current=c}},useRef:function(e){return ke="useRef",er(),L1(e)},useState:function(e){ke="useState",er();var t=at.current;at.current=Su;try{return zb(e)}finally{at.current=t}},useDebugValue:function(e,t){return ke="useDebugValue",er(),void 0},useDeferredValue:function(e){return ke="useDeferredValue",er(),H1(e)},useTransition:function(){return ke="useTransition",er(),U1()},useMutableSource:function(e,t,l){return ke="useMutableSource",er(),void 0},useSyncExternalStore:function(e,t,l){return ke="useSyncExternalStore",er(),P1(e,t,l)},useId:function(){return ke="useId",er(),B1()},unstable_isNewReconciler:ne},JN={readContext:function(e){return Ra(e)},useCallback:function(e,t){return ke="useCallback",Ge(),j1(e,t)},useContext:function(e){return ke="useContext",Ge(),Ra(e)},useEffect:function(e,t){return ke="useEffect",Ge(),Hb(e,t)},useImperativeHandle:function(e,t,l){return ke="useImperativeHandle",Ge(),z1(e,t,l)},useInsertionEffect:function(e,t){return ke="useInsertionEffect",Ge(),F1(e,t)},useLayoutEffect:function(e,t){return ke="useLayoutEffect",Ge(),I1(e,t)},useMemo:function(e,t){ke="useMemo",Ge();var l=at.current;at.current=Su;try{return V1(e,t)}finally{at.current=l}},useReducer:function(e,t,l){ke="useReducer",Ge();var c=at.current;at.current=Su;try{return M1(e,t,l)}finally{at.current=c}},useRef:function(e){return ke="useRef",Ge(),L1(e)},useState:function(e){ke="useState",Ge();var t=at.current;at.current=Su;try{return zb(e)}finally{at.current=t}},useDebugValue:function(e,t){return ke="useDebugValue",Ge(),void 0},useDeferredValue:function(e){return ke="useDeferredValue",Ge(),H1(e)},useTransition:function(){return ke="useTransition",Ge(),U1()},useMutableSource:function(e,t,l){return ke="useMutableSource",Ge(),void 0},useSyncExternalStore:function(e,t,l){return ke="useSyncExternalStore",Ge(),P1(e,t,l)},useId:function(){return ke="useId",Ge(),B1()},unstable_isNewReconciler:ne},eD={readContext:function(e){return Ra(e)},useCallback:function(e,t){return ke="useCallback",Ge(),Kb(e,t)},useContext:function(e){return ke="useContext",Ge(),Ra(e)},useEffect:function(e,t){return ke="useEffect",Ge(),Hm(e,t)},useImperativeHandle:function(e,t,l){return ke="useImperativeHandle",Ge(),Wb(e,t,l)},useInsertionEffect:function(e,t){return ke="useInsertionEffect",Ge(),Ub(e,t)},useLayoutEffect:function(e,t){return ke="useLayoutEffect",Ge(),Bb(e,t)},useMemo:function(e,t){ke="useMemo",Ge();var l=at.current;at.current=Fl;try{return qb(e,t)}finally{at.current=l}},useReducer:function(e,t,l){ke="useReducer",Ge();var c=at.current;at.current=Fl;try{return N1(e,t,l)}finally{at.current=c}},useRef:function(e){return ke="useRef",Ge(),jb()},useState:function(e){ke="useState",Ge();var t=at.current;at.current=Fl;try{return A1(e)}finally{at.current=t}},useDebugValue:function(e,t){return ke="useDebugValue",Ge(),Yb()},useDeferredValue:function(e){return ke="useDeferredValue",Ge(),HN(e)},useTransition:function(){return ke="useTransition",Ge(),WN()},useMutableSource:function(e,t,l){return ke="useMutableSource",Ge(),void 0},useSyncExternalStore:function(e,t,l){return ke="useSyncExternalStore",Ge(),Ib(e,t)},useId:function(){return ke="useId",Ge(),Gb()},unstable_isNewReconciler:ne},tD={readContext:function(e){return Ra(e)},useCallback:function(e,t){return ke="useCallback",Ge(),Kb(e,t)},useContext:function(e){return ke="useContext",Ge(),Ra(e)},useEffect:function(e,t){return ke="useEffect",Ge(),Hm(e,t)},useImperativeHandle:function(e,t,l){return ke="useImperativeHandle",Ge(),Wb(e,t,l)},useInsertionEffect:function(e,t){return ke="useInsertionEffect",Ge(),Ub(e,t)},useLayoutEffect:function(e,t){return ke="useLayoutEffect",Ge(),Bb(e,t)},useMemo:function(e,t){ke="useMemo",Ge();var l=at.current;at.current=Qb;try{return qb(e,t)}finally{at.current=l}},useReducer:function(e,t,l){ke="useReducer",Ge();var c=at.current;at.current=Qb;try{return D1(e,t,l)}finally{at.current=c}},useRef:function(e){return ke="useRef",Ge(),jb()},useState:function(e){ke="useState",Ge();var t=at.current;at.current=Qb;try{return $1(e)}finally{at.current=t}},useDebugValue:function(e,t){return ke="useDebugValue",Ge(),Yb()},useDeferredValue:function(e){return ke="useDeferredValue",Ge(),UN(e)},useTransition:function(){return ke="useTransition",Ge(),YN()},useMutableSource:function(e,t,l){return ke="useMutableSource",Ge(),void 0},useSyncExternalStore:function(e,t,l){return ke="useSyncExternalStore",Ge(),Ib(e,t)},useId:function(){return ke="useId",Ge(),Gb()},unstable_isNewReconciler:ne},Su={readContext:function(e){return W1(),Ra(e)},useCallback:function(e,t){return ke="useCallback",Xt(),er(),j1(e,t)},useContext:function(e){return ke="useContext",Xt(),er(),Ra(e)},useEffect:function(e,t){return ke="useEffect",Xt(),er(),Hb(e,t)},useImperativeHandle:function(e,t,l){return ke="useImperativeHandle",Xt(),er(),z1(e,t,l)},useInsertionEffect:function(e,t){return ke="useInsertionEffect",Xt(),er(),F1(e,t)},useLayoutEffect:function(e,t){return ke="useLayoutEffect",Xt(),er(),I1(e,t)},useMemo:function(e,t){ke="useMemo",Xt(),er();var l=at.current;at.current=Su;try{return V1(e,t)}finally{at.current=l}},useReducer:function(e,t,l){ke="useReducer",Xt(),er();var c=at.current;at.current=Su;try{return M1(e,t,l)}finally{at.current=c}},useRef:function(e){return ke="useRef",Xt(),er(),L1(e)},useState:function(e){ke="useState",Xt(),er();var t=at.current;at.current=Su;try{return zb(e)}finally{at.current=t}},useDebugValue:function(e,t){return ke="useDebugValue",Xt(),er(),void 0},useDeferredValue:function(e){return ke="useDeferredValue",Xt(),er(),H1(e)},useTransition:function(){return ke="useTransition",Xt(),er(),U1()},useMutableSource:function(e,t,l){return ke="useMutableSource",Xt(),er(),void 0},useSyncExternalStore:function(e,t,l){return ke="useSyncExternalStore",Xt(),er(),P1(e,t,l)},useId:function(){return ke="useId",Xt(),er(),B1()},unstable_isNewReconciler:ne},Fl={readContext:function(e){return W1(),Ra(e)},useCallback:function(e,t){return ke="useCallback",Xt(),Ge(),Kb(e,t)},useContext:function(e){return ke="useContext",Xt(),Ge(),Ra(e)},useEffect:function(e,t){return ke="useEffect",Xt(),Ge(),Hm(e,t)},useImperativeHandle:function(e,t,l){return ke="useImperativeHandle",Xt(),Ge(),Wb(e,t,l)},useInsertionEffect:function(e,t){return ke="useInsertionEffect",Xt(),Ge(),Ub(e,t)},useLayoutEffect:function(e,t){return ke="useLayoutEffect",Xt(),Ge(),Bb(e,t)},useMemo:function(e,t){ke="useMemo",Xt(),Ge();var l=at.current;at.current=Fl;try{return qb(e,t)}finally{at.current=l}},useReducer:function(e,t,l){ke="useReducer",Xt(),Ge();var c=at.current;at.current=Fl;try{return N1(e,t,l)}finally{at.current=c}},useRef:function(e){return ke="useRef",Xt(),Ge(),jb()},useState:function(e){ke="useState",Xt(),Ge();var t=at.current;at.current=Fl;try{return A1(e)}finally{at.current=t}},useDebugValue:function(e,t){return ke="useDebugValue",Xt(),Ge(),Yb()},useDeferredValue:function(e){return ke="useDeferredValue",Xt(),Ge(),HN(e)},useTransition:function(){return ke="useTransition",Xt(),Ge(),WN()},useMutableSource:function(e,t,l){return ke="useMutableSource",Xt(),Ge(),void 0},useSyncExternalStore:function(e,t,l){return ke="useSyncExternalStore",Xt(),Ge(),Ib(e,t)},useId:function(){return ke="useId",Xt(),Ge(),Gb()},unstable_isNewReconciler:ne},Qb={readContext:function(e){return W1(),Ra(e)},useCallback:function(e,t){return ke="useCallback",Xt(),Ge(),Kb(e,t)},useContext:function(e){return ke="useContext",Xt(),Ge(),Ra(e)},useEffect:function(e,t){return ke="useEffect",Xt(),Ge(),Hm(e,t)},useImperativeHandle:function(e,t,l){return ke="useImperativeHandle",Xt(),Ge(),Wb(e,t,l)},useInsertionEffect:function(e,t){return ke="useInsertionEffect",Xt(),Ge(),Ub(e,t)},useLayoutEffect:function(e,t){return ke="useLayoutEffect",Xt(),Ge(),Bb(e,t)},useMemo:function(e,t){ke="useMemo",Xt(),Ge();var l=at.current;at.current=Fl;try{return qb(e,t)}finally{at.current=l}},useReducer:function(e,t,l){ke="useReducer",Xt(),Ge();var c=at.current;at.current=Fl;try{return D1(e,t,l)}finally{at.current=c}},useRef:function(e){return ke="useRef",Xt(),Ge(),jb()},useState:function(e){ke="useState",Xt(),Ge();var t=at.current;at.current=Fl;try{return $1(e)}finally{at.current=t}},useDebugValue:function(e,t){return ke="useDebugValue",Xt(),Ge(),Yb()},useDeferredValue:function(e){return ke="useDeferredValue",Xt(),Ge(),UN(e)},useTransition:function(){return ke="useTransition",Xt(),Ge(),YN()},useMutableSource:function(e,t,l){return ke="useMutableSource",Xt(),Ge(),void 0},useSyncExternalStore:function(e,t,l){return ke="useSyncExternalStore",Xt(),Ge(),Ib(e,t)},useId:function(){return ke="useId",Xt(),Ge(),Gb()},unstable_isNewReconciler:ne}}var gc=i.unstable_now,nD=0,Zb=-1,Um=-1,Jb=-1,Y1=!1,eS=!1;function rD(){return Y1}function DU(){eS=!0}function PU(){Y1=!1,eS=!1}function AU(){Y1=eS,eS=!1}function aD(){return nD}function iD(){nD=gc()}function K1(e){Um=gc(),e.actualStartTime<0&&(e.actualStartTime=gc())}function oD(e){Um=-1}function tS(e,t){if(Um>=0){var l=gc()-Um;e.actualDuration+=l,t&&(e.selfBaseDuration=l),Um=-1}}function Cu(e){if(Zb>=0){var t=gc()-Zb;Zb=-1;for(var l=e.return;l!==null;){switch(l.tag){case R:var c=l.stateNode;c.effectDuration+=t;return;case z:var v=l.stateNode;v.effectDuration+=t;return}l=l.return}}}function q1(e){if(Jb>=0){var t=gc()-Jb;Jb=-1;for(var l=e.return;l!==null;){switch(l.tag){case R:var c=l.stateNode;c!==null&&(c.passiveEffectDuration+=t);return;case z:var v=l.stateNode;v!==null&&(v.passiveEffectDuration+=t);return}l=l.return}}}function Eu(){Zb=gc()}function G1(){Jb=gc()}function X1(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Il(e,t){if(e&&e.defaultProps){var l=Kt({},t),c=e.defaultProps;for(var v in c)l[v]===void 0&&(l[v]=c[v]);return l}return t}var Q1={},Z1,J1,ex,tx,nx,lD,nS,rx,ax,ix,Bm;{Z1=new Set,J1=new Set,ex=new Set,tx=new Set,rx=new Set,nx=new Set,ax=new Set,ix=new Set,Bm=new Set;var uD=new Set;nS=function(e,t){if(!(e===null||typeof e=="function")){var l=t+"_"+e;uD.has(l)||(uD.add(l),d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},lD=function(e,t){if(t===void 0){var l=sn(e)||"Component";nx.has(l)||(nx.add(l),d("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",l))}},Object.defineProperty(Q1,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Q1)}function ox(e,t,l,c){var v=e.memoizedState,m=l(c,v);{if(e.mode&dr){Lr(!0);try{m=l(c,v)}finally{Lr(!1)}}lD(t,m)}var S=m==null?v:Kt({},v,m);if(e.memoizedState=S,e.lanes===Ne){var T=e.updateQueue;T.baseState=S}}var lx={isMounted:s0,enqueueSetState:function(e,t,l){var c=Ys(e),v=Xi(),m=Cc(c),S=gs(v,m);S.payload=t,l!=null&&(nS(l,"setState"),S.callback=l);var T=vc(c,S,m);T!==null&&(Wa(T,c,m,v),Nb(T,c,m)),uf(c,m)},enqueueReplaceState:function(e,t,l){var c=Ys(e),v=Xi(),m=Cc(c),S=gs(v,m);S.tag=RN,S.payload=t,l!=null&&(nS(l,"replaceState"),S.callback=l);var T=vc(c,S,m);T!==null&&(Wa(T,c,m,v),Nb(T,c,m)),uf(c,m)},enqueueForceUpdate:function(e,t){var l=Ys(e),c=Xi(),v=Cc(l),m=gs(c,v);m.tag=_b,t!=null&&(nS(t,"forceUpdate"),m.callback=t);var S=vc(l,m,v);S!==null&&(Wa(S,l,v,c),Nb(S,l,v)),iv(l,v)}};function sD(e,t,l,c,v,m,S){var T=e.stateNode;if(typeof T.shouldComponentUpdate=="function"){var _=T.shouldComponentUpdate(c,m,S);{if(e.mode&dr){Lr(!0);try{_=T.shouldComponentUpdate(c,m,S)}finally{Lr(!1)}}_===void 0&&d("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",sn(t)||"Component")}return _}return t.prototype&&t.prototype.isPureReactComponent?!dt(l,c)||!dt(v,m):!0}function $U(e,t,l){var c=e.stateNode;{var v=sn(t)||"Component",m=c.render;m||(t.prototype&&typeof t.prototype.render=="function"?d("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",v):d("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",v)),c.getInitialState&&!c.getInitialState.isReactClassApproved&&!c.state&&d("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",v),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&d("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",v),c.propTypes&&d("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",v),c.contextType&&d("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",v),t.childContextTypes&&!Bm.has(t)&&(e.mode&dr)===_t&&(Bm.add(t),d(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
153
-
154
- .Learn more about this warning here: https://reactjs.org/link/legacy-context`,v)),t.contextTypes&&!Bm.has(t)&&(e.mode&dr)===_t&&(Bm.add(t),d(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
155
-
156
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,v)),c.contextTypes&&d("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",v),t.contextType&&t.contextTypes&&!ax.has(t)&&(ax.add(t),d("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",v)),typeof c.componentShouldUpdate=="function"&&d("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",v),t.prototype&&t.prototype.isPureReactComponent&&typeof c.shouldComponentUpdate<"u"&&d("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",sn(t)||"A pure component"),typeof c.componentDidUnmount=="function"&&d("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",v),typeof c.componentDidReceiveProps=="function"&&d("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",v),typeof c.componentWillRecieveProps=="function"&&d("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",v),typeof c.UNSAFE_componentWillRecieveProps=="function"&&d("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",v);var S=c.props!==l;c.props!==void 0&&S&&d("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",v,v),c.defaultProps&&d("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",v,v),typeof c.getSnapshotBeforeUpdate=="function"&&typeof c.componentDidUpdate!="function"&&!ex.has(t)&&(ex.add(t),d("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",sn(t))),typeof c.getDerivedStateFromProps=="function"&&d("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",v),typeof c.getDerivedStateFromError=="function"&&d("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",v),typeof t.getSnapshotBeforeUpdate=="function"&&d("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",v);var T=c.state;T&&(typeof T!="object"||cn(T))&&d("%s.state: must be set to an object or null",v),typeof c.getChildContext=="function"&&typeof t.childContextTypes!="object"&&d("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",v)}}function cD(e,t){t.updater=lx,e.stateNode=t,Wu(t,e),t._reactInternalInstance=Q1}function fD(e,t,l){var c=!1,v=Lo,m=Lo,S=t.contextType;if("contextType"in t){var T=S===null||S!==void 0&&S.$$typeof===G&&S._context===void 0;if(!T&&!ix.has(t)){ix.add(t);var _="";S===void 0?_=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof S!="object"?_=" However, it is set to a "+typeof S+".":S.$$typeof===Pr?_=" Did you accidentally pass the Context.Provider instead?":S._context!==void 0?_=" Did you accidentally pass the Context.Consumer instead?":_=" However, it is set to an object with keys {"+Object.keys(S).join(", ")+"}.",d("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",sn(t)||"Component",_)}}if(typeof S=="object"&&S!==null)m=Ra(S);else{v=qv(e,t,!0);var L=t.contextTypes;c=L!=null,m=c?Gv(e,v):Lo}var j=new t(l,m);if(e.mode&dr){Lr(!0);try{j=new t(l,m)}finally{Lr(!1)}}var oe=e.memoizedState=j.state!==null&&j.state!==void 0?j.state:null;cD(e,j);{if(typeof t.getDerivedStateFromProps=="function"&&oe===null){var ae=sn(t)||"Component";J1.has(ae)||(J1.add(ae),d("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",ae,j.state===null?"null":"undefined",ae))}if(typeof t.getDerivedStateFromProps=="function"||typeof j.getSnapshotBeforeUpdate=="function"){var ge=null,Ee=null,Te=null;if(typeof j.componentWillMount=="function"&&j.componentWillMount.__suppressDeprecationWarning!==!0?ge="componentWillMount":typeof j.UNSAFE_componentWillMount=="function"&&(ge="UNSAFE_componentWillMount"),typeof j.componentWillReceiveProps=="function"&&j.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Ee="componentWillReceiveProps":typeof j.UNSAFE_componentWillReceiveProps=="function"&&(Ee="UNSAFE_componentWillReceiveProps"),typeof j.componentWillUpdate=="function"&&j.componentWillUpdate.__suppressDeprecationWarning!==!0?Te="componentWillUpdate":typeof j.UNSAFE_componentWillUpdate=="function"&&(Te="UNSAFE_componentWillUpdate"),ge!==null||Ee!==null||Te!==null){var et=sn(t)||"Component",Lt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";tx.has(et)||(tx.add(et),d(`Unsafe legacy lifecycles will not be called for components using new component APIs.
157
-
158
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
159
-
160
- The above lifecycles should be removed. Learn more about this warning here:
161
- https://reactjs.org/link/unsafe-component-lifecycles`,et,Lt,ge!==null?`
162
- `+ge:"",Ee!==null?`
163
- `+Ee:"",Te!==null?`
164
- `+Te:""))}}}return c&&eN(e,v,m),j}function LU(e,t){var l=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),l!==t.state&&(d("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",kt(e)||"Component"),lx.enqueueReplaceState(t,t.state,null))}function dD(e,t,l,c){var v=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,c),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,c),t.state!==v){{var m=kt(e)||"Component";Z1.has(m)||(Z1.add(m),d("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",m))}lx.enqueueReplaceState(t,t.state,null)}}function ux(e,t,l,c){$U(e,t,l);var v=e.stateNode;v.props=l,v.state=e.memoizedState,v.refs={},g1(e);var m=t.contextType;if(typeof m=="object"&&m!==null)v.context=Ra(m);else{var S=qv(e,t,!0);v.context=Gv(e,S)}{if(v.state===l){var T=sn(t)||"Component";rx.has(T)||(rx.add(T),d("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",T))}e.mode&dr&&$l.recordLegacyContextWarning(e,v),$l.recordUnsafeLifecycleWarnings(e,v)}v.state=e.memoizedState;var _=t.getDerivedStateFromProps;if(typeof _=="function"&&(ox(e,t,_,l),v.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof v.getSnapshotBeforeUpdate!="function"&&(typeof v.UNSAFE_componentWillMount=="function"||typeof v.componentWillMount=="function")&&(LU(e,v),Db(e,l,v,c),v.state=e.memoizedState),typeof v.componentDidMount=="function"){var L=Dn;L|=xl,(e.mode&Un)!==_t&&(L|=eu),e.flags|=L}}function FU(e,t,l,c){var v=e.stateNode,m=e.memoizedProps;v.props=m;var S=v.context,T=t.contextType,_=Lo;if(typeof T=="object"&&T!==null)_=Ra(T);else{var L=qv(e,t,!0);_=Gv(e,L)}var j=t.getDerivedStateFromProps,oe=typeof j=="function"||typeof v.getSnapshotBeforeUpdate=="function";!oe&&(typeof v.UNSAFE_componentWillReceiveProps=="function"||typeof v.componentWillReceiveProps=="function")&&(m!==l||S!==_)&&dD(e,v,l,_),ON();var ae=e.memoizedState,ge=v.state=ae;if(Db(e,l,v,c),ge=e.memoizedState,m===l&&ae===ge&&!vb()&&!Pb()){if(typeof v.componentDidMount=="function"){var Ee=Dn;Ee|=xl,(e.mode&Un)!==_t&&(Ee|=eu),e.flags|=Ee}return!1}typeof j=="function"&&(ox(e,t,j,l),ge=e.memoizedState);var Te=Pb()||sD(e,t,m,l,ae,ge,_);if(Te){if(!oe&&(typeof v.UNSAFE_componentWillMount=="function"||typeof v.componentWillMount=="function")&&(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"){var et=Dn;et|=xl,(e.mode&Un)!==_t&&(et|=eu),e.flags|=et}}else{if(typeof v.componentDidMount=="function"){var Lt=Dn;Lt|=xl,(e.mode&Un)!==_t&&(Lt|=eu),e.flags|=Lt}e.memoizedProps=l,e.memoizedState=ge}return v.props=l,v.state=ge,v.context=_,Te}function IU(e,t,l,c,v){var m=t.stateNode;TN(e,t);var S=t.memoizedProps,T=t.type===t.elementType?S:Il(t.type,S);m.props=T;var _=t.pendingProps,L=m.context,j=l.contextType,oe=Lo;if(typeof j=="object"&&j!==null)oe=Ra(j);else{var ae=qv(t,l,!0);oe=Gv(t,ae)}var ge=l.getDerivedStateFromProps,Ee=typeof ge=="function"||typeof m.getSnapshotBeforeUpdate=="function";!Ee&&(typeof m.UNSAFE_componentWillReceiveProps=="function"||typeof m.componentWillReceiveProps=="function")&&(S!==_||L!==oe)&&dD(t,m,c,oe),ON();var Te=t.memoizedState,et=m.state=Te;if(Db(t,c,m,v),et=t.memoizedState,S===_&&Te===et&&!vb()&&!Pb())return typeof m.componentDidUpdate=="function"&&(S!==e.memoizedProps||Te!==e.memoizedState)&&(t.flags|=Dn),typeof m.getSnapshotBeforeUpdate=="function"&&(S!==e.memoizedProps||Te!==e.memoizedState)&&(t.flags|=da),!1;typeof ge=="function"&&(ox(t,l,ge,c),et=t.memoizedState);var Lt=Pb()||sD(t,l,T,c,Te,et,oe)||me;return Lt?(!Ee&&(typeof m.UNSAFE_componentWillUpdate=="function"||typeof m.componentWillUpdate=="function")&&(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(c,et,oe),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(c,et,oe)),typeof m.componentDidUpdate=="function"&&(t.flags|=Dn),typeof m.getSnapshotBeforeUpdate=="function"&&(t.flags|=da)):(typeof m.componentDidUpdate=="function"&&(S!==e.memoizedProps||Te!==e.memoizedState)&&(t.flags|=Dn),typeof m.getSnapshotBeforeUpdate=="function"&&(S!==e.memoizedProps||Te!==e.memoizedState)&&(t.flags|=da),t.memoizedProps=c,t.memoizedState=et),m.props=c,m.state=et,m.context=oe,Lt}function Kf(e,t){return{value:e,source:t,stack:Ca(t),digest:null}}function sx(e,t,l){return{value:e,source:null,stack:l??null,digest:t??null}}function zU(e,t){return!0}function cx(e,t){try{var l=zU(e,t);if(l===!1)return;var c=t.value,v=t.source,m=t.stack,S=m!==null?m:"";if(c!=null&&c._suppressLogging){if(e.tag===C)return;console.error(c)}var T=v?kt(v):null,_=T?"The above error occurred in the <"+T+"> component:":"The above error occurred in one of your React components:",L;if(e.tag===R)L=`Consider adding an error boundary to your tree to customize error handling behavior.
165
- Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var j=kt(e)||"Anonymous";L="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+j+".")}var oe=_+`
166
- `+S+`
167
-
168
- `+(""+L);console.error(oe)}catch(ae){setTimeout(function(){throw ae})}}var jU=typeof WeakMap=="function"?WeakMap:Map;function vD(e,t,l){var c=gs(mr,l);c.tag=h1,c.payload={element:null};var v=t.value;return c.callback=function(){D6(v),cx(e,t)},c}function fx(e,t,l){var c=gs(mr,l);c.tag=h1;var v=e.type.getDerivedStateFromError;if(typeof v=="function"){var m=t.value;c.payload=function(){return v(m)},c.callback=function(){xP(e),cx(e,t)}}var S=e.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(c.callback=function(){xP(e),cx(e,t),typeof v!="function"&&M6(this);var _=t.value,L=t.stack;this.componentDidCatch(_,{componentStack:L!==null?L:""}),typeof v!="function"&&(_i(e.lanes,Wt)||d("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",kt(e)||"Unknown"))}),c}function pD(e,t,l){var c=e.pingCache,v;if(c===null?(c=e.pingCache=new jU,v=new Set,c.set(t,v)):(v=c.get(t),v===void 0&&(v=new Set,c.set(t,v))),!v.has(l)){v.add(l);var m=P6.bind(null,e,t,l);Oi&&lg(e,l),t.then(m,m)}}function VU(e,t,l,c){var v=e.updateQueue;if(v===null){var m=new Set;m.add(l),e.updateQueue=m}else v.add(l)}function HU(e,t){var l=e.tag;if((e.mode&vn)===_t&&(l===y||l===F||l===W)){var c=e.alternate;c?(e.updateQueue=c.updateQueue,e.memoizedState=c.memoizedState,e.lanes=c.lanes):(e.updateQueue=null,e.memoizedState=null)}}function hD(e){var t=e;do{if(t.tag===I&&EU(t))return t;t=t.return}while(t!==null);return null}function mD(e,t,l,c,v){if((e.mode&vn)===_t){if(e===t)e.flags|=xi;else{if(e.flags|=xt,l.flags|=Qd,l.flags&=-52805,l.tag===C){var m=l.alternate;if(m===null)l.tag=J;else{var S=gs(mr,Wt);S.tag=_b,vc(l,S,Wt)}}l.lanes=tn(l.lanes,Wt)}return e}return e.flags|=xi,e.lanes=v,e}function UU(e,t,l,c,v){if(l.flags|=tf,Oi&&lg(e,v),c!==null&&typeof c=="object"&&typeof c.then=="function"){var m=c;HU(l),si()&&l.mode&vn&&lN();var S=hD(t);if(S!==null){S.flags&=-257,mD(S,t,l,e,v),S.mode&vn&&pD(e,m,v),VU(S,e,m);return}else{if(!g0(v)){pD(e,m,v),Bx();return}var T=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");c=T}}else if(si()&&l.mode&vn){lN();var _=hD(t);if(_!==null){(_.flags&xi)===Ot&&(_.flags|=Ei),mD(_,t,l,e,v),r1(Kf(c,l));return}}c=Kf(c,l),E6(c);var L=t;do{switch(L.tag){case R:{var j=c;L.flags|=xi;var oe=gf(v);L.lanes=tn(L.lanes,oe);var ae=vD(L,j,oe);y1(L,ae);return}case C:var ge=c,Ee=L.type,Te=L.stateNode;if((L.flags&xt)===Ot&&(typeof Ee.getDerivedStateFromError=="function"||Te!==null&&typeof Te.componentDidCatch=="function"&&!hP(Te))){L.flags|=xi;var et=gf(v);L.lanes=tn(L.lanes,et);var Lt=fx(L,ge,et);y1(L,Lt);return}break}L=L.return}while(L!==null)}function BU(){return null}var Wm=a.ReactCurrentOwner,zl=!1,dx,Ym,vx,px,hx,qf,mx,rS,Km;dx={},Ym={},vx={},px={},hx={},qf=!1,mx={},rS={},Km={};function qi(e,t,l,c){e===null?t.child=bN(t,null,l,c):t.child=Jv(t,e.child,l,c)}function WU(e,t,l,c){t.child=Jv(t,e.child,null,c),t.child=Jv(t,null,l,c)}function gD(e,t,l,c,v){if(t.type!==t.elementType){var m=l.propTypes;m&&Pl(m,c,"prop",sn(l))}var S=l.render,T=t.ref,_,L;tp(t,v),Ui(t);{if(Wm.current=t,Ar(!0),_=lp(e,t,S,c,T,v),L=up(),t.mode&dr){Lr(!0);try{_=lp(e,t,S,c,T,v),L=up()}finally{Lr(!1)}}Ar(!1)}return Bi(),e!==null&&!zl?(PN(e,t,v),ys(e,t,v)):(si()&&L&&Qw(t),t.flags|=Mo,qi(e,t,_,v),t.child)}function yD(e,t,l,c,v){if(e===null){var m=l.type;if(X6(m)&&l.compare===null&&l.defaultProps===void 0){var S=m;return S=mp(m),t.tag=W,t.type=S,bx(t,m),bD(e,t,S,c,v)}{var T=m.propTypes;if(T&&Pl(T,c,"prop",sn(m)),l.defaultProps!==void 0){var _=sn(m)||"Unknown";Km[_]||(d("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",_),Km[_]=!0)}}var L=tR(l.type,null,c,t,t.mode,v);return L.ref=t.ref,L.return=t,t.child=L,L}{var j=l.type,oe=j.propTypes;oe&&Pl(oe,c,"prop",sn(j))}var ae=e.child,ge=Rx(e,v);if(!ge){var Ee=ae.memoizedProps,Te=l.compare;if(Te=Te!==null?Te:dt,Te(Ee,c)&&e.ref===t.ref)return ys(e,t,v)}t.flags|=Mo;var et=Jf(ae,c);return et.ref=t.ref,et.return=t,t.child=et,et}function bD(e,t,l,c,v){if(t.type!==t.elementType){var m=t.elementType;if(m.$$typeof===yt){var S=m,T=S._payload,_=S._init;try{m=_(T)}catch{m=null}var L=m&&m.propTypes;L&&Pl(L,c,"prop",sn(m))}}if(e!==null){var j=e.memoizedProps;if(dt(j,c)&&e.ref===t.ref&&t.type===e.type)if(zl=!1,t.pendingProps=c=j,Rx(e,v))(e.flags&Qd)!==Ot&&(zl=!0);else return t.lanes=e.lanes,ys(e,t,v)}return gx(e,t,l,c,v)}function SD(e,t,l){var c=t.pendingProps,v=c.children,m=e!==null?e.memoizedState:null;if(c.mode==="hidden"||le)if((t.mode&vn)===_t){var S={baseLanes:Ne,cachePool:null,transitions:null};t.memoizedState=S,mS(t,l)}else if(_i(l,Wi)){var oe={baseLanes:Ne,cachePool:null,transitions:null};t.memoizedState=oe;var ae=m!==null?m.baseLanes:l;mS(t,ae)}else{var T=null,_;if(m!==null){var L=m.baseLanes;_=tn(L,l)}else _=l;t.lanes=t.childLanes=Wi;var j={baseLanes:_,cachePool:T,transitions:null};return t.memoizedState=j,t.updateQueue=null,mS(t,_),null}else{var ge;m!==null?(ge=tn(m.baseLanes,l),t.memoizedState=null):ge=l,mS(t,ge)}return qi(e,t,v,l),t.child}function YU(e,t,l){var c=t.pendingProps;return qi(e,t,c,l),t.child}function KU(e,t,l){var c=t.pendingProps.children;return qi(e,t,c,l),t.child}function qU(e,t,l){{t.flags|=Dn;{var c=t.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}}var v=t.pendingProps,m=v.children;return qi(e,t,m,l),t.child}function CD(e,t){var l=t.ref;(e===null&&l!==null||e!==null&&e.ref!==l)&&(t.flags|=jr,t.flags|=qs)}function gx(e,t,l,c,v){if(t.type!==t.elementType){var m=l.propTypes;m&&Pl(m,c,"prop",sn(l))}var S;{var T=qv(t,l,!0);S=Gv(t,T)}var _,L;tp(t,v),Ui(t);{if(Wm.current=t,Ar(!0),_=lp(e,t,l,c,S,v),L=up(),t.mode&dr){Lr(!0);try{_=lp(e,t,l,c,S,v),L=up()}finally{Lr(!1)}}Ar(!1)}return Bi(),e!==null&&!zl?(PN(e,t,v),ys(e,t,v)):(si()&&L&&Qw(t),t.flags|=Mo,qi(e,t,_,v),t.child)}function ED(e,t,l,c,v){{switch(fB(t)){case!1:{var m=t.stateNode,S=t.type,T=new S(t.memoizedProps,m.context),_=T.state;m.updater.enqueueSetState(m,_,null);break}case!0:{t.flags|=xt,t.flags|=xi;var L=new Error("Simulated error coming from DevTools"),j=gf(v);t.lanes=tn(t.lanes,j);var oe=fx(t,Kf(L,t),j);y1(t,oe);break}}if(t.type!==t.elementType){var ae=l.propTypes;ae&&Pl(ae,c,"prop",sn(l))}}var ge;gu(l)?(ge=!0,hb(t)):ge=!1,tp(t,v);var Ee=t.stateNode,Te;Ee===null?(iS(e,t),fD(t,l,c),ux(t,l,c,v),Te=!0):e===null?Te=FU(t,l,c,v):Te=IU(e,t,l,c,v);var et=yx(e,t,l,Te,ge,v);{var Lt=t.stateNode;Te&&Lt.props!==c&&(qf||d("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",kt(t)||"a component"),qf=!0)}return et}function yx(e,t,l,c,v,m){CD(e,t);var S=(t.flags&xt)!==Ot;if(!c&&!S)return v&&rN(t,l,!1),ys(e,t,m);var T=t.stateNode;Wm.current=t;var _;if(S&&typeof l.getDerivedStateFromError!="function")_=null,oD();else{Ui(t);{if(Ar(!0),_=T.render(),t.mode&dr){Lr(!0);try{T.render()}finally{Lr(!1)}}Ar(!1)}Bi()}return t.flags|=Mo,e!==null&&S?WU(e,t,_,m):qi(e,t,_,m),t.memoizedState=T.state,v&&rN(t,l,!0),t.child}function wD(e){var t=e.stateNode;t.pendingContext?tN(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tN(e,t.context,!1),b1(e,t.containerInfo)}function GU(e,t,l){if(wD(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var c=t.pendingProps,v=t.memoizedState,m=v.element;TN(e,t),Db(t,c,null,l);var S=t.memoizedState;t.stateNode;var T=S.element;if(v.isDehydrated){var _={element:T,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},L=t.updateQueue;if(L.baseState=_,t.memoizedState=_,t.flags&Ei){var j=Kf(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return xD(e,t,T,l,j)}else if(T!==m){var oe=Kf(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return xD(e,t,T,l,oe)}else{ZH(t);var ae=bN(t,null,T,l);t.child=ae;for(var ge=ae;ge;)ge.flags=ge.flags&-3|co,ge=ge.sibling}}else{if(Zv(),T===m)return ys(e,t,l);qi(e,t,T,l)}return t.child}function xD(e,t,l,c,v){return Zv(),r1(v),t.flags|=Ei,qi(e,t,l,c),t.child}function XU(e,t,l){MN(t),e===null&&n1(t);var c=t.type,v=t.pendingProps,m=e!==null?e.memoizedProps:null,S=v.children,T=Fw(c,v);return T?S=null:m!==null&&Fw(c,m)&&(t.flags|=No),CD(e,t),qi(e,t,S,l),t.child}function QU(e,t){return e===null&&n1(t),null}function ZU(e,t,l,c){iS(e,t);var v=t.pendingProps,m=l,S=m._payload,T=m._init,_=T(S);t.type=_;var L=t.tag=Q6(_),j=Il(_,v),oe;switch(L){case y:return bx(t,_),t.type=_=mp(_),oe=gx(null,t,_,j,c),oe;case C:return t.type=_=Gx(_),oe=ED(null,t,_,j,c),oe;case F:return t.type=_=Xx(_),oe=gD(null,t,_,j,c),oe;case H:{if(t.type!==t.elementType){var ae=_.propTypes;ae&&Pl(ae,j,"prop",sn(_))}return oe=yD(null,t,_,Il(_.type,j),c),oe}}var ge="";throw _!==null&&typeof _=="object"&&_.$$typeof===yt&&(ge=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+_+". "+("Lazy element type must resolve to a class or function."+ge))}function JU(e,t,l,c,v){iS(e,t),t.tag=C;var m;return gu(l)?(m=!0,hb(t)):m=!1,tp(t,v),fD(t,l,c),ux(t,l,c,v),yx(null,t,l,!0,m,v)}function e4(e,t,l,c){iS(e,t);var v=t.pendingProps,m;{var S=qv(t,l,!1);m=Gv(t,S)}tp(t,c);var T,_;Ui(t);{if(l.prototype&&typeof l.prototype.render=="function"){var L=sn(l)||"Unknown";dx[L]||(d("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",L,L),dx[L]=!0)}t.mode&dr&&$l.recordLegacyContextWarning(t,null),Ar(!0),Wm.current=t,T=lp(null,t,l,v,m,c),_=up(),Ar(!1)}if(Bi(),t.flags|=Mo,typeof T=="object"&&T!==null&&typeof T.render=="function"&&T.$$typeof===void 0){var j=sn(l)||"Unknown";Ym[j]||(d("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",j,j,j),Ym[j]=!0)}if(typeof T=="object"&&T!==null&&typeof T.render=="function"&&T.$$typeof===void 0){{var oe=sn(l)||"Unknown";Ym[oe]||(d("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",oe,oe,oe),Ym[oe]=!0)}t.tag=C,t.memoizedState=null,t.updateQueue=null;var ae=!1;return gu(l)?(ae=!0,hb(t)):ae=!1,t.memoizedState=T.state!==null&&T.state!==void 0?T.state:null,g1(t),cD(t,T),ux(t,l,v,c),yx(null,t,l,!0,ae,c)}else{if(t.tag=y,t.mode&dr){Lr(!0);try{T=lp(null,t,l,v,m,c),_=up()}finally{Lr(!1)}}return si()&&_&&Qw(t),qi(null,t,T,c),bx(t,l),t.child}}function bx(e,t){{if(t&&t.childContextTypes&&d("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var l="",c=kr();c&&(l+=`
169
-
170
- Check the render method of \``+c+"`.");var v=c||"",m=e._debugSource;m&&(v=m.fileName+":"+m.lineNumber),hx[v]||(hx[v]=!0,d("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",l))}if(t.defaultProps!==void 0){var S=sn(t)||"Unknown";Km[S]||(d("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",S),Km[S]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var T=sn(t)||"Unknown";px[T]||(d("%s: Function components do not support getDerivedStateFromProps.",T),px[T]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var _=sn(t)||"Unknown";vx[_]||(d("%s: Function components do not support contextType.",_),vx[_]=!0)}}}var Sx={dehydrated:null,treeContext:null,retryLane:Vn};function Cx(e){return{baseLanes:e,cachePool:BU(),transitions:null}}function t4(e,t){var l=null;return{baseLanes:tn(e.baseLanes,t),cachePool:l,transitions:e.transitions}}function n4(e,t,l,c){if(t!==null){var v=t.memoizedState;if(v===null)return!1}return E1(e,Lm)}function r4(e,t){return yf(e.childLanes,t)}function RD(e,t,l){var c=t.pendingProps;dB(t)&&(t.flags|=xt);var v=Ll.current,m=!1,S=(t.flags&xt)!==Ot;if(S||n4(v,e)?(m=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(v=CU(v,DN)),v=rp(v),hc(t,v),e===null){n1(t);var T=t.memoizedState;if(T!==null){var _=T.dehydrated;if(_!==null)return u4(t,_)}var L=c.children,j=c.fallback;if(m){var oe=a4(t,L,j,l),ae=t.child;return ae.memoizedState=Cx(l),t.memoizedState=Sx,oe}else return Ex(t,L)}else{var ge=e.memoizedState;if(ge!==null){var Ee=ge.dehydrated;if(Ee!==null)return s4(e,t,S,c,Ee,ge,l)}if(m){var Te=c.fallback,et=c.children,Lt=o4(e,t,et,Te,l),Ct=t.child,$n=e.child.memoizedState;return Ct.memoizedState=$n===null?Cx(l):t4($n,l),Ct.childLanes=r4(e,l),t.memoizedState=Sx,Lt}else{var wn=c.children,ve=i4(e,t,wn,l);return t.memoizedState=null,ve}}}function Ex(e,t,l){var c=e.mode,v={mode:"visible",children:t},m=wx(v,c);return m.return=e,e.child=m,m}function a4(e,t,l,c){var v=e.mode,m=e.child,S={mode:"hidden",children:t},T,_;return(v&vn)===_t&&m!==null?(T=m,T.childLanes=Ne,T.pendingProps=S,e.mode&Hn&&(T.actualDuration=0,T.actualStartTime=-1,T.selfBaseDuration=0,T.treeBaseDuration=0),_=wc(l,v,c,null)):(T=wx(S,v),_=wc(l,v,c,null)),T.return=e,_.return=e,T.sibling=_,e.child=T,_}function wx(e,t,l){return TP(e,t,Ne,null)}function TD(e,t){return Jf(e,t)}function i4(e,t,l,c){var v=e.child,m=v.sibling,S=TD(v,{mode:"visible",children:l});if((t.mode&vn)===_t&&(S.lanes=c),S.return=t,S.sibling=null,m!==null){var T=t.deletions;T===null?(t.deletions=[m],t.flags|=so):T.push(m)}return t.child=S,S}function o4(e,t,l,c,v){var m=t.mode,S=e.child,T=S.sibling,_={mode:"hidden",children:l},L;if((m&vn)===_t&&t.child!==S){var j=t.child;L=j,L.childLanes=Ne,L.pendingProps=_,t.mode&Hn&&(L.actualDuration=0,L.actualStartTime=-1,L.selfBaseDuration=S.selfBaseDuration,L.treeBaseDuration=S.treeBaseDuration),t.deletions=null}else L=TD(S,_),L.subtreeFlags=S.subtreeFlags&Jr;var oe;return T!==null?oe=Jf(T,c):(oe=wc(c,m,v,null),oe.flags|=Ur),oe.return=t,L.return=t,L.sibling=oe,t.child=L,oe}function aS(e,t,l,c){c!==null&&r1(c),Jv(t,e.child,null,l);var v=t.pendingProps,m=v.children,S=Ex(t,m);return S.flags|=Ur,t.memoizedState=null,S}function l4(e,t,l,c,v){var m=t.mode,S={mode:"visible",children:l},T=wx(S,m),_=wc(c,m,v,null);return _.flags|=Ur,T.return=t,_.return=t,T.sibling=_,t.child=T,(t.mode&vn)!==_t&&Jv(t,e.child,null,v),_}function u4(e,t,l){return(e.mode&vn)===_t?(d("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=Wt):Vw(t)?e.lanes=qa:e.lanes=Wi,null}function s4(e,t,l,c,v,m,S){if(l)if(t.flags&Ei){t.flags&=-257;var ve=sx(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return aS(e,t,S,ve)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=xt,null;var Oe=c.children,pe=c.fallback,je=l4(e,t,Oe,pe,S),it=t.child;return it.memoizedState=Cx(S),t.memoizedState=Sx,je}else{if(XH(),(t.mode&vn)===_t)return aS(e,t,S,null);if(Vw(v)){var T,_,L;{var j=vH(v);T=j.digest,_=j.message,L=j.stack}var oe;_?oe=new Error(_):oe=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var ae=sx(oe,T,L);return aS(e,t,S,ae)}var ge=_i(S,e.childLanes);if(zl||ge){var Ee=hS();if(Ee!==null){var Te=Xh(Ee,S);if(Te!==Vn&&Te!==m.retryLane){m.retryLane=Te;var et=mr;So(e,Te),Wa(Ee,e,Te,et)}}Bx();var Lt=sx(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return aS(e,t,S,Lt)}else if(GM(v)){t.flags|=xt,t.child=e.child;var Ct=A6.bind(null,e);return pH(v,Ct),null}else{JH(t,v,m.treeContext);var $n=c.children,wn=Ex(t,$n);return wn.flags|=co,wn}}}function OD(e,t,l){e.lanes=tn(e.lanes,t);var c=e.alternate;c!==null&&(c.lanes=tn(c.lanes,t)),v1(e.return,t,l)}function c4(e,t,l){for(var c=t;c!==null;){if(c.tag===I){var v=c.memoizedState;v!==null&&OD(c,l,e)}else if(c.tag===q)OD(c,l,e);else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)return;for(;c.sibling===null;){if(c.return===null||c.return===e)return;c=c.return}c.sibling.return=c.return,c=c.sibling}}function f4(e){for(var t=e,l=null;t!==null;){var c=t.alternate;c!==null&&Lb(c)===null&&(l=t),t=t.sibling}return l}function d4(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!mx[e])if(mx[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{d('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{d('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:d('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else d('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function v4(e,t){e!==void 0&&!rS[e]&&(e!=="collapsed"&&e!=="hidden"?(rS[e]=!0,d('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(rS[e]=!0,d('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function _D(e,t){{var l=cn(e),c=!l&&typeof At(e)=="function";if(l||c){var v=l?"array":"iterable";return d("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",v,t,v),!1}}return!0}function p4(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(cn(e)){for(var l=0;l<e.length;l++)if(!_D(e[l],l))return}else{var c=At(e);if(typeof c=="function"){var v=c.call(e);if(v)for(var m=v.next(),S=0;!m.done;m=v.next()){if(!_D(m.value,S))return;S++}}else d('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function xx(e,t,l,c,v){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:c,tail:l,tailMode:v}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=c,m.tail=l,m.tailMode=v)}function kD(e,t,l){var c=t.pendingProps,v=c.revealOrder,m=c.tail,S=c.children;d4(v),v4(m,v),p4(S,v),qi(e,t,S,l);var T=Ll.current,_=E1(T,Lm);if(_)T=w1(T,Lm),t.flags|=xt;else{var L=e!==null&&(e.flags&xt)!==Ot;L&&c4(t,t.child,l),T=rp(T)}if(hc(t,T),(t.mode&vn)===_t)t.memoizedState=null;else switch(v){case"forwards":{var j=f4(t.child),oe;j===null?(oe=t.child,t.child=null):(oe=j.sibling,j.sibling=null),xx(t,!1,oe,j,m);break}case"backwards":{var ae=null,ge=t.child;for(t.child=null;ge!==null;){var Ee=ge.alternate;if(Ee!==null&&Lb(Ee)===null){t.child=ge;break}var Te=ge.sibling;ge.sibling=ae,ae=ge,ge=Te}xx(t,!0,ae,null,m);break}case"together":{xx(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function h4(e,t,l){b1(t,t.stateNode.containerInfo);var c=t.pendingProps;return e===null?t.child=Jv(t,null,c,l):qi(e,t,c,l),t.child}var MD=!1;function m4(e,t,l){var c=t.type,v=c._context,m=t.pendingProps,S=t.memoizedProps,T=m.value;{"value"in m||MD||(MD=!0,d("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var _=t.type.propTypes;_&&Pl(_,m,"prop","Context.Provider")}if(EN(t,v,T),S!==null){var L=S.value;if($e(L,T)){if(S.children===m.children&&!vb())return ys(e,t,l)}else dU(t,v,l)}var j=m.children;return qi(e,t,j,l),t.child}var ND=!1;function g4(e,t,l){var c=t.type;c._context===void 0?c!==c.Consumer&&(ND||(ND=!0,d("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var v=t.pendingProps,m=v.children;typeof m!="function"&&d("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),tp(t,l);var S=Ra(c);Ui(t);var T;return Wm.current=t,Ar(!0),T=m(S),Ar(!1),Bi(),t.flags|=Mo,qi(e,t,T,l),t.child}function qm(){zl=!0}function iS(e,t){(t.mode&vn)===_t&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ur)}function ys(e,t,l){return e!==null&&(t.dependencies=e.dependencies),oD(),og(t.lanes),_i(l,t.childLanes)?(cU(e,t),t.child):null}function y4(e,t,l){{var c=t.return;if(c===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,l.index=t.index,l.sibling=t.sibling,l.return=t.return,l.ref=t.ref,t===c.child)c.child=l;else{var v=c.child;if(v===null)throw new Error("Expected parent to have a child.");for(;v.sibling!==t;)if(v=v.sibling,v===null)throw new Error("Expected to find the previous sibling.");v.sibling=l}var m=c.deletions;return m===null?(c.deletions=[e],c.flags|=so):m.push(e),l.flags|=Ur,l}}function Rx(e,t){var l=e.lanes;return!!_i(l,t)}function b4(e,t,l){switch(t.tag){case R:wD(t),t.stateNode,Zv();break;case D:MN(t);break;case C:{var c=t.type;gu(c)&&hb(t);break}case O:b1(t,t.stateNode.containerInfo);break;case $:{var v=t.memoizedProps.value,m=t.type._context;EN(t,m,v);break}case z:{var S=_i(l,t.childLanes);S&&(t.flags|=Dn);{var T=t.stateNode;T.effectDuration=0,T.passiveEffectDuration=0}}break;case I:{var _=t.memoizedState;if(_!==null){if(_.dehydrated!==null)return hc(t,rp(Ll.current)),t.flags|=xt,null;var L=t.child,j=L.childLanes;if(_i(l,j))return RD(e,t,l);hc(t,rp(Ll.current));var oe=ys(e,t,l);return oe!==null?oe.sibling:null}else hc(t,rp(Ll.current));break}case q:{var ae=(e.flags&xt)!==Ot,ge=_i(l,t.childLanes);if(ae){if(ge)return kD(e,t,l);t.flags|=xt}var Ee=t.memoizedState;if(Ee!==null&&(Ee.rendering=null,Ee.tail=null,Ee.lastEffect=null),hc(t,Ll.current),ge)break;return null}case Y:case Q:return t.lanes=Ne,SD(e,t,l)}return ys(e,t,l)}function DD(e,t,l){if(t._debugNeedsRemount&&e!==null)return y4(e,t,tR(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var c=e.memoizedProps,v=t.pendingProps;if(c!==v||vb()||t.type!==e.type)zl=!0;else{var m=Rx(e,l);if(!m&&(t.flags&xt)===Ot)return zl=!1,b4(e,t,l);(e.flags&Qd)!==Ot?zl=!0:zl=!1}}else if(zl=!1,si()&&BH(t)){var S=t.index,T=WH();oN(t,T,S)}switch(t.lanes=Ne,t.tag){case x:return e4(e,t,t.type,l);case Z:{var _=t.elementType;return ZU(e,t,_,l)}case y:{var L=t.type,j=t.pendingProps,oe=t.elementType===L?j:Il(L,j);return gx(e,t,L,oe,l)}case C:{var ae=t.type,ge=t.pendingProps,Ee=t.elementType===ae?ge:Il(ae,ge);return ED(e,t,ae,Ee,l)}case R:return GU(e,t,l);case D:return XU(e,t,l);case N:return QU(e,t);case I:return RD(e,t,l);case O:return h4(e,t,l);case F:{var Te=t.type,et=t.pendingProps,Lt=t.elementType===Te?et:Il(Te,et);return gD(e,t,Te,Lt,l)}case A:return YU(e,t,l);case k:return KU(e,t,l);case z:return qU(e,t,l);case $:return m4(e,t,l);case V:return g4(e,t,l);case H:{var Ct=t.type,$n=t.pendingProps,wn=Il(Ct,$n);if(t.type!==t.elementType){var ve=Ct.propTypes;ve&&Pl(ve,wn,"prop",sn(Ct))}return wn=Il(Ct.type,wn),yD(e,t,Ct,wn,l)}case W:return bD(e,t,t.type,t.pendingProps,l);case J:{var Oe=t.type,pe=t.pendingProps,je=t.elementType===Oe?pe:Il(Oe,pe);return JU(e,t,Oe,je,l)}case q:return kD(e,t,l);case te:break;case Y:return SD(e,t,l)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function sp(e){e.flags|=Dn}function PD(e){e.flags|=jr,e.flags|=qs}var AD,Tx,$D,LD;AD=function(e,t,l,c){for(var v=t.child;v!==null;){if(v.tag===D||v.tag===N)V5(e,v.stateNode);else if(v.tag!==O){if(v.child!==null){v.child.return=v,v=v.child;continue}}if(v===t)return;for(;v.sibling===null;){if(v.return===null||v.return===t)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},Tx=function(e,t){},$D=function(e,t,l,c,v){var m=e.memoizedProps;if(m!==c){var S=t.stateNode,T=S1(),_=U5(S,l,m,c,v,T);t.updateQueue=_,_&&sp(t)}},LD=function(e,t,l,c){l!==c&&sp(t)};function Gm(e,t){if(!si())switch(e.tailMode){case"hidden":{for(var l=e.tail,c=null;l!==null;)l.alternate!==null&&(c=l),l=l.sibling;c===null?e.tail=null:c.sibling=null;break}case"collapsed":{for(var v=e.tail,m=null;v!==null;)v.alternate!==null&&(m=v),v=v.sibling;m===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:m.sibling=null;break}}}function fi(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=Ne,c=Ot;if(t){if((e.mode&Hn)!==_t){for(var _=e.selfBaseDuration,L=e.child;L!==null;)l=tn(l,tn(L.lanes,L.childLanes)),c|=L.subtreeFlags&Jr,c|=L.flags&Jr,_+=L.treeBaseDuration,L=L.sibling;e.treeBaseDuration=_}else for(var j=e.child;j!==null;)l=tn(l,tn(j.lanes,j.childLanes)),c|=j.subtreeFlags&Jr,c|=j.flags&Jr,j.return=e,j=j.sibling;e.subtreeFlags|=c}else{if((e.mode&Hn)!==_t){for(var v=e.actualDuration,m=e.selfBaseDuration,S=e.child;S!==null;)l=tn(l,tn(S.lanes,S.childLanes)),c|=S.subtreeFlags,c|=S.flags,v+=S.actualDuration,m+=S.treeBaseDuration,S=S.sibling;e.actualDuration=v,e.treeBaseDuration=m}else for(var T=e.child;T!==null;)l=tn(l,tn(T.lanes,T.childLanes)),c|=T.subtreeFlags,c|=T.flags,T.return=e,T=T.sibling;e.subtreeFlags|=c}return e.childLanes=l,t}function S4(e,t,l){if(aU()&&(t.mode&vn)!==_t&&(t.flags&xt)===Ot)return vN(t),Zv(),t.flags|=Ei|tf|xi,!1;var c=Sb(t);if(l!==null&&l.dehydrated!==null)if(e===null){if(!c)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(nU(t),fi(t),(t.mode&Hn)!==_t){var v=l!==null;if(v){var m=t.child;m!==null&&(t.treeBaseDuration-=m.treeBaseDuration)}}return!1}else{if(Zv(),(t.flags&xt)===Ot&&(t.memoizedState=null),t.flags|=Dn,fi(t),(t.mode&Hn)!==_t){var S=l!==null;if(S){var T=t.child;T!==null&&(t.treeBaseDuration-=T.treeBaseDuration)}}return!1}else return pN(),!0}function FD(e,t,l){var c=t.pendingProps;switch(Zw(t),t.tag){case x:case Z:case W:case y:case F:case A:case k:case z:case V:case H:return fi(t),null;case C:{var v=t.type;return gu(v)&&pb(t),fi(t),null}case R:{var m=t.stateNode;if(np(t),qw(t),R1(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),e===null||e.child===null){var S=Sb(t);if(S)sp(t);else if(e!==null){var T=e.memoizedState;(!T.isDehydrated||(t.flags&Ei)!==Ot)&&(t.flags|=da,pN())}}return Tx(e,t),fi(t),null}case D:{C1(t);var _=kN(),L=t.type;if(e!==null&&t.stateNode!=null)$D(e,t,L,c,_),e.ref!==t.ref&&PD(t);else{if(!c){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return fi(t),null}var j=S1(),oe=Sb(t);if(oe)eU(t,_,j)&&sp(t);else{var ae=j5(L,c,_,j,t);AD(ae,t,!1,!1),t.stateNode=ae,H5(ae,L,c,_)&&sp(t)}t.ref!==null&&PD(t)}return fi(t),null}case N:{var ge=c;if(e&&t.stateNode!=null){var Ee=e.memoizedProps;LD(e,t,Ee,ge)}else{if(typeof ge!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var Te=kN(),et=S1(),Lt=Sb(t);Lt?tU(t)&&sp(t):t.stateNode=B5(ge,Te,et,t)}return fi(t),null}case I:{ap(t);var Ct=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var $n=S4(e,t,Ct);if(!$n)return t.flags&xi?t:null}if((t.flags&xt)!==Ot)return t.lanes=l,(t.mode&Hn)!==_t&&X1(t),t;var wn=Ct!==null,ve=e!==null&&e.memoizedState!==null;if(wn!==ve&&wn){var Oe=t.child;if(Oe.flags|=Zr,(t.mode&vn)!==_t){var pe=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);pe||E1(Ll.current,DN)?C6():Bx()}}var je=t.updateQueue;if(je!==null&&(t.flags|=Dn),fi(t),(t.mode&Hn)!==_t&&wn){var it=t.child;it!==null&&(t.treeBaseDuration-=it.treeBaseDuration)}return null}case O:return np(t),Tx(e,t),e===null&&FH(t.stateNode.containerInfo),fi(t),null;case $:var nt=t.type._context;return d1(nt,t),fi(t),null;case J:{var qt=t.type;return gu(qt)&&pb(t),fi(t),null}case q:{ap(t);var Qt=t.memoizedState;if(Qt===null)return fi(t),null;var pr=(t.flags&xt)!==Ot,Wn=Qt.rendering;if(Wn===null)if(pr)Gm(Qt,!1);else{var ha=w6()&&(e===null||(e.flags&xt)===Ot);if(!ha)for(var Yn=t.child;Yn!==null;){var ia=Lb(Yn);if(ia!==null){pr=!0,t.flags|=xt,Gm(Qt,!1);var $i=ia.updateQueue;return $i!==null&&(t.updateQueue=$i,t.flags|=Dn),t.subtreeFlags=Ot,fU(t,l),hc(t,w1(Ll.current,Lm)),t.child}Yn=Yn.sibling}Qt.tail!==null&&va()>aP()&&(t.flags|=xt,pr=!0,Gm(Qt,!1),t.lanes=Vh)}else{if(!pr){var mi=Lb(Wn);if(mi!==null){t.flags|=xt,pr=!0;var Io=mi.updateQueue;if(Io!==null&&(t.updateQueue=Io,t.flags|=Dn),Gm(Qt,!0),Qt.tail===null&&Qt.tailMode==="hidden"&&!Wn.alternate&&!si())return fi(t),null}else va()*2-Qt.renderingStartTime>aP()&&l!==Wi&&(t.flags|=xt,pr=!0,Gm(Qt,!1),t.lanes=Vh)}if(Qt.isBackwards)Wn.sibling=t.child,t.child=Wn;else{var Qi=Qt.last;Qi!==null?Qi.sibling=Wn:t.child=Wn,Qt.last=Wn}}if(Qt.tail!==null){var Zi=Qt.tail;Qt.rendering=Zi,Qt.tail=Zi.sibling,Qt.renderingStartTime=va(),Zi.sibling=null;var Li=Ll.current;return pr?Li=w1(Li,Lm):Li=rp(Li),hc(t,Li),Zi}return fi(t),null}case te:break;case Y:case Q:{Ux(t);var ws=t.memoizedState,gp=ws!==null;if(e!==null){var fg=e.memoizedState,Ru=fg!==null;Ru!==gp&&(t.flags|=Zr)}return!gp||(t.mode&vn)===_t?fi(t):_i(xu,Wi)&&(fi(t),t.subtreeFlags&(Ur|Dn)&&(t.flags|=Zr)),null}case se:return null;case ye:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function C4(e,t,l){switch(Zw(t),t.tag){case C:{var c=t.type;gu(c)&&pb(t);var v=t.flags;return v&xi?(t.flags=v&-65537|xt,(t.mode&Hn)!==_t&&X1(t),t):null}case R:{t.stateNode,np(t),qw(t),R1();var m=t.flags;return(m&xi)!==Ot&&(m&xt)===Ot?(t.flags=m&-65537|xt,t):null}case D:return C1(t),null;case I:{ap(t);var S=t.memoizedState;if(S!==null&&S.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Zv()}var T=t.flags;return T&xi?(t.flags=T&-65537|xt,(t.mode&Hn)!==_t&&X1(t),t):null}case q:return ap(t),null;case O:return np(t),null;case $:var _=t.type._context;return d1(_,t),null;case Y:case Q:return Ux(t),null;case se:return null;default:return null}}function ID(e,t,l){switch(Zw(t),t.tag){case C:{var c=t.type.childContextTypes;c!=null&&pb(t);break}case R:{t.stateNode,np(t),qw(t),R1();break}case D:{C1(t);break}case O:np(t);break;case I:ap(t);break;case q:ap(t);break;case $:var v=t.type._context;d1(v,t);break;case Y:case Q:Ux(t);break}}var zD=null;zD=new Set;var oS=!1,di=!1,E4=typeof WeakSet=="function"?WeakSet:Set,vt=null,cp=null,fp=null;function w4(e){Jl(null,function(){throw e}),ef()}var x4=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Hn)try{Eu(),t.componentWillUnmount()}finally{Cu(e)}else t.componentWillUnmount()};function jD(e,t){try{yc(za,e)}catch(l){Tr(e,t,l)}}function Ox(e,t,l){try{x4(e,l)}catch(c){Tr(e,t,c)}}function R4(e,t,l){try{l.componentDidMount()}catch(c){Tr(e,t,c)}}function VD(e,t){try{UD(e)}catch(l){Tr(e,t,l)}}function dp(e,t){var l=e.ref;if(l!==null)if(typeof l=="function"){var c;try{if(we&&Pe&&e.mode&Hn)try{Eu(),c=l(null)}finally{Cu(e)}else c=l(null)}catch(v){Tr(e,t,v)}typeof c=="function"&&d("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",kt(e))}else l.current=null}function lS(e,t,l){try{l()}catch(c){Tr(e,t,c)}}var HD=!1;function T4(e,t){I5(e.containerInfo),vt=t,O4();var l=HD;return HD=!1,l}function O4(){for(;vt!==null;){var e=vt,t=e.child;(e.subtreeFlags&tu)!==Ot&&t!==null?(t.return=e,vt=t):_4()}}function _4(){for(;vt!==null;){var e=vt;jn(e);try{k4(e)}catch(l){Tr(e,e.return,l)}Xn();var t=e.sibling;if(t!==null){t.return=e.return,vt=t;return}vt=e.return}}function k4(e){var t=e.alternate,l=e.flags;if((l&da)!==Ot){switch(jn(e),e.tag){case y:case F:case W:break;case C:{if(t!==null){var c=t.memoizedProps,v=t.memoizedState,m=e.stateNode;e.type===e.elementType&&!qf&&(m.props!==e.memoizedProps&&d("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",kt(e)||"instance"),m.state!==e.memoizedState&&d("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",kt(e)||"instance"));var S=m.getSnapshotBeforeUpdate(e.elementType===e.type?c:Il(e.type,c),v);{var T=zD;S===void 0&&!T.has(e.type)&&(T.add(e.type),d("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",kt(e)))}m.__reactInternalSnapshotBeforeUpdate=S}break}case R:{{var _=e.stateNode;sH(_.containerInfo)}break}case D:case N:case O:case J:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Xn()}}function jl(e,t,l){var c=t.updateQueue,v=c!==null?c.lastEffect:null;if(v!==null){var m=v.next,S=m;do{if((S.tag&e)===e){var T=S.destroy;S.destroy=void 0,T!==void 0&&((e&ci)!==Co?Ol(t):(e&za)!==Co&&rf(t),(e&yu)!==Co&&ug(!0),lS(t,l,T),(e&yu)!==Co&&ug(!1),(e&ci)!==Co?iu():(e&za)!==Co&&zh())}S=S.next}while(S!==m)}}function yc(e,t){var l=t.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var v=c.next,m=v;do{if((m.tag&e)===e){(e&ci)!==Co?Ih(t):(e&za)!==Co&&rv(t);var S=m.create;(e&yu)!==Co&&ug(!0),m.destroy=S(),(e&yu)!==Co&&ug(!1),(e&ci)!==Co?d0():(e&za)!==Co&&v0();{var T=m.destroy;if(T!==void 0&&typeof T!="function"){var _=void 0;(m.tag&za)!==Ot?_="useLayoutEffect":(m.tag&yu)!==Ot?_="useInsertionEffect":_="useEffect";var L=void 0;T===null?L=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof T.then=="function"?L=`
171
-
172
- It looks like you wrote `+_+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
173
-
174
- `+_+`(() => {
175
- async function fetchData() {
176
- // You can await here
177
- const response = await MyAPI.getData(someId);
178
- // ...
179
- }
180
- fetchData();
181
- }, [someId]); // Or [] if effect doesn't need props or state
182
-
183
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:L=" You returned: "+T,d("%s must not return anything besides a function, which is used for clean-up.%s",_,L)}}}m=m.next}while(m!==v)}}function M4(e,t){if((t.flags&Dn)!==Ot)switch(t.tag){case z:{var l=t.stateNode.passiveEffectDuration,c=t.memoizedProps,v=c.id,m=c.onPostCommit,S=aD(),T=t.alternate===null?"mount":"update";rD()&&(T="nested-update"),typeof m=="function"&&m(v,T,l,S);var _=t.return;e:for(;_!==null;){switch(_.tag){case R:var L=_.stateNode;L.passiveEffectDuration+=l;break e;case z:var j=_.stateNode;j.passiveEffectDuration+=l;break e}_=_.return}break}}}function N4(e,t,l,c){if((l.flags&ru)!==Ot)switch(l.tag){case y:case F:case W:{if(!di)if(l.mode&Hn)try{Eu(),yc(za|Ia,l)}finally{Cu(l)}else yc(za|Ia,l);break}case C:{var v=l.stateNode;if(l.flags&Dn&&!di)if(t===null)if(l.type===l.elementType&&!qf&&(v.props!==l.memoizedProps&&d("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",kt(l)||"instance"),v.state!==l.memoizedState&&d("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",kt(l)||"instance")),l.mode&Hn)try{Eu(),v.componentDidMount()}finally{Cu(l)}else v.componentDidMount();else{var m=l.elementType===l.type?t.memoizedProps:Il(l.type,t.memoizedProps),S=t.memoizedState;if(l.type===l.elementType&&!qf&&(v.props!==l.memoizedProps&&d("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",kt(l)||"instance"),v.state!==l.memoizedState&&d("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",kt(l)||"instance")),l.mode&Hn)try{Eu(),v.componentDidUpdate(m,S,v.__reactInternalSnapshotBeforeUpdate)}finally{Cu(l)}else v.componentDidUpdate(m,S,v.__reactInternalSnapshotBeforeUpdate)}var T=l.updateQueue;T!==null&&(l.type===l.elementType&&!qf&&(v.props!==l.memoizedProps&&d("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",kt(l)||"instance"),v.state!==l.memoizedState&&d("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",kt(l)||"instance")),_N(l,T,v));break}case R:{var _=l.updateQueue;if(_!==null){var L=null;if(l.child!==null)switch(l.child.tag){case D:L=l.child.stateNode;break;case C:L=l.child.stateNode;break}_N(l,_,L)}break}case D:{var j=l.stateNode;if(t===null&&l.flags&Dn){var oe=l.type,ae=l.memoizedProps;G5(j,oe,ae)}break}case N:break;case O:break;case z:{{var ge=l.memoizedProps,Ee=ge.onCommit,Te=ge.onRender,et=l.stateNode.effectDuration,Lt=aD(),Ct=t===null?"mount":"update";rD()&&(Ct="nested-update"),typeof Te=="function"&&Te(l.memoizedProps.id,Ct,l.actualDuration,l.treeBaseDuration,l.actualStartTime,Lt);{typeof Ee=="function"&&Ee(l.memoizedProps.id,Ct,et,Lt),_6(l);var $n=l.return;e:for(;$n!==null;){switch($n.tag){case R:var wn=$n.stateNode;wn.effectDuration+=et;break e;case z:var ve=$n.stateNode;ve.effectDuration+=et;break e}$n=$n.return}}}break}case I:{z4(e,l);break}case q:case J:case te:case Y:case Q:case ye:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}di||l.flags&jr&&UD(l)}function D4(e){switch(e.tag){case y:case F:case W:{if(e.mode&Hn)try{Eu(),jD(e,e.return)}finally{Cu(e)}else jD(e,e.return);break}case C:{var t=e.stateNode;typeof t.componentDidMount=="function"&&R4(e,e.return,t),VD(e,e.return);break}case D:{VD(e,e.return);break}}}function P4(e,t){for(var l=null,c=e;;){if(c.tag===D){if(l===null){l=c;try{var v=c.stateNode;t?iH(v):lH(c.stateNode,c.memoizedProps)}catch(S){Tr(e,e.return,S)}}}else if(c.tag===N){if(l===null)try{var m=c.stateNode;t?oH(m):uH(m,c.memoizedProps)}catch(S){Tr(e,e.return,S)}}else if(!((c.tag===Y||c.tag===Q)&&c.memoizedState!==null&&c!==e)){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===e)return;for(;c.sibling===null;){if(c.return===null||c.return===e)return;l===c&&(l=null),c=c.return}l===c&&(l=null),c.sibling.return=c.return,c=c.sibling}}function UD(e){var t=e.ref;if(t!==null){var l=e.stateNode,c;switch(e.tag){case D:c=l;break;default:c=l}if(typeof t=="function"){var v;if(e.mode&Hn)try{Eu(),v=t(c)}finally{Cu(e)}else v=t(c);typeof v=="function"&&d("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",kt(e))}else t.hasOwnProperty("current")||d("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",kt(e)),t.current=c}}function A4(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function BD(e){var t=e.alternate;t!==null&&(e.alternate=null,BD(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===D){var l=e.stateNode;l!==null&&jH(l)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function $4(e){for(var t=e.return;t!==null;){if(WD(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function WD(e){return e.tag===D||e.tag===R||e.tag===O}function YD(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||WD(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==D&&t.tag!==N&&t.tag!==U;){if(t.flags&Ur||t.child===null||t.tag===O)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ur))return t.stateNode}}function L4(e){var t=$4(e);switch(t.tag){case D:{var l=t.stateNode;t.flags&No&&(qM(l),t.flags&=-33);var c=YD(e);kx(e,c,l);break}case R:case O:{var v=t.stateNode.containerInfo,m=YD(e);_x(e,m,v);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function _x(e,t,l){var c=e.tag,v=c===D||c===N;if(v){var m=e.stateNode;t?tH(l,m,t):J5(l,m)}else if(c!==O){var S=e.child;if(S!==null){_x(S,t,l);for(var T=S.sibling;T!==null;)_x(T,t,l),T=T.sibling}}}function kx(e,t,l){var c=e.tag,v=c===D||c===N;if(v){var m=e.stateNode;t?eH(l,m,t):Z5(l,m)}else if(c!==O){var S=e.child;if(S!==null){kx(S,t,l);for(var T=S.sibling;T!==null;)kx(T,t,l),T=T.sibling}}}var vi=null,Vl=!1;function F4(e,t,l){{var c=t;e:for(;c!==null;){switch(c.tag){case D:{vi=c.stateNode,Vl=!1;break e}case R:{vi=c.stateNode.containerInfo,Vl=!0;break e}case O:{vi=c.stateNode.containerInfo,Vl=!0;break e}}c=c.return}if(vi===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");KD(e,t,l),vi=null,Vl=!1}A4(l)}function bc(e,t,l){for(var c=l.child;c!==null;)KD(e,t,c),c=c.sibling}function KD(e,t,l){switch($h(l),l.tag){case D:di||dp(l,t);case N:{{var c=vi,v=Vl;vi=null,bc(e,t,l),vi=c,Vl=v,vi!==null&&(Vl?rH(vi,l.stateNode):nH(vi,l.stateNode))}return}case U:{vi!==null&&(Vl?aH(vi,l.stateNode):jw(vi,l.stateNode));return}case O:{{var m=vi,S=Vl;vi=l.stateNode.containerInfo,Vl=!0,bc(e,t,l),vi=m,Vl=S}return}case y:case F:case H:case W:{if(!di){var T=l.updateQueue;if(T!==null){var _=T.lastEffect;if(_!==null){var L=_.next,j=L;do{var oe=j,ae=oe.destroy,ge=oe.tag;ae!==void 0&&((ge&yu)!==Co?lS(l,t,ae):(ge&za)!==Co&&(rf(l),l.mode&Hn?(Eu(),lS(l,t,ae),Cu(l)):lS(l,t,ae),zh())),j=j.next}while(j!==L)}}}bc(e,t,l);return}case C:{if(!di){dp(l,t);var Ee=l.stateNode;typeof Ee.componentWillUnmount=="function"&&Ox(l,t,Ee)}bc(e,t,l);return}case te:{bc(e,t,l);return}case Y:{if(l.mode&vn){var Te=di;di=Te||l.memoizedState!==null,bc(e,t,l),di=Te}else bc(e,t,l);break}default:{bc(e,t,l);return}}}function I4(e){e.memoizedState}function z4(e,t){var l=t.memoizedState;if(l===null){var c=t.alternate;if(c!==null){var v=c.memoizedState;if(v!==null){var m=v.dehydrated;m!==null&&wH(m)}}}}function qD(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var l=e.stateNode;l===null&&(l=e.stateNode=new E4),t.forEach(function(c){var v=$6.bind(null,e,c);if(!l.has(c)){if(l.add(c),Oi)if(cp!==null&&fp!==null)lg(fp,cp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");c.then(v,v)}})}}function j4(e,t,l){cp=l,fp=e,jn(t),GD(t,e),jn(t),cp=null,fp=null}function Hl(e,t,l){var c=t.deletions;if(c!==null)for(var v=0;v<c.length;v++){var m=c[v];try{F4(e,t,m)}catch(_){Tr(m,t,_)}}var S=io();if(t.subtreeFlags&nu)for(var T=t.child;T!==null;)jn(T),GD(T,e),T=T.sibling;jn(S)}function GD(e,t,l){var c=e.alternate,v=e.flags;switch(e.tag){case y:case F:case H:case W:{if(Hl(t,e),wu(e),v&Dn){try{jl(yu|Ia,e,e.return),yc(yu|Ia,e)}catch(qt){Tr(e,e.return,qt)}if(e.mode&Hn){try{Eu(),jl(za|Ia,e,e.return)}catch(qt){Tr(e,e.return,qt)}Cu(e)}else try{jl(za|Ia,e,e.return)}catch(qt){Tr(e,e.return,qt)}}return}case C:{Hl(t,e),wu(e),v&jr&&c!==null&&dp(c,c.return);return}case D:{Hl(t,e),wu(e),v&jr&&c!==null&&dp(c,c.return);{if(e.flags&No){var m=e.stateNode;try{qM(m)}catch(qt){Tr(e,e.return,qt)}}if(v&Dn){var S=e.stateNode;if(S!=null){var T=e.memoizedProps,_=c!==null?c.memoizedProps:T,L=e.type,j=e.updateQueue;if(e.updateQueue=null,j!==null)try{X5(S,j,L,_,T,e)}catch(qt){Tr(e,e.return,qt)}}}}return}case N:{if(Hl(t,e),wu(e),v&Dn){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var oe=e.stateNode,ae=e.memoizedProps,ge=c!==null?c.memoizedProps:ae;try{Q5(oe,ge,ae)}catch(qt){Tr(e,e.return,qt)}}return}case R:{if(Hl(t,e),wu(e),v&Dn&&c!==null){var Ee=c.memoizedState;if(Ee.isDehydrated)try{EH(t.containerInfo)}catch(qt){Tr(e,e.return,qt)}}return}case O:{Hl(t,e),wu(e);return}case I:{Hl(t,e),wu(e);var Te=e.child;if(Te.flags&Zr){var et=Te.stateNode,Lt=Te.memoizedState,Ct=Lt!==null;if(et.isHidden=Ct,Ct){var $n=Te.alternate!==null&&Te.alternate.memoizedState!==null;$n||S6()}}if(v&Dn){try{I4(e)}catch(qt){Tr(e,e.return,qt)}qD(e)}return}case Y:{var wn=c!==null&&c.memoizedState!==null;if(e.mode&vn){var ve=di;di=ve||wn,Hl(t,e),di=ve}else Hl(t,e);if(wu(e),v&Zr){var Oe=e.stateNode,pe=e.memoizedState,je=pe!==null,it=e;if(Oe.isHidden=je,je&&!wn&&(it.mode&vn)!==_t){vt=it;for(var nt=it.child;nt!==null;)vt=nt,H4(nt),nt=nt.sibling}P4(it,je)}return}case q:{Hl(t,e),wu(e),v&Dn&&qD(e);return}case te:return;default:{Hl(t,e),wu(e);return}}}function wu(e){var t=e.flags;if(t&Ur){try{L4(e)}catch(l){Tr(e,e.return,l)}e.flags&=-3}t&co&&(e.flags&=-4097)}function V4(e,t,l){cp=l,fp=t,vt=e,XD(e,t,l),cp=null,fp=null}function XD(e,t,l){for(var c=(e.mode&vn)!==_t;vt!==null;){var v=vt,m=v.child;if(v.tag===Y&&c){var S=v.memoizedState!==null,T=S||oS;if(T){Mx(e,t,l);continue}else{var _=v.alternate,L=_!==null&&_.memoizedState!==null,j=L||di,oe=oS,ae=di;oS=T,di=j,di&&!ae&&(vt=v,U4(v));for(var ge=m;ge!==null;)vt=ge,XD(ge,t,l),ge=ge.sibling;vt=v,oS=oe,di=ae,Mx(e,t,l);continue}}(v.subtreeFlags&ru)!==Ot&&m!==null?(m.return=v,vt=m):Mx(e,t,l)}}function Mx(e,t,l){for(;vt!==null;){var c=vt;if((c.flags&ru)!==Ot){var v=c.alternate;jn(c);try{N4(t,v,c,l)}catch(S){Tr(c,c.return,S)}Xn()}if(c===e){vt=null;return}var m=c.sibling;if(m!==null){m.return=c.return,vt=m;return}vt=c.return}}function H4(e){for(;vt!==null;){var t=vt,l=t.child;switch(t.tag){case y:case F:case H:case W:{if(t.mode&Hn)try{Eu(),jl(za,t,t.return)}finally{Cu(t)}else jl(za,t,t.return);break}case C:{dp(t,t.return);var c=t.stateNode;typeof c.componentWillUnmount=="function"&&Ox(t,t.return,c);break}case D:{dp(t,t.return);break}case Y:{var v=t.memoizedState!==null;if(v){QD(e);continue}break}}l!==null?(l.return=t,vt=l):QD(e)}}function QD(e){for(;vt!==null;){var t=vt;if(t===e){vt=null;return}var l=t.sibling;if(l!==null){l.return=t.return,vt=l;return}vt=t.return}}function U4(e){for(;vt!==null;){var t=vt,l=t.child;if(t.tag===Y){var c=t.memoizedState!==null;if(c){ZD(e);continue}}l!==null?(l.return=t,vt=l):ZD(e)}}function ZD(e){for(;vt!==null;){var t=vt;jn(t);try{D4(t)}catch(c){Tr(t,t.return,c)}if(Xn(),t===e){vt=null;return}var l=t.sibling;if(l!==null){l.return=t.return,vt=l;return}vt=t.return}}function B4(e,t,l,c){vt=t,W4(t,e,l,c)}function W4(e,t,l,c){for(;vt!==null;){var v=vt,m=v.child;(v.subtreeFlags&Rl)!==Ot&&m!==null?(m.return=v,vt=m):Y4(e,t,l,c)}}function Y4(e,t,l,c){for(;vt!==null;){var v=vt;if((v.flags&wi)!==Ot){jn(v);try{K4(t,v,l,c)}catch(S){Tr(v,v.return,S)}Xn()}if(v===e){vt=null;return}var m=v.sibling;if(m!==null){m.return=v.return,vt=m;return}vt=v.return}}function K4(e,t,l,c){switch(t.tag){case y:case F:case W:{if(t.mode&Hn){G1();try{yc(ci|Ia,t)}finally{q1(t)}}else yc(ci|Ia,t);break}}}function q4(e){vt=e,G4()}function G4(){for(;vt!==null;){var e=vt,t=e.child;if((vt.flags&so)!==Ot){var l=e.deletions;if(l!==null){for(var c=0;c<l.length;c++){var v=l[c];vt=v,Z4(v,e)}{var m=e.alternate;if(m!==null){var S=m.child;if(S!==null){m.child=null;do{var T=S.sibling;S.sibling=null,S=T}while(S!==null)}}}vt=e}}(e.subtreeFlags&Rl)!==Ot&&t!==null?(t.return=e,vt=t):X4()}}function X4(){for(;vt!==null;){var e=vt;(e.flags&wi)!==Ot&&(jn(e),Q4(e),Xn());var t=e.sibling;if(t!==null){t.return=e.return,vt=t;return}vt=e.return}}function Q4(e){switch(e.tag){case y:case F:case W:{e.mode&Hn?(G1(),jl(ci|Ia,e,e.return),q1(e)):jl(ci|Ia,e,e.return);break}}}function Z4(e,t){for(;vt!==null;){var l=vt;jn(l),e6(l,t),Xn();var c=l.child;c!==null?(c.return=l,vt=c):J4(e)}}function J4(e){for(;vt!==null;){var t=vt,l=t.sibling,c=t.return;if(BD(t),t===e){vt=null;return}if(l!==null){l.return=c,vt=l;return}vt=c}}function e6(e,t){switch(e.tag){case y:case F:case W:{e.mode&Hn?(G1(),jl(ci,e,t),q1(e)):jl(ci,e,t);break}}}function t6(e){switch(e.tag){case y:case F:case W:{try{yc(za|Ia,e)}catch(l){Tr(e,e.return,l)}break}case C:{var t=e.stateNode;try{t.componentDidMount()}catch(l){Tr(e,e.return,l)}break}}}function n6(e){switch(e.tag){case y:case F:case W:{try{yc(ci|Ia,e)}catch(t){Tr(e,e.return,t)}break}}}function r6(e){switch(e.tag){case y:case F:case W:{try{jl(za|Ia,e,e.return)}catch(l){Tr(e,e.return,l)}break}case C:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Ox(e,e.return,t);break}}}function a6(e){switch(e.tag){case y:case F:case W:try{jl(ci|Ia,e,e.return)}catch(t){Tr(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Xm=Symbol.for;Xm("selector.component"),Xm("selector.has_pseudo_class"),Xm("selector.role"),Xm("selector.test_id"),Xm("selector.text")}var i6=[];function o6(){i6.forEach(function(e){return e()})}var l6=a.ReactCurrentActQueue;function u6(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,l=typeof jest<"u";return l&&t!==!1}}function JD(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&l6.current!==null&&d("The current testing environment is not configured to support act(...)"),e}}var s6=Math.ceil,Nx=a.ReactCurrentDispatcher,Dx=a.ReactCurrentOwner,pi=a.ReactCurrentBatchConfig,Ul=a.ReactCurrentActQueue,Ha=0,eP=1,hi=2,ll=4,bs=0,Qm=1,Gf=2,uS=3,Zm=4,tP=5,Px=6,An=Ha,Gi=null,Gr=null,Ua=Ne,xu=Ne,Ax=sc(Ne),Ba=bs,Jm=null,sS=Ne,eg=Ne,cS=Ne,tg=null,Eo=null,$x=0,nP=500,rP=1/0,c6=500,Ss=null;function ng(){rP=va()+c6}function aP(){return rP}var fS=!1,Lx=null,vp=null,Xf=!1,Sc=null,rg=Ne,Fx=[],Ix=null,f6=50,ag=0,zx=null,jx=!1,dS=!1,d6=50,pp=0,vS=null,ig=mr,pS=Ne,iP=!1;function hS(){return Gi}function Xi(){return(An&(hi|ll))!==Ha?va():(ig!==mr||(ig=va()),ig)}function Cc(e){var t=e.mode;if((t&vn)===_t)return Wt;if((An&hi)!==Ha&&Ua!==Ne)return gf(Ua);var l=lU()!==oU;if(l){if(pi.transition!==null){var c=pi.transition;c._updatedFibers||(c._updatedFibers=new Set),c._updatedFibers.add(e)}return pS===Vn&&(pS=Kh()),pS}var v=go();if(v!==Vn)return v;var m=W5();return m}function v6(e){var t=e.mode;return(t&vn)===_t?Wt:b0()}function Wa(e,t,l,c){F6(),iP&&d("useInsertionEffect must not schedule updates."),jx&&(dS=!0),Zs(e,l,c),(An&hi)!==Ne&&e===Gi?j6(t):(Oi&&Sf(e,t,l),V6(t),e===Gi&&((An&hi)===Ha&&(eg=tn(eg,l)),Ba===Zm&&Ec(e,Ua)),wo(e,c),l===Wt&&An===Ha&&(t.mode&vn)===_t&&!Ul.isBatchingLegacy&&(ng(),iN()))}function p6(e,t,l){var c=e.current;c.lanes=t,Zs(e,t,l),wo(e,l)}function h6(e){return(An&hi)!==Ha}function wo(e,t){var l=e.callbackNode;wv(e,t);var c=Ev(e,e===Gi?Ua:Ne);if(c===Ne){l!==null&&CP(l),e.callbackNode=null,e.callbackPriority=Vn;return}var v=uu(c),m=e.callbackPriority;if(m===v&&!(Ul.current!==null&&l!==Kx)){l==null&&m!==Wt&&d("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}l!=null&&CP(l);var S;if(v===Wt)e.tag===cc?(Ul.isBatchingLegacy!==null&&(Ul.didScheduleLegacyUpdate=!0),UH(uP.bind(null,e))):aN(uP.bind(null,e)),Ul.current!==null?Ul.current.push(fc):K5(function(){(An&(hi|ll))===Ha&&fc()}),S=null;else{var T;switch(T0(c)){case ai:T=nf;break;case Qo:T=au;break;case ho:T=Tl;break;case mo:T=Ku;break;default:T=Tl;break}S=qx(T,oP.bind(null,e))}e.callbackPriority=v,e.callbackNode=S}function oP(e,t){if(PU(),ig=mr,pS=Ne,(An&(hi|ll))!==Ha)throw new Error("Should not already be working.");var l=e.callbackNode,c=Es();if(c&&e.callbackNode!==l)return null;var v=Ev(e,e===Gi?Ua:Ne);if(v===Ne)return null;var m=!Rv(e,v)&&!y0(e,v)&&!t,S=m?R6(e,v):gS(e,v);if(S!==bs){if(S===Gf){var T=xv(e);T!==Ne&&(v=T,S=Vx(e,T))}if(S===Qm){var _=Jm;throw Qf(e,Ne),Ec(e,v),wo(e,va()),_}if(S===Px)Ec(e,v);else{var L=!Rv(e,v),j=e.current.alternate;if(L&&!g6(j)){if(S=gS(e,v),S===Gf){var oe=xv(e);oe!==Ne&&(v=oe,S=Vx(e,oe))}if(S===Qm){var ae=Jm;throw Qf(e,Ne),Ec(e,v),wo(e,va()),ae}}e.finishedWork=j,e.finishedLanes=v,m6(e,S,v)}}return wo(e,va()),e.callbackNode===l?oP.bind(null,e):null}function Vx(e,t){var l=tg;if(_v(e)){var c=Qf(e,t);c.flags|=Ei,LH(e.containerInfo)}var v=gS(e,t);if(v!==Gf){var m=Eo;Eo=l,m!==null&&lP(m)}return v}function lP(e){Eo===null?Eo=e:Eo.push.apply(Eo,e)}function m6(e,t,l){switch(t){case bs:case Qm:throw new Error("Root did not complete. This is a bug in React.");case Gf:{Zf(e,Eo,Ss);break}case uS:{if(Ec(e,l),as(l)&&!EP()){var c=$x+nP-va();if(c>10){var v=Ev(e,Ne);if(v!==Ne)break;var m=e.suspendedLanes;if(!is(m,l)){Xi(),Tv(e,m);break}e.timeoutHandle=Iw(Zf.bind(null,e,Eo,Ss),c);break}}Zf(e,Eo,Ss);break}case Zm:{if(Ec(e,l),Wh(l))break;if(!EP()){var S=Po(e,l),T=S,_=va()-T,L=L6(_)-_;if(L>10){e.timeoutHandle=Iw(Zf.bind(null,e,Eo,Ss),L);break}}Zf(e,Eo,Ss);break}case tP:{Zf(e,Eo,Ss);break}default:throw new Error("Unknown root exit status.")}}function g6(e){for(var t=e;;){if(t.flags&Ks){var l=t.updateQueue;if(l!==null){var c=l.stores;if(c!==null)for(var v=0;v<c.length;v++){var m=c[v],S=m.getSnapshot,T=m.value;try{if(!$e(S(),T))return!1}catch{return!1}}}}var _=t.child;if(t.subtreeFlags&Ks&&_!==null){_.return=t,t=_;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Ec(e,t){t=yf(t,cS),t=yf(t,eg),E0(e,t)}function uP(e){if(AU(),(An&(hi|ll))!==Ha)throw new Error("Should not already be working.");Es();var t=Ev(e,Ne);if(!_i(t,Wt))return wo(e,va()),null;var l=gS(e,t);if(e.tag!==cc&&l===Gf){var c=xv(e);c!==Ne&&(t=c,l=Vx(e,c))}if(l===Qm){var v=Jm;throw Qf(e,Ne),Ec(e,t),wo(e,va()),v}if(l===Px)throw new Error("Root did not complete. This is a bug in React.");var m=e.current.alternate;return e.finishedWork=m,e.finishedLanes=t,Zf(e,Eo,Ss),wo(e,va()),null}function y6(e,t){t!==Ne&&(Ov(e,tn(t,Wt)),wo(e,va()),(An&(hi|ll))===Ha&&(ng(),fc()))}function Hx(e,t){var l=An;An|=eP;try{return e(t)}finally{An=l,An===Ha&&!Ul.isBatchingLegacy&&(ng(),iN())}}function b6(e,t,l,c,v){var m=go(),S=pi.transition;try{return pi.transition=null,na(ai),e(t,l,c,v)}finally{na(m),pi.transition=S,An===Ha&&ng()}}function Cs(e){Sc!==null&&Sc.tag===cc&&(An&(hi|ll))===Ha&&Es();var t=An;An|=eP;var l=pi.transition,c=go();try{return pi.transition=null,na(ai),e?e():void 0}finally{na(c),pi.transition=l,An=t,(An&(hi|ll))===Ha&&fc()}}function sP(){return(An&(hi|ll))!==Ha}function mS(e,t){Pi(Ax,xu,e),xu=tn(xu,t)}function Ux(e){xu=Ax.current,Di(Ax,e)}function Qf(e,t){e.finishedWork=null,e.finishedLanes=Ne;var l=e.timeoutHandle;if(l!==zw&&(e.timeoutHandle=zw,Y5(l)),Gr!==null)for(var c=Gr.return;c!==null;){var v=c.alternate;ID(v,c),c=c.return}Gi=e;var m=Jf(e.current,null);return Gr=m,Ua=xu=t,Ba=bs,Jm=null,sS=Ne,eg=Ne,cS=Ne,tg=null,Eo=null,pU(),$l.discardPendingWarnings(),m}function cP(e,t){do{var l=Gr;try{if(Tb(),AN(),Xn(),Dx.current=null,l===null||l.return===null){Ba=Qm,Jm=t,Gr=null;return}if(we&&l.mode&Hn&&tS(l,!0),xe)if(Bi(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var c=t;Xo(l,c,Ua)}else af(l,t,Ua);UU(e,l.return,l,t,Ua),pP(l)}catch(v){t=v,Gr===l&&l!==null?(l=l.return,Gr=l):l=Gr;continue}return}while(!0)}function fP(){var e=Nx.current;return Nx.current=Xb,e===null?Xb:e}function dP(e){Nx.current=e}function S6(){$x=va()}function og(e){sS=tn(e,sS)}function C6(){Ba===bs&&(Ba=uS)}function Bx(){(Ba===bs||Ba===uS||Ba===Gf)&&(Ba=Zm),Gi!==null&&(mf(sS)||mf(eg))&&Ec(Gi,Ua)}function E6(e){Ba!==Zm&&(Ba=Gf),tg===null?tg=[e]:tg.push(e)}function w6(){return Ba===bs}function gS(e,t){var l=An;An|=hi;var c=fP();if(Gi!==e||Ua!==t){if(Oi){var v=e.memoizedUpdaters;v.size>0&&(lg(e,Ua),v.clear()),w0(e,t)}Ss=Qh(),Qf(e,t)}Qu(t);do try{x6();break}catch(m){cP(e,m)}while(!0);if(Tb(),An=l,dP(c),Gr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return av(),Gi=null,Ua=Ne,Ba}function x6(){for(;Gr!==null;)vP(Gr)}function R6(e,t){var l=An;An|=hi;var c=fP();if(Gi!==e||Ua!==t){if(Oi){var v=e.memoizedUpdaters;v.size>0&&(lg(e,Ua),v.clear()),w0(e,t)}Ss=Qh(),ng(),Qf(e,t)}Qu(t);do try{T6();break}catch(m){cP(e,m)}while(!0);return Tb(),dP(c),An=l,Gr!==null?(p0(),bs):(av(),Gi=null,Ua=Ne,Ba)}function T6(){for(;Gr!==null&&!Mh();)vP(Gr)}function vP(e){var t=e.alternate;jn(e);var l;(e.mode&Hn)!==_t?(K1(e),l=Wx(t,e,xu),tS(e,!0)):l=Wx(t,e,xu),Xn(),e.memoizedProps=e.pendingProps,l===null?pP(e):Gr=l,Dx.current=null}function pP(e){var t=e;do{var l=t.alternate,c=t.return;if((t.flags&tf)===Ot){jn(t);var v=void 0;if((t.mode&Hn)===_t?v=FD(l,t,xu):(K1(t),v=FD(l,t,xu),tS(t,!1)),Xn(),v!==null){Gr=v;return}}else{var m=C4(l,t);if(m!==null){m.flags&=u0,Gr=m;return}if((t.mode&Hn)!==_t){tS(t,!1);for(var S=t.actualDuration,T=t.child;T!==null;)S+=T.actualDuration,T=T.sibling;t.actualDuration=S}if(c!==null)c.flags|=tf,c.subtreeFlags=Ot,c.deletions=null;else{Ba=Px,Gr=null;return}}var _=t.sibling;if(_!==null){Gr=_;return}t=c,Gr=t}while(t!==null);Ba===bs&&(Ba=tP)}function Zf(e,t,l){var c=go(),v=pi.transition;try{pi.transition=null,na(ai),O6(e,t,l,c)}finally{pi.transition=v,na(c)}return null}function O6(e,t,l,c){do Es();while(Sc!==null);if(I6(),(An&(hi|ll))!==Ha)throw new Error("Should not already be working.");var v=e.finishedWork,m=e.finishedLanes;if(Lh(m),v===null)return Fh(),null;if(m===Ne&&d("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Ne,v===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Vn;var S=tn(v.lanes,v.childLanes);Gh(e,S),e===Gi&&(Gi=null,Gr=null,Ua=Ne),((v.subtreeFlags&Rl)!==Ot||(v.flags&Rl)!==Ot)&&(Xf||(Xf=!0,Ix=l,qx(Tl,function(){return Es(),null})));var T=(v.subtreeFlags&(tu|nu|ru|Rl))!==Ot,_=(v.flags&(tu|nu|ru|Rl))!==Ot;if(T||_){var L=pi.transition;pi.transition=null;var j=go();na(ai);var oe=An;An|=ll,Dx.current=null,T4(e,v),iD(),j4(e,v,m),z5(e.containerInfo),e.current=v,of(m),V4(v,e,m),lf(),Nh(),An=oe,na(j),pi.transition=L}else e.current=v,iD();var ae=Xf;if(Xf?(Xf=!1,Sc=e,rg=m):(pp=0,vS=null),S=e.pendingLanes,S===Ne&&(vp=null),ae||yP(e.current,!1),Ph(v.stateNode,c),Oi&&e.memoizedUpdaters.clear(),o6(),wo(e,va()),t!==null)for(var ge=e.onRecoverableError,Ee=0;Ee<t.length;Ee++){var Te=t[Ee],et=Te.stack,Lt=Te.digest;ge(Te.value,{componentStack:et,digest:Lt})}if(fS){fS=!1;var Ct=Lx;throw Lx=null,Ct}return _i(rg,Wt)&&e.tag!==cc&&Es(),S=e.pendingLanes,_i(S,Wt)?(DU(),e===zx?ag++:(ag=0,zx=e)):ag=0,fc(),Fh(),null}function Es(){if(Sc!==null){var e=T0(rg),t=Ef(ho,e),l=pi.transition,c=go();try{return pi.transition=null,na(t),k6()}finally{na(c),pi.transition=l}}return!1}function _6(e){Fx.push(e),Xf||(Xf=!0,qx(Tl,function(){return Es(),null}))}function k6(){if(Sc===null)return!1;var e=Ix;Ix=null;var t=Sc,l=rg;if(Sc=null,rg=Ne,(An&(hi|ll))!==Ha)throw new Error("Cannot flush passive effects while already rendering.");jx=!0,dS=!1,Xu(l);var c=An;An|=ll,q4(t.current),B4(t,t.current,l,e);{var v=Fx;Fx=[];for(var m=0;m<v.length;m++){var S=v[m];M4(t,S)}}jh(),yP(t.current,!0),An=c,fc(),dS?t===vS?pp++:(pp=0,vS=t):pp=0,jx=!1,dS=!1,Ah(t);{var T=t.current.stateNode;T.effectDuration=0,T.passiveEffectDuration=0}return!0}function hP(e){return vp!==null&&vp.has(e)}function M6(e){vp===null?vp=new Set([e]):vp.add(e)}function N6(e){fS||(fS=!0,Lx=e)}var D6=N6;function mP(e,t,l){var c=Kf(l,t),v=vD(e,c,Wt),m=vc(e,v,Wt),S=Xi();m!==null&&(Zs(m,Wt,S),wo(m,S))}function Tr(e,t,l){if(w4(l),ug(!1),e.tag===R){mP(e,e,l);return}var c=null;for(c=t;c!==null;){if(c.tag===R){mP(c,e,l);return}else if(c.tag===C){var v=c.type,m=c.stateNode;if(typeof v.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&!hP(m)){var S=Kf(l,e),T=fx(c,S,Wt),_=vc(c,T,Wt),L=Xi();_!==null&&(Zs(_,Wt,L),wo(_,L));return}}c=c.return}d(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
184
-
185
- Error message:
186
-
187
- %s`,l)}function P6(e,t,l){var c=e.pingCache;c!==null&&c.delete(t);var v=Xi();Tv(e,l),H6(e),Gi===e&&is(Ua,l)&&(Ba===Zm||Ba===uS&&as(Ua)&&va()-$x<nP?Qf(e,Ne):cS=tn(cS,l)),wo(e,v)}function gP(e,t){t===Vn&&(t=v6(e));var l=Xi(),c=So(e,t);c!==null&&(Zs(c,t,l),wo(c,l))}function A6(e){var t=e.memoizedState,l=Vn;t!==null&&(l=t.retryLane),gP(e,l)}function $6(e,t){var l=Vn,c;switch(e.tag){case I:c=e.stateNode;var v=e.memoizedState;v!==null&&(l=v.retryLane);break;case q:c=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}c!==null&&c.delete(t),gP(e,l)}function L6(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:s6(e/1960)*1960}function F6(){if(ag>f6)throw ag=0,zx=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");pp>d6&&(pp=0,vS=null,d("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function I6(){$l.flushLegacyContextWarning(),$l.flushPendingUnsafeLifecycleWarnings()}function yP(e,t){jn(e),yS(e,eu,r6),t&&yS(e,Ko,a6),yS(e,eu,t6),t&&yS(e,Ko,n6),Xn()}function yS(e,t,l){for(var c=e,v=null;c!==null;){var m=c.subtreeFlags&t;c!==v&&c.child!==null&&m!==Ot?c=c.child:((c.flags&t)!==Ot&&l(c),c.sibling!==null?c=c.sibling:c=v=c.return)}}var bS=null;function bP(e){{if((An&hi)!==Ha||!(e.mode&vn))return;var t=e.tag;if(t!==x&&t!==R&&t!==C&&t!==y&&t!==F&&t!==H&&t!==W)return;var l=kt(e)||"ReactComponent";if(bS!==null){if(bS.has(l))return;bS.add(l)}else bS=new Set([l]);var c=zr;try{jn(e),d("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{c?jn(e):Xn()}}}var Wx;{var z6=null;Wx=function(e,t,l){var c=OP(z6,t);try{return DD(e,t,l)}catch(m){if(QH()||m!==null&&typeof m=="object"&&typeof m.then=="function")throw m;if(Tb(),AN(),ID(e,t),OP(t,c),t.mode&Hn&&K1(t),Jl(null,DD,null,e,t,l),wl()){var v=ef();typeof v=="object"&&v!==null&&v._suppressLogging&&typeof m=="object"&&m!==null&&!m._suppressLogging&&(m._suppressLogging=!0)}throw m}}}var SP=!1,Yx;Yx=new Set;function j6(e){if(Pa&&!kU())switch(e.tag){case y:case F:case W:{var t=Gr&&kt(Gr)||"Unknown",l=t;if(!Yx.has(l)){Yx.add(l);var c=kt(e)||"Unknown";d("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",c,t,t)}break}case C:{SP||(d("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),SP=!0);break}}}function lg(e,t){if(Oi){var l=e.memoizedUpdaters;l.forEach(function(c){Sf(e,c,t)})}}var Kx={};function qx(e,t){{var l=Ul.current;return l!==null?(l.push(t),Kx):kh(e,t)}}function CP(e){if(e!==Kx)return c0(e)}function EP(){return Ul.current!==null}function V6(e){{if(e.mode&vn){if(!JD())return}else if(!u6()||An!==Ha||e.tag!==y&&e.tag!==F&&e.tag!==W)return;if(Ul.current===null){var t=zr;try{jn(e),d(`An update to %s inside a test was not wrapped in act(...).
188
-
189
- When testing, code that causes React state updates should be wrapped into act(...):
190
-
191
- act(() => {
192
- /* fire events that update state */
193
- });
194
- /* assert on the output */
195
-
196
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,kt(e))}finally{t?jn(e):Xn()}}}}function H6(e){e.tag!==cc&&JD()&&Ul.current===null&&d(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
197
-
198
- When testing, code that resolves suspended data should be wrapped into act(...):
199
-
200
- act(() => {
201
- /* finish loading suspended data */
202
- });
203
- /* assert on the output */
204
-
205
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function ug(e){iP=e}var ul=null,hp=null,U6=function(e){ul=e};function mp(e){{if(ul===null)return e;var t=ul(e);return t===void 0?e:t.current}}function Gx(e){return mp(e)}function Xx(e){{if(ul===null)return e;var t=ul(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var l=mp(e.render);if(e.render!==l){var c={$$typeof:Me,render:l};return e.displayName!==void 0&&(c.displayName=e.displayName),c}}return e}return t.current}}function wP(e,t){{if(ul===null)return!1;var l=e.elementType,c=t.type,v=!1,m=typeof c=="object"&&c!==null?c.$$typeof:null;switch(e.tag){case C:{typeof c=="function"&&(v=!0);break}case y:{(typeof c=="function"||m===yt)&&(v=!0);break}case F:{(m===Me||m===yt)&&(v=!0);break}case H:case W:{(m===Pt||m===yt)&&(v=!0);break}default:return!1}if(v){var S=ul(l);if(S!==void 0&&S===ul(c))return!0}return!1}}function xP(e){{if(ul===null||typeof WeakSet!="function")return;hp===null&&(hp=new WeakSet),hp.add(e)}}var B6=function(e,t){{if(ul===null)return;var l=t.staleFamilies,c=t.updatedFamilies;Es(),Cs(function(){Qx(e.current,c,l)})}},W6=function(e,t){{if(e.context!==Lo)return;Es(),Cs(function(){sg(t,e,null,null)})}};function Qx(e,t,l){{var c=e.alternate,v=e.child,m=e.sibling,S=e.tag,T=e.type,_=null;switch(S){case y:case W:case C:_=T;break;case F:_=T.render;break}if(ul===null)throw new Error("Expected resolveFamily to be set during hot reload.");var L=!1,j=!1;if(_!==null){var oe=ul(_);oe!==void 0&&(l.has(oe)?j=!0:t.has(oe)&&(S===C?j=!0:L=!0))}if(hp!==null&&(hp.has(e)||c!==null&&hp.has(c))&&(j=!0),j&&(e._debugNeedsRemount=!0),j||L){var ae=So(e,Wt);ae!==null&&Wa(ae,e,Wt,mr)}v!==null&&!j&&Qx(v,t,l),m!==null&&Qx(m,t,l)}}var Y6=function(e,t){{var l=new Set,c=new Set(t.map(function(v){return v.current}));return Zx(e.current,c,l),l}};function Zx(e,t,l){{var c=e.child,v=e.sibling,m=e.tag,S=e.type,T=null;switch(m){case y:case W:case C:T=S;break;case F:T=S.render;break}var _=!1;T!==null&&t.has(T)&&(_=!0),_?K6(e,l):c!==null&&Zx(c,t,l),v!==null&&Zx(v,t,l)}}function K6(e,t){{var l=q6(e,t);if(l)return;for(var c=e;;){switch(c.tag){case D:t.add(c.stateNode);return;case O:t.add(c.stateNode.containerInfo);return;case R:t.add(c.stateNode.containerInfo);return}if(c.return===null)throw new Error("Expected to reach root first.");c=c.return}}}function q6(e,t){for(var l=e,c=!1;;){if(l.tag===D)c=!0,t.add(l.stateNode);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===e)return c;for(;l.sibling===null;){if(l.return===null||l.return===e)return c;l=l.return}l.sibling.return=l.return,l=l.sibling}return!1}var Jx;{Jx=!1;try{var RP=Object.preventExtensions({})}catch{Jx=!0}}function G6(e,t,l,c){this.tag=e,this.key=l,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=c,this.flags=Ot,this.subtreeFlags=Ot,this.deletions=null,this.lanes=Ne,this.childLanes=Ne,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!Jx&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Fo=function(e,t,l,c){return new G6(e,t,l,c)};function eR(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function X6(e){return typeof e=="function"&&!eR(e)&&e.defaultProps===void 0}function Q6(e){if(typeof e=="function")return eR(e)?C:y;if(e!=null){var t=e.$$typeof;if(t===Me)return F;if(t===Pt)return H}return x}function Jf(e,t){var l=e.alternate;l===null?(l=Fo(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l._debugSource=e._debugSource,l._debugOwner=e._debugOwner,l._debugHookTypes=e._debugHookTypes,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=Ot,l.subtreeFlags=Ot,l.deletions=null,l.actualDuration=0,l.actualStartTime=-1),l.flags=e.flags&Jr,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue;var c=e.dependencies;switch(l.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.selfBaseDuration=e.selfBaseDuration,l.treeBaseDuration=e.treeBaseDuration,l._debugNeedsRemount=e._debugNeedsRemount,l.tag){case x:case y:case W:l.type=mp(e.type);break;case C:l.type=Gx(e.type);break;case F:l.type=Xx(e.type);break}return l}function Z6(e,t){e.flags&=Jr|Ur;var l=e.alternate;if(l===null)e.childLanes=Ne,e.lanes=t,e.child=null,e.subtreeFlags=Ot,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=Ot,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type;var c=l.dependencies;e.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},e.selfBaseDuration=l.selfBaseDuration,e.treeBaseDuration=l.treeBaseDuration}return e}function J6(e,t,l){var c;return e===mb?(c=vn,t===!0&&(c|=dr,c|=Un)):c=_t,Oi&&(c|=Hn),Fo(R,null,null,c)}function tR(e,t,l,c,v,m){var S=x,T=e;if(typeof e=="function")eR(e)?(S=C,T=Gx(T)):T=mp(T);else if(typeof e=="string")S=D;else e:switch(e){case On:return wc(l.children,v,m,t);case ir:S=k,v|=dr,(v&vn)!==_t&&(v|=Un);break;case _r:return eB(l,v,m,t);case We:return tB(l,v,m,t);case qe:return nB(l,v,m,t);case Gn:return TP(l,v,m,t);case _n:case ct:case zn:case En:case It:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Pr:S=$;break e;case G:S=V;break e;case Me:S=F,T=Xx(T);break e;case Pt:S=H;break e;case yt:S=Z,T=null;break e}var _="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var L=c?kt(c):null;L&&(_+=`
206
-
207
- Check the render method of \``+L+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+_))}}var j=Fo(S,l,t,v);return j.elementType=e,j.type=T,j.lanes=m,j._debugOwner=c,j}function nR(e,t,l){var c=null;c=e._owner;var v=e.type,m=e.key,S=e.props,T=tR(v,m,S,c,t,l);return T._debugSource=e._source,T._debugOwner=e._owner,T}function wc(e,t,l,c){var v=Fo(A,e,c,t);return v.lanes=l,v}function eB(e,t,l,c){typeof e.id!="string"&&d('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var v=Fo(z,e,c,t|Hn);return v.elementType=_r,v.lanes=l,v.stateNode={effectDuration:0,passiveEffectDuration:0},v}function tB(e,t,l,c){var v=Fo(I,e,c,t);return v.elementType=We,v.lanes=l,v}function nB(e,t,l,c){var v=Fo(q,e,c,t);return v.elementType=qe,v.lanes=l,v}function TP(e,t,l,c){var v=Fo(Y,e,c,t);v.elementType=Gn,v.lanes=l;var m={isHidden:!1};return v.stateNode=m,v}function rR(e,t,l){var c=Fo(N,e,null,t);return c.lanes=l,c}function rB(){var e=Fo(D,null,null,_t);return e.elementType="DELETED",e}function aB(e){var t=Fo(U,null,null,_t);return t.stateNode=e,t}function aR(e,t,l){var c=e.children!==null?e.children:[],v=Fo(O,c,e.key,t);return v.lanes=l,v.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},v}function OP(e,t){return e===null&&(e=Fo(x,null,null,_t)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function iB(e,t,l,c,v){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=zw,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Vn,this.eventTimes=bf(Ne),this.expirationTimes=bf(mr),this.pendingLanes=Ne,this.suspendedLanes=Ne,this.pingedLanes=Ne,this.expiredLanes=Ne,this.mutableReadLanes=Ne,this.finishedLanes=Ne,this.entangledLanes=Ne,this.entanglements=bf(Ne),this.identifierPrefix=c,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var m=this.pendingUpdatersLaneMap=[],S=0;S<Zu;S++)m.push(new Set)}switch(t){case mb:this._debugRootType=l?"hydrateRoot()":"createRoot()";break;case cc:this._debugRootType=l?"hydrate()":"render()";break}}function _P(e,t,l,c,v,m,S,T,_,L){var j=new iB(e,t,l,T,_),oe=J6(t,m);j.current=oe,oe.stateNode=j;{var ae={element:c,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null};oe.memoizedState=ae}return g1(oe),j}var iR="18.3.1";function oB(e,t,l){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return yn(c),{$$typeof:Bt,key:c==null?null:""+c,children:e,containerInfo:t,implementation:l}}var oR,lR;oR=!1,lR={};function kP(e){if(!e)return Lo;var t=Ys(e),l=HH(t);if(t.tag===C){var c=t.type;if(gu(c))return nN(t,c,l)}return l}function lB(e,t){{var l=Ys(e);if(l===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var c=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+c)}var v=Ri(l);if(v===null)return null;if(v.mode&dr){var m=kt(l)||"Component";if(!lR[m]){lR[m]=!0;var S=zr;try{jn(v),l.mode&dr?d("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,m):d("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,m)}finally{S?jn(S):Xn()}}}return v.stateNode}}function MP(e,t,l,c,v,m,S,T){var _=!1,L=null;return _P(e,t,_,L,l,c,v,m,S)}function NP(e,t,l,c,v,m,S,T,_,L){var j=!0,oe=_P(l,c,j,e,v,m,S,T,_);oe.context=kP(null);var ae=oe.current,ge=Xi(),Ee=Cc(ae),Te=gs(ge,Ee);return Te.callback=t??null,vc(ae,Te,Ee),p6(oe,Ee,ge),oe}function sg(e,t,l,c){Dh(t,e);var v=t.current,m=Xi(),S=Cc(v);Fr(S);var T=kP(l);t.context===null?t.context=T:t.pendingContext=T,Pa&&zr!==null&&!oR&&(oR=!0,d(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
208
-
209
- Check the render method of %s.`,kt(zr)||"Unknown"));var _=gs(m,S);_.payload={element:e},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&d("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c),_.callback=c);var L=vc(v,_,S);return L!==null&&(Wa(L,v,S,m),Nb(L,v,S)),S}function SS(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case D:return t.child.stateNode;default:return t.child.stateNode}}function uB(e){switch(e.tag){case R:{var t=e.stateNode;if(_v(t)){var l=m0(t);y6(t,l)}break}case I:{Cs(function(){var v=So(e,Wt);if(v!==null){var m=Xi();Wa(v,e,Wt,m)}});var c=Wt;uR(e,c);break}}}function DP(e,t){var l=e.memoizedState;l!==null&&l.dehydrated!==null&&(l.retryLane=C0(l.retryLane,t))}function uR(e,t){DP(e,t);var l=e.alternate;l&&DP(l,t)}function sB(e){if(e.tag===I){var t=vf,l=So(e,t);if(l!==null){var c=Xi();Wa(l,e,t,c)}uR(e,t)}}function cB(e){if(e.tag===I){var t=Cc(e),l=So(e,t);if(l!==null){var c=Xi();Wa(l,e,t,c)}uR(e,t)}}function PP(e){var t=Mr(e);return t===null?null:t.stateNode}var AP=function(e){return null};function fB(e){return AP(e)}var $P=function(e){return!1};function dB(e){return $P(e)}var LP=null,FP=null,IP=null,zP=null,jP=null,VP=null,HP=null,UP=null,BP=null;{var WP=function(e,t,l){var c=t[l],v=cn(e)?e.slice():Kt({},e);return l+1===t.length?(cn(v)?v.splice(c,1):delete v[c],v):(v[c]=WP(e[c],t,l+1),v)},YP=function(e,t){return WP(e,t,0)},KP=function(e,t,l,c){var v=t[c],m=cn(e)?e.slice():Kt({},e);if(c+1===t.length){var S=l[c];m[S]=m[v],cn(m)?m.splice(v,1):delete m[v]}else m[v]=KP(e[v],t,l,c+1);return m},qP=function(e,t,l){if(t.length!==l.length){p("copyWithRename() expects paths of the same length");return}else for(var c=0;c<l.length-1;c++)if(t[c]!==l[c]){p("copyWithRename() expects paths to be the same except for the deepest key");return}return KP(e,t,l,0)},GP=function(e,t,l,c){if(l>=t.length)return c;var v=t[l],m=cn(e)?e.slice():Kt({},e);return m[v]=GP(e[v],t,l+1,c),m},XP=function(e,t,l){return GP(e,t,0,l)},sR=function(e,t){for(var l=e.memoizedState;l!==null&&t>0;)l=l.next,t--;return l};LP=function(e,t,l,c){var v=sR(e,t);if(v!==null){var m=XP(v.memoizedState,l,c);v.memoizedState=m,v.baseState=m,e.memoizedProps=Kt({},e.memoizedProps);var S=So(e,Wt);S!==null&&Wa(S,e,Wt,mr)}},FP=function(e,t,l){var c=sR(e,t);if(c!==null){var v=YP(c.memoizedState,l);c.memoizedState=v,c.baseState=v,e.memoizedProps=Kt({},e.memoizedProps);var m=So(e,Wt);m!==null&&Wa(m,e,Wt,mr)}},IP=function(e,t,l,c){var v=sR(e,t);if(v!==null){var m=qP(v.memoizedState,l,c);v.memoizedState=m,v.baseState=m,e.memoizedProps=Kt({},e.memoizedProps);var S=So(e,Wt);S!==null&&Wa(S,e,Wt,mr)}},zP=function(e,t,l){e.pendingProps=XP(e.memoizedProps,t,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=So(e,Wt);c!==null&&Wa(c,e,Wt,mr)},jP=function(e,t){e.pendingProps=YP(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var l=So(e,Wt);l!==null&&Wa(l,e,Wt,mr)},VP=function(e,t,l){e.pendingProps=qP(e.memoizedProps,t,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=So(e,Wt);c!==null&&Wa(c,e,Wt,mr)},HP=function(e){var t=So(e,Wt);t!==null&&Wa(t,e,Wt,mr)},UP=function(e){AP=e},BP=function(e){$P=e}}function vB(e){var t=Ri(e);return t===null?null:t.stateNode}function pB(e){return null}function hB(){return zr}function mB(e){var t=e.findFiberByHostInstance,l=a.ReactCurrentDispatcher;return Gs({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:LP,overrideHookStateDeletePath:FP,overrideHookStateRenamePath:IP,overrideProps:zP,overridePropsDeletePath:jP,overridePropsRenamePath:VP,setErrorHandler:UP,setSuspenseHandler:BP,scheduleUpdate:HP,currentDispatcherRef:l,findHostInstanceByFiber:vB,findFiberByHostInstance:t||pB,findHostInstancesForRefresh:Y6,scheduleRefresh:B6,scheduleRoot:W6,setRefreshHandler:U6,getCurrentFiber:hB,reconcilerVersion:iR})}var QP=typeof reportError=="function"?reportError:function(e){console.error(e)};function cR(e){this._internalRoot=e}CS.prototype.render=cR.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?d("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):ES(arguments[1])?d("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&d("You passed a second argument to root.render(...) but it only accepts one argument.");var l=t.containerInfo;if(l.nodeType!==Qr){var c=PP(t.current);c&&c.parentNode!==l&&d("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}sg(e,t,null,null)},CS.prototype.unmount=cR.prototype.unmount=function(){typeof arguments[0]=="function"&&d("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sP()&&d("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Cs(function(){sg(null,e,null,null)}),QM(t)}};function gB(e,t){if(!ES(e))throw new Error("createRoot(...): Target container is not a DOM element.");ZP(e);var l=!1,c=!1,v="",m=QP;t!=null&&(t.hydrate?p("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ft&&d(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
210
-
211
- let root = createRoot(domContainer);
212
- root.render(<App />);`),t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(v=t.identifierPrefix),t.onRecoverableError!==void 0&&(m=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var S=MP(e,mb,null,l,c,v,m);sb(S.current,e);var T=e.nodeType===Qr?e.parentNode:e;return hm(T),new cR(S)}function CS(e){this._internalRoot=e}function yB(e){e&&N0(e)}CS.prototype.unstable_scheduleHydration=yB;function bB(e,t,l){if(!ES(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");ZP(e),t===void 0&&d("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var c=l??null,v=l!=null&&l.hydratedSources||null,m=!1,S=!1,T="",_=QP;l!=null&&(l.unstable_strictMode===!0&&(m=!0),l.identifierPrefix!==void 0&&(T=l.identifierPrefix),l.onRecoverableError!==void 0&&(_=l.onRecoverableError));var L=NP(t,null,e,mb,c,m,S,T,_);if(sb(L.current,e),hm(e),v)for(var j=0;j<v.length;j++){var oe=v[j];wU(L,oe)}return new CS(L)}function ES(e){return!!(e&&(e.nodeType===Ci||e.nodeType===El||e.nodeType===gh))}function cg(e){return!!(e&&(e.nodeType===Ci||e.nodeType===El||e.nodeType===gh||e.nodeType===Qr&&e.nodeValue===" react-mount-point-unstable "))}function ZP(e){e.nodeType===Ci&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&d("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Tm(e)&&(e._reactRootContainer?d("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):d("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var SB=a.ReactCurrentOwner,JP;JP=function(e){if(e._reactRootContainer&&e.nodeType!==Qr){var t=PP(e._reactRootContainer.current);t&&t.parentNode!==e&&d("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var l=!!e._reactRootContainer,c=fR(e),v=!!(c&&uc(c));v&&!l&&d("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Ci&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&d("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function fR(e){return e?e.nodeType===El?e.documentElement:e.firstChild:null}function eA(){}function CB(e,t,l,c,v){if(v){if(typeof c=="function"){var m=c;c=function(){var ae=SS(S);m.call(ae)}}var S=NP(t,c,e,cc,null,!1,!1,"",eA);e._reactRootContainer=S,sb(S.current,e);var T=e.nodeType===Qr?e.parentNode:e;return hm(T),Cs(),S}else{for(var _;_=e.lastChild;)e.removeChild(_);if(typeof c=="function"){var L=c;c=function(){var ae=SS(j);L.call(ae)}}var j=MP(e,cc,null,!1,!1,"",eA);e._reactRootContainer=j,sb(j.current,e);var oe=e.nodeType===Qr?e.parentNode:e;return hm(oe),Cs(function(){sg(t,j,l,c)}),j}}function EB(e,t){e!==null&&typeof e!="function"&&d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function wS(e,t,l,c,v){JP(l),EB(v===void 0?null:v,"render");var m=l._reactRootContainer,S;if(!m)S=CB(l,t,e,v,c);else{if(S=m,typeof v=="function"){var T=v;v=function(){var _=SS(S);T.call(_)}}sg(t,S,e,v)}return SS(S)}var tA=!1;function wB(e){{tA||(tA=!0,d("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=SB.current;if(t!==null&&t.stateNode!==null){var l=t.stateNode._warnedAboutRefsInRender;l||d("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",sn(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Ci?e:lB(e,"findDOMNode")}function xB(e,t,l){if(d("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!cg(t))throw new Error("Target container is not a DOM element.");{var c=Tm(t)&&t._reactRootContainer===void 0;c&&d("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return wS(null,e,t,!0,l)}function RB(e,t,l){if(d("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!cg(t))throw new Error("Target container is not a DOM element.");{var c=Tm(t)&&t._reactRootContainer===void 0;c&&d("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return wS(null,e,t,!1,l)}function TB(e,t,l,c){if(d("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!cg(l))throw new Error("Target container is not a DOM element.");if(e==null||!uw(e))throw new Error("parentComponent must be a valid React Component");return wS(e,t,l,!1,c)}var nA=!1;function OB(e){if(nA||(nA=!0,d("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!cg(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Tm(e)&&e._reactRootContainer===void 0;t&&d("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var l=fR(e),c=l&&!uc(l);c&&d("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Cs(function(){wS(null,null,e,!1,function(){e._reactRootContainer=null,QM(e)})}),!0}else{{var v=fR(e),m=!!(v&&uc(v)),S=e.nodeType===Ci&&cg(e.parentNode)&&!!e.parentNode._reactRootContainer;m&&d("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",S?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Ga(uB),Js(sB),O0(cB),xf(go),Zh(x0),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&d("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Wd(k5),lw(Hx,b6,Cs);function _B(e,t){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ES(t))throw new Error("Target container is not a DOM element.");return oB(e,t,null,l)}function kB(e,t,l,c){return TB(e,t,l,c)}var dR={usingClientEntryPoint:!1,Events:[uc,Kv,cb,Hs,Yd,Hx]};function MB(e,t){return dR.usingClientEntryPoint||d('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),gB(e,t)}function NB(e,t,l){return dR.usingClientEntryPoint||d('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),bB(e,t,l)}function DB(e){return sP()&&d("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Cs(e)}var PB=mB({findFiberByHostInstance:If,bundleType:1,version:iR,rendererPackageName:"react-dom"});if(!PB&&tt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var rA=window.location.protocol;/^(https?|file):$/.test(rA)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(rA==="file:"?`
213
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}eo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dR,eo.createPortal=_B,eo.createRoot=MB,eo.findDOMNode=wB,eo.flushSync=DB,eo.hydrate=xB,eo.hydrateRoot=NB,eo.render=RB,eo.unmountComponentAtNode=OB,eo.unstable_batchedUpdates=Hx,eo.unstable_renderSubtreeIntoContainer=kB,eo.version=iR,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),eo}function AR(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(ce.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(AR)}catch(n){console.error(n)}}}ce.env.NODE_ENV==="production"?(AR(),MS.exports=EA()):MS.exports=wA();var gg=MS.exports;const $R=TS(gg);function wp(n){return n instanceof HTMLElement||n instanceof SVGElement}function xA(n){return n&&Zt(n)==="object"&&wp(n.nativeElement)?n.nativeElement:wp(n)?n:null}function yg(n){var i=xA(n);if(i)return i;if(n instanceof Rn.Component){var a;return(a=$R.findDOMNode)===null||a===void 0?void 0:a.call($R,n)}return null}var PS={exports:{}},lr={};/**
214
- * @license React
215
- * react-is.production.min.js
216
- *
217
- * Copyright (c) Facebook, Inc. and its affiliates.
218
- *
219
- * This source code is licensed under the MIT license found in the
220
- * LICENSE file in the root directory of this source tree.
221
- */var LR;function RA(){if(LR)return lr;LR=1;var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),d=Symbol.for("react.context"),g=Symbol.for("react.server_context"),y=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),D=Symbol.for("react.offscreen"),N;N=Symbol.for("react.module.reference");function A(k){if(typeof k=="object"&&k!==null){var V=k.$$typeof;switch(V){case n:switch(k=k.type,k){case a:case s:case u:case C:case x:return k;default:switch(k=k&&k.$$typeof,k){case g:case d:case y:case O:case R:case p:return k;default:return V}}case i:return V}}}return lr.ContextConsumer=d,lr.ContextProvider=p,lr.Element=n,lr.ForwardRef=y,lr.Fragment=a,lr.Lazy=O,lr.Memo=R,lr.Portal=i,lr.Profiler=s,lr.StrictMode=u,lr.Suspense=C,lr.SuspenseList=x,lr.isAsyncMode=function(){return!1},lr.isConcurrentMode=function(){return!1},lr.isContextConsumer=function(k){return A(k)===d},lr.isContextProvider=function(k){return A(k)===p},lr.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===n},lr.isForwardRef=function(k){return A(k)===y},lr.isFragment=function(k){return A(k)===a},lr.isLazy=function(k){return A(k)===O},lr.isMemo=function(k){return A(k)===R},lr.isPortal=function(k){return A(k)===i},lr.isProfiler=function(k){return A(k)===s},lr.isStrictMode=function(k){return A(k)===u},lr.isSuspense=function(k){return A(k)===C},lr.isSuspenseList=function(k){return A(k)===x},lr.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===a||k===s||k===u||k===C||k===x||k===D||typeof k=="object"&&k!==null&&(k.$$typeof===O||k.$$typeof===R||k.$$typeof===p||k.$$typeof===d||k.$$typeof===y||k.$$typeof===N||k.getModuleId!==void 0)},lr.typeOf=A,lr}var ur={},FR;function TA(){return FR||(FR=1,ce.env.NODE_ENV!=="production"&&function(){var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),d=Symbol.for("react.context"),g=Symbol.for("react.server_context"),y=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),D=Symbol.for("react.offscreen"),N=!1,A=!1,k=!1,V=!1,$=!1,F;F=Symbol.for("react.module.reference");function z(_e){return!!(typeof _e=="string"||typeof _e=="function"||_e===a||_e===s||$||_e===u||_e===C||_e===x||V||_e===D||N||A||k||typeof _e=="object"&&_e!==null&&(_e.$$typeof===O||_e.$$typeof===R||_e.$$typeof===p||_e.$$typeof===d||_e.$$typeof===y||_e.$$typeof===F||_e.getModuleId!==void 0))}function I(_e){if(typeof _e=="object"&&_e!==null){var mt=_e.$$typeof;switch(mt){case n:var st=_e.type;switch(st){case a:case s:case u:case C:case x:return st;default:var yn=st&&st.$$typeof;switch(yn){case g:case d:case y:case O:case R:case p:return yn;default:return mt}}case i:return mt}}}var H=d,W=p,Z=n,J=y,U=a,q=O,te=R,Y=i,Q=s,se=u,ye=C,de=x,ne=!1,me=!1;function le(_e){return ne||(ne=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function B(_e){return me||(me=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function re(_e){return I(_e)===d}function xe(_e){return I(_e)===p}function we(_e){return typeof _e=="object"&&_e!==null&&_e.$$typeof===n}function Pe(_e){return I(_e)===y}function Fe(_e){return I(_e)===a}function Le(_e){return I(_e)===O}function He(_e){return I(_e)===R}function Be(_e){return I(_e)===i}function ot(_e){return I(_e)===s}function tt(_e){return I(_e)===u}function bt(_e){return I(_e)===C}function St(_e){return I(_e)===x}ur.ContextConsumer=H,ur.ContextProvider=W,ur.Element=Z,ur.ForwardRef=J,ur.Fragment=U,ur.Lazy=q,ur.Memo=te,ur.Portal=Y,ur.Profiler=Q,ur.StrictMode=se,ur.Suspense=ye,ur.SuspenseList=de,ur.isAsyncMode=le,ur.isConcurrentMode=B,ur.isContextConsumer=re,ur.isContextProvider=xe,ur.isElement=we,ur.isForwardRef=Pe,ur.isFragment=Fe,ur.isLazy=Le,ur.isMemo=He,ur.isPortal=Be,ur.isProfiler=ot,ur.isStrictMode=tt,ur.isSuspense=bt,ur.isSuspenseList=St,ur.isValidElementType=z,ur.typeOf=I}()),ur}ce.env.NODE_ENV==="production"?PS.exports=RA():PS.exports=TA();var AS=PS.exports;function bg(n,i,a){var u=E.useRef({});return(!("value"in u.current)||a(u.current.condition,i))&&(u.current.value=n(),u.current.condition=i),u.current.value}var OA=Number(E.version.split(".")[0]),$S=function(i,a){typeof i=="function"?i(a):Zt(i)==="object"&&i&&"current"in i&&(i.current=a)},Sg=function(){for(var i=arguments.length,a=new Array(i),u=0;u<i;u++)a[u]=arguments[u];var s=a.filter(Boolean);return s.length<=1?s[0]:function(p){a.forEach(function(d){$S(d,p)})}},xp=function(){for(var i=arguments.length,a=new Array(i),u=0;u<i;u++)a[u]=arguments[u];return bg(function(){return Sg.apply(void 0,a)},a,function(s,p){return s.length!==p.length||s.every(function(d,g){return d!==p[g]})})},Tc=function(i){var a,u;if(!i)return!1;if(LS(i)&&OA>=19)return!0;var s=AS.isMemo(i)?i.type.type:i.type;return!(typeof s=="function"&&!((a=s.prototype)!==null&&a!==void 0&&a.render)&&s.$$typeof!==AS.ForwardRef||typeof i=="function"&&!((u=i.prototype)!==null&&u!==void 0&&u.render)&&i.$$typeof!==AS.ForwardRef)};function LS(n){return E.isValidElement(n)&&!wR(n)}var _A=function(i){return LS(i)&&Tc(i)},Rp=function(i){if(i&&LS(i)){var a=i;return a.props.propertyIsEnumerable("ref")?a.props.ref:a.ref}return null},FS=E.createContext(null);function kA(n){var i=n.children,a=n.onBatchResize,u=E.useRef(0),s=E.useRef([]),p=E.useContext(FS),d=E.useCallback(function(g,y,C){u.current+=1;var x=u.current;s.current.push({size:g,element:y,data:C}),Promise.resolve().then(function(){x===u.current&&(a?.(s.current),s.current=[])}),p?.(g,y,C)},[a,p]);return E.createElement(FS.Provider,{value:d},i)}const IS=globalThis||void 0||self;var IR=function(){if(typeof Map<"u")return Map;function n(i,a){var u=-1;return i.some(function(s,p){return s[0]===a?(u=p,!0):!1}),u}return function(){function i(){this.__entries__=[]}return Object.defineProperty(i.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),i.prototype.get=function(a){var u=n(this.__entries__,a),s=this.__entries__[u];return s&&s[1]},i.prototype.set=function(a,u){var s=n(this.__entries__,a);~s?this.__entries__[s][1]=u:this.__entries__.push([a,u])},i.prototype.delete=function(a){var u=this.__entries__,s=n(u,a);~s&&u.splice(s,1)},i.prototype.has=function(a){return!!~n(this.__entries__,a)},i.prototype.clear=function(){this.__entries__.splice(0)},i.prototype.forEach=function(a,u){u===void 0&&(u=null);for(var s=0,p=this.__entries__;s<p.length;s++){var d=p[s];a.call(u,d[1],d[0])}},i}()}(),zS=typeof window<"u"&&typeof document<"u"&&window.document===document,Cg=function(){return typeof IS<"u"&&IS.Math===Math?IS:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),MA=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Cg):function(n){return setTimeout(function(){return n(Date.now())},1e3/60)}}(),NA=2;function DA(n,i){var a=!1,u=!1,s=0;function p(){a&&(a=!1,n()),u&&g()}function d(){MA(p)}function g(){var y=Date.now();if(a){if(y-s<NA)return;u=!0}else a=!0,u=!1,setTimeout(d,i);s=y}return g}var PA=20,AA=["top","right","bottom","left","width","height","size","weight"],$A=typeof MutationObserver<"u",LA=function(){function n(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=DA(this.refresh.bind(this),PA)}return n.prototype.addObserver=function(i){~this.observers_.indexOf(i)||this.observers_.push(i),this.connected_||this.connect_()},n.prototype.removeObserver=function(i){var a=this.observers_,u=a.indexOf(i);~u&&a.splice(u,1),!a.length&&this.connected_&&this.disconnect_()},n.prototype.refresh=function(){var i=this.updateObservers_();i&&this.refresh()},n.prototype.updateObservers_=function(){var i=this.observers_.filter(function(a){return a.gatherActive(),a.hasActive()});return i.forEach(function(a){return a.broadcastActive()}),i.length>0},n.prototype.connect_=function(){!zS||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),$A?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},n.prototype.disconnect_=function(){!zS||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},n.prototype.onTransitionEnd_=function(i){var a=i.propertyName,u=a===void 0?"":a,s=AA.some(function(p){return!!~u.indexOf(p)});s&&this.refresh()},n.getInstance=function(){return this.instance_||(this.instance_=new n),this.instance_},n.instance_=null,n}(),zR=function(n,i){for(var a=0,u=Object.keys(i);a<u.length;a++){var s=u[a];Object.defineProperty(n,s,{value:i[s],enumerable:!1,writable:!1,configurable:!0})}return n},nd=function(n){var i=n&&n.ownerDocument&&n.ownerDocument.defaultView;return i||Cg},jR=wg(0,0,0,0);function Eg(n){return parseFloat(n)||0}function VR(n){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return i.reduce(function(u,s){var p=n["border-"+s+"-width"];return u+Eg(p)},0)}function FA(n){for(var i=["top","right","bottom","left"],a={},u=0,s=i;u<s.length;u++){var p=s[u],d=n["padding-"+p];a[p]=Eg(d)}return a}function IA(n){var i=n.getBBox();return wg(0,0,i.width,i.height)}function zA(n){var i=n.clientWidth,a=n.clientHeight;if(!i&&!a)return jR;var u=nd(n).getComputedStyle(n),s=FA(u),p=s.left+s.right,d=s.top+s.bottom,g=Eg(u.width),y=Eg(u.height);if(u.boxSizing==="border-box"&&(Math.round(g+p)!==i&&(g-=VR(u,"left","right")+p),Math.round(y+d)!==a&&(y-=VR(u,"top","bottom")+d)),!VA(n)){var C=Math.round(g+p)-i,x=Math.round(y+d)-a;Math.abs(C)!==1&&(g-=C),Math.abs(x)!==1&&(y-=x)}return wg(s.left,s.top,g,y)}var jA=function(){return typeof SVGGraphicsElement<"u"?function(n){return n instanceof nd(n).SVGGraphicsElement}:function(n){return n instanceof nd(n).SVGElement&&typeof n.getBBox=="function"}}();function VA(n){return n===nd(n).document.documentElement}function HA(n){return zS?jA(n)?IA(n):zA(n):jR}function UA(n){var i=n.x,a=n.y,u=n.width,s=n.height,p=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,d=Object.create(p.prototype);return zR(d,{x:i,y:a,width:u,height:s,top:a,right:i+u,bottom:s+a,left:i}),d}function wg(n,i,a,u){return{x:n,y:i,width:a,height:u}}var BA=function(){function n(i){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=wg(0,0,0,0),this.target=i}return n.prototype.isActive=function(){var i=HA(this.target);return this.contentRect_=i,i.width!==this.broadcastWidth||i.height!==this.broadcastHeight},n.prototype.broadcastRect=function(){var i=this.contentRect_;return this.broadcastWidth=i.width,this.broadcastHeight=i.height,i},n}(),WA=function(){function n(i,a){var u=UA(a);zR(this,{target:i,contentRect:u})}return n}(),YA=function(){function n(i,a,u){if(this.activeObservations_=[],this.observations_=new IR,typeof i!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=i,this.controller_=a,this.callbackCtx_=u}return n.prototype.observe=function(i){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(i instanceof nd(i).Element))throw new TypeError('parameter 1 is not of type "Element".');var a=this.observations_;a.has(i)||(a.set(i,new BA(i)),this.controller_.addObserver(this),this.controller_.refresh())}},n.prototype.unobserve=function(i){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(i instanceof nd(i).Element))throw new TypeError('parameter 1 is not of type "Element".');var a=this.observations_;a.has(i)&&(a.delete(i),a.size||this.controller_.removeObserver(this))}},n.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},n.prototype.gatherActive=function(){var i=this;this.clearActive(),this.observations_.forEach(function(a){a.isActive()&&i.activeObservations_.push(a)})},n.prototype.broadcastActive=function(){if(this.hasActive()){var i=this.callbackCtx_,a=this.activeObservations_.map(function(u){return new WA(u.target,u.broadcastRect())});this.callback_.call(i,a,i),this.clearActive()}},n.prototype.clearActive=function(){this.activeObservations_.splice(0)},n.prototype.hasActive=function(){return this.activeObservations_.length>0},n}(),HR=typeof WeakMap<"u"?new WeakMap:new IR,UR=function(){function n(i){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var a=LA.getInstance(),u=new YA(i,a,this);HR.set(this,u)}return n}();["observe","unobserve","disconnect"].forEach(function(n){UR.prototype[n]=function(){var i;return(i=HR.get(this))[n].apply(i,arguments)}});var KA=function(){return typeof Cg.ResizeObserver<"u"?Cg.ResizeObserver:UR}(),ku=new Map;function BR(n){n.forEach(function(i){var a,u=i.target;(a=ku.get(u))===null||a===void 0||a.forEach(function(s){return s(u)})})}var WR=new KA(BR);ce.env.NODE_ENV,ce.env.NODE_ENV;function qA(n,i){ku.has(n)||(ku.set(n,new Set),WR.observe(n)),ku.get(n).add(i)}function GA(n,i){ku.has(n)&&(ku.get(n).delete(i),ku.get(n).size||(WR.unobserve(n),ku.delete(n)))}function Qa(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function YR(n,i){for(var a=0;a<i.length;a++){var u=i[a];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,TR(u.key),u)}}function Za(n,i,a){return i&&YR(n.prototype,i),a&&YR(n,a),Object.defineProperty(n,"prototype",{writable:!1}),n}function Tp(n,i){return Tp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},Tp(n,i)}function xs(n,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(i&&i.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),i&&Tp(n,i)}function Op(n){return Op=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Op(n)}function jS(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jS=function(){return!!n})()}function Cn(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function XA(n,i){if(i&&(Zt(i)=="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Cn(n)}function Rs(n){var i=jS();return function(){var a,u=Op(n);if(i){var s=Op(this).constructor;a=Reflect.construct(u,arguments,s)}else a=u.apply(this,arguments);return XA(this,a)}}var QA=function(n){xs(a,n);var i=Rs(a);function a(){return Qa(this,a),i.apply(this,arguments)}return Za(a,[{key:"render",value:function(){return this.props.children}}]),a}(E.Component);function ZA(n,i){var a=n.children,u=n.disabled,s=E.useRef(null),p=E.useRef(null),d=E.useContext(FS),g=typeof a=="function",y=g?a(s):a,C=E.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),x=!g&&E.isValidElement(y)&&Tc(y),R=x?Rp(y):null,O=xp(R,s),D=function(){var V;return yg(s.current)||(s.current&&Zt(s.current)==="object"?yg((V=s.current)===null||V===void 0?void 0:V.nativeElement):null)||yg(p.current)};E.useImperativeHandle(i,function(){return D()});var N=E.useRef(n);N.current=n;var A=E.useCallback(function(k){var V=N.current,$=V.onResize,F=V.data,z=k.getBoundingClientRect(),I=z.width,H=z.height,W=k.offsetWidth,Z=k.offsetHeight,J=Math.floor(I),U=Math.floor(H);if(C.current.width!==J||C.current.height!==U||C.current.offsetWidth!==W||C.current.offsetHeight!==Z){var q={width:J,height:U,offsetWidth:W,offsetHeight:Z};C.current=q;var te=W===Math.round(I)?I:W,Y=Z===Math.round(H)?H:Z,Q=Ce(Ce({},q),{},{offsetWidth:te,offsetHeight:Y});d?.(Q,k,F),$&&Promise.resolve().then(function(){$(Q,k)})}},[]);return E.useEffect(function(){var k=D();return k&&!u&&qA(k,A),function(){return GA(k,A)}},[s.current,u]),E.createElement(QA,{ref:p},x?E.cloneElement(y,{ref:O}):y)}var KR=E.forwardRef(ZA);ce.env.NODE_ENV!=="production"&&(KR.displayName="SingleObserver");var JA="rc-observer-key";function e2(n,i){var a=n.children,u=typeof a=="function"?[a]:_u(a);return ce.env.NODE_ENV!=="production"&&(u.length>1?td(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):u.length===0&&td(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),u.map(function(s,p){var d=s?.key||"".concat(JA,"-").concat(p);return E.createElement(KR,Sn({},n,{key:d,ref:p===0?i:void 0}),s)})}var rd=E.forwardRef(e2);ce.env.NODE_ENV!=="production"&&(rd.displayName="ResizeObserver"),rd.Collection=kA;function Oc(n,i){var a=Object.assign({},n);return Array.isArray(i)&&i.forEach(function(u){delete a[u]}),a}function VS(n,i){(i==null||i>n.length)&&(i=n.length);for(var a=0,u=Array(i);a<i;a++)u[a]=n[a];return u}function t2(n){if(Array.isArray(n))return VS(n)}function qR(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function HS(n,i){if(n){if(typeof n=="string")return VS(n,i);var a={}.toString.call(n).slice(8,-1);return a==="Object"&&n.constructor&&(a=n.constructor.name),a==="Map"||a==="Set"?Array.from(n):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?VS(n,i):void 0}}function n2(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
222
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rt(n){return t2(n)||qR(n)||HS(n)||n2()}var GR=function(i){return+setTimeout(i,16)},XR=function(i){return clearTimeout(i)};typeof window<"u"&&"requestAnimationFrame"in window&&(GR=function(i){return window.requestAnimationFrame(i)},XR=function(i){return window.cancelAnimationFrame(i)});var QR=0,xg=new Map;function ZR(n){xg.delete(n)}var sl=function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;QR+=1;var u=QR;function s(p){if(p===0)ZR(u),i();else{var d=GR(function(){s(p-1)});xg.set(u,d)}}return s(a),u};sl.cancel=function(n){var i=xg.get(n);return ZR(n),XR(i)},ce.env.NODE_ENV!=="production"&&(sl.ids=function(){return xg});function JR(n){if(Array.isArray(n))return n}function r2(n,i){var a=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(a!=null){var u,s,p,d,g=[],y=!0,C=!1;try{if(p=(a=a.call(n)).next,i===0){if(Object(a)!==a)return;y=!1}else for(;!(y=(u=p.call(a)).done)&&(g.push(u.value),g.length!==i);y=!0);}catch(x){C=!0,s=x}finally{try{if(!y&&a.return!=null&&(d=a.return(),Object(d)!==d))return}finally{if(C)throw s}}return g}}function eT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
223
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ve(n,i){return JR(n)||r2(n,i)||HS(n,i)||eT()}function _p(n){for(var i=0,a,u=0,s=n.length;s>=4;++u,s-=4)a=n.charCodeAt(u)&255|(n.charCodeAt(++u)&255)<<8|(n.charCodeAt(++u)&255)<<16|(n.charCodeAt(++u)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,i=(a&65535)*1540483477+((a>>>16)*59797<<16)^(i&65535)*1540483477+((i>>>16)*59797<<16);switch(s){case 3:i^=(n.charCodeAt(u+2)&255)<<16;case 2:i^=(n.charCodeAt(u+1)&255)<<8;case 1:i^=n.charCodeAt(u)&255,i=(i&65535)*1540483477+((i>>>16)*59797<<16)}return i^=i>>>13,i=(i&65535)*1540483477+((i>>>16)*59797<<16),((i^i>>>15)>>>0).toString(36)}function to(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function a2(n,i){if(!n)return!1;if(n.contains)return n.contains(i);for(var a=i;a;){if(a===n)return!0;a=a.parentNode}return!1}var tT="data-rc-order",nT="data-rc-priority",i2="rc-util-key",US=new Map;function rT(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=n.mark;return i?i.startsWith("data-")?i:"data-".concat(i):i2}function Rg(n){if(n.attachTo)return n.attachTo;var i=document.querySelector("head");return i||document.body}function o2(n){return n==="queue"?"prependQueue":n?"prepend":"append"}function BS(n){return Array.from((US.get(n)||n).children).filter(function(i){return i.tagName==="STYLE"})}function aT(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!to())return null;var a=i.csp,u=i.prepend,s=i.priority,p=s===void 0?0:s,d=o2(u),g=d==="prependQueue",y=document.createElement("style");y.setAttribute(tT,d),g&&p&&y.setAttribute(nT,"".concat(p)),a!=null&&a.nonce&&(y.nonce=a?.nonce),y.innerHTML=n;var C=Rg(i),x=C.firstChild;if(u){if(g){var R=(i.styles||BS(C)).filter(function(O){if(!["prepend","prependQueue"].includes(O.getAttribute(tT)))return!1;var D=Number(O.getAttribute(nT)||0);return p>=D});if(R.length)return C.insertBefore(y,R[R.length-1].nextSibling),y}C.insertBefore(y,x)}else C.appendChild(y);return y}function iT(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=Rg(i);return(i.styles||BS(a)).find(function(u){return u.getAttribute(rT(i))===n})}function kp(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=iT(n,i);if(a){var u=Rg(i);u.removeChild(a)}}function l2(n,i){var a=US.get(n);if(!a||!a2(document,a)){var u=aT("",i),s=u.parentNode;US.set(n,s),n.removeChild(u)}}function Mu(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=Rg(a),s=BS(u),p=Ce(Ce({},a),{},{styles:s});l2(u,p);var d=iT(i,p);if(d){var g,y;if((g=p.csp)!==null&&g!==void 0&&g.nonce&&d.nonce!==((y=p.csp)===null||y===void 0?void 0:y.nonce)){var C;d.nonce=(C=p.csp)===null||C===void 0?void 0:C.nonce}return d.innerHTML!==n&&(d.innerHTML=n),d}var x=aT(n,p);return x.setAttribute(rT(p),i),x}function u2(n,i){if(n==null)return{};var a={};for(var u in n)if({}.hasOwnProperty.call(n,u)){if(i.indexOf(u)!==-1)continue;a[u]=n[u]}return a}function wr(n,i){if(n==null)return{};var a,u,s=u2(n,i);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(n);for(u=0;u<p.length;u++)a=p[u],i.indexOf(a)===-1&&{}.propertyIsEnumerable.call(n,a)&&(s[a]=n[a])}return s}function Mp(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,u=new Set;function s(p,d){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,y=u.has(p);if(or(!y,"Warning: There may be circular references"),y)return!1;if(p===d)return!0;if(a&&g>1)return!1;u.add(p);var C=g+1;if(Array.isArray(p)){if(!Array.isArray(d)||p.length!==d.length)return!1;for(var x=0;x<p.length;x++)if(!s(p[x],d[x],C))return!1;return!0}if(p&&d&&Zt(p)==="object"&&Zt(d)==="object"){var R=Object.keys(p);return R.length!==Object.keys(d).length?!1:R.every(function(O){return s(p[O],d[O],C)})}return!1}return s(n,i)}var s2="%";function WS(n){return n.join(s2)}var c2=function(){function n(i){Qa(this,n),ue(this,"instanceId",void 0),ue(this,"cache",new Map),this.instanceId=i}return Za(n,[{key:"get",value:function(a){return this.opGet(WS(a))}},{key:"opGet",value:function(a){return this.cache.get(a)||null}},{key:"update",value:function(a,u){return this.opUpdate(WS(a),u)}},{key:"opUpdate",value:function(a,u){var s=this.cache.get(a),p=u(s);p===null?this.cache.delete(a):this.cache.set(a,p)}}]),n}(),ad="data-token-hash",cl="data-css-hash",f2="data-cache-path",Ts="__cssinjs_instance__";function d2(){var n=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var i=document.body.querySelectorAll("style[".concat(cl,"]"))||[],a=document.head.firstChild;Array.from(i).forEach(function(s){s[Ts]=s[Ts]||n,s[Ts]===n&&document.head.insertBefore(s,a)});var u={};Array.from(document.querySelectorAll("style[".concat(cl,"]"))).forEach(function(s){var p=s.getAttribute(cl);if(u[p]){if(s[Ts]===n){var d;(d=s.parentNode)===null||d===void 0||d.removeChild(s)}}else u[p]=!0})}return new c2(n)}var Tg=E.createContext({hashPriority:"low",cache:d2(),defaultCache:!0});function v2(n,i){if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(n[a]!==i[a])return!1;return!0}var YS=function(){function n(){Qa(this,n),ue(this,"cache",void 0),ue(this,"keys",void 0),ue(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Za(n,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(a){var u,s,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,d={map:this.cache};return a.forEach(function(g){if(!d)d=void 0;else{var y;d=(y=d)===null||y===void 0||(y=y.map)===null||y===void 0?void 0:y.get(g)}}),(u=d)!==null&&u!==void 0&&u.value&&p&&(d.value[1]=this.cacheCallTimes++),(s=d)===null||s===void 0?void 0:s.value}},{key:"get",value:function(a){var u;return(u=this.internalGet(a,!0))===null||u===void 0?void 0:u[0]}},{key:"has",value:function(a){return!!this.internalGet(a)}},{key:"set",value:function(a,u){var s=this;if(!this.has(a)){if(this.size()+1>n.MAX_CACHE_SIZE+n.MAX_CACHE_OFFSET){var p=this.keys.reduce(function(C,x){var R=Ve(C,2),O=R[1];return s.internalGet(x)[1]<O?[x,s.internalGet(x)[1]]:C},[this.keys[0],this.cacheCallTimes]),d=Ve(p,1),g=d[0];this.delete(g)}this.keys.push(a)}var y=this.cache;a.forEach(function(C,x){if(x===a.length-1)y.set(C,{value:[u,s.cacheCallTimes++]});else{var R=y.get(C);R?R.map||(R.map=new Map):y.set(C,{map:new Map}),y=y.get(C).map}})}},{key:"deleteByPath",value:function(a,u){var s=a.get(u[0]);if(u.length===1){var p;return s.map?a.set(u[0],{map:s.map}):a.delete(u[0]),(p=s.value)===null||p===void 0?void 0:p[0]}var d=this.deleteByPath(s.map,u.slice(1));return(!s.map||s.map.size===0)&&!s.value&&a.delete(u[0]),d}},{key:"delete",value:function(a){if(this.has(a))return this.keys=this.keys.filter(function(u){return!v2(u,a)}),this.deleteByPath(this.cache,a)}}]),n}();ue(YS,"MAX_CACHE_SIZE",20),ue(YS,"MAX_CACHE_OFFSET",5);var oT=0,lT=function(){function n(i){Qa(this,n),ue(this,"derivatives",void 0),ue(this,"id",void 0),this.derivatives=Array.isArray(i)?i:[i],this.id=oT,i.length===0&&td(i.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),oT+=1}return Za(n,[{key:"getDerivativeToken",value:function(a){return this.derivatives.reduce(function(u,s){return s(a,u)},void 0)}}]),n}(),KS=new YS;function qS(n){var i=Array.isArray(n)?n:[n];return KS.has(i)||KS.set(i,new lT(i)),KS.get(i)}var p2=new WeakMap,GS={};function h2(n,i){for(var a=p2,u=0;u<i.length;u+=1){var s=i[u];a.has(s)||a.set(s,new WeakMap),a=a.get(s)}return a.has(GS)||a.set(GS,n()),a.get(GS)}var uT=new WeakMap;function Np(n){var i=uT.get(n)||"";return i||(Object.keys(n).forEach(function(a){var u=n[a];i+=a,u instanceof lT?i+=u.id:u&&Zt(u)==="object"?i+=Np(u):i+=u}),i=_p(i),uT.set(n,i)),i}function sT(n,i){return _p("".concat(i,"_").concat(Np(n)))}var XS=to();function dn(n){return typeof n=="number"?"".concat(n,"px"):n}function Og(n,i,a){var u,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(p)return n;var d=Ce(Ce({},s),{},(u={},ue(u,ad,i),ue(u,cl,a),u)),g=Object.keys(d).map(function(y){var C=d[y];return C?"".concat(y,'="').concat(C,'"'):null}).filter(function(y){return y}).join(" ");return"<style ".concat(g,">").concat(n,"</style>")}var _g=function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(a?"".concat(a,"-"):"").concat(i).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},m2=function(i,a,u){return Object.keys(i).length?".".concat(a).concat(u!=null&&u.scope?".".concat(u.scope):"","{").concat(Object.entries(i).map(function(s){var p=Ve(s,2),d=p[0],g=p[1];return"".concat(d,":").concat(g,";")}).join(""),"}"):""},cT=function(i,a,u){var s={},p={};return Object.entries(i).forEach(function(d){var g,y,C=Ve(d,2),x=C[0],R=C[1];if(u!=null&&(g=u.preserve)!==null&&g!==void 0&&g[x])p[x]=R;else if((typeof R=="string"||typeof R=="number")&&!(u!=null&&(y=u.ignore)!==null&&y!==void 0&&y[x])){var O,D=_g(x,u?.prefix);s[D]=typeof R=="number"&&!(u!=null&&(O=u.unitless)!==null&&O!==void 0&&O[x])?"".concat(R,"px"):String(R),p[x]="var(".concat(D,")")}}),[p,m2(s,a,{scope:u?.scope})]},fT=ce.env.NODE_ENV!=="test"&&to()?E.useLayoutEffect:E.useEffect,gi=function(i,a){var u=E.useRef(!0);fT(function(){return i(u.current)},a),fT(function(){return u.current=!1,function(){u.current=!0}},[])},dT=function(i,a){gi(function(u){if(!u)return i()},a)},g2=Ce({},hg),vT=g2.useInsertionEffect,y2=function(i,a,u){E.useMemo(i,u),gi(function(){return a(!0)},u)},b2=vT?function(n,i,a){return vT(function(){return n(),i()},a)}:y2,S2=Ce({},hg),C2=S2.useInsertionEffect,E2=function(i){var a=[],u=!1;function s(p){if(u){ce.env.NODE_ENV!=="production"&&td(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}a.push(p)}return E.useEffect(function(){return u=!1,function(){u=!0,a.length&&a.forEach(function(p){return p()})}},i),s},w2=function(){return function(i){i()}},x2=typeof C2<"u"?E2:w2;function R2(){return!1}var QS=!1;function T2(){return QS}const O2=ce.env.NODE_ENV==="production"?R2:T2;if(ce.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var kg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:null;if(kg&&typeof kg.webpackHotUpdate=="function"){var _2=kg.webpackHotUpdate;kg.webpackHotUpdate=function(){return QS=!0,setTimeout(function(){QS=!1},0),_2.apply(void 0,arguments)}}}function ZS(n,i,a,u,s){var p=E.useContext(Tg),d=p.cache,g=[n].concat(Rt(i)),y=WS(g),C=x2([y]),x=O2(),R=function(A){d.opUpdate(y,function(k){var V=k||[void 0,void 0],$=Ve(V,2),F=$[0],z=F===void 0?0:F,I=$[1],H=I;ce.env.NODE_ENV!=="production"&&I&&x&&(u?.(H,x),H=null);var W=H||a(),Z=[z,W];return A?A(Z):Z})};E.useMemo(function(){R()},[y]);var O=d.opGet(y);ce.env.NODE_ENV!=="production"&&!O&&(R(),O=d.opGet(y));var D=O[1];return b2(function(){s?.(D)},function(N){return R(function(A){var k=Ve(A,2),V=k[0],$=k[1];return N&&V===0&&s?.(D),[V+1,$]}),function(){d.opUpdate(y,function(A){var k=A||[],V=Ve(k,2),$=V[0],F=$===void 0?0:$,z=V[1],I=F-1;return I===0?(C(function(){(N||!d.opGet(y))&&u?.(z,!1)}),null):[F-1,z]})}},[y]),D}var k2={},M2=ce.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",_c=new Map;function N2(n){_c.set(n,(_c.get(n)||0)+1)}function D2(n,i){if(typeof document<"u"){var a=document.querySelectorAll("style[".concat(ad,'="').concat(n,'"]'));a.forEach(function(u){if(u[Ts]===i){var s;(s=u.parentNode)===null||s===void 0||s.removeChild(u)}})}}var P2=0;function A2(n,i){_c.set(n,(_c.get(n)||0)-1);var a=Array.from(_c.keys()),u=a.filter(function(s){var p=_c.get(s)||0;return p<=0});a.length-u.length>P2&&u.forEach(function(s){D2(s,i),_c.delete(s)})}var $2=function(i,a,u,s){var p=u.getDerivativeToken(i),d=Ce(Ce({},p),a);return s&&(d=s(d)),d},pT="token";function L2(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=E.useContext(Tg),s=u.cache.instanceId,p=u.container,d=a.salt,g=d===void 0?"":d,y=a.override,C=y===void 0?k2:y,x=a.formatToken,R=a.getComputedToken,O=a.cssVar,D=h2(function(){return Object.assign.apply(Object,[{}].concat(Rt(i)))},i),N=Np(D),A=Np(C),k=O?Np(O):"",V=ZS(pT,[g,n.id,N,A,k],function(){var $,F=R?R(D,C,n):$2(D,C,n,x),z=Ce({},F),I="";if(O){var H=cT(F,O.key,{prefix:O.prefix,ignore:O.ignore,unitless:O.unitless,preserve:O.preserve}),W=Ve(H,2);F=W[0],I=W[1]}var Z=sT(F,g);F._tokenKey=Z,z._tokenKey=sT(z,g);var J=($=O?.key)!==null&&$!==void 0?$:Z;F._themeKey=J,N2(J);var U="".concat(M2,"-").concat(_p(Z));return F._hashId=U,[F,U,z,I,O?.key||""]},function($){A2($[0]._themeKey,s)},function($){var F=Ve($,4),z=F[0],I=F[3];if(O&&I){var H=Mu(I,_p("css-variables-".concat(z._themeKey)),{mark:cl,prepend:"queue",attachTo:p,priority:-999});H[Ts]=s,H.setAttribute(ad,z._themeKey)}});return V}var F2=function(i,a,u){var s=Ve(i,5),p=s[2],d=s[3],g=s[4],y=u||{},C=y.plain;if(!d)return null;var x=p._tokenKey,R=-999,O={"data-rc-order":"prependQueue","data-rc-priority":"".concat(R)},D=Og(d,g,x,O,C);return[R,x,D]},I2={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Dr="-ms-",Dp="-moz-",tr="-webkit-",hT="comm",Mg="rule",JS="decl",z2="@import",j2="@namespace",mT="@keyframes",V2="@layer",gT=Math.abs,eC=String.fromCharCode,tC=Object.assign;function H2(n,i){return Ta(n,0)^45?(((i<<2^Ta(n,0))<<2^Ta(n,1))<<2^Ta(n,2))<<2^Ta(n,3):0}function yT(n){return n.trim()}function Nu(n,i){return(n=i.exec(n))?n[0]:n}function gn(n,i,a){return n.replace(i,a)}function Ng(n,i,a){return n.indexOf(i,a)}function Ta(n,i){return n.charCodeAt(i)|0}function kc(n,i,a){return n.slice(i,a)}function fl(n){return n.length}function bT(n){return n.length}function Pp(n,i){return i.push(n),n}function U2(n,i){return n.map(i).join("")}function ST(n,i){return n.filter(function(a){return!Nu(a,i)})}var Dg=1,id=1,CT=0,zo=0,ma=0,od="";function Pg(n,i,a,u,s,p,d,g){return{value:n,root:i,parent:a,type:u,props:s,children:p,line:Dg,column:id,length:d,return:"",siblings:g}}function Os(n,i){return tC(Pg("",null,null,"",null,null,0,n.siblings),n,{length:-n.length},i)}function ld(n){for(;n.root;)n=Os(n.root,{children:[n]});Pp(n,n.siblings)}function B2(){return ma}function W2(){return ma=zo>0?Ta(od,--zo):0,id--,ma===10&&(id=1,Dg--),ma}function dl(){return ma=zo<CT?Ta(od,zo++):0,id++,ma===10&&(id=1,Dg++),ma}function _s(){return Ta(od,zo)}function Ag(){return zo}function $g(n,i){return kc(od,n,i)}function Ap(n){switch(n){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Y2(n){return Dg=id=1,CT=fl(od=n),zo=0,[]}function K2(n){return od="",n}function nC(n){return yT($g(zo-1,rC(n===91?n+2:n===40?n+1:n)))}function q2(n){for(;(ma=_s())&&ma<33;)dl();return Ap(n)>2||Ap(ma)>3?"":" "}function G2(n,i){for(;--i&&dl()&&!(ma<48||ma>102||ma>57&&ma<65||ma>70&&ma<97););return $g(n,Ag()+(i<6&&_s()==32&&dl()==32))}function rC(n){for(;dl();)switch(ma){case n:return zo;case 34:case 39:n!==34&&n!==39&&rC(ma);break;case 40:n===41&&rC(n);break;case 92:dl();break}return zo}function X2(n,i){for(;dl()&&n+ma!==57;)if(n+ma===84&&_s()===47)break;return"/*"+$g(i,zo-1)+"*"+eC(n===47?n:dl())}function Q2(n){for(;!Ap(_s());)dl();return $g(n,zo)}function ET(n){return K2(Lg("",null,null,null,[""],n=Y2(n),0,[0],n))}function Lg(n,i,a,u,s,p,d,g,y){for(var C=0,x=0,R=d,O=0,D=0,N=0,A=1,k=1,V=1,$=0,F="",z=s,I=p,H=u,W=F;k;)switch(N=$,$=dl()){case 40:if(N!=108&&Ta(W,R-1)==58){Ng(W+=gn(nC($),"&","&\f"),"&\f",gT(C?g[C-1]:0))!=-1&&(V=-1);break}case 34:case 39:case 91:W+=nC($);break;case 9:case 10:case 13:case 32:W+=q2(N);break;case 92:W+=G2(Ag()-1,7);continue;case 47:switch(_s()){case 42:case 47:Pp(Z2(X2(dl(),Ag()),i,a,y),y),(Ap(N||1)==5||Ap(_s()||1)==5)&&fl(W)&&kc(W,-1,void 0)!==" "&&(W+=" ");break;default:W+="/"}break;case 123*A:g[C++]=fl(W)*V;case 125*A:case 59:case 0:switch($){case 0:case 125:k=0;case 59+x:V==-1&&(W=gn(W,/\f/g,"")),D>0&&(fl(W)-R||A===0&&N===47)&&Pp(D>32?xT(W+";",u,a,R-1,y):xT(gn(W," ","")+";",u,a,R-2,y),y);break;case 59:W+=";";default:if(Pp(H=wT(W,i,a,C,x,s,g,F,z=[],I=[],R,p),p),$===123)if(x===0)Lg(W,i,H,H,z,p,R,g,I);else{switch(O){case 99:if(Ta(W,3)===110)break;case 108:if(Ta(W,2)===97)break;default:x=0;case 100:case 109:case 115:}x?Lg(n,H,H,u&&Pp(wT(n,H,H,0,0,s,g,F,s,z=[],R,I),I),s,I,R,g,u?z:I):Lg(W,H,H,H,[""],I,0,g,I)}}C=x=D=0,A=V=1,F=W="",R=d;break;case 58:R=1+fl(W),D=N;default:if(A<1){if($==123)--A;else if($==125&&A++==0&&W2()==125)continue}switch(W+=eC($),$*A){case 38:V=x>0?1:(W+="\f",-1);break;case 44:g[C++]=(fl(W)-1)*V,V=1;break;case 64:_s()===45&&(W+=nC(dl())),O=_s(),x=R=fl(F=W+=Q2(Ag())),$++;break;case 45:N===45&&fl(W)==2&&(A=0)}}return p}function wT(n,i,a,u,s,p,d,g,y,C,x,R){for(var O=s-1,D=s===0?p:[""],N=bT(D),A=0,k=0,V=0;A<u;++A)for(var $=0,F=kc(n,O+1,O=gT(k=d[A])),z=n;$<N;++$)(z=yT(k>0?D[$]+" "+F:gn(F,/&\f/g,D[$])))&&(y[V++]=z);return Pg(n,i,a,s===0?Mg:g,y,C,x,R)}function Z2(n,i,a,u){return Pg(n,i,a,hT,eC(B2()),kc(n,2,-2),0,u)}function xT(n,i,a,u,s){return Pg(n,i,a,JS,kc(n,0,u),kc(n,u+1,-1),u,s)}function RT(n,i,a){switch(H2(n,i)){case 5103:return tr+"print-"+n+n;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return tr+n+n;case 4855:return tr+n.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+n;case 4789:return Dp+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return tr+n+Dp+n+Dr+n+n;case 5936:switch(Ta(n,i+11)){case 114:return tr+n+Dr+gn(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return tr+n+Dr+gn(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return tr+n+Dr+gn(n,/[svh]\w+-[tblr]{2}/,"lr")+n}case 6828:case 4268:case 2903:return tr+n+Dr+n+n;case 6165:return tr+n+Dr+"flex-"+n+n;case 5187:return tr+n+gn(n,/(\w+).+(:[^]+)/,tr+"box-$1$2"+Dr+"flex-$1$2")+n;case 5443:return tr+n+Dr+"flex-item-"+gn(n,/flex-|-self/g,"")+(Nu(n,/flex-|baseline/)?"":Dr+"grid-row-"+gn(n,/flex-|-self/g,""))+n;case 4675:return tr+n+Dr+"flex-line-pack"+gn(n,/align-content|flex-|-self/g,"")+n;case 5548:return tr+n+Dr+gn(n,"shrink","negative")+n;case 5292:return tr+n+Dr+gn(n,"basis","preferred-size")+n;case 6060:return tr+"box-"+gn(n,"-grow","")+tr+n+Dr+gn(n,"grow","positive")+n;case 4554:return tr+gn(n,/([^-])(transform)/g,"$1"+tr+"$2")+n;case 6187:return gn(gn(gn(n,/(zoom-|grab)/,tr+"$1"),/(image-set)/,tr+"$1"),n,"")+n;case 5495:case 3959:return gn(n,/(image-set\([^]*)/,tr+"$1$`$1");case 4968:return gn(gn(n,/(.+:)(flex-)?(.*)/,tr+"box-pack:$3"+Dr+"flex-pack:$3"),/space-between/,"justify")+tr+n+n;case 4200:if(!Nu(n,/flex-|baseline/))return Dr+"grid-column-align"+kc(n,i)+n;break;case 2592:case 3360:return Dr+gn(n,"template-","")+n;case 4384:case 3616:return a&&a.some(function(u,s){return i=s,Nu(u.props,/grid-\w+-end/)})?~Ng(n+(a=a[i].value),"span",0)?n:Dr+gn(n,"-start","")+n+Dr+"grid-row-span:"+(~Ng(a,"span",0)?Nu(a,/\d+/):+Nu(a,/\d+/)-+Nu(n,/\d+/))+";":Dr+gn(n,"-start","")+n;case 4896:case 4128:return a&&a.some(function(u){return Nu(u.props,/grid-\w+-start/)})?n:Dr+gn(gn(n,"-end","-span"),"span ","")+n;case 4095:case 3583:case 4068:case 2532:return gn(n,/(.+)-inline(.+)/,tr+"$1$2")+n;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(fl(n)-1-i>6)switch(Ta(n,i+1)){case 109:if(Ta(n,i+4)!==45)break;case 102:return gn(n,/(.+:)(.+)-([^]+)/,"$1"+tr+"$2-$3$1"+Dp+(Ta(n,i+3)==108?"$3":"$2-$3"))+n;case 115:return~Ng(n,"stretch",0)?RT(gn(n,"stretch","fill-available"),i,a)+n:n}break;case 5152:case 5920:return gn(n,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(u,s,p,d,g,y,C){return Dr+s+":"+p+C+(d?Dr+s+"-span:"+(g?y:+y-+p)+C:"")+n});case 4949:if(Ta(n,i+6)===121)return gn(n,":",":"+tr)+n;break;case 6444:switch(Ta(n,Ta(n,14)===45?18:11)){case 120:return gn(n,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+tr+(Ta(n,14)===45?"inline-":"")+"box$3$1"+tr+"$2$3$1"+Dr+"$2box$3")+n;case 100:return gn(n,":",":"+Dr)+n}break;case 5719:case 2647:case 2135:case 3927:case 2391:return gn(n,"scroll-","scroll-snap-")+n}return n}function $p(n,i){for(var a="",u=0;u<n.length;u++)a+=i(n[u],u,n,i)||"";return a}function TT(n,i,a,u){switch(n.type){case V2:if(n.children.length)break;case z2:case j2:case JS:return n.return=n.return||n.value;case hT:return"";case mT:return n.return=n.value+"{"+$p(n.children,u)+"}";case Mg:if(!fl(n.value=n.props.join(",")))return""}return fl(a=$p(n.children,u))?n.return=n.value+"{"+a+"}":""}function J2(n){var i=bT(n);return function(a,u,s,p){for(var d="",g=0;g<i;g++)d+=n[g](a,u,s,p)||"";return d}}function e$(n){return function(i){i.root||(i=i.return)&&n(i)}}function t$(n,i,a,u){if(n.length>-1&&!n.return)switch(n.type){case JS:n.return=RT(n.value,n.length,a);return;case mT:return $p([Os(n,{value:gn(n.value,"@","@"+tr)})],u);case Mg:if(n.length)return U2(a=n.props,function(s){switch(Nu(s,u=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ld(Os(n,{props:[gn(s,/:(read-\w+)/,":"+Dp+"$1")]})),ld(Os(n,{props:[s]})),tC(n,{props:ST(a,u)});break;case"::placeholder":ld(Os(n,{props:[gn(s,/:(plac\w+)/,":"+tr+"input-$1")]})),ld(Os(n,{props:[gn(s,/:(plac\w+)/,":"+Dp+"$1")]})),ld(Os(n,{props:[gn(s,/:(plac\w+)/,Dr+"input-$1")]})),ld(Os(n,{props:[s]})),tC(n,{props:ST(a,u)});break}return""})}}function OT(n,i){var a=i.path,u=i.parentSelectors;or(!1,"[Ant Design CSS-in-JS] ".concat(a?"Error in ".concat(a,": "):"").concat(n).concat(u.length?" Selector: ".concat(u.join(" | ")):""))}var n$=function(i,a,u){if(i==="content"){var s=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,p=["normal","none","initial","inherit","unset"];(typeof a!="string"||p.indexOf(a)===-1&&!s.test(a)&&(a.charAt(0)!==a.charAt(a.length-1)||a.charAt(0)!=='"'&&a.charAt(0)!=="'"))&&OT("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(a,"\"'`."),u)}},r$=function(i,a,u){i==="animation"&&u.hashId&&a!=="none"&&OT("You seem to be using hashed animation '".concat(a,"', in which case 'animationName' with Keyframe as value is recommended."),u)},_T="data-ant-cssinjs-cache-path",kT="_FILE_STYLE__",Mc,MT=!0;function a$(){if(!Mc&&(Mc={},to())){var n=document.createElement("div");n.className=_T,n.style.position="fixed",n.style.visibility="hidden",n.style.top="-9999px",document.body.appendChild(n);var i=getComputedStyle(n).content||"";i=i.replace(/^"/,"").replace(/"$/,""),i.split(";").forEach(function(s){var p=s.split(":"),d=Ve(p,2),g=d[0],y=d[1];Mc[g]=y});var a=document.querySelector("style[".concat(_T,"]"));if(a){var u;MT=!1,(u=a.parentNode)===null||u===void 0||u.removeChild(a)}document.body.removeChild(n)}}function i$(n){return a$(),!!Mc[n]}function o$(n){var i=Mc[n],a=null;if(i&&to())if(MT)a=kT;else{var u=document.querySelector("style[".concat(cl,'="').concat(Mc[n],'"]'));u?a=u.innerHTML:delete Mc[n]}return[a,i]}var NT="_skip_check_",DT="_multi_value_";function Fg(n){var i=$p(ET(n),TT);return i.replace(/\{%%%\:[^;];}/g,";")}function l$(n){return Zt(n)==="object"&&n&&(NT in n||DT in n)}function PT(n,i,a){if(!i)return n;var u=".".concat(i),s=a==="low"?":where(".concat(u,")"):u,p=n.split(",").map(function(d){var g,y=d.trim().split(/\s+/),C=y[0]||"",x=((g=C.match(/^\w+/))===null||g===void 0?void 0:g[0])||"";return C="".concat(x).concat(s).concat(C.slice(x.length)),[C].concat(Rt(y.slice(1))).join(" ")});return p.join(",")}var u$=function n(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},s=u.root,p=u.injectHash,d=u.parentSelectors,g=a.hashId,y=a.layer,C=a.path,x=a.hashPriority,R=a.transformers,O=R===void 0?[]:R,D=a.linters,N=D===void 0?[]:D,A="",k={};function V(z){var I=z.getName(g);if(!k[I]){var H=n(z.style,a,{root:!1,parentSelectors:d}),W=Ve(H,1),Z=W[0];k[I]="@keyframes ".concat(z.getName(g)).concat(Z)}}function $(z){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return z.forEach(function(H){Array.isArray(H)?$(H,I):H&&I.push(H)}),I}var F=$(Array.isArray(i)?i:[i]);return F.forEach(function(z){var I=typeof z=="string"&&!s?{}:z;if(typeof I=="string")A+="".concat(I,`
224
- `);else if(I._keyframe)V(I);else{var H=O.reduce(function(W,Z){var J;return(Z==null||(J=Z.visit)===null||J===void 0?void 0:J.call(Z,W))||W},I);Object.keys(H).forEach(function(W){var Z=H[W];if(Zt(Z)==="object"&&Z&&(W!=="animationName"||!Z._keyframe)&&!l$(Z)){var J=!1,U=W.trim(),q=!1;(s||p)&&g?U.startsWith("@")?J=!0:U==="&"?U=PT("",g,x):U=PT(W,g,x):s&&!g&&(U==="&"||U==="")&&(U="",q=!0);var te=n(Z,a,{root:q,injectHash:J,parentSelectors:[].concat(Rt(d),[U])}),Y=Ve(te,2),Q=Y[0],se=Y[1];k=Ce(Ce({},k),se),A+="".concat(U).concat(Q)}else{let ne=function(me,le){ce.env.NODE_ENV!=="production"&&(Zt(Z)!=="object"||!(Z!=null&&Z[NT]))&&[n$,r$].concat(Rt(N)).forEach(function(xe){return xe(me,le,{path:C,hashId:g,parentSelectors:d})});var B=me.replace(/[A-Z]/g,function(xe){return"-".concat(xe.toLowerCase())}),re=le;!I2[me]&&typeof re=="number"&&re!==0&&(re="".concat(re,"px")),me==="animationName"&&le!==null&&le!==void 0&&le._keyframe&&(V(le),re=le.getName(g)),A+="".concat(B,":").concat(re,";")};var ye,de=(ye=Z?.value)!==null&&ye!==void 0?ye:Z;Zt(Z)==="object"&&Z!==null&&Z!==void 0&&Z[DT]&&Array.isArray(de)?de.forEach(function(me){ne(W,me)}):ne(W,de)}})}}),s?y&&(A&&(A="@layer ".concat(y.name," {").concat(A,"}")),y.dependencies&&(k["@layer ".concat(y.name)]=y.dependencies.map(function(z){return"@layer ".concat(z,", ").concat(y.name,";")}).join(`
225
- `))):A="{".concat(A,"}"),[A,k]};function AT(n,i){return _p("".concat(n.join("%")).concat(i))}function s$(){return null}var $T="style";function aC(n,i){var a=n.token,u=n.path,s=n.hashId,p=n.layer,d=n.nonce,g=n.clientOnly,y=n.order,C=y===void 0?0:y,x=E.useContext(Tg),R=x.autoClear,O=x.mock,D=x.defaultCache,N=x.hashPriority,A=x.container,k=x.ssrInline,V=x.transformers,$=x.linters,F=x.cache,z=x.layer,I=a._tokenKey,H=[I];z&&H.push("layer"),H.push.apply(H,Rt(u));var W=XS;ce.env.NODE_ENV!=="production"&&O!==void 0&&(W=O==="client");var Z=ZS($T,H,function(){var Y=H.join("|");if(i$(Y)){var Q=o$(Y),se=Ve(Q,2),ye=se[0],de=se[1];if(ye)return[ye,I,de,{},g,C]}var ne=i(),me=u$(ne,{hashId:s,hashPriority:N,layer:z?p:void 0,path:u.join("-"),transformers:V,linters:$}),le=Ve(me,2),B=le[0],re=le[1],xe=Fg(B),we=AT(H,xe);return[xe,I,we,re,g,C]},function(Y,Q){var se=Ve(Y,3),ye=se[2];(Q||R)&&XS&&kp(ye,{mark:cl})},function(Y){var Q=Ve(Y,4),se=Q[0];Q[1];var ye=Q[2],de=Q[3];if(W&&se!==kT){var ne={mark:cl,prepend:z?!1:"queue",attachTo:A,priority:C},me=typeof d=="function"?d():d;me&&(ne.csp={nonce:me});var le=[],B=[];Object.keys(de).forEach(function(xe){xe.startsWith("@layer")?le.push(xe):B.push(xe)}),le.forEach(function(xe){Mu(Fg(de[xe]),"_layer-".concat(xe),Ce(Ce({},ne),{},{prepend:!0}))});var re=Mu(se,ye,ne);re[Ts]=F.instanceId,re.setAttribute(ad,I),ce.env.NODE_ENV!=="production"&&re.setAttribute(f2,H.join("|")),B.forEach(function(xe){Mu(Fg(de[xe]),"_effect-".concat(xe),ne)})}}),J=Ve(Z,3),U=J[0],q=J[1],te=J[2];return function(Y){var Q;if(!k||W||!D)Q=E.createElement(s$,null);else{var se;Q=E.createElement("style",Sn({},(se={},ue(se,ad,q),ue(se,cl,te),se),{dangerouslySetInnerHTML:{__html:U}}))}return E.createElement(E.Fragment,null,Q,Y)}}var c$=function(i,a,u){var s=Ve(i,6),p=s[0],d=s[1],g=s[2],y=s[3],C=s[4],x=s[5],R=u||{},O=R.plain;if(C)return null;var D=p,N={"data-rc-order":"prependQueue","data-rc-priority":"".concat(x)};return D=Og(p,d,g,N,O),y&&Object.keys(y).forEach(function(A){if(!a[A]){a[A]=!0;var k=Fg(y[A]),V=Og(k,d,"_effect-".concat(A),N,O);A.startsWith("@layer")?D=V+D:D+=V}}),[x,g,D]},LT="cssVar",f$=function(i,a){var u=i.key,s=i.prefix,p=i.unitless,d=i.ignore,g=i.token,y=i.scope,C=y===void 0?"":y,x=E.useContext(Tg),R=x.cache.instanceId,O=x.container,D=g._tokenKey,N=[].concat(Rt(i.path),[u,C,D]),A=ZS(LT,N,function(){var k=a(),V=cT(k,u,{prefix:s,unitless:p,ignore:d,scope:C}),$=Ve(V,2),F=$[0],z=$[1],I=AT(N,z);return[F,z,I,u]},function(k){var V=Ve(k,3),$=V[2];XS&&kp($,{mark:cl})},function(k){var V=Ve(k,3),$=V[1],F=V[2];if($){var z=Mu($,F,{mark:cl,prepend:"queue",attachTo:O,priority:-999});z[Ts]=R,z.setAttribute(ad,u)}});return A},d$=function(i,a,u){var s=Ve(i,4),p=s[1],d=s[2],g=s[3],y=u||{},C=y.plain;if(!p)return null;var x=-999,R={"data-rc-order":"prependQueue","data-rc-priority":"".concat(x)},O=Og(p,g,d,R,C);return[x,d,O]},Lp;Lp={},ue(Lp,$T,c$),ue(Lp,pT,F2),ue(Lp,LT,d$);var gr=function(){function n(i,a){Qa(this,n),ue(this,"name",void 0),ue(this,"style",void 0),ue(this,"_keyframe",!0),this.name=i,this.style=a}return Za(n,[{key:"getName",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return a?"".concat(a,"-").concat(this.name):this.name}}]),n}();function ud(n){return n.notSplit=!0,n}ud(["borderTop","borderBottom"]),ud(["borderTop"]),ud(["borderBottom"]),ud(["borderLeft","borderRight"]),ud(["borderLeft"]),ud(["borderRight"]);var iC=E.createContext({});function v$(n){return JR(n)||qR(n)||HS(n)||eT()}function Yl(n,i){for(var a=n,u=0;u<i.length;u+=1){if(a==null)return;a=a[i[u]]}return a}function FT(n,i,a,u){if(!i.length)return a;var s=v$(i),p=s[0],d=s.slice(1),g;return!n&&typeof p=="number"?g=[]:Array.isArray(n)?g=Rt(n):g=Ce({},n),u&&a===void 0&&d.length===1?delete g[p][d[0]]:g[p]=FT(g[p],d,a,u),g}function vl(n,i,a){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return i.length&&u&&a===void 0&&!Yl(n,i.slice(0,-1))?n:FT(n,i,a,u)}function p$(n){return Zt(n)==="object"&&n!==null&&Object.getPrototypeOf(n)===Object.prototype}function IT(n){return Array.isArray(n)?[]:{}}var h$=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function sd(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var u=IT(i[0]);return i.forEach(function(s){function p(d,g){var y=new Set(g),C=Yl(s,d),x=Array.isArray(C);if(x||p$(C)){if(!y.has(C)){y.add(C);var R=Yl(u,d);x?u=vl(u,d,[]):(!R||Zt(R)!=="object")&&(u=vl(u,d,IT(C))),h$(C).forEach(function(O){p([].concat(Rt(d),[O]),y)})}}else u=vl(u,d,C)}p([])}),u}function zT(){}let Du=null;function m$(){Du=null,xR()}let oC=zT;ce.env.NODE_ENV!=="production"&&(oC=(n,i,a)=>{or(n,`[antd: ${i}] ${a}`),ce.env.NODE_ENV==="test"&&m$()});const jT=E.createContext({}),Kl=ce.env.NODE_ENV!=="production"?n=>{const{strict:i}=E.useContext(jT),a=(u,s,p)=>{if(!u)if(i===!1&&s==="deprecated"){const d=Du;Du||(Du={}),Du[n]=Du[n]||[],Du[n].includes(p||"")||Du[n].push(p||""),d||console.warn("[antd] There exists deprecated usage in your code:",Du)}else ce.env.NODE_ENV!=="production"&&oC(u,n,p)};return a.deprecated=(u,s,p,d)=>{a(u,"deprecated",`\`${s}\` is deprecated. Please use \`${p}\` instead.${d?` ${d}`:""}`)},a}:()=>{const n=()=>{};return n.deprecated=zT,n},Ig=oC,g$=E.createContext(void 0);var y$={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},b$=Ce(Ce({},y$),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const S$={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},b$),Object.assign({},S$);const xo="${label} is not a valid ${type}",zg={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:xo,method:xo,array:xo,object:xo,number:xo,date:xo,boolean:xo,integer:xo,float:xo,regexp:xo,email:xo,url:xo,hex:xo},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}}};Object.assign({},zg.Modal);let jg=[];const VT=()=>jg.reduce((n,i)=>Object.assign(Object.assign({},n),i),zg.Modal);function C$(n){if(n){const i=Object.assign({},n);return jg.push(i),VT(),()=>{jg=jg.filter(a=>a!==i),VT()}}Object.assign({},zg.Modal)}const HT=E.createContext(void 0),UT="internalMark",BT=n=>{const{locale:i={},children:a,_ANT_MARK__:u}=n;if(ce.env.NODE_ENV!=="production"){const p=Kl("LocaleProvider");ce.env.NODE_ENV!=="production"&&p(u===UT,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}E.useEffect(()=>C$(i?.Modal),[i]);const s=E.useMemo(()=>Object.assign(Object.assign({},i),{exist:!0}),[i]);return E.createElement(HT.Provider,{value:s},a)};ce.env.NODE_ENV!=="production"&&(BT.displayName="LocaleProvider");const Ya=Math.round;function lC(n,i){const a=n.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],u=a.map(s=>parseFloat(s));for(let s=0;s<3;s+=1)u[s]=i(u[s]||0,a[s]||"",s);return a[3]?u[3]=a[3].includes("%")?u[3]/100:u[3]:u[3]=1,u}const WT=(n,i,a)=>a===0?n:n/100;function Fp(n,i){const a=i||255;return n>a?a:n<0?0:n}class cd{constructor(i){ue(this,"isValid",!0),ue(this,"r",0),ue(this,"g",0),ue(this,"b",0),ue(this,"a",1),ue(this,"_h",void 0),ue(this,"_s",void 0),ue(this,"_l",void 0),ue(this,"_v",void 0),ue(this,"_max",void 0),ue(this,"_min",void 0),ue(this,"_brightness",void 0);function a(u){return u[0]in i&&u[1]in i&&u[2]in i}if(i)if(typeof i=="string"){let s=function(p){return u.startsWith(p)};const u=i.trim();/^#?[A-F\d]{3,8}$/i.test(u)?this.fromHexString(u):s("rgb")?this.fromRgbString(u):s("hsl")?this.fromHslString(u):(s("hsv")||s("hsb"))&&this.fromHsvString(u)}else if(i instanceof cd)this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this._h=i._h,this._s=i._s,this._l=i._l,this._v=i._v;else if(a("rgb"))this.r=Fp(i.r),this.g=Fp(i.g),this.b=Fp(i.b),this.a=typeof i.a=="number"?Fp(i.a,1):1;else if(a("hsl"))this.fromHsl(i);else if(a("hsv"))this.fromHsv(i);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(i))}setR(i){return this._sc("r",i)}setG(i){return this._sc("g",i)}setB(i){return this._sc("b",i)}setA(i){return this._sc("a",i,1)}setHue(i){const a=this.toHsv();return a.h=i,this._c(a)}getLuminance(){function i(p){const d=p/255;return d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}const a=i(this.r),u=i(this.g),s=i(this.b);return .2126*a+.7152*u+.0722*s}getHue(){if(typeof this._h>"u"){const i=this.getMax()-this.getMin();i===0?this._h=0:this._h=Ya(60*(this.r===this.getMax()?(this.g-this.b)/i+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/i+2:(this.r-this.g)/i+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const i=this.getMax()-this.getMin();i===0?this._s=0:this._s=i/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(i=10){const a=this.getHue(),u=this.getSaturation();let s=this.getLightness()-i/100;return s<0&&(s=0),this._c({h:a,s:u,l:s,a:this.a})}lighten(i=10){const a=this.getHue(),u=this.getSaturation();let s=this.getLightness()+i/100;return s>1&&(s=1),this._c({h:a,s:u,l:s,a:this.a})}mix(i,a=50){const u=this._c(i),s=a/100,p=g=>(u[g]-this[g])*s+this[g],d={r:Ya(p("r")),g:Ya(p("g")),b:Ya(p("b")),a:Ya(p("a")*100)/100};return this._c(d)}tint(i=10){return this.mix({r:255,g:255,b:255,a:1},i)}shade(i=10){return this.mix({r:0,g:0,b:0,a:1},i)}onBackground(i){const a=this._c(i),u=this.a+a.a*(1-this.a),s=p=>Ya((this[p]*this.a+a[p]*a.a*(1-this.a))/u);return this._c({r:s("r"),g:s("g"),b:s("b"),a:u})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(i){return this.r===i.r&&this.g===i.g&&this.b===i.b&&this.a===i.a}clone(){return this._c(this)}toHexString(){let i="#";const a=(this.r||0).toString(16);i+=a.length===2?a:"0"+a;const u=(this.g||0).toString(16);i+=u.length===2?u:"0"+u;const s=(this.b||0).toString(16);if(i+=s.length===2?s:"0"+s,typeof this.a=="number"&&this.a>=0&&this.a<1){const p=Ya(this.a*255).toString(16);i+=p.length===2?p:"0"+p}return i}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const i=this.getHue(),a=Ya(this.getSaturation()*100),u=Ya(this.getLightness()*100);return this.a!==1?`hsla(${i},${a}%,${u}%,${this.a})`:`hsl(${i},${a}%,${u}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(i,a,u){const s=this.clone();return s[i]=Fp(a,u),s}_c(i){return new this.constructor(i)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(i){const a=i.replace("#","");function u(s,p){return parseInt(a[s]+a[p||s],16)}a.length<6?(this.r=u(0),this.g=u(1),this.b=u(2),this.a=a[3]?u(3)/255:1):(this.r=u(0,1),this.g=u(2,3),this.b=u(4,5),this.a=a[6]?u(6,7)/255:1)}fromHsl({h:i,s:a,l:u,a:s}){if(this._h=i%360,this._s=a,this._l=u,this.a=typeof s=="number"?s:1,a<=0){const O=Ya(u*255);this.r=O,this.g=O,this.b=O}let p=0,d=0,g=0;const y=i/60,C=(1-Math.abs(2*u-1))*a,x=C*(1-Math.abs(y%2-1));y>=0&&y<1?(p=C,d=x):y>=1&&y<2?(p=x,d=C):y>=2&&y<3?(d=C,g=x):y>=3&&y<4?(d=x,g=C):y>=4&&y<5?(p=x,g=C):y>=5&&y<6&&(p=C,g=x);const R=u-C/2;this.r=Ya((p+R)*255),this.g=Ya((d+R)*255),this.b=Ya((g+R)*255)}fromHsv({h:i,s:a,v:u,a:s}){this._h=i%360,this._s=a,this._v=u,this.a=typeof s=="number"?s:1;const p=Ya(u*255);if(this.r=p,this.g=p,this.b=p,a<=0)return;const d=i/60,g=Math.floor(d),y=d-g,C=Ya(u*(1-a)*255),x=Ya(u*(1-a*y)*255),R=Ya(u*(1-a*(1-y))*255);switch(g){case 0:this.g=R,this.b=C;break;case 1:this.r=x,this.b=C;break;case 2:this.r=C,this.b=R;break;case 3:this.r=C,this.g=x;break;case 4:this.r=R,this.g=C;break;case 5:default:this.g=C,this.b=x;break}}fromHsvString(i){const a=lC(i,WT);this.fromHsv({h:a[0],s:a[1],v:a[2],a:a[3]})}fromHslString(i){const a=lC(i,WT);this.fromHsl({h:a[0],s:a[1],l:a[2],a:a[3]})}fromRgbString(i){const a=lC(i,(u,s)=>s.includes("%")?Ya(u/100*255):u);this.r=a[0],this.g=a[1],this.b=a[2],this.a=a[3]}}var Vg=2,YT=.16,E$=.05,w$=.05,x$=.15,KT=5,qT=4,R$=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function GT(n,i,a){var u;return Math.round(n.h)>=60&&Math.round(n.h)<=240?u=a?Math.round(n.h)-Vg*i:Math.round(n.h)+Vg*i:u=a?Math.round(n.h)+Vg*i:Math.round(n.h)-Vg*i,u<0?u+=360:u>=360&&(u-=360),u}function XT(n,i,a){if(n.h===0&&n.s===0)return n.s;var u;return a?u=n.s-YT*i:i===qT?u=n.s+YT:u=n.s+E$*i,u>1&&(u=1),a&&i===KT&&u>.1&&(u=.1),u<.06&&(u=.06),Math.round(u*100)/100}function QT(n,i,a){var u;return a?u=n.v+w$*i:u=n.v-x$*i,u=Math.max(0,Math.min(1,u)),Math.round(u*100)/100}function Ip(n){for(var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=[],u=new cd(n),s=u.toHsv(),p=KT;p>0;p-=1){var d=new cd({h:GT(s,p,!0),s:XT(s,p,!0),v:QT(s,p,!0)});a.push(d)}a.push(u);for(var g=1;g<=qT;g+=1){var y=new cd({h:GT(s,g),s:XT(s,g),v:QT(s,g)});a.push(y)}return i.theme==="dark"?R$.map(function(C){var x=C.index,R=C.amount;return new cd(i.backgroundColor||"#141414").mix(a[x],R).toHexString()}):a.map(function(C){return C.toHexString()})}var uC={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},sC=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];sC.primary=sC[5];var cC=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];cC.primary=cC[5];var fC=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];fC.primary=fC[5];var dC=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];dC.primary=dC[5];var vC=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];vC.primary=vC[5];var pC=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];pC.primary=pC[5];var hC=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];hC.primary=hC[5];var mC=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];mC.primary=mC[5];var Hg=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Hg.primary=Hg[5];var gC=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];gC.primary=gC[5];var yC=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];yC.primary=yC[5];var bC=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];bC.primary=bC[5];var SC=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];SC.primary=SC[5];var CC={red:sC,volcano:cC,orange:fC,gold:dC,yellow:vC,lime:pC,green:hC,cyan:mC,blue:Hg,geekblue:gC,purple:yC,magenta:bC,grey:SC};const ZT={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},zp=Object.assign(Object.assign({},ZT),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
226
- 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
227
- 'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function Ja(n,i){T$(n)&&(n="100%");var a=O$(n);return n=i===360?n:Math.min(i,Math.max(0,parseFloat(n))),a&&(n=parseInt(String(n*i),10)/100),Math.abs(n-i)<1e-6?1:(i===360?n=(n<0?n%i+i:n%i)/parseFloat(String(i)):n=n%i/parseFloat(String(i)),n)}function Ug(n){return Math.min(1,Math.max(0,n))}function T$(n){return typeof n=="string"&&n.indexOf(".")!==-1&&parseFloat(n)===1}function O$(n){return typeof n=="string"&&n.indexOf("%")!==-1}function JT(n){return n=parseFloat(n),(isNaN(n)||n<0||n>1)&&(n=1),n}function Bg(n){return n<=1?"".concat(Number(n)*100,"%"):n}function Nc(n){return n.length===1?"0"+n:String(n)}function _$(n,i,a){return{r:Ja(n,255)*255,g:Ja(i,255)*255,b:Ja(a,255)*255}}function eO(n,i,a){n=Ja(n,255),i=Ja(i,255),a=Ja(a,255);var u=Math.max(n,i,a),s=Math.min(n,i,a),p=0,d=0,g=(u+s)/2;if(u===s)d=0,p=0;else{var y=u-s;switch(d=g>.5?y/(2-u-s):y/(u+s),u){case n:p=(i-a)/y+(i<a?6:0);break;case i:p=(a-n)/y+2;break;case a:p=(n-i)/y+4;break}p/=6}return{h:p,s:d,l:g}}function EC(n,i,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?n+(i-n)*(6*a):a<1/2?i:a<2/3?n+(i-n)*(2/3-a)*6:n}function k$(n,i,a){var u,s,p;if(n=Ja(n,360),i=Ja(i,100),a=Ja(a,100),i===0)s=a,p=a,u=a;else{var d=a<.5?a*(1+i):a+i-a*i,g=2*a-d;u=EC(g,d,n+1/3),s=EC(g,d,n),p=EC(g,d,n-1/3)}return{r:u*255,g:s*255,b:p*255}}function tO(n,i,a){n=Ja(n,255),i=Ja(i,255),a=Ja(a,255);var u=Math.max(n,i,a),s=Math.min(n,i,a),p=0,d=u,g=u-s,y=u===0?0:g/u;if(u===s)p=0;else{switch(u){case n:p=(i-a)/g+(i<a?6:0);break;case i:p=(a-n)/g+2;break;case a:p=(n-i)/g+4;break}p/=6}return{h:p,s:y,v:d}}function M$(n,i,a){n=Ja(n,360)*6,i=Ja(i,100),a=Ja(a,100);var u=Math.floor(n),s=n-u,p=a*(1-i),d=a*(1-s*i),g=a*(1-(1-s)*i),y=u%6,C=[a,d,p,p,g,a][y],x=[g,a,a,d,p,p][y],R=[p,p,g,a,a,d][y];return{r:C*255,g:x*255,b:R*255}}function nO(n,i,a,u){var s=[Nc(Math.round(n).toString(16)),Nc(Math.round(i).toString(16)),Nc(Math.round(a).toString(16))];return u&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function N$(n,i,a,u,s){var p=[Nc(Math.round(n).toString(16)),Nc(Math.round(i).toString(16)),Nc(Math.round(a).toString(16)),Nc(D$(u))];return s&&p[0].startsWith(p[0].charAt(1))&&p[1].startsWith(p[1].charAt(1))&&p[2].startsWith(p[2].charAt(1))&&p[3].startsWith(p[3].charAt(1))?p[0].charAt(0)+p[1].charAt(0)+p[2].charAt(0)+p[3].charAt(0):p.join("")}function D$(n){return Math.round(parseFloat(n)*255).toString(16)}function rO(n){return Ro(n)/255}function Ro(n){return parseInt(n,16)}function P$(n){return{r:n>>16,g:(n&65280)>>8,b:n&255}}var wC={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function A$(n){var i={r:0,g:0,b:0},a=1,u=null,s=null,p=null,d=!1,g=!1;return typeof n=="string"&&(n=F$(n)),typeof n=="object"&&(Pu(n.r)&&Pu(n.g)&&Pu(n.b)?(i=_$(n.r,n.g,n.b),d=!0,g=String(n.r).substr(-1)==="%"?"prgb":"rgb"):Pu(n.h)&&Pu(n.s)&&Pu(n.v)?(u=Bg(n.s),s=Bg(n.v),i=M$(n.h,u,s),d=!0,g="hsv"):Pu(n.h)&&Pu(n.s)&&Pu(n.l)&&(u=Bg(n.s),p=Bg(n.l),i=k$(n.h,u,p),d=!0,g="hsl"),Object.prototype.hasOwnProperty.call(n,"a")&&(a=n.a)),a=JT(a),{ok:d,format:n.format||g,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a}}var $$="[-\\+]?\\d+%?",L$="[-\\+]?\\d*\\.\\d+%?",ks="(?:".concat(L$,")|(?:").concat($$,")"),xC="[\\s|\\(]+(".concat(ks,")[,|\\s]+(").concat(ks,")[,|\\s]+(").concat(ks,")\\s*\\)?"),RC="[\\s|\\(]+(".concat(ks,")[,|\\s]+(").concat(ks,")[,|\\s]+(").concat(ks,")[,|\\s]+(").concat(ks,")\\s*\\)?"),pl={CSS_UNIT:new RegExp(ks),rgb:new RegExp("rgb"+xC),rgba:new RegExp("rgba"+RC),hsl:new RegExp("hsl"+xC),hsla:new RegExp("hsla"+RC),hsv:new RegExp("hsv"+xC),hsva:new RegExp("hsva"+RC),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function F$(n){if(n=n.trim().toLowerCase(),n.length===0)return!1;var i=!1;if(wC[n])n=wC[n],i=!0;else if(n==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var a=pl.rgb.exec(n);return a?{r:a[1],g:a[2],b:a[3]}:(a=pl.rgba.exec(n),a?{r:a[1],g:a[2],b:a[3],a:a[4]}:(a=pl.hsl.exec(n),a?{h:a[1],s:a[2],l:a[3]}:(a=pl.hsla.exec(n),a?{h:a[1],s:a[2],l:a[3],a:a[4]}:(a=pl.hsv.exec(n),a?{h:a[1],s:a[2],v:a[3]}:(a=pl.hsva.exec(n),a?{h:a[1],s:a[2],v:a[3],a:a[4]}:(a=pl.hex8.exec(n),a?{r:Ro(a[1]),g:Ro(a[2]),b:Ro(a[3]),a:rO(a[4]),format:i?"name":"hex8"}:(a=pl.hex6.exec(n),a?{r:Ro(a[1]),g:Ro(a[2]),b:Ro(a[3]),format:i?"name":"hex"}:(a=pl.hex4.exec(n),a?{r:Ro(a[1]+a[1]),g:Ro(a[2]+a[2]),b:Ro(a[3]+a[3]),a:rO(a[4]+a[4]),format:i?"name":"hex8"}:(a=pl.hex3.exec(n),a?{r:Ro(a[1]+a[1]),g:Ro(a[2]+a[2]),b:Ro(a[3]+a[3]),format:i?"name":"hex"}:!1)))))))))}function Pu(n){return!!pl.CSS_UNIT.exec(String(n))}var Fi=function(){function n(i,a){i===void 0&&(i=""),a===void 0&&(a={});var u;if(i instanceof n)return i;typeof i=="number"&&(i=P$(i)),this.originalInput=i;var s=A$(i);this.originalInput=i,this.r=s.r,this.g=s.g,this.b=s.b,this.a=s.a,this.roundA=Math.round(100*this.a)/100,this.format=(u=a.format)!==null&&u!==void 0?u:s.format,this.gradientType=a.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=s.ok}return n.prototype.isDark=function(){return this.getBrightness()<128},n.prototype.isLight=function(){return!this.isDark()},n.prototype.getBrightness=function(){var i=this.toRgb();return(i.r*299+i.g*587+i.b*114)/1e3},n.prototype.getLuminance=function(){var i=this.toRgb(),a,u,s,p=i.r/255,d=i.g/255,g=i.b/255;return p<=.03928?a=p/12.92:a=Math.pow((p+.055)/1.055,2.4),d<=.03928?u=d/12.92:u=Math.pow((d+.055)/1.055,2.4),g<=.03928?s=g/12.92:s=Math.pow((g+.055)/1.055,2.4),.2126*a+.7152*u+.0722*s},n.prototype.getAlpha=function(){return this.a},n.prototype.setAlpha=function(i){return this.a=JT(i),this.roundA=Math.round(100*this.a)/100,this},n.prototype.isMonochrome=function(){var i=this.toHsl().s;return i===0},n.prototype.toHsv=function(){var i=tO(this.r,this.g,this.b);return{h:i.h*360,s:i.s,v:i.v,a:this.a}},n.prototype.toHsvString=function(){var i=tO(this.r,this.g,this.b),a=Math.round(i.h*360),u=Math.round(i.s*100),s=Math.round(i.v*100);return this.a===1?"hsv(".concat(a,", ").concat(u,"%, ").concat(s,"%)"):"hsva(".concat(a,", ").concat(u,"%, ").concat(s,"%, ").concat(this.roundA,")")},n.prototype.toHsl=function(){var i=eO(this.r,this.g,this.b);return{h:i.h*360,s:i.s,l:i.l,a:this.a}},n.prototype.toHslString=function(){var i=eO(this.r,this.g,this.b),a=Math.round(i.h*360),u=Math.round(i.s*100),s=Math.round(i.l*100);return this.a===1?"hsl(".concat(a,", ").concat(u,"%, ").concat(s,"%)"):"hsla(".concat(a,", ").concat(u,"%, ").concat(s,"%, ").concat(this.roundA,")")},n.prototype.toHex=function(i){return i===void 0&&(i=!1),nO(this.r,this.g,this.b,i)},n.prototype.toHexString=function(i){return i===void 0&&(i=!1),"#"+this.toHex(i)},n.prototype.toHex8=function(i){return i===void 0&&(i=!1),N$(this.r,this.g,this.b,this.a,i)},n.prototype.toHex8String=function(i){return i===void 0&&(i=!1),"#"+this.toHex8(i)},n.prototype.toHexShortString=function(i){return i===void 0&&(i=!1),this.a===1?this.toHexString(i):this.toHex8String(i)},n.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},n.prototype.toRgbString=function(){var i=Math.round(this.r),a=Math.round(this.g),u=Math.round(this.b);return this.a===1?"rgb(".concat(i,", ").concat(a,", ").concat(u,")"):"rgba(".concat(i,", ").concat(a,", ").concat(u,", ").concat(this.roundA,")")},n.prototype.toPercentageRgb=function(){var i=function(a){return"".concat(Math.round(Ja(a,255)*100),"%")};return{r:i(this.r),g:i(this.g),b:i(this.b),a:this.a}},n.prototype.toPercentageRgbString=function(){var i=function(a){return Math.round(Ja(a,255)*100)};return this.a===1?"rgb(".concat(i(this.r),"%, ").concat(i(this.g),"%, ").concat(i(this.b),"%)"):"rgba(".concat(i(this.r),"%, ").concat(i(this.g),"%, ").concat(i(this.b),"%, ").concat(this.roundA,")")},n.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var i="#"+nO(this.r,this.g,this.b,!1),a=0,u=Object.entries(wC);a<u.length;a++){var s=u[a],p=s[0],d=s[1];if(i===d)return p}return!1},n.prototype.toString=function(i){var a=!!i;i=i??this.format;var u=!1,s=this.a<1&&this.a>=0,p=!a&&s&&(i.startsWith("hex")||i==="name");return p?i==="name"&&this.a===0?this.toName():this.toRgbString():(i==="rgb"&&(u=this.toRgbString()),i==="prgb"&&(u=this.toPercentageRgbString()),(i==="hex"||i==="hex6")&&(u=this.toHexString()),i==="hex3"&&(u=this.toHexString(!0)),i==="hex4"&&(u=this.toHex8String(!0)),i==="hex8"&&(u=this.toHex8String()),i==="name"&&(u=this.toName()),i==="hsl"&&(u=this.toHslString()),i==="hsv"&&(u=this.toHsvString()),u||this.toHexString())},n.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},n.prototype.clone=function(){return new n(this.toString())},n.prototype.lighten=function(i){i===void 0&&(i=10);var a=this.toHsl();return a.l+=i/100,a.l=Ug(a.l),new n(a)},n.prototype.brighten=function(i){i===void 0&&(i=10);var a=this.toRgb();return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(i/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(i/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(i/100)))),new n(a)},n.prototype.darken=function(i){i===void 0&&(i=10);var a=this.toHsl();return a.l-=i/100,a.l=Ug(a.l),new n(a)},n.prototype.tint=function(i){return i===void 0&&(i=10),this.mix("white",i)},n.prototype.shade=function(i){return i===void 0&&(i=10),this.mix("black",i)},n.prototype.desaturate=function(i){i===void 0&&(i=10);var a=this.toHsl();return a.s-=i/100,a.s=Ug(a.s),new n(a)},n.prototype.saturate=function(i){i===void 0&&(i=10);var a=this.toHsl();return a.s+=i/100,a.s=Ug(a.s),new n(a)},n.prototype.greyscale=function(){return this.desaturate(100)},n.prototype.spin=function(i){var a=this.toHsl(),u=(a.h+i)%360;return a.h=u<0?360+u:u,new n(a)},n.prototype.mix=function(i,a){a===void 0&&(a=50);var u=this.toRgb(),s=new n(i).toRgb(),p=a/100,d={r:(s.r-u.r)*p+u.r,g:(s.g-u.g)*p+u.g,b:(s.b-u.b)*p+u.b,a:(s.a-u.a)*p+u.a};return new n(d)},n.prototype.analogous=function(i,a){i===void 0&&(i=6),a===void 0&&(a=30);var u=this.toHsl(),s=360/a,p=[this];for(u.h=(u.h-(s*i>>1)+720)%360;--i;)u.h=(u.h+s)%360,p.push(new n(u));return p},n.prototype.complement=function(){var i=this.toHsl();return i.h=(i.h+180)%360,new n(i)},n.prototype.monochromatic=function(i){i===void 0&&(i=6);for(var a=this.toHsv(),u=a.h,s=a.s,p=a.v,d=[],g=1/i;i--;)d.push(new n({h:u,s,v:p})),p=(p+g)%1;return d},n.prototype.splitcomplement=function(){var i=this.toHsl(),a=i.h;return[this,new n({h:(a+72)%360,s:i.s,l:i.l}),new n({h:(a+216)%360,s:i.s,l:i.l})]},n.prototype.onBackground=function(i){var a=this.toRgb(),u=new n(i).toRgb(),s=a.a+u.a*(1-a.a);return new n({r:(a.r*a.a+u.r*u.a*(1-a.a))/s,g:(a.g*a.a+u.g*u.a*(1-a.a))/s,b:(a.b*a.a+u.b*u.a*(1-a.a))/s,a:s})},n.prototype.triad=function(){return this.polyad(3)},n.prototype.tetrad=function(){return this.polyad(4)},n.prototype.polyad=function(i){for(var a=this.toHsl(),u=a.h,s=[this],p=360/i,d=1;d<i;d++)s.push(new n({h:(u+d*p)%360,s:a.s,l:a.l}));return s},n.prototype.equals=function(i){return this.toRgbString()===new n(i).toRgbString()},n}();function I$(n,i){let{generateColorPalettes:a,generateNeutralColorPalettes:u}=i;const{colorSuccess:s,colorWarning:p,colorError:d,colorInfo:g,colorPrimary:y,colorBgBase:C,colorTextBase:x}=n,R=a(y),O=a(s),D=a(p),N=a(d),A=a(g),k=u(C,x),V=n.colorLink||n.colorInfo,$=a(V);return Object.assign(Object.assign({},k),{colorPrimaryBg:R[1],colorPrimaryBgHover:R[2],colorPrimaryBorder:R[3],colorPrimaryBorderHover:R[4],colorPrimaryHover:R[5],colorPrimary:R[6],colorPrimaryActive:R[7],colorPrimaryTextHover:R[8],colorPrimaryText:R[9],colorPrimaryTextActive:R[10],colorSuccessBg:O[1],colorSuccessBgHover:O[2],colorSuccessBorder:O[3],colorSuccessBorderHover:O[4],colorSuccessHover:O[4],colorSuccess:O[6],colorSuccessActive:O[7],colorSuccessTextHover:O[8],colorSuccessText:O[9],colorSuccessTextActive:O[10],colorErrorBg:N[1],colorErrorBgHover:N[2],colorErrorBgActive:N[3],colorErrorBorder:N[3],colorErrorBorderHover:N[4],colorErrorHover:N[5],colorError:N[6],colorErrorActive:N[7],colorErrorTextHover:N[8],colorErrorText:N[9],colorErrorTextActive:N[10],colorWarningBg:D[1],colorWarningBgHover:D[2],colorWarningBorder:D[3],colorWarningBorderHover:D[4],colorWarningHover:D[4],colorWarning:D[6],colorWarningActive:D[7],colorWarningTextHover:D[8],colorWarningText:D[9],colorWarningTextActive:D[10],colorInfoBg:A[1],colorInfoBgHover:A[2],colorInfoBorder:A[3],colorInfoBorderHover:A[4],colorInfoHover:A[4],colorInfo:A[6],colorInfoActive:A[7],colorInfoTextHover:A[8],colorInfoText:A[9],colorInfoTextActive:A[10],colorLinkHover:$[4],colorLink:$[6],colorLinkActive:$[7],colorBgMask:new Fi("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const z$=n=>{let i=n,a=n,u=n,s=n;return n<6&&n>=5?i=n+1:n<16&&n>=6?i=n+2:n>=16&&(i=16),n<7&&n>=5?a=4:n<8&&n>=7?a=5:n<14&&n>=8?a=6:n<16&&n>=14?a=7:n>=16&&(a=8),n<6&&n>=2?u=1:n>=6&&(u=2),n>4&&n<8?s=4:n>=8&&(s=6),{borderRadius:n,borderRadiusXS:u,borderRadiusSM:a,borderRadiusLG:i,borderRadiusOuter:s}};function j$(n){const{motionUnit:i,motionBase:a,borderRadius:u,lineWidth:s}=n;return Object.assign({motionDurationFast:`${(a+i).toFixed(1)}s`,motionDurationMid:`${(a+i*2).toFixed(1)}s`,motionDurationSlow:`${(a+i*3).toFixed(1)}s`,lineWidthBold:s+1},z$(u))}const V$=n=>{const{controlHeight:i}=n;return{controlHeightSM:i*.75,controlHeightXS:i*.5,controlHeightLG:i*1.25}};function H$(n){return(n+8)/n}function U$(n){const i=new Array(10).fill(null).map((a,u)=>{const s=u-1,p=n*Math.pow(Math.E,s/5),d=u>1?Math.floor(p):Math.ceil(p);return Math.floor(d/2)*2});return i[1]=n,i.map(a=>({size:a,lineHeight:H$(a)}))}const B$=n=>{const i=U$(n),a=i.map(x=>x.size),u=i.map(x=>x.lineHeight),s=a[1],p=a[0],d=a[2],g=u[1],y=u[0],C=u[2];return{fontSizeSM:p,fontSize:s,fontSizeLG:d,fontSizeXL:a[3],fontSizeHeading1:a[6],fontSizeHeading2:a[5],fontSizeHeading3:a[4],fontSizeHeading4:a[3],fontSizeHeading5:a[2],lineHeight:g,lineHeightLG:C,lineHeightSM:y,fontHeight:Math.round(g*s),fontHeightLG:Math.round(C*d),fontHeightSM:Math.round(y*p),lineHeightHeading1:u[6],lineHeightHeading2:u[5],lineHeightHeading3:u[4],lineHeightHeading4:u[3],lineHeightHeading5:u[2]}};function W$(n){const{sizeUnit:i,sizeStep:a}=n;return{sizeXXL:i*(a+8),sizeXL:i*(a+4),sizeLG:i*(a+2),sizeMD:i*(a+1),sizeMS:i*a,size:i*a,sizeSM:i*(a-1),sizeXS:i*(a-2),sizeXXS:i*(a-3)}}const Au=(n,i)=>new Fi(n).setAlpha(i).toRgbString(),jp=(n,i)=>new Fi(n).darken(i).toHexString(),Y$=n=>{const i=Ip(n);return{1:i[0],2:i[1],3:i[2],4:i[3],5:i[4],6:i[5],7:i[6],8:i[4],9:i[5],10:i[6]}},K$=(n,i)=>{const a=n||"#fff",u=i||"#000";return{colorBgBase:a,colorTextBase:u,colorText:Au(u,.88),colorTextSecondary:Au(u,.65),colorTextTertiary:Au(u,.45),colorTextQuaternary:Au(u,.25),colorFill:Au(u,.15),colorFillSecondary:Au(u,.06),colorFillTertiary:Au(u,.04),colorFillQuaternary:Au(u,.02),colorBgLayout:jp(a,4),colorBgContainer:jp(a,0),colorBgElevated:jp(a,0),colorBgSpotlight:Au(u,.85),colorBgBlur:"transparent",colorBorder:jp(a,15),colorBorderSecondary:jp(a,6)}};function q$(n){uC.pink=uC.magenta,CC.pink=CC.magenta;const i=Object.keys(ZT).map(a=>{const u=n[a]===uC[a]?CC[a]:Ip(n[a]);return new Array(10).fill(1).reduce((s,p,d)=>(s[`${a}-${d+1}`]=u[d],s[`${a}${d+1}`]=u[d],s),{})}).reduce((a,u)=>(a=Object.assign(Object.assign({},a),u),a),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),i),I$(n,{generateColorPalettes:Y$,generateNeutralColorPalettes:K$})),B$(n.fontSize)),W$(n)),V$(n)),j$(n))}const aO=qS(q$),TC={token:zp,override:{override:zp},hashed:!0},iO=Rn.createContext(TC),Wg="ant",oO="anticon",G$=(n,i)=>i||(n?`${Wg}-${n}`:Wg),yi=E.createContext({getPrefixCls:G$,iconPrefixCls:oO}),{Consumer:LB}=yi,X$=`-ant-${Date.now()}-${Math.random()}`;function Q$(n,i){const a={},u=(d,g)=>{let y=d.clone();return y=g?.(y)||y,y.toRgbString()},s=(d,g)=>{const y=new Fi(d),C=Ip(y.toRgbString());a[`${g}-color`]=u(y),a[`${g}-color-disabled`]=C[1],a[`${g}-color-hover`]=C[4],a[`${g}-color-active`]=C[6],a[`${g}-color-outline`]=y.clone().setAlpha(.2).toRgbString(),a[`${g}-color-deprecated-bg`]=C[0],a[`${g}-color-deprecated-border`]=C[2]};if(i.primaryColor){s(i.primaryColor,"primary");const d=new Fi(i.primaryColor),g=Ip(d.toRgbString());g.forEach((C,x)=>{a[`primary-${x+1}`]=C}),a["primary-color-deprecated-l-35"]=u(d,C=>C.lighten(35)),a["primary-color-deprecated-l-20"]=u(d,C=>C.lighten(20)),a["primary-color-deprecated-t-20"]=u(d,C=>C.tint(20)),a["primary-color-deprecated-t-50"]=u(d,C=>C.tint(50)),a["primary-color-deprecated-f-12"]=u(d,C=>C.setAlpha(C.getAlpha()*.12));const y=new Fi(g[0]);a["primary-color-active-deprecated-f-30"]=u(y,C=>C.setAlpha(C.getAlpha()*.3)),a["primary-color-active-deprecated-d-02"]=u(y,C=>C.darken(2))}return i.successColor&&s(i.successColor,"success"),i.warningColor&&s(i.warningColor,"warning"),i.errorColor&&s(i.errorColor,"error"),i.infoColor&&s(i.infoColor,"info"),`
228
- :root {
229
- ${Object.keys(a).map(d=>`--${n}-${d}: ${a[d]};`).join(`
230
- `)}
231
- }
232
- `.trim()}function Z$(n,i){const a=Q$(n,i);to()?Mu(a,`${X$}-dynamic-theme`):ce.env.NODE_ENV!=="production"&&Ig(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const OC=E.createContext(!1),J$=n=>{let{children:i,disabled:a}=n;const u=E.useContext(OC);return E.createElement(OC.Provider,{value:a??u},i)},Vp=E.createContext(void 0),eL=n=>{let{children:i,size:a}=n;const u=E.useContext(Vp);return E.createElement(Vp.Provider,{value:a||u},i)};function tL(){const n=E.useContext(OC),i=E.useContext(Vp);return{componentDisabled:n,componentSize:i}}var lO=Za(function n(){Qa(this,n)}),uO="CALC_UNIT",nL=new RegExp(uO,"g");function _C(n){return typeof n=="number"?"".concat(n).concat(uO):n}var rL=function(n){xs(a,n);var i=Rs(a);function a(u,s){var p;Qa(this,a),p=i.call(this),ue(Cn(p),"result",""),ue(Cn(p),"unitlessCssVar",void 0),ue(Cn(p),"lowPriority",void 0);var d=Zt(u);return p.unitlessCssVar=s,u instanceof a?p.result="(".concat(u.result,")"):d==="number"?p.result=_C(u):d==="string"&&(p.result=u),p}return Za(a,[{key:"add",value:function(s){return s instanceof a?this.result="".concat(this.result," + ").concat(s.getResult()):(typeof s=="number"||typeof s=="string")&&(this.result="".concat(this.result," + ").concat(_C(s))),this.lowPriority=!0,this}},{key:"sub",value:function(s){return s instanceof a?this.result="".concat(this.result," - ").concat(s.getResult()):(typeof s=="number"||typeof s=="string")&&(this.result="".concat(this.result," - ").concat(_C(s))),this.lowPriority=!0,this}},{key:"mul",value:function(s){return this.lowPriority&&(this.result="(".concat(this.result,")")),s instanceof a?this.result="".concat(this.result," * ").concat(s.getResult(!0)):(typeof s=="number"||typeof s=="string")&&(this.result="".concat(this.result," * ").concat(s)),this.lowPriority=!1,this}},{key:"div",value:function(s){return this.lowPriority&&(this.result="(".concat(this.result,")")),s instanceof a?this.result="".concat(this.result," / ").concat(s.getResult(!0)):(typeof s=="number"||typeof s=="string")&&(this.result="".concat(this.result," / ").concat(s)),this.lowPriority=!1,this}},{key:"getResult",value:function(s){return this.lowPriority||s?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(s){var p=this,d=s||{},g=d.unit,y=!0;return typeof g=="boolean"?y=g:Array.from(this.unitlessCssVar).some(function(C){return p.result.includes(C)})&&(y=!1),this.result=this.result.replace(nL,y?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),a}(lO),aL=function(n){xs(a,n);var i=Rs(a);function a(u){var s;return Qa(this,a),s=i.call(this),ue(Cn(s),"result",0),u instanceof a?s.result=u.result:typeof u=="number"&&(s.result=u),s}return Za(a,[{key:"add",value:function(s){return s instanceof a?this.result+=s.result:typeof s=="number"&&(this.result+=s),this}},{key:"sub",value:function(s){return s instanceof a?this.result-=s.result:typeof s=="number"&&(this.result-=s),this}},{key:"mul",value:function(s){return s instanceof a?this.result*=s.result:typeof s=="number"&&(this.result*=s),this}},{key:"div",value:function(s){return s instanceof a?this.result/=s.result:typeof s=="number"&&(this.result/=s),this}},{key:"equal",value:function(){return this.result}}]),a}(lO),iL=function(i,a){var u=i==="css"?rL:aL;return function(s){return new u(s,a)}},sO=function(i,a){return"".concat([a,i.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function Ii(n){var i=E.useRef();i.current=n;var a=E.useCallback(function(){for(var u,s=arguments.length,p=new Array(s),d=0;d<s;d++)p[d]=arguments[d];return(u=i.current)===null||u===void 0?void 0:u.call.apply(u,[i].concat(p))},[]);return a}function Hp(n){var i=E.useRef(!1),a=E.useState(n),u=Ve(a,2),s=u[0],p=u[1];E.useEffect(function(){return i.current=!1,function(){i.current=!0}},[]);function d(g,y){y&&i.current||p(g)}return[s,d]}function kC(n){return n!==void 0}function Dc(n,i){var a=i||{},u=a.defaultValue,s=a.value,p=a.onChange,d=a.postState,g=Hp(function(){return kC(s)?s:kC(u)?typeof u=="function"?u():u:typeof n=="function"?n():n}),y=Ve(g,2),C=y[0],x=y[1],R=s!==void 0?s:C,O=d?d(R):R,D=Ii(p),N=Hp([R]),A=Ve(N,2),k=A[0],V=A[1];dT(function(){var F=k[0];C!==F&&D(C,F)},[k]),dT(function(){kC(s)||x(s)},[s]);var $=Ii(function(F,z){x(F,z),V([R],z)});return[O,$]}function cO(n,i,a,u){var s=Ce({},i[n]);if(u!=null&&u.deprecatedTokens){var p=u.deprecatedTokens;p.forEach(function(g){var y=Ve(g,2),C=y[0],x=y[1];if(ce.env.NODE_ENV!=="production"&&or(!(s!=null&&s[C]),"Component Token `".concat(String(C),"` of ").concat(String(n)," is deprecated. Please use `").concat(String(x),"` instead.")),s!=null&&s[C]||s!=null&&s[x]){var R;(R=s[x])!==null&&R!==void 0||(s[x]=s?.[C])}})}var d=Ce(Ce({},a),s);return Object.keys(d).forEach(function(g){d[g]===i[g]&&delete d[g]}),d}var fO=ce.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u",MC=!0;function Ms(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];if(!fO)return Object.assign.apply(Object,[{}].concat(i));MC=!1;var u={};return i.forEach(function(s){if(Zt(s)==="object"){var p=Object.keys(s);p.forEach(function(d){Object.defineProperty(u,d,{configurable:!0,enumerable:!0,get:function(){return s[d]}})})}}),MC=!0,u}var dO={};function oL(){}var lL=function(i){var a,u=i,s=oL;return fO&&typeof Proxy<"u"&&(a=new Set,u=new Proxy(i,{get:function(d,g){if(MC){var y;(y=a)===null||y===void 0||y.add(g)}return d[g]}}),s=function(d,g){var y;dO[d]={global:Array.from(a),component:Ce(Ce({},(y=dO[d])===null||y===void 0?void 0:y.component),g)}}),{token:u,keys:a,flush:s}};function vO(n,i,a){if(typeof a=="function"){var u;return a(Ms(i,(u=i[n])!==null&&u!==void 0?u:{}))}return a??{}}function uL(n){return n==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var a=arguments.length,u=new Array(a),s=0;s<a;s++)u[s]=arguments[s];return"max(".concat(u.map(function(p){return dn(p)}).join(","),")")},min:function(){for(var a=arguments.length,u=new Array(a),s=0;s<a;s++)u[s]=arguments[s];return"min(".concat(u.map(function(p){return dn(p)}).join(","),")")}}}var sL=1e3*60*10,cL=function(){function n(){Qa(this,n),ue(this,"map",new Map),ue(this,"objectIDMap",new WeakMap),ue(this,"nextID",0),ue(this,"lastAccessBeat",new Map),ue(this,"accessBeat",0)}return Za(n,[{key:"set",value:function(a,u){this.clear();var s=this.getCompositeKey(a);this.map.set(s,u),this.lastAccessBeat.set(s,Date.now())}},{key:"get",value:function(a){var u=this.getCompositeKey(a),s=this.map.get(u);return this.lastAccessBeat.set(u,Date.now()),this.accessBeat+=1,s}},{key:"getCompositeKey",value:function(a){var u=this,s=a.map(function(p){return p&&Zt(p)==="object"?"obj_".concat(u.getObjectID(p)):"".concat(Zt(p),"_").concat(p)});return s.join("|")}},{key:"getObjectID",value:function(a){if(this.objectIDMap.has(a))return this.objectIDMap.get(a);var u=this.nextID;return this.objectIDMap.set(a,u),this.nextID+=1,u}},{key:"clear",value:function(){var a=this;if(this.accessBeat>1e4){var u=Date.now();this.lastAccessBeat.forEach(function(s,p){u-s>sL&&(a.map.delete(p),a.lastAccessBeat.delete(p))}),this.accessBeat=0}}}]),n}(),pO=new cL;function fL(n,i){return Rn.useMemo(function(){var a=pO.get(i);if(a)return a;var u=n();return pO.set(i,u),u},i)}var dL=function(){return{}};function vL(n){var i=n.useCSP,a=i===void 0?dL:i,u=n.useToken,s=n.usePrefix,p=n.getResetStyles,d=n.getCommonStyle,g=n.getCompUnitless;function y(O,D,N,A){var k=Array.isArray(O)?O[0]:O;function V(Z){return"".concat(String(k)).concat(Z.slice(0,1).toUpperCase()).concat(Z.slice(1))}var $=A?.unitless||{},F=typeof g=="function"?g(O):{},z=Ce(Ce({},F),{},ue({},V("zIndexPopup"),!0));Object.keys($).forEach(function(Z){z[V(Z)]=$[Z]});var I=Ce(Ce({},A),{},{unitless:z,prefixToken:V}),H=x(O,D,N,I),W=C(k,N,I);return function(Z){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Z,U=H(Z,J),q=Ve(U,2),te=q[1],Y=W(J),Q=Ve(Y,2),se=Q[0],ye=Q[1];return[se,te,ye]}}function C(O,D,N){var A=N.unitless,k=N.injectStyle,V=k===void 0?!0:k,$=N.prefixToken,F=N.ignore,z=function(W){var Z=W.rootCls,J=W.cssVar,U=J===void 0?{}:J,q=u(),te=q.realToken;return f$({path:[O],prefix:U.prefix,key:U.key,unitless:A,ignore:F,token:te,scope:Z},function(){var Y=vO(O,te,D),Q=cO(O,te,Y,{deprecatedTokens:N?.deprecatedTokens});return Object.keys(Y).forEach(function(se){Q[$(se)]=Q[se],delete Q[se]}),Q}),null},I=function(W){var Z=u(),J=Z.cssVar;return[function(U){return V&&J?Rn.createElement(Rn.Fragment,null,Rn.createElement(z,{rootCls:W,cssVar:J,component:O}),U):U},J?.key]};return I}function x(O,D,N){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},k=Array.isArray(O)?O:[O,O],V=Ve(k,1),$=V[0],F=k.join("-"),z=n.layer||{name:"antd"};return function(I){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:I,W=u(),Z=W.theme,J=W.realToken,U=W.hashId,q=W.token,te=W.cssVar,Y=s(),Q=Y.rootPrefixCls,se=Y.iconPrefixCls,ye=a(),de=te?"css":"js",ne=fL(function(){var we=new Set;return te&&Object.keys(A.unitless||{}).forEach(function(Pe){we.add(_g(Pe,te.prefix)),we.add(_g(Pe,sO($,te.prefix)))}),iL(de,we)},[de,$,te?.prefix]),me=uL(de),le=me.max,B=me.min,re={theme:Z,token:q,hashId:U,nonce:function(){return ye.nonce},clientOnly:A.clientOnly,layer:z,order:A.order||-999};typeof p=="function"&&aC(Ce(Ce({},re),{},{clientOnly:!1,path:["Shared",Q]}),function(){return p(q,{prefix:{rootPrefixCls:Q,iconPrefixCls:se},csp:ye})});var xe=aC(Ce(Ce({},re),{},{path:[F,I,se]}),function(){if(A.injectStyle===!1)return[];var we=lL(q),Pe=we.token,Fe=we.flush,Le=vO($,J,N),He=".".concat(I),Be=cO($,J,Le,{deprecatedTokens:A.deprecatedTokens});te&&Le&&Zt(Le)==="object"&&Object.keys(Le).forEach(function(St){Le[St]="var(".concat(_g(St,sO($,te.prefix)),")")});var ot=Ms(Pe,{componentCls:He,prefixCls:I,iconCls:".".concat(se),antCls:".".concat(Q),calc:ne,max:le,min:B},te?Le:Be),tt=D(ot,{hashId:U,prefixCls:I,rootPrefixCls:Q,iconPrefixCls:se});Fe($,Be);var bt=typeof d=="function"?d(ot,I,H,A.resetFont):null;return[A.resetStyle===!1?null:bt,tt]});return[xe,U]}}function R(O,D,N){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},k=x(O,D,N,Ce({resetStyle:!1,order:-998},A)),V=function(F){var z=F.prefixCls,I=F.rootCls,H=I===void 0?z:I;return k(z,H),null};return ce.env.NODE_ENV!=="production"&&(V.displayName="SubStyle_".concat(String(Array.isArray(O)?O.join("."):O))),V}return{genStyleHooks:y,genSubStyleComponent:R,genComponentStyleHook:x}}const Yg=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],pL="5.20.0";function NC(n){return n>=0&&n<=255}function Kg(n,i){const{r:a,g:u,b:s,a:p}=new Fi(n).toRgb();if(p<1)return n;const{r:d,g,b:y}=new Fi(i).toRgb();for(let C=.01;C<=1;C+=.01){const x=Math.round((a-d*(1-C))/C),R=Math.round((u-g*(1-C))/C),O=Math.round((s-y*(1-C))/C);if(NC(x)&&NC(R)&&NC(O))return new Fi({r:x,g:R,b:O,a:Math.round(C*100)/100}).toRgbString()}return new Fi({r:a,g:u,b:s,a:1}).toRgbString()}var hL=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};function hO(n){const{override:i}=n,a=hL(n,["override"]),u=Object.assign({},i);Object.keys(zp).forEach(O=>{delete u[O]});const s=Object.assign(Object.assign({},a),u),p=480,d=576,g=768,y=992,C=1200,x=1600;if(s.motion===!1){const O="0s";s.motionDurationFast=O,s.motionDurationMid=O,s.motionDurationSlow=O}return Object.assign(Object.assign(Object.assign({},s),{colorFillContent:s.colorFillSecondary,colorFillContentHover:s.colorFill,colorFillAlter:s.colorFillQuaternary,colorBgContainerDisabled:s.colorFillTertiary,colorBorderBg:s.colorBgContainer,colorSplit:Kg(s.colorBorderSecondary,s.colorBgContainer),colorTextPlaceholder:s.colorTextQuaternary,colorTextDisabled:s.colorTextQuaternary,colorTextHeading:s.colorText,colorTextLabel:s.colorTextSecondary,colorTextDescription:s.colorTextTertiary,colorTextLightSolid:s.colorWhite,colorHighlight:s.colorError,colorBgTextHover:s.colorFillSecondary,colorBgTextActive:s.colorFill,colorIcon:s.colorTextTertiary,colorIconHover:s.colorText,colorErrorOutline:Kg(s.colorErrorBg,s.colorBgContainer),colorWarningOutline:Kg(s.colorWarningBg,s.colorBgContainer),fontSizeIcon:s.fontSizeSM,lineWidthFocus:s.lineWidth*4,lineWidth:s.lineWidth,controlOutlineWidth:s.lineWidth*2,controlInteractiveSize:s.controlHeight/2,controlItemBgHover:s.colorFillTertiary,controlItemBgActive:s.colorPrimaryBg,controlItemBgActiveHover:s.colorPrimaryBgHover,controlItemBgActiveDisabled:s.colorFill,controlTmpOutline:s.colorFillQuaternary,controlOutline:Kg(s.colorPrimaryBg,s.colorBgContainer),lineType:s.lineType,borderRadius:s.borderRadius,borderRadiusXS:s.borderRadiusXS,borderRadiusSM:s.borderRadiusSM,borderRadiusLG:s.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:s.sizeXXS,paddingXS:s.sizeXS,paddingSM:s.sizeSM,padding:s.size,paddingMD:s.sizeMD,paddingLG:s.sizeLG,paddingXL:s.sizeXL,paddingContentHorizontalLG:s.sizeLG,paddingContentVerticalLG:s.sizeMS,paddingContentHorizontal:s.sizeMS,paddingContentVertical:s.sizeSM,paddingContentHorizontalSM:s.size,paddingContentVerticalSM:s.sizeXS,marginXXS:s.sizeXXS,marginXS:s.sizeXS,marginSM:s.sizeSM,margin:s.size,marginMD:s.sizeMD,marginLG:s.sizeLG,marginXL:s.sizeXL,marginXXL:s.sizeXXL,boxShadow:`
233
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
234
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
235
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
236
- `,boxShadowSecondary:`
237
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
238
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
239
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
240
- `,boxShadowTertiary:`
241
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
242
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
243
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
244
- `,screenXS:p,screenXSMin:p,screenXSMax:d-1,screenSM:d,screenSMMin:d,screenSMMax:g-1,screenMD:g,screenMDMin:g,screenMDMax:y-1,screenLG:y,screenLGMin:y,screenLGMax:C-1,screenXL:C,screenXLMin:C,screenXLMax:x-1,screenXXL:x,screenXXLMin:x,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
245
- 0 1px 2px -2px ${new Fi("rgba(0, 0, 0, 0.16)").toRgbString()},
246
- 0 3px 6px 0 ${new Fi("rgba(0, 0, 0, 0.12)").toRgbString()},
247
- 0 5px 12px 4px ${new Fi("rgba(0, 0, 0, 0.09)").toRgbString()}
248
- `,boxShadowDrawerRight:`
249
- -6px 0 16px 0 rgba(0, 0, 0, 0.08),
250
- -3px 0 6px -4px rgba(0, 0, 0, 0.12),
251
- -9px 0 28px 8px rgba(0, 0, 0, 0.05)
252
- `,boxShadowDrawerLeft:`
253
- 6px 0 16px 0 rgba(0, 0, 0, 0.08),
254
- 3px 0 6px -4px rgba(0, 0, 0, 0.12),
255
- 9px 0 28px 8px rgba(0, 0, 0, 0.05)
256
- `,boxShadowDrawerUp:`
257
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
258
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
259
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
260
- `,boxShadowDrawerDown:`
261
- 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
262
- 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
263
- 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
264
- `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),u)}var mO=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};const gO={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},mL={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},gL={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},yO=(n,i,a)=>{const u=a.getDerivativeToken(n),{override:s}=i,p=mO(i,["override"]);let d=Object.assign(Object.assign({},u),{override:s});return d=hO(d),p&&Object.entries(p).forEach(g=>{let[y,C]=g;const{theme:x}=C,R=mO(C,["theme"]);let O=R;x&&(O=yO(Object.assign(Object.assign({},d),R),{override:R},x)),d[y]=O}),d};function Pc(){const{token:n,hashed:i,theme:a,override:u,cssVar:s}=Rn.useContext(iO),p=`${pL}-${i||""}`,d=a||aO,[g,y,C]=L2(d,[zp,n],{salt:p,override:u,getComputedToken:yO,formatToken:hO,cssVar:s&&{prefix:s.prefix,key:s.key,unitless:gO,ignore:mL,preserve:gL}});return[d,C,i?y:"",g,s]}const yL={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},qg=function(n){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:n.colorText,fontSize:n.fontSize,lineHeight:n.lineHeight,listStyle:"none",fontFamily:i?"inherit":n.fontFamily}},bO=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),SO=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),bL=n=>({a:{color:n.colorLink,textDecoration:n.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${n.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:n.colorLinkHover},"&:active":{color:n.colorLinkActive},"&:active, &:hover":{textDecoration:n.linkHoverDecoration,outline:0},"&:focus":{textDecoration:n.linkFocusDecoration,outline:0},"&[disabled]":{color:n.colorTextDisabled,cursor:"not-allowed"}}}),SL=(n,i,a,u)=>{const s=`[class^="${i}"], [class*=" ${i}"]`,p=a?`.${a}`:s,d={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let g={};return u!==!1&&(g={fontFamily:n.fontFamily,fontSize:n.fontSize}),{[p]:Object.assign(Object.assign(Object.assign({},g),d),{[s]:d})}},CO=n=>({outline:`${dn(n.lineWidthFocus)} solid ${n.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),DC=n=>({"&:focus-visible":Object.assign({},CO(n))}),EO=(n,i)=>{const[a,u]=Pc();return aC({token:u,hashId:"",path:["ant-design-icons",n],nonce:()=>i?.nonce,layer:{name:"antd"}},()=>[{[`.${n}`]:Object.assign(Object.assign({},bO()),{[`.${n} .${n}-icon`]:{display:"block"}})}])},{genStyleHooks:Gg}=vL({usePrefix:()=>{const{getPrefixCls:n,iconPrefixCls:i}=E.useContext(yi);return{rootPrefixCls:n(),iconPrefixCls:i}},useToken:()=>{const[n,i,a,u,s]=Pc();return{theme:n,realToken:i,hashId:a,token:u,cssVar:s}},useCSP:()=>{const{csp:n,iconPrefixCls:i}=E.useContext(yi);return EO(i,n),n??{}},getResetStyles:n=>[{"&":bL(n)}],getCommonStyle:SL,getCompUnitless:()=>gO});function CL(n,i){return Yg.reduce((a,u)=>{const s=n[`${u}1`],p=n[`${u}3`],d=n[`${u}6`],g=n[`${u}7`];return Object.assign(Object.assign({},a),i(u,{lightColor:s,lightBorderColor:p,darkColor:d,textColor:g}))},{})}const EL=Object.assign({},hg),{useId:wO}=EL,wL=typeof wO>"u"?()=>"":wO;function xL(n,i,a){var u,s;const p=Kl("ConfigProvider"),d=n||{},g=d.inherit===!1||!i?Object.assign(Object.assign({},TC),{hashed:(u=i?.hashed)!==null&&u!==void 0?u:TC.hashed,cssVar:i?.cssVar}):i,y=wL();if(ce.env.NODE_ENV!=="production"){const C=d.cssVar||g.cssVar,x=!!(typeof d.cssVar=="object"&&(!((s=d.cssVar)===null||s===void 0)&&s.key)||y);ce.env.NODE_ENV!=="production"&&p(!C||x,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.")}return bg(()=>{var C,x;if(!n)return i;const R=Object.assign({},g.components);Object.keys(n.components||{}).forEach(N=>{R[N]=Object.assign(Object.assign({},R[N]),n.components[N])});const O=`css-var-${y.replace(/:/g,"")}`,D=((C=d.cssVar)!==null&&C!==void 0?C:g.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:a?.prefixCls},typeof g.cssVar=="object"?g.cssVar:{}),typeof d.cssVar=="object"?d.cssVar:{}),{key:typeof d.cssVar=="object"&&((x=d.cssVar)===null||x===void 0?void 0:x.key)||O});return Object.assign(Object.assign(Object.assign({},g),d),{token:Object.assign(Object.assign({},g.token),d.token),components:R,cssVar:D})},[d,g],(C,x)=>C.some((R,O)=>{const D=x[O];return!Mp(R,D,!0)}))}var RL=["children"],xO=E.createContext({});function TL(n){var i=n.children,a=wr(n,RL);return E.createElement(xO.Provider,{value:a},i)}var OL=function(n){xs(a,n);var i=Rs(a);function a(){return Qa(this,a),i.apply(this,arguments)}return Za(a,[{key:"render",value:function(){return this.props.children}}]),a}(E.Component);function _L(n){var i=E.useReducer(function(g){return g+1},0),a=Ve(i,2),u=a[1],s=E.useRef(n),p=Ii(function(){return s.current}),d=Ii(function(g){s.current=typeof g=="function"?g(s.current):g,u()});return[p,d]}var Ns="none",Xg="appear",Qg="enter",Zg="leave",RO="none",hl="prepare",fd="start",dd="active",PC="end",TO="prepared";function OO(n,i){var a={};return a[n.toLowerCase()]=i.toLowerCase(),a["Webkit".concat(n)]="webkit".concat(i),a["Moz".concat(n)]="moz".concat(i),a["ms".concat(n)]="MS".concat(i),a["O".concat(n)]="o".concat(i.toLowerCase()),a}function kL(n,i){var a={animationend:OO("Animation","AnimationEnd"),transitionend:OO("Transition","TransitionEnd")};return n&&("AnimationEvent"in i||delete a.animationend.animation,"TransitionEvent"in i||delete a.transitionend.transition),a}var ML=kL(to(),typeof window<"u"?window:{}),_O={};if(to()){var NL=document.createElement("div");_O=NL.style}var Jg={};function kO(n){if(Jg[n])return Jg[n];var i=ML[n];if(i)for(var a=Object.keys(i),u=a.length,s=0;s<u;s+=1){var p=a[s];if(Object.prototype.hasOwnProperty.call(i,p)&&p in _O)return Jg[n]=i[p],Jg[n]}return""}var MO=kO("animationend"),NO=kO("transitionend"),DO=!!(MO&&NO),PO=MO||"animationend",AO=NO||"transitionend";function $O(n,i){if(!n)return null;if(Zt(n)==="object"){var a=i.replace(/-\w/g,function(u){return u[1].toUpperCase()});return n[a]}return"".concat(n,"-").concat(i)}const DL=function(n){var i=E.useRef();function a(s){s&&(s.removeEventListener(AO,n),s.removeEventListener(PO,n))}function u(s){i.current&&i.current!==s&&a(i.current),s&&s!==i.current&&(s.addEventListener(AO,n),s.addEventListener(PO,n),i.current=s)}return E.useEffect(function(){return function(){a(i.current)}},[]),[u,a]};var LO=to()?E.useLayoutEffect:E.useEffect;const PL=function(){var n=E.useRef(null);function i(){sl.cancel(n.current)}function a(u){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;i();var p=sl(function(){s<=1?u({isCanceled:function(){return p!==n.current}}):a(u,s-1)});n.current=p}return E.useEffect(function(){return function(){i()}},[]),[a,i]};var AL=[hl,fd,dd,PC],$L=[hl,TO],FO=!1,LL=!0;function IO(n){return n===dd||n===PC}const FL=function(n,i,a){var u=Hp(RO),s=Ve(u,2),p=s[0],d=s[1],g=PL(),y=Ve(g,2),C=y[0],x=y[1];function R(){d(hl,!0)}var O=i?$L:AL;return LO(function(){if(p!==RO&&p!==PC){var D=O.indexOf(p),N=O[D+1],A=a(p);A===FO?d(N,!0):N&&C(function(k){function V(){k.isCanceled()||d(N,!0)}A===!0?V():Promise.resolve(A).then(V)})}},[n,p]),E.useEffect(function(){return function(){x()}},[]),[R,p]};function IL(n,i,a,u){var s=u.motionEnter,p=s===void 0?!0:s,d=u.motionAppear,g=d===void 0?!0:d,y=u.motionLeave,C=y===void 0?!0:y,x=u.motionDeadline,R=u.motionLeaveImmediately,O=u.onAppearPrepare,D=u.onEnterPrepare,N=u.onLeavePrepare,A=u.onAppearStart,k=u.onEnterStart,V=u.onLeaveStart,$=u.onAppearActive,F=u.onEnterActive,z=u.onLeaveActive,I=u.onAppearEnd,H=u.onEnterEnd,W=u.onLeaveEnd,Z=u.onVisibleChanged,J=Hp(),U=Ve(J,2),q=U[0],te=U[1],Y=_L(Ns),Q=Ve(Y,2),se=Q[0],ye=Q[1],de=Hp(null),ne=Ve(de,2),me=ne[0],le=ne[1],B=se(),re=E.useRef(!1),xe=E.useRef(null);function we(){return a()}var Pe=E.useRef(!1);function Fe(){ye(Ns),le(null,!0)}var Le=Ii(function(pt){var jt=se();if(jt!==Ns){var Ke=we();if(!(pt&&!pt.deadline&&pt.target!==Ke)){var an=Pe.current,Mt;jt===Xg&&an?Mt=I?.(Ke,pt):jt===Qg&&an?Mt=H?.(Ke,pt):jt===Zg&&an&&(Mt=W?.(Ke,pt)),an&&Mt!==!1&&Fe()}}}),He=DL(Le),Be=Ve(He,1),ot=Be[0],tt=function(jt){switch(jt){case Xg:return ue(ue(ue({},hl,O),fd,A),dd,$);case Qg:return ue(ue(ue({},hl,D),fd,k),dd,F);case Zg:return ue(ue(ue({},hl,N),fd,V),dd,z);default:return{}}},bt=E.useMemo(function(){return tt(B)},[B]),St=FL(B,!n,function(pt){if(pt===hl){var jt=bt[hl];return jt?jt(we()):FO}if(st in bt){var Ke;le(((Ke=bt[st])===null||Ke===void 0?void 0:Ke.call(bt,we(),null))||null)}return st===dd&&B!==Ns&&(ot(we()),x>0&&(clearTimeout(xe.current),xe.current=setTimeout(function(){Le({deadline:!0})},x))),st===TO&&Fe(),LL}),_e=Ve(St,2),mt=_e[0],st=_e[1],yn=IO(st);Pe.current=yn;var rn=E.useRef(null);LO(function(){if(!(re.current&&rn.current===i)){te(i);var pt=re.current;re.current=!0;var jt;!pt&&i&&g&&(jt=Xg),pt&&i&&p&&(jt=Qg),(pt&&!i&&C||!pt&&R&&!i&&C)&&(jt=Zg);var Ke=tt(jt);jt&&(n||Ke[hl])?(ye(jt),mt()):ye(Ns),rn.current=i}},[i]),E.useEffect(function(){(B===Xg&&!g||B===Qg&&!p||B===Zg&&!C)&&ye(Ns)},[g,p,C]),E.useEffect(function(){return function(){re.current=!1,clearTimeout(xe.current)}},[]);var pn=E.useRef(!1);E.useEffect(function(){q&&(pn.current=!0),q!==void 0&&B===Ns&&((pn.current||q)&&Z?.(q),pn.current=!0)},[q,B]);var en=me;return bt[hl]&&st===fd&&(en=Ce({transition:"none"},en)),[B,st,en,q??i]}function zL(n){var i=n;Zt(n)==="object"&&(i=n.transitionSupport);function a(s,p){return!!(s.motionName&&i&&p!==!1)}var u=E.forwardRef(function(s,p){var d=s.visible,g=d===void 0?!0:d,y=s.removeOnLeave,C=y===void 0?!0:y,x=s.forceRender,R=s.children,O=s.motionName,D=s.leavedClassName,N=s.eventProps,A=E.useContext(xO),k=A.motion,V=a(s,k),$=E.useRef(),F=E.useRef();function z(){try{return $.current instanceof HTMLElement?$.current:yg(F.current)}catch{return null}}var I=IL(V,g,z,s),H=Ve(I,4),W=H[0],Z=H[1],J=H[2],U=H[3],q=E.useRef(U);U&&(q.current=!0);var te=E.useCallback(function(ne){$.current=ne,$S(p,ne)},[p]),Y,Q=Ce(Ce({},N),{},{visible:g});if(!R)Y=null;else if(W===Ns)U?Y=R(Ce({},Q),te):!C&&q.current&&D?Y=R(Ce(Ce({},Q),{},{className:D}),te):x||!C&&!D?Y=R(Ce(Ce({},Q),{},{style:{display:"none"}}),te):Y=null;else{var se;Z===hl?se="prepare":IO(Z)?se="active":Z===fd&&(se="start");var ye=$O(O,"".concat(W,"-").concat(se));Y=R(Ce(Ce({},Q),{},{className:fn($O(O,W),ue(ue({},ye,ye&&se),O,typeof O=="string")),style:J}),te)}if(E.isValidElement(Y)&&Tc(Y)){var de=Rp(Y);de||(Y=E.cloneElement(Y,{ref:te}))}return E.createElement(OL,{ref:F},Y)});return u.displayName="CSSMotion",u}const ey=zL(DO);var AC="add",$C="keep",LC="remove",FC="removed";function jL(n){var i;return n&&Zt(n)==="object"&&"key"in n?i=n:i={key:n},Ce(Ce({},i),{},{key:String(i.key)})}function IC(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return n.map(jL)}function VL(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=[],u=0,s=i.length,p=IC(n),d=IC(i);p.forEach(function(C){for(var x=!1,R=u;R<s;R+=1){var O=d[R];if(O.key===C.key){u<R&&(a=a.concat(d.slice(u,R).map(function(D){return Ce(Ce({},D),{},{status:AC})})),u=R),a.push(Ce(Ce({},O),{},{status:$C})),u+=1,x=!0;break}}x||a.push(Ce(Ce({},C),{},{status:LC}))}),u<s&&(a=a.concat(d.slice(u).map(function(C){return Ce(Ce({},C),{},{status:AC})})));var g={};a.forEach(function(C){var x=C.key;g[x]=(g[x]||0)+1});var y=Object.keys(g).filter(function(C){return g[C]>1});return y.forEach(function(C){a=a.filter(function(x){var R=x.key,O=x.status;return R!==C||O!==LC}),a.forEach(function(x){x.key===C&&(x.status=$C)})}),a}var HL=["component","children","onVisibleChanged","onAllRemoved"],UL=["status"],BL=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function WL(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ey,a=function(u){xs(p,u);var s=Rs(p);function p(){var d;Qa(this,p);for(var g=arguments.length,y=new Array(g),C=0;C<g;C++)y[C]=arguments[C];return d=s.call.apply(s,[this].concat(y)),ue(Cn(d),"state",{keyEntities:[]}),ue(Cn(d),"removeKey",function(x){d.setState(function(R){var O=R.keyEntities.map(function(D){return D.key!==x?D:Ce(Ce({},D),{},{status:FC})});return{keyEntities:O}},function(){var R=d.state.keyEntities,O=R.filter(function(D){var N=D.status;return N!==FC}).length;O===0&&d.props.onAllRemoved&&d.props.onAllRemoved()})}),d}return Za(p,[{key:"render",value:function(){var g=this,y=this.state.keyEntities,C=this.props,x=C.component,R=C.children,O=C.onVisibleChanged;C.onAllRemoved;var D=wr(C,HL),N=x||E.Fragment,A={};return BL.forEach(function(k){A[k]=D[k],delete D[k]}),delete D.keys,E.createElement(N,D,y.map(function(k,V){var $=k.status,F=wr(k,UL),z=$===AC||$===$C;return E.createElement(i,Sn({},A,{key:F.key,visible:z,eventProps:F,onVisibleChanged:function(H){O?.(H,{key:F.key}),H||g.removeKey(F.key)}}),function(I,H){return R(Ce(Ce({},I),{},{index:V}),H)})}))}}],[{key:"getDerivedStateFromProps",value:function(g,y){var C=g.keys,x=y.keyEntities,R=IC(C),O=VL(x,R);return{keyEntities:O.filter(function(D){var N=x.find(function(A){var k=A.key;return D.key===k});return!(N&&N.status===FC&&D.status===LC)})}}}]),p}(E.Component);return ue(a,"defaultProps",{component:"div"}),a}WL(DO);function YL(n){const{children:i}=n,[,a]=Pc(),{motion:u}=a,s=E.useRef(!1);return s.current=s.current||u===!1,s.current?E.createElement(TL,{motion:u},i):i}const zO=E.memo(n=>{let{dropdownMatchSelectWidth:i}=n;return Kl("ConfigProvider").deprecated(i===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null});ce.env.NODE_ENV!=="production"&&(zO.displayName="PropWarning");const KL=ce.env.NODE_ENV!=="production"?zO:()=>null;var qL=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};let zC=!1;ce.env.NODE_ENV;const GL=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];let jO;function XL(){return jO||Wg}function QL(n){return Object.keys(n).some(i=>i.endsWith("Color"))}const ZL=n=>{const{prefixCls:i,iconPrefixCls:a,theme:u,holderRender:s}=n;i!==void 0&&(jO=i),u&&QL(u)&&(ce.env.NODE_ENV!=="production"&&Ig(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),Z$(XL(),u))},JL=n=>{const{children:i,csp:a,autoInsertSpaceInButton:u,alert:s,anchor:p,form:d,locale:g,componentSize:y,direction:C,space:x,virtual:R,dropdownMatchSelectWidth:O,popupMatchSelectWidth:D,popupOverflow:N,legacyLocale:A,parentContext:k,iconPrefixCls:V,theme:$,componentDisabled:F,segmented:z,statistic:I,spin:H,calendar:W,carousel:Z,cascader:J,collapse:U,typography:q,checkbox:te,descriptions:Y,divider:Q,drawer:se,skeleton:ye,steps:de,image:ne,layout:me,list:le,mentions:B,modal:re,progress:xe,result:we,slider:Pe,breadcrumb:Fe,menu:Le,pagination:He,input:Be,textArea:ot,empty:tt,badge:bt,radio:St,rate:_e,switch:mt,transfer:st,avatar:yn,message:rn,tag:pn,table:en,card:pt,tabs:jt,timeline:Ke,timePicker:an,upload:Mt,notification:Nt,tree:Kn,colorPicker:nr,datePicker:rr,rangePicker:Ie,flex:Xe,wave:ut,dropdown:Et,warning:Ut,tour:bn,floatButtonGroup:Yt,variant:Dt,inputNumber:Jt,treeSelect:on}=n,ln=E.useCallback((Ft,Bt)=>{const{prefixCls:On}=n;if(Bt)return Bt;const ir=On||k.getPrefixCls("");return Ft?`${ir}-${Ft}`:ir},[k.getPrefixCls,n.prefixCls]),qn=V||k.iconPrefixCls||oO,ar=a||k.csp;EO(qn,ar);const In=xL($,k.theme,{prefixCls:ln("")});ce.env.NODE_ENV!=="production"&&(zC=zC||!!In);const kn={csp:ar,autoInsertSpaceInButton:u,alert:s,anchor:p,locale:g||A,direction:C,space:x,virtual:R,popupMatchSelectWidth:D??O,popupOverflow:N,getPrefixCls:ln,iconPrefixCls:qn,theme:In,segmented:z,statistic:I,spin:H,calendar:W,carousel:Z,cascader:J,collapse:U,typography:q,checkbox:te,descriptions:Y,divider:Q,drawer:se,skeleton:ye,steps:de,image:ne,input:Be,textArea:ot,layout:me,list:le,mentions:B,modal:re,progress:xe,result:we,slider:Pe,breadcrumb:Fe,menu:Le,pagination:He,empty:tt,badge:bt,radio:St,rate:_e,switch:mt,transfer:st,avatar:yn,message:rn,tag:pn,table:en,card:pt,tabs:jt,timeline:Ke,timePicker:an,upload:Mt,notification:Nt,tree:Kn,colorPicker:nr,datePicker:rr,rangePicker:Ie,flex:Xe,wave:ut,dropdown:Et,warning:Ut,tour:bn,floatButtonGroup:Yt,variant:Dt,inputNumber:Jt,treeSelect:on};ce.env.NODE_ENV!=="production"&&Kl("ConfigProvider")(!("autoInsertSpaceInButton"in n),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");const Or=Object.assign({},k);Object.keys(kn).forEach(Ft=>{kn[Ft]!==void 0&&(Or[Ft]=kn[Ft])}),GL.forEach(Ft=>{const Bt=n[Ft];Bt&&(Or[Ft]=Bt)}),typeof u<"u"&&(Or.button=Object.assign({autoInsertSpace:u},Or.button));const Tn=bg(()=>Or,Or,(Ft,Bt)=>{const On=Object.keys(Ft),ir=Object.keys(Bt);return On.length!==ir.length||On.some(_r=>Ft[_r]!==Bt[_r])}),ht=E.useMemo(()=>({prefixCls:qn,csp:ar}),[qn,ar]);let Ye=E.createElement(E.Fragment,null,E.createElement(KL,{dropdownMatchSelectWidth:O}),i);const wt=E.useMemo(()=>{var Ft,Bt,On,ir;return sd(((Ft=zg.Form)===null||Ft===void 0?void 0:Ft.defaultValidateMessages)||{},((On=(Bt=Tn.locale)===null||Bt===void 0?void 0:Bt.Form)===null||On===void 0?void 0:On.defaultValidateMessages)||{},((ir=Tn.form)===null||ir===void 0?void 0:ir.validateMessages)||{},d?.validateMessages||{})},[Tn,d?.validateMessages]);Object.keys(wt).length>0&&(Ye=E.createElement(g$.Provider,{value:wt},Ye)),g&&(Ye=E.createElement(BT,{locale:g,_ANT_MARK__:UT},Ye)),Ye=E.createElement(iC.Provider,{value:ht},Ye),y&&(Ye=E.createElement(eL,{size:y},Ye)),Ye=E.createElement(YL,null,Ye);const nn=E.useMemo(()=>{const Ft=In||{},{algorithm:Bt,token:On,components:ir,cssVar:_r}=Ft,Pr=qL(Ft,["algorithm","token","components","cssVar"]),G=Bt&&(!Array.isArray(Bt)||Bt.length>0)?qS(Bt):aO,Me={};Object.entries(ir||{}).forEach(qe=>{let[Pt,yt]=qe;const ct=Object.assign({},yt);"algorithm"in ct&&(ct.algorithm===!0?ct.theme=G:(Array.isArray(ct.algorithm)||typeof ct.algorithm=="function")&&(ct.theme=qS(ct.algorithm)),delete ct.algorithm),Me[Pt]=ct});const We=Object.assign(Object.assign({},zp),On);return Object.assign(Object.assign({},Pr),{theme:G,token:We,components:Me,override:Object.assign({override:We},Me),cssVar:_r})},[In]);return $&&(Ye=E.createElement(iO.Provider,{value:nn},Ye)),Tn.warning&&(Ye=E.createElement(jT.Provider,{value:Tn.warning},Ye)),F!==void 0&&(Ye=E.createElement(J$,{disabled:F},Ye)),E.createElement(yi.Provider,{value:Tn},Ye)},Ac=n=>{const i=E.useContext(yi),a=E.useContext(HT);return E.createElement(JL,Object.assign({parentContext:i,legacyLocale:a},n))};Ac.ConfigContext=yi,Ac.SizeContext=Vp,Ac.config=ZL,Ac.useConfig=tL,Object.defineProperty(Ac,"SizeContext",{get:()=>(ce.env.NODE_ENV!=="production"&&Ig(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),Vp)}),ce.env.NODE_ENV!=="production"&&(Ac.displayName="ConfigProvider");function VO(n){var i;return n==null||(i=n.getRootNode)===null||i===void 0?void 0:i.call(n)}function eF(n){return VO(n)instanceof ShadowRoot}function ty(n){return eF(n)?VO(n):null}function tF(n){return n.replace(/-(.)/g,function(i,a){return a.toUpperCase()})}function nF(n,i){or(n,"[@ant-design/icons] ".concat(i))}function HO(n){return Zt(n)==="object"&&typeof n.name=="string"&&typeof n.theme=="string"&&(Zt(n.icon)==="object"||typeof n.icon=="function")}function UO(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(n).reduce(function(i,a){var u=n[a];switch(a){case"class":i.className=u,delete i.class;break;default:delete i[a],i[tF(a)]=u}return i},{})}function jC(n,i,a){return a?Rn.createElement(n.tag,Ce(Ce({key:i},UO(n.attrs)),a),(n.children||[]).map(function(u,s){return jC(u,"".concat(i,"-").concat(n.tag,"-").concat(s))})):Rn.createElement(n.tag,Ce({key:i},UO(n.attrs)),(n.children||[]).map(function(u,s){return jC(u,"".concat(i,"-").concat(n.tag,"-").concat(s))}))}function BO(n){return Ip(n)[0]}function WO(n){return n?Array.isArray(n)?n:[n]:[]}var rF=`
265
- .anticon {
266
- display: inline-flex;
267
- align-items: center;
268
- color: inherit;
269
- font-style: normal;
270
- line-height: 0;
271
- text-align: center;
272
- text-transform: none;
273
- vertical-align: -0.125em;
274
- text-rendering: optimizeLegibility;
275
- -webkit-font-smoothing: antialiased;
276
- -moz-osx-font-smoothing: grayscale;
277
- }
278
-
279
- .anticon > * {
280
- line-height: 1;
281
- }
282
-
283
- .anticon svg {
284
- display: inline-block;
285
- }
286
-
287
- .anticon::before {
288
- display: none;
289
- }
290
-
291
- .anticon .anticon-icon {
292
- display: block;
293
- }
294
-
295
- .anticon[tabindex] {
296
- cursor: pointer;
297
- }
298
-
299
- .anticon-spin::before,
300
- .anticon-spin {
301
- display: inline-block;
302
- -webkit-animation: loadingCircle 1s infinite linear;
303
- animation: loadingCircle 1s infinite linear;
304
- }
305
-
306
- @-webkit-keyframes loadingCircle {
307
- 100% {
308
- -webkit-transform: rotate(360deg);
309
- transform: rotate(360deg);
310
- }
311
- }
312
-
313
- @keyframes loadingCircle {
314
- 100% {
315
- -webkit-transform: rotate(360deg);
316
- transform: rotate(360deg);
317
- }
318
- }
319
- `,aF=function(i){var a=E.useContext(iC),u=a.csp,s=a.prefixCls,p=a.layer,d=rF;s&&(d=d.replace(/anticon/g,s)),p&&(d="@layer ".concat(p,` {
320
- `).concat(d,`
321
- }`)),E.useEffect(function(){var g=i.current,y=ty(g);Mu(d,"@ant-design-icons",{prepend:!0,csp:u,attachTo:y})},[])},iF=["icon","className","onClick","style","primaryColor","secondaryColor"],Up={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function oF(n){var i=n.primaryColor,a=n.secondaryColor;Up.primaryColor=i,Up.secondaryColor=a||BO(i),Up.calculated=!!a}function lF(){return Ce({},Up)}var vd=function(i){var a=i.icon,u=i.className,s=i.onClick,p=i.style,d=i.primaryColor,g=i.secondaryColor,y=wr(i,iF),C=E.useRef(),x=Up;if(d&&(x={primaryColor:d,secondaryColor:g||BO(d)}),aF(C),nF(HO(a),"icon should be icon definiton, but got ".concat(a)),!HO(a))return null;var R=a;return R&&typeof R.icon=="function"&&(R=Ce(Ce({},R),{},{icon:R.icon(x.primaryColor,x.secondaryColor)})),jC(R.icon,"svg-".concat(R.name),Ce(Ce({className:u,onClick:s,style:p,"data-icon":R.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},y),{},{ref:C}))};vd.displayName="IconReact",vd.getTwoToneColors=lF,vd.setTwoToneColors=oF;function YO(n){var i=WO(n),a=Ve(i,2),u=a[0],s=a[1];return vd.setTwoToneColors({primaryColor:u,secondaryColor:s})}function uF(){var n=vd.getTwoToneColors();return n.calculated?[n.primaryColor,n.secondaryColor]:n.primaryColor}var sF=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];YO(Hg.primary);var Ds=E.forwardRef(function(n,i){var a=n.className,u=n.icon,s=n.spin,p=n.rotate,d=n.tabIndex,g=n.onClick,y=n.twoToneColor,C=wr(n,sF),x=E.useContext(iC),R=x.prefixCls,O=R===void 0?"anticon":R,D=x.rootClassName,N=fn(D,O,ue(ue({},"".concat(O,"-").concat(u.name),!!u.name),"".concat(O,"-spin"),!!s||u.name==="loading"),a),A=d;A===void 0&&g&&(A=-1);var k=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,V=WO(y),$=Ve(V,2),F=$[0],z=$[1];return E.createElement("span",Sn({role:"img","aria-label":u.name},C,{ref:i,tabIndex:A,onClick:g,className:N}),E.createElement(vd,{icon:u,primaryColor:F,secondaryColor:z,style:k}))});Ds.displayName="AntdIcon",Ds.getTwoToneColor=uF,Ds.setTwoToneColor=YO;var cF=`accept acceptCharset accessKey action allowFullScreen allowTransparency
322
- alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
323
- charSet checked classID className colSpan cols content contentEditable contextMenu
324
- controls coords crossOrigin data dateTime default defer dir disabled download draggable
325
- encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
326
- headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
327
- is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
328
- mediaGroup method min minLength multiple muted name noValidate nonce open
329
- optimum pattern placeholder poster preload radioGroup readOnly rel required
330
- reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
331
- shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
332
- summary tabIndex target title type useMap value width wmode wrap`,fF=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
333
- onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
334
- onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
335
- onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
336
- onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
337
- onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
338
- onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,dF="".concat(cF," ").concat(fF).split(/[\s\n]+/),vF="aria-",pF="data-";function KO(n,i){return n.indexOf(i)===0}function qO(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a;i===!1?a={aria:!0,data:!0,attr:!0}:i===!0?a={aria:!0}:a=Ce({},i);var u={};return Object.keys(n).forEach(function(s){(a.aria&&(s==="role"||KO(s,vF))||a.data&&KO(s,pF)||a.attr&&dF.includes(s))&&(u[s]=n[s])}),u}function hF(n){return n&&Rn.isValidElement(n)&&n.type===Rn.Fragment}const mF=(n,i,a)=>Rn.isValidElement(n)?Rn.cloneElement(n,typeof a=="function"?a(n.props||{}):a):i;function pd(n,i){return mF(n,n,i)}const GO=n=>{const[,,,,i]=Pc();return i?`${n}-css-var`:""};var ml={TAB:9,ENTER:13,ESC:27,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};const ny=Rn.createContext(void 0);ce.env.NODE_ENV!=="production"&&(ny.displayName="zIndexContext");const $c=100,gF=$c*10,XO={Modal:$c,Drawer:$c,Popover:$c,Popconfirm:$c,Tooltip:$c,Tour:$c},yF={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function bF(n){return n in XO}function VC(n,i){const[,a]=Pc(),u=Rn.useContext(ny),s=bF(n);let p;if(i!==void 0)p=[i,i];else{let d=u??0;s?d+=(u?0:a.zIndexPopupBase)+XO[n]:d+=yF[n],p=[u===void 0?i:d,d]}if(ce.env.NODE_ENV!=="production"){const d=Kl(n),g=a.zIndexPopupBase+gF,y=p[0]||0;ce.env.NODE_ENV!=="production"&&d(i!==void 0||y<=g,"usage","`zIndex` is over design token `zIndexPopupBase` too much. It may cause unexpected override.")}return p}function gl(){gl=function(){return i};var n,i={},a=Object.prototype,u=a.hasOwnProperty,s=typeof Symbol=="function"?Symbol:{},p=s.iterator||"@@iterator",d=s.asyncIterator||"@@asyncIterator",g=s.toStringTag||"@@toStringTag";function y(U,q,te,Y){return Object.defineProperty(U,q,{value:te,enumerable:!Y,configurable:!Y,writable:!Y})}try{y({},"")}catch{y=function(te,Y,Q){return te[Y]=Q}}function C(U,q,te,Y){var Q=q&&q.prototype instanceof O?q:O,se=Object.create(Q.prototype);return y(se,"_invoke",function(ye,de,ne){var me=1;return function(le,B){if(me===3)throw Error("Generator is already running");if(me===4){if(le==="throw")throw B;return{value:n,done:!0}}for(ne.method=le,ne.arg=B;;){var re=ne.delegate;if(re){var xe=I(re,ne);if(xe){if(xe===R)continue;return xe}}if(ne.method==="next")ne.sent=ne._sent=ne.arg;else if(ne.method==="throw"){if(me===1)throw me=4,ne.arg;ne.dispatchException(ne.arg)}else ne.method==="return"&&ne.abrupt("return",ne.arg);me=3;var we=x(ye,de,ne);if(we.type==="normal"){if(me=ne.done?4:2,we.arg===R)continue;return{value:we.arg,done:ne.done}}we.type==="throw"&&(me=4,ne.method="throw",ne.arg=we.arg)}}}(U,te,new Z(Y||[])),!0),se}function x(U,q,te){try{return{type:"normal",arg:U.call(q,te)}}catch(Y){return{type:"throw",arg:Y}}}i.wrap=C;var R={};function O(){}function D(){}function N(){}var A={};y(A,p,function(){return this});var k=Object.getPrototypeOf,V=k&&k(k(J([])));V&&V!==a&&u.call(V,p)&&(A=V);var $=N.prototype=O.prototype=Object.create(A);function F(U){["next","throw","return"].forEach(function(q){y(U,q,function(te){return this._invoke(q,te)})})}function z(U,q){function te(Q,se,ye,de){var ne=x(U[Q],U,se);if(ne.type!=="throw"){var me=ne.arg,le=me.value;return le&&Zt(le)=="object"&&u.call(le,"__await")?q.resolve(le.__await).then(function(B){te("next",B,ye,de)},function(B){te("throw",B,ye,de)}):q.resolve(le).then(function(B){me.value=B,ye(me)},function(B){return te("throw",B,ye,de)})}de(ne.arg)}var Y;y(this,"_invoke",function(Q,se){function ye(){return new q(function(de,ne){te(Q,se,de,ne)})}return Y=Y?Y.then(ye,ye):ye()},!0)}function I(U,q){var te=q.method,Y=U.i[te];if(Y===n)return q.delegate=null,te==="throw"&&U.i.return&&(q.method="return",q.arg=n,I(U,q),q.method==="throw")||te!=="return"&&(q.method="throw",q.arg=new TypeError("The iterator does not provide a '"+te+"' method")),R;var Q=x(Y,U.i,q.arg);if(Q.type==="throw")return q.method="throw",q.arg=Q.arg,q.delegate=null,R;var se=Q.arg;return se?se.done?(q[U.r]=se.value,q.next=U.n,q.method!=="return"&&(q.method="next",q.arg=n),q.delegate=null,R):se:(q.method="throw",q.arg=new TypeError("iterator result is not an object"),q.delegate=null,R)}function H(U){this.tryEntries.push(U)}function W(U){var q=U[4]||{};q.type="normal",q.arg=n,U[4]=q}function Z(U){this.tryEntries=[[-1]],U.forEach(H,this),this.reset(!0)}function J(U){if(U!=null){var q=U[p];if(q)return q.call(U);if(typeof U.next=="function")return U;if(!isNaN(U.length)){var te=-1,Y=function Q(){for(;++te<U.length;)if(u.call(U,te))return Q.value=U[te],Q.done=!1,Q;return Q.value=n,Q.done=!0,Q};return Y.next=Y}}throw new TypeError(Zt(U)+" is not iterable")}return D.prototype=N,y($,"constructor",N),y(N,"constructor",D),D.displayName=y(N,g,"GeneratorFunction"),i.isGeneratorFunction=function(U){var q=typeof U=="function"&&U.constructor;return!!q&&(q===D||(q.displayName||q.name)==="GeneratorFunction")},i.mark=function(U){return Object.setPrototypeOf?Object.setPrototypeOf(U,N):(U.__proto__=N,y(U,g,"GeneratorFunction")),U.prototype=Object.create($),U},i.awrap=function(U){return{__await:U}},F(z.prototype),y(z.prototype,d,function(){return this}),i.AsyncIterator=z,i.async=function(U,q,te,Y,Q){Q===void 0&&(Q=Promise);var se=new z(C(U,q,te,Y),Q);return i.isGeneratorFunction(q)?se:se.next().then(function(ye){return ye.done?ye.value:se.next()})},F($),y($,g,"Generator"),y($,p,function(){return this}),y($,"toString",function(){return"[object Generator]"}),i.keys=function(U){var q=Object(U),te=[];for(var Y in q)te.unshift(Y);return function Q(){for(;te.length;)if((Y=te.pop())in q)return Q.value=Y,Q.done=!1,Q;return Q.done=!0,Q}},i.values=J,Z.prototype={constructor:Z,reset:function(q){if(this.prev=this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(W),!q)for(var te in this)te.charAt(0)==="t"&&u.call(this,te)&&!isNaN(+te.slice(1))&&(this[te]=n)},stop:function(){this.done=!0;var q=this.tryEntries[0][4];if(q.type==="throw")throw q.arg;return this.rval},dispatchException:function(q){if(this.done)throw q;var te=this;function Y(le){ye.type="throw",ye.arg=q,te.next=le}for(var Q=te.tryEntries.length-1;Q>=0;--Q){var se=this.tryEntries[Q],ye=se[4],de=this.prev,ne=se[1],me=se[2];if(se[0]===-1)return Y("end"),!1;if(!ne&&!me)throw Error("try statement without catch or finally");if(se[0]!=null&&se[0]<=de){if(de<ne)return this.method="next",this.arg=n,Y(ne),!0;if(de<me)return Y(me),!1}}},abrupt:function(q,te){for(var Y=this.tryEntries.length-1;Y>=0;--Y){var Q=this.tryEntries[Y];if(Q[0]>-1&&Q[0]<=this.prev&&this.prev<Q[2]){var se=Q;break}}se&&(q==="break"||q==="continue")&&se[0]<=te&&te<=se[2]&&(se=null);var ye=se?se[4]:{};return ye.type=q,ye.arg=te,se?(this.method="next",this.next=se[2],R):this.complete(ye)},complete:function(q,te){if(q.type==="throw")throw q.arg;return q.type==="break"||q.type==="continue"?this.next=q.arg:q.type==="return"?(this.rval=this.arg=q.arg,this.method="return",this.next="end"):q.type==="normal"&&te&&(this.next=te),R},finish:function(q){for(var te=this.tryEntries.length-1;te>=0;--te){var Y=this.tryEntries[te];if(Y[2]===q)return this.complete(Y[4],Y[3]),W(Y),R}},catch:function(q){for(var te=this.tryEntries.length-1;te>=0;--te){var Y=this.tryEntries[te];if(Y[0]===q){var Q=Y[4];if(Q.type==="throw"){var se=Q.arg;W(Y)}return se}}throw Error("illegal catch attempt")},delegateYield:function(q,te,Y){return this.delegate={i:J(q),r:te,n:Y},this.method==="next"&&(this.arg=n),R}},i}function QO(n,i,a,u,s,p,d){try{var g=n[p](d),y=g.value}catch(C){return void a(C)}g.done?i(y):Promise.resolve(y).then(u,s)}function Bp(n){return function(){var i=this,a=arguments;return new Promise(function(u,s){var p=n.apply(i,a);function d(y){QO(p,u,s,d,g,"next",y)}function g(y){QO(p,u,s,d,g,"throw",y)}d(void 0)})}}const HC=()=>({height:0,opacity:0}),ZO=n=>{const{scrollHeight:i}=n;return{height:i,opacity:1}},SF=n=>({height:n?n.offsetHeight:0}),UC=(n,i)=>i?.deadline===!0||i.propertyName==="height",CF=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:Wg}-motion-collapse`,onAppearStart:HC,onEnterStart:HC,onAppearActive:ZO,onEnterActive:ZO,onLeaveStart:SF,onLeaveActive:HC,onAppearEnd:UC,onEnterEnd:UC,onLeaveEnd:UC,motionDeadline:500}},EF=(n,i,a)=>a!==void 0?a:`${n}-${i}`,JO=function(n){if(!n)return!1;if(n instanceof Element){if(n.offsetParent)return!0;if(n.getBBox){var i=n.getBBox(),a=i.width,u=i.height;if(a||u)return!0}if(n.getBoundingClientRect){var s=n.getBoundingClientRect(),p=s.width,d=s.height;if(p||d)return!0}}return!1},wF=E.createContext(null),xF=n=>{let{children:i}=n;return E.createElement(wF.Provider,{value:null},i)};var e_=E.createContext(null),t_=[];function RF(n,i){var a=E.useState(function(){if(!to())return null;var N=document.createElement("div");return ce.env.NODE_ENV!=="production"&&i&&N.setAttribute("data-debug",i),N}),u=Ve(a,1),s=u[0],p=E.useRef(!1),d=E.useContext(e_),g=E.useState(t_),y=Ve(g,2),C=y[0],x=y[1],R=d||(p.current?void 0:function(N){x(function(A){var k=[N].concat(Rt(A));return k})});function O(){s.parentElement||document.body.appendChild(s),p.current=!0}function D(){var N;(N=s.parentElement)===null||N===void 0||N.removeChild(s),p.current=!1}return gi(function(){return n?d?d(O):O():D(),D},[n]),gi(function(){C.length&&(C.forEach(function(N){return N()}),x(t_))},[C]),[s,R]}function TF(n){var i="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),a=document.createElement("div");a.id=i;var u=a.style;u.position="absolute",u.left="0",u.top="0",u.width="100px",u.height="100px",u.overflow="scroll";var s,p;if(n){var d=getComputedStyle(n);u.scrollbarColor=d.scrollbarColor,u.scrollbarWidth=d.scrollbarWidth;var g=getComputedStyle(n,"::-webkit-scrollbar"),y=parseInt(g.width,10),C=parseInt(g.height,10);try{var x=y?"width: ".concat(g.width,";"):"",R=C?"height: ".concat(g.height,";"):"";Mu(`
339
- #`.concat(i,`::-webkit-scrollbar {
340
- `).concat(x,`
341
- `).concat(R,`
342
- }`),i)}catch(N){console.error(N),s=y,p=C}}document.body.appendChild(a);var O=n&&s&&!isNaN(s)?s:a.offsetWidth-a.clientWidth,D=n&&p&&!isNaN(p)?p:a.offsetHeight-a.clientHeight;return document.body.removeChild(a),kp(i),{width:O,height:D}}function OF(n){return typeof document>"u"||!n||!(n instanceof Element)?{width:0,height:0}:TF(n)}function _F(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var kF="rc-util-locker-".concat(Date.now()),n_=0;function MF(n){var i=!!n,a=E.useState(function(){return n_+=1,"".concat(kF,"_").concat(n_)}),u=Ve(a,1),s=u[0];gi(function(){if(i){var p=OF(document.body).width,d=_F();Mu(`
343
- html body {
344
- overflow-y: hidden;
345
- `.concat(d?"width: calc(100% - ".concat(p,"px);"):"",`
346
- }`),s)}else kp(s);return function(){kp(s)}},[i,s])}var NF=!1;function DF(n){return NF}var r_=function(i){return i===!1?!1:!to()||!i?null:typeof i=="string"?document.querySelector(i):typeof i=="function"?i():i},BC=E.forwardRef(function(n,i){var a=n.open,u=n.autoLock,s=n.getContainer,p=n.debug,d=n.autoDestroy,g=d===void 0?!0:d,y=n.children,C=E.useState(a),x=Ve(C,2),R=x[0],O=x[1],D=R||a;ce.env.NODE_ENV!=="production"&&or(to()||!a,"Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."),E.useEffect(function(){(g||a)&&O(a)},[a,g]);var N=E.useState(function(){return r_(s)}),A=Ve(N,2),k=A[0],V=A[1];E.useEffect(function(){var te=r_(s);V(te??null)});var $=RF(D&&!k,p),F=Ve($,2),z=F[0],I=F[1],H=k??z;MF(u&&a&&to()&&(H===z||H===document.body));var W=null;if(y&&Tc(y)&&i){var Z=y;W=Z.ref}var J=xp(W,i);if(!D||!to()||k===void 0)return null;var U=H===!1||DF(),q=y;return i&&(q=E.cloneElement(y,{ref:J})),E.createElement(e_.Provider,{value:I},U?q:gg.createPortal(q,H))});ce.env.NODE_ENV!=="production"&&(BC.displayName="Portal");function PF(){var n=Ce({},hg);return n.useId}var a_=0,i_=PF();const AF=i_?function(i){var a=i_();return i||(ce.env.NODE_ENV==="test"?"test-id":a)}:function(i){var a=E.useState("ssr-id"),u=Ve(a,2),s=u[0],p=u[1];return E.useEffect(function(){var d=a_;a_+=1,p("rc_unique_".concat(d))},[]),i||(ce.env.NODE_ENV==="test"?"test-id":s)};var Lc="RC_FORM_INTERNAL_HOOKS",yr=function(){or(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},hd=E.createContext({getFieldValue:yr,getFieldsValue:yr,getFieldError:yr,getFieldWarning:yr,getFieldsError:yr,isFieldsTouched:yr,isFieldTouched:yr,isFieldValidating:yr,isFieldsValidating:yr,resetFields:yr,setFields:yr,setFieldValue:yr,setFieldsValue:yr,validateFields:yr,submit:yr,getInternalHooks:function(){return yr(),{dispatch:yr,initEntityValue:yr,registerField:yr,useSubscribe:yr,setInitialValues:yr,destroyForm:yr,setCallbacks:yr,registerWatch:yr,getFields:yr,setValidateMessages:yr,setPreserve:yr,getInitialValue:yr}}}),ry=E.createContext(null);function WC(n){return n==null?[]:Array.isArray(n)?n:[n]}function $F(n){return n&&!!n._init}function YC(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var i=JSON.parse(JSON.stringify(this));return i.clone=this.clone,i}}}var KC=YC();function LF(n){try{return Function.toString.call(n).indexOf("[native code]")!==-1}catch{return typeof n=="function"}}function FF(n,i,a){if(jS())return Reflect.construct.apply(null,arguments);var u=[null];u.push.apply(u,i);var s=new(n.bind.apply(n,u));return a&&Tp(s,a.prototype),s}function qC(n){var i=typeof Map=="function"?new Map:void 0;return qC=function(u){if(u===null||!LF(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(u))return i.get(u);i.set(u,s)}function s(){return FF(u,arguments,Op(this).constructor)}return s.prototype=Object.create(u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),Tp(s,u)},qC(n)}var IF=/%[sdj%]/g,o_=function(){};typeof ce<"u"&&ce.env&&ce.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof document<"u"&&(o_=function(i,a){typeof console<"u"&&console.warn&&typeof ASYNC_VALIDATOR_NO_WARNING>"u"&&a.every(function(u){return typeof u=="string"})&&console.warn(i,a)});function GC(n){if(!n||!n.length)return null;var i={};return n.forEach(function(a){var u=a.field;i[u]=i[u]||[],i[u].push(a)}),i}function To(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),u=1;u<i;u++)a[u-1]=arguments[u];var s=0,p=a.length;if(typeof n=="function")return n.apply(null,a);if(typeof n=="string"){var d=n.replace(IF,function(g){if(g==="%%")return"%";if(s>=p)return g;switch(g){case"%s":return String(a[s++]);case"%d":return Number(a[s++]);case"%j":try{return JSON.stringify(a[s++])}catch{return"[Circular]"}break;default:return g}});return d}return n}function zF(n){return n==="string"||n==="url"||n==="hex"||n==="email"||n==="date"||n==="pattern"}function Oa(n,i){return!!(n==null||i==="array"&&Array.isArray(n)&&!n.length||zF(i)&&typeof n=="string"&&!n)}function jF(n,i,a){var u=[],s=0,p=n.length;function d(g){u.push.apply(u,Rt(g||[])),s++,s===p&&a(u)}n.forEach(function(g){i(g,d)})}function l_(n,i,a){var u=0,s=n.length;function p(d){if(d&&d.length){a(d);return}var g=u;u=u+1,g<s?i(n[g],p):a([])}p([])}function VF(n){var i=[];return Object.keys(n).forEach(function(a){i.push.apply(i,Rt(n[a]||[]))}),i}var u_=function(n){xs(a,n);var i=Rs(a);function a(u,s){var p;return Qa(this,a),p=i.call(this,"Async Validation Error"),ue(Cn(p),"errors",void 0),ue(Cn(p),"fields",void 0),p.errors=u,p.fields=s,p}return Za(a)}(qC(Error));function HF(n,i,a,u,s){if(i.first){var p=new Promise(function(O,D){var N=function(V){return u(V),V.length?D(new u_(V,GC(V))):O(s)},A=VF(n);l_(A,a,N)});return p.catch(function(O){return O}),p}var d=i.firstFields===!0?Object.keys(n):i.firstFields||[],g=Object.keys(n),y=g.length,C=0,x=[],R=new Promise(function(O,D){var N=function(k){if(x.push.apply(x,k),C++,C===y)return u(x),x.length?D(new u_(x,GC(x))):O(s)};g.length||(u(x),O(s)),g.forEach(function(A){var k=n[A];d.indexOf(A)!==-1?l_(k,a,N):jF(k,a,N)})});return R.catch(function(O){return O}),R}function UF(n){return!!(n&&n.message!==void 0)}function BF(n,i){for(var a=n,u=0;u<i.length;u++){if(a==null)return a;a=a[i[u]]}return a}function s_(n,i){return function(a){var u;return n.fullFields?u=BF(i,n.fullFields):u=i[a.field||n.fullField],UF(a)?(a.field=a.field||n.fullField,a.fieldValue=u,a):{message:typeof a=="function"?a():a,fieldValue:u,field:a.field||n.fullField}}}function c_(n,i){if(i){for(var a in i)if(i.hasOwnProperty(a)){var u=i[a];Zt(u)==="object"&&Zt(n[a])==="object"?n[a]=Ce(Ce({},n[a]),u):n[a]=u}}return n}var md="enum",WF=function(i,a,u,s,p){i[md]=Array.isArray(i[md])?i[md]:[],i[md].indexOf(a)===-1&&s.push(To(p.messages[md],i.fullField,i[md].join(", ")))},YF=function(i,a,u,s,p){if(i.pattern){if(i.pattern instanceof RegExp)i.pattern.lastIndex=0,i.pattern.test(a)||s.push(To(p.messages.pattern.mismatch,i.fullField,a,i.pattern));else if(typeof i.pattern=="string"){var d=new RegExp(i.pattern);d.test(a)||s.push(To(p.messages.pattern.mismatch,i.fullField,a,i.pattern))}}},KF=function(i,a,u,s,p){var d=typeof i.len=="number",g=typeof i.min=="number",y=typeof i.max=="number",C=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,x=a,R=null,O=typeof a=="number",D=typeof a=="string",N=Array.isArray(a);if(O?R="number":D?R="string":N&&(R="array"),!R)return!1;N&&(x=a.length),D&&(x=a.replace(C,"_").length),d?x!==i.len&&s.push(To(p.messages[R].len,i.fullField,i.len)):g&&!y&&x<i.min?s.push(To(p.messages[R].min,i.fullField,i.min)):y&&!g&&x>i.max?s.push(To(p.messages[R].max,i.fullField,i.max)):g&&y&&(x<i.min||x>i.max)&&s.push(To(p.messages[R].range,i.fullField,i.min,i.max))},f_=function(i,a,u,s,p,d){i.required&&(!u.hasOwnProperty(i.field)||Oa(a,d||i.type))&&s.push(To(p.messages.required,i.fullField))},ay;const qF=function(){if(ay)return ay;var n="[a-fA-F\\d:]",i=function(H){return H&&H.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(n,")|(?<=").concat(n,")(?=\\s|$))"):""},a="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",u="[a-fA-F\\d]{1,4}",s=["(?:".concat(u,":){7}(?:").concat(u,"|:)"),"(?:".concat(u,":){6}(?:").concat(a,"|:").concat(u,"|:)"),"(?:".concat(u,":){5}(?::").concat(a,"|(?::").concat(u,"){1,2}|:)"),"(?:".concat(u,":){4}(?:(?::").concat(u,"){0,1}:").concat(a,"|(?::").concat(u,"){1,3}|:)"),"(?:".concat(u,":){3}(?:(?::").concat(u,"){0,2}:").concat(a,"|(?::").concat(u,"){1,4}|:)"),"(?:".concat(u,":){2}(?:(?::").concat(u,"){0,3}:").concat(a,"|(?::").concat(u,"){1,5}|:)"),"(?:".concat(u,":){1}(?:(?::").concat(u,"){0,4}:").concat(a,"|(?::").concat(u,"){1,6}|:)"),"(?::(?:(?::".concat(u,"){0,5}:").concat(a,"|(?::").concat(u,"){1,7}|:))")],p="(?:%[0-9a-zA-Z]{1,})?",d="(?:".concat(s.join("|"),")").concat(p),g=new RegExp("(?:^".concat(a,"$)|(?:^").concat(d,"$)")),y=new RegExp("^".concat(a,"$")),C=new RegExp("^".concat(d,"$")),x=function(H){return H&&H.exact?g:new RegExp("(?:".concat(i(H)).concat(a).concat(i(H),")|(?:").concat(i(H)).concat(d).concat(i(H),")"),"g")};x.v4=function(I){return I&&I.exact?y:new RegExp("".concat(i(I)).concat(a).concat(i(I)),"g")},x.v6=function(I){return I&&I.exact?C:new RegExp("".concat(i(I)).concat(d).concat(i(I)),"g")};var R="(?:(?:[a-z]+:)?//)",O="(?:\\S+(?::\\S*)?@)?",D=x.v4().source,N=x.v6().source,A="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",k="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",V="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",$="(?::\\d{2,5})?",F='(?:[/?#][^\\s"]*)?',z="(?:".concat(R,"|www\\.)").concat(O,"(?:localhost|").concat(D,"|").concat(N,"|").concat(A).concat(k).concat(V,")").concat($).concat(F);return ay=new RegExp("(?:^".concat(z,"$)"),"i"),ay};var d_={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Wp={integer:function(i){return Wp.number(i)&&parseInt(i,10)===i},float:function(i){return Wp.number(i)&&!Wp.integer(i)},array:function(i){return Array.isArray(i)},regexp:function(i){if(i instanceof RegExp)return!0;try{return!!new RegExp(i)}catch{return!1}},date:function(i){return typeof i.getTime=="function"&&typeof i.getMonth=="function"&&typeof i.getYear=="function"&&!isNaN(i.getTime())},number:function(i){return isNaN(i)?!1:typeof i=="number"},object:function(i){return Zt(i)==="object"&&!Wp.array(i)},method:function(i){return typeof i=="function"},email:function(i){return typeof i=="string"&&i.length<=320&&!!i.match(d_.email)},url:function(i){return typeof i=="string"&&i.length<=2048&&!!i.match(qF())},hex:function(i){return typeof i=="string"&&!!i.match(d_.hex)}},GF=function(i,a,u,s,p){if(i.required&&a===void 0){f_(i,a,u,s,p);return}var d=["integer","float","array","regexp","object","method","email","number","date","url","hex"],g=i.type;d.indexOf(g)>-1?Wp[g](a)||s.push(To(p.messages.types[g],i.fullField,i.type)):g&&Zt(a)!==i.type&&s.push(To(p.messages.types[g],i.fullField,i.type))},XF=function(i,a,u,s,p){(/^\s+$/.test(a)||a==="")&&s.push(To(p.messages.whitespace,i.fullField))};const Ln={required:f_,whitespace:XF,type:GF,range:KF,enum:WF,pattern:YF};var QF=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(Oa(a)&&!i.required)return u();Ln.required(i,a,s,d,p)}u(d)},ZF=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(a==null&&!i.required)return u();Ln.required(i,a,s,d,p,"array"),a!=null&&(Ln.type(i,a,s,d,p),Ln.range(i,a,s,d,p))}u(d)},JF=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(Oa(a)&&!i.required)return u();Ln.required(i,a,s,d,p),a!==void 0&&Ln.type(i,a,s,d,p)}u(d)},eI=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(Oa(a,"date")&&!i.required)return u();if(Ln.required(i,a,s,d,p),!Oa(a,"date")){var y;a instanceof Date?y=a:y=new Date(a),Ln.type(i,y,s,d,p),y&&Ln.range(i,y.getTime(),s,d,p)}}u(d)},tI="enum",nI=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(Oa(a)&&!i.required)return u();Ln.required(i,a,s,d,p),a!==void 0&&Ln[tI](i,a,s,d,p)}u(d)},rI=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(Oa(a)&&!i.required)return u();Ln.required(i,a,s,d,p),a!==void 0&&(Ln.type(i,a,s,d,p),Ln.range(i,a,s,d,p))}u(d)},aI=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(Oa(a)&&!i.required)return u();Ln.required(i,a,s,d,p),a!==void 0&&(Ln.type(i,a,s,d,p),Ln.range(i,a,s,d,p))}u(d)},iI=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(Oa(a)&&!i.required)return u();Ln.required(i,a,s,d,p),a!==void 0&&Ln.type(i,a,s,d,p)}u(d)},oI=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(a===""&&(a=void 0),Oa(a)&&!i.required)return u();Ln.required(i,a,s,d,p),a!==void 0&&(Ln.type(i,a,s,d,p),Ln.range(i,a,s,d,p))}u(d)},lI=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(Oa(a)&&!i.required)return u();Ln.required(i,a,s,d,p),a!==void 0&&Ln.type(i,a,s,d,p)}u(d)},uI=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(Oa(a,"string")&&!i.required)return u();Ln.required(i,a,s,d,p),Oa(a,"string")||Ln.pattern(i,a,s,d,p)}u(d)},sI=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(Oa(a)&&!i.required)return u();Ln.required(i,a,s,d,p),Oa(a)||Ln.type(i,a,s,d,p)}u(d)},cI=function(i,a,u,s,p){var d=[],g=Array.isArray(a)?"array":Zt(a);Ln.required(i,a,s,d,p,g),u(d)},fI=function(i,a,u,s,p){var d=[],g=i.required||!i.required&&s.hasOwnProperty(i.field);if(g){if(Oa(a,"string")&&!i.required)return u();Ln.required(i,a,s,d,p,"string"),Oa(a,"string")||(Ln.type(i,a,s,d,p),Ln.range(i,a,s,d,p),Ln.pattern(i,a,s,d,p),i.whitespace===!0&&Ln.whitespace(i,a,s,d,p))}u(d)},XC=function(i,a,u,s,p){var d=i.type,g=[],y=i.required||!i.required&&s.hasOwnProperty(i.field);if(y){if(Oa(a,d)&&!i.required)return u();Ln.required(i,a,s,g,p,d),Oa(a,d)||Ln.type(i,a,s,g,p)}u(g)};const Yp={string:fI,method:iI,number:oI,boolean:JF,regexp:sI,integer:aI,float:rI,array:ZF,object:lI,enum:nI,pattern:uI,date:eI,url:XC,hex:XC,email:XC,required:cI,any:QF};var Kp=function(){function n(i){Qa(this,n),ue(this,"rules",null),ue(this,"_messages",KC),this.define(i)}return Za(n,[{key:"define",value:function(a){var u=this;if(!a)throw new Error("Cannot configure a schema with no rules");if(Zt(a)!=="object"||Array.isArray(a))throw new Error("Rules must be an object");this.rules={},Object.keys(a).forEach(function(s){var p=a[s];u.rules[s]=Array.isArray(p)?p:[p]})}},{key:"messages",value:function(a){return a&&(this._messages=c_(YC(),a)),this._messages}},{key:"validate",value:function(a){var u=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},d=a,g=s,y=p;if(typeof g=="function"&&(y=g,g={}),!this.rules||Object.keys(this.rules).length===0)return y&&y(null,d),Promise.resolve(d);function C(N){var A=[],k={};function V(F){if(Array.isArray(F)){var z;A=(z=A).concat.apply(z,Rt(F))}else A.push(F)}for(var $=0;$<N.length;$++)V(N[$]);A.length?(k=GC(A),y(A,k)):y(null,d)}if(g.messages){var x=this.messages();x===KC&&(x=YC()),c_(x,g.messages),g.messages=x}else g.messages=this.messages();var R={},O=g.keys||Object.keys(this.rules);O.forEach(function(N){var A=u.rules[N],k=d[N];A.forEach(function(V){var $=V;typeof $.transform=="function"&&(d===a&&(d=Ce({},d)),k=d[N]=$.transform(k),k!=null&&($.type=$.type||(Array.isArray(k)?"array":Zt(k)))),typeof $=="function"?$={validator:$}:$=Ce({},$),$.validator=u.getValidationMethod($),$.validator&&($.field=N,$.fullField=$.fullField||N,$.type=u.getType($),R[N]=R[N]||[],R[N].push({rule:$,value:k,source:d,field:N}))})});var D={};return HF(R,g,function(N,A){var k=N.rule,V=(k.type==="object"||k.type==="array")&&(Zt(k.fields)==="object"||Zt(k.defaultField)==="object");V=V&&(k.required||!k.required&&N.value),k.field=N.field;function $(W,Z){return Ce(Ce({},Z),{},{fullField:"".concat(k.fullField,".").concat(W),fullFields:k.fullFields?[].concat(Rt(k.fullFields),[W]):[W]})}function F(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Z=Array.isArray(W)?W:[W];!g.suppressWarning&&Z.length&&n.warning("async-validator:",Z),Z.length&&k.message!==void 0&&(Z=[].concat(k.message));var J=Z.map(s_(k,d));if(g.first&&J.length)return D[k.field]=1,A(J);if(!V)A(J);else{if(k.required&&!N.value)return k.message!==void 0?J=[].concat(k.message).map(s_(k,d)):g.error&&(J=[g.error(k,To(g.messages.required,k.field))]),A(J);var U={};k.defaultField&&Object.keys(N.value).map(function(Y){U[Y]=k.defaultField}),U=Ce(Ce({},U),N.rule.fields);var q={};Object.keys(U).forEach(function(Y){var Q=U[Y],se=Array.isArray(Q)?Q:[Q];q[Y]=se.map($.bind(null,Y))});var te=new n(q);te.messages(g.messages),N.rule.options&&(N.rule.options.messages=g.messages,N.rule.options.error=g.error),te.validate(N.value,N.rule.options||g,function(Y){var Q=[];J&&J.length&&Q.push.apply(Q,Rt(J)),Y&&Y.length&&Q.push.apply(Q,Rt(Y)),A(Q.length?Q:null)})}}var z;if(k.asyncValidator)z=k.asyncValidator(k,N.value,F,N.source,g);else if(k.validator){try{z=k.validator(k,N.value,F,N.source,g)}catch(W){var I,H;(I=(H=console).error)===null||I===void 0||I.call(H,W),g.suppressValidatorError||setTimeout(function(){throw W},0),F(W.message)}z===!0?F():z===!1?F(typeof k.message=="function"?k.message(k.fullField||k.field):k.message||"".concat(k.fullField||k.field," fails")):z instanceof Array?F(z):z instanceof Error&&F(z.message)}z&&z.then&&z.then(function(){return F()},function(W){return F(W)})},function(N){C(N)},d)}},{key:"getType",value:function(a){if(a.type===void 0&&a.pattern instanceof RegExp&&(a.type="pattern"),typeof a.validator!="function"&&a.type&&!Yp.hasOwnProperty(a.type))throw new Error(To("Unknown rule type %s",a.type));return a.type||"string"}},{key:"getValidationMethod",value:function(a){if(typeof a.validator=="function")return a.validator;var u=Object.keys(a),s=u.indexOf("message");return s!==-1&&u.splice(s,1),u.length===1&&u[0]==="required"?Yp.required:Yp[this.getType(a)]||void 0}}]),n}();ue(Kp,"register",function(i,a){if(typeof a!="function")throw new Error("Cannot register a validator by type, validator is not a function");Yp[i]=a}),ue(Kp,"warning",o_),ue(Kp,"messages",KC),ue(Kp,"validators",Yp);var Oo="'${name}' is not a valid ${type}",v_={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Oo,method:Oo,array:Oo,object:Oo,number:Oo,date:Oo,boolean:Oo,integer:Oo,float:Oo,regexp:Oo,email:Oo,url:Oo,hex:Oo},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},p_=Kp;function dI(n,i){return n.replace(/\$\{\w+\}/g,function(a){var u=a.slice(2,-1);return i[u]})}var h_="CODE_LOGIC_ERROR";function QC(n,i,a,u,s){return ZC.apply(this,arguments)}function ZC(){return ZC=Bp(gl().mark(function n(i,a,u,s,p){var d,g,y,C,x,R,O,D,N;return gl().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return d=Ce({},u),delete d.ruleIndex,p_.warning=function(){},d.validator&&(g=d.validator,d.validator=function(){try{return g.apply(void 0,arguments)}catch(V){return console.error(V),Promise.reject(h_)}}),y=null,d&&d.type==="array"&&d.defaultField&&(y=d.defaultField,delete d.defaultField),C=new p_(ue({},i,[d])),x=sd(v_,s.validateMessages),C.messages(x),R=[],k.prev=10,k.next=13,Promise.resolve(C.validate(ue({},i,a),Ce({},s)));case 13:k.next=18;break;case 15:k.prev=15,k.t0=k.catch(10),k.t0.errors&&(R=k.t0.errors.map(function(V,$){var F=V.message,z=F===h_?x.default:F;return E.isValidElement(z)?E.cloneElement(z,{key:"error_".concat($)}):z}));case 18:if(!(!R.length&&y)){k.next=23;break}return k.next=21,Promise.all(a.map(function(V,$){return QC("".concat(i,".").concat($),V,y,s,p)}));case 21:return O=k.sent,k.abrupt("return",O.reduce(function(V,$){return[].concat(Rt(V),Rt($))},[]));case 23:return D=Ce(Ce({},u),{},{name:i,enum:(u.enum||[]).join(", ")},p),N=R.map(function(V){return typeof V=="string"?dI(V,D):V}),k.abrupt("return",N);case 26:case"end":return k.stop()}},n,null,[[10,15]])})),ZC.apply(this,arguments)}function vI(n,i,a,u,s,p){var d=n.join("."),g=a.map(function(x,R){var O=x.validator,D=Ce(Ce({},x),{},{ruleIndex:R});return O&&(D.validator=function(N,A,k){var V=!1,$=function(){for(var I=arguments.length,H=new Array(I),W=0;W<I;W++)H[W]=arguments[W];Promise.resolve().then(function(){or(!V,"Your validator function has already return a promise. `callback` will be ignored."),V||k.apply(void 0,H)})},F=O(N,A,$);V=F&&typeof F.then=="function"&&typeof F.catch=="function",or(V,"`callback` is deprecated. Please return a promise instead."),V&&F.then(function(){k()}).catch(function(z){k(z||" ")})}),D}).sort(function(x,R){var O=x.warningOnly,D=x.ruleIndex,N=R.warningOnly,A=R.ruleIndex;return!!O==!!N?D-A:O?1:-1}),y;if(s===!0)y=new Promise(function(){var x=Bp(gl().mark(function R(O,D){var N,A,k;return gl().wrap(function($){for(;;)switch($.prev=$.next){case 0:N=0;case 1:if(!(N<g.length)){$.next=12;break}return A=g[N],$.next=5,QC(d,i,A,u,p);case 5:if(k=$.sent,!k.length){$.next=9;break}return D([{errors:k,rule:A}]),$.abrupt("return");case 9:N+=1,$.next=1;break;case 12:O([]);case 13:case"end":return $.stop()}},R)}));return function(R,O){return x.apply(this,arguments)}}());else{var C=g.map(function(x){return QC(d,i,x,u,p).then(function(R){return{errors:R,rule:x}})});y=(s?hI(C):pI(C)).then(function(x){return Promise.reject(x)})}return y.catch(function(x){return x}),y}function pI(n){return JC.apply(this,arguments)}function JC(){return JC=Bp(gl().mark(function n(i){return gl().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",Promise.all(i).then(function(s){var p,d=(p=[]).concat.apply(p,Rt(s));return d}));case 1:case"end":return u.stop()}},n)})),JC.apply(this,arguments)}function hI(n){return eE.apply(this,arguments)}function eE(){return eE=Bp(gl().mark(function n(i){var a;return gl().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return a=0,s.abrupt("return",new Promise(function(p){i.forEach(function(d){d.then(function(g){g.errors.length&&p([g]),a+=1,a===i.length&&p([])})})}));case 2:case"end":return s.stop()}},n)})),eE.apply(this,arguments)}function la(n){return WC(n)}function m_(n,i){var a={};return i.forEach(function(u){var s=Yl(n,u);a=vl(a,u,s)}),a}function gd(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return n&&n.some(function(u){return g_(i,u,a)})}function g_(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!n||!i||!a&&n.length!==i.length?!1:i.every(function(u,s){return n[s]===u})}function mI(n,i){if(n===i)return!0;if(!n&&i||n&&!i||!n||!i||Zt(n)!=="object"||Zt(i)!=="object")return!1;var a=Object.keys(n),u=Object.keys(i),s=new Set([].concat(a,u));return Rt(s).every(function(p){var d=n[p],g=i[p];return typeof d=="function"&&typeof g=="function"?!0:d===g})}function gI(n){var i=arguments.length<=1?void 0:arguments[1];return i&&i.target&&Zt(i.target)==="object"&&n in i.target?i.target[n]:i}function y_(n,i,a){var u=n.length;if(i<0||i>=u||a<0||a>=u)return n;var s=n[i],p=i-a;return p>0?[].concat(Rt(n.slice(0,a)),[s],Rt(n.slice(a,i)),Rt(n.slice(i+1,u))):p<0?[].concat(Rt(n.slice(0,i)),Rt(n.slice(i+1,a+1)),[s],Rt(n.slice(a+1,u))):n}var yI=["name"],jo=[];function b_(n,i,a,u,s,p){return typeof n=="function"?n(i,a,"source"in p?{source:p.source}:{}):u!==s}var tE=function(n){xs(a,n);var i=Rs(a);function a(u){var s;if(Qa(this,a),s=i.call(this,u),ue(Cn(s),"state",{resetCount:0}),ue(Cn(s),"cancelRegisterFunc",null),ue(Cn(s),"mounted",!1),ue(Cn(s),"touched",!1),ue(Cn(s),"dirty",!1),ue(Cn(s),"validatePromise",void 0),ue(Cn(s),"prevValidating",void 0),ue(Cn(s),"errors",jo),ue(Cn(s),"warnings",jo),ue(Cn(s),"cancelRegister",function(){var y=s.props,C=y.preserve,x=y.isListField,R=y.name;s.cancelRegisterFunc&&s.cancelRegisterFunc(x,C,la(R)),s.cancelRegisterFunc=null}),ue(Cn(s),"getNamePath",function(){var y=s.props,C=y.name,x=y.fieldContext,R=x.prefixName,O=R===void 0?[]:R;return C!==void 0?[].concat(Rt(O),Rt(C)):[]}),ue(Cn(s),"getRules",function(){var y=s.props,C=y.rules,x=C===void 0?[]:C,R=y.fieldContext;return x.map(function(O){return typeof O=="function"?O(R):O})}),ue(Cn(s),"refresh",function(){s.mounted&&s.setState(function(y){var C=y.resetCount;return{resetCount:C+1}})}),ue(Cn(s),"metaCache",null),ue(Cn(s),"triggerMetaEvent",function(y){var C=s.props.onMetaChange;if(C){var x=Ce(Ce({},s.getMeta()),{},{destroy:y});Mp(s.metaCache,x)||C(x),s.metaCache=x}else s.metaCache=null}),ue(Cn(s),"onStoreChange",function(y,C,x){var R=s.props,O=R.shouldUpdate,D=R.dependencies,N=D===void 0?[]:D,A=R.onReset,k=x.store,V=s.getNamePath(),$=s.getValue(y),F=s.getValue(k),z=C&&gd(C,V);switch(x.type==="valueUpdate"&&x.source==="external"&&!Mp($,F)&&(s.touched=!0,s.dirty=!0,s.validatePromise=null,s.errors=jo,s.warnings=jo,s.triggerMetaEvent()),x.type){case"reset":if(!C||z){s.touched=!1,s.dirty=!1,s.validatePromise=void 0,s.errors=jo,s.warnings=jo,s.triggerMetaEvent(),A?.(),s.refresh();return}break;case"remove":{if(O){s.reRender();return}break}case"setField":{var I=x.data;if(z){"touched"in I&&(s.touched=I.touched),"validating"in I&&!("originRCField"in I)&&(s.validatePromise=I.validating?Promise.resolve([]):null),"errors"in I&&(s.errors=I.errors||jo),"warnings"in I&&(s.warnings=I.warnings||jo),s.dirty=!0,s.triggerMetaEvent(),s.reRender();return}else if("value"in I&&gd(C,V,!0)){s.reRender();return}if(O&&!V.length&&b_(O,y,k,$,F,x)){s.reRender();return}break}case"dependenciesUpdate":{var H=N.map(la);if(H.some(function(W){return gd(x.relatedFields,W)})){s.reRender();return}break}default:if(z||(!N.length||V.length||O)&&b_(O,y,k,$,F,x)){s.reRender();return}break}O===!0&&s.reRender()}),ue(Cn(s),"validateRules",function(y){var C=s.getNamePath(),x=s.getValue(),R=y||{},O=R.triggerName,D=R.validateOnly,N=D===void 0?!1:D,A=Promise.resolve().then(Bp(gl().mark(function k(){var V,$,F,z,I,H,W;return gl().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(s.mounted){J.next=2;break}return J.abrupt("return",[]);case 2:if(V=s.props,$=V.validateFirst,F=$===void 0?!1:$,z=V.messageVariables,I=V.validateDebounce,H=s.getRules(),O&&(H=H.filter(function(U){return U}).filter(function(U){var q=U.validateTrigger;if(!q)return!0;var te=WC(q);return te.includes(O)})),!(I&&O)){J.next=10;break}return J.next=8,new Promise(function(U){setTimeout(U,I)});case 8:if(s.validatePromise===A){J.next=10;break}return J.abrupt("return",[]);case 10:return W=vI(C,x,H,y,F,z),W.catch(function(U){return U}).then(function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:jo;if(s.validatePromise===A){var q;s.validatePromise=null;var te=[],Y=[];(q=U.forEach)===null||q===void 0||q.call(U,function(Q){var se=Q.rule.warningOnly,ye=Q.errors,de=ye===void 0?jo:ye;se?Y.push.apply(Y,Rt(de)):te.push.apply(te,Rt(de))}),s.errors=te,s.warnings=Y,s.triggerMetaEvent(),s.reRender()}}),J.abrupt("return",W);case 13:case"end":return J.stop()}},k)})));return N||(s.validatePromise=A,s.dirty=!0,s.errors=jo,s.warnings=jo,s.triggerMetaEvent(),s.reRender()),A}),ue(Cn(s),"isFieldValidating",function(){return!!s.validatePromise}),ue(Cn(s),"isFieldTouched",function(){return s.touched}),ue(Cn(s),"isFieldDirty",function(){if(s.dirty||s.props.initialValue!==void 0)return!0;var y=s.props.fieldContext,C=y.getInternalHooks(Lc),x=C.getInitialValue;return x(s.getNamePath())!==void 0}),ue(Cn(s),"getErrors",function(){return s.errors}),ue(Cn(s),"getWarnings",function(){return s.warnings}),ue(Cn(s),"isListField",function(){return s.props.isListField}),ue(Cn(s),"isList",function(){return s.props.isList}),ue(Cn(s),"isPreserve",function(){return s.props.preserve}),ue(Cn(s),"getMeta",function(){s.prevValidating=s.isFieldValidating();var y={touched:s.isFieldTouched(),validating:s.prevValidating,errors:s.errors,warnings:s.warnings,name:s.getNamePath(),validated:s.validatePromise===null};return y}),ue(Cn(s),"getOnlyChild",function(y){if(typeof y=="function"){var C=s.getMeta();return Ce(Ce({},s.getOnlyChild(y(s.getControlled(),C,s.props.fieldContext))),{},{isFunction:!0})}var x=_u(y);return x.length!==1||!E.isValidElement(x[0])?{child:x,isFunction:!1}:{child:x[0],isFunction:!1}}),ue(Cn(s),"getValue",function(y){var C=s.props.fieldContext.getFieldsValue,x=s.getNamePath();return Yl(y||C(!0),x)}),ue(Cn(s),"getControlled",function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=s.props,x=C.name,R=C.trigger,O=C.validateTrigger,D=C.getValueFromEvent,N=C.normalize,A=C.valuePropName,k=C.getValueProps,V=C.fieldContext,$=O!==void 0?O:V.validateTrigger,F=s.getNamePath(),z=V.getInternalHooks,I=V.getFieldsValue,H=z(Lc),W=H.dispatch,Z=s.getValue(),J=k||function(Q){return ue({},A,Q)},U=y[R],q=x!==void 0?J(Z):{};ce.env.NODE_ENV!=="production"&&q&&Object.keys(q).forEach(function(Q){or(typeof q[Q]!="function","It's not recommended to generate dynamic function prop by `getValueProps`. Please pass it to child component directly (prop: ".concat(Q,")"))});var te=Ce(Ce({},y),q);te[R]=function(){s.touched=!0,s.dirty=!0,s.triggerMetaEvent();for(var Q,se=arguments.length,ye=new Array(se),de=0;de<se;de++)ye[de]=arguments[de];D?Q=D.apply(void 0,ye):Q=gI.apply(void 0,[A].concat(ye)),N&&(Q=N(Q,Z,I(!0))),W({type:"updateValue",namePath:F,value:Q}),U&&U.apply(void 0,ye)};var Y=WC($||[]);return Y.forEach(function(Q){var se=te[Q];te[Q]=function(){se&&se.apply(void 0,arguments);var ye=s.props.rules;ye&&ye.length&&W({type:"validateField",namePath:F,triggerName:Q})}}),te}),u.fieldContext){var p=u.fieldContext.getInternalHooks,d=p(Lc),g=d.initEntityValue;g(Cn(s))}return s}return Za(a,[{key:"componentDidMount",value:function(){var s=this.props,p=s.shouldUpdate,d=s.fieldContext;if(this.mounted=!0,d){var g=d.getInternalHooks,y=g(Lc),C=y.registerField;this.cancelRegisterFunc=C(this)}p===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var s=this.state.resetCount,p=this.props.children,d=this.getOnlyChild(p),g=d.child,y=d.isFunction,C;return y?C=g:E.isValidElement(g)?C=E.cloneElement(g,this.getControlled(g.props)):(or(!g,"`children` of Field is not validate ReactElement."),C=g),E.createElement(E.Fragment,{key:s},C)}}]),a}(E.Component);ue(tE,"contextType",hd),ue(tE,"defaultProps",{trigger:"onChange",valuePropName:"value"});function S_(n){var i=n.name,a=wr(n,yI),u=E.useContext(hd),s=E.useContext(ry),p=i!==void 0?la(i):void 0,d="keep";return a.isListField||(d="_".concat((p||[]).join("_"))),ce.env.NODE_ENV!=="production"&&a.preserve===!1&&a.isListField&&p.length<=1&&or(!1,"`preserve` should not apply on Form.List fields."),E.createElement(tE,Sn({key:d,name:p,isListField:!!s},a,{fieldContext:u}))}function bI(n){var i=n.name,a=n.initialValue,u=n.children,s=n.rules,p=n.validateTrigger,d=n.isListField,g=E.useContext(hd),y=E.useContext(ry),C=E.useRef({keys:[],id:0}),x=C.current,R=E.useMemo(function(){var A=la(g.prefixName)||[];return[].concat(Rt(A),Rt(la(i)))},[g.prefixName,i]),O=E.useMemo(function(){return Ce(Ce({},g),{},{prefixName:R})},[g,R]),D=E.useMemo(function(){return{getKey:function(k){var V=R.length,$=k[V];return[x.keys[$],k.slice(V+1)]}}},[R]);if(typeof u!="function")return or(!1,"Form.List only accepts function as children."),null;var N=function(k,V,$){var F=$.source;return F==="internal"?!1:k!==V};return E.createElement(ry.Provider,{value:D},E.createElement(hd.Provider,{value:O},E.createElement(S_,{name:[],shouldUpdate:N,rules:s,validateTrigger:p,initialValue:a,isList:!0,isListField:d??!!y},function(A,k){var V=A.value,$=V===void 0?[]:V,F=A.onChange,z=g.getFieldValue,I=function(){var J=z(R||[]);return J||[]},H={add:function(J,U){var q=I();U>=0&&U<=q.length?(x.keys=[].concat(Rt(x.keys.slice(0,U)),[x.id],Rt(x.keys.slice(U))),F([].concat(Rt(q.slice(0,U)),[J],Rt(q.slice(U))))):(ce.env.NODE_ENV!=="production"&&(U<0||U>q.length)&&or(!1,"The second parameter of the add function should be a valid positive number."),x.keys=[].concat(Rt(x.keys),[x.id]),F([].concat(Rt(q),[J]))),x.id+=1},remove:function(J){var U=I(),q=new Set(Array.isArray(J)?J:[J]);q.size<=0||(x.keys=x.keys.filter(function(te,Y){return!q.has(Y)}),F(U.filter(function(te,Y){return!q.has(Y)})))},move:function(J,U){if(J!==U){var q=I();J<0||J>=q.length||U<0||U>=q.length||(x.keys=y_(x.keys,J,U),F(y_(q,J,U)))}}},W=$||[];return Array.isArray(W)||(W=[],ce.env.NODE_ENV!=="production"&&or(!1,"Current value of '".concat(R.join(" > "),"' is not an array type."))),u(W.map(function(Z,J){var U=x.keys[J];return U===void 0&&(x.keys[J]=x.id,U=x.keys[J],x.id+=1),{name:J,key:U,isListField:!0}}),H,k)})))}function SI(n){var i=!1,a=n.length,u=[];return n.length?new Promise(function(s,p){n.forEach(function(d,g){d.catch(function(y){return i=!0,y}).then(function(y){a-=1,u[g]=y,!(a>0)&&(i&&p(u),s(u))})})}):Promise.resolve([])}var C_="__@field_split__";function nE(n){return n.map(function(i){return"".concat(Zt(i),":").concat(i)}).join(C_)}var yd=function(){function n(){Qa(this,n),ue(this,"kvs",new Map)}return Za(n,[{key:"set",value:function(a,u){this.kvs.set(nE(a),u)}},{key:"get",value:function(a){return this.kvs.get(nE(a))}},{key:"update",value:function(a,u){var s=this.get(a),p=u(s);p?this.set(a,p):this.delete(a)}},{key:"delete",value:function(a){this.kvs.delete(nE(a))}},{key:"map",value:function(a){return Rt(this.kvs.entries()).map(function(u){var s=Ve(u,2),p=s[0],d=s[1],g=p.split(C_);return a({key:g.map(function(y){var C=y.match(/^([^:]*):(.*)$/),x=Ve(C,3),R=x[1],O=x[2];return R==="number"?Number(O):O}),value:d})})}},{key:"toJSON",value:function(){var a={};return this.map(function(u){var s=u.key,p=u.value;return a[s.join(".")]=p,null}),a}}]),n}(),CI=["name"],EI=Za(function n(i){var a=this;Qa(this,n),ue(this,"formHooked",!1),ue(this,"forceRootUpdate",void 0),ue(this,"subscribable",!0),ue(this,"store",{}),ue(this,"fieldEntities",[]),ue(this,"initialValues",{}),ue(this,"callbacks",{}),ue(this,"validateMessages",null),ue(this,"preserve",null),ue(this,"lastValidatePromise",null),ue(this,"getForm",function(){return{getFieldValue:a.getFieldValue,getFieldsValue:a.getFieldsValue,getFieldError:a.getFieldError,getFieldWarning:a.getFieldWarning,getFieldsError:a.getFieldsError,isFieldsTouched:a.isFieldsTouched,isFieldTouched:a.isFieldTouched,isFieldValidating:a.isFieldValidating,isFieldsValidating:a.isFieldsValidating,resetFields:a.resetFields,setFields:a.setFields,setFieldValue:a.setFieldValue,setFieldsValue:a.setFieldsValue,validateFields:a.validateFields,submit:a.submit,_init:!0,getInternalHooks:a.getInternalHooks}}),ue(this,"getInternalHooks",function(u){return u===Lc?(a.formHooked=!0,{dispatch:a.dispatch,initEntityValue:a.initEntityValue,registerField:a.registerField,useSubscribe:a.useSubscribe,setInitialValues:a.setInitialValues,destroyForm:a.destroyForm,setCallbacks:a.setCallbacks,setValidateMessages:a.setValidateMessages,getFields:a.getFields,setPreserve:a.setPreserve,getInitialValue:a.getInitialValue,registerWatch:a.registerWatch}):(or(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),ue(this,"useSubscribe",function(u){a.subscribable=u}),ue(this,"prevWithoutPreserves",null),ue(this,"setInitialValues",function(u,s){if(a.initialValues=u||{},s){var p,d=sd(u,a.store);(p=a.prevWithoutPreserves)===null||p===void 0||p.map(function(g){var y=g.key;d=vl(d,y,Yl(u,y))}),a.prevWithoutPreserves=null,a.updateStore(d)}}),ue(this,"destroyForm",function(u){if(u)a.updateStore({});else{var s=new yd;a.getFieldEntities(!0).forEach(function(p){a.isMergedPreserve(p.isPreserve())||s.set(p.getNamePath(),!0)}),a.prevWithoutPreserves=s}}),ue(this,"getInitialValue",function(u){var s=Yl(a.initialValues,u);return u.length?sd(s):s}),ue(this,"setCallbacks",function(u){a.callbacks=u}),ue(this,"setValidateMessages",function(u){a.validateMessages=u}),ue(this,"setPreserve",function(u){a.preserve=u}),ue(this,"watchList",[]),ue(this,"registerWatch",function(u){return a.watchList.push(u),function(){a.watchList=a.watchList.filter(function(s){return s!==u})}}),ue(this,"notifyWatch",function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(a.watchList.length){var s=a.getFieldsValue(),p=a.getFieldsValue(!0);a.watchList.forEach(function(d){d(s,p,u)})}}),ue(this,"timeoutId",null),ue(this,"warningUnhooked",function(){ce.env.NODE_ENV!=="production"&&!a.timeoutId&&typeof window<"u"&&(a.timeoutId=setTimeout(function(){a.timeoutId=null,a.formHooked||or(!1,"Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?")}))}),ue(this,"updateStore",function(u){a.store=u}),ue(this,"getFieldEntities",function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return u?a.fieldEntities.filter(function(s){return s.getNamePath().length}):a.fieldEntities}),ue(this,"getFieldsMap",function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,s=new yd;return a.getFieldEntities(u).forEach(function(p){var d=p.getNamePath();s.set(d,p)}),s}),ue(this,"getFieldEntitiesForNamePathList",function(u){if(!u)return a.getFieldEntities(!0);var s=a.getFieldsMap(!0);return u.map(function(p){var d=la(p);return s.get(d)||{INVALIDATE_NAME_PATH:la(p)}})}),ue(this,"getFieldsValue",function(u,s){a.warningUnhooked();var p,d,g;if(u===!0||Array.isArray(u)?(p=u,d=s):u&&Zt(u)==="object"&&(g=u.strict,d=u.filter),p===!0&&!d)return a.store;var y=a.getFieldEntitiesForNamePathList(Array.isArray(p)?p:null),C=[];return y.forEach(function(x){var R,O,D="INVALIDATE_NAME_PATH"in x?x.INVALIDATE_NAME_PATH:x.getNamePath();if(g){var N,A;if((N=(A=x).isList)!==null&&N!==void 0&&N.call(A))return}else if(!p&&(R=(O=x).isListField)!==null&&R!==void 0&&R.call(O))return;if(!d)C.push(D);else{var k="getMeta"in x?x.getMeta():null;d(k)&&C.push(D)}}),m_(a.store,C.map(la))}),ue(this,"getFieldValue",function(u){a.warningUnhooked();var s=la(u);return Yl(a.store,s)}),ue(this,"getFieldsError",function(u){a.warningUnhooked();var s=a.getFieldEntitiesForNamePathList(u);return s.map(function(p,d){return p&&!("INVALIDATE_NAME_PATH"in p)?{name:p.getNamePath(),errors:p.getErrors(),warnings:p.getWarnings()}:{name:la(u[d]),errors:[],warnings:[]}})}),ue(this,"getFieldError",function(u){a.warningUnhooked();var s=la(u),p=a.getFieldsError([s])[0];return p.errors}),ue(this,"getFieldWarning",function(u){a.warningUnhooked();var s=la(u),p=a.getFieldsError([s])[0];return p.warnings}),ue(this,"isFieldsTouched",function(){a.warningUnhooked();for(var u=arguments.length,s=new Array(u),p=0;p<u;p++)s[p]=arguments[p];var d=s[0],g=s[1],y,C=!1;s.length===0?y=null:s.length===1?Array.isArray(d)?(y=d.map(la),C=!1):(y=null,C=d):(y=d.map(la),C=g);var x=a.getFieldEntities(!0),R=function(k){return k.isFieldTouched()};if(!y)return C?x.every(function(A){return R(A)||A.isList()}):x.some(R);var O=new yd;y.forEach(function(A){O.set(A,[])}),x.forEach(function(A){var k=A.getNamePath();y.forEach(function(V){V.every(function($,F){return k[F]===$})&&O.update(V,function($){return[].concat(Rt($),[A])})})});var D=function(k){return k.some(R)},N=O.map(function(A){var k=A.value;return k});return C?N.every(D):N.some(D)}),ue(this,"isFieldTouched",function(u){return a.warningUnhooked(),a.isFieldsTouched([u])}),ue(this,"isFieldsValidating",function(u){a.warningUnhooked();var s=a.getFieldEntities();if(!u)return s.some(function(d){return d.isFieldValidating()});var p=u.map(la);return s.some(function(d){var g=d.getNamePath();return gd(p,g)&&d.isFieldValidating()})}),ue(this,"isFieldValidating",function(u){return a.warningUnhooked(),a.isFieldsValidating([u])}),ue(this,"resetWithFieldInitialValue",function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=new yd,p=a.getFieldEntities(!0);p.forEach(function(y){var C=y.props.initialValue,x=y.getNamePath();if(C!==void 0){var R=s.get(x)||new Set;R.add({entity:y,value:C}),s.set(x,R)}});var d=function(C){C.forEach(function(x){var R=x.props.initialValue;if(R!==void 0){var O=x.getNamePath(),D=a.getInitialValue(O);if(D!==void 0)or(!1,"Form already set 'initialValues' with path '".concat(O.join("."),"'. Field can not overwrite it."));else{var N=s.get(O);if(N&&N.size>1)or(!1,"Multiple Field with path '".concat(O.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(N){var A=a.getFieldValue(O),k=x.isListField();!k&&(!u.skipExist||A===void 0)&&a.updateStore(vl(a.store,O,Rt(N)[0].value))}}}})},g;u.entities?g=u.entities:u.namePathList?(g=[],u.namePathList.forEach(function(y){var C=s.get(y);if(C){var x;(x=g).push.apply(x,Rt(Rt(C).map(function(R){return R.entity})))}})):g=p,d(g)}),ue(this,"resetFields",function(u){a.warningUnhooked();var s=a.store;if(!u){a.updateStore(sd(a.initialValues)),a.resetWithFieldInitialValue(),a.notifyObservers(s,null,{type:"reset"}),a.notifyWatch();return}var p=u.map(la);p.forEach(function(d){var g=a.getInitialValue(d);a.updateStore(vl(a.store,d,g))}),a.resetWithFieldInitialValue({namePathList:p}),a.notifyObservers(s,p,{type:"reset"}),a.notifyWatch(p)}),ue(this,"setFields",function(u){a.warningUnhooked();var s=a.store,p=[];u.forEach(function(d){var g=d.name,y=wr(d,CI),C=la(g);p.push(C),"value"in y&&a.updateStore(vl(a.store,C,y.value)),a.notifyObservers(s,[C],{type:"setField",data:d})}),a.notifyWatch(p)}),ue(this,"getFields",function(){var u=a.getFieldEntities(!0),s=u.map(function(p){var d=p.getNamePath(),g=p.getMeta(),y=Ce(Ce({},g),{},{name:d,value:a.getFieldValue(d)});return Object.defineProperty(y,"originRCField",{value:!0}),y});return s}),ue(this,"initEntityValue",function(u){var s=u.props.initialValue;if(s!==void 0){var p=u.getNamePath(),d=Yl(a.store,p);d===void 0&&a.updateStore(vl(a.store,p,s))}}),ue(this,"isMergedPreserve",function(u){var s=u!==void 0?u:a.preserve;return s??!0}),ue(this,"registerField",function(u){a.fieldEntities.push(u);var s=u.getNamePath();if(a.notifyWatch([s]),u.props.initialValue!==void 0){var p=a.store;a.resetWithFieldInitialValue({entities:[u],skipExist:!0}),a.notifyObservers(p,[u.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(d,g){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(a.fieldEntities=a.fieldEntities.filter(function(R){return R!==u}),!a.isMergedPreserve(g)&&(!d||y.length>1)){var C=d?void 0:a.getInitialValue(s);if(s.length&&a.getFieldValue(s)!==C&&a.fieldEntities.every(function(R){return!g_(R.getNamePath(),s)})){var x=a.store;a.updateStore(vl(x,s,C,!0)),a.notifyObservers(x,[s],{type:"remove"}),a.triggerDependenciesUpdate(x,s)}}a.notifyWatch([s])}}),ue(this,"dispatch",function(u){switch(u.type){case"updateValue":{var s=u.namePath,p=u.value;a.updateValue(s,p);break}case"validateField":{var d=u.namePath,g=u.triggerName;a.validateFields([d],{triggerName:g});break}}}),ue(this,"notifyObservers",function(u,s,p){if(a.subscribable){var d=Ce(Ce({},p),{},{store:a.getFieldsValue(!0)});a.getFieldEntities().forEach(function(g){var y=g.onStoreChange;y(u,s,d)})}else a.forceRootUpdate()}),ue(this,"triggerDependenciesUpdate",function(u,s){var p=a.getDependencyChildrenFields(s);return p.length&&a.validateFields(p),a.notifyObservers(u,p,{type:"dependenciesUpdate",relatedFields:[s].concat(Rt(p))}),p}),ue(this,"updateValue",function(u,s){var p=la(u),d=a.store;a.updateStore(vl(a.store,p,s)),a.notifyObservers(d,[p],{type:"valueUpdate",source:"internal"}),a.notifyWatch([p]);var g=a.triggerDependenciesUpdate(d,p),y=a.callbacks.onValuesChange;if(y){var C=m_(a.store,[p]);y(C,a.getFieldsValue())}a.triggerOnFieldsChange([p].concat(Rt(g)))}),ue(this,"setFieldsValue",function(u){a.warningUnhooked();var s=a.store;if(u){var p=sd(a.store,u);a.updateStore(p)}a.notifyObservers(s,null,{type:"valueUpdate",source:"external"}),a.notifyWatch()}),ue(this,"setFieldValue",function(u,s){a.setFields([{name:u,value:s}])}),ue(this,"getDependencyChildrenFields",function(u){var s=new Set,p=[],d=new yd;a.getFieldEntities().forEach(function(y){var C=y.props.dependencies;(C||[]).forEach(function(x){var R=la(x);d.update(R,function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return O.add(y),O})})});var g=function y(C){var x=d.get(C)||new Set;x.forEach(function(R){if(!s.has(R)){s.add(R);var O=R.getNamePath();R.isFieldDirty()&&O.length&&(p.push(O),y(O))}})};return g(u),p}),ue(this,"triggerOnFieldsChange",function(u,s){var p=a.callbacks.onFieldsChange;if(p){var d=a.getFields();if(s){var g=new yd;s.forEach(function(C){var x=C.name,R=C.errors;g.set(x,R)}),d.forEach(function(C){C.errors=g.get(C.name)||C.errors})}var y=d.filter(function(C){var x=C.name;return gd(u,x)});y.length&&p(y,d)}}),ue(this,"validateFields",function(u,s){a.warningUnhooked();var p,d;Array.isArray(u)||typeof u=="string"||typeof s=="string"?(p=u,d=s):d=u;var g=!!p,y=g?p.map(la):[],C=[],x=String(Date.now()),R=new Set,O=d||{},D=O.recursive,N=O.dirty;a.getFieldEntities(!0).forEach(function($){if(g||y.push($.getNamePath()),!(!$.props.rules||!$.props.rules.length)&&!(N&&!$.isFieldDirty())){var F=$.getNamePath();if(R.add(F.join(x)),!g||gd(y,F,D)){var z=$.validateRules(Ce({validateMessages:Ce(Ce({},v_),a.validateMessages)},d));C.push(z.then(function(){return{name:F,errors:[],warnings:[]}}).catch(function(I){var H,W=[],Z=[];return(H=I.forEach)===null||H===void 0||H.call(I,function(J){var U=J.rule.warningOnly,q=J.errors;U?Z.push.apply(Z,Rt(q)):W.push.apply(W,Rt(q))}),W.length?Promise.reject({name:F,errors:W,warnings:Z}):{name:F,errors:W,warnings:Z}}))}}});var A=SI(C);a.lastValidatePromise=A,A.catch(function($){return $}).then(function($){var F=$.map(function(z){var I=z.name;return I});a.notifyObservers(a.store,F,{type:"validateFinish"}),a.triggerOnFieldsChange(F,$)});var k=A.then(function(){return a.lastValidatePromise===A?Promise.resolve(a.getFieldsValue(y)):Promise.reject([])}).catch(function($){var F=$.filter(function(z){return z&&z.errors.length});return Promise.reject({values:a.getFieldsValue(y),errorFields:F,outOfDate:a.lastValidatePromise!==A})});k.catch(function($){return $});var V=y.filter(function($){return R.has($.join(x))});return a.triggerOnFieldsChange(V),k}),ue(this,"submit",function(){a.warningUnhooked(),a.validateFields().then(function(u){var s=a.callbacks.onFinish;if(s)try{s(u)}catch(p){console.error(p)}}).catch(function(u){var s=a.callbacks.onFinishFailed;s&&s(u)})}),this.forceRootUpdate=i});function E_(n){var i=E.useRef(),a=E.useState({}),u=Ve(a,2),s=u[1];if(!i.current)if(n)i.current=n;else{var p=function(){s({})},d=new EI(p);i.current=d.getForm()}return[i.current]}var rE=E.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),wI=function(i){var a=i.validateMessages,u=i.onFormChange,s=i.onFormFinish,p=i.children,d=E.useContext(rE),g=E.useRef({});return E.createElement(rE.Provider,{value:Ce(Ce({},d),{},{validateMessages:Ce(Ce({},d.validateMessages),a),triggerFormChange:function(C,x){u&&u(C,{changedFields:x,forms:g.current}),d.triggerFormChange(C,x)},triggerFormFinish:function(C,x){s&&s(C,{values:x,forms:g.current}),d.triggerFormFinish(C,x)},registerForm:function(C,x){C&&(g.current=Ce(Ce({},g.current),{},ue({},C,x))),d.registerForm(C,x)},unregisterForm:function(C){var x=Ce({},g.current);delete x[C],g.current=x,d.unregisterForm(C)}})},p)},xI=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],RI=function(i,a){var u=i.name,s=i.initialValues,p=i.fields,d=i.form,g=i.preserve,y=i.children,C=i.component,x=C===void 0?"form":C,R=i.validateMessages,O=i.validateTrigger,D=O===void 0?"onChange":O,N=i.onValuesChange,A=i.onFieldsChange,k=i.onFinish,V=i.onFinishFailed,$=i.clearOnDestroy,F=wr(i,xI),z=E.useRef(null),I=E.useContext(rE),H=E_(d),W=Ve(H,1),Z=W[0],J=Z.getInternalHooks(Lc),U=J.useSubscribe,q=J.setInitialValues,te=J.setCallbacks,Y=J.setValidateMessages,Q=J.setPreserve,se=J.destroyForm;E.useImperativeHandle(a,function(){return Ce(Ce({},Z),{},{nativeElement:z.current})}),E.useEffect(function(){return I.registerForm(u,Z),function(){I.unregisterForm(u)}},[I,Z,u]),Y(Ce(Ce({},I.validateMessages),R)),te({onValuesChange:N,onFieldsChange:function(we){if(I.triggerFormChange(u,we),A){for(var Pe=arguments.length,Fe=new Array(Pe>1?Pe-1:0),Le=1;Le<Pe;Le++)Fe[Le-1]=arguments[Le];A.apply(void 0,[we].concat(Fe))}},onFinish:function(we){I.triggerFormFinish(u,we),k&&k(we)},onFinishFailed:V}),Q(g);var ye=E.useRef(null);q(s,!ye.current),ye.current||(ye.current=!0),E.useEffect(function(){return function(){return se($)}},[]);var de,ne=typeof y=="function";if(ne){var me=Z.getFieldsValue(!0);de=y(me,Z)}else de=y;U(!ne);var le=E.useRef();E.useEffect(function(){mI(le.current||[],p||[])||Z.setFields(p||[]),le.current=p},[p,Z]);var B=E.useMemo(function(){return Ce(Ce({},Z),{},{validateTrigger:D})},[Z,D]),re=E.createElement(ry.Provider,{value:null},E.createElement(hd.Provider,{value:B},de));return x===!1?re:E.createElement(x,Sn({},F,{ref:z,onSubmit:function(we){we.preventDefault(),we.stopPropagation(),Z.submit()},onReset:function(we){var Pe;we.preventDefault(),Z.resetFields(),(Pe=F.onReset)===null||Pe===void 0||Pe.call(F,we)}}),re)};function w_(n){try{return JSON.stringify(n)}catch{return Math.random()}}var TI=ce.env.NODE_ENV!=="production"?function(n){var i=n.join("__RC_FIELD_FORM_SPLIT__"),a=E.useRef(i);or(a.current===i,"`useWatch` is not support dynamic `namePath`. Please provide static instead.")}:function(){};function OI(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var u=i[0],s=i[1],p=s===void 0?{}:s,d=$F(p)?{form:p}:p,g=d.form,y=E.useState(),C=Ve(y,2),x=C[0],R=C[1],O=E.useMemo(function(){return w_(x)},[x]),D=E.useRef(O);D.current=O;var N=E.useContext(hd),A=g||N,k=A&&A._init;ce.env.NODE_ENV!=="production"&&or(i.length===2?g?k:!0:k,"useWatch requires a form instance since it can not auto detect from context.");var V=la(u),$=E.useRef(V);return $.current=V,TI(V),E.useEffect(function(){if(k){var F=A.getFieldsValue,z=A.getInternalHooks,I=z(Lc),H=I.registerWatch,W=function(q,te){var Y=d.preserve?te:q;return typeof u=="function"?u(Y):Yl(Y,$.current)},Z=H(function(U,q){var te=W(U,q),Y=w_(te);D.current!==Y&&(D.current=Y,R(te))}),J=W(F(),F(!0));return x!==J&&R(J),Z}},[k]),x}var _I=E.forwardRef(RI),qp=_I;qp.FormProvider=wI,qp.Field=S_,qp.List=bI,qp.useForm=E_,qp.useWatch=OI;const aE=E.createContext({});ce.env.NODE_ENV!=="production"&&(aE.displayName="FormItemInputContext");const kI=n=>{let{children:i,status:a,override:u}=n;const s=E.useContext(aE),p=E.useMemo(()=>{const d=Object.assign({},s);return u&&delete d.isFormItemInput,a&&(delete d.status,delete d.hasFeedback,delete d.feedbackIcon),d},[a,u,s]);return E.createElement(aE.Provider,{value:p},i)},x_=n=>{const{space:i,form:a,children:u}=n;if(u==null)return null;let s=u;return a&&(s=Rn.createElement(kI,{override:!0,status:!0},s)),i&&(s=Rn.createElement(xF,null,s)),s},MI=n=>({[n.componentCls]:{[`${n.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${n.motionDurationMid} ${n.motionEaseInOut},
347
- opacity ${n.motionDurationMid} ${n.motionEaseInOut} !important`}},[`${n.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${n.motionDurationMid} ${n.motionEaseInOut},
348
- opacity ${n.motionDurationMid} ${n.motionEaseInOut} !important`}}}),NI=n=>({animationDuration:n,animationFillMode:"both"}),DI=n=>({animationDuration:n,animationFillMode:"both"}),iE=function(n,i,a,u){const p=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
349
- ${p}${n}-enter,
350
- ${p}${n}-appear
351
- `]:Object.assign(Object.assign({},NI(u)),{animationPlayState:"paused"}),[`${p}${n}-leave`]:Object.assign(Object.assign({},DI(u)),{animationPlayState:"paused"}),[`
352
- ${p}${n}-enter${n}-enter-active,
353
- ${p}${n}-appear${n}-appear-active
354
- `]:{animationName:i,animationPlayState:"running"},[`${p}${n}-leave${n}-leave-active`]:{animationName:a,animationPlayState:"running",pointerEvents:"none"}}},PI=new gr("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),AI=new gr("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),$I=new gr("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),LI=new gr("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),FI=new gr("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),II=new gr("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),zI=new gr("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),jI=new gr("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),VI={"move-up":{inKeyframes:zI,outKeyframes:jI},"move-down":{inKeyframes:PI,outKeyframes:AI},"move-left":{inKeyframes:$I,outKeyframes:LI},"move-right":{inKeyframes:FI,outKeyframes:II}},R_=(n,i)=>{const{antCls:a}=n,u=`${a}-${i}`,{inKeyframes:s,outKeyframes:p}=VI[i];return[iE(u,s,p,n.motionDurationMid),{[`
355
- ${u}-enter,
356
- ${u}-appear
357
- `]:{opacity:0,animationTimingFunction:n.motionEaseOutCirc},[`${u}-leave`]:{animationTimingFunction:n.motionEaseInOutCirc}}]},T_=new gr("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),O_=new gr("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),__=new gr("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),k_=new gr("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),HI=new gr("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),UI=new gr("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),BI=new gr("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),WI=new gr("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),YI={"slide-up":{inKeyframes:T_,outKeyframes:O_},"slide-down":{inKeyframes:__,outKeyframes:k_},"slide-left":{inKeyframes:HI,outKeyframes:UI},"slide-right":{inKeyframes:BI,outKeyframes:WI}},iy=(n,i)=>{const{antCls:a}=n,u=`${a}-${i}`,{inKeyframes:s,outKeyframes:p}=YI[i];return[iE(u,s,p,n.motionDurationMid),{[`
358
- ${u}-enter,
359
- ${u}-appear
360
- `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:n.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${u}-leave`]:{animationTimingFunction:n.motionEaseInQuint}}]},KI=new gr("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),qI=new gr("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),M_=new gr("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),N_=new gr("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),GI=new gr("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),XI=new gr("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),QI=new gr("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),ZI=new gr("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),JI=new gr("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),ez=new gr("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),tz=new gr("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),nz=new gr("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),rz={zoom:{inKeyframes:KI,outKeyframes:qI},"zoom-big":{inKeyframes:M_,outKeyframes:N_},"zoom-big-fast":{inKeyframes:M_,outKeyframes:N_},"zoom-left":{inKeyframes:QI,outKeyframes:ZI},"zoom-right":{inKeyframes:JI,outKeyframes:ez},"zoom-up":{inKeyframes:GI,outKeyframes:XI},"zoom-down":{inKeyframes:tz,outKeyframes:nz}},oE=(n,i)=>{const{antCls:a}=n,u=`${a}-${i}`,{inKeyframes:s,outKeyframes:p}=rz[i];return[iE(u,s,p,i==="zoom-big-fast"?n.motionDurationFast:n.motionDurationMid),{[`
361
- ${u}-enter,
362
- ${u}-appear
363
- `]:{transform:"scale(0)",opacity:0,animationTimingFunction:n.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${u}-leave`]:{animationTimingFunction:n.motionEaseInOutCirc}}]};function az(n){return i=>E.createElement(Ac,{theme:{token:{motion:!1,zIndexPopupBase:0}}},E.createElement(n,Object.assign({},i)))}const iz=(n,i,a,u)=>az(p=>{const{prefixCls:d,style:g}=p,y=E.useRef(null),[C,x]=E.useState(0),[R,O]=E.useState(0),[D,N]=Dc(!1,{value:p.open}),{getPrefixCls:A}=E.useContext(yi),k=A(i,d);E.useEffect(()=>{if(N(!0),typeof ResizeObserver<"u"){const F=new ResizeObserver(I=>{const H=I[0].target;x(H.offsetHeight+8),O(H.offsetWidth)}),z=setInterval(()=>{var I;const H=a?`.${a(k)}`:`.${k}-dropdown`,W=(I=y.current)===null||I===void 0?void 0:I.querySelector(H);W&&(clearInterval(z),F.observe(W))},10);return()=>{clearInterval(z),F.disconnect()}}},[]);let V=Object.assign(Object.assign({},p),{style:Object.assign(Object.assign({},g),{margin:0}),open:D,visible:D,getPopupContainer:()=>y.current});u&&(V=u(V));const $={paddingBottom:C,position:"relative",minWidth:R};return E.createElement("div",{ref:y,style:$},E.createElement(n,Object.assign({},V)))}),oz=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var n=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(n?.substr(0,4))};var lz=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],bd=void 0;function uz(n,i){var a=n.prefixCls,u=n.invalidate,s=n.item,p=n.renderItem,d=n.responsive,g=n.responsiveDisabled,y=n.registerSize,C=n.itemKey,x=n.className,R=n.style,O=n.children,D=n.display,N=n.order,A=n.component,k=A===void 0?"div":A,V=wr(n,lz),$=d&&!D;function F(Z){y(C,Z)}E.useEffect(function(){return function(){F(null)}},[]);var z=p&&s!==bd?p(s,{index:N}):O,I;u||(I={opacity:$?0:1,height:$?0:bd,overflowY:$?"hidden":bd,order:d?N:bd,pointerEvents:$?"none":bd,position:$?"absolute":bd});var H={};$&&(H["aria-hidden"]=!0);var W=E.createElement(k,Sn({className:fn(!u&&a,x),style:Ce(Ce({},I),R)},H,V,{ref:i}),z);return d&&(W=E.createElement(rd,{onResize:function(J){var U=J.offsetWidth;F(U)},disabled:g},W)),W}var Gp=E.forwardRef(uz);Gp.displayName="Item";function sz(n){if(typeof MessageChannel>"u")sl(n);else{var i=new MessageChannel;i.port1.onmessage=function(){return n()},i.port2.postMessage(void 0)}}function cz(){var n=E.useRef(null),i=function(u){n.current||(n.current=[],sz(function(){gg.unstable_batchedUpdates(function(){n.current.forEach(function(s){s()}),n.current=null})})),n.current.push(u)};return i}function Xp(n,i){var a=E.useState(i),u=Ve(a,2),s=u[0],p=u[1],d=Ii(function(g){n(function(){p(g)})});return[s,d]}var oy=Rn.createContext(null),fz=["component"],dz=["className"],vz=["className"],pz=function(i,a){var u=E.useContext(oy);if(!u){var s=i.component,p=s===void 0?"div":s,d=wr(i,fz);return E.createElement(p,Sn({},d,{ref:a}))}var g=u.className,y=wr(u,dz),C=i.className,x=wr(i,vz);return E.createElement(oy.Provider,{value:null},E.createElement(Gp,Sn({ref:a,className:fn(g,C)},y,x)))},D_=E.forwardRef(pz);D_.displayName="RawItem";var hz=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],P_="responsive",A_="invalidate";function mz(n){return"+ ".concat(n.length," ...")}function gz(n,i){var a=n.prefixCls,u=a===void 0?"rc-overflow":a,s=n.data,p=s===void 0?[]:s,d=n.renderItem,g=n.renderRawItem,y=n.itemKey,C=n.itemWidth,x=C===void 0?10:C,R=n.ssr,O=n.style,D=n.className,N=n.maxCount,A=n.renderRest,k=n.renderRawRest,V=n.suffix,$=n.component,F=$===void 0?"div":$,z=n.itemComponent,I=n.onVisibleChange,H=wr(n,hz),W=R==="full",Z=cz(),J=Xp(Z,null),U=Ve(J,2),q=U[0],te=U[1],Y=q||0,Q=Xp(Z,new Map),se=Ve(Q,2),ye=se[0],de=se[1],ne=Xp(Z,0),me=Ve(ne,2),le=me[0],B=me[1],re=Xp(Z,0),xe=Ve(re,2),we=xe[0],Pe=xe[1],Fe=Xp(Z,0),Le=Ve(Fe,2),He=Le[0],Be=Le[1],ot=E.useState(null),tt=Ve(ot,2),bt=tt[0],St=tt[1],_e=E.useState(null),mt=Ve(_e,2),st=mt[0],yn=mt[1],rn=E.useMemo(function(){return st===null&&W?Number.MAX_SAFE_INTEGER:st||0},[st,q]),pn=E.useState(!1),en=Ve(pn,2),pt=en[0],jt=en[1],Ke="".concat(u,"-item"),an=Math.max(le,we),Mt=N===P_,Nt=p.length&&Mt,Kn=N===A_,nr=Nt||typeof N=="number"&&p.length>N,rr=E.useMemo(function(){var ht=p;return Nt?q===null&&W?ht=p:ht=p.slice(0,Math.min(p.length,Y/x)):typeof N=="number"&&(ht=p.slice(0,N)),ht},[p,x,q,N,Nt]),Ie=E.useMemo(function(){return Nt?p.slice(rn+1):p.slice(rr.length)},[p,rr,Nt,rn]),Xe=E.useCallback(function(ht,Ye){var wt;return typeof y=="function"?y(ht):(wt=y&&ht?.[y])!==null&&wt!==void 0?wt:Ye},[y]),ut=E.useCallback(d||function(ht){return ht},[d]);function Et(ht,Ye,wt){st===ht&&(Ye===void 0||Ye===bt)||(yn(ht),wt||(jt(ht<p.length-1),I?.(ht)),Ye!==void 0&&St(Ye))}function Ut(ht,Ye){te(Ye.clientWidth)}function bn(ht,Ye){de(function(wt){var nn=new Map(wt);return Ye===null?nn.delete(ht):nn.set(ht,Ye),nn})}function Yt(ht,Ye){Pe(Ye),B(we)}function Dt(ht,Ye){Be(Ye)}function Jt(ht){return ye.get(Xe(rr[ht],ht))}gi(function(){if(Y&&typeof an=="number"&&rr){var ht=He,Ye=rr.length,wt=Ye-1;if(!Ye){Et(0,null);return}for(var nn=0;nn<Ye;nn+=1){var Ft=Jt(nn);if(W&&(Ft=Ft||0),Ft===void 0){Et(nn-1,void 0,!0);break}if(ht+=Ft,wt===0&&ht<=Y||nn===wt-1&&ht+Jt(wt)<=Y){Et(wt,null);break}else if(ht+an>Y){Et(nn-1,ht-Ft-He+we);break}}V&&Jt(0)+He>Y&&St(null)}},[Y,ye,we,He,Xe,rr]);var on=pt&&!!Ie.length,ln={};bt!==null&&Nt&&(ln={position:"absolute",left:bt,top:0});var qn={prefixCls:Ke,responsive:Nt,component:z,invalidate:Kn},ar=g?function(ht,Ye){var wt=Xe(ht,Ye);return E.createElement(oy.Provider,{key:wt,value:Ce(Ce({},qn),{},{order:Ye,item:ht,itemKey:wt,registerSize:bn,display:Ye<=rn})},g(ht,Ye))}:function(ht,Ye){var wt=Xe(ht,Ye);return E.createElement(Gp,Sn({},qn,{order:Ye,key:wt,item:ht,renderItem:ut,itemKey:wt,registerSize:bn,display:Ye<=rn}))},In={order:on?rn:Number.MAX_SAFE_INTEGER,className:"".concat(Ke,"-rest"),registerSize:Yt,display:on},kn=A||mz,Or=k?E.createElement(oy.Provider,{value:Ce(Ce({},qn),In)},k(Ie)):E.createElement(Gp,Sn({},qn,In),typeof kn=="function"?kn(Ie):kn),Tn=E.createElement(F,Sn({className:fn(!Kn&&u,D),style:O,ref:i},H),rr.map(ar),nr?Or:null,V&&E.createElement(Gp,Sn({},qn,{responsive:Mt,responsiveDisabled:!Nt,order:rn,className:"".concat(Ke,"-suffix"),registerSize:Dt,display:!0,style:ln}),V));return Mt?E.createElement(rd,{onResize:Ut,disabled:!Nt},Tn):Tn}var $u=E.forwardRef(gz);$u.displayName="Overflow",$u.Item=D_,$u.RESPONSIVE=P_,$u.INVALIDATE=A_;function yz(n){var i=n.prefixCls,a=n.align,u=n.arrow,s=n.arrowPos,p=u||{},d=p.className,g=p.content,y=s.x,C=y===void 0?0:y,x=s.y,R=x===void 0?0:x,O=E.useRef();if(!a||!a.points)return null;var D={position:"absolute"};if(a.autoArrow!==!1){var N=a.points[0],A=a.points[1],k=N[0],V=N[1],$=A[0],F=A[1];k===$||!["t","b"].includes(k)?D.top=R:k==="t"?D.top=0:D.bottom=0,V===F||!["l","r"].includes(V)?D.left=C:V==="l"?D.left=0:D.right=0}return E.createElement("div",{ref:O,className:fn("".concat(i,"-arrow"),d),style:D},g)}function bz(n){var i=n.prefixCls,a=n.open,u=n.zIndex,s=n.mask,p=n.motion;return s?E.createElement(ey,Sn({},p,{motionAppear:!0,visible:a,removeOnLeave:!0}),function(d){var g=d.className;return E.createElement("div",{style:{zIndex:u},className:fn("".concat(i,"-mask"),g)})}):null}var $_=E.memo(function(n){var i=n.children;return i},function(n,i){return i.cache});ce.env.NODE_ENV!=="production"&&($_.displayName="PopupContent");var L_=E.forwardRef(function(n,i){var a=n.popup,u=n.className,s=n.prefixCls,p=n.style,d=n.target,g=n.onVisibleChanged,y=n.open,C=n.keepDom,x=n.fresh,R=n.onClick,O=n.mask,D=n.arrow,N=n.arrowPos,A=n.align,k=n.motion,V=n.maskMotion,$=n.forceRender,F=n.getPopupContainer,z=n.autoDestroy,I=n.portal,H=n.zIndex,W=n.onMouseEnter,Z=n.onMouseLeave,J=n.onPointerEnter,U=n.onPointerDownCapture,q=n.ready,te=n.offsetX,Y=n.offsetY,Q=n.offsetR,se=n.offsetB,ye=n.onAlign,de=n.onPrepare,ne=n.stretch,me=n.targetWidth,le=n.targetHeight,B=typeof a=="function"?a():a,re=y||C,xe=F?.length>0,we=E.useState(!F||!xe),Pe=Ve(we,2),Fe=Pe[0],Le=Pe[1];if(gi(function(){!Fe&&xe&&d&&Le(!0)},[Fe,xe,d]),!Fe)return null;var He="auto",Be={left:"-1000vw",top:"-1000vh",right:He,bottom:He};if(q||!y){var ot,tt=A.points,bt=A.dynamicInset||((ot=A._experimental)===null||ot===void 0?void 0:ot.dynamicInset),St=bt&&tt[0][1]==="r",_e=bt&&tt[0][0]==="b";St?(Be.right=Q,Be.left=He):(Be.left=te,Be.right=He),_e?(Be.bottom=se,Be.top=He):(Be.top=Y,Be.bottom=He)}var mt={};return ne&&(ne.includes("height")&&le?mt.height=le:ne.includes("minHeight")&&le&&(mt.minHeight=le),ne.includes("width")&&me?mt.width=me:ne.includes("minWidth")&&me&&(mt.minWidth=me)),y||(mt.pointerEvents="none"),E.createElement(I,{open:$||re,getContainer:F&&function(){return F(d)},autoDestroy:z},E.createElement(bz,{prefixCls:s,open:y,zIndex:H,mask:O,motion:V}),E.createElement(rd,{onResize:ye,disabled:!y},function(st){return E.createElement(ey,Sn({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:$,leavedClassName:"".concat(s,"-hidden")},k,{onAppearPrepare:de,onEnterPrepare:de,visible:y,onVisibleChanged:function(rn){var pn;k==null||(pn=k.onVisibleChanged)===null||pn===void 0||pn.call(k,rn),g(rn)}}),function(yn,rn){var pn=yn.className,en=yn.style,pt=fn(s,pn,u);return E.createElement("div",{ref:Sg(st,i,rn),className:pt,style:Ce(Ce(Ce(Ce({"--arrow-x":"".concat(N.x||0,"px"),"--arrow-y":"".concat(N.y||0,"px")},Be),mt),en),{},{boxSizing:"border-box",zIndex:H},p),onMouseEnter:W,onMouseLeave:Z,onPointerEnter:J,onClick:R,onPointerDownCapture:U},D&&E.createElement(yz,{prefixCls:s,arrow:D,arrowPos:N,align:A}),E.createElement($_,{cache:!y&&!x},B))})}))});ce.env.NODE_ENV!=="production"&&(L_.displayName="Popup");var F_=E.forwardRef(function(n,i){var a=n.children,u=n.getTriggerDOMNode,s=Tc(a),p=E.useCallback(function(g){$S(i,u?u(g):g)},[u]),d=xp(p,Rp(a));return s?E.cloneElement(a,{ref:d}):a});ce.env.NODE_ENV!=="production"&&(F_.displayName="TriggerWrapper");var I_=E.createContext(null);function z_(n){return n?Array.isArray(n)?n:[n]:[]}function Sz(n,i,a,u){return E.useMemo(function(){var s=z_(a??i),p=z_(u??i),d=new Set(s),g=new Set(p);return n&&(d.has("hover")&&(d.delete("hover"),d.add("click")),g.has("hover")&&(g.delete("hover"),g.add("click"))),[d,g]},[n,i,a,u])}function Cz(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=arguments.length>2?arguments[2]:void 0;return a?n[0]===i[0]:n[0]===i[0]&&n[1]===i[1]}function Ez(n,i,a,u){for(var s=a.points,p=Object.keys(n),d=0;d<p.length;d+=1){var g,y=p[d];if(Cz((g=n[y])===null||g===void 0?void 0:g.points,s,u))return"".concat(i,"-placement-").concat(y)}return""}function j_(n,i,a,u){return i||(a?{motionName:"".concat(n,"-").concat(a)}:u?{motionName:u}:null)}function Qp(n){return n.ownerDocument.defaultView}function lE(n){for(var i=[],a=n?.parentElement,u=["hidden","scroll","clip","auto"];a;){var s=Qp(a).getComputedStyle(a),p=s.overflowX,d=s.overflowY,g=s.overflow;[p,d,g].some(function(y){return u.includes(y)})&&i.push(a),a=a.parentElement}return i}function Zp(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(n)?i:n}function Jp(n){return Zp(parseFloat(n),0)}function V_(n,i){var a=Ce({},n);return(i||[]).forEach(function(u){if(!(u instanceof HTMLBodyElement||u instanceof HTMLHtmlElement)){var s=Qp(u).getComputedStyle(u),p=s.overflow,d=s.overflowClipMargin,g=s.borderTopWidth,y=s.borderBottomWidth,C=s.borderLeftWidth,x=s.borderRightWidth,R=u.getBoundingClientRect(),O=u.offsetHeight,D=u.clientHeight,N=u.offsetWidth,A=u.clientWidth,k=Jp(g),V=Jp(y),$=Jp(C),F=Jp(x),z=Zp(Math.round(R.width/N*1e3)/1e3),I=Zp(Math.round(R.height/O*1e3)/1e3),H=(N-A-$-F)*z,W=(O-D-k-V)*I,Z=k*I,J=V*I,U=$*z,q=F*z,te=0,Y=0;if(p==="clip"){var Q=Jp(d);te=Q*z,Y=Q*I}var se=R.x+U-te,ye=R.y+Z-Y,de=se+R.width+2*te-U-q-H,ne=ye+R.height+2*Y-Z-J-W;a.left=Math.max(a.left,se),a.top=Math.max(a.top,ye),a.right=Math.min(a.right,de),a.bottom=Math.min(a.bottom,ne)}}),a}function H_(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a="".concat(i),u=a.match(/^(.*)\%$/);return u?n*(parseFloat(u[1])/100):parseFloat(a)}function U_(n,i){var a=i||[],u=Ve(a,2),s=u[0],p=u[1];return[H_(n.width,s),H_(n.height,p)]}function B_(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[n[0],n[1]]}function Sd(n,i){var a=i[0],u=i[1],s,p;return a==="t"?p=n.y:a==="b"?p=n.y+n.height:p=n.y+n.height/2,u==="l"?s=n.x:u==="r"?s=n.x+n.width:s=n.x+n.width/2,{x:s,y:p}}function Ps(n,i){var a={t:"b",b:"t",l:"r",r:"l"};return n.map(function(u,s){return s===i?a[u]||"c":u}).join("")}function wz(n,i,a,u,s,p,d){var g=E.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:s[u]||{}}),y=Ve(g,2),C=y[0],x=y[1],R=E.useRef(0),O=E.useMemo(function(){return i?lE(i):[]},[i]),D=E.useRef({}),N=function(){D.current={}};n||N();var A=Ii(function(){if(i&&a&&n){let Hr=function(Pa,kr){var ca=arguments.length>2&&arguments[2]!==void 0?arguments[2]:an,Xn=we.x+Pa,jn=we.y+kr,io=Xn+St,Ar=jn+bt,fa=Math.max(Xn,ca.left),Qe=Math.max(jn,ca.top),Tt=Math.min(io,ca.right),Zn=Math.min(Ar,ca.bottom);return Math.max(0,(Tt-fa)*(Zn-Qe))},zr=function(){yt=we.y+wt,ct=yt+bt,It=we.x+Ye,Gn=It+St};var $,F,z,I,H=i,W=H.ownerDocument,Z=Qp(H),J=Z.getComputedStyle(H),U=J.width,q=J.height,te=J.position,Y=H.style.left,Q=H.style.top,se=H.style.right,ye=H.style.bottom,de=H.style.overflow,ne=Ce(Ce({},s[u]),p),me=W.createElement("div");($=H.parentElement)===null||$===void 0||$.appendChild(me),me.style.left="".concat(H.offsetLeft,"px"),me.style.top="".concat(H.offsetTop,"px"),me.style.position=te,me.style.height="".concat(H.offsetHeight,"px"),me.style.width="".concat(H.offsetWidth,"px"),H.style.left="0",H.style.top="0",H.style.right="auto",H.style.bottom="auto",H.style.overflow="hidden";var le;if(Array.isArray(a))le={x:a[0],y:a[1],width:0,height:0};else{var B,re,xe=a.getBoundingClientRect();xe.x=(B=xe.x)!==null&&B!==void 0?B:xe.left,xe.y=(re=xe.y)!==null&&re!==void 0?re:xe.top,le={x:xe.x,y:xe.y,width:xe.width,height:xe.height}}var we=H.getBoundingClientRect();we.x=(F=we.x)!==null&&F!==void 0?F:we.left,we.y=(z=we.y)!==null&&z!==void 0?z:we.top;var Pe=W.documentElement,Fe=Pe.clientWidth,Le=Pe.clientHeight,He=Pe.scrollWidth,Be=Pe.scrollHeight,ot=Pe.scrollTop,tt=Pe.scrollLeft,bt=we.height,St=we.width,_e=le.height,mt=le.width,st={left:0,top:0,right:Fe,bottom:Le},yn={left:-tt,top:-ot,right:He-tt,bottom:Be-ot},rn=ne.htmlRegion,pn="visible",en="visibleFirst";rn!=="scroll"&&rn!==en&&(rn=pn);var pt=rn===en,jt=V_(yn,O),Ke=V_(st,O),an=rn===pn?Ke:jt,Mt=pt?Ke:an;H.style.left="auto",H.style.top="auto",H.style.right="0",H.style.bottom="0";var Nt=H.getBoundingClientRect();H.style.left=Y,H.style.top=Q,H.style.right=se,H.style.bottom=ye,H.style.overflow=de,(I=H.parentElement)===null||I===void 0||I.removeChild(me);var Kn=Zp(Math.round(St/parseFloat(U)*1e3)/1e3),nr=Zp(Math.round(bt/parseFloat(q)*1e3)/1e3);if(Kn===0||nr===0||wp(a)&&!JO(a))return;var rr=ne.offset,Ie=ne.targetOffset,Xe=U_(we,rr),ut=Ve(Xe,2),Et=ut[0],Ut=ut[1],bn=U_(le,Ie),Yt=Ve(bn,2),Dt=Yt[0],Jt=Yt[1];le.x-=Dt,le.y-=Jt;var on=ne.points||[],ln=Ve(on,2),qn=ln[0],ar=ln[1],In=B_(ar),kn=B_(qn),Or=Sd(le,In),Tn=Sd(we,kn),ht=Ce({},ne),Ye=Or.x-Tn.x+Et,wt=Or.y-Tn.y+Ut,nn=Hr(Ye,wt),Ft=Hr(Ye,wt,Ke),Bt=Sd(le,["t","l"]),On=Sd(we,["t","l"]),ir=Sd(le,["b","r"]),_r=Sd(we,["b","r"]),Pr=ne.overflow||{},G=Pr.adjustX,Me=Pr.adjustY,We=Pr.shiftX,qe=Pr.shiftY,Pt=function(kr){return typeof kr=="boolean"?kr:kr>=0},yt,ct,It,Gn;zr();var _n=Pt(Me),zn=kn[0]===In[0];if(_n&&kn[0]==="t"&&(ct>Mt.bottom||D.current.bt)){var En=wt;zn?En-=bt-_e:En=Bt.y-_r.y-Ut;var sa=Hr(Ye,En),_a=Hr(Ye,En,Ke);sa>nn||sa===nn&&(!pt||_a>=Ft)?(D.current.bt=!0,wt=En,Ut=-Ut,ht.points=[Ps(kn,0),Ps(In,0)]):D.current.bt=!1}if(_n&&kn[0]==="b"&&(yt<Mt.top||D.current.tb)){var At=wt;zn?At+=bt-_e:At=ir.y-On.y-Ut;var Kt=Hr(Ye,At),ka=Hr(Ye,At,Ke);Kt>nn||Kt===nn&&(!pt||ka>=Ft)?(D.current.tb=!0,wt=At,Ut=-Ut,ht.points=[Ps(kn,0),Ps(In,0)]):D.current.tb=!1}var ei=Pt(G),ga=kn[1]===In[1];if(ei&&kn[1]==="l"&&(Gn>Mt.right||D.current.rl)){var Xr=Ye;ga?Xr-=St-mt:Xr=Bt.x-_r.x-Et;var zi=Hr(Xr,wt),Ma=Hr(Xr,wt,Ke);zi>nn||zi===nn&&(!pt||Ma>=Ft)?(D.current.rl=!0,Ye=Xr,Et=-Et,ht.points=[Ps(kn,1),Ps(In,1)]):D.current.rl=!1}if(ei&&kn[1]==="r"&&(It<Mt.left||D.current.lr)){var br=Ye;ga?br+=St-mt:br=ir.x-On.x-Et;var ji=Hr(br,wt),xr=Hr(br,wt,Ke);ji>nn||ji===nn&&(!pt||xr>=Ft)?(D.current.lr=!0,Ye=br,Et=-Et,ht.points=[Ps(kn,1),Ps(In,1)]):D.current.lr=!1}zr();var Na=We===!0?0:We;typeof Na=="number"&&(It<Ke.left&&(Ye-=It-Ke.left-Et,le.x+mt<Ke.left+Na&&(Ye+=le.x-Ke.left+mt-Na)),Gn>Ke.right&&(Ye-=Gn-Ke.right-Et,le.x>Ke.right-Na&&(Ye+=le.x-Ke.right+Na)));var ya=qe===!0?0:qe;typeof ya=="number"&&(yt<Ke.top&&(wt-=yt-Ke.top-Ut,le.y+_e<Ke.top+ya&&(wt+=le.y-Ke.top+_e-ya)),ct>Ke.bottom&&(wt-=ct-Ke.bottom-Ut,le.y>Ke.bottom-ya&&(wt+=le.y-Ke.bottom+ya)));var ti=we.x+Ye,ba=ti+St,Sr=we.y+wt,Da=Sr+bt,Sa=le.x,ro=Sa+mt,ni=le.y,Mn=ni+_e,hn=Math.max(ti,Sa),Nn=Math.min(ba,ro),sr=(hn+Nn)/2,Vr=sr-ti,Ca=Math.max(Sr,ni),un=Math.min(Da,Mn),ao=(Ca+un)/2,sn=ao-Sr;d?.(i,ht);var Si=Nt.right-we.x-(Ye+we.width),hr=Nt.bottom-we.y-(wt+we.height);Kn===1&&(Ye=Math.round(Ye),Si=Math.round(Si)),nr===1&&(wt=Math.round(wt),hr=Math.round(hr));var kt={ready:!0,offsetX:Ye/Kn,offsetY:wt/nr,offsetR:Si/Kn,offsetB:hr/nr,arrowX:Vr/Kn,arrowY:sn/nr,scaleX:Kn,scaleY:nr,align:ht};x(kt)}}),k=function(){R.current+=1;var F=R.current;Promise.resolve().then(function(){R.current===F&&A()})},V=function(){x(function(F){return Ce(Ce({},F),{},{ready:!1})})};return gi(V,[u]),gi(function(){n||V()},[n]),[C.ready,C.offsetX,C.offsetY,C.offsetR,C.offsetB,C.arrowX,C.arrowY,C.scaleX,C.scaleY,C.align,k]}function xz(n,i,a,u,s){gi(function(){if(n&&i&&a){let R=function(){u(),s()};var p=i,d=a,g=lE(p),y=lE(d),C=Qp(d),x=new Set([C].concat(Rt(g),Rt(y)));return x.forEach(function(O){O.addEventListener("scroll",R,{passive:!0})}),C.addEventListener("resize",R,{passive:!0}),u(),function(){x.forEach(function(O){O.removeEventListener("scroll",R),C.removeEventListener("resize",R)})}}},[n,i,a])}function Rz(n,i,a,u,s,p,d,g){var y=E.useRef(n);y.current=n;var C=E.useRef(!1);E.useEffect(function(){if(i&&u&&(!s||p)){var R=function(){C.current=!1},O=function(z){var I;y.current&&!d(((I=z.composedPath)===null||I===void 0||(I=I.call(z))===null||I===void 0?void 0:I[0])||z.target)&&!C.current&&g(!1)},D=Qp(u);D.addEventListener("pointerdown",R,!0),D.addEventListener("mousedown",O,!0),D.addEventListener("contextmenu",O,!0);var N=ty(a);if(N&&(N.addEventListener("mousedown",O,!0),N.addEventListener("contextmenu",O,!0)),ce.env.NODE_ENV!=="production"){var A,k,V=a==null||(A=a.getRootNode)===null||A===void 0?void 0:A.call(a),$=(k=u.getRootNode)===null||k===void 0?void 0:k.call(u);td(V===$,"trigger element and popup element should in same shadow root.")}return function(){D.removeEventListener("pointerdown",R,!0),D.removeEventListener("mousedown",O,!0),D.removeEventListener("contextmenu",O,!0),N&&(N.removeEventListener("mousedown",O,!0),N.removeEventListener("contextmenu",O,!0))}}},[i,a,u,s,p]);function x(){C.current=!0}return x}var Tz=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Oz(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:BC,i=E.forwardRef(function(a,u){var s=a.prefixCls,p=s===void 0?"rc-trigger-popup":s,d=a.children,g=a.action,y=g===void 0?"hover":g,C=a.showAction,x=a.hideAction,R=a.popupVisible,O=a.defaultPopupVisible,D=a.onPopupVisibleChange,N=a.afterPopupVisibleChange,A=a.mouseEnterDelay,k=a.mouseLeaveDelay,V=k===void 0?.1:k,$=a.focusDelay,F=a.blurDelay,z=a.mask,I=a.maskClosable,H=I===void 0?!0:I,W=a.getPopupContainer,Z=a.forceRender,J=a.autoDestroy,U=a.destroyPopupOnHide,q=a.popup,te=a.popupClassName,Y=a.popupStyle,Q=a.popupPlacement,se=a.builtinPlacements,ye=se===void 0?{}:se,de=a.popupAlign,ne=a.zIndex,me=a.stretch,le=a.getPopupClassNameFromAlign,B=a.fresh,re=a.alignPoint,xe=a.onPopupClick,we=a.onPopupAlign,Pe=a.arrow,Fe=a.popupMotion,Le=a.maskMotion,He=a.popupTransitionName,Be=a.popupAnimation,ot=a.maskTransitionName,tt=a.maskAnimation,bt=a.className,St=a.getTriggerDOMNode,_e=wr(a,Tz),mt=J||U||!1,st=E.useState(!1),yn=Ve(st,2),rn=yn[0],pn=yn[1];gi(function(){pn(oz())},[]);var en=E.useRef({}),pt=E.useContext(I_),jt=E.useMemo(function(){return{registerSubPopup:function(Tt,Zn){en.current[Tt]=Zn,pt?.registerSubPopup(Tt,Zn)}}},[pt]),Ke=AF(),an=E.useState(null),Mt=Ve(an,2),Nt=Mt[0],Kn=Mt[1],nr=E.useRef(null),rr=Ii(function(Qe){nr.current=Qe,wp(Qe)&&Nt!==Qe&&Kn(Qe),pt?.registerSubPopup(Ke,Qe)}),Ie=E.useState(null),Xe=Ve(Ie,2),ut=Xe[0],Et=Xe[1],Ut=E.useRef(null),bn=Ii(function(Qe){wp(Qe)&&ut!==Qe&&(Et(Qe),Ut.current=Qe)}),Yt=E.Children.only(d),Dt=Yt?.props||{},Jt={},on=Ii(function(Qe){var Tt,Zn,Rr=ut;return Rr?.contains(Qe)||((Tt=ty(Rr))===null||Tt===void 0?void 0:Tt.host)===Qe||Qe===Rr||Nt?.contains(Qe)||((Zn=ty(Nt))===null||Zn===void 0?void 0:Zn.host)===Qe||Qe===Nt||Object.values(en.current).some(function(Qn){return Qn?.contains(Qe)||Qe===Qn})}),ln=j_(p,Fe,Be,He),qn=j_(p,Le,tt,ot),ar=E.useState(O||!1),In=Ve(ar,2),kn=In[0],Or=In[1],Tn=R??kn,ht=Ii(function(Qe){R===void 0&&Or(Qe)});gi(function(){Or(R||!1)},[R]);var Ye=E.useRef(Tn);Ye.current=Tn;var wt=E.useRef([]);wt.current=[];var nn=Ii(function(Qe){var Tt;ht(Qe),((Tt=wt.current[wt.current.length-1])!==null&&Tt!==void 0?Tt:Tn)!==Qe&&(wt.current.push(Qe),D?.(Qe))}),Ft=E.useRef(),Bt=function(){clearTimeout(Ft.current)},On=function(Tt){var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Bt(),Zn===0?nn(Tt):Ft.current=setTimeout(function(){nn(Tt)},Zn*1e3)};E.useEffect(function(){return Bt},[]);var ir=E.useState(!1),_r=Ve(ir,2),Pr=_r[0],G=_r[1];gi(function(Qe){(!Qe||Tn)&&G(!0)},[Tn]);var Me=E.useState(null),We=Ve(Me,2),qe=We[0],Pt=We[1],yt=E.useState(null),ct=Ve(yt,2),It=ct[0],Gn=ct[1],_n=function(Tt){Gn([Tt.clientX,Tt.clientY])},zn=wz(Tn,Nt,re&&It!==null?It:ut,Q,ye,de,we),En=Ve(zn,11),sa=En[0],_a=En[1],At=En[2],Kt=En[3],ka=En[4],ei=En[5],ga=En[6],Xr=En[7],zi=En[8],Ma=En[9],br=En[10],ji=Sz(rn,y,C,x),xr=Ve(ji,2),Na=xr[0],ya=xr[1],ti=Na.has("click"),ba=ya.has("click")||ya.has("contextMenu"),Sr=Ii(function(){Pr||br()}),Da=function(){Ye.current&&re&&ba&&On(!1)};xz(Tn,ut,Nt,Sr,Da),gi(function(){Sr()},[It,Q]),gi(function(){Tn&&!(ye!=null&&ye[Q])&&Sr()},[JSON.stringify(de)]);var Sa=E.useMemo(function(){var Qe=Ez(ye,p,Ma,re);return fn(Qe,le?.(Ma))},[Ma,le,ye,p,re]);E.useImperativeHandle(u,function(){return{nativeElement:Ut.current,popupElement:nr.current,forceAlign:Sr}});var ro=E.useState(0),ni=Ve(ro,2),Mn=ni[0],hn=ni[1],Nn=E.useState(0),sr=Ve(Nn,2),Vr=sr[0],Ca=sr[1],un=function(){if(me&&ut){var Tt=ut.getBoundingClientRect();hn(Tt.width),Ca(Tt.height)}},ao=function(){un(),Sr()},sn=function(Tt){G(!1),br(),N?.(Tt)},Si=function(){return new Promise(function(Tt){un(),Pt(function(){return Tt})})};gi(function(){qe&&(br(),qe(),Pt(null))},[qe]);function hr(Qe,Tt,Zn,Rr){Jt[Qe]=function(Qn){var oo;Rr?.(Qn),On(Tt,Zn);for(var Fu=arguments.length,ri=new Array(Fu>1?Fu-1:0),Ka=1;Ka<Fu;Ka++)ri[Ka-1]=arguments[Ka];(oo=Dt[Qe])===null||oo===void 0||oo.call.apply(oo,[Dt,Qn].concat(ri))}}(ti||ba)&&(Jt.onClick=function(Qe){var Tt;Ye.current&&ba?On(!1):!Ye.current&&ti&&(_n(Qe),On(!0));for(var Zn=arguments.length,Rr=new Array(Zn>1?Zn-1:0),Qn=1;Qn<Zn;Qn++)Rr[Qn-1]=arguments[Qn];(Tt=Dt.onClick)===null||Tt===void 0||Tt.call.apply(Tt,[Dt,Qe].concat(Rr))});var kt=Rz(Tn,ba,ut,Nt,z,H,on,On),Hr=Na.has("hover"),zr=ya.has("hover"),Pa,kr;Hr&&(hr("onMouseEnter",!0,A,function(Qe){_n(Qe)}),hr("onPointerEnter",!0,A,function(Qe){_n(Qe)}),Pa=function(Tt){(Tn||Pr)&&Nt!==null&&Nt!==void 0&&Nt.contains(Tt.target)&&On(!0,A)},re&&(Jt.onMouseMove=function(Qe){var Tt;(Tt=Dt.onMouseMove)===null||Tt===void 0||Tt.call(Dt,Qe)})),zr&&(hr("onMouseLeave",!1,V),hr("onPointerLeave",!1,V),kr=function(){On(!1,V)}),Na.has("focus")&&hr("onFocus",!0,$),ya.has("focus")&&hr("onBlur",!1,F),Na.has("contextMenu")&&(Jt.onContextMenu=function(Qe){var Tt;Ye.current&&ya.has("contextMenu")?On(!1):(_n(Qe),On(!0)),Qe.preventDefault();for(var Zn=arguments.length,Rr=new Array(Zn>1?Zn-1:0),Qn=1;Qn<Zn;Qn++)Rr[Qn-1]=arguments[Qn];(Tt=Dt.onContextMenu)===null||Tt===void 0||Tt.call.apply(Tt,[Dt,Qe].concat(Rr))}),bt&&(Jt.className=fn(Dt.className,bt));var ca=Ce(Ce({},Dt),Jt),Xn={},jn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];jn.forEach(function(Qe){_e[Qe]&&(Xn[Qe]=function(){for(var Tt,Zn=arguments.length,Rr=new Array(Zn),Qn=0;Qn<Zn;Qn++)Rr[Qn]=arguments[Qn];(Tt=ca[Qe])===null||Tt===void 0||Tt.call.apply(Tt,[ca].concat(Rr)),_e[Qe].apply(_e,Rr)})});var io=E.cloneElement(Yt,Ce(Ce({},ca),Xn)),Ar={x:ei,y:ga},fa=Pe?Ce({},Pe!==!0?Pe:{}):null;return E.createElement(E.Fragment,null,E.createElement(rd,{disabled:!Tn,ref:bn,onResize:ao},E.createElement(F_,{getTriggerDOMNode:St},io)),E.createElement(I_.Provider,{value:jt},E.createElement(L_,{portal:n,ref:rr,prefixCls:p,popup:q,className:fn(te,Sa),style:Y,target:ut,onMouseEnter:Pa,onMouseLeave:kr,onPointerEnter:Pa,zIndex:ne,open:Tn,keepDom:Pr,fresh:B,onClick:xe,onPointerDownCapture:kt,mask:z,motion:ln,maskMotion:qn,onVisibleChanged:sn,onPrepare:Si,forceRender:Z,autoDestroy:mt,getPopupContainer:W,align:Ma,arrow:fa,arrowPos:Ar,ready:sa,offsetX:_a,offsetY:At,offsetR:Kt,offsetB:ka,onAlign:Sr,stretch:me,targetWidth:Mn/Xr,targetHeight:Vr/zi})))});return ce.env.NODE_ENV!=="production"&&(i.displayName="Trigger"),i}const uE=Oz(BC);var _z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},kz=function(i,a){return E.createElement(Ds,Sn({},i,{ref:a,icon:_z}))},W_=E.forwardRef(kz);ce.env.NODE_ENV!=="production"&&(W_.displayName="DownOutlined");function Y_(n){var i=n.children,a=n.prefixCls,u=n.id,s=n.overlayInnerStyle,p=n.className,d=n.style;return E.createElement("div",{className:fn("".concat(a,"-content"),p),style:d},E.createElement("div",{className:"".concat(a,"-inner"),id:u,role:"tooltip",style:s},typeof i=="function"?i():i))}var Cd={shiftX:64,adjustY:1},Ed={adjustX:1,shiftY:!0},Vo=[0,0],Mz={left:{points:["cr","cl"],overflow:Ed,offset:[-4,0],targetOffset:Vo},right:{points:["cl","cr"],overflow:Ed,offset:[4,0],targetOffset:Vo},top:{points:["bc","tc"],overflow:Cd,offset:[0,-4],targetOffset:Vo},bottom:{points:["tc","bc"],overflow:Cd,offset:[0,4],targetOffset:Vo},topLeft:{points:["bl","tl"],overflow:Cd,offset:[0,-4],targetOffset:Vo},leftTop:{points:["tr","tl"],overflow:Ed,offset:[-4,0],targetOffset:Vo},topRight:{points:["br","tr"],overflow:Cd,offset:[0,-4],targetOffset:Vo},rightTop:{points:["tl","tr"],overflow:Ed,offset:[4,0],targetOffset:Vo},bottomRight:{points:["tr","br"],overflow:Cd,offset:[0,4],targetOffset:Vo},rightBottom:{points:["bl","br"],overflow:Ed,offset:[4,0],targetOffset:Vo},bottomLeft:{points:["tl","bl"],overflow:Cd,offset:[0,4],targetOffset:Vo},leftBottom:{points:["br","bl"],overflow:Ed,offset:[-4,0],targetOffset:Vo}},Nz=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],Dz=function(i,a){var u=i.overlayClassName,s=i.trigger,p=s===void 0?["hover"]:s,d=i.mouseEnterDelay,g=d===void 0?0:d,y=i.mouseLeaveDelay,C=y===void 0?.1:y,x=i.overlayStyle,R=i.prefixCls,O=R===void 0?"rc-tooltip":R,D=i.children,N=i.onVisibleChange,A=i.afterVisibleChange,k=i.transitionName,V=i.animation,$=i.motion,F=i.placement,z=F===void 0?"right":F,I=i.align,H=I===void 0?{}:I,W=i.destroyTooltipOnHide,Z=W===void 0?!1:W,J=i.defaultVisible,U=i.getTooltipContainer,q=i.overlayInnerStyle;i.arrowContent;var te=i.overlay,Y=i.id,Q=i.showArrow,se=Q===void 0?!0:Q,ye=wr(i,Nz),de=E.useRef(null);E.useImperativeHandle(a,function(){return de.current});var ne=Ce({},ye);"visible"in i&&(ne.popupVisible=i.visible);var me=function(){return E.createElement(Y_,{key:"content",prefixCls:O,id:Y,overlayInnerStyle:q},te)};return E.createElement(uE,Sn({popupClassName:u,prefixCls:O,popup:me,action:p,builtinPlacements:Mz,popupPlacement:z,ref:de,popupAlign:H,getPopupContainer:U,onPopupVisibleChange:N,afterPopupVisibleChange:A,popupTransitionName:k,popupAnimation:V,popupMotion:$,defaultPopupVisible:J,autoDestroy:Z,mouseLeaveDelay:C,popupStyle:x,mouseEnterDelay:g,arrow:se},ne),D)};const Pz=E.forwardRef(Dz);function K_(n){const{sizePopupArrow:i,borderRadiusXS:a,borderRadiusOuter:u}=n,s=i/2,p=0,d=s,g=u*1/Math.sqrt(2),y=s-u*(1-1/Math.sqrt(2)),C=s-a*(1/Math.sqrt(2)),x=u*(Math.sqrt(2)-1)+a*(1/Math.sqrt(2)),R=2*s-C,O=x,D=2*s-g,N=y,A=2*s-p,k=d,V=s*Math.sqrt(2)+u*(Math.sqrt(2)-2),$=u*(Math.sqrt(2)-1),F=`polygon(${$}px 100%, 50% ${$}px, ${2*s-$}px 100%, ${$}px 100%)`,z=`path('M ${p} ${d} A ${u} ${u} 0 0 0 ${g} ${y} L ${C} ${x} A ${a} ${a} 0 0 1 ${R} ${O} L ${D} ${N} A ${u} ${u} 0 0 0 ${A} ${k} Z')`;return{arrowShadowWidth:V,arrowPath:z,arrowPolygon:F}}const Az=(n,i,a)=>{const{sizePopupArrow:u,arrowPolygon:s,arrowPath:p,arrowShadowWidth:d,borderRadiusXS:g,calc:y}=n;return{pointerEvents:"none",width:u,height:u,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:u,height:y(u).div(2).equal(),background:i,clipPath:{_multi_value_:!0,value:[s,p]},content:'""'},"&::after":{content:'""',position:"absolute",width:d,height:d,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${dn(g)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:a,zIndex:0,background:"transparent"}}},q_=8;function sE(n){const{contentRadius:i,limitVerticalRadius:a}=n,u=i>12?i+2:12;return{arrowOffsetHorizontal:u,arrowOffsetVertical:a?q_:u}}function ly(n,i){return n?i:{}}function G_(n,i,a){const{componentCls:u,boxShadowPopoverArrow:s,arrowOffsetVertical:p,arrowOffsetHorizontal:d}=n,{arrowDistance:g=0,arrowPlacement:y={left:!0,right:!0,top:!0,bottom:!0}}=a||{};return{[u]:Object.assign(Object.assign(Object.assign(Object.assign({[`${u}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},Az(n,i,s)),{"&:before":{background:i}})]},ly(!!y.top,{[[`&-placement-top > ${u}-arrow`,`&-placement-topLeft > ${u}-arrow`,`&-placement-topRight > ${u}-arrow`].join(",")]:{bottom:g,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":d,[`> ${u}-arrow`]:{left:{_skip_check_:!0,value:d}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${dn(d)})`,[`> ${u}-arrow`]:{right:{_skip_check_:!0,value:d}}}})),ly(!!y.bottom,{[[`&-placement-bottom > ${u}-arrow`,`&-placement-bottomLeft > ${u}-arrow`,`&-placement-bottomRight > ${u}-arrow`].join(",")]:{top:g,transform:"translateY(-100%)"},[`&-placement-bottom > ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":d,[`> ${u}-arrow`]:{left:{_skip_check_:!0,value:d}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${dn(d)})`,[`> ${u}-arrow`]:{right:{_skip_check_:!0,value:d}}}})),ly(!!y.left,{[[`&-placement-left > ${u}-arrow`,`&-placement-leftTop > ${u}-arrow`,`&-placement-leftBottom > ${u}-arrow`].join(",")]:{right:{_skip_check_:!0,value:g},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${u}-arrow`]:{top:p},[`&-placement-leftBottom > ${u}-arrow`]:{bottom:p}})),ly(!!y.right,{[[`&-placement-right > ${u}-arrow`,`&-placement-rightTop > ${u}-arrow`,`&-placement-rightBottom > ${u}-arrow`].join(",")]:{left:{_skip_check_:!0,value:g},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${u}-arrow`]:{top:p},[`&-placement-rightBottom > ${u}-arrow`]:{bottom:p}}))}}function $z(n,i,a,u){if(u===!1)return{adjustX:!1,adjustY:!1};const s=u&&typeof u=="object"?u:{},p={};switch(n){case"top":case"bottom":p.shiftX=i.arrowOffsetHorizontal*2+a,p.shiftY=!0,p.adjustY=!0;break;case"left":case"right":p.shiftY=i.arrowOffsetVertical*2+a,p.shiftX=!0,p.adjustX=!0;break}const d=Object.assign(Object.assign({},p),s);return d.shiftX||(d.adjustX=!0),d.shiftY||(d.adjustY=!0),d}const X_={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Lz={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Fz=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function Q_(n){const{arrowWidth:i,autoAdjustOverflow:a,arrowPointAtCenter:u,offset:s,borderRadius:p,visibleFirst:d}=n,g=i/2,y={};return Object.keys(X_).forEach(C=>{const x=u&&Lz[C]||X_[C],R=Object.assign(Object.assign({},x),{offset:[0,0],dynamicInset:!0});switch(y[C]=R,Fz.has(C)&&(R.autoArrow=!1),C){case"top":case"topLeft":case"topRight":R.offset[1]=-g-s;break;case"bottom":case"bottomLeft":case"bottomRight":R.offset[1]=g+s;break;case"left":case"leftTop":case"leftBottom":R.offset[0]=-g-s;break;case"right":case"rightTop":case"rightBottom":R.offset[0]=g+s;break}const O=sE({contentRadius:p,limitVerticalRadius:!0});if(u)switch(C){case"topLeft":case"bottomLeft":R.offset[0]=-O.arrowOffsetHorizontal-g;break;case"topRight":case"bottomRight":R.offset[0]=O.arrowOffsetHorizontal+g;break;case"leftTop":case"rightTop":R.offset[1]=-O.arrowOffsetHorizontal-g;break;case"leftBottom":case"rightBottom":R.offset[1]=O.arrowOffsetHorizontal+g;break}R.overflow=$z(C,O,i,a),d&&(R.htmlRegion="visibleFirst")}),y}const Iz=n=>{const{componentCls:i,tooltipMaxWidth:a,tooltipColor:u,tooltipBg:s,tooltipBorderRadius:p,zIndexPopup:d,controlHeight:g,boxShadowSecondary:y,paddingSM:C,paddingXS:x}=n;return[{[i]:Object.assign(Object.assign(Object.assign(Object.assign({},qg(n)),{position:"absolute",zIndex:d,display:"block",width:"max-content",maxWidth:a,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":s,[`${i}-inner`]:{minWidth:"1em",minHeight:g,padding:`${dn(n.calc(C).div(2).equal())} ${dn(x)}`,color:u,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:s,borderRadius:p,boxShadow:y,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${i}-inner`]:{borderRadius:n.min(p,q_)}},[`${i}-content`]:{position:"relative"}}),CL(n,(R,O)=>{let{darkColor:D}=O;return{[`&${i}-${R}`]:{[`${i}-inner`]:{backgroundColor:D},[`${i}-arrow`]:{"--antd-arrow-background-color":D}}}})),{"&-rtl":{direction:"rtl"}})},G_(n,"var(--antd-arrow-background-color)"),{[`${i}-pure`]:{position:"relative",maxWidth:"none",margin:n.sizePopupArrow}}]},zz=n=>Object.assign(Object.assign({zIndexPopup:n.zIndexPopupBase+70},sE({contentRadius:n.borderRadius,limitVerticalRadius:!0})),K_(Ms(n,{borderRadiusOuter:Math.min(n.borderRadiusOuter,4)}))),Z_=function(n){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Gg("Tooltip",u=>{const{borderRadius:s,colorTextLightSolid:p,colorBgSpotlight:d}=u,g=Ms(u,{tooltipMaxWidth:250,tooltipColor:p,tooltipBorderRadius:s,tooltipBg:d});return[Iz(g),oE(u,"zoom-big-fast")]},zz,{resetStyle:!1,injectStyle:i})(n)},jz=Yg.map(n=>`${n}-inverse`);function Vz(n){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(Rt(jz),Rt(Yg)).includes(n):Yg.includes(n)}function J_(n,i){const a=Vz(i),u=fn({[`${n}-${i}`]:i&&a}),s={},p={};return i&&!a&&(s.background=i,p["--antd-arrow-background-color"]=i),{className:u,overlayStyle:s,arrowStyle:p}}const Hz=n=>{const{prefixCls:i,className:a,placement:u="top",title:s,color:p,overlayInnerStyle:d}=n,{getPrefixCls:g}=E.useContext(yi),y=g("tooltip",i),[C,x,R]=Z_(y),O=J_(y,p),D=O.arrowStyle,N=Object.assign(Object.assign({},d),O.overlayStyle),A=fn(x,R,y,`${y}-pure`,`${y}-placement-${u}`,a,O.className);return C(E.createElement("div",{className:A,style:D},E.createElement("div",{className:`${y}-arrow`}),E.createElement(Y_,Object.assign({},n,{className:x,prefixCls:y,overlayInnerStyle:N}),s)))};var Uz=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};const cE=E.forwardRef((n,i)=>{var a,u;const{prefixCls:s,openClassName:p,getTooltipContainer:d,overlayClassName:g,color:y,overlayInnerStyle:C,children:x,afterOpenChange:R,afterVisibleChange:O,destroyTooltipOnHide:D,arrow:N=!0,title:A,overlay:k,builtinPlacements:V,arrowPointAtCenter:$=!1,autoAdjustOverflow:F=!0}=n,z=!!N,[,I]=Pc(),{getPopupContainer:H,getPrefixCls:W,direction:Z}=E.useContext(yi),J=Kl("Tooltip"),U=E.useRef(null),q=()=>{var Ke;(Ke=U.current)===null||Ke===void 0||Ke.forceAlign()};E.useImperativeHandle(i,()=>{var Ke;return{forceAlign:q,forcePopupAlign:()=>{J.deprecated(!1,"forcePopupAlign","forceAlign"),q()},nativeElement:(Ke=U.current)===null||Ke===void 0?void 0:Ke.nativeElement}}),ce.env.NODE_ENV!=="production"&&([["visible","open"],["defaultVisible","defaultOpen"],["onVisibleChange","onOpenChange"],["afterVisibleChange","afterOpenChange"],["arrowPointAtCenter","arrow={{ pointAtCenter: true }}"]].forEach(Ke=>{let[an,Mt]=Ke;J.deprecated(!(an in n),an,Mt)}),ce.env.NODE_ENV!=="production"&&J(!D||typeof D=="boolean","usage","`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."),ce.env.NODE_ENV!=="production"&&J(!N||typeof N=="boolean"||!("arrowPointAtCenter"in N),"deprecated","`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));const[te,Y]=Dc(!1,{value:(a=n.open)!==null&&a!==void 0?a:n.visible,defaultValue:(u=n.defaultOpen)!==null&&u!==void 0?u:n.defaultVisible}),Q=!A&&!k&&A!==0,se=Ke=>{var an,Mt;Y(Q?!1:Ke),Q||((an=n.onOpenChange)===null||an===void 0||an.call(n,Ke),(Mt=n.onVisibleChange)===null||Mt===void 0||Mt.call(n,Ke))},ye=E.useMemo(()=>{var Ke,an;let Mt=$;return typeof N=="object"&&(Mt=(an=(Ke=N.pointAtCenter)!==null&&Ke!==void 0?Ke:N.arrowPointAtCenter)!==null&&an!==void 0?an:$),V||Q_({arrowPointAtCenter:Mt,autoAdjustOverflow:F,arrowWidth:z?I.sizePopupArrow:0,borderRadius:I.borderRadius,offset:I.marginXXS,visibleFirst:!0})},[$,N,V,I]),de=E.useMemo(()=>A===0?A:k||A||"",[k,A]),ne=E.createElement(x_,{space:!0},typeof de=="function"?de():de),{getPopupContainer:me,placement:le="top",mouseEnterDelay:B=.1,mouseLeaveDelay:re=.1,overlayStyle:xe,rootClassName:we}=n,Pe=Uz(n,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Fe=W("tooltip",s),Le=W(),He=n["data-popover-inject"];let Be=te;!("open"in n)&&!("visible"in n)&&Q&&(Be=!1);const ot=E.isValidElement(x)&&!hF(x)?x:E.createElement("span",null,x),tt=ot.props,bt=!tt.className||typeof tt.className=="string"?fn(tt.className,p||`${Fe}-open`):tt.className,[St,_e,mt]=Z_(Fe,!He),st=J_(Fe,y),yn=st.arrowStyle,rn=Object.assign(Object.assign({},C),st.overlayStyle),pn=fn(g,{[`${Fe}-rtl`]:Z==="rtl"},st.className,we,_e,mt),[en,pt]=VC("Tooltip",Pe.zIndex),jt=E.createElement(Pz,Object.assign({},Pe,{zIndex:en,showArrow:z,placement:le,mouseEnterDelay:B,mouseLeaveDelay:re,prefixCls:Fe,overlayClassName:pn,overlayStyle:Object.assign(Object.assign({},yn),xe),getTooltipContainer:me||d||H,ref:U,builtinPlacements:ye,overlay:ne,visible:Be,onVisibleChange:se,afterVisibleChange:R??O,overlayInnerStyle:rn,arrowContent:E.createElement("span",{className:`${Fe}-arrow-content`}),motion:{motionName:EF(Le,"zoom-big-fast",n.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!D}),Be?pd(ot,{className:bt}):ot);return St(E.createElement(ny.Provider,{value:pt},jt))});ce.env.NODE_ENV!=="production"&&(cE.displayName="Tooltip"),cE._InternalPanelDoNotUseOrYouWillBeFired=Hz;var Bz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Wz=function(i,a){return E.createElement(Ds,Sn({},i,{ref:a,icon:Bz}))},uy=E.forwardRef(Wz);ce.env.NODE_ENV!=="production"&&(uy.displayName="RightOutlined");var Yz=ml.ESC,Kz=ml.TAB;function qz(n){var i=n.visible,a=n.triggerRef,u=n.onVisibleChange,s=n.autoFocus,p=n.overlayRef,d=E.useRef(!1),g=function(){if(i){var R,O;(R=a.current)===null||R===void 0||(O=R.focus)===null||O===void 0||O.call(R),u?.(!1)}},y=function(){var R;return(R=p.current)!==null&&R!==void 0&&R.focus?(p.current.focus(),d.current=!0,!0):!1},C=function(R){switch(R.keyCode){case Yz:g();break;case Kz:{var O=!1;d.current||(O=y()),O?R.preventDefault():g();break}}};E.useEffect(function(){return i?(window.addEventListener("keydown",C),s&&sl(y,3),function(){window.removeEventListener("keydown",C),d.current=!1}):function(){d.current=!1}},[i])}var Gz=E.forwardRef(function(n,i){var a=n.overlay,u=n.arrow,s=n.prefixCls,p=E.useMemo(function(){var g;return typeof a=="function"?g=a():g=a,g},[a]),d=Sg(i,Rp(p));return Rn.createElement(Rn.Fragment,null,u&&Rn.createElement("div",{className:"".concat(s,"-arrow")}),Rn.cloneElement(p,{ref:Tc(p)?d:void 0}))}),wd={adjustX:1,adjustY:1},xd=[0,0],Xz={topLeft:{points:["bl","tl"],overflow:wd,offset:[0,-4],targetOffset:xd},top:{points:["bc","tc"],overflow:wd,offset:[0,-4],targetOffset:xd},topRight:{points:["br","tr"],overflow:wd,offset:[0,-4],targetOffset:xd},bottomLeft:{points:["tl","bl"],overflow:wd,offset:[0,4],targetOffset:xd},bottom:{points:["tc","bc"],overflow:wd,offset:[0,4],targetOffset:xd},bottomRight:{points:["tr","br"],overflow:wd,offset:[0,4],targetOffset:xd}},Qz=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Zz(n,i){var a,u=n.arrow,s=u===void 0?!1:u,p=n.prefixCls,d=p===void 0?"rc-dropdown":p,g=n.transitionName,y=n.animation,C=n.align,x=n.placement,R=x===void 0?"bottomLeft":x,O=n.placements,D=O===void 0?Xz:O,N=n.getPopupContainer,A=n.showAction,k=n.hideAction,V=n.overlayClassName,$=n.overlayStyle,F=n.visible,z=n.trigger,I=z===void 0?["hover"]:z,H=n.autoFocus,W=n.overlay,Z=n.children,J=n.onVisibleChange,U=wr(n,Qz),q=Rn.useState(),te=Ve(q,2),Y=te[0],Q=te[1],se="visible"in n?F:Y,ye=Rn.useRef(null),de=Rn.useRef(null),ne=Rn.useRef(null);Rn.useImperativeHandle(i,function(){return ye.current});var me=function(He){Q(He),J?.(He)};qz({visible:se,triggerRef:ne,onVisibleChange:me,autoFocus:H,overlayRef:de});var le=function(He){var Be=n.onOverlayClick;Q(!1),Be&&Be(He)},B=function(){return Rn.createElement(Gz,{ref:de,overlay:W,prefixCls:d,arrow:s})},re=function(){return typeof W=="function"?B:B()},xe=function(){var He=n.minOverlayWidthMatchTrigger,Be=n.alignPoint;return"minOverlayWidthMatchTrigger"in n?He:!Be},we=function(){var He=n.openClassName;return He!==void 0?He:"".concat(d,"-open")},Pe=Rn.cloneElement(Z,{className:fn((a=Z.props)===null||a===void 0?void 0:a.className,se&&we()),ref:Tc(Z)?Sg(ne,Rp(Z)):void 0}),Fe=k;return!Fe&&I.indexOf("contextMenu")!==-1&&(Fe=["click"]),Rn.createElement(uE,Sn({builtinPlacements:D},U,{prefixCls:d,ref:ye,popupClassName:fn(V,ue({},"".concat(d,"-show-arrow"),s)),popupStyle:$,action:I,showAction:A,hideAction:Fe,popupPlacement:R,popupAlign:C,popupTransitionName:g,popupAnimation:y,popupVisible:se,stretch:xe()?"minWidth":"",popup:re(),onPopupVisibleChange:me,onPopupClick:le,getPopupContainer:N}),Pe)}const Jz=Rn.forwardRef(Zz);var ek=E.createContext(null);function tk(n,i){return n===void 0?null:"".concat(n,"-").concat(i)}function nk(n){var i=E.useContext(ek);return tk(i,n)}var ej=["children","locked"],yl=E.createContext(null);function tj(n,i){var a=Ce({},n);return Object.keys(i).forEach(function(u){var s=i[u];s!==void 0&&(a[u]=s)}),a}function eh(n){var i=n.children,a=n.locked,u=wr(n,ej),s=E.useContext(yl),p=bg(function(){return tj(s,u)},[s,u],function(d,g){return!a&&(d[0]!==g[0]||!Mp(d[1],g[1],!0))});return E.createElement(yl.Provider,{value:p},i)}var nj=[],rk=E.createContext(null);function sy(){return E.useContext(rk)}var ak=E.createContext(nj);function Rd(n){var i=E.useContext(ak);return E.useMemo(function(){return n!==void 0?[].concat(Rt(i),[n]):i},[i,n])}var ik=E.createContext(null),fE=E.createContext({});function ok(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(JO(n)){var a=n.nodeName.toLowerCase(),u=["input","select","textarea","button"].includes(a)||n.isContentEditable||a==="a"&&!!n.getAttribute("href"),s=n.getAttribute("tabindex"),p=Number(s),d=null;return s&&!Number.isNaN(p)?d=p:u&&d===null&&(d=0),u&&n.disabled&&(d=null),d!==null&&(d>=0||i&&d<0)}return!1}function rj(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=Rt(n.querySelectorAll("*")).filter(function(u){return ok(u,i)});return ok(n,i)&&a.unshift(n),a}var dE=ml.LEFT,vE=ml.RIGHT,pE=ml.UP,cy=ml.DOWN,fy=ml.ENTER,lk=ml.ESC,th=ml.HOME,nh=ml.END,uk=[pE,cy,dE,vE];function aj(n,i,a,u){var s,p,d,g,y="prev",C="next",x="children",R="parent";if(n==="inline"&&u===fy)return{inlineTrigger:!0};var O=(s={},ue(s,pE,y),ue(s,cy,C),s),D=(p={},ue(p,dE,a?C:y),ue(p,vE,a?y:C),ue(p,cy,x),ue(p,fy,x),p),N=(d={},ue(d,pE,y),ue(d,cy,C),ue(d,fy,x),ue(d,lk,R),ue(d,dE,a?x:R),ue(d,vE,a?R:x),d),A={inline:O,horizontal:D,vertical:N,inlineSub:O,horizontalSub:N,verticalSub:N},k=(g=A["".concat(n).concat(i?"":"Sub")])===null||g===void 0?void 0:g[u];switch(k){case y:return{offset:-1,sibling:!0};case C:return{offset:1,sibling:!0};case R:return{offset:-1,sibling:!1};case x:return{offset:1,sibling:!1};default:return null}}function ij(n){for(var i=n;i;){if(i.getAttribute("data-menu-list"))return i;i=i.parentElement}return null}function oj(n,i){for(var a=n||document.activeElement;a;){if(i.has(a))return a;a=a.parentElement}return null}function hE(n,i){var a=rj(n,!0);return a.filter(function(u){return i.has(u)})}function sk(n,i,a){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!n)return null;var s=hE(n,i),p=s.length,d=s.findIndex(function(g){return a===g});return u<0?d===-1?d=p-1:d-=1:u>0&&(d+=1),d=(d+p)%p,s[d]}var mE=function(i,a){var u=new Set,s=new Map,p=new Map;return i.forEach(function(d){var g=document.querySelector("[data-menu-id='".concat(tk(a,d),"']"));g&&(u.add(g),p.set(g,d),s.set(d,g))}),{elements:u,key2element:s,element2key:p}};function lj(n,i,a,u,s,p,d,g,y,C){var x=E.useRef(),R=E.useRef();R.current=i;var O=function(){sl.cancel(x.current)};return E.useEffect(function(){return function(){O()}},[]),function(D){var N=D.which;if([].concat(uk,[fy,lk,th,nh]).includes(N)){var A=p(),k=mE(A,u),V=k,$=V.elements,F=V.key2element,z=V.element2key,I=F.get(i),H=oj(I,$),W=z.get(H),Z=aj(n,d(W,!0).length===1,a,N);if(!Z&&N!==th&&N!==nh)return;(uk.includes(N)||[th,nh].includes(N))&&D.preventDefault();var J=function(de){if(de){var ne=de,me=de.querySelector("a");me!=null&&me.getAttribute("href")&&(ne=me);var le=z.get(de);g(le),O(),x.current=sl(function(){R.current===le&&ne.focus()})}};if([th,nh].includes(N)||Z.sibling||!H){var U;!H||n==="inline"?U=s.current:U=ij(H);var q,te=hE(U,$);N===th?q=te[0]:N===nh?q=te[te.length-1]:q=sk(U,$,H,Z.offset),J(q)}else if(Z.inlineTrigger)y(W);else if(Z.offset>0)y(W,!0),O(),x.current=sl(function(){k=mE(A,u);var ye=H.getAttribute("aria-controls"),de=document.getElementById(ye),ne=sk(de,k.elements);J(ne)},5);else if(Z.offset<0){var Y=d(W,!0),Q=Y[Y.length-2],se=F.get(Q);y(Q,!1),J(se)}}C?.(D)}}function uj(n){Promise.resolve().then(n)}var gE="__RC_UTIL_PATH_SPLIT__",ck=function(i){return i.join(gE)},sj=function(i){return i.split(gE)},yE="rc-menu-more";function cj(){var n=E.useState({}),i=Ve(n,2),a=i[1],u=E.useRef(new Map),s=E.useRef(new Map),p=E.useState([]),d=Ve(p,2),g=d[0],y=d[1],C=E.useRef(0),x=E.useRef(!1),R=function(){x.current||a({})},O=E.useCallback(function(F,z){ce.env.NODE_ENV!=="production"&&or(!u.current.has(F),"Duplicated key '".concat(F,"' used in Menu by path [").concat(z.join(" > "),"]"));var I=ck(z);s.current.set(I,F),u.current.set(F,I),C.current+=1;var H=C.current;uj(function(){H===C.current&&R()})},[]),D=E.useCallback(function(F,z){var I=ck(z);s.current.delete(I),u.current.delete(F)},[]),N=E.useCallback(function(F){y(F)},[]),A=E.useCallback(function(F,z){var I=u.current.get(F)||"",H=sj(I);return z&&g.includes(H[0])&&H.unshift(yE),H},[g]),k=E.useCallback(function(F,z){return F.filter(function(I){return I!==void 0}).some(function(I){var H=A(I,!0);return H.includes(z)})},[A]),V=function(){var z=Rt(u.current.keys());return g.length&&z.push(yE),z},$=E.useCallback(function(F){var z="".concat(u.current.get(F)).concat(gE),I=new Set;return Rt(s.current.keys()).forEach(function(H){H.startsWith(z)&&I.add(s.current.get(H))}),I},[]);return E.useEffect(function(){return function(){x.current=!0}},[]),{registerPath:O,unregisterPath:D,refreshOverflowKeys:N,isSubPathKey:k,getKeyPath:A,getKeys:V,getSubPathKeys:$}}function rh(n){var i=E.useRef(n);i.current=n;var a=E.useCallback(function(){for(var u,s=arguments.length,p=new Array(s),d=0;d<s;d++)p[d]=arguments[d];return(u=i.current)===null||u===void 0?void 0:u.call.apply(u,[i].concat(p))},[]);return n?a:void 0}var fj=Math.random().toFixed(5).toString().slice(2),fk=0;function dj(n){var i=Dc(n,{value:n}),a=Ve(i,2),u=a[0],s=a[1];return E.useEffect(function(){fk+=1;var p=ce.env.NODE_ENV==="test"?"test":"".concat(fj,"-").concat(fk);s("rc-menu-uuid-".concat(p))},[]),u}function dk(n,i,a,u){var s=E.useContext(yl),p=s.activeKey,d=s.onActive,g=s.onInactive,y={active:p===n};return i||(y.onMouseEnter=function(C){a?.({key:n,domEvent:C}),d(n)},y.onMouseLeave=function(C){u?.({key:n,domEvent:C}),g(n)}),y}function vk(n){var i=E.useContext(yl),a=i.mode,u=i.rtl,s=i.inlineIndent;if(a!=="inline")return null;var p=n;return u?{paddingRight:p*s}:{paddingLeft:p*s}}function pk(n){var i=n.icon,a=n.props,u=n.children,s;return i===null||i===!1?null:(typeof i=="function"?s=E.createElement(i,Ce({},a)):typeof i!="boolean"&&(s=i),s||u||null)}var vj=["item"];function dy(n){var i=n.item,a=wr(n,vj);return Object.defineProperty(a,"item",{get:function(){return or(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),i}}),a}var pj=["title","attribute","elementRef"],hj=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],mj=["active"],gj=function(n){xs(a,n);var i=Rs(a);function a(){return Qa(this,a),i.apply(this,arguments)}return Za(a,[{key:"render",value:function(){var s=this.props,p=s.title,d=s.attribute,g=s.elementRef,y=wr(s,pj),C=Oc(y,["eventKey","popupClassName","popupOffset","onTitleClick"]);return or(!d,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),E.createElement($u.Item,Sn({},d,{title:typeof p=="string"?p:void 0},C,{ref:g}))}}]),a}(E.Component),yj=E.forwardRef(function(n,i){var a,u=n.style,s=n.className,p=n.eventKey,d=n.warnKey,g=n.disabled,y=n.itemIcon,C=n.children,x=n.role,R=n.onMouseEnter,O=n.onMouseLeave,D=n.onClick,N=n.onKeyDown,A=n.onFocus,k=wr(n,hj),V=nk(p),$=E.useContext(yl),F=$.prefixCls,z=$.onItemClick,I=$.disabled,H=$.overflowDisabled,W=$.itemIcon,Z=$.selectedKeys,J=$.onActive,U=E.useContext(fE),q=U._internalRenderMenuItem,te="".concat(F,"-item"),Y=E.useRef(),Q=E.useRef(),se=I||g,ye=xp(i,Q),de=Rd(p);ce.env.NODE_ENV!=="production"&&d&&or(!1,"MenuItem should not leave undefined `key`.");var ne=function(tt){return{key:p,keyPath:Rt(de).reverse(),item:Y.current,domEvent:tt}},me=y||W,le=dk(p,se,R,O),B=le.active,re=wr(le,mj),xe=Z.includes(p),we=vk(de.length),Pe=function(tt){if(!se){var bt=ne(tt);D?.(dy(bt)),z(bt)}},Fe=function(tt){if(N?.(tt),tt.which===ml.ENTER){var bt=ne(tt);D?.(dy(bt)),z(bt)}},Le=function(tt){J(p),A?.(tt)},He={};n.role==="option"&&(He["aria-selected"]=xe);var Be=E.createElement(gj,Sn({ref:Y,elementRef:ye,role:x===null?"none":x||"menuitem",tabIndex:g?null:-1,"data-menu-id":H&&V?null:V},k,re,He,{component:"li","aria-disabled":g,style:Ce(Ce({},we),u),className:fn(te,(a={},ue(a,"".concat(te,"-active"),B),ue(a,"".concat(te,"-selected"),xe),ue(a,"".concat(te,"-disabled"),se),a),s),onClick:Pe,onKeyDown:Fe,onFocus:Le}),C,E.createElement(pk,{props:Ce(Ce({},n),{},{isSelected:xe}),icon:me}));return q&&(Be=q(Be,n,{selected:xe})),Be});function bj(n,i){var a=n.eventKey,u=sy(),s=Rd(a);return E.useEffect(function(){if(u)return u.registerPath(a,s),function(){u.unregisterPath(a,s)}},[s]),u?null:E.createElement(yj,Sn({},n,{ref:i}))}const vy=E.forwardRef(bj);var Sj=["className","children"],Cj=function(i,a){var u=i.className,s=i.children,p=wr(i,Sj),d=E.useContext(yl),g=d.prefixCls,y=d.mode,C=d.rtl;return E.createElement("ul",Sn({className:fn(g,C&&"".concat(g,"-rtl"),"".concat(g,"-sub"),"".concat(g,"-").concat(y==="inline"?"inline":"vertical"),u),role:"menu"},p,{"data-menu-list":!0,ref:a}),s)},bE=E.forwardRef(Cj);bE.displayName="SubMenuList";function SE(n,i){return _u(n).map(function(a,u){if(E.isValidElement(a)){var s,p,d=a.key,g=(s=(p=a.props)===null||p===void 0?void 0:p.eventKey)!==null&&s!==void 0?s:d,y=g==null;y&&(g="tmp_key-".concat([].concat(Rt(i),[u]).join("-")));var C={key:g,eventKey:g};return ce.env.NODE_ENV!=="production"&&y&&(C.warnKey=!0),E.cloneElement(a,C)}return a})}var bi={adjustX:1,adjustY:1},Ej={topLeft:{points:["bl","tl"],overflow:bi},topRight:{points:["br","tr"],overflow:bi},bottomLeft:{points:["tl","bl"],overflow:bi},bottomRight:{points:["tr","br"],overflow:bi},leftTop:{points:["tr","tl"],overflow:bi},leftBottom:{points:["br","bl"],overflow:bi},rightTop:{points:["tl","tr"],overflow:bi},rightBottom:{points:["bl","br"],overflow:bi}},wj={topLeft:{points:["bl","tl"],overflow:bi},topRight:{points:["br","tr"],overflow:bi},bottomLeft:{points:["tl","bl"],overflow:bi},bottomRight:{points:["tr","br"],overflow:bi},rightTop:{points:["tr","tl"],overflow:bi},rightBottom:{points:["br","bl"],overflow:bi},leftTop:{points:["tl","tr"],overflow:bi},leftBottom:{points:["bl","br"],overflow:bi}};function hk(n,i,a){if(i)return i;if(a)return a[n]||a.other}var xj={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Rj(n){var i=n.prefixCls,a=n.visible,u=n.children,s=n.popup,p=n.popupStyle,d=n.popupClassName,g=n.popupOffset,y=n.disabled,C=n.mode,x=n.onVisibleChange,R=E.useContext(yl),O=R.getPopupContainer,D=R.rtl,N=R.subMenuOpenDelay,A=R.subMenuCloseDelay,k=R.builtinPlacements,V=R.triggerSubMenuAction,$=R.forceSubMenuRender,F=R.rootClassName,z=R.motion,I=R.defaultMotions,H=E.useState(!1),W=Ve(H,2),Z=W[0],J=W[1],U=Ce(D?Ce({},wj):Ce({},Ej),k),q=xj[C],te=hk(C,z,I),Y=E.useRef(te);C!=="inline"&&(Y.current=te);var Q=Ce(Ce({},Y.current),{},{leavedClassName:"".concat(i,"-hidden"),removeOnLeave:!1,motionAppear:!0}),se=E.useRef();return E.useEffect(function(){return se.current=sl(function(){J(a)}),function(){sl.cancel(se.current)}},[a]),E.createElement(uE,{prefixCls:i,popupClassName:fn("".concat(i,"-popup"),ue({},"".concat(i,"-rtl"),D),d,F),stretch:C==="horizontal"?"minWidth":null,getPopupContainer:O,builtinPlacements:U,popupPlacement:q,popupVisible:Z,popup:s,popupStyle:p,popupAlign:g&&{offset:g},action:y?[]:[V],mouseEnterDelay:N,mouseLeaveDelay:A,onPopupVisibleChange:x,forceRender:$,popupMotion:Q,fresh:!0},u)}function Tj(n){var i=n.id,a=n.open,u=n.keyPath,s=n.children,p="inline",d=E.useContext(yl),g=d.prefixCls,y=d.forceSubMenuRender,C=d.motion,x=d.defaultMotions,R=d.mode,O=E.useRef(!1);O.current=R===p;var D=E.useState(!O.current),N=Ve(D,2),A=N[0],k=N[1],V=O.current?a:!1;E.useEffect(function(){O.current&&k(!1)},[R]);var $=Ce({},hk(p,C,x));u.length>1&&($.motionAppear=!1);var F=$.onVisibleChanged;return $.onVisibleChanged=function(z){return!O.current&&!z&&k(!0),F?.(z)},A?null:E.createElement(eh,{mode:p,locked:!O.current},E.createElement(ey,Sn({visible:V},$,{forceRender:y,removeOnLeave:!1,leavedClassName:"".concat(g,"-hidden")}),function(z){var I=z.className,H=z.style;return E.createElement(bE,{id:i,className:I,style:H},s)}))}var Oj=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],_j=["active"],kj=E.forwardRef(function(n,i){var a,u=n.style,s=n.className,p=n.title,d=n.eventKey,g=n.warnKey,y=n.disabled,C=n.internalPopupClose,x=n.children,R=n.itemIcon,O=n.expandIcon,D=n.popupClassName,N=n.popupOffset,A=n.popupStyle,k=n.onClick,V=n.onMouseEnter,$=n.onMouseLeave,F=n.onTitleClick,z=n.onTitleMouseEnter,I=n.onTitleMouseLeave,H=wr(n,Oj),W=nk(d),Z=E.useContext(yl),J=Z.prefixCls,U=Z.mode,q=Z.openKeys,te=Z.disabled,Y=Z.overflowDisabled,Q=Z.activeKey,se=Z.selectedKeys,ye=Z.itemIcon,de=Z.expandIcon,ne=Z.onItemClick,me=Z.onOpenChange,le=Z.onActive,B=E.useContext(fE),re=B._internalRenderSubMenuItem,xe=E.useContext(ik),we=xe.isSubPathKey,Pe=Rd(),Fe="".concat(J,"-submenu"),Le=te||y,He=E.useRef(),Be=E.useRef();ce.env.NODE_ENV!=="production"&&g&&or(!1,"SubMenu should not leave undefined `key`.");var ot=R??ye,tt=O??de,bt=q.includes(d),St=!Y&&bt,_e=we(se,d),mt=dk(d,Le,z,I),st=mt.active,yn=wr(mt,_j),rn=E.useState(!1),pn=Ve(rn,2),en=pn[0],pt=pn[1],jt=function(Dt){Le||pt(Dt)},Ke=function(Dt){jt(!0),V?.({key:d,domEvent:Dt})},an=function(Dt){jt(!1),$?.({key:d,domEvent:Dt})},Mt=E.useMemo(function(){return st||(U!=="inline"?en||we([Q],d):!1)},[U,st,Q,en,d,we]),Nt=vk(Pe.length),Kn=function(Dt){Le||(F?.({key:d,domEvent:Dt}),U==="inline"&&me(d,!bt))},nr=rh(function(Yt){k?.(dy(Yt)),ne(Yt)}),rr=function(Dt){U!=="inline"&&me(d,Dt)},Ie=function(){le(d)},Xe=W&&"".concat(W,"-popup"),ut=E.createElement("div",Sn({role:"menuitem",style:Nt,className:"".concat(Fe,"-title"),tabIndex:Le?null:-1,ref:He,title:typeof p=="string"?p:null,"data-menu-id":Y&&W?null:W,"aria-expanded":St,"aria-haspopup":!0,"aria-controls":Xe,"aria-disabled":Le,onClick:Kn,onFocus:Ie},yn),p,E.createElement(pk,{icon:U!=="horizontal"?tt:void 0,props:Ce(Ce({},n),{},{isOpen:St,isSubMenu:!0})},E.createElement("i",{className:"".concat(Fe,"-arrow")}))),Et=E.useRef(U);if(U!=="inline"&&Pe.length>1?Et.current="vertical":Et.current=U,!Y){var Ut=Et.current;ut=E.createElement(Rj,{mode:Ut,prefixCls:Fe,visible:!C&&St&&U!=="inline",popupClassName:D,popupOffset:N,popupStyle:A,popup:E.createElement(eh,{mode:Ut==="horizontal"?"vertical":Ut},E.createElement(bE,{id:Xe,ref:Be},x)),disabled:Le,onVisibleChange:rr},ut)}var bn=E.createElement($u.Item,Sn({ref:i,role:"none"},H,{component:"li",style:u,className:fn(Fe,"".concat(Fe,"-").concat(U),s,(a={},ue(a,"".concat(Fe,"-open"),St),ue(a,"".concat(Fe,"-active"),Mt),ue(a,"".concat(Fe,"-selected"),_e),ue(a,"".concat(Fe,"-disabled"),Le),a)),onMouseEnter:Ke,onMouseLeave:an}),ut,!Y&&E.createElement(Tj,{id:Xe,open:St,keyPath:Pe},x));return re&&(bn=re(bn,n,{selected:_e,active:Mt,open:St,disabled:Le})),E.createElement(eh,{onItemClick:nr,mode:U==="horizontal"?"vertical":U,itemIcon:ot,expandIcon:tt},bn)}),ah=E.forwardRef(function(n,i){var a=n.eventKey,u=n.children,s=Rd(a),p=SE(u,s),d=sy();E.useEffect(function(){if(d)return d.registerPath(a,s),function(){d.unregisterPath(a,s)}},[s]);var g;return d?g=p:g=E.createElement(kj,Sn({ref:i},n),p),E.createElement(ak.Provider,{value:s},g)});ce.env.NODE_ENV!=="production"&&(ah.displayName="SubMenu");function CE(n){var i=n.className,a=n.style,u=E.useContext(yl),s=u.prefixCls,p=sy();return p?null:E.createElement("li",{role:"separator",className:fn("".concat(s,"-item-divider"),i),style:a})}var Mj=["className","title","eventKey","children"],Nj=E.forwardRef(function(n,i){var a=n.className,u=n.title;n.eventKey;var s=n.children,p=wr(n,Mj),d=E.useContext(yl),g=d.prefixCls,y="".concat(g,"-item-group");return E.createElement("li",Sn({ref:i,role:"presentation"},p,{onClick:function(x){return x.stopPropagation()},className:fn(y,a)}),E.createElement("div",{role:"presentation",className:"".concat(y,"-title"),title:typeof u=="string"?u:void 0},u),E.createElement("ul",{role:"group",className:"".concat(y,"-list")},s))}),py=E.forwardRef(function(n,i){var a=n.eventKey,u=n.children,s=Rd(a),p=SE(u,s),d=sy();return d?p:E.createElement(Nj,Sn({ref:i},Oc(n,["warnKey"])),p)});ce.env.NODE_ENV!=="production"&&(py.displayName="MenuItemGroup");var Dj=["label","children","key","type"];function EE(n,i){var a=i.item,u=i.group,s=i.submenu,p=i.divider;return(n||[]).map(function(d,g){if(d&&Zt(d)==="object"){var y=d,C=y.label,x=y.children,R=y.key,O=y.type,D=wr(y,Dj),N=R??"tmp-".concat(g);return x||O==="group"?O==="group"?E.createElement(u,Sn({key:N},D,{title:C}),EE(x,i)):E.createElement(s,Sn({key:N},D,{title:C}),EE(x,i)):O==="divider"?E.createElement(p,Sn({key:N},D)):E.createElement(a,Sn({key:N},D),C)}return null}).filter(function(d){return d})}function mk(n,i,a,u){var s=n,p=Ce({divider:CE,item:vy,group:py,submenu:ah},u);return i&&(s=EE(i,p)),SE(s,a)}var Pj=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],Fc=[],Aj=E.forwardRef(function(n,i){var a,u,s=n,p=s.prefixCls,d=p===void 0?"rc-menu":p,g=s.rootClassName,y=s.style,C=s.className,x=s.tabIndex,R=x===void 0?0:x,O=s.items,D=s.children,N=s.direction,A=s.id,k=s.mode,V=k===void 0?"vertical":k,$=s.inlineCollapsed,F=s.disabled,z=s.disabledOverflow,I=s.subMenuOpenDelay,H=I===void 0?.1:I,W=s.subMenuCloseDelay,Z=W===void 0?.1:W,J=s.forceSubMenuRender,U=s.defaultOpenKeys,q=s.openKeys,te=s.activeKey,Y=s.defaultActiveFirst,Q=s.selectable,se=Q===void 0?!0:Q,ye=s.multiple,de=ye===void 0?!1:ye,ne=s.defaultSelectedKeys,me=s.selectedKeys,le=s.onSelect,B=s.onDeselect,re=s.inlineIndent,xe=re===void 0?24:re,we=s.motion,Pe=s.defaultMotions,Fe=s.triggerSubMenuAction,Le=Fe===void 0?"hover":Fe,He=s.builtinPlacements,Be=s.itemIcon,ot=s.expandIcon,tt=s.overflowedIndicator,bt=tt===void 0?"...":tt,St=s.overflowedIndicatorPopupClassName,_e=s.getPopupContainer,mt=s.onClick,st=s.onOpenChange,yn=s.onKeyDown,rn=s.openAnimation,pn=s.openTransitionName,en=s._internalRenderMenuItem,pt=s._internalRenderSubMenuItem,jt=s._internalComponents,Ke=wr(s,Pj),an=E.useMemo(function(){return[mk(D,O,Fc,jt),mk(D,O,Fc,{})]},[D,O,jt]),Mt=Ve(an,2),Nt=Mt[0],Kn=Mt[1],nr=E.useState(!1),rr=Ve(nr,2),Ie=rr[0],Xe=rr[1],ut=E.useRef(),Et=dj(A),Ut=N==="rtl";ce.env.NODE_ENV!=="production"&&or(!rn&&!pn,"`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.");var bn=Dc(U,{value:q,postState:function(hn){return hn||Fc}}),Yt=Ve(bn,2),Dt=Yt[0],Jt=Yt[1],on=function(hn){var Nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function sr(){Jt(hn),st?.(hn)}Nn?gg.flushSync(sr):sr()},ln=E.useState(Dt),qn=Ve(ln,2),ar=qn[0],In=qn[1],kn=E.useRef(!1),Or=E.useMemo(function(){return(V==="inline"||V==="vertical")&&$?["vertical",$]:[V,!1]},[V,$]),Tn=Ve(Or,2),ht=Tn[0],Ye=Tn[1],wt=ht==="inline",nn=E.useState(ht),Ft=Ve(nn,2),Bt=Ft[0],On=Ft[1],ir=E.useState(Ye),_r=Ve(ir,2),Pr=_r[0],G=_r[1];E.useEffect(function(){On(ht),G(Ye),kn.current&&(wt?Jt(ar):on(Fc))},[ht,Ye]);var Me=E.useState(0),We=Ve(Me,2),qe=We[0],Pt=We[1],yt=qe>=Nt.length-1||Bt!=="horizontal"||z;E.useEffect(function(){wt&&In(Dt)},[Dt]),E.useEffect(function(){return kn.current=!0,function(){kn.current=!1}},[]);var ct=cj(),It=ct.registerPath,Gn=ct.unregisterPath,_n=ct.refreshOverflowKeys,zn=ct.isSubPathKey,En=ct.getKeyPath,sa=ct.getKeys,_a=ct.getSubPathKeys,At=E.useMemo(function(){return{registerPath:It,unregisterPath:Gn}},[It,Gn]),Kt=E.useMemo(function(){return{isSubPathKey:zn}},[zn]);E.useEffect(function(){_n(yt?Fc:Nt.slice(qe+1).map(function(Mn){return Mn.key}))},[qe,yt]);var ka=Dc(te||Y&&((a=Nt[0])===null||a===void 0?void 0:a.key),{value:te}),ei=Ve(ka,2),ga=ei[0],Xr=ei[1],zi=rh(function(Mn){Xr(Mn)}),Ma=rh(function(){Xr(void 0)});E.useImperativeHandle(i,function(){return{list:ut.current,focus:function(hn){var Nn,sr=sa(),Vr=mE(sr,Et),Ca=Vr.elements,un=Vr.key2element,ao=Vr.element2key,sn=hE(ut.current,Ca),Si=ga??(sn[0]?ao.get(sn[0]):(Nn=Nt.find(function(Hr){return!Hr.props.disabled}))===null||Nn===void 0?void 0:Nn.key),hr=un.get(Si);if(Si&&hr){var kt;hr==null||(kt=hr.focus)===null||kt===void 0||kt.call(hr,hn)}}}});var br=Dc(ne||[],{value:me,postState:function(hn){return Array.isArray(hn)?hn:hn==null?Fc:[hn]}}),ji=Ve(br,2),xr=ji[0],Na=ji[1],ya=function(hn){if(se){var Nn=hn.key,sr=xr.includes(Nn),Vr;de?sr?Vr=xr.filter(function(un){return un!==Nn}):Vr=[].concat(Rt(xr),[Nn]):Vr=[Nn],Na(Vr);var Ca=Ce(Ce({},hn),{},{selectedKeys:Vr});sr?B?.(Ca):le?.(Ca)}!de&&Dt.length&&Bt!=="inline"&&on(Fc)},ti=rh(function(Mn){mt?.(dy(Mn)),ya(Mn)}),ba=rh(function(Mn,hn){var Nn=Dt.filter(function(Vr){return Vr!==Mn});if(hn)Nn.push(Mn);else if(Bt!=="inline"){var sr=_a(Mn);Nn=Nn.filter(function(Vr){return!sr.has(Vr)})}Mp(Dt,Nn,!0)||on(Nn,!0)}),Sr=function(hn,Nn){var sr=Nn??!Dt.includes(hn);ba(hn,sr)},Da=lj(Bt,ga,Ut,Et,ut,sa,En,Xr,Sr,yn);E.useEffect(function(){Xe(!0)},[]);var Sa=E.useMemo(function(){return{_internalRenderMenuItem:en,_internalRenderSubMenuItem:pt}},[en,pt]),ro=Bt!=="horizontal"||z?Nt:Nt.map(function(Mn,hn){return E.createElement(eh,{key:Mn.key,overflowDisabled:hn>qe},Mn)}),ni=E.createElement($u,Sn({id:A,ref:ut,prefixCls:"".concat(d,"-overflow"),component:"ul",itemComponent:vy,className:fn(d,"".concat(d,"-root"),"".concat(d,"-").concat(Bt),C,(u={},ue(u,"".concat(d,"-inline-collapsed"),Pr),ue(u,"".concat(d,"-rtl"),Ut),u),g),dir:N,style:y,role:"menu",tabIndex:R,data:ro,renderRawItem:function(hn){return hn},renderRawRest:function(hn){var Nn=hn.length,sr=Nn?Nt.slice(-Nn):null;return E.createElement(ah,{eventKey:yE,title:bt,disabled:yt,internalPopupClose:Nn===0,popupClassName:St},sr)},maxCount:Bt!=="horizontal"||z?$u.INVALIDATE:$u.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(hn){Pt(hn)},onKeyDown:Da},Ke));return E.createElement(fE.Provider,{value:Sa},E.createElement(ek.Provider,{value:Et},E.createElement(eh,{prefixCls:d,rootClassName:g,mode:Bt,openKeys:Dt,rtl:Ut,disabled:F,motion:Ie?we:null,defaultMotions:Ie?Pe:null,activeKey:ga,onActive:zi,onInactive:Ma,selectedKeys:xr,inlineIndent:xe,subMenuOpenDelay:H,subMenuCloseDelay:Z,forceSubMenuRender:J,builtinPlacements:He,triggerSubMenuAction:Le,getPopupContainer:_e,itemIcon:Be,expandIcon:ot,onItemClick:ti,onOpenChange:ba},E.createElement(ik.Provider,{value:Kt},ni),E.createElement("div",{style:{display:"none"},"aria-hidden":!0},E.createElement(rk.Provider,{value:At},Kn)))))}),ih=Aj;ih.Item=vy,ih.SubMenu=ah,ih.ItemGroup=py,ih.Divider=CE;var $j={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Lj=function(i,a){return E.createElement(Ds,Sn({},i,{ref:a,icon:$j}))},gk=E.forwardRef(Lj);ce.env.NODE_ENV!=="production"&&(gk.displayName="BarsOutlined");var Fj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ij=function(i,a){return E.createElement(Ds,Sn({},i,{ref:a,icon:Fj}))},wE=E.forwardRef(Ij);ce.env.NODE_ENV!=="production"&&(wE.displayName="LeftOutlined");const zj=n=>!isNaN(parseFloat(n))&&isFinite(n),jj=E.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var Vj=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};const yk={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},xE=E.createContext({}),Hj=(()=>{let n=0;return function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n+=1,`${i}${n}`}})(),Uj=E.forwardRef((n,i)=>{const{prefixCls:a,className:u,trigger:s,children:p,defaultCollapsed:d=!1,theme:g="dark",style:y={},collapsible:C=!1,reverseArrow:x=!1,width:R=200,collapsedWidth:O=80,zeroWidthTriggerStyle:D,breakpoint:N,onCollapse:A,onBreakpoint:k}=n,V=Vj(n,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:$}=E.useContext(jj),[F,z]=E.useState("collapsed"in n?n.collapsed:d),[I,H]=E.useState(!1);E.useEffect(()=>{"collapsed"in n&&z(n.collapsed)},[n.collapsed]);const W=(Y,Q)=>{"collapsed"in n||z(Y),A?.(Y,Q)},Z=E.useRef();Z.current=Y=>{H(Y.matches),k?.(Y.matches),F!==Y.matches&&W(Y.matches,"responsive")},E.useEffect(()=>{function Y(se){return Z.current(se)}let Q;if(typeof window<"u"){const{matchMedia:se}=window;if(se&&N&&N in yk){Q=se(`screen and (max-width: ${yk[N]})`);try{Q.addEventListener("change",Y)}catch{Q.addListener(Y)}Y(Q)}}return()=>{try{Q?.removeEventListener("change",Y)}catch{Q?.removeListener(Y)}}},[N]),E.useEffect(()=>{const Y=Hj("ant-sider-");return $.addSider(Y),()=>$.removeSider(Y)},[]);const J=()=>{W(!F,"clickTrigger")},{getPrefixCls:U}=E.useContext(yi),q=()=>{const Y=U("layout-sider",a),Q=Oc(V,["collapsed"]),se=F?O:R,ye=zj(se)?`${se}px`:String(se),de=parseFloat(String(O||0))===0?E.createElement("span",{onClick:J,className:fn(`${Y}-zero-width-trigger`,`${Y}-zero-width-trigger-${x?"right":"left"}`),style:D},s||E.createElement(gk,null)):null,le={expanded:x?E.createElement(uy,null):E.createElement(wE,null),collapsed:x?E.createElement(wE,null):E.createElement(uy,null)}[F?"collapsed":"expanded"],B=s!==null?de||E.createElement("div",{className:`${Y}-trigger`,onClick:J,style:{width:ye}},s||le):null,re=Object.assign(Object.assign({},y),{flex:`0 0 ${ye}`,maxWidth:ye,minWidth:ye,width:ye}),xe=fn(Y,`${Y}-${g}`,{[`${Y}-collapsed`]:!!F,[`${Y}-has-trigger`]:C&&s!==null&&!de,[`${Y}-below`]:!!I,[`${Y}-zero-width`]:parseFloat(ye)===0},u);return E.createElement("aside",Object.assign({className:xe},Q,{style:re,ref:i}),E.createElement("div",{className:`${Y}-children`},p),C||I&&de?B:null)},te=E.useMemo(()=>({siderCollapsed:F}),[F]);return E.createElement(xE.Provider,{value:te},q())});ce.env.NODE_ENV!=="production"&&(Uj.displayName="Sider");var Bj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Wj=function(i,a){return E.createElement(Ds,Sn({},i,{ref:a,icon:Bj}))},bk=E.forwardRef(Wj);ce.env.NODE_ENV!=="production"&&(bk.displayName="EllipsisOutlined");const hy=E.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var Yj=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};const Sk=n=>{const{prefixCls:i,className:a,dashed:u}=n,s=Yj(n,["prefixCls","className","dashed"]),{getPrefixCls:p}=E.useContext(yi),d=p("menu",i),g=fn({[`${d}-item-divider-dashed`]:!!u},a);return E.createElement(CE,Object.assign({className:g},s))},Ck=n=>{var i;const{className:a,children:u,icon:s,title:p,danger:d}=n,{prefixCls:g,firstLevel:y,direction:C,disableMenuItemTitleTooltip:x,inlineCollapsed:R}=E.useContext(hy),O=$=>{const F=E.createElement("span",{className:`${g}-title-content`},u);return(!s||E.isValidElement(u)&&u.type==="span")&&u&&$&&y&&typeof u=="string"?E.createElement("div",{className:`${g}-inline-collapsed-noicon`},u.charAt(0)):F},{siderCollapsed:D}=E.useContext(xE);let N=p;typeof p>"u"?N=y?u:"":p===!1&&(N="");const A={title:N};!D&&!R&&(A.title=null,A.open=!1);const k=_u(u).length;let V=E.createElement(vy,Object.assign({},Oc(n,["title","icon","danger"]),{className:fn({[`${g}-item-danger`]:d,[`${g}-item-only-child`]:(s?k+1:k)===1},a),title:typeof p=="string"?p:void 0}),pd(s,{className:fn(E.isValidElement(s)?(i=s.props)===null||i===void 0?void 0:i.className:"",`${g}-item-icon`)}),O(R));return x||(V=E.createElement(cE,Object.assign({},A,{placement:C==="rtl"?"left":"right",overlayClassName:`${g}-inline-collapsed-tooltip`}),V)),V};var Kj=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};const my=E.createContext(null),qj=E.forwardRef((n,i)=>{const{children:a}=n,u=Kj(n,["children"]),s=E.useContext(my),p=E.useMemo(()=>Object.assign(Object.assign({},s),u),[s,u.prefixCls,u.mode,u.selectable,u.rootClassName]),d=_A(a),g=xp(i,d?a.ref:null);return E.createElement(my.Provider,{value:p},E.createElement(x_,{space:!0},d?E.cloneElement(a,{ref:g}):a))}),Gj=n=>{const{componentCls:i,motionDurationSlow:a,horizontalLineHeight:u,colorSplit:s,lineWidth:p,lineType:d,itemPaddingInline:g}=n;return{[`${i}-horizontal`]:{lineHeight:u,border:0,borderBottom:`${dn(p)} ${d} ${s}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${i}-item, ${i}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:g},[`> ${i}-item:hover,
364
- > ${i}-item-active,
365
- > ${i}-submenu ${i}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${i}-item, ${i}-submenu-title`]:{transition:[`border-color ${a}`,`background ${a}`].join(",")},[`${i}-submenu-arrow`]:{display:"none"}}}},Xj=n=>{let{componentCls:i,menuArrowOffset:a,calc:u}=n;return{[`${i}-rtl`]:{direction:"rtl"},[`${i}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${i}-rtl${i}-vertical,
366
- ${i}-submenu-rtl ${i}-vertical`]:{[`${i}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${dn(u(a).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${dn(a)})`}}}}},Ek=n=>Object.assign({},CO(n)),wk=(n,i)=>{const{componentCls:a,itemColor:u,itemSelectedColor:s,groupTitleColor:p,itemBg:d,subMenuItemBg:g,itemSelectedBg:y,activeBarHeight:C,activeBarWidth:x,activeBarBorderWidth:R,motionDurationSlow:O,motionEaseInOut:D,motionEaseOut:N,itemPaddingInline:A,motionDurationMid:k,itemHoverColor:V,lineType:$,colorSplit:F,itemDisabledColor:z,dangerItemColor:I,dangerItemHoverColor:H,dangerItemSelectedColor:W,dangerItemActiveBg:Z,dangerItemSelectedBg:J,popupBg:U,itemHoverBg:q,itemActiveBg:te,menuSubMenuBg:Y,horizontalItemSelectedColor:Q,horizontalItemSelectedBg:se,horizontalItemBorderRadius:ye,horizontalItemHoverBg:de}=n;return{[`${a}-${i}, ${a}-${i} > ${a}`]:{color:u,background:d,[`&${a}-root:focus-visible`]:Object.assign({},Ek(n)),[`${a}-item-group-title`]:{color:p},[`${a}-submenu-selected`]:{[`> ${a}-submenu-title`]:{color:s}},[`${a}-item, ${a}-submenu-title`]:{color:u,[`&:not(${a}-item-disabled):focus-visible`]:Object.assign({},Ek(n))},[`${a}-item-disabled, ${a}-submenu-disabled`]:{color:`${z} !important`},[`${a}-item:not(${a}-item-selected):not(${a}-submenu-selected)`]:{[`&:hover, > ${a}-submenu-title:hover`]:{color:V}},[`&:not(${a}-horizontal)`]:{[`${a}-item:not(${a}-item-selected)`]:{"&:hover":{backgroundColor:q},"&:active":{backgroundColor:te}},[`${a}-submenu-title`]:{"&:hover":{backgroundColor:q},"&:active":{backgroundColor:te}}},[`${a}-item-danger`]:{color:I,[`&${a}-item:hover`]:{[`&:not(${a}-item-selected):not(${a}-submenu-selected)`]:{color:H}},[`&${a}-item:active`]:{background:Z}},[`${a}-item a`]:{"&, &:hover":{color:"inherit"}},[`${a}-item-selected`]:{color:s,[`&${a}-item-danger`]:{color:W},"a, a:hover":{color:"inherit"}},[`& ${a}-item-selected`]:{backgroundColor:y,[`&${a}-item-danger`]:{backgroundColor:J}},[`&${a}-submenu > ${a}`]:{backgroundColor:Y},[`&${a}-popup > ${a}`]:{backgroundColor:U},[`&${a}-submenu-popup > ${a}`]:{backgroundColor:U},[`&${a}-horizontal`]:Object.assign(Object.assign({},i==="dark"?{borderBottom:0}:{}),{[`> ${a}-item, > ${a}-submenu`]:{top:R,marginTop:n.calc(R).mul(-1).equal(),marginBottom:0,borderRadius:ye,"&::after":{position:"absolute",insetInline:A,bottom:0,borderBottom:`${dn(C)} solid transparent`,transition:`border-color ${O} ${D}`,content:'""'},"&:hover, &-active, &-open":{background:de,"&::after":{borderBottomWidth:C,borderBottomColor:Q}},"&-selected":{color:Q,backgroundColor:se,"&:hover":{backgroundColor:se},"&::after":{borderBottomWidth:C,borderBottomColor:Q}}}}),[`&${a}-root`]:{[`&${a}-inline, &${a}-vertical`]:{borderInlineEnd:`${dn(R)} ${$} ${F}`}},[`&${a}-inline`]:{[`${a}-sub${a}-inline`]:{background:g},[`${a}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${dn(x)} solid ${s}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${k} ${N}`,`opacity ${k} ${N}`].join(","),content:'""'},[`&${a}-item-danger`]:{"&::after":{borderInlineEndColor:W}}},[`${a}-selected, ${a}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${k} ${D}`,`opacity ${k} ${D}`].join(",")}}}}}},xk=n=>{const{componentCls:i,itemHeight:a,itemMarginInline:u,padding:s,menuArrowSize:p,marginXS:d,itemMarginBlock:g,itemWidth:y}=n,C=n.calc(p).add(s).add(d).equal();return{[`${i}-item`]:{position:"relative",overflow:"hidden"},[`${i}-item, ${i}-submenu-title`]:{height:a,lineHeight:dn(a),paddingInline:s,overflow:"hidden",textOverflow:"ellipsis",marginInline:u,marginBlock:g,width:y},[`> ${i}-item,
367
- > ${i}-submenu > ${i}-submenu-title`]:{height:a,lineHeight:dn(a)},[`${i}-item-group-list ${i}-submenu-title,
368
- ${i}-submenu-title`]:{paddingInlineEnd:C}}},Qj=n=>{const{componentCls:i,iconCls:a,itemHeight:u,colorTextLightSolid:s,dropdownWidth:p,controlHeightLG:d,motionDurationMid:g,motionEaseOut:y,paddingXL:C,itemMarginInline:x,fontSizeLG:R,motionDurationSlow:O,paddingXS:D,boxShadowSecondary:N,collapsedWidth:A,collapsedIconSize:k}=n,V={height:u,lineHeight:dn(u),listStylePosition:"inside",listStyleType:"disc"};return[{[i]:{"&-inline, &-vertical":Object.assign({[`&${i}-root`]:{boxShadow:"none"}},xk(n))},[`${i}-submenu-popup`]:{[`${i}-vertical`]:Object.assign(Object.assign({},xk(n)),{boxShadow:N})}},{[`${i}-submenu-popup ${i}-vertical${i}-sub`]:{minWidth:p,maxHeight:`calc(100vh - ${dn(n.calc(d).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${i}-inline`]:{width:"100%",[`&${i}-root`]:{[`${i}-item, ${i}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${O}`,`background ${O}`,`padding ${g} ${y}`,`padding-inline calc(50% - ${dn(n.calc(R).div(2).equal())} - ${dn(x)})`].join(","),[`> ${i}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${i}-sub${i}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${i}-submenu > ${i}-submenu-title`]:V,[`& ${i}-item-group-title`]:{paddingInlineStart:C}},[`${i}-item`]:V}},{[`${i}-inline-collapsed`]:{width:A,[`&${i}-root`]:{[`${i}-item, ${i}-submenu ${i}-submenu-title`]:{[`> ${i}-inline-collapsed-noicon`]:{fontSize:R,textAlign:"center"}}},[`> ${i}-item,
369
- > ${i}-item-group > ${i}-item-group-list > ${i}-item,
370
- > ${i}-item-group > ${i}-item-group-list > ${i}-submenu > ${i}-submenu-title,
371
- > ${i}-submenu > ${i}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${dn(n.calc(R).div(2).equal())} - ${dn(x)})`,textOverflow:"clip",[`
372
- ${i}-submenu-arrow,
373
- ${i}-submenu-expand-icon
374
- `]:{opacity:0},[`${i}-item-icon, ${a}`]:{margin:0,fontSize:k,lineHeight:dn(u),"+ span":{display:"inline-block",opacity:0}}},[`${i}-item-icon, ${a}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${i}-item-icon, ${a}`]:{display:"none"},"a, a:hover":{color:s}},[`${i}-item-group-title`]:Object.assign(Object.assign({},yL),{paddingInline:D})}}]},Rk=n=>{const{componentCls:i,motionDurationSlow:a,motionDurationMid:u,motionEaseInOut:s,motionEaseOut:p,iconCls:d,iconSize:g,iconMarginInlineEnd:y}=n;return{[`${i}-item, ${i}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${a}`,`background ${a}`,`padding ${a} ${s}`].join(","),[`${i}-item-icon, ${d}`]:{minWidth:g,fontSize:g,transition:[`font-size ${u} ${p}`,`margin ${a} ${s}`,`color ${a}`].join(","),"+ span":{marginInlineStart:y,opacity:1,transition:[`opacity ${a} ${s}`,`margin ${a}`,`color ${a}`].join(",")}},[`${i}-item-icon`]:Object.assign({},bO()),[`&${i}-item-only-child`]:{[`> ${d}, > ${i}-item-icon`]:{marginInlineEnd:0}}},[`${i}-item-disabled, ${i}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${i}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Tk=n=>{const{componentCls:i,motionDurationSlow:a,motionEaseInOut:u,borderRadius:s,menuArrowSize:p,menuArrowOffset:d}=n;return{[`${i}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:n.margin,width:p,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${a} ${u}, opacity ${a}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:n.calc(p).mul(.6).equal(),height:n.calc(p).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:s,transition:[`background ${a} ${u}`,`transform ${a} ${u}`,`top ${a} ${u}`,`color ${a} ${u}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${dn(n.calc(d).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${dn(d)})`}}}}},Zj=n=>{const{antCls:i,componentCls:a,fontSize:u,motionDurationSlow:s,motionDurationMid:p,motionEaseInOut:d,paddingXS:g,padding:y,colorSplit:C,lineWidth:x,zIndexPopup:R,borderRadiusLG:O,subMenuItemBorderRadius:D,menuArrowSize:N,menuArrowOffset:A,lineType:k,groupTitleLineHeight:V,groupTitleFontSize:$}=n;return[{"":{[`${a}`]:Object.assign(Object.assign({},SO()),{"&-hidden":{display:"none"}})},[`${a}-submenu-hidden`]:{display:"none"}},{[a]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},qg(n)),SO()),{marginBottom:0,paddingInlineStart:0,fontSize:u,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${s} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${a}-item`]:{flex:"none"}},[`${a}-item, ${a}-submenu, ${a}-submenu-title`]:{borderRadius:n.itemBorderRadius},[`${a}-item-group-title`]:{padding:`${dn(g)} ${dn(y)}`,fontSize:$,lineHeight:V,transition:`all ${s}`},[`&-horizontal ${a}-submenu`]:{transition:[`border-color ${s} ${d}`,`background ${s} ${d}`].join(",")},[`${a}-submenu, ${a}-submenu-inline`]:{transition:[`border-color ${s} ${d}`,`background ${s} ${d}`,`padding ${p} ${d}`].join(",")},[`${a}-submenu ${a}-sub`]:{cursor:"initial",transition:[`background ${s} ${d}`,`padding ${s} ${d}`].join(",")},[`${a}-title-content`]:{transition:`color ${s}`,[`> ${i}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${a}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${a}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:C,borderStyle:k,borderWidth:0,borderTopWidth:x,marginBlock:x,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Rk(n)),{[`${a}-item-group`]:{[`${a}-item-group-list`]:{margin:0,padding:0,[`${a}-item, ${a}-submenu-title`]:{paddingInline:`${dn(n.calc(u).mul(2).equal())} ${dn(y)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:R,borderRadius:O,boxShadow:"none",transformOrigin:"0 0",[`&${a}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${a}`]:Object.assign(Object.assign(Object.assign({borderRadius:O},Rk(n)),Tk(n)),{[`${a}-item, ${a}-submenu > ${a}-submenu-title`]:{borderRadius:D},[`${a}-submenu-title::after`]:{transition:`transform ${s} ${d}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:n.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:n.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:n.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:n.paddingXS}}}),Tk(n)),{[`&-inline-collapsed ${a}-submenu-arrow,
375
- &-inline ${a}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${dn(A)})`},"&::after":{transform:`rotate(45deg) translateX(${dn(n.calc(A).mul(-1).equal())})`}},[`${a}-submenu-open${a}-submenu-inline > ${a}-submenu-title > ${a}-submenu-arrow`]:{transform:`translateY(${dn(n.calc(N).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${dn(n.calc(A).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${dn(A)})`}}})},{[`${i}-layout-header`]:{[a]:{lineHeight:"inherit"}}}]},Jj=n=>{var i,a,u;const{colorPrimary:s,colorError:p,colorTextDisabled:d,colorErrorBg:g,colorText:y,colorTextDescription:C,colorBgContainer:x,colorFillAlter:R,colorFillContent:O,lineWidth:D,lineWidthBold:N,controlItemBgActive:A,colorBgTextHover:k,controlHeightLG:V,lineHeight:$,colorBgElevated:F,marginXXS:z,padding:I,fontSize:H,controlHeightSM:W,fontSizeLG:Z,colorTextLightSolid:J,colorErrorHover:U}=n,q=(i=n.activeBarWidth)!==null&&i!==void 0?i:0,te=(a=n.activeBarBorderWidth)!==null&&a!==void 0?a:D,Y=(u=n.itemMarginInline)!==null&&u!==void 0?u:n.marginXXS,Q=new Fi(J).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:n.zIndexPopupBase+50,radiusItem:n.borderRadiusLG,itemBorderRadius:n.borderRadiusLG,radiusSubMenuItem:n.borderRadiusSM,subMenuItemBorderRadius:n.borderRadiusSM,colorItemText:y,itemColor:y,colorItemTextHover:y,itemHoverColor:y,colorItemTextHoverHorizontal:s,horizontalItemHoverColor:s,colorGroupTitle:C,groupTitleColor:C,colorItemTextSelected:s,itemSelectedColor:s,colorItemTextSelectedHorizontal:s,horizontalItemSelectedColor:s,colorItemBg:x,itemBg:x,colorItemBgHover:k,itemHoverBg:k,colorItemBgActive:O,itemActiveBg:A,colorSubItemBg:R,subMenuItemBg:R,colorItemBgSelected:A,itemSelectedBg:A,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:q,colorActiveBarHeight:N,activeBarHeight:N,colorActiveBarBorderSize:D,activeBarBorderWidth:te,colorItemTextDisabled:d,itemDisabledColor:d,colorDangerItemText:p,dangerItemColor:p,colorDangerItemTextHover:p,dangerItemHoverColor:p,colorDangerItemTextSelected:p,dangerItemSelectedColor:p,colorDangerItemBgActive:g,dangerItemActiveBg:g,colorDangerItemBgSelected:g,dangerItemSelectedBg:g,itemMarginInline:Y,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:V,groupTitleLineHeight:$,collapsedWidth:V*2,popupBg:F,itemMarginBlock:z,itemPaddingInline:I,horizontalLineHeight:`${V*1.15}px`,iconSize:H,iconMarginInlineEnd:W-H,collapsedIconSize:Z,groupTitleFontSize:H,darkItemDisabledColor:new Fi(J).setAlpha(.25).toRgbString(),darkItemColor:Q,darkDangerItemColor:p,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:J,darkItemSelectedBg:s,darkDangerItemSelectedBg:p,darkItemHoverBg:"transparent",darkGroupTitleColor:Q,darkItemHoverColor:J,darkDangerItemHoverColor:U,darkDangerItemSelectedColor:J,darkDangerItemActiveBg:p,itemWidth:q?`calc(100% + ${te}px)`:`calc(100% - ${Y*2}px)`}},eV=function(n){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Gg("Menu",s=>{const{colorBgElevated:p,controlHeightLG:d,fontSize:g,darkItemColor:y,darkDangerItemColor:C,darkItemBg:x,darkSubMenuItemBg:R,darkItemSelectedColor:O,darkItemSelectedBg:D,darkDangerItemSelectedBg:N,darkItemHoverBg:A,darkGroupTitleColor:k,darkItemHoverColor:V,darkItemDisabledColor:$,darkDangerItemHoverColor:F,darkDangerItemSelectedColor:z,darkDangerItemActiveBg:I,popupBg:H,darkPopupBg:W}=s,Z=s.calc(g).div(7).mul(5).equal(),J=Ms(s,{menuArrowSize:Z,menuHorizontalHeight:s.calc(d).mul(1.15).equal(),menuArrowOffset:s.calc(Z).mul(.25).equal(),menuSubMenuBg:p,calc:s.calc,popupBg:H}),U=Ms(J,{itemColor:y,itemHoverColor:V,groupTitleColor:k,itemSelectedColor:O,itemBg:x,popupBg:W,subMenuItemBg:R,itemActiveBg:"transparent",itemSelectedBg:D,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:A,itemDisabledColor:$,dangerItemColor:C,dangerItemHoverColor:F,dangerItemSelectedColor:z,dangerItemActiveBg:I,dangerItemSelectedBg:N,menuSubMenuBg:R,horizontalItemSelectedColor:O,horizontalItemSelectedBg:D});return[Zj(J),Gj(J),Qj(J),wk(J,"light"),wk(U,"dark"),Xj(J),MI(J),iy(J,"slide-up"),iy(J,"slide-down"),oE(J,"zoom-big")]},Jj,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:a,unitless:{groupTitleLineHeight:!0}})(n,i)},Ok=n=>{var i;const{popupClassName:a,icon:u,title:s,theme:p}=n,d=E.useContext(hy),{prefixCls:g,inlineCollapsed:y,theme:C}=d,x=Rd();let R;if(!u)R=y&&!x.length&&s&&typeof s=="string"?E.createElement("div",{className:`${g}-inline-collapsed-noicon`},s.charAt(0)):E.createElement("span",{className:`${g}-title-content`},s);else{const N=E.isValidElement(s)&&s.type==="span";R=E.createElement(E.Fragment,null,pd(u,{className:fn(E.isValidElement(u)?(i=u.props)===null||i===void 0?void 0:i.className:"",`${g}-item-icon`)}),N?s:E.createElement("span",{className:`${g}-title-content`},s))}const O=E.useMemo(()=>Object.assign(Object.assign({},d),{firstLevel:!1}),[d]),[D]=VC("Menu");return E.createElement(hy.Provider,{value:O},E.createElement(ah,Object.assign({},Oc(n,["icon"]),{title:R,popupClassName:fn(g,a,`${g}-${p||C}`),popupStyle:{zIndex:D}})))};var tV=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};function RE(n){return n===null||n===!1}const nV={item:Ck,submenu:Ok,divider:Sk},rV=E.forwardRef((n,i)=>{var a;const u=E.useContext(my),s=u||{},{getPrefixCls:p,getPopupContainer:d,direction:g,menu:y}=E.useContext(yi),C=p(),{prefixCls:x,className:R,style:O,theme:D="light",expandIcon:N,_internalDisableMenuItemTitleTooltip:A,inlineCollapsed:k,siderCollapsed:V,rootClassName:$,mode:F,selectable:z,onClick:I,overflowedIndicatorPopupClassName:H}=n,W=tV(n,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Z=Oc(W,["collapsedWidth"]);if(ce.env.NODE_ENV!=="production"){const re=Kl("Menu");ce.env.NODE_ENV!=="production"&&re(!("inlineCollapsed"in n&&F!=="inline"),"usage","`inlineCollapsed` should only be used when `mode` is inline."),ce.env.NODE_ENV!=="production"&&re(!(n.siderCollapsed!==void 0&&"inlineCollapsed"in n),"usage","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),re.deprecated("items"in n&&!n.children,"children","items")}(a=s.validator)===null||a===void 0||a.call(s,{mode:F});const J=Ii(function(){var re;I?.apply(void 0,arguments),(re=s.onClick)===null||re===void 0||re.call(s)}),U=s.mode||F,q=z??s.selectable,te=E.useMemo(()=>V!==void 0?V:k,[k,V]),Y={horizontal:{motionName:`${C}-slide-up`},inline:CF(C),other:{motionName:`${C}-zoom-big`}},Q=p("menu",x||s.prefixCls),se=GO(Q),[ye,de,ne]=eV(Q,se,!u),me=fn(`${Q}-${D}`,y?.className,R),le=E.useMemo(()=>{var re,xe;if(typeof N=="function"||RE(N))return N||null;if(typeof s.expandIcon=="function"||RE(s.expandIcon))return s.expandIcon||null;if(typeof y?.expandIcon=="function"||RE(y?.expandIcon))return y?.expandIcon||null;const we=(re=N??s?.expandIcon)!==null&&re!==void 0?re:y?.expandIcon;return pd(we,{className:fn(`${Q}-submenu-expand-icon`,E.isValidElement(we)?(xe=we.props)===null||xe===void 0?void 0:xe.className:void 0)})},[N,s?.expandIcon,y?.expandIcon,Q]),B=E.useMemo(()=>({prefixCls:Q,inlineCollapsed:te||!1,direction:g,firstLevel:!0,theme:D,mode:U,disableMenuItemTitleTooltip:A}),[Q,te,g,A,D]);return ye(E.createElement(my.Provider,{value:null},E.createElement(hy.Provider,{value:B},E.createElement(ih,Object.assign({getPopupContainer:d,overflowedIndicator:E.createElement(bk,null),overflowedIndicatorPopupClassName:fn(Q,`${Q}-${D}`,H),mode:U,selectable:q,onClick:J},Z,{inlineCollapsed:te,style:Object.assign(Object.assign({},y?.style),O),className:me,prefixCls:Q,direction:g,defaultMotions:Y,expandIcon:le,ref:i,rootClassName:fn($,de,s.rootClassName,ne,se),_internalComponents:nV})))))}),Td=E.forwardRef((n,i)=>{const a=E.useRef(null),u=E.useContext(xE);return E.useImperativeHandle(i,()=>({menu:a.current,focus:s=>{var p;(p=a.current)===null||p===void 0||p.focus(s)}})),E.createElement(rV,Object.assign({ref:a},n,u))});Td.Item=Ck,Td.SubMenu=Ok,Td.Divider=Sk,Td.ItemGroup=py,ce.env.NODE_ENV!=="production"&&(Td.displayName="Menu");const aV=n=>{const{componentCls:i,menuCls:a,colorError:u,colorTextLightSolid:s}=n,p=`${a}-item`;return{[`${i}, ${i}-menu-submenu`]:{[`${a} ${p}`]:{[`&${p}-danger:not(${p}-disabled)`]:{color:u,"&:hover":{color:s,backgroundColor:u}}}}}},iV=n=>{const{componentCls:i,menuCls:a,zIndexPopup:u,dropdownArrowDistance:s,sizePopupArrow:p,antCls:d,iconCls:g,motionDurationMid:y,paddingBlock:C,fontSize:x,dropdownEdgeChildPadding:R,colorTextDisabled:O,fontSizeIcon:D,controlPaddingHorizontal:N,colorBgElevated:A}=n;return[{[i]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:u,display:"block","&::before":{position:"absolute",insetBlock:n.calc(p).div(2).sub(s).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${d}-btn`]:{[`& > ${g}-down, & > ${d}-btn-icon > ${g}-down`]:{fontSize:D}},[`${i}-wrap`]:{position:"relative",[`${d}-btn > ${g}-down`]:{fontSize:D},[`${g}-down::before`]:{transition:`transform ${y}`}},[`${i}-wrap-open`]:{[`${g}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${d}-slide-down-enter${d}-slide-down-enter-active${i}-placement-bottomLeft,
376
- &${d}-slide-down-appear${d}-slide-down-appear-active${i}-placement-bottomLeft,
377
- &${d}-slide-down-enter${d}-slide-down-enter-active${i}-placement-bottom,
378
- &${d}-slide-down-appear${d}-slide-down-appear-active${i}-placement-bottom,
379
- &${d}-slide-down-enter${d}-slide-down-enter-active${i}-placement-bottomRight,
380
- &${d}-slide-down-appear${d}-slide-down-appear-active${i}-placement-bottomRight`]:{animationName:T_},[`&${d}-slide-up-enter${d}-slide-up-enter-active${i}-placement-topLeft,
381
- &${d}-slide-up-appear${d}-slide-up-appear-active${i}-placement-topLeft,
382
- &${d}-slide-up-enter${d}-slide-up-enter-active${i}-placement-top,
383
- &${d}-slide-up-appear${d}-slide-up-appear-active${i}-placement-top,
384
- &${d}-slide-up-enter${d}-slide-up-enter-active${i}-placement-topRight,
385
- &${d}-slide-up-appear${d}-slide-up-appear-active${i}-placement-topRight`]:{animationName:__},[`&${d}-slide-down-leave${d}-slide-down-leave-active${i}-placement-bottomLeft,
386
- &${d}-slide-down-leave${d}-slide-down-leave-active${i}-placement-bottom,
387
- &${d}-slide-down-leave${d}-slide-down-leave-active${i}-placement-bottomRight`]:{animationName:O_},[`&${d}-slide-up-leave${d}-slide-up-leave-active${i}-placement-topLeft,
388
- &${d}-slide-up-leave${d}-slide-up-leave-active${i}-placement-top,
389
- &${d}-slide-up-leave${d}-slide-up-leave-active${i}-placement-topRight`]:{animationName:k_}}},G_(n,A,{arrowPlacement:{top:!0,bottom:!0}}),{[`${i} ${a}`]:{position:"relative",margin:0},[`${a}-submenu-popup`]:{position:"absolute",zIndex:u,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${i}, ${i}-menu-submenu`]:Object.assign(Object.assign({},qg(n)),{[a]:Object.assign(Object.assign({padding:R,listStyleType:"none",backgroundColor:A,backgroundClip:"padding-box",borderRadius:n.borderRadiusLG,outline:"none",boxShadow:n.boxShadowSecondary},DC(n)),{"&:empty":{padding:0,boxShadow:"none"},[`${a}-item-group-title`]:{padding:`${dn(C)} ${dn(N)}`,color:n.colorTextDescription,transition:`all ${y}`},[`${a}-item`]:{position:"relative",display:"flex",alignItems:"center",whiteSpace:"nowrap"},[`${a}-item-icon`]:{minWidth:x,marginInlineEnd:n.marginXS,fontSize:n.fontSizeSM},[`${a}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${y}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${a}-item, ${a}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${dn(C)} ${dn(N)}`,color:n.colorText,fontWeight:"normal",fontSize:x,lineHeight:n.lineHeight,cursor:"pointer",transition:`all ${y}`,borderRadius:n.borderRadiusSM,"&:hover, &-active":{backgroundColor:n.controlItemBgHover}},DC(n)),{"&-selected":{color:n.colorPrimary,backgroundColor:n.controlItemBgActive,"&:hover, &-active":{backgroundColor:n.controlItemBgActiveHover}},"&-disabled":{color:O,cursor:"not-allowed","&:hover":{color:O,backgroundColor:A,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${dn(n.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:n.colorSplit},[`${i}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:n.paddingXS,[`${i}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:n.colorTextDescription,fontSize:D,fontStyle:"normal"}}}),[`${a}-item-group-list`]:{margin:`0 ${dn(n.marginXS)}`,padding:0,listStyle:"none"},[`${a}-submenu-title`]:{paddingInlineEnd:n.calc(N).add(n.fontSizeSM).equal()},[`${a}-submenu-vertical`]:{position:"relative"},[`${a}-submenu${a}-submenu-disabled ${i}-menu-submenu-title`]:{[`&, ${i}-menu-submenu-arrow-icon`]:{color:O,backgroundColor:A,cursor:"not-allowed"}},[`${a}-submenu-selected ${i}-menu-submenu-title`]:{color:n.colorPrimary}})})},[iy(n,"slide-up"),iy(n,"slide-down"),R_(n,"move-up"),R_(n,"move-down"),oE(n,"zoom-big")]]},oV=Gg("Dropdown",n=>{const{marginXXS:i,sizePopupArrow:a,paddingXXS:u,componentCls:s}=n,p=Ms(n,{menuCls:`${s}-menu`,dropdownArrowDistance:n.calc(a).div(2).add(i).equal(),dropdownEdgeChildPadding:u});return[iV(p),aV(p)]},n=>Object.assign(Object.assign({zIndexPopup:n.zIndexPopupBase+50,paddingBlock:(n.controlHeight-n.fontSize*n.lineHeight)/2},sE({contentRadius:n.borderRadiusLG,limitVerticalRadius:!0})),K_(n)),{resetStyle:!1}),gy=n=>{var i;const{menu:a,arrow:u,prefixCls:s,children:p,trigger:d,disabled:g,dropdownRender:y,getPopupContainer:C,overlayClassName:x,rootClassName:R,overlayStyle:O,open:D,onOpenChange:N,visible:A,onVisibleChange:k,mouseEnterDelay:V=.15,mouseLeaveDelay:$=.1,autoAdjustOverflow:F=!0,placement:z="",overlay:I,transitionName:H}=n,{getPopupContainer:W,getPrefixCls:Z,direction:J,dropdown:U}=E.useContext(yi),q=Kl("Dropdown");ce.env.NODE_ENV!=="production"&&([["visible","open"],["onVisibleChange","onOpenChange"]].forEach(_e=>{let[mt,st]=_e;q.deprecated(!(mt in n),mt,st)}),q.deprecated(!("overlay"in n),"overlay","menu"));const te=E.useMemo(()=>{const _e=Z();return H!==void 0?H:z.includes("top")?`${_e}-slide-down`:`${_e}-slide-up`},[Z,z,H]),Y=E.useMemo(()=>z?z.includes("Center")?z.slice(0,z.indexOf("Center")):z:J==="rtl"?"bottomRight":"bottomLeft",[z,J]);if(ce.env.NODE_ENV!=="production"){if(z.includes("Center")){const _e=z.slice(0,z.indexOf("Center"));ce.env.NODE_ENV!=="production"&&q(!z.includes("Center"),"deprecated",`You are using '${z}' placement in Dropdown, which is deprecated. Try to use '${_e}' instead.`)}[["visible","open"],["onVisibleChange","onOpenChange"]].forEach(_e=>{let[mt,st]=_e;q.deprecated(!(mt in n),mt,st)})}const Q=Z("dropdown",s),se=GO(Q),[ye,de,ne]=oV(Q,se),[,me]=Pc(),le=E.Children.only(p),B=pd(le,{className:fn(`${Q}-trigger`,{[`${Q}-rtl`]:J==="rtl"},le.props.className),disabled:(i=le.props.disabled)!==null&&i!==void 0?i:g}),re=g?[]:d,xe=!!re?.includes("contextMenu"),[we,Pe]=Dc(!1,{value:D??A}),Fe=Ii(_e=>{N?.(_e,{source:"trigger"}),k?.(_e),Pe(_e)}),Le=fn(x,R,de,ne,se,U?.className,{[`${Q}-rtl`]:J==="rtl"}),He=Q_({arrowPointAtCenter:typeof u=="object"&&u.pointAtCenter,autoAdjustOverflow:F,offset:me.marginXXS,arrowWidth:u?me.sizePopupArrow:0,borderRadius:me.borderRadius}),Be=E.useCallback(()=>{a?.selectable&&a?.multiple||(N?.(!1,{source:"menu"}),Pe(!1))},[a?.selectable,a?.multiple]),ot=()=>{let _e;return a?.items?_e=E.createElement(Td,Object.assign({},a)):typeof I=="function"?_e=I():_e=I,y&&(_e=y(_e)),_e=E.Children.only(typeof _e=="string"?E.createElement("span",null,_e):_e),E.createElement(qj,{prefixCls:`${Q}-menu`,rootClassName:fn(ne,se),expandIcon:E.createElement("span",{className:`${Q}-menu-submenu-arrow`},E.createElement(uy,{className:`${Q}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Be,validator:mt=>{let{mode:st}=mt;ce.env.NODE_ENV!=="production"&&q(!st||st==="vertical","usage",`mode="${st}" is not supported for Dropdown's Menu.`)}},_e)},[tt,bt]=VC("Dropdown",O?.zIndex);let St=E.createElement(Jz,Object.assign({alignPoint:xe},Oc(n,["rootClassName"]),{mouseEnterDelay:V,mouseLeaveDelay:$,visible:we,builtinPlacements:He,arrow:!!u,overlayClassName:Le,prefixCls:Q,getPopupContainer:C||W,transitionName:te,trigger:re,overlay:ot,placement:Y,onVisibleChange:Fe,overlayStyle:Object.assign(Object.assign(Object.assign({},U?.style),O),{zIndex:tt})}),B);return tt&&(St=E.createElement(ny.Provider,{value:bt},St)),ye(St)};function lV(n){return Object.assign(Object.assign({},n),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const uV=iz(gy,"dropdown",n=>n,lV),sV=n=>E.createElement(uV,Object.assign({},n),E.createElement("span",null));gy._InternalPanelDoNotUseOrYouWillBeFired=sV,ce.env.NODE_ENV!=="production"&&(gy.displayName="Dropdown");const yy=n=>{let{children:i}=n;const{getPrefixCls:a}=E.useContext(yi),u=a("breadcrumb");return E.createElement("li",{className:`${u}-separator`,"aria-hidden":"true"},i===""?i:i||"/")};yy.__ANT_BREADCRUMB_SEPARATOR=!0;var cV=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};function fV(n,i){if(n.title===void 0||n.title===null)return null;const a=Object.keys(i).join("|");return typeof n.title=="object"?n.title:String(n.title).replace(new RegExp(`:(${a})`,"g"),(u,s)=>i[s]||u)}function _k(n,i,a,u){if(a==null)return null;const{className:s,onClick:p}=i,d=cV(i,["className","onClick"]),g=Object.assign(Object.assign({},qO(d,{data:!0,aria:!0})),{onClick:p});return u!==void 0?E.createElement("a",Object.assign({},g,{className:fn(`${n}-link`,s),href:u}),a):E.createElement("span",Object.assign({},g,{className:fn(`${n}-link`,s)}),a)}function dV(n,i){return(u,s,p,d,g)=>{if(i)return i(u,s,p,d);const y=fV(u,s);return _k(n,u,y,g)}}var TE=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};const kk=n=>{const{prefixCls:i,separator:a="/",children:u,menu:s,overlay:p,dropdownProps:d,href:g}=n;ce.env.NODE_ENV!=="production"&&Kl("Breadcrumb.Item").deprecated(!("overlay"in n),"overlay","menu");const C=(x=>{if(s||p){const R=Object.assign({},d);if(s){const O=s||{},{items:D}=O,N=TE(O,["items"]);R.menu=Object.assign(Object.assign({},N),{items:D?.map((A,k)=>{var{key:V,title:$,label:F,path:z}=A,I=TE(A,["key","title","label","path"]);let H=F??$;return z&&(H=E.createElement("a",{href:`${g}${z}`},H)),Object.assign(Object.assign({},I),{key:V??k,label:H})})})}else p&&(R.overlay=p);return E.createElement(gy,Object.assign({placement:"bottom"},R),E.createElement("span",{className:`${i}-overlay-link`},x,E.createElement(W_,null)))}return x})(u);return C!=null?E.createElement(E.Fragment,null,E.createElement("li",null,C),a&&E.createElement(yy,null,a)):null},Mk=n=>{const{prefixCls:i,children:a,href:u}=n,s=TE(n,["prefixCls","children","href"]),{getPrefixCls:p}=E.useContext(yi),d=p("breadcrumb",i);return E.createElement(kk,Object.assign({},s,{prefixCls:d}),_k(d,s,a,u))};Mk.__ANT_BREADCRUMB_ITEM=!0;const vV=n=>{const{componentCls:i,iconCls:a,calc:u}=n;return{[i]:Object.assign(Object.assign({},qg(n)),{color:n.itemColor,fontSize:n.fontSize,[a]:{fontSize:n.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:n.linkColor,transition:`color ${n.motionDurationMid}`,padding:`0 ${dn(n.paddingXXS)}`,borderRadius:n.borderRadiusSM,height:n.fontHeight,display:"inline-block",marginInline:u(n.marginXXS).mul(-1).equal(),"&:hover":{color:n.linkHoverColor,backgroundColor:n.colorBgTextHover}},DC(n)),"li:last-child":{color:n.lastItemColor},[`${i}-separator`]:{marginInline:n.separatorMargin,color:n.separatorColor},[`${i}-link`]:{[`
390
- > ${a} + span,
391
- > ${a} + a
392
- `]:{marginInlineStart:n.marginXXS}},[`${i}-overlay-link`]:{borderRadius:n.borderRadiusSM,height:n.fontHeight,display:"inline-block",padding:`0 ${dn(n.paddingXXS)}`,marginInline:u(n.marginXXS).mul(-1).equal(),[`> ${a}`]:{marginInlineStart:n.marginXXS,fontSize:n.fontSizeIcon},"&:hover":{color:n.linkHoverColor,backgroundColor:n.colorBgTextHover,a:{color:n.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${n.componentCls}-rtl`]:{direction:"rtl"}})}},pV=Gg("Breadcrumb",n=>{const i=Ms(n,{});return vV(i)},n=>({itemColor:n.colorTextDescription,lastItemColor:n.colorText,iconFontSize:n.fontSize,linkColor:n.colorTextDescription,linkHoverColor:n.colorText,separatorColor:n.colorTextDescription,separatorMargin:n.marginXS}));var Nk=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};function hV(n){const{breadcrumbName:i,children:a}=n,u=Nk(n,["breadcrumbName","children"]),s=Object.assign({title:i},u);return a&&(s.menu={items:a.map(p=>{var{breadcrumbName:d}=p,g=Nk(p,["breadcrumbName"]);return Object.assign(Object.assign({},g),{title:d})})}),s}function mV(n,i){return E.useMemo(()=>n||(i?i.map(hV):null),[n,i])}var gV=function(n,i){var a={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&i.indexOf(u)<0&&(a[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s<u.length;s++)i.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(a[u[s]]=n[u[s]]);return a};const yV=(n,i)=>{if(i===void 0)return i;let a=(i||"").replace(/^\//,"");return Object.keys(n).forEach(u=>{a=a.replace(`:${u}`,n[u])}),a},by=n=>{const{prefixCls:i,separator:a="/",style:u,className:s,rootClassName:p,routes:d,items:g,children:y,itemRender:C,params:x={}}=n,R=gV(n,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:O,direction:D,breadcrumb:N}=E.useContext(yi);let A;const k=O("breadcrumb",i),[V,$,F]=pV(k),z=mV(g,d);if(ce.env.NODE_ENV!=="production"){const Z=Kl("Breadcrumb");if(Z.deprecated(!d,"routes","items"),!z||z.length===0){const J=_u(y);Z.deprecated(J.length===0,"Breadcrumb.Item and Breadcrumb.Separator","items"),J.forEach(U=>{U&&ce.env.NODE_ENV!=="production"&&Z(U.type&&(U.type.__ANT_BREADCRUMB_ITEM===!0||U.type.__ANT_BREADCRUMB_SEPARATOR===!0),"usage","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children")})}}const I=dV(k,C);if(z&&z.length>0){const Z=[],J=g||d;A=z.map((U,q)=>{const{path:te,key:Y,type:Q,menu:se,overlay:ye,onClick:de,className:ne,separator:me,dropdownProps:le}=U,B=yV(x,te);B!==void 0&&Z.push(B);const re=Y??q;if(Q==="separator")return E.createElement(yy,{key:re},me);const xe={},we=q===z.length-1;se?xe.menu=se:ye&&(xe.overlay=ye);let{href:Pe}=U;return Z.length&&B!==void 0&&(Pe=`#/${Z.join("/")}`),E.createElement(kk,Object.assign({key:re},xe,qO(U,{data:!0,aria:!0}),{className:ne,dropdownProps:le,href:Pe,separator:we?"":a,onClick:de,prefixCls:k}),I(U,x,J,Z,Pe))})}else if(y){const Z=_u(y).length;A=_u(y).map((J,U)=>{if(!J)return J;const q=U===Z-1;return pd(J,{separator:q?"":a,key:U})})}const H=fn(k,N?.className,{[`${k}-rtl`]:D==="rtl"},s,p,$,F),W=Object.assign(Object.assign({},N?.style),u);return V(E.createElement("nav",Object.assign({className:H,style:W},R),E.createElement("ol",null,A)))};by.Item=Mk,by.Separator=yy,ce.env.NODE_ENV!=="production"&&(by.displayName="Breadcrumb");/**
393
- * @remix-run/router v1.18.0
394
- *
395
- * Copyright (c) Remix Software Inc.
396
- *
397
- * This source code is licensed under the MIT license found in the
398
- * LICENSE.md file in the root directory of this source tree.
399
- *
400
- * @license MIT
401
- */function OE(){return OE=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(n[u]=a[u])}return n},OE.apply(this,arguments)}var Dk;(function(n){n.Pop="POP",n.Push="PUSH",n.Replace="REPLACE"})(Dk||(Dk={}));function ua(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function oh(n,i){if(!n){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function _E(n){let{pathname:i="/",search:a="",hash:u=""}=n;return a&&a!=="?"&&(i+=a.charAt(0)==="?"?a:"?"+a),u&&u!=="#"&&(i+=u.charAt(0)==="#"?u:"#"+u),i}function Pk(n){let i={};if(n){let a=n.indexOf("#");a>=0&&(i.hash=n.substr(a),n=n.substr(0,a));let u=n.indexOf("?");u>=0&&(i.search=n.substr(u),n=n.substr(0,u)),n&&(i.pathname=n)}return i}var Ak;(function(n){n.data="data",n.deferred="deferred",n.redirect="redirect",n.error="error"})(Ak||(Ak={}));function kE(n,i){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[a,u]=bV(n.path,n.caseSensitive,n.end),s=i.match(a);if(!s)return null;let p=s[0],d=p.replace(/(.)\/+$/,"$1"),g=s.slice(1);return{params:u.reduce((C,x,R)=>{let{paramName:O,isOptional:D}=x;if(O==="*"){let A=g[R]||"";d=p.slice(0,p.length-A.length).replace(/(.)\/+$/,"$1")}const N=g[R];return D&&!N?C[O]=void 0:C[O]=(N||"").replace(/%2F/g,"/"),C},{}),pathname:p,pathnameBase:d,pattern:n}}function bV(n,i,a){i===void 0&&(i=!1),a===void 0&&(a=!0),oh(n==="*"||!n.endsWith("*")||n.endsWith("/*"),'Route path "'+n+'" will be treated as if it were '+('"'+n.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+n.replace(/\*$/,"/*")+'".'));let u=[],s="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,g,y)=>(u.push({paramName:g,isOptional:y!=null}),y?"/?([^\\/]+)?":"/([^\\/]+)"));return n.endsWith("*")?(u.push({paramName:"*"}),s+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?s+="\\/*$":n!==""&&n!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,i?void 0:"i"),u]}function Od(n,i){if(i==="/")return n;if(!n.toLowerCase().startsWith(i.toLowerCase()))return null;let a=i.endsWith("/")?i.length-1:i.length,u=n.charAt(a);return u&&u!=="/"?null:n.slice(a)||"/"}function SV(n,i){i===void 0&&(i="/");let{pathname:a,search:u="",hash:s=""}=typeof n=="string"?Pk(n):n;return{pathname:a?a.startsWith("/")?a:CV(a,i):i,search:wV(u),hash:xV(s)}}function CV(n,i){let a=i.replace(/\/+$/,"").split("/");return n.split("/").forEach(s=>{s===".."?a.length>1&&a.pop():s!=="."&&a.push(s)}),a.length>1?a.join("/"):"/"}function ME(n,i,a,u){return"Cannot include a '"+n+"' character in a manually specified "+("`to."+i+"` field ["+JSON.stringify(u)+"]. Please separate it out to the ")+("`to."+a+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function EV(n){return n.filter((i,a)=>a===0||i.route.path&&i.route.path.length>0)}function $k(n,i){let a=EV(n);return i?a.map((u,s)=>s===a.length-1?u.pathname:u.pathnameBase):a.map(u=>u.pathnameBase)}function Lk(n,i,a,u){u===void 0&&(u=!1);let s;typeof n=="string"?s=Pk(n):(s=OE({},n),ua(!s.pathname||!s.pathname.includes("?"),ME("?","pathname","search",s)),ua(!s.pathname||!s.pathname.includes("#"),ME("#","pathname","hash",s)),ua(!s.search||!s.search.includes("#"),ME("#","search","hash",s)));let p=n===""||s.pathname==="",d=p?"/":s.pathname,g;if(d==null)g=a;else{let R=i.length-1;if(!u&&d.startsWith("..")){let O=d.split("/");for(;O[0]==="..";)O.shift(),R-=1;s.pathname=O.join("/")}g=R>=0?i[R]:"/"}let y=SV(s,g),C=d&&d!=="/"&&d.endsWith("/"),x=(p||d===".")&&a.endsWith("/");return!y.pathname.endsWith("/")&&(C||x)&&(y.pathname+="/"),y}const NE=n=>n.join("/").replace(/\/\/+/g,"/"),wV=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,xV=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,Fk=["post","put","patch","delete"];new Set(Fk);const RV=["get",...Fk];new Set(RV);function DE(){return DE=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(n[u]=a[u])}return n},DE.apply(this,arguments)}const Sy=E.createContext(null);ce.env.NODE_ENV!=="production"&&(Sy.displayName="DataRouter");const Ik=E.createContext(null);ce.env.NODE_ENV!=="production"&&(Ik.displayName="DataRouterState");const TV=E.createContext(null);ce.env.NODE_ENV!=="production"&&(TV.displayName="Await");const Lu=E.createContext(null);ce.env.NODE_ENV!=="production"&&(Lu.displayName="Navigation");const PE=E.createContext(null);ce.env.NODE_ENV!=="production"&&(PE.displayName="Location");const _d=E.createContext({outlet:null,matches:[],isDataRoute:!1});ce.env.NODE_ENV!=="production"&&(_d.displayName="Route");const OV=E.createContext(null);ce.env.NODE_ENV!=="production"&&(OV.displayName="RouteError");function _V(n,i){let{relative:a}=i===void 0?{}:i;AE()||(ce.env.NODE_ENV!=="production"?ua(!1,"useHref() may be used only in the context of a <Router> component."):ua(!1));let{basename:u,navigator:s}=E.useContext(Lu),{hash:p,pathname:d,search:g}=uh(n,{relative:a}),y=d;return u!=="/"&&(y=d==="/"?u:NE([u,d])),s.createHref({pathname:y,search:g,hash:p})}function AE(){return E.useContext(PE)!=null}function lh(){return AE()||(ce.env.NODE_ENV!=="production"?ua(!1,"useLocation() may be used only in the context of a <Router> component."):ua(!1)),E.useContext(PE).location}const zk="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function jk(n){E.useContext(Lu).static||E.useLayoutEffect(n)}function kV(){let{isDataRoute:n}=E.useContext(_d);return n?AV():MV()}function MV(){AE()||(ce.env.NODE_ENV!=="production"?ua(!1,"useNavigate() may be used only in the context of a <Router> component."):ua(!1));let n=E.useContext(Sy),{basename:i,future:a,navigator:u}=E.useContext(Lu),{matches:s}=E.useContext(_d),{pathname:p}=lh(),d=JSON.stringify($k(s,a.v7_relativeSplatPath)),g=E.useRef(!1);return jk(()=>{g.current=!0}),E.useCallback(function(C,x){if(x===void 0&&(x={}),ce.env.NODE_ENV!=="production"&&oh(g.current,zk),!g.current)return;if(typeof C=="number"){u.go(C);return}let R=Lk(C,JSON.parse(d),p,x.relative==="path");n==null&&i!=="/"&&(R.pathname=R.pathname==="/"?i:NE([i,R.pathname])),(x.replace?u.replace:u.push)(R,x.state,x)},[i,u,d,p,n])}function uh(n,i){let{relative:a}=i===void 0?{}:i,{future:u}=E.useContext(Lu),{matches:s}=E.useContext(_d),{pathname:p}=lh(),d=JSON.stringify($k(s,u.v7_relativeSplatPath));return E.useMemo(()=>Lk(n,JSON.parse(d),p,a==="path"),[n,d,p,a])}var Vk=function(n){return n.UseBlocker="useBlocker",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n}(Vk||{}),$E=function(n){return n.UseBlocker="useBlocker",n.UseLoaderData="useLoaderData",n.UseActionData="useActionData",n.UseRouteError="useRouteError",n.UseNavigation="useNavigation",n.UseRouteLoaderData="useRouteLoaderData",n.UseMatches="useMatches",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n.UseRouteId="useRouteId",n}($E||{});function Hk(n){return n+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function NV(n){let i=E.useContext(Sy);return i||(ce.env.NODE_ENV!=="production"?ua(!1,Hk(n)):ua(!1)),i}function DV(n){let i=E.useContext(_d);return i||(ce.env.NODE_ENV!=="production"?ua(!1,Hk(n)):ua(!1)),i}function Uk(n){let i=DV(n),a=i.matches[i.matches.length-1];return a.route.id||(ce.env.NODE_ENV!=="production"?ua(!1,n+' can only be used on routes that contain a unique "id"'):ua(!1)),a.route.id}function PV(){return Uk($E.UseRouteId)}function AV(){let{router:n}=NV(Vk.UseNavigateStable),i=Uk($E.UseNavigateStable),a=E.useRef(!1);return jk(()=>{a.current=!0}),E.useCallback(function(s,p){p===void 0&&(p={}),ce.env.NODE_ENV!=="production"&&oh(a.current,zk),a.current&&(typeof s=="number"?n.navigate(s):n.navigate(s,DE({fromRouteId:i},p)))},[n,i])}new Promise(()=>{});function kd(){return kd=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(n[u]=a[u])}return n},kd.apply(this,arguments)}function LE(n,i){if(n==null)return{};var a={},u=Object.keys(n),s,p;for(p=0;p<u.length;p++)s=u[p],!(i.indexOf(s)>=0)&&(a[s]=n[s]);return a}const Cy="get",Ey="application/x-www-form-urlencoded";function wy(n){return n!=null&&typeof n.tagName=="string"}function $V(n){return wy(n)&&n.tagName.toLowerCase()==="button"}function LV(n){return wy(n)&&n.tagName.toLowerCase()==="form"}function FV(n){return wy(n)&&n.tagName.toLowerCase()==="input"}function IV(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function zV(n,i){return n.button===0&&(!i||i==="_self")&&!IV(n)}let xy=null;function jV(){if(xy===null)try{new FormData(document.createElement("form"),0),xy=!1}catch{xy=!0}return xy}const VV=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function FE(n){return n!=null&&!VV.has(n)?(ce.env.NODE_ENV!=="production"&&oh(!1,'"'+n+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+Ey+'"')),null):n}function HV(n,i){let a,u,s,p,d;if(LV(n)){let g=n.getAttribute("action");u=g?Od(g,i):null,a=n.getAttribute("method")||Cy,s=FE(n.getAttribute("enctype"))||Ey,p=new FormData(n)}else if($V(n)||FV(n)&&(n.type==="submit"||n.type==="image")){let g=n.form;if(g==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let y=n.getAttribute("formaction")||g.getAttribute("action");if(u=y?Od(y,i):null,a=n.getAttribute("formmethod")||g.getAttribute("method")||Cy,s=FE(n.getAttribute("formenctype"))||FE(g.getAttribute("enctype"))||Ey,p=new FormData(g,n),!jV()){let{name:C,type:x,value:R}=n;if(x==="image"){let O=C?C+".":"";p.append(O+"x","0"),p.append(O+"y","0")}else C&&p.append(C,R)}}else{if(wy(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=Cy,u=null,s=Ey,d=n}return p&&s==="text/plain"&&(d=p,p=void 0),{action:u,method:a.toLowerCase(),encType:s,formData:p,body:d}}const UV=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],BV=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],WV=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],YV="6";try{window.__reactRouterVersion=YV}catch{}const Bk=E.createContext({isTransitioning:!1});ce.env.NODE_ENV!=="production"&&(Bk.displayName="ViewTransition");const KV=E.createContext(new Map);ce.env.NODE_ENV!=="production"&&(KV.displayName="Fetchers"),ce.env.NODE_ENV;const qV=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",GV=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,IE=E.forwardRef(function(i,a){let{onClick:u,relative:s,reloadDocument:p,replace:d,state:g,target:y,to:C,preventScrollReset:x,unstable_viewTransition:R}=i,O=LE(i,UV),{basename:D}=E.useContext(Lu),N,A=!1;if(typeof C=="string"&&GV.test(C)&&(N=C,qV))try{let F=new URL(window.location.href),z=C.startsWith("//")?new URL(F.protocol+C):new URL(C),I=Od(z.pathname,D);z.origin===F.origin&&I!=null?C=I+z.search+z.hash:A=!0}catch{ce.env.NODE_ENV!=="production"&&oh(!1,'<Link to="'+C+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let k=_V(C,{relative:s}),V=JV(C,{replace:d,state:g,target:y,preventScrollReset:x,relative:s,unstable_viewTransition:R});function $(F){u&&u(F),F.defaultPrevented||V(F)}return E.createElement("a",kd({},O,{href:N||k,onClick:A||p?u:$,ref:a,target:y}))});ce.env.NODE_ENV!=="production"&&(IE.displayName="Link");const XV=E.forwardRef(function(i,a){let{"aria-current":u="page",caseSensitive:s=!1,className:p="",end:d=!1,style:g,to:y,unstable_viewTransition:C,children:x}=i,R=LE(i,BV),O=uh(y,{relative:R.relative}),D=lh(),N=E.useContext(Ik),{navigator:A,basename:k}=E.useContext(Lu),V=N!=null&&i3(O)&&C===!0,$=A.encodeLocation?A.encodeLocation(O).pathname:O.pathname,F=D.pathname,z=N&&N.navigation&&N.navigation.location?N.navigation.location.pathname:null;s||(F=F.toLowerCase(),z=z?z.toLowerCase():null,$=$.toLowerCase()),z&&k&&(z=Od(z,k)||z);const I=$!=="/"&&$.endsWith("/")?$.length-1:$.length;let H=F===$||!d&&F.startsWith($)&&F.charAt(I)==="/",W=z!=null&&(z===$||!d&&z.startsWith($)&&z.charAt($.length)==="/"),Z={isActive:H,isPending:W,isTransitioning:V},J=H?u:void 0,U;typeof p=="function"?U=p(Z):U=[p,H?"active":null,W?"pending":null,V?"transitioning":null].filter(Boolean).join(" ");let q=typeof g=="function"?g(Z):g;return E.createElement(IE,kd({},R,{"aria-current":J,className:U,ref:a,style:q,to:y,unstable_viewTransition:C}),typeof x=="function"?x(Z):x)});ce.env.NODE_ENV!=="production"&&(XV.displayName="NavLink");const QV=E.forwardRef((n,i)=>{let{fetcherKey:a,navigate:u,reloadDocument:s,replace:p,state:d,method:g=Cy,action:y,onSubmit:C,relative:x,preventScrollReset:R,unstable_viewTransition:O}=n,D=LE(n,WV),N=r3(),A=a3(y,{relative:x}),k=g.toLowerCase()==="get"?"get":"post",V=$=>{if(C&&C($),$.defaultPrevented)return;$.preventDefault();let F=$.nativeEvent.submitter,z=F?.getAttribute("formmethod")||g;N(F||$.currentTarget,{fetcherKey:a,method:z,navigate:u,replace:p,state:d,relative:x,preventScrollReset:R,unstable_viewTransition:O})};return E.createElement("form",kd({ref:i,method:k,action:A,onSubmit:s?C:V},D))});ce.env.NODE_ENV!=="production"&&(QV.displayName="Form"),ce.env.NODE_ENV;var Ry;(function(n){n.UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState"})(Ry||(Ry={}));var Wk;(function(n){n.UseFetcher="useFetcher",n.UseFetchers="useFetchers",n.UseScrollRestoration="useScrollRestoration"})(Wk||(Wk={}));function ZV(n){return n+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function Yk(n){let i=E.useContext(Sy);return i||(ce.env.NODE_ENV!=="production"?ua(!1,ZV(n)):ua(!1)),i}function JV(n,i){let{target:a,replace:u,state:s,preventScrollReset:p,relative:d,unstable_viewTransition:g}=i===void 0?{}:i,y=kV(),C=lh(),x=uh(n,{relative:d});return E.useCallback(R=>{if(zV(R,a)){R.preventDefault();let O=u!==void 0?u:_E(C)===_E(x);y(n,{replace:O,state:s,preventScrollReset:p,relative:d,unstable_viewTransition:g})}},[C,y,x,u,s,a,n,p,d,g])}function e3(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let t3=0,n3=()=>"__"+String(++t3)+"__";function r3(){let{router:n}=Yk(Ry.UseSubmit),{basename:i}=E.useContext(Lu),a=PV();return E.useCallback(function(u,s){s===void 0&&(s={}),e3();let{action:p,method:d,encType:g,formData:y,body:C}=HV(u,i);if(s.navigate===!1){let x=s.fetcherKey||n3();n.fetch(x,a,s.action||p,{preventScrollReset:s.preventScrollReset,formData:y,body:C,formMethod:s.method||d,formEncType:s.encType||g,unstable_flushSync:s.unstable_flushSync})}else n.navigate(s.action||p,{preventScrollReset:s.preventScrollReset,formData:y,body:C,formMethod:s.method||d,formEncType:s.encType||g,replace:s.replace,state:s.state,fromRouteId:a,unstable_flushSync:s.unstable_flushSync,unstable_viewTransition:s.unstable_viewTransition})},[n,i,a])}function a3(n,i){let{relative:a}=i===void 0?{}:i,{basename:u}=E.useContext(Lu),s=E.useContext(_d);s||(ce.env.NODE_ENV!=="production"?ua(!1,"useFormAction must be used inside a RouteContext"):ua(!1));let[p]=s.matches.slice(-1),d=kd({},uh(n||".",{relative:a})),g=lh();if(n==null){d.search=g.search;let y=new URLSearchParams(d.search);y.has("index")&&y.get("index")===""&&(y.delete("index"),d.search=y.toString()?"?"+y.toString():"")}return(!n||n===".")&&p.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),u!=="/"&&(d.pathname=d.pathname==="/"?u:NE([u,d.pathname])),_E(d)}function i3(n,i){i===void 0&&(i={});let a=E.useContext(Bk);a==null&&(ce.env.NODE_ENV!=="production"?ua(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"):ua(!1));let{basename:u}=Yk(Ry.useViewTransitionState),s=uh(n,{relative:i.relative});if(!a.isTransitioning)return!1;let p=Od(a.currentLocation.pathname,u)||a.currentLocation.pathname,d=Od(a.nextLocation.pathname,u)||a.nextLocation.pathname;return kE(s.pathname,d)!=null||kE(s.pathname,p)!=null}const Ty=({template:n,replaceValues:i})=>n.replaceAll(/{(.*?)}/g,(a,u)=>i[u]||""),o3=({rawLinks:n,replaceValues:i})=>n.map(({key:a,label:u,link:s})=>({key:a,title:s?pg.jsx(IE,{to:Ty({template:s,replaceValues:i}),children:Ty({template:u,replaceValues:i})}):Ty({template:u,replaceValues:i})})),Kk=({data:n,replaceValues:i,pathname:a})=>n.map(({pathToMatch:s,breadcrumbItems:p})=>({pathToMatch:Ty({template:s,replaceValues:i}),breadcrumbItems:o3({rawLinks:p,replaceValues:i})})).find(({pathToMatch:s})=>kE(s,a));var no=function(){return no=Object.assign||function(i){for(var a,u=1,s=arguments.length;u<s;u++){a=arguments[u];for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&(i[p]=a[p])}return i},no.apply(this,arguments)};function Md(n,i,a){if(a||arguments.length===2)for(var u=0,s=i.length,p;u<s;u++)(p||!(u in i))&&(p||(p=Array.prototype.slice.call(i,0,u)),p[u]=i[u]);return n.concat(p||Array.prototype.slice.call(i))}typeof SuppressedError=="function"&&SuppressedError;function l3(n){var i=Object.create(null);return function(a){return i[a]===void 0&&(i[a]=n(a)),i[a]}}var u3=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s3=l3(function(n){return u3.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91}),c3={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ic=typeof ce<"u"&&ce.env!==void 0&&(ce.env.REACT_APP_SC_ATTR||ce.env.SC_ATTR)||"data-styled",zE=typeof window<"u"&&"HTMLElement"in window,f3=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof ce<"u"&&ce.env!==void 0&&ce.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&ce.env.REACT_APP_SC_DISABLE_SPEEDY!==""?ce.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&ce.env.REACT_APP_SC_DISABLE_SPEEDY:typeof ce<"u"&&ce.env!==void 0&&ce.env.SC_DISABLE_SPEEDY!==void 0&&ce.env.SC_DISABLE_SPEEDY!==""?ce.env.SC_DISABLE_SPEEDY!=="false"&&ce.env.SC_DISABLE_SPEEDY:ce.env.NODE_ENV!=="production"),qk=/invalid hook call/i,Oy=new Set,d3=function(n,i){if(ce.env.NODE_ENV!=="production"){var a=i?' with the id of "'.concat(i,'"'):"",u="The component ".concat(n).concat(a,` has been created dynamically.
1
+ (function(ue,Q){typeof exports=="object"&&typeof module<"u"?Q(exports,require("react"),require("antd"),require("@ant-design/icons"),require("@tanstack/react-query"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react","antd","@ant-design/icons","@tanstack/react-query","react-router-dom"],Q):(ue=typeof globalThis<"u"?globalThis:ue||self,Q(ue["@prorobotech/openapi-k8s-toolkit"]={},ue.React,ue.antd,ue.antdIcons,ue.reactQuery,ue.ReactRouterDOM))})(this,function(ue,Q,V,wn,vn,vr){"use strict";function f1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zl={exports:{}},$t=Zl.exports={},cr,lr;function gu(){throw new Error("setTimeout has not been defined")}function yu(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cr=setTimeout:cr=gu}catch{cr=gu}try{typeof clearTimeout=="function"?lr=clearTimeout:lr=yu}catch{lr=yu}})();function ef(e){if(cr===setTimeout)return setTimeout(e,0);if((cr===gu||!cr)&&setTimeout)return cr=setTimeout,setTimeout(e,0);try{return cr(e,0)}catch{try{return cr.call(null,e,0)}catch{return cr.call(this,e,0)}}}function h1(e){if(lr===clearTimeout)return clearTimeout(e);if((lr===yu||!lr)&&clearTimeout)return lr=clearTimeout,clearTimeout(e);try{return lr(e)}catch{try{return lr.call(null,e)}catch{return lr.call(this,e)}}}var xr=[],Di=!1,ai,Co=-1;function d1(){!Di||!ai||(Di=!1,ai.length?xr=ai.concat(xr):Co=-1,xr.length&&tf())}function tf(){if(!Di){var e=ef(d1);Di=!0;for(var t=xr.length;t;){for(ai=xr,xr=[];++Co<t;)ai&&ai[Co].run();Co=-1,t=xr.length}ai=null,Di=!1,h1(e)}}$t.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];xr.push(new nf(e,t)),xr.length===1&&!Di&&ef(tf)};function nf(e,t){this.fun=e,this.array=t}nf.prototype.run=function(){this.fun.apply(null,this.array)},$t.title="browser",$t.browser=!0,$t.env={},$t.argv=[],$t.version="",$t.versions={};function Er(){}$t.on=Er,$t.addListener=Er,$t.once=Er,$t.off=Er,$t.removeListener=Er,$t.removeAllListeners=Er,$t.emit=Er,$t.prependListener=Er,$t.prependOnceListener=Er,$t.listeners=function(e){return[]},$t.binding=function(e){throw new Error("process.binding is not supported")},$t.cwd=function(){return"/"},$t.chdir=function(e){throw new Error("process.chdir is not supported")},$t.umask=function(){return 0};var p1=Zl.exports;const nt=f1(p1);var xn=function(){return xn=Object.assign||function(t){for(var n,i=1,o=arguments.length;i<o;i++){n=arguments[i];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},xn.apply(this,arguments)};function Pi(e,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,a;i<o;i++)(a||!(i in t))&&(a||(a=Array.prototype.slice.call(t,0,i)),a[i]=t[i]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function g1(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var y1=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,m1=g1(function(e){return y1.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Xn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tt="-ms-",_s="-moz-",yt="-webkit-",rf="comm",_o="rule",bu="decl",b1="@import",w1="@namespace",sf="@keyframes",v1="@layer",of=Math.abs,wu=String.fromCharCode,vu=Object.assign;function x1(e,t){return Xt(e,0)^45?(((t<<2^Xt(e,0))<<2^Xt(e,1))<<2^Xt(e,2))<<2^Xt(e,3):0}function af(e){return e.trim()}function Sr(e,t){return(e=t.exec(e))?e[0]:e}function Ye(e,t,n){return e.replace(t,n)}function ko(e,t,n){return e.indexOf(t,n)}function Xt(e,t){return e.charCodeAt(t)|0}function ui(e,t,n){return e.slice(t,n)}function Qn(e){return e.length}function uf(e){return e.length}function ks(e,t){return t.push(e),e}function E1(e,t){return e.map(t).join("")}function cf(e,t){return e.filter(function(n){return!Sr(n,t)})}var To=1,Ri=1,lf=0,Ln=0,Yt=0,Li="";function Io(e,t,n,i,o,a,u,l){return{value:e,root:t,parent:n,type:i,props:o,children:a,line:To,column:Ri,length:u,return:"",siblings:l}}function $r(e,t){return vu(Io("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ji(e){for(;e.root;)e=$r(e.root,{children:[e]});ks(e,e.siblings)}function S1(){return Yt}function A1(){return Yt=Ln>0?Xt(Li,--Ln):0,Ri--,Yt===10&&(Ri=1,To--),Yt}function Zn(){return Yt=Ln<lf?Xt(Li,Ln++):0,Ri++,Yt===10&&(Ri=1,To++),Yt}function Mr(){return Xt(Li,Ln)}function Oo(){return Ln}function Fo(e,t){return ui(Li,e,t)}function Ts(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function C1(e){return To=Ri=1,lf=Qn(Li=e),Ln=0,[]}function _1(e){return Li="",e}function xu(e){return af(Fo(Ln-1,Eu(e===91?e+2:e===40?e+1:e)))}function k1(e){for(;(Yt=Mr())&&Yt<33;)Zn();return Ts(e)>2||Ts(Yt)>3?"":" "}function T1(e,t){for(;--t&&Zn()&&!(Yt<48||Yt>102||Yt>57&&Yt<65||Yt>70&&Yt<97););return Fo(e,Oo()+(t<6&&Mr()==32&&Zn()==32))}function Eu(e){for(;Zn();)switch(Yt){case e:return Ln;case 34:case 39:e!==34&&e!==39&&Eu(Yt);break;case 40:e===41&&Eu(e);break;case 92:Zn();break}return Ln}function I1(e,t){for(;Zn()&&e+Yt!==57;)if(e+Yt===84&&Mr()===47)break;return"/*"+Fo(t,Ln-1)+"*"+wu(e===47?e:Zn())}function O1(e){for(;!Ts(Mr());)Zn();return Fo(e,Ln)}function F1(e){return _1(Bo("",null,null,null,[""],e=C1(e),0,[0],e))}function Bo(e,t,n,i,o,a,u,l,f){for(var h=0,d=0,g=u,v=0,C=0,S=0,E=1,w=1,T=1,j=0,R="",_=o,O=a,F=i,B=R;w;)switch(S=j,j=Zn()){case 40:if(S!=108&&Xt(B,g-1)==58){ko(B+=Ye(xu(j),"&","&\f"),"&\f",of(h?l[h-1]:0))!=-1&&(T=-1);break}case 34:case 39:case 91:B+=xu(j);break;case 9:case 10:case 13:case 32:B+=k1(S);break;case 92:B+=T1(Oo()-1,7);continue;case 47:switch(Mr()){case 42:case 47:ks(B1(I1(Zn(),Oo()),t,n,f),f),(Ts(S||1)==5||Ts(Mr()||1)==5)&&Qn(B)&&ui(B,-1,void 0)!==" "&&(B+=" ");break;default:B+="/"}break;case 123*E:l[h++]=Qn(B)*T;case 125*E:case 59:case 0:switch(j){case 0:case 125:w=0;case 59+d:T==-1&&(B=Ye(B,/\f/g,"")),C>0&&(Qn(B)-g||E===0&&S===47)&&ks(C>32?hf(B+";",i,n,g-1,f):hf(Ye(B," ","")+";",i,n,g-2,f),f);break;case 59:B+=";";default:if(ks(F=ff(B,t,n,h,d,o,l,R,_=[],O=[],g,a),a),j===123)if(d===0)Bo(B,t,F,F,_,a,g,l,O);else{switch(v){case 99:if(Xt(B,3)===110)break;case 108:if(Xt(B,2)===97)break;default:d=0;case 100:case 109:case 115:}d?Bo(e,F,F,i&&ks(ff(e,F,F,0,0,o,l,R,o,_=[],g,O),O),o,O,g,l,i?_:O):Bo(B,F,F,F,[""],O,0,l,O)}}h=d=C=0,E=T=1,R=B="",g=u;break;case 58:g=1+Qn(B),C=S;default:if(E<1){if(j==123)--E;else if(j==125&&E++==0&&A1()==125)continue}switch(B+=wu(j),j*E){case 38:T=d>0?1:(B+="\f",-1);break;case 44:l[h++]=(Qn(B)-1)*T,T=1;break;case 64:Mr()===45&&(B+=xu(Zn())),v=Mr(),d=g=Qn(R=B+=O1(Oo())),j++;break;case 45:S===45&&Qn(B)==2&&(E=0)}}return a}function ff(e,t,n,i,o,a,u,l,f,h,d,g){for(var v=o-1,C=o===0?a:[""],S=uf(C),E=0,w=0,T=0;E<i;++E)for(var j=0,R=ui(e,v+1,v=of(w=u[E])),_=e;j<S;++j)(_=af(w>0?C[j]+" "+R:Ye(R,/&\f/g,C[j])))&&(f[T++]=_);return Io(e,t,n,o===0?_o:l,f,h,d,g)}function B1(e,t,n,i){return Io(e,t,n,rf,wu(S1()),ui(e,2,-2),0,i)}function hf(e,t,n,i,o){return Io(e,t,n,bu,ui(e,0,i),ui(e,i+1,-1),i,o)}function df(e,t,n){switch(x1(e,t)){case 5103:return yt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return yt+e+e;case 4855:return yt+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return _s+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return yt+e+_s+e+Tt+e+e;case 5936:switch(Xt(e,t+11)){case 114:return yt+e+Tt+Ye(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return yt+e+Tt+Ye(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return yt+e+Tt+Ye(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return yt+e+Tt+e+e;case 6165:return yt+e+Tt+"flex-"+e+e;case 5187:return yt+e+Ye(e,/(\w+).+(:[^]+)/,yt+"box-$1$2"+Tt+"flex-$1$2")+e;case 5443:return yt+e+Tt+"flex-item-"+Ye(e,/flex-|-self/g,"")+(Sr(e,/flex-|baseline/)?"":Tt+"grid-row-"+Ye(e,/flex-|-self/g,""))+e;case 4675:return yt+e+Tt+"flex-line-pack"+Ye(e,/align-content|flex-|-self/g,"")+e;case 5548:return yt+e+Tt+Ye(e,"shrink","negative")+e;case 5292:return yt+e+Tt+Ye(e,"basis","preferred-size")+e;case 6060:return yt+"box-"+Ye(e,"-grow","")+yt+e+Tt+Ye(e,"grow","positive")+e;case 4554:return yt+Ye(e,/([^-])(transform)/g,"$1"+yt+"$2")+e;case 6187:return Ye(Ye(Ye(e,/(zoom-|grab)/,yt+"$1"),/(image-set)/,yt+"$1"),e,"")+e;case 5495:case 3959:return Ye(e,/(image-set\([^]*)/,yt+"$1$`$1");case 4968:return Ye(Ye(e,/(.+:)(flex-)?(.*)/,yt+"box-pack:$3"+Tt+"flex-pack:$3"),/space-between/,"justify")+yt+e+e;case 4200:if(!Sr(e,/flex-|baseline/))return Tt+"grid-column-align"+ui(e,t)+e;break;case 2592:case 3360:return Tt+Ye(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(i,o){return t=o,Sr(i.props,/grid-\w+-end/)})?~ko(e+(n=n[t].value),"span",0)?e:Tt+Ye(e,"-start","")+e+Tt+"grid-row-span:"+(~ko(n,"span",0)?Sr(n,/\d+/):+Sr(n,/\d+/)-+Sr(e,/\d+/))+";":Tt+Ye(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(i){return Sr(i.props,/grid-\w+-start/)})?e:Tt+Ye(Ye(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Ye(e,/(.+)-inline(.+)/,yt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Qn(e)-1-t>6)switch(Xt(e,t+1)){case 109:if(Xt(e,t+4)!==45)break;case 102:return Ye(e,/(.+:)(.+)-([^]+)/,"$1"+yt+"$2-$3$1"+_s+(Xt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ko(e,"stretch",0)?df(Ye(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Ye(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(i,o,a,u,l,f,h){return Tt+o+":"+a+h+(u?Tt+o+"-span:"+(l?f:+f-+a)+h:"")+e});case 4949:if(Xt(e,t+6)===121)return Ye(e,":",":"+yt)+e;break;case 6444:switch(Xt(e,Xt(e,14)===45?18:11)){case 120:return Ye(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+yt+(Xt(e,14)===45?"inline-":"")+"box$3$1"+yt+"$2$3$1"+Tt+"$2box$3")+e;case 100:return Ye(e,":",":"+Tt)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Ye(e,"scroll-","scroll-snap-")+e}return e}function Do(e,t){for(var n="",i=0;i<e.length;i++)n+=t(e[i],i,e,t)||"";return n}function D1(e,t,n,i){switch(e.type){case v1:if(e.children.length)break;case b1:case w1:case bu:return e.return=e.return||e.value;case rf:return"";case sf:return e.return=e.value+"{"+Do(e.children,i)+"}";case _o:if(!Qn(e.value=e.props.join(",")))return""}return Qn(n=Do(e.children,i))?e.return=e.value+"{"+n+"}":""}function P1(e){var t=uf(e);return function(n,i,o,a){for(var u="",l=0;l<t;l++)u+=e[l](n,i,o,a)||"";return u}}function R1(e){return function(t){t.root||(t=t.return)&&e(t)}}function L1(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case bu:e.return=df(e.value,e.length,n);return;case sf:return Do([$r(e,{value:Ye(e.value,"@","@"+yt)})],i);case _o:if(e.length)return E1(n=e.props,function(o){switch(Sr(o,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ji($r(e,{props:[Ye(o,/:(read-\w+)/,":"+_s+"$1")]})),ji($r(e,{props:[o]})),vu(e,{props:cf(n,i)});break;case"::placeholder":ji($r(e,{props:[Ye(o,/:(plac\w+)/,":"+yt+"input-$1")]})),ji($r(e,{props:[Ye(o,/:(plac\w+)/,":"+_s+"$1")]})),ji($r(e,{props:[Ye(o,/:(plac\w+)/,Tt+"input-$1")]})),ji($r(e,{props:[o]})),vu(e,{props:cf(n,i)});break}return""})}}var j1={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ci=typeof nt<"u"&&nt.env!==void 0&&(nt.env.REACT_APP_SC_ATTR||nt.env.SC_ATTR)||"data-styled",Su=typeof window<"u"&&"HTMLElement"in window,N1=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof nt<"u"&&nt.env!==void 0&&nt.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&nt.env.REACT_APP_SC_DISABLE_SPEEDY!==""?nt.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&nt.env.REACT_APP_SC_DISABLE_SPEEDY:typeof nt<"u"&&nt.env!==void 0&&nt.env.SC_DISABLE_SPEEDY!==void 0&&nt.env.SC_DISABLE_SPEEDY!==""?nt.env.SC_DISABLE_SPEEDY!=="false"&&nt.env.SC_DISABLE_SPEEDY:nt.env.NODE_ENV!=="production"),pf=/invalid hook call/i,Po=new Set,$1=function(e,t){if(nt.env.NODE_ENV!=="production"){var n=t?' with the id of "'.concat(t,'"'):"",i="The component ".concat(e).concat(n,` has been created dynamically.
402
2
  `)+`You may see this warning because you've called styled inside another component.
403
- To resolve this only create new StyledComponents outside of any render method and function component.`,s=console.error;try{var p=!0;console.error=function(d){for(var g=[],y=1;y<arguments.length;y++)g[y-1]=arguments[y];qk.test(d)?(p=!1,Oy.delete(u)):s.apply(void 0,Md([d],g,!1))},E.useRef(),p&&!Oy.has(u)&&(console.warn(u),Oy.add(u))}catch(d){qk.test(d.message)&&Oy.delete(u)}finally{console.error=s}}},_y=Object.freeze([]),Nd=Object.freeze({});function v3(n,i,a){return a===void 0&&(a=Nd),n.theme!==a.theme&&n.theme||i||a.theme}var jE=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),p3=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,h3=/(^-|-$)/g;function Gk(n){return n.replace(p3,"-").replace(h3,"")}var m3=/(a)(d)/gi,Xk=function(n){return String.fromCharCode(n+(n>25?39:97))};function VE(n){var i,a="";for(i=Math.abs(n);i>52;i=i/52|0)a=Xk(i%52)+a;return(Xk(i%52)+a).replace(m3,"$1-$2")}var HE,zc=function(n,i){for(var a=i.length;a;)n=33*n^i.charCodeAt(--a);return n},Qk=function(n){return zc(5381,n)};function g3(n){return VE(Qk(n)>>>0)}function Zk(n){return ce.env.NODE_ENV!=="production"&&typeof n=="string"&&n||n.displayName||n.name||"Component"}function UE(n){return typeof n=="string"&&(ce.env.NODE_ENV==="production"||n.charAt(0)===n.charAt(0).toLowerCase())}var Jk=typeof Symbol=="function"&&Symbol.for,eM=Jk?Symbol.for("react.memo"):60115,y3=Jk?Symbol.for("react.forward_ref"):60112,b3={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},S3={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tM={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},C3=((HE={})[y3]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},HE[eM]=tM,HE);function nM(n){return("type"in(i=n)&&i.type.$$typeof)===eM?tM:"$$typeof"in n?C3[n.$$typeof]:b3;var i}var E3=Object.defineProperty,w3=Object.getOwnPropertyNames,rM=Object.getOwnPropertySymbols,x3=Object.getOwnPropertyDescriptor,R3=Object.getPrototypeOf,aM=Object.prototype;function iM(n,i,a){if(typeof i!="string"){if(aM){var u=R3(i);u&&u!==aM&&iM(n,u,a)}var s=w3(i);rM&&(s=s.concat(rM(i)));for(var p=nM(n),d=nM(i),g=0;g<s.length;++g){var y=s[g];if(!(y in S3||a&&a[y]||d&&y in d||p&&y in p)){var C=x3(i,y);try{E3(n,y,C)}catch{}}}}return n}function Dd(n){return typeof n=="function"}function BE(n){return typeof n=="object"&&"styledComponentId"in n}function jc(n,i){return n&&i?"".concat(n," ").concat(i):n||i||""}function oM(n,i){if(n.length===0)return"";for(var a=n[0],u=1;u<n.length;u++)a+=n[u];return a}function Pd(n){return n!==null&&typeof n=="object"&&n.constructor.name===Object.name&&!("props"in n&&n.$$typeof)}function WE(n,i,a){if(a===void 0&&(a=!1),!a&&!Pd(n)&&!Array.isArray(n))return i;if(Array.isArray(i))for(var u=0;u<i.length;u++)n[u]=WE(n[u],i[u]);else if(Pd(i))for(var u in i)n[u]=WE(n[u],i[u]);return n}function YE(n,i){Object.defineProperty(n,"toString",{value:i})}var T3=ce.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
3
+ To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var a=!0;console.error=function(u){for(var l=[],f=1;f<arguments.length;f++)l[f-1]=arguments[f];pf.test(u)?(a=!1,Po.delete(i)):o.apply(void 0,Pi([u],l,!1))},Q.useRef(),a&&!Po.has(i)&&(console.warn(i),Po.add(i))}catch(u){pf.test(u.message)&&Po.delete(i)}finally{console.error=o}}},Ro=Object.freeze([]),Ni=Object.freeze({});function M1(e,t,n){return n===void 0&&(n=Ni),e.theme!==n.theme&&e.theme||t||n.theme}var Au=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),U1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,V1=/(^-|-$)/g;function gf(e){return e.replace(U1,"-").replace(V1,"")}var q1=/(a)(d)/gi,yf=function(e){return String.fromCharCode(e+(e>25?39:97))};function Cu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=yf(t%52)+n;return(yf(t%52)+n).replace(q1,"$1-$2")}var _u,li=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},mf=function(e){return li(5381,e)};function W1(e){return Cu(mf(e)>>>0)}function bf(e){return nt.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function ku(e){return typeof e=="string"&&(nt.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var wf=typeof Symbol=="function"&&Symbol.for,vf=wf?Symbol.for("react.memo"):60115,K1=wf?Symbol.for("react.forward_ref"):60112,H1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},z1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},xf={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},G1=((_u={})[K1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},_u[vf]=xf,_u);function Ef(e){return("type"in(t=e)&&t.type.$$typeof)===vf?xf:"$$typeof"in e?G1[e.$$typeof]:H1;var t}var J1=Object.defineProperty,Y1=Object.getOwnPropertyNames,Sf=Object.getOwnPropertySymbols,X1=Object.getOwnPropertyDescriptor,Q1=Object.getPrototypeOf,Af=Object.prototype;function Cf(e,t,n){if(typeof t!="string"){if(Af){var i=Q1(t);i&&i!==Af&&Cf(e,i,n)}var o=Y1(t);Sf&&(o=o.concat(Sf(t)));for(var a=Ef(e),u=Ef(t),l=0;l<o.length;++l){var f=o[l];if(!(f in z1||n&&n[f]||u&&f in u||a&&f in a)){var h=X1(t,f);try{J1(e,f,h)}catch{}}}}return e}function $i(e){return typeof e=="function"}function Tu(e){return typeof e=="object"&&"styledComponentId"in e}function fi(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function _f(e,t){if(e.length===0)return"";for(var n=e[0],i=1;i<e.length;i++)n+=e[i];return n}function Mi(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Iu(e,t,n){if(n===void 0&&(n=!1),!n&&!Mi(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var i=0;i<t.length;i++)e[i]=Iu(e[i],t[i]);else if(Mi(t))for(var i in t)e[i]=Iu(e[i],t[i]);return e}function Ou(e,t){Object.defineProperty(e,"toString",{value:t})}var Z1=nt.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
404
4
 
405
5
  `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
406
6
 
@@ -441,10 +41,10 @@ as for instance in your render method then you may be running into this limitati
441
41
 
442
42
  `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
443
43
  Has styled-components' style tag been unmounted or altered by another script?
444
- `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function O3(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];for(var a=n[0],u=[],s=1,p=n.length;s<p;s+=1)u.push(n[s]);return u.forEach(function(d){a=a.replace(/%[a-z]/,d)}),a}function Ad(n){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return ce.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(n," for more information.").concat(i.length>0?" Args: ".concat(i.join(", ")):"")):new Error(O3.apply(void 0,Md([T3[n]],i,!1)).trim())}var _3=function(){function n(i){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=i}return n.prototype.indexOfGroup=function(i){for(var a=0,u=0;u<i;u++)a+=this.groupSizes[u];return a},n.prototype.insertRules=function(i,a){if(i>=this.groupSizes.length){for(var u=this.groupSizes,s=u.length,p=s;i>=p;)if((p<<=1)<0)throw Ad(16,"".concat(i));this.groupSizes=new Uint32Array(p),this.groupSizes.set(u),this.length=p;for(var d=s;d<p;d++)this.groupSizes[d]=0}for(var g=this.indexOfGroup(i+1),y=(d=0,a.length);d<y;d++)this.tag.insertRule(g,a[d])&&(this.groupSizes[i]++,g++)},n.prototype.clearGroup=function(i){if(i<this.length){var a=this.groupSizes[i],u=this.indexOfGroup(i),s=u+a;this.groupSizes[i]=0;for(var p=u;p<s;p++)this.tag.deleteRule(u)}},n.prototype.getGroup=function(i){var a="";if(i>=this.length||this.groupSizes[i]===0)return a;for(var u=this.groupSizes[i],s=this.indexOfGroup(i),p=s+u,d=s;d<p;d++)a+="".concat(this.tag.getRule(d)).concat(`/*!sc*/
445
- `);return a},n}(),ky=new Map,My=new Map,KE=1,Ny=function(n){if(ky.has(n))return ky.get(n);for(;My.has(KE);)KE++;var i=KE++;if(ce.env.NODE_ENV!=="production"&&((0|i)<0||i>1073741824))throw Ad(16,"".concat(i));return ky.set(n,i),My.set(i,n),i},k3=function(n,i){ky.set(n,i),My.set(i,n)},M3="style[".concat(Ic,"][").concat("data-styled-version",'="').concat("6.0.7",'"]'),N3=new RegExp("^".concat(Ic,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),D3=function(n,i,a){for(var u,s=a.split(","),p=0,d=s.length;p<d;p++)(u=s[p])&&n.registerName(i,u)},P3=function(n,i){for(var a,u=((a=i.textContent)!==null&&a!==void 0?a:"").split(`/*!sc*/
446
- `),s=[],p=0,d=u.length;p<d;p++){var g=u[p].trim();if(g){var y=g.match(N3);if(y){var C=0|parseInt(y[1],10),x=y[2];C!==0&&(k3(x,C),D3(n,x,y[3]),n.getTag().insertRules(C,s)),s.length=0}else s.push(g)}}};function A3(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var lM=function(n){var i=document.head,a=n||i,u=document.createElement("style"),s=function(g){var y=Array.from(g.querySelectorAll("style[".concat(Ic,"]")));return y[y.length-1]}(a),p=s!==void 0?s.nextSibling:null;u.setAttribute(Ic,"active"),u.setAttribute("data-styled-version","6.0.7");var d=A3();return d&&u.setAttribute("nonce",d),a.insertBefore(u,p),u},$3=function(){function n(i){this.element=lM(i),this.element.appendChild(document.createTextNode("")),this.sheet=function(a){if(a.sheet)return a.sheet;for(var u=document.styleSheets,s=0,p=u.length;s<p;s++){var d=u[s];if(d.ownerNode===a)return d}throw Ad(17)}(this.element),this.length=0}return n.prototype.insertRule=function(i,a){try{return this.sheet.insertRule(a,i),this.length++,!0}catch{return!1}},n.prototype.deleteRule=function(i){this.sheet.deleteRule(i),this.length--},n.prototype.getRule=function(i){var a=this.sheet.cssRules[i];return a&&a.cssText?a.cssText:""},n}(),L3=function(){function n(i){this.element=lM(i),this.nodes=this.element.childNodes,this.length=0}return n.prototype.insertRule=function(i,a){if(i<=this.length&&i>=0){var u=document.createTextNode(a);return this.element.insertBefore(u,this.nodes[i]||null),this.length++,!0}return!1},n.prototype.deleteRule=function(i){this.element.removeChild(this.nodes[i]),this.length--},n.prototype.getRule=function(i){return i<this.length?this.nodes[i].textContent:""},n}(),F3=function(){function n(i){this.rules=[],this.length=0}return n.prototype.insertRule=function(i,a){return i<=this.length&&(this.rules.splice(i,0,a),this.length++,!0)},n.prototype.deleteRule=function(i){this.rules.splice(i,1),this.length--},n.prototype.getRule=function(i){return i<this.length?this.rules[i]:""},n}(),uM=zE,I3={isServer:!zE,useCSSOMInjection:!f3},sM=function(){function n(i,a,u){i===void 0&&(i=Nd),a===void 0&&(a={});var s=this;this.options=no(no({},I3),i),this.gs=a,this.names=new Map(u),this.server=!!i.isServer,!this.server&&zE&&uM&&(uM=!1,function(p){for(var d=document.querySelectorAll(M3),g=0,y=d.length;g<y;g++){var C=d[g];C&&C.getAttribute(Ic)!=="active"&&(P3(p,C),C.parentNode&&C.parentNode.removeChild(C))}}(this)),YE(this,function(){return function(p){for(var d=p.getTag(),g=d.length,y="",C=function(R){var O=function(V){return My.get(V)}(R);if(O===void 0)return"continue";var D=p.names.get(O),N=d.getGroup(R);if(D===void 0||N.length===0)return"continue";var A="".concat(Ic,".g").concat(R,'[id="').concat(O,'"]'),k="";D!==void 0&&D.forEach(function(V){V.length>0&&(k+="".concat(V,","))}),y+="".concat(N).concat(A,'{content:"').concat(k,'"}').concat(`/*!sc*/
447
- `)},x=0;x<g;x++)C(x);return y}(s)})}return n.registerId=function(i){return Ny(i)},n.prototype.reconstructWithOptions=function(i,a){return a===void 0&&(a=!0),new n(no(no({},this.options),i),this.gs,a&&this.names||void 0)},n.prototype.allocateGSInstance=function(i){return this.gs[i]=(this.gs[i]||0)+1},n.prototype.getTag=function(){return this.tag||(this.tag=(i=function(a){var u=a.useCSSOMInjection,s=a.target;return a.isServer?new F3(s):u?new $3(s):new L3(s)}(this.options),new _3(i)));var i},n.prototype.hasNameForId=function(i,a){return this.names.has(i)&&this.names.get(i).has(a)},n.prototype.registerName=function(i,a){if(Ny(i),this.names.has(i))this.names.get(i).add(a);else{var u=new Set;u.add(a),this.names.set(i,u)}},n.prototype.insertRules=function(i,a,u){this.registerName(i,a),this.getTag().insertRules(Ny(i),u)},n.prototype.clearNames=function(i){this.names.has(i)&&this.names.get(i).clear()},n.prototype.clearRules=function(i){this.getTag().clearGroup(Ny(i)),this.clearNames(i)},n.prototype.clearTag=function(){this.tag=void 0},n}(),z3=/&/g,j3=/^\s*\/\/.*$/gm;function cM(n,i){return n.map(function(a){return a.type==="rule"&&(a.value="".concat(i," ").concat(a.value),a.value=a.value.replaceAll(",",",".concat(i," ")),a.props=a.props.map(function(u){return"".concat(i," ").concat(u)})),Array.isArray(a.children)&&a.type!=="@keyframes"&&(a.children=cM(a.children,i)),a})}function V3(n){var i,a,u,s=Nd,p=s.options,d=p===void 0?Nd:p,g=s.plugins,y=g===void 0?_y:g,C=function(O,D,N){return N===a||N.startsWith(a)&&N.endsWith(a)&&N.replaceAll(a,"").length>0?".".concat(i):O},x=y.slice();x.push(function(O){O.type===Mg&&O.value.includes("&")&&(O.props[0]=O.props[0].replace(z3,a).replace(u,C))}),d.prefix&&x.push(t$),x.push(TT);var R=function(O,D,N,A){D===void 0&&(D=""),N===void 0&&(N=""),A===void 0&&(A="&"),i=A,a=D,u=new RegExp("\\".concat(a,"\\b"),"g");var k=O.replace(j3,""),V=ET(N||D?"".concat(N," ").concat(D," { ").concat(k," }"):k);d.namespace&&(V=cM(V,d.namespace));var $=[];return $p(V,J2(x.concat(e$(function(F){return $.push(F)})))),$};return R.hash=y.length?y.reduce(function(O,D){return D.name||Ad(15),zc(O,D.name)},5381).toString():"",R}var H3=new sM,qE=V3(),fM=Rn.createContext({shouldForwardProp:void 0,styleSheet:H3,stylis:qE});fM.Consumer,Rn.createContext(void 0);function dM(){return E.useContext(fM)}var vM=function(){function n(i,a){var u=this;this.inject=function(s,p){p===void 0&&(p=qE);var d=u.name+p.hash;s.hasNameForId(u.id,d)||s.insertRules(u.id,d,p(u.rules,d,"@keyframes"))},this.name=i,this.id="sc-keyframes-".concat(i),this.rules=a,YE(this,function(){throw Ad(12,String(u.name))})}return n.prototype.getName=function(i){return i===void 0&&(i=qE),this.name+i.hash},n}(),U3=function(n){return n>="A"&&n<="Z"};function pM(n){for(var i="",a=0;a<n.length;a++){var u=n[a];if(a===1&&u==="-"&&n[0]==="-")return n;U3(u)?i+="-"+u.toLowerCase():i+=u}return i.startsWith("ms-")?"-"+i:i}var hM=function(n){return n==null||n===!1||n===""},mM=function(n){var i,a,u=[];for(var s in n){var p=n[s];n.hasOwnProperty(s)&&!hM(p)&&(Array.isArray(p)&&p.isCss||Dd(p)?u.push("".concat(pM(s),":"),p,";"):Pd(p)?u.push.apply(u,Md(Md(["".concat(s," {")],mM(p),!1),["}"],!1)):u.push("".concat(pM(s),": ").concat((i=s,(a=p)==null||typeof a=="boolean"||a===""?"":typeof a!="number"||a===0||i in c3||i.startsWith("--")?String(a).trim():"".concat(a,"px")),";")))}return u};function Vc(n,i,a,u){if(hM(n))return[];if(BE(n))return[".".concat(n.styledComponentId)];if(Dd(n)){if(!Dd(p=n)||p.prototype&&p.prototype.isReactComponent||!i)return[n];var s=n(i);return ce.env.NODE_ENV==="production"||typeof s!="object"||Array.isArray(s)||s instanceof vM||Pd(s)||s===null||console.error("".concat(Zk(n)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Vc(s,i,a,u)}var p;return n instanceof vM?a?(n.inject(a,u),[n.getName(u)]):[n]:Pd(n)?mM(n):Array.isArray(n)?Array.prototype.concat.apply(_y,n.map(function(d){return Vc(d,i,a,u)})):[n.toString()]}function B3(n){for(var i=0;i<n.length;i+=1){var a=n[i];if(Dd(a)&&!BE(a))return!1}return!0}var W3=Qk("6.0.7"),Y3=function(){function n(i,a,u){this.rules=i,this.staticRulesId="",this.isStatic=ce.env.NODE_ENV==="production"&&(u===void 0||u.isStatic)&&B3(i),this.componentId=a,this.baseHash=zc(W3,a),this.baseStyle=u,sM.registerId(a)}return n.prototype.generateAndInjectStyles=function(i,a,u){var s=this.baseStyle?this.baseStyle.generateAndInjectStyles(i,a,u):"";if(this.isStatic&&!u.hash)if(this.staticRulesId&&a.hasNameForId(this.componentId,this.staticRulesId))s=jc(s,this.staticRulesId);else{var p=oM(Vc(this.rules,i,a,u)),d=VE(zc(this.baseHash,p)>>>0);if(!a.hasNameForId(this.componentId,d)){var g=u(p,".".concat(d),void 0,this.componentId);a.insertRules(this.componentId,d,g)}s=jc(s,d),this.staticRulesId=d}else{for(var y=zc(this.baseHash,u.hash),C="",x=0;x<this.rules.length;x++){var R=this.rules[x];if(typeof R=="string")C+=R,ce.env.NODE_ENV!=="production"&&(y=zc(y,R));else if(R){var O=oM(Vc(R,i,a,u));y=zc(y,O),C+=O}}if(C){var D=VE(y>>>0);a.hasNameForId(this.componentId,D)||a.insertRules(this.componentId,D,u(C,".".concat(D),void 0,this.componentId)),s=jc(s,D)}}return s},n}(),gM=Rn.createContext(void 0);gM.Consumer;var GE={},yM=new Set;function K3(n,i,a){var u=BE(n),s=n,p=!UE(n),d=i.attrs,g=d===void 0?_y:d,y=i.componentId,C=y===void 0?function(z,I){var H=typeof z!="string"?"sc":Gk(z);GE[H]=(GE[H]||0)+1;var W="".concat(H,"-").concat(g3("6.0.7"+H+GE[H]));return I?"".concat(I,"-").concat(W):W}(i.displayName,i.parentComponentId):y,x=i.displayName,R=x===void 0?function(z){return UE(z)?"styled.".concat(z):"Styled(".concat(Zk(z),")")}(n):x,O=i.displayName&&i.componentId?"".concat(Gk(i.displayName),"-").concat(i.componentId):i.componentId||C,D=u&&s.attrs?s.attrs.concat(g).filter(Boolean):g,N=i.shouldForwardProp;if(u&&s.shouldForwardProp){var A=s.shouldForwardProp;if(i.shouldForwardProp){var k=i.shouldForwardProp;N=function(z,I){return A(z,I)&&k(z,I)}}else N=A}var V=new Y3(a,O,u?s.componentStyle:void 0);function $(z,I){return function(H,W,Z){var J=H.attrs,U=H.componentStyle,q=H.defaultProps,te=H.foldedComponentIds,Y=H.styledComponentId,Q=H.target,se=Rn.useContext(gM),ye=dM(),de=H.shouldForwardProp||ye.shouldForwardProp;ce.env.NODE_ENV!=="production"&&E.useDebugValue(Y);var ne=function(we,Pe,Fe){for(var Le,He=no(no({},Pe),{className:void 0,theme:Fe}),Be=0;Be<we.length;Be+=1){var ot=Dd(Le=we[Be])?Le(He):Le;for(var tt in ot)He[tt]=tt==="className"?jc(He[tt],ot[tt]):tt==="style"?no(no({},He[tt]),ot[tt]):ot[tt]}return Pe.className&&(He.className=jc(He.className,Pe.className)),He}(J,W,v3(W,se,q)||Nd),me=ne.as||Q,le={};for(var B in ne)ne[B]===void 0||B[0]==="$"||B==="as"||B==="theme"||(B==="forwardedAs"?le.as=ne.forwardedAs:de&&!de(B,me)||(le[B]=ne[B],de||ce.env.NODE_ENV!=="development"||s3(B)||yM.has(B)||!jE.has(me)||(yM.add(B),console.warn('styled-components: it looks like an unknown prop "'.concat(B,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var re=function(we,Pe){var Fe=dM(),Le=we.generateAndInjectStyles(Pe,Fe.styleSheet,Fe.stylis);return ce.env.NODE_ENV!=="production"&&E.useDebugValue(Le),Le}(U,ne);ce.env.NODE_ENV!=="production"&&H.warnTooManyClasses&&H.warnTooManyClasses(re);var xe=jc(te,Y);return re&&(xe+=" "+re),ne.className&&(xe+=" "+ne.className),le[UE(me)&&!jE.has(me)?"class":"className"]=xe,le.ref=Z,E.createElement(me,le)}(F,z,I)}ce.env.NODE_ENV!=="production"&&($.displayName=R);var F=Rn.forwardRef($);return F.attrs=D,F.componentStyle=V,F.shouldForwardProp=N,ce.env.NODE_ENV!=="production"&&(F.displayName=R),F.foldedComponentIds=u?jc(s.foldedComponentIds,s.styledComponentId):"",F.styledComponentId=O,F.target=u?s.target:n,Object.defineProperty(F,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(z){this._foldedDefaultProps=u?function(I){for(var H=[],W=1;W<arguments.length;W++)H[W-1]=arguments[W];for(var Z=0,J=H;Z<J.length;Z++)WE(I,J[Z],!0);return I}({},s.defaultProps,z):z}}),ce.env.NODE_ENV!=="production"&&(d3(R,O),F.warnTooManyClasses=function(z,I){var H={},W=!1;return function(Z){if(!W&&(H[Z]=!0,Object.keys(H).length>=200)){var J=I?' with the id of "'.concat(I,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(z).concat(J,`.
44
+ `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function ey(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],i=[],o=1,a=e.length;o<a;o+=1)i.push(e[o]);return i.forEach(function(u){n=n.replace(/%[a-z]/,u)}),n}function Ui(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return nt.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(ey.apply(void 0,Pi([Z1[e]],t,!1)).trim())}var ty=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,i=0;i<t;i++)n+=this.groupSizes[i];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var i=this.groupSizes,o=i.length,a=o;t>=a;)if((a<<=1)<0)throw Ui(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(i),this.length=a;for(var u=o;u<a;u++)this.groupSizes[u]=0}for(var l=this.indexOfGroup(t+1),f=(u=0,n.length);u<f;u++)this.tag.insertRule(l,n[u])&&(this.groupSizes[t]++,l++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],i=this.indexOfGroup(t),o=i+n;this.groupSizes[t]=0;for(var a=i;a<o;a++)this.tag.deleteRule(i)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var i=this.groupSizes[t],o=this.indexOfGroup(t),a=o+i,u=o;u<a;u++)n+="".concat(this.tag.getRule(u)).concat(`/*!sc*/
45
+ `);return n},e}(),Lo=new Map,jo=new Map,Fu=1,No=function(e){if(Lo.has(e))return Lo.get(e);for(;jo.has(Fu);)Fu++;var t=Fu++;if(nt.env.NODE_ENV!=="production"&&((0|t)<0||t>1073741824))throw Ui(16,"".concat(t));return Lo.set(e,t),jo.set(t,e),t},ny=function(e,t){Lo.set(e,t),jo.set(t,e)},ry="style[".concat(ci,"][").concat("data-styled-version",'="').concat("6.0.7",'"]'),iy=new RegExp("^".concat(ci,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),sy=function(e,t,n){for(var i,o=n.split(","),a=0,u=o.length;a<u;a++)(i=o[a])&&e.registerName(t,i)},oy=function(e,t){for(var n,i=((n=t.textContent)!==null&&n!==void 0?n:"").split(`/*!sc*/
46
+ `),o=[],a=0,u=i.length;a<u;a++){var l=i[a].trim();if(l){var f=l.match(iy);if(f){var h=0|parseInt(f[1],10),d=f[2];h!==0&&(ny(d,h),sy(e,d,f[3]),e.getTag().insertRules(h,o)),o.length=0}else o.push(l)}}};function ay(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var kf=function(e){var t=document.head,n=e||t,i=document.createElement("style"),o=function(l){var f=Array.from(l.querySelectorAll("style[".concat(ci,"]")));return f[f.length-1]}(n),a=o!==void 0?o.nextSibling:null;i.setAttribute(ci,"active"),i.setAttribute("data-styled-version","6.0.7");var u=ay();return u&&i.setAttribute("nonce",u),n.insertBefore(i,a),i},uy=function(){function e(t){this.element=kf(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var i=document.styleSheets,o=0,a=i.length;o<a;o++){var u=i[o];if(u.ownerNode===n)return u}throw Ui(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e}(),cy=function(){function e(t){this.element=kf(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var i=document.createTextNode(n);return this.element.insertBefore(i,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),ly=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),Tf=Su,fy={isServer:!Su,useCSSOMInjection:!N1},If=function(){function e(t,n,i){t===void 0&&(t=Ni),n===void 0&&(n={});var o=this;this.options=xn(xn({},fy),t),this.gs=n,this.names=new Map(i),this.server=!!t.isServer,!this.server&&Su&&Tf&&(Tf=!1,function(a){for(var u=document.querySelectorAll(ry),l=0,f=u.length;l<f;l++){var h=u[l];h&&h.getAttribute(ci)!=="active"&&(oy(a,h),h.parentNode&&h.parentNode.removeChild(h))}}(this)),Ou(this,function(){return function(a){for(var u=a.getTag(),l=u.length,f="",h=function(g){var v=function(T){return jo.get(T)}(g);if(v===void 0)return"continue";var C=a.names.get(v),S=u.getGroup(g);if(C===void 0||S.length===0)return"continue";var E="".concat(ci,".g").concat(g,'[id="').concat(v,'"]'),w="";C!==void 0&&C.forEach(function(T){T.length>0&&(w+="".concat(T,","))}),f+="".concat(S).concat(E,'{content:"').concat(w,'"}').concat(`/*!sc*/
47
+ `)},d=0;d<l;d++)h(d);return f}(o)})}return e.registerId=function(t){return No(t)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(xn(xn({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(n){var i=n.useCSSOMInjection,o=n.target;return n.isServer?new ly(o):i?new uy(o):new cy(o)}(this.options),new ty(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(No(t),this.names.has(t))this.names.get(t).add(n);else{var i=new Set;i.add(n),this.names.set(t,i)}},e.prototype.insertRules=function(t,n,i){this.registerName(t,n),this.getTag().insertRules(No(t),i)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(No(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),hy=/&/g,dy=/^\s*\/\/.*$/gm;function Of(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(i){return"".concat(t," ").concat(i)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=Of(n.children,t)),n})}function py(e){var t,n,i,o=Ni,a=o.options,u=a===void 0?Ni:a,l=o.plugins,f=l===void 0?Ro:l,h=function(v,C,S){return S===n||S.startsWith(n)&&S.endsWith(n)&&S.replaceAll(n,"").length>0?".".concat(t):v},d=f.slice();d.push(function(v){v.type===_o&&v.value.includes("&")&&(v.props[0]=v.props[0].replace(hy,n).replace(i,h))}),u.prefix&&d.push(L1),d.push(D1);var g=function(v,C,S,E){C===void 0&&(C=""),S===void 0&&(S=""),E===void 0&&(E="&"),t=E,n=C,i=new RegExp("\\".concat(n,"\\b"),"g");var w=v.replace(dy,""),T=F1(S||C?"".concat(S," ").concat(C," { ").concat(w," }"):w);u.namespace&&(T=Of(T,u.namespace));var j=[];return Do(T,P1(d.concat(R1(function(R){return j.push(R)})))),j};return g.hash=f.length?f.reduce(function(v,C){return C.name||Ui(15),li(v,C.name)},5381).toString():"",g}var gy=new If,Bu=py(),Ff=Q.createContext({shouldForwardProp:void 0,styleSheet:gy,stylis:Bu});Ff.Consumer,Q.createContext(void 0);function Bf(){return Q.useContext(Ff)}var Df=function(){function e(t,n){var i=this;this.inject=function(o,a){a===void 0&&(a=Bu);var u=i.name+a.hash;o.hasNameForId(i.id,u)||o.insertRules(i.id,u,a(i.rules,u,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Ou(this,function(){throw Ui(12,String(i.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Bu),this.name+t.hash},e}(),yy=function(e){return e>="A"&&e<="Z"};function Pf(e){for(var t="",n=0;n<e.length;n++){var i=e[n];if(n===1&&i==="-"&&e[0]==="-")return e;yy(i)?t+="-"+i.toLowerCase():t+=i}return t.startsWith("ms-")?"-"+t:t}var Rf=function(e){return e==null||e===!1||e===""},Lf=function(e){var t,n,i=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!Rf(a)&&(Array.isArray(a)&&a.isCss||$i(a)?i.push("".concat(Pf(o),":"),a,";"):Mi(a)?i.push.apply(i,Pi(Pi(["".concat(o," {")],Lf(a),!1),["}"],!1)):i.push("".concat(Pf(o),": ").concat((t=o,(n=a)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||t in j1||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return i};function hi(e,t,n,i){if(Rf(e))return[];if(Tu(e))return[".".concat(e.styledComponentId)];if($i(e)){if(!$i(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var o=e(t);return nt.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof Df||Mi(o)||o===null||console.error("".concat(bf(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),hi(o,t,n,i)}var a;return e instanceof Df?n?(e.inject(n,i),[e.getName(i)]):[e]:Mi(e)?Lf(e):Array.isArray(e)?Array.prototype.concat.apply(Ro,e.map(function(u){return hi(u,t,n,i)})):[e.toString()]}function my(e){for(var t=0;t<e.length;t+=1){var n=e[t];if($i(n)&&!Tu(n))return!1}return!0}var by=mf("6.0.7"),wy=function(){function e(t,n,i){this.rules=t,this.staticRulesId="",this.isStatic=nt.env.NODE_ENV==="production"&&(i===void 0||i.isStatic)&&my(t),this.componentId=n,this.baseHash=li(by,n),this.baseStyle=i,If.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,i){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,i):"";if(this.isStatic&&!i.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))o=fi(o,this.staticRulesId);else{var a=_f(hi(this.rules,t,n,i)),u=Cu(li(this.baseHash,a)>>>0);if(!n.hasNameForId(this.componentId,u)){var l=i(a,".".concat(u),void 0,this.componentId);n.insertRules(this.componentId,u,l)}o=fi(o,u),this.staticRulesId=u}else{for(var f=li(this.baseHash,i.hash),h="",d=0;d<this.rules.length;d++){var g=this.rules[d];if(typeof g=="string")h+=g,nt.env.NODE_ENV!=="production"&&(f=li(f,g));else if(g){var v=_f(hi(g,t,n,i));f=li(f,v),h+=v}}if(h){var C=Cu(f>>>0);n.hasNameForId(this.componentId,C)||n.insertRules(this.componentId,C,i(h,".".concat(C),void 0,this.componentId)),o=fi(o,C)}}return o},e}(),jf=Q.createContext(void 0);jf.Consumer;var Du={},Nf=new Set;function vy(e,t,n){var i=Tu(e),o=e,a=!ku(e),u=t.attrs,l=u===void 0?Ro:u,f=t.componentId,h=f===void 0?function(_,O){var F=typeof _!="string"?"sc":gf(_);Du[F]=(Du[F]||0)+1;var B="".concat(F,"-").concat(W1("6.0.7"+F+Du[F]));return O?"".concat(O,"-").concat(B):B}(t.displayName,t.parentComponentId):f,d=t.displayName,g=d===void 0?function(_){return ku(_)?"styled.".concat(_):"Styled(".concat(bf(_),")")}(e):d,v=t.displayName&&t.componentId?"".concat(gf(t.displayName),"-").concat(t.componentId):t.componentId||h,C=i&&o.attrs?o.attrs.concat(l).filter(Boolean):l,S=t.shouldForwardProp;if(i&&o.shouldForwardProp){var E=o.shouldForwardProp;if(t.shouldForwardProp){var w=t.shouldForwardProp;S=function(_,O){return E(_,O)&&w(_,O)}}else S=E}var T=new wy(n,v,i?o.componentStyle:void 0);function j(_,O){return function(F,B,W){var J=F.attrs,fe=F.componentStyle,le=F.defaultProps,de=F.foldedComponentIds,be=F.styledComponentId,Se=F.target,pe=Q.useContext(jf),De=Bf(),Re=F.shouldForwardProp||De.shouldForwardProp;nt.env.NODE_ENV!=="production"&&Q.useDebugValue(be);var Te=function(X,re,_e){for(var ze,xe=xn(xn({},re),{className:void 0,theme:_e}),Fe=0;Fe<X.length;Fe+=1){var Be=$i(ze=X[Fe])?ze(xe):ze;for(var Le in Be)xe[Le]=Le==="className"?fi(xe[Le],Be[Le]):Le==="style"?xn(xn({},xe[Le]),Be[Le]):Be[Le]}return re.className&&(xe.className=fi(xe.className,re.className)),xe}(J,B,M1(B,pe,le)||Ni),Xe=Te.as||Se,ve={};for(var ge in Te)Te[ge]===void 0||ge[0]==="$"||ge==="as"||ge==="theme"||(ge==="forwardedAs"?ve.as=Te.forwardedAs:Re&&!Re(ge,Xe)||(ve[ge]=Te[ge],Re||nt.env.NODE_ENV!=="development"||m1(ge)||Nf.has(ge)||!Au.has(Xe)||(Nf.add(ge),console.warn('styled-components: it looks like an unknown prop "'.concat(ge,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var Ke=function(X,re){var _e=Bf(),ze=X.generateAndInjectStyles(re,_e.styleSheet,_e.stylis);return nt.env.NODE_ENV!=="production"&&Q.useDebugValue(ze),ze}(fe,Te);nt.env.NODE_ENV!=="production"&&F.warnTooManyClasses&&F.warnTooManyClasses(Ke);var Y=fi(de,be);return Ke&&(Y+=" "+Ke),Te.className&&(Y+=" "+Te.className),ve[ku(Xe)&&!Au.has(Xe)?"class":"className"]=Y,ve.ref=W,Q.createElement(Xe,ve)}(R,_,O)}nt.env.NODE_ENV!=="production"&&(j.displayName=g);var R=Q.forwardRef(j);return R.attrs=C,R.componentStyle=T,R.shouldForwardProp=S,nt.env.NODE_ENV!=="production"&&(R.displayName=g),R.foldedComponentIds=i?fi(o.foldedComponentIds,o.styledComponentId):"",R.styledComponentId=v,R.target=i?o.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(_){this._foldedDefaultProps=i?function(O){for(var F=[],B=1;B<arguments.length;B++)F[B-1]=arguments[B];for(var W=0,J=F;W<J.length;W++)Iu(O,J[W],!0);return O}({},o.defaultProps,_):_}}),nt.env.NODE_ENV!=="production"&&($1(g,v),R.warnTooManyClasses=function(_,O){var F={},B=!1;return function(W){if(!B&&(F[W]=!0,Object.keys(F).length>=200)){var J=O?' with the id of "'.concat(O,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(_).concat(J,`.
448
48
  `)+`Consider using the attrs method, together with a style object for frequently changed styles.
449
49
  Example:
450
50
  const Component = styled.div.attrs(props => ({
@@ -453,12 +53,519 @@ Example:
453
53
  },
454
54
  }))\`width: 100%;\`
455
55
 
456
- <Component />`),W=!0,H={}}}}(R,O)),YE(F,function(){return".".concat(F.styledComponentId)}),p&&iM(F,n,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),F}function bM(n,i){for(var a=[n[0]],u=0,s=i.length;u<s;u+=1)a.push(i[u],n[u+1]);return a}var SM=function(n){return Object.assign(n,{isCss:!0})};function q3(n){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];if(Dd(n)||Pd(n)){var u=n;return SM(Vc(bM(_y,Md([u],i,!0))))}var s=n;return i.length===0&&s.length===1&&typeof s[0]=="string"?Vc(s):SM(Vc(bM(s,i)))}function XE(n,i,a){if(a===void 0&&(a=Nd),!i)throw Ad(1,i);var u=function(s){for(var p=[],d=1;d<arguments.length;d++)p[d-1]=arguments[d];return n(i,a,q3.apply(void 0,Md([s],p,!1)))};return u.attrs=function(s){return XE(n,i,no(no({},a),{attrs:Array.prototype.concat(a.attrs,s).filter(Boolean)}))},u.withConfig=function(s){return XE(n,i,no(no({},a),s))},u}var CM=function(n){return XE(K3,n)},EM=CM;jE.forEach(function(n){EM[n]=CM(n)}),ce.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
56
+ <Component />`),B=!0,F={}}}}(g,v)),Ou(R,function(){return".".concat(R.styledComponentId)}),a&&Cf(R,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),R}function $f(e,t){for(var n=[e[0]],i=0,o=t.length;i<o;i+=1)n.push(t[i],e[i+1]);return n}var Mf=function(e){return Object.assign(e,{isCss:!0})};function xy(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if($i(e)||Mi(e)){var i=e;return Mf(hi($f(Ro,Pi([i],t,!0))))}var o=e;return t.length===0&&o.length===1&&typeof o[0]=="string"?hi(o):Mf(hi($f(o,t)))}function Pu(e,t,n){if(n===void 0&&(n=Ni),!t)throw Ui(1,t);var i=function(o){for(var a=[],u=1;u<arguments.length;u++)a[u-1]=arguments[u];return e(t,n,xy.apply(void 0,Pi([o],a,!1)))};return i.attrs=function(o){return Pu(e,t,xn(xn({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},i.withConfig=function(o){return Pu(e,t,xn(xn({},n),o))},i}var Uf=function(e){return Pu(vy,e)},He=Uf;Au.forEach(function(e){He[e]=Uf(e)}),nt.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
457
57
  Perhaps you're looking to import 'styled-components/native'?
458
- Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Dy="__sc-".concat(Ic,"__");ce.env.NODE_ENV!=="production"&&ce.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[Dy]||(window[Dy]=0),window[Dy]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
58
+ Read more about this at https://www.styled-components.com/docs/basics#react-native`);var $o="__sc-".concat(ci,"__");nt.env.NODE_ENV!=="production"&&nt.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[$o]||(window[$o]=0),window[$o]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
59
+
60
+ See https://s-c.sh/2BAXzed for more info.`),window[$o]+=1);const Ar=He.div`
61
+ height: ${({$space:e,$spaceMob:t,$samespace:n})=>t||(e&&n?e:24)}px;
62
+ width: 100%;
459
63
 
460
- See https://s-c.sh/2BAXzed for more info.`),window[Dy]+=1);const wM={HeightDiv:EM.div`
64
+ @media (min-width: 1024px) {
65
+ height: ${({$space:e})=>e??"48"}px;
66
+ }
67
+ `;var Ru={exports:{}},Is={};/**
68
+ * @license React
69
+ * react-jsx-runtime.production.min.js
70
+ *
71
+ * Copyright (c) Facebook, Inc. and its affiliates.
72
+ *
73
+ * This source code is licensed under the MIT license found in the
74
+ * LICENSE file in the root directory of this source tree.
75
+ */var Vf;function Ey(){if(Vf)return Is;Vf=1;var e=Q,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function u(l,f,h){var d,g={},v=null,C=null;h!==void 0&&(v=""+h),f.key!==void 0&&(v=""+f.key),f.ref!==void 0&&(C=f.ref);for(d in f)i.call(f,d)&&!a.hasOwnProperty(d)&&(g[d]=f[d]);if(l&&l.defaultProps)for(d in f=l.defaultProps,f)g[d]===void 0&&(g[d]=f[d]);return{$$typeof:t,type:l,key:v,ref:C,props:g,_owner:o.current}}return Is.Fragment=n,Is.jsx=u,Is.jsxs=u,Is}var Os={},qf;function Sy(){return qf||(qf=1,nt.env.NODE_ENV!=="production"&&function(){var e=Q,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),S=Symbol.iterator,E="@@iterator";function w(M){if(M===null||typeof M!="object")return null;var ce=S&&M[S]||M[E];return typeof ce=="function"?ce:null}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(M){{for(var ce=arguments.length,ye=new Array(ce>1?ce-1:0),Ie=1;Ie<ce;Ie++)ye[Ie-1]=arguments[Ie];R("error",M,ye)}}function R(M,ce,ye){{var Ie=T.ReactDebugCurrentFrame,ct=Ie.getStackAddendum();ct!==""&&(ce+="%s",ye=ye.concat([ct]));var lt=ye.map(function(rt){return String(rt)});lt.unshift("Warning: "+ce),Function.prototype.apply.call(console[M],console,lt)}}var _=!1,O=!1,F=!1,B=!1,W=!1,J;J=Symbol.for("react.module.reference");function fe(M){return!!(typeof M=="string"||typeof M=="function"||M===i||M===a||W||M===o||M===h||M===d||B||M===C||_||O||F||typeof M=="object"&&M!==null&&(M.$$typeof===v||M.$$typeof===g||M.$$typeof===u||M.$$typeof===l||M.$$typeof===f||M.$$typeof===J||M.getModuleId!==void 0))}function le(M,ce,ye){var Ie=M.displayName;if(Ie)return Ie;var ct=ce.displayName||ce.name||"";return ct!==""?ye+"("+ct+")":ye}function de(M){return M.displayName||"Context"}function be(M){if(M==null)return null;if(typeof M.tag=="number"&&j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof M=="function")return M.displayName||M.name||null;if(typeof M=="string")return M;switch(M){case i:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case h:return"Suspense";case d:return"SuspenseList"}if(typeof M=="object")switch(M.$$typeof){case l:var ce=M;return de(ce)+".Consumer";case u:var ye=M;return de(ye._context)+".Provider";case f:return le(M,M.render,"ForwardRef");case g:var Ie=M.displayName||null;return Ie!==null?Ie:be(M.type)||"Memo";case v:{var ct=M,lt=ct._payload,rt=ct._init;try{return be(rt(lt))}catch{return null}}}return null}var Se=Object.assign,pe=0,De,Re,Te,Xe,ve,ge,Ke;function Y(){}Y.__reactDisabledLog=!0;function X(){{if(pe===0){De=console.log,Re=console.info,Te=console.warn,Xe=console.error,ve=console.group,ge=console.groupCollapsed,Ke=console.groupEnd;var M={configurable:!0,enumerable:!0,value:Y,writable:!0};Object.defineProperties(console,{info:M,log:M,warn:M,error:M,group:M,groupCollapsed:M,groupEnd:M})}pe++}}function re(){{if(pe--,pe===0){var M={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Se({},M,{value:De}),info:Se({},M,{value:Re}),warn:Se({},M,{value:Te}),error:Se({},M,{value:Xe}),group:Se({},M,{value:ve}),groupCollapsed:Se({},M,{value:ge}),groupEnd:Se({},M,{value:Ke})})}pe<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var _e=T.ReactCurrentDispatcher,ze;function xe(M,ce,ye){{if(ze===void 0)try{throw Error()}catch(ct){var Ie=ct.stack.trim().match(/\n( *(at )?)/);ze=Ie&&Ie[1]||""}return`
76
+ `+ze+M}}var Fe=!1,Be;{var Le=typeof WeakMap=="function"?WeakMap:Map;Be=new Le}function _t(M,ce){if(!M||Fe)return"";{var ye=Be.get(M);if(ye!==void 0)return ye}var Ie;Fe=!0;var ct=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var lt;lt=_e.current,_e.current=null,X();try{if(ce){var rt=function(){throw Error()};if(Object.defineProperty(rt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(rt,[])}catch(Ht){Ie=Ht}Reflect.construct(M,[],rt)}else{try{rt.call()}catch(Ht){Ie=Ht}M.call(rt.prototype)}}else{try{throw Error()}catch(Ht){Ie=Ht}M()}}catch(Ht){if(Ht&&Ie&&typeof Ht.stack=="string"){for(var Ze=Ht.stack.split(`
77
+ `),Qt=Ie.stack.split(`
78
+ `),Ot=Ze.length-1,Bt=Qt.length-1;Ot>=1&&Bt>=0&&Ze[Ot]!==Qt[Bt];)Bt--;for(;Ot>=1&&Bt>=0;Ot--,Bt--)if(Ze[Ot]!==Qt[Bt]){if(Ot!==1||Bt!==1)do if(Ot--,Bt--,Bt<0||Ze[Ot]!==Qt[Bt]){var ln=`
79
+ `+Ze[Ot].replace(" at new "," at ");return M.displayName&&ln.includes("<anonymous>")&&(ln=ln.replace("<anonymous>",M.displayName)),typeof M=="function"&&Be.set(M,ln),ln}while(Ot>=1&&Bt>=0);break}}}finally{Fe=!1,_e.current=lt,re(),Error.prepareStackTrace=ct}var Tn=M?M.displayName||M.name:"",ir=Tn?xe(Tn):"";return typeof M=="function"&&Be.set(M,ir),ir}function rn(M,ce,ye){return _t(M,!1)}function Pt(M){var ce=M.prototype;return!!(ce&&ce.isReactComponent)}function Rt(M,ce,ye){if(M==null)return"";if(typeof M=="function")return _t(M,Pt(M));if(typeof M=="string")return xe(M);switch(M){case h:return xe("Suspense");case d:return xe("SuspenseList")}if(typeof M=="object")switch(M.$$typeof){case f:return rn(M.render);case g:return Rt(M.type,ce,ye);case v:{var Ie=M,ct=Ie._payload,lt=Ie._init;try{return Rt(lt(ct),ce,ye)}catch{}}}return""}var Lt=Object.prototype.hasOwnProperty,wt={},kn=T.ReactDebugCurrentFrame;function Ae(M){if(M){var ce=M._owner,ye=Rt(M.type,M._source,ce?ce.type:null);kn.setExtraStackFrame(ye)}else kn.setExtraStackFrame(null)}function Ue(M,ce,ye,Ie,ct){{var lt=Function.call.bind(Lt);for(var rt in M)if(lt(M,rt)){var Ze=void 0;try{if(typeof M[rt]!="function"){var Qt=Error((Ie||"React class")+": "+ye+" type `"+rt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof M[rt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Qt.name="Invariant Violation",Qt}Ze=M[rt](ce,rt,Ie,ye,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ot){Ze=Ot}Ze&&!(Ze instanceof Error)&&(Ae(ct),j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Ie||"React class",ye,rt,typeof Ze),Ae(null)),Ze instanceof Error&&!(Ze.message in wt)&&(wt[Ze.message]=!0,Ae(ct),j("Failed %s type: %s",ye,Ze.message),Ae(null))}}}var Qe=Array.isArray;function we(M){return Qe(M)}function pt(M){{var ce=typeof Symbol=="function"&&Symbol.toStringTag,ye=ce&&M[Symbol.toStringTag]||M.constructor.name||"Object";return ye}}function Wt(M){try{return Et(M),!1}catch{return!0}}function Et(M){return""+M}function ht(M){if(Wt(M))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",pt(M)),Et(M)}var Ce=T.ReactCurrentOwner,Oe={key:!0,ref:!0,__self:!0,__source:!0},Kt,I;function y(M){if(Lt.call(M,"ref")){var ce=Object.getOwnPropertyDescriptor(M,"ref").get;if(ce&&ce.isReactWarning)return!1}return M.ref!==void 0}function b(M){if(Lt.call(M,"key")){var ce=Object.getOwnPropertyDescriptor(M,"key").get;if(ce&&ce.isReactWarning)return!1}return M.key!==void 0}function L(M,ce){typeof M.ref=="string"&&Ce.current}function q(M,ce){{var ye=function(){Kt||(Kt=!0,j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ce))};ye.isReactWarning=!0,Object.defineProperty(M,"key",{get:ye,configurable:!0})}}function G(M,ce){{var ye=function(){I||(I=!0,j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ce))};ye.isReactWarning=!0,Object.defineProperty(M,"ref",{get:ye,configurable:!0})}}var ee=function(M,ce,ye,Ie,ct,lt,rt){var Ze={$$typeof:t,type:M,key:ce,ref:ye,props:rt,_owner:lt};return Ze._store={},Object.defineProperty(Ze._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ze,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ie}),Object.defineProperty(Ze,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ct}),Object.freeze&&(Object.freeze(Ze.props),Object.freeze(Ze)),Ze};function Me(M,ce,ye,Ie,ct){{var lt,rt={},Ze=null,Qt=null;ye!==void 0&&(ht(ye),Ze=""+ye),b(ce)&&(ht(ce.key),Ze=""+ce.key),y(ce)&&(Qt=ce.ref,L(ce,ct));for(lt in ce)Lt.call(ce,lt)&&!Oe.hasOwnProperty(lt)&&(rt[lt]=ce[lt]);if(M&&M.defaultProps){var Ot=M.defaultProps;for(lt in Ot)rt[lt]===void 0&&(rt[lt]=Ot[lt])}if(Ze||Qt){var Bt=typeof M=="function"?M.displayName||M.name||"Unknown":M;Ze&&q(rt,Bt),Qt&&G(rt,Bt)}return ee(M,Ze,Qt,ct,Ie,Ce.current,rt)}}var gt=T.ReactCurrentOwner,ut=T.ReactDebugCurrentFrame;function dt(M){if(M){var ce=M._owner,ye=Rt(M.type,M._source,ce?ce.type:null);ut.setExtraStackFrame(ye)}else ut.setExtraStackFrame(null)}var st;st=!1;function Gr(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function xi(){{if(gt.current){var M=be(gt.current.type);if(M)return`
80
+
81
+ Check the render method of \``+M+"`."}return""}}function as(M){return""}var us={};function cs(M){{var ce=xi();if(!ce){var ye=typeof M=="string"?M:M.displayName||M.name;ye&&(ce=`
82
+
83
+ Check the top-level render call using <`+ye+">.")}return ce}}function Jr(M,ce){{if(!M._store||M._store.validated||M.key!=null)return;M._store.validated=!0;var ye=cs(ce);if(us[ye])return;us[ye]=!0;var Ie="";M&&M._owner&&M._owner!==gt.current&&(Ie=" It was passed a child from "+be(M._owner.type)+"."),dt(M),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ye,Ie),dt(null)}}function Ei(M,ce){{if(typeof M!="object")return;if(we(M))for(var ye=0;ye<M.length;ye++){var Ie=M[ye];Gr(Ie)&&Jr(Ie,ce)}else if(Gr(M))M._store&&(M._store.validated=!0);else if(M){var ct=w(M);if(typeof ct=="function"&&ct!==M.entries)for(var lt=ct.call(M),rt;!(rt=lt.next()).done;)Gr(rt.value)&&Jr(rt.value,ce)}}}function no(M){{var ce=M.type;if(ce==null||typeof ce=="string")return;var ye;if(typeof ce=="function")ye=ce.propTypes;else if(typeof ce=="object"&&(ce.$$typeof===f||ce.$$typeof===g))ye=ce.propTypes;else return;if(ye){var Ie=be(ce);Ue(ye,M.props,"prop",Ie,M)}else if(ce.PropTypes!==void 0&&!st){st=!0;var ct=be(ce);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ct||"Unknown")}typeof ce.getDefaultProps=="function"&&!ce.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ro(M){{for(var ce=Object.keys(M.props),ye=0;ye<ce.length;ye++){var Ie=ce[ye];if(Ie!=="children"&&Ie!=="key"){dt(M),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ie),dt(null);break}}M.ref!==null&&(dt(M),j("Invalid attribute `ref` supplied to `React.Fragment`."),dt(null))}}var Ir={};function rr(M,ce,ye,Ie,ct,lt){{var rt=fe(M);if(!rt){var Ze="";(M===void 0||typeof M=="object"&&M!==null&&Object.keys(M).length===0)&&(Ze+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Qt=as();Qt?Ze+=Qt:Ze+=xi();var Ot;M===null?Ot="null":we(M)?Ot="array":M!==void 0&&M.$$typeof===t?(Ot="<"+(be(M.type)||"Unknown")+" />",Ze=" Did you accidentally export a JSX literal instead of a component?"):Ot=typeof M,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ot,Ze)}var Bt=Me(M,ce,ye,ct,lt);if(Bt==null)return Bt;if(rt){var ln=ce.children;if(ln!==void 0)if(Ie)if(we(ln)){for(var Tn=0;Tn<ln.length;Tn++)Ei(ln[Tn],M);Object.freeze&&Object.freeze(ln)}else j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ei(ln,M)}if(Lt.call(ce,"key")){var ir=be(M),Ht=Object.keys(ce).filter(function(ao){return ao!=="key"}),Si=Ht.length>0?"{key: someKey, "+Ht.join(": ..., ")+": ...}":"{key: someKey}";if(!Ir[ir+Si]){var oo=Ht.length>0?"{"+Ht.join(": ..., ")+": ...}":"{}";j(`A props object containing a "key" prop is being spread into JSX:
84
+ let props = %s;
85
+ <%s {...props} />
86
+ React keys must be passed directly to JSX without using spread:
87
+ let props = %s;
88
+ <%s key={someKey} {...props} />`,Si,ir,oo,ir),Ir[ir+Si]=!0}}return M===i?ro(Bt):no(Bt),Bt}}function Yr(M,ce,ye){return rr(M,ce,ye,!0)}function io(M,ce,ye){return rr(M,ce,ye,!1)}var so=io,gn=Yr;Os.Fragment=i,Os.jsx=so,Os.jsxs=gn}()),Os}nt.env.NODE_ENV==="production"?Ru.exports=Ey():Ru.exports=Sy();var x=Ru.exports;const Ay={CustomTreeProvider:He.div`
89
+ .ant-tree-switcher {
90
+ display: flex;
91
+ align-items: center;
92
+ justify-content: center;
93
+ }
94
+ `},{Search:Cy}=V.Input,_y=({treeData:e,onSelect:t})=>{const[n,i]=Q.useState([]),[o,a]=Q.useState(""),u=f=>{const{value:h}=f.target,d={},g=(w,T)=>{w.forEach(j=>{d[j.key]=T,j.children&&g(j.children,j.key)})};g(e,null);const v=w=>{const T=[];let j=d[w];for(;j;)T.push(j),j=d[j];return T},C=[],S=w=>{w.forEach(T=>{if(T.title.toLowerCase().includes(h.toLowerCase())){C.push(T.key);const R=v(T.key);C.push(...R)}T.children&&S(T.children)})};S(e);const E=Array.from(new Set(C)).filter(Boolean);i(E),a(h)},l=f=>f.map(h=>{const d=h.title,g=d.toLowerCase().indexOf(o.toLowerCase()),v=d.substring(0,g),C=d.substring(g+o.length),S=g>-1?x.jsxs("span",{children:[v,x.jsx("span",{style:{color:"#f50"},children:o}),C]}):x.jsx("span",{children:d});return h.children?{...h,title:S,children:l(h.children)}:{...h,title:S}});return x.jsxs(x.Fragment,{children:[x.jsx(Cy,{style:{marginBottom:8},placeholder:"Search",onChange:u}),x.jsx(Ay.CustomTreeProvider,{children:x.jsx(V.Tree,{treeData:l(e),expandedKeys:n,onExpand:f=>{i(f)},onSelect:(f,h)=>{t&&t(f,h),n.includes(h.node.key)?i([...n.filter(d=>d!==h.node.key)]):i([...n,h.node.key])}})})]})},ky=globalThis||void 0||self;function Wf(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ty}=Object.prototype,{getPrototypeOf:Lu}=Object,Mo=(e=>t=>{const n=Ty.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fr=e=>(e=e.toLowerCase(),t=>Mo(t)===e),Uo=e=>t=>typeof t===e,{isArray:Vi}=Array,Fs=Uo("undefined");function Iy(e){return e!==null&&!Fs(e)&&e.constructor!==null&&!Fs(e.constructor)&&jn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Kf=fr("ArrayBuffer");function Oy(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Kf(e.buffer),t}const Fy=Uo("string"),jn=Uo("function"),Hf=Uo("number"),Vo=e=>e!==null&&typeof e=="object",By=e=>e===!0||e===!1,qo=e=>{if(Mo(e)!=="object")return!1;const t=Lu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Dy=fr("Date"),Py=fr("File"),Ry=fr("Blob"),Ly=fr("FileList"),jy=e=>Vo(e)&&jn(e.pipe),Ny=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||jn(e.append)&&((t=Mo(e))==="formdata"||t==="object"&&jn(e.toString)&&e.toString()==="[object FormData]"))},$y=fr("URLSearchParams"),My=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Bs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,o;if(typeof e!="object"&&(e=[e]),Vi(e))for(i=0,o=e.length;i<o;i++)t.call(null,e[i],i,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),u=a.length;let l;for(i=0;i<u;i++)l=a[i],t.call(null,e[l],l,e)}}function zf(e,t){t=t.toLowerCase();const n=Object.keys(e);let i=n.length,o;for(;i-- >0;)if(o=n[i],t===o.toLowerCase())return o;return null}const Gf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:ky,Jf=e=>!Fs(e)&&e!==Gf;function ju(){const{caseless:e}=Jf(this)&&this||{},t={},n=(i,o)=>{const a=e&&zf(t,o)||o;qo(t[a])&&qo(i)?t[a]=ju(t[a],i):qo(i)?t[a]=ju({},i):Vi(i)?t[a]=i.slice():t[a]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&Bs(arguments[i],n);return t}const Uy=(e,t,n,{allOwnKeys:i}={})=>(Bs(t,(o,a)=>{n&&jn(o)?e[a]=Wf(o,n):e[a]=o},{allOwnKeys:i}),e),Vy=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),qy=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Wy=(e,t,n,i)=>{let o,a,u;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)u=o[a],(!i||i(u,e,t))&&!l[u]&&(t[u]=e[u],l[u]=!0);e=n!==!1&&Lu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ky=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},Hy=e=>{if(!e)return null;if(Vi(e))return e;let t=e.length;if(!Hf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},zy=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Lu(Uint8Array)),Gy=(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=i.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},Jy=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},Yy=fr("HTMLFormElement"),Xy=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),Yf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Qy=fr("RegExp"),Xf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Bs(n,(o,a)=>{t(o,a,e)!==!1&&(i[a]=o)}),Object.defineProperties(e,i)},Zy=e=>{Xf(e,(t,n)=>{if(jn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(jn(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},em=(e,t)=>{const n={},i=o=>{o.forEach(a=>{n[a]=!0})};return Vi(e)?i(e):i(String(e).split(t)),n},tm=()=>{},nm=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Nu="abcdefghijklmnopqrstuvwxyz",Qf="0123456789",Zf={DIGIT:Qf,ALPHA:Nu,ALPHA_DIGIT:Nu+Nu.toUpperCase()+Qf},rm=(e=16,t=Zf.ALPHA_DIGIT)=>{let n="";const{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n};function im(e){return!!(e&&jn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const sm=e=>{const t=new Array(10),n=(i,o)=>{if(Vo(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[o]=i;const a=Vi(i)?[]:{};return Bs(i,(u,l)=>{const f=n(u,o+1);!Fs(f)&&(a[l]=f)}),t[o]=void 0,a}}return i};return n(e,0)},om=fr("AsyncFunction"),ie={isArray:Vi,isArrayBuffer:Kf,isBuffer:Iy,isFormData:Ny,isArrayBufferView:Oy,isString:Fy,isNumber:Hf,isBoolean:By,isObject:Vo,isPlainObject:qo,isUndefined:Fs,isDate:Dy,isFile:Py,isBlob:Ry,isRegExp:Qy,isFunction:jn,isStream:jy,isURLSearchParams:$y,isTypedArray:zy,isFileList:Ly,forEach:Bs,merge:ju,extend:Uy,trim:My,stripBOM:Vy,inherits:qy,toFlatObject:Wy,kindOf:Mo,kindOfTest:fr,endsWith:Ky,toArray:Hy,forEachEntry:Gy,matchAll:Jy,isHTMLForm:Yy,hasOwnProperty:Yf,hasOwnProp:Yf,reduceDescriptors:Xf,freezeMethods:Zy,toObjectSet:em,toCamelCase:Xy,noop:tm,toFiniteNumber:nm,findKey:zf,global:Gf,isContextDefined:Jf,ALPHABET:Zf,generateString:rm,isSpecCompliantForm:im,toJSONObject:sm,isAsyncFn:om,isThenable:e=>e&&(Vo(e)||jn(e))&&jn(e.then)&&jn(e.catch)};var eh={},Wo={};Wo.byteLength=cm,Wo.toByteArray=fm,Wo.fromByteArray=pm;for(var hr=[],Nn=[],am=typeof Uint8Array<"u"?Uint8Array:Array,$u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qi=0,um=$u.length;qi<um;++qi)hr[qi]=$u[qi],Nn[$u.charCodeAt(qi)]=qi;Nn[45]=62,Nn[95]=63;function th(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var i=n===t?0:4-n%4;return[n,i]}function cm(e){var t=th(e),n=t[0],i=t[1];return(n+i)*3/4-i}function lm(e,t,n){return(t+n)*3/4-n}function fm(e){var t,n=th(e),i=n[0],o=n[1],a=new am(lm(e,i,o)),u=0,l=o>0?i-4:i,f;for(f=0;f<l;f+=4)t=Nn[e.charCodeAt(f)]<<18|Nn[e.charCodeAt(f+1)]<<12|Nn[e.charCodeAt(f+2)]<<6|Nn[e.charCodeAt(f+3)],a[u++]=t>>16&255,a[u++]=t>>8&255,a[u++]=t&255;return o===2&&(t=Nn[e.charCodeAt(f)]<<2|Nn[e.charCodeAt(f+1)]>>4,a[u++]=t&255),o===1&&(t=Nn[e.charCodeAt(f)]<<10|Nn[e.charCodeAt(f+1)]<<4|Nn[e.charCodeAt(f+2)]>>2,a[u++]=t>>8&255,a[u++]=t&255),a}function hm(e){return hr[e>>18&63]+hr[e>>12&63]+hr[e>>6&63]+hr[e&63]}function dm(e,t,n){for(var i,o=[],a=t;a<n;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),o.push(hm(i));return o.join("")}function pm(e){for(var t,n=e.length,i=n%3,o=[],a=16383,u=0,l=n-i;u<l;u+=a)o.push(dm(e,u,u+a>l?l:u+a));return i===1?(t=e[n-1],o.push(hr[t>>2]+hr[t<<4&63]+"==")):i===2&&(t=(e[n-2]<<8)+e[n-1],o.push(hr[t>>10]+hr[t>>4&63]+hr[t<<2&63]+"=")),o.join("")}var Mu={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Mu.read=function(e,t,n,i,o){var a,u,l=o*8-i-1,f=(1<<l)-1,h=f>>1,d=-7,g=n?o-1:0,v=n?-1:1,C=e[t+g];for(g+=v,a=C&(1<<-d)-1,C>>=-d,d+=l;d>0;a=a*256+e[t+g],g+=v,d-=8);for(u=a&(1<<-d)-1,a>>=-d,d+=i;d>0;u=u*256+e[t+g],g+=v,d-=8);if(a===0)a=1-h;else{if(a===f)return u?NaN:(C?-1:1)*(1/0);u=u+Math.pow(2,i),a=a-h}return(C?-1:1)*u*Math.pow(2,a-i)},Mu.write=function(e,t,n,i,o,a){var u,l,f,h=a*8-o-1,d=(1<<h)-1,g=d>>1,v=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=i?0:a-1,S=i?1:-1,E=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,u=d):(u=Math.floor(Math.log(t)/Math.LN2),t*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+g>=1?t+=v/f:t+=v*Math.pow(2,1-g),t*f>=2&&(u++,f/=2),u+g>=d?(l=0,u=d):u+g>=1?(l=(t*f-1)*Math.pow(2,o),u=u+g):(l=t*Math.pow(2,g-1)*Math.pow(2,o),u=0));o>=8;e[n+C]=l&255,C+=S,l/=256,o-=8);for(u=u<<o|l,h+=o;h>0;e[n+C]=u&255,C+=S,u/=256,h-=8);e[n+C-S]|=E*128};/*!
95
+ * The buffer module from node.js, for the browser.
96
+ *
97
+ * @author Feross Aboukhadijeh <https://feross.org>
98
+ * @license MIT
99
+ */(function(e){const t=Wo,n=Mu,i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=d,e.SlowBuffer=O,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o;const{Uint8Array:a,ArrayBuffer:u,SharedArrayBuffer:l}=globalThis;d.TYPED_ARRAY_SUPPORT=f(),!d.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function f(){try{const I=new a(1),y={foo:function(){return 42}};return Object.setPrototypeOf(y,a.prototype),Object.setPrototypeOf(I,y),I.foo()===42}catch{return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}});function h(I){if(I>o)throw new RangeError('The value "'+I+'" is invalid for option "size"');const y=new a(I);return Object.setPrototypeOf(y,d.prototype),y}function d(I,y,b){if(typeof I=="number"){if(typeof y=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return S(I)}return g(I,y,b)}d.poolSize=8192;function g(I,y,b){if(typeof I=="string")return E(I,y);if(u.isView(I))return T(I);if(I==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I);if(Et(I,u)||I&&Et(I.buffer,u)||typeof l<"u"&&(Et(I,l)||I&&Et(I.buffer,l)))return j(I,y,b);if(typeof I=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const L=I.valueOf&&I.valueOf();if(L!=null&&L!==I)return d.from(L,y,b);const q=R(I);if(q)return q;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof I[Symbol.toPrimitive]=="function")return d.from(I[Symbol.toPrimitive]("string"),y,b);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I)}d.from=function(I,y,b){return g(I,y,b)},Object.setPrototypeOf(d.prototype,a.prototype),Object.setPrototypeOf(d,a);function v(I){if(typeof I!="number")throw new TypeError('"size" argument must be of type number');if(I<0)throw new RangeError('The value "'+I+'" is invalid for option "size"')}function C(I,y,b){return v(I),I<=0?h(I):y!==void 0?typeof b=="string"?h(I).fill(y,b):h(I).fill(y):h(I)}d.alloc=function(I,y,b){return C(I,y,b)};function S(I){return v(I),h(I<0?0:_(I)|0)}d.allocUnsafe=function(I){return S(I)},d.allocUnsafeSlow=function(I){return S(I)};function E(I,y){if((typeof y!="string"||y==="")&&(y="utf8"),!d.isEncoding(y))throw new TypeError("Unknown encoding: "+y);const b=F(I,y)|0;let L=h(b);const q=L.write(I,y);return q!==b&&(L=L.slice(0,q)),L}function w(I){const y=I.length<0?0:_(I.length)|0,b=h(y);for(let L=0;L<y;L+=1)b[L]=I[L]&255;return b}function T(I){if(Et(I,a)){const y=new a(I);return j(y.buffer,y.byteOffset,y.byteLength)}return w(I)}function j(I,y,b){if(y<0||I.byteLength<y)throw new RangeError('"offset" is outside of buffer bounds');if(I.byteLength<y+(b||0))throw new RangeError('"length" is outside of buffer bounds');let L;return y===void 0&&b===void 0?L=new a(I):b===void 0?L=new a(I,y):L=new a(I,y,b),Object.setPrototypeOf(L,d.prototype),L}function R(I){if(d.isBuffer(I)){const y=_(I.length)|0,b=h(y);return b.length===0||I.copy(b,0,0,y),b}if(I.length!==void 0)return typeof I.length!="number"||ht(I.length)?h(0):w(I);if(I.type==="Buffer"&&Array.isArray(I.data))return w(I.data)}function _(I){if(I>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return I|0}function O(I){return+I!=I&&(I=0),d.alloc(+I)}d.isBuffer=function(y){return y!=null&&y._isBuffer===!0&&y!==d.prototype},d.compare=function(y,b){if(Et(y,a)&&(y=d.from(y,y.offset,y.byteLength)),Et(b,a)&&(b=d.from(b,b.offset,b.byteLength)),!d.isBuffer(y)||!d.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(y===b)return 0;let L=y.length,q=b.length;for(let G=0,ee=Math.min(L,q);G<ee;++G)if(y[G]!==b[G]){L=y[G],q=b[G];break}return L<q?-1:q<L?1:0},d.isEncoding=function(y){switch(String(y).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.concat=function(y,b){if(!Array.isArray(y))throw new TypeError('"list" argument must be an Array of Buffers');if(y.length===0)return d.alloc(0);let L;if(b===void 0)for(b=0,L=0;L<y.length;++L)b+=y[L].length;const q=d.allocUnsafe(b);let G=0;for(L=0;L<y.length;++L){let ee=y[L];if(Et(ee,a))G+ee.length>q.length?(d.isBuffer(ee)||(ee=d.from(ee)),ee.copy(q,G)):a.prototype.set.call(q,ee,G);else if(d.isBuffer(ee))ee.copy(q,G);else throw new TypeError('"list" argument must be an Array of Buffers');G+=ee.length}return q};function F(I,y){if(d.isBuffer(I))return I.length;if(u.isView(I)||Et(I,u))return I.byteLength;if(typeof I!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof I);const b=I.length,L=arguments.length>2&&arguments[2]===!0;if(!L&&b===0)return 0;let q=!1;for(;;)switch(y){case"ascii":case"latin1":case"binary":return b;case"utf8":case"utf-8":return Ue(I).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b*2;case"hex":return b>>>1;case"base64":return pt(I).length;default:if(q)return L?-1:Ue(I).length;y=(""+y).toLowerCase(),q=!0}}d.byteLength=F;function B(I,y,b){let L=!1;if((y===void 0||y<0)&&(y=0),y>this.length||((b===void 0||b>this.length)&&(b=this.length),b<=0)||(b>>>=0,y>>>=0,b<=y))return"";for(I||(I="utf8");;)switch(I){case"hex":return Ke(this,y,b);case"utf8":case"utf-8":return Re(this,y,b);case"ascii":return ve(this,y,b);case"latin1":case"binary":return ge(this,y,b);case"base64":return De(this,y,b);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,y,b);default:if(L)throw new TypeError("Unknown encoding: "+I);I=(I+"").toLowerCase(),L=!0}}d.prototype._isBuffer=!0;function W(I,y,b){const L=I[y];I[y]=I[b],I[b]=L}d.prototype.swap16=function(){const y=this.length;if(y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let b=0;b<y;b+=2)W(this,b,b+1);return this},d.prototype.swap32=function(){const y=this.length;if(y%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let b=0;b<y;b+=4)W(this,b,b+3),W(this,b+1,b+2);return this},d.prototype.swap64=function(){const y=this.length;if(y%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let b=0;b<y;b+=8)W(this,b,b+7),W(this,b+1,b+6),W(this,b+2,b+5),W(this,b+3,b+4);return this},d.prototype.toString=function(){const y=this.length;return y===0?"":arguments.length===0?Re(this,0,y):B.apply(this,arguments)},d.prototype.toLocaleString=d.prototype.toString,d.prototype.equals=function(y){if(!d.isBuffer(y))throw new TypeError("Argument must be a Buffer");return this===y?!0:d.compare(this,y)===0},d.prototype.inspect=function(){let y="";const b=e.INSPECT_MAX_BYTES;return y=this.toString("hex",0,b).replace(/(.{2})/g,"$1 ").trim(),this.length>b&&(y+=" ... "),"<Buffer "+y+">"},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(y,b,L,q,G){if(Et(y,a)&&(y=d.from(y,y.offset,y.byteLength)),!d.isBuffer(y))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof y);if(b===void 0&&(b=0),L===void 0&&(L=y?y.length:0),q===void 0&&(q=0),G===void 0&&(G=this.length),b<0||L>y.length||q<0||G>this.length)throw new RangeError("out of range index");if(q>=G&&b>=L)return 0;if(q>=G)return-1;if(b>=L)return 1;if(b>>>=0,L>>>=0,q>>>=0,G>>>=0,this===y)return 0;let ee=G-q,Me=L-b;const gt=Math.min(ee,Me),ut=this.slice(q,G),dt=y.slice(b,L);for(let st=0;st<gt;++st)if(ut[st]!==dt[st]){ee=ut[st],Me=dt[st];break}return ee<Me?-1:Me<ee?1:0};function J(I,y,b,L,q){if(I.length===0)return-1;if(typeof b=="string"?(L=b,b=0):b>2147483647?b=2147483647:b<-2147483648&&(b=-2147483648),b=+b,ht(b)&&(b=q?0:I.length-1),b<0&&(b=I.length+b),b>=I.length){if(q)return-1;b=I.length-1}else if(b<0)if(q)b=0;else return-1;if(typeof y=="string"&&(y=d.from(y,L)),d.isBuffer(y))return y.length===0?-1:fe(I,y,b,L,q);if(typeof y=="number")return y=y&255,typeof a.prototype.indexOf=="function"?q?a.prototype.indexOf.call(I,y,b):a.prototype.lastIndexOf.call(I,y,b):fe(I,[y],b,L,q);throw new TypeError("val must be string, number or Buffer")}function fe(I,y,b,L,q){let G=1,ee=I.length,Me=y.length;if(L!==void 0&&(L=String(L).toLowerCase(),L==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(I.length<2||y.length<2)return-1;G=2,ee/=2,Me/=2,b/=2}function gt(dt,st){return G===1?dt[st]:dt.readUInt16BE(st*G)}let ut;if(q){let dt=-1;for(ut=b;ut<ee;ut++)if(gt(I,ut)===gt(y,dt===-1?0:ut-dt)){if(dt===-1&&(dt=ut),ut-dt+1===Me)return dt*G}else dt!==-1&&(ut-=ut-dt),dt=-1}else for(b+Me>ee&&(b=ee-Me),ut=b;ut>=0;ut--){let dt=!0;for(let st=0;st<Me;st++)if(gt(I,ut+st)!==gt(y,st)){dt=!1;break}if(dt)return ut}return-1}d.prototype.includes=function(y,b,L){return this.indexOf(y,b,L)!==-1},d.prototype.indexOf=function(y,b,L){return J(this,y,b,L,!0)},d.prototype.lastIndexOf=function(y,b,L){return J(this,y,b,L,!1)};function le(I,y,b,L){b=Number(b)||0;const q=I.length-b;L?(L=Number(L),L>q&&(L=q)):L=q;const G=y.length;L>G/2&&(L=G/2);let ee;for(ee=0;ee<L;++ee){const Me=parseInt(y.substr(ee*2,2),16);if(ht(Me))return ee;I[b+ee]=Me}return ee}function de(I,y,b,L){return Wt(Ue(y,I.length-b),I,b,L)}function be(I,y,b,L){return Wt(Qe(y),I,b,L)}function Se(I,y,b,L){return Wt(pt(y),I,b,L)}function pe(I,y,b,L){return Wt(we(y,I.length-b),I,b,L)}d.prototype.write=function(y,b,L,q){if(b===void 0)q="utf8",L=this.length,b=0;else if(L===void 0&&typeof b=="string")q=b,L=this.length,b=0;else if(isFinite(b))b=b>>>0,isFinite(L)?(L=L>>>0,q===void 0&&(q="utf8")):(q=L,L=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const G=this.length-b;if((L===void 0||L>G)&&(L=G),y.length>0&&(L<0||b<0)||b>this.length)throw new RangeError("Attempt to write outside buffer bounds");q||(q="utf8");let ee=!1;for(;;)switch(q){case"hex":return le(this,y,b,L);case"utf8":case"utf-8":return de(this,y,b,L);case"ascii":case"latin1":case"binary":return be(this,y,b,L);case"base64":return Se(this,y,b,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pe(this,y,b,L);default:if(ee)throw new TypeError("Unknown encoding: "+q);q=(""+q).toLowerCase(),ee=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function De(I,y,b){return y===0&&b===I.length?t.fromByteArray(I):t.fromByteArray(I.slice(y,b))}function Re(I,y,b){b=Math.min(I.length,b);const L=[];let q=y;for(;q<b;){const G=I[q];let ee=null,Me=G>239?4:G>223?3:G>191?2:1;if(q+Me<=b){let gt,ut,dt,st;switch(Me){case 1:G<128&&(ee=G);break;case 2:gt=I[q+1],(gt&192)===128&&(st=(G&31)<<6|gt&63,st>127&&(ee=st));break;case 3:gt=I[q+1],ut=I[q+2],(gt&192)===128&&(ut&192)===128&&(st=(G&15)<<12|(gt&63)<<6|ut&63,st>2047&&(st<55296||st>57343)&&(ee=st));break;case 4:gt=I[q+1],ut=I[q+2],dt=I[q+3],(gt&192)===128&&(ut&192)===128&&(dt&192)===128&&(st=(G&15)<<18|(gt&63)<<12|(ut&63)<<6|dt&63,st>65535&&st<1114112&&(ee=st))}}ee===null?(ee=65533,Me=1):ee>65535&&(ee-=65536,L.push(ee>>>10&1023|55296),ee=56320|ee&1023),L.push(ee),q+=Me}return Xe(L)}const Te=4096;function Xe(I){const y=I.length;if(y<=Te)return String.fromCharCode.apply(String,I);let b="",L=0;for(;L<y;)b+=String.fromCharCode.apply(String,I.slice(L,L+=Te));return b}function ve(I,y,b){let L="";b=Math.min(I.length,b);for(let q=y;q<b;++q)L+=String.fromCharCode(I[q]&127);return L}function ge(I,y,b){let L="";b=Math.min(I.length,b);for(let q=y;q<b;++q)L+=String.fromCharCode(I[q]);return L}function Ke(I,y,b){const L=I.length;(!y||y<0)&&(y=0),(!b||b<0||b>L)&&(b=L);let q="";for(let G=y;G<b;++G)q+=Ce[I[G]];return q}function Y(I,y,b){const L=I.slice(y,b);let q="";for(let G=0;G<L.length-1;G+=2)q+=String.fromCharCode(L[G]+L[G+1]*256);return q}d.prototype.slice=function(y,b){const L=this.length;y=~~y,b=b===void 0?L:~~b,y<0?(y+=L,y<0&&(y=0)):y>L&&(y=L),b<0?(b+=L,b<0&&(b=0)):b>L&&(b=L),b<y&&(b=y);const q=this.subarray(y,b);return Object.setPrototypeOf(q,d.prototype),q};function X(I,y,b){if(I%1!==0||I<0)throw new RangeError("offset is not uint");if(I+y>b)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(y,b,L){y=y>>>0,b=b>>>0,L||X(y,b,this.length);let q=this[y],G=1,ee=0;for(;++ee<b&&(G*=256);)q+=this[y+ee]*G;return q},d.prototype.readUintBE=d.prototype.readUIntBE=function(y,b,L){y=y>>>0,b=b>>>0,L||X(y,b,this.length);let q=this[y+--b],G=1;for(;b>0&&(G*=256);)q+=this[y+--b]*G;return q},d.prototype.readUint8=d.prototype.readUInt8=function(y,b){return y=y>>>0,b||X(y,1,this.length),this[y]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(y,b){return y=y>>>0,b||X(y,2,this.length),this[y]|this[y+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(y,b){return y=y>>>0,b||X(y,2,this.length),this[y]<<8|this[y+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(y,b){return y=y>>>0,b||X(y,4,this.length),(this[y]|this[y+1]<<8|this[y+2]<<16)+this[y+3]*16777216},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(y,b){return y=y>>>0,b||X(y,4,this.length),this[y]*16777216+(this[y+1]<<16|this[y+2]<<8|this[y+3])},d.prototype.readBigUInt64LE=Oe(function(y){y=y>>>0,Lt(y,"offset");const b=this[y],L=this[y+7];(b===void 0||L===void 0)&&wt(y,this.length-8);const q=b+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24,G=this[++y]+this[++y]*2**8+this[++y]*2**16+L*2**24;return BigInt(q)+(BigInt(G)<<BigInt(32))}),d.prototype.readBigUInt64BE=Oe(function(y){y=y>>>0,Lt(y,"offset");const b=this[y],L=this[y+7];(b===void 0||L===void 0)&&wt(y,this.length-8);const q=b*2**24+this[++y]*2**16+this[++y]*2**8+this[++y],G=this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+L;return(BigInt(q)<<BigInt(32))+BigInt(G)}),d.prototype.readIntLE=function(y,b,L){y=y>>>0,b=b>>>0,L||X(y,b,this.length);let q=this[y],G=1,ee=0;for(;++ee<b&&(G*=256);)q+=this[y+ee]*G;return G*=128,q>=G&&(q-=Math.pow(2,8*b)),q},d.prototype.readIntBE=function(y,b,L){y=y>>>0,b=b>>>0,L||X(y,b,this.length);let q=b,G=1,ee=this[y+--q];for(;q>0&&(G*=256);)ee+=this[y+--q]*G;return G*=128,ee>=G&&(ee-=Math.pow(2,8*b)),ee},d.prototype.readInt8=function(y,b){return y=y>>>0,b||X(y,1,this.length),this[y]&128?(255-this[y]+1)*-1:this[y]},d.prototype.readInt16LE=function(y,b){y=y>>>0,b||X(y,2,this.length);const L=this[y]|this[y+1]<<8;return L&32768?L|4294901760:L},d.prototype.readInt16BE=function(y,b){y=y>>>0,b||X(y,2,this.length);const L=this[y+1]|this[y]<<8;return L&32768?L|4294901760:L},d.prototype.readInt32LE=function(y,b){return y=y>>>0,b||X(y,4,this.length),this[y]|this[y+1]<<8|this[y+2]<<16|this[y+3]<<24},d.prototype.readInt32BE=function(y,b){return y=y>>>0,b||X(y,4,this.length),this[y]<<24|this[y+1]<<16|this[y+2]<<8|this[y+3]},d.prototype.readBigInt64LE=Oe(function(y){y=y>>>0,Lt(y,"offset");const b=this[y],L=this[y+7];(b===void 0||L===void 0)&&wt(y,this.length-8);const q=this[y+4]+this[y+5]*2**8+this[y+6]*2**16+(L<<24);return(BigInt(q)<<BigInt(32))+BigInt(b+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24)}),d.prototype.readBigInt64BE=Oe(function(y){y=y>>>0,Lt(y,"offset");const b=this[y],L=this[y+7];(b===void 0||L===void 0)&&wt(y,this.length-8);const q=(b<<24)+this[++y]*2**16+this[++y]*2**8+this[++y];return(BigInt(q)<<BigInt(32))+BigInt(this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+L)}),d.prototype.readFloatLE=function(y,b){return y=y>>>0,b||X(y,4,this.length),n.read(this,y,!0,23,4)},d.prototype.readFloatBE=function(y,b){return y=y>>>0,b||X(y,4,this.length),n.read(this,y,!1,23,4)},d.prototype.readDoubleLE=function(y,b){return y=y>>>0,b||X(y,8,this.length),n.read(this,y,!0,52,8)},d.prototype.readDoubleBE=function(y,b){return y=y>>>0,b||X(y,8,this.length),n.read(this,y,!1,52,8)};function re(I,y,b,L,q,G){if(!d.isBuffer(I))throw new TypeError('"buffer" argument must be a Buffer instance');if(y>q||y<G)throw new RangeError('"value" argument is out of bounds');if(b+L>I.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(y,b,L,q){if(y=+y,b=b>>>0,L=L>>>0,!q){const Me=Math.pow(2,8*L)-1;re(this,y,b,L,Me,0)}let G=1,ee=0;for(this[b]=y&255;++ee<L&&(G*=256);)this[b+ee]=y/G&255;return b+L},d.prototype.writeUintBE=d.prototype.writeUIntBE=function(y,b,L,q){if(y=+y,b=b>>>0,L=L>>>0,!q){const Me=Math.pow(2,8*L)-1;re(this,y,b,L,Me,0)}let G=L-1,ee=1;for(this[b+G]=y&255;--G>=0&&(ee*=256);)this[b+G]=y/ee&255;return b+L},d.prototype.writeUint8=d.prototype.writeUInt8=function(y,b,L){return y=+y,b=b>>>0,L||re(this,y,b,1,255,0),this[b]=y&255,b+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(y,b,L){return y=+y,b=b>>>0,L||re(this,y,b,2,65535,0),this[b]=y&255,this[b+1]=y>>>8,b+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(y,b,L){return y=+y,b=b>>>0,L||re(this,y,b,2,65535,0),this[b]=y>>>8,this[b+1]=y&255,b+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(y,b,L){return y=+y,b=b>>>0,L||re(this,y,b,4,4294967295,0),this[b+3]=y>>>24,this[b+2]=y>>>16,this[b+1]=y>>>8,this[b]=y&255,b+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(y,b,L){return y=+y,b=b>>>0,L||re(this,y,b,4,4294967295,0),this[b]=y>>>24,this[b+1]=y>>>16,this[b+2]=y>>>8,this[b+3]=y&255,b+4};function _e(I,y,b,L,q){Rt(y,L,q,I,b,7);let G=Number(y&BigInt(4294967295));I[b++]=G,G=G>>8,I[b++]=G,G=G>>8,I[b++]=G,G=G>>8,I[b++]=G;let ee=Number(y>>BigInt(32)&BigInt(4294967295));return I[b++]=ee,ee=ee>>8,I[b++]=ee,ee=ee>>8,I[b++]=ee,ee=ee>>8,I[b++]=ee,b}function ze(I,y,b,L,q){Rt(y,L,q,I,b,7);let G=Number(y&BigInt(4294967295));I[b+7]=G,G=G>>8,I[b+6]=G,G=G>>8,I[b+5]=G,G=G>>8,I[b+4]=G;let ee=Number(y>>BigInt(32)&BigInt(4294967295));return I[b+3]=ee,ee=ee>>8,I[b+2]=ee,ee=ee>>8,I[b+1]=ee,ee=ee>>8,I[b]=ee,b+8}d.prototype.writeBigUInt64LE=Oe(function(y,b=0){return _e(this,y,b,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=Oe(function(y,b=0){return ze(this,y,b,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(y,b,L,q){if(y=+y,b=b>>>0,!q){const gt=Math.pow(2,8*L-1);re(this,y,b,L,gt-1,-gt)}let G=0,ee=1,Me=0;for(this[b]=y&255;++G<L&&(ee*=256);)y<0&&Me===0&&this[b+G-1]!==0&&(Me=1),this[b+G]=(y/ee>>0)-Me&255;return b+L},d.prototype.writeIntBE=function(y,b,L,q){if(y=+y,b=b>>>0,!q){const gt=Math.pow(2,8*L-1);re(this,y,b,L,gt-1,-gt)}let G=L-1,ee=1,Me=0;for(this[b+G]=y&255;--G>=0&&(ee*=256);)y<0&&Me===0&&this[b+G+1]!==0&&(Me=1),this[b+G]=(y/ee>>0)-Me&255;return b+L},d.prototype.writeInt8=function(y,b,L){return y=+y,b=b>>>0,L||re(this,y,b,1,127,-128),y<0&&(y=255+y+1),this[b]=y&255,b+1},d.prototype.writeInt16LE=function(y,b,L){return y=+y,b=b>>>0,L||re(this,y,b,2,32767,-32768),this[b]=y&255,this[b+1]=y>>>8,b+2},d.prototype.writeInt16BE=function(y,b,L){return y=+y,b=b>>>0,L||re(this,y,b,2,32767,-32768),this[b]=y>>>8,this[b+1]=y&255,b+2},d.prototype.writeInt32LE=function(y,b,L){return y=+y,b=b>>>0,L||re(this,y,b,4,2147483647,-2147483648),this[b]=y&255,this[b+1]=y>>>8,this[b+2]=y>>>16,this[b+3]=y>>>24,b+4},d.prototype.writeInt32BE=function(y,b,L){return y=+y,b=b>>>0,L||re(this,y,b,4,2147483647,-2147483648),y<0&&(y=4294967295+y+1),this[b]=y>>>24,this[b+1]=y>>>16,this[b+2]=y>>>8,this[b+3]=y&255,b+4},d.prototype.writeBigInt64LE=Oe(function(y,b=0){return _e(this,y,b,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=Oe(function(y,b=0){return ze(this,y,b,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function xe(I,y,b,L,q,G){if(b+L>I.length)throw new RangeError("Index out of range");if(b<0)throw new RangeError("Index out of range")}function Fe(I,y,b,L,q){return y=+y,b=b>>>0,q||xe(I,y,b,4),n.write(I,y,b,L,23,4),b+4}d.prototype.writeFloatLE=function(y,b,L){return Fe(this,y,b,!0,L)},d.prototype.writeFloatBE=function(y,b,L){return Fe(this,y,b,!1,L)};function Be(I,y,b,L,q){return y=+y,b=b>>>0,q||xe(I,y,b,8),n.write(I,y,b,L,52,8),b+8}d.prototype.writeDoubleLE=function(y,b,L){return Be(this,y,b,!0,L)},d.prototype.writeDoubleBE=function(y,b,L){return Be(this,y,b,!1,L)},d.prototype.copy=function(y,b,L,q){if(!d.isBuffer(y))throw new TypeError("argument should be a Buffer");if(L||(L=0),!q&&q!==0&&(q=this.length),b>=y.length&&(b=y.length),b||(b=0),q>0&&q<L&&(q=L),q===L||y.length===0||this.length===0)return 0;if(b<0)throw new RangeError("targetStart out of bounds");if(L<0||L>=this.length)throw new RangeError("Index out of range");if(q<0)throw new RangeError("sourceEnd out of bounds");q>this.length&&(q=this.length),y.length-b<q-L&&(q=y.length-b+L);const G=q-L;return this===y&&typeof a.prototype.copyWithin=="function"?this.copyWithin(b,L,q):a.prototype.set.call(y,this.subarray(L,q),b),G},d.prototype.fill=function(y,b,L,q){if(typeof y=="string"){if(typeof b=="string"?(q=b,b=0,L=this.length):typeof L=="string"&&(q=L,L=this.length),q!==void 0&&typeof q!="string")throw new TypeError("encoding must be a string");if(typeof q=="string"&&!d.isEncoding(q))throw new TypeError("Unknown encoding: "+q);if(y.length===1){const ee=y.charCodeAt(0);(q==="utf8"&&ee<128||q==="latin1")&&(y=ee)}}else typeof y=="number"?y=y&255:typeof y=="boolean"&&(y=Number(y));if(b<0||this.length<b||this.length<L)throw new RangeError("Out of range index");if(L<=b)return this;b=b>>>0,L=L===void 0?this.length:L>>>0,y||(y=0);let G;if(typeof y=="number")for(G=b;G<L;++G)this[G]=y;else{const ee=d.isBuffer(y)?y:d.from(y,q),Me=ee.length;if(Me===0)throw new TypeError('The value "'+y+'" is invalid for argument "value"');for(G=0;G<L-b;++G)this[G+b]=ee[G%Me]}return this};const Le={};function _t(I,y,b){Le[I]=class extends b{constructor(){super(),Object.defineProperty(this,"message",{value:y.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${I}]`,this.stack,delete this.name}get code(){return I}set code(q){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:q,writable:!0})}toString(){return`${this.name} [${I}]: ${this.message}`}}}_t("ERR_BUFFER_OUT_OF_BOUNDS",function(I){return I?`${I} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),_t("ERR_INVALID_ARG_TYPE",function(I,y){return`The "${I}" argument must be of type number. Received type ${typeof y}`},TypeError),_t("ERR_OUT_OF_RANGE",function(I,y,b){let L=`The value of "${I}" is out of range.`,q=b;return Number.isInteger(b)&&Math.abs(b)>2**32?q=rn(String(b)):typeof b=="bigint"&&(q=String(b),(b>BigInt(2)**BigInt(32)||b<-(BigInt(2)**BigInt(32)))&&(q=rn(q)),q+="n"),L+=` It must be ${y}. Received ${q}`,L},RangeError);function rn(I){let y="",b=I.length;const L=I[0]==="-"?1:0;for(;b>=L+4;b-=3)y=`_${I.slice(b-3,b)}${y}`;return`${I.slice(0,b)}${y}`}function Pt(I,y,b){Lt(y,"offset"),(I[y]===void 0||I[y+b]===void 0)&&wt(y,I.length-(b+1))}function Rt(I,y,b,L,q,G){if(I>b||I<y){const ee=typeof y=="bigint"?"n":"";let Me;throw y===0||y===BigInt(0)?Me=`>= 0${ee} and < 2${ee} ** ${(G+1)*8}${ee}`:Me=`>= -(2${ee} ** ${(G+1)*8-1}${ee}) and < 2 ** ${(G+1)*8-1}${ee}`,new Le.ERR_OUT_OF_RANGE("value",Me,I)}Pt(L,q,G)}function Lt(I,y){if(typeof I!="number")throw new Le.ERR_INVALID_ARG_TYPE(y,"number",I)}function wt(I,y,b){throw Math.floor(I)!==I?(Lt(I,b),new Le.ERR_OUT_OF_RANGE("offset","an integer",I)):y<0?new Le.ERR_BUFFER_OUT_OF_BOUNDS:new Le.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${y}`,I)}const kn=/[^+/0-9A-Za-z-_]/g;function Ae(I){if(I=I.split("=")[0],I=I.trim().replace(kn,""),I.length<2)return"";for(;I.length%4!==0;)I=I+"=";return I}function Ue(I,y){y=y||1/0;let b;const L=I.length;let q=null;const G=[];for(let ee=0;ee<L;++ee){if(b=I.charCodeAt(ee),b>55295&&b<57344){if(!q){if(b>56319){(y-=3)>-1&&G.push(239,191,189);continue}else if(ee+1===L){(y-=3)>-1&&G.push(239,191,189);continue}q=b;continue}if(b<56320){(y-=3)>-1&&G.push(239,191,189),q=b;continue}b=(q-55296<<10|b-56320)+65536}else q&&(y-=3)>-1&&G.push(239,191,189);if(q=null,b<128){if((y-=1)<0)break;G.push(b)}else if(b<2048){if((y-=2)<0)break;G.push(b>>6|192,b&63|128)}else if(b<65536){if((y-=3)<0)break;G.push(b>>12|224,b>>6&63|128,b&63|128)}else if(b<1114112){if((y-=4)<0)break;G.push(b>>18|240,b>>12&63|128,b>>6&63|128,b&63|128)}else throw new Error("Invalid code point")}return G}function Qe(I){const y=[];for(let b=0;b<I.length;++b)y.push(I.charCodeAt(b)&255);return y}function we(I,y){let b,L,q;const G=[];for(let ee=0;ee<I.length&&!((y-=2)<0);++ee)b=I.charCodeAt(ee),L=b>>8,q=b%256,G.push(q),G.push(L);return G}function pt(I){return t.toByteArray(Ae(I))}function Wt(I,y,b,L){let q;for(q=0;q<L&&!(q+b>=y.length||q>=I.length);++q)y[q+b]=I[q];return q}function Et(I,y){return I instanceof y||I!=null&&I.constructor!=null&&I.constructor.name!=null&&I.constructor.name===y.name}function ht(I){return I!==I}const Ce=function(){const I="0123456789abcdef",y=new Array(256);for(let b=0;b<16;++b){const L=b*16;for(let q=0;q<16;++q)y[L+q]=I[b]+I[q]}return y}();function Oe(I){return typeof BigInt>"u"?Kt:I}function Kt(){throw new Error("BigInt not supported")}})(eh);const gm=eh.Buffer;function ft(e,t,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o)}ie.inherits(ft,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ie.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const nh=ft.prototype,rh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{rh[e]={value:e}}),Object.defineProperties(ft,rh),Object.defineProperty(nh,"isAxiosError",{value:!0}),ft.from=(e,t,n,i,o,a)=>{const u=Object.create(nh);return ie.toFlatObject(e,u,function(f){return f!==Error.prototype},l=>l!=="isAxiosError"),ft.call(u,e.message,t,n,i,o),u.cause=e,u.name=e.name,a&&Object.assign(u,a),u};const ym=null;function Uu(e){return ie.isPlainObject(e)||ie.isArray(e)}function ih(e){return ie.endsWith(e,"[]")?e.slice(0,-2):e}function sh(e,t,n){return e?e.concat(t).map(function(o,a){return o=ih(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function mm(e){return ie.isArray(e)&&!e.some(Uu)}const bm=ie.toFlatObject(ie,{},null,function(t){return/^is[A-Z]/.test(t)});function Ko(e,t,n){if(!ie.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ie.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,w){return!ie.isUndefined(w[E])});const i=n.metaTokens,o=n.visitor||d,a=n.dots,u=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&ie.isSpecCompliantForm(t);if(!ie.isFunction(o))throw new TypeError("visitor must be a function");function h(S){if(S===null)return"";if(ie.isDate(S))return S.toISOString();if(!f&&ie.isBlob(S))throw new ft("Blob is not supported. Use a Buffer instead.");return ie.isArrayBuffer(S)||ie.isTypedArray(S)?f&&typeof Blob=="function"?new Blob([S]):gm.from(S):S}function d(S,E,w){let T=S;if(S&&!w&&typeof S=="object"){if(ie.endsWith(E,"{}"))E=i?E:E.slice(0,-2),S=JSON.stringify(S);else if(ie.isArray(S)&&mm(S)||(ie.isFileList(S)||ie.endsWith(E,"[]"))&&(T=ie.toArray(S)))return E=ih(E),T.forEach(function(R,_){!(ie.isUndefined(R)||R===null)&&t.append(u===!0?sh([E],_,a):u===null?E:E+"[]",h(R))}),!1}return Uu(S)?!0:(t.append(sh(w,E,a),h(S)),!1)}const g=[],v=Object.assign(bm,{defaultVisitor:d,convertValue:h,isVisitable:Uu});function C(S,E){if(!ie.isUndefined(S)){if(g.indexOf(S)!==-1)throw Error("Circular reference detected in "+E.join("."));g.push(S),ie.forEach(S,function(T,j){(!(ie.isUndefined(T)||T===null)&&o.call(t,T,ie.isString(j)?j.trim():j,E,v))===!0&&C(T,E?E.concat(j):[j])}),g.pop()}}if(!ie.isObject(e))throw new TypeError("data must be an object");return C(e),t}function oh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function Vu(e,t){this._pairs=[],e&&Ko(e,this,t)}const ah=Vu.prototype;ah.append=function(t,n){this._pairs.push([t,n])},ah.toString=function(t){const n=t?function(i){return t.call(this,i,oh)}:oh;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function wm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function uh(e,t,n){if(!t)return e;const i=n&&n.encode||wm,o=n&&n.serialize;let a;if(o?a=o(t,n):a=ie.isURLSearchParams(t)?t.toString():new Vu(t,n).toString(i),a){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class ch{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ie.forEach(this.handlers,function(i){i!==null&&t(i)})}}const lh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vm=typeof URLSearchParams<"u"?URLSearchParams:Vu,xm=typeof FormData<"u"?FormData:null,Em=typeof Blob<"u"?Blob:null,Sm=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Am=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",dr={classes:{URLSearchParams:vm,FormData:xm,Blob:Em},isStandardBrowserEnv:Sm,isStandardBrowserWebWorkerEnv:Am,protocols:["http","https","file","blob","url","data"]};function Cm(e,t){return Ko(e,new dr.classes.URLSearchParams,Object.assign({visitor:function(n,i,o,a){return dr.isNode&&ie.isBuffer(n)?(this.append(i,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function _m(e){return ie.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function km(e){const t={},n=Object.keys(e);let i;const o=n.length;let a;for(i=0;i<o;i++)a=n[i],t[a]=e[a];return t}function fh(e){function t(n,i,o,a){let u=n[a++];const l=Number.isFinite(+u),f=a>=n.length;return u=!u&&ie.isArray(o)?o.length:u,f?(ie.hasOwnProp(o,u)?o[u]=[o[u],i]:o[u]=i,!l):((!o[u]||!ie.isObject(o[u]))&&(o[u]=[]),t(n,i,o[u],a)&&ie.isArray(o[u])&&(o[u]=km(o[u])),!l)}if(ie.isFormData(e)&&ie.isFunction(e.entries)){const n={};return ie.forEachEntry(e,(i,o)=>{t(_m(i),o,n,0)}),n}return null}const Tm={"Content-Type":void 0};function Im(e,t,n){if(ie.isString(e))try{return(t||JSON.parse)(e),ie.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}const Wi={transitional:lh,adapter:["xhr","http"],transformRequest:[function(t,n){const i=n.getContentType()||"",o=i.indexOf("application/json")>-1,a=ie.isObject(t);if(a&&ie.isHTMLForm(t)&&(t=new FormData(t)),ie.isFormData(t))return o&&o?JSON.stringify(fh(t)):t;if(ie.isArrayBuffer(t)||ie.isBuffer(t)||ie.isStream(t)||ie.isFile(t)||ie.isBlob(t))return t;if(ie.isArrayBufferView(t))return t.buffer;if(ie.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Cm(t,this.formSerializer).toString();if((l=ie.isFileList(t))||i.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Ko(l?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),Im(t)):t}],transformResponse:[function(t){const n=this.transitional||Wi.transitional,i=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&ie.isString(t)&&(i&&!this.responseType||o)){const u=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(u)throw l.name==="SyntaxError"?ft.from(l,ft.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:dr.classes.FormData,Blob:dr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ie.forEach(["delete","get","head"],function(t){Wi.headers[t]={}}),ie.forEach(["post","put","patch"],function(t){Wi.headers[t]=ie.merge(Tm)});const Om=ie.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Fm=e=>{const t={};let n,i,o;return e&&e.split(`
100
+ `).forEach(function(u){o=u.indexOf(":"),n=u.substring(0,o).trim().toLowerCase(),i=u.substring(o+1).trim(),!(!n||t[n]&&Om[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t},hh=Symbol("internals");function Ds(e){return e&&String(e).trim().toLowerCase()}function Ho(e){return e===!1||e==null?e:ie.isArray(e)?e.map(Ho):String(e)}function Bm(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const Dm=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function qu(e,t,n,i,o){if(ie.isFunction(i))return i.call(this,t,n);if(o&&(t=n),!!ie.isString(t)){if(ie.isString(i))return t.indexOf(i)!==-1;if(ie.isRegExp(i))return i.test(t)}}function Pm(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function Rm(e,t){const n=ie.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(o,a,u){return this[i].call(this,t,o,a,u)},configurable:!0})})}let $n=class{constructor(t){t&&this.set(t)}set(t,n,i){const o=this;function a(l,f,h){const d=Ds(f);if(!d)throw new Error("header name must be a non-empty string");const g=ie.findKey(o,d);(!g||o[g]===void 0||h===!0||h===void 0&&o[g]!==!1)&&(o[g||f]=Ho(l))}const u=(l,f)=>ie.forEach(l,(h,d)=>a(h,d,f));return ie.isPlainObject(t)||t instanceof this.constructor?u(t,n):ie.isString(t)&&(t=t.trim())&&!Dm(t)?u(Fm(t),n):t!=null&&a(n,t,i),this}get(t,n){if(t=Ds(t),t){const i=ie.findKey(this,t);if(i){const o=this[i];if(!n)return o;if(n===!0)return Bm(o);if(ie.isFunction(n))return n.call(this,o,i);if(ie.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ds(t),t){const i=ie.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||qu(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let o=!1;function a(u){if(u=Ds(u),u){const l=ie.findKey(i,u);l&&(!n||qu(i,i[l],l,n))&&(delete i[l],o=!0)}}return ie.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let i=n.length,o=!1;for(;i--;){const a=n[i];(!t||qu(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,i={};return ie.forEach(this,(o,a)=>{const u=ie.findKey(i,a);if(u){n[u]=Ho(o),delete n[a];return}const l=t?Pm(a):String(a).trim();l!==a&&delete n[a],n[l]=Ho(o),i[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ie.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=t&&ie.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
101
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const i=new this(t);return n.forEach(o=>i.set(o)),i}static accessor(t){const i=(this[hh]=this[hh]={accessors:{}}).accessors,o=this.prototype;function a(u){const l=Ds(u);i[l]||(Rm(o,u),i[l]=!0)}return ie.isArray(t)?t.forEach(a):a(t),this}};$n.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ie.freezeMethods($n.prototype),ie.freezeMethods($n);function Wu(e,t){const n=this||Wi,i=t||n,o=$n.from(i.headers);let a=i.data;return ie.forEach(e,function(l){a=l.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function dh(e){return!!(e&&e.__CANCEL__)}function Ps(e,t,n){ft.call(this,e??"canceled",ft.ERR_CANCELED,t,n),this.name="CanceledError"}ie.inherits(Ps,ft,{__CANCEL__:!0});function Lm(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new ft("Request failed with status code "+n.status,[ft.ERR_BAD_REQUEST,ft.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const jm=dr.isStandardBrowserEnv?function(){return{write:function(n,i,o,a,u,l){const f=[];f.push(n+"="+encodeURIComponent(i)),ie.isNumber(o)&&f.push("expires="+new Date(o).toGMTString()),ie.isString(a)&&f.push("path="+a),ie.isString(u)&&f.push("domain="+u),l===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(n){const i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Nm(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function $m(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function ph(e,t){return e&&!Nm(t)?$m(e,t):t}const Mm=dr.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let i;function o(a){let u=a;return t&&(n.setAttribute("href",u),u=n.href),n.setAttribute("href",u),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=o(window.location.href),function(u){const l=ie.isString(u)?o(u):u;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}();function Um(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Vm(e,t){e=e||10;const n=new Array(e),i=new Array(e);let o=0,a=0,u;return t=t!==void 0?t:1e3,function(f){const h=Date.now(),d=i[a];u||(u=h),n[o]=f,i[o]=h;let g=a,v=0;for(;g!==o;)v+=n[g++],g=g%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),h-u<t)return;const C=d&&h-d;return C?Math.round(v*1e3/C):void 0}}function gh(e,t){let n=0;const i=Vm(50,250);return o=>{const a=o.loaded,u=o.lengthComputable?o.total:void 0,l=a-n,f=i(l),h=a<=u;n=a;const d={loaded:a,total:u,progress:u?a/u:void 0,bytes:l,rate:f||void 0,estimated:f&&u&&h?(u-a)/f:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const zo={http:ym,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,i){let o=e.data;const a=$n.from(e.headers).normalize(),u=e.responseType;let l;function f(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}ie.isFormData(o)&&(dr.isStandardBrowserEnv||dr.isStandardBrowserWebWorkerEnv?a.setContentType(!1):a.setContentType("multipart/form-data;",!1));let h=new XMLHttpRequest;if(e.auth){const C=e.auth.username||"",S=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(C+":"+S))}const d=ph(e.baseURL,e.url);h.open(e.method.toUpperCase(),uh(d,e.params,e.paramsSerializer),!0),h.timeout=e.timeout;function g(){if(!h)return;const C=$n.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),E={data:!u||u==="text"||u==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:C,config:e,request:h};Lm(function(T){n(T),f()},function(T){i(T),f()},E),h=null}if("onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(g)},h.onabort=function(){h&&(i(new ft("Request aborted",ft.ECONNABORTED,e,h)),h=null)},h.onerror=function(){i(new ft("Network Error",ft.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let S=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const E=e.transitional||lh;e.timeoutErrorMessage&&(S=e.timeoutErrorMessage),i(new ft(S,E.clarifyTimeoutError?ft.ETIMEDOUT:ft.ECONNABORTED,e,h)),h=null},dr.isStandardBrowserEnv){const C=(e.withCredentials||Mm(d))&&e.xsrfCookieName&&jm.read(e.xsrfCookieName);C&&a.set(e.xsrfHeaderName,C)}o===void 0&&a.setContentType(null),"setRequestHeader"in h&&ie.forEach(a.toJSON(),function(S,E){h.setRequestHeader(E,S)}),ie.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),u&&u!=="json"&&(h.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&h.addEventListener("progress",gh(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",gh(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=C=>{h&&(i(!C||C.type?new Ps(null,e,h):C),h.abort(),h=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const v=Um(d);if(v&&dr.protocols.indexOf(v)===-1){i(new ft("Unsupported protocol "+v+":",ft.ERR_BAD_REQUEST,e));return}h.send(o||null)})}};ie.forEach(zo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const qm={getAdapter:e=>{e=ie.isArray(e)?e:[e];const{length:t}=e;let n,i;for(let o=0;o<t&&(n=e[o],!(i=ie.isString(n)?zo[n.toLowerCase()]:n));o++);if(!i)throw i===!1?new ft(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(ie.hasOwnProp(zo,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!ie.isFunction(i))throw new TypeError("adapter is not a function");return i},adapters:zo};function Ku(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ps(null,e)}function yh(e){return Ku(e),e.headers=$n.from(e.headers),e.data=Wu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),qm.getAdapter(e.adapter||Wi.adapter)(e).then(function(i){return Ku(e),i.data=Wu.call(e,e.transformResponse,i),i.headers=$n.from(i.headers),i},function(i){return dh(i)||(Ku(e),i&&i.response&&(i.response.data=Wu.call(e,e.transformResponse,i.response),i.response.headers=$n.from(i.response.headers))),Promise.reject(i)})}const mh=e=>e instanceof $n?e.toJSON():e;function Ki(e,t){t=t||{};const n={};function i(h,d,g){return ie.isPlainObject(h)&&ie.isPlainObject(d)?ie.merge.call({caseless:g},h,d):ie.isPlainObject(d)?ie.merge({},d):ie.isArray(d)?d.slice():d}function o(h,d,g){if(ie.isUndefined(d)){if(!ie.isUndefined(h))return i(void 0,h,g)}else return i(h,d,g)}function a(h,d){if(!ie.isUndefined(d))return i(void 0,d)}function u(h,d){if(ie.isUndefined(d)){if(!ie.isUndefined(h))return i(void 0,h)}else return i(void 0,d)}function l(h,d,g){if(g in t)return i(h,d);if(g in e)return i(void 0,h)}const f={url:a,method:a,data:a,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:l,headers:(h,d)=>o(mh(h),mh(d),!0)};return ie.forEach(Object.keys(Object.assign({},e,t)),function(d){const g=f[d]||o,v=g(e[d],t[d],d);ie.isUndefined(v)&&g!==l||(n[d]=v)}),n}const bh="1.4.0",Hu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hu[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const wh={};Hu.transitional=function(t,n,i){function o(a,u){return"[Axios v"+bh+"] Transitional option '"+a+"'"+u+(i?". "+i:"")}return(a,u,l)=>{if(t===!1)throw new ft(o(u," has been removed"+(n?" in "+n:"")),ft.ERR_DEPRECATED);return n&&!wh[u]&&(wh[u]=!0,console.warn(o(u," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,u,l):!0}};function Wm(e,t,n){if(typeof e!="object")throw new ft("options must be an object",ft.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const a=i[o],u=t[a];if(u){const l=e[a],f=l===void 0||u(l,a,e);if(f!==!0)throw new ft("option "+a+" must be "+f,ft.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ft("Unknown option "+a,ft.ERR_BAD_OPTION)}}const zu={assertOptions:Wm,validators:Hu},Ur=zu.validators;let di=class{constructor(t){this.defaults=t,this.interceptors={request:new ch,response:new ch}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ki(this.defaults,n);const{transitional:i,paramsSerializer:o,headers:a}=n;i!==void 0&&zu.assertOptions(i,{silentJSONParsing:Ur.transitional(Ur.boolean),forcedJSONParsing:Ur.transitional(Ur.boolean),clarifyTimeoutError:Ur.transitional(Ur.boolean)},!1),o!=null&&(ie.isFunction(o)?n.paramsSerializer={serialize:o}:zu.assertOptions(o,{encode:Ur.function,serialize:Ur.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let u;u=a&&ie.merge(a.common,a[n.method]),u&&ie.forEach(["delete","get","head","post","put","patch","common"],S=>{delete a[S]}),n.headers=$n.concat(u,a);const l=[];let f=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(f=f&&E.synchronous,l.unshift(E.fulfilled,E.rejected))});const h=[];this.interceptors.response.forEach(function(E){h.push(E.fulfilled,E.rejected)});let d,g=0,v;if(!f){const S=[yh.bind(this),void 0];for(S.unshift.apply(S,l),S.push.apply(S,h),v=S.length,d=Promise.resolve(n);g<v;)d=d.then(S[g++],S[g++]);return d}v=l.length;let C=n;for(g=0;g<v;){const S=l[g++],E=l[g++];try{C=S(C)}catch(w){E.call(this,w);break}}try{d=yh.call(this,C)}catch(S){return Promise.reject(S)}for(g=0,v=h.length;g<v;)d=d.then(h[g++],h[g++]);return d}getUri(t){t=Ki(this.defaults,t);const n=ph(t.baseURL,t.url);return uh(n,t.params,t.paramsSerializer)}};ie.forEach(["delete","get","head","options"],function(t){di.prototype[t]=function(n,i){return this.request(Ki(i||{},{method:t,url:n,data:(i||{}).data}))}}),ie.forEach(["post","put","patch"],function(t){function n(i){return function(a,u,l){return this.request(Ki(l||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:a,data:u}))}}di.prototype[t]=n(),di.prototype[t+"Form"]=n(!0)});let Km=class l1{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const i=this;this.promise.then(o=>{if(!i._listeners)return;let a=i._listeners.length;for(;a-- >0;)i._listeners[a](o);i._listeners=null}),this.promise.then=o=>{let a;const u=new Promise(l=>{i.subscribe(l),a=l}).then(o);return u.cancel=function(){i.unsubscribe(a)},u},t(function(a,u,l){i.reason||(i.reason=new Ps(a,u,l),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new l1(function(o){t=o}),cancel:t}}};function Hm(e){return function(n){return e.apply(null,n)}}function zm(e){return ie.isObject(e)&&e.isAxiosError===!0}const Gu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Gu).forEach(([e,t])=>{Gu[t]=e});function vh(e){const t=new di(e),n=Wf(di.prototype.request,t);return ie.extend(n,di.prototype,t,{allOwnKeys:!0}),ie.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return vh(Ki(e,o))},n}const $e=vh(Wi);$e.Axios=di,$e.CanceledError=Ps,$e.CancelToken=Km,$e.isCancel=dh,$e.VERSION=bh,$e.toFormData=Ko,$e.AxiosError=ft,$e.Cancel=$e.CanceledError,$e.all=function(t){return Promise.all(t)},$e.spread=Hm,$e.isAxiosError=zm,$e.mergeConfig=Ki,$e.AxiosHeaders=$n,$e.formToJSON=e=>fh(ie.isHTMLForm(e)?new FormData(e):e),$e.HttpStatusCode=Gu,$e.default=$e;const{Axios:N8,AxiosError:$8,CanceledError:M8,isCancel:U8,CancelToken:V8,VERSION:q8,all:W8,Cancel:K8,isAxiosError:Go,spread:H8,toFormData:z8,AxiosHeaders:G8,HttpStatusCode:J8,formToJSON:Y8,mergeConfig:X8}=$e,Jo=async({endpoint:e,body:t})=>$e.post(e,JSON.stringify(t),{method:"POST",headers:{"Content-Type":"application/json"}}),Yo=async({endpoint:e,body:t})=>$e.put(e,JSON.stringify(t),{method:"PUT",headers:{"Content-Type":"application/json"}}),Ju=async({endpoint:e})=>$e.delete(e),Yu=({name:e,onClose:t,endpoint:n})=>{const[i,o]=Q.useState(),[a,u]=Q.useState(!1),l=()=>{u(!0),o(void 0),Ju({endpoint:n}).then(()=>{u(!1),o(void 0),t()}).catch(f=>{u(!1),o(f)})};return x.jsx(V.Modal,{title:`Delete «${e}»`,open:!0,onOk:()=>l(),onCancel:()=>{t(),u(!1),o(void 0)},okText:"Delete",confirmLoading:a,okButtonProps:{danger:!0},width:400,children:i&&x.jsx(V.Alert,{type:"error",message:"Error while delete",description:i?.response?.data?.message})})},Gm=({data:e,onClose:t})=>{const[n,i]=Q.useState(),[o,a]=Q.useState(!1),u=()=>{a(!0),i(void 0);const l=e.map(({endpoint:f})=>Ju({endpoint:f}));Promise.all(l).then(()=>{t(),a(!1),i(void 0)}).catch(f=>{a(!1),i(f)})};return x.jsx(V.Modal,{title:"Delete selected",open:!0,onOk:()=>u(),onCancel:()=>{t(),a(!1),i(void 0)},okText:"Delete",confirmLoading:o,okButtonProps:{danger:!0},width:400,children:n&&x.jsx(V.Alert,{type:"error",message:"Error while delete",description:n?.response?.data?.message})})},xh=()=>{const{token:e}=V.theme.useToken();return x.jsx("svg",{width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M17.25 3.5H14.25V1.625C14.25 0.797656 13.5773 0.125 12.75 0.125H5.25C4.42266 0.125 3.75 0.797656 3.75 1.625V3.5H0.75C0.335156 3.5 0 3.83516 0 4.25V5C0 5.10313 0.084375 5.1875 0.1875 5.1875H1.60312L2.18203 17.4453C2.21953 18.2445 2.88047 18.875 3.67969 18.875H14.3203C15.1219 18.875 15.7805 18.2469 15.818 17.4453L16.3969 5.1875H17.8125C17.9156 5.1875 18 5.10313 18 5V4.25C18 3.83516 17.6648 3.5 17.25 3.5ZM12.5625 3.5H5.4375V1.8125H12.5625V3.5Z",fill:e.colorText})})},Eh=()=>{const{token:e}=V.theme.useToken();return x.jsx("svg",{width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M17.28 16.79H0.72C0.32175 16.79 0 17.1117 0 17.51V18.32C0 18.419 0.081 18.5 0.18 18.5H17.82C17.919 18.5 18 18.419 18 18.32V17.51C18 17.1117 17.6783 16.79 17.28 16.79ZM3.27825 14.9C3.32325 14.9 3.36825 14.8955 3.41325 14.8888L7.19775 14.225C7.24275 14.216 7.2855 14.1958 7.317 14.162L16.8547 4.62425C16.8756 4.60343 16.8922 4.57871 16.9034 4.55149C16.9147 4.52427 16.9205 4.49509 16.9205 4.46562C16.9205 4.43616 16.9147 4.40698 16.9034 4.37976C16.8922 4.35254 16.8756 4.32782 16.8547 4.307L13.1153 0.56525C13.0725 0.5225 13.0163 0.5 12.9555 0.5C12.8948 0.5 12.8385 0.5225 12.7958 0.56525L3.258 10.103C3.22425 10.1367 3.204 10.1772 3.195 10.2222L2.53125 14.0067C2.50936 14.1273 2.51718 14.2513 2.55404 14.3682C2.59089 14.485 2.65566 14.5911 2.74275 14.6772C2.89125 14.8212 3.078 14.9 3.27825 14.9Z",fill:e.colorText})})},Sh=()=>x.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[x.jsx("g",{clipPath:"url(#clip0_186_9937)",children:x.jsx("path",{d:"M6.33719 9.39777L11.0528 3.36027C11.0652 3.34449 11.073 3.32553 11.0751 3.30557C11.0772 3.2856 11.0737 3.26544 11.0649 3.2474C11.056 3.22936 11.0423 3.21417 11.0253 3.20357C11.0082 3.19298 10.9885 3.18741 10.9684 3.1875L9.93317 3.1875C9.86754 3.1875 9.8046 3.2183 9.76442 3.2692L5.99969 8.09063L2.23495 3.2692C2.19478 3.21697 2.13183 3.1875 2.0662 3.1875L1.03094 3.1875C0.941204 3.1875 0.89165 3.29063 0.946561 3.36027L5.66219 9.39777C5.70221 9.44908 5.75342 9.4906 5.8119 9.51915C5.87038 9.5477 5.93461 9.56254 5.99969 9.56254C6.06477 9.56254 6.12899 9.5477 6.18747 9.51915C6.24596 9.4906 6.29716 9.44908 6.33719 9.39777Z",fill:"currentColor"})}),x.jsx("defs",{children:x.jsx("clipPath",{id:"clip0_186_9937",children:x.jsx("rect",{width:"12",height:"12",fill:"white",transform:"translate(12) rotate(90)"})})})]}),Ah=()=>x.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[x.jsx("g",{clipPath:"url(#clip0_186_11488)",children:x.jsx("path",{d:"M5.66281 2.60223L0.947189 8.63973C0.934768 8.65551 0.92705 8.67447 0.924919 8.69443C0.922788 8.7144 0.926332 8.73456 0.935143 8.7526C0.943955 8.77064 0.957676 8.78583 0.974732 8.79643C0.991787 8.80702 1.01149 8.81259 1.03156 8.8125L2.06683 8.8125C2.13246 8.8125 2.1954 8.7817 2.23558 8.7308L6.00031 3.90937L9.76505 8.7308C9.80522 8.78303 9.86817 8.8125 9.9338 8.8125L10.9691 8.8125C11.0588 8.8125 11.1083 8.70937 11.0534 8.63973L6.33781 2.60223C6.29779 2.55092 6.24658 2.5094 6.1881 2.48085C6.12962 2.4523 6.06539 2.43746 6.00031 2.43746C5.93523 2.43746 5.87101 2.4523 5.81253 2.48085C5.75404 2.5094 5.70284 2.55092 5.66281 2.60223Z",fill:"currentColor"})}),x.jsx("defs",{children:x.jsx("clipPath",{id:"clip0_186_11488",children:x.jsx("rect",{width:"12",height:"12",fill:"white",transform:"translate(0 12) rotate(-90)"})})})]}),Ch=()=>{const{token:e}=V.theme.useToken();return x.jsxs("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[x.jsxs("g",{clipPath:"url(#clip0_294_13557)",children:[x.jsx("path",{d:"M0.568356 1.62165L1.19782 2.11384C2.05608 1.01674 3.3909 0.3125 4.88978 0.3125C7.47795 0.3125 9.57282 2.40513 9.57617 4.99442C9.57952 7.58594 7.48019 9.6875 4.88978 9.6875C2.86635 9.6875 1.14202 8.40402 0.485765 6.60603C0.469025 6.55915 0.493578 6.5067 0.540453 6.49107L1.17327 6.27344C1.19533 6.26588 1.21948 6.26725 1.24054 6.27726C1.26161 6.28727 1.27792 6.30513 1.28599 6.32701C1.30608 6.38281 1.3284 6.43862 1.35184 6.4933C1.54492 6.95089 1.8217 7.36161 2.17438 7.71429C2.52421 8.06478 2.93841 8.34445 3.39425 8.53795C3.86635 8.73772 4.36969 8.83929 4.88755 8.83929C5.40653 8.83929 5.90876 8.73772 6.38086 8.53795C6.83713 8.34526 7.25148 8.06549 7.60072 7.71429C7.9515 7.3645 8.23087 6.9498 8.42327 6.4933C8.62304 6.02009 8.72461 5.51786 8.72461 4.99888C8.72461 4.47991 8.62304 3.97768 8.42327 3.50446C8.23019 3.04688 7.9534 2.63616 7.60072 2.28348C7.24804 1.9308 6.83733 1.65402 6.38086 1.45982C5.90876 1.26004 5.40541 1.15848 4.88755 1.15848C4.36858 1.15848 3.86635 1.26004 3.39425 1.45982C2.93797 1.65251 2.52362 1.93228 2.17438 2.28348C2.06389 2.39397 1.9601 2.51116 1.86411 2.63393L2.53599 3.15848C2.54928 3.16877 2.5594 3.18259 2.56519 3.19837C2.57097 3.21415 2.57219 3.23125 2.56869 3.24768C2.56519 3.26412 2.55712 3.27924 2.54542 3.2913C2.53371 3.30336 2.51884 3.31187 2.50251 3.31585L0.542685 3.79576C0.486881 3.80915 0.432195 3.76674 0.432195 3.70982L0.423265 1.69085C0.424381 1.61719 0.51032 1.57589 0.568356 1.62165Z",fill:e.colorPrimary}),x.jsx("circle",{cx:"4.99935",cy:"5.00033",r:"2.08333",fill:e.colorPrimary})]}),x.jsx("defs",{children:x.jsx("clipPath",{id:"clip0_294_13557",children:x.jsx("rect",{width:"10",height:"10",fill:"white"})})})]})},_h=()=>{const{token:e}=V.theme.useToken();return x.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[x.jsx("g",{clipPath:"url(#clip0_661_14605)",children:x.jsx("path",{d:"M14.6751 8.38707C14.9751 7.99064 15.1412 7.50492 15.1412 6.99957C15.1412 6.19778 14.693 5.43885 13.9715 5.01564C13.7858 4.9067 13.5744 4.84937 13.359 4.84957H9.0769L9.18404 2.65492C9.20904 2.12457 9.02154 1.621 8.65726 1.23707C8.47848 1.04783 8.2628 0.897269 8.02353 0.794683C7.78427 0.692098 7.52651 0.63967 7.26618 0.640638C6.33761 0.640638 5.51618 1.26564 5.26976 2.16028L3.73583 7.71385H1.4269C1.11083 7.71385 0.855469 7.96921 0.855469 8.28528V14.7853C0.855469 15.1014 1.11083 15.3567 1.4269 15.3567H12.1644C12.3287 15.3567 12.4894 15.3246 12.6376 15.2603C13.4876 14.8978 14.0358 14.0674 14.0358 13.146C14.0358 12.921 14.0037 12.6996 13.9394 12.4853C14.2394 12.0889 14.4055 11.6031 14.4055 11.0978C14.4055 10.8728 14.3733 10.6514 14.309 10.4371C14.609 10.0406 14.7751 9.55492 14.7751 9.04957C14.7715 8.82457 14.7394 8.60135 14.6751 8.38707ZM2.14118 14.071V8.99957H3.58761V14.071H2.14118ZM13.5055 7.76742L13.1144 8.10671L13.3626 8.56028C13.4444 8.70969 13.4868 8.87746 13.4858 9.04778C13.4858 9.34242 13.3573 9.62278 13.1358 9.81564L12.7448 10.1549L12.993 10.6085C13.0747 10.7579 13.1171 10.9257 13.1162 11.096C13.1162 11.3906 12.9876 11.671 12.7662 11.8639L12.3751 12.2031L12.6233 12.6567C12.7051 12.8061 12.7475 12.9739 12.7465 13.1442C12.7465 13.5442 12.5108 13.9049 12.1465 14.0692H4.73047V8.94242L6.50726 2.50492C6.55307 2.33992 6.65142 2.19436 6.7874 2.09027C6.92339 1.98619 7.08959 1.92927 7.26083 1.92814C7.39654 1.92814 7.53047 1.96742 7.63761 2.04778C7.8144 2.17992 7.90904 2.37992 7.89833 2.59242L7.7269 6.13528H13.3412C13.659 6.32992 13.8555 6.6585 13.8555 6.99957C13.8555 7.29421 13.7269 7.57278 13.5055 7.76742Z",fill:e.colorSuccess})}),x.jsx("defs",{children:x.jsx("clipPath",{id:"clip0_661_14605",children:x.jsx("rect",{width:"16",height:"16",fill:"white"})})})]})},Jm={success:x.jsx(wn.CheckCircleFilled,{}),error:x.jsx(wn.CloseCircleFilled,{}),warning:x.jsx(wn.ExclamationCircleFilled,{}),validating:x.jsx(wn.LoadingOutlined,{})},Vr=()=>({...Jm,success:x.jsx(_h,{})}),Xu=()=>{const{token:e}=V.theme.useToken();return x.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M8.53558 1.57227H7.46415C7.36891 1.57227 7.32129 1.61988 7.32129 1.71512V7.32227H2.00028C1.90504 7.32227 1.85742 7.36988 1.85742 7.46512V8.53655C1.85742 8.63179 1.90504 8.67941 2.00028 8.67941H7.32129V14.2866C7.32129 14.3818 7.36891 14.4294 7.46415 14.4294H8.53558C8.63081 14.4294 8.67843 14.3818 8.67843 14.2866V8.67941H14.0003C14.0955 8.67941 14.1431 8.63179 14.1431 8.53655V7.46512C14.1431 7.36988 14.0955 7.32227 14.0003 7.32227H8.67843V1.71512C8.67843 1.61988 8.63081 1.57227 8.53558 1.57227Z",fill:e.colorText})})},on=()=>{const{token:e}=V.theme.useToken();return x.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M14.4277 7.32227H1.57059C1.49202 7.32227 1.42773 7.38655 1.42773 7.46512V8.53655C1.42773 8.61512 1.49202 8.67941 1.57059 8.67941H14.4277C14.5063 8.67941 14.5706 8.61512 14.5706 8.53655V7.46512C14.5706 7.38655 14.5063 7.32227 14.4277 7.32227Z",fill:e.colorText})})},kh=()=>{const{token:e}=V.theme.useToken();return x.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M11.375 6.34375H10.4453V3.28125C10.4453 2.31465 9.66191 1.53125 8.69531 1.53125H5.30469C4.33809 1.53125 3.55469 2.31465 3.55469 3.28125V6.34375H2.625C2.38301 6.34375 2.1875 6.53926 2.1875 6.78125V12.0312C2.1875 12.2732 2.38301 12.4688 2.625 12.4688H11.375C11.617 12.4688 11.8125 12.2732 11.8125 12.0312V6.78125C11.8125 6.53926 11.617 6.34375 11.375 6.34375ZM7.38281 9.58398V10.3086C7.38281 10.3687 7.33359 10.418 7.27344 10.418H6.72656C6.66641 10.418 6.61719 10.3687 6.61719 10.3086V9.58398C6.50433 9.50296 6.42009 9.38821 6.3766 9.25626C6.33311 9.12431 6.33261 8.98197 6.37517 8.84972C6.41773 8.71746 6.50115 8.60213 6.61344 8.52031C6.72572 8.43848 6.86107 8.3944 7 8.3944C7.13893 8.3944 7.27428 8.43848 7.38656 8.52031C7.49885 8.60213 7.58227 8.71746 7.62483 8.84972C7.66739 8.98197 7.66689 9.12431 7.6234 9.25626C7.57991 9.38821 7.49567 9.50296 7.38281 9.58398ZM9.46094 6.34375H4.53906V3.28125C4.53906 2.85879 4.88223 2.51562 5.30469 2.51562H8.69531C9.11777 2.51562 9.46094 2.85879 9.46094 3.28125V6.34375Z",fill:e.colorPrimary})})},Th=()=>{const{token:e}=V.theme.useToken();return x.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M11.375 6.34375H4.53906V3.28125C4.53906 2.85879 4.88223 2.51562 5.30469 2.51562H8.69531C9.11777 2.51562 9.46094 2.85879 9.46094 3.28125V4.21094C9.46094 4.27109 9.51016 4.32031 9.57031 4.32031H10.3359C10.3961 4.32031 10.4453 4.27109 10.4453 4.21094V3.28125C10.4453 2.31465 9.66191 1.53125 8.69531 1.53125H5.30469C4.33809 1.53125 3.55469 2.31465 3.55469 3.28125V6.34375H2.625C2.38301 6.34375 2.1875 6.53926 2.1875 6.78125V12.0312C2.1875 12.2732 2.38301 12.4688 2.625 12.4688H11.375C11.617 12.4688 11.8125 12.2732 11.8125 12.0312V6.78125C11.8125 6.53926 11.617 6.34375 11.375 6.34375ZM7.38281 9.58398V10.3086C7.38281 10.3687 7.33359 10.418 7.27344 10.418H6.72656C6.66641 10.418 6.61719 10.3687 6.61719 10.3086V9.58398C6.50433 9.50296 6.42009 9.38821 6.3766 9.25626C6.33311 9.12431 6.33261 8.98197 6.37517 8.84972C6.41773 8.71746 6.50115 8.60213 6.61344 8.52031C6.72572 8.43848 6.86107 8.3944 7 8.3944C7.13893 8.3944 7.27428 8.43848 7.38656 8.52031C7.49885 8.60213 7.58227 8.71746 7.62483 8.84972C7.66739 8.98197 7.66689 9.12431 7.6234 9.25626C7.57991 9.38821 7.49567 9.50296 7.38281 9.58398Z",fill:e.colorText})})},Ym={ContentContainer:He.div`
102
+ border: 1px solid ${({$borderColor:e})=>e};
103
+ border-radius: 6px;
104
+ background-color: ${({$bgColor:e})=>e};
105
+ width: 100%;
106
+ height: 100%;
107
+ padding: 24px;
108
+ flex-grow: ${({$flexGrow:e})=>e};
109
+ display: ${({$displayFlex:e})=>e?"flex":"block"};
110
+ flex-flow: ${({$flexFlow:e})=>e};
111
+ `},Ih=({children:e,flexGrow:t,displayFlex:n,flexFlow:i})=>{const{token:o}=V.theme.useToken();return x.jsx(Ym.ContentContainer,{$flexGrow:t,$bgColor:o.colorBgContainer,$borderColor:o.colorBorder,$displayFlex:n,$flexFlow:i,children:e})},Oh=async({uri:e})=>$e.get(e),nn=({uri:e,queryKey:t,refetchInterval:n,isEnabled:i})=>vn.useQuery({queryKey:t,queryFn:async()=>{const o=await Oh({uri:e}),a=JSON.parse(JSON.stringify(o.data));return a.metadata?.resourceVersion&&delete a.metadata.resourceVersion,a},refetchInterval:n!==void 0?n:5e3,enabled:i}),At=({template:e,replaceValues:t})=>e.replaceAll(/{(.*?)}/g,(n,i)=>t[i]||""),Xm=({rawLinks:e,replaceValues:t})=>e.map(({key:n,label:i,link:o})=>({key:n,title:o?x.jsx(vr.Link,{to:At({template:o,replaceValues:t}),children:At({template:i,replaceValues:t})}):At({template:i,replaceValues:t})})),Fh=({data:e,replaceValues:t,idToCompare:n})=>{const i=e.find(a=>a.id===n);return i?{breadcrumbItems:Xm({rawLinks:i.breadcrumbItems,replaceValues:t})}:void 0},Qu={HeightDiv:He.div`
461
112
  min-height: 22px;
462
113
  width: 100%;
463
- `},G3=({data:n,replaceValues:i,pathname:a})=>{const u=n?.items.map(({spec:p})=>p);if(!u)return null;const s=Kk({data:u,replaceValues:i,pathname:a});return s?pg.jsx(wM.HeightDiv,{children:pg.jsx(by,{separator:">",items:s.breadcrumbItems})}):pg.jsx(wM.HeightDiv,{})};xc.ManageableBreadcrumbs=G3,xc.prepareDataForManageableBreadcrumbs=Kk,Object.defineProperty(xc,Symbol.toStringTag,{value:"Module"})});
114
+ `},Bh=({data:e})=>x.jsx(Qu.HeightDiv,{children:x.jsx(V.Breadcrumb,{separator:">",items:e.breadcrumbItems})}),Qm=({uri:e,refetchInterval:t,isEnabled:n,replaceValues:i,pathname:o,idToCompare:a})=>{const{data:u,isError:l,isLoading:f}=nn({uri:e,refetchInterval:t,queryKey:["breadcrumb",e],isEnabled:n});if(l)return null;if(f)return x.jsx(Qu.HeightDiv,{children:x.jsx(V.Spin,{})});if(!u)return null;const h=u?.items.map(({spec:g})=>g);if(!h)return null;const d=Fh({data:h,replaceValues:i,idToCompare:a});return d?x.jsx(Bh,{data:d}):x.jsx(Qu.HeightDiv,{})},Dh=({rawLinks:e,replaceValues:t})=>e.map(({key:n,label:i,link:o,children:a})=>{const u=o?At({template:o,replaceValues:t}):void 0;return{key:n,label:u?x.jsx(vr.Link,{to:u,children:i}):i,internalMetaLink:u,children:a?Dh({rawLinks:a,replaceValues:t}):void 0}}),Zm=({items:e,pathname:t,tags:n})=>{const i=(o,a)=>o.flatMap(u=>{const l=[...a,u.key?u.key:String(u.key)],f=u.internalMetaLink?.startsWith("/")?u.internalMetaLink.slice(1):u.internalMetaLink,h=t.startsWith("/")?t.slice(1):t,d=f===h||f&&l&&f.includes(h)?l:[],g=n&&n.keysAndTags&&u.key?n.keysAndTags[typeof u.key=="string"?u.key:String(u.key)]:void 0,v=n&&n.currentTags&&g&&g.some(S=>n.currentTags?.includes(S))?l:[];let C=[];return"children"in u&&u.children&&(C=i(u.children,l)),[...d,...v,...C]});return i(e,[])},Ph=({data:e,replaceValues:t,pathname:n,idToCompare:i,currentTags:o})=>{const a=e.find(h=>h.id===i);if(!a)return;const u={menuItems:Dh({rawLinks:a.menuItems,replaceValues:t})},f=(u?.menuItems?Zm({items:u?.menuItems,pathname:n,tags:{keysAndTags:a.keysAndTags,currentTags:o}}):[]).map(h=>typeof h=="string"?h:String(h));return{...u,selectedKeys:f}},e2={CustomMenu:He(V.Menu)`
115
+ margin-top: ${({$noMarginTop:e})=>e?"0":"16px"};
116
+ font-size: 14px;
117
+ line-height: 24px;
118
+ border: 0;
119
+ /* stylelint-disable declaration-no-important */
120
+ border-inline-end: 0 !important;
121
+ /* stylelint-enable declaration-no-important */
122
+
123
+ .ant-menu-submenu-expand-icon {
124
+ width: 16px;
125
+ }
126
+
127
+ && .ant-menu-item-only-child {
128
+ /* stylelint-disable declaration-no-important */
129
+
130
+ /* padding-left: 24px !important; */
131
+ }
132
+
133
+ && .ant-menu-sub .ant-menu-item {
134
+ margin: 0 !important;
135
+ }
136
+ `},Rh=({data:e,noMarginTop:t})=>{const[n,i]=Q.useState([]),[o,a]=Q.useState(()=>{try{const l=localStorage.getItem("menuOpenKeys");return l?JSON.parse(l):[]}catch(l){return console.error("Failed to parse stored menu keys",l),[]}}),u=l=>{a(l);try{localStorage.setItem("menuOpenKeys",JSON.stringify(l))}catch(f){console.error("Failed to save menu keys to localStorage",f)}};return Q.useEffect(()=>{i(e.selectedKeys)},[e.selectedKeys]),x.jsx(e2.CustomMenu,{selectedKeys:n,onSelect:()=>{},onDeselect:()=>{},defaultOpenKeys:e.selectedKeys,openKeys:o,onOpenChange:u,mode:"inline",items:e.menuItems,$noMarginTop:t})},Lh=({uri:e,refetchInterval:t,isEnabled:n,replaceValues:i,pathname:o,idToCompare:a,currentTags:u,hidden:l,noMarginTop:f})=>{const{data:h,isError:d,isLoading:g}=nn({uri:e,refetchInterval:t,queryKey:["sidebar",e],isEnabled:n});if(d)return null;if(g)return x.jsx(V.Spin,{});if(!h||l)return null;const v=h?.items.map(({spec:S})=>S);if(!v)return null;const C=Ph({data:v,replaceValues:i,pathname:o,idToCompare:a,currentTags:u});return C?x.jsx(Rh,{data:C,noMarginTop:f}):null};var Xo={exports:{}};/**
137
+ * @license
138
+ * Lodash <https://lodash.com/>
139
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
140
+ * Released under MIT license <https://lodash.com/license>
141
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
142
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
143
+ */Xo.exports,function(e,t){(function(){var n,i="4.17.21",o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",l="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",g=1,v=2,C=4,S=1,E=2,w=1,T=2,j=4,R=8,_=16,O=32,F=64,B=128,W=256,J=512,fe=30,le="...",de=800,be=16,Se=1,pe=2,De=3,Re=1/0,Te=9007199254740991,Xe=17976931348623157e292,ve=NaN,ge=4294967295,Ke=ge-1,Y=ge>>>1,X=[["ary",B],["bind",w],["bindKey",T],["curry",R],["curryRight",_],["flip",J],["partial",O],["partialRight",F],["rearg",W]],re="[object Arguments]",_e="[object Array]",ze="[object AsyncFunction]",xe="[object Boolean]",Fe="[object Date]",Be="[object DOMException]",Le="[object Error]",_t="[object Function]",rn="[object GeneratorFunction]",Pt="[object Map]",Rt="[object Number]",Lt="[object Null]",wt="[object Object]",kn="[object Promise]",Ae="[object Proxy]",Ue="[object RegExp]",Qe="[object Set]",we="[object String]",pt="[object Symbol]",Wt="[object Undefined]",Et="[object WeakMap]",ht="[object WeakSet]",Ce="[object ArrayBuffer]",Oe="[object DataView]",Kt="[object Float32Array]",I="[object Float64Array]",y="[object Int8Array]",b="[object Int16Array]",L="[object Int32Array]",q="[object Uint8Array]",G="[object Uint8ClampedArray]",ee="[object Uint16Array]",Me="[object Uint32Array]",gt=/\b__p \+= '';/g,ut=/\b(__p \+=) '' \+/g,dt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,st=/&(?:amp|lt|gt|quot|#39);/g,Gr=/[&<>"']/g,xi=RegExp(st.source),as=RegExp(Gr.source),us=/<%-([\s\S]+?)%>/g,cs=/<%([\s\S]+?)%>/g,Jr=/<%=([\s\S]+?)%>/g,Ei=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,no=/^\w*$/,ro=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ir=/[\\^$.*+?()[\]{}|]/g,rr=RegExp(Ir.source),Yr=/^\s+/,io=/\s/,so=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,gn=/\{\n\/\* \[wrapped with (.+)\] \*/,M=/,? & /,ce=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ye=/[()=,{}\[\]\/\s]/,Ie=/\\(\\)?/g,ct=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,lt=/\w*$/,rt=/^[-+]0x[0-9a-f]+$/i,Ze=/^0b[01]+$/i,Qt=/^\[object .+?Constructor\]$/,Ot=/^0o[0-7]+$/i,Bt=/^(?:0|[1-9]\d*)$/,ln=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Tn=/($^)/,ir=/['\n\r\u2028\u2029\\]/g,Ht="\\ud800-\\udfff",Si="\\u0300-\\u036f",oo="\\ufe20-\\ufe2f",ao="\\u20d0-\\u20ff",Sa=Si+oo+ao,Aa="\\u2700-\\u27bf",Ca="a-z\\xdf-\\xf6\\xf8-\\xff",Vc="\\xac\\xb1\\xd7\\xf7",qc="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Wc="\\u2000-\\u206f",Kc=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",In="A-Z\\xc0-\\xd6\\xd8-\\xde",ls="\\ufe0e\\ufe0f",uo=Vc+qc+Wc+Kc,fs="['’]",Hc="["+Ht+"]",Xr="["+uo+"]",hs="["+Sa+"]",_a="\\d+",ka="["+Aa+"]",Ta="["+Ca+"]",Ia="[^"+Ht+uo+_a+Aa+Ca+In+"]",p="\\ud83c[\\udffb-\\udfff]",A="(?:"+hs+"|"+p+")",N="[^"+Ht+"]",K="(?:\\ud83c[\\udde6-\\uddff]){2}",ne="[\\ud800-\\udbff][\\udc00-\\udfff]",he="["+In+"]",Ge="\\u200d",mt="(?:"+Ta+"|"+Ia+")",Zt="(?:"+he+"|"+Ia+")",zt="(?:"+fs+"(?:d|ll|m|re|s|t|ve))?",Zp="(?:"+fs+"(?:D|LL|M|RE|S|T|VE))?",e0=A+"?",t0="["+ls+"]?",Nx="(?:"+Ge+"(?:"+[N,K,ne].join("|")+")"+t0+e0+")*",$x="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mx="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",n0=t0+e0+Nx,Ux="(?:"+[ka,K,ne].join("|")+")"+n0,Vx="(?:"+[N+hs+"?",hs,K,ne,Hc].join("|")+")",qx=RegExp(fs,"g"),Wx=RegExp(hs,"g"),zc=RegExp(p+"(?="+p+")|"+Vx+n0,"g"),Kx=RegExp([he+"?"+Ta+"+"+zt+"(?="+[Xr,he,"$"].join("|")+")",Zt+"+"+Zp+"(?="+[Xr,he+mt,"$"].join("|")+")",he+"?"+mt+"+"+zt,he+"+"+Zp,Mx,$x,_a,Ux].join("|"),"g"),Hx=RegExp("["+Ge+Ht+Sa+ls+"]"),zx=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gx=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Jx=-1,Ft={};Ft[Kt]=Ft[I]=Ft[y]=Ft[b]=Ft[L]=Ft[q]=Ft[G]=Ft[ee]=Ft[Me]=!0,Ft[re]=Ft[_e]=Ft[Ce]=Ft[xe]=Ft[Oe]=Ft[Fe]=Ft[Le]=Ft[_t]=Ft[Pt]=Ft[Rt]=Ft[wt]=Ft[Ue]=Ft[Qe]=Ft[we]=Ft[Et]=!1;var kt={};kt[re]=kt[_e]=kt[Ce]=kt[Oe]=kt[xe]=kt[Fe]=kt[Kt]=kt[I]=kt[y]=kt[b]=kt[L]=kt[Pt]=kt[Rt]=kt[wt]=kt[Ue]=kt[Qe]=kt[we]=kt[pt]=kt[q]=kt[G]=kt[ee]=kt[Me]=!0,kt[Le]=kt[_t]=kt[Et]=!1;var Yx={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Xx={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Qx={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Zx={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},eE=parseFloat,tE=parseInt,r0=typeof Xn=="object"&&Xn&&Xn.Object===Object&&Xn,nE=typeof self=="object"&&self&&self.Object===Object&&self,un=r0||nE||Function("return this")(),Gc=t&&!t.nodeType&&t,Ai=Gc&&!0&&e&&!e.nodeType&&e,i0=Ai&&Ai.exports===Gc,Jc=i0&&r0.process,qn=function(){try{var H=Ai&&Ai.require&&Ai.require("util").types;return H||Jc&&Jc.binding&&Jc.binding("util")}catch{}}(),s0=qn&&qn.isArrayBuffer,o0=qn&&qn.isDate,a0=qn&&qn.isMap,u0=qn&&qn.isRegExp,c0=qn&&qn.isSet,l0=qn&&qn.isTypedArray;function On(H,te,Z){switch(Z.length){case 0:return H.call(te);case 1:return H.call(te,Z[0]);case 2:return H.call(te,Z[0],Z[1]);case 3:return H.call(te,Z[0],Z[1],Z[2])}return H.apply(te,Z)}function rE(H,te,Z,Ee){for(var Ve=-1,bt=H==null?0:H.length;++Ve<bt;){var en=H[Ve];te(Ee,en,Z(en),H)}return Ee}function Wn(H,te){for(var Z=-1,Ee=H==null?0:H.length;++Z<Ee&&te(H[Z],Z,H)!==!1;);return H}function iE(H,te){for(var Z=H==null?0:H.length;Z--&&te(H[Z],Z,H)!==!1;);return H}function f0(H,te){for(var Z=-1,Ee=H==null?0:H.length;++Z<Ee;)if(!te(H[Z],Z,H))return!1;return!0}function Qr(H,te){for(var Z=-1,Ee=H==null?0:H.length,Ve=0,bt=[];++Z<Ee;){var en=H[Z];te(en,Z,H)&&(bt[Ve++]=en)}return bt}function Oa(H,te){var Z=H==null?0:H.length;return!!Z&&ds(H,te,0)>-1}function Yc(H,te,Z){for(var Ee=-1,Ve=H==null?0:H.length;++Ee<Ve;)if(Z(te,H[Ee]))return!0;return!1}function Dt(H,te){for(var Z=-1,Ee=H==null?0:H.length,Ve=Array(Ee);++Z<Ee;)Ve[Z]=te(H[Z],Z,H);return Ve}function Zr(H,te){for(var Z=-1,Ee=te.length,Ve=H.length;++Z<Ee;)H[Ve+Z]=te[Z];return H}function Xc(H,te,Z,Ee){var Ve=-1,bt=H==null?0:H.length;for(Ee&&bt&&(Z=H[++Ve]);++Ve<bt;)Z=te(Z,H[Ve],Ve,H);return Z}function sE(H,te,Z,Ee){var Ve=H==null?0:H.length;for(Ee&&Ve&&(Z=H[--Ve]);Ve--;)Z=te(Z,H[Ve],Ve,H);return Z}function Qc(H,te){for(var Z=-1,Ee=H==null?0:H.length;++Z<Ee;)if(te(H[Z],Z,H))return!0;return!1}var oE=Zc("length");function aE(H){return H.split("")}function uE(H){return H.match(ce)||[]}function h0(H,te,Z){var Ee;return Z(H,function(Ve,bt,en){if(te(Ve,bt,en))return Ee=bt,!1}),Ee}function Fa(H,te,Z,Ee){for(var Ve=H.length,bt=Z+(Ee?1:-1);Ee?bt--:++bt<Ve;)if(te(H[bt],bt,H))return bt;return-1}function ds(H,te,Z){return te===te?vE(H,te,Z):Fa(H,d0,Z)}function cE(H,te,Z,Ee){for(var Ve=Z-1,bt=H.length;++Ve<bt;)if(Ee(H[Ve],te))return Ve;return-1}function d0(H){return H!==H}function p0(H,te){var Z=H==null?0:H.length;return Z?tl(H,te)/Z:ve}function Zc(H){return function(te){return te==null?n:te[H]}}function el(H){return function(te){return H==null?n:H[te]}}function g0(H,te,Z,Ee,Ve){return Ve(H,function(bt,en,St){Z=Ee?(Ee=!1,bt):te(Z,bt,en,St)}),Z}function lE(H,te){var Z=H.length;for(H.sort(te);Z--;)H[Z]=H[Z].value;return H}function tl(H,te){for(var Z,Ee=-1,Ve=H.length;++Ee<Ve;){var bt=te(H[Ee]);bt!==n&&(Z=Z===n?bt:Z+bt)}return Z}function nl(H,te){for(var Z=-1,Ee=Array(H);++Z<H;)Ee[Z]=te(Z);return Ee}function fE(H,te){return Dt(te,function(Z){return[Z,H[Z]]})}function y0(H){return H&&H.slice(0,v0(H)+1).replace(Yr,"")}function Fn(H){return function(te){return H(te)}}function rl(H,te){return Dt(te,function(Z){return H[Z]})}function co(H,te){return H.has(te)}function m0(H,te){for(var Z=-1,Ee=H.length;++Z<Ee&&ds(te,H[Z],0)>-1;);return Z}function b0(H,te){for(var Z=H.length;Z--&&ds(te,H[Z],0)>-1;);return Z}function hE(H,te){for(var Z=H.length,Ee=0;Z--;)H[Z]===te&&++Ee;return Ee}var dE=el(Yx),pE=el(Xx);function gE(H){return"\\"+Zx[H]}function yE(H,te){return H==null?n:H[te]}function ps(H){return Hx.test(H)}function mE(H){return zx.test(H)}function bE(H){for(var te,Z=[];!(te=H.next()).done;)Z.push(te.value);return Z}function il(H){var te=-1,Z=Array(H.size);return H.forEach(function(Ee,Ve){Z[++te]=[Ve,Ee]}),Z}function w0(H,te){return function(Z){return H(te(Z))}}function ei(H,te){for(var Z=-1,Ee=H.length,Ve=0,bt=[];++Z<Ee;){var en=H[Z];(en===te||en===d)&&(H[Z]=d,bt[Ve++]=Z)}return bt}function Ba(H){var te=-1,Z=Array(H.size);return H.forEach(function(Ee){Z[++te]=Ee}),Z}function wE(H){var te=-1,Z=Array(H.size);return H.forEach(function(Ee){Z[++te]=[Ee,Ee]}),Z}function vE(H,te,Z){for(var Ee=Z-1,Ve=H.length;++Ee<Ve;)if(H[Ee]===te)return Ee;return-1}function xE(H,te,Z){for(var Ee=Z+1;Ee--;)if(H[Ee]===te)return Ee;return Ee}function gs(H){return ps(H)?SE(H):oE(H)}function sr(H){return ps(H)?AE(H):aE(H)}function v0(H){for(var te=H.length;te--&&io.test(H.charAt(te)););return te}var EE=el(Qx);function SE(H){for(var te=zc.lastIndex=0;zc.test(H);)++te;return te}function AE(H){return H.match(zc)||[]}function CE(H){return H.match(Kx)||[]}var _E=function H(te){te=te==null?un:ys.defaults(un.Object(),te,ys.pick(un,Gx));var Z=te.Array,Ee=te.Date,Ve=te.Error,bt=te.Function,en=te.Math,St=te.Object,sl=te.RegExp,kE=te.String,Kn=te.TypeError,Da=Z.prototype,TE=bt.prototype,ms=St.prototype,Pa=te["__core-js_shared__"],Ra=TE.toString,xt=ms.hasOwnProperty,IE=0,x0=function(){var r=/[^.]+$/.exec(Pa&&Pa.keys&&Pa.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),La=ms.toString,OE=Ra.call(St),FE=un._,BE=sl("^"+Ra.call(xt).replace(Ir,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ja=i0?te.Buffer:n,ti=te.Symbol,Na=te.Uint8Array,E0=ja?ja.allocUnsafe:n,$a=w0(St.getPrototypeOf,St),S0=St.create,A0=ms.propertyIsEnumerable,Ma=Da.splice,C0=ti?ti.isConcatSpreadable:n,lo=ti?ti.iterator:n,Ci=ti?ti.toStringTag:n,Ua=function(){try{var r=Oi(St,"defineProperty");return r({},"",{}),r}catch{}}(),DE=te.clearTimeout!==un.clearTimeout&&te.clearTimeout,PE=Ee&&Ee.now!==un.Date.now&&Ee.now,RE=te.setTimeout!==un.setTimeout&&te.setTimeout,Va=en.ceil,qa=en.floor,ol=St.getOwnPropertySymbols,LE=ja?ja.isBuffer:n,_0=te.isFinite,jE=Da.join,NE=w0(St.keys,St),tn=en.max,fn=en.min,$E=Ee.now,ME=te.parseInt,k0=en.random,UE=Da.reverse,al=Oi(te,"DataView"),fo=Oi(te,"Map"),ul=Oi(te,"Promise"),bs=Oi(te,"Set"),ho=Oi(te,"WeakMap"),po=Oi(St,"create"),Wa=ho&&new ho,ws={},VE=Fi(al),qE=Fi(fo),WE=Fi(ul),KE=Fi(bs),HE=Fi(ho),Ka=ti?ti.prototype:n,go=Ka?Ka.valueOf:n,T0=Ka?Ka.toString:n;function D(r){if(Nt(r)&&!We(r)&&!(r instanceof ot)){if(r instanceof Hn)return r;if(xt.call(r,"__wrapped__"))return Ig(r)}return new Hn(r)}var vs=function(){function r(){}return function(s){if(!jt(s))return{};if(S0)return S0(s);r.prototype=s;var c=new r;return r.prototype=n,c}}();function Ha(){}function Hn(r,s){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}D.templateSettings={escape:us,evaluate:cs,interpolate:Jr,variable:"",imports:{_:D}},D.prototype=Ha.prototype,D.prototype.constructor=D,Hn.prototype=vs(Ha.prototype),Hn.prototype.constructor=Hn;function ot(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ge,this.__views__=[]}function zE(){var r=new ot(this.__wrapped__);return r.__actions__=En(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=En(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=En(this.__views__),r}function GE(){if(this.__filtered__){var r=new ot(this);r.__dir__=-1,r.__filtered__=!0}else r=this.clone(),r.__dir__*=-1;return r}function JE(){var r=this.__wrapped__.value(),s=this.__dir__,c=We(r),m=s<0,k=c?r.length:0,P=aA(0,k,this.__views__),$=P.start,U=P.end,z=U-$,se=m?U:$-1,oe=this.__iteratees__,ae=oe.length,me=0,ke=fn(z,this.__takeCount__);if(!c||!m&&k==z&&ke==z)return Q0(r,this.__actions__);var je=[];e:for(;z--&&me<ke;){se+=s;for(var et=-1,Ne=r[se];++et<ae;){var it=oe[et],at=it.iteratee,Pn=it.type,bn=at(Ne);if(Pn==pe)Ne=bn;else if(!bn){if(Pn==Se)continue e;break e}}je[me++]=Ne}return je}ot.prototype=vs(Ha.prototype),ot.prototype.constructor=ot;function _i(r){var s=-1,c=r==null?0:r.length;for(this.clear();++s<c;){var m=r[s];this.set(m[0],m[1])}}function YE(){this.__data__=po?po(null):{},this.size=0}function XE(r){var s=this.has(r)&&delete this.__data__[r];return this.size-=s?1:0,s}function QE(r){var s=this.__data__;if(po){var c=s[r];return c===f?n:c}return xt.call(s,r)?s[r]:n}function ZE(r){var s=this.__data__;return po?s[r]!==n:xt.call(s,r)}function eS(r,s){var c=this.__data__;return this.size+=this.has(r)?0:1,c[r]=po&&s===n?f:s,this}_i.prototype.clear=YE,_i.prototype.delete=XE,_i.prototype.get=QE,_i.prototype.has=ZE,_i.prototype.set=eS;function Or(r){var s=-1,c=r==null?0:r.length;for(this.clear();++s<c;){var m=r[s];this.set(m[0],m[1])}}function tS(){this.__data__=[],this.size=0}function nS(r){var s=this.__data__,c=za(s,r);if(c<0)return!1;var m=s.length-1;return c==m?s.pop():Ma.call(s,c,1),--this.size,!0}function rS(r){var s=this.__data__,c=za(s,r);return c<0?n:s[c][1]}function iS(r){return za(this.__data__,r)>-1}function sS(r,s){var c=this.__data__,m=za(c,r);return m<0?(++this.size,c.push([r,s])):c[m][1]=s,this}Or.prototype.clear=tS,Or.prototype.delete=nS,Or.prototype.get=rS,Or.prototype.has=iS,Or.prototype.set=sS;function Fr(r){var s=-1,c=r==null?0:r.length;for(this.clear();++s<c;){var m=r[s];this.set(m[0],m[1])}}function oS(){this.size=0,this.__data__={hash:new _i,map:new(fo||Or),string:new _i}}function aS(r){var s=su(this,r).delete(r);return this.size-=s?1:0,s}function uS(r){return su(this,r).get(r)}function cS(r){return su(this,r).has(r)}function lS(r,s){var c=su(this,r),m=c.size;return c.set(r,s),this.size+=c.size==m?0:1,this}Fr.prototype.clear=oS,Fr.prototype.delete=aS,Fr.prototype.get=uS,Fr.prototype.has=cS,Fr.prototype.set=lS;function ki(r){var s=-1,c=r==null?0:r.length;for(this.__data__=new Fr;++s<c;)this.add(r[s])}function fS(r){return this.__data__.set(r,f),this}function hS(r){return this.__data__.has(r)}ki.prototype.add=ki.prototype.push=fS,ki.prototype.has=hS;function or(r){var s=this.__data__=new Or(r);this.size=s.size}function dS(){this.__data__=new Or,this.size=0}function pS(r){var s=this.__data__,c=s.delete(r);return this.size=s.size,c}function gS(r){return this.__data__.get(r)}function yS(r){return this.__data__.has(r)}function mS(r,s){var c=this.__data__;if(c instanceof Or){var m=c.__data__;if(!fo||m.length<o-1)return m.push([r,s]),this.size=++c.size,this;c=this.__data__=new Fr(m)}return c.set(r,s),this.size=c.size,this}or.prototype.clear=dS,or.prototype.delete=pS,or.prototype.get=gS,or.prototype.has=yS,or.prototype.set=mS;function I0(r,s){var c=We(r),m=!c&&Bi(r),k=!c&&!m&&oi(r),P=!c&&!m&&!k&&As(r),$=c||m||k||P,U=$?nl(r.length,kE):[],z=U.length;for(var se in r)(s||xt.call(r,se))&&!($&&(se=="length"||k&&(se=="offset"||se=="parent")||P&&(se=="buffer"||se=="byteLength"||se=="byteOffset")||Rr(se,z)))&&U.push(se);return U}function O0(r){var s=r.length;return s?r[wl(0,s-1)]:n}function bS(r,s){return ou(En(r),Ti(s,0,r.length))}function wS(r){return ou(En(r))}function cl(r,s,c){(c!==n&&!ar(r[s],c)||c===n&&!(s in r))&&Br(r,s,c)}function yo(r,s,c){var m=r[s];(!(xt.call(r,s)&&ar(m,c))||c===n&&!(s in r))&&Br(r,s,c)}function za(r,s){for(var c=r.length;c--;)if(ar(r[c][0],s))return c;return-1}function vS(r,s,c,m){return ni(r,function(k,P,$){s(m,k,c(k),$)}),m}function F0(r,s){return r&&br(s,sn(s),r)}function xS(r,s){return r&&br(s,An(s),r)}function Br(r,s,c){s=="__proto__"&&Ua?Ua(r,s,{configurable:!0,enumerable:!0,value:c,writable:!0}):r[s]=c}function ll(r,s){for(var c=-1,m=s.length,k=Z(m),P=r==null;++c<m;)k[c]=P?n:Wl(r,s[c]);return k}function Ti(r,s,c){return r===r&&(c!==n&&(r=r<=c?r:c),s!==n&&(r=r>=s?r:s)),r}function zn(r,s,c,m,k,P){var $,U=s&g,z=s&v,se=s&C;if(c&&($=k?c(r,m,k,P):c(r)),$!==n)return $;if(!jt(r))return r;var oe=We(r);if(oe){if($=cA(r),!U)return En(r,$)}else{var ae=hn(r),me=ae==_t||ae==rn;if(oi(r))return tg(r,U);if(ae==wt||ae==re||me&&!k){if($=z||me?{}:vg(r),!U)return z?QS(r,xS($,r)):XS(r,F0($,r))}else{if(!kt[ae])return k?r:{};$=lA(r,ae,U)}}P||(P=new or);var ke=P.get(r);if(ke)return ke;P.set(r,$),Jg(r)?r.forEach(function(Ne){$.add(zn(Ne,s,c,Ne,r,P))}):zg(r)&&r.forEach(function(Ne,it){$.set(it,zn(Ne,s,c,it,r,P))});var je=se?z?Ol:Il:z?An:sn,et=oe?n:je(r);return Wn(et||r,function(Ne,it){et&&(it=Ne,Ne=r[it]),yo($,it,zn(Ne,s,c,it,r,P))}),$}function ES(r){var s=sn(r);return function(c){return B0(c,r,s)}}function B0(r,s,c){var m=c.length;if(r==null)return!m;for(r=St(r);m--;){var k=c[m],P=s[k],$=r[k];if($===n&&!(k in r)||!P($))return!1}return!0}function D0(r,s,c){if(typeof r!="function")throw new Kn(u);return So(function(){r.apply(n,c)},s)}function mo(r,s,c,m){var k=-1,P=Oa,$=!0,U=r.length,z=[],se=s.length;if(!U)return z;c&&(s=Dt(s,Fn(c))),m?(P=Yc,$=!1):s.length>=o&&(P=co,$=!1,s=new ki(s));e:for(;++k<U;){var oe=r[k],ae=c==null?oe:c(oe);if(oe=m||oe!==0?oe:0,$&&ae===ae){for(var me=se;me--;)if(s[me]===ae)continue e;z.push(oe)}else P(s,ae,m)||z.push(oe)}return z}var ni=og(mr),P0=og(hl,!0);function SS(r,s){var c=!0;return ni(r,function(m,k,P){return c=!!s(m,k,P),c}),c}function Ga(r,s,c){for(var m=-1,k=r.length;++m<k;){var P=r[m],$=s(P);if($!=null&&(U===n?$===$&&!Dn($):c($,U)))var U=$,z=P}return z}function AS(r,s,c,m){var k=r.length;for(c=Je(c),c<0&&(c=-c>k?0:k+c),m=m===n||m>k?k:Je(m),m<0&&(m+=k),m=c>m?0:Xg(m);c<m;)r[c++]=s;return r}function R0(r,s){var c=[];return ni(r,function(m,k,P){s(m,k,P)&&c.push(m)}),c}function cn(r,s,c,m,k){var P=-1,$=r.length;for(c||(c=hA),k||(k=[]);++P<$;){var U=r[P];s>0&&c(U)?s>1?cn(U,s-1,c,m,k):Zr(k,U):m||(k[k.length]=U)}return k}var fl=ag(),L0=ag(!0);function mr(r,s){return r&&fl(r,s,sn)}function hl(r,s){return r&&L0(r,s,sn)}function Ja(r,s){return Qr(s,function(c){return Lr(r[c])})}function Ii(r,s){s=ii(s,r);for(var c=0,m=s.length;r!=null&&c<m;)r=r[wr(s[c++])];return c&&c==m?r:n}function j0(r,s,c){var m=s(r);return We(r)?m:Zr(m,c(r))}function yn(r){return r==null?r===n?Wt:Lt:Ci&&Ci in St(r)?oA(r):wA(r)}function dl(r,s){return r>s}function CS(r,s){return r!=null&&xt.call(r,s)}function _S(r,s){return r!=null&&s in St(r)}function kS(r,s,c){return r>=fn(s,c)&&r<tn(s,c)}function pl(r,s,c){for(var m=c?Yc:Oa,k=r[0].length,P=r.length,$=P,U=Z(P),z=1/0,se=[];$--;){var oe=r[$];$&&s&&(oe=Dt(oe,Fn(s))),z=fn(oe.length,z),U[$]=!c&&(s||k>=120&&oe.length>=120)?new ki($&&oe):n}oe=r[0];var ae=-1,me=U[0];e:for(;++ae<k&&se.length<z;){var ke=oe[ae],je=s?s(ke):ke;if(ke=c||ke!==0?ke:0,!(me?co(me,je):m(se,je,c))){for($=P;--$;){var et=U[$];if(!(et?co(et,je):m(r[$],je,c)))continue e}me&&me.push(je),se.push(ke)}}return se}function TS(r,s,c,m){return mr(r,function(k,P,$){s(m,c(k),P,$)}),m}function bo(r,s,c){s=ii(s,r),r=Ag(r,s);var m=r==null?r:r[wr(Jn(s))];return m==null?n:On(m,r,c)}function N0(r){return Nt(r)&&yn(r)==re}function IS(r){return Nt(r)&&yn(r)==Ce}function OS(r){return Nt(r)&&yn(r)==Fe}function wo(r,s,c,m,k){return r===s?!0:r==null||s==null||!Nt(r)&&!Nt(s)?r!==r&&s!==s:FS(r,s,c,m,wo,k)}function FS(r,s,c,m,k,P){var $=We(r),U=We(s),z=$?_e:hn(r),se=U?_e:hn(s);z=z==re?wt:z,se=se==re?wt:se;var oe=z==wt,ae=se==wt,me=z==se;if(me&&oi(r)){if(!oi(s))return!1;$=!0,oe=!1}if(me&&!oe)return P||(P=new or),$||As(r)?mg(r,s,c,m,k,P):iA(r,s,z,c,m,k,P);if(!(c&S)){var ke=oe&&xt.call(r,"__wrapped__"),je=ae&&xt.call(s,"__wrapped__");if(ke||je){var et=ke?r.value():r,Ne=je?s.value():s;return P||(P=new or),k(et,Ne,c,m,P)}}return me?(P||(P=new or),sA(r,s,c,m,k,P)):!1}function BS(r){return Nt(r)&&hn(r)==Pt}function gl(r,s,c,m){var k=c.length,P=k,$=!m;if(r==null)return!P;for(r=St(r);k--;){var U=c[k];if($&&U[2]?U[1]!==r[U[0]]:!(U[0]in r))return!1}for(;++k<P;){U=c[k];var z=U[0],se=r[z],oe=U[1];if($&&U[2]){if(se===n&&!(z in r))return!1}else{var ae=new or;if(m)var me=m(se,oe,z,r,s,ae);if(!(me===n?wo(oe,se,S|E,m,ae):me))return!1}}return!0}function $0(r){if(!jt(r)||pA(r))return!1;var s=Lr(r)?BE:Qt;return s.test(Fi(r))}function DS(r){return Nt(r)&&yn(r)==Ue}function PS(r){return Nt(r)&&hn(r)==Qe}function RS(r){return Nt(r)&&hu(r.length)&&!!Ft[yn(r)]}function M0(r){return typeof r=="function"?r:r==null?Cn:typeof r=="object"?We(r)?q0(r[0],r[1]):V0(r):u1(r)}function yl(r){if(!Eo(r))return NE(r);var s=[];for(var c in St(r))xt.call(r,c)&&c!="constructor"&&s.push(c);return s}function LS(r){if(!jt(r))return bA(r);var s=Eo(r),c=[];for(var m in r)m=="constructor"&&(s||!xt.call(r,m))||c.push(m);return c}function ml(r,s){return r<s}function U0(r,s){var c=-1,m=Sn(r)?Z(r.length):[];return ni(r,function(k,P,$){m[++c]=s(k,P,$)}),m}function V0(r){var s=Bl(r);return s.length==1&&s[0][2]?Eg(s[0][0],s[0][1]):function(c){return c===r||gl(c,r,s)}}function q0(r,s){return Pl(r)&&xg(s)?Eg(wr(r),s):function(c){var m=Wl(c,r);return m===n&&m===s?Kl(c,r):wo(s,m,S|E)}}function Ya(r,s,c,m,k){r!==s&&fl(s,function(P,$){if(k||(k=new or),jt(P))jS(r,s,$,c,Ya,m,k);else{var U=m?m(Ll(r,$),P,$+"",r,s,k):n;U===n&&(U=P),cl(r,$,U)}},An)}function jS(r,s,c,m,k,P,$){var U=Ll(r,c),z=Ll(s,c),se=$.get(z);if(se){cl(r,c,se);return}var oe=P?P(U,z,c+"",r,s,$):n,ae=oe===n;if(ae){var me=We(z),ke=!me&&oi(z),je=!me&&!ke&&As(z);oe=z,me||ke||je?We(U)?oe=U:Gt(U)?oe=En(U):ke?(ae=!1,oe=tg(z,!0)):je?(ae=!1,oe=ng(z,!0)):oe=[]:Ao(z)||Bi(z)?(oe=U,Bi(U)?oe=Qg(U):(!jt(U)||Lr(U))&&(oe=vg(z))):ae=!1}ae&&($.set(z,oe),k(oe,z,m,P,$),$.delete(z)),cl(r,c,oe)}function W0(r,s){var c=r.length;if(c)return s+=s<0?c:0,Rr(s,c)?r[s]:n}function K0(r,s,c){s.length?s=Dt(s,function(P){return We(P)?function($){return Ii($,P.length===1?P[0]:P)}:P}):s=[Cn];var m=-1;s=Dt(s,Fn(Pe()));var k=U0(r,function(P,$,U){var z=Dt(s,function(se){return se(P)});return{criteria:z,index:++m,value:P}});return lE(k,function(P,$){return YS(P,$,c)})}function NS(r,s){return H0(r,s,function(c,m){return Kl(r,m)})}function H0(r,s,c){for(var m=-1,k=s.length,P={};++m<k;){var $=s[m],U=Ii(r,$);c(U,$)&&vo(P,ii($,r),U)}return P}function $S(r){return function(s){return Ii(s,r)}}function bl(r,s,c,m){var k=m?cE:ds,P=-1,$=s.length,U=r;for(r===s&&(s=En(s)),c&&(U=Dt(r,Fn(c)));++P<$;)for(var z=0,se=s[P],oe=c?c(se):se;(z=k(U,oe,z,m))>-1;)U!==r&&Ma.call(U,z,1),Ma.call(r,z,1);return r}function z0(r,s){for(var c=r?s.length:0,m=c-1;c--;){var k=s[c];if(c==m||k!==P){var P=k;Rr(k)?Ma.call(r,k,1):El(r,k)}}return r}function wl(r,s){return r+qa(k0()*(s-r+1))}function MS(r,s,c,m){for(var k=-1,P=tn(Va((s-r)/(c||1)),0),$=Z(P);P--;)$[m?P:++k]=r,r+=c;return $}function vl(r,s){var c="";if(!r||s<1||s>Te)return c;do s%2&&(c+=r),s=qa(s/2),s&&(r+=r);while(s);return c}function tt(r,s){return jl(Sg(r,s,Cn),r+"")}function US(r){return O0(Cs(r))}function VS(r,s){var c=Cs(r);return ou(c,Ti(s,0,c.length))}function vo(r,s,c,m){if(!jt(r))return r;s=ii(s,r);for(var k=-1,P=s.length,$=P-1,U=r;U!=null&&++k<P;){var z=wr(s[k]),se=c;if(z==="__proto__"||z==="constructor"||z==="prototype")return r;if(k!=$){var oe=U[z];se=m?m(oe,z,U):n,se===n&&(se=jt(oe)?oe:Rr(s[k+1])?[]:{})}yo(U,z,se),U=U[z]}return r}var G0=Wa?function(r,s){return Wa.set(r,s),r}:Cn,qS=Ua?function(r,s){return Ua(r,"toString",{configurable:!0,enumerable:!1,value:zl(s),writable:!0})}:Cn;function WS(r){return ou(Cs(r))}function Gn(r,s,c){var m=-1,k=r.length;s<0&&(s=-s>k?0:k+s),c=c>k?k:c,c<0&&(c+=k),k=s>c?0:c-s>>>0,s>>>=0;for(var P=Z(k);++m<k;)P[m]=r[m+s];return P}function KS(r,s){var c;return ni(r,function(m,k,P){return c=s(m,k,P),!c}),!!c}function Xa(r,s,c){var m=0,k=r==null?m:r.length;if(typeof s=="number"&&s===s&&k<=Y){for(;m<k;){var P=m+k>>>1,$=r[P];$!==null&&!Dn($)&&(c?$<=s:$<s)?m=P+1:k=P}return k}return xl(r,s,Cn,c)}function xl(r,s,c,m){var k=0,P=r==null?0:r.length;if(P===0)return 0;s=c(s);for(var $=s!==s,U=s===null,z=Dn(s),se=s===n;k<P;){var oe=qa((k+P)/2),ae=c(r[oe]),me=ae!==n,ke=ae===null,je=ae===ae,et=Dn(ae);if($)var Ne=m||je;else se?Ne=je&&(m||me):U?Ne=je&&me&&(m||!ke):z?Ne=je&&me&&!ke&&(m||!et):ke||et?Ne=!1:Ne=m?ae<=s:ae<s;Ne?k=oe+1:P=oe}return fn(P,Ke)}function J0(r,s){for(var c=-1,m=r.length,k=0,P=[];++c<m;){var $=r[c],U=s?s($):$;if(!c||!ar(U,z)){var z=U;P[k++]=$===0?0:$}}return P}function Y0(r){return typeof r=="number"?r:Dn(r)?ve:+r}function Bn(r){if(typeof r=="string")return r;if(We(r))return Dt(r,Bn)+"";if(Dn(r))return T0?T0.call(r):"";var s=r+"";return s=="0"&&1/r==-1/0?"-0":s}function ri(r,s,c){var m=-1,k=Oa,P=r.length,$=!0,U=[],z=U;if(c)$=!1,k=Yc;else if(P>=o){var se=s?null:nA(r);if(se)return Ba(se);$=!1,k=co,z=new ki}else z=s?[]:U;e:for(;++m<P;){var oe=r[m],ae=s?s(oe):oe;if(oe=c||oe!==0?oe:0,$&&ae===ae){for(var me=z.length;me--;)if(z[me]===ae)continue e;s&&z.push(ae),U.push(oe)}else k(z,ae,c)||(z!==U&&z.push(ae),U.push(oe))}return U}function El(r,s){return s=ii(s,r),r=Ag(r,s),r==null||delete r[wr(Jn(s))]}function X0(r,s,c,m){return vo(r,s,c(Ii(r,s)),m)}function Qa(r,s,c,m){for(var k=r.length,P=m?k:-1;(m?P--:++P<k)&&s(r[P],P,r););return c?Gn(r,m?0:P,m?P+1:k):Gn(r,m?P+1:0,m?k:P)}function Q0(r,s){var c=r;return c instanceof ot&&(c=c.value()),Xc(s,function(m,k){return k.func.apply(k.thisArg,Zr([m],k.args))},c)}function Sl(r,s,c){var m=r.length;if(m<2)return m?ri(r[0]):[];for(var k=-1,P=Z(m);++k<m;)for(var $=r[k],U=-1;++U<m;)U!=k&&(P[k]=mo(P[k]||$,r[U],s,c));return ri(cn(P,1),s,c)}function Z0(r,s,c){for(var m=-1,k=r.length,P=s.length,$={};++m<k;){var U=m<P?s[m]:n;c($,r[m],U)}return $}function Al(r){return Gt(r)?r:[]}function Cl(r){return typeof r=="function"?r:Cn}function ii(r,s){return We(r)?r:Pl(r,s)?[r]:Tg(vt(r))}var HS=tt;function si(r,s,c){var m=r.length;return c=c===n?m:c,!s&&c>=m?r:Gn(r,s,c)}var eg=DE||function(r){return un.clearTimeout(r)};function tg(r,s){if(s)return r.slice();var c=r.length,m=E0?E0(c):new r.constructor(c);return r.copy(m),m}function _l(r){var s=new r.constructor(r.byteLength);return new Na(s).set(new Na(r)),s}function zS(r,s){var c=s?_l(r.buffer):r.buffer;return new r.constructor(c,r.byteOffset,r.byteLength)}function GS(r){var s=new r.constructor(r.source,lt.exec(r));return s.lastIndex=r.lastIndex,s}function JS(r){return go?St(go.call(r)):{}}function ng(r,s){var c=s?_l(r.buffer):r.buffer;return new r.constructor(c,r.byteOffset,r.length)}function rg(r,s){if(r!==s){var c=r!==n,m=r===null,k=r===r,P=Dn(r),$=s!==n,U=s===null,z=s===s,se=Dn(s);if(!U&&!se&&!P&&r>s||P&&$&&z&&!U&&!se||m&&$&&z||!c&&z||!k)return 1;if(!m&&!P&&!se&&r<s||se&&c&&k&&!m&&!P||U&&c&&k||!$&&k||!z)return-1}return 0}function YS(r,s,c){for(var m=-1,k=r.criteria,P=s.criteria,$=k.length,U=c.length;++m<$;){var z=rg(k[m],P[m]);if(z){if(m>=U)return z;var se=c[m];return z*(se=="desc"?-1:1)}}return r.index-s.index}function ig(r,s,c,m){for(var k=-1,P=r.length,$=c.length,U=-1,z=s.length,se=tn(P-$,0),oe=Z(z+se),ae=!m;++U<z;)oe[U]=s[U];for(;++k<$;)(ae||k<P)&&(oe[c[k]]=r[k]);for(;se--;)oe[U++]=r[k++];return oe}function sg(r,s,c,m){for(var k=-1,P=r.length,$=-1,U=c.length,z=-1,se=s.length,oe=tn(P-U,0),ae=Z(oe+se),me=!m;++k<oe;)ae[k]=r[k];for(var ke=k;++z<se;)ae[ke+z]=s[z];for(;++$<U;)(me||k<P)&&(ae[ke+c[$]]=r[k++]);return ae}function En(r,s){var c=-1,m=r.length;for(s||(s=Z(m));++c<m;)s[c]=r[c];return s}function br(r,s,c,m){var k=!c;c||(c={});for(var P=-1,$=s.length;++P<$;){var U=s[P],z=m?m(c[U],r[U],U,c,r):n;z===n&&(z=r[U]),k?Br(c,U,z):yo(c,U,z)}return c}function XS(r,s){return br(r,Dl(r),s)}function QS(r,s){return br(r,bg(r),s)}function Za(r,s){return function(c,m){var k=We(c)?rE:vS,P=s?s():{};return k(c,r,Pe(m,2),P)}}function xs(r){return tt(function(s,c){var m=-1,k=c.length,P=k>1?c[k-1]:n,$=k>2?c[2]:n;for(P=r.length>3&&typeof P=="function"?(k--,P):n,$&&mn(c[0],c[1],$)&&(P=k<3?n:P,k=1),s=St(s);++m<k;){var U=c[m];U&&r(s,U,m,P)}return s})}function og(r,s){return function(c,m){if(c==null)return c;if(!Sn(c))return r(c,m);for(var k=c.length,P=s?k:-1,$=St(c);(s?P--:++P<k)&&m($[P],P,$)!==!1;);return c}}function ag(r){return function(s,c,m){for(var k=-1,P=St(s),$=m(s),U=$.length;U--;){var z=$[r?U:++k];if(c(P[z],z,P)===!1)break}return s}}function ZS(r,s,c){var m=s&w,k=xo(r);function P(){var $=this&&this!==un&&this instanceof P?k:r;return $.apply(m?c:this,arguments)}return P}function ug(r){return function(s){s=vt(s);var c=ps(s)?sr(s):n,m=c?c[0]:s.charAt(0),k=c?si(c,1).join(""):s.slice(1);return m[r]()+k}}function Es(r){return function(s){return Xc(o1(s1(s).replace(qx,"")),r,"")}}function xo(r){return function(){var s=arguments;switch(s.length){case 0:return new r;case 1:return new r(s[0]);case 2:return new r(s[0],s[1]);case 3:return new r(s[0],s[1],s[2]);case 4:return new r(s[0],s[1],s[2],s[3]);case 5:return new r(s[0],s[1],s[2],s[3],s[4]);case 6:return new r(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new r(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var c=vs(r.prototype),m=r.apply(c,s);return jt(m)?m:c}}function eA(r,s,c){var m=xo(r);function k(){for(var P=arguments.length,$=Z(P),U=P,z=Ss(k);U--;)$[U]=arguments[U];var se=P<3&&$[0]!==z&&$[P-1]!==z?[]:ei($,z);if(P-=se.length,P<c)return dg(r,s,eu,k.placeholder,n,$,se,n,n,c-P);var oe=this&&this!==un&&this instanceof k?m:r;return On(oe,this,$)}return k}function cg(r){return function(s,c,m){var k=St(s);if(!Sn(s)){var P=Pe(c,3);s=sn(s),c=function(U){return P(k[U],U,k)}}var $=r(s,c,m);return $>-1?k[P?s[$]:$]:n}}function lg(r){return Pr(function(s){var c=s.length,m=c,k=Hn.prototype.thru;for(r&&s.reverse();m--;){var P=s[m];if(typeof P!="function")throw new Kn(u);if(k&&!$&&iu(P)=="wrapper")var $=new Hn([],!0)}for(m=$?m:c;++m<c;){P=s[m];var U=iu(P),z=U=="wrapper"?Fl(P):n;z&&Rl(z[0])&&z[1]==(B|R|O|W)&&!z[4].length&&z[9]==1?$=$[iu(z[0])].apply($,z[3]):$=P.length==1&&Rl(P)?$[U]():$.thru(P)}return function(){var se=arguments,oe=se[0];if($&&se.length==1&&We(oe))return $.plant(oe).value();for(var ae=0,me=c?s[ae].apply(this,se):oe;++ae<c;)me=s[ae].call(this,me);return me}})}function eu(r,s,c,m,k,P,$,U,z,se){var oe=s&B,ae=s&w,me=s&T,ke=s&(R|_),je=s&J,et=me?n:xo(r);function Ne(){for(var it=arguments.length,at=Z(it),Pn=it;Pn--;)at[Pn]=arguments[Pn];if(ke)var bn=Ss(Ne),Rn=hE(at,bn);if(m&&(at=ig(at,m,k,ke)),P&&(at=sg(at,P,$,ke)),it-=Rn,ke&&it<se){var Jt=ei(at,bn);return dg(r,s,eu,Ne.placeholder,c,at,Jt,U,z,se-it)}var ur=ae?c:this,Nr=me?ur[r]:r;return it=at.length,U?at=vA(at,U):je&&it>1&&at.reverse(),oe&&z<it&&(at.length=z),this&&this!==un&&this instanceof Ne&&(Nr=et||xo(Nr)),Nr.apply(ur,at)}return Ne}function fg(r,s){return function(c,m){return TS(c,r,s(m),{})}}function tu(r,s){return function(c,m){var k;if(c===n&&m===n)return s;if(c!==n&&(k=c),m!==n){if(k===n)return m;typeof c=="string"||typeof m=="string"?(c=Bn(c),m=Bn(m)):(c=Y0(c),m=Y0(m)),k=r(c,m)}return k}}function kl(r){return Pr(function(s){return s=Dt(s,Fn(Pe())),tt(function(c){var m=this;return r(s,function(k){return On(k,m,c)})})})}function nu(r,s){s=s===n?" ":Bn(s);var c=s.length;if(c<2)return c?vl(s,r):s;var m=vl(s,Va(r/gs(s)));return ps(s)?si(sr(m),0,r).join(""):m.slice(0,r)}function tA(r,s,c,m){var k=s&w,P=xo(r);function $(){for(var U=-1,z=arguments.length,se=-1,oe=m.length,ae=Z(oe+z),me=this&&this!==un&&this instanceof $?P:r;++se<oe;)ae[se]=m[se];for(;z--;)ae[se++]=arguments[++U];return On(me,k?c:this,ae)}return $}function hg(r){return function(s,c,m){return m&&typeof m!="number"&&mn(s,c,m)&&(c=m=n),s=jr(s),c===n?(c=s,s=0):c=jr(c),m=m===n?s<c?1:-1:jr(m),MS(s,c,m,r)}}function ru(r){return function(s,c){return typeof s=="string"&&typeof c=="string"||(s=Yn(s),c=Yn(c)),r(s,c)}}function dg(r,s,c,m,k,P,$,U,z,se){var oe=s&R,ae=oe?$:n,me=oe?n:$,ke=oe?P:n,je=oe?n:P;s|=oe?O:F,s&=~(oe?F:O),s&j||(s&=-4);var et=[r,s,k,ke,ae,je,me,U,z,se],Ne=c.apply(n,et);return Rl(r)&&Cg(Ne,et),Ne.placeholder=m,_g(Ne,r,s)}function Tl(r){var s=en[r];return function(c,m){if(c=Yn(c),m=m==null?0:fn(Je(m),292),m&&_0(c)){var k=(vt(c)+"e").split("e"),P=s(k[0]+"e"+(+k[1]+m));return k=(vt(P)+"e").split("e"),+(k[0]+"e"+(+k[1]-m))}return s(c)}}var nA=bs&&1/Ba(new bs([,-0]))[1]==Re?function(r){return new bs(r)}:Yl;function pg(r){return function(s){var c=hn(s);return c==Pt?il(s):c==Qe?wE(s):fE(s,r(s))}}function Dr(r,s,c,m,k,P,$,U){var z=s&T;if(!z&&typeof r!="function")throw new Kn(u);var se=m?m.length:0;if(se||(s&=-97,m=k=n),$=$===n?$:tn(Je($),0),U=U===n?U:Je(U),se-=k?k.length:0,s&F){var oe=m,ae=k;m=k=n}var me=z?n:Fl(r),ke=[r,s,c,m,k,oe,ae,P,$,U];if(me&&mA(ke,me),r=ke[0],s=ke[1],c=ke[2],m=ke[3],k=ke[4],U=ke[9]=ke[9]===n?z?0:r.length:tn(ke[9]-se,0),!U&&s&(R|_)&&(s&=-25),!s||s==w)var je=ZS(r,s,c);else s==R||s==_?je=eA(r,s,U):(s==O||s==(w|O))&&!k.length?je=tA(r,s,c,m):je=eu.apply(n,ke);var et=me?G0:Cg;return _g(et(je,ke),r,s)}function gg(r,s,c,m){return r===n||ar(r,ms[c])&&!xt.call(m,c)?s:r}function yg(r,s,c,m,k,P){return jt(r)&&jt(s)&&(P.set(s,r),Ya(r,s,n,yg,P),P.delete(s)),r}function rA(r){return Ao(r)?n:r}function mg(r,s,c,m,k,P){var $=c&S,U=r.length,z=s.length;if(U!=z&&!($&&z>U))return!1;var se=P.get(r),oe=P.get(s);if(se&&oe)return se==s&&oe==r;var ae=-1,me=!0,ke=c&E?new ki:n;for(P.set(r,s),P.set(s,r);++ae<U;){var je=r[ae],et=s[ae];if(m)var Ne=$?m(et,je,ae,s,r,P):m(je,et,ae,r,s,P);if(Ne!==n){if(Ne)continue;me=!1;break}if(ke){if(!Qc(s,function(it,at){if(!co(ke,at)&&(je===it||k(je,it,c,m,P)))return ke.push(at)})){me=!1;break}}else if(!(je===et||k(je,et,c,m,P))){me=!1;break}}return P.delete(r),P.delete(s),me}function iA(r,s,c,m,k,P,$){switch(c){case Oe:if(r.byteLength!=s.byteLength||r.byteOffset!=s.byteOffset)return!1;r=r.buffer,s=s.buffer;case Ce:return!(r.byteLength!=s.byteLength||!P(new Na(r),new Na(s)));case xe:case Fe:case Rt:return ar(+r,+s);case Le:return r.name==s.name&&r.message==s.message;case Ue:case we:return r==s+"";case Pt:var U=il;case Qe:var z=m&S;if(U||(U=Ba),r.size!=s.size&&!z)return!1;var se=$.get(r);if(se)return se==s;m|=E,$.set(r,s);var oe=mg(U(r),U(s),m,k,P,$);return $.delete(r),oe;case pt:if(go)return go.call(r)==go.call(s)}return!1}function sA(r,s,c,m,k,P){var $=c&S,U=Il(r),z=U.length,se=Il(s),oe=se.length;if(z!=oe&&!$)return!1;for(var ae=z;ae--;){var me=U[ae];if(!($?me in s:xt.call(s,me)))return!1}var ke=P.get(r),je=P.get(s);if(ke&&je)return ke==s&&je==r;var et=!0;P.set(r,s),P.set(s,r);for(var Ne=$;++ae<z;){me=U[ae];var it=r[me],at=s[me];if(m)var Pn=$?m(at,it,me,s,r,P):m(it,at,me,r,s,P);if(!(Pn===n?it===at||k(it,at,c,m,P):Pn)){et=!1;break}Ne||(Ne=me=="constructor")}if(et&&!Ne){var bn=r.constructor,Rn=s.constructor;bn!=Rn&&"constructor"in r&&"constructor"in s&&!(typeof bn=="function"&&bn instanceof bn&&typeof Rn=="function"&&Rn instanceof Rn)&&(et=!1)}return P.delete(r),P.delete(s),et}function Pr(r){return jl(Sg(r,n,Bg),r+"")}function Il(r){return j0(r,sn,Dl)}function Ol(r){return j0(r,An,bg)}var Fl=Wa?function(r){return Wa.get(r)}:Yl;function iu(r){for(var s=r.name+"",c=ws[s],m=xt.call(ws,s)?c.length:0;m--;){var k=c[m],P=k.func;if(P==null||P==r)return k.name}return s}function Ss(r){var s=xt.call(D,"placeholder")?D:r;return s.placeholder}function Pe(){var r=D.iteratee||Gl;return r=r===Gl?M0:r,arguments.length?r(arguments[0],arguments[1]):r}function su(r,s){var c=r.__data__;return dA(s)?c[typeof s=="string"?"string":"hash"]:c.map}function Bl(r){for(var s=sn(r),c=s.length;c--;){var m=s[c],k=r[m];s[c]=[m,k,xg(k)]}return s}function Oi(r,s){var c=yE(r,s);return $0(c)?c:n}function oA(r){var s=xt.call(r,Ci),c=r[Ci];try{r[Ci]=n;var m=!0}catch{}var k=La.call(r);return m&&(s?r[Ci]=c:delete r[Ci]),k}var Dl=ol?function(r){return r==null?[]:(r=St(r),Qr(ol(r),function(s){return A0.call(r,s)}))}:Xl,bg=ol?function(r){for(var s=[];r;)Zr(s,Dl(r)),r=$a(r);return s}:Xl,hn=yn;(al&&hn(new al(new ArrayBuffer(1)))!=Oe||fo&&hn(new fo)!=Pt||ul&&hn(ul.resolve())!=kn||bs&&hn(new bs)!=Qe||ho&&hn(new ho)!=Et)&&(hn=function(r){var s=yn(r),c=s==wt?r.constructor:n,m=c?Fi(c):"";if(m)switch(m){case VE:return Oe;case qE:return Pt;case WE:return kn;case KE:return Qe;case HE:return Et}return s});function aA(r,s,c){for(var m=-1,k=c.length;++m<k;){var P=c[m],$=P.size;switch(P.type){case"drop":r+=$;break;case"dropRight":s-=$;break;case"take":s=fn(s,r+$);break;case"takeRight":r=tn(r,s-$);break}}return{start:r,end:s}}function uA(r){var s=r.match(gn);return s?s[1].split(M):[]}function wg(r,s,c){s=ii(s,r);for(var m=-1,k=s.length,P=!1;++m<k;){var $=wr(s[m]);if(!(P=r!=null&&c(r,$)))break;r=r[$]}return P||++m!=k?P:(k=r==null?0:r.length,!!k&&hu(k)&&Rr($,k)&&(We(r)||Bi(r)))}function cA(r){var s=r.length,c=new r.constructor(s);return s&&typeof r[0]=="string"&&xt.call(r,"index")&&(c.index=r.index,c.input=r.input),c}function vg(r){return typeof r.constructor=="function"&&!Eo(r)?vs($a(r)):{}}function lA(r,s,c){var m=r.constructor;switch(s){case Ce:return _l(r);case xe:case Fe:return new m(+r);case Oe:return zS(r,c);case Kt:case I:case y:case b:case L:case q:case G:case ee:case Me:return ng(r,c);case Pt:return new m;case Rt:case we:return new m(r);case Ue:return GS(r);case Qe:return new m;case pt:return JS(r)}}function fA(r,s){var c=s.length;if(!c)return r;var m=c-1;return s[m]=(c>1?"& ":"")+s[m],s=s.join(c>2?", ":" "),r.replace(so,`{
144
+ /* [wrapped with `+s+`] */
145
+ `)}function hA(r){return We(r)||Bi(r)||!!(C0&&r&&r[C0])}function Rr(r,s){var c=typeof r;return s=s??Te,!!s&&(c=="number"||c!="symbol"&&Bt.test(r))&&r>-1&&r%1==0&&r<s}function mn(r,s,c){if(!jt(c))return!1;var m=typeof s;return(m=="number"?Sn(c)&&Rr(s,c.length):m=="string"&&s in c)?ar(c[s],r):!1}function Pl(r,s){if(We(r))return!1;var c=typeof r;return c=="number"||c=="symbol"||c=="boolean"||r==null||Dn(r)?!0:no.test(r)||!Ei.test(r)||s!=null&&r in St(s)}function dA(r){var s=typeof r;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?r!=="__proto__":r===null}function Rl(r){var s=iu(r),c=D[s];if(typeof c!="function"||!(s in ot.prototype))return!1;if(r===c)return!0;var m=Fl(c);return!!m&&r===m[0]}function pA(r){return!!x0&&x0 in r}var gA=Pa?Lr:Ql;function Eo(r){var s=r&&r.constructor,c=typeof s=="function"&&s.prototype||ms;return r===c}function xg(r){return r===r&&!jt(r)}function Eg(r,s){return function(c){return c==null?!1:c[r]===s&&(s!==n||r in St(c))}}function yA(r){var s=lu(r,function(m){return c.size===h&&c.clear(),m}),c=s.cache;return s}function mA(r,s){var c=r[1],m=s[1],k=c|m,P=k<(w|T|B),$=m==B&&c==R||m==B&&c==W&&r[7].length<=s[8]||m==(B|W)&&s[7].length<=s[8]&&c==R;if(!(P||$))return r;m&w&&(r[2]=s[2],k|=c&w?0:j);var U=s[3];if(U){var z=r[3];r[3]=z?ig(z,U,s[4]):U,r[4]=z?ei(r[3],d):s[4]}return U=s[5],U&&(z=r[5],r[5]=z?sg(z,U,s[6]):U,r[6]=z?ei(r[5],d):s[6]),U=s[7],U&&(r[7]=U),m&B&&(r[8]=r[8]==null?s[8]:fn(r[8],s[8])),r[9]==null&&(r[9]=s[9]),r[0]=s[0],r[1]=k,r}function bA(r){var s=[];if(r!=null)for(var c in St(r))s.push(c);return s}function wA(r){return La.call(r)}function Sg(r,s,c){return s=tn(s===n?r.length-1:s,0),function(){for(var m=arguments,k=-1,P=tn(m.length-s,0),$=Z(P);++k<P;)$[k]=m[s+k];k=-1;for(var U=Z(s+1);++k<s;)U[k]=m[k];return U[s]=c($),On(r,this,U)}}function Ag(r,s){return s.length<2?r:Ii(r,Gn(s,0,-1))}function vA(r,s){for(var c=r.length,m=fn(s.length,c),k=En(r);m--;){var P=s[m];r[m]=Rr(P,c)?k[P]:n}return r}function Ll(r,s){if(!(s==="constructor"&&typeof r[s]=="function")&&s!="__proto__")return r[s]}var Cg=kg(G0),So=RE||function(r,s){return un.setTimeout(r,s)},jl=kg(qS);function _g(r,s,c){var m=s+"";return jl(r,fA(m,xA(uA(m),c)))}function kg(r){var s=0,c=0;return function(){var m=$E(),k=be-(m-c);if(c=m,k>0){if(++s>=de)return arguments[0]}else s=0;return r.apply(n,arguments)}}function ou(r,s){var c=-1,m=r.length,k=m-1;for(s=s===n?m:s;++c<s;){var P=wl(c,k),$=r[P];r[P]=r[c],r[c]=$}return r.length=s,r}var Tg=yA(function(r){var s=[];return r.charCodeAt(0)===46&&s.push(""),r.replace(ro,function(c,m,k,P){s.push(k?P.replace(Ie,"$1"):m||c)}),s});function wr(r){if(typeof r=="string"||Dn(r))return r;var s=r+"";return s=="0"&&1/r==-1/0?"-0":s}function Fi(r){if(r!=null){try{return Ra.call(r)}catch{}try{return r+""}catch{}}return""}function xA(r,s){return Wn(X,function(c){var m="_."+c[0];s&c[1]&&!Oa(r,m)&&r.push(m)}),r.sort()}function Ig(r){if(r instanceof ot)return r.clone();var s=new Hn(r.__wrapped__,r.__chain__);return s.__actions__=En(r.__actions__),s.__index__=r.__index__,s.__values__=r.__values__,s}function EA(r,s,c){(c?mn(r,s,c):s===n)?s=1:s=tn(Je(s),0);var m=r==null?0:r.length;if(!m||s<1)return[];for(var k=0,P=0,$=Z(Va(m/s));k<m;)$[P++]=Gn(r,k,k+=s);return $}function SA(r){for(var s=-1,c=r==null?0:r.length,m=0,k=[];++s<c;){var P=r[s];P&&(k[m++]=P)}return k}function AA(){var r=arguments.length;if(!r)return[];for(var s=Z(r-1),c=arguments[0],m=r;m--;)s[m-1]=arguments[m];return Zr(We(c)?En(c):[c],cn(s,1))}var CA=tt(function(r,s){return Gt(r)?mo(r,cn(s,1,Gt,!0)):[]}),_A=tt(function(r,s){var c=Jn(s);return Gt(c)&&(c=n),Gt(r)?mo(r,cn(s,1,Gt,!0),Pe(c,2)):[]}),kA=tt(function(r,s){var c=Jn(s);return Gt(c)&&(c=n),Gt(r)?mo(r,cn(s,1,Gt,!0),n,c):[]});function TA(r,s,c){var m=r==null?0:r.length;return m?(s=c||s===n?1:Je(s),Gn(r,s<0?0:s,m)):[]}function IA(r,s,c){var m=r==null?0:r.length;return m?(s=c||s===n?1:Je(s),s=m-s,Gn(r,0,s<0?0:s)):[]}function OA(r,s){return r&&r.length?Qa(r,Pe(s,3),!0,!0):[]}function FA(r,s){return r&&r.length?Qa(r,Pe(s,3),!0):[]}function BA(r,s,c,m){var k=r==null?0:r.length;return k?(c&&typeof c!="number"&&mn(r,s,c)&&(c=0,m=k),AS(r,s,c,m)):[]}function Og(r,s,c){var m=r==null?0:r.length;if(!m)return-1;var k=c==null?0:Je(c);return k<0&&(k=tn(m+k,0)),Fa(r,Pe(s,3),k)}function Fg(r,s,c){var m=r==null?0:r.length;if(!m)return-1;var k=m-1;return c!==n&&(k=Je(c),k=c<0?tn(m+k,0):fn(k,m-1)),Fa(r,Pe(s,3),k,!0)}function Bg(r){var s=r==null?0:r.length;return s?cn(r,1):[]}function DA(r){var s=r==null?0:r.length;return s?cn(r,Re):[]}function PA(r,s){var c=r==null?0:r.length;return c?(s=s===n?1:Je(s),cn(r,s)):[]}function RA(r){for(var s=-1,c=r==null?0:r.length,m={};++s<c;){var k=r[s];m[k[0]]=k[1]}return m}function Dg(r){return r&&r.length?r[0]:n}function LA(r,s,c){var m=r==null?0:r.length;if(!m)return-1;var k=c==null?0:Je(c);return k<0&&(k=tn(m+k,0)),ds(r,s,k)}function jA(r){var s=r==null?0:r.length;return s?Gn(r,0,-1):[]}var NA=tt(function(r){var s=Dt(r,Al);return s.length&&s[0]===r[0]?pl(s):[]}),$A=tt(function(r){var s=Jn(r),c=Dt(r,Al);return s===Jn(c)?s=n:c.pop(),c.length&&c[0]===r[0]?pl(c,Pe(s,2)):[]}),MA=tt(function(r){var s=Jn(r),c=Dt(r,Al);return s=typeof s=="function"?s:n,s&&c.pop(),c.length&&c[0]===r[0]?pl(c,n,s):[]});function UA(r,s){return r==null?"":jE.call(r,s)}function Jn(r){var s=r==null?0:r.length;return s?r[s-1]:n}function VA(r,s,c){var m=r==null?0:r.length;if(!m)return-1;var k=m;return c!==n&&(k=Je(c),k=k<0?tn(m+k,0):fn(k,m-1)),s===s?xE(r,s,k):Fa(r,d0,k,!0)}function qA(r,s){return r&&r.length?W0(r,Je(s)):n}var WA=tt(Pg);function Pg(r,s){return r&&r.length&&s&&s.length?bl(r,s):r}function KA(r,s,c){return r&&r.length&&s&&s.length?bl(r,s,Pe(c,2)):r}function HA(r,s,c){return r&&r.length&&s&&s.length?bl(r,s,n,c):r}var zA=Pr(function(r,s){var c=r==null?0:r.length,m=ll(r,s);return z0(r,Dt(s,function(k){return Rr(k,c)?+k:k}).sort(rg)),m});function GA(r,s){var c=[];if(!(r&&r.length))return c;var m=-1,k=[],P=r.length;for(s=Pe(s,3);++m<P;){var $=r[m];s($,m,r)&&(c.push($),k.push(m))}return z0(r,k),c}function Nl(r){return r==null?r:UE.call(r)}function JA(r,s,c){var m=r==null?0:r.length;return m?(c&&typeof c!="number"&&mn(r,s,c)?(s=0,c=m):(s=s==null?0:Je(s),c=c===n?m:Je(c)),Gn(r,s,c)):[]}function YA(r,s){return Xa(r,s)}function XA(r,s,c){return xl(r,s,Pe(c,2))}function QA(r,s){var c=r==null?0:r.length;if(c){var m=Xa(r,s);if(m<c&&ar(r[m],s))return m}return-1}function ZA(r,s){return Xa(r,s,!0)}function eC(r,s,c){return xl(r,s,Pe(c,2),!0)}function tC(r,s){var c=r==null?0:r.length;if(c){var m=Xa(r,s,!0)-1;if(ar(r[m],s))return m}return-1}function nC(r){return r&&r.length?J0(r):[]}function rC(r,s){return r&&r.length?J0(r,Pe(s,2)):[]}function iC(r){var s=r==null?0:r.length;return s?Gn(r,1,s):[]}function sC(r,s,c){return r&&r.length?(s=c||s===n?1:Je(s),Gn(r,0,s<0?0:s)):[]}function oC(r,s,c){var m=r==null?0:r.length;return m?(s=c||s===n?1:Je(s),s=m-s,Gn(r,s<0?0:s,m)):[]}function aC(r,s){return r&&r.length?Qa(r,Pe(s,3),!1,!0):[]}function uC(r,s){return r&&r.length?Qa(r,Pe(s,3)):[]}var cC=tt(function(r){return ri(cn(r,1,Gt,!0))}),lC=tt(function(r){var s=Jn(r);return Gt(s)&&(s=n),ri(cn(r,1,Gt,!0),Pe(s,2))}),fC=tt(function(r){var s=Jn(r);return s=typeof s=="function"?s:n,ri(cn(r,1,Gt,!0),n,s)});function hC(r){return r&&r.length?ri(r):[]}function dC(r,s){return r&&r.length?ri(r,Pe(s,2)):[]}function pC(r,s){return s=typeof s=="function"?s:n,r&&r.length?ri(r,n,s):[]}function $l(r){if(!(r&&r.length))return[];var s=0;return r=Qr(r,function(c){if(Gt(c))return s=tn(c.length,s),!0}),nl(s,function(c){return Dt(r,Zc(c))})}function Rg(r,s){if(!(r&&r.length))return[];var c=$l(r);return s==null?c:Dt(c,function(m){return On(s,n,m)})}var gC=tt(function(r,s){return Gt(r)?mo(r,s):[]}),yC=tt(function(r){return Sl(Qr(r,Gt))}),mC=tt(function(r){var s=Jn(r);return Gt(s)&&(s=n),Sl(Qr(r,Gt),Pe(s,2))}),bC=tt(function(r){var s=Jn(r);return s=typeof s=="function"?s:n,Sl(Qr(r,Gt),n,s)}),wC=tt($l);function vC(r,s){return Z0(r||[],s||[],yo)}function xC(r,s){return Z0(r||[],s||[],vo)}var EC=tt(function(r){var s=r.length,c=s>1?r[s-1]:n;return c=typeof c=="function"?(r.pop(),c):n,Rg(r,c)});function Lg(r){var s=D(r);return s.__chain__=!0,s}function SC(r,s){return s(r),r}function au(r,s){return s(r)}var AC=Pr(function(r){var s=r.length,c=s?r[0]:0,m=this.__wrapped__,k=function(P){return ll(P,r)};return s>1||this.__actions__.length||!(m instanceof ot)||!Rr(c)?this.thru(k):(m=m.slice(c,+c+(s?1:0)),m.__actions__.push({func:au,args:[k],thisArg:n}),new Hn(m,this.__chain__).thru(function(P){return s&&!P.length&&P.push(n),P}))});function CC(){return Lg(this)}function _C(){return new Hn(this.value(),this.__chain__)}function kC(){this.__values__===n&&(this.__values__=Yg(this.value()));var r=this.__index__>=this.__values__.length,s=r?n:this.__values__[this.__index__++];return{done:r,value:s}}function TC(){return this}function IC(r){for(var s,c=this;c instanceof Ha;){var m=Ig(c);m.__index__=0,m.__values__=n,s?k.__wrapped__=m:s=m;var k=m;c=c.__wrapped__}return k.__wrapped__=r,s}function OC(){var r=this.__wrapped__;if(r instanceof ot){var s=r;return this.__actions__.length&&(s=new ot(this)),s=s.reverse(),s.__actions__.push({func:au,args:[Nl],thisArg:n}),new Hn(s,this.__chain__)}return this.thru(Nl)}function FC(){return Q0(this.__wrapped__,this.__actions__)}var BC=Za(function(r,s,c){xt.call(r,c)?++r[c]:Br(r,c,1)});function DC(r,s,c){var m=We(r)?f0:SS;return c&&mn(r,s,c)&&(s=n),m(r,Pe(s,3))}function PC(r,s){var c=We(r)?Qr:R0;return c(r,Pe(s,3))}var RC=cg(Og),LC=cg(Fg);function jC(r,s){return cn(uu(r,s),1)}function NC(r,s){return cn(uu(r,s),Re)}function $C(r,s,c){return c=c===n?1:Je(c),cn(uu(r,s),c)}function jg(r,s){var c=We(r)?Wn:ni;return c(r,Pe(s,3))}function Ng(r,s){var c=We(r)?iE:P0;return c(r,Pe(s,3))}var MC=Za(function(r,s,c){xt.call(r,c)?r[c].push(s):Br(r,c,[s])});function UC(r,s,c,m){r=Sn(r)?r:Cs(r),c=c&&!m?Je(c):0;var k=r.length;return c<0&&(c=tn(k+c,0)),du(r)?c<=k&&r.indexOf(s,c)>-1:!!k&&ds(r,s,c)>-1}var VC=tt(function(r,s,c){var m=-1,k=typeof s=="function",P=Sn(r)?Z(r.length):[];return ni(r,function($){P[++m]=k?On(s,$,c):bo($,s,c)}),P}),qC=Za(function(r,s,c){Br(r,c,s)});function uu(r,s){var c=We(r)?Dt:U0;return c(r,Pe(s,3))}function WC(r,s,c,m){return r==null?[]:(We(s)||(s=s==null?[]:[s]),c=m?n:c,We(c)||(c=c==null?[]:[c]),K0(r,s,c))}var KC=Za(function(r,s,c){r[c?0:1].push(s)},function(){return[[],[]]});function HC(r,s,c){var m=We(r)?Xc:g0,k=arguments.length<3;return m(r,Pe(s,4),c,k,ni)}function zC(r,s,c){var m=We(r)?sE:g0,k=arguments.length<3;return m(r,Pe(s,4),c,k,P0)}function GC(r,s){var c=We(r)?Qr:R0;return c(r,fu(Pe(s,3)))}function JC(r){var s=We(r)?O0:US;return s(r)}function YC(r,s,c){(c?mn(r,s,c):s===n)?s=1:s=Je(s);var m=We(r)?bS:VS;return m(r,s)}function XC(r){var s=We(r)?wS:WS;return s(r)}function QC(r){if(r==null)return 0;if(Sn(r))return du(r)?gs(r):r.length;var s=hn(r);return s==Pt||s==Qe?r.size:yl(r).length}function ZC(r,s,c){var m=We(r)?Qc:KS;return c&&mn(r,s,c)&&(s=n),m(r,Pe(s,3))}var e3=tt(function(r,s){if(r==null)return[];var c=s.length;return c>1&&mn(r,s[0],s[1])?s=[]:c>2&&mn(s[0],s[1],s[2])&&(s=[s[0]]),K0(r,cn(s,1),[])}),cu=PE||function(){return un.Date.now()};function t3(r,s){if(typeof s!="function")throw new Kn(u);return r=Je(r),function(){if(--r<1)return s.apply(this,arguments)}}function $g(r,s,c){return s=c?n:s,s=r&&s==null?r.length:s,Dr(r,B,n,n,n,n,s)}function Mg(r,s){var c;if(typeof s!="function")throw new Kn(u);return r=Je(r),function(){return--r>0&&(c=s.apply(this,arguments)),r<=1&&(s=n),c}}var Ml=tt(function(r,s,c){var m=w;if(c.length){var k=ei(c,Ss(Ml));m|=O}return Dr(r,m,s,c,k)}),Ug=tt(function(r,s,c){var m=w|T;if(c.length){var k=ei(c,Ss(Ug));m|=O}return Dr(s,m,r,c,k)});function Vg(r,s,c){s=c?n:s;var m=Dr(r,R,n,n,n,n,n,s);return m.placeholder=Vg.placeholder,m}function qg(r,s,c){s=c?n:s;var m=Dr(r,_,n,n,n,n,n,s);return m.placeholder=qg.placeholder,m}function Wg(r,s,c){var m,k,P,$,U,z,se=0,oe=!1,ae=!1,me=!0;if(typeof r!="function")throw new Kn(u);s=Yn(s)||0,jt(c)&&(oe=!!c.leading,ae="maxWait"in c,P=ae?tn(Yn(c.maxWait)||0,s):P,me="trailing"in c?!!c.trailing:me);function ke(Jt){var ur=m,Nr=k;return m=k=n,se=Jt,$=r.apply(Nr,ur),$}function je(Jt){return se=Jt,U=So(it,s),oe?ke(Jt):$}function et(Jt){var ur=Jt-z,Nr=Jt-se,c1=s-ur;return ae?fn(c1,P-Nr):c1}function Ne(Jt){var ur=Jt-z,Nr=Jt-se;return z===n||ur>=s||ur<0||ae&&Nr>=P}function it(){var Jt=cu();if(Ne(Jt))return at(Jt);U=So(it,et(Jt))}function at(Jt){return U=n,me&&m?ke(Jt):(m=k=n,$)}function Pn(){U!==n&&eg(U),se=0,m=z=k=U=n}function bn(){return U===n?$:at(cu())}function Rn(){var Jt=cu(),ur=Ne(Jt);if(m=arguments,k=this,z=Jt,ur){if(U===n)return je(z);if(ae)return eg(U),U=So(it,s),ke(z)}return U===n&&(U=So(it,s)),$}return Rn.cancel=Pn,Rn.flush=bn,Rn}var n3=tt(function(r,s){return D0(r,1,s)}),r3=tt(function(r,s,c){return D0(r,Yn(s)||0,c)});function i3(r){return Dr(r,J)}function lu(r,s){if(typeof r!="function"||s!=null&&typeof s!="function")throw new Kn(u);var c=function(){var m=arguments,k=s?s.apply(this,m):m[0],P=c.cache;if(P.has(k))return P.get(k);var $=r.apply(this,m);return c.cache=P.set(k,$)||P,$};return c.cache=new(lu.Cache||Fr),c}lu.Cache=Fr;function fu(r){if(typeof r!="function")throw new Kn(u);return function(){var s=arguments;switch(s.length){case 0:return!r.call(this);case 1:return!r.call(this,s[0]);case 2:return!r.call(this,s[0],s[1]);case 3:return!r.call(this,s[0],s[1],s[2])}return!r.apply(this,s)}}function s3(r){return Mg(2,r)}var o3=HS(function(r,s){s=s.length==1&&We(s[0])?Dt(s[0],Fn(Pe())):Dt(cn(s,1),Fn(Pe()));var c=s.length;return tt(function(m){for(var k=-1,P=fn(m.length,c);++k<P;)m[k]=s[k].call(this,m[k]);return On(r,this,m)})}),Ul=tt(function(r,s){var c=ei(s,Ss(Ul));return Dr(r,O,n,s,c)}),Kg=tt(function(r,s){var c=ei(s,Ss(Kg));return Dr(r,F,n,s,c)}),a3=Pr(function(r,s){return Dr(r,W,n,n,n,s)});function u3(r,s){if(typeof r!="function")throw new Kn(u);return s=s===n?s:Je(s),tt(r,s)}function c3(r,s){if(typeof r!="function")throw new Kn(u);return s=s==null?0:tn(Je(s),0),tt(function(c){var m=c[s],k=si(c,0,s);return m&&Zr(k,m),On(r,this,k)})}function l3(r,s,c){var m=!0,k=!0;if(typeof r!="function")throw new Kn(u);return jt(c)&&(m="leading"in c?!!c.leading:m,k="trailing"in c?!!c.trailing:k),Wg(r,s,{leading:m,maxWait:s,trailing:k})}function f3(r){return $g(r,1)}function h3(r,s){return Ul(Cl(s),r)}function d3(){if(!arguments.length)return[];var r=arguments[0];return We(r)?r:[r]}function p3(r){return zn(r,C)}function g3(r,s){return s=typeof s=="function"?s:n,zn(r,C,s)}function y3(r){return zn(r,g|C)}function m3(r,s){return s=typeof s=="function"?s:n,zn(r,g|C,s)}function b3(r,s){return s==null||B0(r,s,sn(s))}function ar(r,s){return r===s||r!==r&&s!==s}var w3=ru(dl),v3=ru(function(r,s){return r>=s}),Bi=N0(function(){return arguments}())?N0:function(r){return Nt(r)&&xt.call(r,"callee")&&!A0.call(r,"callee")},We=Z.isArray,x3=s0?Fn(s0):IS;function Sn(r){return r!=null&&hu(r.length)&&!Lr(r)}function Gt(r){return Nt(r)&&Sn(r)}function E3(r){return r===!0||r===!1||Nt(r)&&yn(r)==xe}var oi=LE||Ql,S3=o0?Fn(o0):OS;function A3(r){return Nt(r)&&r.nodeType===1&&!Ao(r)}function C3(r){if(r==null)return!0;if(Sn(r)&&(We(r)||typeof r=="string"||typeof r.splice=="function"||oi(r)||As(r)||Bi(r)))return!r.length;var s=hn(r);if(s==Pt||s==Qe)return!r.size;if(Eo(r))return!yl(r).length;for(var c in r)if(xt.call(r,c))return!1;return!0}function _3(r,s){return wo(r,s)}function k3(r,s,c){c=typeof c=="function"?c:n;var m=c?c(r,s):n;return m===n?wo(r,s,n,c):!!m}function Vl(r){if(!Nt(r))return!1;var s=yn(r);return s==Le||s==Be||typeof r.message=="string"&&typeof r.name=="string"&&!Ao(r)}function T3(r){return typeof r=="number"&&_0(r)}function Lr(r){if(!jt(r))return!1;var s=yn(r);return s==_t||s==rn||s==ze||s==Ae}function Hg(r){return typeof r=="number"&&r==Je(r)}function hu(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=Te}function jt(r){var s=typeof r;return r!=null&&(s=="object"||s=="function")}function Nt(r){return r!=null&&typeof r=="object"}var zg=a0?Fn(a0):BS;function I3(r,s){return r===s||gl(r,s,Bl(s))}function O3(r,s,c){return c=typeof c=="function"?c:n,gl(r,s,Bl(s),c)}function F3(r){return Gg(r)&&r!=+r}function B3(r){if(gA(r))throw new Ve(a);return $0(r)}function D3(r){return r===null}function P3(r){return r==null}function Gg(r){return typeof r=="number"||Nt(r)&&yn(r)==Rt}function Ao(r){if(!Nt(r)||yn(r)!=wt)return!1;var s=$a(r);if(s===null)return!0;var c=xt.call(s,"constructor")&&s.constructor;return typeof c=="function"&&c instanceof c&&Ra.call(c)==OE}var ql=u0?Fn(u0):DS;function R3(r){return Hg(r)&&r>=-9007199254740991&&r<=Te}var Jg=c0?Fn(c0):PS;function du(r){return typeof r=="string"||!We(r)&&Nt(r)&&yn(r)==we}function Dn(r){return typeof r=="symbol"||Nt(r)&&yn(r)==pt}var As=l0?Fn(l0):RS;function L3(r){return r===n}function j3(r){return Nt(r)&&hn(r)==Et}function N3(r){return Nt(r)&&yn(r)==ht}var $3=ru(ml),M3=ru(function(r,s){return r<=s});function Yg(r){if(!r)return[];if(Sn(r))return du(r)?sr(r):En(r);if(lo&&r[lo])return bE(r[lo]());var s=hn(r),c=s==Pt?il:s==Qe?Ba:Cs;return c(r)}function jr(r){if(!r)return r===0?r:0;if(r=Yn(r),r===Re||r===-1/0){var s=r<0?-1:1;return s*Xe}return r===r?r:0}function Je(r){var s=jr(r),c=s%1;return s===s?c?s-c:s:0}function Xg(r){return r?Ti(Je(r),0,ge):0}function Yn(r){if(typeof r=="number")return r;if(Dn(r))return ve;if(jt(r)){var s=typeof r.valueOf=="function"?r.valueOf():r;r=jt(s)?s+"":s}if(typeof r!="string")return r===0?r:+r;r=y0(r);var c=Ze.test(r);return c||Ot.test(r)?tE(r.slice(2),c?2:8):rt.test(r)?ve:+r}function Qg(r){return br(r,An(r))}function U3(r){return r?Ti(Je(r),-9007199254740991,Te):r===0?r:0}function vt(r){return r==null?"":Bn(r)}var V3=xs(function(r,s){if(Eo(s)||Sn(s)){br(s,sn(s),r);return}for(var c in s)xt.call(s,c)&&yo(r,c,s[c])}),Zg=xs(function(r,s){br(s,An(s),r)}),pu=xs(function(r,s,c,m){br(s,An(s),r,m)}),q3=xs(function(r,s,c,m){br(s,sn(s),r,m)}),W3=Pr(ll);function K3(r,s){var c=vs(r);return s==null?c:F0(c,s)}var H3=tt(function(r,s){r=St(r);var c=-1,m=s.length,k=m>2?s[2]:n;for(k&&mn(s[0],s[1],k)&&(m=1);++c<m;)for(var P=s[c],$=An(P),U=-1,z=$.length;++U<z;){var se=$[U],oe=r[se];(oe===n||ar(oe,ms[se])&&!xt.call(r,se))&&(r[se]=P[se])}return r}),z3=tt(function(r){return r.push(n,yg),On(e1,n,r)});function G3(r,s){return h0(r,Pe(s,3),mr)}function J3(r,s){return h0(r,Pe(s,3),hl)}function Y3(r,s){return r==null?r:fl(r,Pe(s,3),An)}function X3(r,s){return r==null?r:L0(r,Pe(s,3),An)}function Q3(r,s){return r&&mr(r,Pe(s,3))}function Z3(r,s){return r&&hl(r,Pe(s,3))}function e_(r){return r==null?[]:Ja(r,sn(r))}function t_(r){return r==null?[]:Ja(r,An(r))}function Wl(r,s,c){var m=r==null?n:Ii(r,s);return m===n?c:m}function n_(r,s){return r!=null&&wg(r,s,CS)}function Kl(r,s){return r!=null&&wg(r,s,_S)}var r_=fg(function(r,s,c){s!=null&&typeof s.toString!="function"&&(s=La.call(s)),r[s]=c},zl(Cn)),i_=fg(function(r,s,c){s!=null&&typeof s.toString!="function"&&(s=La.call(s)),xt.call(r,s)?r[s].push(c):r[s]=[c]},Pe),s_=tt(bo);function sn(r){return Sn(r)?I0(r):yl(r)}function An(r){return Sn(r)?I0(r,!0):LS(r)}function o_(r,s){var c={};return s=Pe(s,3),mr(r,function(m,k,P){Br(c,s(m,k,P),m)}),c}function a_(r,s){var c={};return s=Pe(s,3),mr(r,function(m,k,P){Br(c,k,s(m,k,P))}),c}var u_=xs(function(r,s,c){Ya(r,s,c)}),e1=xs(function(r,s,c,m){Ya(r,s,c,m)}),c_=Pr(function(r,s){var c={};if(r==null)return c;var m=!1;s=Dt(s,function(P){return P=ii(P,r),m||(m=P.length>1),P}),br(r,Ol(r),c),m&&(c=zn(c,g|v|C,rA));for(var k=s.length;k--;)El(c,s[k]);return c});function l_(r,s){return t1(r,fu(Pe(s)))}var f_=Pr(function(r,s){return r==null?{}:NS(r,s)});function t1(r,s){if(r==null)return{};var c=Dt(Ol(r),function(m){return[m]});return s=Pe(s),H0(r,c,function(m,k){return s(m,k[0])})}function h_(r,s,c){s=ii(s,r);var m=-1,k=s.length;for(k||(k=1,r=n);++m<k;){var P=r==null?n:r[wr(s[m])];P===n&&(m=k,P=c),r=Lr(P)?P.call(r):P}return r}function d_(r,s,c){return r==null?r:vo(r,s,c)}function p_(r,s,c,m){return m=typeof m=="function"?m:n,r==null?r:vo(r,s,c,m)}var n1=pg(sn),r1=pg(An);function g_(r,s,c){var m=We(r),k=m||oi(r)||As(r);if(s=Pe(s,4),c==null){var P=r&&r.constructor;k?c=m?new P:[]:jt(r)?c=Lr(P)?vs($a(r)):{}:c={}}return(k?Wn:mr)(r,function($,U,z){return s(c,$,U,z)}),c}function y_(r,s){return r==null?!0:El(r,s)}function m_(r,s,c){return r==null?r:X0(r,s,Cl(c))}function b_(r,s,c,m){return m=typeof m=="function"?m:n,r==null?r:X0(r,s,Cl(c),m)}function Cs(r){return r==null?[]:rl(r,sn(r))}function w_(r){return r==null?[]:rl(r,An(r))}function v_(r,s,c){return c===n&&(c=s,s=n),c!==n&&(c=Yn(c),c=c===c?c:0),s!==n&&(s=Yn(s),s=s===s?s:0),Ti(Yn(r),s,c)}function x_(r,s,c){return s=jr(s),c===n?(c=s,s=0):c=jr(c),r=Yn(r),kS(r,s,c)}function E_(r,s,c){if(c&&typeof c!="boolean"&&mn(r,s,c)&&(s=c=n),c===n&&(typeof s=="boolean"?(c=s,s=n):typeof r=="boolean"&&(c=r,r=n)),r===n&&s===n?(r=0,s=1):(r=jr(r),s===n?(s=r,r=0):s=jr(s)),r>s){var m=r;r=s,s=m}if(c||r%1||s%1){var k=k0();return fn(r+k*(s-r+eE("1e-"+((k+"").length-1))),s)}return wl(r,s)}var S_=Es(function(r,s,c){return s=s.toLowerCase(),r+(c?i1(s):s)});function i1(r){return Hl(vt(r).toLowerCase())}function s1(r){return r=vt(r),r&&r.replace(ln,dE).replace(Wx,"")}function A_(r,s,c){r=vt(r),s=Bn(s);var m=r.length;c=c===n?m:Ti(Je(c),0,m);var k=c;return c-=s.length,c>=0&&r.slice(c,k)==s}function C_(r){return r=vt(r),r&&as.test(r)?r.replace(Gr,pE):r}function __(r){return r=vt(r),r&&rr.test(r)?r.replace(Ir,"\\$&"):r}var k_=Es(function(r,s,c){return r+(c?"-":"")+s.toLowerCase()}),T_=Es(function(r,s,c){return r+(c?" ":"")+s.toLowerCase()}),I_=ug("toLowerCase");function O_(r,s,c){r=vt(r),s=Je(s);var m=s?gs(r):0;if(!s||m>=s)return r;var k=(s-m)/2;return nu(qa(k),c)+r+nu(Va(k),c)}function F_(r,s,c){r=vt(r),s=Je(s);var m=s?gs(r):0;return s&&m<s?r+nu(s-m,c):r}function B_(r,s,c){r=vt(r),s=Je(s);var m=s?gs(r):0;return s&&m<s?nu(s-m,c)+r:r}function D_(r,s,c){return c||s==null?s=0:s&&(s=+s),ME(vt(r).replace(Yr,""),s||0)}function P_(r,s,c){return(c?mn(r,s,c):s===n)?s=1:s=Je(s),vl(vt(r),s)}function R_(){var r=arguments,s=vt(r[0]);return r.length<3?s:s.replace(r[1],r[2])}var L_=Es(function(r,s,c){return r+(c?"_":"")+s.toLowerCase()});function j_(r,s,c){return c&&typeof c!="number"&&mn(r,s,c)&&(s=c=n),c=c===n?ge:c>>>0,c?(r=vt(r),r&&(typeof s=="string"||s!=null&&!ql(s))&&(s=Bn(s),!s&&ps(r))?si(sr(r),0,c):r.split(s,c)):[]}var N_=Es(function(r,s,c){return r+(c?" ":"")+Hl(s)});function $_(r,s,c){return r=vt(r),c=c==null?0:Ti(Je(c),0,r.length),s=Bn(s),r.slice(c,c+s.length)==s}function M_(r,s,c){var m=D.templateSettings;c&&mn(r,s,c)&&(s=n),r=vt(r),s=pu({},s,m,gg);var k=pu({},s.imports,m.imports,gg),P=sn(k),$=rl(k,P),U,z,se=0,oe=s.interpolate||Tn,ae="__p += '",me=sl((s.escape||Tn).source+"|"+oe.source+"|"+(oe===Jr?ct:Tn).source+"|"+(s.evaluate||Tn).source+"|$","g"),ke="//# sourceURL="+(xt.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Jx+"]")+`
146
+ `;r.replace(me,function(Ne,it,at,Pn,bn,Rn){return at||(at=Pn),ae+=r.slice(se,Rn).replace(ir,gE),it&&(U=!0,ae+=`' +
147
+ __e(`+it+`) +
148
+ '`),bn&&(z=!0,ae+=`';
149
+ `+bn+`;
150
+ __p += '`),at&&(ae+=`' +
151
+ ((__t = (`+at+`)) == null ? '' : __t) +
152
+ '`),se=Rn+Ne.length,Ne}),ae+=`';
153
+ `;var je=xt.call(s,"variable")&&s.variable;if(!je)ae=`with (obj) {
154
+ `+ae+`
155
+ }
156
+ `;else if(ye.test(je))throw new Ve(l);ae=(z?ae.replace(gt,""):ae).replace(ut,"$1").replace(dt,"$1;"),ae="function("+(je||"obj")+`) {
157
+ `+(je?"":`obj || (obj = {});
158
+ `)+"var __t, __p = ''"+(U?", __e = _.escape":"")+(z?`, __j = Array.prototype.join;
159
+ function print() { __p += __j.call(arguments, '') }
160
+ `:`;
161
+ `)+ae+`return __p
162
+ }`;var et=a1(function(){return bt(P,ke+"return "+ae).apply(n,$)});if(et.source=ae,Vl(et))throw et;return et}function U_(r){return vt(r).toLowerCase()}function V_(r){return vt(r).toUpperCase()}function q_(r,s,c){if(r=vt(r),r&&(c||s===n))return y0(r);if(!r||!(s=Bn(s)))return r;var m=sr(r),k=sr(s),P=m0(m,k),$=b0(m,k)+1;return si(m,P,$).join("")}function W_(r,s,c){if(r=vt(r),r&&(c||s===n))return r.slice(0,v0(r)+1);if(!r||!(s=Bn(s)))return r;var m=sr(r),k=b0(m,sr(s))+1;return si(m,0,k).join("")}function K_(r,s,c){if(r=vt(r),r&&(c||s===n))return r.replace(Yr,"");if(!r||!(s=Bn(s)))return r;var m=sr(r),k=m0(m,sr(s));return si(m,k).join("")}function H_(r,s){var c=fe,m=le;if(jt(s)){var k="separator"in s?s.separator:k;c="length"in s?Je(s.length):c,m="omission"in s?Bn(s.omission):m}r=vt(r);var P=r.length;if(ps(r)){var $=sr(r);P=$.length}if(c>=P)return r;var U=c-gs(m);if(U<1)return m;var z=$?si($,0,U).join(""):r.slice(0,U);if(k===n)return z+m;if($&&(U+=z.length-U),ql(k)){if(r.slice(U).search(k)){var se,oe=z;for(k.global||(k=sl(k.source,vt(lt.exec(k))+"g")),k.lastIndex=0;se=k.exec(oe);)var ae=se.index;z=z.slice(0,ae===n?U:ae)}}else if(r.indexOf(Bn(k),U)!=U){var me=z.lastIndexOf(k);me>-1&&(z=z.slice(0,me))}return z+m}function z_(r){return r=vt(r),r&&xi.test(r)?r.replace(st,EE):r}var G_=Es(function(r,s,c){return r+(c?" ":"")+s.toUpperCase()}),Hl=ug("toUpperCase");function o1(r,s,c){return r=vt(r),s=c?n:s,s===n?mE(r)?CE(r):uE(r):r.match(s)||[]}var a1=tt(function(r,s){try{return On(r,n,s)}catch(c){return Vl(c)?c:new Ve(c)}}),J_=Pr(function(r,s){return Wn(s,function(c){c=wr(c),Br(r,c,Ml(r[c],r))}),r});function Y_(r){var s=r==null?0:r.length,c=Pe();return r=s?Dt(r,function(m){if(typeof m[1]!="function")throw new Kn(u);return[c(m[0]),m[1]]}):[],tt(function(m){for(var k=-1;++k<s;){var P=r[k];if(On(P[0],this,m))return On(P[1],this,m)}})}function X_(r){return ES(zn(r,g))}function zl(r){return function(){return r}}function Q_(r,s){return r==null||r!==r?s:r}var Z_=lg(),e8=lg(!0);function Cn(r){return r}function Gl(r){return M0(typeof r=="function"?r:zn(r,g))}function t8(r){return V0(zn(r,g))}function n8(r,s){return q0(r,zn(s,g))}var r8=tt(function(r,s){return function(c){return bo(c,r,s)}}),i8=tt(function(r,s){return function(c){return bo(r,c,s)}});function Jl(r,s,c){var m=sn(s),k=Ja(s,m);c==null&&!(jt(s)&&(k.length||!m.length))&&(c=s,s=r,r=this,k=Ja(s,sn(s)));var P=!(jt(c)&&"chain"in c)||!!c.chain,$=Lr(r);return Wn(k,function(U){var z=s[U];r[U]=z,$&&(r.prototype[U]=function(){var se=this.__chain__;if(P||se){var oe=r(this.__wrapped__),ae=oe.__actions__=En(this.__actions__);return ae.push({func:z,args:arguments,thisArg:r}),oe.__chain__=se,oe}return z.apply(r,Zr([this.value()],arguments))})}),r}function s8(){return un._===this&&(un._=FE),this}function Yl(){}function o8(r){return r=Je(r),tt(function(s){return W0(s,r)})}var a8=kl(Dt),u8=kl(f0),c8=kl(Qc);function u1(r){return Pl(r)?Zc(wr(r)):$S(r)}function l8(r){return function(s){return r==null?n:Ii(r,s)}}var f8=hg(),h8=hg(!0);function Xl(){return[]}function Ql(){return!1}function d8(){return{}}function p8(){return""}function g8(){return!0}function y8(r,s){if(r=Je(r),r<1||r>Te)return[];var c=ge,m=fn(r,ge);s=Pe(s),r-=ge;for(var k=nl(m,s);++c<r;)s(c);return k}function m8(r){return We(r)?Dt(r,wr):Dn(r)?[r]:En(Tg(vt(r)))}function b8(r){var s=++IE;return vt(r)+s}var w8=tu(function(r,s){return r+s},0),v8=Tl("ceil"),x8=tu(function(r,s){return r/s},1),E8=Tl("floor");function S8(r){return r&&r.length?Ga(r,Cn,dl):n}function A8(r,s){return r&&r.length?Ga(r,Pe(s,2),dl):n}function C8(r){return p0(r,Cn)}function _8(r,s){return p0(r,Pe(s,2))}function k8(r){return r&&r.length?Ga(r,Cn,ml):n}function T8(r,s){return r&&r.length?Ga(r,Pe(s,2),ml):n}var I8=tu(function(r,s){return r*s},1),O8=Tl("round"),F8=tu(function(r,s){return r-s},0);function B8(r){return r&&r.length?tl(r,Cn):0}function D8(r,s){return r&&r.length?tl(r,Pe(s,2)):0}return D.after=t3,D.ary=$g,D.assign=V3,D.assignIn=Zg,D.assignInWith=pu,D.assignWith=q3,D.at=W3,D.before=Mg,D.bind=Ml,D.bindAll=J_,D.bindKey=Ug,D.castArray=d3,D.chain=Lg,D.chunk=EA,D.compact=SA,D.concat=AA,D.cond=Y_,D.conforms=X_,D.constant=zl,D.countBy=BC,D.create=K3,D.curry=Vg,D.curryRight=qg,D.debounce=Wg,D.defaults=H3,D.defaultsDeep=z3,D.defer=n3,D.delay=r3,D.difference=CA,D.differenceBy=_A,D.differenceWith=kA,D.drop=TA,D.dropRight=IA,D.dropRightWhile=OA,D.dropWhile=FA,D.fill=BA,D.filter=PC,D.flatMap=jC,D.flatMapDeep=NC,D.flatMapDepth=$C,D.flatten=Bg,D.flattenDeep=DA,D.flattenDepth=PA,D.flip=i3,D.flow=Z_,D.flowRight=e8,D.fromPairs=RA,D.functions=e_,D.functionsIn=t_,D.groupBy=MC,D.initial=jA,D.intersection=NA,D.intersectionBy=$A,D.intersectionWith=MA,D.invert=r_,D.invertBy=i_,D.invokeMap=VC,D.iteratee=Gl,D.keyBy=qC,D.keys=sn,D.keysIn=An,D.map=uu,D.mapKeys=o_,D.mapValues=a_,D.matches=t8,D.matchesProperty=n8,D.memoize=lu,D.merge=u_,D.mergeWith=e1,D.method=r8,D.methodOf=i8,D.mixin=Jl,D.negate=fu,D.nthArg=o8,D.omit=c_,D.omitBy=l_,D.once=s3,D.orderBy=WC,D.over=a8,D.overArgs=o3,D.overEvery=u8,D.overSome=c8,D.partial=Ul,D.partialRight=Kg,D.partition=KC,D.pick=f_,D.pickBy=t1,D.property=u1,D.propertyOf=l8,D.pull=WA,D.pullAll=Pg,D.pullAllBy=KA,D.pullAllWith=HA,D.pullAt=zA,D.range=f8,D.rangeRight=h8,D.rearg=a3,D.reject=GC,D.remove=GA,D.rest=u3,D.reverse=Nl,D.sampleSize=YC,D.set=d_,D.setWith=p_,D.shuffle=XC,D.slice=JA,D.sortBy=e3,D.sortedUniq=nC,D.sortedUniqBy=rC,D.split=j_,D.spread=c3,D.tail=iC,D.take=sC,D.takeRight=oC,D.takeRightWhile=aC,D.takeWhile=uC,D.tap=SC,D.throttle=l3,D.thru=au,D.toArray=Yg,D.toPairs=n1,D.toPairsIn=r1,D.toPath=m8,D.toPlainObject=Qg,D.transform=g_,D.unary=f3,D.union=cC,D.unionBy=lC,D.unionWith=fC,D.uniq=hC,D.uniqBy=dC,D.uniqWith=pC,D.unset=y_,D.unzip=$l,D.unzipWith=Rg,D.update=m_,D.updateWith=b_,D.values=Cs,D.valuesIn=w_,D.without=gC,D.words=o1,D.wrap=h3,D.xor=yC,D.xorBy=mC,D.xorWith=bC,D.zip=wC,D.zipObject=vC,D.zipObjectDeep=xC,D.zipWith=EC,D.entries=n1,D.entriesIn=r1,D.extend=Zg,D.extendWith=pu,Jl(D,D),D.add=w8,D.attempt=a1,D.camelCase=S_,D.capitalize=i1,D.ceil=v8,D.clamp=v_,D.clone=p3,D.cloneDeep=y3,D.cloneDeepWith=m3,D.cloneWith=g3,D.conformsTo=b3,D.deburr=s1,D.defaultTo=Q_,D.divide=x8,D.endsWith=A_,D.eq=ar,D.escape=C_,D.escapeRegExp=__,D.every=DC,D.find=RC,D.findIndex=Og,D.findKey=G3,D.findLast=LC,D.findLastIndex=Fg,D.findLastKey=J3,D.floor=E8,D.forEach=jg,D.forEachRight=Ng,D.forIn=Y3,D.forInRight=X3,D.forOwn=Q3,D.forOwnRight=Z3,D.get=Wl,D.gt=w3,D.gte=v3,D.has=n_,D.hasIn=Kl,D.head=Dg,D.identity=Cn,D.includes=UC,D.indexOf=LA,D.inRange=x_,D.invoke=s_,D.isArguments=Bi,D.isArray=We,D.isArrayBuffer=x3,D.isArrayLike=Sn,D.isArrayLikeObject=Gt,D.isBoolean=E3,D.isBuffer=oi,D.isDate=S3,D.isElement=A3,D.isEmpty=C3,D.isEqual=_3,D.isEqualWith=k3,D.isError=Vl,D.isFinite=T3,D.isFunction=Lr,D.isInteger=Hg,D.isLength=hu,D.isMap=zg,D.isMatch=I3,D.isMatchWith=O3,D.isNaN=F3,D.isNative=B3,D.isNil=P3,D.isNull=D3,D.isNumber=Gg,D.isObject=jt,D.isObjectLike=Nt,D.isPlainObject=Ao,D.isRegExp=ql,D.isSafeInteger=R3,D.isSet=Jg,D.isString=du,D.isSymbol=Dn,D.isTypedArray=As,D.isUndefined=L3,D.isWeakMap=j3,D.isWeakSet=N3,D.join=UA,D.kebabCase=k_,D.last=Jn,D.lastIndexOf=VA,D.lowerCase=T_,D.lowerFirst=I_,D.lt=$3,D.lte=M3,D.max=S8,D.maxBy=A8,D.mean=C8,D.meanBy=_8,D.min=k8,D.minBy=T8,D.stubArray=Xl,D.stubFalse=Ql,D.stubObject=d8,D.stubString=p8,D.stubTrue=g8,D.multiply=I8,D.nth=qA,D.noConflict=s8,D.noop=Yl,D.now=cu,D.pad=O_,D.padEnd=F_,D.padStart=B_,D.parseInt=D_,D.random=E_,D.reduce=HC,D.reduceRight=zC,D.repeat=P_,D.replace=R_,D.result=h_,D.round=O8,D.runInContext=H,D.sample=JC,D.size=QC,D.snakeCase=L_,D.some=ZC,D.sortedIndex=YA,D.sortedIndexBy=XA,D.sortedIndexOf=QA,D.sortedLastIndex=ZA,D.sortedLastIndexBy=eC,D.sortedLastIndexOf=tC,D.startCase=N_,D.startsWith=$_,D.subtract=F8,D.sum=B8,D.sumBy=D8,D.template=M_,D.times=y8,D.toFinite=jr,D.toInteger=Je,D.toLength=Xg,D.toLower=U_,D.toNumber=Yn,D.toSafeInteger=U3,D.toString=vt,D.toUpper=V_,D.trim=q_,D.trimEnd=W_,D.trimStart=K_,D.truncate=H_,D.unescape=z_,D.uniqueId=b8,D.upperCase=G_,D.upperFirst=Hl,D.each=jg,D.eachRight=Ng,D.first=Dg,Jl(D,function(){var r={};return mr(D,function(s,c){xt.call(D.prototype,c)||(r[c]=s)}),r}(),{chain:!1}),D.VERSION=i,Wn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){D[r].placeholder=D}),Wn(["drop","take"],function(r,s){ot.prototype[r]=function(c){c=c===n?1:tn(Je(c),0);var m=this.__filtered__&&!s?new ot(this):this.clone();return m.__filtered__?m.__takeCount__=fn(c,m.__takeCount__):m.__views__.push({size:fn(c,ge),type:r+(m.__dir__<0?"Right":"")}),m},ot.prototype[r+"Right"]=function(c){return this.reverse()[r](c).reverse()}}),Wn(["filter","map","takeWhile"],function(r,s){var c=s+1,m=c==Se||c==De;ot.prototype[r]=function(k){var P=this.clone();return P.__iteratees__.push({iteratee:Pe(k,3),type:c}),P.__filtered__=P.__filtered__||m,P}}),Wn(["head","last"],function(r,s){var c="take"+(s?"Right":"");ot.prototype[r]=function(){return this[c](1).value()[0]}}),Wn(["initial","tail"],function(r,s){var c="drop"+(s?"":"Right");ot.prototype[r]=function(){return this.__filtered__?new ot(this):this[c](1)}}),ot.prototype.compact=function(){return this.filter(Cn)},ot.prototype.find=function(r){return this.filter(r).head()},ot.prototype.findLast=function(r){return this.reverse().find(r)},ot.prototype.invokeMap=tt(function(r,s){return typeof r=="function"?new ot(this):this.map(function(c){return bo(c,r,s)})}),ot.prototype.reject=function(r){return this.filter(fu(Pe(r)))},ot.prototype.slice=function(r,s){r=Je(r);var c=this;return c.__filtered__&&(r>0||s<0)?new ot(c):(r<0?c=c.takeRight(-r):r&&(c=c.drop(r)),s!==n&&(s=Je(s),c=s<0?c.dropRight(-s):c.take(s-r)),c)},ot.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},ot.prototype.toArray=function(){return this.take(ge)},mr(ot.prototype,function(r,s){var c=/^(?:filter|find|map|reject)|While$/.test(s),m=/^(?:head|last)$/.test(s),k=D[m?"take"+(s=="last"?"Right":""):s],P=m||/^find/.test(s);k&&(D.prototype[s]=function(){var $=this.__wrapped__,U=m?[1]:arguments,z=$ instanceof ot,se=U[0],oe=z||We($),ae=function(it){var at=k.apply(D,Zr([it],U));return m&&me?at[0]:at};oe&&c&&typeof se=="function"&&se.length!=1&&(z=oe=!1);var me=this.__chain__,ke=!!this.__actions__.length,je=P&&!me,et=z&&!ke;if(!P&&oe){$=et?$:new ot(this);var Ne=r.apply($,U);return Ne.__actions__.push({func:au,args:[ae],thisArg:n}),new Hn(Ne,me)}return je&&et?r.apply(this,U):(Ne=this.thru(ae),je?m?Ne.value()[0]:Ne.value():Ne)})}),Wn(["pop","push","shift","sort","splice","unshift"],function(r){var s=Da[r],c=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",m=/^(?:pop|shift)$/.test(r);D.prototype[r]=function(){var k=arguments;if(m&&!this.__chain__){var P=this.value();return s.apply(We(P)?P:[],k)}return this[c](function($){return s.apply(We($)?$:[],k)})}}),mr(ot.prototype,function(r,s){var c=D[s];if(c){var m=c.name+"";xt.call(ws,m)||(ws[m]=[]),ws[m].push({name:s,func:c})}}),ws[eu(n,T).name]=[{name:"wrapper",func:n}],ot.prototype.clone=zE,ot.prototype.reverse=GE,ot.prototype.value=JE,D.prototype.at=AC,D.prototype.chain=CC,D.prototype.commit=_C,D.prototype.next=kC,D.prototype.plant=IC,D.prototype.reverse=OC,D.prototype.toJSON=D.prototype.valueOf=D.prototype.value=FC,D.prototype.first=D.prototype.head,lo&&(D.prototype[lo]=TC),D},ys=_E();Ai?((Ai.exports=ys)._=ys,Gc._=ys):un._=ys}).call(Xn)}(Xo,Xo.exports);var qr=Xo.exports;const Mt=mu(qr),t2={ShortenedText:He.div`
163
+ max-width: ${({$maxWidth:e})=>e}px;
164
+ overflow: hidden;
165
+ white-space: nowrap;
166
+ text-overflow: ellipsis;
167
+ `},Hi=({text:e,trimLength:t,maxWidth:n=200})=>{if(t){const i=e.substring(0,t);return x.jsx(V.Tooltip,{title:e,placement:"top",children:i})}return x.jsx(V.Tooltip,{title:e,children:x.jsx(t2.ShortenedText,{$maxWidth:n,children:e})})},n2=({setSelectedKeys:e,selectedKeys:t,confirm:n,clearFilters:i,close:o})=>{const a=(l,f)=>{f({closeDropdown:!1})},u=l=>{l()};return x.jsxs("div",{style:{padding:8},onKeyDown:l=>l.stopPropagation(),children:[x.jsx(V.Input,{placeholder:"search",value:t[0],onChange:l=>{e(l.target.value?[l.target.value]:[]),a(l.target.value?[l.target.value]:[],n)},onPressEnter:()=>a(t,n),style:{marginBottom:8,display:"block"}}),x.jsxs(V.Space,{children:[x.jsx(V.Button,{onClick:()=>{i&&(i(),u(i)),a([],n)},size:"small",style:{width:90},children:"Reset"}),x.jsx(V.Button,{type:"link",size:"small",onClick:()=>{o()},children:"close"})]})]})},r2=He.div`
168
+ td {
169
+ cursor: ${({$isCursorPointer:e})=>e&&"pointer"};
170
+ }
171
+
172
+ && .ant-table-container {
173
+ border: ${({$borderless:e,$isDark:t})=>e?"0":t?" 1px solid rgba(255, 255, 255, 0.10)":" 1px solid #EAEAEC"};
174
+ border-bottom: 0;
175
+ }
176
+
177
+ && .ant-table-cell {
178
+ font-size: 14px;
179
+ line-height: 22px;
180
+ padding: 10px 16px;
181
+ }
182
+
183
+ && thead .ant-table-cell {
184
+ padding: 10px 16px;
185
+ }
186
+
187
+ && .controls {
188
+ padding: 9px 12px;
189
+ }
190
+
191
+ && .ant-table-pagination {
192
+ border: ${({$borderless:e,$isDark:t})=>e?"0":t?"1px solid rgba(255, 255, 255, 0.10)":"1px solid #EAEAEC"};
193
+ border-radius: 0 0 8px 8px;
194
+ border-top: 0;
195
+ margin: 0;
196
+ padding: 8px 16px;
197
+ }
198
+
199
+ && .ant-pagination-total-text {
200
+ position: ${({$isTotalLeft:e})=>e?"initial":"absolute"};
201
+ right: 16px;
202
+ }
203
+
204
+ && .ant-table-expanded-row-fixed {
205
+ width: auto !important;
206
+ }
207
+ `,i2=He.div`
208
+ && .ant-table-row .hideable {
209
+ display: none;
210
+ }
211
+
212
+ && .ant-table-row:hover .hideable {
213
+ display: grid;
214
+ grid-template-columns: repeat(2, 1fr);
215
+ column-gap: 4px;
216
+ }
217
+ `,jh={TableContainer:r2,HideableControls:i2},Nh=He(V.Button)`
218
+ height: 24px !important;
219
+ `,s2=He.div`
220
+ text-align: ${({$align:e})=>e};
221
+ `,$h=({tags:e,trimLength:t})=>{const n=i=>i.map(o=>x.jsx(V.Tag,{style:{margin:0,flexShrink:0},children:o},o));return t&&t<e.length?x.jsxs(V.Flex,{wrap:"nowrap",gap:"4px",children:[n(e.slice(0,t)),x.jsx(V.Tooltip,{title:x.jsx(x.Fragment,{children:n(e.slice(t))}),children:x.jsxs(V.Tag,{children:["+",e.length-t]},"more")})]}):x.jsx(V.Flex,{wrap:"nowrap",gap:"4px",children:n(e)})},Mh=e=>Object.entries(e).every(([,t])=>t===null||typeof t!="object"),Uh=({columns:e,additionalPrinterColumnsUndefinedValues:t,additionalPrinterColumnsTrimLengths:n,additionalPrinterColumnsColWidths:i})=>{if(e)return e.map(o=>{const a=t?.find(({key:f})=>f===o.key)?.value,u=n?.find(({key:f})=>f===o.key)?.value,l=i?.find(({key:f})=>f===o.key)?.value;return{...o,render:f=>f===null?x.jsx("div",{children:"null"}):typeof f=="object"&&!Array.isArray(f)?Mh(f)?x.jsx($h,{tags:Object.entries(f).map(([h,d])=>`${h}: ${String(d)}`),trimLength:u}):x.jsx(Hi,{trimLength:u,text:JSON.stringify(f)}):Array.isArray(f)?f.every(h=>h&&!Array.isArray(h))?x.jsx($h,{tags:f.map(h=>h?h.toLocaleString():"null"),trimLength:u}):x.jsx(Hi,{trimLength:u,text:f.join(", ")}):typeof f=="boolean"?f?x.jsx(wn.CheckOutlined,{style:{color:"green"}}):x.jsx(wn.CloseOutlined,{style:{color:"red"}}):typeof f=="number"?x.jsx(Hi,{trimLength:u,text:String(f)}):typeof f=="string"?x.jsx(Hi,{trimLength:u,text:f}):f===void 0&&o.key&&t&&a?x.jsx(Hi,{trimLength:u,text:a}):x.jsx(Hi,{trimLength:u,text:`Raw: ${JSON.stringify(f)}`}),width:l,filterDropdown:({setSelectedKeys:f,selectedKeys:h,confirm:d,clearFilters:g,close:v})=>x.jsx(n2,{setSelectedKeys:f,selectedKeys:h,confirm:d,clearFilters:g,close:v}),filterIcon:f=>x.jsx(wn.SearchOutlined,{style:{color:f?"#1677ff":void 0}}),onFilter:(f,h)=>{const{dataIndex:d}=o,g=Array.isArray(d)?qr.get(h,d):h[d];if(typeof g=="object"&&!Array.isArray(g))return JSON.stringify(g).toLowerCase().includes(f.toLowerCase());if(Array.isArray(g))return g.some(v=>v.toLowerCase().includes(f.toLowerCase()));if(typeof g=="boolean"){const v=f.toLowerCase()==="true";return g===v}return typeof g=="number"?String(g).includes(f.toLowerCase()):typeof g=="string"?g.toLowerCase().includes(f.toLowerCase()):!1},sorter:(f,h)=>{const{dataIndex:d}=o,g=Array.isArray(d)?qr.get(f,d):f[d],v=Array.isArray(d)?qr.get(h,d):h[d];return typeof g=="object"&&!Array.isArray(g)&&g!==null?typeof v=="object"&&!Array.isArray(v)&&v!==null?Object.keys(g).length-Object.keys(v).length:Object.keys(g).length?-1:1:Array.isArray(g)?Array.isArray(v)?g.length-v.length:g.length?-1:1:typeof g=="boolean"?g===v?0:g?-1:1:typeof g=="number"?typeof v=="number"?g-v:g?-1:1:typeof g=="string"?typeof v=="string"?g.localeCompare(v):g?-1:1:0}}})},Vh=({enrichedColumns:e,navigate:t,baseprefix:n,editIcon:i,deleteIcon:o})=>{if(e)return[...e,{title:"",dataIndex:"internalDataForControls",key:"controls",className:"controls",width:120,render:a=>x.jsxs(s2,{$align:"right",className:"hideable",children:[x.jsx(Nh,{type:"text",size:"small",onClick:u=>{u.stopPropagation(),t(`${n}/${a.cluster}${a.namespace?`/${a.namespace}`:""}${a.syntheticProject?`/${a.syntheticProject}`:""}/${a.pathPrefix}/${a.apiGroupAndVersion}/${a.typeName}/${a.entryName}?backlink=${a.backlink}`)},icon:i||x.jsx(wn.EditOutlined,{size:14}),disabled:!a.permissions.canUpdate}),x.jsx(Nh,{type:"text",size:"small",onClick:u=>{u.stopPropagation(),a.onDeleteHandle(a.entryName,`${a.deletePathPrefix}/${a.apiGroupAndVersion}${a.namespace?`/namespaces/${a.namespace}`:""}/${a.typeName}/${a.entryName}`)},icon:o||x.jsx(wn.DeleteOutlined,{size:14}),disabled:!a.permissions.canDelete})]})}]},qh=({theme:e,baseprefix:t,dataSource:n,columns:i,pathToNavigate:o,recordKeysForNavigation:a,additionalPrinterColumnsUndefinedValues:u,additionalPrinterColumnsTrimLengths:l,additionalPrinterColumnsColWidths:f,selectData:h,withoutControls:d=!1,tableProps:g})=>{const v=vr.useNavigate();if(!i)return null;const C=Uh({columns:i,additionalPrinterColumnsUndefinedValues:u,additionalPrinterColumnsTrimLengths:l,additionalPrinterColumnsColWidths:f});if(!C)return null;const S=d?C:Vh({enrichedColumns:C,navigate:v,baseprefix:t,editIcon:g?.editIcon,deleteIcon:g?.deleteIcon});if(!S)return null;const E=w=>`Total: ${w}`;return x.jsx(jh.TableContainer,{$isDark:e==="dark",$isCursorPointer:!!o,$borderless:g?.borderless,$isTotalLeft:g?.isTotalLeft,children:x.jsx(jh.HideableControls,{children:x.jsx(V.Table,{dataSource:n,columns:S,pagination:{position:g?.paginationPosition||["bottomLeft"],showSizeChanger:!0,defaultPageSize:10,hideOnSinglePage:!1,showTotal:E},scroll:{x:"max-content"},rowSelection:h?{type:"checkbox",selectedRowKeys:h.selectedRowKeys,onChange:(w,T)=>{h.onChange(w,T.map(({internalDataForControls:j})=>({name:j.entryName,endpoint:`${j.deletePathPrefix}/${j.apiGroupAndVersion}${j.namespace?`/namespaces/${j.namespace}`:""}/${j.typeName}/${j.entryName}`})))}}:void 0,onRow:w=>({onClick:()=>{if(o&&a){const T=qr.get(w,a),j=typeof T=="string"?T:JSON.stringify(T),R=o.replaceAll("~recordValue~",j);v(R)}}})})})})};function Qo(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Wh={exports:{}};/*! jsonpath 1.1.1 */(function(e,t){(function(n){e.exports=n()})(function(){return function n(i,o,a){function u(h,d){if(!o[h]){if(!i[h]){var g=typeof Qo=="function"&&Qo;if(!d&&g)return g(h,!0);if(l)return l(h,!0);var v=new Error("Cannot find module '"+h+"'");throw v.code="MODULE_NOT_FOUND",v}var C=o[h]={exports:{}};i[h][0].call(C.exports,function(S){var E=i[h][1][S];return u(E||S)},C,C.exports,n,i,o,a)}return o[h].exports}for(var l=typeof Qo=="function"&&Qo,f=0;f<a.length;f++)u(a[f]);return u}({"./aesprim":[function(n,i,o){(function(a,u){u(typeof o<"u"?o:a.esprima={})})(this,function(a){var u,l,f,h,d,g,v,C,S,E,w,T,j,R,_,O,F,B;u={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},l={},l[u.BooleanLiteral]="Boolean",l[u.EOF]="<end>",l[u.Identifier]="Identifier",l[u.Keyword]="Keyword",l[u.NullLiteral]="Null",l[u.NumericLiteral]="Numeric",l[u.Punctuator]="Punctuator",l[u.StringLiteral]="String",l[u.RegularExpression]="RegularExpression",f=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],h={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},d={Data:1,Get:2,Set:4},g={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},v={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")};function W(p,A){if(!p)throw new Error("ASSERT: "+A)}function J(p){return p>=48&&p<=57}function fe(p){return"0123456789abcdefABCDEF".indexOf(p)>=0}function le(p){return"01234567".indexOf(p)>=0}function de(p){return p===32||p===9||p===11||p===12||p===160||p>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(p)>=0}function be(p){return p===10||p===13||p===8232||p===8233}function Se(p){return p==64||p===36||p===95||p>=65&&p<=90||p>=97&&p<=122||p===92||p>=128&&v.NonAsciiIdentifierStart.test(String.fromCharCode(p))}function pe(p){return p===36||p===95||p>=65&&p<=90||p>=97&&p<=122||p>=48&&p<=57||p===92||p>=128&&v.NonAsciiIdentifierPart.test(String.fromCharCode(p))}function De(p){switch(p){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function Re(p){switch(p){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function Te(p){return p==="eval"||p==="arguments"}function Xe(p){if(E&&Re(p))return!0;switch(p.length){case 2:return p==="if"||p==="in"||p==="do";case 3:return p==="var"||p==="for"||p==="new"||p==="try"||p==="let";case 4:return p==="this"||p==="else"||p==="case"||p==="void"||p==="with"||p==="enum";case 5:return p==="while"||p==="break"||p==="catch"||p==="throw"||p==="const"||p==="yield"||p==="class"||p==="super";case 6:return p==="return"||p==="typeof"||p==="delete"||p==="switch"||p==="export"||p==="import";case 7:return p==="default"||p==="finally"||p==="extends";case 8:return p==="function"||p==="continue"||p==="debugger";case 10:return p==="instanceof";default:return!1}}function ve(p,A,N,K,ne){var he;W(typeof N=="number","Comment must have valid position"),!(F.lastCommentStart>=N)&&(F.lastCommentStart=N,he={type:p,value:A},B.range&&(he.range=[N,K]),B.loc&&(he.loc=ne),B.comments.push(he),B.attachComment&&(B.leadingComments.push(he),B.trailingComments.push(he)))}function ge(p){var A,N,K,ne;for(A=w-p,N={start:{line:T,column:w-j-p}};w<R;)if(K=S.charCodeAt(w),++w,be(K)){B.comments&&(ne=S.slice(A+p,w-1),N.end={line:T,column:w-j-1},ve("Line",ne,A,w-1,N)),K===13&&S.charCodeAt(w)===10&&++w,++T,j=w;return}B.comments&&(ne=S.slice(A+p,w),N.end={line:T,column:w-j},ve("Line",ne,A,w,N))}function Ke(){var p,A,N,K;for(B.comments&&(p=w-2,A={start:{line:T,column:w-j-2}});w<R;)if(N=S.charCodeAt(w),be(N))N===13&&S.charCodeAt(w+1)===10&&++w,++T,++w,j=w,w>=R&&Ce({},g.UnexpectedToken,"ILLEGAL");else if(N===42){if(S.charCodeAt(w+1)===47){++w,++w,B.comments&&(K=S.slice(p+2,w-2),A.end={line:T,column:w-j},ve("Block",K,p,w,A));return}++w}else++w;Ce({},g.UnexpectedToken,"ILLEGAL")}function Y(){var p,A;for(A=w===0;w<R;)if(p=S.charCodeAt(w),de(p))++w;else if(be(p))++w,p===13&&S.charCodeAt(w)===10&&++w,++T,j=w,A=!0;else if(p===47)if(p=S.charCodeAt(w+1),p===47)++w,++w,ge(2),A=!0;else if(p===42)++w,++w,Ke();else break;else if(A&&p===45)if(S.charCodeAt(w+1)===45&&S.charCodeAt(w+2)===62)w+=3,ge(3);else break;else if(p===60)if(S.slice(w+1,w+4)==="!--")++w,++w,++w,++w,ge(4);else break;else break}function X(p){var A,N,K,ne=0;for(N=p==="u"?4:2,A=0;A<N;++A)if(w<R&&fe(S[w]))K=S[w++],ne=ne*16+"0123456789abcdef".indexOf(K.toLowerCase());else return"";return String.fromCharCode(ne)}function re(){var p,A;for(p=S.charCodeAt(w++),A=String.fromCharCode(p),p===92&&(S.charCodeAt(w)!==117&&Ce({},g.UnexpectedToken,"ILLEGAL"),++w,p=X("u"),(!p||p==="\\"||!Se(p.charCodeAt(0)))&&Ce({},g.UnexpectedToken,"ILLEGAL"),A=p);w<R&&(p=S.charCodeAt(w),!!pe(p));)++w,A+=String.fromCharCode(p),p===92&&(A=A.substr(0,A.length-1),S.charCodeAt(w)!==117&&Ce({},g.UnexpectedToken,"ILLEGAL"),++w,p=X("u"),(!p||p==="\\"||!pe(p.charCodeAt(0)))&&Ce({},g.UnexpectedToken,"ILLEGAL"),A+=p);return A}function _e(){var p,A;for(p=w++;w<R;){if(A=S.charCodeAt(w),A===92)return w=p,re();if(pe(A))++w;else break}return S.slice(p,w)}function ze(){var p,A,N;return p=w,A=S.charCodeAt(w)===92?re():_e(),A.length===1?N=u.Identifier:Xe(A)?N=u.Keyword:A==="null"?N=u.NullLiteral:A==="true"||A==="false"?N=u.BooleanLiteral:N=u.Identifier,{type:N,value:A,lineNumber:T,lineStart:j,start:p,end:w}}function xe(){var p=w,A=S.charCodeAt(w),N,K=S[w],ne,he,Ge;switch(A){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++w,B.tokenize&&(A===40?B.openParenToken=B.tokens.length:A===123&&(B.openCurlyToken=B.tokens.length)),{type:u.Punctuator,value:String.fromCharCode(A),lineNumber:T,lineStart:j,start:p,end:w};default:if(N=S.charCodeAt(w+1),N===61)switch(A){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return w+=2,{type:u.Punctuator,value:String.fromCharCode(A)+String.fromCharCode(N),lineNumber:T,lineStart:j,start:p,end:w};case 33:case 61:return w+=2,S.charCodeAt(w)===61&&++w,{type:u.Punctuator,value:S.slice(p,w),lineNumber:T,lineStart:j,start:p,end:w}}}if(Ge=S.substr(w,4),Ge===">>>=")return w+=4,{type:u.Punctuator,value:Ge,lineNumber:T,lineStart:j,start:p,end:w};if(he=Ge.substr(0,3),he===">>>"||he==="<<="||he===">>=")return w+=3,{type:u.Punctuator,value:he,lineNumber:T,lineStart:j,start:p,end:w};if(ne=he.substr(0,2),K===ne[1]&&"+-<>&|".indexOf(K)>=0||ne==="=>")return w+=2,{type:u.Punctuator,value:ne,lineNumber:T,lineStart:j,start:p,end:w};if("<>=!+-*%&|^/".indexOf(K)>=0)return++w,{type:u.Punctuator,value:K,lineNumber:T,lineStart:j,start:p,end:w};Ce({},g.UnexpectedToken,"ILLEGAL")}function Fe(p){for(var A="";w<R&&fe(S[w]);)A+=S[w++];return A.length===0&&Ce({},g.UnexpectedToken,"ILLEGAL"),Se(S.charCodeAt(w))&&Ce({},g.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseInt("0x"+A,16),lineNumber:T,lineStart:j,start:p,end:w}}function Be(p){for(var A="0"+S[w++];w<R&&le(S[w]);)A+=S[w++];return(Se(S.charCodeAt(w))||J(S.charCodeAt(w)))&&Ce({},g.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseInt(A,8),octal:!0,lineNumber:T,lineStart:j,start:p,end:w}}function Le(){var p,A,N;if(N=S[w],W(J(N.charCodeAt(0))||N===".","Numeric literal must start with a decimal digit or a decimal point"),A=w,p="",N!=="."){if(p=S[w++],N=S[w],p==="0"){if(N==="x"||N==="X")return++w,Fe(A);if(le(N))return Be(A);N&&J(N.charCodeAt(0))&&Ce({},g.UnexpectedToken,"ILLEGAL")}for(;J(S.charCodeAt(w));)p+=S[w++];N=S[w]}if(N==="."){for(p+=S[w++];J(S.charCodeAt(w));)p+=S[w++];N=S[w]}if(N==="e"||N==="E")if(p+=S[w++],N=S[w],(N==="+"||N==="-")&&(p+=S[w++]),J(S.charCodeAt(w)))for(;J(S.charCodeAt(w));)p+=S[w++];else Ce({},g.UnexpectedToken,"ILLEGAL");return Se(S.charCodeAt(w))&&Ce({},g.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseFloat(p),lineNumber:T,lineStart:j,start:A,end:w}}function _t(){var p="",A,N,K,ne,he,Ge,mt=!1,Zt,zt;for(Zt=T,zt=j,A=S[w],W(A==="'"||A==='"',"String literal must starts with a quote"),N=w,++w;w<R;)if(K=S[w++],K===A){A="";break}else if(K==="\\")if(K=S[w++],!K||!be(K.charCodeAt(0)))switch(K){case"u":case"x":Ge=w,he=X(K),he?p+=he:(w=Ge,p+=K);break;case"n":p+=`
222
+ `;break;case"r":p+="\r";break;case"t":p+=" ";break;case"b":p+="\b";break;case"f":p+="\f";break;case"v":p+="\v";break;default:le(K)?(ne="01234567".indexOf(K),ne!==0&&(mt=!0),w<R&&le(S[w])&&(mt=!0,ne=ne*8+"01234567".indexOf(S[w++]),"0123".indexOf(K)>=0&&w<R&&le(S[w])&&(ne=ne*8+"01234567".indexOf(S[w++]))),p+=String.fromCharCode(ne)):p+=K;break}else++T,K==="\r"&&S[w]===`
223
+ `&&++w,j=w;else{if(be(K.charCodeAt(0)))break;p+=K}return A!==""&&Ce({},g.UnexpectedToken,"ILLEGAL"),{type:u.StringLiteral,value:p,octal:mt,startLineNumber:Zt,startLineStart:zt,lineNumber:T,lineStart:j,start:N,end:w}}function rn(p,A){var N;try{N=new RegExp(p,A)}catch{Ce({},g.InvalidRegExp)}return N}function Pt(){var p,A,N,K,ne;for(p=S[w],W(p==="/","Regular expression literal must start with a slash"),A=S[w++],N=!1,K=!1;w<R;)if(p=S[w++],A+=p,p==="\\")p=S[w++],be(p.charCodeAt(0))&&Ce({},g.UnterminatedRegExp),A+=p;else if(be(p.charCodeAt(0)))Ce({},g.UnterminatedRegExp);else if(N)p==="]"&&(N=!1);else if(p==="/"){K=!0;break}else p==="["&&(N=!0);return K||Ce({},g.UnterminatedRegExp),ne=A.substr(1,A.length-2),{value:ne,literal:A}}function Rt(){var p,A,N,K;for(A="",N="";w<R&&(p=S[w],!!pe(p.charCodeAt(0)));)if(++w,p==="\\"&&w<R)if(p=S[w],p==="u"){if(++w,K=w,p=X("u"),p)for(N+=p,A+="\\u";K<w;++K)A+=S[K];else w=K,N+="u",A+="\\u";Oe({},g.UnexpectedToken,"ILLEGAL")}else A+="\\",Oe({},g.UnexpectedToken,"ILLEGAL");else N+=p,A+=p;return{value:N,literal:A}}function Lt(){var p,A,N,K;return O=null,Y(),p=w,A=Pt(),N=Rt(),K=rn(A.value,N.value),B.tokenize?{type:u.RegularExpression,value:K,lineNumber:T,lineStart:j,start:p,end:w}:{literal:A.literal+N.literal,value:K,start:p,end:w}}function wt(){var p,A,N,K;return Y(),p=w,A={start:{line:T,column:w-j}},N=Lt(),A.end={line:T,column:w-j},B.tokenize||(B.tokens.length>0&&(K=B.tokens[B.tokens.length-1],K.range[0]===p&&K.type==="Punctuator"&&(K.value==="/"||K.value==="/=")&&B.tokens.pop()),B.tokens.push({type:"RegularExpression",value:N.literal,range:[p,w],loc:A})),N}function kn(p){return p.type===u.Identifier||p.type===u.Keyword||p.type===u.BooleanLiteral||p.type===u.NullLiteral}function Ae(){var p,A;if(p=B.tokens[B.tokens.length-1],!p)return wt();if(p.type==="Punctuator"){if(p.value==="]")return xe();if(p.value===")")return A=B.tokens[B.openParenToken-1],A&&A.type==="Keyword"&&(A.value==="if"||A.value==="while"||A.value==="for"||A.value==="with")?wt():xe();if(p.value==="}"){if(B.tokens[B.openCurlyToken-3]&&B.tokens[B.openCurlyToken-3].type==="Keyword"){if(A=B.tokens[B.openCurlyToken-4],!A)return xe()}else if(B.tokens[B.openCurlyToken-4]&&B.tokens[B.openCurlyToken-4].type==="Keyword"){if(A=B.tokens[B.openCurlyToken-5],!A)return wt()}else return xe();return f.indexOf(A.value)>=0?xe():wt()}return wt()}return p.type==="Keyword"?wt():xe()}function Ue(){var p;return Y(),w>=R?{type:u.EOF,lineNumber:T,lineStart:j,start:w,end:w}:(p=S.charCodeAt(w),Se(p)?ze():p===40||p===41||p===59?xe():p===39||p===34?_t():p===46?J(S.charCodeAt(w+1))?Le():xe():J(p)?Le():B.tokenize&&p===47?Ae():xe())}function Qe(){var p,A,N;return Y(),p={start:{line:T,column:w-j}},A=Ue(),p.end={line:T,column:w-j},A.type!==u.EOF&&(N=S.slice(A.start,A.end),B.tokens.push({type:l[A.type],value:N,range:[A.start,A.end],loc:p})),A}function we(){var p;return p=O,w=p.end,T=p.lineNumber,j=p.lineStart,O=typeof B.tokens<"u"?Qe():Ue(),w=p.end,T=p.lineNumber,j=p.lineStart,p}function pt(){var p,A,N;p=w,A=T,N=j,O=typeof B.tokens<"u"?Qe():Ue(),w=p,T=A,j=N}function Wt(p,A){this.line=p,this.column=A}function Et(p,A,N,K){this.start=new Wt(p,A),this.end=new Wt(N,K)}C={name:"SyntaxTree",processComment:function(p){var A,N;if(!(p.type===h.Program&&p.body.length>0)){for(B.trailingComments.length>0?B.trailingComments[0].range[0]>=p.range[1]?(N=B.trailingComments,B.trailingComments=[]):B.trailingComments.length=0:B.bottomRightStack.length>0&&B.bottomRightStack[B.bottomRightStack.length-1].trailingComments&&B.bottomRightStack[B.bottomRightStack.length-1].trailingComments[0].range[0]>=p.range[1]&&(N=B.bottomRightStack[B.bottomRightStack.length-1].trailingComments,delete B.bottomRightStack[B.bottomRightStack.length-1].trailingComments);B.bottomRightStack.length>0&&B.bottomRightStack[B.bottomRightStack.length-1].range[0]>=p.range[0];)A=B.bottomRightStack.pop();A?A.leadingComments&&A.leadingComments[A.leadingComments.length-1].range[1]<=p.range[0]&&(p.leadingComments=A.leadingComments,delete A.leadingComments):B.leadingComments.length>0&&B.leadingComments[B.leadingComments.length-1].range[1]<=p.range[0]&&(p.leadingComments=B.leadingComments,B.leadingComments=[]),N&&(p.trailingComments=N),B.bottomRightStack.push(p)}},markEnd:function(p,A){return B.range&&(p.range=[A.start,w]),B.loc&&(p.loc=new Et(A.startLineNumber===void 0?A.lineNumber:A.startLineNumber,A.start-(A.startLineStart===void 0?A.lineStart:A.startLineStart),T,w-j),this.postProcess(p)),B.attachComment&&this.processComment(p),p},postProcess:function(p){return B.source&&(p.loc.source=B.source),p},createArrayExpression:function(p){return{type:h.ArrayExpression,elements:p}},createAssignmentExpression:function(p,A,N){return{type:h.AssignmentExpression,operator:p,left:A,right:N}},createBinaryExpression:function(p,A,N){var K=p==="||"||p==="&&"?h.LogicalExpression:h.BinaryExpression;return{type:K,operator:p,left:A,right:N}},createBlockStatement:function(p){return{type:h.BlockStatement,body:p}},createBreakStatement:function(p){return{type:h.BreakStatement,label:p}},createCallExpression:function(p,A){return{type:h.CallExpression,callee:p,arguments:A}},createCatchClause:function(p,A){return{type:h.CatchClause,param:p,body:A}},createConditionalExpression:function(p,A,N){return{type:h.ConditionalExpression,test:p,consequent:A,alternate:N}},createContinueStatement:function(p){return{type:h.ContinueStatement,label:p}},createDebuggerStatement:function(){return{type:h.DebuggerStatement}},createDoWhileStatement:function(p,A){return{type:h.DoWhileStatement,body:p,test:A}},createEmptyStatement:function(){return{type:h.EmptyStatement}},createExpressionStatement:function(p){return{type:h.ExpressionStatement,expression:p}},createForStatement:function(p,A,N,K){return{type:h.ForStatement,init:p,test:A,update:N,body:K}},createForInStatement:function(p,A,N){return{type:h.ForInStatement,left:p,right:A,body:N,each:!1}},createFunctionDeclaration:function(p,A,N,K){return{type:h.FunctionDeclaration,id:p,params:A,defaults:N,body:K,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(p,A,N,K){return{type:h.FunctionExpression,id:p,params:A,defaults:N,body:K,rest:null,generator:!1,expression:!1}},createIdentifier:function(p){return{type:h.Identifier,name:p}},createIfStatement:function(p,A,N){return{type:h.IfStatement,test:p,consequent:A,alternate:N}},createLabeledStatement:function(p,A){return{type:h.LabeledStatement,label:p,body:A}},createLiteral:function(p){return{type:h.Literal,value:p.value,raw:S.slice(p.start,p.end)}},createMemberExpression:function(p,A,N){return{type:h.MemberExpression,computed:p==="[",object:A,property:N}},createNewExpression:function(p,A){return{type:h.NewExpression,callee:p,arguments:A}},createObjectExpression:function(p){return{type:h.ObjectExpression,properties:p}},createPostfixExpression:function(p,A){return{type:h.UpdateExpression,operator:p,argument:A,prefix:!1}},createProgram:function(p){return{type:h.Program,body:p}},createProperty:function(p,A,N){return{type:h.Property,key:A,value:N,kind:p}},createReturnStatement:function(p){return{type:h.ReturnStatement,argument:p}},createSequenceExpression:function(p){return{type:h.SequenceExpression,expressions:p}},createSwitchCase:function(p,A){return{type:h.SwitchCase,test:p,consequent:A}},createSwitchStatement:function(p,A){return{type:h.SwitchStatement,discriminant:p,cases:A}},createThisExpression:function(){return{type:h.ThisExpression}},createThrowStatement:function(p){return{type:h.ThrowStatement,argument:p}},createTryStatement:function(p,A,N,K){return{type:h.TryStatement,block:p,guardedHandlers:A,handlers:N,finalizer:K}},createUnaryExpression:function(p,A){return p==="++"||p==="--"?{type:h.UpdateExpression,operator:p,argument:A,prefix:!0}:{type:h.UnaryExpression,operator:p,argument:A,prefix:!0}},createVariableDeclaration:function(p,A){return{type:h.VariableDeclaration,declarations:p,kind:A}},createVariableDeclarator:function(p,A){return{type:h.VariableDeclarator,id:p,init:A}},createWhileStatement:function(p,A){return{type:h.WhileStatement,test:p,body:A}},createWithStatement:function(p,A){return{type:h.WithStatement,object:p,body:A}}};function ht(){var p,A,N,K;return p=w,A=T,N=j,Y(),K=T!==A,w=p,T=A,j=N,K}function Ce(p,A){var N,K=Array.prototype.slice.call(arguments,2),ne=A.replace(/%(\d)/g,function(he,Ge){return W(Ge<K.length,"Message reference must be in range"),K[Ge]});throw typeof p.lineNumber=="number"?(N=new Error("Line "+p.lineNumber+": "+ne),N.index=p.start,N.lineNumber=p.lineNumber,N.column=p.start-j+1):(N=new Error("Line "+T+": "+ne),N.index=w,N.lineNumber=T,N.column=w-j+1),N.description=ne,N}function Oe(){try{Ce.apply(null,arguments)}catch(p){if(B.errors)B.errors.push(p);else throw p}}function Kt(p){if(p.type===u.EOF&&Ce(p,g.UnexpectedEOS),p.type===u.NumericLiteral&&Ce(p,g.UnexpectedNumber),p.type===u.StringLiteral&&Ce(p,g.UnexpectedString),p.type===u.Identifier&&Ce(p,g.UnexpectedIdentifier),p.type===u.Keyword){if(De(p.value))Ce(p,g.UnexpectedReserved);else if(E&&Re(p.value)){Oe(p,g.StrictReservedWord);return}Ce(p,g.UnexpectedToken,p.value)}Ce(p,g.UnexpectedToken,p.value)}function I(p){var A=we();(A.type!==u.Punctuator||A.value!==p)&&Kt(A)}function y(p){var A=we();(A.type!==u.Keyword||A.value!==p)&&Kt(A)}function b(p){return O.type===u.Punctuator&&O.value===p}function L(p){return O.type===u.Keyword&&O.value===p}function q(){var p;return O.type!==u.Punctuator?!1:(p=O.value,p==="="||p==="*="||p==="/="||p==="%="||p==="+="||p==="-="||p==="<<="||p===">>="||p===">>>="||p==="&="||p==="^="||p==="|=")}function G(){var p;if(S.charCodeAt(w)===59||b(";")){we();return}p=T,Y(),T===p&&O.type!==u.EOF&&!b("}")&&Kt(O)}function ee(p){return p.type===h.Identifier||p.type===h.MemberExpression}function Me(){var p=[],A;for(A=O,I("[");!b("]");)b(",")?(we(),p.push(null)):(p.push(gn()),b("]")||I(","));return we(),_.markEnd(_.createArrayExpression(p),A)}function gt(p,A){var N,K,ne;return N=E,ne=O,K=ls(),A&&E&&Te(p[0].name)&&Oe(A,g.StrictParamName),E=N,_.markEnd(_.createFunctionExpression(null,p,[],K),ne)}function ut(){var p,A;return A=O,p=we(),p.type===u.StringLiteral||p.type===u.NumericLiteral?(E&&p.octal&&Oe(p,g.StrictOctalLiteral),_.markEnd(_.createLiteral(p),A)):_.markEnd(_.createIdentifier(p.value),A)}function dt(){var p,A,N,K,ne,he;if(p=O,he=O,p.type===u.Identifier)return N=ut(),p.value==="get"&&!b(":")?(A=ut(),I("("),I(")"),K=gt([]),_.markEnd(_.createProperty("get",A,K),he)):p.value==="set"&&!b(":")?(A=ut(),I("("),p=O,p.type!==u.Identifier?(I(")"),Oe(p,g.UnexpectedToken,p.value),K=gt([])):(ne=[Ie()],I(")"),K=gt(ne,p)),_.markEnd(_.createProperty("set",A,K),he)):(I(":"),K=gn(),_.markEnd(_.createProperty("init",N,K),he));if(p.type===u.EOF||p.type===u.Punctuator)Kt(p);else return A=ut(),I(":"),K=gn(),_.markEnd(_.createProperty("init",A,K),he)}function st(){var p=[],A,N,K,ne,he={},Ge=String,mt;for(mt=O,I("{");!b("}");)A=dt(),A.key.type===h.Identifier?N=A.key.name:N=Ge(A.key.value),ne=A.kind==="init"?d.Data:A.kind==="get"?d.Get:d.Set,K="$"+N,Object.prototype.hasOwnProperty.call(he,K)?(he[K]===d.Data?E&&ne===d.Data?Oe({},g.StrictDuplicateProperty):ne!==d.Data&&Oe({},g.AccessorDataProperty):ne===d.Data?Oe({},g.AccessorDataProperty):he[K]&ne&&Oe({},g.AccessorGetSet),he[K]|=ne):he[K]=ne,p.push(A),b("}")||I(",");return I("}"),_.markEnd(_.createObjectExpression(p),mt)}function Gr(){var p;return I("("),p=M(),I(")"),p}function xi(){var p,A,N,K;if(b("("))return Gr();if(b("["))return Me();if(b("{"))return st();if(p=O.type,K=O,p===u.Identifier)N=_.createIdentifier(we().value);else if(p===u.StringLiteral||p===u.NumericLiteral)E&&O.octal&&Oe(O,g.StrictOctalLiteral),N=_.createLiteral(we());else if(p===u.Keyword){if(L("function"))return Hc();L("this")?(we(),N=_.createThisExpression()):Kt(we())}else p===u.BooleanLiteral?(A=we(),A.value=A.value==="true",N=_.createLiteral(A)):p===u.NullLiteral?(A=we(),A.value=null,N=_.createLiteral(A)):b("/")||b("/=")?(typeof B.tokens<"u"?N=_.createLiteral(wt()):N=_.createLiteral(Lt()),pt()):Kt(we());return _.markEnd(N,K)}function as(){var p=[];if(I("("),!b(")"))for(;w<R&&(p.push(gn()),!b(")"));)I(",");return I(")"),p}function us(){var p,A;return A=O,p=we(),kn(p)||Kt(p),_.markEnd(_.createIdentifier(p.value),A)}function cs(){return I("."),us()}function Jr(){var p;return I("["),p=M(),I("]"),p}function Ei(){var p,A,N;return N=O,y("new"),p=ro(),A=b("(")?as():[],_.markEnd(_.createNewExpression(p,A),N)}function no(){var p,A,N,K,ne;for(ne=O,p=F.allowIn,F.allowIn=!0,A=L("new")?Ei():xi(),F.allowIn=p;;){if(b("."))K=cs(),A=_.createMemberExpression(".",A,K);else if(b("("))N=as(),A=_.createCallExpression(A,N);else if(b("["))K=Jr(),A=_.createMemberExpression("[",A,K);else break;_.markEnd(A,ne)}return A}function ro(){var p,A,N,K;for(K=O,p=F.allowIn,A=L("new")?Ei():xi(),F.allowIn=p;b(".")||b("[");)b("[")?(N=Jr(),A=_.createMemberExpression("[",A,N)):(N=cs(),A=_.createMemberExpression(".",A,N)),_.markEnd(A,K);return A}function Ir(){var p,A,N=O;return p=no(),O.type===u.Punctuator&&(b("++")||b("--"))&&!ht()&&(E&&p.type===h.Identifier&&Te(p.name)&&Oe({},g.StrictLHSPostfix),ee(p)||Oe({},g.InvalidLHSInAssignment),A=we(),p=_.markEnd(_.createPostfixExpression(A.value,p),N)),p}function rr(){var p,A,N;return O.type!==u.Punctuator&&O.type!==u.Keyword?A=Ir():b("++")||b("--")?(N=O,p=we(),A=rr(),E&&A.type===h.Identifier&&Te(A.name)&&Oe({},g.StrictLHSPrefix),ee(A)||Oe({},g.InvalidLHSInAssignment),A=_.createUnaryExpression(p.value,A),A=_.markEnd(A,N)):b("+")||b("-")||b("~")||b("!")?(N=O,p=we(),A=rr(),A=_.createUnaryExpression(p.value,A),A=_.markEnd(A,N)):L("delete")||L("void")||L("typeof")?(N=O,p=we(),A=rr(),A=_.createUnaryExpression(p.value,A),A=_.markEnd(A,N),E&&A.operator==="delete"&&A.argument.type===h.Identifier&&Oe({},g.StrictDelete)):A=Ir(),A}function Yr(p,A){var N=0;if(p.type!==u.Punctuator&&p.type!==u.Keyword)return 0;switch(p.value){case"||":N=1;break;case"&&":N=2;break;case"|":N=3;break;case"^":N=4;break;case"&":N=5;break;case"==":case"!=":case"===":case"!==":N=6;break;case"<":case">":case"<=":case">=":case"instanceof":N=7;break;case"in":N=A?7:0;break;case"<<":case">>":case">>>":N=8;break;case"+":case"-":N=9;break;case"*":case"/":case"%":N=11;break}return N}function io(){var p,A,N,K,ne,he,Ge,mt,Zt,zt;if(p=O,Zt=rr(),K=O,ne=Yr(K,F.allowIn),ne===0)return Zt;for(K.prec=ne,we(),A=[p,O],Ge=rr(),he=[Zt,K,Ge];(ne=Yr(O,F.allowIn))>0;){for(;he.length>2&&ne<=he[he.length-2].prec;)Ge=he.pop(),mt=he.pop().value,Zt=he.pop(),N=_.createBinaryExpression(mt,Zt,Ge),A.pop(),p=A[A.length-1],_.markEnd(N,p),he.push(N);K=we(),K.prec=ne,he.push(K),A.push(O),N=rr(),he.push(N)}for(zt=he.length-1,N=he[zt],A.pop();zt>1;)N=_.createBinaryExpression(he[zt-1].value,he[zt-2],N),zt-=2,p=A.pop(),_.markEnd(N,p);return N}function so(){var p,A,N,K,ne;return ne=O,p=io(),b("?")&&(we(),A=F.allowIn,F.allowIn=!0,N=gn(),F.allowIn=A,I(":"),K=gn(),p=_.createConditionalExpression(p,N,K),_.markEnd(p,ne)),p}function gn(){var p,A,N,K,ne;return p=O,ne=O,K=A=so(),q()&&(ee(A)||Oe({},g.InvalidLHSInAssignment),E&&A.type===h.Identifier&&Te(A.name)&&Oe(p,g.StrictLHSAssignment),p=we(),N=gn(),K=_.markEnd(_.createAssignmentExpression(p.value,A,N),ne)),K}function M(){var p,A=O;if(p=gn(),b(",")){for(p=_.createSequenceExpression([p]);w<R&&b(",");)we(),p.expressions.push(gn());_.markEnd(p,A)}return p}function ce(){for(var p=[],A;w<R&&!(b("}")||(A=Xr(),typeof A>"u"));)p.push(A);return p}function ye(){var p,A;return A=O,I("{"),p=ce(),I("}"),_.markEnd(_.createBlockStatement(p),A)}function Ie(){var p,A;return A=O,p=we(),p.type!==u.Identifier&&Kt(p),_.markEnd(_.createIdentifier(p.value),A)}function ct(p){var A=null,N,K;return K=O,N=Ie(),E&&Te(N.name)&&Oe({},g.StrictVarName),p==="const"?(I("="),A=gn()):b("=")&&(we(),A=gn()),_.markEnd(_.createVariableDeclarator(N,A),K)}function lt(p){var A=[];do{if(A.push(ct(p)),!b(","))break;we()}while(w<R);return A}function rt(){var p;return y("var"),p=lt(),G(),_.createVariableDeclaration(p,"var")}function Ze(p){var A,N;return N=O,y(p),A=lt(p),G(),_.markEnd(_.createVariableDeclaration(A,p),N)}function Qt(){return I(";"),_.createEmptyStatement()}function Ot(){var p=M();return G(),_.createExpressionStatement(p)}function Bt(){var p,A,N;return y("if"),I("("),p=M(),I(")"),A=In(),L("else")?(we(),N=In()):N=null,_.createIfStatement(p,A,N)}function ln(){var p,A,N;return y("do"),N=F.inIteration,F.inIteration=!0,p=In(),F.inIteration=N,y("while"),I("("),A=M(),I(")"),b(";")&&we(),_.createDoWhileStatement(p,A)}function Tn(){var p,A,N;return y("while"),I("("),p=M(),I(")"),N=F.inIteration,F.inIteration=!0,A=In(),F.inIteration=N,_.createWhileStatement(p,A)}function ir(){var p,A,N;return N=O,p=we(),A=lt(),_.markEnd(_.createVariableDeclaration(A,p.value),N)}function Ht(){var p,A,N,K,ne,he,Ge;return p=A=N=null,y("for"),I("("),b(";")?we():(L("var")||L("let")?(F.allowIn=!1,p=ir(),F.allowIn=!0,p.declarations.length===1&&L("in")&&(we(),K=p,ne=M(),p=null)):(F.allowIn=!1,p=M(),F.allowIn=!0,L("in")&&(ee(p)||Oe({},g.InvalidLHSInForIn),we(),K=p,ne=M(),p=null)),typeof K>"u"&&I(";")),typeof K>"u"&&(b(";")||(A=M()),I(";"),b(")")||(N=M())),I(")"),Ge=F.inIteration,F.inIteration=!0,he=In(),F.inIteration=Ge,typeof K>"u"?_.createForStatement(p,A,N,he):_.createForInStatement(K,ne,he)}function Si(){var p=null,A;return y("continue"),S.charCodeAt(w)===59?(we(),F.inIteration||Ce({},g.IllegalContinue),_.createContinueStatement(null)):ht()?(F.inIteration||Ce({},g.IllegalContinue),_.createContinueStatement(null)):(O.type===u.Identifier&&(p=Ie(),A="$"+p.name,Object.prototype.hasOwnProperty.call(F.labelSet,A)||Ce({},g.UnknownLabel,p.name)),G(),p===null&&!F.inIteration&&Ce({},g.IllegalContinue),_.createContinueStatement(p))}function oo(){var p=null,A;return y("break"),S.charCodeAt(w)===59?(we(),F.inIteration||F.inSwitch||Ce({},g.IllegalBreak),_.createBreakStatement(null)):ht()?(F.inIteration||F.inSwitch||Ce({},g.IllegalBreak),_.createBreakStatement(null)):(O.type===u.Identifier&&(p=Ie(),A="$"+p.name,Object.prototype.hasOwnProperty.call(F.labelSet,A)||Ce({},g.UnknownLabel,p.name)),G(),p===null&&!(F.inIteration||F.inSwitch)&&Ce({},g.IllegalBreak),_.createBreakStatement(p))}function ao(){var p=null;return y("return"),F.inFunctionBody||Oe({},g.IllegalReturn),S.charCodeAt(w)===32&&Se(S.charCodeAt(w+1))?(p=M(),G(),_.createReturnStatement(p)):ht()?_.createReturnStatement(null):(b(";")||!b("}")&&O.type!==u.EOF&&(p=M()),G(),_.createReturnStatement(p))}function Sa(){var p,A;return E&&(Y(),Oe({},g.StrictModeWith)),y("with"),I("("),p=M(),I(")"),A=In(),_.createWithStatement(p,A)}function Aa(){var p,A=[],N,K;for(K=O,L("default")?(we(),p=null):(y("case"),p=M()),I(":");w<R&&!(b("}")||L("default")||L("case"));)N=In(),A.push(N);return _.markEnd(_.createSwitchCase(p,A),K)}function Ca(){var p,A,N,K,ne;if(y("switch"),I("("),p=M(),I(")"),I("{"),A=[],b("}"))return we(),_.createSwitchStatement(p,A);for(K=F.inSwitch,F.inSwitch=!0,ne=!1;w<R&&!b("}");)N=Aa(),N.test===null&&(ne&&Ce({},g.MultipleDefaultsInSwitch),ne=!0),A.push(N);return F.inSwitch=K,I("}"),_.createSwitchStatement(p,A)}function Vc(){var p;return y("throw"),ht()&&Ce({},g.NewlineAfterThrow),p=M(),G(),_.createThrowStatement(p)}function qc(){var p,A,N;return N=O,y("catch"),I("("),b(")")&&Kt(O),p=Ie(),E&&Te(p.name)&&Oe({},g.StrictCatchVariable),I(")"),A=ye(),_.markEnd(_.createCatchClause(p,A),N)}function Wc(){var p,A=[],N=null;return y("try"),p=ye(),L("catch")&&A.push(qc()),L("finally")&&(we(),N=ye()),A.length===0&&!N&&Ce({},g.NoCatchOrFinally),_.createTryStatement(p,[],A,N)}function Kc(){return y("debugger"),G(),_.createDebuggerStatement()}function In(){var p=O.type,A,N,K,ne;if(p===u.EOF&&Kt(O),p===u.Punctuator&&O.value==="{")return ye();if(ne=O,p===u.Punctuator)switch(O.value){case";":return _.markEnd(Qt(),ne);case"(":return _.markEnd(Ot(),ne)}if(p===u.Keyword)switch(O.value){case"break":return _.markEnd(oo(),ne);case"continue":return _.markEnd(Si(),ne);case"debugger":return _.markEnd(Kc(),ne);case"do":return _.markEnd(ln(),ne);case"for":return _.markEnd(Ht(),ne);case"function":return _.markEnd(fs(),ne);case"if":return _.markEnd(Bt(),ne);case"return":return _.markEnd(ao(),ne);case"switch":return _.markEnd(Ca(),ne);case"throw":return _.markEnd(Vc(),ne);case"try":return _.markEnd(Wc(),ne);case"var":return _.markEnd(rt(),ne);case"while":return _.markEnd(Tn(),ne);case"with":return _.markEnd(Sa(),ne)}return A=M(),A.type===h.Identifier&&b(":")?(we(),K="$"+A.name,Object.prototype.hasOwnProperty.call(F.labelSet,K)&&Ce({},g.Redeclaration,"Label",A.name),F.labelSet[K]=!0,N=In(),delete F.labelSet[K],_.markEnd(_.createLabeledStatement(A,N),ne)):(G(),_.markEnd(_.createExpressionStatement(A),ne))}function ls(){var p,A=[],N,K,ne,he,Ge,mt,Zt,zt;for(zt=O,I("{");w<R&&!(O.type!==u.StringLiteral||(N=O,p=Xr(),A.push(p),p.expression.type!==h.Literal));)K=S.slice(N.start+1,N.end-1),K==="use strict"?(E=!0,ne&&Oe(ne,g.StrictOctalLiteral)):!ne&&N.octal&&(ne=N);for(he=F.labelSet,Ge=F.inIteration,mt=F.inSwitch,Zt=F.inFunctionBody,F.labelSet={},F.inIteration=!1,F.inSwitch=!1,F.inFunctionBody=!0;w<R&&!(b("}")||(p=Xr(),typeof p>"u"));)A.push(p);return I("}"),F.labelSet=he,F.inIteration=Ge,F.inSwitch=mt,F.inFunctionBody=Zt,_.markEnd(_.createBlockStatement(A),zt)}function uo(p){var A,N=[],K,ne,he,Ge,mt;if(I("("),!b(")"))for(he={};w<R&&(K=O,A=Ie(),Ge="$"+K.value,E?(Te(K.value)&&(ne=K,mt=g.StrictParamName),Object.prototype.hasOwnProperty.call(he,Ge)&&(ne=K,mt=g.StrictParamDupe)):p||(Te(K.value)?(p=K,mt=g.StrictParamName):Re(K.value)?(p=K,mt=g.StrictReservedWord):Object.prototype.hasOwnProperty.call(he,Ge)&&(p=K,mt=g.StrictParamDupe)),N.push(A),he[Ge]=!0,!b(")"));)I(",");return I(")"),{params:N,stricted:ne,firstRestricted:p,message:mt}}function fs(){var p,A=[],N,K,ne,he,Ge,mt,Zt,zt;return zt=O,y("function"),K=O,p=Ie(),E?Te(K.value)&&Oe(K,g.StrictFunctionName):Te(K.value)?(Ge=K,mt=g.StrictFunctionName):Re(K.value)&&(Ge=K,mt=g.StrictReservedWord),he=uo(Ge),A=he.params,ne=he.stricted,Ge=he.firstRestricted,he.message&&(mt=he.message),Zt=E,N=ls(),E&&Ge&&Ce(Ge,mt),E&&ne&&Oe(ne,mt),E=Zt,_.markEnd(_.createFunctionDeclaration(p,A,[],N),zt)}function Hc(){var p,A=null,N,K,ne,he,Ge=[],mt,Zt,zt;return zt=O,y("function"),b("(")||(p=O,A=Ie(),E?Te(p.value)&&Oe(p,g.StrictFunctionName):Te(p.value)?(K=p,ne=g.StrictFunctionName):Re(p.value)&&(K=p,ne=g.StrictReservedWord)),he=uo(K),Ge=he.params,N=he.stricted,K=he.firstRestricted,he.message&&(ne=he.message),Zt=E,mt=ls(),E&&K&&Ce(K,ne),E&&N&&Oe(N,ne),E=Zt,_.markEnd(_.createFunctionExpression(A,Ge,[],mt),zt)}function Xr(){if(O.type===u.Keyword)switch(O.value){case"const":case"let":return Ze(O.value);case"function":return fs();default:return In()}if(O.type!==u.EOF)return In()}function hs(){for(var p,A=[],N,K,ne;w<R&&(N=O,!(N.type!==u.StringLiteral||(p=Xr(),A.push(p),p.expression.type!==h.Literal)));)K=S.slice(N.start+1,N.end-1),K==="use strict"?(E=!0,ne&&Oe(ne,g.StrictOctalLiteral)):!ne&&N.octal&&(ne=N);for(;w<R&&(p=Xr(),!(typeof p>"u"));)A.push(p);return A}function _a(){var p,A;return Y(),pt(),A=O,E=!1,p=hs(),_.markEnd(_.createProgram(p),A)}function ka(){var p,A,N,K=[];for(p=0;p<B.tokens.length;++p)A=B.tokens[p],N={type:A.type,value:A.value},B.range&&(N.range=A.range),B.loc&&(N.loc=A.loc),K.push(N);B.tokens=K}function Ta(p,A){var N,K,ne;N=String,typeof p!="string"&&!(p instanceof String)&&(p=N(p)),_=C,S=p,w=0,T=S.length>0?1:0,j=0,R=S.length,O=null,F={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},B={},A=A||{},A.tokens=!0,B.tokens=[],B.tokenize=!0,B.openParenToken=-1,B.openCurlyToken=-1,B.range=typeof A.range=="boolean"&&A.range,B.loc=typeof A.loc=="boolean"&&A.loc,typeof A.comment=="boolean"&&A.comment&&(B.comments=[]),typeof A.tolerant=="boolean"&&A.tolerant&&(B.errors=[]);try{if(pt(),O.type===u.EOF)return B.tokens;for(K=we();O.type!==u.EOF;)try{K=we()}catch(he){if(K=O,B.errors){B.errors.push(he);break}else throw he}ka(),ne=B.tokens,typeof B.comments<"u"&&(ne.comments=B.comments),typeof B.errors<"u"&&(ne.errors=B.errors)}catch(he){throw he}finally{B={}}return ne}function Ia(p,A){var N,K;K=String,typeof p!="string"&&!(p instanceof String)&&(p=K(p)),_=C,S=p,w=0,T=S.length>0?1:0,j=0,R=S.length,O=null,F={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},B={},typeof A<"u"&&(B.range=typeof A.range=="boolean"&&A.range,B.loc=typeof A.loc=="boolean"&&A.loc,B.attachComment=typeof A.attachComment=="boolean"&&A.attachComment,B.loc&&A.source!==null&&A.source!==void 0&&(B.source=K(A.source)),typeof A.tokens=="boolean"&&A.tokens&&(B.tokens=[]),typeof A.comment=="boolean"&&A.comment&&(B.comments=[]),typeof A.tolerant=="boolean"&&A.tolerant&&(B.errors=[]),B.attachComment&&(B.range=!0,B.comments=[],B.bottomRightStack=[],B.trailingComments=[],B.leadingComments=[]));try{N=_a(),typeof B.comments<"u"&&(N.comments=B.comments),typeof B.tokens<"u"&&(ka(),N.tokens=B.tokens),typeof B.errors<"u"&&(N.errors=B.errors)}catch(ne){throw ne}finally{B={}}return N}a.version="1.2.2",a.tokenize=Ta,a.parse=Ia,a.Syntax=function(){var p,A={};typeof Object.create=="function"&&(A=Object.create(null));for(p in h)h.hasOwnProperty(p)&&(A[p]=h[p]);return typeof Object.freeze=="function"&&Object.freeze(A),A}()})},{}],1:[function(n,i,o){(function(a){var u=function(){var l={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(v,C,S,E,w,T,j){E.ast||(E.ast=f,f.initialize());var R=T.length-1;switch(w){case 1:return E.ast.set({expression:{type:"root",value:T[R]}}),E.ast.unshift(),E.ast.yield();case 2:return E.ast.set({expression:{type:"root",value:T[R-1]}}),E.ast.unshift(),E.ast.yield();case 3:return E.ast.unshift(),E.ast.yield();case 4:return E.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:T[R-1]}}),E.ast.unshift(),E.ast.yield();case 5:break;case 6:break;case 7:E.ast.set({operation:"member"}),E.ast.push();break;case 8:E.ast.set({operation:"subscript"}),E.ast.push();break;case 9:E.ast.set({scope:"child"});break;case 10:E.ast.set({scope:"descendant"});break;case 11:break;case 12:E.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:E.ast.set({expression:{type:"wildcard",value:T[R]}});break;case 15:E.ast.set({expression:{type:"identifier",value:T[R]}});break;case 16:E.ast.set({expression:{type:"script_expression",value:T[R]}});break;case 17:E.ast.set({expression:{type:"numeric_literal",value:parseInt(T[R])}});break;case 18:break;case 19:E.ast.set({scope:"child"});break;case 20:E.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:T[R].length>1?E.ast.set({expression:{type:"union",value:T[R]}}):this.$=T[R];break;case 25:this.$=[T[R]];break;case 26:this.$=T[R-2].concat(T[R]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(T[R])}},E.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:T[R]}},E.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:T[R]}},E.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:T[R]}},E.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:T[R]}},E.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:T[R]}},E.ast.set(this.$);break;case 33:this.$=T[R];break;case 34:this.$=T[R];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(v,C){if(C.recoverable)this.trace(v);else throw new Error(v)},parse:function(v){var C=this,S=[0],E=[null],w=[],T=this.table,j="",R=0,_=0,O=2,F=1,B=w.slice.call(arguments,1);this.lexer.setInput(v),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var W=this.lexer.yylloc;w.push(W);var J=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fe(){var ge;return ge=C.lexer.lex()||F,typeof ge!="number"&&(ge=C.symbols_[ge]||ge),ge}for(var le,de,be,Se,pe={},De,Re,Te,Xe;;){if(de=S[S.length-1],this.defaultActions[de]?be=this.defaultActions[de]:((le===null||typeof le>"u")&&(le=fe()),be=T[de]&&T[de][le]),typeof be>"u"||!be.length||!be[0]){var ve="";Xe=[];for(De in T[de])this.terminals_[De]&&De>O&&Xe.push("'"+this.terminals_[De]+"'");this.lexer.showPosition?ve="Parse error on line "+(R+1)+`:
224
+ `+this.lexer.showPosition()+`
225
+ Expecting `+Xe.join(", ")+", got '"+(this.terminals_[le]||le)+"'":ve="Parse error on line "+(R+1)+": Unexpected "+(le==F?"end of input":"'"+(this.terminals_[le]||le)+"'"),this.parseError(ve,{text:this.lexer.match,token:this.terminals_[le]||le,line:this.lexer.yylineno,loc:W,expected:Xe})}if(be[0]instanceof Array&&be.length>1)throw new Error("Parse Error: multiple actions possible at state: "+de+", token: "+le);switch(be[0]){case 1:S.push(le),E.push(this.lexer.yytext),w.push(this.lexer.yylloc),S.push(be[1]),le=null,_=this.lexer.yyleng,j=this.lexer.yytext,R=this.lexer.yylineno,W=this.lexer.yylloc;break;case 2:if(Re=this.productions_[be[1]][1],pe.$=E[E.length-Re],pe._$={first_line:w[w.length-(Re||1)].first_line,last_line:w[w.length-1].last_line,first_column:w[w.length-(Re||1)].first_column,last_column:w[w.length-1].last_column},J&&(pe._$.range=[w[w.length-(Re||1)].range[0],w[w.length-1].range[1]]),Se=this.performAction.apply(pe,[j,_,R,this.yy,be[1],E,w].concat(B)),typeof Se<"u")return Se;Re&&(S=S.slice(0,-1*Re*2),E=E.slice(0,-1*Re),w=w.slice(0,-1*Re)),S.push(this.productions_[be[1]][0]),E.push(pe.$),w.push(pe._$),Te=T[S[S.length-2]][S[S.length-1]],S.push(Te);break;case 3:return!0}}return!0}},f={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(g){for(var v in g)this._node[v]=g[v];return this._node},node:function(g){return arguments.length&&(this._node=g),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var g=this._nodes;return this.initialize(),g}},h=function(){var g={EOF:1,parseError:function(C,S){if(this.yy.parser)this.yy.parser.parseError(C,S);else throw new Error(C)},setInput:function(v){return this._input=v,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var v=this._input[0];this.yytext+=v,this.yyleng++,this.offset++,this.match+=v,this.matched+=v;var C=v.match(/(?:\r\n?|\n).*/g);return C?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),v},unput:function(v){var C=v.length,S=v.split(/(?:\r\n?|\n)/g);this._input=v+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-C-1),this.offset-=C;var E=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),S.length-1&&(this.yylineno-=S.length-1);var w=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:S?(S.length===E.length?this.yylloc.first_column:0)+E[E.length-S.length].length-S[0].length:this.yylloc.first_column-C},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-C]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
226
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(v){this.unput(this.match.slice(v))},pastInput:function(){var v=this.matched.substr(0,this.matched.length-this.match.length);return(v.length>20?"...":"")+v.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var v=this.match;return v.length<20&&(v+=this._input.substr(0,20-v.length)),(v.substr(0,20)+(v.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var v=this.pastInput(),C=new Array(v.length+1).join("-");return v+this.upcomingInput()+`
227
+ `+C+"^"},test_match:function(v,C){var S,E,w;if(this.options.backtrack_lexer&&(w={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(w.yylloc.range=this.yylloc.range.slice(0))),E=v[0].match(/(?:\r\n?|\n).*/g),E&&(this.yylineno+=E.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:E?E[E.length-1].length-E[E.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+v[0].length},this.yytext+=v[0],this.match+=v[0],this.matches=v,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(v[0].length),this.matched+=v[0],S=this.performAction.call(this,this.yy,this,C,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),S)return S;if(this._backtrack){for(var T in w)this[T]=w[T];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var v,C,S,E;this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),T=0;T<w.length;T++)if(S=this._input.match(this.rules[w[T]]),S&&(!C||S[0].length>C[0].length)){if(C=S,E=T,this.options.backtrack_lexer){if(v=this.test_match(S,w[T]),v!==!1)return v;if(this._backtrack){C=!1;continue}else return!1}else if(!this.options.flex)break}return C?(v=this.test_match(C,w[E]),v!==!1?v:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
228
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var C=this.next();return C||this.lex()},begin:function(C){this.conditionStack.push(C)},popState:function(){var C=this.conditionStack.length-1;return C>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(C){return C=this.conditionStack.length-1-Math.abs(C||0),C>=0?this.conditionStack[C]:"INITIAL"},pushState:function(C){this.begin(C)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(C,S,E,w){switch(E){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return S.yytext=S.yytext.substr(1,S.yyleng-2),32;case 11:return S.yytext=S.yytext.substr(1,S.yyleng-2),33;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return g}();l.lexer=h;function d(){this.yy={}}return d.prototype=l,l.Parser=d,new d}();typeof n<"u"&&typeof o<"u"&&(o.parser=u,o.Parser=u.Parser,o.parse=function(){return u.parse.apply(u,arguments)},o.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),a.exit(1));var h=n("fs").readFileSync(n("path").normalize(f[1]),"utf8");return o.parser.parse(h)},typeof i<"u"&&n.main===i&&o.main(a.argv.slice(1)))}).call(this,n("_process"))},{_process:14,fs:12,path:13}],2:[function(n,i,o){i.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(n,i,o){var a=n("./dict"),u=n("fs"),l={lex:{macros:{esc:"\\\\",int:a.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[a.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[a.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[a.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};u.readFileSync&&(l.moduleInclude=u.readFileSync(n.resolve("../include/module.js")),l.actionInclude=u.readFileSync(n.resolve("../include/action.js"))),i.exports=l},{"./dict":2,fs:12}],4:[function(n,i,o){var a=n("./aesprim"),u=n("./slice"),l=n("static-eval"),f=n("underscore").uniq,h=function(){return this.initialize.apply(this,arguments)};h.prototype.initialize=function(){this.traverse=C(!0),this.descend=C()},h.prototype.keys=Object.keys,h.prototype.resolve=function(R){var _=[R.operation,R.scope,R.expression.type].join("-"),O=this._fns[_];if(!O)throw new Error("couldn't resolve key: "+_);return O.bind(this)},h.prototype.register=function(R,_){if(!_ instanceof Function)throw new Error("handler must be a function");this._fns[R]=_},h.prototype._fns={"member-child-identifier":function(R,_){var O=R.expression.value,F=_.value;if(F instanceof Object&&O in F)return[{value:F[O],path:_.path.concat(O)}]},"member-descendant-identifier":E(function(R,_,O){return R==O}),"subscript-child-numeric_literal":S(function(R,_,O){return R===O}),"member-child-numeric_literal":S(function(R,_,O){return String(R)===String(O)}),"subscript-descendant-numeric_literal":E(function(R,_,O){return R===O}),"member-child-wildcard":S(function(){return!0}),"member-descendant-wildcard":E(function(){return!0}),"subscript-descendant-wildcard":E(function(){return!0}),"subscript-child-wildcard":S(function(){return!0}),"subscript-child-slice":function(R,_){if(g(_.value)){var O=R.expression.value.split(":").map(j),F=_.value.map(function(B,W){return{value:B,path:_.path.concat(W)}});return u.apply(null,[F].concat(O))}},"subscript-child-union":function(R,_){var O=[];return R.expression.value.forEach(function(F){var B={operation:"subscript",scope:"child",expression:F.expression},W=this.resolve(B),J=W(B,_);J&&(O=O.concat(J))},this),T(O)},"subscript-descendant-union":function(R,_,O){var F=n(".."),B=this,W=[],J=F.nodes(_,"$..*").slice(1);return J.forEach(function(fe){W.length>=O||R.expression.value.forEach(function(le){var de={operation:"subscript",scope:"child",expression:le.expression},be=B.resolve(de),Se=be(de,fe);W=W.concat(Se)})}),T(W)},"subscript-child-filter_expression":function(R,_,O){var F=R.expression.value.slice(2,-1),B=a.parse(F).body[0].expression,W=function(J,fe){return w(B,{"@":fe})};return this.descend(_,null,W,O)},"subscript-descendant-filter_expression":function(R,_,O){var F=R.expression.value.slice(2,-1),B=a.parse(F).body[0].expression,W=function(J,fe){return w(B,{"@":fe})};return this.traverse(_,null,W,O)},"subscript-child-script_expression":function(R,_){var O=R.expression.value.slice(1,-1);return d(_,O,"$[{{value}}]")},"member-child-script_expression":function(R,_){var O=R.expression.value.slice(1,-1);return d(_,O,"$.{{value}}")},"member-descendant-script_expression":function(R,_){var O=R.expression.value.slice(1,-1);return d(_,O,"$..value")}},h.prototype._fns["subscript-child-string_literal"]=h.prototype._fns["member-child-identifier"],h.prototype._fns["member-descendant-numeric_literal"]=h.prototype._fns["subscript-descendant-string_literal"]=h.prototype._fns["member-descendant-identifier"];function d(R,_,O){var F=n("./index"),B=a.parse(_).body[0].expression,W=w(B,{"@":R.value}),J=O.replace(/\{\{\s*value\s*\}\}/g,W),fe=F.nodes(R.value,J);return fe.forEach(function(le){le.path=R.path.concat(le.path.slice(1))}),fe}function g(R){return Array.isArray(R)}function v(R){return R&&!(R instanceof Array)&&R instanceof Object}function C(R){return function(_,O,F,B){var W=_.value,J=_.path,fe=[],le=function(de,be){g(de)?(de.forEach(function(Se,pe){fe.length>=B||F(pe,Se,O)&&fe.push({path:be.concat(pe),value:Se})}),de.forEach(function(Se,pe){fe.length>=B||R&&le(Se,be.concat(pe))})):v(de)&&(this.keys(de).forEach(function(Se){fe.length>=B||F(Se,de[Se],O)&&fe.push({path:be.concat(Se),value:de[Se]})}),this.keys(de).forEach(function(Se){fe.length>=B||R&&le(de[Se],be.concat(Se))}))}.bind(this);return le(W,J),fe}}function S(R){return function(_,O,F){return this.descend(O,_.expression.value,R,F)}}function E(R){return function(_,O,F){return this.traverse(O,_.expression.value,R,F)}}function w(){try{return l.apply(this,arguments)}catch{}}function T(R){return R=R.filter(function(_){return _}),f(R,function(_){return _.path.map(function(O){return String(O).replace("-","--")}).join("-")})}function j(R){var _=String(R);return _.match(/^-?[0-9]+$/)?parseInt(_):null}i.exports=h},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(n,i,o){var a=n("assert"),u=n("./dict"),l=n("./parser"),f=n("./handlers"),h=function(){this.initialize.apply(this,arguments)};h.prototype.initialize=function(){this.parser=new l,this.handlers=new f},h.prototype.parse=function(v){return a.ok(d(v),"we need a path"),this.parser.parse(v)},h.prototype.parent=function(v,C){a.ok(v instanceof Object,"obj needs to be an object"),a.ok(C,"we need a path");var S=this.nodes(v,C)[0];return S.path.pop(),this.value(v,S.path)},h.prototype.apply=function(v,C,S){a.ok(v instanceof Object,"obj needs to be an object"),a.ok(C,"we need a path"),a.equal(typeof S,"function","fn needs to be function");var E=this.nodes(v,C).sort(function(w,T){return T.path.length-w.path.length});return E.forEach(function(w){var T=w.path.pop(),j=this.value(v,this.stringify(w.path)),R=w.value=S.call(v,j[T]);j[T]=R},this),E},h.prototype.value=function(v,C,S){if(a.ok(v instanceof Object,"obj needs to be an object"),a.ok(C,"we need a path"),arguments.length>=3){var E=this.nodes(v,C).shift();if(!E)return this._vivify(v,C,S);var w=E.path.slice(-1).shift(),T=this.parent(v,this.stringify(E.path));T[w]=S}return this.query(v,this.stringify(C),1).shift()},h.prototype._vivify=function(v,C,S){var E=this;a.ok(v instanceof Object,"obj needs to be an object"),a.ok(C,"we need a path");var w=this.parser.parse(C).map(function(j){return j.expression.value}),T=function(j,R){var _=j.pop(),O=E.value(v,j);O||(T(j.concat(),typeof _=="string"?{}:[]),O=E.value(v,j)),O[_]=R};return T(w,S),this.query(v,C)[0]},h.prototype.query=function(v,C,S){a.ok(v instanceof Object,"obj needs to be an object"),a.ok(d(C),"we need a path");var E=this.nodes(v,C,S).map(function(w){return w.value});return E},h.prototype.paths=function(v,C,S){a.ok(v instanceof Object,"obj needs to be an object"),a.ok(C,"we need a path");var E=this.nodes(v,C,S).map(function(w){return w.path});return E},h.prototype.nodes=function(v,C,S){if(a.ok(v instanceof Object,"obj needs to be an object"),a.ok(C,"we need a path"),S===0)return[];var E=this.parser.parse(C),w=this.handlers,T=[{path:["$"],value:v}],j=[];return E.length&&E[0].expression.type=="root"&&E.shift(),E.length?(E.forEach(function(R,_){if(!(j.length>=S)){var O=w.resolve(R),F=[];T.forEach(function(B){if(!(j.length>=S)){var W=O(R,B,S);_==E.length-1?j=j.concat(W||[]):F=F.concat(W||[])}}),T=F}}),S?j.slice(0,S):j):T},h.prototype.stringify=function(v){a.ok(v,"we need a path");var C="$",S={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return v=this._normalize(v),v.forEach(function(E){if(E.expression.type!="root"){var w=[E.scope,E.operation].join("-"),T=S[w],j;if(E.expression.type=="string_literal"?j=JSON.stringify(E.expression.value):j=E.expression.value,!T)throw new Error("couldn't find template "+w);C+=T.replace(/{{value}}/,j)}}),C},h.prototype._normalize=function(v){if(a.ok(v,"we need a path"),typeof v=="string")return this.parser.parse(v);if(Array.isArray(v)&&typeof v[0]=="string"){var C=[{expression:{type:"root",value:"$"}}];return v.forEach(function(S,E){if(!(S=="$"&&E===0))if(typeof S=="string"&&S.match("^"+u.identifier+"$"))C.push({operation:"member",scope:"child",expression:{value:S,type:"identifier"}});else{var w=typeof S=="number"?"numeric_literal":"string_literal";C.push({operation:"subscript",scope:"child",expression:{value:S,type:w}})}}),C}else if(Array.isArray(v)&&typeof v[0]=="object")return v;throw new Error("couldn't understand path "+v)};function d(v){return Object.prototype.toString.call(v)=="[object String]"}h.Handlers=f,h.Parser=l;var g=new h;g.JSONPath=h,i.exports=g},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(n,i,o){var a=n("./grammar"),u=n("../generated/parser"),l=function(){var f=new u.Parser,h=f.parseError;return f.yy.parseError=function(){f.yy.ast&&f.yy.ast.initialize(),h.apply(f,arguments)},f};l.grammar=a,i.exports=l},{"../generated/parser":1,"./grammar":3}],7:[function(n,i,o){i.exports=function(u,l,f,h){if(typeof l=="string")throw new Error("start cannot be a string");if(typeof f=="string")throw new Error("end cannot be a string");if(typeof h=="string")throw new Error("step cannot be a string");var d=u.length;if(h===0)throw new Error("step cannot be zero");if(h=h?a(h):1,l=l<0?d+l:l,f=f<0?d+f:f,l=a(l===0?0:l||(h>0?0:d-1)),f=a(f===0?0:f||(h>0?d:-1)),l=h>0?Math.max(0,l):Math.min(d,l),f=h>0?Math.min(f,d):Math.max(-1,f),h>0&&f<=l)return[];if(h<0&&l<=f)return[];for(var g=[],v=l;v!=f&&!(h<0&&v<=f||h>0&&v>=f);v+=h)g.push(u[v]);return g};function a(u){return String(u).match(/^[0-9]+$/)?parseInt(u):Number.isFinite(u)?parseInt(u,10):0}},{}],8:[function(n,i,o){var a=n("util/"),u=Array.prototype.slice,l=Object.prototype.hasOwnProperty,f=i.exports=C;f.AssertionError=function(O){this.name="AssertionError",this.actual=O.actual,this.expected=O.expected,this.operator=O.operator,O.message?(this.message=O.message,this.generatedMessage=!1):(this.message=g(this),this.generatedMessage=!0);var F=O.stackStartFunction||v;if(Error.captureStackTrace)Error.captureStackTrace(this,F);else{var B=new Error;if(B.stack){var W=B.stack,J=F.name,fe=W.indexOf(`
229
+ `+J);if(fe>=0){var le=W.indexOf(`
230
+ `,fe+1);W=W.substring(le+1)}this.stack=W}}},a.inherits(f.AssertionError,Error);function h(_,O){return a.isUndefined(O)?""+O:a.isNumber(O)&&!isFinite(O)||a.isFunction(O)||a.isRegExp(O)?O.toString():O}function d(_,O){return a.isString(_)?_.length<O?_:_.slice(0,O):_}function g(_){return d(JSON.stringify(_.actual,h),128)+" "+_.operator+" "+d(JSON.stringify(_.expected,h),128)}function v(_,O,F,B,W){throw new f.AssertionError({message:F,actual:_,expected:O,operator:B,stackStartFunction:W})}f.fail=v;function C(_,O){_||v(_,!0,O,"==",f.ok)}f.ok=C,f.equal=function(O,F,B){O!=F&&v(O,F,B,"==",f.equal)},f.notEqual=function(O,F,B){O==F&&v(O,F,B,"!=",f.notEqual)},f.deepEqual=function(O,F,B){S(O,F)||v(O,F,B,"deepEqual",f.deepEqual)};function S(_,O){if(_===O)return!0;if(a.isBuffer(_)&&a.isBuffer(O)){if(_.length!=O.length)return!1;for(var F=0;F<_.length;F++)if(_[F]!==O[F])return!1;return!0}else return a.isDate(_)&&a.isDate(O)?_.getTime()===O.getTime():a.isRegExp(_)&&a.isRegExp(O)?_.source===O.source&&_.global===O.global&&_.multiline===O.multiline&&_.lastIndex===O.lastIndex&&_.ignoreCase===O.ignoreCase:!a.isObject(_)&&!a.isObject(O)?_==O:w(_,O)}function E(_){return Object.prototype.toString.call(_)=="[object Arguments]"}function w(_,O){if(a.isNullOrUndefined(_)||a.isNullOrUndefined(O)||_.prototype!==O.prototype)return!1;if(a.isPrimitive(_)||a.isPrimitive(O))return _===O;var F=E(_),B=E(O);if(F&&!B||!F&&B)return!1;if(F)return _=u.call(_),O=u.call(O),S(_,O);var W=R(_),J=R(O),fe,le;if(W.length!=J.length)return!1;for(W.sort(),J.sort(),le=W.length-1;le>=0;le--)if(W[le]!=J[le])return!1;for(le=W.length-1;le>=0;le--)if(fe=W[le],!S(_[fe],O[fe]))return!1;return!0}f.notDeepEqual=function(O,F,B){S(O,F)&&v(O,F,B,"notDeepEqual",f.notDeepEqual)},f.strictEqual=function(O,F,B){O!==F&&v(O,F,B,"===",f.strictEqual)},f.notStrictEqual=function(O,F,B){O===F&&v(O,F,B,"!==",f.notStrictEqual)};function T(_,O){return!_||!O?!1:Object.prototype.toString.call(O)=="[object RegExp]"?O.test(_):_ instanceof O?!0:O.call({},_)===!0}function j(_,O,F,B){var W;a.isString(F)&&(B=F,F=null);try{O()}catch(J){W=J}if(B=(F&&F.name?" ("+F.name+").":".")+(B?" "+B:"."),_&&!W&&v(W,F,"Missing expected exception"+B),!_&&T(W,F)&&v(W,F,"Got unwanted exception"+B),_&&W&&F&&!T(W,F)||!_&&W)throw W}f.throws=function(_,O,F){j.apply(this,[!0].concat(u.call(arguments)))},f.doesNotThrow=function(_,O){j.apply(this,[!1].concat(u.call(arguments)))},f.ifError=function(_){if(_)throw _};var R=Object.keys||function(_){var O=[];for(var F in _)l.call(_,F)&&O.push(F);return O}},{"util/":11}],9:[function(n,i,o){typeof Object.create=="function"?i.exports=function(u,l){u.super_=l,u.prototype=Object.create(l.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}})}:i.exports=function(u,l){u.super_=l;var f=function(){};f.prototype=l.prototype,u.prototype=new f,u.prototype.constructor=u}},{}],10:[function(n,i,o){i.exports=function(u){return u&&typeof u=="object"&&typeof u.copy=="function"&&typeof u.fill=="function"&&typeof u.readUInt8=="function"}},{}],11:[function(n,i,o){(function(a,u){var l=/%[sdj%]/g;o.format=function(Y){if(!J(Y)){for(var X=[],re=0;re<arguments.length;re++)X.push(d(arguments[re]));return X.join(" ")}for(var re=1,_e=arguments,ze=_e.length,xe=String(Y).replace(l,function(Be){if(Be==="%%")return"%";if(re>=ze)return Be;switch(Be){case"%s":return String(_e[re++]);case"%d":return Number(_e[re++]);case"%j":try{return JSON.stringify(_e[re++])}catch{return"[Circular]"}default:return Be}}),Fe=_e[re];re<ze;Fe=_e[++re])F(Fe)||!be(Fe)?xe+=" "+Fe:xe+=" "+d(Fe);return xe},o.deprecate=function(Y,X){if(le(u.process))return function(){return o.deprecate(Y,X).apply(this,arguments)};if(a.noDeprecation===!0)return Y;var re=!1;function _e(){if(!re){if(a.throwDeprecation)throw new Error(X);a.traceDeprecation?console.trace(X):console.error(X),re=!0}return Y.apply(this,arguments)}return _e};var f={},h;o.debuglog=function(Y){if(le(h)&&(h=a.env.NODE_DEBUG||""),Y=Y.toUpperCase(),!f[Y])if(new RegExp("\\b"+Y+"\\b","i").test(h)){var X=a.pid;f[Y]=function(){var re=o.format.apply(o,arguments);console.error("%s %d: %s",Y,X,re)}}else f[Y]=function(){};return f[Y]};function d(Y,X){var re={seen:[],stylize:v};return arguments.length>=3&&(re.depth=arguments[2]),arguments.length>=4&&(re.colors=arguments[3]),O(X)?re.showHidden=X:X&&o._extend(re,X),le(re.showHidden)&&(re.showHidden=!1),le(re.depth)&&(re.depth=2),le(re.colors)&&(re.colors=!1),le(re.customInspect)&&(re.customInspect=!0),re.colors&&(re.stylize=g),S(re,Y,re.depth)}o.inspect=d,d.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},d.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function g(Y,X){var re=d.styles[X];return re?"\x1B["+d.colors[re][0]+"m"+Y+"\x1B["+d.colors[re][1]+"m":Y}function v(Y,X){return Y}function C(Y){var X={};return Y.forEach(function(re,_e){X[re]=!0}),X}function S(Y,X,re){if(Y.customInspect&&X&&De(X.inspect)&&X.inspect!==o.inspect&&!(X.constructor&&X.constructor.prototype===X)){var _e=X.inspect(re,Y);return J(_e)||(_e=S(Y,_e,re)),_e}var ze=E(Y,X);if(ze)return ze;var xe=Object.keys(X),Fe=C(xe);if(Y.showHidden&&(xe=Object.getOwnPropertyNames(X)),pe(X)&&(xe.indexOf("message")>=0||xe.indexOf("description")>=0))return w(X);if(xe.length===0){if(De(X)){var Be=X.name?": "+X.name:"";return Y.stylize("[Function"+Be+"]","special")}if(de(X))return Y.stylize(RegExp.prototype.toString.call(X),"regexp");if(Se(X))return Y.stylize(Date.prototype.toString.call(X),"date");if(pe(X))return w(X)}var Le="",_t=!1,rn=["{","}"];if(_(X)&&(_t=!0,rn=["[","]"]),De(X)){var Pt=X.name?": "+X.name:"";Le=" [Function"+Pt+"]"}if(de(X)&&(Le=" "+RegExp.prototype.toString.call(X)),Se(X)&&(Le=" "+Date.prototype.toUTCString.call(X)),pe(X)&&(Le=" "+w(X)),xe.length===0&&(!_t||X.length==0))return rn[0]+Le+rn[1];if(re<0)return de(X)?Y.stylize(RegExp.prototype.toString.call(X),"regexp"):Y.stylize("[Object]","special");Y.seen.push(X);var Rt;return _t?Rt=T(Y,X,re,Fe,xe):Rt=xe.map(function(Lt){return j(Y,X,re,Fe,Lt,_t)}),Y.seen.pop(),R(Rt,Le,rn)}function E(Y,X){if(le(X))return Y.stylize("undefined","undefined");if(J(X)){var re="'"+JSON.stringify(X).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Y.stylize(re,"string")}if(W(X))return Y.stylize(""+X,"number");if(O(X))return Y.stylize(""+X,"boolean");if(F(X))return Y.stylize("null","null")}function w(Y){return"["+Error.prototype.toString.call(Y)+"]"}function T(Y,X,re,_e,ze){for(var xe=[],Fe=0,Be=X.length;Fe<Be;++Fe)Ke(X,String(Fe))?xe.push(j(Y,X,re,_e,String(Fe),!0)):xe.push("");return ze.forEach(function(Le){Le.match(/^\d+$/)||xe.push(j(Y,X,re,_e,Le,!0))}),xe}function j(Y,X,re,_e,ze,xe){var Fe,Be,Le;if(Le=Object.getOwnPropertyDescriptor(X,ze)||{value:X[ze]},Le.get?Le.set?Be=Y.stylize("[Getter/Setter]","special"):Be=Y.stylize("[Getter]","special"):Le.set&&(Be=Y.stylize("[Setter]","special")),Ke(_e,ze)||(Fe="["+ze+"]"),Be||(Y.seen.indexOf(Le.value)<0?(F(re)?Be=S(Y,Le.value,null):Be=S(Y,Le.value,re-1),Be.indexOf(`
231
+ `)>-1&&(xe?Be=Be.split(`
232
+ `).map(function(_t){return" "+_t}).join(`
233
+ `).substr(2):Be=`
234
+ `+Be.split(`
235
+ `).map(function(_t){return" "+_t}).join(`
236
+ `))):Be=Y.stylize("[Circular]","special")),le(Fe)){if(xe&&ze.match(/^\d+$/))return Be;Fe=JSON.stringify(""+ze),Fe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Fe=Fe.substr(1,Fe.length-2),Fe=Y.stylize(Fe,"name")):(Fe=Fe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Fe=Y.stylize(Fe,"string"))}return Fe+": "+Be}function R(Y,X,re){var _e=Y.reduce(function(ze,xe){return xe.indexOf(`
237
+ `)>=0,ze+xe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return _e>60?re[0]+(X===""?"":X+`
238
+ `)+" "+Y.join(`,
239
+ `)+" "+re[1]:re[0]+X+" "+Y.join(", ")+" "+re[1]}function _(Y){return Array.isArray(Y)}o.isArray=_;function O(Y){return typeof Y=="boolean"}o.isBoolean=O;function F(Y){return Y===null}o.isNull=F;function B(Y){return Y==null}o.isNullOrUndefined=B;function W(Y){return typeof Y=="number"}o.isNumber=W;function J(Y){return typeof Y=="string"}o.isString=J;function fe(Y){return typeof Y=="symbol"}o.isSymbol=fe;function le(Y){return Y===void 0}o.isUndefined=le;function de(Y){return be(Y)&&Te(Y)==="[object RegExp]"}o.isRegExp=de;function be(Y){return typeof Y=="object"&&Y!==null}o.isObject=be;function Se(Y){return be(Y)&&Te(Y)==="[object Date]"}o.isDate=Se;function pe(Y){return be(Y)&&(Te(Y)==="[object Error]"||Y instanceof Error)}o.isError=pe;function De(Y){return typeof Y=="function"}o.isFunction=De;function Re(Y){return Y===null||typeof Y=="boolean"||typeof Y=="number"||typeof Y=="string"||typeof Y=="symbol"||typeof Y>"u"}o.isPrimitive=Re,o.isBuffer=n("./support/isBuffer");function Te(Y){return Object.prototype.toString.call(Y)}function Xe(Y){return Y<10?"0"+Y.toString(10):Y.toString(10)}var ve=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ge(){var Y=new Date,X=[Xe(Y.getHours()),Xe(Y.getMinutes()),Xe(Y.getSeconds())].join(":");return[Y.getDate(),ve[Y.getMonth()],X].join(" ")}o.log=function(){console.log("%s - %s",ge(),o.format.apply(o,arguments))},o.inherits=n("inherits"),o._extend=function(Y,X){if(!X||!be(X))return Y;for(var re=Object.keys(X),_e=re.length;_e--;)Y[re[_e]]=X[re[_e]];return Y};function Ke(Y,X){return Object.prototype.hasOwnProperty.call(Y,X)}}).call(this,n("_process"),typeof Xn<"u"?Xn:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(n,i,o){},{}],13:[function(n,i,o){(function(a){function u(d,g){for(var v=0,C=d.length-1;C>=0;C--){var S=d[C];S==="."?d.splice(C,1):S===".."?(d.splice(C,1),v++):v&&(d.splice(C,1),v--)}if(g)for(;v--;v)d.unshift("..");return d}o.resolve=function(){for(var d="",g=!1,v=arguments.length-1;v>=-1&&!g;v--){var C=v>=0?arguments[v]:a.cwd();if(typeof C!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!C)continue;d=C+"/"+d,g=C.charAt(0)==="/"}return d=u(f(d.split("/"),function(S){return!!S}),!g).join("/"),(g?"/":"")+d||"."},o.normalize=function(d){var g=o.isAbsolute(d),v=h(d,-1)==="/";return d=u(f(d.split("/"),function(C){return!!C}),!g).join("/"),!d&&!g&&(d="."),d&&v&&(d+="/"),(g?"/":"")+d},o.isAbsolute=function(d){return d.charAt(0)==="/"},o.join=function(){var d=Array.prototype.slice.call(arguments,0);return o.normalize(f(d,function(g,v){if(typeof g!="string")throw new TypeError("Arguments to path.join must be strings");return g}).join("/"))},o.relative=function(d,g){d=o.resolve(d).substr(1),g=o.resolve(g).substr(1);function v(R){for(var _=0;_<R.length&&R[_]==="";_++);for(var O=R.length-1;O>=0&&R[O]==="";O--);return _>O?[]:R.slice(_,O-_+1)}for(var C=v(d.split("/")),S=v(g.split("/")),E=Math.min(C.length,S.length),w=E,T=0;T<E;T++)if(C[T]!==S[T]){w=T;break}for(var j=[],T=w;T<C.length;T++)j.push("..");return j=j.concat(S.slice(w)),j.join("/")},o.sep="/",o.delimiter=":",o.dirname=function(d){if(typeof d!="string"&&(d=d+""),d.length===0)return".";for(var g=d.charCodeAt(0),v=g===47,C=-1,S=!0,E=d.length-1;E>=1;--E)if(g=d.charCodeAt(E),g===47){if(!S){C=E;break}}else S=!1;return C===-1?v?"/":".":v&&C===1?"/":d.slice(0,C)};function l(d){typeof d!="string"&&(d=d+"");var g=0,v=-1,C=!0,S;for(S=d.length-1;S>=0;--S)if(d.charCodeAt(S)===47){if(!C){g=S+1;break}}else v===-1&&(C=!1,v=S+1);return v===-1?"":d.slice(g,v)}o.basename=function(d,g){var v=l(d);return g&&v.substr(-1*g.length)===g&&(v=v.substr(0,v.length-g.length)),v},o.extname=function(d){typeof d!="string"&&(d=d+"");for(var g=-1,v=0,C=-1,S=!0,E=0,w=d.length-1;w>=0;--w){var T=d.charCodeAt(w);if(T===47){if(!S){v=w+1;break}continue}C===-1&&(S=!1,C=w+1),T===46?g===-1?g=w:E!==1&&(E=1):g!==-1&&(E=-1)}return g===-1||C===-1||E===0||E===1&&g===C-1&&g===v+1?"":d.slice(g,C)};function f(d,g){if(d.filter)return d.filter(g);for(var v=[],C=0;C<d.length;C++)g(d[C],C,d)&&v.push(d[C]);return v}var h="ab".substr(-1)==="b"?function(d,g,v){return d.substr(g,v)}:function(d,g,v){return g<0&&(g=d.length+g),d.substr(g,v)}}).call(this,n("_process"))},{_process:14}],14:[function(n,i,o){var a=i.exports={},u,l;function f(){throw new Error("setTimeout has not been defined")}function h(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?u=setTimeout:u=f}catch{u=f}try{typeof clearTimeout=="function"?l=clearTimeout:l=h}catch{l=h}})();function d(_){if(u===setTimeout)return setTimeout(_,0);if((u===f||!u)&&setTimeout)return u=setTimeout,setTimeout(_,0);try{return u(_,0)}catch{try{return u.call(null,_,0)}catch{return u.call(this,_,0)}}}function g(_){if(l===clearTimeout)return clearTimeout(_);if((l===h||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(_);try{return l(_)}catch{try{return l.call(null,_)}catch{return l.call(this,_)}}}var v=[],C=!1,S,E=-1;function w(){!C||!S||(C=!1,S.length?v=S.concat(v):E=-1,v.length&&T())}function T(){if(!C){var _=d(w);C=!0;for(var O=v.length;O;){for(S=v,v=[];++E<O;)S&&S[E].run();E=-1,O=v.length}S=null,C=!1,g(_)}}a.nextTick=function(_){var O=new Array(arguments.length-1);if(arguments.length>1)for(var F=1;F<arguments.length;F++)O[F-1]=arguments[F];v.push(new j(_,O)),v.length===1&&!C&&d(T)};function j(_,O){this.fun=_,this.array=O}j.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={};function R(){}a.on=R,a.addListener=R,a.once=R,a.off=R,a.removeListener=R,a.removeAllListeners=R,a.emit=R,a.prependListener=R,a.prependOnceListener=R,a.listeners=function(_){return[]},a.binding=function(_){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(_){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],15:[function(n,i,o){var a=n("escodegen").generate;i.exports=function(u,l){l||(l={});var f={},h=function d(g,v){if(g.type==="Literal")return g.value;if(g.type==="UnaryExpression"){var C=d(g.argument);return g.operator==="+"?+C:g.operator==="-"?-C:g.operator==="~"?~C:g.operator==="!"?!C:f}else if(g.type==="ArrayExpression"){for(var S=[],E=0,w=g.elements.length;E<w;E++){var T=d(g.elements[E]);if(T===f)return f;S.push(T)}return S}else if(g.type==="ObjectExpression"){for(var j={},E=0;E<g.properties.length;E++){var R=g.properties[E],_=R.value===null?R.value:d(R.value);if(_===f)return f;j[R.key.value||R.key.name]=_}return j}else if(g.type==="BinaryExpression"||g.type==="LogicalExpression"){var w=d(g.left);if(w===f)return f;var O=d(g.right);if(O===f)return f;var F=g.operator;return F==="=="?w==O:F==="==="?w===O:F==="!="?w!=O:F==="!=="?w!==O:F==="+"?w+O:F==="-"?w-O:F==="*"?w*O:F==="/"?w/O:F==="%"?w%O:F==="<"?w<O:F==="<="?w<=O:F===">"?w>O:F===">="?w>=O:F==="|"?w|O:F==="&"?w&O:F==="^"?w^O:F==="&&"?w&&O:F==="||"?w||O:f}else{if(g.type==="Identifier")return{}.hasOwnProperty.call(l,g.name)?l[g.name]:f;if(g.type==="ThisExpression")return{}.hasOwnProperty.call(l,"this")?l.this:f;if(g.type==="CallExpression"){var B=d(g.callee);if(B===f||typeof B!="function")return f;var W=g.callee.object?d(g.callee.object):f;W===f&&(W=null);for(var J=[],E=0,w=g.arguments.length;E<w;E++){var T=d(g.arguments[E]);if(T===f)return f;J.push(T)}return B.apply(W,J)}else if(g.type==="MemberExpression"){var j=d(g.object);if(j===f||typeof j=="function")return f;if(g.property.type==="Identifier")return j[g.property.name];var R=d(g.property);return R===f?f:j[R]}else if(g.type==="ConditionalExpression"){var C=d(g.test);return C===f?f:d(C?g.consequent:g.alternate)}else if(g.type==="ExpressionStatement"){var C=d(g.expression);return C===f?f:C}else{if(g.type==="ReturnStatement")return d(g.argument);if(g.type==="FunctionExpression"){var fe=g.body.body,le={};Object.keys(l).forEach(function(ve){le[ve]=l[ve]});for(var E=0;E<g.params.length;E++){var de=g.params[E];if(de.type=="Identifier")l[de.name]=null;else return f}for(var E in fe)if(d(fe[E])===f)return f;l=le;var be=Object.keys(l),Se=be.map(function(ve){return l[ve]});return Function(be.join(", "),"return "+a(g)).apply(null,Se)}else if(g.type==="TemplateLiteral"){for(var pe="",E=0;E<g.expressions.length;E++)pe+=d(g.quasis[E]),pe+=d(g.expressions[E]);return pe+=d(g.quasis[E]),pe}else if(g.type==="TaggedTemplateExpression"){var De=d(g.tag),Re=g.quasi,Te=Re.quasis.map(d),Xe=Re.expressions.map(d);return De.apply(null,[Te].concat(Xe))}else return g.type==="TemplateElement"?g.value.cooked:f}}}(u);return h===f?void 0:h}},{escodegen:12}],jsonpath:[function(n,i,o){i.exports=n("./lib/index")},{"./lib/index":5}]},{},["jsonpath"])("jsonpath")})})(Wh);var o2=Wh.exports;const Kh=mu(o2),Hh=({dataItems:e,resourceSchema:t,dataForControls:n,additionalPrinterColumns:i})=>{const o=[];let a=[];i?a=i.map(({name:l,jsonPath:f})=>{let h="";f.includes("[")&&(h=JSON.stringify(f),o.push({dataIndex:h,jsonPath:f}));const d=f.split(".").slice(1);return{title:l,dataIndex:h||d,key:l}}):t&&(a=[...Object.keys(t).map(l=>({title:l,dataIndex:l,key:l}))]);let u;return i?(u=e.map(l=>{if(typeof l=="object"&&l!==null){if(!Array.isArray(l)&&l.metadata&&typeof l.metadata=="object"&&!Array.isArray(l.metadata)&&l.metadata.name&&n){const f={cluster:n.cluster,syntheticProject:n.syntheticProject,pathPrefix:n.pathPrefix,apiGroupAndVersion:n.apiVersion,typeName:n.typeName,entryName:l.metadata.name,namespace:l.metadata.namespace||void 0,backlink:n.backlink,deletePathPrefix:n.deletePathPrefix,onDeleteHandle:n.onDeleteHandle,permissions:n.permissions};return{key:l.metadata.name,...l,internalDataForControls:f}}return{key:JSON.stringify(l),...l}}return{}}),o.length>0&&(u=u.map(l=>{const f={};return o.forEach(({dataIndex:h,jsonPath:d})=>{const g=Kh.query(l,`$${d}`);f[h]=Array.isArray(g)&&g.length===1?g[0]:g}),typeof l=="object"?{...l,...f}:{...f}}))):u=e.map(l=>{if(typeof l=="object"&&l!==null&&!Array.isArray(l)&&l.spec&&typeof l.spec=="object"){if(!Array.isArray(l)&&l.metadata&&typeof l.metadata=="object"&&!Array.isArray(l.metadata)&&l.metadata.name&&n){const f={cluster:n.cluster,synthetichProject:n.syntheticProject,pathPrefix:n.pathPrefix,apiGroupAndVersion:n.apiVersion,typeName:n.typeName,entryName:l.metadata.name,namespace:l.metadata.namespace||void 0,backlink:n.backlink,deletePathPrefix:n.deletePathPrefix,onDeleteHandle:n.onDeleteHandle,permissions:n.permissions};return{key:l.metadata.name,...l.spec,internalDataForControls:f}}return{key:JSON.stringify(l.spec),...l.spec}}return{}}),{dataSource:u,columns:a}},a2=({theme:e,baseprefix:t,dataItems:n,resourceSchema:i,dataForControls:o,additionalPrinterColumns:a,pathToNavigate:u,recordKeysForNavigation:l,additionalPrinterColumnsUndefinedValues:f,additionalPrinterColumnsTrimLengths:h,additionalPrinterColumnsColWidths:d,selectData:g,tableProps:v})=>{if(!i&&!a)return null;const{dataSource:C,columns:S}=Hh({dataItems:n,resourceSchema:i,dataForControls:o,additionalPrinterColumns:a});return x.jsx(qh,{theme:e,baseprefix:t,dataSource:C,columns:S,pathToNavigate:u,recordKeysForNavigation:l,additionalPrinterColumnsUndefinedValues:f,additionalPrinterColumnsTrimLengths:h,additionalPrinterColumnsColWidths:d,selectData:g,tableProps:v})};var u2="Expected a function",zh=NaN,c2="[object Symbol]",l2=/^\s+|\s+$/g,f2=/^[-+]0x[0-9a-f]+$/i,h2=/^0b[01]+$/i,d2=/^0o[0-7]+$/i,p2=parseInt,g2=typeof Xn=="object"&&Xn&&Xn.Object===Object&&Xn,y2=typeof self=="object"&&self&&self.Object===Object&&self,m2=g2||y2||Function("return this")(),b2=Object.prototype,w2=b2.toString,v2=Math.max,x2=Math.min,Zu=function(){return m2.Date.now()};function E2(e,t,n){var i,o,a,u,l,f,h=0,d=!1,g=!1,v=!0;if(typeof e!="function")throw new TypeError(u2);t=Gh(t)||0,ec(n)&&(d=!!n.leading,g="maxWait"in n,a=g?v2(Gh(n.maxWait)||0,t):a,v="trailing"in n?!!n.trailing:v);function C(F){var B=i,W=o;return i=o=void 0,h=F,u=e.apply(W,B),u}function S(F){return h=F,l=setTimeout(T,t),d?C(F):u}function E(F){var B=F-f,W=F-h,J=t-B;return g?x2(J,a-W):J}function w(F){var B=F-f,W=F-h;return f===void 0||B>=t||B<0||g&&W>=a}function T(){var F=Zu();if(w(F))return j(F);l=setTimeout(T,E(F))}function j(F){return l=void 0,v&&i?C(F):(i=o=void 0,u)}function R(){l!==void 0&&clearTimeout(l),h=0,i=f=o=l=void 0}function _(){return l===void 0?u:j(Zu())}function O(){var F=Zu(),B=w(F);if(i=arguments,o=this,f=F,B){if(l===void 0)return S(f);if(g)return l=setTimeout(T,t),C(f)}return l===void 0&&(l=setTimeout(T,t)),u}return O.cancel=R,O.flush=_,O}function ec(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function S2(e){return!!e&&typeof e=="object"}function A2(e){return typeof e=="symbol"||S2(e)&&w2.call(e)==c2}function Gh(e){if(typeof e=="number")return e;if(A2(e))return zh;if(ec(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ec(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(l2,"");var n=h2.test(e);return n||d2.test(e)?p2(e.slice(2),n?2:8):f2.test(e)?zh:+e}var C2=E2;const Jh=mu(C2);function _2(e){const t=Q.useRef(e);t.current=e,Q.useEffect(()=>()=>{t.current()},[])}function k2(e,t=500,n){const i=Q.useRef();_2(()=>{i.current&&i.current.cancel()});const o=Q.useMemo(()=>{const a=Jh(e,t,n),u=(...l)=>a(...l);return u.cancel=()=>{a.cancel()},u.isPending=()=>!!i.current,u.flush=()=>a.flush(),u},[e,t,n]);return Q.useEffect(()=>{i.current=Jh(e,t,n)},[e,t,n]),o}const Yh=async({clusterName:e,body:t})=>{const n=JSON.stringify({apiVersion:"authorization.k8s.io/v1",kind:"SelfSubjectAccessReview",spec:{resourceAttributes:{...t}}});return $e.post(`/api/clusters/${e}/k8s/apis/authorization.k8s.io/v1/selfsubjectaccessreviews`,n,{method:"POST",headers:{"Content-Type":"application/json"}})},Wr=({clusterName:e,namespace:t,apiGroup:n,typeName:i,verb:o,refetchInterval:a,enabler:u})=>vn.useQuery({queryKey:["usePermissions",e,t,n,i,o],queryFn:async()=>(await Yh({clusterName:e,body:{namespace:t,group:n,resource:i,verb:o}})).data,refetchInterval:a!==void 0?a:5e3,enabled:u||!0}),tc=(e,t)=>(typeof t?.label=="string"?t.label:"").toLowerCase().includes(e.toLowerCase());function Rs(e,t){const n=10**t;return Math.floor(e*n)/n}const T2=(e,t)=>{let n=parseFloat(t.replace(/[a-zA-Zа-яА-Я]/g,""));if(e==="cpu")return t.endsWith("m")&&(n/=1e3),Rs(n,1);if(t.endsWith("m"))n/=1e3;else if(t.endsWith("k"))n/=1e6;else if(t.endsWith("M"))n/=1e3;else if(t.endsWith("G"))n/=1;else if(t.endsWith("T"))n*=1e3;else if(t.endsWith("Ki"))n/=1024,n/=1e6;else if(t.endsWith("Mi"))n/=1e3,n/=1e3;else if(/^\d+(\.\d+)?$/.test(t))n/=1e9;else throw new Error("Invalid value");return Rs(n,1)},nc=e=>{if(typeof e=="string"){let t=parseFloat(e.replace(/[a-zA-Zа-яА-Я]/g,""));return e.endsWith("m")&&(t/=1e3),Rs(t,1)}return 0},rc=e=>{if(typeof e=="string"){let t=parseFloat(e.replace(/[a-zA-Zа-яА-Я]/g,""));if(e.endsWith("k"))t/=1e6;else if(e.endsWith("m"))t/=1e3;else if(e.endsWith("M"))t/=1e3;else if(e.endsWith("G"))t/=1;else if(e.endsWith("T"))t*=1e3;else if(e.endsWith("P"))t*=1e6;else if(e.endsWith("E"))t*=1e9;else if(e.endsWith("Ki"))t*=1024/1e9;else if(e.endsWith("Mi"))t/=1048.576;else if(e.endsWith("Gi"))t*=1.073741824;else if(e.endsWith("Ti"))t*=1.099511628;else if(e.endsWith("Pi"))t*=1.125899907;else if(e.endsWith("Ei"))t*=1.152921505;else throw new Error("Invalid value");return Rs(t,1)}return 0},ic=(e,t,n,i=[])=>{let o=[];if(typeof e!="object"||e===null)return o;e[t]===n&&o.push([...i]);for(const a in e)if(e.hasOwnProperty(a)){const u=e[a];if(typeof u=="object"&&u!==null){const l=[...i,a],f=ic(u,t,n,l);o=o.concat(f)}}return o},Xh=(e,t)=>{const n=Mt.cloneDeep(e),i=ic(t,"type","rangeInputCpu");return ic(t,"type","rangeInputMemory").forEach(a=>{const u=a.filter(f=>typeof f=="string").filter(f=>f!=="properties"),l=Mt.get(n,u);(l||l===0)&&Mt.set(n,u,rc(l))}),i.forEach(a=>{const u=a.filter(f=>typeof f=="string").filter(f=>f!=="properties"),l=Mt.get(n,u);(l||l===0)&&Mt.set(n,u,nc(l))}),n},sc=(e,t=[])=>(Array.isArray(e)?e.map((i,o)=>[o,i]):Object.entries(e)).flatMap(([i,o])=>{const a=[...t,i];return typeof o=="object"&&o!==null?[a,...sc(o,a)]:[a]}),Qh=e=>e.map((t,n)=>e.slice(0,n+1));function I2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function ed(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Zh(Object(n),!0).forEach(function(i){I2(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zh(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function O2(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,a;for(a=0;a<i.length;a++)o=i[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function F2(e,t){if(e==null)return{};var n=O2(e,t),i,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)i=a[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function B2(e,t){return D2(e)||P2(e,t)||R2(e,t)||L2()}function D2(e){if(Array.isArray(e))return e}function P2(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],i=!0,o=!1,a=void 0;try{for(var u=e[Symbol.iterator](),l;!(i=(l=u.next()).done)&&(n.push(l.value),!(t&&n.length===t));i=!0);}catch(f){o=!0,a=f}finally{try{!i&&u.return!=null&&u.return()}finally{if(o)throw a}}return n}}function R2(e,t){if(e){if(typeof e=="string")return td(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return td(e,t)}}function td(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function L2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
240
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function rd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nd(Object(n),!0).forEach(function(i){j2(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nd(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function N2(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(i){return t.reduceRight(function(o,a){return a(o)},i)}}function Ls(e){return function t(){for(var n=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return o.length>=e.length?e.apply(this,o):function(){for(var u=arguments.length,l=new Array(u),f=0;f<u;f++)l[f]=arguments[f];return t.apply(n,[].concat(o,l))}}}function Zo(e){return{}.toString.call(e).includes("Object")}function $2(e){return!Object.keys(e).length}function js(e){return typeof e=="function"}function M2(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function U2(e,t){return Zo(t)||Kr("changeType"),Object.keys(t).some(function(n){return!M2(e,n)})&&Kr("changeField"),t}function V2(e){js(e)||Kr("selectorType")}function q2(e){js(e)||Zo(e)||Kr("handlerType"),Zo(e)&&Object.values(e).some(function(t){return!js(t)})&&Kr("handlersType")}function W2(e){e||Kr("initialIsRequired"),Zo(e)||Kr("initialType"),$2(e)&&Kr("initialContent")}function K2(e,t){throw new Error(e[t]||e.default)}var H2={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},Kr=Ls(K2)(H2),ea={changes:U2,selector:V2,handler:q2,initial:W2};function z2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ea.initial(e),ea.handler(t);var n={current:e},i=Ls(Y2)(n,t),o=Ls(J2)(n),a=Ls(ea.changes)(e),u=Ls(G2)(n);function l(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(d){return d};return ea.selector(h),h(n.current)}function f(h){N2(i,o,a,u)(h)}return[l,f]}function G2(e,t){return js(t)?t(e.current):t}function J2(e,t){return e.current=rd(rd({},e.current),t),t}function Y2(e,t,n){return js(t)?t(e.current):Object.keys(n).forEach(function(i){var o;return(o=t[i])===null||o===void 0?void 0:o.call(t,e.current[i])}),n}var X2={create:z2},Q2={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs"}};function Z2(e){return function t(){for(var n=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return o.length>=e.length?e.apply(this,o):function(){for(var u=arguments.length,l=new Array(u),f=0;f<u;f++)l[f]=arguments[f];return t.apply(n,[].concat(o,l))}}}function eb(e){return{}.toString.call(e).includes("Object")}function tb(e){return e||sd("configIsRequired"),eb(e)||sd("configType"),e.urls?(nb(),{paths:{vs:e.urls.monacoBase}}):e}function nb(){console.warn(id.deprecation)}function rb(e,t){throw new Error(e[t]||e.default)}var id={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
241
+ You are using deprecated way of configuration.
242
+
243
+ Instead of using
244
+ monaco.config({ urls: { monacoBase: '...' } })
245
+ use
246
+ monaco.config({ paths: { vs: '...' } })
247
+
248
+ For more please check the link https://github.com/suren-atoyan/monaco-loader#config
249
+ `},sd=Z2(rb)(id),ib={config:tb},sb=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return function(o){return n.reduceRight(function(a,u){return u(a)},o)}};function od(e,t){return Object.keys(t).forEach(function(n){t[n]instanceof Object&&e[n]&&Object.assign(t[n],od(e[n],t[n]))}),ed(ed({},e),t)}var ob={type:"cancelation",msg:"operation is manually canceled"};function oc(e){var t=!1,n=new Promise(function(i,o){e.then(function(a){return t?o(ob):i(a)}),e.catch(o)});return n.cancel=function(){return t=!0},n}var ab=X2.create({config:Q2,isInitialized:!1,resolve:null,reject:null,monaco:null}),ad=B2(ab,2),Ns=ad[0],ta=ad[1];function ub(e){var t=ib.config(e),n=t.monaco,i=F2(t,["monaco"]);ta(function(o){return{config:od(o.config,i),monaco:n}})}function cb(){var e=Ns(function(t){var n=t.monaco,i=t.isInitialized,o=t.resolve;return{monaco:n,isInitialized:i,resolve:o}});if(!e.isInitialized){if(ta({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),oc(ac);if(window.monaco&&window.monaco.editor)return ud(window.monaco),e.resolve(window.monaco),oc(ac);sb(lb,hb)(db)}return oc(ac)}function lb(e){return document.body.appendChild(e)}function fb(e){var t=document.createElement("script");return e&&(t.src=e),t}function hb(e){var t=Ns(function(i){var o=i.config,a=i.reject;return{config:o,reject:a}}),n=fb("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function db(){var e=Ns(function(n){var i=n.config,o=n.resolve,a=n.reject;return{config:i,resolve:o,reject:a}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(n){ud(n),e.resolve(n)},function(n){e.reject(n)})}function ud(e){Ns().monaco||ta({monaco:e})}function pb(){return Ns(function(e){var t=e.monaco;return t})}var ac=new Promise(function(e,t){return ta({resolve:e,reject:t})}),$s={config:ub,init:cb,__getMonacoInstance:pb},gb={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},uc=gb,yb={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},mb=yb;function bb({children:e}){return Q.createElement("div",{style:mb.container},e)}var wb=bb,vb=wb;function xb({width:e,height:t,isEditorReady:n,loading:i,_ref:o,className:a,wrapperProps:u}){return Q.createElement("section",{style:{...uc.wrapper,width:e,height:t},...u},!n&&Q.createElement(vb,null,i),Q.createElement("div",{ref:o,style:{...uc.fullWidth,...!n&&uc.hide},className:a}))}var Eb=xb,cd=Q.memo(Eb);function Sb(e){Q.useEffect(e,[])}var cc=Sb;function Ab(e,t,n=!0){let i=Q.useRef(!0);Q.useEffect(i.current||!n?()=>{i.current=!1}:e,t)}var _n=Ab;function Ms(){}function zi(e,t,n,i){return Cb(e,i)||_b(e,t,n,i)}function Cb(e,t){return e.editor.getModel(ld(e,t))}function _b(e,t,n,i){return e.editor.createModel(t,n,i?ld(e,i):void 0)}function ld(e,t){return e.Uri.parse(t)}function kb({original:e,modified:t,language:n,originalLanguage:i,modifiedLanguage:o,originalModelPath:a,modifiedModelPath:u,keepCurrentOriginalModel:l=!1,keepCurrentModifiedModel:f=!1,theme:h="light",loading:d="Loading...",options:g={},height:v="100%",width:C="100%",className:S,wrapperProps:E={},beforeMount:w=Ms,onMount:T=Ms}){let[j,R]=Q.useState(!1),[_,O]=Q.useState(!0),F=Q.useRef(null),B=Q.useRef(null),W=Q.useRef(null),J=Q.useRef(T),fe=Q.useRef(w),le=Q.useRef(!1);cc(()=>{let pe=$s.init();return pe.then(De=>(B.current=De)&&O(!1)).catch(De=>De?.type!=="cancelation"&&console.error("Monaco initialization: error:",De)),()=>F.current?Se():pe.cancel()}),_n(()=>{if(F.current&&B.current){let pe=F.current.getOriginalEditor(),De=zi(B.current,e||"",i||n||"text",a||"");De!==pe.getModel()&&pe.setModel(De)}},[a],j),_n(()=>{if(F.current&&B.current){let pe=F.current.getModifiedEditor(),De=zi(B.current,t||"",o||n||"text",u||"");De!==pe.getModel()&&pe.setModel(De)}},[u],j),_n(()=>{let pe=F.current.getModifiedEditor();pe.getOption(B.current.editor.EditorOption.readOnly)?pe.setValue(t||""):t!==pe.getValue()&&(pe.executeEdits("",[{range:pe.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),pe.pushUndoStop())},[t],j),_n(()=>{F.current?.getModel()?.original.setValue(e||"")},[e],j),_n(()=>{let{original:pe,modified:De}=F.current.getModel();B.current.editor.setModelLanguage(pe,i||n||"text"),B.current.editor.setModelLanguage(De,o||n||"text")},[n,i,o],j),_n(()=>{B.current?.editor.setTheme(h)},[h],j),_n(()=>{F.current?.updateOptions(g)},[g],j);let de=Q.useCallback(()=>{if(!B.current)return;fe.current(B.current);let pe=zi(B.current,e||"",i||n||"text",a||""),De=zi(B.current,t||"",o||n||"text",u||"");F.current?.setModel({original:pe,modified:De})},[n,t,o,e,i,a,u]),be=Q.useCallback(()=>{!le.current&&W.current&&(F.current=B.current.editor.createDiffEditor(W.current,{automaticLayout:!0,...g}),de(),B.current?.editor.setTheme(h),R(!0),le.current=!0)},[g,h,de]);Q.useEffect(()=>{j&&J.current(F.current,B.current)},[j]),Q.useEffect(()=>{!_&&!j&&be()},[_,j,be]);function Se(){let pe=F.current?.getModel();l||pe?.original?.dispose(),f||pe?.modified?.dispose(),F.current?.dispose()}return Q.createElement(cd,{width:C,height:v,isEditorReady:j,loading:d,_ref:W,className:S,wrapperProps:E})}var Tb=kb,Ib=Q.memo(Tb);function Ob(){let[e,t]=Q.useState($s.__getMonacoInstance());return cc(()=>{let n;return e||(n=$s.init(),n.then(i=>{t(i)})),()=>n?.cancel()}),e}var Fb=Ob;function Bb(e){let t=Q.useRef();return Q.useEffect(()=>{t.current=e},[e]),t.current}var Db=Bb,na=new Map;function Pb({defaultValue:e,defaultLanguage:t,defaultPath:n,value:i,language:o,path:a,theme:u="light",line:l,loading:f="Loading...",options:h={},overrideServices:d={},saveViewState:g=!0,keepCurrentModel:v=!1,width:C="100%",height:S="100%",className:E,wrapperProps:w={},beforeMount:T=Ms,onMount:j=Ms,onChange:R,onValidate:_=Ms}){let[O,F]=Q.useState(!1),[B,W]=Q.useState(!0),J=Q.useRef(null),fe=Q.useRef(null),le=Q.useRef(null),de=Q.useRef(j),be=Q.useRef(T),Se=Q.useRef(),pe=Q.useRef(i),De=Db(a),Re=Q.useRef(!1),Te=Q.useRef(!1);cc(()=>{let ge=$s.init();return ge.then(Ke=>(J.current=Ke)&&W(!1)).catch(Ke=>Ke?.type!=="cancelation"&&console.error("Monaco initialization: error:",Ke)),()=>fe.current?ve():ge.cancel()}),_n(()=>{let ge=zi(J.current,e||i||"",t||o||"",a||n||"");ge!==fe.current?.getModel()&&(g&&na.set(De,fe.current?.saveViewState()),fe.current?.setModel(ge),g&&fe.current?.restoreViewState(na.get(a)))},[a],O),_n(()=>{fe.current?.updateOptions(h)},[h],O),_n(()=>{!fe.current||i===void 0||(fe.current.getOption(J.current.editor.EditorOption.readOnly)?fe.current.setValue(i):i!==fe.current.getValue()&&(Te.current=!0,fe.current.executeEdits("",[{range:fe.current.getModel().getFullModelRange(),text:i,forceMoveMarkers:!0}]),fe.current.pushUndoStop(),Te.current=!1))},[i],O),_n(()=>{let ge=fe.current?.getModel();ge&&o&&J.current?.editor.setModelLanguage(ge,o)},[o],O),_n(()=>{l!==void 0&&fe.current?.revealLine(l)},[l],O),_n(()=>{J.current?.editor.setTheme(u)},[u],O);let Xe=Q.useCallback(()=>{if(!(!le.current||!J.current)&&!Re.current){be.current(J.current);let ge=a||n,Ke=zi(J.current,i||e||"",t||o||"",ge||"");fe.current=J.current?.editor.create(le.current,{model:Ke,automaticLayout:!0,...h},d),g&&fe.current.restoreViewState(na.get(ge)),J.current.editor.setTheme(u),l!==void 0&&fe.current.revealLine(l),F(!0),Re.current=!0}},[e,t,n,i,o,a,h,d,g,u,l]);Q.useEffect(()=>{O&&de.current(fe.current,J.current)},[O]),Q.useEffect(()=>{!B&&!O&&Xe()},[B,O,Xe]),pe.current=i,Q.useEffect(()=>{O&&R&&(Se.current?.dispose(),Se.current=fe.current?.onDidChangeModelContent(ge=>{Te.current||R(fe.current.getValue(),ge)}))},[O,R]),Q.useEffect(()=>{if(O){let ge=J.current.editor.onDidChangeMarkers(Ke=>{let Y=fe.current.getModel()?.uri;if(Y&&Ke.find(X=>X.path===Y.path)){let X=J.current.editor.getModelMarkers({resource:Y});_?.(X)}});return()=>{ge?.dispose()}}return()=>{}},[O,_]);function ve(){Se.current?.dispose(),v?g&&na.set(a,fe.current.saveViewState()):fe.current.getModel()?.dispose(),fe.current.dispose()}return Q.createElement(cd,{width:C,height:S,isEditorReady:O,loading:f,_ref:le,className:E,wrapperProps:w})}var Rb=Pb,fd=Q.memo(Rb),lc=fd;const Lb=Object.freeze(Object.defineProperty({__proto__:null,DiffEditor:Ib,Editor:fd,default:lc,loader:$s,useMonaco:Fb},Symbol.toStringTag,{value:"Module"})),fc=Symbol.for("yaml.alias"),hc=Symbol.for("yaml.document"),Hr=Symbol.for("yaml.map"),hd=Symbol.for("yaml.pair"),pr=Symbol.for("yaml.scalar"),Gi=Symbol.for("yaml.seq"),Mn=Symbol.for("yaml.node.type"),Ji=e=>!!e&&typeof e=="object"&&e[Mn]===fc,Us=e=>!!e&&typeof e=="object"&&e[Mn]===hc,Vs=e=>!!e&&typeof e=="object"&&e[Mn]===Hr,Ut=e=>!!e&&typeof e=="object"&&e[Mn]===hd,Ct=e=>!!e&&typeof e=="object"&&e[Mn]===pr,qs=e=>!!e&&typeof e=="object"&&e[Mn]===Gi;function Vt(e){if(e&&typeof e=="object")switch(e[Mn]){case Hr:case Gi:return!0}return!1}function qt(e){if(e&&typeof e=="object")switch(e[Mn]){case fc:case Hr:case pr:case Gi:return!0}return!1}const jb=e=>(Ct(e)||Vt(e))&&!!e.anchor,pi=Symbol("break visit"),Nb=Symbol("skip children"),Ws=Symbol("remove node");function gi(e,t){const n=$b(t);Us(e)?Yi(null,e.contents,n,Object.freeze([e]))===Ws&&(e.contents=null):Yi(null,e,n,Object.freeze([]))}gi.BREAK=pi,gi.SKIP=Nb,gi.REMOVE=Ws;function Yi(e,t,n,i){const o=Mb(e,t,n,i);if(qt(o)||Ut(o))return Ub(e,i,o),Yi(e,o,n,i);if(typeof o!="symbol"){if(Vt(t)){i=Object.freeze(i.concat(t));for(let a=0;a<t.items.length;++a){const u=Yi(a,t.items[a],n,i);if(typeof u=="number")a=u-1;else{if(u===pi)return pi;u===Ws&&(t.items.splice(a,1),a-=1)}}}else if(Ut(t)){i=Object.freeze(i.concat(t));const a=Yi("key",t.key,n,i);if(a===pi)return pi;a===Ws&&(t.key=null);const u=Yi("value",t.value,n,i);if(u===pi)return pi;u===Ws&&(t.value=null)}}return o}function $b(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function Mb(e,t,n,i){if(typeof n=="function")return n(e,t,i);if(Vs(t))return n.Map?.(e,t,i);if(qs(t))return n.Seq?.(e,t,i);if(Ut(t))return n.Pair?.(e,t,i);if(Ct(t))return n.Scalar?.(e,t,i);if(Ji(t))return n.Alias?.(e,t,i)}function Ub(e,t,n){const i=t[t.length-1];if(Vt(i))i.items[e]=n;else if(Ut(i))e==="key"?i.key=n:i.value=n;else if(Us(i))i.contents=n;else{const o=Ji(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${o} parent`)}}const Vb={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},qb=e=>e.replace(/[!,[\]{}]/g,t=>Vb[t]);class dn{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},dn.defaultYaml,t),this.tags=Object.assign({},dn.defaultTags,n)}clone(){const t=new dn(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new dn(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:dn.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},dn.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:dn.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},dn.defaultTags),this.atNextDocument=!1);const i=t.trim().split(/[ \t]+/),o=i.shift();switch(o){case"%TAG":{if(i.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),i.length<2))return!1;const[a,u]=i;return this.tags[a]=u,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[a]=i;if(a==="1.1"||a==="1.2")return this.yaml.version=a,!0;{const u=/^\d+\.\d+$/.test(a);return n(6,`Unsupported YAML version ${a}`,u),!1}}default:return n(0,`Unknown directive ${o}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const u=t.slice(2,-1);return u==="!"||u==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),u)}const[,i,o]=t.match(/^(.*!)([^!]*)$/s);o||n(`The ${t} tag has no suffix`);const a=this.tags[i];if(a)try{return a+decodeURIComponent(o)}catch(u){return n(String(u)),null}return i==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,i]of Object.entries(this.tags))if(t.startsWith(i))return n+qb(t.substring(i.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags);let o;if(t&&i.length>0&&qt(t.contents)){const a={};gi(t.contents,(u,l)=>{qt(l)&&l.tag&&(a[l.tag]=!0)}),o=Object.keys(a)}else o=[];for(const[a,u]of i)a==="!!"&&u==="tag:yaml.org,2002:"||(!t||o.some(l=>l.startsWith(u)))&&n.push(`%TAG ${a} ${u}`);return n.join(`
250
+ `)}}dn.defaultYaml={explicit:!1,version:"1.2"},dn.defaultTags={"!!":"tag:yaml.org,2002:"};function dd(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function pd(e){const t=new Set;return gi(e,{Value(n,i){i.anchor&&t.add(i.anchor)}}),t}function gd(e,t){for(let n=1;;++n){const i=`${e}${n}`;if(!t.has(i))return i}}function Wb(e,t){const n=[],i=new Map;let o=null;return{onAnchor:a=>{n.push(a),o||(o=pd(e));const u=gd(t,o);return o.add(u),u},setAnchors:()=>{for(const a of n){const u=i.get(a);if(typeof u=="object"&&u.anchor&&(Ct(u.node)||Vt(u.node)))u.node.anchor=u.anchor;else{const l=new Error("Failed to resolve repeated object (this should not happen)");throw l.source=a,l}}},sourceObjects:i}}function Xi(e,t,n,i){if(i&&typeof i=="object")if(Array.isArray(i))for(let o=0,a=i.length;o<a;++o){const u=i[o],l=Xi(e,i,String(o),u);l===void 0?delete i[o]:l!==u&&(i[o]=l)}else if(i instanceof Map)for(const o of Array.from(i.keys())){const a=i.get(o),u=Xi(e,i,o,a);u===void 0?i.delete(o):u!==a&&i.set(o,u)}else if(i instanceof Set)for(const o of Array.from(i)){const a=Xi(e,i,o,o);a===void 0?i.delete(o):a!==o&&(i.delete(o),i.add(a))}else for(const[o,a]of Object.entries(i)){const u=Xi(e,i,o,a);u===void 0?delete i[o]:u!==a&&(i[o]=u)}return e.call(t,n,i)}function Un(e,t,n){if(Array.isArray(e))return e.map((i,o)=>Un(i,String(o),n));if(e&&typeof e.toJSON=="function"){if(!n||!jb(e))return e.toJSON(t,n);const i={aliasCount:0,count:1,res:void 0};n.anchors.set(e,i),n.onCreate=a=>{i.res=a,delete n.onCreate};const o=e.toJSON(t,n);return n.onCreate&&n.onCreate(o),o}return typeof e=="bigint"&&!n?.keep?Number(e):e}class dc{constructor(t){Object.defineProperty(this,Mn,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:i,onAnchor:o,reviver:a}={}){if(!Us(t))throw new TypeError("A document argument is required");const u={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},l=Un(this,"",u);if(typeof o=="function")for(const{count:f,res:h}of u.anchors.values())o(h,f);return typeof a=="function"?Xi(a,{"":l},"",l):l}}class pc extends dc{constructor(t){super(fc),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return gi(t,{Node:(i,o)=>{if(o===this)return gi.BREAK;o.anchor===this.source&&(n=o)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:i,doc:o,maxAliasCount:a}=n,u=this.resolve(o);if(!u){const f=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(f)}let l=i.get(u);if(l||(Un(u,null,n),l=i.get(u)),!l||l.res===void 0){const f="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(f)}if(a>=0&&(l.count+=1,l.aliasCount===0&&(l.aliasCount=ra(o,u,i)),l.count*l.aliasCount>a)){const f="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(f)}return l.res}toString(t,n,i){const o=`*${this.source}`;if(t){if(dd(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const a=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(a)}if(t.implicitKey)return`${o} `}return o}}function ra(e,t,n){if(Ji(t)){const i=t.resolve(e),o=n&&i&&n.get(i);return o?o.count*o.aliasCount:0}else if(Vt(t)){let i=0;for(const o of t.items){const a=ra(e,o,n);a>i&&(i=a)}return i}else if(Ut(t)){const i=ra(e,t.key,n),o=ra(e,t.value,n);return Math.max(i,o)}return 1}const yd=e=>!e||typeof e!="function"&&typeof e!="object";class qe extends dc{constructor(t){super(pr),this.value=t}toJSON(t,n){return n?.keep?this.value:Un(this.value,t,n)}toString(){return String(this.value)}}qe.BLOCK_FOLDED="BLOCK_FOLDED",qe.BLOCK_LITERAL="BLOCK_LITERAL",qe.PLAIN="PLAIN",qe.QUOTE_DOUBLE="QUOTE_DOUBLE",qe.QUOTE_SINGLE="QUOTE_SINGLE";const Kb="tag:yaml.org,2002:";function Hb(e,t,n){if(t){const i=n.filter(a=>a.tag===t),o=i.find(a=>!a.format)??i[0];if(!o)throw new Error(`Tag ${t} not found`);return o}return n.find(i=>i.identify?.(e)&&!i.format)}function Ks(e,t,n){if(Us(e)&&(e=e.contents),qt(e))return e;if(Ut(e)){const g=n.schema[Hr].createNode?.(n.schema,null,n);return g.items.push(e),g}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:i,onAnchor:o,onTagObj:a,schema:u,sourceObjects:l}=n;let f;if(i&&e&&typeof e=="object"){if(f=l.get(e),f)return f.anchor||(f.anchor=o(e)),new pc(f.anchor);f={anchor:null,node:null},l.set(e,f)}t?.startsWith("!!")&&(t=Kb+t.slice(2));let h=Hb(e,t,u.tags);if(!h){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const g=new qe(e);return f&&(f.node=g),g}h=e instanceof Map?u[Hr]:Symbol.iterator in Object(e)?u[Gi]:u[Hr]}a&&(a(h),delete n.onTagObj);const d=h?.createNode?h.createNode(n.schema,e,n):typeof h?.nodeClass?.from=="function"?h.nodeClass.from(n.schema,e,n):new qe(e);return t?d.tag=t:h.default||(d.tag=h.tag),f&&(f.node=d),d}function ia(e,t,n){let i=n;for(let o=t.length-1;o>=0;--o){const a=t[o];if(typeof a=="number"&&Number.isInteger(a)&&a>=0){const u=[];u[a]=i,i=u}else i=new Map([[a,i]])}return Ks(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const Hs=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class md extends dc{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(i=>qt(i)||Ut(i)?i.clone(t):i),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(Hs(t))this.add(n);else{const[i,...o]=t,a=this.get(i,!0);if(Vt(a))a.addIn(o,n);else if(a===void 0&&this.schema)this.set(i,ia(this.schema,o,n));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${o}`)}}deleteIn(t){const[n,...i]=t;if(i.length===0)return this.delete(n);const o=this.get(n,!0);if(Vt(o))return o.deleteIn(i);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}getIn(t,n){const[i,...o]=t,a=this.get(i,!0);return o.length===0?!n&&Ct(a)?a.value:a:Vt(a)?a.getIn(o,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!Ut(n))return!1;const i=n.value;return i==null||t&&Ct(i)&&i.value==null&&!i.commentBefore&&!i.comment&&!i.tag})}hasIn(t){const[n,...i]=t;if(i.length===0)return this.has(n);const o=this.get(n,!0);return Vt(o)?o.hasIn(i):!1}setIn(t,n){const[i,...o]=t;if(o.length===0)this.set(i,n);else{const a=this.get(i,!0);if(Vt(a))a.setIn(o,n);else if(a===void 0&&this.schema)this.set(i,ia(this.schema,o,n));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${o}`)}}}const zb=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Cr(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const yi=(e,t,n)=>e.endsWith(`
251
+ `)?Cr(n,t):n.includes(`
252
+ `)?`
253
+ `+Cr(n,t):(e.endsWith(" ")?"":" ")+n,bd="flow",gc="block",sa="quoted";function oa(e,t,n="flow",{indentAtStart:i,lineWidth:o=80,minContentWidth:a=20,onFold:u,onOverflow:l}={}){if(!o||o<0)return e;o<a&&(a=0);const f=Math.max(1+a,1+o-t.length);if(e.length<=f)return e;const h=[],d={};let g=o-t.length;typeof i=="number"&&(i>o-Math.max(2,a)?h.push(0):g=o-i);let v,C,S=!1,E=-1,w=-1,T=-1;n===gc&&(E=wd(e,E,t.length),E!==-1&&(g=E+f));for(let R;R=e[E+=1];){if(n===sa&&R==="\\"){switch(w=E,e[E+1]){case"x":E+=3;break;case"u":E+=5;break;case"U":E+=9;break;default:E+=1}T=E}if(R===`
254
+ `)n===gc&&(E=wd(e,E,t.length)),g=E+t.length+f,v=void 0;else{if(R===" "&&C&&C!==" "&&C!==`
255
+ `&&C!==" "){const _=e[E+1];_&&_!==" "&&_!==`
256
+ `&&_!==" "&&(v=E)}if(E>=g)if(v)h.push(v),g=v+f,v=void 0;else if(n===sa){for(;C===" "||C===" ";)C=R,R=e[E+=1],S=!0;const _=E>T+1?E-2:w-1;if(d[_])return e;h.push(_),d[_]=!0,g=_+f,v=void 0}else S=!0}C=R}if(S&&l&&l(),h.length===0)return e;u&&u();let j=e.slice(0,h[0]);for(let R=0;R<h.length;++R){const _=h[R],O=h[R+1]||e.length;_===0?j=`
257
+ ${t}${e.slice(0,O)}`:(n===sa&&d[_]&&(j+=`${e[_]}\\`),j+=`
258
+ ${t}${e.slice(_+1,O)}`)}return j}function wd(e,t,n){let i=t,o=t+1,a=e[o];for(;a===" "||a===" ";)if(t<o+n)a=e[++t];else{do a=e[++t];while(a&&a!==`
259
+ `);i=t,o=t+1,a=e[o]}return i}const aa=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),ua=e=>/^(%|---|\.\.\.)/m.test(e);function Gb(e,t,n){if(!t||t<0)return!1;const i=t-n,o=e.length;if(o<=i)return!1;for(let a=0,u=0;a<o;++a)if(e[a]===`
260
+ `){if(a-u>i)return!0;if(u=a+1,o-u<=i)return!1}return!0}function zs(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:i}=t,o=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(ua(e)?" ":"");let u="",l=0;for(let f=0,h=n[f];h;h=n[++f])if(h===" "&&n[f+1]==="\\"&&n[f+2]==="n"&&(u+=n.slice(l,f)+"\\ ",f+=1,l=f,h="\\"),h==="\\")switch(n[f+1]){case"u":{u+=n.slice(l,f);const d=n.substr(f+2,4);switch(d){case"0000":u+="\\0";break;case"0007":u+="\\a";break;case"000b":u+="\\v";break;case"001b":u+="\\e";break;case"0085":u+="\\N";break;case"00a0":u+="\\_";break;case"2028":u+="\\L";break;case"2029":u+="\\P";break;default:d.substr(0,2)==="00"?u+="\\x"+d.substr(2):u+=n.substr(f,6)}f+=5,l=f+1}break;case"n":if(i||n[f+2]==='"'||n.length<o)f+=1;else{for(u+=n.slice(l,f)+`
261
+
262
+ `;n[f+2]==="\\"&&n[f+3]==="n"&&n[f+4]!=='"';)u+=`
263
+ `,f+=2;u+=a,n[f+2]===" "&&(u+="\\"),f+=1,l=f+1}break;default:f+=1}return u=l?u+n.slice(l):n,i?u:oa(u,a,sa,aa(t,!1))}function yc(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
264
+ `)||/[ \t]\n|\n[ \t]/.test(e))return zs(e,t);const n=t.indent||(ua(e)?" ":""),i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
265
+ ${n}`)+"'";return t.implicitKey?i:oa(i,n,bd,aa(t,!1))}function Qi(e,t){const{singleQuote:n}=t.options;let i;if(n===!1)i=zs;else{const o=e.includes('"'),a=e.includes("'");o&&!a?i=yc:a&&!o?i=zs:i=n?yc:zs}return i(e,t)}let mc;try{mc=new RegExp(`(^|(?<!
266
+ ))
267
+ +(?!
268
+ |$)`,"g")}catch{mc=/\n+(?!\n|$)/g}function ca({comment:e,type:t,value:n},i,o,a){const{blockQuote:u,commentString:l,lineWidth:f}=i.options;if(!u||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return Qi(n,i);const h=i.indent||(i.forceBlockIndent||ua(n)?" ":""),d=u==="literal"?!0:u==="folded"||t===qe.BLOCK_FOLDED?!1:t===qe.BLOCK_LITERAL?!0:!Gb(n,f,h.length);if(!n)return d?`|
269
+ `:`>
270
+ `;let g,v;for(v=n.length;v>0;--v){const O=n[v-1];if(O!==`
271
+ `&&O!==" "&&O!==" ")break}let C=n.substring(v);const S=C.indexOf(`
272
+ `);S===-1?g="-":n===C||S!==C.length-1?(g="+",a&&a()):g="",C&&(n=n.slice(0,-C.length),C[C.length-1]===`
273
+ `&&(C=C.slice(0,-1)),C=C.replace(mc,`$&${h}`));let E=!1,w,T=-1;for(w=0;w<n.length;++w){const O=n[w];if(O===" ")E=!0;else if(O===`
274
+ `)T=w;else break}let j=n.substring(0,T<w?T+1:w);j&&(n=n.substring(j.length),j=j.replace(/\n+/g,`$&${h}`));let _=(E?h?"2":"1":"")+g;if(e&&(_+=" "+l(e.replace(/ ?[\r\n]+/g," ")),o&&o()),!d){const O=n.replace(/\n+/g,`
275
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${h}`);let F=!1;const B=aa(i,!0);u!=="folded"&&t!==qe.BLOCK_FOLDED&&(B.onOverflow=()=>{F=!0});const W=oa(`${j}${O}${C}`,h,gc,B);if(!F)return`>${_}
276
+ ${h}${W}`}return n=n.replace(/\n+/g,`$&${h}`),`|${_}
277
+ ${h}${j}${n}${C}`}function Jb(e,t,n,i){const{type:o,value:a}=e,{actualString:u,implicitKey:l,indent:f,indentStep:h,inFlow:d}=t;if(l&&a.includes(`
278
+ `)||d&&/[[\]{},]/.test(a))return Qi(a,t);if(!a||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return l||d||!a.includes(`
279
+ `)?Qi(a,t):ca(e,t,n,i);if(!l&&!d&&o!==qe.PLAIN&&a.includes(`
280
+ `))return ca(e,t,n,i);if(ua(a)){if(f==="")return t.forceBlockIndent=!0,ca(e,t,n,i);if(l&&f===h)return Qi(a,t)}const g=a.replace(/\n+/g,`$&
281
+ ${f}`);if(u){const v=E=>E.default&&E.tag!=="tag:yaml.org,2002:str"&&E.test?.test(g),{compat:C,tags:S}=t.doc.schema;if(S.some(v)||C?.some(v))return Qi(a,t)}return l?g:oa(g,f,bd,aa(t,!1))}function bc(e,t,n,i){const{implicitKey:o,inFlow:a}=t,u=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:l}=e;l!==qe.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(u.value)&&(l=qe.QUOTE_DOUBLE);const f=d=>{switch(d){case qe.BLOCK_FOLDED:case qe.BLOCK_LITERAL:return o||a?Qi(u.value,t):ca(u,t,n,i);case qe.QUOTE_DOUBLE:return zs(u.value,t);case qe.QUOTE_SINGLE:return yc(u.value,t);case qe.PLAIN:return Jb(u,t,n,i);default:return null}};let h=f(l);if(h===null){const{defaultKeyType:d,defaultStringType:g}=t.options,v=o&&d||g;if(h=f(v),h===null)throw new Error(`Unsupported default string type ${v}`)}return h}function vd(e,t){const n=Object.assign({blockQuote:!0,commentString:zb,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let i;switch(n.collectionStyle){case"block":i=!1;break;case"flow":i=!0;break;default:i=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:i,options:n}}function Yb(e,t){if(t.tag){const o=e.filter(a=>a.tag===t.tag);if(o.length>0)return o.find(a=>a.format===t.format)??o[0]}let n,i;if(Ct(t)){i=t.value;let o=e.filter(a=>a.identify?.(i));if(o.length>1){const a=o.filter(u=>u.test);a.length>0&&(o=a)}n=o.find(a=>a.format===t.format)??o.find(a=>!a.format)}else i=t,n=e.find(o=>o.nodeClass&&i instanceof o.nodeClass);if(!n){const o=i?.constructor?.name??typeof i;throw new Error(`Tag not resolved for ${o} value`)}return n}function Xb(e,t,{anchors:n,doc:i}){if(!i.directives)return"";const o=[],a=(Ct(e)||Vt(e))&&e.anchor;a&&dd(a)&&(n.add(a),o.push(`&${a}`));const u=e.tag?e.tag:t.default?null:t.tag;return u&&o.push(i.directives.tagString(u)),o.join(" ")}function Zi(e,t,n,i){if(Ut(e))return e.toString(t,n,i);if(Ji(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let o;const a=qt(e)?e:t.doc.createNode(e,{onTagObj:f=>o=f});o||(o=Yb(t.doc.schema.tags,a));const u=Xb(a,o,t);u.length>0&&(t.indentAtStart=(t.indentAtStart??0)+u.length+1);const l=typeof o.stringify=="function"?o.stringify(a,t,n,i):Ct(a)?bc(a,t,n,i):a.toString(t,n,i);return u?Ct(a)||l[0]==="{"||l[0]==="["?`${u} ${l}`:`${u}
282
+ ${t.indent}${l}`:l}function Qb({key:e,value:t},n,i,o){const{allNullValues:a,doc:u,indent:l,indentStep:f,options:{commentString:h,indentSeq:d,simpleKeys:g}}=n;let v=qt(e)&&e.comment||null;if(g){if(v)throw new Error("With simple keys, key nodes cannot have comments");if(Vt(e)||!qt(e)&&typeof e=="object"){const B="With simple keys, collection cannot be used as a key value";throw new Error(B)}}let C=!g&&(!e||v&&t==null&&!n.inFlow||Vt(e)||(Ct(e)?e.type===qe.BLOCK_FOLDED||e.type===qe.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!C&&(g||!a),indent:l+f});let S=!1,E=!1,w=Zi(e,n,()=>S=!0,()=>E=!0);if(!C&&!n.inFlow&&w.length>1024){if(g)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");C=!0}if(n.inFlow){if(a||t==null)return S&&i&&i(),w===""?"?":C?`? ${w}`:w}else if(a&&!g||t==null&&C)return w=`? ${w}`,v&&!S?w+=yi(w,n.indent,h(v)):E&&o&&o(),w;S&&(v=null),C?(v&&(w+=yi(w,n.indent,h(v))),w=`? ${w}
283
+ ${l}:`):(w=`${w}:`,v&&(w+=yi(w,n.indent,h(v))));let T,j,R;qt(t)?(T=!!t.spaceBefore,j=t.commentBefore,R=t.comment):(T=!1,j=null,R=null,t&&typeof t=="object"&&(t=u.createNode(t))),n.implicitKey=!1,!C&&!v&&Ct(t)&&(n.indentAtStart=w.length+1),E=!1,!d&&f.length>=2&&!n.inFlow&&!C&&qs(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let _=!1;const O=Zi(t,n,()=>_=!0,()=>E=!0);let F=" ";if(v||T||j){if(F=T?`
284
+ `:"",j){const B=h(j);F+=`
285
+ ${Cr(B,n.indent)}`}O===""&&!n.inFlow?F===`
286
+ `&&(F=`
287
+
288
+ `):F+=`
289
+ ${n.indent}`}else if(!C&&Vt(t)){const B=O[0],W=O.indexOf(`
290
+ `),J=W!==-1,fe=n.inFlow??t.flow??t.items.length===0;if(J||!fe){let le=!1;if(J&&(B==="&"||B==="!")){let de=O.indexOf(" ");B==="&"&&de!==-1&&de<W&&O[de+1]==="!"&&(de=O.indexOf(" ",de+1)),(de===-1||W<de)&&(le=!0)}le||(F=`
291
+ ${n.indent}`)}}else(O===""||O[0]===`
292
+ `)&&(F="");return w+=F+O,n.inFlow?_&&i&&i():R&&!_?w+=yi(w,n.indent,h(R)):E&&o&&o(),w}function xd(e,t){(e==="debug"||e==="warn")&&console.warn(t)}const la="<<",_r={identify:e=>e===la||typeof e=="symbol"&&e.description===la,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new qe(Symbol(la)),{addToJSMap:Ed}),stringify:()=>la},Zb=(e,t)=>(_r.identify(t)||Ct(t)&&(!t.type||t.type===qe.PLAIN)&&_r.identify(t.value))&&e?.doc.schema.tags.some(n=>n.tag===_r.tag&&n.default);function Ed(e,t,n){if(n=e&&Ji(n)?n.resolve(e.doc):n,qs(n))for(const i of n.items)wc(e,t,i);else if(Array.isArray(n))for(const i of n)wc(e,t,i);else wc(e,t,n)}function wc(e,t,n){const i=e&&Ji(n)?n.resolve(e.doc):n;if(!Vs(i))throw new Error("Merge sources must be maps or map aliases");const o=i.toJSON(null,e,Map);for(const[a,u]of o)t instanceof Map?t.has(a)||t.set(a,u):t instanceof Set?t.add(a):Object.prototype.hasOwnProperty.call(t,a)||Object.defineProperty(t,a,{value:u,writable:!0,enumerable:!0,configurable:!0});return t}function Sd(e,t,{key:n,value:i}){if(qt(n)&&n.addToJSMap)n.addToJSMap(e,t,i);else if(Zb(e,n))Ed(e,t,i);else{const o=Un(n,"",e);if(t instanceof Map)t.set(o,Un(i,o,e));else if(t instanceof Set)t.add(o);else{const a=ew(n,o,e),u=Un(i,a,e);a in t?Object.defineProperty(t,a,{value:u,writable:!0,enumerable:!0,configurable:!0}):t[a]=u}}return t}function ew(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(qt(e)&&n?.doc){const i=vd(n.doc,{});i.anchors=new Set;for(const a of n.anchors.keys())i.anchors.add(a.anchor);i.inFlow=!0,i.inStringifyKey=!0;const o=e.toString(i);if(!n.mapKeyWarned){let a=JSON.stringify(o);a.length>40&&(a=a.substring(0,36)+'..."'),xd(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${a}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return o}return JSON.stringify(t)}function vc(e,t,n){const i=Ks(e,void 0,n),o=Ks(t,void 0,n);return new pn(i,o)}class pn{constructor(t,n=null){Object.defineProperty(this,Mn,{value:hd}),this.key=t,this.value=n}clone(t){let{key:n,value:i}=this;return qt(n)&&(n=n.clone(t)),qt(i)&&(i=i.clone(t)),new pn(n,i)}toJSON(t,n){const i=n?.mapAsMap?new Map:{};return Sd(n,i,this)}toString(t,n,i){return t?.doc?Qb(this,t,n,i):JSON.stringify(this)}}function Ad(e,t,n){return(t.inFlow??e.flow?nw:tw)(e,t,n)}function tw({comment:e,items:t},n,{blockItemPrefix:i,flowChars:o,itemIndent:a,onChompKeep:u,onComment:l}){const{indent:f,options:{commentString:h}}=n,d=Object.assign({},n,{indent:a,type:null});let g=!1;const v=[];for(let S=0;S<t.length;++S){const E=t[S];let w=null;if(qt(E))!g&&E.spaceBefore&&v.push(""),fa(n,v,E.commentBefore,g),E.comment&&(w=E.comment);else if(Ut(E)){const j=qt(E.key)?E.key:null;j&&(!g&&j.spaceBefore&&v.push(""),fa(n,v,j.commentBefore,g))}g=!1;let T=Zi(E,d,()=>w=null,()=>g=!0);w&&(T+=yi(T,a,h(w))),g&&w&&(g=!1),v.push(i+T)}let C;if(v.length===0)C=o.start+o.end;else{C=v[0];for(let S=1;S<v.length;++S){const E=v[S];C+=E?`
293
+ ${f}${E}`:`
294
+ `}}return e?(C+=`
295
+ `+Cr(h(e),f),l&&l()):g&&u&&u(),C}function nw({items:e},t,{flowChars:n,itemIndent:i}){const{indent:o,indentStep:a,flowCollectionPadding:u,options:{commentString:l}}=t;i+=a;const f=Object.assign({},t,{indent:i,inFlow:!0,type:null});let h=!1,d=0;const g=[];for(let S=0;S<e.length;++S){const E=e[S];let w=null;if(qt(E))E.spaceBefore&&g.push(""),fa(t,g,E.commentBefore,!1),E.comment&&(w=E.comment);else if(Ut(E)){const j=qt(E.key)?E.key:null;j&&(j.spaceBefore&&g.push(""),fa(t,g,j.commentBefore,!1),j.comment&&(h=!0));const R=qt(E.value)?E.value:null;R?(R.comment&&(w=R.comment),R.commentBefore&&(h=!0)):E.value==null&&j?.comment&&(w=j.comment)}w&&(h=!0);let T=Zi(E,f,()=>w=null);S<e.length-1&&(T+=","),w&&(T+=yi(T,i,l(w))),!h&&(g.length>d||T.includes(`
296
+ `))&&(h=!0),g.push(T),d=g.length}const{start:v,end:C}=n;if(g.length===0)return v+C;if(!h){const S=g.reduce((E,w)=>E+w.length+2,2);h=t.options.lineWidth>0&&S>t.options.lineWidth}if(h){let S=v;for(const E of g)S+=E?`
297
+ ${a}${o}${E}`:`
298
+ `;return`${S}
299
+ ${o}${C}`}else return`${v}${u}${g.join(" ")}${u}${C}`}function fa({indent:e,options:{commentString:t}},n,i,o){if(i&&o&&(i=i.replace(/^\n+/,"")),i){const a=Cr(t(i),e);n.push(a.trimStart())}}function mi(e,t){const n=Ct(t)?t.value:t;for(const i of e)if(Ut(i)&&(i.key===t||i.key===n||Ct(i.key)&&i.key.value===n))return i}class Vn extends md{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Hr,t),this.items=[]}static from(t,n,i){const{keepUndefined:o,replacer:a}=i,u=new this(t),l=(f,h)=>{if(typeof a=="function")h=a.call(n,f,h);else if(Array.isArray(a)&&!a.includes(f))return;(h!==void 0||o)&&u.items.push(vc(f,h,i))};if(n instanceof Map)for(const[f,h]of n)l(f,h);else if(n&&typeof n=="object")for(const f of Object.keys(n))l(f,n[f]);return typeof t.sortMapEntries=="function"&&u.items.sort(t.sortMapEntries),u}add(t,n){let i;Ut(t)?i=t:!t||typeof t!="object"||!("key"in t)?i=new pn(t,t?.value):i=new pn(t.key,t.value);const o=mi(this.items,i.key),a=this.schema?.sortMapEntries;if(o){if(!n)throw new Error(`Key ${i.key} already set`);Ct(o.value)&&yd(i.value)?o.value.value=i.value:o.value=i.value}else if(a){const u=this.items.findIndex(l=>a(i,l)<0);u===-1?this.items.push(i):this.items.splice(u,0,i)}else this.items.push(i)}delete(t){const n=mi(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const o=mi(this.items,t)?.value;return(!n&&Ct(o)?o.value:o)??void 0}has(t){return!!mi(this.items,t)}set(t,n){this.add(new pn(t,n),!0)}toJSON(t,n,i){const o=i?new i:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(o);for(const a of this.items)Sd(n,o,a);return o}toString(t,n,i){if(!t)return JSON.stringify(this);for(const o of this.items)if(!Ut(o))throw new Error(`Map items must all be pairs; found ${JSON.stringify(o)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Ad(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:i,onComment:n})}}const es={collection:"map",default:!0,nodeClass:Vn,tag:"tag:yaml.org,2002:map",resolve(e,t){return Vs(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Vn.from(e,t,n)};class bi extends md{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Gi,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=ha(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const i=ha(t);if(typeof i!="number")return;const o=this.items[i];return!n&&Ct(o)?o.value:o}has(t){const n=ha(t);return typeof n=="number"&&n<this.items.length}set(t,n){const i=ha(t);if(typeof i!="number")throw new Error(`Expected a valid index, not ${t}.`);const o=this.items[i];Ct(o)&&yd(n)?o.value=n:this.items[i]=n}toJSON(t,n){const i=[];n?.onCreate&&n.onCreate(i);let o=0;for(const a of this.items)i.push(Un(a,String(o++),n));return i}toString(t,n,i){return t?Ad(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:i,onComment:n}):JSON.stringify(this)}static from(t,n,i){const{replacer:o}=i,a=new this(t);if(n&&Symbol.iterator in Object(n)){let u=0;for(let l of n){if(typeof o=="function"){const f=n instanceof Set?l:String(u++);l=o.call(n,f,l)}a.items.push(Ks(l,void 0,i))}}return a}}function ha(e){let t=Ct(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const ts={collection:"seq",default:!0,nodeClass:bi,tag:"tag:yaml.org,2002:seq",resolve(e,t){return qs(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>bi.from(e,t,n)},da={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,i){return t=Object.assign({actualString:!0},t),bc(e,t,n,i)}},pa={identify:e=>e==null,createNode:()=>new qe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new qe(null),stringify:({source:e},t)=>typeof e=="string"&&pa.test.test(e)?e:t.options.nullStr},xc={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new qe(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&xc.test.test(e)){const i=e[0]==="t"||e[0]==="T";if(t===i)return e}return t?n.options.trueStr:n.options.falseStr}};function er({format:e,minFractionDigits:t,tag:n,value:i}){if(typeof i=="bigint")return String(i);const o=typeof i=="number"?i:Number(i);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";let a=JSON.stringify(i);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(a)){let u=a.indexOf(".");u<0&&(u=a.length,a+=".");let l=t-(a.length-u-1);for(;l-- >0;)a+="0"}return a}const Cd={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:er},_d={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():er(e)}},kd={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new qe(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:er},ga=e=>typeof e=="bigint"||Number.isInteger(e),Ec=(e,t,n,{intAsBigInt:i})=>i?BigInt(e):parseInt(e.substring(t),n);function Td(e,t,n){const{value:i}=e;return ga(i)&&i>=0?n+i.toString(t):er(e)}const Id={identify:e=>ga(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Ec(e,2,8,n),stringify:e=>Td(e,8,"0o")},Od={identify:ga,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Ec(e,0,10,n),stringify:er},Fd={identify:e=>ga(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Ec(e,2,16,n),stringify:e=>Td(e,16,"0x")},rw=[es,ts,da,pa,xc,Id,Od,Fd,Cd,_d,kd];function Bd(e){return typeof e=="bigint"||Number.isInteger(e)}const ya=({value:e})=>JSON.stringify(e),iw=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:ya},{identify:e=>e==null,createNode:()=>new qe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:ya},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:ya},{identify:Bd,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Bd(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:ya}],sw={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},ow=[es,ts].concat(iw,sw),Sc={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),i=new Uint8Array(n.length);for(let o=0;o<n.length;++o)i[o]=n.charCodeAt(o);return i}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},i,o,a){const u=n;let l;if(typeof btoa=="function"){let f="";for(let h=0;h<u.length;++h)f+=String.fromCharCode(u[h]);l=btoa(f)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=qe.BLOCK_LITERAL),t!==qe.QUOTE_DOUBLE){const f=Math.max(i.options.lineWidth-i.indent.length,i.options.minContentWidth),h=Math.ceil(l.length/f),d=new Array(h);for(let g=0,v=0;g<h;++g,v+=f)d[g]=l.substr(v,f);l=d.join(t===qe.BLOCK_LITERAL?`
300
+ `:" ")}return bc({comment:e,type:t,value:l},i,o,a)}};function Dd(e,t){if(qs(e))for(let n=0;n<e.items.length;++n){let i=e.items[n];if(!Ut(i)){if(Vs(i)){i.items.length>1&&t("Each pair must have its own sequence indicator");const o=i.items[0]||new pn(new qe(null));if(i.commentBefore&&(o.key.commentBefore=o.key.commentBefore?`${i.commentBefore}
301
+ ${o.key.commentBefore}`:i.commentBefore),i.comment){const a=o.value??o.key;a.comment=a.comment?`${i.comment}
302
+ ${a.comment}`:i.comment}i=o}e.items[n]=Ut(i)?i:new pn(i)}}else t("Expected a sequence for this tag");return e}function Pd(e,t,n){const{replacer:i}=n,o=new bi(e);o.tag="tag:yaml.org,2002:pairs";let a=0;if(t&&Symbol.iterator in Object(t))for(let u of t){typeof i=="function"&&(u=i.call(t,String(a++),u));let l,f;if(Array.isArray(u))if(u.length===2)l=u[0],f=u[1];else throw new TypeError(`Expected [key, value] tuple: ${u}`);else if(u&&u instanceof Object){const h=Object.keys(u);if(h.length===1)l=h[0],f=u[l];else throw new TypeError(`Expected tuple with one key, not ${h.length} keys`)}else l=u;o.items.push(vc(l,f,n))}return o}const Ac={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Dd,createNode:Pd};class ns extends bi{constructor(){super(),this.add=Vn.prototype.add.bind(this),this.delete=Vn.prototype.delete.bind(this),this.get=Vn.prototype.get.bind(this),this.has=Vn.prototype.has.bind(this),this.set=Vn.prototype.set.bind(this),this.tag=ns.tag}toJSON(t,n){if(!n)return super.toJSON(t);const i=new Map;n?.onCreate&&n.onCreate(i);for(const o of this.items){let a,u;if(Ut(o)?(a=Un(o.key,"",n),u=Un(o.value,a,n)):a=Un(o,"",n),i.has(a))throw new Error("Ordered maps must not include duplicate keys");i.set(a,u)}return i}static from(t,n,i){const o=Pd(t,n,i),a=new this;return a.items=o.items,a}}ns.tag="tag:yaml.org,2002:omap";const Cc={collection:"seq",identify:e=>e instanceof Map,nodeClass:ns,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Dd(e,t),i=[];for(const{key:o}of n.items)Ct(o)&&(i.includes(o.value)?t(`Ordered maps must not include duplicate keys: ${o.value}`):i.push(o.value));return Object.assign(new ns,n)},createNode:(e,t,n)=>ns.from(e,t,n)};function Rd({value:e,source:t},n){return t&&(e?Ld:jd).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Ld={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new qe(!0),stringify:Rd},jd={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new qe(!1),stringify:Rd},aw={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:er},uw={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():er(e)}},cw={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new qe(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const i=e.substring(n+1).replace(/_/g,"");i[i.length-1]==="0"&&(t.minFractionDigits=i.length)}return t},stringify:er},Gs=e=>typeof e=="bigint"||Number.isInteger(e);function ma(e,t,n,{intAsBigInt:i}){const o=e[0];if((o==="-"||o==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),i){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const u=BigInt(e);return o==="-"?BigInt(-1)*u:u}const a=parseInt(e,n);return o==="-"?-1*a:a}function _c(e,t,n){const{value:i}=e;if(Gs(i)){const o=i.toString(t);return i<0?"-"+n+o.substr(1):n+o}return er(e)}const lw={identify:Gs,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>ma(e,2,2,n),stringify:e=>_c(e,2,"0b")},fw={identify:Gs,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>ma(e,1,8,n),stringify:e=>_c(e,8,"0")},hw={identify:Gs,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>ma(e,0,10,n),stringify:er},dw={identify:Gs,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>ma(e,2,16,n),stringify:e=>_c(e,16,"0x")};class rs extends Vn{constructor(t){super(t),this.tag=rs.tag}add(t){let n;Ut(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new pn(t.key,null):n=new pn(t,null),mi(this.items,n.key)||this.items.push(n)}get(t,n){const i=mi(this.items,t);return!n&&Ut(i)?Ct(i.key)?i.key.value:i.key:i}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const i=mi(this.items,t);i&&!n?this.items.splice(this.items.indexOf(i),1):!i&&n&&this.items.push(new pn(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,i){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,i);throw new Error("Set items must all have null values")}static from(t,n,i){const{replacer:o}=i,a=new this(t);if(n&&Symbol.iterator in Object(n))for(let u of n)typeof o=="function"&&(u=o.call(n,u,u)),a.items.push(vc(u,null,i));return a}}rs.tag="tag:yaml.org,2002:set";const kc={collection:"map",identify:e=>e instanceof Set,nodeClass:rs,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>rs.from(e,t,n),resolve(e,t){if(Vs(e)){if(e.hasAllNullValues(!0))return Object.assign(new rs,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Tc(e,t){const n=e[0],i=n==="-"||n==="+"?e.substring(1):e,o=u=>t?BigInt(u):Number(u),a=i.replace(/_/g,"").split(":").reduce((u,l)=>u*o(60)+o(l),o(0));return n==="-"?o(-1)*a:a}function Nd(e){let{value:t}=e,n=u=>u;if(typeof t=="bigint")n=u=>BigInt(u);else if(isNaN(t)||!isFinite(t))return er(e);let i="";t<0&&(i="-",t*=n(-1));const o=n(60),a=[t%o];return t<60?a.unshift(0):(t=(t-a[0])/o,a.unshift(t%o),t>=60&&(t=(t-a[0])/o,a.unshift(t))),i+a.map(u=>String(u).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const $d={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Tc(e,n),stringify:Nd},Md={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Tc(e,!1),stringify:Nd},ba={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(ba.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,i,o,a,u,l]=t.map(Number),f=t[7]?Number((t[7]+"00").substr(1,3)):0;let h=Date.UTC(n,i-1,o,a||0,u||0,l||0,f);const d=t[8];if(d&&d!=="Z"){let g=Tc(d,!1);Math.abs(g)<30&&(g*=60),h-=6e4*g}return new Date(h)},stringify:({value:e})=>e.toISOString().replace(/(T00:00:00)?\.000Z$/,"")},Ud=[es,ts,da,pa,Ld,jd,lw,fw,hw,dw,aw,uw,cw,Sc,_r,Cc,Ac,kc,$d,Md,ba],Vd=new Map([["core",rw],["failsafe",[es,ts,da]],["json",ow],["yaml11",Ud],["yaml-1.1",Ud]]),qd={binary:Sc,bool:xc,float:kd,floatExp:_d,floatNaN:Cd,floatTime:Md,int:Od,intHex:Fd,intOct:Id,intTime:$d,map:es,merge:_r,null:pa,omap:Cc,pairs:Ac,seq:ts,set:kc,timestamp:ba},pw={"tag:yaml.org,2002:binary":Sc,"tag:yaml.org,2002:merge":_r,"tag:yaml.org,2002:omap":Cc,"tag:yaml.org,2002:pairs":Ac,"tag:yaml.org,2002:set":kc,"tag:yaml.org,2002:timestamp":ba};function Ic(e,t,n){const i=Vd.get(t);if(i&&!e)return n&&!i.includes(_r)?i.concat(_r):i.slice();let o=i;if(!o)if(Array.isArray(e))o=[];else{const a=Array.from(Vd.keys()).filter(u=>u!=="yaml11").map(u=>JSON.stringify(u)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${a} or define customTags array`)}if(Array.isArray(e))for(const a of e)o=o.concat(a);else typeof e=="function"&&(o=e(o.slice()));return n&&(o=o.concat(_r)),o.reduce((a,u)=>{const l=typeof u=="string"?qd[u]:u;if(!l){const f=JSON.stringify(u),h=Object.keys(qd).map(d=>JSON.stringify(d)).join(", ");throw new Error(`Unknown custom tag ${f}; use one of ${h}`)}return a.includes(l)||a.push(l),a},[])}const gw=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class Oc{constructor({compat:t,customTags:n,merge:i,resolveKnownTags:o,schema:a,sortMapEntries:u,toStringDefaults:l}){this.compat=Array.isArray(t)?Ic(t,"compat"):t?Ic(null,t):null,this.name=typeof a=="string"&&a||"core",this.knownTags=o?pw:{},this.tags=Ic(n,this.name,i),this.toStringOptions=l??null,Object.defineProperty(this,Hr,{value:es}),Object.defineProperty(this,pr,{value:da}),Object.defineProperty(this,Gi,{value:ts}),this.sortMapEntries=typeof u=="function"?u:u===!0?gw:null}clone(){const t=Object.create(Oc.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function yw(e,t){const n=[];let i=t.directives===!0;if(t.directives!==!1&&e.directives){const f=e.directives.toString(e);f?(n.push(f),i=!0):e.directives.docStart&&(i=!0)}i&&n.push("---");const o=vd(e,t),{commentString:a}=o.options;if(e.commentBefore){n.length!==1&&n.unshift("");const f=a(e.commentBefore);n.unshift(Cr(f,""))}let u=!1,l=null;if(e.contents){if(qt(e.contents)){if(e.contents.spaceBefore&&i&&n.push(""),e.contents.commentBefore){const d=a(e.contents.commentBefore);n.push(Cr(d,""))}o.forceBlockIndent=!!e.comment,l=e.contents.comment}const f=l?void 0:()=>u=!0;let h=Zi(e.contents,o,()=>l=null,f);l&&(h+=yi(h,"",a(l))),(h[0]==="|"||h[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${h}`:n.push(h)}else n.push(Zi(e.contents,o));if(e.directives?.docEnd)if(e.comment){const f=a(e.comment);f.includes(`
303
+ `)?(n.push("..."),n.push(Cr(f,""))):n.push(`... ${f}`)}else n.push("...");else{let f=e.comment;f&&u&&(f=f.replace(/^\n+/,"")),f&&((!u||l)&&n[n.length-1]!==""&&n.push(""),n.push(Cr(a(f),"")))}return n.join(`
304
+ `)+`
305
+ `}class Js{constructor(t,n,i){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Mn,{value:hc});let o=null;typeof n=="function"||Array.isArray(n)?o=n:i===void 0&&n&&(i=n,n=void 0);const a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},i);this.options=a;let{version:u}=a;i?._directives?(this.directives=i._directives.atDocument(),this.directives.yaml.explicit&&(u=this.directives.yaml.version)):this.directives=new dn({version:u}),this.setSchema(u,i),this.contents=t===void 0?null:this.createNode(t,o,i)}clone(){const t=Object.create(Js.prototype,{[Mn]:{value:hc}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=qt(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){is(this.contents)&&this.contents.add(t)}addIn(t,n){is(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const i=pd(this);t.anchor=!n||i.has(n)?gd(n||"a",i):n}return new pc(t.anchor)}createNode(t,n,i){let o;if(typeof n=="function")t=n.call({"":t},"",t),o=n;else if(Array.isArray(n)){const w=j=>typeof j=="number"||j instanceof String||j instanceof Number,T=n.filter(w).map(String);T.length>0&&(n=n.concat(T)),o=n}else i===void 0&&n&&(i=n,n=void 0);const{aliasDuplicateObjects:a,anchorPrefix:u,flow:l,keepUndefined:f,onTagObj:h,tag:d}=i??{},{onAnchor:g,setAnchors:v,sourceObjects:C}=Wb(this,u||"a"),S={aliasDuplicateObjects:a??!0,keepUndefined:f??!1,onAnchor:g,onTagObj:h,replacer:o,schema:this.schema,sourceObjects:C},E=Ks(t,d,S);return l&&Vt(E)&&(E.flow=!0),v(),E}createPair(t,n,i={}){const o=this.createNode(t,null,i),a=this.createNode(n,null,i);return new pn(o,a)}delete(t){return is(this.contents)?this.contents.delete(t):!1}deleteIn(t){return Hs(t)?this.contents==null?!1:(this.contents=null,!0):is(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return Vt(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return Hs(t)?!n&&Ct(this.contents)?this.contents.value:this.contents:Vt(this.contents)?this.contents.getIn(t,n):void 0}has(t){return Vt(this.contents)?this.contents.has(t):!1}hasIn(t){return Hs(t)?this.contents!==void 0:Vt(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=ia(this.schema,[t],n):is(this.contents)&&this.contents.set(t,n)}setIn(t,n){Hs(t)?this.contents=n:this.contents==null?this.contents=ia(this.schema,Array.from(t),n):is(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let i;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new dn({version:"1.1"}),i={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new dn({version:t}),i={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,i=null;break;default:{const o=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${o}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(i)this.schema=new Oc(Object.assign(i,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:i,maxAliasCount:o,onAnchor:a,reviver:u}={}){const l={anchors:new Map,doc:this,keep:!t,mapAsMap:i===!0,mapKeyWarned:!1,maxAliasCount:typeof o=="number"?o:100},f=Un(this.contents,n??"",l);if(typeof a=="function")for(const{count:h,res:d}of l.anchors.values())a(d,h);return typeof u=="function"?Xi(u,{"":f},"",f):f}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return yw(this,t)}}function is(e){if(Vt(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Wd extends Error{constructor(t,n,i,o){super(),this.name=t,this.code=i,this.message=o,this.pos=n}}class Ys extends Wd{constructor(t,n,i){super("YAMLParseError",t,n,i)}}class mw extends Wd{constructor(t,n,i){super("YAMLWarning",t,n,i)}}const Kd=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(l=>t.linePos(l));const{line:i,col:o}=n.linePos[0];n.message+=` at line ${i}, column ${o}`;let a=o-1,u=e.substring(t.lineStarts[i-1],t.lineStarts[i]).replace(/[\n\r]+$/,"");if(a>=60&&u.length>80){const l=Math.min(a-39,u.length-79);u="…"+u.substring(l),a-=l-1}if(u.length>80&&(u=u.substring(0,79)+"…"),i>1&&/^ *$/.test(u.substring(0,a))){let l=e.substring(t.lineStarts[i-2],t.lineStarts[i-1]);l.length>80&&(l=l.substring(0,79)+`…
306
+ `),u=l+u}if(/[^ ]/.test(u)){let l=1;const f=n.linePos[1];f&&f.line===i&&f.col>o&&(l=Math.max(1,Math.min(f.col-o,80-a)));const h=" ".repeat(a)+"^".repeat(l);n.message+=`:
307
+
308
+ ${u}
309
+ ${h}
310
+ `}};function ss(e,{flow:t,indicator:n,next:i,offset:o,onError:a,parentIndent:u,startOnNewline:l}){let f=!1,h=l,d=l,g="",v="",C=!1,S=!1,E=null,w=null,T=null,j=null,R=null,_=null,O=null;for(const W of e)switch(S&&(W.type!=="space"&&W.type!=="newline"&&W.type!=="comma"&&a(W.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),S=!1),E&&(h&&W.type!=="comment"&&W.type!=="newline"&&a(E,"TAB_AS_INDENT","Tabs are not allowed as indentation"),E=null),W.type){case"space":!t&&(n!=="doc-start"||i?.type!=="flow-collection")&&W.source.includes(" ")&&(E=W),d=!0;break;case"comment":{d||a(W,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const J=W.source.substring(1)||" ";g?g+=v+J:g=J,v="",h=!1;break}case"newline":h?g?g+=W.source:(!_||n!=="seq-item-ind")&&(f=!0):v+=W.source,h=!0,C=!0,(w||T)&&(j=W),d=!0;break;case"anchor":w&&a(W,"MULTIPLE_ANCHORS","A node can have at most one anchor"),W.source.endsWith(":")&&a(W.offset+W.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),w=W,O===null&&(O=W.offset),h=!1,d=!1,S=!0;break;case"tag":{T&&a(W,"MULTIPLE_TAGS","A node can have at most one tag"),T=W,O===null&&(O=W.offset),h=!1,d=!1,S=!0;break}case n:(w||T)&&a(W,"BAD_PROP_ORDER",`Anchors and tags must be after the ${W.source} indicator`),_&&a(W,"UNEXPECTED_TOKEN",`Unexpected ${W.source} in ${t??"collection"}`),_=W,h=n==="seq-item-ind"||n==="explicit-key-ind",d=!1;break;case"comma":if(t){R&&a(W,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),R=W,h=!1,d=!1;break}default:a(W,"UNEXPECTED_TOKEN",`Unexpected ${W.type} token`),h=!1,d=!1}const F=e[e.length-1],B=F?F.offset+F.source.length:o;return S&&i&&i.type!=="space"&&i.type!=="newline"&&i.type!=="comma"&&(i.type!=="scalar"||i.source!=="")&&a(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),E&&(h&&E.indent<=u||i?.type==="block-map"||i?.type==="block-seq")&&a(E,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:R,found:_,spaceBefore:f,comment:g,hasNewline:C,anchor:w,tag:T,newlineAfterProp:j,end:B,start:O??B}}function Xs(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
311
+ `))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(Xs(t.key)||Xs(t.value))return!0}return!1;default:return!0}}function Fc(e,t,n){if(t?.type==="flow-collection"){const i=t.end[0];i.indent===e&&(i.source==="]"||i.source==="}")&&Xs(t)&&n(i,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Hd(e,t,n){const{uniqueKeys:i}=e.options;if(i===!1)return!1;const o=typeof i=="function"?i:(a,u)=>a===u||Ct(a)&&Ct(u)&&a.value===u.value;return t.some(a=>o(a.key,n))}const zd="All mapping items must start at the same column";function bw({composeNode:e,composeEmptyNode:t},n,i,o,a){const u=a?.nodeClass??Vn,l=new u(n.schema);n.atRoot&&(n.atRoot=!1);let f=i.offset,h=null;for(const d of i.items){const{start:g,key:v,sep:C,value:S}=d,E=ss(g,{indicator:"explicit-key-ind",next:v??C?.[0],offset:f,onError:o,parentIndent:i.indent,startOnNewline:!0}),w=!E.found;if(w){if(v&&(v.type==="block-seq"?o(f,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in v&&v.indent!==i.indent&&o(f,"BAD_INDENT",zd)),!E.anchor&&!E.tag&&!C){h=E.end,E.comment&&(l.comment?l.comment+=`
312
+ `+E.comment:l.comment=E.comment);continue}(E.newlineAfterProp||Xs(v))&&o(v??g[g.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else E.found?.indent!==i.indent&&o(f,"BAD_INDENT",zd);n.atKey=!0;const T=E.end,j=v?e(n,v,E,o):t(n,T,g,null,E,o);n.schema.compat&&Fc(i.indent,v,o),n.atKey=!1,Hd(n,l.items,j)&&o(T,"DUPLICATE_KEY","Map keys must be unique");const R=ss(C??[],{indicator:"map-value-ind",next:S,offset:j.range[2],onError:o,parentIndent:i.indent,startOnNewline:!v||v.type==="block-scalar"});if(f=R.end,R.found){w&&(S?.type==="block-map"&&!R.hasNewline&&o(f,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&E.start<R.found.offset-1024&&o(j.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const _=S?e(n,S,R,o):t(n,f,C,null,R,o);n.schema.compat&&Fc(i.indent,S,o),f=_.range[2];const O=new pn(j,_);n.options.keepSourceTokens&&(O.srcToken=d),l.items.push(O)}else{w&&o(j.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),R.comment&&(j.comment?j.comment+=`
313
+ `+R.comment:j.comment=R.comment);const _=new pn(j);n.options.keepSourceTokens&&(_.srcToken=d),l.items.push(_)}}return h&&h<f&&o(h,"IMPOSSIBLE","Map comment with trailing content"),l.range=[i.offset,f,h??f],l}function ww({composeNode:e,composeEmptyNode:t},n,i,o,a){const u=a?.nodeClass??bi,l=new u(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let f=i.offset,h=null;for(const{start:d,value:g}of i.items){const v=ss(d,{indicator:"seq-item-ind",next:g,offset:f,onError:o,parentIndent:i.indent,startOnNewline:!0});if(!v.found)if(v.anchor||v.tag||g)g&&g.type==="block-seq"?o(v.end,"BAD_INDENT","All sequence items must start at the same column"):o(f,"MISSING_CHAR","Sequence item without - indicator");else{h=v.end,v.comment&&(l.comment=v.comment);continue}const C=g?e(n,g,v,o):t(n,v.end,d,null,v,o);n.schema.compat&&Fc(i.indent,g,o),f=C.range[2],l.items.push(C)}return l.range=[i.offset,f,h??f],l}function Qs(e,t,n,i){let o="";if(e){let a=!1,u="";for(const l of e){const{source:f,type:h}=l;switch(h){case"space":a=!0;break;case"comment":{n&&!a&&i(l,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const d=f.substring(1)||" ";o?o+=u+d:o=d,u="";break}case"newline":o&&(u+=f),a=!0;break;default:i(l,"UNEXPECTED_TOKEN",`Unexpected ${h} at node end`)}t+=f.length}}return{comment:o,offset:t}}const Bc="Block collections are not allowed within flow collections",Dc=e=>e&&(e.type==="block-map"||e.type==="block-seq");function vw({composeNode:e,composeEmptyNode:t},n,i,o,a){const u=i.start.source==="{",l=u?"flow map":"flow sequence",f=a?.nodeClass??(u?Vn:bi),h=new f(n.schema);h.flow=!0;const d=n.atRoot;d&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let g=i.offset+i.start.source.length;for(let w=0;w<i.items.length;++w){const T=i.items[w],{start:j,key:R,sep:_,value:O}=T,F=ss(j,{flow:l,indicator:"explicit-key-ind",next:R??_?.[0],offset:g,onError:o,parentIndent:i.indent,startOnNewline:!1});if(!F.found){if(!F.anchor&&!F.tag&&!_&&!O){w===0&&F.comma?o(F.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`):w<i.items.length-1&&o(F.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${l}`),F.comment&&(h.comment?h.comment+=`
314
+ `+F.comment:h.comment=F.comment),g=F.end;continue}!u&&n.options.strict&&Xs(R)&&o(R,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(w===0)F.comma&&o(F.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`);else if(F.comma||o(F.start,"MISSING_CHAR",`Missing , between ${l} items`),F.comment){let B="";e:for(const W of j)switch(W.type){case"comma":case"space":break;case"comment":B=W.source.substring(1);break e;default:break e}if(B){let W=h.items[h.items.length-1];Ut(W)&&(W=W.value??W.key),W.comment?W.comment+=`
315
+ `+B:W.comment=B,F.comment=F.comment.substring(B.length+1)}}if(!u&&!_&&!F.found){const B=O?e(n,O,F,o):t(n,F.end,_,null,F,o);h.items.push(B),g=B.range[2],Dc(O)&&o(B.range,"BLOCK_IN_FLOW",Bc)}else{n.atKey=!0;const B=F.end,W=R?e(n,R,F,o):t(n,B,j,null,F,o);Dc(R)&&o(W.range,"BLOCK_IN_FLOW",Bc),n.atKey=!1;const J=ss(_??[],{flow:l,indicator:"map-value-ind",next:O,offset:W.range[2],onError:o,parentIndent:i.indent,startOnNewline:!1});if(J.found){if(!u&&!F.found&&n.options.strict){if(_)for(const de of _){if(de===J.found)break;if(de.type==="newline"){o(de,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}F.start<J.found.offset-1024&&o(J.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else O&&("source"in O&&O.source&&O.source[0]===":"?o(O,"MISSING_CHAR",`Missing space after : in ${l}`):o(J.start,"MISSING_CHAR",`Missing , or : between ${l} items`));const fe=O?e(n,O,J,o):J.found?t(n,J.end,_,null,J,o):null;fe?Dc(O)&&o(fe.range,"BLOCK_IN_FLOW",Bc):J.comment&&(W.comment?W.comment+=`
316
+ `+J.comment:W.comment=J.comment);const le=new pn(W,fe);if(n.options.keepSourceTokens&&(le.srcToken=T),u){const de=h;Hd(n,de.items,W)&&o(B,"DUPLICATE_KEY","Map keys must be unique"),de.items.push(le)}else{const de=new Vn(n.schema);de.flow=!0,de.items.push(le);const be=(fe??W).range;de.range=[W.range[0],be[1],be[2]],h.items.push(de)}g=fe?fe.range[2]:J.end}}const v=u?"}":"]",[C,...S]=i.end;let E=g;if(C&&C.source===v)E=C.offset+C.source.length;else{const w=l[0].toUpperCase()+l.substring(1),T=d?`${w} must end with a ${v}`:`${w} in block collection must be sufficiently indented and end with a ${v}`;o(g,d?"MISSING_CHAR":"BAD_INDENT",T),C&&C.source.length!==1&&S.unshift(C)}if(S.length>0){const w=Qs(S,E,n.options.strict,o);w.comment&&(h.comment?h.comment+=`
317
+ `+w.comment:h.comment=w.comment),h.range=[i.offset,E,w.offset]}else h.range=[i.offset,E,E];return h}function Pc(e,t,n,i,o,a){const u=n.type==="block-map"?bw(e,t,n,i,a):n.type==="block-seq"?ww(e,t,n,i,a):vw(e,t,n,i,a),l=u.constructor;return o==="!"||o===l.tagName?(u.tag=l.tagName,u):(o&&(u.tag=o),u)}function xw(e,t,n,i,o){const a=i.tag,u=a?t.directives.tagName(a.source,v=>o(a,"TAG_RESOLVE_FAILED",v)):null;if(n.type==="block-seq"){const{anchor:v,newlineAfterProp:C}=i,S=v&&a?v.offset>a.offset?v:a:v??a;S&&(!C||C.offset<S.offset)&&o(S,"MISSING_CHAR","Missing newline after block sequence props")}const l=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!a||!u||u==="!"||u===Vn.tagName&&l==="map"||u===bi.tagName&&l==="seq")return Pc(e,t,n,o,u);let f=t.schema.tags.find(v=>v.tag===u&&v.collection===l);if(!f){const v=t.schema.knownTags[u];if(v&&v.collection===l)t.schema.tags.push(Object.assign({},v,{default:!1})),f=v;else return v?.collection?o(a,"BAD_COLLECTION_TYPE",`${v.tag} used for ${l} collection, but expects ${v.collection}`,!0):o(a,"TAG_RESOLVE_FAILED",`Unresolved tag: ${u}`,!0),Pc(e,t,n,o,u)}const h=Pc(e,t,n,o,u,f),d=f.resolve?.(h,v=>o(a,"TAG_RESOLVE_FAILED",v),t.options)??h,g=qt(d)?d:new qe(d);return g.range=h.range,g.tag=u,f?.format&&(g.format=f.format),g}function Ew(e,t,n){const i=t.offset,o=Sw(t,e.options.strict,n);if(!o)return{value:"",type:null,comment:"",range:[i,i,i]};const a=o.mode===">"?qe.BLOCK_FOLDED:qe.BLOCK_LITERAL,u=t.source?Aw(t.source):[];let l=u.length;for(let E=u.length-1;E>=0;--E){const w=u[E][1];if(w===""||w==="\r")l=E;else break}if(l===0){const E=o.chomp==="+"&&u.length>0?`
318
+ `.repeat(Math.max(1,u.length-1)):"";let w=i+o.length;return t.source&&(w+=t.source.length),{value:E,type:a,comment:o.comment,range:[i,w,w]}}let f=t.indent+o.indent,h=t.offset+o.length,d=0;for(let E=0;E<l;++E){const[w,T]=u[E];if(T===""||T==="\r")o.indent===0&&w.length>f&&(f=w.length);else{w.length<f&&n(h+w.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),o.indent===0&&(f=w.length),d=E,f===0&&!e.atRoot&&n(h,"BAD_INDENT","Block scalar values in collections must be indented");break}h+=w.length+T.length+1}for(let E=u.length-1;E>=l;--E)u[E][0].length>f&&(l=E+1);let g="",v="",C=!1;for(let E=0;E<d;++E)g+=u[E][0].slice(f)+`
319
+ `;for(let E=d;E<l;++E){let[w,T]=u[E];h+=w.length+T.length+1;const j=T[T.length-1]==="\r";if(j&&(T=T.slice(0,-1)),T&&w.length<f){const _=`Block scalar lines must not be less indented than their ${o.indent?"explicit indentation indicator":"first line"}`;n(h-T.length-(j?2:1),"BAD_INDENT",_),w=""}a===qe.BLOCK_LITERAL?(g+=v+w.slice(f)+T,v=`
320
+ `):w.length>f||T[0]===" "?(v===" "?v=`
321
+ `:!C&&v===`
322
+ `&&(v=`
323
+
324
+ `),g+=v+w.slice(f)+T,v=`
325
+ `,C=!0):T===""?v===`
326
+ `?g+=`
327
+ `:v=`
328
+ `:(g+=v+T,v=" ",C=!1)}switch(o.chomp){case"-":break;case"+":for(let E=l;E<u.length;++E)g+=`
329
+ `+u[E][0].slice(f);g[g.length-1]!==`
330
+ `&&(g+=`
331
+ `);break;default:g+=`
332
+ `}const S=i+o.length+t.source.length;return{value:g,type:a,comment:o.comment,range:[i,S,S]}}function Sw({offset:e,props:t},n,i){if(t[0].type!=="block-scalar-header")return i(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:o}=t[0],a=o[0];let u=0,l="",f=-1;for(let v=1;v<o.length;++v){const C=o[v];if(!l&&(C==="-"||C==="+"))l=C;else{const S=Number(C);!u&&S?u=S:f===-1&&(f=e+v)}}f!==-1&&i(f,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`);let h=!1,d="",g=o.length;for(let v=1;v<t.length;++v){const C=t[v];switch(C.type){case"space":h=!0;case"newline":g+=C.source.length;break;case"comment":n&&!h&&i(C,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),g+=C.source.length,d=C.source.substring(1);break;case"error":i(C,"UNEXPECTED_TOKEN",C.message),g+=C.source.length;break;default:{const S=`Unexpected token in block scalar header: ${C.type}`;i(C,"UNEXPECTED_TOKEN",S);const E=C.source;E&&typeof E=="string"&&(g+=E.length)}}}return{mode:a,indent:u,chomp:l,comment:d,length:g}}function Aw(e){const t=e.split(/\n( *)/),n=t[0],i=n.match(/^( *)/),a=[i?.[1]?[i[1],n.slice(i[1].length)]:["",n]];for(let u=1;u<t.length;u+=2)a.push([t[u],t[u+1]]);return a}function Cw(e,t,n){const{offset:i,type:o,source:a,end:u}=e;let l,f;const h=(v,C,S)=>n(i+v,C,S);switch(o){case"scalar":l=qe.PLAIN,f=_w(a,h);break;case"single-quoted-scalar":l=qe.QUOTE_SINGLE,f=kw(a,h);break;case"double-quoted-scalar":l=qe.QUOTE_DOUBLE,f=Tw(a,h);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[i,i+a.length,i+a.length]}}const d=i+a.length,g=Qs(u,d,t,n);return{value:f,type:l,comment:g.comment,range:[i,d,g.offset]}}function _w(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),Gd(e)}function kw(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),Gd(e.slice(1,-1)).replace(/''/g,"'")}function Gd(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
333
+ `,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
334
+ `,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let i=t.exec(e);if(!i)return e;let o=i[1],a=" ",u=t.lastIndex;for(n.lastIndex=u;i=n.exec(e);)i[1]===""?a===`
335
+ `?o+=a:a=`
336
+ `:(o+=a+i[1],a=" "),u=n.lastIndex;const l=/[ \t]*(.*)/sy;return l.lastIndex=u,i=l.exec(e),o+a+(i?.[1]??"")}function Tw(e,t){let n="";for(let i=1;i<e.length-1;++i){const o=e[i];if(!(o==="\r"&&e[i+1]===`
337
+ `))if(o===`
338
+ `){const{fold:a,offset:u}=Iw(e,i);n+=a,i=u}else if(o==="\\"){let a=e[++i];const u=Ow[a];if(u)n+=u;else if(a===`
339
+ `)for(a=e[i+1];a===" "||a===" ";)a=e[++i+1];else if(a==="\r"&&e[i+1]===`
340
+ `)for(a=e[++i+1];a===" "||a===" ";)a=e[++i+1];else if(a==="x"||a==="u"||a==="U"){const l={x:2,u:4,U:8}[a];n+=Fw(e,i+1,l,t),i+=l}else{const l=e.substr(i-1,2);t(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),n+=l}}else if(o===" "||o===" "){const a=i;let u=e[i+1];for(;u===" "||u===" ";)u=e[++i+1];u!==`
341
+ `&&!(u==="\r"&&e[i+2]===`
342
+ `)&&(n+=i>a?e.slice(a,i+1):o)}else n+=o}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function Iw(e,t){let n="",i=e[t+1];for(;(i===" "||i===" "||i===`
343
+ `||i==="\r")&&!(i==="\r"&&e[t+2]!==`
344
+ `);)i===`
345
+ `&&(n+=`
346
+ `),t+=1,i=e[t+1];return n||(n=" "),{fold:n,offset:t}}const Ow={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
347
+ `,r:"\r",t:" ",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function Fw(e,t,n,i){const o=e.substr(t,n),u=o.length===n&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN;if(isNaN(u)){const l=e.substr(t-2,n+2);return i(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),l}return String.fromCodePoint(u)}function Jd(e,t,n,i){const{value:o,type:a,comment:u,range:l}=t.type==="block-scalar"?Ew(e,t,i):Cw(t,e.options.strict,i),f=n?e.directives.tagName(n.source,g=>i(n,"TAG_RESOLVE_FAILED",g)):null;let h;e.options.stringKeys&&e.atKey?h=e.schema[pr]:f?h=Bw(e.schema,o,f,n,i):t.type==="scalar"?h=Dw(e,o,t,i):h=e.schema[pr];let d;try{const g=h.resolve(o,v=>i(n??t,"TAG_RESOLVE_FAILED",v),e.options);d=Ct(g)?g:new qe(g)}catch(g){const v=g instanceof Error?g.message:String(g);i(n??t,"TAG_RESOLVE_FAILED",v),d=new qe(o)}return d.range=l,d.source=o,a&&(d.type=a),f&&(d.tag=f),h.format&&(d.format=h.format),u&&(d.comment=u),d}function Bw(e,t,n,i,o){if(n==="!")return e[pr];const a=[];for(const l of e.tags)if(!l.collection&&l.tag===n)if(l.default&&l.test)a.push(l);else return l;for(const l of a)if(l.test?.test(t))return l;const u=e.knownTags[n];return u&&!u.collection?(e.tags.push(Object.assign({},u,{default:!1,test:void 0})),u):(o(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[pr])}function Dw({atKey:e,directives:t,schema:n},i,o,a){const u=n.tags.find(l=>(l.default===!0||e&&l.default==="key")&&l.test?.test(i))||n[pr];if(n.compat){const l=n.compat.find(f=>f.default&&f.test?.test(i))??n[pr];if(u.tag!==l.tag){const f=t.tagString(u.tag),h=t.tagString(l.tag),d=`Value may be parsed as either ${f} or ${h}`;a(o,"TAG_RESOLVE_FAILED",d,!0)}}return u}function Pw(e,t,n){if(t){n===null&&(n=t.length);for(let i=n-1;i>=0;--i){let o=t[i];switch(o.type){case"space":case"comment":case"newline":e-=o.source.length;continue}for(o=t[++i];o?.type==="space";)e+=o.source.length,o=t[++i];break}}return e}const Rw={composeNode:Yd,composeEmptyNode:Rc};function Yd(e,t,n,i){const o=e.atKey,{spaceBefore:a,comment:u,anchor:l,tag:f}=n;let h,d=!0;switch(t.type){case"alias":h=Lw(e,t,i),(l||f)&&i(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":h=Jd(e,t,f,i),l&&(h.anchor=l.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":h=xw(Rw,e,t,n,i),l&&(h.anchor=l.source.substring(1));break;default:{const g=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;i(t,"UNEXPECTED_TOKEN",g),h=Rc(e,t.offset,void 0,null,n,i),d=!1}}return l&&h.anchor===""&&i(l,"BAD_ALIAS","Anchor cannot be an empty string"),o&&e.options.stringKeys&&(!Ct(h)||typeof h.value!="string"||h.tag&&h.tag!=="tag:yaml.org,2002:str")&&i(f??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),a&&(h.spaceBefore=!0),u&&(t.type==="scalar"&&t.source===""?h.comment=u:h.commentBefore=u),e.options.keepSourceTokens&&d&&(h.srcToken=t),h}function Rc(e,t,n,i,{spaceBefore:o,comment:a,anchor:u,tag:l,end:f},h){const d={type:"scalar",offset:Pw(t,n,i),indent:-1,source:""},g=Jd(e,d,l,h);return u&&(g.anchor=u.source.substring(1),g.anchor===""&&h(u,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(g.spaceBefore=!0),a&&(g.comment=a,g.range[2]=f),g}function Lw({options:e},{offset:t,source:n,end:i},o){const a=new pc(n.substring(1));a.source===""&&o(t,"BAD_ALIAS","Alias cannot be an empty string"),a.source.endsWith(":")&&o(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const u=t+n.length,l=Qs(i,u,e.strict,o);return a.range=[t,u,l.offset],l.comment&&(a.comment=l.comment),a}function jw(e,t,{offset:n,start:i,value:o,end:a},u){const l=Object.assign({_directives:t},e),f=new Js(void 0,l),h={atKey:!1,atRoot:!0,directives:f.directives,options:f.options,schema:f.schema},d=ss(i,{indicator:"doc-start",next:o??a?.[0],offset:n,onError:u,parentIndent:0,startOnNewline:!0});d.found&&(f.directives.docStart=!0,o&&(o.type==="block-map"||o.type==="block-seq")&&!d.hasNewline&&u(d.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),f.contents=o?Yd(h,o,d,u):Rc(h,d.end,i,null,d,u);const g=f.contents.range[2],v=Qs(a,g,!1,u);return v.comment&&(f.comment=v.comment),f.range=[n,g,v.offset],f}function Zs(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function Xd(e){let t="",n=!1,i=!1;for(let o=0;o<e.length;++o){const a=e[o];switch(a[0]){case"#":t+=(t===""?"":i?`
348
+
349
+ `:`
350
+ `)+(a.substring(1)||" "),n=!0,i=!1;break;case"%":e[o+1]?.[0]!=="#"&&(o+=1),n=!1;break;default:n||(i=!0),n=!1}}return{comment:t,afterEmptyLine:i}}class Nw{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,i,o,a)=>{const u=Zs(n);a?this.warnings.push(new mw(u,i,o)):this.errors.push(new Ys(u,i,o))},this.directives=new dn({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:i,afterEmptyLine:o}=Xd(this.prelude);if(i){const a=t.contents;if(n)t.comment=t.comment?`${t.comment}
351
+ ${i}`:i;else if(o||t.directives.docStart||!a)t.commentBefore=i;else if(Vt(a)&&!a.flow&&a.items.length>0){let u=a.items[0];Ut(u)&&(u=u.key);const l=u.commentBefore;u.commentBefore=l?`${i}
352
+ ${l}`:i}else{const u=a.commentBefore;a.commentBefore=u?`${i}
353
+ ${u}`:i}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Xd(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,i=-1){for(const o of t)yield*this.next(o);yield*this.end(n,i)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,i,o)=>{const a=Zs(t);a[0]+=n,this.onError(a,"BAD_DIRECTIVE",i,o)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=jw(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,i=new Ys(Zs(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(i):this.doc.errors.push(i);break}case"doc-end":{if(!this.doc){const i="Unexpected doc-end without preceding document";this.errors.push(new Ys(Zs(t),"UNEXPECTED_TOKEN",i));break}this.doc.directives.docEnd=!0;const n=Qs(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const i=this.doc.comment;this.doc.comment=i?`${i}
354
+ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new Ys(Zs(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const i=Object.assign({_directives:this.directives},this.options),o=new Js(void 0,i);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),o.range=[0,n,n],this.decorate(o,!1),yield o}}}const Qd="\uFEFF",Zd="",ep="",Lc="";function $w(e){switch(e){case Qd:return"byte-order-mark";case Zd:return"doc-mode";case ep:return"flow-error-end";case Lc:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
355
+ `:case`\r
356
+ `:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function tr(e){switch(e){case void 0:case" ":case`
357
+ `:case"\r":case" ":return!0;default:return!1}}const tp=new Set("0123456789ABCDEFabcdef"),Mw=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),wa=new Set(",[]{}"),Uw=new Set(` ,[]{}
358
+ \r `),jc=e=>!e||Uw.has(e);class Vw{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let i=this.next??"stream";for(;i&&(n||this.hasChars(1));)i=yield*this.parseNext(i)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===`
359
+ `?!0:n==="\r"?this.buffer[t+1]===`
360
+ `:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let i=0;for(;n===" ";)n=this.buffer[++i+t];if(n==="\r"){const o=this.buffer[i+t+1];if(o===`
361
+ `||!o&&!this.atEnd)return t+i+1}return n===`
362
+ `||i>=this.indentNext||!n&&!this.atEnd?t+i:-1}if(n==="-"||n==="."){const i=this.buffer.substr(t,3);if((i==="---"||i==="...")&&tr(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
363
+ `,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===Qd&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length,i=t.indexOf("#");for(;i!==-1;){const a=t[i-1];if(a===" "||a===" "){n=i-1;break}else i=t.indexOf("#",i+1)}for(;;){const a=t[n-1];if(a===" "||a===" ")n-=1;else break}const o=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-o),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield Zd,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if((n==="---"||n==="...")&&tr(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,n==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!tr(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&tr(n)){const i=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=i,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(jc),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,i=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=i=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const o=this.getLine();if(o===null)return this.setNext("flow");if((i!==-1&&i<this.indentNext&&o[0]!=="#"||i===0&&(o.startsWith("---")||o.startsWith("..."))&&tr(o[3]))&&!(i===this.indentNext-1&&this.flowLevel===1&&(o[0]==="]"||o[0]==="}")))return this.flowLevel=0,yield ep,yield*this.parseLineStart();let a=0;for(;o[a]===",";)a+=yield*this.pushCount(1),a+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(a+=yield*this.pushIndicators(),o[a]){case void 0:return"flow";case"#":return yield*this.pushCount(o.length-a),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(jc),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const u=this.charAt(1);if(this.flowKey||tr(u)||u===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let a=0;for(;this.buffer[n-1-a]==="\\";)a+=1;if(a%2===0)break;n=this.buffer.indexOf('"',n+1)}const i=this.buffer.substring(0,n);let o=i.indexOf(`
364
+ `,this.pos);if(o!==-1){for(;o!==-1;){const a=this.continueScalar(o+1);if(a===-1)break;o=i.indexOf(`
365
+ `,a)}o!==-1&&(n=o-(i[o-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>tr(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,i;e:for(let a=this.pos;i=this.buffer[a];++a)switch(i){case" ":n+=1;break;case`
366
+ `:t=a,n=0;break;case"\r":{const u=this.buffer[a+1];if(!u&&!this.atEnd)return this.setNext("block-scalar");if(u===`
367
+ `)break}default:break e}if(!i&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const a=this.continueScalar(t+1);if(a===-1)break;t=this.buffer.indexOf(`
368
+ `,a)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let o=t+1;for(i=this.buffer[o];i===" ";)i=this.buffer[++o];if(i===" "){for(;i===" "||i===" "||i==="\r"||i===`
369
+ `;)i=this.buffer[++o];t=o-1}else if(!this.blockScalarKeep)do{let a=t-1,u=this.buffer[a];u==="\r"&&(u=this.buffer[--a]);const l=a;for(;u===" ";)u=this.buffer[--a];if(u===`
370
+ `&&a>=this.pos&&a+1+n>l)t=a;else break}while(!0);return yield Lc,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,i=this.pos-1,o;for(;o=this.buffer[++i];)if(o===":"){const a=this.buffer[i+1];if(tr(a)||t&&wa.has(a))break;n=i}else if(tr(o)){let a=this.buffer[i+1];if(o==="\r"&&(a===`
371
+ `?(i+=1,o=`
372
+ `,a=this.buffer[i+1]):n=i),a==="#"||t&&wa.has(a))break;if(o===`
373
+ `){const u=this.continueScalar(i+1);if(u===-1)break;i=Math.max(i,u-2)}}else{if(t&&wa.has(o))break;n=i}return!o&&!this.atEnd?this.setNext("plain-scalar"):(yield Lc,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const i=this.buffer.slice(this.pos,t);return i?(yield i,this.pos+=i.length,i.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(jc))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(tr(n)||t&&wa.has(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!tr(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(Mw.has(n))n=this.buffer[++t];else if(n==="%"&&tp.has(this.buffer[t+1])&&tp.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===`
374
+ `?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
375
+ `?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,i;do i=this.buffer[++n];while(i===" "||t&&i===" ");const o=n-this.pos;return o>0&&(yield this.buffer.substr(this.pos,o),this.pos=n),o}*pushUntil(t){let n=this.pos,i=this.buffer[n];for(;!t(i);)i=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class qw{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,i=this.lineStarts.length;for(;n<i;){const a=n+i>>1;this.lineStarts[a]<t?n=a+1:i=a}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const o=this.lineStarts[n-1];return{line:n,col:t-o+1}}}}function wi(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function np(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function rp(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function va(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function os(e){if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function ip(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!wi(t.start,"explicit-key-ind")&&!wi(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,rp(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class Ww{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Vw,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const i of this.lexer.lex(t,n))yield*this.next(i);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=$w(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const i=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:i,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(!t||t.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const i=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in i?i.indent:0:n.type==="flow-collection"&&i.type==="document"&&(n.indent=0),n.type==="flow-collection"&&ip(n),i.type){case"document":i.value=n;break;case"block-scalar":i.props.push(n);break;case"block-map":{const o=i.items[i.items.length-1];if(o.value){i.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(o.sep)o.value=n;else{Object.assign(o,{key:n,sep:[]}),this.onKeyLine=!o.explicitKey;return}break}case"block-seq":{const o=i.items[i.items.length-1];o.value?i.items.push({start:[],value:n}):o.value=n;break}case"flow-collection":{const o=i.items[i.items.length-1];!o||o.value?i.items.push({start:[],key:n,sep:[]}):o.sep?o.value=n:Object.assign(o,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((i.type==="document"||i.type==="block-map"||i.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const o=n.items[n.items.length-1];o&&!o.sep&&!o.value&&o.start.length>0&&np(o.start)===-1&&(n.indent===0||o.start.every(a=>a.type!=="comment"||a.indent<n.indent))&&(i.type==="document"?i.end=o.start:i.items.push({start:o.start}),n.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{np(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){const n=va(this.peek(2)),i=os(n);let o;t.end?(o=t.end,o.push(this.sourceToken),delete t.end):o=[this.sourceToken];const a={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:i,key:t,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(`
376
+ `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
377
+ `,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const i="end"in n.value?n.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const o=t.items[t.items.length-2]?.value?.end;if(Array.isArray(o)){Array.prototype.push.apply(o,n.start),o.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const i=!this.onKeyLine&&this.indent===t.indent,o=i&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let a=[];if(o&&n.sep&&!n.value){const u=[];for(let l=0;l<n.sep.length;++l){const f=n.sep[l];switch(f.type){case"newline":u.push(l);break;case"space":break;case"comment":f.indent>t.indent&&(u.length=0);break;default:u.length=0}}u.length>=2&&(a=n.sep.splice(u[1]))}switch(this.type){case"anchor":case"tag":o||n.value?(a.push(this.sourceToken),t.items.push({start:a}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):o||n.value?(a.push(this.sourceToken),t.items.push({start:a,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(wi(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]});else if(rp(n.key)&&!wi(n.sep,"newline")){const u=os(n.start),l=n.key,f=n.sep;f.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:l,sep:f}]})}else a.length>0?n.sep=n.sep.concat(a,this.sourceToken):n.sep.push(this.sourceToken);else if(wi(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const u=os(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||o?t.items.push({start:a,key:null,sep:[this.sourceToken]}):wi(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const u=this.flowScalar(this.type);o||n.value?(t.items.push({start:a,key:u,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(u):(Object.assign(n,{key:u,sep:[]}),this.onKeyLine=!0);return}default:{const u=this.startBlockValue(t);if(u){i&&u.type!=="block-seq"&&t.items.push({start:a}),this.stack.push(u);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const i="end"in n.value?n.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const o=t.items[t.items.length-2]?.value?.end;if(Array.isArray(o)){Array.prototype.push.apply(o,n.start),o.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||wi(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const i=this.startBlockValue(t);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let i;do yield*this.pop(),i=this.peek(1);while(i&&i.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:o,sep:[]}):n.sep?this.stack.push(o):Object.assign(n,{key:o,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const i=this.startBlockValue(t);i?this.stack.push(i):(yield*this.pop(),yield*this.step())}else{const i=this.peek(2);if(i.type==="block-map"&&(this.type==="map-value-ind"&&i.indent===t.indent||this.type==="newline"&&!i.items[i.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&i.type!=="flow-collection"){const o=va(i),a=os(o);ip(t);const u=t.end.splice(1,t.end.length);u.push(this.sourceToken);const l={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:a,key:t,sep:u}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=l}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
378
+ `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
379
+ `,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=va(t),i=os(n);return i.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=va(t),i=os(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(i=>i.type==="newline"||i.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function Kw(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new qw||null,prettyErrors:t}}function Hw(e,t={}){const{lineCounter:n,prettyErrors:i}=Kw(t),o=new Ww(n?.addNewLine),a=new Nw(t);let u=null;for(const l of a.compose(o.parse(e),!0,e.length))if(!u)u=l;else if(u.options.logLevel!=="silent"){u.errors.push(new Ys(l.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return i&&n&&(u.errors.forEach(Kd(e,n)),u.warnings.forEach(Kd(e,n))),u}function sp(e,t,n){let i;const o=Hw(e,n);if(!o)return null;if(o.warnings.forEach(a=>xd(o.options.logLevel,a)),o.errors.length>0){if(o.options.logLevel!=="silent")throw o.errors[0];o.errors=[]}return o.toJS(Object.assign({reviver:i},n))}function op(e,t,n){let i=null;if(Array.isArray(t)&&(i=t),e===void 0){const{keepUndefined:o}={};if(!o)return}return Us(e)&&!i?e.toString(n):new Js(e,i,n).toString(n)}const zw={BorderRadiusContainer:He.div`
380
+ height: 100%;
381
+
382
+ .monaco-editor,
383
+ .overflow-guard {
384
+ border-radius: 8px;
385
+ }
386
+ `},Gw=({theme:e,currentValues:t,onChange:n})=>{const[i,o]=Q.useState("");return Q.useEffect(()=>{o(op(t))},[t]),x.jsx(zw.BorderRadiusContainer,{children:x.jsx(lc,{defaultLanguage:"yaml",width:"100%",height:"100%",value:i,onChange:a=>{n(sp(a||"")),o(a||"")},theme:e==="dark"||e===void 0?"vs-dark":"vs",options:{theme:e==="dark"||e===void 0?"vs-dark":"vs"}})})},Jw=He.div`
387
+ height: ${({$designNewLayoutHeight:e})=>e?`${e}px`:"75vh"};
388
+
389
+ .monaco-editor,
390
+ .overflow-guard {
391
+ border-radius: 8px;
392
+ }
393
+ `,Yw=He.div`
394
+ margin-top: 10px;
395
+ display: flex;
396
+ align-items: center;
397
+ background-color: ${({$bgColor:e,$designNewLayout:t})=>t?e:"initial"};
398
+ border-radius: 8px;
399
+ padding: 4px;
400
+ `,ap={BorderRadiusContainer:Jw,ControlsRowContainer:Yw},Xw=({theme:e,cluster:t,prefillValuesSchema:n,isNameSpaced:i,isCreate:o,type:a,apiGroupApiVersion:u,typeName:l,backlink:f,designNewLayout:h,designNewLayoutHeight:d})=>{const{token:g}=V.theme.useToken(),v=vr.useNavigate(),[C,S]=Q.useState(""),[E,w]=Q.useState(!1),[T,j]=Q.useState();Q.useEffect(()=>{S(op(n))},[n]);const R=()=>{w(!0),j(void 0);const _=sp(C),{namespace:O}=_.metadata,{name:F}=_.metadata,B=_,W=`/api/clusters/${t}/k8s/${a==="builtin"?"api":"apis"}/${u}${i?`/namespaces/${O}`:""}/${l}/${o?"":F}`;o?Jo({endpoint:W,body:B}).then(J=>{console.log(J),f&&v(f)}).catch(J=>{console.log("Form submit error",J),w(!1),j(J)}):Yo({endpoint:W,body:B}).then(J=>{console.log(J),f&&v(f)}).catch(J=>{console.log("Form submit error",J),w(!1),j(J)})};return x.jsxs(x.Fragment,{children:[T&&x.jsx(V.Alert,{message:`An error has occurred: ${T?.response?.data?.message} `,type:"error"}),x.jsx(ap.BorderRadiusContainer,{$designNewLayoutHeight:d,children:x.jsx(lc,{defaultLanguage:"yaml",width:"100%",height:d||"75vh",value:C,onChange:_=>{S(_||"")},theme:e==="dark"||e===void 0?"vs-dark":"vs",options:{theme:e==="dark"||e===void 0?"vs-dark":"vs"}})}),x.jsx(ap.ControlsRowContainer,{$bgColor:g.colorPrimaryBg,$designNewLayout:h,children:x.jsxs(V.Flex,{gap:h?10:16,align:"center",children:[x.jsx(V.Button,{type:"primary",onClick:R,loading:E,children:"Submit"}),f&&x.jsx(V.Button,{onClick:()=>v(f),children:"Cancel"})]})})]})},It=e=>{if(typeof e=="string")return e;if(Array.isArray(e)){const t=e.slice(-1)[0];return typeof t=="string"?t:String(t)}return String(e)},up=Q.createContext(void 0),Qw=({value:e,children:t})=>x.jsx(up.Provider,{value:e,children:t}),nr=()=>Q.useContext(up),cp=Q.createContext(void 0),Zw=({value:e,children:t})=>x.jsx(cp.Provider,{value:e,children:t}),ev=()=>Q.useContext(cp),lp=Q.createContext(void 0),tv=({value:e,children:t})=>x.jsx(lp.Provider,{value:e,children:t}),nv=()=>Q.useContext(lp),fp=Q.createContext({}),hp=Q.createContext(void 0),rv=({value:e,children:t})=>{const[n,i]=Q.useState(e);return x.jsx(fp.Provider,{value:n,children:x.jsx(hp.Provider,{value:i,children:t})})},iv=()=>Q.useContext(fp),sv=()=>{const e=Q.useContext(hp);if(!e)throw new Error("useUpdateIsTouchedPersisted must be used within a IsTouchedPersistedProvider");return e},ov=He.div`
401
+ display: flex;
402
+ flex-direction: column;
403
+ gap: ${({$designNewLayout:e})=>e?"4px":"8px"};
404
+ border: 1px solid ${({$borderColor:e})=>e};
405
+ border-radius: ${({$designNewLayout:e})=>e?"6px":"8px"};
406
+ background-color: ${({$designNewLayout:e,$bgColor:t})=>e?t:"initial"};
407
+ width: 100%;
408
+ padding: ${({$designNewLayout:e})=>e?"16px":"initial"};
409
+ margin-bottom: ${({$designNewLayout:e})=>e?"10px":"16px"};
410
+ box-shadow: ${({$designNewLayout:e})=>e?`
411
+ 0 6px 16px 0 #00000014,
412
+ 0 3px 6px -4px #0000001f,
413
+ 0 9px 28px 8px #0000000d`:"initial"};
414
+ `,av=He.div`
415
+ display: flex;
416
+ align-items: center;
417
+ justify-content: flex-start;
418
+ gap: 4px;
419
+ cursor: pointer;
420
+ `,uv=He.div`
421
+ display: ${({$isOpen:e})=>e?"block":"none"};
422
+ padding: ${({$designNewLayout:e})=>e?"0 0 0 6px":"4px"};
423
+ `,Nc={Container:ov,TitleBar:av,Content:uv},cv=({title:e,formName:t,expandedControls:n,persistedCheckbox:i,isAdditionalProperties:o,removeField:a,onRemoveByMinus:u,children:l})=>{const{token:f}=V.theme.useToken(),h=n.expandedKeys.some(v=>JSON.stringify(v)===JSON.stringify(t)),d=nr(),g=()=>{h?n.onExpandClose(t):n.onExpandOpen(t)};return x.jsxs(Nc.Container,{$designNewLayout:d,$borderColor:f.colorBorder,$bgColor:f.colorBgContainer,children:[x.jsxs(V.Flex,{justify:"space-between",children:[x.jsxs(Nc.TitleBar,{onClick:()=>g(),children:[!d&&x.jsx("div",{children:h?x.jsx(wn.CaretDownOutlined,{size:14}):x.jsx(wn.CaretRightOutlined,{size:14})}),x.jsx("div",{children:e}),d&&x.jsx("div",{children:h?x.jsx(Ah,{}):x.jsx(Sh,{})})]}),x.jsxs(V.Flex,{gap:4,children:[o&&x.jsx(V.Button,{size:"small",type:"text",onClick:()=>a(),children:x.jsx(on,{})}),u&&x.jsx(V.Button,{size:"small",type:"text",onClick:u,children:x.jsx(on,{})}),i]})]}),x.jsx(Nc.Content,{$isOpen:h,$designNewLayout:d,children:l})]})},vi=({formName:e,persistedControls:t,type:n})=>{const i=t.persistedKeys.some(a=>JSON.stringify(a)===JSON.stringify(e)),o=()=>{i?t.onPersistUnmark(e):t.onPersistMark(e,n)};return x.jsx("div",{children:x.jsx(V.Button,{size:"small",type:"text",onClick:o,children:i?x.jsx(kh,{}):x.jsx(Th,{})})})},lv=He.div`
424
+ display: ${({$isHidden:e})=>e?"none":"block"};
425
+ `,kr=He(V.Form.Item)`
426
+ margin-bottom: 8px;
427
+ `,Tr=He.div`
428
+ font-size: ${({$designNewLayout:e})=>e?"16px":"14px"};
429
+ line-height: ${({$designNewLayout:e})=>e?"24px":"22px"};
430
+ `,fv={Content:He.div`
431
+ padding: ${({$designNewLayout:e})=>e?"0 0 0 6px":"4px"};
432
+ `},hv=({children:e})=>{const t=nr();return x.jsx(fv.Content,{$designNewLayout:t,children:e})},dv=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(typeof t[n]=="number"&&e[n]!==String(t[n])||e[n]!==t[n])return!1;return!0},dp=(e,t)=>{if(!e)return!1;for(const n of e)if(dv(n,t))return!0;return!1},gr=({name:e,secondName:t,children:n})=>{const i=ev(),o=e?dp(i,Array.isArray(e)?e:[e]):!1,a=t?dp(i,Array.isArray(t)?t:[t]):!1;return x.jsx(lv,{$isHidden:!i||o||a,children:n})},pp=He.div`
433
+ height: ${({$height:e})=>e}px;
434
+ `,pv=({name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,isAdditionalProperties:l,removeField:f,persistedControls:h,customProps:d,urlParams:g,onRemoveByMinus:v})=>{const C=nr(),S=nv(),E=iv(),w=sv(),{clusterName:T,namespace:j,syntheticProject:R,entryName:_}=g,O=V.Form.useFormInstance(),F=V.Form.useWatch(e==="nodeName"?"nodeNameBecauseOfSuddenBug":e,O),B=e==="nodeName"?"nodeNameBecauseOfSuddenBug":e,W=V.Form.useWatch(d.relatedValuePath,O),J=d.relatedValuePath?W:void 0,fe=d.relatedValuePath?O.isFieldTouched(d.relatedValuePath):"~",le=Q.useRef(!1),de=Q.useRef("unset"),be=Q.useRef(!1);Q.useEffect(()=>{d.relatedValuePath&&fe&&w(re=>({...re,[d.relatedValuePath?.join(".")||"your doing it wrong"]:!0}))},[d.relatedValuePath,fe,w]),Q.useEffect(()=>{d.relatedValuePath&&E[d.relatedValuePath.join(".")]&&J&&!be.current&&(de.current=J,be.current=!0,O.setFieldValue(n||B,void 0),S?.())},[d.relatedValuePath,fe,E,J,O,n,B,S]),Q.useEffect(()=>{!d.relatedValuePath||de.current==="unset"||((!J||de.current!=="unset"&&de.current!==J)&&!le.current?(O.setFieldValue(n||B,void 0),S?.(),le.current=!0,de.current=J):J&&le.current&&(le.current=!1))},[d.relatedValuePath,O,n,B,J,S,E]);const Se=At({template:d.valueUri,replaceValues:{clusterName:T,namespace:j,syntheticProject:R,relatedFieldValue:J,entryName:_}}),{data:pe,isError:De,isLoading:Re}=nn({uri:Se,refetchInterval:!1,queryKey:[Se||"",JSON.stringify(e)],isEnabled:!!Se&&(!d.relatedValuePath||d.relatedValuePath&&!!J)});if(Re&&(!d.relatedValuePath||d.relatedValuePath&&J))return x.jsx(pp,{$height:64,children:"Loading"});if(De&&(!d.relatedValuePath||d.relatedValuePath&&J))return x.jsx(pp,{$height:64,children:"Error"});const Te=!De&&!Re&&pe?Mt.get(pe,["items"]):[],Xe=d.criteria?Te.filter(re=>{const _e=Mt.get(re,d.criteria?.keysToValue||[]);return d.criteria?.type==="equals"?_e===d.criteria?.value:_e!==d.criteria?.value}):Te,ve=d.criteria?.keepPrefilled!==!1?Te.find(re=>Mt.get(re,d.keysToValue)===F):void 0,ge=ve?[ve,...Xe]:Xe,Y=(Array.isArray(ge)?ge.map(re=>({value:Mt.get(re,d.keysToValue),label:d.keysToLabel?Mt.get(re,d.keysToLabel):Mt.get(re,d.keysToValue)})).map(({value:re,label:_e})=>({label:typeof _e=="string"?_e:JSON.stringify(_e),value:typeof re=="string"?re:JSON.stringify(re)})):[]).reduce((re,_e)=>(re.some(xe=>xe.value===_e.value)||re.push(_e),re),[]),X=x.jsxs(x.Fragment,{children:[It(e),o?.includes(It(e))&&x.jsx(V.Typography.Text,{type:"danger",children:"*"})]});return x.jsxs(gr,{name:e,children:[x.jsxs(V.Flex,{justify:"space-between",children:[x.jsx(Tr,{$designNewLayout:C,children:u?x.jsx(V.Tooltip,{title:u,children:X}):X}),x.jsxs(V.Flex,{gap:4,children:[l&&x.jsx(V.Button,{size:"small",type:"text",onClick:()=>f({path:e}),children:x.jsx(on,{})}),v&&x.jsx(V.Button,{size:"small",type:"text",onClick:v,children:x.jsx(on,{})}),x.jsx(vi,{formName:i||e,persistedControls:h,type:"arr"})]})]}),x.jsx(kr,{name:n||B,rules:[{required:a===!1&&o?.includes(It(e))}],validateTrigger:"onBlur",hasFeedback:C?{icons:Vr}:!0,children:x.jsx(V.Select,{mode:d.mode,placeholder:"Select",options:Y,filterOption:tc,disabled:d.relatedValuePath&&!W,allowClear:!0,showSearch:!0})},t!==void 0?t:Array.isArray(e)?e.slice(-1)[0]:e)]})},yr=({valueObj:e,keysToValue:t,logic:n})=>{const i=Mt.get(e,t);return n==="cpuLike"?nc(i):rc(i)},gp=({value:e})=>Number(e.toFixed(1)),yp=({valueFirst:e,valueSecond:t})=>{const n=e-t;return Number(n.toFixed(1))},mp=({valueFirst:e,valueSecond:t})=>{const n=e+t;return Number(n.toFixed(1))},gv=({minMaxAndStep:e,minValueObj:t,minSubstractFirstValueObj:n,minSubstractSecondValueObj:i,minAddFirstValueObj:o,minAddSecondValueObj:a,maxValueObj:u,maxSubstractFirstValueObj:l,maxSubstractSecondValueObj:f,maxAddFirstValueObj:h,maxAddSecondValueObj:d,logic:g})=>{let v=0,C=0;if(e.min.type==="resourceValue"&&typeof t=="object"&&t!==null){const S=yr({valueObj:t,keysToValue:e.min.keysToValue,logic:g});v=gp({value:S})}if(e.min.type==="substractResourceValues"&&typeof n=="object"&&n!==null&&typeof i=="object"&&i!==null){const S=yr({valueObj:n,keysToValue:e.min.firstValuesKeysToValue,logic:g}),E=yr({valueObj:i,keysToValue:e.min.secondValuesKeysToValue,logic:g});v=yp({valueFirst:S,valueSecond:E})}if(e.min.type==="addResourceValues"&&typeof o=="object"&&o!==null&&typeof a=="object"&&a!==null){const S=yr({valueObj:o,keysToValue:e.min.firstValuesKeysToValue,logic:g}),E=yr({valueObj:a,keysToValue:e.min.secondValuesKeysToValue,logic:g});v=mp({valueFirst:S,valueSecond:E})}if(e.min.type==="number"&&(v=e.min.value),e.max.type==="resourceValue"&&typeof u=="object"&&u!==null){const S=yr({valueObj:u,keysToValue:e.max.keysToValue,logic:g});C=gp({value:S})}if(e.max.type==="substractResourceValues"&&typeof l=="object"&&l!==null&&typeof f=="object"&&f!==null){const S=yr({valueObj:l,keysToValue:e.max.firstValuesKeysToValue,logic:g}),E=yr({valueObj:f,keysToValue:e.max.secondValuesKeysToValue,logic:g});C=yp({valueFirst:S,valueSecond:E})}if(e.max.type==="addResourceValues"&&typeof h=="object"&&h!==null&&typeof d=="object"&&d!==null){const S=yr({valueObj:h,keysToValue:e.max.firstValuesKeysToValue,logic:g}),E=yr({valueObj:d,keysToValue:e.max.secondValuesKeysToValue,logic:g});C=mp({valueFirst:S,valueSecond:E})}return e.max.type==="number"&&(C=e.max.value),{minValue:v,maxValue:C}},yv=({name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,persistedControls:u,description:l,onRemoveByMinus:f,initialValue:h,max:d,min:g,step:v=1,...C})=>{const S=nr(),[E,w]=Q.useState(h||g);Q.useEffect(()=>{(Number.isNaN(E)||E<g)&&w(g),E>d&&w(d),w(E)},[E,g,d]);const T=x.jsxs(x.Fragment,{children:[It(e),o?.includes(It(e))&&x.jsx(V.Typography.Text,{type:"danger",children:"*"})]});return x.jsxs(gr,{name:e,children:[x.jsxs(V.Flex,{justify:"space-between",children:[x.jsx(Tr,{$designNewLayout:S,children:l?x.jsx(V.Tooltip,{title:l,children:T}):T}),x.jsxs(V.Flex,{gap:4,children:[f&&x.jsx(V.Button,{size:"small",type:"text",onClick:f,children:x.jsx(on,{})}),x.jsx(vi,{formName:i||e,persistedControls:u,type:"number"})]})]}),x.jsxs(V.Row,{children:[x.jsxs(V.Col,{span:12,children:[x.jsx(kr,{name:n||e,rules:[{required:a===!1&&o?.includes(It(e))}],validateTrigger:"onBlur",hasFeedback:S?{icons:Vr}:!0,children:x.jsx(V.Slider,{min:g,max:d,step:v,...C})},t!==void 0?t:Array.isArray(e)?e.slice(-1)[0]:e),x.jsx(V.Typography.Text,{children:x.jsxs(V.Flex,{justify:"space-between",children:[x.jsx("span",{children:g}),x.jsx("span",{children:d})]})})]}),x.jsx(V.Col,{span:4,children:x.jsx(kr,{name:n||e,rules:[{required:a===!1&&o?.includes(It(e))}],validateTrigger:"onBlur",hasFeedback:S?{icons:Vr}:!0,children:x.jsx(V.InputNumber,{min:g,max:d,step:v,value:E,disabled:C.disabled})},t!==void 0?t:Array.isArray(e)?e.slice(-1)[0]:e)})]})]})},mv=({name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,isEdit:l,persistedControls:f,customProps:h,urlParams:d,onRemoveByMinus:g})=>{const{clusterName:v,namespace:C,syntheticProject:S,entryName:E}=d,w=l?h.edit:h.add,T=w.min.type==="resourceValue"?At({template:w.min.valueUri,replaceValues:{clusterName:v,namespace:C,syntheticProject:S,entryName:E}}):void 0,j=w.min.type==="substractResourceValues"?At({template:w.min.firstValueUri,replaceValues:{clusterName:v,namespace:C,syntheticProject:S,entryName:E}}):void 0,R=w.min.type==="substractResourceValues"?At({template:w.min.secondValueUri,replaceValues:{clusterName:v,namespace:C,syntheticProject:S,entryName:E}}):void 0,_=w.min.type==="addResourceValues"?At({template:w.min.firstValueUri,replaceValues:{clusterName:v,namespace:C,syntheticProject:S,entryName:E}}):void 0,O=w.min.type==="addResourceValues"?At({template:w.min.secondValueUri,replaceValues:{clusterName:v,namespace:C,syntheticProject:S,entryName:E}}):void 0,F=w.max.type==="resourceValue"?At({template:w.max.valueUri,replaceValues:{clusterName:v,namespace:C,syntheticProject:S,entryName:E}}):void 0,B=w.max.type==="substractResourceValues"?At({template:w.max.firstValueUri,replaceValues:{clusterName:v,namespace:C,syntheticProject:S,entryName:E}}):void 0,W=w.max.type==="substractResourceValues"?At({template:w.max.secondValueUri,replaceValues:{clusterName:v,namespace:C,syntheticProject:S,entryName:E}}):void 0,J=w.max.type==="addResourceValues"?At({template:w.max.firstValueUri,replaceValues:{clusterName:v,namespace:C,syntheticProject:S,entryName:E}}):void 0,fe=w.max.type==="addResourceValues"?At({template:w.max.secondValueUri,replaceValues:{clusterName:v,namespace:C,syntheticProject:S,entryName:E}}):void 0,{data:le,isError:de,isLoading:be}=nn({uri:T||"",refetchInterval:!1,queryKey:[T||"",JSON.stringify(e)],isEnabled:!!T}),{data:Se,isError:pe,isLoading:De}=nn({uri:j||"",refetchInterval:!1,queryKey:[j||"",JSON.stringify(e)],isEnabled:!!j}),{data:Re,isError:Te,isLoading:Xe}=nn({uri:R||"",refetchInterval:!1,queryKey:[R||"",JSON.stringify(e)],isEnabled:!!R}),{data:ve,isError:ge,isLoading:Ke}=nn({uri:_||"",refetchInterval:!1,queryKey:[_||"",JSON.stringify(e)],isEnabled:!!_}),{data:Y,isError:X,isLoading:re}=nn({uri:O||"",refetchInterval:!1,queryKey:[O||"",JSON.stringify(e)],isEnabled:!!O}),{data:_e,isError:ze,isLoading:xe}=nn({uri:F||"",refetchInterval:!1,queryKey:[F||"",JSON.stringify(e)],isEnabled:!!F}),{data:Fe,isError:Be,isLoading:Le}=nn({uri:B||"",refetchInterval:!1,queryKey:[B||"",JSON.stringify(e)],isEnabled:!!B}),{data:_t,isError:rn,isLoading:Pt}=nn({uri:W||"",refetchInterval:!1,queryKey:[W||"",JSON.stringify(e)],isEnabled:!!W}),{data:Rt,isError:Lt,isLoading:wt}=nn({uri:J||"",refetchInterval:!1,queryKey:[J||"",JSON.stringify(e)],isEnabled:!!J}),{data:kn,isError:Ae,isLoading:Ue}=nn({uri:fe||"",refetchInterval:!1,queryKey:[fe||"",JSON.stringify(e)],isEnabled:!!fe}),{minValue:Qe,maxValue:we}=gv({minMaxAndStep:w,minValueObj:le,minSubstractFirstValueObj:Se,minSubstractSecondValueObj:Re,minAddFirstValueObj:ve,minAddSecondValueObj:Y,maxValueObj:_e,maxSubstractFirstValueObj:Fe,maxSubstractSecondValueObj:_t,maxAddFirstValueObj:Rt,maxAddSecondValueObj:kn,logic:h.logic}),pt=l?h.edit.step:h.add.step;return w.min.type==="resourceValue"&&be||w.min.type==="substractResourceValues"&&(De||Xe)||w.min.type==="addResourceValues"&&(Ke||re)||w.max.type==="resourceValue"&&xe||w.max.type==="substractResourceValues"&&(Le||Pt)||w.max.type==="addResourceValues"&&(wt||Ue)?x.jsx("div",{children:"Loading"}):w.min.type==="resourceValue"&&de||w.min.type==="substractResourceValues"&&(pe||Te)||w.min.type==="addResourceValues"&&(ge||X)||w.max.type==="resourceValue"&&ze||w.max.type==="substractResourceValues"&&(Be||rn)||w.max.type==="addResourceValues"&&(Lt||Ae)?x.jsx("div",{children:"Error"}):x.jsx(yv,{name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,min:Qe,max:we,step:pt,persistedControls:f,onRemoveByMinus:g})},bv=({name:e,namespaceData:t,isAdditionalProperties:n,removeField:i})=>{const o=nr();return t?x.jsxs(gr,{name:e,children:[x.jsxs(V.Flex,{justify:"space-between",children:[x.jsxs(Tr,{$designNewLayout:o,children:["namespace",x.jsx(V.Typography.Text,{type:"danger",children:"*"})]}),x.jsx(V.Flex,{gap:4,children:n&&x.jsx(V.Button,{size:"small",type:"text",onClick:()=>i({path:e}),children:x.jsx(on,{})})})]}),x.jsx(kr,{name:e,rules:[{required:!0}],validateTrigger:"onBlur",hasFeedback:o?{icons:Vr}:!0,children:x.jsx(V.Select,{placeholder:"Select namespace",options:t.selectValues,filterOption:t.filterSelectOptions,allowClear:!0,disabled:t.disabled,showSearch:!0})})]}):null},wv=({name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,isAdditionalProperties:l,removeField:f,persistedControls:h,onRemoveByMinus:d})=>{const g=nr(),v=e==="nodeName"?"nodeNameBecauseOfSuddenBug":e,C=x.jsxs(x.Fragment,{children:[It(e),o?.includes(It(e))&&x.jsx(V.Typography.Text,{type:"danger",children:"*"})]});return x.jsxs(gr,{name:e,children:[x.jsxs(V.Flex,{justify:"space-between",children:[x.jsx(Tr,{$designNewLayout:g,children:u?x.jsx(V.Tooltip,{title:u,children:C}):C}),x.jsxs(V.Flex,{gap:4,children:[l&&x.jsx(V.Button,{size:"small",type:"text",onClick:()=>f({path:e}),children:x.jsx(on,{})}),d&&x.jsx(V.Button,{size:"small",type:"text",onClick:d,children:x.jsx(on,{})}),x.jsx(vi,{formName:i||e,persistedControls:h,type:"str"})]})]}),x.jsx(kr,{name:n||v,rules:[{required:a===!1&&o?.includes(It(e))}],validateTrigger:"onBlur",hasFeedback:g?{icons:Vr}:!0,children:x.jsx(V.Input,{placeholder:It(e)})},t!==void 0?t:Array.isArray(e)?e.slice(-1)[0]:e)]})},vv=He.div`
435
+ display: flex;
436
+ `,xv=He.div`
437
+ margin-left: 4px;
438
+ cursor: pointer;
439
+ padding-top: 11px;
440
+ `,bp={SwitchAndCrossContainer:vv,CrossContainer:xv},Ev=({name:e,arrKey:t,arrName:n,description:i,makeValueUndefined:o,isAdditionalProperties:a,removeField:u,onRemoveByMinus:l})=>{const f=nr(),h=x.jsx(x.Fragment,{children:It(e)});return x.jsxs(gr,{name:e,children:[x.jsxs(V.Flex,{justify:"space-between",children:[x.jsx(Tr,{$designNewLayout:f,children:i?x.jsx(V.Tooltip,{title:i,children:h}):h}),x.jsxs(V.Flex,{gap:4,children:[a&&x.jsx(V.Button,{size:"small",type:"text",onClick:()=>u({path:e}),children:x.jsx(on,{})}),l&&x.jsx(V.Button,{size:"small",type:"text",onClick:l,children:x.jsx(on,{})})]})]}),x.jsxs(bp.SwitchAndCrossContainer,{children:[x.jsx(kr,{name:n||e,children:x.jsx(V.Switch,{size:"small"})},t!==void 0?t:Array.isArray(e)?e.slice(-1)[0]:e),x.jsx(bp.CrossContainer,{onClick:()=>{o&&o(e)},children:x.jsx(Ch,{})})]})]})},Sv=({name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,isAdditionalProperties:l,removeField:f,options:h,persistedControls:d,onRemoveByMinus:g})=>{const v=nr(),C=e==="nodeName"?"nodeNameBecauseOfSuddenBug":e,S=x.jsxs(x.Fragment,{children:[It(e),o?.includes(It(e))&&x.jsx(V.Typography.Text,{type:"danger",children:"*"})]});return x.jsxs(gr,{name:e,children:[x.jsxs(V.Flex,{justify:"space-between",children:[x.jsx(Tr,{$designNewLayout:v,children:u?x.jsx(V.Tooltip,{title:u,children:S}):S}),x.jsxs(V.Flex,{gap:4,children:[l&&x.jsx(V.Button,{size:"small",type:"text",onClick:()=>f({path:e}),children:x.jsx(on,{})}),g&&x.jsx(V.Button,{size:"small",type:"text",onClick:g,children:x.jsx(on,{})}),x.jsx(vi,{formName:i||e,persistedControls:d,type:"str"})]})]}),x.jsx(kr,{name:n||C,rules:[{required:a===!1&&o?.includes(It(e))}],validateTrigger:"onBlur",hasFeedback:v?{icons:Vr}:!0,children:x.jsx(V.Select,{options:h.map(E=>({value:E,label:E})),placeholder:It(e)})},t!==void 0?t:Array.isArray(e)?e.slice(-1)[0]:e)]})},Av=({isNumber:e,name:t,arrKey:n,arrName:i,persistName:o,required:a,forceNonRequired:u,description:l,isAdditionalProperties:f,removeField:h,persistedControls:d,onRemoveByMinus:g})=>{const v=nr(),C=x.jsxs(x.Fragment,{children:[It(t),a?.includes(It(t))&&x.jsx(V.Typography.Text,{type:"danger",children:"*"})]});return x.jsxs(gr,{name:t,children:[x.jsxs(V.Flex,{justify:"space-between",children:[x.jsx(Tr,{$designNewLayout:v,children:l?x.jsx(V.Tooltip,{title:l,children:C}):C}),x.jsxs(V.Flex,{gap:4,children:[f&&x.jsx(V.Button,{size:"small",type:"text",onClick:()=>h({path:t}),children:x.jsx(on,{})}),g&&x.jsx(V.Button,{size:"small",type:"text",onClick:g,children:x.jsx(on,{})}),x.jsx(vi,{formName:o||t,persistedControls:d,type:"number"})]})]}),x.jsx(kr,{name:i||t,rules:[{required:u===!1&&a?.includes(It(t))}],validateTrigger:"onBlur",hasFeedback:v?{icons:Vr}:!0,children:x.jsx(V.InputNumber,{placeholder:It(t),step:e?.1:1})},n!==void 0?n:Array.isArray(t)?t.slice(-1)[0]:t)]})},wp=({name:e,persistName:t,selfRequired:n,hiddenFormName:i,description:o,isAdditionalProperties:a,removeField:u,expandedControls:l,persistedControls:f,collapseTitle:h,collapseFormName:d,data:g,inputProps:v,onRemoveByMinus:C})=>{const S=nr(),[E,w]=Q.useState(),T=()=>{if(E&&E.length>0){const R=v?.additionalProperties;v?.addField({path:Array.isArray(e)?[...e,String(h)]:[e,String(h)],name:E,type:R.type,items:R.items,nestedProperties:R.properties||{},required:R.required}),w(void 0)}},j=x.jsxs(x.Fragment,{children:[It(h),n&&x.jsx(V.Typography.Text,{type:"danger",children:"*"})]});return x.jsx(gr,{name:e,secondName:i,children:x.jsxs(cv,{title:x.jsx(Tr,{$designNewLayout:S,children:o?x.jsx(V.Tooltip,{title:o,children:j}):j}),formName:d,expandedControls:l,isAdditionalProperties:a,removeField:()=>u({path:e}),onRemoveByMinus:C,persistedCheckbox:v?void 0:x.jsx(vi,{formName:t||e,persistedControls:f,type:"obj"}),children:[g,v&&x.jsx(V.Input,{placeholder:"Enter field name",allowClear:!0,value:E,onChange:R=>w(R.target.value),suffix:x.jsx(V.Button,{size:"small",type:"text",onClick:T,children:x.jsx(Xu,{})})})]},Array.isArray(e)?e.join("-"):e)})},Cv=({name:e,persistName:t,required:n,description:i,isAdditionalProperties:o,removeField:a,persistedControls:u,onRemoveByMinus:l})=>{const f=nr(),h=x.jsxs(x.Fragment,{children:[It(e),n?.includes(It(e))&&x.jsx(V.Typography.Text,{type:"danger",children:"*"})]});return x.jsxs(V.Flex,{justify:"space-between",children:[x.jsx(Tr,{$designNewLayout:f,children:i?x.jsx(V.Tooltip,{title:i,children:h}):h}),x.jsxs(V.Flex,{gap:4,children:[o&&x.jsx(V.Button,{size:"small",type:"text",onClick:()=>a({path:e}),children:x.jsx(on,{})}),l&&x.jsx(V.Button,{size:"small",type:"text",onClick:l,children:x.jsx(on,{})}),x.jsx(vi,{formName:t||e,persistedControls:u,type:"arr"})]})]})},_v=He.div`
441
+ display: grid;
442
+ grid-template-columns: repeat(2, 1fr);
443
+ gap: ${({$designNewLayout:e})=>e?"36px":"8px"};
444
+ height: ${({$designNewLayoutHeight:e})=>e?`${e}px`:"75vh"};
445
+ `,kv=He.div`
446
+ overflow-x: auto;
447
+ scrollbar-width: thin;
448
+ `,Tv=He(V.Form.List)`
449
+ margin-bottom: 8px;
450
+ `,Iv=He.div`
451
+ margin-top: 10px;
452
+ display: flex;
453
+ align-items: center;
454
+ background-color: ${({$bgColor:e,$designNewLayout:t})=>t?e:"initial"};
455
+ border-radius: 8px;
456
+ padding: 4px;
457
+ `,Ov=He.div`
458
+ height: ${({$designNewLayoutHeight:e})=>e?`${e}px`:"75vh"};
459
+ `,eo={ResetedFormList:Tv,Container:_v,OverflowContainer:kv,ControlsRowContainer:Iv,DebugContainer:Ov},vp=({name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,namespaceData:l,isAdditionalProperties:f,removeField:h,persistedControls:d,onRemoveByMinus:g})=>Array.isArray(e)&&e.length===2&&e[0]==="metadata"&&e[1]==="namespace"&&l?x.jsx(bv,{name:e,namespaceData:l,isAdditionalProperties:f,removeField:h}):x.jsx(wv,{name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,isAdditionalProperties:f,removeField:h,persistedControls:d,onRemoveByMinus:g}),Fv=({name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,isAdditionalProperties:l,removeField:f,options:h,persistedControls:d,onRemoveByMinus:g})=>x.jsx(Sv,{name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,isAdditionalProperties:l,removeField:f,options:h,persistedControls:d,onRemoveByMinus:g}),xp=({isNumber:e,name:t,arrKey:n,arrName:i,persistName:o,required:a,forceNonRequired:u,description:l,isAdditionalProperties:f,removeField:h,persistedControls:d,onRemoveByMinus:g})=>x.jsx(Av,{isNumber:e,name:t,arrKey:n,arrName:i,persistName:o,required:a,forceNonRequired:u,description:l,isAdditionalProperties:f,removeField:h,persistedControls:d,onRemoveByMinus:g}),Ep=({name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,isEdit:l,persistedControls:f,customProps:h,urlParams:d,onRemoveByMinus:g})=>x.jsx(mv,{name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,isEdit:l,customProps:h,persistedControls:f,urlParams:d,onRemoveByMinus:g}),Sp=({name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,isAdditionalProperties:l,removeField:f,persistedControls:h,customProps:d,urlParams:g,onRemoveByMinus:v})=>x.jsx(pv,{name:e,arrKey:t,arrName:n,persistName:i,required:o,forceNonRequired:a,description:u,isAdditionalProperties:l,removeField:f,persistedControls:h,customProps:d,urlParams:g,onRemoveByMinus:v}),Ap=({name:e,arrKey:t,arrName:n,description:i,makeValueUndefined:o,isAdditionalProperties:a,removeField:u,onRemoveByMinus:l})=>x.jsx(Ev,{name:e,arrKey:t,arrName:n,description:i,makeValueUndefined:o,isAdditionalProperties:a,removeField:u,onRemoveByMinus:l}),Cp=({schema:e,name:t,arrKey:n,arrName:i,expandName:o,persistName:a,required:u,forceNonRequired:l,description:f,makeValueUndefined:h,addField:d,isAdditionalProperties:g,removeField:v,isEdit:C,expandedControls:S,persistedControls:E,urlParams:w,onRemoveByMinus:T})=>e.type==="array"?x.jsxs(gr,{name:t,children:[x.jsx(Cv,{name:t,persistName:a,required:u,description:f,isAdditionalProperties:g,removeField:v,persistedControls:E,onRemoveByMinus:T}),x.jsx(eo.ResetedFormList,{name:i||t,rules:!l&&u?.includes(It(t))?[{validator:async(j,R)=>{if(!R||R.length<1)return Promise.reject(new Error("Field is required"))}}]:void 0,children:(j,{add:R,remove:_},{errors:O})=>x.jsxs(x.Fragment,{children:[j.map(F=>{const B=e.items?.type,W=e.items?.description,J=e.items;return x.jsxs(hv,{children:[B!=="object"&&x.jsxs(x.Fragment,{children:[B==="string"&&vp({name:Array.isArray(t)?[...t,F.name]:[t,F.name],arrKey:F.key,arrName:[F.name],persistName:a?Array.isArray(a)?[...a,F.name]:[a,F.name]:Array.isArray(t)?[...t,F.name]:[t,F.name],description:W,removeField:v,persistedControls:E,onRemoveByMinus:()=>_(F.name)}),(B==="number"||B==="integer")&&xp({isNumber:B==="number",name:Array.isArray(t)?[...t,F.name]:[t,F.name],arrKey:F.key,arrName:[F.name],persistName:a?Array.isArray(a)?[...a,F.name]:[a,F.name]:Array.isArray(t)?[...t,F.name]:[t,F.name],description:W,removeField:v,persistedControls:E,onRemoveByMinus:()=>_(F.name)}),(B==="rangeInputCpu"||B==="rangeInputMemory")&&Ep({name:Array.isArray(t)?[...t,F.name]:[t,F.name],arrKey:F.key,arrName:[F.name],persistName:a?Array.isArray(a)?[...a,F.name]:[a,F.name]:Array.isArray(t)?[...t,F.name]:[t,F.name],description:W,isEdit:C,persistedControls:E,customProps:e.items.customProps,urlParams:w,onRemoveByMinus:()=>_(F.name)}),B==="listInput"&&Sp({name:Array.isArray(t)?[...t,F.name]:[t,F.name],arrKey:F.key,arrName:[F.name],persistName:a?Array.isArray(a)?[...a,F.name]:[a,F.name]:Array.isArray(t)?[...t,F.name]:[t,F.name],description:W,removeField:v,persistedControls:E,customProps:e.items.customProps,urlParams:w,onRemoveByMinus:()=>_(F.name)}),B==="boolean"&&Ap({name:Array.isArray(t)?[...t,F.name]:[t,F.name],arrKey:F.key,arrName:[F.name],description:W,makeValueUndefined:h,removeField:v,onRemoveByMinus:()=>_(F.name)}),B==="array"&&Cp({schema:e.items,name:Array.isArray(t)?[...t,F.name]:[t,F.name],arrKey:F.key,arrName:[F.name],expandName:o?Array.isArray(o)?[...o,F.name]:[o,F.name]:Array.isArray(t)?[...t,F.name]:[t,F.name],persistName:a?Array.isArray(a)?[...a,F.name]:[a,F.name]:Array.isArray(t)?[...t,F.name]:[t,F.name],description:W,makeValueUndefined:h,addField:d,removeField:v,isEdit:C,expandedControls:S,persistedControls:E,urlParams:w,onRemoveByMinus:()=>_(F.name)})]}),B==="object"&&J?.properties&&_p({properties:J.properties,name:Array.isArray(t)?[...t,F.name]:[t,F.name],arrKey:F.key,arrName:[F.name],expandName:o?Array.isArray(o)?[...o,F.name]:[o,F.name]:Array.isArray(t)?[...t,F.name]:[t,F.name],persistName:a?Array.isArray(a)?[...a,F.name]:[a,F.name]:Array.isArray(t)?[...t,F.name]:[t,F.name],required:J.required,forceNonRequired:l,description:W,makeValueUndefined:h,addField:d,isAdditionalProperties:g,removeField:v,isEdit:C,expandedControls:S,persistedControls:E,urlParams:w,onRemoveByMinus:()=>_(F.name)})]},F.key)}),x.jsxs(kr,{children:[x.jsx(V.Button,{type:"text",size:"small",onClick:()=>R(),children:x.jsx(Xu,{})}),x.jsx(V.Form.ErrorList,{errors:O})]})]})},n!==void 0?n:Array.isArray(t)?t.slice(-1)[0]:t)]}):null,xa=({properties:e,name:t,arrKey:n,arrName:i,expandName:o,persistName:a,required:u,forceNonRequired:l,description:f,namespaceData:h,makeValueUndefined:d,addField:g,removeField:v,isEdit:C,expandedControls:S,persistedControls:E,urlParams:w})=>x.jsx(gr,{name:t,children:Object.keys(e).map(T=>{if(e[T].type==="string"&&e[T].enum)return Fv({name:Array.isArray(t)?[...t,String(T)]:[t,String(T)],arrKey:n,arrName:Array.isArray(i)?[...i,String(T)]:void 0,persistName:a?Array.isArray(a)?[...a,String(T)]:[a,String(T)]:void 0,required:u?.includes(T)?[String(T)]:void 0,forceNonRequired:l,description:e[T].description,isAdditionalProperties:e[T].isAdditionalProperties,removeField:v,persistedControls:E,options:e[T].enum||[]});if(e[T].type==="string"&&!e[T].enum||Object.keys(e[T]).includes("x-kubernetes-int-or-string"))return vp({name:Array.isArray(t)?[...t,String(T)]:[t,String(T)],arrKey:n,arrName:Array.isArray(i)?[...i,String(T)]:void 0,persistName:a?Array.isArray(a)?[...a,String(T)]:[a,String(T)]:void 0,required:u?.includes(T)?[String(T)]:void 0,forceNonRequired:l,description:e[T].description,namespaceData:h,isAdditionalProperties:e[T].isAdditionalProperties,removeField:v,persistedControls:E});if(e[T].type==="number"||e[T].type==="integer")return xp({isNumber:e[T].type==="number",name:Array.isArray(t)?[...t,String(T)]:[t,String(T)],arrKey:n,arrName:Array.isArray(i)?[...i,String(T)]:void 0,persistName:a?Array.isArray(a)?[...a,String(T)]:[a,String(T)]:void 0,required:u?.includes(T)?[String(T)]:void 0,forceNonRequired:l,description:e[T].description,isAdditionalProperties:e[T].isAdditionalProperties,removeField:v,persistedControls:E});if(e[T].type==="rangeInputCpu"||e[T].type==="rangeInputMemory")return Ep({name:Array.isArray(t)?[...t,String(T)]:[t,String(T)],arrKey:n,arrName:Array.isArray(i)?[...i,String(T)]:void 0,persistName:a?Array.isArray(a)?[...a,String(T)]:[a,String(T)]:void 0,required:u?.includes(T)?[String(T)]:void 0,forceNonRequired:l,description:e[T].description,isEdit:C,customProps:e[T].customProps,persistedControls:E,urlParams:w});if(e[T].type==="listInput")return Sp({name:Array.isArray(t)?[...t,String(T)]:[t,String(T)],arrKey:n,arrName:Array.isArray(i)?[...i,String(T)]:void 0,persistName:a?Array.isArray(a)?[...a,String(T)]:[a,String(T)]:void 0,required:u?.includes(T)?[String(T)]:void 0,forceNonRequired:l,description:e[T].description,customProps:e[T].customProps,removeField:v,persistedControls:E,urlParams:w});if(e[T].type==="boolean")return Ap({name:Array.isArray(t)?[...t,String(T)]:[t,String(T)],arrKey:n,arrName:Array.isArray(i)?[...i,String(T)]:void 0,description:e[T].description,makeValueUndefined:d,isAdditionalProperties:e[T].isAdditionalProperties,removeField:v});if(e[T].type==="array")return Cp({schema:e[T],name:Array.isArray(t)?[...t,String(T)]:[t,String(T)],arrKey:n,arrName:Array.isArray(i)?[...i,String(T)]:void 0,expandName:o?Array.isArray(o)?[...o,String(T)]:[o,String(T)]:void 0,persistName:a?Array.isArray(a)?[...a,String(T)]:[a,String(T)]:void 0,required:u?.includes(T)?[String(T)]:void 0,forceNonRequired:l,description:e[T].description,makeValueUndefined:d,addField:g,isAdditionalProperties:e[T].isAdditionalProperties,removeField:v,isEdit:C,expandedControls:S,persistedControls:E,urlParams:w});if(e[T].additionalProperties){const j=e[T].properties?xa({properties:e[T].properties,name:Array.isArray(t)?[...t,String(T)]:[t,String(T)],arrKey:n,arrName:Array.isArray(i)?[...i,String(T)]:void 0,expandName:o?Array.isArray(o)?[...o,String(T)]:[o,String(T)]:void 0,persistName:a?Array.isArray(a)?[...a,String(T)]:[a,String(T)]:void 0,required:e[T].required,forceNonRequired:l,description:e[T].description,namespaceData:h,makeValueUndefined:d,addField:g,removeField:v,isEdit:C,expandedControls:S,persistedControls:E,urlParams:w}):void 0;return x.jsx(wp,{name:t,persistName:a,hiddenFormName:Array.isArray(t)?[...t,String(T)]:[t,String(T)],description:f,removeField:v,expandedControls:S,persistedControls:E,collapseTitle:T,collapseFormName:Array.isArray(t)?[...t,String(T)]:[t,String(T)],data:j,inputProps:{addField:g,additionalProperties:e[T]?.additionalProperties}},Array.isArray(t)?[...t,String(T)].join("-"):[t,String(T)].join("-"))}return e[T].type==="object"&&e[T].properties?_p({properties:e[T].properties,name:Array.isArray(t)?[...t,String(T)]:[t,String(T)],arrKey:n,arrName:Array.isArray(i)?[...i,String(T)]:void 0,expandName:o?Array.isArray(o)?[...o,String(T)]:[o,String(T)]:void 0,persistName:a?Array.isArray(a)?[...a,String(T)]:[a,String(T)]:void 0,selfRequired:u?.includes(T),required:e[T].required,forceNonRequired:l||!u?.includes(T),description:e[T].description,namespaceData:h,makeValueUndefined:d,addField:g,isAdditionalProperties:e[T].isAdditionalProperties,removeField:v,isEdit:C,expandedControls:S,persistedControls:E,urlParams:w}):e[T].type==="object"&&e[T]["x-kubernetes-preserve-unknown-fields"]?x.jsx(V.Alert,{message:"x-kubernetes-preserve-unknown-fields",banner:!0},String(T)):null})}),_p=({properties:e,name:t,arrKey:n,arrName:i,expandName:o,persistName:a,selfRequired:u,required:l,forceNonRequired:f,description:h,namespaceData:d,makeValueUndefined:g,addField:v,isAdditionalProperties:C,removeField:S,isEdit:E,expandedControls:w,persistedControls:T,urlParams:j,onRemoveByMinus:R})=>{const _=xa({properties:e,name:t,arrKey:n,arrName:i,expandName:o,persistName:a,required:l,forceNonRequired:f,description:h,namespaceData:d,makeValueUndefined:g,addField:v,removeField:S,isEdit:E,expandedControls:w,persistedControls:T,urlParams:j});return x.jsx(wp,{name:t,persistName:a,selfRequired:u,description:h,isAdditionalProperties:C,removeField:S,expandedControls:w,persistedControls:T,collapseTitle:t,collapseFormName:o||t,data:_,onRemoveByMinus:R})},kp=({error:e,expandedKeys:t})=>{const i=(e.response?.data.message.split("is invalid: ")[1]).split(":")[0].trim().split("."),o=Array.from({length:i.length},(f,h)=>i.slice(0,h+1)),a=[...t,...o],u=new Set;return a.filter(f=>{const h=Array.isArray(f)?JSON.stringify(f):f;return u.has(h)?!1:(u.add(h),!0)})},Bv=({error:e,expandedKeys:t})=>{const n=e.errorFields.reduce((h,d)=>[...h,d.name],[]),o=n.filter(h=>Array.isArray(h)).flatMap(h=>Array.from({length:h.length},(d,g)=>h.slice(0,g+1))),a=n.filter(h=>!Array.isArray(h)),u=[...t,...a,...o],l=new Set;return u.filter(h=>{const d=Array.isArray(h)?JSON.stringify(h):h;return l.has(d)?!1:(l.add(d),!0)})},Dv=Q.lazy(()=>Promise.resolve().then(()=>Lb)),Tp=({cluster:e,theme:t,urlParams:n,urlParamsForPermissions:i,formsPrefills:o,staticProperties:a,required:u,hiddenPaths:l,expandedPaths:f,persistedPaths:h,prefillValuesSchema:d,prefillValueNamespaceOnly:g,isNameSpaced:v,isCreate:C,type:S,apiGroupApiVersion:E,kindName:w,typeName:T,backlink:j,designNewLayout:R,designNewLayoutHeight:_})=>{const{token:O}=V.theme.useToken(),F=vr.useNavigate(),[B]=V.Form.useForm(),W=V.Form.useWatch(["metadata","namespace"],B),[J,fe]=Q.useState(a),[le,de]=Q.useState(),be=k2(de,500),[Se,pe]=Q.useState(!1),[De,Re]=Q.useState(),[Te,Xe]=Q.useState(!1),[ve,ge]=Q.useState(f||[]),[Ke,Y]=Q.useState(h||[]),X=Q.useRef(null),re=Wr({apiGroup:S==="builtin"?"":i.apiGroup?i.apiGroup:"",typeName:i.typeName||"",namespace:v?W:"",clusterName:e,verb:"create",refetchInterval:!1,enabler:C===!0}),_e=Wr({apiGroup:S==="builtin"?"":i.apiGroup?i.apiGroup:"",typeName:i.typeName||"",namespace:v?W:"",clusterName:e,verb:"update",refetchInterval:!1,enabler:C!==!0}),ze=()=>{if(X.current){const{scrollHeight:Ae,clientHeight:Ue}=X.current;X.current.scrollTo({top:Ae-Ue,behavior:"smooth"})}B.validateFields().then(()=>{pe(!0),Re(void 0);const Ae=B.getFieldValue(["metadata","name"]),Ue=B.getFieldValue(["metadata","namespace"]),we={values:B.getFieldsValue(),persistedKeys:Ke,properties:J};$e.post(`/api/clusters/${e}/openapi-bff/forms/formSync/getYamlValuesByFromValues`,we).then(({data:pt})=>{const Wt=pt,Et=`/api/clusters/${e}/k8s/${S==="builtin"?"":"apis/"}${E}${v?`/namespaces/${Ue}`:""}/${T}/${C?"":Ae}`;C?Jo({endpoint:Et,body:Wt}).then(ht=>{console.log(ht),j&&F(j)}).catch(ht=>{if(console.log("Form submit error",ht),pe(!1),X.current){const{scrollHeight:Ce,clientHeight:Oe}=X.current;X.current.scrollTo({top:Ce-Oe,behavior:"smooth"})}if(Go(ht)&&ht.response?.data.message.includes("Required value")){const Ce=kp({error:ht,expandedKeys:ve});ge([...Ce])}Re(ht)}):Yo({endpoint:Et,body:Wt}).then(ht=>{console.log(ht),j&&F(j)}).catch(ht=>{if(console.log("Form submit error",ht),pe(!1),X.current){const{scrollHeight:Ce,clientHeight:Oe}=X.current;X.current.scrollTo({top:Ce-Oe,behavior:"smooth"})}if(Go(ht)&&ht.response?.data.message.includes("Required value")){const Ce=kp({error:ht,expandedKeys:ve});ge([...Ce])}Re(ht)})}).catch(pt=>{if(console.log("BFF Transform Error",pt),pe(!1),X.current){const{scrollHeight:Wt,clientHeight:Et}=X.current;X.current.scrollTo({top:Wt-Et,behavior:"smooth"})}Re(pt)})}).catch(Ae=>{console.log("Validating error",Ae);const Ue=Bv({error:Ae,expandedKeys:ve});ge([...Ue])})},xe=Q.useCallback(Ae=>{const Qe={values:Ae||B.getFieldsValue(),persistedKeys:Ke,properties:J};$e.post(`/api/clusters/${e}/openapi-bff/forms/formSync/getYamlValuesByFromValues`,Qe).then(({data:we})=>be(we))},[B,be,J,Ke,e]),Fe=Q.useCallback(Ae=>{const Ue={values:Ae,properties:J};$e.post(`/api/clusters/${e}/openapi-bff/forms/formSync/getFormValuesByYaml`,Ue).then(({data:Qe})=>{Qe&&B.setFieldsValue(Qe)})},[B,J,e]),Be=Q.useMemo(()=>{const Ae={};if(C&&(Mt.set(Ae,["apiVersion"],E==="api/v1"?"v1":E),Mt.set(Ae,["kind"],w)),o&&o.spec.values.forEach(({path:Qe,value:we})=>{Mt.set(Ae,Qe,we)}),g&&Mt.set(Ae,["metadata","namespace"],g),d){const Qe=Xh(d,J);Object.entries(Qe).forEach(([we,pt])=>{Mt.set(Ae,we.split("."),pt)})}return Object.fromEntries(Object.entries(Ae).sort(([Qe],[we])=>Qe.localeCompare(we)))},[o,g,C,E,w,d,J]);if(Q.useEffect(()=>{Be&&xe(Be)},[xe,Be]),Q.useEffect(()=>{let Ae=[];o&&(Ae=o.spec.values.flatMap(({path:pt})=>Qh(pt))),d&&typeof d=="object"&&d!==null&&(Ae=[...Ae,...sc(d)]);const Ue=[...ve,...Ae],Qe=new Set,we=Ue.filter(pt=>{const Wt=Array.isArray(pt)?JSON.stringify(pt):pt;return Qe.has(Wt)?!1:(Qe.add(Wt),!0)});ge([...we])},[E,o,d,S,T]),!J)return null;const Le=v?{filterSelectOptions:tc,selectValues:v.map(Ae=>({label:Ae,value:Ae})),disabled:!!g}:void 0,_t=Ae=>{B.setFieldValue(Ae,void 0),xe()},rn=({path:Ae,name:Ue,type:Qe,items:we,nestedProperties:pt,required:Wt})=>{const ht=(Array.isArray(Ae)?Ae:[Ae]).reduceRight((Kt,I)=>({[I]:{properties:Kt}}),{[Ue]:{type:Qe,items:we,properties:pt,required:Wt,isAdditionalProperties:!0}}),Ce=Mt.cloneDeep(J),Oe=Mt.merge(Ce,ht);console.log("newObject",ht),console.log("newProperties",Oe),fe(Oe)},Pt=({path:Ae})=>{const Qe=(Array.isArray(Ae)?Ae:[Ae]).flatMap(pt=>[pt,"properties"]).slice(0,-1),we=Mt.cloneDeep(J);Mt.unset(we,Qe),fe(we)},Rt=Ae=>{ge([...ve,Ae])},Lt=Ae=>{ge([...ve.filter(Ue=>JSON.stringify(Ue)!==JSON.stringify(Ae))])},wt=(Ae,Ue)=>{Ue&&B.getFieldValue(Ae)===void 0&&(Ue==="str"&&B.setFieldValue(Ae,""),Ue==="number"&&B.setFieldValue(Ae,0),Ue==="arr"&&B.setFieldValue(Ae,[]),Ue==="obj"&&B.setFieldValue(Ae,{})),Y([...Ke,Ae])},kn=Ae=>{console.log(Ae),Y([...Ke.filter(Ue=>JSON.stringify(Ue)!==JSON.stringify(Ae))])};return x.jsxs(x.Fragment,{children:[x.jsxs(eo.Container,{$designNewLayout:R,$designNewLayoutHeight:_,children:[x.jsx(eo.OverflowContainer,{ref:X,children:x.jsxs(V.Form,{form:B,initialValues:Be,onValuesChange:(Ae,Ue)=>xe(Ue),children:[x.jsx(Qw,{value:R,children:x.jsx(tv,{value:xe,children:x.jsx(rv,{value:{},children:x.jsx(Zw,{value:l,children:xa({properties:J,name:[],required:u,namespaceData:Le,makeValueUndefined:_t,addField:rn,removeField:Pt,isEdit:!C,expandedControls:{onExpandOpen:Rt,onExpandClose:Lt,expandedKeys:ve},persistedControls:{onPersistMark:wt,onPersistUnmark:kn,persistedKeys:Ke},urlParams:n})})})})}),!R&&x.jsxs(x.Fragment,{children:[x.jsx(Ar,{$space:10,$samespace:!0}),x.jsx(V.Alert,{type:"warning",message:"Only the data from the form will be sent. Empty fields will be removed recursively."})]}),C&&re.data?.status.allowed===!1&&x.jsxs(x.Fragment,{children:[x.jsx(Ar,{$space:10,$samespace:!0}),x.jsx(V.Alert,{type:"warning",message:"Insufficient rights to create"})]}),!C&&_e.data?.status.allowed===!1&&x.jsxs(x.Fragment,{children:[x.jsx(Ar,{$space:10,$samespace:!0}),x.jsx(V.Alert,{type:"warning",message:"Insufficient rights to edit"})]}),De&&x.jsxs(x.Fragment,{children:[x.jsx(Ar,{$space:10,$samespace:!0}),x.jsx(V.Alert,{message:`An error has occurred: ${De?.response?.data?.message} `,type:"error"})]})]})}),x.jsx("div",{children:x.jsx(Gw,{theme:t,currentValues:le||{},onChange:Fe})})]}),x.jsx(eo.ControlsRowContainer,{$bgColor:O.colorPrimaryBg,$designNewLayout:R,children:x.jsxs(V.Flex,{gap:R?10:16,align:"center",children:[x.jsx(V.Button,{type:"primary",onClick:ze,loading:Se,children:"Submit"}),j&&x.jsx(V.Button,{onClick:()=>F(j),children:"Cancel"}),x.jsx(V.Button,{onClick:()=>Xe(!0),icon:x.jsx(wn.BugOutlined,{})}),R&&x.jsx("div",{children:x.jsx(V.Typography.Text,{children:"Only the data from the form will be sent. Empty fields will be removed recursively."})})]})}),Te&&x.jsx(V.Modal,{open:Te,onOk:()=>Xe(!1),onCancel:()=>Xe(!1),onClose:()=>Xe(!1),title:"Debug for properties",width:"90vw",children:x.jsx(eo.DebugContainer,{$designNewLayoutHeight:_,children:x.jsx(Q.Suspense,{fallback:x.jsx("div",{children:"Loading..."}),children:x.jsx(Dv,{defaultLanguage:"json",width:"100%",height:_||"75vh",theme:"vs-dark",value:JSON.stringify(J,null,2),options:{theme:"vs-dark",minimap:{enabled:!1}}})})})})]})},Pv=({theme:e,cluster:t,urlParams:n,urlParamsForPermissions:i,data:o,customizationId:a,isCreate:u,backlink:l,modeData:f,designNewLayout:h,designNewLayoutHeight:d})=>{const[g,v]=Q.useState(),[C,S]=Q.useState(!1),[E,w]=Q.useState(!1),[T,j]=Q.useState(!1),R=Q.useCallback(()=>{f&&(f.onChange("Manual"),f.onDisabled())},[f]);return Q.useEffect(()=>{S(!0);const _={data:o,clusterName:t,customizationId:a};$e.post(`/api/clusters/${t}/openapi-bff/forms/formPrepare/prepareFormProps`,_).then(({data:O})=>{O.isNamespaced&&w(!0),O.result==="error"?(j(O.error),console.log(O.error),R()):v({properties:O.properties,required:O.required||[],hiddenPaths:O.hiddenPaths,expandedPaths:O.expandedPaths||[],persistedPaths:O.persistedPaths||[],kindName:O.kindName||"",formPrefills:O.formPrefills,namespacesData:O.namespacesData})}).catch(O=>{j(O.message)}).finally(()=>{S(!1)})},[t,o,a,R]),C?x.jsx(V.Spin,{}):f?.current==="Manual"?x.jsx(Xw,{theme:e,cluster:t,prefillValuesSchema:o.prefillValuesSchema,isCreate:u,type:o.type,isNameSpaced:E,apiGroupApiVersion:o.type==="builtin"?"api/v1":`${o.apiGroup}/${o.apiVersion}`,typeName:o.typeName,backlink:l,designNewLayout:h,designNewLayoutHeight:d}):!g?.properties&&!T||!g?.properties?null:T?x.jsx(V.Alert,{message:T,type:"error"}):x.jsx(Tp,{cluster:t,theme:e,urlParams:n,urlParamsForPermissions:i,formsPrefills:g.formPrefills,staticProperties:g.properties,required:g.required,hiddenPaths:g.hiddenPaths,expandedPaths:g.expandedPaths,persistedPaths:g.persistedPaths,prefillValuesSchema:o.prefillValuesSchema,prefillValueNamespaceOnly:o.prefillValueNamespaceOnly,isCreate:u,type:o.type,isNameSpaced:E?g.namespacesData:!1,apiGroupApiVersion:o.type==="builtin"?"api/v1":`${o.apiGroup}/${o.apiVersion}`,kindName:g.kindName,typeName:o.typeName,backlink:l,designNewLayout:h,designNewLayoutHeight:d},JSON.stringify(g.properties)+JSON.stringify(g.required)+JSON.stringify(g.hiddenPaths)+JSON.stringify(o))},Rv={CustomCard:He(V.Card)`
460
+ display: flex;
461
+ justify-content: center;
462
+ align-items: center;
463
+ cursor: pointer;
464
+ width: 238px;
465
+ box-shadow:
466
+ 0 6px 16px 0 #00000014,
467
+ 0 3px 6px -4px #0000001f,
468
+ 0 9px 28px 8px #0000000d;
469
+
470
+ .ant-card-body {
471
+ display: flex;
472
+ justify-content: center;
473
+ align-items: center;
474
+ height: 238px;
475
+ overflow-x: auto;
476
+ padding: 8px;
477
+ }
478
+ `},Lv=({onAddClick:e})=>x.jsx(Rv.CustomCard,{onClick:e,children:x.jsx(wn.PlusOutlined,{})}),an=[];for(let e=0;e<256;++e)an.push((e+256).toString(16).slice(1));function jv(e,t=0){return(an[e[t+0]]+an[e[t+1]]+an[e[t+2]]+an[e[t+3]]+"-"+an[e[t+4]]+an[e[t+5]]+"-"+an[e[t+6]]+an[e[t+7]]+"-"+an[e[t+8]]+an[e[t+9]]+"-"+an[e[t+10]]+an[e[t+11]]+an[e[t+12]]+an[e[t+13]]+an[e[t+14]]+an[e[t+15]]).toLowerCase()}let $c;const Nv=new Uint8Array(16);function $v(){if(!$c){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");$c=crypto.getRandomValues.bind(crypto)}return $c(Nv)}const Ip={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Mv(e,t,n){if(Ip.randomUUID&&!e)return Ip.randomUUID();e=e||{};const i=e.random||(e.rng||$v)();return i[6]=i[6]&15|64,i[8]=i[8]&63|128,jv(i)}const Uv=({clusterName:e,baseApiGroup:t,baseApiVersion:n,mpResourceName:i,mpResourceKind:o,isOpen:a,setIsOpen:u,setError:l,onCreateSuccess:f,onUpdateSuccess:h})=>{const[d]=V.Form.useForm(),g=V.Form.useWatch("type",d),v=typeof a=="boolean"?{name:"",description:"",icon:"",type:"direct",apiGroup:"",apiVersion:"",typeName:"",pathToNav:"",tags:[],disabled:!1,hidden:!1}:a.spec,C=E=>{if(typeof a=="boolean"){Jo({endpoint:`/api/clusters/${e}/k8s/apis/${t}/${n}/${i}`,body:{apiVersion:`${t}/${n}`,kind:o,metadata:{name:Mv()},spec:{...E}}}).then(()=>{u(!1),f()}).catch(w=>{(Go(w)||w instanceof Error)&&l(w)}).finally(()=>u(!1));return}Yo({endpoint:`/api/clusters/${e}/k8s/apis/${t}/${n}/${i}/${a.metadata.name}`,body:{apiVersion:`${t}/${n}`,kind:o,metadata:{name:a.metadata.name,resourceVersion:a.metadata.resourceVersion},spec:{...E}}}).then(()=>{u(!1),h()}).catch(w=>{(Go(w)||w instanceof Error)&&l(w)}).finally(()=>u(!1))},S=()=>{d.validateFields().then(()=>{C(d.getFieldsValue())}).catch(()=>console.log("Validating error"))};return x.jsx(V.Modal,{title:typeof a=="boolean"?"Add card":"Edit плитку",open:a!==!1,onCancel:()=>u(!1),onOk:()=>S(),children:x.jsxs(V.Form,{form:d,name:"control-hooks",initialValues:{...v},children:[x.jsx(V.Form.Item,{label:"Name",name:"name",children:x.jsx(V.Input,{required:!0})}),x.jsx(V.Form.Item,{label:"Description",name:"description",children:x.jsx(V.Input,{required:!0})}),x.jsx(V.Form.Item,{label:"Icon",name:"icon",children:x.jsx(V.Input.TextArea,{placeholder:"SVG-иконка, <svg /> -> base64",maxLength:void 0,required:!0})}),x.jsx(V.Form.Item,{label:"Resources type",name:"type",children:x.jsx(V.Select,{placeholder:"Choose resource type",options:[{value:"direct",label:"Direct link"},{value:"crd",label:"CRD"},{value:"nonCrd",label:"API"},{value:"built-in",label:"Built-in"}]})}),x.jsx(V.Form.Item,{label:"Enter API group",name:"apiGroup",children:x.jsx(V.Input,{disabled:g==="direct"||g==="built-in"})}),x.jsx(V.Form.Item,{label:"Enter API version",name:"apiVersion",children:x.jsx(V.Input,{disabled:g==="direct"})}),x.jsx(V.Form.Item,{label:"Enter resource type",name:"typeName",children:x.jsx(V.Input,{disabled:g==="direct"})}),x.jsx(V.Form.Item,{label:"Enter path",name:"pathToNav",children:x.jsx(V.Input,{disabled:g!=="direct"})}),x.jsx(V.Form.Item,{label:"Tags",name:"tags",children:x.jsx(V.Select,{mode:"tags",placeholder:"Enter tags. Separators: comma and space",tokenSeparators:[","," "],dropdownStyle:{display:"none"}})}),x.jsx(V.Form.Item,{label:"Disabled",name:"disabled",children:x.jsx(V.Switch,{})}),x.jsx(V.Form.Item,{label:"Hidden",name:"hidden",children:x.jsx(V.Switch,{})})]})})},Vv=({clusterName:e,namespace:t,type:n,pathToNav:i,typeName:o,apiGroup:a,apiVersion:u,baseprefix:l})=>{const f="v1";return n==="direct"&&i?i:n==="crd"?`/${l}/${e}/${t}/crd-table/${a}/${u}/${f}/${o}`:n==="nonCrd"?`/${l}/${e}/${t}/api-table/${a}/${u}/${o}`:`/${l}/${e}/${t}/builtin-table/${o}`},qv=({clusterName:e,namespace:t,type:n,pathToNav:i,typeName:o,apiGroup:a,apiVersion:u,baseprefix:l})=>n==="direct"&&i?i:n==="crd"?`/${l}/${e}/${t}/forms/crds/${a}/${u}/${o}`:n==="nonCrd"?`/${l}/${e}/${t}/forms/apis/${a}/${u}/${o}`:`/${l}/${e}/${t}/forms/builtin/${u}/${o}`,Wv=({clusterName:e,namespace:t,type:n,typeName:i,apiGroup:o,apiVersion:a})=>n==="crd"?`/api/clusters/${e}/k8s/apis/${o}/${a}${t?`/namespaces/${t}`:""}/${i}`:n==="nonCrd"?`/api/clusters/${e}/k8s/apis/${o}/${a}${t?`/namespaces/${t}`:""}/${i}`:`/api/clusters/${e}/k8s/api/v1${t?`/namespaces/${t}`:""}/${i}`,Kv=He(V.Card)`
479
+ position: relative;
480
+ width: 238px;
481
+ overflow-x: auto;
482
+ cursor: ${({$isDisabled:e})=>e?"not-allowed":"pointer"};
483
+ box-shadow:
484
+ 0 6px 16px 0 #00000014,
485
+ 0 3px 6px -4px #0000001f,
486
+ 0 9px 28px 8px #0000000d;
487
+
488
+ &:hover {
489
+ border-color: ${({$hoverColor:e,$isDisabled:t})=>!t&&e};
490
+ }
491
+
492
+ .ant-card-body {
493
+ height: 238px;
494
+ overflow-x: auto;
495
+ padding: 8px;
496
+ }
497
+ `,Hv=He.div`
498
+ min-width: 45px;
499
+ min-height: 45px;
500
+ padding: 6px;
501
+
502
+ svg {
503
+ width: 45px;
504
+ height: 45px;
505
+ }
506
+ `,zv=He.div`
507
+ overflow-x: auto;
508
+ scrollbar-width: thin;
509
+ margin-bottom: 20px;
510
+ `,Gv=He.div`
511
+ padding-left: 6px;
512
+ padding-right: 6px;
513
+ font-size: 16px;
514
+ line-height: 24px;
515
+
516
+ span {
517
+ font-weight: 700;
518
+ }
519
+ `,Jv=He.div`
520
+ margin-top: 6px;
521
+ margin-bottom: 6px;
522
+ padding-left: 6px;
523
+ padding-right: 6px;
524
+ display: flex;
525
+ flex-flow: row wrap;
526
+ align-items: flex-start;
527
+ `,Yv=He(V.Tag)`
528
+ margin-right: 4px;
529
+ margin-bottom: 4px;
530
+
531
+ &:last-child {
532
+ margin-right: 0;
533
+ }
534
+ `,Xv=He.div`
535
+ padding-left: 6px;
536
+ padding-right: 6px;
537
+ `,Qv=He.div`
538
+ position: absolute;
539
+ bottom: 6px;
540
+ right: 6px;
541
+ `,zr={CustomCard:Kv,ImageContainer:Hv,OverflowContainer:zv,TitleContainer:Gv,TagsContainer:Jv,CustomTag:Yv,DescriptionContainer:Xv,EditButtonContainer:Qv},Mc=({baseprefix:e,description:t,name:n,icon:i,clusterName:o,namespace:a,type:u,pathToNav:l,typeName:f,apiGroup:h,apiVersion:d,tags:g,disabled:v,isEditMode:C,onDeleteClick:S,onEditClick:E,addedMode:w})=>{const{useToken:T}=V.theme,{token:j}=T(),R=vr.useNavigate();let _="";try{_=window.atob(i)}catch{_="Can't decode"}const O=w?Vv({clusterName:o,namespace:a,type:u,pathToNav:l,typeName:f,apiGroup:h,apiVersion:d,baseprefix:e}):qv({clusterName:o,namespace:a,type:u,pathToNav:l,typeName:f,apiGroup:h,apiVersion:d,baseprefix:e}),F=w&&u!=="direct"?Wv({clusterName:o,namespace:a,type:u,typeName:f,apiGroup:h,apiVersion:d}):void 0,{data:B,error:W}=nn({uri:F||"",queryKey:[F||""],refetchInterval:!1,isEnabled:w&&F!==void 0});return w&&(W||u==="direct")?null:x.jsx(zr.CustomCard,{$isDisabled:v,$hoverColor:j.colorPrimary,onClick:()=>v?null:R(O),children:x.jsxs(V.Flex,{vertical:!0,style:{width:"100%",height:"100%"},justify:"spaceBetween",children:[x.jsxs(V.Flex,{justify:"space-between",children:[x.jsx(zr.ImageContainer,{dangerouslySetInnerHTML:{__html:_}}),C&&x.jsx("div",{onClick:J=>{J.preventDefault(),J.stopPropagation(),S&&S()},children:x.jsx("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M10.5 0C4.70156 0 0 4.70156 0 10.5C0 16.2984 4.70156 21 10.5 21C16.2984 21 21 16.2984 21 10.5C21 4.70156 16.2984 0 10.5 0ZM15 11.0625C15 11.1656 14.9156 11.25 14.8125 11.25H6.1875C6.08437 11.25 6 11.1656 6 11.0625V9.9375C6 9.83438 6.08437 9.75 6.1875 9.75H14.8125C14.9156 9.75 15 9.83438 15 9.9375V11.0625Z",fill:"currentColor"})})})]}),x.jsxs(zr.OverflowContainer,{children:[x.jsxs(zr.TitleContainer,{children:[n," ",w&&x.jsxs("span",{children:["x",B?.items?.length]})]}),x.jsx(zr.TagsContainer,{children:g.map(J=>x.jsx(zr.CustomTag,{children:J},J))}),x.jsx(zr.DescriptionContainer,{children:x.jsx(V.Typography.Text,{type:"secondary",children:t})})]}),x.jsx(zr.EditButtonContainer,{children:C&&x.jsx("div",{onClick:J=>{J.preventDefault(),J.stopPropagation(),E&&E()},children:x.jsx("svg",{width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M17.28 16.79H0.72C0.32175 16.79 0 17.1117 0 17.51V18.32C0 18.419 0.081 18.5 0.18 18.5H17.82C17.919 18.5 18 18.419 18 18.32V17.51C18 17.1117 17.6783 16.79 17.28 16.79ZM3.27825 14.9C3.32325 14.9 3.36825 14.8955 3.41325 14.8888L7.19775 14.225C7.24275 14.216 7.2855 14.1958 7.317 14.162L16.8547 4.62425C16.8756 4.60343 16.8922 4.57871 16.9034 4.55149C16.9147 4.52427 16.9205 4.49509 16.9205 4.46562C16.9205 4.43616 16.9147 4.40698 16.9034 4.37976C16.8922 4.35254 16.8756 4.32782 16.8547 4.307L13.1153 0.56525C13.0725 0.5225 13.0163 0.5 12.9555 0.5C12.8948 0.5 12.8385 0.5225 12.7958 0.56525L3.258 10.103C3.22425 10.1367 3.204 10.1772 3.195 10.2222L2.53125 14.0067C2.50936 14.1273 2.51718 14.2513 2.55404 14.3682C2.59089 14.485 2.65566 14.5911 2.74275 14.6772C2.89125 14.8212 3.078 14.9 3.27825 14.9Z",fill:"currentColor"})})})})]})})},Zv=({uniqueTags:e,selectedTags:t,onSelectedTags:n})=>{const i=e.map(o=>({key:o,value:o}));return x.jsx(V.Select,{mode:"tags",placeholder:"Search",tokenSeparators:[","," "," "],allowClear:!0,options:i,onClear:()=>{n([])},value:t,onChange:o=>n(o),style:{width:"240px"}})},ex={BigValue:He.div`
542
+ font-size: 36px;
543
+ line-height: 36px;
544
+ font-weight: 700;
545
+ /* stylelint-disable-next-line value-no-vendor-prefix */
546
+ display: -webkit-box;
547
+ overflow: hidden;
548
+ text-overflow: ellipsis;
549
+ -ms-line-clamp: 1;
550
+ -webkit-line-clamp: 1;
551
+ -webkit-box-orient: vertical;
552
+ line-clamp: 1;
553
+ word-break: break-all;
554
+ `},Op=({clusterName:e,namespace:t,baseApiGroup:n,baseApiVersion:i,mpResourceName:o,mpResourceKind:a,baseprefix:u})=>{const[l,f]=V.notification.useNotification(),[h,d]=Q.useState(!1),[g,v]=Q.useState(!1),[C,S]=Q.useState(!1),[E,w]=Q.useState(),[T,j]=Q.useState(),[R,_]=Q.useState([]),[O,F]=Q.useState([]),[B,W]=Q.useState([]),[J,fe]=Q.useState([]),{data:le,isLoading:de,error:be}=nn({uri:`/api/clusters/${e}/k8s/apis/${n}/${i}/${o}/`,refetchInterval:5e3,queryKey:["marketplacePanels",e||"no-cluster"],isEnabled:e!==void 0}),Se=Wr({apiGroup:n,typeName:o,namespace:"",clusterName:e||"",verb:"create",refetchInterval:!1}),pe=Wr({apiGroup:n,typeName:o,namespace:"",clusterName:e||"",verb:"update",refetchInterval:!1}),De=Wr({apiGroup:n,typeName:o,namespace:"",clusterName:e||"",verb:"delete",refetchInterval:!1}),Re=()=>l.success({message:"Card created",key:"create-marketplace-success"}),Te=()=>l.success({message:"Card modified",key:"update-marketplace-success"});if(Q.useEffect(()=>{le&&(h?(_(le.items.map(({spec:ve})=>ve).sort()),W(le.items.flatMap(({spec:ve})=>ve.tags).filter((ve,ge,Ke)=>Ke.indexOf(ve)===ge))):(_(le.items.map(({spec:ve})=>ve).filter(({hidden:ve})=>ve!==!0).sort()),W(le.items.filter(({spec:ve})=>ve.hidden!==!0).flatMap(({spec:ve})=>ve.tags).filter((ve,ge,Ke)=>Ke.indexOf(ve)===ge))))},[le,h]),Q.useEffect(()=>{let ve=[];J&&J.length>0?ve=R.filter(({name:ge,description:Ke,tags:Y})=>J.some(X=>ge.toLowerCase().includes(X.toLowerCase()))||J.some(X=>Ke.toLowerCase().includes(X.toLowerCase()))||J.some(X=>Y.some(re=>re.toLowerCase().includes(X.toLowerCase())))).sort():ve=R.sort(),F(ve)},[J,R]),be)return x.jsx("div",{children:JSON.stringify(be)});if(de)return x.jsx(V.Spin,{});if(!le)return x.jsx("div",{children:"No panels"});const Xe=()=>{d(!h)};return x.jsxs(x.Fragment,{children:[f,x.jsxs(V.Flex,{justify:"space-between",children:[x.jsx("div",{children:x.jsxs(V.Flex,{gap:12,vertical:!0,children:[x.jsx("div",{children:x.jsx(V.Typography.Text,{type:"secondary",children:"Available Products"})}),x.jsx("div",{children:x.jsx(ex.BigValue,{children:"Marketplace"})})]})}),x.jsx("div",{children:x.jsxs(V.Flex,{gap:12,vertical:!0,children:[x.jsx(Zv,{uniqueTags:B,selectedTags:J,onSelectedTags:fe}),(Se.data?.status.allowed||pe.data?.status.allowed||De.data?.status.allowed)&&x.jsxs(V.Flex,{align:"center",gap:8,children:[x.jsx(V.Switch,{defaultChecked:!0,checked:h,onClick:Xe})," Edit Mode"]})]})})]}),x.jsx(Ar,{$space:20,$samespace:!0}),E&&x.jsx(V.Alert,{description:JSON.stringify(E),message:"Card was not created",onClose:()=>w(void 0),type:"error"}),T&&x.jsx(V.Alert,{description:JSON.stringify(T),message:"Card was not deleted",onClose:()=>j(void 0),type:"error"}),x.jsxs(V.Flex,{gap:22,wrap:!0,children:[e&&t&&O.map(({name:ve,description:ge,icon:Ke,type:Y,pathToNav:X,typeName:re,apiGroup:_e,apiVersion:ze,tags:xe,disabled:Fe})=>x.jsx(Mc,{baseprefix:u,description:ge,disabled:Fe,icon:Ke,isEditMode:h,name:ve,clusterName:e,namespace:t,type:Y,pathToNav:X,typeName:re,apiGroup:_e,apiVersion:ze,tags:xe,onDeleteClick:()=>{const Be=le.items.find(({spec:Le})=>Le.name===ve);S(Be?{name:Be.metadata.name}:!1)},onEditClick:()=>{v(le.items.find(({spec:Be})=>Be.name===ve)||!1)}},ve)),h&&x.jsx(Lv,{onAddClick:()=>{v(!0)}})]}),g&&x.jsx(Uv,{clusterName:e,baseApiGroup:n,baseApiVersion:i,mpResourceName:o,mpResourceKind:a,isOpen:g,setError:w,setIsOpen:v,onCreateSuccess:Re,onUpdateSuccess:Te}),typeof C!="boolean"&&x.jsx(Yu,{name:C.name,onClose:()=>S(!1),endpoint:`/api/clusters/${e}/k8s/apis/${n}/${i}/${o}/${C.name}`})]})},tx=({onDelete:e,onUpdate:t})=>{const n=()=>{const i=[];return t&&i.push({key:"update",label:x.jsx("div",{onClick:o=>{o.stopPropagation(),t()},children:x.jsxs(V.Flex,{align:"center",gap:8,children:[x.jsx(Eh,{}),"Edit"]})})}),e&&i.push({key:"delete",label:x.jsx("div",{onClick:o=>{o.stopPropagation(),e()},children:x.jsxs(V.Flex,{align:"center",gap:8,children:[x.jsx(xh,{}),"Delete"]})})}),i};return x.jsx(V.Dropdown,{placement:"bottomRight",menu:{items:n()},trigger:["click"],children:x.jsx(V.Button,{type:"text",onClick:i=>{i.preventDefault(),i.stopPropagation()},children:x.jsx(wn.EllipsisOutlined,{})})})},nx=({accessGroups:e})=>{const t=()=>e.map((n,i)=>({key:`${n}-${i}`,label:x.jsx("div",{onClick:o=>{o.stopPropagation()},children:n})}));return x.jsx(V.Dropdown,{placement:"bottomRight",menu:{items:t()},trigger:["click"],children:x.jsxs(V.Button,{type:"link",onClick:n=>{n.preventDefault(),n.stopPropagation()},children:["Access Groups",x.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M12.8127 3H11.6408C11.5611 3 11.4861 3.03906 11.4393 3.10313L7.0002 9.22188L2.56114 3.10313C2.51426 3.03906 2.43926 3 2.35957 3H1.1877C1.08614 3 1.02676 3.11563 1.08614 3.19844L6.59551 10.7937C6.79551 11.0687 7.20489 11.0687 7.40332 10.7937L12.9127 3.19844C12.9736 3.11563 12.9143 3 12.8127 3Z",fill:"currentColor"})})]})})},rx=He.div`
555
+ width: 45.33px;
556
+ height: 1px;
557
+ `;He.div`
558
+ font-size: 36px;
559
+ line-height: 36px;
560
+ font-weight: 700;
561
+ /* stylelint-disable-next-line value-no-vendor-prefix */
562
+ display: -webkit-box;
563
+ overflow: hidden;
564
+ text-overflow: ellipsis;
565
+ -ms-line-clamp: 1;
566
+ -webkit-line-clamp: 1;
567
+ -webkit-box-orient: vertical;
568
+ line-clamp: 1;
569
+ word-break: break-all;
570
+ `;const ix={ActionMenuPlaceholder:rx},Fp=({clusterName:e,namespace:t,baseApiGroup:n,baseApiVersion:i,baseProjectApiGroup:o,baseProjectVersion:a,mpResourceName:u,projectResourceName:l,baseprefix:f,accessGroups:h,children:d})=>{const g=vr.useNavigate(),{data:v,isLoading:C}=nn({uri:`/api/clusters/${e}/k8s/apis/${n}/${i}/${u}/`,refetchInterval:5e3,queryKey:["marketplacePanels",e||"no-cluster"],isEnabled:e!==void 0}),{data:S,isLoading:E,error:w}=nn({uri:`/api/clusters/${e}/k8s/apis/${o}/${a}/${l}/${t}`,refetchInterval:5e3,queryKey:["projects",e||"no-cluster"],isEnabled:e!==void 0}),[T,j]=Q.useState(!1),R=Wr({apiGroup:o,typeName:l,namespace:"",clusterName:e||"",verb:"update",refetchInterval:!1}),_=Wr({apiGroup:o,typeName:l,namespace:"",clusterName:e||"",verb:"delete",refetchInterval:!1}),O=Q.useCallback(()=>{g(`/${f}/${e}/forms/apis/${o}/${a}/${l}/${t}?backlink=${f}/clusters/${e}`)},[f,e,t,o,a,l,g]);if(E)return x.jsx(V.Spin,{});if(!S||w)return null;const F=S.status.conditions.find(({type:B})=>B==="Ready");return x.jsxs(x.Fragment,{children:[x.jsxs(V.Flex,{justify:"space-between",children:[x.jsx("div",{children:d}),x.jsx("div",{children:x.jsxs(V.Flex,{gap:24,vertical:!0,children:[x.jsx(V.Flex,{justify:"flex-end",children:F?.status==="True"&&(R.data?.status.allowed||_.data?.status.allowed)?x.jsx(tx,{onDelete:_.data?.status.allowed?()=>{j(!0)}:void 0,onUpdate:R.data?.status.allowed?O:void 0}):x.jsx(ix.ActionMenuPlaceholder,{})}),x.jsx(nx,{accessGroups:h})]})})]}),x.jsx(Ar,{$space:24,$samespace:!0}),x.jsx(V.Typography.Text,{type:"secondary",children:"Added Products"}),x.jsx(Ar,{$space:12,$samespace:!0}),x.jsxs(V.Flex,{gap:22,wrap:!0,children:[C&&x.jsx(V.Spin,{}),e&&t&&v?.items.map(({spec:B})=>B).sort().map(({name:B,description:W,icon:J,type:fe,pathToNav:le,typeName:de,apiGroup:be,apiVersion:Se,tags:pe,disabled:De})=>x.jsx(Mc,{baseprefix:f,description:W,disabled:De,icon:J,isEditMode:!1,name:B,clusterName:e,namespace:t,type:fe,pathToNav:le,typeName:de,apiGroup:be,apiVersion:Se,tags:pe,addedMode:!0},B))]}),T&&x.jsx(Yu,{name:S.metadata.name,onClose:()=>{j(!1),g(`${f}/clusters/${e}`)},endpoint:`/api/clusters/${e}/k8s/apis/${o}/${a}/${l}/${S.metadata.name}`})]})},Uc=({items:e,components:t})=>x.jsx(x.Fragment,{children:e.map((n,i)=>{const o=t[n.type];if(!o)return x.jsxs("div",{children:["❌ No component registered for type: ",String(n.type)]},i);let a=n.data;if(typeof n.data=="object"&&n.data!==null&&"items"in n.data&&Array.isArray(n.data.items)){const{items:l,...f}=n.data;a={...f,items:l.map(h=>({...h,children:Array.isArray(h.children)?x.jsx(Uc,{items:h.children,components:t}):h.children}))}}const u=n.children?x.jsx(Uc,{items:n.children,components:t}):null;return x.jsx(Q.Fragment,{children:x.jsx(o,{data:a,children:u})},i)})}),Bp=e=>x.jsx(Uc,{...e}),sx=({data:e,children:t})=>{const{id:n,text:i,...o}=e;return x.jsxs(V.Typography.Text,{...o,children:[i,t]})},ox=({data:e,children:t})=>{const{id:n,...i}=e;return x.jsx(V.Card,{...i,children:t})},ax=({data:e,children:t})=>{const{id:n,...i}=e;return x.jsx(V.Flex,{...i,children:t})},ux=({data:e,children:t})=>{const{id:n,...i}=e;return x.jsx(V.Row,{...i,children:t})},cx=({data:e,children:t})=>{const{id:n,...i}=e;return x.jsx(V.Col,{...i,children:t})},lx=({data:e,children:t})=>{const{id:n,...i}=e;return x.jsx(V.Tabs,{...i,children:t})},fx=({data:e,children:t})=>{const{id:n,text:i,...o}=e;return x.jsxs(V.Button,{...o,children:[e.text,t]})},Dp=()=>{const e=Q.createContext(null);return{Provider:({children:i,value:o})=>{const a=Q.useMemo(()=>o,Object.values(o));return x.jsx(e.Provider,{value:a,children:i})},useTypedContext:()=>{const i=Q.useContext(e);if(!i)throw new Error("useTypedContext must be used within a Provider");return i}}},Pp=Dp(),hx=Pp.Provider,to=Pp.useTypedContext,dx=({data:e})=>{const n=to().partsOfUrl.reduce((o,a,u)=>(o[u.toString()]=a,o),{}),i=At({template:e.text,replaceValues:n});return x.jsx("span",{children:i})},Rp=Q.createContext(void 0),px=({urls:e,children:t})=>{const n=vn.useQueries({queries:e.map((f,h)=>({queryKey:["multi",h,f],queryFn:async()=>(await $e.get(f)).data}))}),i={},o=[];n.forEach((f,h)=>{i[`req${h}`]=f.data,o[h]=f.error??null});const a=n.some(f=>f.isLoading),u=n.some(f=>f.isError),l=Q.useMemo(()=>({data:i,isLoading:a,isError:u,errors:o}),[JSON.stringify(i),a,u,JSON.stringify(o)]);return x.jsx(Rp.Provider,{value:l,children:t})},Ea=()=>{const e=Q.useContext(Rp);if(!e)throw new Error("useMultiQuery must be used within a MultiQueryProvider");return e},gx={DefaultDiv:({data:e,children:t})=>{const{id:n,...i}=e;return x.jsx("div",{...i,children:t})},antdText:sx,antdCard:ox,antdFlex:ax,antdRow:ux,antdCol:cx,antdTabs:lx,antdButton:fx,partsOfUrl:dx,multiQuery:({data:e})=>{const{data:t,isLoading:n,isError:i,errors:o}=Ea(),a=Q.useMemo(()=>e?.text?e.text.replace(/\{reqs\[(\d+)\]\[((?:\s*['"][^'"]+['"]\s*,?)+)\]\}/g,(u,l,f)=>{try{const h=parseInt(l,10),d=Array.from(f.matchAll(/['"]([^'"]+)['"]/g)).map(v=>v[1]),g=qr.get(t[`req${h}`],d);return g!=null?String(g):""}catch{return u}}):"",[e?.text,t]);return n?x.jsx("div",{children:"Loading..."}):i?x.jsxs("div",{children:[x.jsx("h4",{children:"Errors:"}),x.jsx("ul",{children:o.map((u,l)=>u&&x.jsx("li",{children:u.message},l))})]}):x.jsx("span",{children:a})},parsedText:({data:e})=>{const{data:t,isLoading:n,isError:i,errors:o}=Ea(),a=to(),u=Q.useMemo(()=>e?.text?e.text.replace(/\{reqs\[(\d+)\]\[((?:\s*['"][^'"]+['"]\s*,?)+)\]\}/g,(h,d,g)=>{try{const v=parseInt(d,10),C=Array.from(g.matchAll(/['"]([^'"]+)['"]/g)).map(E=>E[1]),S=qr.get(t[`req${v}`],C);return S!=null?String(S):""}catch{return h}}):"",[e?.text,t]);if(n)return x.jsx("div",{children:"Loading..."});if(i)return x.jsxs("div",{children:[x.jsx("h4",{children:"Errors:"}),x.jsx("ul",{children:o.map((h,d)=>h&&x.jsx("li",{children:h.message},d))})]});const l=a.partsOfUrl.reduce((h,d,g)=>(h[g.toString()]=d,h),{}),f=At({template:u,replaceValues:l});return x.jsx("span",{children:f})},ProjectInfoCard:({data:e,children:t})=>{const{id:n,clusterNamePartOfUrl:i,namespacePartOfUrl:o,accessGroups:a,...u}=e,{data:l,isError:f,errors:h}=Ea(),g=to().partsOfUrl.reduce((E,w,T)=>(E[T.toString()]=w,E),{}),v=At({template:i,replaceValues:g}),C=At({template:o,replaceValues:g}),S=a.map(E=>{const w=E.replace(/\{reqs\[(\d+)\]\[((?:\s*['"][^'"]+['"]\s*,?)+)\]\}/g,(j,R,_)=>{try{const O=parseInt(R,10),F=Array.from(_.matchAll(/['"]([^'"]+)['"]/g)).map(W=>W[1]),B=qr.get(l[`req${O}`],F);return B!=null?String(B):""}catch{return j}});return At({template:w,replaceValues:g})});return f?x.jsxs("div",{children:[x.jsx("h4",{children:"Errors:"}),x.jsx("ul",{children:h.map((E,w)=>E&&x.jsx("li",{children:E.message},w))})]}):x.jsx(Fp,{clusterName:v,namespace:C,accessGroups:S,...u,children:t})},MarketplaceCard:({data:e,children:t})=>{const{id:n,clusterNamePartOfUrl:i,namespacePartOfUrl:o,...a}=e,l=to().partsOfUrl.reduce((d,g,v)=>(d[v.toString()]=g,d),{}),f=At({template:i,replaceValues:l}),h=At({template:o,replaceValues:l});return x.jsx(Op,{clusterName:f,namespace:h,...a})},ContentCard:({data:e,children:t})=>{const{id:n,...i}=e;return x.jsx(Ih,{...i,children:t})},Spacer:({data:e,children:t})=>{const{id:n,...i}=e;return x.jsx(Ar,{...i})},StatusText:({data:e,children:t})=>{const{id:n,requestIndex:i,jsonPath:o,criteria:a,valueToCompare:u,successText:l,errorText:f,...h}=e,{data:d,isLoading:g,isError:v,errors:C}=Ea();let S;try{[S]=Kh.query(d[`req${i}`],`$${o}`)}catch(w){return x.jsxs("div",{children:[x.jsx("h4",{children:"Errors:"}),x.jsx("ul",{children:JSON.stringify(w)})]})}const E=a==="equals"?u===S:u!==S;return g?x.jsx("div",{children:"Loading..."}):v?x.jsxs("div",{children:[x.jsx("h4",{children:"Errors:"}),x.jsx("ul",{children:C.map((w,T)=>w&&x.jsx("li",{children:w.message},T))})]}):x.jsxs(V.Typography.Text,{type:E?"success":"danger",...h,children:[E?l:f,t]})},SidebarProvider:({data:e,children:t})=>{const{id:n,...i}=e,a=to().partsOfUrl.reduce((u,l,f)=>(u[f.toString()]=l,u),{});return x.jsx(Lh,{replaceValues:a,...i})}},Lp=({urls:e,locationPathname:t})=>{const n=t.split("/").reduce((i,o,a)=>(i[a.toString()]=o,i),{});return e.map(i=>At({template:i,replaceValues:n}))},yx=e=>{const t=vr.useLocation(),{urlsToFetch:n}=e,i=Lp({urls:n,locationPathname:t.pathname});return x.jsx(hx,{value:{partsOfUrl:t.pathname.split("/")},children:x.jsx(px,{urls:i,children:x.jsx(Bp,{...e})})})},mx=e=>typeof e=="object"&&"value"in e&&"highlight"in e,bx=e=>{const t={};e.forEach(({apis:i,highlightString:o})=>{i.forEach(a=>{const[u,l]=a.split("/"),f=u.split(".");if(f.length<2)return;const h=f.slice(-2).join("."),d=f.slice(0,-2).reverse();let g=t[h]=t[h]||{};for(const v of d)g[v]=g[v]||{},g=g[v];g[l]={value:a,highlight:a===o}})});const n=(i,o="")=>Object.entries(i).map(([a,u])=>{const l=o?`${o}.${a}`:a;if(mx(u))return{title:u.highlight?`${u.value} (pref)`:u.value,key:u.value,isLeaf:!0};const f=n(u,l);return{title:a,key:l,children:f,isLeaf:f.length===0}});return Object.entries(t).map(([i,o])=>({title:i,key:i,children:n(o,i),isLeaf:!1}))},wx=e=>e.map(t=>({title:`${t} (pref)`,key:t,isLeaf:!0})),vx=async({namespace:e,data:t,apiGroup:n,apiVersion:i,clusterName:o})=>{const a={namespace:e,data:t,apiGroup:n,apiVersion:i,clusterName:o};return(await $e.post(`/api/clusters/${o}/openapi-bff/scopes/filterScopes/filterIfApiNamespaceScoped`,a)).data},jp=async({namespace:e,data:t,clusterName:n})=>{const i={namespace:e,data:t,clusterName:n};return(await $e.post(`/api/clusters/${n}/openapi-bff/scopes/filterScopes/filterIfBuiltInNamespaceScoped`,i)).data},xx=async({clusterName:e,apiGroupListData:t,builtinResourceTypesData:n,namespace:i,noncrds:o=["apps","autoscaling","batch","policy"]})=>{const a=t?.groups?.find(({name:h})=>h==="apiextensions.k8s.io")?.preferredVersion.version,u=t?.groups.filter(({name:h})=>!o.includes(h)&&!h.includes(".k8s.io")).sort((h,d)=>h.name.localeCompare(d.name)),l=t?.groups.sort((h,d)=>h.name.localeCompare(d.name)),f=await jp({namespace:i,data:n,clusterName:e});return{crdGroups:u,nonCrdGroups:l,builtinGroups:f,apiExtensionVersion:a}},Ex=({data:e,clusterName:t,projectName:n,instanceName:i,namespace:o,syntheticProject:a,entryType:u,apiGroup:l,apiVersion:f,typeName:h,entryName:d,apiExtensionVersion:g,crdName:v,pathname:C})=>e.map(({pathToMatch:E,pathToNavigate:w,keysToParse:T})=>({pathToMatch:E?At({template:E,replaceValues:{clusterName:t,projectName:n,instanceName:i,namespace:o,syntheticProject:a,entryType:u,apiGroup:l,apiVersion:f,typeName:h,entryName:d,apiExtensionVersion:g,crdName:v}}):void 0,pathToNavigate:w?At({template:w,replaceValues:{clusterName:t,projectName:n,instanceName:i,namespace:o,syntheticProject:a,entryType:u,apiGroup:l,apiVersion:f,typeName:h,entryName:d,apiExtensionVersion:g,crdName:v}}):void 0,keysToParse:T})).find(({pathToMatch:E})=>E?vr.matchPath(E,C):!1),Np=e=>!!(typeof e=="object"&&!Array.isArray(e)&&e!==null&&e.spec&&typeof e.spec=="object"&&!Array.isArray(e.spec)&&e.spec!==null&&Array.isArray(e.spec.additionalPrinterColumns)&&e.spec.additionalPrinterColumns.every(t=>Object.keys(t).includes("name")&&Object.keys(t).includes("jsonPath"))),$p=e=>!!(typeof e=="object"&&!Array.isArray(e)&&e!==null&&e.spec&&typeof e.spec=="object"&&!Array.isArray(e.spec)&&e.spec!==null&&Array.isArray(e.spec.additionalPrinterColumnsUndefinedValues)&&e.spec.additionalPrinterColumnsUndefinedValues.every(t=>Object.keys(t).includes("key")&&Object.keys(t).includes("value"))),Mp=e=>!!(typeof e=="object"&&!Array.isArray(e)&&e!==null&&e.spec&&typeof e.spec=="object"&&!Array.isArray(e.spec)&&e.spec!==null&&Array.isArray(e.spec.additionalPrinterColumnsTrimLengths)&&e.spec.additionalPrinterColumnsTrimLengths.every(t=>Object.keys(t).includes("key")&&Object.keys(t).includes("value"))),Up=e=>!!(typeof e=="object"&&!Array.isArray(e)&&e!==null&&e.spec&&typeof e.spec=="object"&&!Array.isArray(e.spec)&&e.spec!==null&&Array.isArray(e.spec.additionalPrinterColumnsColWidths)&&e.spec.additionalPrinterColumnsColWidths.every(t=>Object.keys(t).includes("key")&&Object.keys(t).includes("value"))),Sx=({columnsOverridesData:e,overrideType:t})=>{const n=e?.items.find(l=>typeof l=="object"&&!Array.isArray(l)&&l!==null&&l.spec&&typeof l.spec=="object"&&!Array.isArray(l.spec)&&l.spec!==null&&typeof l.spec.overrideType=="string"&&l.spec.overrideType===t),i=Np(n)?n.spec.additionalPrinterColumns:void 0,o=$p(n)?n.spec.additionalPrinterColumnsUndefinedValues:void 0,a=Mp(n)?n.spec.additionalPrinterColumnsTrimLengths:void 0,u=Up(n)?n.spec.additionalPrinterColumnsColWidths:void 0;return{ensuredCustomOverrides:i,ensuredCustomOverridesUndefinedValues:o,ensuredCustomOverridesTrimLengths:a,ensuredCustomOverridesColWidths:u}},Vp=async()=>$e.get("/clusterlist"),qp=async({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,typeName:o,limit:a})=>{const u=a!==null?`?limit=${a}`:"";return $e.get(`/api/clusters/${e}/k8s/apis/${n}/${i}${t?`/namespaces/${t}`:""}/${o}${u}`)},Wp=async({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,typeName:o,entryName:a})=>$e.get(`/api/clusters/${e}/k8s/apis/${n}/${i}${t?`/namespaces/${t}`:""}/${o}/${a}`),Kp=async({clusterName:e,namespace:t,typeName:n,limit:i})=>{const o=i!==null?`?limit=${i}`:"";return $e.get(`/api/clusters/${e}/k8s/api/v1${t?`/namespaces/${t}`:""}/${n}${o}`)},Hp=async({clusterName:e,namespace:t,typeName:n,entryName:i})=>$e.get(`/api/clusters/${e}/k8s/api/v1${t?`/namespaces/${t}`:""}/${n}/${i}`),zp=async({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,crdName:o})=>$e.get(`/api/clusters/${e}/k8s/apis/${n}/${i}${t?`/namespaces/${t}`:""}/${o}`),Gp=async({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,crdName:o,entryName:a})=>$e.get(`/api/clusters/${e}/k8s/apis/${n}/${i}${t?`/namespaces/${t}`:""}/${o}/${a}`),Jp=async({clusterName:e})=>$e.get(`/api/clusters/${e}/k8s/apis/`),Yp=async({clusterName:e,apiGroup:t,apiVersion:n})=>$e.get(`/api/clusters/${e}/k8s/apis/${t}/${n}/`),Xp=async({clusterName:e})=>$e.get(`/api/clusters/${e}/k8s/api/v1`),Qp=async({clusterName:e,apiExtensionVersion:t,crdName:n})=>$e.get(`/api/clusters/${e}/k8s/apis/apiextensions.k8s.io/${t}/customresourcedefinitions/${n}`),Ax=async({clusterName:e})=>$e.get(`/api/clusters/${e}/openapi-bff/swagger/swagger/${e}`),Cx=async({typeName:e,apiGroup:t,apiVersion:n,clusterName:i})=>{const o={typeName:e,apiGroup:t,apiVersion:n,clusterName:i},{data:a}=await $e.post(`/api/clusters/${i}/openapi-bff/scopes/checkScopes/checkIfApiNamespaceScoped`,o);return a},_x=async({typeName:e,clusterName:t})=>{const n={typeName:e,clusterName:t},{data:i}=await $e.post(`/api/clusters/${t}/openapi-bff/scopes/checkScopes/checkIfBuiltInNamespaceScoped`,n);return i},kx=({refetchInterval:e})=>vn.useQuery({queryKey:["useClusterList"],queryFn:async()=>(await Vp()).data,refetchInterval:e!==void 0?e:5e3}),Tx=({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,typeName:o,limit:a,refetchInterval:u})=>vn.useQuery({queryKey:["useApiResources",e,t,n,i,o,a],queryFn:async()=>{const l=await qp({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,typeName:o,limit:a}),f=JSON.parse(JSON.stringify(l.data));return f.metadata?.resourceVersion&&delete f.metadata.resourceVersion,f},refetchInterval:u!==void 0?u:5e3}),Ix=({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,typeName:o,entryName:a,refetchInterval:u})=>vn.useQuery({queryKey:["useApiResourceSingle",e,t,n,i,o,a],queryFn:async()=>(await Wp({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,typeName:o,entryName:a})).data,refetchInterval:u!==void 0?u:5e3}),Ox=({clusterName:e,namespace:t,typeName:n,limit:i,refetchInterval:o})=>vn.useQuery({queryKey:["useBuiltinResourceType",e,t,n,i],queryFn:async()=>{const a=await Kp({clusterName:e,namespace:t,typeName:n,limit:i}),u=JSON.parse(JSON.stringify(a.data));return u.metadata?.resourceVersion&&delete u.metadata.resourceVersion,u},refetchInterval:o!==void 0?o:5e3}),Fx=({clusterName:e,namespace:t,typeName:n,entryName:i,refetchInterval:o})=>vn.useQuery({queryKey:["useBuiltinResourceSingle",e,t,n,i],queryFn:async()=>(await Hp({clusterName:e,namespace:t,typeName:n,entryName:i})).data,refetchInterval:o!==void 0?o:5e3}),Bx=({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,crdName:o,refetchInterval:a})=>vn.useQuery({queryKey:["useCrdResources",e,t,n,i,o],queryFn:async()=>{const u=await zp({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,crdName:o}),l=JSON.parse(JSON.stringify(u.data));return l.metadata?.resourceVersion&&delete l.metadata.resourceVersion,l},refetchInterval:a!==void 0?a:5e3}),Dx=({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,crdName:o,entryName:a,refetchInterval:u})=>vn.useQuery({queryKey:["useCrdResourceSingle",e,t,n,i,o,a],queryFn:async()=>(await Gp({clusterName:e,namespace:t,apiGroup:n,apiVersion:i,crdName:o,entryName:a})).data,refetchInterval:u!==void 0?u:5e3}),Px=({clusterName:e})=>vn.useQuery({queryKey:["useApisResourceTypes",e],queryFn:async()=>{const t=await Jp({clusterName:e}),n=JSON.parse(JSON.stringify(t.data));return n.metadata?.resourceVersion&&delete n.metadata.resourceVersion,n},refetchInterval:5e3}),Rx=({clusterName:e,apiGroup:t,apiVersion:n})=>vn.useQuery({queryKey:["useApiResourceTypesByGroup",e,t,n],queryFn:async()=>{const i=await Yp({clusterName:e,apiGroup:t,apiVersion:n}),o=JSON.parse(JSON.stringify(i.data));return o.metadata?.resourceVersion&&delete o.metadata.resourceVersion,o},refetchInterval:5e3}),Lx=({clusterName:e})=>vn.useQuery({queryKey:["useBuiltinResourceTypes",e],queryFn:async()=>{const t=await Xp({clusterName:e}),n=JSON.parse(JSON.stringify(t.data));return n.metadata?.resourceVersion&&delete n.metadata.resourceVersion,n},refetchInterval:5e3}),jx=({clusterName:e,apiExtensionVersion:t,crdName:n})=>vn.useQuery({queryKey:["useCrdData",e,t,n],queryFn:async()=>{const i=await Qp({clusterName:e,apiExtensionVersion:t,crdName:n}),o=JSON.parse(JSON.stringify(i.data));return o.metadata?.resourceVersion&&delete o.metadata.resourceVersion,o},refetchInterval:5e3});ue.BackToDefaultIcon=Ch,ue.BlackholeForm=Tp,ue.BlackholeFormDataProvider=Pv,ue.ContentCard=Ih,ue.DeleteIcon=xh,ue.DeleteModal=Yu,ue.DeleteModalMany=Gm,ue.DownIcon=Ah,ue.DynamicComponents=gx,ue.DynamicRenderer=Bp,ue.DynamicRendererWithProviders=yx,ue.EditIcon=Eh,ue.EnrichedTable=qh,ue.EnrichedTableProvider=a2,ue.LockedIcon=kh,ue.ManageableBreadcrumbs=Bh,ue.ManageableBreadcrumbsWithDataProvider=Qm,ue.ManageableSidebar=Rh,ue.ManageableSidebarWithDataProvider=Lh,ue.MarketPlace=Op,ue.MarketplaceCard=Mc,ue.MinusIcon=on,ue.PlusIcon=Xu,ue.ProjectInfoCard=Fp,ue.Spacer=Ar,ue.SuccessIcon=_h,ue.TreeWithSearch=_y,ue.UnlockedIcon=Th,ue.UpIcon=Sh,ue.checkIfApiInstanceNamespaceScoped=Cx,ue.checkIfBuiltInInstanceNamespaceScoped=_x,ue.checkPermission=Yh,ue.createContextFactory=Dp,ue.createNewEntry=Jo,ue.deleteEntry=Ju,ue.feedbackIcons=Vr,ue.filterIfApiInstanceNamespaceScoped=vx,ue.filterIfBuiltInInstanceNamespaceScoped=jp,ue.filterSelectOptions=tc,ue.floorToDecimal=Rs,ue.getAllPathsFromObj=sc,ue.getApiResourceSingle=Wp,ue.getApiResourceTypes=Jp,ue.getApiResourceTypesByApiGroup=Yp,ue.getApiResources=qp,ue.getBuiltinResourceSingle=Hp,ue.getBuiltinResourceTypes=Xp,ue.getBuiltinResources=Kp,ue.getBuiltinTreeData=wx,ue.getClusterList=Vp,ue.getCrdData=Qp,ue.getCrdResourceSingle=Gp,ue.getCrdResources=zp,ue.getDirectUnknownResource=Oh,ue.getEnrichedColumns=Uh,ue.getEnrichedColumnsWithControls=Vh,ue.getGroupsByCategory=xx,ue.getObjectFormItemsDraft=xa,ue.getPrefixSubarrays=Qh,ue.getStringByName=It,ue.getSwagger=Ax,ue.groupsToTreeData=bx,ue.isFlatObject=Mh,ue.isWithAdditionalPrinterColumns=Np,ue.isWithAdditionalPrinterColumnsColWidths=Up,ue.isWithAdditionalPrinterColumnsTrimLengths=Mp,ue.isWithAdditionalPrinterColumnsUndefinedValues=$p,ue.normalizeValuesForQuotasToNumber=Xh,ue.parseCustomOverrides=Sx,ue.parseQuotaValue=T2,ue.parseQuotaValueCpu=nc,ue.parseQuotaValueMemoryAndStorage=rc,ue.prepareDataForEnrichedColumns=Hh,ue.prepareDataForManageableBreadcrumbs=Fh,ue.prepareDataForManageableSidebar=Ph,ue.prepareTableMappings=Ex,ue.prepareTemplate=At,ue.prepareUrlsToFetchForDynamicRenderer=Lp,ue.updateEntry=Yo,ue.useApiResourceSingle=Ix,ue.useApiResourceTypesByGroup=Rx,ue.useApiResources=Tx,ue.useApisResourceTypes=Px,ue.useBuiltinResourceSingle=Fx,ue.useBuiltinResourceTypes=Lx,ue.useBuiltinResources=Ox,ue.useClusterList=kx,ue.useCrdData=jx,ue.useCrdResourceSingle=Dx,ue.useCrdResources=Bx,ue.useDirectUnknownResource=nn,ue.usePermissions=Wr,Object.defineProperty(ue,Symbol.toStringTag,{value:"Module"})});
464
571
  //# sourceMappingURL=openapi-k8s-toolkit.umd.js.map