@e-llm-studio/instant-learning 0.0.241 → 0.0.243

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 (904) hide show
  1. package/dist/cjs/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
  2. package/dist/cjs/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js +1 -1
  3. package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
  4. package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
  5. package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
  6. package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
  7. package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
  8. package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
  9. package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
  10. package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
  11. package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
  12. package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js +1 -1
  13. package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
  14. package/dist/cjs/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js +1 -1
  15. package/dist/cjs/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js.map +1 -1
  16. package/dist/cjs/node_modules/decode-named-character-reference/index.dom.js.map +1 -1
  17. package/dist/cjs/node_modules/graphql/execution/execute.mjs.js +1 -1
  18. package/dist/cjs/node_modules/graphql/execution/execute.mjs.js.map +1 -1
  19. package/dist/cjs/node_modules/graphql/execution/subscribe.mjs.js.map +1 -1
  20. package/dist/cjs/node_modules/graphql/execution/values.mjs.js +1 -1
  21. package/dist/cjs/node_modules/graphql/execution/values.mjs.js.map +1 -1
  22. package/dist/cjs/node_modules/graphql/utilities/coerceInputValue.mjs.js +1 -1
  23. package/dist/cjs/node_modules/graphql/utilities/coerceInputValue.mjs.js.map +1 -1
  24. package/dist/cjs/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs.js +1 -1
  25. package/dist/cjs/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs.js.map +1 -1
  26. package/dist/cjs/node_modules/graphql/validation/validate.mjs.js +1 -1
  27. package/dist/cjs/node_modules/graphql/validation/validate.mjs.js.map +1 -1
  28. package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js.map +1 -1
  29. package/dist/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
  30. package/dist/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js +1 -1
  31. package/dist/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
  32. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
  33. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
  34. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
  35. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
  36. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
  37. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
  38. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
  39. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
  40. package/dist/node_modules/@mui/material/internal/SwitchBase.js +1 -1
  41. package/dist/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
  42. package/dist/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js +1 -1
  43. package/dist/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js.map +1 -1
  44. package/dist/node_modules/decode-named-character-reference/index.dom.js.map +1 -1
  45. package/dist/node_modules/graphql/execution/execute.mjs.js +1 -1
  46. package/dist/node_modules/graphql/execution/execute.mjs.js.map +1 -1
  47. package/dist/node_modules/graphql/execution/subscribe.mjs.js.map +1 -1
  48. package/dist/node_modules/graphql/execution/values.mjs.js +1 -1
  49. package/dist/node_modules/graphql/execution/values.mjs.js.map +1 -1
  50. package/dist/node_modules/graphql/utilities/coerceInputValue.mjs.js +1 -1
  51. package/dist/node_modules/graphql/utilities/coerceInputValue.mjs.js.map +1 -1
  52. package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs.js +1 -1
  53. package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs.js.map +1 -1
  54. package/dist/node_modules/graphql/validation/validate.mjs.js +1 -1
  55. package/dist/node_modules/graphql/validation/validate.mjs.js.map +1 -1
  56. package/dist/node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js.map +1 -1
  57. package/dist/types/src/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts +2 -1
  58. package/dist/types/src/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts.map +1 -1
  59. package/dist/types/src/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.d.ts +1 -1
  60. package/dist/types/src/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.d.ts.map +1 -1
  61. package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts.map +1 -1
  62. package/package.json +2 -2
  63. package/dist/cjs/features/DocumentLearning/_components/MinimizedThinkingSteps.js +0 -2
  64. package/dist/cjs/features/DocumentLearning/_components/MinimizedThinkingSteps.js.map +0 -1
  65. package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowDown.js +0 -2
  66. package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowDown.js.map +0 -1
  67. package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowIconBlue.js +0 -2
  68. package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowIconBlue.js.map +0 -1
  69. package/dist/cjs/features/DocumentLearning/_components/_svg/CompleteIconGreen.js +0 -2
  70. package/dist/cjs/features/DocumentLearning/_components/_svg/CompleteIconGreen.js.map +0 -1
  71. package/dist/cjs/features/IL-OTJ/_components/MinimizedThinkingSteps.js +0 -2
  72. package/dist/cjs/features/IL-OTJ/_components/MinimizedThinkingSteps.js.map +0 -1
  73. package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowDown.js +0 -2
  74. package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowDown.js.map +0 -1
  75. package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowIconBlue.js +0 -2
  76. package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowIconBlue.js.map +0 -1
  77. package/dist/cjs/features/IL-OTJ/_components/_svg/CompleteIconGreen.js +0 -2
  78. package/dist/cjs/features/IL-OTJ/_components/_svg/CompleteIconGreen.js.map +0 -1
  79. package/dist/cjs/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js +0 -2
  80. package/dist/cjs/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js.map +0 -1
  81. package/dist/cjs/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js +0 -2
  82. package/dist/cjs/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js.map +0 -1
  83. package/dist/cjs/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -2
  84. package/dist/cjs/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
  85. package/dist/cjs/node_modules/@mui/icons-material/esm/Add.js +0 -2
  86. package/dist/cjs/node_modules/@mui/icons-material/esm/Add.js.map +0 -1
  87. package/dist/cjs/node_modules/@mui/icons-material/esm/Cancel.js +0 -2
  88. package/dist/cjs/node_modules/@mui/icons-material/esm/Cancel.js.map +0 -1
  89. package/dist/cjs/node_modules/@mui/icons-material/esm/CheckCircleOutline.js +0 -2
  90. package/dist/cjs/node_modules/@mui/icons-material/esm/CheckCircleOutline.js.map +0 -1
  91. package/dist/cjs/node_modules/@mui/icons-material/esm/Delete.js +0 -2
  92. package/dist/cjs/node_modules/@mui/icons-material/esm/Delete.js.map +0 -1
  93. package/dist/cjs/node_modules/@mui/icons-material/esm/Edit.js +0 -2
  94. package/dist/cjs/node_modules/@mui/icons-material/esm/Edit.js.map +0 -1
  95. package/dist/cjs/node_modules/@mui/icons-material/esm/HelpOutline.js +0 -2
  96. package/dist/cjs/node_modules/@mui/icons-material/esm/HelpOutline.js.map +0 -1
  97. package/dist/cjs/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js +0 -2
  98. package/dist/cjs/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js.map +0 -1
  99. package/dist/cjs/node_modules/@mui/icons-material/esm/KeyboardArrowUp.js +0 -2
  100. package/dist/cjs/node_modules/@mui/icons-material/esm/KeyboardArrowUp.js.map +0 -1
  101. package/dist/cjs/node_modules/@mui/icons-material/esm/MergeType.js +0 -2
  102. package/dist/cjs/node_modules/@mui/icons-material/esm/MergeType.js.map +0 -1
  103. package/dist/cjs/node_modules/@mui/icons-material/esm/Save.js +0 -2
  104. package/dist/cjs/node_modules/@mui/icons-material/esm/Save.js.map +0 -1
  105. package/dist/cjs/node_modules/@mui/icons-material/esm/Undo.js +0 -2
  106. package/dist/cjs/node_modules/@mui/icons-material/esm/Undo.js.map +0 -1
  107. package/dist/cjs/node_modules/@mui/material/Grid2/Grid2.js +0 -2
  108. package/dist/cjs/node_modules/@mui/material/Grid2/Grid2.js.map +0 -1
  109. package/dist/cjs/node_modules/@mui/material/Grid2/grid2Classes.js +0 -2
  110. package/dist/cjs/node_modules/@mui/material/Grid2/grid2Classes.js.map +0 -1
  111. package/dist/cjs/node_modules/@mui/material/styles/ThemeProviderWithVars.js +0 -2
  112. package/dist/cjs/node_modules/@mui/material/styles/ThemeProviderWithVars.js.map +0 -1
  113. package/dist/cjs/node_modules/@mui/material/styles/createColorScheme.js +0 -2
  114. package/dist/cjs/node_modules/@mui/material/styles/createColorScheme.js.map +0 -1
  115. package/dist/cjs/node_modules/@mui/material/styles/createGetSelector.js +0 -2
  116. package/dist/cjs/node_modules/@mui/material/styles/createGetSelector.js.map +0 -1
  117. package/dist/cjs/node_modules/@mui/material/styles/createThemeNoVars.js +0 -2
  118. package/dist/cjs/node_modules/@mui/material/styles/createThemeNoVars.js.map +0 -1
  119. package/dist/cjs/node_modules/@mui/material/styles/createThemeWithVars.js +0 -2
  120. package/dist/cjs/node_modules/@mui/material/styles/createThemeWithVars.js.map +0 -1
  121. package/dist/cjs/node_modules/@mui/material/styles/stringifyTheme.js +0 -2
  122. package/dist/cjs/node_modules/@mui/material/styles/stringifyTheme.js.map +0 -1
  123. package/dist/cjs/node_modules/@mui/material/useLazyRipple/useLazyRipple.js +0 -2
  124. package/dist/cjs/node_modules/@mui/material/useLazyRipple/useLazyRipple.js.map +0 -1
  125. package/dist/cjs/node_modules/@mui/material/useMediaQuery/index.js +0 -2
  126. package/dist/cjs/node_modules/@mui/material/useMediaQuery/index.js.map +0 -1
  127. package/dist/cjs/node_modules/@mui/material/utils/createSimplePaletteValueFilter.js +0 -2
  128. package/dist/cjs/node_modules/@mui/material/utils/createSimplePaletteValueFilter.js.map +0 -1
  129. package/dist/cjs/node_modules/@mui/material/utils/isHostComponent.js +0 -2
  130. package/dist/cjs/node_modules/@mui/material/utils/isHostComponent.js.map +0 -1
  131. package/dist/cjs/node_modules/@mui/material/utils/memoTheme.js +0 -2
  132. package/dist/cjs/node_modules/@mui/material/utils/memoTheme.js.map +0 -1
  133. package/dist/cjs/node_modules/@mui/material/utils/mergeSlotProps.js +0 -2
  134. package/dist/cjs/node_modules/@mui/material/utils/mergeSlotProps.js.map +0 -1
  135. package/dist/cjs/node_modules/@mui/material/zero-styled/index.js +0 -2
  136. package/dist/cjs/node_modules/@mui/material/zero-styled/index.js.map +0 -1
  137. package/dist/cjs/node_modules/@mui/system/esm/Grid/Grid.js +0 -2
  138. package/dist/cjs/node_modules/@mui/system/esm/Grid/Grid.js.map +0 -1
  139. package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.js +0 -2
  140. package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.js.map +0 -1
  141. package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +0 -2
  142. package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js.map +0 -1
  143. package/dist/cjs/node_modules/@mui/system/esm/Grid/gridClasses.js +0 -2
  144. package/dist/cjs/node_modules/@mui/system/esm/Grid/gridClasses.js.map +0 -1
  145. package/dist/cjs/node_modules/@mui/system/esm/Grid/gridGenerator.js +0 -2
  146. package/dist/cjs/node_modules/@mui/system/esm/Grid/gridGenerator.js.map +0 -1
  147. package/dist/cjs/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js +0 -2
  148. package/dist/cjs/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js.map +0 -1
  149. package/dist/cjs/node_modules/@mui/system/esm/borders/borders.js +0 -2
  150. package/dist/cjs/node_modules/@mui/system/esm/borders/borders.js.map +0 -1
  151. package/dist/cjs/node_modules/@mui/system/esm/breakpoints/breakpoints.js +0 -2
  152. package/dist/cjs/node_modules/@mui/system/esm/breakpoints/breakpoints.js.map +0 -1
  153. package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +0 -2
  154. package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js.map +0 -1
  155. package/dist/cjs/node_modules/@mui/system/esm/compose/compose.js +0 -2
  156. package/dist/cjs/node_modules/@mui/system/esm/compose/compose.js.map +0 -1
  157. package/dist/cjs/node_modules/@mui/system/esm/createBox/createBox.js +0 -2
  158. package/dist/cjs/node_modules/@mui/system/esm/createBox/createBox.js.map +0 -1
  159. package/dist/cjs/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js +0 -2
  160. package/dist/cjs/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js.map +0 -1
  161. package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.js +0 -2
  162. package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.js.map +0 -1
  163. package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js +0 -2
  164. package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js.map +0 -1
  165. package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.js +0 -2
  166. package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +0 -1
  167. package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js +0 -2
  168. package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js.map +0 -1
  169. package/dist/cjs/node_modules/@mui/system/esm/cssVars/localStorageManager.js +0 -2
  170. package/dist/cjs/node_modules/@mui/system/esm/cssVars/localStorageManager.js.map +0 -1
  171. package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js +0 -2
  172. package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js.map +0 -1
  173. package/dist/cjs/node_modules/@mui/system/esm/display/display.js +0 -2
  174. package/dist/cjs/node_modules/@mui/system/esm/display/display.js.map +0 -1
  175. package/dist/cjs/node_modules/@mui/system/esm/flexbox/flexbox.js +0 -2
  176. package/dist/cjs/node_modules/@mui/system/esm/flexbox/flexbox.js.map +0 -1
  177. package/dist/cjs/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js +0 -2
  178. package/dist/cjs/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js.map +0 -1
  179. package/dist/cjs/node_modules/@mui/system/esm/memoTheme.js +0 -2
  180. package/dist/cjs/node_modules/@mui/system/esm/memoTheme.js.map +0 -1
  181. package/dist/cjs/node_modules/@mui/system/esm/memoize/memoize.js +0 -2
  182. package/dist/cjs/node_modules/@mui/system/esm/memoize/memoize.js.map +0 -1
  183. package/dist/cjs/node_modules/@mui/system/esm/merge/merge.js +0 -2
  184. package/dist/cjs/node_modules/@mui/system/esm/merge/merge.js.map +0 -1
  185. package/dist/cjs/node_modules/@mui/system/esm/palette/palette.js +0 -2
  186. package/dist/cjs/node_modules/@mui/system/esm/palette/palette.js.map +0 -1
  187. package/dist/cjs/node_modules/@mui/system/esm/positions/positions.js +0 -2
  188. package/dist/cjs/node_modules/@mui/system/esm/positions/positions.js.map +0 -1
  189. package/dist/cjs/node_modules/@mui/system/esm/preprocessStyles.js +0 -2
  190. package/dist/cjs/node_modules/@mui/system/esm/preprocessStyles.js.map +0 -1
  191. package/dist/cjs/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +0 -2
  192. package/dist/cjs/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js.map +0 -1
  193. package/dist/cjs/node_modules/@mui/system/esm/shadows/shadows.js +0 -2
  194. package/dist/cjs/node_modules/@mui/system/esm/shadows/shadows.js.map +0 -1
  195. package/dist/cjs/node_modules/@mui/system/esm/sizing/sizing.js +0 -2
  196. package/dist/cjs/node_modules/@mui/system/esm/sizing/sizing.js.map +0 -1
  197. package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.js +0 -2
  198. package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.js.map +0 -1
  199. package/dist/cjs/node_modules/@mui/system/esm/style/style.js +0 -2
  200. package/dist/cjs/node_modules/@mui/system/esm/style/style.js.map +0 -1
  201. package/dist/cjs/node_modules/@mui/system/esm/styled/styled.js +0 -2
  202. package/dist/cjs/node_modules/@mui/system/esm/styled/styled.js.map +0 -1
  203. package/dist/cjs/node_modules/@mui/system/esm/typography/typography.js +0 -2
  204. package/dist/cjs/node_modules/@mui/system/esm/typography/typography.js.map +0 -1
  205. package/dist/cjs/node_modules/@mui/system/esm/useTheme/useTheme.js +0 -2
  206. package/dist/cjs/node_modules/@mui/system/esm/useTheme/useTheme.js.map +0 -1
  207. package/dist/cjs/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js +0 -2
  208. package/dist/cjs/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js.map +0 -1
  209. package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +0 -2
  210. package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js.map +0 -1
  211. package/dist/cjs/node_modules/clsx/dist/clsx.mjs.js +0 -2
  212. package/dist/cjs/node_modules/clsx/dist/clsx.mjs.js.map +0 -1
  213. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js +0 -2
  214. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js.map +0 -1
  215. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js +0 -2
  216. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js.map +0 -1
  217. package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js +0 -2
  218. package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js.map +0 -1
  219. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js +0 -2
  220. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js.map +0 -1
  221. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js +0 -2
  222. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js.map +0 -1
  223. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js +0 -2
  224. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js.map +0 -1
  225. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js +0 -2
  226. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js.map +0 -1
  227. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
  228. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
  229. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js +0 -2
  230. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
  231. package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js +0 -2
  232. package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js.map +0 -1
  233. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -2
  234. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +0 -1
  235. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -2
  236. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +0 -1
  237. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -2
  238. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +0 -1
  239. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -2
  240. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +0 -1
  241. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -2
  242. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +0 -1
  243. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -2
  244. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +0 -1
  245. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote.js +0 -2
  246. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote.js.map +0 -1
  247. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -2
  248. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +0 -1
  249. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -2
  250. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +0 -1
  251. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -2
  252. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +0 -1
  253. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -2
  254. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +0 -1
  255. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -2
  256. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +0 -1
  257. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -2
  258. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +0 -1
  259. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -2
  260. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +0 -1
  261. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -2
  262. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +0 -1
  263. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -2
  264. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +0 -1
  265. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -2
  266. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +0 -1
  267. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -2
  268. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +0 -1
  269. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -2
  270. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +0 -1
  271. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -2
  272. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +0 -1
  273. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -2
  274. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +0 -1
  275. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -2
  276. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +0 -1
  277. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -2
  278. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +0 -1
  279. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -2
  280. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +0 -1
  281. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -2
  282. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +0 -1
  283. package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js +0 -2
  284. package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js.map +0 -1
  285. package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js +0 -2
  286. package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js.map +0 -1
  287. package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js +0 -2
  288. package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js.map +0 -1
  289. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js +0 -2
  290. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js.map +0 -1
  291. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js +0 -2
  292. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js.map +0 -1
  293. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js +0 -2
  294. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js.map +0 -1
  295. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js +0 -2
  296. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js.map +0 -1
  297. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
  298. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
  299. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js +0 -2
  300. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
  301. package/dist/cjs/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js +0 -2
  302. package/dist/cjs/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js.map +0 -1
  303. package/dist/cjs/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js +0 -2
  304. package/dist/cjs/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js.map +0 -1
  305. package/dist/cjs/node_modules/react-markdown/node_modules/is-plain-obj/index.js +0 -2
  306. package/dist/cjs/node_modules/react-markdown/node_modules/is-plain-obj/index.js.map +0 -1
  307. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js +0 -2
  308. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js.map +0 -1
  309. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js +0 -2
  310. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js.map +0 -1
  311. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/constructs.js +0 -2
  312. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/constructs.js.map +0 -1
  313. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js +0 -2
  314. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js.map +0 -1
  315. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js +0 -2
  316. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js.map +0 -1
  317. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js +0 -2
  318. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js.map +0 -1
  319. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js +0 -2
  320. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js.map +0 -1
  321. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js +0 -2
  322. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js.map +0 -1
  323. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/parse.js +0 -2
  324. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/parse.js.map +0 -1
  325. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js +0 -2
  326. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js.map +0 -1
  327. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js +0 -2
  328. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js.map +0 -1
  329. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js +0 -2
  330. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js.map +0 -1
  331. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +0 -2
  332. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js.map +0 -1
  333. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -2
  334. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js.map +0 -1
  335. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -2
  336. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js.map +0 -1
  337. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -2
  338. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js.map +0 -1
  339. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -2
  340. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js.map +0 -1
  341. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -2
  342. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +0 -1
  343. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -2
  344. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js.map +0 -1
  345. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +0 -2
  346. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js.map +0 -1
  347. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js +0 -2
  348. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js.map +0 -1
  349. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js +0 -2
  350. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js.map +0 -1
  351. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -2
  352. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +0 -1
  353. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -2
  354. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +0 -1
  355. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -2
  356. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js.map +0 -1
  357. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +0 -2
  358. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js.map +0 -1
  359. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +0 -2
  360. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js.map +0 -1
  361. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -2
  362. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +0 -1
  363. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -2
  364. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +0 -1
  365. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -2
  366. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js.map +0 -1
  367. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js +0 -2
  368. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js.map +0 -1
  369. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -2
  370. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +0 -1
  371. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -2
  372. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +0 -1
  373. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js +0 -2
  374. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js.map +0 -1
  375. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-label/index.js +0 -2
  376. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-label/index.js.map +0 -1
  377. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-space/index.js +0 -2
  378. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-space/index.js.map +0 -1
  379. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-title/index.js +0 -2
  380. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-title/index.js.map +0 -1
  381. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js +0 -2
  382. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js.map +0 -1
  383. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/index.js +0 -2
  384. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/index.js.map +0 -1
  385. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js +0 -2
  386. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js.map +0 -1
  387. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js +0 -2
  388. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js.map +0 -1
  389. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js +0 -2
  390. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js.map +0 -1
  391. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js +0 -2
  392. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js.map +0 -1
  393. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -2
  394. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +0 -1
  395. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js +0 -2
  396. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js.map +0 -1
  397. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js +0 -2
  398. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js.map +0 -1
  399. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js +0 -2
  400. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js.map +0 -1
  401. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js +0 -2
  402. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js.map +0 -1
  403. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js +0 -2
  404. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js.map +0 -1
  405. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/index.js +0 -2
  406. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/index.js.map +0 -1
  407. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/aria.js +0 -2
  408. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/aria.js.map +0 -1
  409. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/find.js +0 -2
  410. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/find.js.map +0 -1
  411. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js +0 -2
  412. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js.map +0 -1
  413. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/html.js +0 -2
  414. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/html.js.map +0 -1
  415. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/normalize.js +0 -2
  416. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/normalize.js.map +0 -1
  417. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/svg.js +0 -2
  418. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/svg.js.map +0 -1
  419. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -2
  420. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js.map +0 -1
  421. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -2
  422. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js.map +0 -1
  423. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/create.js +0 -2
  424. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/create.js.map +0 -1
  425. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js +0 -2
  426. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js.map +0 -1
  427. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/info.js +0 -2
  428. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/info.js.map +0 -1
  429. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js +0 -2
  430. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js.map +0 -1
  431. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js +0 -2
  432. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js.map +0 -1
  433. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/types.js +0 -2
  434. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/types.js.map +0 -1
  435. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xlink.js +0 -2
  436. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xlink.js.map +0 -1
  437. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xml.js +0 -2
  438. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xml.js.map +0 -1
  439. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js +0 -2
  440. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js.map +0 -1
  441. package/dist/cjs/node_modules/react-markdown/node_modules/remark-parse/lib/index.js +0 -2
  442. package/dist/cjs/node_modules/react-markdown/node_modules/remark-parse/lib/index.js.map +0 -1
  443. package/dist/cjs/node_modules/react-markdown/node_modules/space-separated-tokens/index.js +0 -2
  444. package/dist/cjs/node_modules/react-markdown/node_modules/space-separated-tokens/index.js.map +0 -1
  445. package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js +0 -2
  446. package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js.map +0 -1
  447. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js +0 -2
  448. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js.map +0 -1
  449. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js +0 -2
  450. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +0 -1
  451. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js +0 -2
  452. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js.map +0 -1
  453. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
  454. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
  455. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js +0 -2
  456. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
  457. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js +0 -2
  458. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +0 -1
  459. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js +0 -2
  460. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js.map +0 -1
  461. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js +0 -2
  462. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js.map +0 -1
  463. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js +0 -2
  464. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js.map +0 -1
  465. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js +0 -2
  466. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js.map +0 -1
  467. package/dist/cjs/node_modules/react-markdown/node_modules/vfile-message/lib/index.js +0 -2
  468. package/dist/cjs/node_modules/react-markdown/node_modules/vfile-message/lib/index.js.map +0 -1
  469. package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js +0 -2
  470. package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
  471. package/dist/cjs/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js +0 -2
  472. package/dist/cjs/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js.map +0 -1
  473. package/dist/features/DocumentLearning/_components/MinimizedThinkingSteps.js +0 -2
  474. package/dist/features/DocumentLearning/_components/MinimizedThinkingSteps.js.map +0 -1
  475. package/dist/features/DocumentLearning/_components/_svg/ArrowDown.js +0 -2
  476. package/dist/features/DocumentLearning/_components/_svg/ArrowDown.js.map +0 -1
  477. package/dist/features/DocumentLearning/_components/_svg/ArrowIconBlue.js +0 -2
  478. package/dist/features/DocumentLearning/_components/_svg/ArrowIconBlue.js.map +0 -1
  479. package/dist/features/DocumentLearning/_components/_svg/CompleteIconGreen.js +0 -2
  480. package/dist/features/DocumentLearning/_components/_svg/CompleteIconGreen.js.map +0 -1
  481. package/dist/features/IL-OTJ/_components/MinimizedThinkingSteps.js +0 -2
  482. package/dist/features/IL-OTJ/_components/MinimizedThinkingSteps.js.map +0 -1
  483. package/dist/features/IL-OTJ/_components/_svg/ArrowDown.js +0 -2
  484. package/dist/features/IL-OTJ/_components/_svg/ArrowDown.js.map +0 -1
  485. package/dist/features/IL-OTJ/_components/_svg/ArrowIconBlue.js +0 -2
  486. package/dist/features/IL-OTJ/_components/_svg/ArrowIconBlue.js.map +0 -1
  487. package/dist/features/IL-OTJ/_components/_svg/CompleteIconGreen.js +0 -2
  488. package/dist/features/IL-OTJ/_components/_svg/CompleteIconGreen.js.map +0 -1
  489. package/dist/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js +0 -2
  490. package/dist/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js.map +0 -1
  491. package/dist/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js +0 -2
  492. package/dist/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js.map +0 -1
  493. package/dist/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -2
  494. package/dist/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
  495. package/dist/node_modules/@mui/icons-material/esm/Add.js +0 -2
  496. package/dist/node_modules/@mui/icons-material/esm/Add.js.map +0 -1
  497. package/dist/node_modules/@mui/icons-material/esm/Cancel.js +0 -2
  498. package/dist/node_modules/@mui/icons-material/esm/Cancel.js.map +0 -1
  499. package/dist/node_modules/@mui/icons-material/esm/CheckCircleOutline.js +0 -2
  500. package/dist/node_modules/@mui/icons-material/esm/CheckCircleOutline.js.map +0 -1
  501. package/dist/node_modules/@mui/icons-material/esm/Delete.js +0 -2
  502. package/dist/node_modules/@mui/icons-material/esm/Delete.js.map +0 -1
  503. package/dist/node_modules/@mui/icons-material/esm/Edit.js +0 -2
  504. package/dist/node_modules/@mui/icons-material/esm/Edit.js.map +0 -1
  505. package/dist/node_modules/@mui/icons-material/esm/HelpOutline.js +0 -2
  506. package/dist/node_modules/@mui/icons-material/esm/HelpOutline.js.map +0 -1
  507. package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js +0 -2
  508. package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js.map +0 -1
  509. package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowUp.js +0 -2
  510. package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowUp.js.map +0 -1
  511. package/dist/node_modules/@mui/icons-material/esm/MergeType.js +0 -2
  512. package/dist/node_modules/@mui/icons-material/esm/MergeType.js.map +0 -1
  513. package/dist/node_modules/@mui/icons-material/esm/Save.js +0 -2
  514. package/dist/node_modules/@mui/icons-material/esm/Save.js.map +0 -1
  515. package/dist/node_modules/@mui/icons-material/esm/Undo.js +0 -2
  516. package/dist/node_modules/@mui/icons-material/esm/Undo.js.map +0 -1
  517. package/dist/node_modules/@mui/material/Grid2/Grid2.js +0 -2
  518. package/dist/node_modules/@mui/material/Grid2/Grid2.js.map +0 -1
  519. package/dist/node_modules/@mui/material/Grid2/grid2Classes.js +0 -2
  520. package/dist/node_modules/@mui/material/Grid2/grid2Classes.js.map +0 -1
  521. package/dist/node_modules/@mui/material/styles/ThemeProviderWithVars.js +0 -2
  522. package/dist/node_modules/@mui/material/styles/ThemeProviderWithVars.js.map +0 -1
  523. package/dist/node_modules/@mui/material/styles/createColorScheme.js +0 -2
  524. package/dist/node_modules/@mui/material/styles/createColorScheme.js.map +0 -1
  525. package/dist/node_modules/@mui/material/styles/createGetSelector.js +0 -2
  526. package/dist/node_modules/@mui/material/styles/createGetSelector.js.map +0 -1
  527. package/dist/node_modules/@mui/material/styles/createThemeNoVars.js +0 -2
  528. package/dist/node_modules/@mui/material/styles/createThemeNoVars.js.map +0 -1
  529. package/dist/node_modules/@mui/material/styles/createThemeWithVars.js +0 -2
  530. package/dist/node_modules/@mui/material/styles/createThemeWithVars.js.map +0 -1
  531. package/dist/node_modules/@mui/material/styles/stringifyTheme.js +0 -2
  532. package/dist/node_modules/@mui/material/styles/stringifyTheme.js.map +0 -1
  533. package/dist/node_modules/@mui/material/useLazyRipple/useLazyRipple.js +0 -2
  534. package/dist/node_modules/@mui/material/useLazyRipple/useLazyRipple.js.map +0 -1
  535. package/dist/node_modules/@mui/material/useMediaQuery/index.js +0 -2
  536. package/dist/node_modules/@mui/material/useMediaQuery/index.js.map +0 -1
  537. package/dist/node_modules/@mui/material/utils/createSimplePaletteValueFilter.js +0 -2
  538. package/dist/node_modules/@mui/material/utils/createSimplePaletteValueFilter.js.map +0 -1
  539. package/dist/node_modules/@mui/material/utils/isHostComponent.js +0 -2
  540. package/dist/node_modules/@mui/material/utils/isHostComponent.js.map +0 -1
  541. package/dist/node_modules/@mui/material/utils/memoTheme.js +0 -2
  542. package/dist/node_modules/@mui/material/utils/memoTheme.js.map +0 -1
  543. package/dist/node_modules/@mui/material/utils/mergeSlotProps.js +0 -2
  544. package/dist/node_modules/@mui/material/utils/mergeSlotProps.js.map +0 -1
  545. package/dist/node_modules/@mui/material/zero-styled/index.js +0 -2
  546. package/dist/node_modules/@mui/material/zero-styled/index.js.map +0 -1
  547. package/dist/node_modules/@mui/system/esm/Grid/Grid.js +0 -2
  548. package/dist/node_modules/@mui/system/esm/Grid/Grid.js.map +0 -1
  549. package/dist/node_modules/@mui/system/esm/Grid/createGrid.js +0 -2
  550. package/dist/node_modules/@mui/system/esm/Grid/createGrid.js.map +0 -1
  551. package/dist/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +0 -2
  552. package/dist/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js.map +0 -1
  553. package/dist/node_modules/@mui/system/esm/Grid/gridClasses.js +0 -2
  554. package/dist/node_modules/@mui/system/esm/Grid/gridClasses.js.map +0 -1
  555. package/dist/node_modules/@mui/system/esm/Grid/gridGenerator.js +0 -2
  556. package/dist/node_modules/@mui/system/esm/Grid/gridGenerator.js.map +0 -1
  557. package/dist/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js +0 -2
  558. package/dist/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js.map +0 -1
  559. package/dist/node_modules/@mui/system/esm/borders/borders.js +0 -2
  560. package/dist/node_modules/@mui/system/esm/borders/borders.js.map +0 -1
  561. package/dist/node_modules/@mui/system/esm/breakpoints/breakpoints.js +0 -2
  562. package/dist/node_modules/@mui/system/esm/breakpoints/breakpoints.js.map +0 -1
  563. package/dist/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +0 -2
  564. package/dist/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js.map +0 -1
  565. package/dist/node_modules/@mui/system/esm/compose/compose.js +0 -2
  566. package/dist/node_modules/@mui/system/esm/compose/compose.js.map +0 -1
  567. package/dist/node_modules/@mui/system/esm/createBox/createBox.js +0 -2
  568. package/dist/node_modules/@mui/system/esm/createBox/createBox.js.map +0 -1
  569. package/dist/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js +0 -2
  570. package/dist/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js.map +0 -1
  571. package/dist/node_modules/@mui/system/esm/createStyled/createStyled.js +0 -2
  572. package/dist/node_modules/@mui/system/esm/createStyled/createStyled.js.map +0 -1
  573. package/dist/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js +0 -2
  574. package/dist/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js.map +0 -1
  575. package/dist/node_modules/@mui/system/esm/cssGrid/cssGrid.js +0 -2
  576. package/dist/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +0 -1
  577. package/dist/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js +0 -2
  578. package/dist/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js.map +0 -1
  579. package/dist/node_modules/@mui/system/esm/cssVars/localStorageManager.js +0 -2
  580. package/dist/node_modules/@mui/system/esm/cssVars/localStorageManager.js.map +0 -1
  581. package/dist/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js +0 -2
  582. package/dist/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js.map +0 -1
  583. package/dist/node_modules/@mui/system/esm/display/display.js +0 -2
  584. package/dist/node_modules/@mui/system/esm/display/display.js.map +0 -1
  585. package/dist/node_modules/@mui/system/esm/flexbox/flexbox.js +0 -2
  586. package/dist/node_modules/@mui/system/esm/flexbox/flexbox.js.map +0 -1
  587. package/dist/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js +0 -2
  588. package/dist/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js.map +0 -1
  589. package/dist/node_modules/@mui/system/esm/memoTheme.js +0 -2
  590. package/dist/node_modules/@mui/system/esm/memoTheme.js.map +0 -1
  591. package/dist/node_modules/@mui/system/esm/memoize/memoize.js +0 -2
  592. package/dist/node_modules/@mui/system/esm/memoize/memoize.js.map +0 -1
  593. package/dist/node_modules/@mui/system/esm/merge/merge.js +0 -2
  594. package/dist/node_modules/@mui/system/esm/merge/merge.js.map +0 -1
  595. package/dist/node_modules/@mui/system/esm/palette/palette.js +0 -2
  596. package/dist/node_modules/@mui/system/esm/palette/palette.js.map +0 -1
  597. package/dist/node_modules/@mui/system/esm/positions/positions.js +0 -2
  598. package/dist/node_modules/@mui/system/esm/positions/positions.js.map +0 -1
  599. package/dist/node_modules/@mui/system/esm/preprocessStyles.js +0 -2
  600. package/dist/node_modules/@mui/system/esm/preprocessStyles.js.map +0 -1
  601. package/dist/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +0 -2
  602. package/dist/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js.map +0 -1
  603. package/dist/node_modules/@mui/system/esm/shadows/shadows.js +0 -2
  604. package/dist/node_modules/@mui/system/esm/shadows/shadows.js.map +0 -1
  605. package/dist/node_modules/@mui/system/esm/sizing/sizing.js +0 -2
  606. package/dist/node_modules/@mui/system/esm/sizing/sizing.js.map +0 -1
  607. package/dist/node_modules/@mui/system/esm/spacing/spacing.js +0 -2
  608. package/dist/node_modules/@mui/system/esm/spacing/spacing.js.map +0 -1
  609. package/dist/node_modules/@mui/system/esm/style/style.js +0 -2
  610. package/dist/node_modules/@mui/system/esm/style/style.js.map +0 -1
  611. package/dist/node_modules/@mui/system/esm/styled/styled.js +0 -2
  612. package/dist/node_modules/@mui/system/esm/styled/styled.js.map +0 -1
  613. package/dist/node_modules/@mui/system/esm/typography/typography.js +0 -2
  614. package/dist/node_modules/@mui/system/esm/typography/typography.js.map +0 -1
  615. package/dist/node_modules/@mui/system/esm/useTheme/useTheme.js +0 -2
  616. package/dist/node_modules/@mui/system/esm/useTheme/useTheme.js.map +0 -1
  617. package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js +0 -2
  618. package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js.map +0 -1
  619. package/dist/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +0 -2
  620. package/dist/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js.map +0 -1
  621. package/dist/node_modules/clsx/dist/clsx.mjs.js +0 -2
  622. package/dist/node_modules/clsx/dist/clsx.mjs.js.map +0 -1
  623. package/dist/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js +0 -2
  624. package/dist/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js.map +0 -1
  625. package/dist/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js +0 -2
  626. package/dist/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js.map +0 -1
  627. package/dist/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js +0 -2
  628. package/dist/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js.map +0 -1
  629. package/dist/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js +0 -2
  630. package/dist/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js.map +0 -1
  631. package/dist/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js +0 -2
  632. package/dist/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js.map +0 -1
  633. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js +0 -2
  634. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js.map +0 -1
  635. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js +0 -2
  636. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js.map +0 -1
  637. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
  638. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
  639. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js +0 -2
  640. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
  641. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +0 -2
  642. package/dist/node_modules/mdast-util-to-hast/lib/footer.js.map +0 -1
  643. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -2
  644. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +0 -1
  645. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -2
  646. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +0 -1
  647. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -2
  648. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +0 -1
  649. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -2
  650. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +0 -1
  651. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -2
  652. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +0 -1
  653. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -2
  654. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +0 -1
  655. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote.js +0 -2
  656. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote.js.map +0 -1
  657. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -2
  658. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +0 -1
  659. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -2
  660. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +0 -1
  661. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -2
  662. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +0 -1
  663. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -2
  664. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +0 -1
  665. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -2
  666. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +0 -1
  667. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -2
  668. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +0 -1
  669. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -2
  670. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +0 -1
  671. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -2
  672. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +0 -1
  673. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -2
  674. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +0 -1
  675. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -2
  676. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +0 -1
  677. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -2
  678. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +0 -1
  679. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -2
  680. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +0 -1
  681. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -2
  682. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +0 -1
  683. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -2
  684. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +0 -1
  685. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -2
  686. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +0 -1
  687. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -2
  688. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +0 -1
  689. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -2
  690. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +0 -1
  691. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -2
  692. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +0 -1
  693. package/dist/node_modules/mdast-util-to-hast/lib/index.js +0 -2
  694. package/dist/node_modules/mdast-util-to-hast/lib/index.js.map +0 -1
  695. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +0 -2
  696. package/dist/node_modules/mdast-util-to-hast/lib/revert.js.map +0 -1
  697. package/dist/node_modules/mdast-util-to-hast/lib/state.js +0 -2
  698. package/dist/node_modules/mdast-util-to-hast/lib/state.js.map +0 -1
  699. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js +0 -2
  700. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js.map +0 -1
  701. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js +0 -2
  702. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js.map +0 -1
  703. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js +0 -2
  704. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js.map +0 -1
  705. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js +0 -2
  706. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js.map +0 -1
  707. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
  708. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
  709. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js +0 -2
  710. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
  711. package/dist/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js +0 -2
  712. package/dist/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js.map +0 -1
  713. package/dist/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js +0 -2
  714. package/dist/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js.map +0 -1
  715. package/dist/node_modules/react-markdown/node_modules/is-plain-obj/index.js +0 -2
  716. package/dist/node_modules/react-markdown/node_modules/is-plain-obj/index.js.map +0 -1
  717. package/dist/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js +0 -2
  718. package/dist/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js.map +0 -1
  719. package/dist/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js +0 -2
  720. package/dist/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js.map +0 -1
  721. package/dist/node_modules/react-markdown/node_modules/micromark/lib/constructs.js +0 -2
  722. package/dist/node_modules/react-markdown/node_modules/micromark/lib/constructs.js.map +0 -1
  723. package/dist/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js +0 -2
  724. package/dist/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js.map +0 -1
  725. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js +0 -2
  726. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js.map +0 -1
  727. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js +0 -2
  728. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js.map +0 -1
  729. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js +0 -2
  730. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js.map +0 -1
  731. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js +0 -2
  732. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js.map +0 -1
  733. package/dist/node_modules/react-markdown/node_modules/micromark/lib/parse.js +0 -2
  734. package/dist/node_modules/react-markdown/node_modules/micromark/lib/parse.js.map +0 -1
  735. package/dist/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js +0 -2
  736. package/dist/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js.map +0 -1
  737. package/dist/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js +0 -2
  738. package/dist/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js.map +0 -1
  739. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js +0 -2
  740. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js.map +0 -1
  741. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +0 -2
  742. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js.map +0 -1
  743. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -2
  744. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js.map +0 -1
  745. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -2
  746. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js.map +0 -1
  747. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -2
  748. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js.map +0 -1
  749. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -2
  750. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js.map +0 -1
  751. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -2
  752. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +0 -1
  753. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -2
  754. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js.map +0 -1
  755. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +0 -2
  756. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js.map +0 -1
  757. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js +0 -2
  758. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js.map +0 -1
  759. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js +0 -2
  760. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js.map +0 -1
  761. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -2
  762. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +0 -1
  763. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -2
  764. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +0 -1
  765. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -2
  766. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js.map +0 -1
  767. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +0 -2
  768. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js.map +0 -1
  769. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +0 -2
  770. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js.map +0 -1
  771. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -2
  772. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +0 -1
  773. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -2
  774. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +0 -1
  775. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -2
  776. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js.map +0 -1
  777. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js +0 -2
  778. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js.map +0 -1
  779. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -2
  780. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +0 -1
  781. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -2
  782. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +0 -1
  783. package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js +0 -2
  784. package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js.map +0 -1
  785. package/dist/node_modules/react-markdown/node_modules/micromark-factory-label/index.js +0 -2
  786. package/dist/node_modules/react-markdown/node_modules/micromark-factory-label/index.js.map +0 -1
  787. package/dist/node_modules/react-markdown/node_modules/micromark-factory-space/index.js +0 -2
  788. package/dist/node_modules/react-markdown/node_modules/micromark-factory-space/index.js.map +0 -1
  789. package/dist/node_modules/react-markdown/node_modules/micromark-factory-title/index.js +0 -2
  790. package/dist/node_modules/react-markdown/node_modules/micromark-factory-title/index.js.map +0 -1
  791. package/dist/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js +0 -2
  792. package/dist/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js.map +0 -1
  793. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/index.js +0 -2
  794. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/index.js.map +0 -1
  795. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js +0 -2
  796. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js.map +0 -1
  797. package/dist/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js +0 -2
  798. package/dist/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js.map +0 -1
  799. package/dist/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js +0 -2
  800. package/dist/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js.map +0 -1
  801. package/dist/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js +0 -2
  802. package/dist/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js.map +0 -1
  803. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -2
  804. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +0 -1
  805. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js +0 -2
  806. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js.map +0 -1
  807. package/dist/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js +0 -2
  808. package/dist/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js.map +0 -1
  809. package/dist/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js +0 -2
  810. package/dist/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js.map +0 -1
  811. package/dist/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js +0 -2
  812. package/dist/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js.map +0 -1
  813. package/dist/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js +0 -2
  814. package/dist/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js.map +0 -1
  815. package/dist/node_modules/react-markdown/node_modules/property-information/index.js +0 -2
  816. package/dist/node_modules/react-markdown/node_modules/property-information/index.js.map +0 -1
  817. package/dist/node_modules/react-markdown/node_modules/property-information/lib/aria.js +0 -2
  818. package/dist/node_modules/react-markdown/node_modules/property-information/lib/aria.js.map +0 -1
  819. package/dist/node_modules/react-markdown/node_modules/property-information/lib/find.js +0 -2
  820. package/dist/node_modules/react-markdown/node_modules/property-information/lib/find.js.map +0 -1
  821. package/dist/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js +0 -2
  822. package/dist/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js.map +0 -1
  823. package/dist/node_modules/react-markdown/node_modules/property-information/lib/html.js +0 -2
  824. package/dist/node_modules/react-markdown/node_modules/property-information/lib/html.js.map +0 -1
  825. package/dist/node_modules/react-markdown/node_modules/property-information/lib/normalize.js +0 -2
  826. package/dist/node_modules/react-markdown/node_modules/property-information/lib/normalize.js.map +0 -1
  827. package/dist/node_modules/react-markdown/node_modules/property-information/lib/svg.js +0 -2
  828. package/dist/node_modules/react-markdown/node_modules/property-information/lib/svg.js.map +0 -1
  829. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -2
  830. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js.map +0 -1
  831. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -2
  832. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js.map +0 -1
  833. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/create.js +0 -2
  834. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/create.js.map +0 -1
  835. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js +0 -2
  836. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js.map +0 -1
  837. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/info.js +0 -2
  838. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/info.js.map +0 -1
  839. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js +0 -2
  840. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js.map +0 -1
  841. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js +0 -2
  842. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js.map +0 -1
  843. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/types.js +0 -2
  844. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/types.js.map +0 -1
  845. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xlink.js +0 -2
  846. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xlink.js.map +0 -1
  847. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xml.js +0 -2
  848. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xml.js.map +0 -1
  849. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js +0 -2
  850. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js.map +0 -1
  851. package/dist/node_modules/react-markdown/node_modules/remark-parse/lib/index.js +0 -2
  852. package/dist/node_modules/react-markdown/node_modules/remark-parse/lib/index.js.map +0 -1
  853. package/dist/node_modules/react-markdown/node_modules/space-separated-tokens/index.js +0 -2
  854. package/dist/node_modules/react-markdown/node_modules/space-separated-tokens/index.js.map +0 -1
  855. package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js +0 -2
  856. package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js.map +0 -1
  857. package/dist/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js +0 -2
  858. package/dist/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js.map +0 -1
  859. package/dist/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js +0 -2
  860. package/dist/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +0 -1
  861. package/dist/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js +0 -2
  862. package/dist/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js.map +0 -1
  863. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
  864. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
  865. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js +0 -2
  866. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
  867. package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js +0 -2
  868. package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +0 -1
  869. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js +0 -2
  870. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js.map +0 -1
  871. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js +0 -2
  872. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js.map +0 -1
  873. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js +0 -2
  874. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js.map +0 -1
  875. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js +0 -2
  876. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js.map +0 -1
  877. package/dist/node_modules/react-markdown/node_modules/vfile-message/lib/index.js +0 -2
  878. package/dist/node_modules/react-markdown/node_modules/vfile-message/lib/index.js.map +0 -1
  879. package/dist/node_modules/unist-util-visit-parents/lib/color.js +0 -2
  880. package/dist/node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
  881. package/dist/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js +0 -2
  882. package/dist/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js.map +0 -1
  883. package/dist/types/src/features/IL-OTJ/_components/BookLearningForm.d.ts +0 -23
  884. package/dist/types/src/features/IL-OTJ/_components/BookLearningForm.d.ts.map +0 -1
  885. package/dist/types/src/features/IL-OTJ/_components/ChatComponent.d.ts +0 -61
  886. package/dist/types/src/features/IL-OTJ/_components/ChatComponent.d.ts.map +0 -1
  887. package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCard.d.ts +0 -13
  888. package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCard.d.ts.map +0 -1
  889. package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCardDB.d.ts +0 -41
  890. package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCardDB.d.ts.map +0 -1
  891. package/dist/types/src/features/IL-OTJ/_components/ContextualChatComponent.d.ts +0 -62
  892. package/dist/types/src/features/IL-OTJ/_components/ContextualChatComponent.d.ts.map +0 -1
  893. package/dist/types/src/features/IL-OTJ/_components/ContextualConflictDBCard.d.ts +0 -30
  894. package/dist/types/src/features/IL-OTJ/_components/ContextualConflictDBCard.d.ts.map +0 -1
  895. package/dist/types/src/features/IL-OTJ/_components/ContextualLearningForm.d.ts +0 -1
  896. package/dist/types/src/features/IL-OTJ/_components/ContextualLearningForm.d.ts.map +0 -1
  897. package/dist/types/src/features/IL-OTJ/_components/LearningDetailsForm.d.ts +0 -71
  898. package/dist/types/src/features/IL-OTJ/_components/LearningDetailsForm.d.ts.map +0 -1
  899. package/dist/types/src/features/IL-OTJ/_components/MessageRendering.d.ts +0 -9
  900. package/dist/types/src/features/IL-OTJ/_components/MessageRendering.d.ts.map +0 -1
  901. package/dist/types/src/features/IL-OTJ/_components/SimilarLearningCard.d.ts +0 -20
  902. package/dist/types/src/features/IL-OTJ/_components/SimilarLearningCard.d.ts.map +0 -1
  903. package/dist/types/src/features/IL-OTJ/_components/TemplateRetrievalForm.d.ts +0 -50
  904. package/dist/types/src/features/IL-OTJ/_components/TemplateRetrievalForm.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"subscribe.mjs.js","sources":["../../../../node_modules/graphql/execution/subscribe.mjs"],"sourcesContent":["import { devAssert } from '../jsutils/devAssert.mjs';\nimport { inspect } from '../jsutils/inspect.mjs';\nimport { isAsyncIterable } from '../jsutils/isAsyncIterable.mjs';\nimport { addPath, pathToArray } from '../jsutils/Path.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport { locatedError } from '../error/locatedError.mjs';\nimport { collectFields } from './collectFields.mjs';\nimport {\n assertValidExecutionArguments,\n buildExecutionContext,\n buildResolveInfo,\n execute,\n getFieldDef,\n} from './execute.mjs';\nimport { mapAsyncIterator } from './mapAsyncIterator.mjs';\nimport { getArgumentValues } from './values.mjs';\n/**\n * Implements the \"Subscribe\" algorithm described in the GraphQL specification.\n *\n * Returns a Promise which resolves to either an AsyncIterator (if successful)\n * or an ExecutionResult (error). The promise will be rejected if the schema or\n * other arguments to this function are invalid, or if the resolved event stream\n * is not an async iterable.\n *\n * If the client-provided arguments to this function do not result in a\n * compliant subscription, a GraphQL Response (ExecutionResult) with\n * descriptive errors and no data will be returned.\n *\n * If the source stream could not be created due to faulty subscription\n * resolver logic or underlying systems, the promise will resolve to a single\n * ExecutionResult containing `errors` and no `data`.\n *\n * If the operation succeeded, the promise resolves to an AsyncIterator, which\n * yields a stream of ExecutionResults representing the response stream.\n *\n * Accepts either an object with named arguments, or individual arguments.\n */\n\nexport async function subscribe(args) {\n // Temporary for v15 to v16 migration. Remove in v17\n arguments.length < 2 ||\n devAssert(\n false,\n 'graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.',\n );\n const resultOrStream = await createSourceEventStream(args);\n\n if (!isAsyncIterable(resultOrStream)) {\n return resultOrStream;\n } // For each payload yielded from a subscription, map it over the normal\n // GraphQL `execute` function, with `payload` as the rootValue.\n // This implements the \"MapSourceToResponseEvent\" algorithm described in\n // the GraphQL specification. The `execute` function provides the\n // \"ExecuteSubscriptionEvent\" algorithm, as it is nearly identical to the\n // \"ExecuteQuery\" algorithm, for which `execute` is also used.\n\n const mapSourceToResponse = (payload) =>\n execute({ ...args, rootValue: payload }); // Map every source value to a ExecutionResult value as described above.\n\n return mapAsyncIterator(resultOrStream, mapSourceToResponse);\n}\n\nfunction toNormalizedArgs(args) {\n const firstArg = args[0];\n\n if (firstArg && 'document' in firstArg) {\n return firstArg;\n }\n\n return {\n schema: firstArg,\n // FIXME: when underlying TS bug fixed, see https://github.com/microsoft/TypeScript/issues/31613\n document: args[1],\n rootValue: args[2],\n contextValue: args[3],\n variableValues: args[4],\n operationName: args[5],\n subscribeFieldResolver: args[6],\n };\n}\n/**\n * Implements the \"CreateSourceEventStream\" algorithm described in the\n * GraphQL specification, resolving the subscription source event stream.\n *\n * Returns a Promise which resolves to either an AsyncIterable (if successful)\n * or an ExecutionResult (error). The promise will be rejected if the schema or\n * other arguments to this function are invalid, or if the resolved event stream\n * is not an async iterable.\n *\n * If the client-provided arguments to this function do not result in a\n * compliant subscription, a GraphQL Response (ExecutionResult) with\n * descriptive errors and no data will be returned.\n *\n * If the the source stream could not be created due to faulty subscription\n * resolver logic or underlying systems, the promise will resolve to a single\n * ExecutionResult containing `errors` and no `data`.\n *\n * If the operation succeeded, the promise resolves to the AsyncIterable for the\n * event stream returned by the resolver.\n *\n * A Source Event Stream represents a sequence of events, each of which triggers\n * a GraphQL execution for that event.\n *\n * This may be useful when hosting the stateful subscription service in a\n * different process or machine than the stateless GraphQL execution engine,\n * or otherwise separating these two steps. For more on this, see the\n * \"Supporting Subscriptions at Scale\" information in the GraphQL specification.\n */\n\nexport async function createSourceEventStream(...rawArgs) {\n const args = toNormalizedArgs(rawArgs);\n const { schema, document, variableValues } = args; // If arguments are missing or incorrectly typed, this is an internal\n // developer mistake which should throw an early error.\n\n assertValidExecutionArguments(schema, document, variableValues); // If a valid execution context cannot be created due to incorrect arguments,\n // a \"Response\" with only errors is returned.\n\n const exeContext = buildExecutionContext(args); // Return early errors if execution context failed.\n\n if (!('schema' in exeContext)) {\n return {\n errors: exeContext,\n };\n }\n\n try {\n const eventStream = await executeSubscription(exeContext); // Assert field returned an event stream, otherwise yield an error.\n\n if (!isAsyncIterable(eventStream)) {\n throw new Error(\n 'Subscription field must return Async Iterable. ' +\n `Received: ${inspect(eventStream)}.`,\n );\n }\n\n return eventStream;\n } catch (error) {\n // If it GraphQLError, report it as an ExecutionResult, containing only errors and no data.\n // Otherwise treat the error as a system-class error and re-throw it.\n if (error instanceof GraphQLError) {\n return {\n errors: [error],\n };\n }\n\n throw error;\n }\n}\n\nasync function executeSubscription(exeContext) {\n const { schema, fragments, operation, variableValues, rootValue } =\n exeContext;\n const rootType = schema.getSubscriptionType();\n\n if (rootType == null) {\n throw new GraphQLError(\n 'Schema is not configured to execute subscription operation.',\n {\n nodes: operation,\n },\n );\n }\n\n const rootFields = collectFields(\n schema,\n fragments,\n variableValues,\n rootType,\n operation.selectionSet,\n );\n const [responseName, fieldNodes] = [...rootFields.entries()][0];\n const fieldDef = getFieldDef(schema, rootType, fieldNodes[0]);\n\n if (!fieldDef) {\n const fieldName = fieldNodes[0].name.value;\n throw new GraphQLError(\n `The subscription field \"${fieldName}\" is not defined.`,\n {\n nodes: fieldNodes,\n },\n );\n }\n\n const path = addPath(undefined, responseName, rootType.name);\n const info = buildResolveInfo(\n exeContext,\n fieldDef,\n fieldNodes,\n rootType,\n path,\n );\n\n try {\n var _fieldDef$subscribe;\n\n // Implements the \"ResolveFieldEventStream\" algorithm from GraphQL specification.\n // It differs from \"ResolveFieldValue\" due to providing a different `resolveFn`.\n // Build a JS object of arguments from the field.arguments AST, using the\n // variables scope to fulfill any variable references.\n const args = getArgumentValues(fieldDef, fieldNodes[0], variableValues); // The resolve function's optional third argument is a context value that\n // is provided to every resolve function within an execution. It is commonly\n // used to represent an authenticated user, or request-specific caches.\n\n const contextValue = exeContext.contextValue; // Call the `subscribe()` resolver or the default resolver to produce an\n // AsyncIterable yielding raw payloads.\n\n const resolveFn =\n (_fieldDef$subscribe = fieldDef.subscribe) !== null &&\n _fieldDef$subscribe !== void 0\n ? _fieldDef$subscribe\n : exeContext.subscribeFieldResolver;\n const eventStream = await resolveFn(rootValue, args, contextValue, info);\n\n if (eventStream instanceof Error) {\n throw eventStream;\n }\n\n return eventStream;\n } catch (error) {\n throw locatedError(error, fieldNodes, pathToArray(path));\n }\n}\n"],"names":["async","subscribe","args","arguments","length","devAssert","resultOrStream","createSourceEventStream","isAsyncIterable","mapAsyncIterator","payload","execute","rootValue","rawArgs","firstArg","schema","document","contextValue","variableValues","operationName","subscribeFieldResolver","toNormalizedArgs","assertValidExecutionArguments","exeContext","buildExecutionContext","errors","eventStream","fragments","operation","rootType","getSubscriptionType","GraphQLError","nodes","rootFields","collectFields","selectionSet","responseName","fieldNodes","entries","fieldDef","getFieldDef","fieldName","name","value","path","addPath","undefined","info","buildResolveInfo","_fieldDef$subscribe","getArgumentValues","resolveFn","Error","error","locatedError","pathToArray","executeSubscription","inspect"],"mappings":"kqBAsCOA,eAAeC,EAAUC,GAE9BC,UAAUC,OAAS,GACjBC,GACE,EACA,uGAEJ,MAAMC,QAAuBC,EAAwBL,GAErD,IAAKM,EAAgBF,GACnB,OAAOA,EAWT,OAAOG,EAAiBH,EAHKI,GAC3BC,EAAQ,IAAKT,EAAMU,UAAWF,IAGlC,CAiDOV,eAAeO,KAA2BM,GAC/C,MAAMX,EAhDR,SAA0BA,GACxB,MAAMY,EAAWZ,EAAK,GAEtB,OAAIY,GAAY,aAAcA,EACrBA,EAGF,CACLC,OAAQD,EAERE,SAAUd,EAAK,GACfU,UAAWV,EAAK,GAChBe,aAAcf,EAAK,GACnBgB,eAAgBhB,EAAK,GACrBiB,cAAejB,EAAK,GACpBkB,uBAAwBlB,EAAK,GAEjC,CA+BemB,CAAiBR,IACxBE,OAAEA,EAAMC,SAAEA,EAAQE,eAAEA,GAAmBhB,EAG7CoB,EAA8BP,EAAQC,EAAUE,GAGhD,MAAMK,EAAaC,EAAsBtB,GAEzC,KAAM,WAAYqB,GAChB,MAAO,CACLE,OAAQF,GAIZ,IACE,MAAMG,QAuBV1B,eAAmCuB,GACjC,MAAMR,OAAEA,EAAMY,UAAEA,EAASC,UAAEA,EAASV,eAAEA,EAAcN,UAAEA,GACpDW,EACIM,EAAWd,EAAOe,sBAExB,GAAgB,MAAZD,EACF,MAAM,IAAIE,EACR,8DACA,CACEC,MAAOJ,IAKb,MAAMK,EAAaC,EACjBnB,EACAY,EACAT,EACAW,EACAD,EAAUO,eAELC,EAAcC,GAAc,IAAIJ,EAAWK,WAAW,GACvDC,EAAWC,EAAYzB,EAAQc,EAAUQ,EAAW,IAE1D,IAAKE,EAAU,CACb,MAAME,EAAYJ,EAAW,GAAGK,KAAKC,MACrC,MAAM,IAAIZ,EACR,2BAA2BU,qBAC3B,CACET,MAAOK,GAGZ,CAED,MAAMO,EAAOC,OAAQC,EAAWV,EAAcP,EAASa,MACjDK,EAAOC,EACXzB,EACAgB,EACAF,EACAR,EACAe,GAGF,IACE,IAAIK,EAMJ,MAAM/C,EAAOgD,EAAkBX,EAAUF,EAAW,GAAInB,GAIlDD,EAAeM,EAAWN,aAG1BkC,EAC2C,QAA9CF,EAAsBV,EAAStC,iBACH,IAA7BgD,EACIA,EACA1B,EAAWH,uBACXM,QAAoByB,EAAUvC,EAAWV,EAAMe,EAAc8B,GAEnE,GAAIrB,aAAuB0B,MACzB,MAAM1B,EAGR,OAAOA,CACR,CAAC,MAAO2B,GACP,MAAMC,EAAaD,EAAOhB,EAAYkB,EAAYX,GACnD,CACH,CA/F8BY,CAAoBjC,GAE9C,IAAKf,EAAgBkB,GACnB,MAAM,IAAI0B,MAEN,4DAAaK,EAAQ/B,OAI3B,OAAOA,CACR,CAAC,MAAO2B,GAGP,GAAIA,aAAiBtB,EACnB,MAAO,CACLN,OAAQ,CAAC4B,IAIb,MAAMA,CACP,CACH"}
1
+ {"version":3,"file":"subscribe.mjs.js","sources":["../../../../node_modules/graphql/execution/subscribe.mjs"],"sourcesContent":["import { devAssert } from '../jsutils/devAssert.mjs';\nimport { inspect } from '../jsutils/inspect.mjs';\nimport { isAsyncIterable } from '../jsutils/isAsyncIterable.mjs';\nimport { addPath, pathToArray } from '../jsutils/Path.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport { locatedError } from '../error/locatedError.mjs';\nimport { collectFields } from './collectFields.mjs';\nimport {\n // eslint-disable-next-line import/no-deprecated\n assertValidExecutionArguments,\n buildExecutionContext,\n buildResolveInfo,\n execute,\n getFieldDef,\n} from './execute.mjs';\nimport { mapAsyncIterator } from './mapAsyncIterator.mjs';\nimport { getArgumentValues } from './values.mjs';\n/**\n * Implements the \"Subscribe\" algorithm described in the GraphQL specification.\n *\n * Returns a Promise which resolves to either an AsyncIterator (if successful)\n * or an ExecutionResult (error). The promise will be rejected if the schema or\n * other arguments to this function are invalid, or if the resolved event stream\n * is not an async iterable.\n *\n * If the client-provided arguments to this function do not result in a\n * compliant subscription, a GraphQL Response (ExecutionResult) with\n * descriptive errors and no data will be returned.\n *\n * If the source stream could not be created due to faulty subscription\n * resolver logic or underlying systems, the promise will resolve to a single\n * ExecutionResult containing `errors` and no `data`.\n *\n * If the operation succeeded, the promise resolves to an AsyncIterator, which\n * yields a stream of ExecutionResults representing the response stream.\n *\n * Accepts either an object with named arguments, or individual arguments.\n */\n\nexport async function subscribe(args) {\n // Temporary for v15 to v16 migration. Remove in v17\n arguments.length < 2 ||\n devAssert(\n false,\n 'graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.',\n );\n const resultOrStream = await createSourceEventStream(args);\n\n if (!isAsyncIterable(resultOrStream)) {\n return resultOrStream;\n } // For each payload yielded from a subscription, map it over the normal\n // GraphQL `execute` function, with `payload` as the rootValue.\n // This implements the \"MapSourceToResponseEvent\" algorithm described in\n // the GraphQL specification. The `execute` function provides the\n // \"ExecuteSubscriptionEvent\" algorithm, as it is nearly identical to the\n // \"ExecuteQuery\" algorithm, for which `execute` is also used.\n\n const mapSourceToResponse = (payload) =>\n execute({ ...args, rootValue: payload }); // Map every source value to a ExecutionResult value as described above.\n\n return mapAsyncIterator(resultOrStream, mapSourceToResponse);\n}\n\nfunction toNormalizedArgs(args) {\n const firstArg = args[0];\n\n if (firstArg && 'document' in firstArg) {\n return firstArg;\n }\n\n return {\n schema: firstArg,\n // FIXME: when underlying TS bug fixed, see https://github.com/microsoft/TypeScript/issues/31613\n document: args[1],\n rootValue: args[2],\n contextValue: args[3],\n variableValues: args[4],\n operationName: args[5],\n subscribeFieldResolver: args[6],\n };\n}\n/**\n * Implements the \"CreateSourceEventStream\" algorithm described in the\n * GraphQL specification, resolving the subscription source event stream.\n *\n * Returns a Promise which resolves to either an AsyncIterable (if successful)\n * or an ExecutionResult (error). The promise will be rejected if the schema or\n * other arguments to this function are invalid, or if the resolved event stream\n * is not an async iterable.\n *\n * If the client-provided arguments to this function do not result in a\n * compliant subscription, a GraphQL Response (ExecutionResult) with\n * descriptive errors and no data will be returned.\n *\n * If the the source stream could not be created due to faulty subscription\n * resolver logic or underlying systems, the promise will resolve to a single\n * ExecutionResult containing `errors` and no `data`.\n *\n * If the operation succeeded, the promise resolves to the AsyncIterable for the\n * event stream returned by the resolver.\n *\n * A Source Event Stream represents a sequence of events, each of which triggers\n * a GraphQL execution for that event.\n *\n * This may be useful when hosting the stateful subscription service in a\n * different process or machine than the stateless GraphQL execution engine,\n * or otherwise separating these two steps. For more on this, see the\n * \"Supporting Subscriptions at Scale\" information in the GraphQL specification.\n */\n\nexport async function createSourceEventStream(...rawArgs) {\n const args = toNormalizedArgs(rawArgs);\n const { schema, document, variableValues } = args; // If arguments are missing or incorrectly typed, this is an internal\n // developer mistake which should throw an early error.\n // eslint-disable-next-line import/no-deprecated\n\n assertValidExecutionArguments(schema, document, variableValues); // If a valid execution context cannot be created due to incorrect arguments,\n // a \"Response\" with only errors is returned.\n\n const exeContext = buildExecutionContext(args); // Return early errors if execution context failed.\n\n if (!('schema' in exeContext)) {\n return {\n errors: exeContext,\n };\n }\n\n try {\n const eventStream = await executeSubscription(exeContext); // Assert field returned an event stream, otherwise yield an error.\n\n if (!isAsyncIterable(eventStream)) {\n throw new Error(\n 'Subscription field must return Async Iterable. ' +\n `Received: ${inspect(eventStream)}.`,\n );\n }\n\n return eventStream;\n } catch (error) {\n // If it GraphQLError, report it as an ExecutionResult, containing only errors and no data.\n // Otherwise treat the error as a system-class error and re-throw it.\n if (error instanceof GraphQLError) {\n return {\n errors: [error],\n };\n }\n\n throw error;\n }\n}\n\nasync function executeSubscription(exeContext) {\n const { schema, fragments, operation, variableValues, rootValue } =\n exeContext;\n const rootType = schema.getSubscriptionType();\n\n if (rootType == null) {\n throw new GraphQLError(\n 'Schema is not configured to execute subscription operation.',\n {\n nodes: operation,\n },\n );\n }\n\n const rootFields = collectFields(\n schema,\n fragments,\n variableValues,\n rootType,\n operation.selectionSet,\n );\n const [responseName, fieldNodes] = [...rootFields.entries()][0];\n const fieldDef = getFieldDef(schema, rootType, fieldNodes[0]);\n\n if (!fieldDef) {\n const fieldName = fieldNodes[0].name.value;\n throw new GraphQLError(\n `The subscription field \"${fieldName}\" is not defined.`,\n {\n nodes: fieldNodes,\n },\n );\n }\n\n const path = addPath(undefined, responseName, rootType.name);\n const info = buildResolveInfo(\n exeContext,\n fieldDef,\n fieldNodes,\n rootType,\n path,\n );\n\n try {\n var _fieldDef$subscribe;\n\n // Implements the \"ResolveFieldEventStream\" algorithm from GraphQL specification.\n // It differs from \"ResolveFieldValue\" due to providing a different `resolveFn`.\n // Build a JS object of arguments from the field.arguments AST, using the\n // variables scope to fulfill any variable references.\n const args = getArgumentValues(fieldDef, fieldNodes[0], variableValues); // The resolve function's optional third argument is a context value that\n // is provided to every resolve function within an execution. It is commonly\n // used to represent an authenticated user, or request-specific caches.\n\n const contextValue = exeContext.contextValue; // Call the `subscribe()` resolver or the default resolver to produce an\n // AsyncIterable yielding raw payloads.\n\n const resolveFn =\n (_fieldDef$subscribe = fieldDef.subscribe) !== null &&\n _fieldDef$subscribe !== void 0\n ? _fieldDef$subscribe\n : exeContext.subscribeFieldResolver;\n const eventStream = await resolveFn(rootValue, args, contextValue, info);\n\n if (eventStream instanceof Error) {\n throw eventStream;\n }\n\n return eventStream;\n } catch (error) {\n throw locatedError(error, fieldNodes, pathToArray(path));\n }\n}\n"],"names":["async","subscribe","args","arguments","length","devAssert","resultOrStream","createSourceEventStream","isAsyncIterable","mapAsyncIterator","payload","execute","rootValue","rawArgs","firstArg","schema","document","contextValue","variableValues","operationName","subscribeFieldResolver","toNormalizedArgs","assertValidExecutionArguments","exeContext","buildExecutionContext","errors","eventStream","fragments","operation","rootType","getSubscriptionType","GraphQLError","nodes","rootFields","collectFields","selectionSet","responseName","fieldNodes","entries","fieldDef","getFieldDef","fieldName","name","value","path","addPath","undefined","info","buildResolveInfo","_fieldDef$subscribe","getArgumentValues","resolveFn","Error","error","locatedError","pathToArray","executeSubscription","inspect"],"mappings":"kqBAuCOA,eAAeC,EAAUC,GAE9BC,UAAUC,OAAS,GACjBC,GACE,EACA,uGAEJ,MAAMC,QAAuBC,EAAwBL,GAErD,IAAKM,EAAgBF,GACnB,OAAOA,EAWT,OAAOG,EAAiBH,EAHKI,GAC3BC,EAAQ,IAAKT,EAAMU,UAAWF,IAGlC,CAiDOV,eAAeO,KAA2BM,GAC/C,MAAMX,EAhDR,SAA0BA,GACxB,MAAMY,EAAWZ,EAAK,GAEtB,OAAIY,GAAY,aAAcA,EACrBA,EAGF,CACLC,OAAQD,EAERE,SAAUd,EAAK,GACfU,UAAWV,EAAK,GAChBe,aAAcf,EAAK,GACnBgB,eAAgBhB,EAAK,GACrBiB,cAAejB,EAAK,GACpBkB,uBAAwBlB,EAAK,GAEjC,CA+BemB,CAAiBR,IACxBE,OAAEA,EAAMC,SAAEA,EAAQE,eAAEA,GAAmBhB,EAI7CoB,EAA8BP,EAAQC,EAAUE,GAGhD,MAAMK,EAAaC,EAAsBtB,GAEzC,KAAM,WAAYqB,GAChB,MAAO,CACLE,OAAQF,GAIZ,IACE,MAAMG,QAuBV1B,eAAmCuB,GACjC,MAAMR,OAAEA,EAAMY,UAAEA,EAASC,UAAEA,EAASV,eAAEA,EAAcN,UAAEA,GACpDW,EACIM,EAAWd,EAAOe,sBAExB,GAAgB,MAAZD,EACF,MAAM,IAAIE,EACR,8DACA,CACEC,MAAOJ,IAKb,MAAMK,EAAaC,EACjBnB,EACAY,EACAT,EACAW,EACAD,EAAUO,eAELC,EAAcC,GAAc,IAAIJ,EAAWK,WAAW,GACvDC,EAAWC,EAAYzB,EAAQc,EAAUQ,EAAW,IAE1D,IAAKE,EAAU,CACb,MAAME,EAAYJ,EAAW,GAAGK,KAAKC,MACrC,MAAM,IAAIZ,EACR,2BAA2BU,qBAC3B,CACET,MAAOK,GAGZ,CAED,MAAMO,EAAOC,OAAQC,EAAWV,EAAcP,EAASa,MACjDK,EAAOC,EACXzB,EACAgB,EACAF,EACAR,EACAe,GAGF,IACE,IAAIK,EAMJ,MAAM/C,EAAOgD,EAAkBX,EAAUF,EAAW,GAAInB,GAIlDD,EAAeM,EAAWN,aAG1BkC,EAC2C,QAA9CF,EAAsBV,EAAStC,iBACH,IAA7BgD,EACIA,EACA1B,EAAWH,uBACXM,QAAoByB,EAAUvC,EAAWV,EAAMe,EAAc8B,GAEnE,GAAIrB,aAAuB0B,MACzB,MAAM1B,EAGR,OAAOA,CACR,CAAC,MAAO2B,GACP,MAAMC,EAAaD,EAAOhB,EAAYkB,EAAYX,GACnD,CACH,CA/F8BY,CAAoBjC,GAE9C,IAAKf,EAAgBkB,GACnB,MAAM,IAAI0B,MAEN,4DAAaK,EAAQ/B,OAI3B,OAAOA,CACR,CAAC,MAAO2B,GAGP,GAAIA,aAAiBtB,EACnB,MAAO,CACLN,OAAQ,CAAC4B,IAIb,MAAMA,CACP,CACH"}
@@ -1,2 +1,2 @@
1
- import{inspect as e}from"../jsutils/inspect.mjs.js";import{keyMap as n}from"../jsutils/keyMap.mjs.js";import{printPathArray as t}from"../jsutils/printPathArray.mjs.js";import{GraphQLError as o}from"../error/GraphQLError.mjs.js";import{Kind as r}from"../language/kinds.mjs.js";import{print as i}from"../language/printer.mjs.js";import{isInputType as s,isNonNullType as a}from"../type/definition.mjs.js";import{coerceInputValue as u}from"../utilities/coerceInputValue.mjs.js";import{typeFromAST as l}from"../utilities/typeFromAST.mjs.js";import{valueFromAST as f}from"../utilities/valueFromAST.mjs.js";function m(n,r,m,d){const c=[],v=null==d?void 0:d.maxErrors;try{const d=function(n,r,m,d){const c={};for(const v of r){const r=v.variable.name.value,j=l(n,v.type);if(!s(j)){const e=i(v.type);d(new o(`Variable "$${r}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:v.type}));continue}if(!p(m,r)){if(v.defaultValue)c[r]=f(v.defaultValue,j);else if(a(j)){const n=e(j);d(new o(`Variable "$${r}" of required type "${n}" was not provided.`,{nodes:v}))}continue}const $=m[r];if(null===$&&a(j)){const n=e(j);d(new o(`Variable "$${r}" of non-null type "${n}" must not be null.`,{nodes:v}));continue}c[r]=u($,j,(n,i,s)=>{let a=`Variable "$${r}" got invalid value `+e(i);n.length>0&&(a+=` at "${r}${t(n)}"`),d(new o(a+"; "+s.message,{nodes:v,originalError:s}))})}return c}(n,r,m,e=>{if(null!=v&&c.length>=v)throw new o("Too many errors processing variables, error limit reached. Execution aborted.");c.push(e)});if(0===c.length)return{coerced:d}}catch(e){c.push(e)}return{errors:c}}function d(t,s,u){var l;const m={},d=null!==(l=s.arguments)&&void 0!==l?l:[],c=n(d,e=>e.name.value);for(const n of t.args){const t=n.name,l=n.type,d=c[t];if(!d){if(void 0!==n.defaultValue)m[t]=n.defaultValue;else if(a(l))throw new o(`Argument "${t}" of required type "${e(l)}" was not provided.`,{nodes:s});continue}const v=d.value;let j=v.kind===r.NULL;if(v.kind===r.VARIABLE){const r=v.name.value;if(null==u||!p(u,r)){if(void 0!==n.defaultValue)m[t]=n.defaultValue;else if(a(l))throw new o(`Argument "${t}" of required type "${e(l)}" was provided the variable "$${r}" which was not provided a runtime value.`,{nodes:v});continue}j=null==u[r]}if(j&&a(l))throw new o(`Argument "${t}" of non-null type "${e(l)}" must not be null.`,{nodes:v});const $=f(v,l,u);if(void 0===$)throw new o(`Argument "${t}" has invalid value ${i(v)}.`,{nodes:v});m[t]=$}return m}function c(e,n,t){var o;const r=null===(o=n.directives)||void 0===o?void 0:o.find(n=>n.name.value===e.name);if(r)return d(e,r,t)}function p(e,n){return Object.prototype.hasOwnProperty.call(e,n)}export{d as getArgumentValues,c as getDirectiveValues,m as getVariableValues};
1
+ import{inspect as e}from"../jsutils/inspect.mjs.js";import{keyMap as t}from"../jsutils/keyMap.mjs.js";import{printPathArray as n}from"../jsutils/printPathArray.mjs.js";import{GraphQLError as o}from"../error/GraphQLError.mjs.js";import{Kind as r}from"../language/kinds.mjs.js";import{print as i}from"../language/printer.mjs.js";import{isInputType as s,isNonNullType as a}from"../type/definition.mjs.js";import{coerceInputValue as l}from"../utilities/coerceInputValue.mjs.js";import{typeFromAST as u}from"../utilities/typeFromAST.mjs.js";import{valueFromAST as f}from"../utilities/valueFromAST.mjs.js";function m(t,r,m,c){const d=[],v=null==c?void 0:c.maxErrors;try{const c=function(t,r,m,c){const d=Object.create(null);for(const v of r){const r=v.variable.name.value,j=u(t,v.type);if(!s(j)){const e=i(v.type);c(new o(`Variable "$${r}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:v.type}));continue}if(!p(m,r)){if(v.defaultValue)d[r]=f(v.defaultValue,j);else if(a(j)){const t=e(j);c(new o(`Variable "$${r}" of required type "${t}" was not provided.`,{nodes:v}))}continue}const $=m[r];if(null===$&&a(j)){const t=e(j);c(new o(`Variable "$${r}" of non-null type "${t}" must not be null.`,{nodes:v}));continue}d[r]=l($,j,(t,i,s)=>{let a=`Variable "$${r}" got invalid value `+e(i);t.length>0&&(a+=` at "${r}${n(t)}"`),c(new o(a+"; "+s.message,{nodes:v,originalError:s}))})}return{...d}}(t,r,m,e=>{if(null!=v&&d.length>=v)throw new o("Too many errors processing variables, error limit reached. Execution aborted.");d.push(e)});if(0===d.length)return{coerced:c}}catch(e){d.push(e)}return{errors:d}}function c(n,s,l){var u;const m=Object.create(null),c=null!==(u=s.arguments)&&void 0!==u?u:[],d=t(c,e=>e.name.value);for(const t of n.args){const n=t.name,u=t.type,c=d[n];if(!c){if(void 0!==t.defaultValue)m[n]=t.defaultValue;else if(a(u))throw new o(`Argument "${n}" of required type "${e(u)}" was not provided.`,{nodes:s});continue}const v=c.value;let j=v.kind===r.NULL;if(v.kind===r.VARIABLE){const r=v.name.value;if(null==l||!p(l,r)){if(void 0!==t.defaultValue)m[n]=t.defaultValue;else if(a(u))throw new o(`Argument "${n}" of required type "${e(u)}" was provided the variable "$${r}" which was not provided a runtime value.`,{nodes:v});continue}j=null==l[r]}if(j&&a(u))throw new o(`Argument "${n}" of non-null type "${e(u)}" must not be null.`,{nodes:v});const $=f(v,u,l);if(void 0===$)throw new o(`Argument "${n}" has invalid value ${i(v)}.`,{nodes:v});m[n]=$}return{...m}}function d(e,t,n){var o;const r=null===(o=t.directives)||void 0===o?void 0:o.find(t=>t.name.value===e.name);if(r)return c(e,r,n)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}export{c as getArgumentValues,d as getDirectiveValues,m as getVariableValues};
2
2
  //# sourceMappingURL=values.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"values.mjs.js","sources":["../../../../node_modules/graphql/execution/values.mjs"],"sourcesContent":["import { inspect } from '../jsutils/inspect.mjs';\nimport { keyMap } from '../jsutils/keyMap.mjs';\nimport { printPathArray } from '../jsutils/printPathArray.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport { Kind } from '../language/kinds.mjs';\nimport { print } from '../language/printer.mjs';\nimport { isInputType, isNonNullType } from '../type/definition.mjs';\nimport { coerceInputValue } from '../utilities/coerceInputValue.mjs';\nimport { typeFromAST } from '../utilities/typeFromAST.mjs';\nimport { valueFromAST } from '../utilities/valueFromAST.mjs';\n\n/**\n * Prepares an object map of variableValues of the correct type based on the\n * provided variable definitions and arbitrary input. If the input cannot be\n * parsed to match the variable definitions, a GraphQLError will be thrown.\n *\n * Note: The returned value is a plain Object with a prototype, since it is\n * exposed to user code. Care should be taken to not pull values from the\n * Object prototype.\n */\nexport function getVariableValues(schema, varDefNodes, inputs, options) {\n const errors = [];\n const maxErrors =\n options === null || options === void 0 ? void 0 : options.maxErrors;\n\n try {\n const coerced = coerceVariableValues(\n schema,\n varDefNodes,\n inputs,\n (error) => {\n if (maxErrors != null && errors.length >= maxErrors) {\n throw new GraphQLError(\n 'Too many errors processing variables, error limit reached. Execution aborted.',\n );\n }\n\n errors.push(error);\n },\n );\n\n if (errors.length === 0) {\n return {\n coerced,\n };\n }\n } catch (error) {\n errors.push(error);\n }\n\n return {\n errors,\n };\n}\n\nfunction coerceVariableValues(schema, varDefNodes, inputs, onError) {\n const coercedValues = {};\n\n for (const varDefNode of varDefNodes) {\n const varName = varDefNode.variable.name.value;\n const varType = typeFromAST(schema, varDefNode.type);\n\n if (!isInputType(varType)) {\n // Must use input types for variables. This should be caught during\n // validation, however is checked again here for safety.\n const varTypeStr = print(varDefNode.type);\n onError(\n new GraphQLError(\n `Variable \"$${varName}\" expected value of type \"${varTypeStr}\" which cannot be used as an input type.`,\n {\n nodes: varDefNode.type,\n },\n ),\n );\n continue;\n }\n\n if (!hasOwnProperty(inputs, varName)) {\n if (varDefNode.defaultValue) {\n coercedValues[varName] = valueFromAST(varDefNode.defaultValue, varType);\n } else if (isNonNullType(varType)) {\n const varTypeStr = inspect(varType);\n onError(\n new GraphQLError(\n `Variable \"$${varName}\" of required type \"${varTypeStr}\" was not provided.`,\n {\n nodes: varDefNode,\n },\n ),\n );\n }\n\n continue;\n }\n\n const value = inputs[varName];\n\n if (value === null && isNonNullType(varType)) {\n const varTypeStr = inspect(varType);\n onError(\n new GraphQLError(\n `Variable \"$${varName}\" of non-null type \"${varTypeStr}\" must not be null.`,\n {\n nodes: varDefNode,\n },\n ),\n );\n continue;\n }\n\n coercedValues[varName] = coerceInputValue(\n value,\n varType,\n (path, invalidValue, error) => {\n let prefix =\n `Variable \"$${varName}\" got invalid value ` + inspect(invalidValue);\n\n if (path.length > 0) {\n prefix += ` at \"${varName}${printPathArray(path)}\"`;\n }\n\n onError(\n new GraphQLError(prefix + '; ' + error.message, {\n nodes: varDefNode,\n originalError: error,\n }),\n );\n },\n );\n }\n\n return coercedValues;\n}\n/**\n * Prepares an object map of argument values given a list of argument\n * definitions and list of argument AST nodes.\n *\n * Note: The returned value is a plain Object with a prototype, since it is\n * exposed to user code. Care should be taken to not pull values from the\n * Object prototype.\n */\n\nexport function getArgumentValues(def, node, variableValues) {\n var _node$arguments;\n\n const coercedValues = {}; // FIXME: https://github.com/graphql/graphql-js/issues/2203\n\n /* c8 ignore next */\n\n const argumentNodes =\n (_node$arguments = node.arguments) !== null && _node$arguments !== void 0\n ? _node$arguments\n : [];\n const argNodeMap = keyMap(argumentNodes, (arg) => arg.name.value);\n\n for (const argDef of def.args) {\n const name = argDef.name;\n const argType = argDef.type;\n const argumentNode = argNodeMap[name];\n\n if (!argumentNode) {\n if (argDef.defaultValue !== undefined) {\n coercedValues[name] = argDef.defaultValue;\n } else if (isNonNullType(argType)) {\n throw new GraphQLError(\n `Argument \"${name}\" of required type \"${inspect(argType)}\" ` +\n 'was not provided.',\n {\n nodes: node,\n },\n );\n }\n\n continue;\n }\n\n const valueNode = argumentNode.value;\n let isNull = valueNode.kind === Kind.NULL;\n\n if (valueNode.kind === Kind.VARIABLE) {\n const variableName = valueNode.name.value;\n\n if (\n variableValues == null ||\n !hasOwnProperty(variableValues, variableName)\n ) {\n if (argDef.defaultValue !== undefined) {\n coercedValues[name] = argDef.defaultValue;\n } else if (isNonNullType(argType)) {\n throw new GraphQLError(\n `Argument \"${name}\" of required type \"${inspect(argType)}\" ` +\n `was provided the variable \"$${variableName}\" which was not provided a runtime value.`,\n {\n nodes: valueNode,\n },\n );\n }\n\n continue;\n }\n\n isNull = variableValues[variableName] == null;\n }\n\n if (isNull && isNonNullType(argType)) {\n throw new GraphQLError(\n `Argument \"${name}\" of non-null type \"${inspect(argType)}\" ` +\n 'must not be null.',\n {\n nodes: valueNode,\n },\n );\n }\n\n const coercedValue = valueFromAST(valueNode, argType, variableValues);\n\n if (coercedValue === undefined) {\n // Note: ValuesOfCorrectTypeRule validation should catch this before\n // execution. This is a runtime check to ensure execution does not\n // continue with an invalid argument value.\n throw new GraphQLError(\n `Argument \"${name}\" has invalid value ${print(valueNode)}.`,\n {\n nodes: valueNode,\n },\n );\n }\n\n coercedValues[name] = coercedValue;\n }\n\n return coercedValues;\n}\n/**\n * Prepares an object map of argument values given a directive definition\n * and a AST node which may contain directives. Optionally also accepts a map\n * of variable values.\n *\n * If the directive does not exist on the node, returns undefined.\n *\n * Note: The returned value is a plain Object with a prototype, since it is\n * exposed to user code. Care should be taken to not pull values from the\n * Object prototype.\n */\n\nexport function getDirectiveValues(directiveDef, node, variableValues) {\n var _node$directives;\n\n const directiveNode =\n (_node$directives = node.directives) === null || _node$directives === void 0\n ? void 0\n : _node$directives.find(\n (directive) => directive.name.value === directiveDef.name,\n );\n\n if (directiveNode) {\n return getArgumentValues(directiveDef, directiveNode, variableValues);\n }\n}\n\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n"],"names":["getVariableValues","schema","varDefNodes","inputs","options","errors","maxErrors","coerced","onError","coercedValues","varDefNode","varName","variable","name","value","varType","typeFromAST","type","isInputType","varTypeStr","print","GraphQLError","nodes","hasOwnProperty","defaultValue","valueFromAST","isNonNullType","inspect","coerceInputValue","path","invalidValue","error","prefix","length","printPathArray","message","originalError","coerceVariableValues","push","getArgumentValues","def","node","variableValues","_node$arguments","argumentNodes","arguments","argNodeMap","keyMap","arg","argDef","args","argType","argumentNode","undefined","valueNode","isNull","kind","Kind","NULL","VARIABLE","variableName","coercedValue","getDirectiveValues","directiveDef","_node$directives","directiveNode","directives","find","directive","obj","prop","Object","prototype","call"],"mappings":"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"}
1
+ {"version":3,"file":"values.mjs.js","sources":["../../../../node_modules/graphql/execution/values.mjs"],"sourcesContent":["import { inspect } from '../jsutils/inspect.mjs';\nimport { keyMap } from '../jsutils/keyMap.mjs';\nimport { printPathArray } from '../jsutils/printPathArray.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport { Kind } from '../language/kinds.mjs';\nimport { print } from '../language/printer.mjs';\nimport { isInputType, isNonNullType } from '../type/definition.mjs';\nimport { coerceInputValue } from '../utilities/coerceInputValue.mjs';\nimport { typeFromAST } from '../utilities/typeFromAST.mjs';\nimport { valueFromAST } from '../utilities/valueFromAST.mjs';\n\n/**\n * Prepares an object map of variableValues of the correct type based on the\n * provided variable definitions and arbitrary input. If the input cannot be\n * parsed to match the variable definitions, a GraphQLError will be thrown.\n *\n * Note: The returned value is a plain Object with a prototype, since it is\n * exposed to user code. Care should be taken to not pull values from the\n * Object prototype.\n */\nexport function getVariableValues(schema, varDefNodes, inputs, options) {\n const errors = [];\n const maxErrors =\n options === null || options === void 0 ? void 0 : options.maxErrors;\n\n try {\n const coerced = coerceVariableValues(\n schema,\n varDefNodes,\n inputs,\n (error) => {\n if (maxErrors != null && errors.length >= maxErrors) {\n throw new GraphQLError(\n 'Too many errors processing variables, error limit reached. Execution aborted.',\n );\n }\n\n errors.push(error);\n },\n );\n\n if (errors.length === 0) {\n return {\n coerced,\n };\n }\n } catch (error) {\n errors.push(error);\n }\n\n return {\n errors,\n };\n}\n\nfunction coerceVariableValues(schema, varDefNodes, inputs, onError) {\n const coercedValues = Object.create(null);\n\n for (const varDefNode of varDefNodes) {\n const varName = varDefNode.variable.name.value;\n const varType = typeFromAST(schema, varDefNode.type);\n\n if (!isInputType(varType)) {\n // Must use input types for variables. This should be caught during\n // validation, however is checked again here for safety.\n const varTypeStr = print(varDefNode.type);\n onError(\n new GraphQLError(\n `Variable \"$${varName}\" expected value of type \"${varTypeStr}\" which cannot be used as an input type.`,\n {\n nodes: varDefNode.type,\n },\n ),\n );\n continue;\n }\n\n if (!hasOwnProperty(inputs, varName)) {\n if (varDefNode.defaultValue) {\n coercedValues[varName] = valueFromAST(varDefNode.defaultValue, varType);\n } else if (isNonNullType(varType)) {\n const varTypeStr = inspect(varType);\n onError(\n new GraphQLError(\n `Variable \"$${varName}\" of required type \"${varTypeStr}\" was not provided.`,\n {\n nodes: varDefNode,\n },\n ),\n );\n }\n\n continue;\n }\n\n const value = inputs[varName];\n\n if (value === null && isNonNullType(varType)) {\n const varTypeStr = inspect(varType);\n onError(\n new GraphQLError(\n `Variable \"$${varName}\" of non-null type \"${varTypeStr}\" must not be null.`,\n {\n nodes: varDefNode,\n },\n ),\n );\n continue;\n }\n\n coercedValues[varName] = coerceInputValue(\n value,\n varType,\n (path, invalidValue, error) => {\n let prefix =\n `Variable \"$${varName}\" got invalid value ` + inspect(invalidValue);\n\n if (path.length > 0) {\n prefix += ` at \"${varName}${printPathArray(path)}\"`;\n }\n\n onError(\n new GraphQLError(prefix + '; ' + error.message, {\n nodes: varDefNode,\n originalError: error,\n }),\n );\n },\n );\n }\n\n return { ...coercedValues };\n}\n/**\n * Prepares an object map of argument values given a list of argument\n * definitions and list of argument AST nodes.\n *\n * Note: The returned value is a plain Object with a prototype, since it is\n * exposed to user code. Care should be taken to not pull values from the\n * Object prototype.\n */\n\nexport function getArgumentValues(def, node, variableValues) {\n var _node$arguments;\n\n const coercedValues = Object.create(null); // FIXME: https://github.com/graphql/graphql-js/issues/2203\n\n /* c8 ignore next */\n\n const argumentNodes =\n (_node$arguments = node.arguments) !== null && _node$arguments !== void 0\n ? _node$arguments\n : [];\n const argNodeMap = keyMap(argumentNodes, (arg) => arg.name.value);\n\n for (const argDef of def.args) {\n const name = argDef.name;\n const argType = argDef.type;\n const argumentNode = argNodeMap[name];\n\n if (!argumentNode) {\n if (argDef.defaultValue !== undefined) {\n coercedValues[name] = argDef.defaultValue;\n } else if (isNonNullType(argType)) {\n throw new GraphQLError(\n `Argument \"${name}\" of required type \"${inspect(argType)}\" ` +\n 'was not provided.',\n {\n nodes: node,\n },\n );\n }\n\n continue;\n }\n\n const valueNode = argumentNode.value;\n let isNull = valueNode.kind === Kind.NULL;\n\n if (valueNode.kind === Kind.VARIABLE) {\n const variableName = valueNode.name.value;\n\n if (\n variableValues == null ||\n !hasOwnProperty(variableValues, variableName)\n ) {\n if (argDef.defaultValue !== undefined) {\n coercedValues[name] = argDef.defaultValue;\n } else if (isNonNullType(argType)) {\n throw new GraphQLError(\n `Argument \"${name}\" of required type \"${inspect(argType)}\" ` +\n `was provided the variable \"$${variableName}\" which was not provided a runtime value.`,\n {\n nodes: valueNode,\n },\n );\n }\n\n continue;\n }\n\n isNull = variableValues[variableName] == null;\n }\n\n if (isNull && isNonNullType(argType)) {\n throw new GraphQLError(\n `Argument \"${name}\" of non-null type \"${inspect(argType)}\" ` +\n 'must not be null.',\n {\n nodes: valueNode,\n },\n );\n }\n\n const coercedValue = valueFromAST(valueNode, argType, variableValues);\n\n if (coercedValue === undefined) {\n // Note: ValuesOfCorrectTypeRule validation should catch this before\n // execution. This is a runtime check to ensure execution does not\n // continue with an invalid argument value.\n throw new GraphQLError(\n `Argument \"${name}\" has invalid value ${print(valueNode)}.`,\n {\n nodes: valueNode,\n },\n );\n }\n\n coercedValues[name] = coercedValue;\n }\n\n return { ...coercedValues };\n}\n/**\n * Prepares an object map of argument values given a directive definition\n * and a AST node which may contain directives. Optionally also accepts a map\n * of variable values.\n *\n * If the directive does not exist on the node, returns undefined.\n *\n * Note: The returned value is a plain Object with a prototype, since it is\n * exposed to user code. Care should be taken to not pull values from the\n * Object prototype.\n */\n\nexport function getDirectiveValues(directiveDef, node, variableValues) {\n var _node$directives;\n\n const directiveNode =\n (_node$directives = node.directives) === null || _node$directives === void 0\n ? void 0\n : _node$directives.find(\n (directive) => directive.name.value === directiveDef.name,\n );\n\n if (directiveNode) {\n return getArgumentValues(directiveDef, directiveNode, variableValues);\n }\n}\n\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n"],"names":["getVariableValues","schema","varDefNodes","inputs","options","errors","maxErrors","coerced","onError","coercedValues","Object","create","varDefNode","varName","variable","name","value","varType","typeFromAST","type","isInputType","varTypeStr","print","GraphQLError","nodes","hasOwnProperty","defaultValue","valueFromAST","isNonNullType","inspect","coerceInputValue","path","invalidValue","error","prefix","length","printPathArray","message","originalError","coerceVariableValues","push","getArgumentValues","def","node","variableValues","_node$arguments","argumentNodes","arguments","argNodeMap","keyMap","arg","argDef","args","argType","argumentNode","undefined","valueNode","isNull","kind","Kind","NULL","VARIABLE","variableName","coercedValue","getDirectiveValues","directiveDef","_node$directives","directiveNode","directives","find","directive","obj","prop","prototype","call"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- import{didYouMean as e}from"../jsutils/didYouMean.mjs.js";import{inspect as t}from"../jsutils/inspect.mjs.js";import{invariant as n}from"../jsutils/invariant.mjs.js";import{isIterableObject as s}from"../jsutils/isIterableObject.mjs.js";import{isObjectLike as i}from"../jsutils/isObjectLike.mjs.js";import{pathToArray as o,addPath as r}from"../jsutils/Path.mjs.js";import{printPathArray as m}from"../jsutils/printPathArray.mjs.js";import{suggestionList as l}from"../jsutils/suggestionList.mjs.js";import{GraphQLError as a}from"../error/GraphQLError.mjs.js";import{isNonNullType as f,isListType as u,isInputObjectType as p,isLeafType as j}from"../type/definition.mjs.js";function c(e,t,n=d){return y(e,t,n,void 0)}function d(e,n,s){let i="Invalid value "+t(n);throw e.length>0&&(i+=` at "value${m(e)}"`),s.message=i+": "+s.message,s}function y(m,c,d,b){if(f(c))return null!=m?y(m,c.ofType,d,b):void d(o(b),m,new a(`Expected non-nullable type "${t(c)}" not to be null.`));if(null==m)return null;if(u(c)){const e=c.ofType;return s(m)?Array.from(m,(t,n)=>{const s=r(b,n,void 0);return y(t,e,d,s)}):[y(m,e,d,b)]}if(p(c)){if(!i(m)||Array.isArray(m))return void d(o(b),m,new a(`Expected type "${c.name}" to be an object.`));const n={},s=c.getFields();for(const e of Object.values(s)){const s=m[e.name];if(void 0!==s)n[e.name]=y(s,e.type,d,r(b,e.name,c.name));else if(void 0!==e.defaultValue)n[e.name]=e.defaultValue;else if(f(e.type)){const n=t(e.type);d(o(b),m,new a(`Field "${e.name}" of required type "${n}" was not provided.`))}}for(const t of Object.keys(m))if(!s[t]){const n=l(t,Object.keys(c.getFields()));d(o(b),m,new a(`Field "${t}" is not defined by type "${c.name}".`+e(n)))}if(c.isOneOf){const e=Object.keys(n);1!==e.length&&d(o(b),m,new a(`Exactly one key must be specified for OneOf type "${c.name}".`));const t=e[0],s=n[t];null===s&&d(o(b).concat(t),s,new a(`Field "${t}" must be non-null.`))}return n}if(j(c)){let e;try{e=c.parseValue(m)}catch(e){return void d(o(b),m,e instanceof a?e:new a(`Expected type "${c.name}". `+e.message,{originalError:e}))}return void 0===e&&d(o(b),m,new a(`Expected type "${c.name}".`)),e}n(!1,"Unexpected input type: "+t(c))}export{c as coerceInputValue};
1
+ import{didYouMean as e}from"../jsutils/didYouMean.mjs.js";import{inspect as t}from"../jsutils/inspect.mjs.js";import{invariant as n}from"../jsutils/invariant.mjs.js";import{isIterableObject as s}from"../jsutils/isIterableObject.mjs.js";import{isObjectLike as r}from"../jsutils/isObjectLike.mjs.js";import{pathToArray as i,addPath as o}from"../jsutils/Path.mjs.js";import{printPathArray as l}from"../jsutils/printPathArray.mjs.js";import{suggestionList as m}from"../jsutils/suggestionList.mjs.js";import{GraphQLError as a}from"../error/GraphQLError.mjs.js";import{isNonNullType as u,isListType as f,isInputObjectType as p,isLeafType as j}from"../type/definition.mjs.js";function c(e,t,n=d){return y(e,t,n,void 0)}function d(e,n,s){let r="Invalid value "+t(n);throw e.length>0&&(r+=` at "value${l(e)}"`),s.message=r+": "+s.message,s}function y(l,c,d,b){if(u(c))return null!=l?y(l,c.ofType,d,b):void d(i(b),l,new a(`Expected non-nullable type "${t(c)}" not to be null.`));if(null==l)return null;if(f(c)){const e=c.ofType;return s(l)?Array.from(l,(t,n)=>{const s=o(b,n,void 0);return y(t,e,d,s)}):[y(l,e,d,b)]}if(p(c)){if(!r(l)||Array.isArray(l))return void d(i(b),l,new a(`Expected type "${c.name}" to be an object.`));const n=Object.create(null),s=c.getFields();for(const e of Object.values(s)){const s=l[e.name];if(void 0!==s)n[e.name]=y(s,e.type,d,o(b,e.name,c.name));else if(void 0!==e.defaultValue)n[e.name]=e.defaultValue;else if(u(e.type)){const n=t(e.type);d(i(b),l,new a(`Field "${e.name}" of required type "${n}" was not provided.`))}}for(const t of Object.keys(l))if(!s[t]){const n=m(t,Object.keys(c.getFields()));d(i(b),l,new a(`Field "${t}" is not defined by type "${c.name}".`+e(n)))}if(c.isOneOf){const e=Object.keys(n);1!==e.length&&d(i(b),l,new a(`Exactly one key must be specified for OneOf type "${c.name}".`));const t=e[0],s=n[t];null===s&&d(i(b).concat(t),s,new a(`Field "${t}" must be non-null.`))}return{...n}}if(j(c)){let e;try{e=c.parseValue(l)}catch(e){return void d(i(b),l,e instanceof a?e:new a(`Expected type "${c.name}". `+e.message,{originalError:e}))}return void 0===e&&d(i(b),l,new a(`Expected type "${c.name}".`)),e}n(!1,"Unexpected input type: "+t(c))}export{c as coerceInputValue};
2
2
  //# sourceMappingURL=coerceInputValue.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"coerceInputValue.mjs.js","sources":["../../../../node_modules/graphql/utilities/coerceInputValue.mjs"],"sourcesContent":["import { didYouMean } from '../jsutils/didYouMean.mjs';\nimport { inspect } from '../jsutils/inspect.mjs';\nimport { invariant } from '../jsutils/invariant.mjs';\nimport { isIterableObject } from '../jsutils/isIterableObject.mjs';\nimport { isObjectLike } from '../jsutils/isObjectLike.mjs';\nimport { addPath, pathToArray } from '../jsutils/Path.mjs';\nimport { printPathArray } from '../jsutils/printPathArray.mjs';\nimport { suggestionList } from '../jsutils/suggestionList.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport {\n isInputObjectType,\n isLeafType,\n isListType,\n isNonNullType,\n} from '../type/definition.mjs';\n\n/**\n * Coerces a JavaScript value given a GraphQL Input Type.\n */\nexport function coerceInputValue(inputValue, type, onError = defaultOnError) {\n return coerceInputValueImpl(inputValue, type, onError, undefined);\n}\n\nfunction defaultOnError(path, invalidValue, error) {\n let errorPrefix = 'Invalid value ' + inspect(invalidValue);\n\n if (path.length > 0) {\n errorPrefix += ` at \"value${printPathArray(path)}\"`;\n }\n\n error.message = errorPrefix + ': ' + error.message;\n throw error;\n}\n\nfunction coerceInputValueImpl(inputValue, type, onError, path) {\n if (isNonNullType(type)) {\n if (inputValue != null) {\n return coerceInputValueImpl(inputValue, type.ofType, onError, path);\n }\n\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(\n `Expected non-nullable type \"${inspect(type)}\" not to be null.`,\n ),\n );\n return;\n }\n\n if (inputValue == null) {\n // Explicitly return the value null.\n return null;\n }\n\n if (isListType(type)) {\n const itemType = type.ofType;\n\n if (isIterableObject(inputValue)) {\n return Array.from(inputValue, (itemValue, index) => {\n const itemPath = addPath(path, index, undefined);\n return coerceInputValueImpl(itemValue, itemType, onError, itemPath);\n });\n } // Lists accept a non-list value as a list of one.\n\n return [coerceInputValueImpl(inputValue, itemType, onError, path)];\n }\n\n if (isInputObjectType(type)) {\n if (!isObjectLike(inputValue) || Array.isArray(inputValue)) {\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(`Expected type \"${type.name}\" to be an object.`),\n );\n return;\n }\n\n const coercedValue = {};\n const fieldDefs = type.getFields();\n\n for (const field of Object.values(fieldDefs)) {\n const fieldValue = inputValue[field.name];\n\n if (fieldValue === undefined) {\n if (field.defaultValue !== undefined) {\n coercedValue[field.name] = field.defaultValue;\n } else if (isNonNullType(field.type)) {\n const typeStr = inspect(field.type);\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(\n `Field \"${field.name}\" of required type \"${typeStr}\" was not provided.`,\n ),\n );\n }\n\n continue;\n }\n\n coercedValue[field.name] = coerceInputValueImpl(\n fieldValue,\n field.type,\n onError,\n addPath(path, field.name, type.name),\n );\n } // Ensure every provided field is defined.\n\n for (const fieldName of Object.keys(inputValue)) {\n if (!fieldDefs[fieldName]) {\n const suggestions = suggestionList(\n fieldName,\n Object.keys(type.getFields()),\n );\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(\n `Field \"${fieldName}\" is not defined by type \"${type.name}\".` +\n didYouMean(suggestions),\n ),\n );\n }\n }\n\n if (type.isOneOf) {\n const keys = Object.keys(coercedValue);\n\n if (keys.length !== 1) {\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(\n `Exactly one key must be specified for OneOf type \"${type.name}\".`,\n ),\n );\n }\n\n const key = keys[0];\n const value = coercedValue[key];\n\n if (value === null) {\n onError(\n pathToArray(path).concat(key),\n value,\n new GraphQLError(`Field \"${key}\" must be non-null.`),\n );\n }\n }\n\n return coercedValue;\n }\n\n if (isLeafType(type)) {\n let parseResult; // Scalars and Enums determine if a input value is valid via parseValue(),\n // which can throw to indicate failure. If it throws, maintain a reference\n // to the original error.\n\n try {\n parseResult = type.parseValue(inputValue);\n } catch (error) {\n if (error instanceof GraphQLError) {\n onError(pathToArray(path), inputValue, error);\n } else {\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(`Expected type \"${type.name}\". ` + error.message, {\n originalError: error,\n }),\n );\n }\n\n return;\n }\n\n if (parseResult === undefined) {\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(`Expected type \"${type.name}\".`),\n );\n }\n\n return parseResult;\n }\n /* c8 ignore next 3 */\n // Not reachable, all possible types have been considered.\n\n false || invariant(false, 'Unexpected input type: ' + inspect(type));\n}\n"],"names":["coerceInputValue","inputValue","type","onError","defaultOnError","coerceInputValueImpl","undefined","path","invalidValue","error","errorPrefix","inspect","length","printPathArray","message","isNonNullType","ofType","pathToArray","GraphQLError","isListType","itemType","isIterableObject","Array","from","itemValue","index","itemPath","addPath","isInputObjectType","isObjectLike","isArray","name","coercedValue","fieldDefs","getFields","field","Object","values","fieldValue","defaultValue","typeStr","fieldName","keys","suggestions","suggestionList","didYouMean","isOneOf","key","value","concat","isLeafType","parseResult","parseValue","originalError","invariant"],"mappings":"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"}
1
+ {"version":3,"file":"coerceInputValue.mjs.js","sources":["../../../../node_modules/graphql/utilities/coerceInputValue.mjs"],"sourcesContent":["import { didYouMean } from '../jsutils/didYouMean.mjs';\nimport { inspect } from '../jsutils/inspect.mjs';\nimport { invariant } from '../jsutils/invariant.mjs';\nimport { isIterableObject } from '../jsutils/isIterableObject.mjs';\nimport { isObjectLike } from '../jsutils/isObjectLike.mjs';\nimport { addPath, pathToArray } from '../jsutils/Path.mjs';\nimport { printPathArray } from '../jsutils/printPathArray.mjs';\nimport { suggestionList } from '../jsutils/suggestionList.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport {\n isInputObjectType,\n isLeafType,\n isListType,\n isNonNullType,\n} from '../type/definition.mjs';\n\n/**\n * Coerces a JavaScript value given a GraphQL Input Type.\n */\nexport function coerceInputValue(inputValue, type, onError = defaultOnError) {\n return coerceInputValueImpl(inputValue, type, onError, undefined);\n}\n\nfunction defaultOnError(path, invalidValue, error) {\n let errorPrefix = 'Invalid value ' + inspect(invalidValue);\n\n if (path.length > 0) {\n errorPrefix += ` at \"value${printPathArray(path)}\"`;\n }\n\n error.message = errorPrefix + ': ' + error.message;\n throw error;\n}\n\nfunction coerceInputValueImpl(inputValue, type, onError, path) {\n if (isNonNullType(type)) {\n if (inputValue != null) {\n return coerceInputValueImpl(inputValue, type.ofType, onError, path);\n }\n\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(\n `Expected non-nullable type \"${inspect(type)}\" not to be null.`,\n ),\n );\n return;\n }\n\n if (inputValue == null) {\n // Explicitly return the value null.\n return null;\n }\n\n if (isListType(type)) {\n const itemType = type.ofType;\n\n if (isIterableObject(inputValue)) {\n return Array.from(inputValue, (itemValue, index) => {\n const itemPath = addPath(path, index, undefined);\n return coerceInputValueImpl(itemValue, itemType, onError, itemPath);\n });\n } // Lists accept a non-list value as a list of one.\n\n return [coerceInputValueImpl(inputValue, itemType, onError, path)];\n }\n\n if (isInputObjectType(type)) {\n if (!isObjectLike(inputValue) || Array.isArray(inputValue)) {\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(`Expected type \"${type.name}\" to be an object.`),\n );\n return;\n }\n\n const coercedValue = Object.create(null);\n const fieldDefs = type.getFields();\n\n for (const field of Object.values(fieldDefs)) {\n const fieldValue = inputValue[field.name];\n\n if (fieldValue === undefined) {\n if (field.defaultValue !== undefined) {\n coercedValue[field.name] = field.defaultValue;\n } else if (isNonNullType(field.type)) {\n const typeStr = inspect(field.type);\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(\n `Field \"${field.name}\" of required type \"${typeStr}\" was not provided.`,\n ),\n );\n }\n\n continue;\n }\n\n coercedValue[field.name] = coerceInputValueImpl(\n fieldValue,\n field.type,\n onError,\n addPath(path, field.name, type.name),\n );\n } // Ensure every provided field is defined.\n\n for (const fieldName of Object.keys(inputValue)) {\n if (!fieldDefs[fieldName]) {\n const suggestions = suggestionList(\n fieldName,\n Object.keys(type.getFields()),\n );\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(\n `Field \"${fieldName}\" is not defined by type \"${type.name}\".` +\n didYouMean(suggestions),\n ),\n );\n }\n }\n\n if (type.isOneOf) {\n const keys = Object.keys(coercedValue);\n\n if (keys.length !== 1) {\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(\n `Exactly one key must be specified for OneOf type \"${type.name}\".`,\n ),\n );\n }\n\n const key = keys[0];\n const value = coercedValue[key];\n\n if (value === null) {\n onError(\n pathToArray(path).concat(key),\n value,\n new GraphQLError(`Field \"${key}\" must be non-null.`),\n );\n }\n }\n\n return { ...coercedValue };\n }\n\n if (isLeafType(type)) {\n let parseResult; // Scalars and Enums determine if a input value is valid via parseValue(),\n // which can throw to indicate failure. If it throws, maintain a reference\n // to the original error.\n\n try {\n parseResult = type.parseValue(inputValue);\n } catch (error) {\n if (error instanceof GraphQLError) {\n onError(pathToArray(path), inputValue, error);\n } else {\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(`Expected type \"${type.name}\". ` + error.message, {\n originalError: error,\n }),\n );\n }\n\n return;\n }\n\n if (parseResult === undefined) {\n onError(\n pathToArray(path),\n inputValue,\n new GraphQLError(`Expected type \"${type.name}\".`),\n );\n }\n\n return parseResult;\n }\n /* c8 ignore next 3 */\n // Not reachable, all possible types have been considered.\n\n false || invariant(false, 'Unexpected input type: ' + inspect(type));\n}\n"],"names":["coerceInputValue","inputValue","type","onError","defaultOnError","coerceInputValueImpl","undefined","path","invalidValue","error","errorPrefix","inspect","length","printPathArray","message","isNonNullType","ofType","pathToArray","GraphQLError","isListType","itemType","isIterableObject","Array","from","itemValue","index","itemPath","addPath","isInputObjectType","isObjectLike","isArray","name","coercedValue","Object","create","fieldDefs","getFields","field","values","fieldValue","defaultValue","typeStr","fieldName","keys","suggestions","suggestionList","didYouMean","isOneOf","key","value","concat","isLeafType","parseResult","parseValue","originalError","invariant"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- import{didYouMean as e}from"../../jsutils/didYouMean.mjs.js";import{inspect as t}from"../../jsutils/inspect.mjs.js";import{keyMap as r}from"../../jsutils/keyMap.mjs.js";import{suggestionList as n}from"../../jsutils/suggestionList.mjs.js";import{GraphQLError as o}from"../../error/GraphQLError.mjs.js";import{Kind as s}from"../../language/kinds.mjs.js";import{print as i}from"../../language/printer.mjs.js";import{getNullableType as a,isListType as u,getNamedType as p,isInputObjectType as l,isRequiredInputField as d,isNonNullType as f,isLeafType as m}from"../../type/definition.mjs.js";function c(m){let c={};return{OperationDefinition:{enter(){c={}}},VariableDefinition(e){c[e.variable.name.value]=e},ListValue(e){const t=a(m.getParentInputType());if(!u(t))return j(m,e),!1},ObjectValue(e){const n=p(m.getInputType());if(!l(n))return j(m,e),!1;const i=r(e.fields,e=>e.name.value);for(const r of Object.values(n.getFields())){if(!i[r.name]&&d(r)){const s=t(r.type);m.reportError(new o(`Field "${n.name}.${r.name}" of required type "${s}" was not provided.`,{nodes:e}))}}n.isOneOf&&function(e,t,r,n){var i;const a=Object.keys(n);if(1!==a.length)return void e.reportError(new o(`OneOf Input Object "${r.name}" must specify exactly one key.`,{nodes:[t]}));const u=null===(i=n[a[0]])||void 0===i?void 0:i.value;u&&u.kind!==s.NULL||e.reportError(new o(`Field "${r.name}.${a[0]}" must be non-null.`,{nodes:[t]}))}(m,e,n,i)},ObjectField(t){const r=p(m.getParentInputType());if(!m.getInputType()&&l(r)){const s=n(t.name.value,Object.keys(r.getFields()));m.reportError(new o(`Field "${t.name.value}" is not defined by type "${r.name}".`+e(s),{nodes:t}))}},NullValue(e){const r=m.getInputType();f(r)&&m.reportError(new o(`Expected value of type "${t(r)}", found ${i(e)}.`,{nodes:e}))},EnumValue:e=>j(m,e),IntValue:e=>j(m,e),FloatValue:e=>j(m,e),StringValue:e=>j(m,e),BooleanValue:e=>j(m,e)}}function j(e,r){const n=e.getInputType();if(!n)return;const s=p(n);if(!m(s)){const s=t(n);return void e.reportError(new o(`Expected value of type "${s}", found ${i(r)}.`,{nodes:r}))}try{if(void 0===s.parseLiteral(r,void 0)){const s=t(n);e.reportError(new o(`Expected value of type "${s}", found ${i(r)}.`,{nodes:r}))}}catch(s){const a=t(n);s instanceof o?e.reportError(s):e.reportError(new o(`Expected value of type "${a}", found ${i(r)}; `+s.message,{nodes:r,originalError:s}))}}export{c as ValuesOfCorrectTypeRule};
1
+ import{didYouMean as e}from"../../jsutils/didYouMean.mjs.js";import{inspect as t}from"../../jsutils/inspect.mjs.js";import{keyMap as r}from"../../jsutils/keyMap.mjs.js";import{suggestionList as o}from"../../jsutils/suggestionList.mjs.js";import{GraphQLError as n}from"../../error/GraphQLError.mjs.js";import{Kind as s}from"../../language/kinds.mjs.js";import{print as i}from"../../language/printer.mjs.js";import{getNullableType as u,isListType as p,getNamedType as a,isInputObjectType as l,isRequiredInputField as d,isNonNullType as f,isLeafType as m}from"../../type/definition.mjs.js";function c(m){return{ListValue(e){const t=u(m.getParentInputType());if(!p(t))return j(m,e),!1},ObjectValue(e){const o=a(m.getInputType());if(!l(o))return j(m,e),!1;const i=r(e.fields,e=>e.name.value);for(const r of Object.values(o.getFields())){if(!i[r.name]&&d(r)){const s=t(r.type);m.reportError(new n(`Field "${o.name}.${r.name}" of required type "${s}" was not provided.`,{nodes:e}))}}o.isOneOf&&function(e,t,r,o){var i;const u=Object.keys(o);if(1!==u.length)return void e.reportError(new n(`OneOf Input Object "${r.name}" must specify exactly one key.`,{nodes:[t]}));const p=null===(i=o[u[0]])||void 0===i?void 0:i.value;p&&p.kind!==s.NULL||e.reportError(new n(`Field "${r.name}.${u[0]}" must be non-null.`,{nodes:[t]}))}(m,e,o,i)},ObjectField(t){const r=a(m.getParentInputType());if(!m.getInputType()&&l(r)){const s=o(t.name.value,Object.keys(r.getFields()));m.reportError(new n(`Field "${t.name.value}" is not defined by type "${r.name}".`+e(s),{nodes:t}))}},NullValue(e){const r=m.getInputType();f(r)&&m.reportError(new n(`Expected value of type "${t(r)}", found ${i(e)}.`,{nodes:e}))},EnumValue:e=>j(m,e),IntValue:e=>j(m,e),FloatValue:e=>j(m,e),StringValue:e=>j(m,e),BooleanValue:e=>j(m,e)}}function j(e,r){const o=e.getInputType();if(!o)return;const s=a(o);if(!m(s)){const s=t(o);return void e.reportError(new n(`Expected value of type "${s}", found ${i(r)}.`,{nodes:r}))}try{if(void 0===s.parseLiteral(r,void 0)){const s=t(o);e.reportError(new n(`Expected value of type "${s}", found ${i(r)}.`,{nodes:r}))}}catch(s){const u=t(o);s instanceof n?e.reportError(s):e.reportError(new n(`Expected value of type "${u}", found ${i(r)}; `+s.message,{nodes:r,originalError:s}))}}export{c as ValuesOfCorrectTypeRule};
2
2
  //# sourceMappingURL=ValuesOfCorrectTypeRule.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ValuesOfCorrectTypeRule.mjs.js","sources":["../../../../../node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs"],"sourcesContent":["import { didYouMean } from '../../jsutils/didYouMean.mjs';\nimport { inspect } from '../../jsutils/inspect.mjs';\nimport { keyMap } from '../../jsutils/keyMap.mjs';\nimport { suggestionList } from '../../jsutils/suggestionList.mjs';\nimport { GraphQLError } from '../../error/GraphQLError.mjs';\nimport { Kind } from '../../language/kinds.mjs';\nimport { print } from '../../language/printer.mjs';\nimport {\n getNamedType,\n getNullableType,\n isInputObjectType,\n isLeafType,\n isListType,\n isNonNullType,\n isRequiredInputField,\n} from '../../type/definition.mjs';\n\n/**\n * Value literals of correct type\n *\n * A GraphQL document is only valid if all value literals are of the type\n * expected at their position.\n *\n * See https://spec.graphql.org/draft/#sec-Values-of-Correct-Type\n */\nexport function ValuesOfCorrectTypeRule(context) {\n let variableDefinitions = {};\n return {\n OperationDefinition: {\n enter() {\n variableDefinitions = {};\n },\n },\n\n VariableDefinition(definition) {\n variableDefinitions[definition.variable.name.value] = definition;\n },\n\n ListValue(node) {\n // Note: TypeInfo will traverse into a list's item type, so look to the\n // parent input type to check if it is a list.\n const type = getNullableType(context.getParentInputType());\n\n if (!isListType(type)) {\n isValidValueNode(context, node);\n return false; // Don't traverse further.\n }\n },\n\n ObjectValue(node) {\n const type = getNamedType(context.getInputType());\n\n if (!isInputObjectType(type)) {\n isValidValueNode(context, node);\n return false; // Don't traverse further.\n } // Ensure every required field exists.\n\n const fieldNodeMap = keyMap(node.fields, (field) => field.name.value);\n\n for (const fieldDef of Object.values(type.getFields())) {\n const fieldNode = fieldNodeMap[fieldDef.name];\n\n if (!fieldNode && isRequiredInputField(fieldDef)) {\n const typeStr = inspect(fieldDef.type);\n context.reportError(\n new GraphQLError(\n `Field \"${type.name}.${fieldDef.name}\" of required type \"${typeStr}\" was not provided.`,\n {\n nodes: node,\n },\n ),\n );\n }\n }\n\n if (type.isOneOf) {\n validateOneOfInputObject(context, node, type, fieldNodeMap);\n }\n },\n\n ObjectField(node) {\n const parentType = getNamedType(context.getParentInputType());\n const fieldType = context.getInputType();\n\n if (!fieldType && isInputObjectType(parentType)) {\n const suggestions = suggestionList(\n node.name.value,\n Object.keys(parentType.getFields()),\n );\n context.reportError(\n new GraphQLError(\n `Field \"${node.name.value}\" is not defined by type \"${parentType.name}\".` +\n didYouMean(suggestions),\n {\n nodes: node,\n },\n ),\n );\n }\n },\n\n NullValue(node) {\n const type = context.getInputType();\n\n if (isNonNullType(type)) {\n context.reportError(\n new GraphQLError(\n `Expected value of type \"${inspect(type)}\", found ${print(node)}.`,\n {\n nodes: node,\n },\n ),\n );\n }\n },\n\n EnumValue: (node) => isValidValueNode(context, node),\n IntValue: (node) => isValidValueNode(context, node),\n FloatValue: (node) => isValidValueNode(context, node),\n StringValue: (node) => isValidValueNode(context, node),\n BooleanValue: (node) => isValidValueNode(context, node),\n };\n}\n/**\n * Any value literal may be a valid representation of a Scalar, depending on\n * that scalar type.\n */\n\nfunction isValidValueNode(context, node) {\n // Report any error at the full type expected by the location.\n const locationType = context.getInputType();\n\n if (!locationType) {\n return;\n }\n\n const type = getNamedType(locationType);\n\n if (!isLeafType(type)) {\n const typeStr = inspect(locationType);\n context.reportError(\n new GraphQLError(\n `Expected value of type \"${typeStr}\", found ${print(node)}.`,\n {\n nodes: node,\n },\n ),\n );\n return;\n } // Scalars and Enums determine if a literal value is valid via parseLiteral(),\n // which may throw or return an invalid value to indicate failure.\n\n try {\n const parseResult = type.parseLiteral(\n node,\n undefined,\n /* variables */\n );\n\n if (parseResult === undefined) {\n const typeStr = inspect(locationType);\n context.reportError(\n new GraphQLError(\n `Expected value of type \"${typeStr}\", found ${print(node)}.`,\n {\n nodes: node,\n },\n ),\n );\n }\n } catch (error) {\n const typeStr = inspect(locationType);\n\n if (error instanceof GraphQLError) {\n context.reportError(error);\n } else {\n context.reportError(\n new GraphQLError(\n `Expected value of type \"${typeStr}\", found ${print(node)}; ` +\n error.message,\n {\n nodes: node,\n originalError: error,\n },\n ),\n );\n }\n }\n}\n\nfunction validateOneOfInputObject(context, node, type, fieldNodeMap) {\n var _fieldNodeMap$keys$;\n\n const keys = Object.keys(fieldNodeMap);\n const isNotExactlyOneField = keys.length !== 1;\n\n if (isNotExactlyOneField) {\n context.reportError(\n new GraphQLError(\n `OneOf Input Object \"${type.name}\" must specify exactly one key.`,\n {\n nodes: [node],\n },\n ),\n );\n return;\n }\n\n const value =\n (_fieldNodeMap$keys$ = fieldNodeMap[keys[0]]) === null ||\n _fieldNodeMap$keys$ === void 0\n ? void 0\n : _fieldNodeMap$keys$.value;\n const isNullLiteral = !value || value.kind === Kind.NULL;\n\n if (isNullLiteral) {\n context.reportError(\n new GraphQLError(`Field \"${type.name}.${keys[0]}\" must be non-null.`, {\n nodes: [node],\n }),\n );\n }\n}\n"],"names":["ValuesOfCorrectTypeRule","context","variableDefinitions","OperationDefinition","enter","VariableDefinition","definition","variable","name","value","ListValue","node","type","getNullableType","getParentInputType","isListType","isValidValueNode","ObjectValue","getNamedType","getInputType","isInputObjectType","fieldNodeMap","keyMap","fields","field","fieldDef","Object","values","getFields","isRequiredInputField","typeStr","inspect","reportError","GraphQLError","nodes","isOneOf","_fieldNodeMap$keys$","keys","length","kind","Kind","NULL","validateOneOfInputObject","ObjectField","parentType","suggestions","suggestionList","didYouMean","NullValue","isNonNullType","print","EnumValue","IntValue","FloatValue","StringValue","BooleanValue","locationType","isLeafType","undefined","parseLiteral","error","message","originalError"],"mappings":"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"}
1
+ {"version":3,"file":"ValuesOfCorrectTypeRule.mjs.js","sources":["../../../../../node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs"],"sourcesContent":["import { didYouMean } from '../../jsutils/didYouMean.mjs';\nimport { inspect } from '../../jsutils/inspect.mjs';\nimport { keyMap } from '../../jsutils/keyMap.mjs';\nimport { suggestionList } from '../../jsutils/suggestionList.mjs';\nimport { GraphQLError } from '../../error/GraphQLError.mjs';\nimport { Kind } from '../../language/kinds.mjs';\nimport { print } from '../../language/printer.mjs';\nimport {\n getNamedType,\n getNullableType,\n isInputObjectType,\n isLeafType,\n isListType,\n isNonNullType,\n isRequiredInputField,\n} from '../../type/definition.mjs';\n\n/**\n * Value literals of correct type\n *\n * A GraphQL document is only valid if all value literals are of the type\n * expected at their position.\n *\n * See https://spec.graphql.org/draft/#sec-Values-of-Correct-Type\n */\nexport function ValuesOfCorrectTypeRule(context) {\n return {\n ListValue(node) {\n // Note: TypeInfo will traverse into a list's item type, so look to the\n // parent input type to check if it is a list.\n const type = getNullableType(context.getParentInputType());\n\n if (!isListType(type)) {\n isValidValueNode(context, node);\n return false; // Don't traverse further.\n }\n },\n\n ObjectValue(node) {\n const type = getNamedType(context.getInputType());\n\n if (!isInputObjectType(type)) {\n isValidValueNode(context, node);\n return false; // Don't traverse further.\n } // Ensure every required field exists.\n\n const fieldNodeMap = keyMap(node.fields, (field) => field.name.value);\n\n for (const fieldDef of Object.values(type.getFields())) {\n const fieldNode = fieldNodeMap[fieldDef.name];\n\n if (!fieldNode && isRequiredInputField(fieldDef)) {\n const typeStr = inspect(fieldDef.type);\n context.reportError(\n new GraphQLError(\n `Field \"${type.name}.${fieldDef.name}\" of required type \"${typeStr}\" was not provided.`,\n {\n nodes: node,\n },\n ),\n );\n }\n }\n\n if (type.isOneOf) {\n validateOneOfInputObject(context, node, type, fieldNodeMap);\n }\n },\n\n ObjectField(node) {\n const parentType = getNamedType(context.getParentInputType());\n const fieldType = context.getInputType();\n\n if (!fieldType && isInputObjectType(parentType)) {\n const suggestions = suggestionList(\n node.name.value,\n Object.keys(parentType.getFields()),\n );\n context.reportError(\n new GraphQLError(\n `Field \"${node.name.value}\" is not defined by type \"${parentType.name}\".` +\n didYouMean(suggestions),\n {\n nodes: node,\n },\n ),\n );\n }\n },\n\n NullValue(node) {\n const type = context.getInputType();\n\n if (isNonNullType(type)) {\n context.reportError(\n new GraphQLError(\n `Expected value of type \"${inspect(type)}\", found ${print(node)}.`,\n {\n nodes: node,\n },\n ),\n );\n }\n },\n\n EnumValue: (node) => isValidValueNode(context, node),\n IntValue: (node) => isValidValueNode(context, node),\n FloatValue: (node) => isValidValueNode(context, node),\n // Descriptions are string values that would not validate according\n // to the below logic, but since (per the specification) descriptions must\n // not affect validation, they are ignored entirely when visiting the AST\n // and do not require special handling.\n // See https://spec.graphql.org/draft/#sec-Descriptions\n StringValue: (node) => isValidValueNode(context, node),\n BooleanValue: (node) => isValidValueNode(context, node),\n };\n}\n/**\n * Any value literal may be a valid representation of a Scalar, depending on\n * that scalar type.\n */\n\nfunction isValidValueNode(context, node) {\n // Report any error at the full type expected by the location.\n const locationType = context.getInputType();\n\n if (!locationType) {\n return;\n }\n\n const type = getNamedType(locationType);\n\n if (!isLeafType(type)) {\n const typeStr = inspect(locationType);\n context.reportError(\n new GraphQLError(\n `Expected value of type \"${typeStr}\", found ${print(node)}.`,\n {\n nodes: node,\n },\n ),\n );\n return;\n } // Scalars and Enums determine if a literal value is valid via parseLiteral(),\n // which may throw or return an invalid value to indicate failure.\n\n try {\n const parseResult = type.parseLiteral(\n node,\n undefined,\n /* variables */\n );\n\n if (parseResult === undefined) {\n const typeStr = inspect(locationType);\n context.reportError(\n new GraphQLError(\n `Expected value of type \"${typeStr}\", found ${print(node)}.`,\n {\n nodes: node,\n },\n ),\n );\n }\n } catch (error) {\n const typeStr = inspect(locationType);\n\n if (error instanceof GraphQLError) {\n context.reportError(error);\n } else {\n context.reportError(\n new GraphQLError(\n `Expected value of type \"${typeStr}\", found ${print(node)}; ` +\n error.message,\n {\n nodes: node,\n originalError: error,\n },\n ),\n );\n }\n }\n}\n\nfunction validateOneOfInputObject(context, node, type, fieldNodeMap) {\n var _fieldNodeMap$keys$;\n\n const keys = Object.keys(fieldNodeMap);\n const isNotExactlyOneField = keys.length !== 1;\n\n if (isNotExactlyOneField) {\n context.reportError(\n new GraphQLError(\n `OneOf Input Object \"${type.name}\" must specify exactly one key.`,\n {\n nodes: [node],\n },\n ),\n );\n return;\n }\n\n const value =\n (_fieldNodeMap$keys$ = fieldNodeMap[keys[0]]) === null ||\n _fieldNodeMap$keys$ === void 0\n ? void 0\n : _fieldNodeMap$keys$.value;\n const isNullLiteral = !value || value.kind === Kind.NULL;\n\n if (isNullLiteral) {\n context.reportError(\n new GraphQLError(`Field \"${type.name}.${keys[0]}\" must be non-null.`, {\n nodes: [node],\n }),\n );\n }\n}\n"],"names":["ValuesOfCorrectTypeRule","context","ListValue","node","type","getNullableType","getParentInputType","isListType","isValidValueNode","ObjectValue","getNamedType","getInputType","isInputObjectType","fieldNodeMap","keyMap","fields","field","name","value","fieldDef","Object","values","getFields","isRequiredInputField","typeStr","inspect","reportError","GraphQLError","nodes","isOneOf","_fieldNodeMap$keys$","keys","length","kind","Kind","NULL","validateOneOfInputObject","ObjectField","parentType","suggestions","suggestionList","didYouMean","NullValue","isNonNullType","print","EnumValue","IntValue","FloatValue","StringValue","BooleanValue","locationType","isLeafType","undefined","parseLiteral","error","message","originalError"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- import{devAssert as r}from"../jsutils/devAssert.mjs.js";import{GraphQLError as o}from"../error/GraphQLError.mjs.js";import{visitInParallel as t,visit as i}from"../language/visitor.mjs.js";import{assertValidSchema as e}from"../type/validate.mjs.js";import{visitWithTypeInfo as s,TypeInfo as m}from"../utilities/TypeInfo.mjs.js";import{specifiedRules as n}from"./specifiedRules.mjs.js";import{ValidationContext as a}from"./ValidationContext.mjs.js";function j(j,p,l=n,f,d=new m(j)){var u;const c=null!==(u=null==f?void 0:f.maxErrors)&&void 0!==u?u:100;p||r(!1,"Must provide document."),e(j);const h=Object.freeze({}),v=[],w=new a(j,p,d,r=>{if(v.length>=c)throw v.push(new o("Too many validation errors, error limit reached. Validation aborted.")),h;v.push(r)}),y=t(l.map(r=>r(w)));try{i(p,s(d,y))}catch(r){if(r!==h)throw r}return v}export{j as validate};
1
+ import{devAssert as r}from"../jsutils/devAssert.mjs.js";import{mapValue as o}from"../jsutils/mapValue.mjs.js";import{GraphQLError as t}from"../error/GraphQLError.mjs.js";import{QueryDocumentKeys as s}from"../language/ast.mjs.js";import{visitInParallel as i,visit as e}from"../language/visitor.mjs.js";import{assertValidSchema as m}from"../type/validate.mjs.js";import{visitWithTypeInfo as a,TypeInfo as n}from"../utilities/TypeInfo.mjs.js";import{specifiedRules as j}from"./specifiedRules.mjs.js";import{ValidationContext as p}from"./ValidationContext.mjs.js";const l=o(s,r=>r.filter(r=>"description"!==r));function f(o,s,f=j,u,d=new n(o)){var c;const h=null!==(c=null==u?void 0:u.maxErrors)&&void 0!==c?c:100;s||r(!1,"Must provide document."),m(o);const v=Object.freeze({}),g=[],w=new p(o,s,d,r=>{if(g.length>=h)throw g.push(new t("Too many validation errors, error limit reached. Validation aborted.")),v;g.push(r)}),y=i(f.map(r=>r(w)));try{e(s,a(d,y),l)}catch(r){if(r!==v)throw r}return g}export{f as validate};
2
2
  //# sourceMappingURL=validate.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"validate.mjs.js","sources":["../../../../node_modules/graphql/validation/validate.mjs"],"sourcesContent":["import { devAssert } from '../jsutils/devAssert.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport { visit, visitInParallel } from '../language/visitor.mjs';\nimport { assertValidSchema } from '../type/validate.mjs';\nimport { TypeInfo, visitWithTypeInfo } from '../utilities/TypeInfo.mjs';\nimport { specifiedRules, specifiedSDLRules } from './specifiedRules.mjs';\nimport {\n SDLValidationContext,\n ValidationContext,\n} from './ValidationContext.mjs';\n/**\n * Implements the \"Validation\" section of the spec.\n *\n * Validation runs synchronously, returning an array of encountered errors, or\n * an empty array if no errors were encountered and the document is valid.\n *\n * A list of specific validation rules may be provided. If not provided, the\n * default list of rules defined by the GraphQL specification will be used.\n *\n * Each validation rules is a function which returns a visitor\n * (see the language/visitor API). Visitor methods are expected to return\n * GraphQLErrors, or Arrays of GraphQLErrors when invalid.\n *\n * Validate will stop validation after a `maxErrors` limit has been reached.\n * Attackers can send pathologically invalid queries to induce a DoS attack,\n * so by default `maxErrors` set to 100 errors.\n *\n * Optionally a custom TypeInfo instance may be provided. If not provided, one\n * will be created from the provided schema.\n */\n\nexport function validate(\n schema,\n documentAST,\n rules = specifiedRules,\n options,\n /** @deprecated will be removed in 17.0.0 */\n typeInfo = new TypeInfo(schema),\n) {\n var _options$maxErrors;\n\n const maxErrors =\n (_options$maxErrors =\n options === null || options === void 0 ? void 0 : options.maxErrors) !==\n null && _options$maxErrors !== void 0\n ? _options$maxErrors\n : 100;\n documentAST || devAssert(false, 'Must provide document.'); // If the schema used for validation is invalid, throw an error.\n\n assertValidSchema(schema);\n const abortObj = Object.freeze({});\n const errors = [];\n const context = new ValidationContext(\n schema,\n documentAST,\n typeInfo,\n (error) => {\n if (errors.length >= maxErrors) {\n errors.push(\n new GraphQLError(\n 'Too many validation errors, error limit reached. Validation aborted.',\n ),\n ); // eslint-disable-next-line @typescript-eslint/no-throw-literal\n\n throw abortObj;\n }\n\n errors.push(error);\n },\n ); // This uses a specialized visitor which runs multiple visitors in parallel,\n // while maintaining the visitor skip and break API.\n\n const visitor = visitInParallel(rules.map((rule) => rule(context))); // Visit the whole document with each instance of all provided rules.\n\n try {\n visit(documentAST, visitWithTypeInfo(typeInfo, visitor));\n } catch (e) {\n if (e !== abortObj) {\n throw e;\n }\n }\n\n return errors;\n}\n/**\n * @internal\n */\n\nexport function validateSDL(\n documentAST,\n schemaToExtend,\n rules = specifiedSDLRules,\n) {\n const errors = [];\n const context = new SDLValidationContext(\n documentAST,\n schemaToExtend,\n (error) => {\n errors.push(error);\n },\n );\n const visitors = rules.map((rule) => rule(context));\n visit(documentAST, visitInParallel(visitors));\n return errors;\n}\n/**\n * Utility function which asserts a SDL document is valid by throwing an error\n * if it is invalid.\n *\n * @internal\n */\n\nexport function assertValidSDL(documentAST) {\n const errors = validateSDL(documentAST);\n\n if (errors.length !== 0) {\n throw new Error(errors.map((error) => error.message).join('\\n\\n'));\n }\n}\n/**\n * Utility function which asserts a SDL document is valid by throwing an error\n * if it is invalid.\n *\n * @internal\n */\n\nexport function assertValidSDLExtension(documentAST, schema) {\n const errors = validateSDL(documentAST, schema);\n\n if (errors.length !== 0) {\n throw new Error(errors.map((error) => error.message).join('\\n\\n'));\n }\n}\n"],"names":["validate","schema","documentAST","rules","specifiedRules","options","typeInfo","TypeInfo","_options$maxErrors","maxErrors","devAssert","assertValidSchema","abortObj","Object","freeze","errors","context","ValidationContext","error","length","push","GraphQLError","visitor","visitInParallel","map","rule","visit","visitWithTypeInfo","e"],"mappings":"+bA+BO,SAASA,EACdC,EACAC,EACAC,EAAQC,EACRC,EAEAC,EAAW,IAAIC,EAASN,IAExB,IAAIO,EAEJ,MAAMC,EAGF,QAFDD,EACCH,aAA8C,EAAIA,EAAQI,iBACtB,IAA5BD,EACNA,EACA,IACNN,GAAeQ,GAAU,EAAO,0BAEhCC,EAAkBV,GAClB,MAAMW,EAAWC,OAAOC,OAAO,CAAE,GAC3BC,EAAS,GACTC,EAAU,IAAIC,EAClBhB,EACAC,EACAI,EACCY,IACC,GAAIH,EAAOI,QAAUV,EAOnB,MANAM,EAAOK,KACL,IAAIC,EACF,yEAIET,EAGRG,EAAOK,KAAKF,KAKVI,EAAUC,EAAgBpB,EAAMqB,IAAKC,GAASA,EAAKT,KAEzD,IACEU,EAAMxB,EAAayB,EAAkBrB,EAAUgB,GAChD,CAAC,MAAOM,GACP,GAAIA,IAAMhB,EACR,MAAMgB,CAET,CAED,OAAOb,CACT"}
1
+ {"version":3,"file":"validate.mjs.js","sources":["../../../../node_modules/graphql/validation/validate.mjs"],"sourcesContent":["import { devAssert } from '../jsutils/devAssert.mjs';\nimport { mapValue } from '../jsutils/mapValue.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport { QueryDocumentKeys } from '../language/ast.mjs';\nimport { visit, visitInParallel } from '../language/visitor.mjs';\nimport { assertValidSchema } from '../type/validate.mjs';\nimport { TypeInfo, visitWithTypeInfo } from '../utilities/TypeInfo.mjs';\nimport { specifiedRules, specifiedSDLRules } from './specifiedRules.mjs';\nimport {\n SDLValidationContext,\n ValidationContext,\n} from './ValidationContext.mjs'; // Per the specification, descriptions must not affect validation.\n// See https://spec.graphql.org/draft/#sec-Descriptions\n\nconst QueryDocumentKeysToValidate = mapValue(QueryDocumentKeys, (keys) =>\n keys.filter((key) => key !== 'description'),\n);\n/**\n * Implements the \"Validation\" section of the spec.\n *\n * Validation runs synchronously, returning an array of encountered errors, or\n * an empty array if no errors were encountered and the document is valid.\n *\n * A list of specific validation rules may be provided. If not provided, the\n * default list of rules defined by the GraphQL specification will be used.\n *\n * Each validation rules is a function which returns a visitor\n * (see the language/visitor API). Visitor methods are expected to return\n * GraphQLErrors, or Arrays of GraphQLErrors when invalid.\n *\n * Validate will stop validation after a `maxErrors` limit has been reached.\n * Attackers can send pathologically invalid queries to induce a DoS attack,\n * so by default `maxErrors` set to 100 errors.\n *\n * Optionally a custom TypeInfo instance may be provided. If not provided, one\n * will be created from the provided schema.\n */\n\nexport function validate(\n schema,\n documentAST,\n rules = specifiedRules,\n options,\n /** @deprecated will be removed in 17.0.0 */\n typeInfo = new TypeInfo(schema),\n) {\n var _options$maxErrors;\n\n const maxErrors =\n (_options$maxErrors =\n options === null || options === void 0 ? void 0 : options.maxErrors) !==\n null && _options$maxErrors !== void 0\n ? _options$maxErrors\n : 100;\n documentAST || devAssert(false, 'Must provide document.'); // If the schema used for validation is invalid, throw an error.\n\n assertValidSchema(schema);\n const abortObj = Object.freeze({});\n const errors = [];\n const context = new ValidationContext(\n schema,\n documentAST,\n typeInfo,\n (error) => {\n if (errors.length >= maxErrors) {\n errors.push(\n new GraphQLError(\n 'Too many validation errors, error limit reached. Validation aborted.',\n ),\n ); // eslint-disable-next-line @typescript-eslint/no-throw-literal\n\n throw abortObj;\n }\n\n errors.push(error);\n },\n ); // This uses a specialized visitor which runs multiple visitors in parallel,\n // while maintaining the visitor skip and break API.\n\n const visitor = visitInParallel(rules.map((rule) => rule(context))); // Visit the whole document with each instance of all provided rules.\n\n try {\n visit(\n documentAST,\n visitWithTypeInfo(typeInfo, visitor),\n QueryDocumentKeysToValidate,\n );\n } catch (e) {\n if (e !== abortObj) {\n throw e;\n }\n }\n\n return errors;\n}\n/**\n * @internal\n */\n\nexport function validateSDL(\n documentAST,\n schemaToExtend,\n rules = specifiedSDLRules,\n) {\n const errors = [];\n const context = new SDLValidationContext(\n documentAST,\n schemaToExtend,\n (error) => {\n errors.push(error);\n },\n );\n const visitors = rules.map((rule) => rule(context));\n visit(documentAST, visitInParallel(visitors));\n return errors;\n}\n/**\n * Utility function which asserts a SDL document is valid by throwing an error\n * if it is invalid.\n *\n * @internal\n */\n\nexport function assertValidSDL(documentAST) {\n const errors = validateSDL(documentAST);\n\n if (errors.length !== 0) {\n throw new Error(errors.map((error) => error.message).join('\\n\\n'));\n }\n}\n/**\n * Utility function which asserts a SDL document is valid by throwing an error\n * if it is invalid.\n *\n * @internal\n */\n\nexport function assertValidSDLExtension(documentAST, schema) {\n const errors = validateSDL(documentAST, schema);\n\n if (errors.length !== 0) {\n throw new Error(errors.map((error) => error.message).join('\\n\\n'));\n }\n}\n"],"names":["QueryDocumentKeysToValidate","mapValue","QueryDocumentKeys","keys","filter","key","validate","schema","documentAST","rules","specifiedRules","options","typeInfo","TypeInfo","_options$maxErrors","maxErrors","devAssert","assertValidSchema","abortObj","Object","freeze","errors","context","ValidationContext","error","length","push","GraphQLError","visitor","visitInParallel","map","rule","visit","visitWithTypeInfo","e"],"mappings":"gjBAcA,MAAMA,EAA8BC,EAASC,EAAoBC,GAC/DA,EAAKC,OAAQC,GAAgB,gBAARA,IAuBhB,SAASC,EACdC,EACAC,EACAC,EAAQC,EACRC,EAEAC,EAAW,IAAIC,EAASN,IAExB,IAAIO,EAEJ,MAAMC,EAGF,QAFDD,EACCH,aAA8C,EAAIA,EAAQI,iBACtB,IAA5BD,EACNA,EACA,IACNN,GAAeQ,GAAU,EAAO,0BAEhCC,EAAkBV,GAClB,MAAMW,EAAWC,OAAOC,OAAO,CAAE,GAC3BC,EAAS,GACTC,EAAU,IAAIC,EAClBhB,EACAC,EACAI,EACCY,IACC,GAAIH,EAAOI,QAAUV,EAOnB,MANAM,EAAOK,KACL,IAAIC,EACF,yEAIET,EAGRG,EAAOK,KAAKF,KAKVI,EAAUC,EAAgBpB,EAAMqB,IAAKC,GAASA,EAAKT,KAEzD,IACEU,EACExB,EACAyB,EAAkBrB,EAAUgB,GAC5B5B,EAEH,CAAC,MAAOkC,GACP,GAAIA,IAAMhB,EACR,MAAMgB,CAET,CAED,OAAOb,CACT"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} UnistNode\n * @typedef {import('unist').Parent} UnistParent\n * @typedef {import('unist-util-visit-parents').VisitorResult} VisitorResult\n */\n\n/**\n * @typedef {Exclude<import('unist-util-is').Test, undefined> | undefined} Test\n * Test from `unist-util-is`.\n *\n * Note: we have remove and add `undefined`, because otherwise when generating\n * automatic `.d.ts` files, TS tries to flatten paths from a local perspective,\n * which doesn’t work when publishing on npm.\n */\n\n// To do: use types from `unist-util-visit-parents` when it’s released.\n\n/**\n * @typedef {(\n * Fn extends (value: any) => value is infer Thing\n * ? Thing\n * : Fallback\n * )} Predicate\n * Get the value of a type guard `Fn`.\n * @template Fn\n * Value; typically function that is a type guard (such as `(x): x is Y`).\n * @template Fallback\n * Value to yield if `Fn` is not a type guard.\n */\n\n/**\n * @typedef {(\n * Check extends null | undefined // No test.\n * ? Value\n * : Value extends {type: Check} // String (type) test.\n * ? Value\n * : Value extends Check // Partial test.\n * ? Value\n * : Check extends Function // Function test.\n * ? Predicate<Check, Value> extends Value\n * ? Predicate<Check, Value>\n * : never\n * : never // Some other test?\n * )} MatchesOne\n * Check whether a node matches a primitive check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test, but not arrays.\n */\n\n/**\n * @typedef {(\n * Check extends Array<any>\n * ? MatchesOne<Value, Check[keyof Check]>\n * : MatchesOne<Value, Check>\n * )} Matches\n * Check whether a node matches a check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test.\n */\n\n/**\n * @typedef {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10} Uint\n * Number; capped reasonably.\n */\n\n/**\n * @typedef {I extends 0 ? 1 : I extends 1 ? 2 : I extends 2 ? 3 : I extends 3 ? 4 : I extends 4 ? 5 : I extends 5 ? 6 : I extends 6 ? 7 : I extends 7 ? 8 : I extends 8 ? 9 : 10} Increment\n * Increment a number in the type system.\n * @template {Uint} [I=0]\n * Index.\n */\n\n/**\n * @typedef {(\n * Node extends UnistParent\n * ? Node extends {children: Array<infer Children>}\n * ? Child extends Children ? Node : never\n * : never\n * : never\n * )} InternalParent\n * Collect nodes that can be parents of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {InternalParent<InclusiveDescendant<Tree>, Child>} Parent\n * Collect nodes in `Tree` that can be parents of `Child`.\n * @template {UnistNode} Tree\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {(\n * Depth extends Max\n * ? never\n * :\n * | InternalParent<Node, Child>\n * | InternalAncestor<Node, InternalParent<Node, Child>, Max, Increment<Depth>>\n * )} InternalAncestor\n * Collect nodes in `Tree` that can be ancestors of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @typedef {(\n * Tree extends UnistParent\n * ? Depth extends Max\n * ? Tree\n * : Tree | InclusiveDescendant<Tree['children'][number], Max, Increment<Depth>>\n * : Tree\n * )} InclusiveDescendant\n * Collect all (inclusive) descendants of `Tree`.\n *\n * > 👉 **Note**: for performance reasons, this seems to be the fastest way to\n * > recurse without actually running into an infinite loop, which the\n * > previous version did.\n * >\n * > Practically, a max of `2` is typically enough assuming a `Root` is\n * > passed, but it doesn’t improve performance.\n * > It gets higher with `List > ListItem > Table > TableRow > TableCell`.\n * > Using up to `10` doesn’t hurt or help either.\n * @template {UnistNode} Tree\n * Tree type.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform `parent`.\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of `parent` still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Visited extends UnistNode ? number | undefined : never} index\n * Index of `node` in `parent`.\n * @param {Ancestor extends UnistParent ? Ancestor | undefined : never} parent\n * Parent of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n * @template {UnistNode} [Visited=UnistNode]\n * Visited node type.\n * @template {UnistParent} [Ancestor=UnistParent]\n * Ancestor type.\n */\n\n/**\n * @typedef {Visitor<Visited, Parent<Ancestor, Visited>>} BuildVisitorFromMatch\n * Build a typed `Visitor` function from a node and all possible parents.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Visited\n * Node type.\n * @template {UnistParent} Ancestor\n * Parent type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromMatch<\n * Matches<Descendant, Check>,\n * Extract<Descendant, UnistParent>\n * >\n * )} BuildVisitorFromDescendants\n * Build a typed `Visitor` function from a list of descendants and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Descendant\n * Node type.\n * @template {Test} Check\n * Test type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromDescendants<\n * InclusiveDescendant<Tree>,\n * Check\n * >\n * )} BuildVisitor\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} [Tree=UnistNode]\n * Node type.\n * @template {Test} [Check=Test]\n * Test type.\n */\n\nimport {visitParents} from 'unist-util-visit-parents'\n\nexport {CONTINUE, EXIT, SKIP} from 'unist-util-visit-parents'\n\n/**\n * Visit nodes.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @overload\n * @param {Tree} tree\n * @param {Check} check\n * @param {BuildVisitor<Tree, Check>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @overload\n * @param {Tree} tree\n * @param {BuildVisitor<Tree>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @param {UnistNode} tree\n * Tree to traverse.\n * @param {Visitor | Test} testOrVisitor\n * `unist-util-is`-compatible test (optional, omit to pass a visitor).\n * @param {Visitor | boolean | null | undefined} [visitorOrReverse]\n * Handle each node (when test is omitted, pass `reverse`).\n * @param {boolean | null | undefined} [maybeReverse=false]\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns {undefined}\n * Nothing.\n *\n * @template {UnistNode} Tree\n * Node type.\n * @template {Test} Check\n * `unist-util-is`-compatible test.\n */\nexport function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {\n /** @type {boolean | null | undefined} */\n let reverse\n /** @type {Test} */\n let test\n /** @type {Visitor} */\n let visitor\n\n if (\n typeof testOrVisitor === 'function' &&\n typeof visitorOrReverse !== 'function'\n ) {\n test = undefined\n visitor = testOrVisitor\n reverse = visitorOrReverse\n } else {\n // @ts-expect-error: assume the overload with test was given.\n test = testOrVisitor\n // @ts-expect-error: assume the overload with test was given.\n visitor = visitorOrReverse\n reverse = maybeReverse\n }\n\n visitParents(tree, test, overload, reverse)\n\n /**\n * @param {UnistNode} node\n * @param {Array<UnistParent>} parents\n */\n function overload(node, parents) {\n const parent = parents[parents.length - 1]\n const index = parent ? parent.children.indexOf(node) : undefined\n return visitor(node, index, parent)\n }\n}\n"],"names":["visit","tree","testOrVisitor","visitorOrReverse","maybeReverse","reverse","test","visitor","undefined","visitParents","node","parents","parent","length","index","children","indexOf"],"mappings":"uJAsRO,SAASA,EAAMC,EAAMC,EAAeC,EAAkBC,GAE3D,IAAIC,EAEAC,EAEAC,EAGuB,mBAAlBL,GACqB,mBAArBC,GAEPG,OAAOE,EACPD,EAAUL,EACVG,EAAUF,IAGVG,EAAOJ,EAEPK,EAAUJ,EACVE,EAAUD,GAGZK,EAAaR,EAAMK,EAMnB,SAAkBI,EAAMC,GACtB,MAAMC,EAASD,EAAQA,EAAQE,OAAS,GAClCC,EAAQF,EAASA,EAAOG,SAASC,QAAQN,QAAQF,EACvD,OAAOD,EAAQG,EAAMI,EAAOF,EAC7B,EAVkCP,EAWrC"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js"],"sourcesContent":["/**\n * @import {Node as UnistNode, Parent as UnistParent} from 'unist'\n * @import {VisitorResult} from 'unist-util-visit-parents'\n */\n\n/**\n * @typedef {Exclude<import('unist-util-is').Test, undefined> | undefined} Test\n * Test from `unist-util-is`.\n *\n * Note: we have remove and add `undefined`, because otherwise when generating\n * automatic `.d.ts` files, TS tries to flatten paths from a local perspective,\n * which doesn’t work when publishing on npm.\n */\n\n// To do: use types from `unist-util-visit-parents` when it’s released.\n\n/**\n * @typedef {(\n * Fn extends (value: any) => value is infer Thing\n * ? Thing\n * : Fallback\n * )} Predicate\n * Get the value of a type guard `Fn`.\n * @template Fn\n * Value; typically function that is a type guard (such as `(x): x is Y`).\n * @template Fallback\n * Value to yield if `Fn` is not a type guard.\n */\n\n/**\n * @typedef {(\n * Check extends null | undefined // No test.\n * ? Value\n * : Value extends {type: Check} // String (type) test.\n * ? Value\n * : Value extends Check // Partial test.\n * ? Value\n * : Check extends Function // Function test.\n * ? Predicate<Check, Value> extends Value\n * ? Predicate<Check, Value>\n * : never\n * : never // Some other test?\n * )} MatchesOne\n * Check whether a node matches a primitive check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test, but not arrays.\n */\n\n/**\n * @typedef {(\n * Check extends ReadonlyArray<any>\n * ? MatchesOne<Value, Check[number]>\n * : MatchesOne<Value, Check>\n * )} Matches\n * Check whether a node matches a check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test.\n */\n\n/**\n * @typedef {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10} Uint\n * Number; capped reasonably.\n */\n\n/**\n * @typedef {I extends 0 ? 1 : I extends 1 ? 2 : I extends 2 ? 3 : I extends 3 ? 4 : I extends 4 ? 5 : I extends 5 ? 6 : I extends 6 ? 7 : I extends 7 ? 8 : I extends 8 ? 9 : 10} Increment\n * Increment a number in the type system.\n * @template {Uint} [I=0]\n * Index.\n */\n\n/**\n * @typedef {(\n * Node extends UnistParent\n * ? Node extends {children: Array<infer Children>}\n * ? Child extends Children ? Node : never\n * : never\n * : never\n * )} InternalParent\n * Collect nodes that can be parents of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {InternalParent<InclusiveDescendant<Tree>, Child>} Parent\n * Collect nodes in `Tree` that can be parents of `Child`.\n * @template {UnistNode} Tree\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {(\n * Depth extends Max\n * ? never\n * :\n * | InternalParent<Node, Child>\n * | InternalAncestor<Node, InternalParent<Node, Child>, Max, Increment<Depth>>\n * )} InternalAncestor\n * Collect nodes in `Tree` that can be ancestors of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @typedef {(\n * Tree extends UnistParent\n * ? Depth extends Max\n * ? Tree\n * : Tree | InclusiveDescendant<Tree['children'][number], Max, Increment<Depth>>\n * : Tree\n * )} InclusiveDescendant\n * Collect all (inclusive) descendants of `Tree`.\n *\n * > 👉 **Note**: for performance reasons, this seems to be the fastest way to\n * > recurse without actually running into an infinite loop, which the\n * > previous version did.\n * >\n * > Practically, a max of `2` is typically enough assuming a `Root` is\n * > passed, but it doesn’t improve performance.\n * > It gets higher with `List > ListItem > Table > TableRow > TableCell`.\n * > Using up to `10` doesn’t hurt or help either.\n * @template {UnistNode} Tree\n * Tree type.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform `parent`.\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of `parent` still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Visited extends UnistNode ? number | undefined : never} index\n * Index of `node` in `parent`.\n * @param {Ancestor extends UnistParent ? Ancestor | undefined : never} parent\n * Parent of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n * @template {UnistNode} [Visited=UnistNode]\n * Visited node type.\n * @template {UnistParent} [Ancestor=UnistParent]\n * Ancestor type.\n */\n\n/**\n * @typedef {Visitor<Visited, Parent<Ancestor, Visited>>} BuildVisitorFromMatch\n * Build a typed `Visitor` function from a node and all possible parents.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Visited\n * Node type.\n * @template {UnistParent} Ancestor\n * Parent type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromMatch<\n * Matches<Descendant, Check>,\n * Extract<Descendant, UnistParent>\n * >\n * )} BuildVisitorFromDescendants\n * Build a typed `Visitor` function from a list of descendants and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Descendant\n * Node type.\n * @template {Test} Check\n * Test type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromDescendants<\n * InclusiveDescendant<Tree>,\n * Check\n * >\n * )} BuildVisitor\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} [Tree=UnistNode]\n * Node type.\n * @template {Test} [Check=Test]\n * Test type.\n */\n\nimport {visitParents} from 'unist-util-visit-parents'\n\nexport {CONTINUE, EXIT, SKIP} from 'unist-util-visit-parents'\n\n/**\n * Visit nodes.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @overload\n * @param {Tree} tree\n * @param {Check} check\n * @param {BuildVisitor<Tree, Check>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @overload\n * @param {Tree} tree\n * @param {BuildVisitor<Tree>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @param {UnistNode} tree\n * Tree to traverse.\n * @param {Visitor | Test} testOrVisitor\n * `unist-util-is`-compatible test (optional, omit to pass a visitor).\n * @param {Visitor | boolean | null | undefined} [visitorOrReverse]\n * Handle each node (when test is omitted, pass `reverse`).\n * @param {boolean | null | undefined} [maybeReverse=false]\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns {undefined}\n * Nothing.\n *\n * @template {UnistNode} Tree\n * Node type.\n * @template {Test} Check\n * `unist-util-is`-compatible test.\n */\nexport function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {\n /** @type {boolean | null | undefined} */\n let reverse\n /** @type {Test} */\n let test\n /** @type {Visitor} */\n let visitor\n\n if (\n typeof testOrVisitor === 'function' &&\n typeof visitorOrReverse !== 'function'\n ) {\n test = undefined\n visitor = testOrVisitor\n reverse = visitorOrReverse\n } else {\n // @ts-expect-error: assume the overload with test was given.\n test = testOrVisitor\n // @ts-expect-error: assume the overload with test was given.\n visitor = visitorOrReverse\n reverse = maybeReverse\n }\n\n visitParents(tree, test, overload, reverse)\n\n /**\n * @param {UnistNode} node\n * @param {Array<UnistParent>} parents\n */\n function overload(node, parents) {\n const parent = parents[parents.length - 1]\n const index = parent ? parent.children.indexOf(node) : undefined\n return visitor(node, index, parent)\n }\n}\n"],"names":["visit","tree","testOrVisitor","visitorOrReverse","maybeReverse","reverse","test","visitor","undefined","visitParents","node","parents","parent","length","index","children","indexOf"],"mappings":"uJAqRO,SAASA,EAAMC,EAAMC,EAAeC,EAAkBC,GAE3D,IAAIC,EAEAC,EAEAC,EAGuB,mBAAlBL,GACqB,mBAArBC,GAEPG,OAAOE,EACPD,EAAUL,EACVG,EAAUF,IAGVG,EAAOJ,EAEPK,EAAUJ,EACVE,EAAUD,GAGZK,EAAaR,EAAMK,EAMnB,SAAkBI,EAAMC,GACtB,MAAMC,EAASD,EAAQA,EAAQE,OAAS,GAClCC,EAAQF,EAASA,EAAOG,SAASC,QAAQN,QAAQF,EACvD,OAAOD,EAAQG,EAAMI,EAAOF,EAC7B,EAVkCP,EAWrC"}
@@ -6,6 +6,7 @@ interface ListItem {
6
6
  conflict?: any;
7
7
  }
8
8
  interface ConditionListProps {
9
+ idPrefix: string;
9
10
  items: ListItem[];
10
11
  onAdd: () => void;
11
12
  onRemove: (tierKey: string, index: number, id: any) => void;
@@ -29,6 +30,6 @@ interface ConditionListProps {
29
30
  pendingEditId?: string | null;
30
31
  setPendingEditId?: (id: string | null) => void;
31
32
  }
32
- export declare const ConditionList: ({ items, onAdd, onRemove, onEdit, index, tierKey, readOnly, placeholder, addLabel, showAddButton, isHighlighted, highlightedIds, footer, tooltipDescription, citations, setSendMessageInChat, fieldName, isAiStreaming, activeEditId, setActiveEditId, pendingEditId, setPendingEditId }: ConditionListProps) => import("react/jsx-runtime").JSX.Element;
33
+ export declare const ConditionList: ({ idPrefix, items, onAdd, onRemove, onEdit, index, tierKey, readOnly, placeholder, addLabel, showAddButton, isHighlighted, highlightedIds, footer, tooltipDescription, citations, setSendMessageInChat, fieldName, isAiStreaming, activeEditId, setActiveEditId, pendingEditId, setPendingEditId }: ConditionListProps) => import("react/jsx-runtime").JSX.Element;
33
34
  export {};
34
35
  //# sourceMappingURL=ConditionList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConditionList.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/IL-OTJ/_components/molecules/Condition/ConditionList.tsx"],"names":[],"mappings":";AAQA,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB;AAED,UAAU,kBAAkB;IAC1B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IAC5D,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC;IAClB,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,aAAa,6RAuBvB,kBAAkB,4CA6XpB,CAAC"}
1
+ {"version":3,"file":"ConditionList.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/IL-OTJ/_components/molecules/Condition/ConditionList.tsx"],"names":[],"mappings":";AAQA,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB;AAED,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,IAAI,CAAC;IAC5D,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC;IAClB,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,aAAa,uSAwBvB,kBAAkB,4CAgYpB,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const ConditionSection: ({ conditions, onAdd, onRemove, onEdit, index, isHighlighted, highlightedIds, footer, tooltipDescription, citations, addLabel, title, sendMessageInChat, setSendMessageInChat, readOnly, isAiStreaming, errorMessage, activeEditId, setActiveEditId, pendingEditId, setPendingEditId, ...props }: any) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const ConditionSection: ({ conditions, onAdd, onRemove, onEdit, index, isHighlighted, highlightedIds, footer, tooltipDescription, citations, addLabel, title, sendMessageInChat, setSendMessageInChat, readOnly, isAiStreaming, errorMessage, activeEditId, setActiveEditId, pendingEditId, setPendingEditId, idPrefix, ...props }: any) => import("react/jsx-runtime").JSX.Element;
2
2
  //# sourceMappingURL=ConditionSection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConditionSection.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,oSACmC,GAAG,4CA+BlE,CAAC"}
1
+ {"version":3,"file":"ConditionSection.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,8SAC6C,GAAG,4CAgC5E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CreateRule.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.tsx"],"names":[],"mappings":"AAoDA,eAAO,MAAM,UAAU,iCAAkC,GAAG,4CAmoB3D,CAAC"}
1
+ {"version":3,"file":"CreateRule.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.tsx"],"names":[],"mappings":"AAoDA,eAAO,MAAM,UAAU,iCAAkC,GAAG,4CA+oB3D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/instant-learning",
3
- "version": "0.0.241",
3
+ "version": "0.0.243",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -96,7 +96,7 @@
96
96
  "@material-ui/icons": "^4.11.3",
97
97
  "@material-ui/lab": "4.0.0-alpha.58",
98
98
  "@monaco-editor/react": "^4.7.0",
99
- "@mui/material": "^5.17.1",
99
+ "@mui/material": "5.17.1",
100
100
  "@rollup/plugin-commonjs": "28.0.2",
101
101
  "@rollup/plugin-json": "6.1.0",
102
102
  "@rollup/plugin-node-resolve": "13.3.0",
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.mjs.js"),s=require("react/jsx-runtime"),r=require("react"),n=require("../../../node_modules/react-markdown/lib/react-markdown.js"),i=require("./_svg/ArrowDown.js"),t=require("./_svg/CompleteIconGreen.js"),a=require("./_svg/ArrowIconBlue.js"),d=function(){return s.jsxs("svg",e.__assign({version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",width:"20",height:"20"},{children:[s.jsxs("g",{children:[s.jsx("path",{fill:"#CEE8FA",points:"220.201,259.605 220.201,294.802 235.573,294.802 235.573,323.208 276.428,323.208\n\t\t276.428,294.802 291.8,294.802 291.8,259.605 \t",d:"M6.451 7.606v1.031h0.45v0.832h1.197v-0.832h0.45v-1.031Z"}),s.jsx("path",{fill:"#CEE8FA",cx:"256.006",cy:"457.747",r:"40.059",d:"M8.674 13.411a1.174 1.174 0 0 1 -1.174 1.174 1.174 1.174 0 0 1 -1.174 -1.174 1.174 1.174 0 0 1 2.347 0"}),s.jsx("path",{x:"389.578",y:"420.98",fill:"#CEE8FA",width:"87.028",height:"73.549",d:"M11.413 12.333h2.55v2.155H11.413z"}),s.jsx("path",{x:"35.397",y:"420.98",fill:"#CEE8FA",width:"87.028",height:"73.549",d:"M1.037 12.333h2.55v2.155H1.037z"})]}),s.jsxs("g",{children:[s.jsx("path",{fill:"#2D527C",d:"M7.916 11.877v-0.759h4.772a0.416 0.416 0 0 0 0 -0.831H7.916v-0.402h0.183a0.415 0.415 0 0 0 0.416 -0.416v-0.417h0.035a0.415 0.415 0 0 0 0.416 -0.416V6.926a0.415 0.415 0 1 0 -0.831 0v0.264h-1.266v-0.264a0.415 0.415 0 0 0 -0.285 -0.395 2.918 2.918 0 0 1 -2.005 -2.776C4.577 2.143 5.888 0.831 7.5 0.831s2.923 1.311 2.923 2.923c0 0.698 -0.25 1.374 -0.704 1.902a0.416 0.416 0 0 0 0.631 0.541 3.755 3.755 0 0 0 0.904 -2.444C11.255 1.684 9.57 0 7.5 0S3.745 1.684 3.745 3.755a3.748 3.748 0 0 0 2.29 3.458v1.424a0.415 0.415 0 0 0 0.416 0.416h0.035v0.417a0.415 0.415 0 0 0 0.416 0.416h0.183v0.402H2.312a0.415 0.415 0 0 0 -0.416 0.416v1.215H1.037a0.415 0.415 0 0 0 -0.416 0.416v2.155a0.415 0.415 0 0 0 0.416 0.416h2.55a0.415 0.415 0 0 0 0.416 -0.416V12.333a0.415 0.415 0 0 0 -0.416 -0.416h-0.859v-0.799h4.357v0.759c-0.675 0.183 -1.174 0.801 -1.174 1.534C5.911 14.287 6.624 15 7.5 15s1.589 -0.713 1.589 -1.589c0 -0.732 -0.498 -1.35 -1.174 -1.534m-1.049 -3.656v-0.2h1.266v0.2h-0.035a0.415 0.415 0 0 0 -0.416 0.416v0.417h-0.366v-0.417a0.415 0.415 0 0 0 -0.416 -0.416zM3.171 14.072H1.453v-1.323H3.171zM7.5 14.169c-0.418 0 -0.758 -0.34 -0.758 -0.758s0.34 -0.758 0.758 -0.758 0.758 0.34 0.758 0.758 -0.34 0.758 -0.758 0.758"}),s.jsx("path",{fill:"#2D527C",d:"M13.963 11.918H11.413a0.415 0.415 0 0 0 -0.416 0.416v2.155a0.415 0.415 0 0 0 0.416 0.416h2.55a0.415 0.415 0 0 0 0.416 -0.416V12.333a0.415 0.415 0 0 0 -0.416 -0.416m-0.416 2.155H11.829v-1.323h1.718z"})]})]}))};exports.default=function(l){var o=l.orchestratorAndAgentsMessages,c=l.isStreamEnd,h=l.isCurrentMessage,f=l.name,m=l.ThinkingBulbIconComponent,u=r.useState(!0),g=u[0],x=u[1],p=r.useState(!1),_=p[0],v=p[1],y=r.useState([]),j=y[0],w=y[1],b=r.useState([]),C=b[0],S=b[1],k=r.useRef([]);r.useEffect(function(){h&&(c&&!_?x(!1):c||x(!0))},[c,_,h]);return s.jsxs("div",e.__assign({style:{border:"1px solid #d1d5db",borderRadius:"0.5rem",fontFamily:"Plus Jakarta Sans, sans-serif",maxWidth:"32rem"}},{children:[s.jsxs("div",e.__assign({onClick:function(){x(!g),v(!0)},style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"0.75rem 1rem",backgroundColor:"#f3f4f6",borderRadius:"0.5rem",cursor:"pointer"}},{children:[s.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:"0.5rem"}},{children:[s.jsx(d,{}),s.jsx("div",e.__assign({style:{fontSize:"0.9rem",fontWeight:600,color:"hcdemo"===f?"#2c83bd":"#385390"}},{children:"Watch Me Learn"}))]})),s.jsx("div",e.__assign({style:{width:"0.75rem",height:"0.75rem",transform:g?"rotate(180deg)":"rotate(0)",transition:"transform 300ms",display:"flex",alignItems:"center"}},{children:s.jsx(i.default,{})}))]})),s.jsx("div",e.__assign({style:{overflow:"hidden",transition:"all 0.5s ease-in-out",borderRadius:"0.5rem",maxHeight:g?"500px":"0",opacity:g?1:0}},{children:s.jsx("div",e.__assign({style:{backgroundColor:"#fff",padding:"0.5rem 0",maxHeight:"400px",overflowY:"scroll"}},{children:o.map(function(r,d){return r.responsedata?s.jsx("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:"1rem",fontSize:"0.875rem",color:"#374151",padding:"0 1.5rem"}},{children:s.jsxs("div",e.__assign({style:{display:"flex",gap:"0.5rem",cursor:"pointer"}},{children:[s.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"0.5rem"}},{children:[r.finalResponseStatus?m:s.jsx("div",e.__assign({style:{width:"1.25rem",height:"1.25rem"}},{children:s.jsx(t.default,{})})),d!==o.length-1&&s.jsx("div",{style:{border:"1px solid #e5e7eb",height:"100%",width:"1px"}})]})),s.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",width:"100%",overflowX:"hidden",justifyContent:"space-between",marginBottom:"0.5rem",borderBottom:j.includes(d)||d===o.length-1?"none":"1.5px solid #e5e7eb"}},{children:[s.jsxs("div",e.__assign({onClick:function(s){s.preventDefault(),function(s){w(function(r){return r.includes(s)?r.filter(function(e){return e!==s}):e.__spreadArray(e.__spreadArray([],r,!0),[s],!1)})}(d)},style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontWeight:500,gap:"0.5rem",paddingBottom:"0.5rem",paddingLeft:"0.5rem"}},{children:[s.jsx("div",e.__assign({style:{color:"hcdemo"===f?"#2c83bd":"#385390",fontWeight:600}},{children:r.header_message})),s.jsx("div",e.__assign({style:{width:"0.75rem",height:"0.75rem",transform:j.includes(d)?"rotate(180deg)":"rotate(0)",transition:"transform 300ms",display:"flex",alignItems:"center"}},{children:s.jsx(i.default,{})}))]})),(j.includes(d)||r.finalResponseStatus)&&s.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:"0.25rem"}},{children:[s.jsx("div",e.__assign({ref:function(e){return k.current[d]=e},style:{borderRadius:"0.375rem",maxHeight:!r.finalResponseStatus||C.includes(d)?"none":"7rem",overflowY:!r.finalResponseStatus||C.includes(d)?"visible":"scroll",backgroundColor:"#f1f5f9",padding:"0.5rem",maxWidth:"100%",overflowX:"auto"}},{children:s.jsx(n.ReactMarkdown,e.__assign({components:{p:function(r){r.node;var n=e.__rest(r,["node"]);return s.jsx("p",e.__assign({style:{wordBreak:"break-word",fontSize:"0.9rem",lineHeight:"1.5",marginBottom:"1rem"}},{children:n.children}))},code:function(r){r.node;var n=e.__rest(r,["node"]);return s.jsx("code",e.__assign({style:{wordBreak:"break-word",fontSize:"0.9rem",lineHeight:"1.5",fontFamily:"monospace"}},{children:n.children}))}}},{children:r.responsedata}))})),r.finalResponseStatus&&!C.includes(d)&&s.jsx("div",e.__assign({style:{width:"100%",display:"flex",justifyContent:"center"}},{children:s.jsxs("div",e.__assign({onClick:function(){return function(s){S(function(r){return r.includes(s)?r.filter(function(e){return e!==s}):e.__spreadArray(e.__spreadArray([],r,!0),[s],!1)})}(d)},style:{fontWeight:500,fontSize:"0.75rem",padding:"0.25rem 0.75rem",color:"#385390",cursor:"pointer",display:"flex",alignItems:"center",gap:"0.25rem",borderRadius:"0.375rem",marginBottom:"0.25rem"}},{children:["View more",s.jsx("div",e.__assign({style:{width:"0.75rem",height:"0.75rem",transform:"rotate(90deg)"}},{children:s.jsx(a.default,{})}))]}))}))]}))]}))]}))}),d):null})}))}))]}))};
2
- //# sourceMappingURL=MinimizedThinkingSteps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MinimizedThinkingSteps.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../node_modules/tslib/tslib.es6.mjs.js"),s=require("react/jsx-runtime");exports.default=function(){return s.jsx("svg",e.__assign({fill:"#000000",height:"100%",width:"100%",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 330 330",xmlSpace:"preserve"},{children:s.jsx("path",{id:"XMLID_225_",d:"M325.607,79.393c-5.857-5.857-15.355-5.858-21.213,0.001l-139.39,139.393L25.607,79.393\n c-5.857-5.857-15.355-5.858-21.213,0.001c-5.858,5.858-5.858,15.355,0,21.213l150.004,150c2.813,2.813,6.628,4.393,10.606,4.393\n s7.794-1.581,10.606-4.394l149.996-150C331.465,94.749,331.465,85.251,325.607,79.393z"})}))};
2
- //# sourceMappingURL=ArrowDown.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArrowDown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../node_modules/tslib/tslib.es6.mjs.js"),i=require("react/jsx-runtime");exports.default=function(){return i.jsx("svg",e.__assign({width:"100%",height:"100%",viewBox:"0 0 11 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i.jsx("g",e.__assign({id:"weui:back-filled"},{children:i.jsx("path",{id:"Vector","fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.7141 9.99948L1.8216 4.10698L2.99993 2.92865L9.4816 9.41031C9.63782 9.56659 9.72559 9.77851 9.72559 9.99948C9.72559 10.2204 9.63782 10.4324 9.4816 10.5886L2.99993 17.0703L1.8216 15.892L7.7141 9.99948Z",fill:"#385390"})}))}))};
2
- //# sourceMappingURL=ArrowIconBlue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArrowIconBlue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../node_modules/tslib/tslib.es6.mjs.js"),s=require("react/jsx-runtime");exports.default=function(){return s.jsx("svg",e.__assign({height:"100%",width:"100%",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",xmlSpace:"preserve",style:{overflow:"visible"}},{children:s.jsx("g",{children:s.jsx("g",e.__assign({id:"Complete_x5F_Symbol_1_"},{children:s.jsxs("g",e.__assign({id:"Complete_x5F_Symbol"},{children:[s.jsx("circle",{cx:"16",cy:"16",r:"16",fill:"#19D873"}),s.jsx("polygon",{points:"14,17.9 14,17.9 14,17.9 10.1,14 8,16.1 14,22.1 24,12.1 21.9,10",fill:"#E6E6E6"})]}))}))})}))};
2
- //# sourceMappingURL=CompleteIconGreen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CompleteIconGreen.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.mjs.js"),r=require("react/jsx-runtime"),n=require("../../../node_modules/react-markdown/lib/react-markdown.js"),s=require("../../../node_modules/rehype-raw/lib/index.js"),i=require("../../../node_modules/remark-gfm/index.js"),t=require("react"),o=require("./_svg/CompleteIconGreen.js"),d=require("./_svg/ArrowIconBlue.js"),a=require("./_svg/ArrowDown.js"),l=require("./_svg/WatchMeWorkIcon.js");exports.default=function(c){var u=c.orchestratorAndAgentsMessages,m=c.isStreamEnd,f=c.isCurrentMessage,g=c.name,h=c.ThinkingBulbIconComponent,_=t.useState(!0),x=_[0],p=_[1],y=t.useState(!1),j=y[0],v=y[1],b=t.useState([]),w=b[0],S=b[1],k=t.useState([]),C=k[0],R=k[1],I=t.useRef([]),W=t.useMemo(function(){return[s.default]},[]),q=t.useMemo(function(){return[i.default]},[]);t.useEffect(function(){f&&(m&&!j?p(!1):m||p(!0))},[m,j,f]);return r.jsxs("div",e.__assign({style:{border:"1px solid #d1d5db",marginBottom:"1rem",borderRadius:"0.5rem",fontFamily:"Plus Jakarta Sans, sans-serif",maxWidth:"100%",boxSizing:"border-box",overflow:"hidden"}},{children:[r.jsxs("div",e.__assign({onClick:function(){p(!x),v(!0)},style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"0.75rem 1rem",backgroundColor:"#f3f4f6",borderRadius:"0.5rem",cursor:"pointer"}},{children:[r.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:"0.5rem",minWidth:0}},{children:[r.jsx(l.default,{}),r.jsx("div",e.__assign({style:{fontSize:"0.9rem",fontWeight:600,color:"hcdemo"===g?"#2c83bd":"#385390"}},{children:"Watch Me Learn"}))]})),r.jsx("div",e.__assign({style:{width:"0.75rem",height:"0.75rem",transform:x?"rotate(180deg)":"rotate(0)",transition:"transform 300ms",display:"flex",alignItems:"center",flexShrink:0}},{children:r.jsx(a.default,{})}))]})),r.jsx("div",e.__assign({style:{overflow:"hidden",transition:"all 0.5s ease-in-out",borderRadius:"0.5rem",maxHeight:x?"500px":"0",opacity:x?1:0}},{children:r.jsx("div",e.__assign({style:{backgroundColor:"#fff",padding:"0.5rem 0",maxHeight:"400px",overflowY:"auto",overflowX:"hidden"}},{children:u.map(function(s,i){return s.responsedata?r.jsx("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:"1rem",fontSize:"0.875rem",color:"#374151",padding:"0 1.5rem",width:"100%",boxSizing:"border-box"}},{children:r.jsxs("div",e.__assign({style:{display:"flex",gap:"0.5rem",cursor:"pointer",width:"100%"}},{children:[r.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"0.5rem",flexShrink:0}},{children:[s.finalResponseStatus?h:r.jsx("div",e.__assign({style:{width:"1.25rem",height:"1.25rem"}},{children:r.jsx(o.default,{})})),i!==u.length-1&&r.jsx("div",{style:{border:"1px solid #e5e7eb",height:"100%",width:"1px"}})]})),r.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",flex:1,minWidth:0,justifyContent:"space-between",marginBottom:"0.5rem",borderBottom:w.includes(i)||i===u.length-1?"none":"1.5px solid #e5e7eb"}},{children:[r.jsxs("div",e.__assign({onClick:function(r){r.preventDefault(),function(r){S(function(n){return n.includes(r)?n.filter(function(e){return e!==r}):e.__spreadArray(e.__spreadArray([],n,!0),[r],!1)})}(i)},style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontWeight:500,gap:"0.5rem",paddingBottom:"0.5rem",paddingLeft:"0.5rem"}},{children:[r.jsx("div",e.__assign({style:{color:"hcdemo"===g?"#2c83bd":"#385390",fontWeight:600}},{children:s.header_message})),r.jsx("div",e.__assign({style:{width:"0.75rem",height:"0.75rem",transform:w.includes(i)?"rotate(180deg)":"rotate(0)",transition:"transform 300ms",display:"flex",alignItems:"center"}},{children:r.jsx(a.default,{})}))]})),(w.includes(i)||s.finalResponseStatus)&&r.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:"0.25rem"}},{children:[r.jsx("div",e.__assign({ref:function(e){return I.current[i]=e},style:{borderRadius:"0.375rem",maxHeight:!s.finalResponseStatus||C.includes(i)?"none":"7rem",overflowY:!s.finalResponseStatus||C.includes(i)?"visible":"scroll",backgroundColor:"#f1f5f9",padding:"0.5rem",boxSizing:"border-box",overflowX:"hidden",overflowWrap:"anywhere"}},{children:r.jsx(n.ReactMarkdown,e.__assign({components:{p:function(n){n.node;var s=e.__rest(n,["node"]);return r.jsx("p",e.__assign({style:{wordBreak:"break-word",fontSize:"0.9rem",lineHeight:"1.5",marginBottom:"1rem"}},{children:s.children}))},code:function(n){n.node;var s=e.__rest(n,["node"]);return r.jsx("code",e.__assign({style:{wordBreak:"break-word",fontSize:"0.9rem",lineHeight:"1.5",fontFamily:"monospace"}},{children:s.children}))},a:function(n){n.node;var s=e.__rest(n,["node"]);return r.jsx("a",e.__assign({style:{color:"inherit",textDecoration:"none"}},s))}},rehypePlugins:W,remarkPlugins:q},{children:s.responsedata}))})),s.finalResponseStatus&&!C.includes(i)&&r.jsx("div",e.__assign({style:{width:"100%",display:"flex",justifyContent:"center"}},{children:r.jsxs("div",e.__assign({onClick:function(){return function(r){R(function(n){return n.includes(r)?n.filter(function(e){return e!==r}):e.__spreadArray(e.__spreadArray([],n,!0),[r],!1)})}(i)},style:{fontWeight:500,fontSize:"0.75rem",padding:"0.25rem 0.75rem",color:"#385390",cursor:"pointer",display:"flex",alignItems:"center",gap:"0.25rem",borderRadius:"0.375rem",marginBottom:"0.25rem"}},{children:["View more",r.jsx("div",e.__assign({style:{width:"0.75rem",height:"0.75rem",transform:"rotate(90deg)"}},{children:r.jsx(d.default,{})}))]}))}))]}))]}))]}))}),i):null})}))}))]}))};
2
- //# sourceMappingURL=MinimizedThinkingSteps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MinimizedThinkingSteps.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../node_modules/tslib/tslib.es6.mjs.js"),s=require("react/jsx-runtime");exports.default=function(){return s.jsx("svg",e.__assign({fill:"#000000",height:"100%",width:"100%",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 330 330",xmlSpace:"preserve"},{children:s.jsx("path",{id:"XMLID_225_",d:"M325.607,79.393c-5.857-5.857-15.355-5.858-21.213,0.001l-139.39,139.393L25.607,79.393\n c-5.857-5.857-15.355-5.858-21.213,0.001c-5.858,5.858-5.858,15.355,0,21.213l150.004,150c2.813,2.813,6.628,4.393,10.606,4.393\n s7.794-1.581,10.606-4.394l149.996-150C331.465,94.749,331.465,85.251,325.607,79.393z"})}))};
2
- //# sourceMappingURL=ArrowDown.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArrowDown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../node_modules/tslib/tslib.es6.mjs.js"),i=require("react/jsx-runtime");exports.default=function(){return i.jsx("svg",e.__assign({width:"100%",height:"100%",viewBox:"0 0 11 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i.jsx("g",e.__assign({id:"weui:back-filled"},{children:i.jsx("path",{id:"Vector","fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.7141 9.99948L1.8216 4.10698L2.99993 2.92865L9.4816 9.41031C9.63782 9.56659 9.72559 9.77851 9.72559 9.99948C9.72559 10.2204 9.63782 10.4324 9.4816 10.5886L2.99993 17.0703L1.8216 15.892L7.7141 9.99948Z",fill:"#385390"})}))}))};
2
- //# sourceMappingURL=ArrowIconBlue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArrowIconBlue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../node_modules/tslib/tslib.es6.mjs.js"),s=require("react/jsx-runtime");exports.default=function(){return s.jsx("svg",e.__assign({height:"100%",width:"100%",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",xmlSpace:"preserve",style:{overflow:"visible"}},{children:s.jsx("g",{children:s.jsx("g",e.__assign({id:"Complete_x5F_Symbol_1_"},{children:s.jsxs("g",e.__assign({id:"Complete_x5F_Symbol"},{children:[s.jsx("circle",{cx:"16",cy:"16",r:"16",fill:"#19D873"}),s.jsx("polygon",{points:"14,17.9 14,17.9 14,17.9 10.1,14 8,16.1 14,22.1 24,12.1 21.9,10",fill:"#E6E6E6"})]}))}))})}))};
2
- //# sourceMappingURL=CompleteIconGreen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CompleteIconGreen.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var h=require("../../../../node_modules/tslib/tslib.es6.mjs.js"),s=require("react/jsx-runtime");exports.default=function(){return s.jsxs("svg",h.__assign({version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",width:"20",height:"20"},{children:[s.jsxs("g",{children:[s.jsx("path",{fill:"#CEE8FA",points:"220.201,259.605 220.201,294.802 235.573,294.802 235.573,323.208 276.428,323.208\n 276.428,294.802 291.8,294.802 291.8,259.605 \t",d:"M6.451 7.606v1.031h0.45v0.832h1.197v-0.832h0.45v-1.031Z"}),s.jsx("path",{fill:"#CEE8FA",cx:"256.006",cy:"457.747",r:"40.059",d:"M8.674 13.411a1.174 1.174 0 0 1 -1.174 1.174 1.174 1.174 0 0 1 -1.174 -1.174 1.174 1.174 0 0 1 2.347 0"}),s.jsx("path",{x:"389.578",y:"420.98",fill:"#CEE8FA",width:"87.028",height:"73.549",d:"M11.413 12.333h2.55v2.155H11.413z"}),s.jsx("path",{x:"35.397",y:"420.98",fill:"#CEE8FA",width:"87.028",height:"73.549",d:"M1.037 12.333h2.55v2.155H1.037z"})]}),s.jsxs("g",{children:[s.jsx("path",{fill:"#2D527C",d:"M7.916 11.877v-0.759h4.772a0.416 0.416 0 0 0 0 -0.831H7.916v-0.402h0.183a0.415 0.415 0 0 0 0.416 -0.416v-0.417h0.035a0.415 0.415 0 0 0 0.416 -0.416V6.926a0.415 0.415 0 1 0 -0.831 0v0.264h-1.266v-0.264a0.415 0.415 0 0 0 -0.285 -0.395 2.918 2.918 0 0 1 -2.005 -2.776C4.577 2.143 5.888 0.831 7.5 0.831s2.923 1.311 2.923 2.923c0 0.698 -0.25 1.374 -0.704 1.902a0.416 0.416 0 0 0 0.631 0.541 3.755 3.755 0 0 0 0.904 -2.444C11.255 1.684 9.57 0 7.5 0S3.745 1.684 3.745 3.755a3.748 3.748 0 0 0 2.29 3.458v1.424a0.415 0.415 0 0 0 0.416 0.416h0.035v0.417a0.415 0.415 0 0 0 0.416 0.416h0.183v0.402H2.312a0.415 0.415 0 0 0 -0.416 0.416v1.215H1.037a0.415 0.415 0 0 0 -0.416 0.416v2.155a0.415 0.415 0 0 0 0.416 0.416h2.55a0.415 0.415 0 0 0 0.416 -0.416V12.333a0.415 0.415 0 0 0 -0.416 -0.416h-0.859v-0.799h4.357v0.759c-0.675 0.183 -1.174 0.801 -1.174 1.534C5.911 14.287 6.624 15 7.5 15s1.589 -0.713 1.589 -1.589c0 -0.732 -0.498 -1.35 -1.174 -1.534m-1.049 -3.656v-0.2h1.266v0.2h-0.035a0.415 0.415 0 0 0 -0.416 0.416v0.417h-0.366v-0.417a0.415 0.415 0 0 0 -0.416 -0.416zM3.171 14.072H1.453v-1.323H3.171zM7.5 14.169c-0.418 0 -0.758 -0.34 -0.758 -0.758s0.34 -0.758 0.758 -0.758 0.758 0.34 0.758 0.758 -0.34 0.758 -0.758 0.758"}),s.jsx("path",{fill:"#2D527C",d:"M13.963 11.918H11.413a0.415 0.415 0 0 0 -0.416 0.416v2.155a0.415 0.415 0 0 0 0.416 0.416h2.55a0.415 0.415 0 0 0 0.416 -0.416V12.333a0.415 0.415 0 0 0 -0.416 -0.416m-0.416 2.155H11.829v-1.323h1.718z"})]})]}))};
2
- //# sourceMappingURL=WatchMeWorkIcon.js.map