@e-llm-studio/instant-learning 0.0.106 → 0.0.107

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 (976) hide show
  1. package/dist/_virtual/index.js +1 -1
  2. package/dist/_virtual/index10.js +1 -1
  3. package/dist/_virtual/index11.js +1 -1
  4. package/dist/_virtual/index12.js +1 -1
  5. package/dist/_virtual/index13.js +1 -1
  6. package/dist/_virtual/index14.js +1 -1
  7. package/dist/_virtual/index15.js +1 -1
  8. package/dist/_virtual/index16.js +1 -1
  9. package/dist/_virtual/index17.js +1 -1
  10. package/dist/_virtual/index18.js +1 -1
  11. package/dist/_virtual/index19.js +1 -1
  12. package/dist/_virtual/index2.js +1 -1
  13. package/dist/_virtual/index20.js +1 -1
  14. package/dist/_virtual/index21.js +1 -1
  15. package/dist/_virtual/index22.js +1 -1
  16. package/dist/_virtual/index23.js +1 -1
  17. package/dist/_virtual/index24.js +1 -1
  18. package/dist/_virtual/index25.js +1 -1
  19. package/dist/_virtual/index27.js +1 -1
  20. package/dist/_virtual/index28.js +1 -1
  21. package/dist/_virtual/index3.js +1 -1
  22. package/dist/_virtual/index4.js +1 -1
  23. package/dist/_virtual/index5.js +1 -1
  24. package/dist/_virtual/index6.js +1 -1
  25. package/dist/_virtual/index7.js +1 -1
  26. package/dist/_virtual/index8.js +1 -1
  27. package/dist/_virtual/index9.js +1 -1
  28. package/dist/cjs/_virtual/index.js +1 -1
  29. package/dist/cjs/_virtual/index10.js +1 -1
  30. package/dist/cjs/_virtual/index11.js +1 -1
  31. package/dist/cjs/_virtual/index12.js +1 -1
  32. package/dist/cjs/_virtual/index13.js +1 -1
  33. package/dist/cjs/_virtual/index14.js +1 -1
  34. package/dist/cjs/_virtual/index15.js +1 -1
  35. package/dist/cjs/_virtual/index16.js +1 -1
  36. package/dist/cjs/_virtual/index17.js +1 -1
  37. package/dist/cjs/_virtual/index18.js +1 -1
  38. package/dist/cjs/_virtual/index19.js +1 -1
  39. package/dist/cjs/_virtual/index2.js +1 -1
  40. package/dist/cjs/_virtual/index20.js +1 -1
  41. package/dist/cjs/_virtual/index21.js +1 -1
  42. package/dist/cjs/_virtual/index22.js +1 -1
  43. package/dist/cjs/_virtual/index23.js +1 -1
  44. package/dist/cjs/_virtual/index24.js +1 -1
  45. package/dist/cjs/_virtual/index25.js +1 -1
  46. package/dist/cjs/_virtual/index27.js +1 -1
  47. package/dist/cjs/_virtual/index28.js +1 -1
  48. package/dist/cjs/_virtual/index3.js +1 -1
  49. package/dist/cjs/_virtual/index4.js +1 -1
  50. package/dist/cjs/_virtual/index5.js +1 -1
  51. package/dist/cjs/_virtual/index6.js +1 -1
  52. package/dist/cjs/_virtual/index7.js +1 -1
  53. package/dist/cjs/_virtual/index8.js +1 -1
  54. package/dist/cjs/_virtual/index9.js +1 -1
  55. package/dist/cjs/features/DocumentLearning/DocumentLearning.js +1 -1
  56. package/dist/cjs/features/DocumentLearning/_components/BookLearningForm.js +1 -1
  57. package/dist/cjs/features/DocumentLearning/_components/ChatComponent.js +1 -1
  58. package/dist/cjs/features/DocumentLearning/_components/ConflictingLearningWarnCard.js +1 -1
  59. package/dist/cjs/features/IL-OTJ/ILOTJ.js +1 -1
  60. package/dist/cjs/features/IL-OTJ/_components/ChatComponent.js +1 -1
  61. package/dist/cjs/features/IL-OTJ/_components/ILPopup.js +1 -1
  62. package/dist/cjs/features/IL-OTJ/_components/ILPopup.styles.js +1 -1
  63. package/dist/cjs/features/IL-OTJ/_components/InputDataReasoningCard.js +1 -1
  64. package/dist/cjs/features/IL-OTJ/_components/MessageRendering.js +1 -1
  65. package/dist/cjs/features/IL-OTJ/_components/atoms/Textarea/Textarea.js +1 -1
  66. package/dist/cjs/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
  67. package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
  68. package/dist/cjs/features/InstantLearning/InstantLearning.js +1 -1
  69. package/dist/cjs/features/InstantLearning/_components/ChatComponent.js +1 -1
  70. package/dist/cjs/features/InstantLearning/_components/ConflictingLearningWarnCard.js +1 -1
  71. package/dist/cjs/features/InstantLearning/_components/ConflictingLearningWarnCardDB.js +1 -1
  72. package/dist/cjs/features/InstantLearning/_components/ContextualChatComponent.js +1 -1
  73. package/dist/cjs/features/InstantLearning/_components/ContextualConflictDBCard.js +1 -1
  74. package/dist/cjs/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
  75. package/dist/cjs/features/InstantLearning/_components/GeneralizationAccordion.js +1 -1
  76. package/dist/cjs/features/InstantLearning/_components/LearningDetailsForm.js +1 -1
  77. package/dist/cjs/features/WtaWnta/WtaWnta.js +1 -1
  78. package/dist/cjs/features/WtaWnta/_components/AgentDetailsForm.js +1 -1
  79. package/dist/cjs/features/WtaWnta/_components/SimilarConflictingCard.js +1 -1
  80. package/dist/cjs/features/WtaWnta/_components/ValidationCard.js +1 -1
  81. package/dist/cjs/index.js +1 -1
  82. package/dist/cjs/node_modules/@e-llm-studio/streaming-response/dist/index.js +1 -1
  83. package/dist/cjs/node_modules/@e-llm-studio/streaming-response/dist/index.js.map +1 -1
  84. package/dist/cjs/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js +1 -1
  85. package/dist/cjs/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js.map +1 -1
  86. package/dist/cjs/node_modules/@material-ui/core/esm/styles/colorManipulator.js +1 -1
  87. package/dist/cjs/node_modules/@material-ui/core/esm/styles/createPalette.js +1 -1
  88. package/dist/cjs/node_modules/@material-ui/core/esm/styles/createSpacing.js +1 -1
  89. package/dist/cjs/node_modules/@material-ui/core/esm/styles/createSpacing.js.map +1 -1
  90. package/dist/cjs/node_modules/@material-ui/core/esm/styles/createTheme.js +1 -1
  91. package/dist/cjs/node_modules/@material-ui/core/esm/styles/createTypography.js +1 -1
  92. package/dist/cjs/node_modules/@material-ui/core/esm/utils/capitalize.js +1 -1
  93. package/dist/cjs/node_modules/@material-ui/icons/utils/createSvgIcon.js +1 -1
  94. package/dist/cjs/node_modules/@material-ui/icons/utils/createSvgIcon.js.map +1 -1
  95. package/dist/cjs/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js +1 -1
  96. package/dist/cjs/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js.map +1 -1
  97. package/dist/cjs/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js +1 -1
  98. package/dist/cjs/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  99. package/dist/cjs/node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js +1 -1
  100. package/dist/cjs/node_modules/@material-ui/styles/esm/index.js +1 -1
  101. package/dist/cjs/node_modules/@material-ui/styles/esm/withStyles/withStyles.js +1 -1
  102. package/dist/cjs/node_modules/@material-ui/styles/esm/withStyles/withStyles.js.map +1 -1
  103. package/dist/cjs/node_modules/@material-ui/styles/esm/withTheme/withTheme.js +1 -1
  104. package/dist/cjs/node_modules/@material-ui/styles/esm/withTheme/withTheme.js.map +1 -1
  105. package/dist/cjs/node_modules/@material-ui/system/esm/breakpoints.js +1 -1
  106. package/dist/cjs/node_modules/@material-ui/system/esm/breakpoints.js.map +1 -1
  107. package/dist/cjs/node_modules/@material-ui/system/esm/merge.js +1 -1
  108. package/dist/cjs/node_modules/@material-ui/system/esm/responsivePropType.js +1 -1
  109. package/dist/cjs/node_modules/@material-ui/system/esm/responsivePropType.js.map +1 -1
  110. package/dist/cjs/node_modules/@material-ui/system/esm/spacing.js +1 -1
  111. package/dist/cjs/node_modules/@material-ui/system/esm/spacing.js.map +1 -1
  112. package/dist/cjs/node_modules/@material-ui/utils/esm/elementAcceptingRef.js +1 -1
  113. package/dist/cjs/node_modules/@material-ui/utils/esm/elementAcceptingRef.js.map +1 -1
  114. package/dist/cjs/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js +1 -1
  115. package/dist/cjs/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js.map +1 -1
  116. package/dist/cjs/node_modules/@material-ui/utils/esm/getDisplayName.js +1 -1
  117. package/dist/cjs/node_modules/@material-ui/utils/esm/refType.js +1 -1
  118. package/dist/cjs/node_modules/@material-ui/utils/esm/refType.js.map +1 -1
  119. package/dist/cjs/node_modules/@mui/material/Accordion/Accordion.js +1 -1
  120. package/dist/cjs/node_modules/@mui/material/Accordion/Accordion.js.map +1 -1
  121. package/dist/cjs/node_modules/@mui/material/AccordionActions/AccordionActions.js +1 -1
  122. package/dist/cjs/node_modules/@mui/material/AccordionActions/AccordionActions.js.map +1 -1
  123. package/dist/cjs/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +1 -1
  124. package/dist/cjs/node_modules/@mui/material/AccordionDetails/AccordionDetails.js.map +1 -1
  125. package/dist/cjs/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +1 -1
  126. package/dist/cjs/node_modules/@mui/material/AccordionSummary/AccordionSummary.js.map +1 -1
  127. package/dist/cjs/node_modules/@mui/material/Alert/Alert.js +1 -1
  128. package/dist/cjs/node_modules/@mui/material/Alert/Alert.js.map +1 -1
  129. package/dist/cjs/node_modules/@mui/material/AlertTitle/AlertTitle.js +1 -1
  130. package/dist/cjs/node_modules/@mui/material/AlertTitle/AlertTitle.js.map +1 -1
  131. package/dist/cjs/node_modules/@mui/material/AppBar/AppBar.js +1 -1
  132. package/dist/cjs/node_modules/@mui/material/AppBar/AppBar.js.map +1 -1
  133. package/dist/cjs/node_modules/@mui/material/Autocomplete/Autocomplete.js +1 -1
  134. package/dist/cjs/node_modules/@mui/material/Autocomplete/Autocomplete.js.map +1 -1
  135. package/dist/cjs/node_modules/@mui/material/Avatar/Avatar.js +1 -1
  136. package/dist/cjs/node_modules/@mui/material/Avatar/Avatar.js.map +1 -1
  137. package/dist/cjs/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +1 -1
  138. package/dist/cjs/node_modules/@mui/material/AvatarGroup/AvatarGroup.js.map +1 -1
  139. package/dist/cjs/node_modules/@mui/material/Backdrop/Backdrop.js +1 -1
  140. package/dist/cjs/node_modules/@mui/material/Backdrop/Backdrop.js.map +1 -1
  141. package/dist/cjs/node_modules/@mui/material/Badge/Badge.js +1 -1
  142. package/dist/cjs/node_modules/@mui/material/Badge/Badge.js.map +1 -1
  143. package/dist/cjs/node_modules/@mui/material/Badge/useBadge.js +1 -1
  144. package/dist/cjs/node_modules/@mui/material/BottomNavigation/BottomNavigation.js +1 -1
  145. package/dist/cjs/node_modules/@mui/material/BottomNavigation/BottomNavigation.js.map +1 -1
  146. package/dist/cjs/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +1 -1
  147. package/dist/cjs/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js.map +1 -1
  148. package/dist/cjs/node_modules/@mui/material/Box/Box.js +1 -1
  149. package/dist/cjs/node_modules/@mui/material/Box/Box.js.map +1 -1
  150. package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
  151. package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
  152. package/dist/cjs/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +1 -1
  153. package/dist/cjs/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js.map +1 -1
  154. package/dist/cjs/node_modules/@mui/material/Button/Button.js +1 -1
  155. package/dist/cjs/node_modules/@mui/material/Button/Button.js.map +1 -1
  156. package/dist/cjs/node_modules/@mui/material/ButtonBase/ButtonBase.js +1 -1
  157. package/dist/cjs/node_modules/@mui/material/ButtonBase/ButtonBase.js.map +1 -1
  158. package/dist/cjs/node_modules/@mui/material/ButtonBase/Ripple.js +1 -1
  159. package/dist/cjs/node_modules/@mui/material/ButtonBase/Ripple.js.map +1 -1
  160. package/dist/cjs/node_modules/@mui/material/ButtonBase/TouchRipple.js +1 -1
  161. package/dist/cjs/node_modules/@mui/material/ButtonBase/TouchRipple.js.map +1 -1
  162. package/dist/cjs/node_modules/@mui/material/ButtonGroup/ButtonGroup.js +1 -1
  163. package/dist/cjs/node_modules/@mui/material/ButtonGroup/ButtonGroup.js.map +1 -1
  164. package/dist/cjs/node_modules/@mui/material/Card/Card.js +1 -1
  165. package/dist/cjs/node_modules/@mui/material/Card/Card.js.map +1 -1
  166. package/dist/cjs/node_modules/@mui/material/CardActionArea/CardActionArea.js +1 -1
  167. package/dist/cjs/node_modules/@mui/material/CardActionArea/CardActionArea.js.map +1 -1
  168. package/dist/cjs/node_modules/@mui/material/CardActions/CardActions.js +1 -1
  169. package/dist/cjs/node_modules/@mui/material/CardActions/CardActions.js.map +1 -1
  170. package/dist/cjs/node_modules/@mui/material/CardContent/CardContent.js +1 -1
  171. package/dist/cjs/node_modules/@mui/material/CardContent/CardContent.js.map +1 -1
  172. package/dist/cjs/node_modules/@mui/material/CardHeader/CardHeader.js +1 -1
  173. package/dist/cjs/node_modules/@mui/material/CardHeader/CardHeader.js.map +1 -1
  174. package/dist/cjs/node_modules/@mui/material/CardMedia/CardMedia.js +1 -1
  175. package/dist/cjs/node_modules/@mui/material/CardMedia/CardMedia.js.map +1 -1
  176. package/dist/cjs/node_modules/@mui/material/Checkbox/Checkbox.js +1 -1
  177. package/dist/cjs/node_modules/@mui/material/Checkbox/Checkbox.js.map +1 -1
  178. package/dist/cjs/node_modules/@mui/material/Chip/Chip.js +1 -1
  179. package/dist/cjs/node_modules/@mui/material/Chip/Chip.js.map +1 -1
  180. package/dist/cjs/node_modules/@mui/material/CircularProgress/CircularProgress.js +1 -1
  181. package/dist/cjs/node_modules/@mui/material/CircularProgress/CircularProgress.js.map +1 -1
  182. package/dist/cjs/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +1 -1
  183. package/dist/cjs/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js.map +1 -1
  184. package/dist/cjs/node_modules/@mui/material/Collapse/Collapse.js +1 -1
  185. package/dist/cjs/node_modules/@mui/material/Collapse/Collapse.js.map +1 -1
  186. package/dist/cjs/node_modules/@mui/material/Container/Container.js +1 -1
  187. package/dist/cjs/node_modules/@mui/material/Container/Container.js.map +1 -1
  188. package/dist/cjs/node_modules/@mui/material/CssBaseline/CssBaseline.js +1 -1
  189. package/dist/cjs/node_modules/@mui/material/CssBaseline/CssBaseline.js.map +1 -1
  190. package/dist/cjs/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  191. package/dist/cjs/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
  192. package/dist/cjs/node_modules/@mui/material/Dialog/Dialog.js +1 -1
  193. package/dist/cjs/node_modules/@mui/material/Dialog/Dialog.js.map +1 -1
  194. package/dist/cjs/node_modules/@mui/material/DialogActions/DialogActions.js +1 -1
  195. package/dist/cjs/node_modules/@mui/material/DialogActions/DialogActions.js.map +1 -1
  196. package/dist/cjs/node_modules/@mui/material/DialogContent/DialogContent.js +1 -1
  197. package/dist/cjs/node_modules/@mui/material/DialogContent/DialogContent.js.map +1 -1
  198. package/dist/cjs/node_modules/@mui/material/DialogContentText/DialogContentText.js +1 -1
  199. package/dist/cjs/node_modules/@mui/material/DialogContentText/DialogContentText.js.map +1 -1
  200. package/dist/cjs/node_modules/@mui/material/DialogTitle/DialogTitle.js +1 -1
  201. package/dist/cjs/node_modules/@mui/material/DialogTitle/DialogTitle.js.map +1 -1
  202. package/dist/cjs/node_modules/@mui/material/Divider/Divider.js +1 -1
  203. package/dist/cjs/node_modules/@mui/material/Divider/Divider.js.map +1 -1
  204. package/dist/cjs/node_modules/@mui/material/Drawer/Drawer.js +1 -1
  205. package/dist/cjs/node_modules/@mui/material/Drawer/Drawer.js.map +1 -1
  206. package/dist/cjs/node_modules/@mui/material/Fab/Fab.js +1 -1
  207. package/dist/cjs/node_modules/@mui/material/Fab/Fab.js.map +1 -1
  208. package/dist/cjs/node_modules/@mui/material/Fade/Fade.js +1 -1
  209. package/dist/cjs/node_modules/@mui/material/Fade/Fade.js.map +1 -1
  210. package/dist/cjs/node_modules/@mui/material/FilledInput/FilledInput.js +1 -1
  211. package/dist/cjs/node_modules/@mui/material/FilledInput/FilledInput.js.map +1 -1
  212. package/dist/cjs/node_modules/@mui/material/FormControl/FormControl.js +1 -1
  213. package/dist/cjs/node_modules/@mui/material/FormControl/FormControl.js.map +1 -1
  214. package/dist/cjs/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +1 -1
  215. package/dist/cjs/node_modules/@mui/material/FormControlLabel/FormControlLabel.js.map +1 -1
  216. package/dist/cjs/node_modules/@mui/material/FormGroup/FormGroup.js +1 -1
  217. package/dist/cjs/node_modules/@mui/material/FormGroup/FormGroup.js.map +1 -1
  218. package/dist/cjs/node_modules/@mui/material/FormHelperText/FormHelperText.js +1 -1
  219. package/dist/cjs/node_modules/@mui/material/FormHelperText/FormHelperText.js.map +1 -1
  220. package/dist/cjs/node_modules/@mui/material/FormLabel/FormLabel.js +1 -1
  221. package/dist/cjs/node_modules/@mui/material/FormLabel/FormLabel.js.map +1 -1
  222. package/dist/cjs/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +1 -1
  223. package/dist/cjs/node_modules/@mui/material/GlobalStyles/GlobalStyles.js.map +1 -1
  224. package/dist/cjs/node_modules/@mui/material/Grid/Grid.js +1 -1
  225. package/dist/cjs/node_modules/@mui/material/Grid/Grid.js.map +1 -1
  226. package/dist/cjs/node_modules/@mui/material/Grow/Grow.js +1 -1
  227. package/dist/cjs/node_modules/@mui/material/Grow/Grow.js.map +1 -1
  228. package/dist/cjs/node_modules/@mui/material/Hidden/Hidden.js +1 -1
  229. package/dist/cjs/node_modules/@mui/material/Hidden/Hidden.js.map +1 -1
  230. package/dist/cjs/node_modules/@mui/material/Hidden/HiddenCss.js +1 -1
  231. package/dist/cjs/node_modules/@mui/material/Hidden/HiddenCss.js.map +1 -1
  232. package/dist/cjs/node_modules/@mui/material/Hidden/HiddenJs.js +1 -1
  233. package/dist/cjs/node_modules/@mui/material/Hidden/HiddenJs.js.map +1 -1
  234. package/dist/cjs/node_modules/@mui/material/Hidden/withWidth.js +1 -1
  235. package/dist/cjs/node_modules/@mui/material/Hidden/withWidth.js.map +1 -1
  236. package/dist/cjs/node_modules/@mui/material/Icon/Icon.js +1 -1
  237. package/dist/cjs/node_modules/@mui/material/Icon/Icon.js.map +1 -1
  238. package/dist/cjs/node_modules/@mui/material/IconButton/IconButton.js +1 -1
  239. package/dist/cjs/node_modules/@mui/material/IconButton/IconButton.js.map +1 -1
  240. package/dist/cjs/node_modules/@mui/material/ImageList/ImageList.js +1 -1
  241. package/dist/cjs/node_modules/@mui/material/ImageList/ImageList.js.map +1 -1
  242. package/dist/cjs/node_modules/@mui/material/ImageListItem/ImageListItem.js +1 -1
  243. package/dist/cjs/node_modules/@mui/material/ImageListItem/ImageListItem.js.map +1 -1
  244. package/dist/cjs/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js +1 -1
  245. package/dist/cjs/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js.map +1 -1
  246. package/dist/cjs/node_modules/@mui/material/Input/Input.js +1 -1
  247. package/dist/cjs/node_modules/@mui/material/Input/Input.js.map +1 -1
  248. package/dist/cjs/node_modules/@mui/material/InputAdornment/InputAdornment.js +1 -1
  249. package/dist/cjs/node_modules/@mui/material/InputAdornment/InputAdornment.js.map +1 -1
  250. package/dist/cjs/node_modules/@mui/material/InputBase/InputBase.js +1 -1
  251. package/dist/cjs/node_modules/@mui/material/InputBase/InputBase.js.map +1 -1
  252. package/dist/cjs/node_modules/@mui/material/InputLabel/InputLabel.js +1 -1
  253. package/dist/cjs/node_modules/@mui/material/InputLabel/InputLabel.js.map +1 -1
  254. package/dist/cjs/node_modules/@mui/material/LinearProgress/LinearProgress.js +1 -1
  255. package/dist/cjs/node_modules/@mui/material/LinearProgress/LinearProgress.js.map +1 -1
  256. package/dist/cjs/node_modules/@mui/material/Link/Link.js +1 -1
  257. package/dist/cjs/node_modules/@mui/material/Link/Link.js.map +1 -1
  258. package/dist/cjs/node_modules/@mui/material/Link/getTextDecoration.js +1 -1
  259. package/dist/cjs/node_modules/@mui/material/Link/getTextDecoration.js.map +1 -1
  260. package/dist/cjs/node_modules/@mui/material/List/List.js +1 -1
  261. package/dist/cjs/node_modules/@mui/material/List/List.js.map +1 -1
  262. package/dist/cjs/node_modules/@mui/material/ListItem/ListItem.js +1 -1
  263. package/dist/cjs/node_modules/@mui/material/ListItem/ListItem.js.map +1 -1
  264. package/dist/cjs/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js +1 -1
  265. package/dist/cjs/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js.map +1 -1
  266. package/dist/cjs/node_modules/@mui/material/ListItemButton/ListItemButton.js +1 -1
  267. package/dist/cjs/node_modules/@mui/material/ListItemButton/ListItemButton.js.map +1 -1
  268. package/dist/cjs/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +1 -1
  269. package/dist/cjs/node_modules/@mui/material/ListItemIcon/ListItemIcon.js.map +1 -1
  270. package/dist/cjs/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  271. package/dist/cjs/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
  272. package/dist/cjs/node_modules/@mui/material/ListItemText/ListItemText.js +1 -1
  273. package/dist/cjs/node_modules/@mui/material/ListItemText/ListItemText.js.map +1 -1
  274. package/dist/cjs/node_modules/@mui/material/ListSubheader/ListSubheader.js +1 -1
  275. package/dist/cjs/node_modules/@mui/material/ListSubheader/ListSubheader.js.map +1 -1
  276. package/dist/cjs/node_modules/@mui/material/Menu/Menu.js +1 -1
  277. package/dist/cjs/node_modules/@mui/material/Menu/Menu.js.map +1 -1
  278. package/dist/cjs/node_modules/@mui/material/MenuItem/MenuItem.js +1 -1
  279. package/dist/cjs/node_modules/@mui/material/MenuItem/MenuItem.js.map +1 -1
  280. package/dist/cjs/node_modules/@mui/material/MenuList/MenuList.js +1 -1
  281. package/dist/cjs/node_modules/@mui/material/MenuList/MenuList.js.map +1 -1
  282. package/dist/cjs/node_modules/@mui/material/MobileStepper/MobileStepper.js +1 -1
  283. package/dist/cjs/node_modules/@mui/material/MobileStepper/MobileStepper.js.map +1 -1
  284. package/dist/cjs/node_modules/@mui/material/Modal/Modal.js +1 -1
  285. package/dist/cjs/node_modules/@mui/material/Modal/Modal.js.map +1 -1
  286. package/dist/cjs/node_modules/@mui/material/Modal/ModalManager.js +1 -1
  287. package/dist/cjs/node_modules/@mui/material/Modal/useModal.js +1 -1
  288. package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelect.js +1 -1
  289. package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelect.js.map +1 -1
  290. package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +1 -1
  291. package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelectInput.js.map +1 -1
  292. package/dist/cjs/node_modules/@mui/material/NoSsr/NoSsr.js +1 -1
  293. package/dist/cjs/node_modules/@mui/material/NoSsr/NoSsr.js.map +1 -1
  294. package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
  295. package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
  296. package/dist/cjs/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +1 -1
  297. package/dist/cjs/node_modules/@mui/material/OutlinedInput/OutlinedInput.js.map +1 -1
  298. package/dist/cjs/node_modules/@mui/material/Pagination/Pagination.js +1 -1
  299. package/dist/cjs/node_modules/@mui/material/Pagination/Pagination.js.map +1 -1
  300. package/dist/cjs/node_modules/@mui/material/PaginationItem/PaginationItem.js +1 -1
  301. package/dist/cjs/node_modules/@mui/material/PaginationItem/PaginationItem.js.map +1 -1
  302. package/dist/cjs/node_modules/@mui/material/Paper/Paper.js +1 -1
  303. package/dist/cjs/node_modules/@mui/material/Paper/Paper.js.map +1 -1
  304. package/dist/cjs/node_modules/@mui/material/Popover/Popover.js +1 -1
  305. package/dist/cjs/node_modules/@mui/material/Popover/Popover.js.map +1 -1
  306. package/dist/cjs/node_modules/@mui/material/Popper/BasePopper.js +1 -1
  307. package/dist/cjs/node_modules/@mui/material/Popper/BasePopper.js.map +1 -1
  308. package/dist/cjs/node_modules/@mui/material/Popper/Popper.js +1 -1
  309. package/dist/cjs/node_modules/@mui/material/Popper/Popper.js.map +1 -1
  310. package/dist/cjs/node_modules/@mui/material/Portal/Portal.js +1 -1
  311. package/dist/cjs/node_modules/@mui/material/Portal/Portal.js.map +1 -1
  312. package/dist/cjs/node_modules/@mui/material/Radio/Radio.js +1 -1
  313. package/dist/cjs/node_modules/@mui/material/Radio/Radio.js.map +1 -1
  314. package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
  315. package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
  316. package/dist/cjs/node_modules/@mui/material/RadioGroup/RadioGroup.js +1 -1
  317. package/dist/cjs/node_modules/@mui/material/RadioGroup/RadioGroup.js.map +1 -1
  318. package/dist/cjs/node_modules/@mui/material/Rating/Rating.js +1 -1
  319. package/dist/cjs/node_modules/@mui/material/Rating/Rating.js.map +1 -1
  320. package/dist/cjs/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  321. package/dist/cjs/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js.map +1 -1
  322. package/dist/cjs/node_modules/@mui/material/Select/Select.js +1 -1
  323. package/dist/cjs/node_modules/@mui/material/Select/Select.js.map +1 -1
  324. package/dist/cjs/node_modules/@mui/material/Select/SelectInput.js +1 -1
  325. package/dist/cjs/node_modules/@mui/material/Select/SelectInput.js.map +1 -1
  326. package/dist/cjs/node_modules/@mui/material/Skeleton/Skeleton.js +1 -1
  327. package/dist/cjs/node_modules/@mui/material/Skeleton/Skeleton.js.map +1 -1
  328. package/dist/cjs/node_modules/@mui/material/Slide/Slide.js +1 -1
  329. package/dist/cjs/node_modules/@mui/material/Slide/Slide.js.map +1 -1
  330. package/dist/cjs/node_modules/@mui/material/Slider/Slider.js +1 -1
  331. package/dist/cjs/node_modules/@mui/material/Slider/Slider.js.map +1 -1
  332. package/dist/cjs/node_modules/@mui/material/Slider/SliderValueLabel.js +1 -1
  333. package/dist/cjs/node_modules/@mui/material/Slider/SliderValueLabel.js.map +1 -1
  334. package/dist/cjs/node_modules/@mui/material/Slider/useSlider.js +1 -1
  335. package/dist/cjs/node_modules/@mui/material/Snackbar/Snackbar.js +1 -1
  336. package/dist/cjs/node_modules/@mui/material/Snackbar/Snackbar.js.map +1 -1
  337. package/dist/cjs/node_modules/@mui/material/Snackbar/useSnackbar.js +1 -1
  338. package/dist/cjs/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +1 -1
  339. package/dist/cjs/node_modules/@mui/material/SnackbarContent/SnackbarContent.js.map +1 -1
  340. package/dist/cjs/node_modules/@mui/material/SpeedDial/SpeedDial.js +1 -1
  341. package/dist/cjs/node_modules/@mui/material/SpeedDial/SpeedDial.js.map +1 -1
  342. package/dist/cjs/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +1 -1
  343. package/dist/cjs/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js.map +1 -1
  344. package/dist/cjs/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js +1 -1
  345. package/dist/cjs/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js.map +1 -1
  346. package/dist/cjs/node_modules/@mui/material/Stack/Stack.js +1 -1
  347. package/dist/cjs/node_modules/@mui/material/Stack/Stack.js.map +1 -1
  348. package/dist/cjs/node_modules/@mui/material/Step/Step.js +1 -1
  349. package/dist/cjs/node_modules/@mui/material/Step/Step.js.map +1 -1
  350. package/dist/cjs/node_modules/@mui/material/StepButton/StepButton.js +1 -1
  351. package/dist/cjs/node_modules/@mui/material/StepButton/StepButton.js.map +1 -1
  352. package/dist/cjs/node_modules/@mui/material/StepConnector/StepConnector.js +1 -1
  353. package/dist/cjs/node_modules/@mui/material/StepConnector/StepConnector.js.map +1 -1
  354. package/dist/cjs/node_modules/@mui/material/StepContent/StepContent.js +1 -1
  355. package/dist/cjs/node_modules/@mui/material/StepContent/StepContent.js.map +1 -1
  356. package/dist/cjs/node_modules/@mui/material/StepIcon/StepIcon.js +1 -1
  357. package/dist/cjs/node_modules/@mui/material/StepIcon/StepIcon.js.map +1 -1
  358. package/dist/cjs/node_modules/@mui/material/StepLabel/StepLabel.js +1 -1
  359. package/dist/cjs/node_modules/@mui/material/StepLabel/StepLabel.js.map +1 -1
  360. package/dist/cjs/node_modules/@mui/material/Stepper/Stepper.js +1 -1
  361. package/dist/cjs/node_modules/@mui/material/Stepper/Stepper.js.map +1 -1
  362. package/dist/cjs/node_modules/@mui/material/SvgIcon/SvgIcon.js +1 -1
  363. package/dist/cjs/node_modules/@mui/material/SvgIcon/SvgIcon.js.map +1 -1
  364. package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
  365. package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
  366. package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +1 -1
  367. package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js.map +1 -1
  368. package/dist/cjs/node_modules/@mui/material/Switch/Switch.js +1 -1
  369. package/dist/cjs/node_modules/@mui/material/Switch/Switch.js.map +1 -1
  370. package/dist/cjs/node_modules/@mui/material/Tab/Tab.js +1 -1
  371. package/dist/cjs/node_modules/@mui/material/Tab/Tab.js.map +1 -1
  372. package/dist/cjs/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +1 -1
  373. package/dist/cjs/node_modules/@mui/material/TabScrollButton/TabScrollButton.js.map +1 -1
  374. package/dist/cjs/node_modules/@mui/material/Table/Table.js +1 -1
  375. package/dist/cjs/node_modules/@mui/material/Table/Table.js.map +1 -1
  376. package/dist/cjs/node_modules/@mui/material/TableBody/TableBody.js +1 -1
  377. package/dist/cjs/node_modules/@mui/material/TableBody/TableBody.js.map +1 -1
  378. package/dist/cjs/node_modules/@mui/material/TableCell/TableCell.js +1 -1
  379. package/dist/cjs/node_modules/@mui/material/TableCell/TableCell.js.map +1 -1
  380. package/dist/cjs/node_modules/@mui/material/TableContainer/TableContainer.js +1 -1
  381. package/dist/cjs/node_modules/@mui/material/TableContainer/TableContainer.js.map +1 -1
  382. package/dist/cjs/node_modules/@mui/material/TableFooter/TableFooter.js +1 -1
  383. package/dist/cjs/node_modules/@mui/material/TableFooter/TableFooter.js.map +1 -1
  384. package/dist/cjs/node_modules/@mui/material/TableHead/TableHead.js +1 -1
  385. package/dist/cjs/node_modules/@mui/material/TableHead/TableHead.js.map +1 -1
  386. package/dist/cjs/node_modules/@mui/material/TablePagination/TablePagination.js +1 -1
  387. package/dist/cjs/node_modules/@mui/material/TablePagination/TablePagination.js.map +1 -1
  388. package/dist/cjs/node_modules/@mui/material/TablePagination/TablePaginationActions.js +1 -1
  389. package/dist/cjs/node_modules/@mui/material/TablePagination/TablePaginationActions.js.map +1 -1
  390. package/dist/cjs/node_modules/@mui/material/TableRow/TableRow.js +1 -1
  391. package/dist/cjs/node_modules/@mui/material/TableRow/TableRow.js.map +1 -1
  392. package/dist/cjs/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +1 -1
  393. package/dist/cjs/node_modules/@mui/material/TableSortLabel/TableSortLabel.js.map +1 -1
  394. package/dist/cjs/node_modules/@mui/material/Tabs/ScrollbarSize.js +1 -1
  395. package/dist/cjs/node_modules/@mui/material/Tabs/ScrollbarSize.js.map +1 -1
  396. package/dist/cjs/node_modules/@mui/material/Tabs/Tabs.js +1 -1
  397. package/dist/cjs/node_modules/@mui/material/Tabs/Tabs.js.map +1 -1
  398. package/dist/cjs/node_modules/@mui/material/TextField/TextField.js +1 -1
  399. package/dist/cjs/node_modules/@mui/material/TextField/TextField.js.map +1 -1
  400. package/dist/cjs/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +1 -1
  401. package/dist/cjs/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js.map +1 -1
  402. package/dist/cjs/node_modules/@mui/material/ToggleButton/ToggleButton.js +1 -1
  403. package/dist/cjs/node_modules/@mui/material/ToggleButton/ToggleButton.js.map +1 -1
  404. package/dist/cjs/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  405. package/dist/cjs/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
  406. package/dist/cjs/node_modules/@mui/material/Toolbar/Toolbar.js +1 -1
  407. package/dist/cjs/node_modules/@mui/material/Toolbar/Toolbar.js.map +1 -1
  408. package/dist/cjs/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
  409. package/dist/cjs/node_modules/@mui/material/Tooltip/Tooltip.js.map +1 -1
  410. package/dist/cjs/node_modules/@mui/material/Typography/Typography.js +1 -1
  411. package/dist/cjs/node_modules/@mui/material/Typography/Typography.js.map +1 -1
  412. package/dist/cjs/node_modules/@mui/material/Unstable_Grid2/Grid2.js +1 -1
  413. package/dist/cjs/node_modules/@mui/material/Unstable_Grid2/Grid2.js.map +1 -1
  414. package/dist/cjs/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +1 -1
  415. package/dist/cjs/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js.map +1 -1
  416. package/dist/cjs/node_modules/@mui/material/Zoom/Zoom.js +1 -1
  417. package/dist/cjs/node_modules/@mui/material/Zoom/Zoom.js.map +1 -1
  418. package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js +1 -1
  419. package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
  420. package/dist/cjs/node_modules/@mui/material/internal/svg-icons/Add.js +1 -1
  421. package/dist/cjs/node_modules/@mui/material/node_modules/react-is/index.js +1 -1
  422. package/dist/cjs/node_modules/@mui/material/styles/CssVarsProvider.js +1 -1
  423. package/dist/cjs/node_modules/@mui/material/styles/CssVarsProvider.js.map +1 -1
  424. package/dist/cjs/node_modules/@mui/material/styles/ThemeProvider.js +1 -1
  425. package/dist/cjs/node_modules/@mui/material/styles/ThemeProvider.js.map +1 -1
  426. package/dist/cjs/node_modules/@mui/material/styles/experimental_extendTheme.js +1 -1
  427. package/dist/cjs/node_modules/@mui/material/styles/experimental_extendTheme.js.map +1 -1
  428. package/dist/cjs/node_modules/@mui/material/styles/useTheme.js +1 -1
  429. package/dist/cjs/node_modules/@mui/material/styles/useTheme.js.map +1 -1
  430. package/dist/cjs/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +1 -1
  431. package/dist/cjs/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +1 -1
  432. package/dist/cjs/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js.map +1 -1
  433. package/dist/cjs/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +1 -1
  434. package/dist/cjs/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js.map +1 -1
  435. package/dist/cjs/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +1 -1
  436. package/dist/cjs/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js.map +1 -1
  437. package/dist/cjs/node_modules/@mui/system/colorManipulator.js +1 -1
  438. package/dist/cjs/node_modules/@mui/system/createStyled.js +1 -1
  439. package/dist/cjs/node_modules/@mui/system/createStyled.js.map +1 -1
  440. package/dist/cjs/node_modules/@mui/system/esm/Box/Box.js +1 -1
  441. package/dist/cjs/node_modules/@mui/system/esm/Box/Box.js.map +1 -1
  442. package/dist/cjs/node_modules/@mui/system/esm/Container/Container.js +1 -1
  443. package/dist/cjs/node_modules/@mui/system/esm/Container/Container.js.map +1 -1
  444. package/dist/cjs/node_modules/@mui/system/esm/Container/createContainer.js +1 -1
  445. package/dist/cjs/node_modules/@mui/system/esm/Container/createContainer.js.map +1 -1
  446. package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  447. package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
  448. package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
  449. package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
  450. package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
  451. package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
  452. package/dist/cjs/node_modules/@mui/system/esm/Stack/Stack.js +1 -1
  453. package/dist/cjs/node_modules/@mui/system/esm/Stack/Stack.js.map +1 -1
  454. package/dist/cjs/node_modules/@mui/system/esm/Stack/createStack.js +1 -1
  455. package/dist/cjs/node_modules/@mui/system/esm/Stack/createStack.js.map +1 -1
  456. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
  457. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  458. package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/Grid.js +1 -1
  459. package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/Grid.js.map +1 -1
  460. package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js +1 -1
  461. package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js.map +1 -1
  462. package/dist/cjs/node_modules/@mui/system/esm/breakpoints.js +1 -1
  463. package/dist/cjs/node_modules/@mui/system/esm/breakpoints.js.map +1 -1
  464. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
  465. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
  466. package/dist/cjs/node_modules/@mui/system/esm/responsivePropType.js +1 -1
  467. package/dist/cjs/node_modules/@mui/system/esm/responsivePropType.js.map +1 -1
  468. package/dist/cjs/node_modules/@mui/system/useThemeWithoutDefault.js +1 -1
  469. package/dist/cjs/node_modules/@mui/system/useThemeWithoutDefault.js.map +1 -1
  470. package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
  471. package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js.map +1 -1
  472. package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
  473. package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js.map +1 -1
  474. package/dist/cjs/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
  475. package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js +1 -1
  476. package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js.map +1 -1
  477. package/dist/cjs/node_modules/@mui/utils/node_modules/react-is/index.js +1 -1
  478. package/dist/cjs/node_modules/graphql-ws/lib/index.js +1 -1
  479. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
  480. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  481. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  482. package/dist/cjs/node_modules/json5/dist/index.js +1 -1
  483. package/dist/cjs/node_modules/prop-types/index.js +1 -1
  484. package/dist/cjs/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  485. package/dist/cjs/node_modules/react-is/cjs/react-is.development.js +1 -1
  486. package/dist/cjs/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  487. package/dist/cjs/node_modules/react-is/index.js +1 -1
  488. package/dist/cjs/node_modules/react-markdown/lib/ast-to-react.js +1 -1
  489. package/dist/cjs/node_modules/react-markdown/lib/ast-to-react.js.map +1 -1
  490. package/dist/cjs/node_modules/react-markdown/lib/react-markdown.js +1 -1
  491. package/dist/cjs/node_modules/react-markdown/lib/react-markdown.js.map +1 -1
  492. package/dist/cjs/node_modules/react-markdown/node_modules/react-is/cjs/react-is.development.js +1 -1
  493. package/dist/cjs/node_modules/react-markdown/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  494. package/dist/cjs/node_modules/react-markdown/node_modules/react-is/index.js +1 -1
  495. package/dist/cjs/node_modules/react-transition-group/esm/CSSTransition.js +1 -1
  496. package/dist/cjs/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -1
  497. package/dist/cjs/node_modules/react-transition-group/esm/ReplaceTransition.js +1 -1
  498. package/dist/cjs/node_modules/react-transition-group/esm/ReplaceTransition.js.map +1 -1
  499. package/dist/cjs/node_modules/react-transition-group/esm/SwitchTransition.js +1 -1
  500. package/dist/cjs/node_modules/react-transition-group/esm/SwitchTransition.js.map +1 -1
  501. package/dist/cjs/node_modules/react-transition-group/esm/Transition.js +1 -1
  502. package/dist/cjs/node_modules/react-transition-group/esm/Transition.js.map +1 -1
  503. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
  504. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
  505. package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  506. package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -1
  507. package/dist/cjs/node_modules/unified/lib/index.js +1 -1
  508. package/dist/cjs/node_modules/unified/lib/index.js.map +1 -1
  509. package/dist/cjs/node_modules/uuid/dist/cjs-browser/index.js +1 -1
  510. package/dist/cjs/node_modules/vfile/lib/index.js +1 -1
  511. package/dist/cjs/node_modules/vfile/lib/index.js.map +1 -1
  512. package/dist/features/DocumentLearning/DocumentLearning.js +1 -1
  513. package/dist/features/DocumentLearning/_components/BookLearningForm.js +1 -1
  514. package/dist/features/DocumentLearning/_components/ChatComponent.js +1 -1
  515. package/dist/features/DocumentLearning/_components/ConflictingLearningWarnCard.js +1 -1
  516. package/dist/features/IL-OTJ/ILOTJ.js +1 -1
  517. package/dist/features/IL-OTJ/_components/ChatComponent.js +1 -1
  518. package/dist/features/IL-OTJ/_components/ILPopup.js +1 -1
  519. package/dist/features/IL-OTJ/_components/ILPopup.styles.js +1 -1
  520. package/dist/features/IL-OTJ/_components/InputDataReasoningCard.js +1 -1
  521. package/dist/features/IL-OTJ/_components/MessageRendering.js +1 -1
  522. package/dist/features/IL-OTJ/_components/atoms/Textarea/Textarea.js +1 -1
  523. package/dist/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
  524. package/dist/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
  525. package/dist/features/InstantLearning/InstantLearning.js +1 -1
  526. package/dist/features/InstantLearning/_components/ChatComponent.js +1 -1
  527. package/dist/features/InstantLearning/_components/ConflictingLearningWarnCard.js +1 -1
  528. package/dist/features/InstantLearning/_components/ConflictingLearningWarnCardDB.js +1 -1
  529. package/dist/features/InstantLearning/_components/ContextualChatComponent.js +1 -1
  530. package/dist/features/InstantLearning/_components/ContextualConflictDBCard.js +1 -1
  531. package/dist/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
  532. package/dist/features/InstantLearning/_components/GeneralizationAccordion.js +1 -1
  533. package/dist/features/InstantLearning/_components/LearningDetailsForm.js +1 -1
  534. package/dist/features/WtaWnta/WtaWnta.js +1 -1
  535. package/dist/features/WtaWnta/_components/AgentDetailsForm.js +1 -1
  536. package/dist/features/WtaWnta/_components/SimilarConflictingCard.js +1 -1
  537. package/dist/features/WtaWnta/_components/ValidationCard.js +1 -1
  538. package/dist/index.js +1 -1
  539. package/dist/node_modules/@e-llm-studio/streaming-response/dist/index.js +1 -1
  540. package/dist/node_modules/@e-llm-studio/streaming-response/dist/index.js.map +1 -1
  541. package/dist/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js +1 -1
  542. package/dist/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js.map +1 -1
  543. package/dist/node_modules/@material-ui/core/esm/styles/colorManipulator.js +1 -1
  544. package/dist/node_modules/@material-ui/core/esm/styles/createPalette.js +1 -1
  545. package/dist/node_modules/@material-ui/core/esm/styles/createSpacing.js +1 -1
  546. package/dist/node_modules/@material-ui/core/esm/styles/createSpacing.js.map +1 -1
  547. package/dist/node_modules/@material-ui/core/esm/styles/createTheme.js +1 -1
  548. package/dist/node_modules/@material-ui/core/esm/styles/createTypography.js +1 -1
  549. package/dist/node_modules/@material-ui/core/esm/utils/capitalize.js +1 -1
  550. package/dist/node_modules/@material-ui/icons/utils/createSvgIcon.js +1 -1
  551. package/dist/node_modules/@material-ui/icons/utils/createSvgIcon.js.map +1 -1
  552. package/dist/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js +1 -1
  553. package/dist/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js.map +1 -1
  554. package/dist/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js +1 -1
  555. package/dist/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  556. package/dist/node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js +1 -1
  557. package/dist/node_modules/@material-ui/styles/esm/index.js +1 -1
  558. package/dist/node_modules/@material-ui/styles/esm/withStyles/withStyles.js +1 -1
  559. package/dist/node_modules/@material-ui/styles/esm/withStyles/withStyles.js.map +1 -1
  560. package/dist/node_modules/@material-ui/styles/esm/withTheme/withTheme.js +1 -1
  561. package/dist/node_modules/@material-ui/styles/esm/withTheme/withTheme.js.map +1 -1
  562. package/dist/node_modules/@material-ui/system/esm/breakpoints.js +1 -1
  563. package/dist/node_modules/@material-ui/system/esm/breakpoints.js.map +1 -1
  564. package/dist/node_modules/@material-ui/system/esm/merge.js +1 -1
  565. package/dist/node_modules/@material-ui/system/esm/responsivePropType.js +1 -1
  566. package/dist/node_modules/@material-ui/system/esm/responsivePropType.js.map +1 -1
  567. package/dist/node_modules/@material-ui/system/esm/spacing.js +1 -1
  568. package/dist/node_modules/@material-ui/system/esm/spacing.js.map +1 -1
  569. package/dist/node_modules/@material-ui/utils/esm/elementAcceptingRef.js +1 -1
  570. package/dist/node_modules/@material-ui/utils/esm/elementAcceptingRef.js.map +1 -1
  571. package/dist/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js +1 -1
  572. package/dist/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js.map +1 -1
  573. package/dist/node_modules/@material-ui/utils/esm/getDisplayName.js +1 -1
  574. package/dist/node_modules/@material-ui/utils/esm/refType.js +1 -1
  575. package/dist/node_modules/@material-ui/utils/esm/refType.js.map +1 -1
  576. package/dist/node_modules/@mui/material/Accordion/Accordion.js +1 -1
  577. package/dist/node_modules/@mui/material/Accordion/Accordion.js.map +1 -1
  578. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions.js +1 -1
  579. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions.js.map +1 -1
  580. package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +1 -1
  581. package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js.map +1 -1
  582. package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +1 -1
  583. package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js.map +1 -1
  584. package/dist/node_modules/@mui/material/Alert/Alert.js +1 -1
  585. package/dist/node_modules/@mui/material/Alert/Alert.js.map +1 -1
  586. package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js +1 -1
  587. package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js.map +1 -1
  588. package/dist/node_modules/@mui/material/AppBar/AppBar.js +1 -1
  589. package/dist/node_modules/@mui/material/AppBar/AppBar.js.map +1 -1
  590. package/dist/node_modules/@mui/material/Autocomplete/Autocomplete.js +1 -1
  591. package/dist/node_modules/@mui/material/Autocomplete/Autocomplete.js.map +1 -1
  592. package/dist/node_modules/@mui/material/Avatar/Avatar.js +1 -1
  593. package/dist/node_modules/@mui/material/Avatar/Avatar.js.map +1 -1
  594. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +1 -1
  595. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup.js.map +1 -1
  596. package/dist/node_modules/@mui/material/Backdrop/Backdrop.js +1 -1
  597. package/dist/node_modules/@mui/material/Backdrop/Backdrop.js.map +1 -1
  598. package/dist/node_modules/@mui/material/Badge/Badge.js +1 -1
  599. package/dist/node_modules/@mui/material/Badge/Badge.js.map +1 -1
  600. package/dist/node_modules/@mui/material/Badge/useBadge.js +1 -1
  601. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation.js +1 -1
  602. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation.js.map +1 -1
  603. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +1 -1
  604. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js.map +1 -1
  605. package/dist/node_modules/@mui/material/Box/Box.js +1 -1
  606. package/dist/node_modules/@mui/material/Box/Box.js.map +1 -1
  607. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
  608. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
  609. package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +1 -1
  610. package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js.map +1 -1
  611. package/dist/node_modules/@mui/material/Button/Button.js +1 -1
  612. package/dist/node_modules/@mui/material/Button/Button.js.map +1 -1
  613. package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js +1 -1
  614. package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js.map +1 -1
  615. package/dist/node_modules/@mui/material/ButtonBase/Ripple.js +1 -1
  616. package/dist/node_modules/@mui/material/ButtonBase/Ripple.js.map +1 -1
  617. package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js +1 -1
  618. package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js.map +1 -1
  619. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup.js +1 -1
  620. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup.js.map +1 -1
  621. package/dist/node_modules/@mui/material/Card/Card.js +1 -1
  622. package/dist/node_modules/@mui/material/Card/Card.js.map +1 -1
  623. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea.js +1 -1
  624. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea.js.map +1 -1
  625. package/dist/node_modules/@mui/material/CardActions/CardActions.js +1 -1
  626. package/dist/node_modules/@mui/material/CardActions/CardActions.js.map +1 -1
  627. package/dist/node_modules/@mui/material/CardContent/CardContent.js +1 -1
  628. package/dist/node_modules/@mui/material/CardContent/CardContent.js.map +1 -1
  629. package/dist/node_modules/@mui/material/CardHeader/CardHeader.js +1 -1
  630. package/dist/node_modules/@mui/material/CardHeader/CardHeader.js.map +1 -1
  631. package/dist/node_modules/@mui/material/CardMedia/CardMedia.js +1 -1
  632. package/dist/node_modules/@mui/material/CardMedia/CardMedia.js.map +1 -1
  633. package/dist/node_modules/@mui/material/Checkbox/Checkbox.js +1 -1
  634. package/dist/node_modules/@mui/material/Checkbox/Checkbox.js.map +1 -1
  635. package/dist/node_modules/@mui/material/Chip/Chip.js +1 -1
  636. package/dist/node_modules/@mui/material/Chip/Chip.js.map +1 -1
  637. package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js +1 -1
  638. package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js.map +1 -1
  639. package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +1 -1
  640. package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js.map +1 -1
  641. package/dist/node_modules/@mui/material/Collapse/Collapse.js +1 -1
  642. package/dist/node_modules/@mui/material/Collapse/Collapse.js.map +1 -1
  643. package/dist/node_modules/@mui/material/Container/Container.js +1 -1
  644. package/dist/node_modules/@mui/material/Container/Container.js.map +1 -1
  645. package/dist/node_modules/@mui/material/CssBaseline/CssBaseline.js +1 -1
  646. package/dist/node_modules/@mui/material/CssBaseline/CssBaseline.js.map +1 -1
  647. package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  648. package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
  649. package/dist/node_modules/@mui/material/Dialog/Dialog.js +1 -1
  650. package/dist/node_modules/@mui/material/Dialog/Dialog.js.map +1 -1
  651. package/dist/node_modules/@mui/material/DialogActions/DialogActions.js +1 -1
  652. package/dist/node_modules/@mui/material/DialogActions/DialogActions.js.map +1 -1
  653. package/dist/node_modules/@mui/material/DialogContent/DialogContent.js +1 -1
  654. package/dist/node_modules/@mui/material/DialogContent/DialogContent.js.map +1 -1
  655. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js +1 -1
  656. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js.map +1 -1
  657. package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js +1 -1
  658. package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js.map +1 -1
  659. package/dist/node_modules/@mui/material/Divider/Divider.js +1 -1
  660. package/dist/node_modules/@mui/material/Divider/Divider.js.map +1 -1
  661. package/dist/node_modules/@mui/material/Drawer/Drawer.js +1 -1
  662. package/dist/node_modules/@mui/material/Drawer/Drawer.js.map +1 -1
  663. package/dist/node_modules/@mui/material/Fab/Fab.js +1 -1
  664. package/dist/node_modules/@mui/material/Fab/Fab.js.map +1 -1
  665. package/dist/node_modules/@mui/material/Fade/Fade.js +1 -1
  666. package/dist/node_modules/@mui/material/Fade/Fade.js.map +1 -1
  667. package/dist/node_modules/@mui/material/FilledInput/FilledInput.js +1 -1
  668. package/dist/node_modules/@mui/material/FilledInput/FilledInput.js.map +1 -1
  669. package/dist/node_modules/@mui/material/FormControl/FormControl.js +1 -1
  670. package/dist/node_modules/@mui/material/FormControl/FormControl.js.map +1 -1
  671. package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +1 -1
  672. package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js.map +1 -1
  673. package/dist/node_modules/@mui/material/FormGroup/FormGroup.js +1 -1
  674. package/dist/node_modules/@mui/material/FormGroup/FormGroup.js.map +1 -1
  675. package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js +1 -1
  676. package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js.map +1 -1
  677. package/dist/node_modules/@mui/material/FormLabel/FormLabel.js +1 -1
  678. package/dist/node_modules/@mui/material/FormLabel/FormLabel.js.map +1 -1
  679. package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +1 -1
  680. package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js.map +1 -1
  681. package/dist/node_modules/@mui/material/Grid/Grid.js +1 -1
  682. package/dist/node_modules/@mui/material/Grid/Grid.js.map +1 -1
  683. package/dist/node_modules/@mui/material/Grow/Grow.js +1 -1
  684. package/dist/node_modules/@mui/material/Grow/Grow.js.map +1 -1
  685. package/dist/node_modules/@mui/material/Hidden/Hidden.js +1 -1
  686. package/dist/node_modules/@mui/material/Hidden/Hidden.js.map +1 -1
  687. package/dist/node_modules/@mui/material/Hidden/HiddenCss.js +1 -1
  688. package/dist/node_modules/@mui/material/Hidden/HiddenCss.js.map +1 -1
  689. package/dist/node_modules/@mui/material/Hidden/HiddenJs.js +1 -1
  690. package/dist/node_modules/@mui/material/Hidden/HiddenJs.js.map +1 -1
  691. package/dist/node_modules/@mui/material/Hidden/withWidth.js +1 -1
  692. package/dist/node_modules/@mui/material/Hidden/withWidth.js.map +1 -1
  693. package/dist/node_modules/@mui/material/Icon/Icon.js +1 -1
  694. package/dist/node_modules/@mui/material/Icon/Icon.js.map +1 -1
  695. package/dist/node_modules/@mui/material/IconButton/IconButton.js +1 -1
  696. package/dist/node_modules/@mui/material/IconButton/IconButton.js.map +1 -1
  697. package/dist/node_modules/@mui/material/ImageList/ImageList.js +1 -1
  698. package/dist/node_modules/@mui/material/ImageList/ImageList.js.map +1 -1
  699. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem.js +1 -1
  700. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem.js.map +1 -1
  701. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js +1 -1
  702. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js.map +1 -1
  703. package/dist/node_modules/@mui/material/Input/Input.js +1 -1
  704. package/dist/node_modules/@mui/material/Input/Input.js.map +1 -1
  705. package/dist/node_modules/@mui/material/InputAdornment/InputAdornment.js +1 -1
  706. package/dist/node_modules/@mui/material/InputAdornment/InputAdornment.js.map +1 -1
  707. package/dist/node_modules/@mui/material/InputBase/InputBase.js +1 -1
  708. package/dist/node_modules/@mui/material/InputBase/InputBase.js.map +1 -1
  709. package/dist/node_modules/@mui/material/InputLabel/InputLabel.js +1 -1
  710. package/dist/node_modules/@mui/material/InputLabel/InputLabel.js.map +1 -1
  711. package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js +1 -1
  712. package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js.map +1 -1
  713. package/dist/node_modules/@mui/material/Link/Link.js +1 -1
  714. package/dist/node_modules/@mui/material/Link/Link.js.map +1 -1
  715. package/dist/node_modules/@mui/material/Link/getTextDecoration.js +1 -1
  716. package/dist/node_modules/@mui/material/Link/getTextDecoration.js.map +1 -1
  717. package/dist/node_modules/@mui/material/List/List.js +1 -1
  718. package/dist/node_modules/@mui/material/List/List.js.map +1 -1
  719. package/dist/node_modules/@mui/material/ListItem/ListItem.js +1 -1
  720. package/dist/node_modules/@mui/material/ListItem/ListItem.js.map +1 -1
  721. package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js +1 -1
  722. package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js.map +1 -1
  723. package/dist/node_modules/@mui/material/ListItemButton/ListItemButton.js +1 -1
  724. package/dist/node_modules/@mui/material/ListItemButton/ListItemButton.js.map +1 -1
  725. package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +1 -1
  726. package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js.map +1 -1
  727. package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  728. package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
  729. package/dist/node_modules/@mui/material/ListItemText/ListItemText.js +1 -1
  730. package/dist/node_modules/@mui/material/ListItemText/ListItemText.js.map +1 -1
  731. package/dist/node_modules/@mui/material/ListSubheader/ListSubheader.js +1 -1
  732. package/dist/node_modules/@mui/material/ListSubheader/ListSubheader.js.map +1 -1
  733. package/dist/node_modules/@mui/material/Menu/Menu.js +1 -1
  734. package/dist/node_modules/@mui/material/Menu/Menu.js.map +1 -1
  735. package/dist/node_modules/@mui/material/MenuItem/MenuItem.js +1 -1
  736. package/dist/node_modules/@mui/material/MenuItem/MenuItem.js.map +1 -1
  737. package/dist/node_modules/@mui/material/MenuList/MenuList.js +1 -1
  738. package/dist/node_modules/@mui/material/MenuList/MenuList.js.map +1 -1
  739. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper.js +1 -1
  740. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper.js.map +1 -1
  741. package/dist/node_modules/@mui/material/Modal/Modal.js +1 -1
  742. package/dist/node_modules/@mui/material/Modal/Modal.js.map +1 -1
  743. package/dist/node_modules/@mui/material/Modal/ModalManager.js +1 -1
  744. package/dist/node_modules/@mui/material/Modal/useModal.js +1 -1
  745. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect.js +1 -1
  746. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect.js.map +1 -1
  747. package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +1 -1
  748. package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput.js.map +1 -1
  749. package/dist/node_modules/@mui/material/NoSsr/NoSsr.js +1 -1
  750. package/dist/node_modules/@mui/material/NoSsr/NoSsr.js.map +1 -1
  751. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
  752. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
  753. package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +1 -1
  754. package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js.map +1 -1
  755. package/dist/node_modules/@mui/material/Pagination/Pagination.js +1 -1
  756. package/dist/node_modules/@mui/material/Pagination/Pagination.js.map +1 -1
  757. package/dist/node_modules/@mui/material/PaginationItem/PaginationItem.js +1 -1
  758. package/dist/node_modules/@mui/material/PaginationItem/PaginationItem.js.map +1 -1
  759. package/dist/node_modules/@mui/material/Paper/Paper.js +1 -1
  760. package/dist/node_modules/@mui/material/Paper/Paper.js.map +1 -1
  761. package/dist/node_modules/@mui/material/Popover/Popover.js +1 -1
  762. package/dist/node_modules/@mui/material/Popover/Popover.js.map +1 -1
  763. package/dist/node_modules/@mui/material/Popper/BasePopper.js +1 -1
  764. package/dist/node_modules/@mui/material/Popper/BasePopper.js.map +1 -1
  765. package/dist/node_modules/@mui/material/Popper/Popper.js +1 -1
  766. package/dist/node_modules/@mui/material/Popper/Popper.js.map +1 -1
  767. package/dist/node_modules/@mui/material/Portal/Portal.js +1 -1
  768. package/dist/node_modules/@mui/material/Portal/Portal.js.map +1 -1
  769. package/dist/node_modules/@mui/material/Radio/Radio.js +1 -1
  770. package/dist/node_modules/@mui/material/Radio/Radio.js.map +1 -1
  771. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
  772. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
  773. package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js +1 -1
  774. package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js.map +1 -1
  775. package/dist/node_modules/@mui/material/Rating/Rating.js +1 -1
  776. package/dist/node_modules/@mui/material/Rating/Rating.js.map +1 -1
  777. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  778. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js.map +1 -1
  779. package/dist/node_modules/@mui/material/Select/Select.js +1 -1
  780. package/dist/node_modules/@mui/material/Select/Select.js.map +1 -1
  781. package/dist/node_modules/@mui/material/Select/SelectInput.js +1 -1
  782. package/dist/node_modules/@mui/material/Select/SelectInput.js.map +1 -1
  783. package/dist/node_modules/@mui/material/Skeleton/Skeleton.js +1 -1
  784. package/dist/node_modules/@mui/material/Skeleton/Skeleton.js.map +1 -1
  785. package/dist/node_modules/@mui/material/Slide/Slide.js +1 -1
  786. package/dist/node_modules/@mui/material/Slide/Slide.js.map +1 -1
  787. package/dist/node_modules/@mui/material/Slider/Slider.js +1 -1
  788. package/dist/node_modules/@mui/material/Slider/Slider.js.map +1 -1
  789. package/dist/node_modules/@mui/material/Slider/SliderValueLabel.js +1 -1
  790. package/dist/node_modules/@mui/material/Slider/SliderValueLabel.js.map +1 -1
  791. package/dist/node_modules/@mui/material/Slider/useSlider.js +1 -1
  792. package/dist/node_modules/@mui/material/Snackbar/Snackbar.js +1 -1
  793. package/dist/node_modules/@mui/material/Snackbar/Snackbar.js.map +1 -1
  794. package/dist/node_modules/@mui/material/Snackbar/useSnackbar.js +1 -1
  795. package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +1 -1
  796. package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js.map +1 -1
  797. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial.js +1 -1
  798. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial.js.map +1 -1
  799. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +1 -1
  800. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js.map +1 -1
  801. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js +1 -1
  802. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js.map +1 -1
  803. package/dist/node_modules/@mui/material/Stack/Stack.js +1 -1
  804. package/dist/node_modules/@mui/material/Stack/Stack.js.map +1 -1
  805. package/dist/node_modules/@mui/material/Step/Step.js +1 -1
  806. package/dist/node_modules/@mui/material/Step/Step.js.map +1 -1
  807. package/dist/node_modules/@mui/material/StepButton/StepButton.js +1 -1
  808. package/dist/node_modules/@mui/material/StepButton/StepButton.js.map +1 -1
  809. package/dist/node_modules/@mui/material/StepConnector/StepConnector.js +1 -1
  810. package/dist/node_modules/@mui/material/StepConnector/StepConnector.js.map +1 -1
  811. package/dist/node_modules/@mui/material/StepContent/StepContent.js +1 -1
  812. package/dist/node_modules/@mui/material/StepContent/StepContent.js.map +1 -1
  813. package/dist/node_modules/@mui/material/StepIcon/StepIcon.js +1 -1
  814. package/dist/node_modules/@mui/material/StepIcon/StepIcon.js.map +1 -1
  815. package/dist/node_modules/@mui/material/StepLabel/StepLabel.js +1 -1
  816. package/dist/node_modules/@mui/material/StepLabel/StepLabel.js.map +1 -1
  817. package/dist/node_modules/@mui/material/Stepper/Stepper.js +1 -1
  818. package/dist/node_modules/@mui/material/Stepper/Stepper.js.map +1 -1
  819. package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js +1 -1
  820. package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js.map +1 -1
  821. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
  822. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
  823. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +1 -1
  824. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js.map +1 -1
  825. package/dist/node_modules/@mui/material/Switch/Switch.js +1 -1
  826. package/dist/node_modules/@mui/material/Switch/Switch.js.map +1 -1
  827. package/dist/node_modules/@mui/material/Tab/Tab.js +1 -1
  828. package/dist/node_modules/@mui/material/Tab/Tab.js.map +1 -1
  829. package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +1 -1
  830. package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js.map +1 -1
  831. package/dist/node_modules/@mui/material/Table/Table.js +1 -1
  832. package/dist/node_modules/@mui/material/Table/Table.js.map +1 -1
  833. package/dist/node_modules/@mui/material/TableBody/TableBody.js +1 -1
  834. package/dist/node_modules/@mui/material/TableBody/TableBody.js.map +1 -1
  835. package/dist/node_modules/@mui/material/TableCell/TableCell.js +1 -1
  836. package/dist/node_modules/@mui/material/TableCell/TableCell.js.map +1 -1
  837. package/dist/node_modules/@mui/material/TableContainer/TableContainer.js +1 -1
  838. package/dist/node_modules/@mui/material/TableContainer/TableContainer.js.map +1 -1
  839. package/dist/node_modules/@mui/material/TableFooter/TableFooter.js +1 -1
  840. package/dist/node_modules/@mui/material/TableFooter/TableFooter.js.map +1 -1
  841. package/dist/node_modules/@mui/material/TableHead/TableHead.js +1 -1
  842. package/dist/node_modules/@mui/material/TableHead/TableHead.js.map +1 -1
  843. package/dist/node_modules/@mui/material/TablePagination/TablePagination.js +1 -1
  844. package/dist/node_modules/@mui/material/TablePagination/TablePagination.js.map +1 -1
  845. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions.js +1 -1
  846. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions.js.map +1 -1
  847. package/dist/node_modules/@mui/material/TableRow/TableRow.js +1 -1
  848. package/dist/node_modules/@mui/material/TableRow/TableRow.js.map +1 -1
  849. package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +1 -1
  850. package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel.js.map +1 -1
  851. package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js +1 -1
  852. package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js.map +1 -1
  853. package/dist/node_modules/@mui/material/Tabs/Tabs.js +1 -1
  854. package/dist/node_modules/@mui/material/Tabs/Tabs.js.map +1 -1
  855. package/dist/node_modules/@mui/material/TextField/TextField.js +1 -1
  856. package/dist/node_modules/@mui/material/TextField/TextField.js.map +1 -1
  857. package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +1 -1
  858. package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js.map +1 -1
  859. package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js +1 -1
  860. package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js.map +1 -1
  861. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  862. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
  863. package/dist/node_modules/@mui/material/Toolbar/Toolbar.js +1 -1
  864. package/dist/node_modules/@mui/material/Toolbar/Toolbar.js.map +1 -1
  865. package/dist/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
  866. package/dist/node_modules/@mui/material/Tooltip/Tooltip.js.map +1 -1
  867. package/dist/node_modules/@mui/material/Typography/Typography.js +1 -1
  868. package/dist/node_modules/@mui/material/Typography/Typography.js.map +1 -1
  869. package/dist/node_modules/@mui/material/Unstable_Grid2/Grid2.js +1 -1
  870. package/dist/node_modules/@mui/material/Unstable_Grid2/Grid2.js.map +1 -1
  871. package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +1 -1
  872. package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js.map +1 -1
  873. package/dist/node_modules/@mui/material/Zoom/Zoom.js +1 -1
  874. package/dist/node_modules/@mui/material/Zoom/Zoom.js.map +1 -1
  875. package/dist/node_modules/@mui/material/internal/SwitchBase.js +1 -1
  876. package/dist/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
  877. package/dist/node_modules/@mui/material/internal/svg-icons/Add.js +1 -1
  878. package/dist/node_modules/@mui/material/node_modules/react-is/index.js +1 -1
  879. package/dist/node_modules/@mui/material/styles/CssVarsProvider.js +1 -1
  880. package/dist/node_modules/@mui/material/styles/CssVarsProvider.js.map +1 -1
  881. package/dist/node_modules/@mui/material/styles/ThemeProvider.js +1 -1
  882. package/dist/node_modules/@mui/material/styles/ThemeProvider.js.map +1 -1
  883. package/dist/node_modules/@mui/material/styles/experimental_extendTheme.js +1 -1
  884. package/dist/node_modules/@mui/material/styles/experimental_extendTheme.js.map +1 -1
  885. package/dist/node_modules/@mui/material/styles/useTheme.js +1 -1
  886. package/dist/node_modules/@mui/material/styles/useTheme.js.map +1 -1
  887. package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +1 -1
  888. package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +1 -1
  889. package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js.map +1 -1
  890. package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +1 -1
  891. package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js.map +1 -1
  892. package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +1 -1
  893. package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js.map +1 -1
  894. package/dist/node_modules/@mui/system/colorManipulator.js +1 -1
  895. package/dist/node_modules/@mui/system/createStyled.js +1 -1
  896. package/dist/node_modules/@mui/system/createStyled.js.map +1 -1
  897. package/dist/node_modules/@mui/system/esm/Box/Box.js +1 -1
  898. package/dist/node_modules/@mui/system/esm/Box/Box.js.map +1 -1
  899. package/dist/node_modules/@mui/system/esm/Container/Container.js +1 -1
  900. package/dist/node_modules/@mui/system/esm/Container/Container.js.map +1 -1
  901. package/dist/node_modules/@mui/system/esm/Container/createContainer.js +1 -1
  902. package/dist/node_modules/@mui/system/esm/Container/createContainer.js.map +1 -1
  903. package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  904. package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
  905. package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
  906. package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
  907. package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
  908. package/dist/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
  909. package/dist/node_modules/@mui/system/esm/Stack/Stack.js +1 -1
  910. package/dist/node_modules/@mui/system/esm/Stack/Stack.js.map +1 -1
  911. package/dist/node_modules/@mui/system/esm/Stack/createStack.js +1 -1
  912. package/dist/node_modules/@mui/system/esm/Stack/createStack.js.map +1 -1
  913. package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
  914. package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  915. package/dist/node_modules/@mui/system/esm/Unstable_Grid/Grid.js +1 -1
  916. package/dist/node_modules/@mui/system/esm/Unstable_Grid/Grid.js.map +1 -1
  917. package/dist/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js +1 -1
  918. package/dist/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js.map +1 -1
  919. package/dist/node_modules/@mui/system/esm/breakpoints.js +1 -1
  920. package/dist/node_modules/@mui/system/esm/breakpoints.js.map +1 -1
  921. package/dist/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
  922. package/dist/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
  923. package/dist/node_modules/@mui/system/esm/responsivePropType.js +1 -1
  924. package/dist/node_modules/@mui/system/esm/responsivePropType.js.map +1 -1
  925. package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +1 -1
  926. package/dist/node_modules/@mui/system/useThemeWithoutDefault.js.map +1 -1
  927. package/dist/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
  928. package/dist/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js.map +1 -1
  929. package/dist/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
  930. package/dist/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js.map +1 -1
  931. package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
  932. package/dist/node_modules/@mui/utils/esm/refType/refType.js +1 -1
  933. package/dist/node_modules/@mui/utils/esm/refType/refType.js.map +1 -1
  934. package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +1 -1
  935. package/dist/node_modules/graphql-ws/lib/index.js +1 -1
  936. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
  937. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  938. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  939. package/dist/node_modules/json5/dist/index.js +1 -1
  940. package/dist/node_modules/prop-types/index.js +1 -1
  941. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  942. package/dist/node_modules/react-is/cjs/react-is.development.js +1 -1
  943. package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  944. package/dist/node_modules/react-is/index.js +1 -1
  945. package/dist/node_modules/react-markdown/lib/ast-to-react.js +1 -1
  946. package/dist/node_modules/react-markdown/lib/ast-to-react.js.map +1 -1
  947. package/dist/node_modules/react-markdown/lib/react-markdown.js +1 -1
  948. package/dist/node_modules/react-markdown/lib/react-markdown.js.map +1 -1
  949. package/dist/node_modules/react-markdown/node_modules/react-is/cjs/react-is.development.js +1 -1
  950. package/dist/node_modules/react-markdown/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  951. package/dist/node_modules/react-markdown/node_modules/react-is/index.js +1 -1
  952. package/dist/node_modules/react-transition-group/esm/CSSTransition.js +1 -1
  953. package/dist/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -1
  954. package/dist/node_modules/react-transition-group/esm/ReplaceTransition.js +1 -1
  955. package/dist/node_modules/react-transition-group/esm/ReplaceTransition.js.map +1 -1
  956. package/dist/node_modules/react-transition-group/esm/SwitchTransition.js +1 -1
  957. package/dist/node_modules/react-transition-group/esm/SwitchTransition.js.map +1 -1
  958. package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
  959. package/dist/node_modules/react-transition-group/esm/Transition.js.map +1 -1
  960. package/dist/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
  961. package/dist/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
  962. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  963. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -1
  964. package/dist/node_modules/unified/lib/index.js +1 -1
  965. package/dist/node_modules/unified/lib/index.js.map +1 -1
  966. package/dist/node_modules/uuid/dist/cjs-browser/index.js +1 -1
  967. package/dist/node_modules/vfile/lib/index.js +1 -1
  968. package/dist/node_modules/vfile/lib/index.js.map +1 -1
  969. package/dist/types/src/features/IL-OTJ/ILOTJTest.d.ts.map +1 -1
  970. package/dist/types/src/features/IL-OTJ/_components/ILPopup.styles.d.ts +1 -1
  971. package/dist/types/src/features/IL-OTJ/_components/ILPopup.styles.d.ts.map +1 -1
  972. package/dist/types/src/features/IL-OTJ/_components/MessageRendering.d.ts.map +1 -1
  973. package/dist/types/src/features/IL-OTJ/_components/atoms/Textarea/Textarea.d.ts +5 -1
  974. package/dist/types/src/features/IL-OTJ/_components/atoms/Textarea/Textarea.d.ts.map +1 -1
  975. package/dist/types/src/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts.map +1 -1
  976. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../../../_virtual/index22.js"),r=require("../../hast-util-whitespace/index.js"),n=require("../../property-information/index.js"),i=require("../../space-separated-tokens/index.js"),l=require("../../comma-separated-tokens/index.js"),o=require("../../../_virtual/index30.js"),a=require("./uri-transformer.js"),s=require("../../property-information/lib/find.js"),p=require("../../property-information/lib/hast-to-react.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=c(e);const d={}.hasOwnProperty,f=new Set(["table","thead","tbody","tfoot","tr"]);function m(e,t){const n=[];let i,l=-1;for(;++l<t.children.length;)i=t.children[l],"element"===i.type?n.push(h(e,i,l,t)):"text"===i.type?"element"===t.type&&f.has(t.tagName)&&r.whitespace(i)||n.push(i.value):"raw"!==i.type||e.options.skipHtml||n.push(i.value);return n}function h(e,r,i,l){const o=e.options,s=void 0===o.transformLinkUri?a.uriTransformer:o.transformLinkUri,p=e.schema,c=r.tagName,f={};let h,x=p;if("html"===p.space&&"svg"===c&&(x=n.svg,e.schema=x),r.properties)for(h in r.properties)d.call(r.properties,h)&&y(f,h,r.properties[h],e);"ol"!==c&&"ul"!==c||e.listDepth++;const j=m(e,r);"ol"!==c&&"ul"!==c||e.listDepth--,e.schema=p;const k=r.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},v=o.components&&d.call(o.components,c)?o.components[c]:c,b="string"==typeof v||v===u.default.Fragment;if(!t.default.isValidElementType(v))throw new TypeError(`Component for name \`${c}\` not defined or is not renderable`);if(f.key=i,"a"===c&&o.linkTarget&&(f.target="function"==typeof o.linkTarget?o.linkTarget(String(f.href||""),r.children,"string"==typeof f.title?f.title:null):o.linkTarget),"a"===c&&s&&(f.href=s(String(f.href||""),r.children,"string"==typeof f.title?f.title:null)),b||"code"!==c||"element"!==l.type||"pre"===l.tagName||(f.inline=!0),b||"h1"!==c&&"h2"!==c&&"h3"!==c&&"h4"!==c&&"h5"!==c&&"h6"!==c||(f.level=Number.parseInt(c.charAt(1),10)),"img"===c&&o.transformImageUri&&(f.src=o.transformImageUri(String(f.src||""),String(f.alt||""),"string"==typeof f.title?f.title:null)),!b&&"li"===c&&"element"===l.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const r=e.children[t];if("element"===r.type&&"input"===r.tagName)return r}return null}(r);f.checked=e&&e.properties?Boolean(e.properties.checked):null,f.index=g(l,r),f.ordered="ol"===l.tagName}var q;return b||"ol"!==c&&"ul"!==c||(f.ordered="ol"===c,f.depth=e.listDepth),"td"!==c&&"th"!==c||(f.align&&(f.style||(f.style={}),f.style.textAlign=f.align,delete f.align),b||(f.isHeader="th"===c)),b||"tr"!==c||"element"!==l.type||(f.isHeader=Boolean("thead"===l.tagName)),o.sourcePos&&(f["data-sourcepos"]=[(q=k).start.line,":",q.start.column,"-",q.end.line,":",q.end.column].map(String).join("")),!b&&o.rawSourcePos&&(f.sourcePosition=r.position),!b&&o.includeElementIndex&&(f.index=g(l,r),f.siblingCount=g(l)),b||(f.node=r),j.length>0?u.default.createElement(v,f,j):u.default.createElement(v,f)}function g(e,t){let r=-1,n=0;for(;++r<e.children.length&&e.children[r]!==t;)"element"===e.children[r].type&&n++;return n}function y(e,t,r,n){const a=s.find(n.schema,t);let c=r;null!=c&&c==c&&(Array.isArray(c)&&(c=a.commaSeparated?l.stringify(c):i.stringify(c)),"style"===a.property&&"string"==typeof c&&(c=function(e){const t={};try{o.default(e,r)}catch{}return t;function r(e,r){const n="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[n.replace(/-([a-z])/g,x)]=r}}(c)),a.space&&a.property?e[d.call(p.hastToReact,a.property)?p.hastToReact[a.property]:a.property]=c:a.attribute&&(e[a.attribute]=c))}function x(e,t){return t.toUpperCase()}exports.childrenToReact=m;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../../../_virtual/index6.js"),r=require("../../hast-util-whitespace/index.js"),n=require("../../property-information/index.js"),i=require("../../space-separated-tokens/index.js"),l=require("../../comma-separated-tokens/index.js"),o=require("../../../_virtual/index30.js"),a=require("./uri-transformer.js"),s=require("../../property-information/lib/find.js"),p=require("../../property-information/lib/hast-to-react.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=c(e);const d={}.hasOwnProperty,f=new Set(["table","thead","tbody","tfoot","tr"]);function m(e,t){const n=[];let i,l=-1;for(;++l<t.children.length;)i=t.children[l],"element"===i.type?n.push(h(e,i,l,t)):"text"===i.type?"element"===t.type&&f.has(t.tagName)&&r.whitespace(i)||n.push(i.value):"raw"!==i.type||e.options.skipHtml||n.push(i.value);return n}function h(e,r,i,l){const o=e.options,s=void 0===o.transformLinkUri?a.uriTransformer:o.transformLinkUri,p=e.schema,c=r.tagName,f={};let h,x=p;if("html"===p.space&&"svg"===c&&(x=n.svg,e.schema=x),r.properties)for(h in r.properties)d.call(r.properties,h)&&y(f,h,r.properties[h],e);"ol"!==c&&"ul"!==c||e.listDepth++;const j=m(e,r);"ol"!==c&&"ul"!==c||e.listDepth--,e.schema=p;const k=r.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},v=o.components&&d.call(o.components,c)?o.components[c]:c,b="string"==typeof v||v===u.default.Fragment;if(!t.default.isValidElementType(v))throw new TypeError(`Component for name \`${c}\` not defined or is not renderable`);if(f.key=i,"a"===c&&o.linkTarget&&(f.target="function"==typeof o.linkTarget?o.linkTarget(String(f.href||""),r.children,"string"==typeof f.title?f.title:null):o.linkTarget),"a"===c&&s&&(f.href=s(String(f.href||""),r.children,"string"==typeof f.title?f.title:null)),b||"code"!==c||"element"!==l.type||"pre"===l.tagName||(f.inline=!0),b||"h1"!==c&&"h2"!==c&&"h3"!==c&&"h4"!==c&&"h5"!==c&&"h6"!==c||(f.level=Number.parseInt(c.charAt(1),10)),"img"===c&&o.transformImageUri&&(f.src=o.transformImageUri(String(f.src||""),String(f.alt||""),"string"==typeof f.title?f.title:null)),!b&&"li"===c&&"element"===l.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const r=e.children[t];if("element"===r.type&&"input"===r.tagName)return r}return null}(r);f.checked=e&&e.properties?Boolean(e.properties.checked):null,f.index=g(l,r),f.ordered="ol"===l.tagName}var q;return b||"ol"!==c&&"ul"!==c||(f.ordered="ol"===c,f.depth=e.listDepth),"td"!==c&&"th"!==c||(f.align&&(f.style||(f.style={}),f.style.textAlign=f.align,delete f.align),b||(f.isHeader="th"===c)),b||"tr"!==c||"element"!==l.type||(f.isHeader=Boolean("thead"===l.tagName)),o.sourcePos&&(f["data-sourcepos"]=[(q=k).start.line,":",q.start.column,"-",q.end.line,":",q.end.column].map(String).join("")),!b&&o.rawSourcePos&&(f.sourcePosition=r.position),!b&&o.includeElementIndex&&(f.index=g(l,r),f.siblingCount=g(l)),b||(f.node=r),j.length>0?u.default.createElement(v,f,j):u.default.createElement(v,f)}function g(e,t){let r=-1,n=0;for(;++r<e.children.length&&e.children[r]!==t;)"element"===e.children[r].type&&n++;return n}function y(e,t,r,n){const a=s.find(n.schema,t);let c=r;null!=c&&c==c&&(Array.isArray(c)&&(c=a.commaSeparated?l.stringify(c):i.stringify(c)),"style"===a.property&&"string"==typeof c&&(c=function(e){const t={};try{o.default(e,r)}catch{}return t;function r(e,r){const n="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[n.replace(/-([a-z])/g,x)]=r}}(c)),a.space&&a.property?e[d.call(p.hastToReact,a.property)?p.hastToReact[a.property]:a.property]=c:a.attribute&&(e[a.attribute]=c))}function x(e,t){return t.toUpperCase()}exports.childrenToReact=m;
2
2
  //# sourceMappingURL=ast-to-react.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ast-to-react.js","sources":["../../../../../node_modules/react-markdown/lib/ast-to-react.js"],"sourcesContent":["/**\n * @template T\n * @typedef {import('react').ComponentType<T>} ComponentType<T>\n */\n\n/**\n * @template {import('react').ElementType} T\n * @typedef {import('react').ComponentPropsWithoutRef<T>} ComponentPropsWithoutRef<T>\n */\n\n/**\n * @typedef {import('react').ReactNode} ReactNode\n * @typedef {import('unist').Position} Position\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').Text} Text\n * @typedef {import('hast').Comment} Comment\n * @typedef {import('hast').DocType} Doctype\n * @typedef {import('property-information').Info} Info\n * @typedef {import('property-information').Schema} Schema\n * @typedef {import('./complex-types.js').ReactMarkdownProps} ReactMarkdownProps\n *\n * @typedef Raw\n * @property {'raw'} type\n * @property {string} value\n *\n * @typedef Context\n * @property {Options} options\n * @property {Schema} schema\n * @property {number} listDepth\n *\n * @callback TransformLink\n * @param {string} href\n * @param {Array<ElementContent>} children\n * @param {string?} title\n * @returns {string}\n *\n * @callback TransformImage\n * @param {string} src\n * @param {string} alt\n * @param {string?} title\n * @returns {string}\n *\n * @typedef {import('react').HTMLAttributeAnchorTarget} TransformLinkTargetType\n *\n * @callback TransformLinkTarget\n * @param {string} href\n * @param {Array<ElementContent>} children\n * @param {string?} title\n * @returns {TransformLinkTargetType|undefined}\n *\n * @typedef {keyof JSX.IntrinsicElements} ReactMarkdownNames\n *\n * To do: is `data-sourcepos` typeable?\n *\n * @typedef {ComponentPropsWithoutRef<'code'> & ReactMarkdownProps & {inline?: boolean}} CodeProps\n * @typedef {ComponentPropsWithoutRef<'h1'> & ReactMarkdownProps & {level: number}} HeadingProps\n * @typedef {ComponentPropsWithoutRef<'li'> & ReactMarkdownProps & {checked: boolean|null, index: number, ordered: boolean}} LiProps\n * @typedef {ComponentPropsWithoutRef<'ol'> & ReactMarkdownProps & {depth: number, ordered: true}} OrderedListProps\n * @typedef {ComponentPropsWithoutRef<'td'> & ReactMarkdownProps & {style?: Record<string, unknown>, isHeader: false}} TableDataCellProps\n * @typedef {ComponentPropsWithoutRef<'th'> & ReactMarkdownProps & {style?: Record<string, unknown>, isHeader: true}} TableHeaderCellProps\n * @typedef {ComponentPropsWithoutRef<'tr'> & ReactMarkdownProps & {isHeader: boolean}} TableRowProps\n * @typedef {ComponentPropsWithoutRef<'ul'> & ReactMarkdownProps & {depth: number, ordered: false}} UnorderedListProps\n *\n * @typedef {ComponentType<CodeProps>} CodeComponent\n * @typedef {ComponentType<HeadingProps>} HeadingComponent\n * @typedef {ComponentType<LiProps>} LiComponent\n * @typedef {ComponentType<OrderedListProps>} OrderedListComponent\n * @typedef {ComponentType<TableDataCellProps>} TableDataCellComponent\n * @typedef {ComponentType<TableHeaderCellProps>} TableHeaderCellComponent\n * @typedef {ComponentType<TableRowProps>} TableRowComponent\n * @typedef {ComponentType<UnorderedListProps>} UnorderedListComponent\n *\n * @typedef SpecialComponents\n * @property {CodeComponent|ReactMarkdownNames} code\n * @property {HeadingComponent|ReactMarkdownNames} h1\n * @property {HeadingComponent|ReactMarkdownNames} h2\n * @property {HeadingComponent|ReactMarkdownNames} h3\n * @property {HeadingComponent|ReactMarkdownNames} h4\n * @property {HeadingComponent|ReactMarkdownNames} h5\n * @property {HeadingComponent|ReactMarkdownNames} h6\n * @property {LiComponent|ReactMarkdownNames} li\n * @property {OrderedListComponent|ReactMarkdownNames} ol\n * @property {TableDataCellComponent|ReactMarkdownNames} td\n * @property {TableHeaderCellComponent|ReactMarkdownNames} th\n * @property {TableRowComponent|ReactMarkdownNames} tr\n * @property {UnorderedListComponent|ReactMarkdownNames} ul\n *\n * @typedef {Partial<Omit<import('./complex-types.js').NormalComponents, keyof SpecialComponents> & SpecialComponents>} Components\n *\n * @typedef Options\n * @property {boolean} [sourcePos=false]\n * @property {boolean} [rawSourcePos=false]\n * @property {boolean} [skipHtml=false]\n * @property {boolean} [includeElementIndex=false]\n * @property {null|false|TransformLink} [transformLinkUri]\n * @property {TransformImage} [transformImageUri]\n * @property {TransformLinkTargetType|TransformLinkTarget} [linkTarget]\n * @property {Components} [components]\n */\n\nimport React from 'react'\nimport ReactIs from 'react-is'\nimport {whitespace} from 'hast-util-whitespace'\nimport {svg, find, hastToReact} from 'property-information'\nimport {stringify as spaces} from 'space-separated-tokens'\nimport {stringify as commas} from 'comma-separated-tokens'\nimport style from 'style-to-object'\nimport {uriTransformer} from './uri-transformer.js'\n\nconst own = {}.hasOwnProperty\n\n// The table-related elements that must not contain whitespace text according\n// to React.\nconst tableElements = new Set(['table', 'thead', 'tbody', 'tfoot', 'tr'])\n\n/**\n * @param {Context} context\n * @param {Element|Root} node\n */\nexport function childrenToReact(context, node) {\n /** @type {Array<ReactNode>} */\n const children = []\n let childIndex = -1\n /** @type {Comment|Doctype|Element|Raw|Text} */\n let child\n\n while (++childIndex < node.children.length) {\n child = node.children[childIndex]\n\n if (child.type === 'element') {\n children.push(toReact(context, child, childIndex, node))\n } else if (child.type === 'text') {\n // Currently, a warning is triggered by react for *any* white space in\n // tables.\n // So we drop it.\n // See: <https://github.com/facebook/react/pull/7081>.\n // See: <https://github.com/facebook/react/pull/7515>.\n // See: <https://github.com/remarkjs/remark-react/issues/64>.\n // See: <https://github.com/remarkjs/react-markdown/issues/576>.\n if (\n node.type !== 'element' ||\n !tableElements.has(node.tagName) ||\n !whitespace(child)\n ) {\n children.push(child.value)\n }\n } else if (child.type === 'raw' && !context.options.skipHtml) {\n // Default behavior is to show (encoded) HTML.\n children.push(child.value)\n }\n }\n\n return children\n}\n\n/**\n * @param {Context} context\n * @param {Element} node\n * @param {number} index\n * @param {Element|Root} parent\n */\nfunction toReact(context, node, index, parent) {\n const options = context.options\n const transform =\n options.transformLinkUri === undefined\n ? uriTransformer\n : options.transformLinkUri\n const parentSchema = context.schema\n /** @type {ReactMarkdownNames} */\n // @ts-expect-error assume a known HTML/SVG element.\n const name = node.tagName\n /** @type {Record<string, unknown>} */\n const properties = {}\n let schema = parentSchema\n /** @type {string} */\n let property\n\n if (parentSchema.space === 'html' && name === 'svg') {\n schema = svg\n context.schema = schema\n }\n\n if (node.properties) {\n for (property in node.properties) {\n if (own.call(node.properties, property)) {\n addProperty(properties, property, node.properties[property], context)\n }\n }\n }\n\n if (name === 'ol' || name === 'ul') {\n context.listDepth++\n }\n\n const children = childrenToReact(context, node)\n\n if (name === 'ol' || name === 'ul') {\n context.listDepth--\n }\n\n // Restore parent schema.\n context.schema = parentSchema\n\n // Nodes created by plugins do not have positional info, in which case we use\n // an object that matches the position interface.\n const position = node.position || {\n start: {line: null, column: null, offset: null},\n end: {line: null, column: null, offset: null}\n }\n const component =\n options.components && own.call(options.components, name)\n ? options.components[name]\n : name\n const basic = typeof component === 'string' || component === React.Fragment\n\n if (!ReactIs.isValidElementType(component)) {\n throw new TypeError(\n `Component for name \\`${name}\\` not defined or is not renderable`\n )\n }\n\n properties.key = index\n\n if (name === 'a' && options.linkTarget) {\n properties.target =\n typeof options.linkTarget === 'function'\n ? options.linkTarget(\n String(properties.href || ''),\n node.children,\n typeof properties.title === 'string' ? properties.title : null\n )\n : options.linkTarget\n }\n\n if (name === 'a' && transform) {\n properties.href = transform(\n String(properties.href || ''),\n node.children,\n typeof properties.title === 'string' ? properties.title : null\n )\n }\n\n if (\n !basic &&\n name === 'code' &&\n parent.type === 'element' &&\n parent.tagName !== 'pre'\n ) {\n properties.inline = true\n }\n\n if (\n !basic &&\n (name === 'h1' ||\n name === 'h2' ||\n name === 'h3' ||\n name === 'h4' ||\n name === 'h5' ||\n name === 'h6')\n ) {\n properties.level = Number.parseInt(name.charAt(1), 10)\n }\n\n if (name === 'img' && options.transformImageUri) {\n properties.src = options.transformImageUri(\n String(properties.src || ''),\n String(properties.alt || ''),\n typeof properties.title === 'string' ? properties.title : null\n )\n }\n\n if (!basic && name === 'li' && parent.type === 'element') {\n const input = getInputElement(node)\n properties.checked =\n input && input.properties ? Boolean(input.properties.checked) : null\n properties.index = getElementsBeforeCount(parent, node)\n properties.ordered = parent.tagName === 'ol'\n }\n\n if (!basic && (name === 'ol' || name === 'ul')) {\n properties.ordered = name === 'ol'\n properties.depth = context.listDepth\n }\n\n if (name === 'td' || name === 'th') {\n if (properties.align) {\n if (!properties.style) properties.style = {}\n // @ts-expect-error assume `style` is an object\n properties.style.textAlign = properties.align\n delete properties.align\n }\n\n if (!basic) {\n properties.isHeader = name === 'th'\n }\n }\n\n if (!basic && name === 'tr' && parent.type === 'element') {\n properties.isHeader = Boolean(parent.tagName === 'thead')\n }\n\n // If `sourcePos` is given, pass source information (line/column info from markdown source).\n if (options.sourcePos) {\n properties['data-sourcepos'] = flattenPosition(position)\n }\n\n if (!basic && options.rawSourcePos) {\n properties.sourcePosition = node.position\n }\n\n // If `includeElementIndex` is given, pass node index info to components.\n if (!basic && options.includeElementIndex) {\n properties.index = getElementsBeforeCount(parent, node)\n properties.siblingCount = getElementsBeforeCount(parent)\n }\n\n if (!basic) {\n properties.node = node\n }\n\n // Ensure no React warnings are emitted for void elements w/ children.\n return children.length > 0\n ? React.createElement(component, properties, children)\n : React.createElement(component, properties)\n}\n\n/**\n * @param {Element|Root} node\n * @returns {Element?}\n */\nfunction getInputElement(node) {\n let index = -1\n\n while (++index < node.children.length) {\n const child = node.children[index]\n\n if (child.type === 'element' && child.tagName === 'input') {\n return child\n }\n }\n\n return null\n}\n\n/**\n * @param {Element|Root} parent\n * @param {Element} [node]\n * @returns {number}\n */\nfunction getElementsBeforeCount(parent, node) {\n let index = -1\n let count = 0\n\n while (++index < parent.children.length) {\n if (parent.children[index] === node) break\n if (parent.children[index].type === 'element') count++\n }\n\n return count\n}\n\n/**\n * @param {Record<string, unknown>} props\n * @param {string} prop\n * @param {unknown} value\n * @param {Context} ctx\n */\nfunction addProperty(props, prop, value, ctx) {\n const info = find(ctx.schema, prop)\n let result = value\n\n // Ignore nullish and `NaN` values.\n // eslint-disable-next-line no-self-compare\n if (result === null || result === undefined || result !== result) {\n return\n }\n\n // Accept `array`.\n // Most props are space-separated.\n if (Array.isArray(result)) {\n result = info.commaSeparated ? commas(result) : spaces(result)\n }\n\n if (info.property === 'style' && typeof result === 'string') {\n result = parseStyle(result)\n }\n\n if (info.space && info.property) {\n props[\n own.call(hastToReact, info.property)\n ? hastToReact[info.property]\n : info.property\n ] = result\n } else if (info.attribute) {\n props[info.attribute] = result\n }\n}\n\n/**\n * @param {string} value\n * @returns {Record<string, string>}\n */\nfunction parseStyle(value) {\n /** @type {Record<string, string>} */\n const result = {}\n\n try {\n style(value, iterator)\n } catch {\n // Silent.\n }\n\n return result\n\n /**\n * @param {string} name\n * @param {string} v\n */\n function iterator(name, v) {\n const k = name.slice(0, 4) === '-ms-' ? `ms-${name.slice(4)}` : name\n result[k.replace(/-([a-z])/g, styleReplacer)] = v\n }\n}\n\n/**\n * @param {unknown} _\n * @param {string} $1\n */\nfunction styleReplacer(_, $1) {\n return $1.toUpperCase()\n}\n\n/**\n * @param {Position|{start: {line: null, column: null, offset: null}, end: {line: null, column: null, offset: null}}} pos\n * @returns {string}\n */\nfunction flattenPosition(pos) {\n return [\n pos.start.line,\n ':',\n pos.start.column,\n '-',\n pos.end.line,\n ':',\n pos.end.column\n ]\n .map(String)\n .join('')\n}\n"],"names":["own","hasOwnProperty","tableElements","Set","childrenToReact","context","node","children","child","childIndex","length","type","push","toReact","has","tagName","whitespace","value","options","skipHtml","index","parent","transform","undefined","transformLinkUri","uriTransformer","parentSchema","schema","name","properties","property","space","svg","call","addProperty","listDepth","position","start","line","column","offset","end","component","components","basic","React","Fragment","ReactIs","isValidElementType","TypeError","key","linkTarget","target","String","href","title","inline","level","Number","parseInt","charAt","transformImageUri","src","alt","input","getInputElement","checked","Boolean","getElementsBeforeCount","ordered","pos","depth","align","style","textAlign","isHeader","sourcePos","map","join","rawSourcePos","sourcePosition","includeElementIndex","siblingCount","createElement","count","props","prop","ctx","info","find","result","Array","isArray","commaSeparated","commas","spaces","stringify","iterator","v","k","slice","replace","styleReplacer","parseStyle","hastToReact","attribute","_","$1","toUpperCase"],"mappings":"6lBA+GA,MAAMA,EAAM,CAAE,EAACC,eAITC,EAAgB,IAAIC,IAAI,CAAC,QAAS,QAAS,QAAS,QAAS,OAM5D,SAASC,EAAgBC,EAASC,GAEvC,MAAMC,EAAW,GACjB,IAEIC,EAFAC,GAAc,EAIlB,OAASA,EAAaH,EAAKC,SAASG,QAClCF,EAAQF,EAAKC,SAASE,GAEH,YAAfD,EAAMG,KACRJ,EAASK,KAAKC,EAAQR,EAASG,EAAOC,EAAYH,IAC1B,SAAfE,EAAMG,KASC,YAAdL,EAAKK,MACJT,EAAcY,IAAIR,EAAKS,UACvBC,EAAAA,WAAWR,IAEZD,EAASK,KAAKJ,EAAMS,OAEE,QAAfT,EAAMG,MAAmBN,EAAQa,QAAQC,UAElDZ,EAASK,KAAKJ,EAAMS,OAIxB,OAAOV,CACT,CAQA,SAASM,EAAQR,EAASC,EAAMc,EAAOC,GACrC,MAAMH,EAAUb,EAAQa,QAClBI,OACyBC,IAA7BL,EAAQM,iBACJC,EAAcA,eACdP,EAAQM,iBACRE,EAAerB,EAAQsB,OAGvBC,EAAOtB,EAAKS,QAEZc,EAAa,CAAE,EACrB,IAEIC,EAF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,cAAahB,EAAK1D,UACvB0E,EAAWA,YAAChB,EAAK1D,UACjB0D,EAAK1D,UACP4D,EACKF,EAAKiB,YACdpB,EAAMG,EAAKiB,WAAaf,GAE5B,CAgCA,SAASY,EAAcI,EAAGC,GACxB,OAAOA,EAAGC,aACZ"}
1
+ {"version":3,"file":"ast-to-react.js","sources":["../../../../../node_modules/react-markdown/lib/ast-to-react.js"],"sourcesContent":["/**\n * @template T\n * @typedef {import('react').ComponentType<T>} ComponentType<T>\n */\n\n/**\n * @template {import('react').ElementType} T\n * @typedef {import('react').ComponentPropsWithoutRef<T>} ComponentPropsWithoutRef<T>\n */\n\n/**\n * @typedef {import('react').ReactNode} ReactNode\n * @typedef {import('unist').Position} Position\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').Text} Text\n * @typedef {import('hast').Comment} Comment\n * @typedef {import('hast').DocType} Doctype\n * @typedef {import('property-information').Info} Info\n * @typedef {import('property-information').Schema} Schema\n * @typedef {import('./complex-types.js').ReactMarkdownProps} ReactMarkdownProps\n *\n * @typedef Raw\n * @property {'raw'} type\n * @property {string} value\n *\n * @typedef Context\n * @property {Options} options\n * @property {Schema} schema\n * @property {number} listDepth\n *\n * @callback TransformLink\n * @param {string} href\n * @param {Array<ElementContent>} children\n * @param {string?} title\n * @returns {string}\n *\n * @callback TransformImage\n * @param {string} src\n * @param {string} alt\n * @param {string?} title\n * @returns {string}\n *\n * @typedef {import('react').HTMLAttributeAnchorTarget} TransformLinkTargetType\n *\n * @callback TransformLinkTarget\n * @param {string} href\n * @param {Array<ElementContent>} children\n * @param {string?} title\n * @returns {TransformLinkTargetType|undefined}\n *\n * @typedef {keyof JSX.IntrinsicElements} ReactMarkdownNames\n *\n * To do: is `data-sourcepos` typeable?\n *\n * @typedef {ComponentPropsWithoutRef<'code'> & ReactMarkdownProps & {inline?: boolean}} CodeProps\n * @typedef {ComponentPropsWithoutRef<'h1'> & ReactMarkdownProps & {level: number}} HeadingProps\n * @typedef {ComponentPropsWithoutRef<'li'> & ReactMarkdownProps & {checked: boolean|null, index: number, ordered: boolean}} LiProps\n * @typedef {ComponentPropsWithoutRef<'ol'> & ReactMarkdownProps & {depth: number, ordered: true}} OrderedListProps\n * @typedef {ComponentPropsWithoutRef<'td'> & ReactMarkdownProps & {style?: Record<string, unknown>, isHeader: false}} TableDataCellProps\n * @typedef {ComponentPropsWithoutRef<'th'> & ReactMarkdownProps & {style?: Record<string, unknown>, isHeader: true}} TableHeaderCellProps\n * @typedef {ComponentPropsWithoutRef<'tr'> & ReactMarkdownProps & {isHeader: boolean}} TableRowProps\n * @typedef {ComponentPropsWithoutRef<'ul'> & ReactMarkdownProps & {depth: number, ordered: false}} UnorderedListProps\n *\n * @typedef {ComponentType<CodeProps>} CodeComponent\n * @typedef {ComponentType<HeadingProps>} HeadingComponent\n * @typedef {ComponentType<LiProps>} LiComponent\n * @typedef {ComponentType<OrderedListProps>} OrderedListComponent\n * @typedef {ComponentType<TableDataCellProps>} TableDataCellComponent\n * @typedef {ComponentType<TableHeaderCellProps>} TableHeaderCellComponent\n * @typedef {ComponentType<TableRowProps>} TableRowComponent\n * @typedef {ComponentType<UnorderedListProps>} UnorderedListComponent\n *\n * @typedef SpecialComponents\n * @property {CodeComponent|ReactMarkdownNames} code\n * @property {HeadingComponent|ReactMarkdownNames} h1\n * @property {HeadingComponent|ReactMarkdownNames} h2\n * @property {HeadingComponent|ReactMarkdownNames} h3\n * @property {HeadingComponent|ReactMarkdownNames} h4\n * @property {HeadingComponent|ReactMarkdownNames} h5\n * @property {HeadingComponent|ReactMarkdownNames} h6\n * @property {LiComponent|ReactMarkdownNames} li\n * @property {OrderedListComponent|ReactMarkdownNames} ol\n * @property {TableDataCellComponent|ReactMarkdownNames} td\n * @property {TableHeaderCellComponent|ReactMarkdownNames} th\n * @property {TableRowComponent|ReactMarkdownNames} tr\n * @property {UnorderedListComponent|ReactMarkdownNames} ul\n *\n * @typedef {Partial<Omit<import('./complex-types.js').NormalComponents, keyof SpecialComponents> & SpecialComponents>} Components\n *\n * @typedef Options\n * @property {boolean} [sourcePos=false]\n * @property {boolean} [rawSourcePos=false]\n * @property {boolean} [skipHtml=false]\n * @property {boolean} [includeElementIndex=false]\n * @property {null|false|TransformLink} [transformLinkUri]\n * @property {TransformImage} [transformImageUri]\n * @property {TransformLinkTargetType|TransformLinkTarget} [linkTarget]\n * @property {Components} [components]\n */\n\nimport React from 'react'\nimport ReactIs from 'react-is'\nimport {whitespace} from 'hast-util-whitespace'\nimport {svg, find, hastToReact} from 'property-information'\nimport {stringify as spaces} from 'space-separated-tokens'\nimport {stringify as commas} from 'comma-separated-tokens'\nimport style from 'style-to-object'\nimport {uriTransformer} from './uri-transformer.js'\n\nconst own = {}.hasOwnProperty\n\n// The table-related elements that must not contain whitespace text according\n// to React.\nconst tableElements = new Set(['table', 'thead', 'tbody', 'tfoot', 'tr'])\n\n/**\n * @param {Context} context\n * @param {Element|Root} node\n */\nexport function childrenToReact(context, node) {\n /** @type {Array<ReactNode>} */\n const children = []\n let childIndex = -1\n /** @type {Comment|Doctype|Element|Raw|Text} */\n let child\n\n while (++childIndex < node.children.length) {\n child = node.children[childIndex]\n\n if (child.type === 'element') {\n children.push(toReact(context, child, childIndex, node))\n } else if (child.type === 'text') {\n // Currently, a warning is triggered by react for *any* white space in\n // tables.\n // So we drop it.\n // See: <https://github.com/facebook/react/pull/7081>.\n // See: <https://github.com/facebook/react/pull/7515>.\n // See: <https://github.com/remarkjs/remark-react/issues/64>.\n // See: <https://github.com/remarkjs/react-markdown/issues/576>.\n if (\n node.type !== 'element' ||\n !tableElements.has(node.tagName) ||\n !whitespace(child)\n ) {\n children.push(child.value)\n }\n } else if (child.type === 'raw' && !context.options.skipHtml) {\n // Default behavior is to show (encoded) HTML.\n children.push(child.value)\n }\n }\n\n return children\n}\n\n/**\n * @param {Context} context\n * @param {Element} node\n * @param {number} index\n * @param {Element|Root} parent\n */\nfunction toReact(context, node, index, parent) {\n const options = context.options\n const transform =\n options.transformLinkUri === undefined\n ? uriTransformer\n : options.transformLinkUri\n const parentSchema = context.schema\n /** @type {ReactMarkdownNames} */\n // @ts-expect-error assume a known HTML/SVG element.\n const name = node.tagName\n /** @type {Record<string, unknown>} */\n const properties = {}\n let schema = parentSchema\n /** @type {string} */\n let property\n\n if (parentSchema.space === 'html' && name === 'svg') {\n schema = svg\n context.schema = schema\n }\n\n if (node.properties) {\n for (property in node.properties) {\n if (own.call(node.properties, property)) {\n addProperty(properties, property, node.properties[property], context)\n }\n }\n }\n\n if (name === 'ol' || name === 'ul') {\n context.listDepth++\n }\n\n const children = childrenToReact(context, node)\n\n if (name === 'ol' || name === 'ul') {\n context.listDepth--\n }\n\n // Restore parent schema.\n context.schema = parentSchema\n\n // Nodes created by plugins do not have positional info, in which case we use\n // an object that matches the position interface.\n const position = node.position || {\n start: {line: null, column: null, offset: null},\n end: {line: null, column: null, offset: null}\n }\n const component =\n options.components && own.call(options.components, name)\n ? options.components[name]\n : name\n const basic = typeof component === 'string' || component === React.Fragment\n\n if (!ReactIs.isValidElementType(component)) {\n throw new TypeError(\n `Component for name \\`${name}\\` not defined or is not renderable`\n )\n }\n\n properties.key = index\n\n if (name === 'a' && options.linkTarget) {\n properties.target =\n typeof options.linkTarget === 'function'\n ? options.linkTarget(\n String(properties.href || ''),\n node.children,\n typeof properties.title === 'string' ? properties.title : null\n )\n : options.linkTarget\n }\n\n if (name === 'a' && transform) {\n properties.href = transform(\n String(properties.href || ''),\n node.children,\n typeof properties.title === 'string' ? properties.title : null\n )\n }\n\n if (\n !basic &&\n name === 'code' &&\n parent.type === 'element' &&\n parent.tagName !== 'pre'\n ) {\n properties.inline = true\n }\n\n if (\n !basic &&\n (name === 'h1' ||\n name === 'h2' ||\n name === 'h3' ||\n name === 'h4' ||\n name === 'h5' ||\n name === 'h6')\n ) {\n properties.level = Number.parseInt(name.charAt(1), 10)\n }\n\n if (name === 'img' && options.transformImageUri) {\n properties.src = options.transformImageUri(\n String(properties.src || ''),\n String(properties.alt || ''),\n typeof properties.title === 'string' ? properties.title : null\n )\n }\n\n if (!basic && name === 'li' && parent.type === 'element') {\n const input = getInputElement(node)\n properties.checked =\n input && input.properties ? Boolean(input.properties.checked) : null\n properties.index = getElementsBeforeCount(parent, node)\n properties.ordered = parent.tagName === 'ol'\n }\n\n if (!basic && (name === 'ol' || name === 'ul')) {\n properties.ordered = name === 'ol'\n properties.depth = context.listDepth\n }\n\n if (name === 'td' || name === 'th') {\n if (properties.align) {\n if (!properties.style) properties.style = {}\n // @ts-expect-error assume `style` is an object\n properties.style.textAlign = properties.align\n delete properties.align\n }\n\n if (!basic) {\n properties.isHeader = name === 'th'\n }\n }\n\n if (!basic && name === 'tr' && parent.type === 'element') {\n properties.isHeader = Boolean(parent.tagName === 'thead')\n }\n\n // If `sourcePos` is given, pass source information (line/column info from markdown source).\n if (options.sourcePos) {\n properties['data-sourcepos'] = flattenPosition(position)\n }\n\n if (!basic && options.rawSourcePos) {\n properties.sourcePosition = node.position\n }\n\n // If `includeElementIndex` is given, pass node index info to components.\n if (!basic && options.includeElementIndex) {\n properties.index = getElementsBeforeCount(parent, node)\n properties.siblingCount = getElementsBeforeCount(parent)\n }\n\n if (!basic) {\n properties.node = node\n }\n\n // Ensure no React warnings are emitted for void elements w/ children.\n return children.length > 0\n ? React.createElement(component, properties, children)\n : React.createElement(component, properties)\n}\n\n/**\n * @param {Element|Root} node\n * @returns {Element?}\n */\nfunction getInputElement(node) {\n let index = -1\n\n while (++index < node.children.length) {\n const child = node.children[index]\n\n if (child.type === 'element' && child.tagName === 'input') {\n return child\n }\n }\n\n return null\n}\n\n/**\n * @param {Element|Root} parent\n * @param {Element} [node]\n * @returns {number}\n */\nfunction getElementsBeforeCount(parent, node) {\n let index = -1\n let count = 0\n\n while (++index < parent.children.length) {\n if (parent.children[index] === node) break\n if (parent.children[index].type === 'element') count++\n }\n\n return count\n}\n\n/**\n * @param {Record<string, unknown>} props\n * @param {string} prop\n * @param {unknown} value\n * @param {Context} ctx\n */\nfunction addProperty(props, prop, value, ctx) {\n const info = find(ctx.schema, prop)\n let result = value\n\n // Ignore nullish and `NaN` values.\n // eslint-disable-next-line no-self-compare\n if (result === null || result === undefined || result !== result) {\n return\n }\n\n // Accept `array`.\n // Most props are space-separated.\n if (Array.isArray(result)) {\n result = info.commaSeparated ? commas(result) : spaces(result)\n }\n\n if (info.property === 'style' && typeof result === 'string') {\n result = parseStyle(result)\n }\n\n if (info.space && info.property) {\n props[\n own.call(hastToReact, info.property)\n ? hastToReact[info.property]\n : info.property\n ] = result\n } else if (info.attribute) {\n props[info.attribute] = result\n }\n}\n\n/**\n * @param {string} value\n * @returns {Record<string, string>}\n */\nfunction parseStyle(value) {\n /** @type {Record<string, string>} */\n const result = {}\n\n try {\n style(value, iterator)\n } catch {\n // Silent.\n }\n\n return result\n\n /**\n * @param {string} name\n * @param {string} v\n */\n function iterator(name, v) {\n const k = name.slice(0, 4) === '-ms-' ? `ms-${name.slice(4)}` : name\n result[k.replace(/-([a-z])/g, styleReplacer)] = v\n }\n}\n\n/**\n * @param {unknown} _\n * @param {string} $1\n */\nfunction styleReplacer(_, $1) {\n return $1.toUpperCase()\n}\n\n/**\n * @param {Position|{start: {line: null, column: null, offset: null}, end: {line: null, column: null, offset: null}}} pos\n * @returns {string}\n */\nfunction flattenPosition(pos) {\n return [\n pos.start.line,\n ':',\n pos.start.column,\n '-',\n pos.end.line,\n ':',\n pos.end.column\n ]\n .map(String)\n .join('')\n}\n"],"names":["own","hasOwnProperty","tableElements","Set","childrenToReact","context","node","children","child","childIndex","length","type","push","toReact","has","tagName","whitespace","value","options","skipHtml","index","parent","transform","undefined","transformLinkUri","uriTransformer","parentSchema","schema","name","properties","property","space","svg","call","addProperty","listDepth","position","start","line","column","offset","end","component","components","basic","React","Fragment","ReactIs","isValidElementType","TypeError","key","linkTarget","target","String","href","title","inline","level","Number","parseInt","charAt","transformImageUri","src","alt","input","getInputElement","checked","Boolean","getElementsBeforeCount","ordered","pos","depth","align","style","textAlign","isHeader","sourcePos","map","join","rawSourcePos","sourcePosition","includeElementIndex","siblingCount","createElement","count","props","prop","ctx","info","find","result","Array","isArray","commaSeparated","commas","spaces","stringify","iterator","v","k","slice","replace","styleReplacer","parseStyle","hastToReact","attribute","_","$1","toUpperCase"],"mappings":"4lBA+GA,MAAMA,EAAM,CAAE,EAACC,eAITC,EAAgB,IAAIC,IAAI,CAAC,QAAS,QAAS,QAAS,QAAS,OAM5D,SAASC,EAAgBC,EAASC,GAEvC,MAAMC,EAAW,GACjB,IAEIC,EAFAC,GAAc,EAIlB,OAASA,EAAaH,EAAKC,SAASG,QAClCF,EAAQF,EAAKC,SAASE,GAEH,YAAfD,EAAMG,KACRJ,EAASK,KAAKC,EAAQR,EAASG,EAAOC,EAAYH,IAC1B,SAAfE,EAAMG,KASC,YAAdL,EAAKK,MACJT,EAAcY,IAAIR,EAAKS,UACvBC,EAAAA,WAAWR,IAEZD,EAASK,KAAKJ,EAAMS,OAEE,QAAfT,EAAMG,MAAmBN,EAAQa,QAAQC,UAElDZ,EAASK,KAAKJ,EAAMS,OAIxB,OAAOV,CACT,CAQA,SAASM,EAAQR,EAASC,EAAMc,EAAOC,GACrC,MAAMH,EAAUb,EAAQa,QAClBI,OACyBC,IAA7BL,EAAQM,iBACJC,EAAcA,eACdP,EAAQM,iBACRE,EAAerB,EAAQsB,OAGvBC,EAAOtB,EAAKS,QAEZc,EAAa,CAAE,EACrB,IAEIC,EAFAH,EAASD,EASb,GAL2B,SAAvBA,EAAaK,OAA6B,QAATH,IACnCD,EAASK,EAAGA,IACZ3B,EAAQsB,OAASA,GAGfrB,EAAKuB,WACP,IAAKC,KAAYxB,EAAKuB,WAChB7B,EAAIiC,KAAK3B,EAAKuB,WAAYC,IAC5BI,EAAYL,EAAYC,EAAUxB,EAAKuB,WAAWC,GAAWzB,GAKtD,OAATuB,GAA0B,OAATA,GACnBvB,EAAQ8B,YAGV,MAAM5B,EAA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GAIbC,EAASG,OAAS,EACrBmC,EAAAA,QAAMsC,cAAczC,EAAWb,EAAYtB,GAC3CsC,UAAMsC,cAAczC,EAAWb,EACrC,CAyBA,SAASuC,EAAuB/C,EAAQf,GACtC,IAAIc,GAAS,EACTgE,EAAQ,EAEZ,OAAShE,EAAQC,EAAOd,SAASG,QAC3BW,EAAOd,SAASa,KAAWd,GACK,YAAhCe,EAAOd,SAASa,GAAOT,MAAoByE,IAGjD,OAAOA,CACT,CAQA,SAASlD,EAAYmD,EAAOC,EAAMrE,EAAOsE,GACvC,MAAMC,EAAOC,EAAIA,KAACF,EAAI5D,OAAQ2D,GAC9B,IAAII,EAASzE,EAITyE,SAA2CA,GAAWA,IAMtDC,MAAMC,QAAQF,KAChBA,EAASF,EAAKK,eAAiBC,EAAAA,UAAOJ,GAAUK,EAAMC,UAACN,IAGnC,UAAlBF,EAAK1D,UAA0C,iBAAX4D,IACtCA,EAkBJ,SAAoBzE,GAElB,MAAMyE,EAAS,CAAE,EAEjB,IACEjB,EAAK,QAACxD,EAAOgF,EACjB,CAAI,MAED,CAED,OAAOP,EAMP,SAASO,EAASrE,EAAMsE,GACtB,MAAMC,EAAyB,SAArBvE,EAAKwE,MAAM,EAAG,GAAgB,MAAMxE,EAAKwE,MAAM,KAAOxE,EAChE8D,EAAOS,EAAEE,QAAQ,YAAaC,IAAkBJ,CACjD,CACH,CAtCaK,CAAWb,IAGlBF,EAAKzD,OAASyD,EAAK1D,SACrBuD,EACErF,EAAIiC,KAAKuE,cAAahB,EAAK1D,UACvB0E,EAAWA,YAAChB,EAAK1D,UACjB0D,EAAK1D,UACP4D,EACKF,EAAKiB,YACdpB,EAAMG,EAAKiB,WAAaf,GAE5B,CAgCA,SAASY,EAAcI,EAAGC,GACxB,OAAOA,EAAGC,aACZ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),l=require("../../vfile/lib/index.js"),a=require("../../unified/lib/index.js"),t=require("../../remark-parse/lib/index.js"),r=require("../../remark-rehype/lib/index.js"),n=require("../../../_virtual/index.js"),o=require("../../property-information/index.js"),d=require("./rehype-filter.js"),u=require("./ast-to-react.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(e);const f={}.hasOwnProperty,c={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function p(e){for(const l in c)if(f.call(c,l)&&f.call(e,l)){const e=c[l];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${l}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete c[l]}const n=a.unified().use(t.default).use(e.remarkPlugins||[]).use(r.default,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(d.default,e),i=new l.VFile;"string"==typeof e.children?i.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const p=n.runSync(n.parse(i),i);if("root"!==p.type)throw new TypeError("Expected a `root` node");let m=s.default.createElement(s.default.Fragment,{},u.childrenToReact({options:e,schema:o.html,listDepth:0},p));return e.className&&(m=s.default.createElement("div",{className:e.className},m)),m}p.propTypes={children:n.default.string,className:n.default.string,allowElement:n.default.func,allowedElements:n.default.arrayOf(n.default.string),disallowedElements:n.default.arrayOf(n.default.string),unwrapDisallowed:n.default.bool,remarkPlugins:n.default.arrayOf(n.default.oneOfType([n.default.object,n.default.func,n.default.arrayOf(n.default.oneOfType([n.default.bool,n.default.string,n.default.object,n.default.func,n.default.arrayOf(n.default.any)]))])),rehypePlugins:n.default.arrayOf(n.default.oneOfType([n.default.object,n.default.func,n.default.arrayOf(n.default.oneOfType([n.default.bool,n.default.string,n.default.object,n.default.func,n.default.arrayOf(n.default.any)]))])),sourcePos:n.default.bool,rawSourcePos:n.default.bool,skipHtml:n.default.bool,includeElementIndex:n.default.bool,transformLinkUri:n.default.oneOfType([n.default.func,n.default.bool]),linkTarget:n.default.oneOfType([n.default.func,n.default.string]),transformImageUri:n.default.func,components:n.default.object},exports.ReactMarkdown=p;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),l=require("../../vfile/lib/index.js"),a=require("../../unified/lib/index.js"),t=require("../../remark-parse/lib/index.js"),r=require("../../remark-rehype/lib/index.js"),n=require("../../../_virtual/index3.js"),o=require("../../property-information/index.js"),d=require("./rehype-filter.js"),u=require("./ast-to-react.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(e);const f={}.hasOwnProperty,c={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function p(e){for(const l in c)if(f.call(c,l)&&f.call(e,l)){const e=c[l];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${l}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete c[l]}const n=a.unified().use(t.default).use(e.remarkPlugins||[]).use(r.default,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(d.default,e),i=new l.VFile;"string"==typeof e.children?i.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const p=n.runSync(n.parse(i),i);if("root"!==p.type)throw new TypeError("Expected a `root` node");let m=s.default.createElement(s.default.Fragment,{},u.childrenToReact({options:e,schema:o.html,listDepth:0},p));return e.className&&(m=s.default.createElement("div",{className:e.className},m)),m}p.propTypes={children:n.default.string,className:n.default.string,allowElement:n.default.func,allowedElements:n.default.arrayOf(n.default.string),disallowedElements:n.default.arrayOf(n.default.string),unwrapDisallowed:n.default.bool,remarkPlugins:n.default.arrayOf(n.default.oneOfType([n.default.object,n.default.func,n.default.arrayOf(n.default.oneOfType([n.default.bool,n.default.string,n.default.object,n.default.func,n.default.arrayOf(n.default.any)]))])),rehypePlugins:n.default.arrayOf(n.default.oneOfType([n.default.object,n.default.func,n.default.arrayOf(n.default.oneOfType([n.default.bool,n.default.string,n.default.object,n.default.func,n.default.arrayOf(n.default.any)]))])),sourcePos:n.default.bool,rawSourcePos:n.default.bool,skipHtml:n.default.bool,includeElementIndex:n.default.bool,transformLinkUri:n.default.oneOfType([n.default.func,n.default.bool]),linkTarget:n.default.oneOfType([n.default.func,n.default.string]),transformImageUri:n.default.func,components:n.default.object},exports.ReactMarkdown=p;
2
2
  //# sourceMappingURL=react-markdown.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-markdown.js","sources":["../../../../../node_modules/react-markdown/lib/react-markdown.js"],"sourcesContent":["/**\n * @typedef {import('react').ReactNode} ReactNode\n * @typedef {import('react').ReactElement<{}>} ReactElement\n * @typedef {import('unified').PluggableList} PluggableList\n * @typedef {import('hast').Root} Root\n * @typedef {import('./rehype-filter.js').Options} FilterOptions\n * @typedef {import('./ast-to-react.js').Options} TransformOptions\n *\n * @typedef CoreOptions\n * @property {string} children\n *\n * @typedef PluginOptions\n * @property {PluggableList} [remarkPlugins=[]]\n * @property {PluggableList} [rehypePlugins=[]]\n * @property {import('remark-rehype').Options | undefined} [remarkRehypeOptions={}]\n *\n * @typedef LayoutOptions\n * @property {string} [className]\n *\n * @typedef {CoreOptions & PluginOptions & LayoutOptions & FilterOptions & TransformOptions} ReactMarkdownOptions\n *\n * @typedef Deprecation\n * @property {string} id\n * @property {string} [to]\n */\n\nimport React from 'react'\nimport {VFile} from 'vfile'\nimport {unified} from 'unified'\nimport remarkParse from 'remark-parse'\nimport remarkRehype from 'remark-rehype'\nimport PropTypes from 'prop-types'\nimport {html} from 'property-information'\nimport rehypeFilter from './rehype-filter.js'\nimport {childrenToReact} from './ast-to-react.js'\n\nconst own = {}.hasOwnProperty\nconst changelog =\n 'https://github.com/remarkjs/react-markdown/blob/main/changelog.md'\n\n/** @type {Record<string, Deprecation>} */\nconst deprecated = {\n plugins: {to: 'remarkPlugins', id: 'change-plugins-to-remarkplugins'},\n renderers: {to: 'components', id: 'change-renderers-to-components'},\n astPlugins: {id: 'remove-buggy-html-in-markdown-parser'},\n allowDangerousHtml: {id: 'remove-buggy-html-in-markdown-parser'},\n escapeHtml: {id: 'remove-buggy-html-in-markdown-parser'},\n source: {to: 'children', id: 'change-source-to-children'},\n allowNode: {\n to: 'allowElement',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes'\n },\n allowedTypes: {\n to: 'allowedElements',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes'\n },\n disallowedTypes: {\n to: 'disallowedElements',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes'\n },\n includeNodeIndex: {\n to: 'includeElementIndex',\n id: 'change-includenodeindex-to-includeelementindex'\n }\n}\n\n/**\n * React component to render markdown.\n *\n * @param {ReactMarkdownOptions} options\n * @returns {ReactElement}\n */\nexport function ReactMarkdown(options) {\n for (const key in deprecated) {\n if (own.call(deprecated, key) && own.call(options, key)) {\n const deprecation = deprecated[key]\n console.warn(\n `[react-markdown] Warning: please ${\n deprecation.to ? `use \\`${deprecation.to}\\` instead of` : 'remove'\n } \\`${key}\\` (see <${changelog}#${deprecation.id}> for more info)`\n )\n delete deprecated[key]\n }\n }\n\n const processor = unified()\n .use(remarkParse)\n .use(options.remarkPlugins || [])\n .use(remarkRehype, {\n ...options.remarkRehypeOptions,\n allowDangerousHtml: true\n })\n .use(options.rehypePlugins || [])\n .use(rehypeFilter, options)\n\n const file = new VFile()\n\n if (typeof options.children === 'string') {\n file.value = options.children\n } else if (options.children !== undefined && options.children !== null) {\n console.warn(\n `[react-markdown] Warning: please pass a string as \\`children\\` (not: \\`${options.children}\\`)`\n )\n }\n\n const hastNode = processor.runSync(processor.parse(file), file)\n\n if (hastNode.type !== 'root') {\n throw new TypeError('Expected a `root` node')\n }\n\n /** @type {ReactElement} */\n let result = React.createElement(\n React.Fragment,\n {},\n childrenToReact({options, schema: html, listDepth: 0}, hastNode)\n )\n\n if (options.className) {\n result = React.createElement('div', {className: options.className}, result)\n }\n\n return result\n}\n\nReactMarkdown.propTypes = {\n // Core options:\n children: PropTypes.string,\n // Layout options:\n className: PropTypes.string,\n // Filter options:\n allowElement: PropTypes.func,\n allowedElements: PropTypes.arrayOf(PropTypes.string),\n disallowedElements: PropTypes.arrayOf(PropTypes.string),\n unwrapDisallowed: PropTypes.bool,\n // Plugin options:\n remarkPlugins: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.object,\n PropTypes.func,\n PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.string,\n PropTypes.object,\n PropTypes.func,\n PropTypes.arrayOf(\n // prettier-ignore\n // type-coverage:ignore-next-line\n PropTypes.any\n )\n ])\n )\n ])\n ),\n rehypePlugins: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.object,\n PropTypes.func,\n PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.string,\n PropTypes.object,\n PropTypes.func,\n PropTypes.arrayOf(\n // prettier-ignore\n // type-coverage:ignore-next-line\n PropTypes.any\n )\n ])\n )\n ])\n ),\n // Transform options:\n sourcePos: PropTypes.bool,\n rawSourcePos: PropTypes.bool,\n skipHtml: PropTypes.bool,\n includeElementIndex: PropTypes.bool,\n transformLinkUri: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),\n linkTarget: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n transformImageUri: PropTypes.func,\n components: PropTypes.object\n}\n"],"names":["own","hasOwnProperty","deprecated","plugins","to","id","renderers","astPlugins","allowDangerousHtml","escapeHtml","source","allowNode","allowedTypes","disallowedTypes","includeNodeIndex","ReactMarkdown","options","key","call","deprecation","console","warn","processor","unified","use","remarkParse","remarkPlugins","remarkRehype","remarkRehypeOptions","rehypePlugins","rehypeFilter","file","VFile","children","value","undefined","hastNode","runSync","parse","type","TypeError","result","React","createElement","Fragment","childrenToReact","schema","html","listDepth","className","propTypes","PropTypes","string","allowElement","func","allowedElements","arrayOf","disallowedElements","unwrapDisallowed","bool","oneOfType","object","any","sourcePos","rawSourcePos","skipHtml","includeElementIndex","transformLinkUri","linkTarget","transformImageUri","components"],"mappings":"+eAoCA,MAAMA,EAAM,CAAE,EAACC,eAKTC,EAAa,CACjBC,QAAS,CAACC,GAAI,gBAAiBC,GAAI,mCACnCC,UAAW,CAACF,GAAI,aAAcC,GAAI,kCAClCE,WAAY,CAACF,GAAI,wCACjBG,mBAAoB,CAACH,GAAI,wCACzBI,WAAY,CAACJ,GAAI,wCACjBK,OAAQ,CAACN,GAAI,WAAYC,GAAI,6BAC7BM,UAAW,CACTP,GAAI,eACJC,GAAI,sDAENO,aAAc,CACZR,GAAI,kBACJC,GAAI,sDAENQ,gBAAiB,CACfT,GAAI,qBACJC,GAAI,sDAENS,iBAAkB,CAChBV,GAAI,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AAeyB,EAAS,QAACK,QACvBL,EAAAA,QAAUS,UAAU,CAClBT,EAAAA,QAAUU,OACVV,EAAAA,QAAUG,KACVH,EAAAA,QAAUK,QACRL,EAAAA,QAAUS,UAAU,CAClBT,EAAAA,QAAUQ,KACVR,EAAAA,QAAUC,OACVD,EAAAA,QAAUU,OACVV,EAAAA,QAAUG,KACVH,EAAAA,QAAUK,QAGRL,EAAAA,QAAUW,WAMpBjC,cAAesB,EAAS,QAACK,QACvBL,EAAAA,QAAUS,UAAU,CAClBT,EAAAA,QAAUU,OACVV,EAAAA,QAAUG,KACVH,EAAAA,QAAUK,QACRL,EAAAA,QAAUS,UAAU,CAClBT,EAAAA,QAAUQ,KACVR,EAAAA,QAAUC,OACVD,EAAAA,QAAUU,OACVV,EAAAA,QAAUG,KACVH,EAAAA,QAAUK,QAGRL,EAAAA,QAAUW,WAOpBC,UAAWZ,EAAS,QAACQ,KACrBK,aAAcb,EAAS,QAACQ,KACxBM,SAAUd,EAAS,QAACQ,KACpBO,oBAAqBf,EAAS,QAACQ,KAC/BQ,iBAAkBhB,EAAS,QAACS,UAAU,CAACT,EAAS,QAACG,KAAMH,EAAAA,QAAUQ,OACjES,WAAYjB,EAAS,QAACS,UAAU,CAACT,EAAS,QAACG,KAAMH,EAAAA,QAAUC,SAC3DiB,kBAAmBlB,EAAS,QAACG,KAC7BgB,WAAYnB,EAAS,QAACU"}
1
+ {"version":3,"file":"react-markdown.js","sources":["../../../../../node_modules/react-markdown/lib/react-markdown.js"],"sourcesContent":["/**\n * @typedef {import('react').ReactNode} ReactNode\n * @typedef {import('react').ReactElement<{}>} ReactElement\n * @typedef {import('unified').PluggableList} PluggableList\n * @typedef {import('hast').Root} Root\n * @typedef {import('./rehype-filter.js').Options} FilterOptions\n * @typedef {import('./ast-to-react.js').Options} TransformOptions\n *\n * @typedef CoreOptions\n * @property {string} children\n *\n * @typedef PluginOptions\n * @property {PluggableList} [remarkPlugins=[]]\n * @property {PluggableList} [rehypePlugins=[]]\n * @property {import('remark-rehype').Options | undefined} [remarkRehypeOptions={}]\n *\n * @typedef LayoutOptions\n * @property {string} [className]\n *\n * @typedef {CoreOptions & PluginOptions & LayoutOptions & FilterOptions & TransformOptions} ReactMarkdownOptions\n *\n * @typedef Deprecation\n * @property {string} id\n * @property {string} [to]\n */\n\nimport React from 'react'\nimport {VFile} from 'vfile'\nimport {unified} from 'unified'\nimport remarkParse from 'remark-parse'\nimport remarkRehype from 'remark-rehype'\nimport PropTypes from 'prop-types'\nimport {html} from 'property-information'\nimport rehypeFilter from './rehype-filter.js'\nimport {childrenToReact} from './ast-to-react.js'\n\nconst own = {}.hasOwnProperty\nconst changelog =\n 'https://github.com/remarkjs/react-markdown/blob/main/changelog.md'\n\n/** @type {Record<string, Deprecation>} */\nconst deprecated = {\n plugins: {to: 'remarkPlugins', id: 'change-plugins-to-remarkplugins'},\n renderers: {to: 'components', id: 'change-renderers-to-components'},\n astPlugins: {id: 'remove-buggy-html-in-markdown-parser'},\n allowDangerousHtml: {id: 'remove-buggy-html-in-markdown-parser'},\n escapeHtml: {id: 'remove-buggy-html-in-markdown-parser'},\n source: {to: 'children', id: 'change-source-to-children'},\n allowNode: {\n to: 'allowElement',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes'\n },\n allowedTypes: {\n to: 'allowedElements',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes'\n },\n disallowedTypes: {\n to: 'disallowedElements',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes'\n },\n includeNodeIndex: {\n to: 'includeElementIndex',\n id: 'change-includenodeindex-to-includeelementindex'\n }\n}\n\n/**\n * React component to render markdown.\n *\n * @param {ReactMarkdownOptions} options\n * @returns {ReactElement}\n */\nexport function ReactMarkdown(options) {\n for (const key in deprecated) {\n if (own.call(deprecated, key) && own.call(options, key)) {\n const deprecation = deprecated[key]\n console.warn(\n `[react-markdown] Warning: please ${\n deprecation.to ? `use \\`${deprecation.to}\\` instead of` : 'remove'\n } \\`${key}\\` (see <${changelog}#${deprecation.id}> for more info)`\n )\n delete deprecated[key]\n }\n }\n\n const processor = unified()\n .use(remarkParse)\n .use(options.remarkPlugins || [])\n .use(remarkRehype, {\n ...options.remarkRehypeOptions,\n allowDangerousHtml: true\n })\n .use(options.rehypePlugins || [])\n .use(rehypeFilter, options)\n\n const file = new VFile()\n\n if (typeof options.children === 'string') {\n file.value = options.children\n } else if (options.children !== undefined && options.children !== null) {\n console.warn(\n `[react-markdown] Warning: please pass a string as \\`children\\` (not: \\`${options.children}\\`)`\n )\n }\n\n const hastNode = processor.runSync(processor.parse(file), file)\n\n if (hastNode.type !== 'root') {\n throw new TypeError('Expected a `root` node')\n }\n\n /** @type {ReactElement} */\n let result = React.createElement(\n React.Fragment,\n {},\n childrenToReact({options, schema: html, listDepth: 0}, hastNode)\n )\n\n if (options.className) {\n result = React.createElement('div', {className: options.className}, result)\n }\n\n return result\n}\n\nReactMarkdown.propTypes = {\n // Core options:\n children: PropTypes.string,\n // Layout options:\n className: PropTypes.string,\n // Filter options:\n allowElement: PropTypes.func,\n allowedElements: PropTypes.arrayOf(PropTypes.string),\n disallowedElements: PropTypes.arrayOf(PropTypes.string),\n unwrapDisallowed: PropTypes.bool,\n // Plugin options:\n remarkPlugins: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.object,\n PropTypes.func,\n PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.string,\n PropTypes.object,\n PropTypes.func,\n PropTypes.arrayOf(\n // prettier-ignore\n // type-coverage:ignore-next-line\n PropTypes.any\n )\n ])\n )\n ])\n ),\n rehypePlugins: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.object,\n PropTypes.func,\n PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.string,\n PropTypes.object,\n PropTypes.func,\n PropTypes.arrayOf(\n // prettier-ignore\n // type-coverage:ignore-next-line\n PropTypes.any\n )\n ])\n )\n ])\n ),\n // Transform options:\n sourcePos: PropTypes.bool,\n rawSourcePos: PropTypes.bool,\n skipHtml: PropTypes.bool,\n includeElementIndex: PropTypes.bool,\n transformLinkUri: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),\n linkTarget: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n transformImageUri: PropTypes.func,\n components: PropTypes.object\n}\n"],"names":["own","hasOwnProperty","deprecated","plugins","to","id","renderers","astPlugins","allowDangerousHtml","escapeHtml","source","allowNode","allowedTypes","disallowedTypes","includeNodeIndex","ReactMarkdown","options","key","call","deprecation","console","warn","processor","unified","use","remarkParse","remarkPlugins","remarkRehype","remarkRehypeOptions","rehypePlugins","rehypeFilter","file","VFile","children","value","undefined","hastNode","runSync","parse","type","TypeError","result","React","createElement","Fragment","childrenToReact","schema","html","listDepth","className","propTypes","PropTypes","string","allowElement","func","allowedElements","arrayOf","disallowedElements","unwrapDisallowed","bool","oneOfType","object","any","sourcePos","rawSourcePos","skipHtml","includeElementIndex","transformLinkUri","linkTarget","transformImageUri","components"],"mappings":"gfAoCA,MAAMA,EAAM,CAAE,EAACC,eAKTC,EAAa,CACjBC,QAAS,CAACC,GAAI,gBAAiBC,GAAI,mCACnCC,UAAW,CAACF,GAAI,aAAcC,GAAI,kCAClCE,WAAY,CAACF,GAAI,wCACjBG,mBAAoB,CAACH,GAAI,wCACzBI,WAAY,CAACJ,GAAI,wCACjBK,OAAQ,CAACN,GAAI,WAAYC,GAAI,6BAC7BM,UAAW,CACTP,GAAI,eACJC,GAAI,sDAENO,aAAc,CACZR,GAAI,kBACJC,GAAI,sDAENQ,gBAAiB,CACfT,GAAI,qBACJC,GAAI,sDAENS,iBAAkB,CAChBV,GAAI,sBACJC,GAAI,mDAUD,SAASU,EAAcC,GAC5B,IAAK,MAAMC,KAAOf,EAChB,GAAIF,EAAIkB,KAAKhB,EAAYe,IAAQjB,EAAIkB,KAAKF,EAASC,GAAM,CACvD,MAAME,EAAcjB,EAAWe,GAC/BG,QAAQC,KACN,oCACEF,EAAY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AUU,OACVV,EAAAA,QAAUG,KACVH,EAAAA,QAAUK,QAGRL,EAAAA,QAAUW,WAMpBjC,cAAesB,EAAS,QAACK,QACvBL,EAAAA,QAAUS,UAAU,CAClBT,EAAAA,QAAUU,OACVV,EAAAA,QAAUG,KACVH,EAAAA,QAAUK,QACRL,EAAAA,QAAUS,UAAU,CAClBT,EAAAA,QAAUQ,KACVR,EAAAA,QAAUC,OACVD,EAAAA,QAAUU,OACVV,EAAAA,QAAUG,KACVH,EAAAA,QAAUK,QAGRL,EAAAA,QAAUW,WAOpBC,UAAWZ,EAAS,QAACQ,KACrBK,aAAcb,EAAS,QAACQ,KACxBM,SAAUd,EAAS,QAACQ,KACpBO,oBAAqBf,EAAS,QAACQ,KAC/BQ,iBAAkBhB,EAAS,QAACS,UAAU,CAACT,EAAS,QAACG,KAAMH,EAAAA,QAAUQ,OACjES,WAAYjB,EAAS,QAACS,UAAU,CAACT,EAAS,QAACG,KAAMH,EAAAA,QAAUC,SAC3DiB,kBAAmBlB,EAAS,QAACG,KAC7BgB,WAAYnB,EAAS,QAACU"}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../../../../_virtual/react-is.development6.js");
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../../../../_virtual/react-is.development4.js");
2
2
  /**
3
3
  * @license React
4
4
  * react-is.development.js
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../../../../_virtual/react-is.production.min4.js");
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../../../../_virtual/react-is.production.min2.js");
2
2
  /**
3
3
  * @license React
4
4
  * react-is.production.min.js
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../../../_virtual/index29.js"),o=require("./cjs/react-is.production.min.js"),s=require("./cjs/react-is.development.js");exports.__require=function(){return e||(e=1,"production"===process.env.NODE_ENV?r.__module.exports=o.__require():r.__module.exports=s.__require()),r.__module.exports};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../../../_virtual/index26.js"),o=require("./cjs/react-is.production.min.js"),s=require("./cjs/react-is.development.js");exports.__require=function(){return e||(e=1,"production"===process.env.NODE_ENV?r.__module.exports=o.__require():r.__module.exports=s.__require()),r.__module.exports};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../@babel/runtime/helpers/esm/extends.js"),s=require("../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),n=require("../../@babel/runtime/helpers/esm/inheritsLoose.js"),t=require("../../../_virtual/index.js"),r=require("../../dom-helpers/esm/addClass.js"),a=require("../../dom-helpers/esm/removeClass.js"),o=require("react"),i=require("./Transition.js"),l=require("./utils/PropTypes.js"),u=require("./utils/reflow.js");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=p(o),f=function(e,s){return e&&s&&s.split(" ").forEach(function(s){return r.default(e,s)})},c=function(e,s){return e&&s&&s.split(" ").forEach(function(s){return a.default(e,s)})},E=function(t){function r(){for(var e,s=arguments.length,n=new Array(s),r=0;r<s;r++)n[r]=arguments[r];return(e=t.call.apply(t,[this].concat(n))||this).appliedClasses={appear:{},enter:{},exit:{}},e.onEnter=function(s,n){var t=e.resolveArguments(s,n),r=t[0],a=t[1];e.removeClasses(r,"exit"),e.addClass(r,a?"appear":"enter","base"),e.props.onEnter&&e.props.onEnter(s,n)},e.onEntering=function(s,n){var t=e.resolveArguments(s,n),r=t[0],a=t[1]?"appear":"enter";e.addClass(r,a,"active"),e.props.onEntering&&e.props.onEntering(s,n)},e.onEntered=function(s,n){var t=e.resolveArguments(s,n),r=t[0],a=t[1]?"appear":"enter";e.removeClasses(r,a),e.addClass(r,a,"done"),e.props.onEntered&&e.props.onEntered(s,n)},e.onExit=function(s){var n=e.resolveArguments(s)[0];e.removeClasses(n,"appear"),e.removeClasses(n,"enter"),e.addClass(n,"exit","base"),e.props.onExit&&e.props.onExit(s)},e.onExiting=function(s){var n=e.resolveArguments(s)[0];e.addClass(n,"exit","active"),e.props.onExiting&&e.props.onExiting(s)},e.onExited=function(s){var n=e.resolveArguments(s)[0];e.removeClasses(n,"exit"),e.addClass(n,"exit","done"),e.props.onExited&&e.props.onExited(s)},e.resolveArguments=function(s,n){return e.props.nodeRef?[e.props.nodeRef.current,s]:[s,n]},e.getClassNames=function(s){var n=e.props.classNames,t="string"==typeof n,r=t?""+(t&&n?n+"-":"")+s:n[s];return{baseClassName:r,activeClassName:t?r+"-active":n[s+"Active"],doneClassName:t?r+"-done":n[s+"Done"]}},e}n.default(r,t);var a=r.prototype;return a.addClass=function(e,s,n){var t=this.getClassNames(s)[n+"ClassName"],r=this.getClassNames("enter").doneClassName;"appear"===s&&"done"===n&&r&&(t+=" "+r),"active"===n&&e&&u.forceReflow(e),t&&(this.appliedClasses[s][n]=t,f(e,t))},a.removeClasses=function(e,s){var n=this.appliedClasses[s],t=n.base,r=n.active,a=n.done;this.appliedClasses[s]={},t&&c(e,t),r&&c(e,r),a&&c(e,a)},a.render=function(){var n=this.props;n.classNames;var t=s.default(n,["classNames"]);return d.default.createElement(i.default,e.default({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(d.default.Component);E.defaultProps={classNames:""},E.propTypes="production"!==process.env.NODE_ENV?e.default({},i.default.propTypes,{classNames:l.classNamesShape,onEnter:t.default.func,onEntering:t.default.func,onEntered:t.default.func,onExit:t.default.func,onExiting:t.default.func,onExited:t.default.func}):{},exports.default=E;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../@babel/runtime/helpers/esm/extends.js"),s=require("../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),n=require("../../@babel/runtime/helpers/esm/inheritsLoose.js"),t=require("../../../_virtual/index3.js"),r=require("../../dom-helpers/esm/addClass.js"),a=require("../../dom-helpers/esm/removeClass.js"),o=require("react"),i=require("./Transition.js"),l=require("./utils/PropTypes.js"),u=require("./utils/reflow.js");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=p(o),f=function(e,s){return e&&s&&s.split(" ").forEach(function(s){return r.default(e,s)})},c=function(e,s){return e&&s&&s.split(" ").forEach(function(s){return a.default(e,s)})},E=function(t){function r(){for(var e,s=arguments.length,n=new Array(s),r=0;r<s;r++)n[r]=arguments[r];return(e=t.call.apply(t,[this].concat(n))||this).appliedClasses={appear:{},enter:{},exit:{}},e.onEnter=function(s,n){var t=e.resolveArguments(s,n),r=t[0],a=t[1];e.removeClasses(r,"exit"),e.addClass(r,a?"appear":"enter","base"),e.props.onEnter&&e.props.onEnter(s,n)},e.onEntering=function(s,n){var t=e.resolveArguments(s,n),r=t[0],a=t[1]?"appear":"enter";e.addClass(r,a,"active"),e.props.onEntering&&e.props.onEntering(s,n)},e.onEntered=function(s,n){var t=e.resolveArguments(s,n),r=t[0],a=t[1]?"appear":"enter";e.removeClasses(r,a),e.addClass(r,a,"done"),e.props.onEntered&&e.props.onEntered(s,n)},e.onExit=function(s){var n=e.resolveArguments(s)[0];e.removeClasses(n,"appear"),e.removeClasses(n,"enter"),e.addClass(n,"exit","base"),e.props.onExit&&e.props.onExit(s)},e.onExiting=function(s){var n=e.resolveArguments(s)[0];e.addClass(n,"exit","active"),e.props.onExiting&&e.props.onExiting(s)},e.onExited=function(s){var n=e.resolveArguments(s)[0];e.removeClasses(n,"exit"),e.addClass(n,"exit","done"),e.props.onExited&&e.props.onExited(s)},e.resolveArguments=function(s,n){return e.props.nodeRef?[e.props.nodeRef.current,s]:[s,n]},e.getClassNames=function(s){var n=e.props.classNames,t="string"==typeof n,r=t?""+(t&&n?n+"-":"")+s:n[s];return{baseClassName:r,activeClassName:t?r+"-active":n[s+"Active"],doneClassName:t?r+"-done":n[s+"Done"]}},e}n.default(r,t);var a=r.prototype;return a.addClass=function(e,s,n){var t=this.getClassNames(s)[n+"ClassName"],r=this.getClassNames("enter").doneClassName;"appear"===s&&"done"===n&&r&&(t+=" "+r),"active"===n&&e&&u.forceReflow(e),t&&(this.appliedClasses[s][n]=t,f(e,t))},a.removeClasses=function(e,s){var n=this.appliedClasses[s],t=n.base,r=n.active,a=n.done;this.appliedClasses[s]={},t&&c(e,t),r&&c(e,r),a&&c(e,a)},a.render=function(){var n=this.props;n.classNames;var t=s.default(n,["classNames"]);return d.default.createElement(i.default,e.default({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(d.default.Component);E.defaultProps={classNames:""},E.propTypes="production"!==process.env.NODE_ENV?e.default({},i.default.propTypes,{classNames:l.classNamesShape,onEnter:t.default.func,onEntering:t.default.func,onEntered:t.default.func,onExit:t.default.func,onExiting:t.default.func,onExited:t.default.func}):{},exports.default=E;
2
2
  //# sourceMappingURL=CSSTransition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CSSTransition.js","sources":["../../../../../node_modules/react-transition-group/esm/CSSTransition.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport addOneClass from 'dom-helpers/addClass';\nimport removeOneClass from 'dom-helpers/removeClass';\nimport React from 'react';\nimport Transition from './Transition';\nimport { classNamesShape } from './utils/PropTypes';\nimport { forceReflow } from './utils/reflow';\n\nvar _addClass = function addClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return addOneClass(node, c);\n });\n};\n\nvar removeClass = function removeClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return removeOneClass(node, c);\n });\n};\n/**\n * A transition component inspired by the excellent\n * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should\n * use it if you're using CSS transitions or animations. It's built upon the\n * [`Transition`](https://reactcommunity.org/react-transition-group/transition)\n * component, so it inherits all of its props.\n *\n * `CSSTransition` applies a pair of class names during the `appear`, `enter`,\n * and `exit` states of the transition. The first class is applied and then a\n * second `*-active` class in order to activate the CSS transition. After the\n * transition, matching `*-done` class names are applied to persist the\n * transition state.\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <CSSTransition in={inProp} timeout={200} classNames=\"my-node\">\n * <div>\n * {\"I'll receive my-node-* classes\"}\n * </div>\n * </CSSTransition>\n * <button type=\"button\" onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n * opacity: 0;\n * }\n * .my-node-enter-active {\n * opacity: 1;\n * transition: opacity 200ms;\n * }\n * .my-node-exit {\n * opacity: 1;\n * }\n * .my-node-exit-active {\n * opacity: 0;\n * transition: opacity 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**, so it's\n * important to add `transition` declaration only to them, otherwise transitions\n * might not behave as intended! This might not be obvious when the transitions\n * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in\n * the example above (minus `transition`), but it becomes apparent in more\n * complex transitions.\n *\n * **Note**: If you're using the\n * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)\n * prop, make sure to define styles for `.appear-*` classes as well.\n */\n\n\nvar CSSTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(CSSTransition, _React$Component);\n\n function CSSTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.appliedClasses = {\n appear: {},\n enter: {},\n exit: {}\n };\n\n _this.onEnter = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument[0],\n appearing = _this$resolveArgument[1];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, appearing ? 'appear' : 'enter', 'base');\n\n if (_this.props.onEnter) {\n _this.props.onEnter(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntering = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument2[0],\n appearing = _this$resolveArgument2[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.addClass(node, type, 'active');\n\n if (_this.props.onEntering) {\n _this.props.onEntering(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntered = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument3[0],\n appearing = _this$resolveArgument3[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.removeClasses(node, type);\n\n _this.addClass(node, type, 'done');\n\n if (_this.props.onEntered) {\n _this.props.onEntered(maybeNode, maybeAppearing);\n }\n };\n\n _this.onExit = function (maybeNode) {\n var _this$resolveArgument4 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument4[0];\n\n _this.removeClasses(node, 'appear');\n\n _this.removeClasses(node, 'enter');\n\n _this.addClass(node, 'exit', 'base');\n\n if (_this.props.onExit) {\n _this.props.onExit(maybeNode);\n }\n };\n\n _this.onExiting = function (maybeNode) {\n var _this$resolveArgument5 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument5[0];\n\n _this.addClass(node, 'exit', 'active');\n\n if (_this.props.onExiting) {\n _this.props.onExiting(maybeNode);\n }\n };\n\n _this.onExited = function (maybeNode) {\n var _this$resolveArgument6 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument6[0];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, 'exit', 'done');\n\n if (_this.props.onExited) {\n _this.props.onExited(maybeNode);\n }\n };\n\n _this.resolveArguments = function (maybeNode, maybeAppearing) {\n return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`\n : [maybeNode, maybeAppearing];\n };\n\n _this.getClassNames = function (type) {\n var classNames = _this.props.classNames;\n var isStringClassNames = typeof classNames === 'string';\n var prefix = isStringClassNames && classNames ? classNames + \"-\" : '';\n var baseClassName = isStringClassNames ? \"\" + prefix + type : classNames[type];\n var activeClassName = isStringClassNames ? baseClassName + \"-active\" : classNames[type + \"Active\"];\n var doneClassName = isStringClassNames ? baseClassName + \"-done\" : classNames[type + \"Done\"];\n return {\n baseClassName: baseClassName,\n activeClassName: activeClassName,\n doneClassName: doneClassName\n };\n };\n\n return _this;\n }\n\n var _proto = CSSTransition.prototype;\n\n _proto.addClass = function addClass(node, type, phase) {\n var className = this.getClassNames(type)[phase + \"ClassName\"];\n\n var _this$getClassNames = this.getClassNames('enter'),\n doneClassName = _this$getClassNames.doneClassName;\n\n if (type === 'appear' && phase === 'done' && doneClassName) {\n className += \" \" + doneClassName;\n } // This is to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n\n\n if (phase === 'active') {\n if (node) forceReflow(node);\n }\n\n if (className) {\n this.appliedClasses[type][phase] = className;\n\n _addClass(node, className);\n }\n };\n\n _proto.removeClasses = function removeClasses(node, type) {\n var _this$appliedClasses$ = this.appliedClasses[type],\n baseClassName = _this$appliedClasses$.base,\n activeClassName = _this$appliedClasses$.active,\n doneClassName = _this$appliedClasses$.done;\n this.appliedClasses[type] = {};\n\n if (baseClassName) {\n removeClass(node, baseClassName);\n }\n\n if (activeClassName) {\n removeClass(node, activeClassName);\n }\n\n if (doneClassName) {\n removeClass(node, doneClassName);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n _ = _this$props.classNames,\n props = _objectWithoutPropertiesLoose(_this$props, [\"classNames\"]);\n\n return /*#__PURE__*/React.createElement(Transition, _extends({}, props, {\n onEnter: this.onEnter,\n onEntered: this.onEntered,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }));\n };\n\n return CSSTransition;\n}(React.Component);\n\nCSSTransition.defaultProps = {\n classNames: ''\n};\nCSSTransition.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({}, Transition.propTypes, {\n /**\n * The animation classNames applied to the component as it appears, enters,\n * exits or has finished the transition. A single name can be provided, which\n * will be suffixed for each stage, e.g. `classNames=\"fade\"` applies:\n *\n * - `fade-appear`, `fade-appear-active`, `fade-appear-done`\n * - `fade-enter`, `fade-enter-active`, `fade-enter-done`\n * - `fade-exit`, `fade-exit-active`, `fade-exit-done`\n *\n * A few details to note about how these classes are applied:\n *\n * 1. They are _joined_ with the ones that are already defined on the child\n * component, so if you want to add some base styles, you can use\n * `className` without worrying that it will be overridden.\n *\n * 2. If the transition component mounts with `in={false}`, no classes are\n * applied yet. You might be expecting `*-exit-done`, but if you think\n * about it, a component cannot finish exiting if it hasn't entered yet.\n *\n * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This\n * allows you to define different behavior for when appearing is done and\n * when regular entering is done, using selectors like\n * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply\n * an epic entrance animation when element first appears in the DOM using\n * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can\n * simply use `fade-enter-done` for defining both cases.\n *\n * Each individual classNames can also be specified independently like:\n *\n * ```js\n * classNames={{\n * appear: 'my-appear',\n * appearActive: 'my-active-appear',\n * appearDone: 'my-done-appear',\n * enter: 'my-enter',\n * enterActive: 'my-active-enter',\n * enterDone: 'my-done-enter',\n * exit: 'my-exit',\n * exitActive: 'my-active-exit',\n * exitDone: 'my-done-exit',\n * }}\n * ```\n *\n * If you want to set these classes using CSS Modules:\n *\n * ```js\n * import styles from './styles.css';\n * ```\n *\n * you might want to use camelCase in your CSS file, that way could simply\n * spread them instead of listing them one by one:\n *\n * ```js\n * classNames={{ ...styles }}\n * ```\n *\n * @type {string | {\n * appear?: string,\n * appearActive?: string,\n * appearDone?: string,\n * enter?: string,\n * enterActive?: string,\n * enterDone?: string,\n * exit?: string,\n * exitActive?: string,\n * exitDone?: string,\n * }}\n */\n classNames: classNamesShape,\n\n /**\n * A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEnter: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'enter-active' or\n * 'appear-active' class is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'enter' or\n * 'appear' classes are **removed** and the `done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntered: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'exit' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExit: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'exit-active' is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExiting: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'exit' classes\n * are **removed** and the `exit-done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExited: PropTypes.func\n}) : {};\nexport default CSSTransition;"],"names":["_addClass","node","classes","split","forEach","c","addOneClass","removeClass","removeOneClass","CSSTransition","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","this","concat","appliedClasses","appear","enter","exit","onEnter","maybeNode","maybeAppearing","_this$resolveArgument","resolveArguments","appearing","removeClasses","addClass","props","onEntering","_this$resolveArgument2","type","onEntered","_this$resolveArgument3","onExit","onExiting","onExited","nodeRef","current","getClassNames","classNames","isStringClassNames","baseClassName","activeClassName","doneClassName","_inheritsLoose","_proto","prototype","phase","className","forceReflow","_this$appliedClasses$","base","active","done","render","_this$props","_objectWithoutPropertiesLoose","React","createElement","Transition","_extends","Component","defaultProps","propTypes","process","env","NODE_ENV","classNamesShape","PropTypes","func"],"mappings":"2lBAWIA,EAAY,SAAkBC,EAAMC,GACtC,OAAOD,GAAQC,GAAWA,EAAQC,MAAM,KAAKC,QAAQ,SAAUC,GAC7D,OAAOC,EAAW,QAACL,EAAMI,EAC7B,EACA,EAEIE,EAAc,SAAqBN,EAAMC,GAC3C,OAAOD,GAAQC,GAAWA,EAAQC,MAAM,KAAKC,QAAQ,SAAUC,GAC7D,OAAOG,EAAc,QAACP,EAAMI,EAChC,EACA,EAwEII,EAA6B,SAAUC,GAGzC,SAASD,IAGP,IAFA,IAAIE,EAEKC,EAAOC,UAAUC,OAAQC,EAAO,IAAIC,MAAMJ,GAAOK,EAAO,EAAGA,EAAOL,EAAMK,IAC/EF,EAAKE,GAAQJ,UAAUI,GAgHzB,OA7GAN,EAAQD,EAAiBQ,KAAKC,MAAMT,EAAkB,CAACU,MAAMC,OAAON,KAAUK,MACxEE,eAAiB,CACrBC,OAAQ,CAAE,EACVC,MAAO,CAAE,EACTC,KAAM,CAAE,GAGVd,EAAMe,QAAU,SAAUC,EAAWC,GACnC,IAAIC,EAAwBlB,EAAMmB,iBAAiBH,EAAWC,GAC1D3B,EAAO4B,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EAEEE,EAAOS,OAAS,WACX,IAACC,EAAc1C,KAAKc,MACf4B,EAAYhB,WAChB,IAAAZ,EAAQ6B,EAA6B,QAACD,EAAa,CAAC,eAExD,OAAoBE,EAAAA,QAAMC,cAAcC,EAAAA,QAAYC,EAAAA,QAAS,CAAA,EAAIjC,EAAO,CACtER,QAASN,KAAKM,QACdY,UAAWlB,KAAKkB,UAChBH,WAAYf,KAAKe,WACjBK,OAAQpB,KAAKoB,OACbC,UAAWrB,KAAKqB,UAChBC,SAAUtB,KAAKsB,WAErB,EAESjC,CACT,CAvLiC,CAuL/BuD,EAAAA,QAAMI,WAER3D,EAAc4D,aAAe,CAC3BvB,WAAY,IAEdrC,EAAc6D,UAAqC,eAAzBC,QAAQC,IAAIC,SAA4BN,UAAS,CAAA,EAAID,EAAU,QAACI,UAAW,CAqEnGxB,WAAY4B,EAAeA,gBAU3BhD,QAASiD,EAAS,QAACC,KAUnBzC,WAAYwC,EAAS,QAACC,KAUtBtC,UAAWqC,EAAS,QAACC,KAUrBpC,OAAQmC,EAAS,QAACC,KASlBnC,UAAWkC,EAAS,QAACC,KAUrBlC,SAAUiC,EAAS,QAACC,OACjB,CAAE"}
1
+ {"version":3,"file":"CSSTransition.js","sources":["../../../../../node_modules/react-transition-group/esm/CSSTransition.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport addOneClass from 'dom-helpers/addClass';\nimport removeOneClass from 'dom-helpers/removeClass';\nimport React from 'react';\nimport Transition from './Transition';\nimport { classNamesShape } from './utils/PropTypes';\nimport { forceReflow } from './utils/reflow';\n\nvar _addClass = function addClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return addOneClass(node, c);\n });\n};\n\nvar removeClass = function removeClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return removeOneClass(node, c);\n });\n};\n/**\n * A transition component inspired by the excellent\n * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should\n * use it if you're using CSS transitions or animations. It's built upon the\n * [`Transition`](https://reactcommunity.org/react-transition-group/transition)\n * component, so it inherits all of its props.\n *\n * `CSSTransition` applies a pair of class names during the `appear`, `enter`,\n * and `exit` states of the transition. The first class is applied and then a\n * second `*-active` class in order to activate the CSS transition. After the\n * transition, matching `*-done` class names are applied to persist the\n * transition state.\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <CSSTransition in={inProp} timeout={200} classNames=\"my-node\">\n * <div>\n * {\"I'll receive my-node-* classes\"}\n * </div>\n * </CSSTransition>\n * <button type=\"button\" onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n * opacity: 0;\n * }\n * .my-node-enter-active {\n * opacity: 1;\n * transition: opacity 200ms;\n * }\n * .my-node-exit {\n * opacity: 1;\n * }\n * .my-node-exit-active {\n * opacity: 0;\n * transition: opacity 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**, so it's\n * important to add `transition` declaration only to them, otherwise transitions\n * might not behave as intended! This might not be obvious when the transitions\n * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in\n * the example above (minus `transition`), but it becomes apparent in more\n * complex transitions.\n *\n * **Note**: If you're using the\n * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)\n * prop, make sure to define styles for `.appear-*` classes as well.\n */\n\n\nvar CSSTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(CSSTransition, _React$Component);\n\n function CSSTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.appliedClasses = {\n appear: {},\n enter: {},\n exit: {}\n };\n\n _this.onEnter = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument[0],\n appearing = _this$resolveArgument[1];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, appearing ? 'appear' : 'enter', 'base');\n\n if (_this.props.onEnter) {\n _this.props.onEnter(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntering = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument2[0],\n appearing = _this$resolveArgument2[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.addClass(node, type, 'active');\n\n if (_this.props.onEntering) {\n _this.props.onEntering(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntered = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument3[0],\n appearing = _this$resolveArgument3[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.removeClasses(node, type);\n\n _this.addClass(node, type, 'done');\n\n if (_this.props.onEntered) {\n _this.props.onEntered(maybeNode, maybeAppearing);\n }\n };\n\n _this.onExit = function (maybeNode) {\n var _this$resolveArgument4 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument4[0];\n\n _this.removeClasses(node, 'appear');\n\n _this.removeClasses(node, 'enter');\n\n _this.addClass(node, 'exit', 'base');\n\n if (_this.props.onExit) {\n _this.props.onExit(maybeNode);\n }\n };\n\n _this.onExiting = function (maybeNode) {\n var _this$resolveArgument5 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument5[0];\n\n _this.addClass(node, 'exit', 'active');\n\n if (_this.props.onExiting) {\n _this.props.onExiting(maybeNode);\n }\n };\n\n _this.onExited = function (maybeNode) {\n var _this$resolveArgument6 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument6[0];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, 'exit', 'done');\n\n if (_this.props.onExited) {\n _this.props.onExited(maybeNode);\n }\n };\n\n _this.resolveArguments = function (maybeNode, maybeAppearing) {\n return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`\n : [maybeNode, maybeAppearing];\n };\n\n _this.getClassNames = function (type) {\n var classNames = _this.props.classNames;\n var isStringClassNames = typeof classNames === 'string';\n var prefix = isStringClassNames && classNames ? classNames + \"-\" : '';\n var baseClassName = isStringClassNames ? \"\" + prefix + type : classNames[type];\n var activeClassName = isStringClassNames ? baseClassName + \"-active\" : classNames[type + \"Active\"];\n var doneClassName = isStringClassNames ? baseClassName + \"-done\" : classNames[type + \"Done\"];\n return {\n baseClassName: baseClassName,\n activeClassName: activeClassName,\n doneClassName: doneClassName\n };\n };\n\n return _this;\n }\n\n var _proto = CSSTransition.prototype;\n\n _proto.addClass = function addClass(node, type, phase) {\n var className = this.getClassNames(type)[phase + \"ClassName\"];\n\n var _this$getClassNames = this.getClassNames('enter'),\n doneClassName = _this$getClassNames.doneClassName;\n\n if (type === 'appear' && phase === 'done' && doneClassName) {\n className += \" \" + doneClassName;\n } // This is to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n\n\n if (phase === 'active') {\n if (node) forceReflow(node);\n }\n\n if (className) {\n this.appliedClasses[type][phase] = className;\n\n _addClass(node, className);\n }\n };\n\n _proto.removeClasses = function removeClasses(node, type) {\n var _this$appliedClasses$ = this.appliedClasses[type],\n baseClassName = _this$appliedClasses$.base,\n activeClassName = _this$appliedClasses$.active,\n doneClassName = _this$appliedClasses$.done;\n this.appliedClasses[type] = {};\n\n if (baseClassName) {\n removeClass(node, baseClassName);\n }\n\n if (activeClassName) {\n removeClass(node, activeClassName);\n }\n\n if (doneClassName) {\n removeClass(node, doneClassName);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n _ = _this$props.classNames,\n props = _objectWithoutPropertiesLoose(_this$props, [\"classNames\"]);\n\n return /*#__PURE__*/React.createElement(Transition, _extends({}, props, {\n onEnter: this.onEnter,\n onEntered: this.onEntered,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }));\n };\n\n return CSSTransition;\n}(React.Component);\n\nCSSTransition.defaultProps = {\n classNames: ''\n};\nCSSTransition.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({}, Transition.propTypes, {\n /**\n * The animation classNames applied to the component as it appears, enters,\n * exits or has finished the transition. A single name can be provided, which\n * will be suffixed for each stage, e.g. `classNames=\"fade\"` applies:\n *\n * - `fade-appear`, `fade-appear-active`, `fade-appear-done`\n * - `fade-enter`, `fade-enter-active`, `fade-enter-done`\n * - `fade-exit`, `fade-exit-active`, `fade-exit-done`\n *\n * A few details to note about how these classes are applied:\n *\n * 1. They are _joined_ with the ones that are already defined on the child\n * component, so if you want to add some base styles, you can use\n * `className` without worrying that it will be overridden.\n *\n * 2. If the transition component mounts with `in={false}`, no classes are\n * applied yet. You might be expecting `*-exit-done`, but if you think\n * about it, a component cannot finish exiting if it hasn't entered yet.\n *\n * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This\n * allows you to define different behavior for when appearing is done and\n * when regular entering is done, using selectors like\n * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply\n * an epic entrance animation when element first appears in the DOM using\n * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can\n * simply use `fade-enter-done` for defining both cases.\n *\n * Each individual classNames can also be specified independently like:\n *\n * ```js\n * classNames={{\n * appear: 'my-appear',\n * appearActive: 'my-active-appear',\n * appearDone: 'my-done-appear',\n * enter: 'my-enter',\n * enterActive: 'my-active-enter',\n * enterDone: 'my-done-enter',\n * exit: 'my-exit',\n * exitActive: 'my-active-exit',\n * exitDone: 'my-done-exit',\n * }}\n * ```\n *\n * If you want to set these classes using CSS Modules:\n *\n * ```js\n * import styles from './styles.css';\n * ```\n *\n * you might want to use camelCase in your CSS file, that way could simply\n * spread them instead of listing them one by one:\n *\n * ```js\n * classNames={{ ...styles }}\n * ```\n *\n * @type {string | {\n * appear?: string,\n * appearActive?: string,\n * appearDone?: string,\n * enter?: string,\n * enterActive?: string,\n * enterDone?: string,\n * exit?: string,\n * exitActive?: string,\n * exitDone?: string,\n * }}\n */\n classNames: classNamesShape,\n\n /**\n * A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEnter: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'enter-active' or\n * 'appear-active' class is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'enter' or\n * 'appear' classes are **removed** and the `done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntered: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'exit' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExit: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'exit-active' is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExiting: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'exit' classes\n * are **removed** and the `exit-done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExited: PropTypes.func\n}) : {};\nexport default CSSTransition;"],"names":["_addClass","node","classes","split","forEach","c","addOneClass","removeClass","removeOneClass","CSSTransition","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","this","concat","appliedClasses","appear","enter","exit","onEnter","maybeNode","maybeAppearing","_this$resolveArgument","resolveArguments","appearing","removeClasses","addClass","props","onEntering","_this$resolveArgument2","type","onEntered","_this$resolveArgument3","onExit","onExiting","onExited","nodeRef","current","getClassNames","classNames","isStringClassNames","baseClassName","activeClassName","doneClassName","_inheritsLoose","_proto","prototype","phase","className","forceReflow","_this$appliedClasses$","base","active","done","render","_this$props","_objectWithoutPropertiesLoose","React","createElement","Transition","_extends","Component","defaultProps","propTypes","process","env","NODE_ENV","classNamesShape","PropTypes","func"],"mappings":"4lBAWIA,EAAY,SAAkBC,EAAMC,GACtC,OAAOD,GAAQC,GAAWA,EAAQC,MAAM,KAAKC,QAAQ,SAAUC,GAC7D,OAAOC,EAAW,QAACL,EAAMI,EAC7B,EACA,EAEIE,EAAc,SAAqBN,EAAMC,GAC3C,OAAOD,GAAQC,GAAWA,EAAQC,MAAM,KAAKC,QAAQ,SAAUC,GAC7D,OAAOG,EAAc,QAACP,EAAMI,EAChC,EACA,EAwEII,EAA6B,SAAUC,GAGzC,SAASD,IAGP,IAFA,IAAIE,EAEKC,EAAOC,UAAUC,OAAQC,EAAO,IAAIC,MAAMJ,GAAOK,EAAO,EAAGA,EAAOL,EAAMK,IAC/EF,EAAKE,GAAQJ,UAAUI,GAgHzB,OA7GAN,EAAQD,EAAiBQ,KAAKC,MAAMT,EAAkB,CAACU,MAAMC,OAAON,KAAUK,MACxEE,eAAiB,CACrBC,OAAQ,CAAE,EACVC,MAAO,CAAE,EACTC,KAAM,CAAE,GAGVd,EAAMe,QAAU,SAAUC,EAAWC,GAC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BC,GACF1C,EAAYN,EAAMgD,GAGhBC,GACF3C,EAAYN,EAAMiD,EAExB,EAEEE,EAAOS,OAAS,WACX,IAACC,EAAc1C,KAAKc,MACf4B,EAAYhB,WAChB,IAAAZ,EAAQ6B,EAA6B,QAACD,EAAa,CAAC,eAExD,OAAoBE,EAAAA,QAAMC,cAAcC,EAAAA,QAAYC,EAAAA,QAAS,CAAA,EAAIjC,EAAO,CACtER,QAASN,KAAKM,QACdY,UAAWlB,KAAKkB,UAChBH,WAAYf,KAAKe,WACjBK,OAAQpB,KAAKoB,OACbC,UAAWrB,KAAKqB,UAChBC,SAAUtB,KAAKsB,WAErB,EAESjC,CACT,CAvLiC,CAuL/BuD,EAAAA,QAAMI,WAER3D,EAAc4D,aAAe,CAC3BvB,WAAY,IAEdrC,EAAc6D,UAAqC,eAAzBC,QAAQC,IAAIC,SAA4BN,UAAS,CAAA,EAAID,EAAU,QAACI,UAAW,CAqEnGxB,WAAY4B,EAAeA,gBAU3BhD,QAASiD,EAAS,QAACC,KAUnBzC,WAAYwC,EAAS,QAACC,KAUtBtC,UAAWqC,EAAS,QAACC,KAUrBpC,OAAQmC,EAAS,QAACC,KASlBnC,UAAWkC,EAAS,QAACC,KAUrBlC,SAAUiC,EAAS,QAACC,OACjB,CAAE"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),n=require("../../@babel/runtime/helpers/esm/inheritsLoose.js"),r=require("../../../_virtual/index.js"),t=require("react"),i=require("react-dom"),o=require("./TransitionGroup.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=l(t),d=l(i),u=function(r){function t(){for(var e,n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];return(e=r.call.apply(r,[this].concat(t))||this).handleEnter=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onEnter",0,r)},e.handleEntering=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onEntering",0,r)},e.handleEntered=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onEntered",0,r)},e.handleExit=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onExit",1,r)},e.handleExiting=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onExiting",1,r)},e.handleExited=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onExited",1,r)},e}n.default(t,r);var i=t.prototype;return i.handleLifecycle=function(e,n,r){var t,i=this.props.children,o=a.default.Children.toArray(i)[n];if(o.props[e]&&(t=o.props)[e].apply(t,r),this.props[e]){var l=o.props.nodeRef?void 0:d.default.findDOMNode(this);this.props[e](l)}},i.render=function(){var n=this.props,r=n.children,t=n.in,i=e.default(n,["children","in"]),l=a.default.Children.toArray(r),d=l[0],u=l[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,a.default.createElement(o.default,i,t?a.default.cloneElement(d,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):a.default.cloneElement(u,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(a.default.Component);u.propTypes="production"!==process.env.NODE_ENV?{in:r.default.bool.isRequired,children:function(e,n){return 2!==a.default.Children.count(e[n])?new Error('"'+n+'" must be exactly two transition components.'):null}}:{},exports.default=u;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),n=require("../../@babel/runtime/helpers/esm/inheritsLoose.js"),r=require("../../../_virtual/index3.js"),t=require("react"),i=require("react-dom"),o=require("./TransitionGroup.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=l(t),d=l(i),u=function(r){function t(){for(var e,n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];return(e=r.call.apply(r,[this].concat(t))||this).handleEnter=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onEnter",0,r)},e.handleEntering=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onEntering",0,r)},e.handleEntered=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onEntered",0,r)},e.handleExit=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onExit",1,r)},e.handleExiting=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onExiting",1,r)},e.handleExited=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.handleLifecycle("onExited",1,r)},e}n.default(t,r);var i=t.prototype;return i.handleLifecycle=function(e,n,r){var t,i=this.props.children,o=a.default.Children.toArray(i)[n];if(o.props[e]&&(t=o.props)[e].apply(t,r),this.props[e]){var l=o.props.nodeRef?void 0:d.default.findDOMNode(this);this.props[e](l)}},i.render=function(){var n=this.props,r=n.children,t=n.in,i=e.default(n,["children","in"]),l=a.default.Children.toArray(r),d=l[0],u=l[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,a.default.createElement(o.default,i,t?a.default.cloneElement(d,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):a.default.cloneElement(u,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(a.default.Component);u.propTypes="production"!==process.env.NODE_ENV?{in:r.default.bool.isRequired,children:function(e,n){return 2!==a.default.Children.count(e[n])?new Error('"'+n+'" must be exactly two transition components.'):null}}:{},exports.default=u;
2
2
  //# sourceMappingURL=ReplaceTransition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReplaceTransition.js","sources":["../../../../../node_modules/react-transition-group/esm/ReplaceTransition.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport TransitionGroup from './TransitionGroup';\n/**\n * The `<ReplaceTransition>` component is a specialized `Transition` component\n * that animates between two children.\n *\n * ```jsx\n * <ReplaceTransition in>\n * <Fade><div>I appear first</div></Fade>\n * <Fade><div>I replace the above</div></Fade>\n * </ReplaceTransition>\n * ```\n */\n\nvar ReplaceTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(ReplaceTransition, _React$Component);\n\n function ReplaceTransition() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this;\n\n _this.handleEnter = function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return _this.handleLifecycle('onEnter', 0, args);\n };\n\n _this.handleEntering = function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n return _this.handleLifecycle('onEntering', 0, args);\n };\n\n _this.handleEntered = function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n return _this.handleLifecycle('onEntered', 0, args);\n };\n\n _this.handleExit = function () {\n for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n return _this.handleLifecycle('onExit', 1, args);\n };\n\n _this.handleExiting = function () {\n for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n return _this.handleLifecycle('onExiting', 1, args);\n };\n\n _this.handleExited = function () {\n for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n\n return _this.handleLifecycle('onExited', 1, args);\n };\n\n return _this;\n }\n\n var _proto = ReplaceTransition.prototype;\n\n _proto.handleLifecycle = function handleLifecycle(handler, idx, originalArgs) {\n var _child$props;\n\n var children = this.props.children;\n var child = React.Children.toArray(children)[idx];\n if (child.props[handler]) (_child$props = child.props)[handler].apply(_child$props, originalArgs);\n\n if (this.props[handler]) {\n var maybeNode = child.props.nodeRef ? undefined : ReactDOM.findDOMNode(this);\n this.props[handler](maybeNode);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n inProp = _this$props.in,\n props = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\"]);\n\n var _React$Children$toArr = React.Children.toArray(children),\n first = _React$Children$toArr[0],\n second = _React$Children$toArr[1];\n\n delete props.onEnter;\n delete props.onEntering;\n delete props.onEntered;\n delete props.onExit;\n delete props.onExiting;\n delete props.onExited;\n return /*#__PURE__*/React.createElement(TransitionGroup, props, inProp ? React.cloneElement(first, {\n key: 'first',\n onEnter: this.handleEnter,\n onEntering: this.handleEntering,\n onEntered: this.handleEntered\n }) : React.cloneElement(second, {\n key: 'second',\n onEnter: this.handleExit,\n onEntering: this.handleExiting,\n onEntered: this.handleExited\n }));\n };\n\n return ReplaceTransition;\n}(React.Component);\n\nReplaceTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n in: PropTypes.bool.isRequired,\n children: function children(props, propName) {\n if (React.Children.count(props[propName]) !== 2) return new Error(\"\\\"\" + propName + \"\\\" must be exactly two transition components.\");\n return null;\n }\n} : {};\nexport default ReplaceTransition;"],"names":["ReplaceTransition","_React$Component","_this","_len","arguments","length","_args","Array","_key","call","apply","this","concat","handleEnter","_len2","args","_key2","handleLifecycle","handleEntering","_len3","_key3","handleEntered","_len4","_key4","handleExit","_len5","_key5","handleExiting","_len6","_key6","handleExited","_len7","_key7","_inheritsLoose","_proto","prototype","handler","idx","originalArgs","_child$props","children","props","child","React","Children","toArray","maybeNode","nodeRef","undefined","ReactDOM","findDOMNode","render","_this$props","inProp","in","_objectWithoutPropertiesLoose","_React$Children$toArr","first","second","onEnter","onEntering","onEntered","onExit","onExiting","onExited","createElement","TransitionGroup","cloneElement","key","Component","propTypes","process","env","NODE_ENV","PropTypes","bool","isRequired","propName","count","Error"],"mappings":"maAkBIA,EAAiC,SAAUC,GAG7C,SAASD,IAGP,IAFA,IAAIE,EAEKC,EAAOC,UAAUC,OAAQC,EAAQ,IAAIC,MAAMJ,GAAOK,EAAO,EAAGA,EAAOL,EAAMK,IAChFF,EAAME,GAAQJ,UAAUI,GAqD1B,OAlDAN,EAAQD,EAAiBQ,KAAKC,MAAMT,EAAkB,CAACU,MAAMC,OAAON,KAAWK,MAEzEE,YAAc,WAClB,IAAK,IAAIC,EAAQV,UAAUC,OAAQU,EAAO,IAAIR,MAAMO,GAAQE,EAAQ,EAAGA,EAAQF,EAAOE,IACpFD,EAAKC,GAASZ,UAAUY,GAG1B,OAAOd,EAAMe,gBAAgB,UAAW,EAAGF,EACjD,EAEIb,EAAMgB,eAAiB,WACrB,IAAK,IAAIC,EAAQf,UAAUC,OAAQU,EAAO,IAAIR,MAAMY,GAAQC,EAAQ,EAAGA,EAAQD,EAAOC,IACpFL,EAAKK,GAAShB,UAAUgB,GAG1B,OAAOlB,EAAMe,gBAAgB,aAAc,EAAGF,EACpD,EAEIb,EAAMmB,cAAgB,WACpB,IAAK,IAAIC,EAAQlB,UAAUC,OAAQU,EAAO,IAAIR,MAAMe,GAAQC,EAAQ,EAAGA,EAAQD,EAA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YE,GACrBb,EAAQc,EAA6B,QAACH,EAAa,CAAC,WAAY,OAEhEI,EAAwBb,EAAK,QAACC,SAASC,QAAQL,GAC/CiB,EAAQD,EAAsB,GAC9BE,EAASF,EAAsB,GAQnC,cANOf,EAAMkB,eACNlB,EAAMmB,kBACNnB,EAAMoB,iBACNpB,EAAMqB,cACNrB,EAAMsB,iBACNtB,EAAMuB,SACOrB,EAAK,QAACsB,cAAcC,UAAiBzB,EAAOY,EAASV,EAAK,QAACwB,aAAaV,EAAO,CACjGW,IAAK,QACLT,QAAShD,KAAKE,YACd+C,WAAYjD,KAAKO,eACjB2C,UAAWlD,KAAKU,gBACbsB,EAAAA,QAAMwB,aAAaT,EAAQ,CAC9BU,IAAK,SACLT,QAAShD,KAAKa,WACdoC,WAAYjD,KAAKgB,cACjBkC,UAAWlD,KAAKmB,eAEtB,EAES9B,CACT,CA5GqC,CA4GnC2C,EAAAA,QAAM0B,WAERrE,EAAkBsE,UAAqC,eAAzBC,QAAQC,IAAIC,SAA4B,CACpEnB,GAAIoB,EAAAA,QAAUC,KAAKC,WACnBpC,SAAU,SAAkBC,EAAOoC,GACjC,OAA8C,IAA1ClC,EAAK,QAACC,SAASkC,MAAMrC,EAAMoC,IAAyB,IAAIE,MAAM,IAAOF,EAAW,gDAC7E,IACR,GACC,CAAE"}
1
+ {"version":3,"file":"ReplaceTransition.js","sources":["../../../../../node_modules/react-transition-group/esm/ReplaceTransition.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport TransitionGroup from './TransitionGroup';\n/**\n * The `<ReplaceTransition>` component is a specialized `Transition` component\n * that animates between two children.\n *\n * ```jsx\n * <ReplaceTransition in>\n * <Fade><div>I appear first</div></Fade>\n * <Fade><div>I replace the above</div></Fade>\n * </ReplaceTransition>\n * ```\n */\n\nvar ReplaceTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(ReplaceTransition, _React$Component);\n\n function ReplaceTransition() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this;\n\n _this.handleEnter = function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return _this.handleLifecycle('onEnter', 0, args);\n };\n\n _this.handleEntering = function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n return _this.handleLifecycle('onEntering', 0, args);\n };\n\n _this.handleEntered = function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n return _this.handleLifecycle('onEntered', 0, args);\n };\n\n _this.handleExit = function () {\n for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n return _this.handleLifecycle('onExit', 1, args);\n };\n\n _this.handleExiting = function () {\n for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n return _this.handleLifecycle('onExiting', 1, args);\n };\n\n _this.handleExited = function () {\n for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n\n return _this.handleLifecycle('onExited', 1, args);\n };\n\n return _this;\n }\n\n var _proto = ReplaceTransition.prototype;\n\n _proto.handleLifecycle = function handleLifecycle(handler, idx, originalArgs) {\n var _child$props;\n\n var children = this.props.children;\n var child = React.Children.toArray(children)[idx];\n if (child.props[handler]) (_child$props = child.props)[handler].apply(_child$props, originalArgs);\n\n if (this.props[handler]) {\n var maybeNode = child.props.nodeRef ? undefined : ReactDOM.findDOMNode(this);\n this.props[handler](maybeNode);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n inProp = _this$props.in,\n props = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\"]);\n\n var _React$Children$toArr = React.Children.toArray(children),\n first = _React$Children$toArr[0],\n second = _React$Children$toArr[1];\n\n delete props.onEnter;\n delete props.onEntering;\n delete props.onEntered;\n delete props.onExit;\n delete props.onExiting;\n delete props.onExited;\n return /*#__PURE__*/React.createElement(TransitionGroup, props, inProp ? React.cloneElement(first, {\n key: 'first',\n onEnter: this.handleEnter,\n onEntering: this.handleEntering,\n onEntered: this.handleEntered\n }) : React.cloneElement(second, {\n key: 'second',\n onEnter: this.handleExit,\n onEntering: this.handleExiting,\n onEntered: this.handleExited\n }));\n };\n\n return ReplaceTransition;\n}(React.Component);\n\nReplaceTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n in: PropTypes.bool.isRequired,\n children: function children(props, propName) {\n if (React.Children.count(props[propName]) !== 2) return new Error(\"\\\"\" + propName + \"\\\" must be exactly two transition components.\");\n return null;\n }\n} : {};\nexport default ReplaceTransition;"],"names":["ReplaceTransition","_React$Component","_this","_len","arguments","length","_args","Array","_key","call","apply","this","concat","handleEnter","_len2","args","_key2","handleLifecycle","handleEntering","_len3","_key3","handleEntered","_len4","_key4","handleExit","_len5","_key5","handleExiting","_len6","_key6","handleExited","_len7","_key7","_inheritsLoose","_proto","prototype","handler","idx","originalArgs","_child$props","children","props","child","React","Children","toArray","maybeNode","nodeRef","undefined","ReactDOM","findDOMNode","render","_this$props","inProp","in","_objectWithoutPropertiesLoose","_React$Children$toArr","first","second","onEnter","onEntering","onEntered","onExit","onExiting","onExited","createElement","TransitionGroup","cloneElement","key","Component","propTypes","process","env","NODE_ENV","PropTypes","bool","isRequired","propName","count","Error"],"mappings":"oaAkBIA,EAAiC,SAAUC,GAG7C,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kC,UAAWlD,KAAKmB,eAEtB,EAES9B,CACT,CA5GqC,CA4GnC2C,EAAAA,QAAM0B,WAERrE,EAAkBsE,UAAqC,eAAzBC,QAAQC,IAAIC,SAA4B,CACpEnB,GAAIoB,EAAAA,QAAUC,KAAKC,WACnBpC,SAAU,SAAkBC,EAAOoC,GACjC,OAA8C,IAA1ClC,EAAK,QAACC,SAASkC,MAAMrC,EAAMoC,IAAyB,IAAIE,MAAM,IAAOF,EAAW,gDAC7E,IACR,GACC,CAAE"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../@babel/runtime/helpers/esm/inheritsLoose.js"),t=require("react"),n=require("../../../_virtual/index.js"),r=require("./Transition.js"),u=require("./TransitionGroupContext.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i,o,l=a(t);var c={out:"out-in",in:"in-out"},d=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},s=((i={})[c.out]=function(e){var t=e.current,n=e.changeState;return l.default.cloneElement(t,{in:!1,onExited:d(t,"onExited",function(){n(r.ENTERING,null)})})},i[c.in]=function(e){var t=e.current,n=e.changeState,u=e.children;return[t,l.default.cloneElement(u,{in:!0,onEntered:d(u,"onEntered",function(){n(r.ENTERING)})})]},i),E=((o={})[c.out]=function(e){var t=e.children,n=e.changeState;return l.default.cloneElement(t,{in:!0,onEntered:d(t,"onEntered",function(){n(r.ENTERED,l.default.cloneElement(t,{in:!0}))})})},o[c.in]=function(e){var t=e.current,n=e.children,u=e.changeState;return[l.default.cloneElement(t,{in:!1,onExited:d(t,"onExited",function(){u(r.ENTERED,l.default.cloneElement(n,{in:!0}))})}),l.default.cloneElement(n,{in:!0})]},o),f=function(t){function n(){for(var e,n=arguments.length,u=new Array(n),a=0;a<n;a++)u[a]=arguments[a];return(e=t.call.apply(t,[this].concat(u))||this).state={status:r.ENTERED,current:null},e.appeared=!1,e.changeState=function(t,n){void 0===n&&(n=e.state.current),e.setState({status:t,current:n})},e}e.default(n,t);var a=n.prototype;return a.componentDidMount=function(){this.appeared=!0},n.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===r.ENTERING&&e.mode===c.in?{status:r.ENTERING}:!t.current||(n=t.current,u=e.children,n===u||l.default.isValidElement(n)&&l.default.isValidElement(u)&&null!=n.key&&n.key===u.key)?{current:l.default.cloneElement(e.children,{in:!0})}:{status:r.EXITING};var n,u},a.render=function(){var e,t=this.props,n=t.children,a=t.mode,i=this.state,o=i.status,c=i.current,d={children:n,current:c,changeState:this.changeState,status:o};switch(o){case r.ENTERING:e=E[a](d);break;case r.EXITING:e=s[a](d);break;case r.ENTERED:e=c}return l.default.createElement(u.default.Provider,{value:{isMounting:!this.appeared}},e)},n}(l.default.Component);f.propTypes="production"!==process.env.NODE_ENV?{mode:n.default.oneOf([c.in,c.out]),children:n.default.oneOfType([n.default.element.isRequired])}:{},f.defaultProps={mode:c.out},exports.default=f,exports.modes=c;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../@babel/runtime/helpers/esm/inheritsLoose.js"),t=require("react"),n=require("../../../_virtual/index3.js"),r=require("./Transition.js"),u=require("./TransitionGroupContext.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i,o,l=a(t);var c={out:"out-in",in:"in-out"},d=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},s=((i={})[c.out]=function(e){var t=e.current,n=e.changeState;return l.default.cloneElement(t,{in:!1,onExited:d(t,"onExited",function(){n(r.ENTERING,null)})})},i[c.in]=function(e){var t=e.current,n=e.changeState,u=e.children;return[t,l.default.cloneElement(u,{in:!0,onEntered:d(u,"onEntered",function(){n(r.ENTERING)})})]},i),E=((o={})[c.out]=function(e){var t=e.children,n=e.changeState;return l.default.cloneElement(t,{in:!0,onEntered:d(t,"onEntered",function(){n(r.ENTERED,l.default.cloneElement(t,{in:!0}))})})},o[c.in]=function(e){var t=e.current,n=e.children,u=e.changeState;return[l.default.cloneElement(t,{in:!1,onExited:d(t,"onExited",function(){u(r.ENTERED,l.default.cloneElement(n,{in:!0}))})}),l.default.cloneElement(n,{in:!0})]},o),f=function(t){function n(){for(var e,n=arguments.length,u=new Array(n),a=0;a<n;a++)u[a]=arguments[a];return(e=t.call.apply(t,[this].concat(u))||this).state={status:r.ENTERED,current:null},e.appeared=!1,e.changeState=function(t,n){void 0===n&&(n=e.state.current),e.setState({status:t,current:n})},e}e.default(n,t);var a=n.prototype;return a.componentDidMount=function(){this.appeared=!0},n.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===r.ENTERING&&e.mode===c.in?{status:r.ENTERING}:!t.current||(n=t.current,u=e.children,n===u||l.default.isValidElement(n)&&l.default.isValidElement(u)&&null!=n.key&&n.key===u.key)?{current:l.default.cloneElement(e.children,{in:!0})}:{status:r.EXITING};var n,u},a.render=function(){var e,t=this.props,n=t.children,a=t.mode,i=this.state,o=i.status,c=i.current,d={children:n,current:c,changeState:this.changeState,status:o};switch(o){case r.ENTERING:e=E[a](d);break;case r.EXITING:e=s[a](d);break;case r.ENTERED:e=c}return l.default.createElement(u.default.Provider,{value:{isMounting:!this.appeared}},e)},n}(l.default.Component);f.propTypes="production"!==process.env.NODE_ENV?{mode:n.default.oneOf([c.in,c.out]),children:n.default.oneOfType([n.default.element.isRequired])}:{},f.defaultProps={mode:c.out},exports.default=f,exports.modes=c;
2
2
  //# sourceMappingURL=SwitchTransition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SwitchTransition.js","sources":["../../../../../node_modules/react-transition-group/esm/SwitchTransition.js"],"sourcesContent":["import _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\n\nvar _leaveRenders, _enterRenders;\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { ENTERED, ENTERING, EXITING } from './Transition';\nimport TransitionGroupContext from './TransitionGroupContext';\n\nfunction areChildrenDifferent(oldChildren, newChildren) {\n if (oldChildren === newChildren) return false;\n\n if (React.isValidElement(oldChildren) && React.isValidElement(newChildren) && oldChildren.key != null && oldChildren.key === newChildren.key) {\n return false;\n }\n\n return true;\n}\n/**\n * Enum of modes for SwitchTransition component\n * @enum { string }\n */\n\n\nexport var modes = {\n out: 'out-in',\n in: 'in-out'\n};\n\nvar callHook = function callHook(element, name, cb) {\n return function () {\n var _element$props;\n\n element.props[name] && (_element$props = element.props)[name].apply(_element$props, arguments);\n cb();\n };\n};\n\nvar leaveRenders = (_leaveRenders = {}, _leaveRenders[modes.out] = function (_ref) {\n var current = _ref.current,\n changeState = _ref.changeState;\n return React.cloneElement(current, {\n in: false,\n onExited: callHook(current, 'onExited', function () {\n changeState(ENTERING, null);\n })\n });\n}, _leaveRenders[modes.in] = function (_ref2) {\n var current = _ref2.current,\n changeState = _ref2.changeState,\n children = _ref2.children;\n return [current, React.cloneElement(children, {\n in: true,\n onEntered: callHook(children, 'onEntered', function () {\n changeState(ENTERING);\n })\n })];\n}, _leaveRenders);\nvar enterRenders = (_enterRenders = {}, _enterRenders[modes.out] = function (_ref3) {\n var children = _ref3.children,\n changeState = _ref3.changeState;\n return React.cloneElement(children, {\n in: true,\n onEntered: callHook(children, 'onEntered', function () {\n changeState(ENTERED, React.cloneElement(children, {\n in: true\n }));\n })\n });\n}, _enterRenders[modes.in] = function (_ref4) {\n var current = _ref4.current,\n children = _ref4.children,\n changeState = _ref4.changeState;\n return [React.cloneElement(current, {\n in: false,\n onExited: callHook(current, 'onExited', function () {\n changeState(ENTERED, React.cloneElement(children, {\n in: true\n }));\n })\n }), React.cloneElement(children, {\n in: true\n })];\n}, _enterRenders);\n/**\n * A transition component inspired by the [vue transition modes](https://vuejs.org/v2/guide/transitions.html#Transition-Modes).\n * You can use it when you want to control the render between state transitions.\n * Based on the selected mode and the child's key which is the `Transition` or `CSSTransition` component, the `SwitchTransition` makes a consistent transition between them.\n *\n * If the `out-in` mode is selected, the `SwitchTransition` waits until the old child leaves and then inserts a new child.\n * If the `in-out` mode is selected, the `SwitchTransition` inserts a new child first, waits for the new child to enter and then removes the old child.\n *\n * **Note**: If you want the animation to happen simultaneously\n * (that is, to have the old child removed and a new child inserted **at the same time**),\n * you should use\n * [`TransitionGroup`](https://reactcommunity.org/react-transition-group/transition-group)\n * instead.\n *\n * ```jsx\n * function App() {\n * const [state, setState] = useState(false);\n * return (\n * <SwitchTransition>\n * <CSSTransition\n * key={state ? \"Goodbye, world!\" : \"Hello, world!\"}\n * addEndListener={(node, done) => node.addEventListener(\"transitionend\", done, false)}\n * classNames='fade'\n * >\n * <button onClick={() => setState(state => !state)}>\n * {state ? \"Goodbye, world!\" : \"Hello, world!\"}\n * </button>\n * </CSSTransition>\n * </SwitchTransition>\n * );\n * }\n * ```\n *\n * ```css\n * .fade-enter{\n * opacity: 0;\n * }\n * .fade-exit{\n * opacity: 1;\n * }\n * .fade-enter-active{\n * opacity: 1;\n * }\n * .fade-exit-active{\n * opacity: 0;\n * }\n * .fade-enter-active,\n * .fade-exit-active{\n * transition: opacity 500ms;\n * }\n * ```\n */\n\nvar SwitchTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(SwitchTransition, _React$Component);\n\n function SwitchTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.state = {\n status: ENTERED,\n current: null\n };\n _this.appeared = false;\n\n _this.changeState = function (status, current) {\n if (current === void 0) {\n current = _this.state.current;\n }\n\n _this.setState({\n status: status,\n current: current\n });\n };\n\n return _this;\n }\n\n var _proto = SwitchTransition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.appeared = true;\n };\n\n SwitchTransition.getDerivedStateFromProps = function getDerivedStateFromProps(props, state) {\n if (props.children == null) {\n return {\n current: null\n };\n }\n\n if (state.status === ENTERING && props.mode === modes.in) {\n return {\n status: ENTERING\n };\n }\n\n if (state.current && areChildrenDifferent(state.current, props.children)) {\n return {\n status: EXITING\n };\n }\n\n return {\n current: React.cloneElement(props.children, {\n in: true\n })\n };\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n mode = _this$props.mode,\n _this$state = this.state,\n status = _this$state.status,\n current = _this$state.current;\n var data = {\n children: children,\n current: current,\n changeState: this.changeState,\n status: status\n };\n var component;\n\n switch (status) {\n case ENTERING:\n component = enterRenders[mode](data);\n break;\n\n case EXITING:\n component = leaveRenders[mode](data);\n break;\n\n case ENTERED:\n component = current;\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: {\n isMounting: !this.appeared\n }\n }, component);\n };\n\n return SwitchTransition;\n}(React.Component);\n\nSwitchTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * Transition modes.\n * `out-in`: Current element transitions out first, then when complete, the new element transitions in.\n * `in-out`: New element transitions in first, then when complete, the current element transitions out.\n *\n * @type {'out-in'|'in-out'}\n */\n mode: PropTypes.oneOf([modes.in, modes.out]),\n\n /**\n * Any `Transition` or `CSSTransition` component.\n */\n children: PropTypes.oneOfType([PropTypes.element.isRequired])\n} : {};\nSwitchTransition.defaultProps = {\n mode: modes.out\n};\nexport default SwitchTransition;"],"names":["_leaveRenders","_enterRenders","modes","out","in","callHook","element","name","cb","_element$props","props","apply","arguments","leaveRenders","_ref","current","changeState","React","cloneElement","onExited","ENTERING","_ref2","children","onEntered","enterRenders","_ref3","ENTERED","_ref4","SwitchTransition","_React$Component","_this","_len","length","args","Array","_key","call","this","concat","state","status","appeared","setState","_inheritsLoose","_proto","prototype","componentDidMount","getDerivedStateFromProps","mode","oldChildren","newChildren","isValidElement","key","EXITING","render","component","_this$props","_this$state","data","createElement","TransitionGroupContext","Provider","value","isMounting","Component","propTypes","process","env","NODE_ENV","PropTypes","oneOf","oneOfType","isRequired","defaultProps"],"mappings":"oVAEIA,EAAeC,SAsBT,IAACC,EAAQ,CACjBC,IAAK,SACLC,GAAI,UAGF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B,EAAYjB,OACrBzB,EAAU0C,EAAY1C,QACtB2C,EAAO,CACTpC,SAAUA,EACVP,QAASA,EACTC,YAAaqB,KAAKrB,YAClBwB,OAAQA,GAIV,OAAQA,GACN,KAAKpB,EAAQA,SACXmC,EAAY/B,EAAawB,GAAMU,GAC/B,MAEF,KAAKL,EAAOA,QACVE,EAAY1C,EAAamC,GAAMU,GAC/B,MAEF,KAAKhC,EAAOA,QACV6B,EAAYxC,EAGhB,OAAoBE,UAAM0C,cAAcC,EAAsB,QAACC,SAAU,CACvEC,MAAO,CACLC,YAAa1B,KAAKI,WAEnBc,EACP,EAES3B,CACT,CAnGoC,CAmGlCX,EAAAA,QAAM+C,WAERpC,EAAiBqC,UAAqC,eAAzBC,QAAQC,IAAIC,SAA4B,CAQnEpB,KAAMqB,EAAS,QAACC,MAAM,CAACpE,EAAME,GAAIF,EAAMC,MAKvCmB,SAAU+C,EAAS,QAACE,UAAU,CAACF,EAAAA,QAAU/D,QAAQkE,cAC/C,GACJ5C,EAAiB6C,aAAe,CAC9BzB,KAAM9C,EAAMC"}
1
+ {"version":3,"file":"SwitchTransition.js","sources":["../../../../../node_modules/react-transition-group/esm/SwitchTransition.js"],"sourcesContent":["import _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\n\nvar _leaveRenders, _enterRenders;\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { ENTERED, ENTERING, EXITING } from './Transition';\nimport TransitionGroupContext from './TransitionGroupContext';\n\nfunction areChildrenDifferent(oldChildren, newChildren) {\n if (oldChildren === newChildren) return false;\n\n if (React.isValidElement(oldChildren) && React.isValidElement(newChildren) && oldChildren.key != null && oldChildren.key === newChildren.key) {\n return false;\n }\n\n return true;\n}\n/**\n * Enum of modes for SwitchTransition component\n * @enum { string }\n */\n\n\nexport var modes = {\n out: 'out-in',\n in: 'in-out'\n};\n\nvar callHook = function callHook(element, name, cb) {\n return function () {\n var _element$props;\n\n element.props[name] && (_element$props = element.props)[name].apply(_element$props, arguments);\n cb();\n };\n};\n\nvar leaveRenders = (_leaveRenders = {}, _leaveRenders[modes.out] = function (_ref) {\n var current = _ref.current,\n changeState = _ref.changeState;\n return React.cloneElement(current, {\n in: false,\n onExited: callHook(current, 'onExited', function () {\n changeState(ENTERING, null);\n })\n });\n}, _leaveRenders[modes.in] = function (_ref2) {\n var current = _ref2.current,\n changeState = _ref2.changeState,\n children = _ref2.children;\n return [current, React.cloneElement(children, {\n in: true,\n onEntered: callHook(children, 'onEntered', function () {\n changeState(ENTERING);\n })\n })];\n}, _leaveRenders);\nvar enterRenders = (_enterRenders = {}, _enterRenders[modes.out] = function (_ref3) {\n var children = _ref3.children,\n changeState = _ref3.changeState;\n return React.cloneElement(children, {\n in: true,\n onEntered: callHook(children, 'onEntered', function () {\n changeState(ENTERED, React.cloneElement(children, {\n in: true\n }));\n })\n });\n}, _enterRenders[modes.in] = function (_ref4) {\n var current = _ref4.current,\n children = _ref4.children,\n changeState = _ref4.changeState;\n return [React.cloneElement(current, {\n in: false,\n onExited: callHook(current, 'onExited', function () {\n changeState(ENTERED, React.cloneElement(children, {\n in: true\n }));\n })\n }), React.cloneElement(children, {\n in: true\n })];\n}, _enterRenders);\n/**\n * A transition component inspired by the [vue transition modes](https://vuejs.org/v2/guide/transitions.html#Transition-Modes).\n * You can use it when you want to control the render between state transitions.\n * Based on the selected mode and the child's key which is the `Transition` or `CSSTransition` component, the `SwitchTransition` makes a consistent transition between them.\n *\n * If the `out-in` mode is selected, the `SwitchTransition` waits until the old child leaves and then inserts a new child.\n * If the `in-out` mode is selected, the `SwitchTransition` inserts a new child first, waits for the new child to enter and then removes the old child.\n *\n * **Note**: If you want the animation to happen simultaneously\n * (that is, to have the old child removed and a new child inserted **at the same time**),\n * you should use\n * [`TransitionGroup`](https://reactcommunity.org/react-transition-group/transition-group)\n * instead.\n *\n * ```jsx\n * function App() {\n * const [state, setState] = useState(false);\n * return (\n * <SwitchTransition>\n * <CSSTransition\n * key={state ? \"Goodbye, world!\" : \"Hello, world!\"}\n * addEndListener={(node, done) => node.addEventListener(\"transitionend\", done, false)}\n * classNames='fade'\n * >\n * <button onClick={() => setState(state => !state)}>\n * {state ? \"Goodbye, world!\" : \"Hello, world!\"}\n * </button>\n * </CSSTransition>\n * </SwitchTransition>\n * );\n * }\n * ```\n *\n * ```css\n * .fade-enter{\n * opacity: 0;\n * }\n * .fade-exit{\n * opacity: 1;\n * }\n * .fade-enter-active{\n * opacity: 1;\n * }\n * .fade-exit-active{\n * opacity: 0;\n * }\n * .fade-enter-active,\n * .fade-exit-active{\n * transition: opacity 500ms;\n * }\n * ```\n */\n\nvar SwitchTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(SwitchTransition, _React$Component);\n\n function SwitchTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.state = {\n status: ENTERED,\n current: null\n };\n _this.appeared = false;\n\n _this.changeState = function (status, current) {\n if (current === void 0) {\n current = _this.state.current;\n }\n\n _this.setState({\n status: status,\n current: current\n });\n };\n\n return _this;\n }\n\n var _proto = SwitchTransition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.appeared = true;\n };\n\n SwitchTransition.getDerivedStateFromProps = function getDerivedStateFromProps(props, state) {\n if (props.children == null) {\n return {\n current: null\n };\n }\n\n if (state.status === ENTERING && props.mode === modes.in) {\n return {\n status: ENTERING\n };\n }\n\n if (state.current && areChildrenDifferent(state.current, props.children)) {\n return {\n status: EXITING\n };\n }\n\n return {\n current: React.cloneElement(props.children, {\n in: true\n })\n };\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n mode = _this$props.mode,\n _this$state = this.state,\n status = _this$state.status,\n current = _this$state.current;\n var data = {\n children: children,\n current: current,\n changeState: this.changeState,\n status: status\n };\n var component;\n\n switch (status) {\n case ENTERING:\n component = enterRenders[mode](data);\n break;\n\n case EXITING:\n component = leaveRenders[mode](data);\n break;\n\n case ENTERED:\n component = current;\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: {\n isMounting: !this.appeared\n }\n }, component);\n };\n\n return SwitchTransition;\n}(React.Component);\n\nSwitchTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * Transition modes.\n * `out-in`: Current element transitions out first, then when complete, the new element transitions in.\n * `in-out`: New element transitions in first, then when complete, the current element transitions out.\n *\n * @type {'out-in'|'in-out'}\n */\n mode: PropTypes.oneOf([modes.in, modes.out]),\n\n /**\n * Any `Transition` or `CSSTransition` component.\n */\n children: PropTypes.oneOfType([PropTypes.element.isRequired])\n} : {};\nSwitchTransition.defaultProps = {\n mode: modes.out\n};\nexport default SwitchTransition;"],"names":["_leaveRenders","_enterRenders","modes","out","in","callHook","element","name","cb","_element$props","props","apply","arguments","leaveRenders","_ref","current","changeState","React","cloneElement","onExited","ENTERING","_ref2","children","onEntered","enterRenders","_ref3","ENTERED","_ref4","SwitchTransition","_React$Component","_this","_len","length","args","Array","_key","call","this","concat","state","status","appeared","setState","_inheritsLoose","_proto","prototype","componentDidMount","getDerivedStateFromProps","mode","oldChildren","newChildren","isValidElement","key","EXITING","render","component","_this$props","_this$state","data","createElement","TransitionGroupContext","Provider","value","isMounting","Component","propTypes","process","env","NODE_ENV","PropTypes","oneOf","oneOfType","isRequired","defaultProps"],"mappings":"qVAEIA,EAAeC,SAsBT,IAACC,EAAQ,CACjBC,IAAK,SACLC,GAAI,UAGFC,EAAW,SAAkBC,EAASC,EAAMC,GAC9C,OAAO,WACL,IAAIC,EAEJH,EAAQI,MAAMH,KAAUE,EAAiBH,EAAQI,OAAOH,GAAMI,MAAMF,EAAgBG,WACpFJ,GACJ,CACA,EAEIK,IAAgBb,EAAgB,IAAkBE,EAAMC,KAAO,SAAUW,GAC3E,IAAIC,EAAUD,EAAKC,QACfC,EAAcF,EAAKE,YACvB,OAAOC,EAAK,QA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EAAYxC,EAGhB,OAAoBE,UAAM0C,cAAcC,EAAsB,QAACC,SAAU,CACvEC,MAAO,CACLC,YAAa1B,KAAKI,WAEnBc,EACP,EAES3B,CACT,CAnGoC,CAmGlCX,EAAAA,QAAM+C,WAERpC,EAAiBqC,UAAqC,eAAzBC,QAAQC,IAAIC,SAA4B,CAQnEpB,KAAMqB,EAAS,QAACC,MAAM,CAACpE,EAAME,GAAIF,EAAMC,MAKvCmB,SAAU+C,EAAS,QAACE,UAAU,CAACF,EAAAA,QAAU/D,QAAQkE,cAC/C,GACJ5C,EAAiB6C,aAAe,CAC9BzB,KAAM9C,EAAMC"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),e=require("../../@babel/runtime/helpers/esm/inheritsLoose.js"),n=require("../../../_virtual/index.js"),i=require("react"),o=require("react-dom"),r=require("./config.js"),s=require("./utils/PropTypes.js"),a=require("./TransitionGroupContext.js"),u=require("./utils/reflow.js");function l(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var d=l(i),p=l(o),f="unmounted",c="exited",E="entering",h="entered",x="exiting",m=function(n){function i(t,e){var i;i=n.call(this,t,e)||this;var o,r=e&&!e.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?r?(o=c,i.appearStatus=E):o=h:o=t.unmountOnExit||t.mountOnEnter?f:c,i.state={status:o},i.nextCallback=null,i}e.default(i,n),i.getDerivedStateFromProps=function(t,e){return t.in&&e.status===f?{status:c}:null};var o=i.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==E&&n!==h&&(e=E):n!==E&&n!==h||(e=x)}this.updateStatus(!1,e)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var t,e,n,i=this.props.timeout;return t=e=n=i,null!=i&&"number"!=typeof i&&(t=i.exit,e=i.enter,n=void 0!==i.appear?i.appear:e),{exit:t,enter:e,appear:n}},o.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e)if(this.cancelNextCallback(),e===E){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:p.default.findDOMNode(this);n&&u.forceReflow(n)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:f})},o.performEnter=function(t){var e=this,n=this.props.enter,i=this.context?this.context.isMounting:t,o=this.props.nodeRef?[i]:[p.default.findDOMNode(this),i],s=o[0],a=o[1],u=this.getTimeouts(),l=i?u.appear:u.enter;!t&&!n||r.default.disabled?this.safeSetState({status:h},function(){e.props.onEntered(s)}):(this.props.onEnter(s,a),this.safeSetState({status:E},function(){e.props.onEntering(s,a),e.onTransitionEnd(l,function(){e.safeSetState({status:h},function(){e.props.onEntered(s,a)})})}))},o.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:p.default.findDOMNode(this);e&&!r.default.disabled?(this.props.onExit(i),this.safeSetState({status:x},function(){t.props.onExiting(i),t.onTransitionEnd(n.exit,function(){t.safeSetState({status:c},function(){t.props.onExited(i)})})})):this.safeSetState({status:c},function(){t.props.onExited(i)})},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},o.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,e.nextCallback=null,t(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:p.default.findDOMNode(this),i=null==t&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],r=o[0],s=o[1];this.props.addEndListener(r,s)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===f)return null;var n=this.props,i=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var o=t.default(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return d.default.createElement(a.default.Provider,{value:null},"function"==typeof i?i(e,o):d.default.cloneElement(d.default.Children.only(i),o))},i}(d.default.Component);function b(){}m.contextType=a.default,m.propTypes="production"!==process.env.NODE_ENV?{nodeRef:n.default.shape({current:"undefined"==typeof Element?n.default.any:function(t,e,i,o,r,s){var a=t[e];return n.default.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(t,e,i,o,r,s)}}),children:n.default.oneOfType([n.default.func.isRequired,n.default.element.isRequired]).isRequired,in:n.default.bool,mountOnEnter:n.default.bool,unmountOnExit:n.default.bool,appear:n.default.bool,enter:n.default.bool,exit:n.default.bool,timeout:function(t){var e=s.timeoutsShape;t.addEndListener||(e=e.isRequired);for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return e.apply(void 0,[t].concat(i))},addEndListener:n.default.func,onEnter:n.default.func,onEntering:n.default.func,onEntered:n.default.func,onExit:n.default.func,onExiting:n.default.func,onExited:n.default.func}:{},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:b,onEntering:b,onEntered:b,onExit:b,onExiting:b,onExited:b},m.UNMOUNTED=f,m.EXITED=c,m.ENTERING=E,m.ENTERED=h,m.EXITING=x,exports.ENTERED=h,exports.ENTERING=E,exports.EXITED=c,exports.EXITING=x,exports.UNMOUNTED=f,exports.default=m;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),e=require("../../@babel/runtime/helpers/esm/inheritsLoose.js"),n=require("../../../_virtual/index3.js"),i=require("react"),o=require("react-dom"),r=require("./config.js"),s=require("./utils/PropTypes.js"),a=require("./TransitionGroupContext.js"),u=require("./utils/reflow.js");function l(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var d=l(i),p=l(o),f="unmounted",c="exited",E="entering",h="entered",x="exiting",m=function(n){function i(t,e){var i;i=n.call(this,t,e)||this;var o,r=e&&!e.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?r?(o=c,i.appearStatus=E):o=h:o=t.unmountOnExit||t.mountOnEnter?f:c,i.state={status:o},i.nextCallback=null,i}e.default(i,n),i.getDerivedStateFromProps=function(t,e){return t.in&&e.status===f?{status:c}:null};var o=i.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==E&&n!==h&&(e=E):n!==E&&n!==h||(e=x)}this.updateStatus(!1,e)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var t,e,n,i=this.props.timeout;return t=e=n=i,null!=i&&"number"!=typeof i&&(t=i.exit,e=i.enter,n=void 0!==i.appear?i.appear:e),{exit:t,enter:e,appear:n}},o.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e)if(this.cancelNextCallback(),e===E){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:p.default.findDOMNode(this);n&&u.forceReflow(n)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:f})},o.performEnter=function(t){var e=this,n=this.props.enter,i=this.context?this.context.isMounting:t,o=this.props.nodeRef?[i]:[p.default.findDOMNode(this),i],s=o[0],a=o[1],u=this.getTimeouts(),l=i?u.appear:u.enter;!t&&!n||r.default.disabled?this.safeSetState({status:h},function(){e.props.onEntered(s)}):(this.props.onEnter(s,a),this.safeSetState({status:E},function(){e.props.onEntering(s,a),e.onTransitionEnd(l,function(){e.safeSetState({status:h},function(){e.props.onEntered(s,a)})})}))},o.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:p.default.findDOMNode(this);e&&!r.default.disabled?(this.props.onExit(i),this.safeSetState({status:x},function(){t.props.onExiting(i),t.onTransitionEnd(n.exit,function(){t.safeSetState({status:c},function(){t.props.onExited(i)})})})):this.safeSetState({status:c},function(){t.props.onExited(i)})},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},o.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,e.nextCallback=null,t(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:p.default.findDOMNode(this),i=null==t&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],r=o[0],s=o[1];this.props.addEndListener(r,s)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===f)return null;var n=this.props,i=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var o=t.default(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return d.default.createElement(a.default.Provider,{value:null},"function"==typeof i?i(e,o):d.default.cloneElement(d.default.Children.only(i),o))},i}(d.default.Component);function b(){}m.contextType=a.default,m.propTypes="production"!==process.env.NODE_ENV?{nodeRef:n.default.shape({current:"undefined"==typeof Element?n.default.any:function(t,e,i,o,r,s){var a=t[e];return n.default.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(t,e,i,o,r,s)}}),children:n.default.oneOfType([n.default.func.isRequired,n.default.element.isRequired]).isRequired,in:n.default.bool,mountOnEnter:n.default.bool,unmountOnExit:n.default.bool,appear:n.default.bool,enter:n.default.bool,exit:n.default.bool,timeout:function(t){var e=s.timeoutsShape;t.addEndListener||(e=e.isRequired);for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return e.apply(void 0,[t].concat(i))},addEndListener:n.default.func,onEnter:n.default.func,onEntering:n.default.func,onEntered:n.default.func,onExit:n.default.func,onExiting:n.default.func,onExited:n.default.func}:{},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:b,onEntering:b,onEntered:b,onExit:b,onExiting:b,onExited:b},m.UNMOUNTED=f,m.EXITED=c,m.ENTERING=E,m.ENTERED=h,m.EXITING=x,exports.ENTERED=h,exports.ENTERING=E,exports.EXITED=c,exports.EXITING=x,exports.UNMOUNTED=f,exports.default=m;
2
2
  //# sourceMappingURL=Transition.js.map