@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.
- package/dist/cjs/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
- package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js +1 -1
- package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js.map +1 -1
- package/dist/cjs/node_modules/decode-named-character-reference/index.dom.js.map +1 -1
- package/dist/cjs/node_modules/graphql/execution/execute.mjs.js +1 -1
- package/dist/cjs/node_modules/graphql/execution/execute.mjs.js.map +1 -1
- package/dist/cjs/node_modules/graphql/execution/subscribe.mjs.js.map +1 -1
- package/dist/cjs/node_modules/graphql/execution/values.mjs.js +1 -1
- package/dist/cjs/node_modules/graphql/execution/values.mjs.js.map +1 -1
- package/dist/cjs/node_modules/graphql/utilities/coerceInputValue.mjs.js +1 -1
- package/dist/cjs/node_modules/graphql/utilities/coerceInputValue.mjs.js.map +1 -1
- package/dist/cjs/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs.js +1 -1
- package/dist/cjs/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs.js.map +1 -1
- package/dist/cjs/node_modules/graphql/validation/validate.mjs.js +1 -1
- package/dist/cjs/node_modules/graphql/validation/validate.mjs.js.map +1 -1
- package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js.map +1 -1
- package/dist/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
- package/dist/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js +1 -1
- package/dist/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
- package/dist/node_modules/@mui/material/internal/SwitchBase.js +1 -1
- package/dist/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js +1 -1
- package/dist/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js.map +1 -1
- package/dist/node_modules/decode-named-character-reference/index.dom.js.map +1 -1
- package/dist/node_modules/graphql/execution/execute.mjs.js +1 -1
- package/dist/node_modules/graphql/execution/execute.mjs.js.map +1 -1
- package/dist/node_modules/graphql/execution/subscribe.mjs.js.map +1 -1
- package/dist/node_modules/graphql/execution/values.mjs.js +1 -1
- package/dist/node_modules/graphql/execution/values.mjs.js.map +1 -1
- package/dist/node_modules/graphql/utilities/coerceInputValue.mjs.js +1 -1
- package/dist/node_modules/graphql/utilities/coerceInputValue.mjs.js.map +1 -1
- package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs.js +1 -1
- package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs.js.map +1 -1
- package/dist/node_modules/graphql/validation/validate.mjs.js +1 -1
- package/dist/node_modules/graphql/validation/validate.mjs.js.map +1 -1
- package/dist/node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts +2 -1
- package/dist/types/src/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.d.ts +1 -1
- package/dist/types/src/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/cjs/features/DocumentLearning/_components/MinimizedThinkingSteps.js +0 -2
- package/dist/cjs/features/DocumentLearning/_components/MinimizedThinkingSteps.js.map +0 -1
- package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowDown.js +0 -2
- package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowDown.js.map +0 -1
- package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowIconBlue.js +0 -2
- package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowIconBlue.js.map +0 -1
- package/dist/cjs/features/DocumentLearning/_components/_svg/CompleteIconGreen.js +0 -2
- package/dist/cjs/features/DocumentLearning/_components/_svg/CompleteIconGreen.js.map +0 -1
- package/dist/cjs/features/IL-OTJ/_components/MinimizedThinkingSteps.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/MinimizedThinkingSteps.js.map +0 -1
- package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowDown.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowDown.js.map +0 -1
- package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowIconBlue.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowIconBlue.js.map +0 -1
- package/dist/cjs/features/IL-OTJ/_components/_svg/CompleteIconGreen.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/_svg/CompleteIconGreen.js.map +0 -1
- package/dist/cjs/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js.map +0 -1
- package/dist/cjs/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js +0 -2
- package/dist/cjs/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js.map +0 -1
- package/dist/cjs/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -2
- package/dist/cjs/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Add.js +0 -2
- package/dist/cjs/node_modules/@mui/icons-material/esm/Add.js.map +0 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Cancel.js +0 -2
- package/dist/cjs/node_modules/@mui/icons-material/esm/Cancel.js.map +0 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/CheckCircleOutline.js +0 -2
- package/dist/cjs/node_modules/@mui/icons-material/esm/CheckCircleOutline.js.map +0 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Delete.js +0 -2
- package/dist/cjs/node_modules/@mui/icons-material/esm/Delete.js.map +0 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Edit.js +0 -2
- package/dist/cjs/node_modules/@mui/icons-material/esm/Edit.js.map +0 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/HelpOutline.js +0 -2
- package/dist/cjs/node_modules/@mui/icons-material/esm/HelpOutline.js.map +0 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js +0 -2
- package/dist/cjs/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js.map +0 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/KeyboardArrowUp.js +0 -2
- package/dist/cjs/node_modules/@mui/icons-material/esm/KeyboardArrowUp.js.map +0 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/MergeType.js +0 -2
- package/dist/cjs/node_modules/@mui/icons-material/esm/MergeType.js.map +0 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Save.js +0 -2
- package/dist/cjs/node_modules/@mui/icons-material/esm/Save.js.map +0 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Undo.js +0 -2
- package/dist/cjs/node_modules/@mui/icons-material/esm/Undo.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/Grid2/Grid2.js +0 -2
- package/dist/cjs/node_modules/@mui/material/Grid2/Grid2.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/Grid2/grid2Classes.js +0 -2
- package/dist/cjs/node_modules/@mui/material/Grid2/grid2Classes.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/styles/ThemeProviderWithVars.js +0 -2
- package/dist/cjs/node_modules/@mui/material/styles/ThemeProviderWithVars.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/styles/createColorScheme.js +0 -2
- package/dist/cjs/node_modules/@mui/material/styles/createColorScheme.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/styles/createGetSelector.js +0 -2
- package/dist/cjs/node_modules/@mui/material/styles/createGetSelector.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/styles/createThemeNoVars.js +0 -2
- package/dist/cjs/node_modules/@mui/material/styles/createThemeNoVars.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/styles/createThemeWithVars.js +0 -2
- package/dist/cjs/node_modules/@mui/material/styles/createThemeWithVars.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/styles/stringifyTheme.js +0 -2
- package/dist/cjs/node_modules/@mui/material/styles/stringifyTheme.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/useLazyRipple/useLazyRipple.js +0 -2
- package/dist/cjs/node_modules/@mui/material/useLazyRipple/useLazyRipple.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/useMediaQuery/index.js +0 -2
- package/dist/cjs/node_modules/@mui/material/useMediaQuery/index.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/utils/createSimplePaletteValueFilter.js +0 -2
- package/dist/cjs/node_modules/@mui/material/utils/createSimplePaletteValueFilter.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/utils/isHostComponent.js +0 -2
- package/dist/cjs/node_modules/@mui/material/utils/isHostComponent.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/utils/memoTheme.js +0 -2
- package/dist/cjs/node_modules/@mui/material/utils/memoTheme.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/utils/mergeSlotProps.js +0 -2
- package/dist/cjs/node_modules/@mui/material/utils/mergeSlotProps.js.map +0 -1
- package/dist/cjs/node_modules/@mui/material/zero-styled/index.js +0 -2
- package/dist/cjs/node_modules/@mui/material/zero-styled/index.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/Grid.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/Grid/Grid.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/gridClasses.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/Grid/gridClasses.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/gridGenerator.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/Grid/gridGenerator.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/borders/borders.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/borders/borders.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/breakpoints/breakpoints.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/breakpoints/breakpoints.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/compose/compose.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/compose/compose.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/createBox/createBox.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/createBox/createBox.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/localStorageManager.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/localStorageManager.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/display/display.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/display/display.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/flexbox/flexbox.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/flexbox/flexbox.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/memoTheme.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/memoTheme.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/memoize/memoize.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/memoize/memoize.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/merge/merge.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/merge/merge.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/palette/palette.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/palette/palette.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/positions/positions.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/positions/positions.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/preprocessStyles.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/preprocessStyles.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/shadows/shadows.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/shadows/shadows.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/sizing/sizing.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/sizing/sizing.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/style/style.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/style/style.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/styled/styled.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/styled/styled.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/typography/typography.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/typography/typography.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/useTheme/useTheme.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/useTheme/useTheme.js.map +0 -1
- package/dist/cjs/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js +0 -2
- package/dist/cjs/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js.map +0 -1
- package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +0 -2
- package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js.map +0 -1
- package/dist/cjs/node_modules/clsx/dist/clsx.mjs.js +0 -2
- package/dist/cjs/node_modules/clsx/dist/clsx.mjs.js.map +0 -1
- package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js +0 -2
- package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js.map +0 -1
- package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js +0 -2
- package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js.map +0 -1
- package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js +0 -2
- package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js +0 -2
- package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js.map +0 -1
- package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js +0 -2
- package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js +0 -2
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js +0 -2
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js +0 -2
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js +0 -2
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js +0 -2
- package/dist/cjs/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/is-plain-obj/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/is-plain-obj/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/constructs.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/constructs.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/parse.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/parse.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-label/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-label/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-space/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-space/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-title/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-title/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/aria.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/aria.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/find.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/find.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/html.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/html.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/normalize.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/normalize.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/svg.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/svg.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/create.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/create.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/info.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/info.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/types.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/types.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xlink.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xlink.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xml.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xml.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/remark-parse/lib/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/remark-parse/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/space-separated-tokens/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/space-separated-tokens/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js.map +0 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile-message/lib/index.js +0 -2
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile-message/lib/index.js.map +0 -1
- package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js +0 -2
- package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
- package/dist/cjs/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js +0 -2
- package/dist/cjs/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js.map +0 -1
- package/dist/features/DocumentLearning/_components/MinimizedThinkingSteps.js +0 -2
- package/dist/features/DocumentLearning/_components/MinimizedThinkingSteps.js.map +0 -1
- package/dist/features/DocumentLearning/_components/_svg/ArrowDown.js +0 -2
- package/dist/features/DocumentLearning/_components/_svg/ArrowDown.js.map +0 -1
- package/dist/features/DocumentLearning/_components/_svg/ArrowIconBlue.js +0 -2
- package/dist/features/DocumentLearning/_components/_svg/ArrowIconBlue.js.map +0 -1
- package/dist/features/DocumentLearning/_components/_svg/CompleteIconGreen.js +0 -2
- package/dist/features/DocumentLearning/_components/_svg/CompleteIconGreen.js.map +0 -1
- package/dist/features/IL-OTJ/_components/MinimizedThinkingSteps.js +0 -2
- package/dist/features/IL-OTJ/_components/MinimizedThinkingSteps.js.map +0 -1
- package/dist/features/IL-OTJ/_components/_svg/ArrowDown.js +0 -2
- package/dist/features/IL-OTJ/_components/_svg/ArrowDown.js.map +0 -1
- package/dist/features/IL-OTJ/_components/_svg/ArrowIconBlue.js +0 -2
- package/dist/features/IL-OTJ/_components/_svg/ArrowIconBlue.js.map +0 -1
- package/dist/features/IL-OTJ/_components/_svg/CompleteIconGreen.js +0 -2
- package/dist/features/IL-OTJ/_components/_svg/CompleteIconGreen.js.map +0 -1
- package/dist/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js +0 -2
- package/dist/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js.map +0 -1
- package/dist/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js +0 -2
- package/dist/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js.map +0 -1
- package/dist/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -2
- package/dist/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/esm/Add.js +0 -2
- package/dist/node_modules/@mui/icons-material/esm/Add.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/esm/Cancel.js +0 -2
- package/dist/node_modules/@mui/icons-material/esm/Cancel.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/esm/CheckCircleOutline.js +0 -2
- package/dist/node_modules/@mui/icons-material/esm/CheckCircleOutline.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/esm/Delete.js +0 -2
- package/dist/node_modules/@mui/icons-material/esm/Delete.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/esm/Edit.js +0 -2
- package/dist/node_modules/@mui/icons-material/esm/Edit.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/esm/HelpOutline.js +0 -2
- package/dist/node_modules/@mui/icons-material/esm/HelpOutline.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js +0 -2
- package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowUp.js +0 -2
- package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowUp.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/esm/MergeType.js +0 -2
- package/dist/node_modules/@mui/icons-material/esm/MergeType.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/esm/Save.js +0 -2
- package/dist/node_modules/@mui/icons-material/esm/Save.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/esm/Undo.js +0 -2
- package/dist/node_modules/@mui/icons-material/esm/Undo.js.map +0 -1
- package/dist/node_modules/@mui/material/Grid2/Grid2.js +0 -2
- package/dist/node_modules/@mui/material/Grid2/Grid2.js.map +0 -1
- package/dist/node_modules/@mui/material/Grid2/grid2Classes.js +0 -2
- package/dist/node_modules/@mui/material/Grid2/grid2Classes.js.map +0 -1
- package/dist/node_modules/@mui/material/styles/ThemeProviderWithVars.js +0 -2
- package/dist/node_modules/@mui/material/styles/ThemeProviderWithVars.js.map +0 -1
- package/dist/node_modules/@mui/material/styles/createColorScheme.js +0 -2
- package/dist/node_modules/@mui/material/styles/createColorScheme.js.map +0 -1
- package/dist/node_modules/@mui/material/styles/createGetSelector.js +0 -2
- package/dist/node_modules/@mui/material/styles/createGetSelector.js.map +0 -1
- package/dist/node_modules/@mui/material/styles/createThemeNoVars.js +0 -2
- package/dist/node_modules/@mui/material/styles/createThemeNoVars.js.map +0 -1
- package/dist/node_modules/@mui/material/styles/createThemeWithVars.js +0 -2
- package/dist/node_modules/@mui/material/styles/createThemeWithVars.js.map +0 -1
- package/dist/node_modules/@mui/material/styles/stringifyTheme.js +0 -2
- package/dist/node_modules/@mui/material/styles/stringifyTheme.js.map +0 -1
- package/dist/node_modules/@mui/material/useLazyRipple/useLazyRipple.js +0 -2
- package/dist/node_modules/@mui/material/useLazyRipple/useLazyRipple.js.map +0 -1
- package/dist/node_modules/@mui/material/useMediaQuery/index.js +0 -2
- package/dist/node_modules/@mui/material/useMediaQuery/index.js.map +0 -1
- package/dist/node_modules/@mui/material/utils/createSimplePaletteValueFilter.js +0 -2
- package/dist/node_modules/@mui/material/utils/createSimplePaletteValueFilter.js.map +0 -1
- package/dist/node_modules/@mui/material/utils/isHostComponent.js +0 -2
- package/dist/node_modules/@mui/material/utils/isHostComponent.js.map +0 -1
- package/dist/node_modules/@mui/material/utils/memoTheme.js +0 -2
- package/dist/node_modules/@mui/material/utils/memoTheme.js.map +0 -1
- package/dist/node_modules/@mui/material/utils/mergeSlotProps.js +0 -2
- package/dist/node_modules/@mui/material/utils/mergeSlotProps.js.map +0 -1
- package/dist/node_modules/@mui/material/zero-styled/index.js +0 -2
- package/dist/node_modules/@mui/material/zero-styled/index.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/Grid/Grid.js +0 -2
- package/dist/node_modules/@mui/system/esm/Grid/Grid.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/Grid/createGrid.js +0 -2
- package/dist/node_modules/@mui/system/esm/Grid/createGrid.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +0 -2
- package/dist/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/Grid/gridClasses.js +0 -2
- package/dist/node_modules/@mui/system/esm/Grid/gridClasses.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/Grid/gridGenerator.js +0 -2
- package/dist/node_modules/@mui/system/esm/Grid/gridGenerator.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js +0 -2
- package/dist/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/borders/borders.js +0 -2
- package/dist/node_modules/@mui/system/esm/borders/borders.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/breakpoints/breakpoints.js +0 -2
- package/dist/node_modules/@mui/system/esm/breakpoints/breakpoints.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +0 -2
- package/dist/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/compose/compose.js +0 -2
- package/dist/node_modules/@mui/system/esm/compose/compose.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/createBox/createBox.js +0 -2
- package/dist/node_modules/@mui/system/esm/createBox/createBox.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js +0 -2
- package/dist/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/createStyled/createStyled.js +0 -2
- package/dist/node_modules/@mui/system/esm/createStyled/createStyled.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js +0 -2
- package/dist/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/cssGrid/cssGrid.js +0 -2
- package/dist/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js +0 -2
- package/dist/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/cssVars/localStorageManager.js +0 -2
- package/dist/node_modules/@mui/system/esm/cssVars/localStorageManager.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js +0 -2
- package/dist/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/display/display.js +0 -2
- package/dist/node_modules/@mui/system/esm/display/display.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/flexbox/flexbox.js +0 -2
- package/dist/node_modules/@mui/system/esm/flexbox/flexbox.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js +0 -2
- package/dist/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/memoTheme.js +0 -2
- package/dist/node_modules/@mui/system/esm/memoTheme.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/memoize/memoize.js +0 -2
- package/dist/node_modules/@mui/system/esm/memoize/memoize.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/merge/merge.js +0 -2
- package/dist/node_modules/@mui/system/esm/merge/merge.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/palette/palette.js +0 -2
- package/dist/node_modules/@mui/system/esm/palette/palette.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/positions/positions.js +0 -2
- package/dist/node_modules/@mui/system/esm/positions/positions.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/preprocessStyles.js +0 -2
- package/dist/node_modules/@mui/system/esm/preprocessStyles.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +0 -2
- package/dist/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/shadows/shadows.js +0 -2
- package/dist/node_modules/@mui/system/esm/shadows/shadows.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/sizing/sizing.js +0 -2
- package/dist/node_modules/@mui/system/esm/sizing/sizing.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/spacing/spacing.js +0 -2
- package/dist/node_modules/@mui/system/esm/spacing/spacing.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/style/style.js +0 -2
- package/dist/node_modules/@mui/system/esm/style/style.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/styled/styled.js +0 -2
- package/dist/node_modules/@mui/system/esm/styled/styled.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/typography/typography.js +0 -2
- package/dist/node_modules/@mui/system/esm/typography/typography.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/useTheme/useTheme.js +0 -2
- package/dist/node_modules/@mui/system/esm/useTheme/useTheme.js.map +0 -1
- package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js +0 -2
- package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js.map +0 -1
- package/dist/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +0 -2
- package/dist/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js.map +0 -1
- package/dist/node_modules/clsx/dist/clsx.mjs.js +0 -2
- package/dist/node_modules/clsx/dist/clsx.mjs.js.map +0 -1
- package/dist/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js +0 -2
- package/dist/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js.map +0 -1
- package/dist/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js +0 -2
- package/dist/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js.map +0 -1
- package/dist/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js +0 -2
- package/dist/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js.map +0 -1
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js +0 -2
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js.map +0 -1
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js +0 -2
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js.map +0 -1
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js +0 -2
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/index.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/lib/state.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js +0 -2
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
- package/dist/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js +0 -2
- package/dist/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/is-plain-obj/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/is-plain-obj/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/constructs.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/constructs.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/parse.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/parse.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-label/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-label/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-space/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-space/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-title/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-title/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-util-character/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-util-character/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/aria.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/aria.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/find.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/find.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/html.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/html.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/normalize.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/normalize.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/svg.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/svg.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/create.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/create.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/info.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/info.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/types.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/types.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xlink.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xlink.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xml.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xml.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/remark-parse/lib/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/remark-parse/lib/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/space-separated-tokens/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/space-separated-tokens/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js.map +0 -1
- package/dist/node_modules/react-markdown/node_modules/vfile-message/lib/index.js +0 -2
- package/dist/node_modules/react-markdown/node_modules/vfile-message/lib/index.js.map +0 -1
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +0 -2
- package/dist/node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
- package/dist/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js +0 -2
- package/dist/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/BookLearningForm.d.ts +0 -23
- package/dist/types/src/features/IL-OTJ/_components/BookLearningForm.d.ts.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/ChatComponent.d.ts +0 -61
- package/dist/types/src/features/IL-OTJ/_components/ChatComponent.d.ts.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCard.d.ts +0 -13
- package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCard.d.ts.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCardDB.d.ts +0 -41
- package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCardDB.d.ts.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/ContextualChatComponent.d.ts +0 -62
- package/dist/types/src/features/IL-OTJ/_components/ContextualChatComponent.d.ts.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/ContextualConflictDBCard.d.ts +0 -30
- package/dist/types/src/features/IL-OTJ/_components/ContextualConflictDBCard.d.ts.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/ContextualLearningForm.d.ts +0 -1
- package/dist/types/src/features/IL-OTJ/_components/ContextualLearningForm.d.ts.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/LearningDetailsForm.d.ts +0 -71
- package/dist/types/src/features/IL-OTJ/_components/LearningDetailsForm.d.ts.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering.d.ts +0 -9
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering.d.ts.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/SimilarLearningCard.d.ts +0 -20
- package/dist/types/src/features/IL-OTJ/_components/SimilarLearningCard.d.ts.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/TemplateRetrievalForm.d.ts +0 -50
- package/dist/types/src/features/IL-OTJ/_components/TemplateRetrievalForm.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"code-fenced.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Code} Code\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factorySpace} from 'micromark-factory-space'\nimport {markdownLineEnding, markdownSpace} from 'micromark-util-character'\n/** @type {Construct} */\nconst nonLazyContinuation = {\n tokenize: tokenizeNonLazyContinuation,\n partial: true\n}\n\n/** @type {Construct} */\nexport const codeFenced = {\n name: 'codeFenced',\n tokenize: tokenizeCodeFenced,\n concrete: true\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeCodeFenced(effects, ok, nok) {\n const self = this\n /** @type {Construct} */\n const closeStart = {\n tokenize: tokenizeCloseStart,\n partial: true\n }\n let initialPrefix = 0\n let sizeOpen = 0\n /** @type {NonNullable<Code>} */\n let marker\n return start\n\n /**\n * Start of code.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function start(code) {\n // To do: parse whitespace like `markdown-rs`.\n return beforeSequenceOpen(code)\n }\n\n /**\n * In opening fence, after prefix, at sequence.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function beforeSequenceOpen(code) {\n const tail = self.events[self.events.length - 1]\n initialPrefix =\n tail && tail[1].type === 'linePrefix'\n ? tail[2].sliceSerialize(tail[1], true).length\n : 0\n marker = code\n effects.enter('codeFenced')\n effects.enter('codeFencedFence')\n effects.enter('codeFencedFenceSequence')\n return sequenceOpen(code)\n }\n\n /**\n * In opening fence sequence.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function sequenceOpen(code) {\n if (code === marker) {\n sizeOpen++\n effects.consume(code)\n return sequenceOpen\n }\n if (sizeOpen < 3) {\n return nok(code)\n }\n effects.exit('codeFencedFenceSequence')\n return markdownSpace(code)\n ? factorySpace(effects, infoBefore, 'whitespace')(code)\n : infoBefore(code)\n }\n\n /**\n * In opening fence, after the sequence (and optional whitespace), before info.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function infoBefore(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('codeFencedFence')\n return self.interrupt\n ? ok(code)\n : effects.check(nonLazyContinuation, atNonLazyBreak, after)(code)\n }\n effects.enter('codeFencedFenceInfo')\n effects.enter('chunkString', {\n contentType: 'string'\n })\n return info(code)\n }\n\n /**\n * In info.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function info(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('chunkString')\n effects.exit('codeFencedFenceInfo')\n return infoBefore(code)\n }\n if (markdownSpace(code)) {\n effects.exit('chunkString')\n effects.exit('codeFencedFenceInfo')\n return factorySpace(effects, metaBefore, 'whitespace')(code)\n }\n if (code === 96 && code === marker) {\n return nok(code)\n }\n effects.consume(code)\n return info\n }\n\n /**\n * In opening fence, after info and whitespace, before meta.\n *\n * ```markdown\n * > | ~~~js eval\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function metaBefore(code) {\n if (code === null || markdownLineEnding(code)) {\n return infoBefore(code)\n }\n effects.enter('codeFencedFenceMeta')\n effects.enter('chunkString', {\n contentType: 'string'\n })\n return meta(code)\n }\n\n /**\n * In meta.\n *\n * ```markdown\n * > | ~~~js eval\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function meta(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('chunkString')\n effects.exit('codeFencedFenceMeta')\n return infoBefore(code)\n }\n if (code === 96 && code === marker) {\n return nok(code)\n }\n effects.consume(code)\n return meta\n }\n\n /**\n * At eol/eof in code, before a non-lazy closing fence or content.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * > | alert(1)\n * ^\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function atNonLazyBreak(code) {\n return effects.attempt(closeStart, after, contentBefore)(code)\n }\n\n /**\n * Before code content, not a closing fence, at eol.\n *\n * ```markdown\n * | ~~~js\n * > | alert(1)\n * ^\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function contentBefore(code) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return contentStart\n }\n\n /**\n * Before code content, not a closing fence.\n *\n * ```markdown\n * | ~~~js\n * > | alert(1)\n * ^\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function contentStart(code) {\n return initialPrefix > 0 && markdownSpace(code)\n ? factorySpace(\n effects,\n beforeContentChunk,\n 'linePrefix',\n initialPrefix + 1\n )(code)\n : beforeContentChunk(code)\n }\n\n /**\n * Before code content, after optional prefix.\n *\n * ```markdown\n * | ~~~js\n * > | alert(1)\n * ^\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function beforeContentChunk(code) {\n if (code === null || markdownLineEnding(code)) {\n return effects.check(nonLazyContinuation, atNonLazyBreak, after)(code)\n }\n effects.enter('codeFlowValue')\n return contentChunk(code)\n }\n\n /**\n * In code content.\n *\n * ```markdown\n * | ~~~js\n * > | alert(1)\n * ^^^^^^^^\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function contentChunk(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('codeFlowValue')\n return beforeContentChunk(code)\n }\n effects.consume(code)\n return contentChunk\n }\n\n /**\n * After code.\n *\n * ```markdown\n * | ~~~js\n * | alert(1)\n * > | ~~~\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n effects.exit('codeFenced')\n return ok(code)\n }\n\n /**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\n function tokenizeCloseStart(effects, ok, nok) {\n let size = 0\n return startBefore\n\n /**\n *\n *\n * @type {State}\n */\n function startBefore(code) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return start\n }\n\n /**\n * Before closing fence, at optional whitespace.\n *\n * ```markdown\n * | ~~~js\n * | alert(1)\n * > | ~~~\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n // Always populated by defaults.\n\n // To do: `enter` here or in next state?\n effects.enter('codeFencedFence')\n return markdownSpace(code)\n ? factorySpace(\n effects,\n beforeSequenceClose,\n 'linePrefix',\n self.parser.constructs.disable.null.includes('codeIndented')\n ? undefined\n : 4\n )(code)\n : beforeSequenceClose(code)\n }\n\n /**\n * In closing fence, after optional whitespace, at sequence.\n *\n * ```markdown\n * | ~~~js\n * | alert(1)\n * > | ~~~\n * ^\n * ```\n *\n * @type {State}\n */\n function beforeSequenceClose(code) {\n if (code === marker) {\n effects.enter('codeFencedFenceSequence')\n return sequenceClose(code)\n }\n return nok(code)\n }\n\n /**\n * In closing fence sequence.\n *\n * ```markdown\n * | ~~~js\n * | alert(1)\n * > | ~~~\n * ^\n * ```\n *\n * @type {State}\n */\n function sequenceClose(code) {\n if (code === marker) {\n size++\n effects.consume(code)\n return sequenceClose\n }\n if (size >= sizeOpen) {\n effects.exit('codeFencedFenceSequence')\n return markdownSpace(code)\n ? factorySpace(effects, sequenceCloseAfter, 'whitespace')(code)\n : sequenceCloseAfter(code)\n }\n return nok(code)\n }\n\n /**\n * After closing fence sequence, after optional whitespace.\n *\n * ```markdown\n * | ~~~js\n * | alert(1)\n * > | ~~~\n * ^\n * ```\n *\n * @type {State}\n */\n function sequenceCloseAfter(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('codeFencedFence')\n return ok(code)\n }\n return nok(code)\n }\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeNonLazyContinuation(effects, ok, nok) {\n const self = this\n return start\n\n /**\n *\n *\n * @type {State}\n */\n function start(code) {\n if (code === null) {\n return nok(code)\n }\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return lineStart\n }\n\n /**\n *\n *\n * @type {State}\n */\n function lineStart(code) {\n return self.parser.lazy[self.now().line] ? nok(code) : ok(code)\n }\n}\n"],"names":["nonLazyContinuation","tokenize","effects","ok","nok","self","this","code","enter","consume","exit","lineStart","parser","lazy","now","line","partial","codeFenced","name","closeStart","size","startBefore","start","markdownSpace","factorySpace","beforeSequenceClose","constructs","disable","null","includes","undefined","marker","sequenceClose","sizeOpen","sequenceCloseAfter","markdownLineEnding","initialPrefix","tail","events","length","type","sliceSerialize","sequenceOpen","beforeSequenceOpen","infoBefore","interrupt","check","atNonLazyBreak","after","contentType","info","metaBefore","meta","attempt","contentBefore","contentStart","beforeContentChunk","contentChunk","concrete"],"mappings":"sKAWA,MAAMA,EAAsB,CAC1BC,SAwbF,SAAqCC,EAASC,EAAIC,GAChD,MAAMC,EAAOC,KACb,OAOA,SAAeC,GACb,GAAa,OAATA,EACF,OAAOH,EAAIG,GAKb,OAHAL,EAAQM,MAAM,cACdN,EAAQO,QAAQF,GAChBL,EAAQQ,KAAK,cACNC,CACR,EAOD,SAASA,EAAUJ,GACjB,OAAOF,EAAKO,OAAOC,KAAKR,EAAKS,MAAMC,MAAQX,EAAIG,GAAQJ,EAAGI,EAC3D,CACH,EAldES,SAAS,GAIEC,EAAa,CACxBC,KAAM,aACNjB,SAQF,SAA4BC,EAASC,EAAIC,GACvC,MAAMC,EAAOC,KAEPa,EAAa,CACjBlB,SA+SF,SAA4BC,EAASC,EAAIC,GACvC,IAAIgB,EAAO,EACX,OAAOC,EAOP,SAASA,EAAYd,GAInB,OAHAL,EAAQM,MAAM,cACdN,EAAQO,QAAQF,GAChBL,EAAQQ,KAAK,cACNY,CACR,CAcD,SAASA,EAAMf,GAKb,OADAL,EAAQM,MAAM,mBACPe,EAAchB,GACjBiB,EACEtB,EACAuB,EACA,aACApB,EAAKO,OAAOc,WAAWC,QAAQC,KAAKC,SAAS,qBACzCC,EACA,EANNN,CAOEjB,GACFkB,EAAoBlB,EACzB,CAcD,SAASkB,EAAoBlB,GAC3B,OAAIA,IAASwB,GACX7B,EAAQM,MAAM,2BACPwB,EAAczB,IAEhBH,EAAIG,EACZ,CAcD,SAASyB,EAAczB,GACrB,OAAIA,IAASwB,GACXX,IACAlB,EAAQO,QAAQF,GACTyB,GAELZ,GAAQa,GACV/B,EAAQQ,KAAK,2BACNa,EAAchB,GACjBiB,EAAatB,EAASgC,EAAoB,aAA1CV,CAAwDjB,GACxD2B,EAAmB3B,IAElBH,EAAIG,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3B,EAAIG,IAEbL,EAAQO,QAAQF,GACT2C,EACR,CAcD,SAASC,EAAW5C,GAClB,OAAa,OAATA,GAAiB4B,EAAmB5B,GAC/BqC,EAAWrC,IAEpBL,EAAQM,MAAM,uBACdN,EAAQM,MAAM,cAAe,CAC3ByC,YAAa,WAERG,EAAK7C,GACb,CAcD,SAAS6C,EAAK7C,GACZ,OAAa,OAATA,GAAiB4B,EAAmB5B,IACtCL,EAAQQ,KAAK,eACbR,EAAQQ,KAAK,uBACNkC,EAAWrC,IAEP,KAATA,GAAeA,IAASwB,EACnB3B,EAAIG,IAEbL,EAAQO,QAAQF,GACT6C,EACR,CAeD,SAASL,EAAexC,GACtB,OAAOL,EAAQmD,QAAQlC,EAAY6B,EAAOM,EAAnCpD,CAAkDK,EAC1D,CAcD,SAAS+C,EAAc/C,GAIrB,OAHAL,EAAQM,MAAM,cACdN,EAAQO,QAAQF,GAChBL,EAAQQ,KAAK,cACN6C,CACR,CAcD,SAASA,EAAahD,GACpB,OAAO6B,EAAgB,GAAKb,EAAchB,GACtCiB,EACEtB,EACAsD,EACA,aACApB,EAAgB,EAJlBZ,CAKEjB,GACFiD,EAAmBjD,EACxB,CAcD,SAASiD,EAAmBjD,GAC1B,OAAa,OAATA,GAAiB4B,EAAmB5B,GAC/BL,EAAQ4C,MAAM9C,EAAqB+C,EAAgBC,EAAnD9C,CAA0DK,IAEnEL,EAAQM,MAAM,iBACPiD,EAAalD,GACrB,CAcD,SAASkD,EAAalD,GACpB,OAAa,OAATA,GAAiB4B,EAAmB5B,IACtCL,EAAQQ,KAAK,iBACN8C,EAAmBjD,KAE5BL,EAAQO,QAAQF,GACTkD,EACR,CAcD,SAAST,EAAMzC,GAEb,OADAL,EAAQQ,KAAK,cACNP,EAAGI,EACX,CAsHH,EA1aEmD,UAAU"}
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{factorySpace as e}from"../../micromark-factory-space/index.js";import{markdownLineEnding as n}from"../../micromark-util-character/index.js";const t={name:"codeIndented",tokenize:function(t,r,o){const c=this;return function(n){return t.enter("codeIndented"),e(t,l,"linePrefix",5)(n)};function l(e){const n=c.events[c.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?u(e):o(e)}function u(e){return null===e?a(e):n(e)?t.attempt(i,u,a)(e):(t.enter("codeFlowValue"),s(e))}function s(e){return null===e||n(e)?(t.exit("codeFlowValue"),u(e)):(t.consume(e),s)}function a(e){return t.exit("codeIndented"),r(e)}}},i={tokenize:function(t,i,r){const o=this;return c;function c(i){return o.parser.lazy[o.now().line]?r(i):n(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),c):e(t,l,"linePrefix",5)(i)}function l(e){const t=o.events[o.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)?c(e):r(e)}},partial:!0};export{t as codeIndented};
|
|
2
|
-
//# sourceMappingURL=code-indented.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"code-indented.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factorySpace} from 'micromark-factory-space'\nimport {markdownLineEnding, markdownSpace} from 'micromark-util-character'\n/** @type {Construct} */\nexport const codeIndented = {\n name: 'codeIndented',\n tokenize: tokenizeCodeIndented\n}\n\n/** @type {Construct} */\nconst furtherStart = {\n tokenize: tokenizeFurtherStart,\n partial: true\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeCodeIndented(effects, ok, nok) {\n const self = this\n return start\n\n /**\n * Start of code (indented).\n *\n * > **Parsing note**: it is not needed to check if this first line is a\n * > filled line (that it has a non-whitespace character), because blank lines\n * > are parsed already, so we never run into that.\n *\n * ```markdown\n * > | aaa\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n // To do: manually check if interrupting like `markdown-rs`.\n\n effects.enter('codeIndented')\n // To do: use an improved `space_or_tab` function like `markdown-rs`,\n // so that we can drop the next state.\n return factorySpace(effects, afterPrefix, 'linePrefix', 4 + 1)(code)\n }\n\n /**\n * At start, after 1 or 4 spaces.\n *\n * ```markdown\n * > | aaa\n * ^\n * ```\n *\n * @type {State}\n */\n function afterPrefix(code) {\n const tail = self.events[self.events.length - 1]\n return tail &&\n tail[1].type === 'linePrefix' &&\n tail[2].sliceSerialize(tail[1], true).length >= 4\n ? atBreak(code)\n : nok(code)\n }\n\n /**\n * At a break.\n *\n * ```markdown\n * > | aaa\n * ^ ^\n * ```\n *\n * @type {State}\n */\n function atBreak(code) {\n if (code === null) {\n return after(code)\n }\n if (markdownLineEnding(code)) {\n return effects.attempt(furtherStart, atBreak, after)(code)\n }\n effects.enter('codeFlowValue')\n return inside(code)\n }\n\n /**\n * In code content.\n *\n * ```markdown\n * > | aaa\n * ^^^^\n * ```\n *\n * @type {State}\n */\n function inside(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('codeFlowValue')\n return atBreak(code)\n }\n effects.consume(code)\n return inside\n }\n\n /** @type {State} */\n function after(code) {\n effects.exit('codeIndented')\n // To do: allow interrupting like `markdown-rs`.\n // Feel free to interrupt.\n // tokenizer.interrupt = false\n return ok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeFurtherStart(effects, ok, nok) {\n const self = this\n return furtherStart\n\n /**\n * At eol, trying to parse another indent.\n *\n * ```markdown\n * > | aaa\n * ^\n * | bbb\n * ```\n *\n * @type {State}\n */\n function furtherStart(code) {\n // To do: improve `lazy` / `pierce` handling.\n // If this is a lazy line, it can’t be code.\n if (self.parser.lazy[self.now().line]) {\n return nok(code)\n }\n if (markdownLineEnding(code)) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return furtherStart\n }\n\n // To do: the code here in `micromark-js` is a bit different from\n // `markdown-rs` because there it can attempt spaces.\n // We can’t yet.\n //\n // To do: use an improved `space_or_tab` function like `markdown-rs`,\n // so that we can drop the next state.\n return factorySpace(effects, afterPrefix, 'linePrefix', 4 + 1)(code)\n }\n\n /**\n * At start, after 1 or 4 spaces.\n *\n * ```markdown\n * > | aaa\n * ^\n * ```\n *\n * @type {State}\n */\n function afterPrefix(code) {\n const tail = self.events[self.events.length - 1]\n return tail &&\n tail[1].type === 'linePrefix' &&\n tail[2].sliceSerialize(tail[1], true).length >= 4\n ? ok(code)\n : markdownLineEnding(code)\n ? furtherStart(code)\n : nok(code)\n }\n}\n"],"names":["codeIndented","name","tokenize","effects","ok","nok","self","this","code","enter","factorySpace","afterPrefix","tail","events","length","type","sliceSerialize","atBreak","after","markdownLineEnding","attempt","furtherStart","inside","exit","consume","parser","lazy","now","line","partial"],"mappings":"mJAUY,MAACA,EAAe,CAC1BC,KAAM,eACNC,SAaF,SAA8BC,EAASC,EAAIC,GACzC,MAAMC,EAAOC,KACb,OAgBA,SAAeC,GAMb,OAHAL,EAAQM,MAAM,gBAGPC,EAAaP,EAASQ,EAAa,aAAc,EAAjDD,CAAwDF,EAChE,EAYD,SAASG,EAAYH,GACnB,MAAMI,EAAON,EAAKO,OAAOP,EAAKO,OAAOC,OAAS,GAC9C,OAAOF,GACY,eAAjBA,EAAK,GAAGG,MACRH,EAAK,GAAGI,eAAeJ,EAAK,IAAI,GAAME,QAAU,EAC9CG,EAAQT,GACRH,EAAIG,EACT,CAYD,SAASS,EAAQT,GACf,OAAa,OAATA,EACKU,EAAMV,GAEXW,EAAmBX,GACdL,EAAQiB,QAAQC,EAAcJ,EAASC,EAAvCf,CAA8CK,IAEvDL,EAAQM,MAAM,iBACPa,EAAOd,GACf,CAYD,SAASc,EAAOd,GACd,OAAa,OAATA,GAAiBW,EAAmBX,IACtCL,EAAQoB,KAAK,iBACNN,EAAQT,KAEjBL,EAAQqB,QAAQhB,GACTc,EACR,CAGD,SAASJ,EAAMV,GAKb,OAJAL,EAAQoB,KAAK,gBAINnB,EAAGI,EACX,CACH,GAvGMa,EAAe,CACnBnB,SA4GF,SAA8BC,EAASC,EAAIC,GACzC,MAAMC,EAAOC,KACb,OAAOc,EAaP,SAASA,EAAab,GAGpB,OAAIF,EAAKmB,OAAOC,KAAKpB,EAAKqB,MAAMC,MACvBvB,EAAIG,GAETW,EAAmBX,IACrBL,EAAQM,MAAM,cACdN,EAAQqB,QAAQhB,GAChBL,EAAQoB,KAAK,cACNF,GASFX,EAAaP,EAASQ,EAAa,aAAc,EAAjDD,CAAwDF,EAChE,CAYD,SAASG,EAAYH,GACnB,MAAMI,EAAON,EAAKO,OAAOP,EAAKO,OAAOC,OAAS,GAC9C,OAAOF,GACY,eAAjBA,EAAK,GAAGG,MACRH,EAAK,GAAGI,eAAeJ,EAAK,IAAI,GAAME,QAAU,EAC9CV,EAAGI,GACHW,EAAmBX,GACnBa,EAAab,GACbH,EAAIG,EACT,CACH,EApKEqB,SAAS"}
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{markdownLineEnding as e}from"../../micromark-util-character/index.js";const t={name:"codeText",tokenize:function(t,n,c){let i,o,r=0;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),d(e)};function d(e){return 96===e?(t.consume(e),r++,d):(t.exit("codeTextSequence"),u(e))}function u(n){return null===n?c(n):32===n?(t.enter("space"),t.consume(n),t.exit("space"),u):96===n?(o=t.enter("codeTextSequence"),i=0,x(n)):e(n)?(t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),u):(t.enter("codeTextData"),a(n))}function a(n){return null===n||32===n||96===n||e(n)?(t.exit("codeTextData"),u(n)):(t.consume(n),a)}function x(e){return 96===e?(t.consume(e),i++,x):i===r?(t.exit("codeTextSequence"),t.exit("codeText"),n(e)):(o.type="codeTextData",a(e))}},resolve:function(e){let t,n,c=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[c][1].type&&"space"!==e[c][1].type))for(t=i;++t<c;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[c][1].type="codeTextPadding",i+=2,c-=2;break}t=i-1,c++;for(;++t<=c;)void 0===n?t!==c&&"lineEnding"!==e[t][1].type&&(n=t):t!==c&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),c-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};export{t as codeText};
|
|
2
|
-
//# sourceMappingURL=code-text.js.map
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"code-text.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').Previous} Previous\n * @typedef {import('micromark-util-types').Resolver} Resolver\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').Token} Token\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {markdownLineEnding} from 'micromark-util-character'\n/** @type {Construct} */\nexport const codeText = {\n name: 'codeText',\n tokenize: tokenizeCodeText,\n resolve: resolveCodeText,\n previous\n}\n\n// To do: next major: don’t resolve, like `markdown-rs`.\n/** @type {Resolver} */\nfunction resolveCodeText(events) {\n let tailExitIndex = events.length - 4\n let headEnterIndex = 3\n /** @type {number} */\n let index\n /** @type {number | undefined} */\n let enter\n\n // If we start and end with an EOL or a space.\n if (\n (events[headEnterIndex][1].type === 'lineEnding' ||\n events[headEnterIndex][1].type === 'space') &&\n (events[tailExitIndex][1].type === 'lineEnding' ||\n events[tailExitIndex][1].type === 'space')\n ) {\n index = headEnterIndex\n\n // And we have data.\n while (++index < tailExitIndex) {\n if (events[index][1].type === 'codeTextData') {\n // Then we have padding.\n events[headEnterIndex][1].type = 'codeTextPadding'\n events[tailExitIndex][1].type = 'codeTextPadding'\n headEnterIndex += 2\n tailExitIndex -= 2\n break\n }\n }\n }\n\n // Merge adjacent spaces and data.\n index = headEnterIndex - 1\n tailExitIndex++\n while (++index <= tailExitIndex) {\n if (enter === undefined) {\n if (index !== tailExitIndex && events[index][1].type !== 'lineEnding') {\n enter = index\n }\n } else if (\n index === tailExitIndex ||\n events[index][1].type === 'lineEnding'\n ) {\n events[enter][1].type = 'codeTextData'\n if (index !== enter + 2) {\n events[enter][1].end = events[index - 1][1].end\n events.splice(enter + 2, index - enter - 2)\n tailExitIndex -= index - enter - 2\n index = enter + 2\n }\n enter = undefined\n }\n }\n return events\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Previous}\n */\nfunction previous(code) {\n // If there is a previous code, there will always be a tail.\n return (\n code !== 96 ||\n this.events[this.events.length - 1][1].type === 'characterEscape'\n )\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeCodeText(effects, ok, nok) {\n const self = this\n let sizeOpen = 0\n /** @type {number} */\n let size\n /** @type {Token} */\n let token\n return start\n\n /**\n * Start of code (text).\n *\n * ```markdown\n * > | `a`\n * ^\n * > | \\`a`\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('codeText')\n effects.enter('codeTextSequence')\n return sequenceOpen(code)\n }\n\n /**\n * In opening sequence.\n *\n * ```markdown\n * > | `a`\n * ^\n * ```\n *\n * @type {State}\n */\n function sequenceOpen(code) {\n if (code === 96) {\n effects.consume(code)\n sizeOpen++\n return sequenceOpen\n }\n effects.exit('codeTextSequence')\n return between(code)\n }\n\n /**\n * Between something and something else.\n *\n * ```markdown\n * > | `a`\n * ^^\n * ```\n *\n * @type {State}\n */\n function between(code) {\n // EOF.\n if (code === null) {\n return nok(code)\n }\n\n // To do: next major: don’t do spaces in resolve, but when compiling,\n // like `markdown-rs`.\n // Tabs don’t work, and virtual spaces don’t make sense.\n if (code === 32) {\n effects.enter('space')\n effects.consume(code)\n effects.exit('space')\n return between\n }\n\n // Closing fence? Could also be data.\n if (code === 96) {\n token = effects.enter('codeTextSequence')\n size = 0\n return sequenceClose(code)\n }\n if (markdownLineEnding(code)) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return between\n }\n\n // Data.\n effects.enter('codeTextData')\n return data(code)\n }\n\n /**\n * In data.\n *\n * ```markdown\n * > | `a`\n * ^\n * ```\n *\n * @type {State}\n */\n function data(code) {\n if (\n code === null ||\n code === 32 ||\n code === 96 ||\n markdownLineEnding(code)\n ) {\n effects.exit('codeTextData')\n return between(code)\n }\n effects.consume(code)\n return data\n }\n\n /**\n * In closing sequence.\n *\n * ```markdown\n * > | `a`\n * ^\n * ```\n *\n * @type {State}\n */\n function sequenceClose(code) {\n // More.\n if (code === 96) {\n effects.consume(code)\n size++\n return sequenceClose\n }\n\n // Done!\n if (size === sizeOpen) {\n effects.exit('codeTextSequence')\n effects.exit('codeText')\n return ok(code)\n }\n\n // More or less accents: mark as data.\n token.type = 'codeTextData'\n return data(code)\n }\n}\n"],"names":["codeText","name","tokenize","effects","ok","nok","size","token","sizeOpen","code","enter","sequenceOpen","consume","exit","between","sequenceClose","markdownLineEnding","data","type","resolve","events","index","tailExitIndex","length","headEnterIndex","undefined","end","splice","previous","this"],"mappings":"6EAYY,MAACA,EAAW,CACtBC,KAAM,WACNC,SA8EF,SAA0BC,EAASC,EAAIC,GAErC,IAEIC,EAEAC,EAJAC,EAAW,EAKf,OAcA,SAAeC,GAGb,OAFAN,EAAQO,MAAM,YACdP,EAAQO,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,EACzBF,IACA,OAASD,GAASC,QACFG,IAAVf,EACEW,IAAUC,GAA2C,eAA1BF,EAAOC,GAAO,GAAGH,OAC9CR,EAAQW,GAGVA,IAAUC,GACgB,eAA1BF,EAAOC,GAAO,GAAGH,OAEjBE,EAAOV,GAAO,GAAGQ,KAAO,eACpBG,IAAUX,EAAQ,IACpBU,EAAOV,GAAO,GAAGgB,IAAMN,EAAOC,EAAQ,GAAG,GAAGK,IAC5CN,EAAOO,OAAOjB,EAAQ,EAAGW,EAAQX,EAAQ,GACzCY,GAAiBD,EAAQX,EAAQ,EACjCW,EAAQX,EAAQ,GAElBA,OAAQe,GAGZ,OAAOL,CACT,EA1DEQ,SAgEF,SAAkBnB,GAEhB,OACW,KAATA,GACgD,oBAAhDoB,KAAKT,OAAOS,KAAKT,OAAOG,OAAS,GAAG,GAAGL,IAE3C"}
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{factorySpace as n}from"../../micromark-factory-space/index.js";import{markdownLineEnding as e}from"../../micromark-util-character/index.js";import{subtokenize as t}from"../../micromark-util-subtokenize/index.js";const r={tokenize:function(n,t){let r;return function(e){return n.enter("content"),r=n.enter("chunkContent",{contentType:"content"}),o(e)};function o(t){return null===t?c(t):e(t)?n.check(i,u,c)(t):(n.consume(t),o)}function c(e){return n.exit("chunkContent"),n.exit("content"),t(e)}function u(e){return n.consume(e),n.exit("chunkContent"),r.next=n.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,o}},resolve:function(n){return t(n),n}},i={tokenize:function(t,r,i){const o=this;return function(e){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),n(t,c,"linePrefix")};function c(n){if(null===n||e(n))return i(n);const c=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&c&&"linePrefix"===c[1].type&&c[2].sliceSerialize(c[1],!0).length>=4?r(n):t.interrupt(o.parser.constructs.flow,i,r)(n)}},partial:!0};export{r as content};
|
|
2
|
-
//# sourceMappingURL=content.js.map
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').Resolver} Resolver\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').Token} Token\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factorySpace} from 'micromark-factory-space'\nimport {markdownLineEnding} from 'micromark-util-character'\nimport {subtokenize} from 'micromark-util-subtokenize'\n/**\n * No name because it must not be turned off.\n * @type {Construct}\n */\nexport const content = {\n tokenize: tokenizeContent,\n resolve: resolveContent\n}\n\n/** @type {Construct} */\nconst continuationConstruct = {\n tokenize: tokenizeContinuation,\n partial: true\n}\n\n/**\n * Content is transparent: it’s parsed right now. That way, definitions are also\n * parsed right now: before text in paragraphs (specifically, media) are parsed.\n *\n * @type {Resolver}\n */\nfunction resolveContent(events) {\n subtokenize(events)\n return events\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeContent(effects, ok) {\n /** @type {Token | undefined} */\n let previous\n return chunkStart\n\n /**\n * Before a content chunk.\n *\n * ```markdown\n * > | abc\n * ^\n * ```\n *\n * @type {State}\n */\n function chunkStart(code) {\n effects.enter('content')\n previous = effects.enter('chunkContent', {\n contentType: 'content'\n })\n return chunkInside(code)\n }\n\n /**\n * In a content chunk.\n *\n * ```markdown\n * > | abc\n * ^^^\n * ```\n *\n * @type {State}\n */\n function chunkInside(code) {\n if (code === null) {\n return contentEnd(code)\n }\n\n // To do: in `markdown-rs`, each line is parsed on its own, and everything\n // is stitched together resolving.\n if (markdownLineEnding(code)) {\n return effects.check(\n continuationConstruct,\n contentContinue,\n contentEnd\n )(code)\n }\n\n // Data.\n effects.consume(code)\n return chunkInside\n }\n\n /**\n *\n *\n * @type {State}\n */\n function contentEnd(code) {\n effects.exit('chunkContent')\n effects.exit('content')\n return ok(code)\n }\n\n /**\n *\n *\n * @type {State}\n */\n function contentContinue(code) {\n effects.consume(code)\n effects.exit('chunkContent')\n previous.next = effects.enter('chunkContent', {\n contentType: 'content',\n previous\n })\n previous = previous.next\n return chunkInside\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeContinuation(effects, ok, nok) {\n const self = this\n return startLookahead\n\n /**\n *\n *\n * @type {State}\n */\n function startLookahead(code) {\n effects.exit('chunkContent')\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return factorySpace(effects, prefixed, 'linePrefix')\n }\n\n /**\n *\n *\n * @type {State}\n */\n function prefixed(code) {\n if (code === null || markdownLineEnding(code)) {\n return nok(code)\n }\n\n // Always populated by defaults.\n\n const tail = self.events[self.events.length - 1]\n if (\n !self.parser.constructs.disable.null.includes('codeIndented') &&\n tail &&\n tail[1].type === 'linePrefix' &&\n tail[2].sliceSerialize(tail[1], true).length >= 4\n ) {\n return ok(code)\n }\n return effects.interrupt(self.parser.constructs.flow, nok, ok)(code)\n }\n}\n"],"names":["content","tokenize","effects","ok","previous","code","enter","contentType","chunkInside","contentEnd","markdownLineEnding","check","continuationConstruct","contentContinue","consume","exit","next","resolve","events","subtokenize","nok","self","this","factorySpace","prefixed","tail","length","parser","constructs","disable","null","includes","type","sliceSerialize","interrupt","flow","partial"],"mappings":"2NAgBY,MAACA,EAAU,CACrBC,SAyBF,SAAyBC,EAASC,GAEhC,IAAIC,EACJ,OAYA,SAAoBC,GAKlB,OAJAH,EAAQI,MAAM,WACdF,EAAWF,EAAQI,MAAM,eAAgB,CACvCC,YAAa,YAERC,EAAYH,EACpB,EAYD,SAASG,EAAYH,GACnB,OAAa,OAATA,EACKI,EAAWJ,GAKhBK,EAAmBL,GACdH,EAAQS,MACbC,EACAC,EACAJ,EAHKP,CAILG,IAIJH,EAAQY,QAAQT,GACTG,EACR,CAOD,SAASC,EAAWJ,GAGlB,OAFAH,EAAQa,KAAK,gBACbb,EAAQa,KAAK,WACNZ,EAAGE,EACX,CAOD,SAASQ,EAAgBR,GAQvB,OAPAH,EAAQY,QAAQT,GAChBH,EAAQa,KAAK,gBACbX,EAASY,KAAOd,EAAQI,MAAM,eAAgB,CAC5CC,YAAa,UACbH,aAEFA,EAAWA,EAASY,KACbR,CACR,CACH,EAvGES,QAeF,SAAwBC,GAEtB,OADAC,EAAYD,GACLA,CACT,GAdMN,EAAwB,CAC5BX,SAwGF,SAA8BC,EAASC,EAAIiB,GACzC,MAAMC,EAAOC,KACb,OAOA,SAAwBjB,GAKtB,OAJAH,EAAQa,KAAK,gBACbb,EAAQI,MAAM,cACdJ,EAAQY,QAAQT,GAChBH,EAAQa,KAAK,cACNQ,EAAarB,EAASsB,EAAU,aACxC,EAOD,SAASA,EAASnB,GAChB,GAAa,OAATA,GAAiBK,EAAmBL,GACtC,OAAOe,EAAIf,GAKb,MAAMoB,EAAOJ,EAAKH,OAAOG,EAAKH,OAAOQ,OAAS,GAC9C,OACGL,EAAKM,OAAOC,WAAWC,QAAQC,KAAKC,SAAS,iBAC9CN,GACiB,eAAjBA,EAAK,GAAGO,MACRP,EAAK,GAAGQ,eAAeR,EAAK,IAAI,GAAMC,QAAU,EAEzCvB,EAAGE,GAELH,EAAQgC,UAAUb,EAAKM,OAAOC,WAAWO,KAAMf,EAAKjB,EAApDD,CAAwDG,EAChE,CACH,EA/IE+B,SAAS"}
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{factoryDestination as i}from"../../micromark-factory-destination/index.js";import{factoryLabel as n}from"../../micromark-factory-label/index.js";import{factorySpace as t}from"../../micromark-factory-space/index.js";import{factoryTitle as e}from"../../micromark-factory-title/index.js";import{factoryWhitespace as r}from"../../micromark-factory-whitespace/index.js";import{markdownLineEndingOrSpace as o,markdownSpace as a,markdownLineEnding as f}from"../../micromark-util-character/index.js";import{normalizeIdentifier as c}from"../../micromark-util-normalize-identifier/index.js";const u={name:"definition",tokenize:function(e,u,d){const s=this;let l;return function(i){return e.enter("definition"),function(i){return n.call(s,e,p,d,"definitionLabel","definitionLabelMarker","definitionLabelString")(i)}(i)};function p(i){return l=c(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),58===i?(e.enter("definitionMarker"),e.consume(i),e.exit("definitionMarker"),k):d(i)}function k(i){return o(i)?r(e,x)(i):x(i)}function x(n){return i(e,h,d,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(n)}function h(i){return e.attempt(m,j,j)(i)}function j(i){return a(i)?t(e,y,"whitespace")(i):y(i)}function y(i){return null===i||f(i)?(e.exit("definition"),s.parser.defined.push(l),u(i)):d(i)}}},m={tokenize:function(i,n,c){return function(n){return o(n)?r(i,u)(n):c(n)};function u(n){return e(i,m,c,"definitionTitle","definitionTitleMarker","definitionTitleString")(n)}function m(n){return a(n)?t(i,d,"whitespace")(n):d(n)}function d(i){return null===i||f(i)?n(i):c(i)}},partial:!0};export{u as definition};
|
|
2
|
-
//# sourceMappingURL=definition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"definition.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factoryDestination} from 'micromark-factory-destination'\nimport {factoryLabel} from 'micromark-factory-label'\nimport {factorySpace} from 'micromark-factory-space'\nimport {factoryTitle} from 'micromark-factory-title'\nimport {factoryWhitespace} from 'micromark-factory-whitespace'\nimport {\n markdownLineEnding,\n markdownLineEndingOrSpace,\n markdownSpace\n} from 'micromark-util-character'\nimport {normalizeIdentifier} from 'micromark-util-normalize-identifier'\n/** @type {Construct} */\nexport const definition = {\n name: 'definition',\n tokenize: tokenizeDefinition\n}\n\n/** @type {Construct} */\nconst titleBefore = {\n tokenize: tokenizeTitleBefore,\n partial: true\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeDefinition(effects, ok, nok) {\n const self = this\n /** @type {string} */\n let identifier\n return start\n\n /**\n * At start of a definition.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n // Do not interrupt paragraphs (but do follow definitions).\n // To do: do `interrupt` the way `markdown-rs` does.\n // To do: parse whitespace the way `markdown-rs` does.\n effects.enter('definition')\n return before(code)\n }\n\n /**\n * After optional whitespace, at `[`.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function before(code) {\n // To do: parse whitespace the way `markdown-rs` does.\n\n return factoryLabel.call(\n self,\n effects,\n labelAfter,\n // Note: we don’t need to reset the way `markdown-rs` does.\n nok,\n 'definitionLabel',\n 'definitionLabelMarker',\n 'definitionLabelString'\n )(code)\n }\n\n /**\n * After label.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function labelAfter(code) {\n identifier = normalizeIdentifier(\n self.sliceSerialize(self.events[self.events.length - 1][1]).slice(1, -1)\n )\n if (code === 58) {\n effects.enter('definitionMarker')\n effects.consume(code)\n effects.exit('definitionMarker')\n return markerAfter\n }\n return nok(code)\n }\n\n /**\n * After marker.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function markerAfter(code) {\n // Note: whitespace is optional.\n return markdownLineEndingOrSpace(code)\n ? factoryWhitespace(effects, destinationBefore)(code)\n : destinationBefore(code)\n }\n\n /**\n * Before destination.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function destinationBefore(code) {\n return factoryDestination(\n effects,\n destinationAfter,\n // Note: we don’t need to reset the way `markdown-rs` does.\n nok,\n 'definitionDestination',\n 'definitionDestinationLiteral',\n 'definitionDestinationLiteralMarker',\n 'definitionDestinationRaw',\n 'definitionDestinationString'\n )(code)\n }\n\n /**\n * After destination.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function destinationAfter(code) {\n return effects.attempt(titleBefore, after, after)(code)\n }\n\n /**\n * After definition.\n *\n * ```markdown\n * > | [a]: b\n * ^\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n return markdownSpace(code)\n ? factorySpace(effects, afterWhitespace, 'whitespace')(code)\n : afterWhitespace(code)\n }\n\n /**\n * After definition, after optional whitespace.\n *\n * ```markdown\n * > | [a]: b\n * ^\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function afterWhitespace(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('definition')\n\n // Note: we don’t care about uniqueness.\n // It’s likely that that doesn’t happen very frequently.\n // It is more likely that it wastes precious time.\n self.parser.defined.push(identifier)\n\n // To do: `markdown-rs` interrupt.\n // // You’d be interrupting.\n // tokenizer.interrupt = true\n return ok(code)\n }\n return nok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeTitleBefore(effects, ok, nok) {\n return titleBefore\n\n /**\n * After destination, at whitespace.\n *\n * ```markdown\n * > | [a]: b\n * ^\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function titleBefore(code) {\n return markdownLineEndingOrSpace(code)\n ? factoryWhitespace(effects, beforeMarker)(code)\n : nok(code)\n }\n\n /**\n * At title.\n *\n * ```markdown\n * | [a]: b\n * > | \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function beforeMarker(code) {\n return factoryTitle(\n effects,\n titleAfter,\n nok,\n 'definitionTitle',\n 'definitionTitleMarker',\n 'definitionTitleString'\n )(code)\n }\n\n /**\n * After title.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function titleAfter(code) {\n return markdownSpace(code)\n ? factorySpace(effects, titleAfterOptionalWhitespace, 'whitespace')(code)\n : titleAfterOptionalWhitespace(code)\n }\n\n /**\n * After title, after optional whitespace.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function titleAfterOptionalWhitespace(code) {\n return code === null || markdownLineEnding(code) ? ok(code) : nok(code)\n }\n}\n"],"names":["definition","name","tokenize","effects","ok","nok","self","this","identifier","code","enter","factoryLabel","call","labelAfter","before","normalizeIdentifier","sliceSerialize","events","length","slice","consume","exit","markerAfter","markdownLineEndingOrSpace","factoryWhitespace","destinationBefore","factoryDestination","destinationAfter","attempt","titleBefore","after","markdownSpace","factorySpace","afterWhitespace","markdownLineEnding","parser","defined","push","beforeMarker","factoryTitle","titleAfter","titleAfterOptionalWhitespace","partial"],"mappings":"4kBAmBY,MAACA,EAAa,CACxBC,KAAM,aACNC,SAaF,SAA4BC,EAASC,EAAIC,GACvC,MAAMC,EAAOC,KAEb,IAAIC,EACJ,OAYA,SAAeC,GAKb,OADAN,EAAQO,MAAM,cAchB,SAAgBD,GAGd,OAAOE,EAAaC,KAClBN,EACAH,EACAU,EAEAR,EACA,kBACA,wBACA,wBARKM,CASLF,EACH,CA1BQK,CAAOL,EACf,EAqCD,SAASI,EAAWJ,GAIlB,OAHAD,EAAaO,EACXT,EAAKU,eAAeV,EAAKW,OAAOX,EAAKW,OAAOC,OAAS,GAAG,IAAIC,MAAM,GAAI,IAE3D,KAATV,GACFN,EAAQO,MAAM,oBACdP,EAAQiB,QAAQX,GAChBN,EAAQkB,KAAK,oBACNC,GAEFjB,EAAII,EACZ,CAYD,SAASa,EAAYb,GAEnB,OAAOc,EAA0Bd,GAC7Be,EAAkBrB,EAASsB,EAA3BD,CAA8Cf,GAC9CgB,EAAkBhB,EACvB,CAYD,SAASgB,EAAkBhB,GACzB,OAAOiB,EACLvB,EACAwB,EAEAtB,EACA,wBACA,+BACA,qCACA,2BACA,8BATKqB,CAULjB,EACH,CAYD,SAASkB,EAAiBlB,GACxB,OAAON,EAAQyB,QAAQC,EAAaC,EAAOA,EAApC3B,CAA2CM,EACnD,CAcD,SAASqB,EAAMrB,GACb,OAAOsB,EAActB,GACjBuB,EAAa7B,EAAS8B,EAAiB,aAAvCD,CAAqDvB,GACrDwB,EAAgBxB,EACrB,CAcD,SAASwB,EAAgBxB,GACvB,OAAa,OAATA,GAAiByB,EAAmBzB,IACtCN,EAAQkB,KAAK,cAKbf,EAAK6B,OAAOC,QAAQC,KAAK7B,GAKlBJ,EAAGK,IAELJ,EAAII,EACZ,CACH,GAtLMoB,EAAc,CAClB3B,SA2LF,SAA6BC,EAASC,EAAIC,GACxC,OAcA,SAAqBI,GACnB,OAAOc,EAA0Bd,GAC7Be,EAAkBrB,EAASmC,EAA3Bd,CAAyCf,GACzCJ,EAAII,EACT,EAaD,SAAS6B,EAAa7B,GACpB,OAAO8B,EACLpC,EACAqC,EACAnC,EACA,kBACA,wBACA,wBANKkC,CAOL9B,EACH,CAYD,SAAS+B,EAAW/B,GAClB,OAAOsB,EAActB,GACjBuB,EAAa7B,EAASsC,EAA8B,aAApDT,CAAkEvB,GAClEgC,EAA6BhC,EAClC,CAYD,SAASgC,EAA6BhC,GACpC,OAAgB,OAATA,GAAiByB,EAAmBzB,GAAQL,EAAGK,GAAQJ,EAAII,EACnE,CACH,EAlQEiC,SAAS"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{markdownLineEnding as r}from"../../micromark-util-character/index.js";const e={name:"hardBreakEscape",tokenize:function(e,n,t){return function(r){return e.enter("hardBreakEscape"),e.consume(r),a};function a(a){return r(a)?(e.exit("hardBreakEscape"),n(a)):t(a)}}};export{e as hardBreakEscape};
|
|
2
|
-
//# sourceMappingURL=hard-break-escape.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hard-break-escape.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {markdownLineEnding} from 'micromark-util-character'\n/** @type {Construct} */\nexport const hardBreakEscape = {\n name: 'hardBreakEscape',\n tokenize: tokenizeHardBreakEscape\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeHardBreakEscape(effects, ok, nok) {\n return start\n\n /**\n * Start of a hard break (escape).\n *\n * ```markdown\n * > | a\\\n * ^\n * | b\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('hardBreakEscape')\n effects.consume(code)\n return after\n }\n\n /**\n * After `\\`, at eol.\n *\n * ```markdown\n * > | a\\\n * ^\n * | b\n * ```\n *\n * @type {State}\n */\n function after(code) {\n if (markdownLineEnding(code)) {\n effects.exit('hardBreakEscape')\n return ok(code)\n }\n return nok(code)\n }\n}\n"],"names":["hardBreakEscape","name","tokenize","effects","ok","nok","code","enter","consume","after","markdownLineEnding","exit"],"mappings":"6EASY,MAACA,EAAkB,CAC7BC,KAAM,kBACNC,SAOF,SAAiCC,EAASC,EAAIC,GAC5C,OAaA,SAAeC,GAGb,OAFAH,EAAQI,MAAM,mBACdJ,EAAQK,QAAQF,GACTG,CACR,EAaD,SAASA,EAAMH,GACb,OAAII,EAAmBJ,IACrBH,EAAQQ,KAAK,mBACNP,EAAGE,IAELD,EAAIC,EACZ,CACH"}
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{factorySpace as e}from"../../micromark-factory-space/index.js";import{markdownLineEndingOrSpace as t,markdownLineEnding as n,markdownSpace as r}from"../../micromark-util-character/index.js";import{splice as i}from"../../micromark-util-chunked/index.js";const a={name:"headingAtx",tokenize:function(i,a,c){let u=0;return function(e){return i.enter("atxHeading"),function(e){return i.enter("atxHeadingSequence"),o(e)}(e)};function o(e){return 35===e&&u++<6?(i.consume(e),o):null===e||t(e)?(i.exit("atxHeadingSequence"),x(e)):c(e)}function x(t){return 35===t?(i.enter("atxHeadingSequence"),d(t)):null===t||n(t)?(i.exit("atxHeading"),a(t)):r(t)?e(i,x,"whitespace")(t):(i.enter("atxHeadingText"),s(t))}function d(e){return 35===e?(i.consume(e),d):(i.exit("atxHeadingSequence"),x(e))}function s(e){return null===e||35===e||t(e)?(i.exit("atxHeadingText"),x(e)):(i.consume(e),s)}},resolve:function(e,t){let n,r,a=e.length-2,c=3;"whitespace"===e[c][1].type&&(c+=2);a-2>c&&"whitespace"===e[a][1].type&&(a-=2);"atxHeadingSequence"===e[a][1].type&&(c===a-1||a-4>c&&"whitespace"===e[a-2][1].type)&&(a-=c+1===a?2:4);a>c&&(n={type:"atxHeadingText",start:e[c][1].start,end:e[a][1].end},r={type:"chunkText",start:e[c][1].start,end:e[a][1].end,contentType:"text"},i(e,c,a-c+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};export{a as headingAtx};
|
|
2
|
-
//# sourceMappingURL=heading-atx.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"heading-atx.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').Resolver} Resolver\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').Token} Token\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factorySpace} from 'micromark-factory-space'\nimport {\n markdownLineEnding,\n markdownLineEndingOrSpace,\n markdownSpace\n} from 'micromark-util-character'\nimport {splice} from 'micromark-util-chunked'\n/** @type {Construct} */\nexport const headingAtx = {\n name: 'headingAtx',\n tokenize: tokenizeHeadingAtx,\n resolve: resolveHeadingAtx\n}\n\n/** @type {Resolver} */\nfunction resolveHeadingAtx(events, context) {\n let contentEnd = events.length - 2\n let contentStart = 3\n /** @type {Token} */\n let content\n /** @type {Token} */\n let text\n\n // Prefix whitespace, part of the opening.\n if (events[contentStart][1].type === 'whitespace') {\n contentStart += 2\n }\n\n // Suffix whitespace, part of the closing.\n if (\n contentEnd - 2 > contentStart &&\n events[contentEnd][1].type === 'whitespace'\n ) {\n contentEnd -= 2\n }\n if (\n events[contentEnd][1].type === 'atxHeadingSequence' &&\n (contentStart === contentEnd - 1 ||\n (contentEnd - 4 > contentStart &&\n events[contentEnd - 2][1].type === 'whitespace'))\n ) {\n contentEnd -= contentStart + 1 === contentEnd ? 2 : 4\n }\n if (contentEnd > contentStart) {\n content = {\n type: 'atxHeadingText',\n start: events[contentStart][1].start,\n end: events[contentEnd][1].end\n }\n text = {\n type: 'chunkText',\n start: events[contentStart][1].start,\n end: events[contentEnd][1].end,\n contentType: 'text'\n }\n splice(events, contentStart, contentEnd - contentStart + 1, [\n ['enter', content, context],\n ['enter', text, context],\n ['exit', text, context],\n ['exit', content, context]\n ])\n }\n return events\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeHeadingAtx(effects, ok, nok) {\n let size = 0\n return start\n\n /**\n * Start of a heading (atx).\n *\n * ```markdown\n * > | ## aa\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n // To do: parse indent like `markdown-rs`.\n effects.enter('atxHeading')\n return before(code)\n }\n\n /**\n * After optional whitespace, at `#`.\n *\n * ```markdown\n * > | ## aa\n * ^\n * ```\n *\n * @type {State}\n */\n function before(code) {\n effects.enter('atxHeadingSequence')\n return sequenceOpen(code)\n }\n\n /**\n * In opening sequence.\n *\n * ```markdown\n * > | ## aa\n * ^\n * ```\n *\n * @type {State}\n */\n function sequenceOpen(code) {\n if (code === 35 && size++ < 6) {\n effects.consume(code)\n return sequenceOpen\n }\n\n // Always at least one `#`.\n if (code === null || markdownLineEndingOrSpace(code)) {\n effects.exit('atxHeadingSequence')\n return atBreak(code)\n }\n return nok(code)\n }\n\n /**\n * After something, before something else.\n *\n * ```markdown\n * > | ## aa\n * ^\n * ```\n *\n * @type {State}\n */\n function atBreak(code) {\n if (code === 35) {\n effects.enter('atxHeadingSequence')\n return sequenceFurther(code)\n }\n if (code === null || markdownLineEnding(code)) {\n effects.exit('atxHeading')\n // To do: interrupt like `markdown-rs`.\n // // Feel free to interrupt.\n // tokenizer.interrupt = false\n return ok(code)\n }\n if (markdownSpace(code)) {\n return factorySpace(effects, atBreak, 'whitespace')(code)\n }\n\n // To do: generate `data` tokens, add the `text` token later.\n // Needs edit map, see: `markdown.rs`.\n effects.enter('atxHeadingText')\n return data(code)\n }\n\n /**\n * In further sequence (after whitespace).\n *\n * Could be normal “visible” hashes in the heading or a final sequence.\n *\n * ```markdown\n * > | ## aa ##\n * ^\n * ```\n *\n * @type {State}\n */\n function sequenceFurther(code) {\n if (code === 35) {\n effects.consume(code)\n return sequenceFurther\n }\n effects.exit('atxHeadingSequence')\n return atBreak(code)\n }\n\n /**\n * In text.\n *\n * ```markdown\n * > | ## aa\n * ^\n * ```\n *\n * @type {State}\n */\n function data(code) {\n if (code === null || code === 35 || markdownLineEndingOrSpace(code)) {\n effects.exit('atxHeadingText')\n return atBreak(code)\n }\n effects.consume(code)\n return data\n }\n}\n"],"names":["headingAtx","name","tokenize","effects","ok","nok","size","code","enter","sequenceOpen","before","consume","markdownLineEndingOrSpace","exit","atBreak","sequenceFurther","markdownLineEnding","markdownSpace","factorySpace","data","resolve","events","context","content","text","contentEnd","length","contentStart","type","start","end","contentType","splice"],"mappings":"oQAiBY,MAACA,EAAa,CACxBC,KAAM,aACNC,SA2DF,SAA4BC,EAASC,EAAIC,GACvC,IAAIC,EAAO,EACX,OAYA,SAAeC,GAGb,OADAJ,EAAQK,MAAM,cAchB,SAAgBD,GAEd,OADAJ,EAAQK,MAAM,sBACPC,EAAaF,EACrB,CAhBQG,CAAOH,EACf,EA2BD,SAASE,EAAaF,GACpB,OAAa,KAATA,GAAeD,IAAS,GAC1BH,EAAQQ,QAAQJ,GACTE,GAII,OAATF,GAAiBK,EAA0BL,IAC7CJ,EAAQU,KAAK,sBACNC,EAAQP,IAEVF,EAAIE,EACZ,CAYD,SAASO,EAAQP,GACf,OAAa,KAATA,GACFJ,EAAQK,MAAM,sBACPO,EAAgBR,IAEZ,OAATA,GAAiBS,EAAmBT,IACtCJ,EAAQU,KAAK,cAINT,EAAGG,IAERU,EAAcV,GACTW,EAAaf,EAASW,EAAS,aAA/BI,CAA6CX,IAKtDJ,EAAQK,MAAM,kBACPW,EAAKZ,GACb,CAcD,SAASQ,EAAgBR,GACvB,OAAa,KAATA,GACFJ,EAAQQ,QAAQJ,GACTQ,IAETZ,EAAQU,KAAK,sBACNC,EAAQP,GAChB,CAYD,SAASY,EAAKZ,GACZ,OAAa,OAATA,GAA0B,KAATA,GAAeK,EAA0BL,IAC5DJ,EAAQU,KAAK,kBACNC,EAAQP,KAEjBJ,EAAQQ,QAAQJ,GACTY,EACR,CACH,EA5LEC,QAIF,SAA2BC,EAAQC,GACjC,IAGIC,EAEAC,EALAC,EAAaJ,EAAOK,OAAS,EAC7BC,EAAe,EAOkB,eAAjCN,EAAOM,GAAc,GAAGC,OAC1BD,GAAgB,GAKhBF,EAAa,EAAIE,GACc,eAA/BN,EAAOI,GAAY,GAAGG,OAEtBH,GAAc,GAGiB,uBAA/BJ,EAAOI,GAAY,GAAGG,OACrBD,IAAiBF,EAAa,GAC5BA,EAAa,EAAIE,GACmB,eAAnCN,EAAOI,EAAa,GAAG,GAAGG,QAE9BH,GAAcE,EAAe,IAAMF,EAAa,EAAI,GAElDA,EAAaE,IACfJ,EAAU,CACRK,KAAM,iBACNC,MAAOR,EAAOM,GAAc,GAAGE,MAC/BC,IAAKT,EAAOI,GAAY,GAAGK,KAE7BN,EAAO,CACLI,KAAM,YACNC,MAAOR,EAAOM,GAAc,GAAGE,MAC/BC,IAAKT,EAAOI,GAAY,GAAGK,IAC3BC,YAAa,QAEfC,EAAOX,EAAQM,EAAcF,EAAaE,EAAe,EAAG,CAC1D,CAAC,QAASJ,EAASD,GACnB,CAAC,QAASE,EAAMF,GAChB,CAAC,OAAQE,EAAMF,GACf,CAAC,OAAQC,EAASD,MAGtB,OAAOD,CACT"}
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{asciiAlpha as n,markdownLineEndingOrSpace as t,asciiAlphanumeric as e,markdownSpace as r,markdownLineEnding as u}from"../../micromark-util-character/index.js";import{htmlRawNames as o,htmlBlockNames as c}from"../../micromark-util-html-tag-name/index.js";import{blankLine as i}from"./blank-line.js";const m={name:"htmlFlow",tokenize:function(i,m,f){const a=this;let h,p,d,w,g;return function(n){return function(n){return i.enter("htmlFlow"),i.enter("htmlFlowData"),i.consume(n),C}(n)};function C(t){return 33===t?(i.consume(t),x):47===t?(i.consume(t),p=!0,D):63===t?(i.consume(t),h=3,a.interrupt?m:O):n(t)?(i.consume(t),d=String.fromCharCode(t),E):f(t)}function x(t){return 45===t?(i.consume(t),h=2,F):91===t?(i.consume(t),h=5,w=0,k):n(t)?(i.consume(t),h=4,a.interrupt?m:O):f(t)}function F(n){return 45===n?(i.consume(n),a.interrupt?m:O):f(n)}function k(n){const t="CDATA[";return n===t.charCodeAt(w++)?(i.consume(n),6===w?a.interrupt?m:B:k):f(n)}function D(t){return n(t)?(i.consume(t),d=String.fromCharCode(t),E):f(t)}function E(n){if(null===n||47===n||62===n||t(n)){const t=47===n,e=d.toLowerCase();return t||p||!o.includes(e)?c.includes(d.toLowerCase())?(h=6,t?(i.consume(n),z):a.interrupt?m(n):B(n)):(h=7,a.interrupt&&!a.parser.lazy[a.now().line]?f(n):p?y(n):S(n)):(h=1,a.interrupt?m(n):B(n))}return 45===n||e(n)?(i.consume(n),d+=String.fromCharCode(n),E):f(n)}function z(n){return 62===n?(i.consume(n),a.interrupt?m:B):f(n)}function y(n){return r(n)?(i.consume(n),y):P(n)}function S(t){return 47===t?(i.consume(t),P):58===t||95===t||n(t)?(i.consume(t),j):r(t)?(i.consume(t),S):P(t)}function j(n){return 45===n||46===n||58===n||95===n||e(n)?(i.consume(n),j):A(n)}function A(n){return 61===n?(i.consume(n),L):r(n)?(i.consume(n),A):S(n)}function L(n){return null===n||60===n||61===n||62===n||96===n?f(n):34===n||39===n?(i.consume(n),g=n,T):r(n)?(i.consume(n),L):b(n)}function T(n){return n===g?(i.consume(n),g=null,v):null===n||u(n)?f(n):(i.consume(n),T)}function b(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||t(n)?A(n):(i.consume(n),b)}function v(n){return 47===n||62===n||r(n)?S(n):f(n)}function P(n){return 62===n?(i.consume(n),q):f(n)}function q(n){return null===n||u(n)?B(n):r(n)?(i.consume(n),q):f(n)}function B(n){return 45===n&&2===h?(i.consume(n),J):60===n&&1===h?(i.consume(n),K):62===n&&4===h?(i.consume(n),Q):63===n&&3===h?(i.consume(n),O):93===n&&5===h?(i.consume(n),N):!u(n)||6!==h&&7!==h?null===n||u(n)?(i.exit("htmlFlowData"),G(n)):(i.consume(n),B):(i.exit("htmlFlowData"),i.check(s,R,G)(n))}function G(n){return i.check(l,H,R)(n)}function H(n){return i.enter("lineEnding"),i.consume(n),i.exit("lineEnding"),I}function I(n){return null===n||u(n)?G(n):(i.enter("htmlFlowData"),B(n))}function J(n){return 45===n?(i.consume(n),O):B(n)}function K(n){return 47===n?(i.consume(n),d="",M):B(n)}function M(t){if(62===t){const n=d.toLowerCase();return o.includes(n)?(i.consume(t),Q):B(t)}return n(t)&&d.length<8?(i.consume(t),d+=String.fromCharCode(t),M):B(t)}function N(n){return 93===n?(i.consume(n),O):B(n)}function O(n){return 62===n?(i.consume(n),Q):45===n&&2===h?(i.consume(n),O):B(n)}function Q(n){return null===n||u(n)?(i.exit("htmlFlowData"),R(n)):(i.consume(n),Q)}function R(n){return i.exit("htmlFlow"),m(n)}},resolveTo:function(n){let t=n.length;for(;t--&&("enter"!==n[t][0]||"htmlFlow"!==n[t][1].type););t>1&&"linePrefix"===n[t-2][1].type&&(n[t][1].start=n[t-2][1].start,n[t+1][1].start=n[t-2][1].start,n.splice(t-2,2));return n},concrete:!0},s={tokenize:function(n,t,e){return function(r){return n.enter("lineEnding"),n.consume(r),n.exit("lineEnding"),n.attempt(i,t,e)}},partial:!0},l={tokenize:function(n,t,e){const r=this;return function(t){if(u(t))return n.enter("lineEnding"),n.consume(t),n.exit("lineEnding"),o;return e(t)};function o(n){return r.parser.lazy[r.now().line]?e(n):t(n)}},partial:!0};export{m as htmlFlow};
|
|
2
|
-
//# sourceMappingURL=html-flow.js.map
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"html-flow.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Code} Code\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').Resolver} Resolver\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {\n asciiAlpha,\n asciiAlphanumeric,\n markdownLineEnding,\n markdownLineEndingOrSpace,\n markdownSpace\n} from 'micromark-util-character'\nimport {htmlBlockNames, htmlRawNames} from 'micromark-util-html-tag-name'\nimport {blankLine} from './blank-line.js'\n\n/** @type {Construct} */\nexport const htmlFlow = {\n name: 'htmlFlow',\n tokenize: tokenizeHtmlFlow,\n resolveTo: resolveToHtmlFlow,\n concrete: true\n}\n\n/** @type {Construct} */\nconst blankLineBefore = {\n tokenize: tokenizeBlankLineBefore,\n partial: true\n}\nconst nonLazyContinuationStart = {\n tokenize: tokenizeNonLazyContinuationStart,\n partial: true\n}\n\n/** @type {Resolver} */\nfunction resolveToHtmlFlow(events) {\n let index = events.length\n while (index--) {\n if (events[index][0] === 'enter' && events[index][1].type === 'htmlFlow') {\n break\n }\n }\n if (index > 1 && events[index - 2][1].type === 'linePrefix') {\n // Add the prefix start to the HTML token.\n events[index][1].start = events[index - 2][1].start\n // Add the prefix start to the HTML line token.\n events[index + 1][1].start = events[index - 2][1].start\n // Remove the line prefix.\n events.splice(index - 2, 2)\n }\n return events\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeHtmlFlow(effects, ok, nok) {\n const self = this\n /** @type {number} */\n let marker\n /** @type {boolean} */\n let closingTag\n /** @type {string} */\n let buffer\n /** @type {number} */\n let index\n /** @type {Code} */\n let markerB\n return start\n\n /**\n * Start of HTML (flow).\n *\n * ```markdown\n * > | <x />\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n // To do: parse indent like `markdown-rs`.\n return before(code)\n }\n\n /**\n * At `<`, after optional whitespace.\n *\n * ```markdown\n * > | <x />\n * ^\n * ```\n *\n * @type {State}\n */\n function before(code) {\n effects.enter('htmlFlow')\n effects.enter('htmlFlowData')\n effects.consume(code)\n return open\n }\n\n /**\n * After `<`, at tag name or other stuff.\n *\n * ```markdown\n * > | <x />\n * ^\n * > | <!doctype>\n * ^\n * > | <!--xxx-->\n * ^\n * ```\n *\n * @type {State}\n */\n function open(code) {\n if (code === 33) {\n effects.consume(code)\n return declarationOpen\n }\n if (code === 47) {\n effects.consume(code)\n closingTag = true\n return tagCloseStart\n }\n if (code === 63) {\n effects.consume(code)\n marker = 3\n // To do:\n // tokenizer.concrete = true\n // To do: use `markdown-rs` style interrupt.\n // While we’re in an instruction instead of a declaration, we’re on a `?`\n // right now, so we do need to search for `>`, similar to declarations.\n return self.interrupt ? ok : continuationDeclarationInside\n }\n\n // ASCII alphabetical.\n if (asciiAlpha(code)) {\n effects.consume(code)\n // @ts-expect-error: not null.\n buffer = String.fromCharCode(code)\n return tagName\n }\n return nok(code)\n }\n\n /**\n * After `<!`, at declaration, comment, or CDATA.\n *\n * ```markdown\n * > | <!doctype>\n * ^\n * > | <!--xxx-->\n * ^\n * > | <![CDATA[>&<]]>\n * ^\n * ```\n *\n * @type {State}\n */\n function declarationOpen(code) {\n if (code === 45) {\n effects.consume(code)\n marker = 2\n return commentOpenInside\n }\n if (code === 91) {\n effects.consume(code)\n marker = 5\n index = 0\n return cdataOpenInside\n }\n\n // ASCII alphabetical.\n if (asciiAlpha(code)) {\n effects.consume(code)\n marker = 4\n // // Do not form containers.\n // tokenizer.concrete = true\n return self.interrupt ? ok : continuationDeclarationInside\n }\n return nok(code)\n }\n\n /**\n * After `<!-`, inside a comment, at another `-`.\n *\n * ```markdown\n * > | <!--xxx-->\n * ^\n * ```\n *\n * @type {State}\n */\n function commentOpenInside(code) {\n if (code === 45) {\n effects.consume(code)\n // // Do not form containers.\n // tokenizer.concrete = true\n return self.interrupt ? ok : continuationDeclarationInside\n }\n return nok(code)\n }\n\n /**\n * After `<![`, inside CDATA, expecting `CDATA[`.\n *\n * ```markdown\n * > | <![CDATA[>&<]]>\n * ^^^^^^\n * ```\n *\n * @type {State}\n */\n function cdataOpenInside(code) {\n const value = 'CDATA['\n if (code === value.charCodeAt(index++)) {\n effects.consume(code)\n if (index === value.length) {\n // // Do not form containers.\n // tokenizer.concrete = true\n return self.interrupt ? ok : continuation\n }\n return cdataOpenInside\n }\n return nok(code)\n }\n\n /**\n * After `</`, in closing tag, at tag name.\n *\n * ```markdown\n * > | </x>\n * ^\n * ```\n *\n * @type {State}\n */\n function tagCloseStart(code) {\n if (asciiAlpha(code)) {\n effects.consume(code)\n // @ts-expect-error: not null.\n buffer = String.fromCharCode(code)\n return tagName\n }\n return nok(code)\n }\n\n /**\n * In tag name.\n *\n * ```markdown\n * > | <ab>\n * ^^\n * > | </ab>\n * ^^\n * ```\n *\n * @type {State}\n */\n function tagName(code) {\n if (\n code === null ||\n code === 47 ||\n code === 62 ||\n markdownLineEndingOrSpace(code)\n ) {\n const slash = code === 47\n const name = buffer.toLowerCase()\n if (!slash && !closingTag && htmlRawNames.includes(name)) {\n marker = 1\n // // Do not form containers.\n // tokenizer.concrete = true\n return self.interrupt ? ok(code) : continuation(code)\n }\n if (htmlBlockNames.includes(buffer.toLowerCase())) {\n marker = 6\n if (slash) {\n effects.consume(code)\n return basicSelfClosing\n }\n\n // // Do not form containers.\n // tokenizer.concrete = true\n return self.interrupt ? ok(code) : continuation(code)\n }\n marker = 7\n // Do not support complete HTML when interrupting.\n return self.interrupt && !self.parser.lazy[self.now().line]\n ? nok(code)\n : closingTag\n ? completeClosingTagAfter(code)\n : completeAttributeNameBefore(code)\n }\n\n // ASCII alphanumerical and `-`.\n if (code === 45 || asciiAlphanumeric(code)) {\n effects.consume(code)\n buffer += String.fromCharCode(code)\n return tagName\n }\n return nok(code)\n }\n\n /**\n * After closing slash of a basic tag name.\n *\n * ```markdown\n * > | <div/>\n * ^\n * ```\n *\n * @type {State}\n */\n function basicSelfClosing(code) {\n if (code === 62) {\n effects.consume(code)\n // // Do not form containers.\n // tokenizer.concrete = true\n return self.interrupt ? ok : continuation\n }\n return nok(code)\n }\n\n /**\n * After closing slash of a complete tag name.\n *\n * ```markdown\n * > | <x/>\n * ^\n * ```\n *\n * @type {State}\n */\n function completeClosingTagAfter(code) {\n if (markdownSpace(code)) {\n effects.consume(code)\n return completeClosingTagAfter\n }\n return completeEnd(code)\n }\n\n /**\n * At an attribute name.\n *\n * At first, this state is used after a complete tag name, after whitespace,\n * where it expects optional attributes or the end of the tag.\n * It is also reused after attributes, when expecting more optional\n * attributes.\n *\n * ```markdown\n * > | <a />\n * ^\n * > | <a :b>\n * ^\n * > | <a _b>\n * ^\n * > | <a b>\n * ^\n * > | <a >\n * ^\n * ```\n *\n * @type {State}\n */\n function completeAttributeNameBefore(code) {\n if (code === 47) {\n effects.consume(code)\n return completeEnd\n }\n\n // ASCII alphanumerical and `:` and `_`.\n if (code === 58 || code === 95 || asciiAlpha(code)) {\n effects.consume(code)\n return completeAttributeName\n }\n if (markdownSpace(code)) {\n effects.consume(code)\n return completeAttributeNameBefore\n }\n return completeEnd(code)\n }\n\n /**\n * In attribute name.\n *\n * ```markdown\n * > | <a :b>\n * ^\n * > | <a _b>\n * ^\n * > | <a b>\n * ^\n * ```\n *\n * @type {State}\n */\n function completeAttributeName(code) {\n // ASCII alphanumerical and `-`, `.`, `:`, and `_`.\n if (\n code === 45 ||\n code === 46 ||\n code === 58 ||\n code === 95 ||\n asciiAlphanumeric(code)\n ) {\n effects.consume(code)\n return completeAttributeName\n }\n return completeAttributeNameAfter(code)\n }\n\n /**\n * After attribute name, at an optional initializer, the end of the tag, or\n * whitespace.\n *\n * ```markdown\n * > | <a b>\n * ^\n * > | <a b=c>\n * ^\n * ```\n *\n * @type {State}\n */\n function completeAttributeNameAfter(code) {\n if (code === 61) {\n effects.consume(code)\n return completeAttributeValueBefore\n }\n if (markdownSpace(code)) {\n effects.consume(code)\n return completeAttributeNameAfter\n }\n return completeAttributeNameBefore(code)\n }\n\n /**\n * Before unquoted, double quoted, or single quoted attribute value, allowing\n * whitespace.\n *\n * ```markdown\n * > | <a b=c>\n * ^\n * > | <a b=\"c\">\n * ^\n * ```\n *\n * @type {State}\n */\n function completeAttributeValueBefore(code) {\n if (\n code === null ||\n code === 60 ||\n code === 61 ||\n code === 62 ||\n code === 96\n ) {\n return nok(code)\n }\n if (code === 34 || code === 39) {\n effects.consume(code)\n markerB = code\n return completeAttributeValueQuoted\n }\n if (markdownSpace(code)) {\n effects.consume(code)\n return completeAttributeValueBefore\n }\n return completeAttributeValueUnquoted(code)\n }\n\n /**\n * In double or single quoted attribute value.\n *\n * ```markdown\n * > | <a b=\"c\">\n * ^\n * > | <a b='c'>\n * ^\n * ```\n *\n * @type {State}\n */\n function completeAttributeValueQuoted(code) {\n if (code === markerB) {\n effects.consume(code)\n markerB = null\n return completeAttributeValueQuotedAfter\n }\n if (code === null || markdownLineEnding(code)) {\n return nok(code)\n }\n effects.consume(code)\n return completeAttributeValueQuoted\n }\n\n /**\n * In unquoted attribute value.\n *\n * ```markdown\n * > | <a b=c>\n * ^\n * ```\n *\n * @type {State}\n */\n function completeAttributeValueUnquoted(code) {\n if (\n code === null ||\n code === 34 ||\n code === 39 ||\n code === 47 ||\n code === 60 ||\n code === 61 ||\n code === 62 ||\n code === 96 ||\n markdownLineEndingOrSpace(code)\n ) {\n return completeAttributeNameAfter(code)\n }\n effects.consume(code)\n return completeAttributeValueUnquoted\n }\n\n /**\n * After double or single quoted attribute value, before whitespace or the\n * end of the tag.\n *\n * ```markdown\n * > | <a b=\"c\">\n * ^\n * ```\n *\n * @type {State}\n */\n function completeAttributeValueQuotedAfter(code) {\n if (code === 47 || code === 62 || markdownSpace(code)) {\n return completeAttributeNameBefore(code)\n }\n return nok(code)\n }\n\n /**\n * In certain circumstances of a complete tag where only an `>` is allowed.\n *\n * ```markdown\n * > | <a b=\"c\">\n * ^\n * ```\n *\n * @type {State}\n */\n function completeEnd(code) {\n if (code === 62) {\n effects.consume(code)\n return completeAfter\n }\n return nok(code)\n }\n\n /**\n * After `>` in a complete tag.\n *\n * ```markdown\n * > | <x>\n * ^\n * ```\n *\n * @type {State}\n */\n function completeAfter(code) {\n if (code === null || markdownLineEnding(code)) {\n // // Do not form containers.\n // tokenizer.concrete = true\n return continuation(code)\n }\n if (markdownSpace(code)) {\n effects.consume(code)\n return completeAfter\n }\n return nok(code)\n }\n\n /**\n * In continuation of any HTML kind.\n *\n * ```markdown\n * > | <!--xxx-->\n * ^\n * ```\n *\n * @type {State}\n */\n function continuation(code) {\n if (code === 45 && marker === 2) {\n effects.consume(code)\n return continuationCommentInside\n }\n if (code === 60 && marker === 1) {\n effects.consume(code)\n return continuationRawTagOpen\n }\n if (code === 62 && marker === 4) {\n effects.consume(code)\n return continuationClose\n }\n if (code === 63 && marker === 3) {\n effects.consume(code)\n return continuationDeclarationInside\n }\n if (code === 93 && marker === 5) {\n effects.consume(code)\n return continuationCdataInside\n }\n if (markdownLineEnding(code) && (marker === 6 || marker === 7)) {\n effects.exit('htmlFlowData')\n return effects.check(\n blankLineBefore,\n continuationAfter,\n continuationStart\n )(code)\n }\n if (code === null || markdownLineEnding(code)) {\n effects.exit('htmlFlowData')\n return continuationStart(code)\n }\n effects.consume(code)\n return continuation\n }\n\n /**\n * In continuation, at eol.\n *\n * ```markdown\n * > | <x>\n * ^\n * | asd\n * ```\n *\n * @type {State}\n */\n function continuationStart(code) {\n return effects.check(\n nonLazyContinuationStart,\n continuationStartNonLazy,\n continuationAfter\n )(code)\n }\n\n /**\n * In continuation, at eol, before non-lazy content.\n *\n * ```markdown\n * > | <x>\n * ^\n * | asd\n * ```\n *\n * @type {State}\n */\n function continuationStartNonLazy(code) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return continuationBefore\n }\n\n /**\n * In continuation, before non-lazy content.\n *\n * ```markdown\n * | <x>\n * > | asd\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationBefore(code) {\n if (code === null || markdownLineEnding(code)) {\n return continuationStart(code)\n }\n effects.enter('htmlFlowData')\n return continuation(code)\n }\n\n /**\n * In comment continuation, after one `-`, expecting another.\n *\n * ```markdown\n * > | <!--xxx-->\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationCommentInside(code) {\n if (code === 45) {\n effects.consume(code)\n return continuationDeclarationInside\n }\n return continuation(code)\n }\n\n /**\n * In raw continuation, after `<`, at `/`.\n *\n * ```markdown\n * > | <script>console.log(1)</script>\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationRawTagOpen(code) {\n if (code === 47) {\n effects.consume(code)\n buffer = ''\n return continuationRawEndTag\n }\n return continuation(code)\n }\n\n /**\n * In raw continuation, after `</`, in a raw tag name.\n *\n * ```markdown\n * > | <script>console.log(1)</script>\n * ^^^^^^\n * ```\n *\n * @type {State}\n */\n function continuationRawEndTag(code) {\n if (code === 62) {\n const name = buffer.toLowerCase()\n if (htmlRawNames.includes(name)) {\n effects.consume(code)\n return continuationClose\n }\n return continuation(code)\n }\n if (asciiAlpha(code) && buffer.length < 8) {\n effects.consume(code)\n // @ts-expect-error: not null.\n buffer += String.fromCharCode(code)\n return continuationRawEndTag\n }\n return continuation(code)\n }\n\n /**\n * In cdata continuation, after `]`, expecting `]>`.\n *\n * ```markdown\n * > | <![CDATA[>&<]]>\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationCdataInside(code) {\n if (code === 93) {\n effects.consume(code)\n return continuationDeclarationInside\n }\n return continuation(code)\n }\n\n /**\n * In declaration or instruction continuation, at `>`.\n *\n * ```markdown\n * > | <!-->\n * ^\n * > | <?>\n * ^\n * > | <!q>\n * ^\n * > | <!--ab-->\n * ^\n * > | <![CDATA[>&<]]>\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationDeclarationInside(code) {\n if (code === 62) {\n effects.consume(code)\n return continuationClose\n }\n\n // More dashes.\n if (code === 45 && marker === 2) {\n effects.consume(code)\n return continuationDeclarationInside\n }\n return continuation(code)\n }\n\n /**\n * In closed continuation: everything we get until the eol/eof is part of it.\n *\n * ```markdown\n * > | <!doctype>\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationClose(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('htmlFlowData')\n return continuationAfter(code)\n }\n effects.consume(code)\n return continuationClose\n }\n\n /**\n * Done.\n *\n * ```markdown\n * > | <!doctype>\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationAfter(code) {\n effects.exit('htmlFlow')\n // // Feel free to interrupt.\n // tokenizer.interrupt = false\n // // No longer concrete.\n // tokenizer.concrete = false\n return ok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeNonLazyContinuationStart(effects, ok, nok) {\n const self = this\n return start\n\n /**\n * At eol, before continuation.\n *\n * ```markdown\n * > | * ```js\n * ^\n * | b\n * ```\n *\n * @type {State}\n */\n function start(code) {\n if (markdownLineEnding(code)) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return after\n }\n return nok(code)\n }\n\n /**\n * A continuation.\n *\n * ```markdown\n * | * ```js\n * > | b\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n return self.parser.lazy[self.now().line] ? nok(code) : ok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeBlankLineBefore(effects, ok, nok) {\n return start\n\n /**\n * Before eol, expecting blank line.\n *\n * ```markdown\n * > | <div>\n * ^\n * |\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return effects.attempt(blankLine, ok, nok)\n }\n}\n"],"names":["htmlFlow","name","tokenize","effects","ok","nok","self","this","marker","closingTag","buffer","index","markerB","code","enter","consume","open","before","declarationOpen","tagCloseStart","interrupt","continuationDeclarationInside","asciiAlpha","String","fromCharCode","tagName","commentOpenInside","cdataOpenInside","value","charCodeAt","continuation","markdownLineEndingOrSpace","slash","toLowerCase","htmlRawNames","includes","htmlBlockNames","basicSelfClosing","parser","lazy","now","line","completeClosingTagAfter","completeAttributeNameBefore","asciiAlphanumeric","markdownSpace","completeEnd","completeAttributeName","completeAttributeNameAfter","completeAttributeValueBefore","completeAttributeValueQuoted","completeAttributeValueUnquoted","completeAttributeValueQuotedAfter","markdownLineEnding","completeAfter","continuationCommentInside","continuationRawTagOpen","continuationClose","continuationCdataInside","exit","continuationStart","check","blankLineBefore","continuationAfter","nonLazyContinuationStart","continuationStartNonLazy","continuationBefore","continuationRawEndTag","length","resolveTo","events","type","start","splice","concrete","attempt","blankLine","partial","after"],"mappings":"iTAoBY,MAACA,EAAW,CACtBC,KAAM,WACNC,SAsCF,SAA0BC,EAASC,EAAIC,GACrC,MAAMC,EAAOC,KAEb,IAAIC,EAEAC,EAEAC,EAEAC,EAEAC,EACJ,OAYA,SAAeC,GAEb,OAaF,SAAgBA,GAId,OAHAV,EAAQW,MAAM,YACdX,EAAQW,MAAM,gBACdX,EAAQY,QAAQF,GACTG,CACR,CAlBQC,CAAOJ,EACf,EAiCD,SAASG,EAAKH,GACZ,OAAa,KAATA,GACFV,EAAQY,QAAQF,GACTK,GAEI,KAATL,GACFV,EAAQY,QAAQF,GAChBJ,GAAa,EACNU,GAEI,KAATN,GACFV,EAAQY,QAAQF,GAChBL,EAAS,EAMFF,EAAKc,UAAYhB,EAAKiB,GAI3BC,EAAWT,IACbV,EAAQY,QAAQF,GAEhBH,EAASa,OAAOC,aAAaX,GACtBY,GAEFpB,EAAIQ,EACZ,CAgBD,SAASK,EAAgBL,GACvB,OAAa,KAATA,GACFV,EAAQY,QAAQF,GAChBL,EAAS,EACFkB,GAEI,KAATb,GACFV,EAAQY,QAAQF,GAChBL,EAAS,EACTG,EAAQ,EACDgB,GAILL,EAAWT,IACbV,EAAQY,QAAQF,GAChBL,EAAS,EAGFF,EAAKc,UAAYhB,EAAKiB,GAExBhB,EAAIQ,EACZ,CAYD,SAASa,EAAkBb,GACzB,OAAa,KAATA,GACFV,EAAQY,QAAQF,GAGTP,EAAKc,UAAYhB,EAAKiB,GAExBhB,EAAIQ,EACZ,CAYD,SAASc,EAAgBd,GACvB,MAAMe,EAAQ,SACd,OAAIf,IAASe,EAAMC,WAAWlB,MAC5BR,EAAQY,QAAQF,GACFe,IAAVjB,EAGKL,EAAKc,UAAYhB,EAAK0B,EAExBH,GAEFtB,EAAIQ,EACZ,CAYD,SAASM,EAAcN,GACrB,OAAIS,EAAWT,IACbV,EAAQY,QAAQF,GAEhBH,EAASa,OAAOC,aAAaX,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AAOC,KAAKjC,EAAKkC,MAAMC,MAAQpC,EAAIQ,GAAQT,EAAGS,EAC3D,CACH,EAv1BEgE,SAAS"}
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{factorySpace as n}from"../../micromark-factory-space/index.js";import{asciiAlpha as u,markdownLineEnding as e,asciiAlphanumeric as t,markdownSpace as o,markdownLineEndingOrSpace as c}from"../../micromark-util-character/index.js";const r={name:"htmlText",tokenize:function(r,m,i){const s=this;let f,l,a;return function(n){return r.enter("htmlText"),r.enter("htmlTextData"),r.consume(n),x};function x(n){return 33===n?(r.consume(n),d):47===n?(r.consume(n),b):63===n?(r.consume(n),C):u(n)?(r.consume(n),I):i(n)}function d(n){return 45===n?(r.consume(n),h):91===n?(r.consume(n),l=0,k):u(n)?(r.consume(n),v):i(n)}function h(n){return 45===n?(r.consume(n),D):i(n)}function T(n){return null===n?i(n):45===n?(r.consume(n),p):e(n)?(a=T,K(n)):(r.consume(n),T)}function p(n){return 45===n?(r.consume(n),D):T(n)}function D(n){return 62===n?J(n):45===n?p(n):T(n)}function k(n){const u="CDATA[";return n===u.charCodeAt(l++)?(r.consume(n),6===l?A:k):i(n)}function A(n){return null===n?i(n):93===n?(r.consume(n),g):e(n)?(a=A,K(n)):(r.consume(n),A)}function g(n){return 93===n?(r.consume(n),j):A(n)}function j(n){return 62===n?J(n):93===n?(r.consume(n),j):A(n)}function v(n){return null===n||62===n?J(n):e(n)?(a=v,K(n)):(r.consume(n),v)}function C(n){return null===n?i(n):63===n?(r.consume(n),E):e(n)?(a=C,K(n)):(r.consume(n),C)}function E(n){return 62===n?J(n):C(n)}function b(n){return u(n)?(r.consume(n),y):i(n)}function y(n){return 45===n||t(n)?(r.consume(n),y):z(n)}function z(n){return e(n)?(a=z,K(n)):o(n)?(r.consume(n),z):J(n)}function I(n){return 45===n||t(n)?(r.consume(n),I):47===n||62===n||c(n)?P(n):i(n)}function P(n){return 47===n?(r.consume(n),J):58===n||95===n||u(n)?(r.consume(n),q):e(n)?(a=P,K(n)):o(n)?(r.consume(n),P):J(n)}function q(n){return 45===n||46===n||58===n||95===n||t(n)?(r.consume(n),q):w(n)}function w(n){return 61===n?(r.consume(n),B):e(n)?(a=w,K(n)):o(n)?(r.consume(n),w):P(n)}function B(n){return null===n||60===n||61===n||62===n||96===n?i(n):34===n||39===n?(r.consume(n),f=n,F):e(n)?(a=B,K(n)):o(n)?(r.consume(n),B):(r.consume(n),G)}function F(n){return n===f?(r.consume(n),f=void 0,H):null===n?i(n):e(n)?(a=F,K(n)):(r.consume(n),F)}function G(n){return null===n||34===n||39===n||60===n||61===n||96===n?i(n):47===n||62===n||c(n)?P(n):(r.consume(n),G)}function H(n){return 47===n||62===n||c(n)?P(n):i(n)}function J(n){return 62===n?(r.consume(n),r.exit("htmlTextData"),r.exit("htmlText"),m):i(n)}function K(n){return r.exit("htmlTextData"),r.enter("lineEnding"),r.consume(n),r.exit("lineEnding"),L}function L(u){return o(u)?n(r,M,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):M(u)}function M(n){return r.enter("htmlTextData"),a(n)}}};export{r as htmlText};
|
|
2
|
-
//# sourceMappingURL=html-text.js.map
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"html-text.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Code} Code\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factorySpace} from 'micromark-factory-space'\nimport {\n asciiAlpha,\n asciiAlphanumeric,\n markdownLineEnding,\n markdownLineEndingOrSpace,\n markdownSpace\n} from 'micromark-util-character'\n/** @type {Construct} */\nexport const htmlText = {\n name: 'htmlText',\n tokenize: tokenizeHtmlText\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeHtmlText(effects, ok, nok) {\n const self = this\n /** @type {NonNullable<Code> | undefined} */\n let marker\n /** @type {number} */\n let index\n /** @type {State} */\n let returnState\n return start\n\n /**\n * Start of HTML (text).\n *\n * ```markdown\n * > | a <b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('htmlText')\n effects.enter('htmlTextData')\n effects.consume(code)\n return open\n }\n\n /**\n * After `<`, at tag name or other stuff.\n *\n * ```markdown\n * > | a <b> c\n * ^\n * > | a <!doctype> c\n * ^\n * > | a <!--b--> c\n * ^\n * ```\n *\n * @type {State}\n */\n function open(code) {\n if (code === 33) {\n effects.consume(code)\n return declarationOpen\n }\n if (code === 47) {\n effects.consume(code)\n return tagCloseStart\n }\n if (code === 63) {\n effects.consume(code)\n return instruction\n }\n\n // ASCII alphabetical.\n if (asciiAlpha(code)) {\n effects.consume(code)\n return tagOpen\n }\n return nok(code)\n }\n\n /**\n * After `<!`, at declaration, comment, or CDATA.\n *\n * ```markdown\n * > | a <!doctype> c\n * ^\n * > | a <!--b--> c\n * ^\n * > | a <![CDATA[>&<]]> c\n * ^\n * ```\n *\n * @type {State}\n */\n function declarationOpen(code) {\n if (code === 45) {\n effects.consume(code)\n return commentOpenInside\n }\n if (code === 91) {\n effects.consume(code)\n index = 0\n return cdataOpenInside\n }\n if (asciiAlpha(code)) {\n effects.consume(code)\n return declaration\n }\n return nok(code)\n }\n\n /**\n * In a comment, after `<!-`, at another `-`.\n *\n * ```markdown\n * > | a <!--b--> c\n * ^\n * ```\n *\n * @type {State}\n */\n function commentOpenInside(code) {\n if (code === 45) {\n effects.consume(code)\n return commentEnd\n }\n return nok(code)\n }\n\n /**\n * In comment.\n *\n * ```markdown\n * > | a <!--b--> c\n * ^\n * ```\n *\n * @type {State}\n */\n function comment(code) {\n if (code === null) {\n return nok(code)\n }\n if (code === 45) {\n effects.consume(code)\n return commentClose\n }\n if (markdownLineEnding(code)) {\n returnState = comment\n return lineEndingBefore(code)\n }\n effects.consume(code)\n return comment\n }\n\n /**\n * In comment, after `-`.\n *\n * ```markdown\n * > | a <!--b--> c\n * ^\n * ```\n *\n * @type {State}\n */\n function commentClose(code) {\n if (code === 45) {\n effects.consume(code)\n return commentEnd\n }\n return comment(code)\n }\n\n /**\n * In comment, after `--`.\n *\n * ```markdown\n * > | a <!--b--> c\n * ^\n * ```\n *\n * @type {State}\n */\n function commentEnd(code) {\n return code === 62\n ? end(code)\n : code === 45\n ? commentClose(code)\n : comment(code)\n }\n\n /**\n * After `<![`, in CDATA, expecting `CDATA[`.\n *\n * ```markdown\n * > | a <![CDATA[>&<]]> b\n * ^^^^^^\n * ```\n *\n * @type {State}\n */\n function cdataOpenInside(code) {\n const value = 'CDATA['\n if (code === value.charCodeAt(index++)) {\n effects.consume(code)\n return index === value.length ? cdata : cdataOpenInside\n }\n return nok(code)\n }\n\n /**\n * In CDATA.\n *\n * ```markdown\n * > | a <![CDATA[>&<]]> b\n * ^^^\n * ```\n *\n * @type {State}\n */\n function cdata(code) {\n if (code === null) {\n return nok(code)\n }\n if (code === 93) {\n effects.consume(code)\n return cdataClose\n }\n if (markdownLineEnding(code)) {\n returnState = cdata\n return lineEndingBefore(code)\n }\n effects.consume(code)\n return cdata\n }\n\n /**\n * In CDATA, after `]`, at another `]`.\n *\n * ```markdown\n * > | a <![CDATA[>&<]]> b\n * ^\n * ```\n *\n * @type {State}\n */\n function cdataClose(code) {\n if (code === 93) {\n effects.consume(code)\n return cdataEnd\n }\n return cdata(code)\n }\n\n /**\n * In CDATA, after `]]`, at `>`.\n *\n * ```markdown\n * > | a <![CDATA[>&<]]> b\n * ^\n * ```\n *\n * @type {State}\n */\n function cdataEnd(code) {\n if (code === 62) {\n return end(code)\n }\n if (code === 93) {\n effects.consume(code)\n return cdataEnd\n }\n return cdata(code)\n }\n\n /**\n * In declaration.\n *\n * ```markdown\n * > | a <!b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function declaration(code) {\n if (code === null || code === 62) {\n return end(code)\n }\n if (markdownLineEnding(code)) {\n returnState = declaration\n return lineEndingBefore(code)\n }\n effects.consume(code)\n return declaration\n }\n\n /**\n * In instruction.\n *\n * ```markdown\n * > | a <?b?> c\n * ^\n * ```\n *\n * @type {State}\n */\n function instruction(code) {\n if (code === null) {\n return nok(code)\n }\n if (code === 63) {\n effects.consume(code)\n return instructionClose\n }\n if (markdownLineEnding(code)) {\n returnState = instruction\n return lineEndingBefore(code)\n }\n effects.consume(code)\n return instruction\n }\n\n /**\n * In instruction, after `?`, at `>`.\n *\n * ```markdown\n * > | a <?b?> c\n * ^\n * ```\n *\n * @type {State}\n */\n function instructionClose(code) {\n return code === 62 ? end(code) : instruction(code)\n }\n\n /**\n * After `</`, in closing tag, at tag name.\n *\n * ```markdown\n * > | a </b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function tagCloseStart(code) {\n // ASCII alphabetical.\n if (asciiAlpha(code)) {\n effects.consume(code)\n return tagClose\n }\n return nok(code)\n }\n\n /**\n * After `</x`, in a tag name.\n *\n * ```markdown\n * > | a </b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function tagClose(code) {\n // ASCII alphanumerical and `-`.\n if (code === 45 || asciiAlphanumeric(code)) {\n effects.consume(code)\n return tagClose\n }\n return tagCloseBetween(code)\n }\n\n /**\n * In closing tag, after tag name.\n *\n * ```markdown\n * > | a </b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function tagCloseBetween(code) {\n if (markdownLineEnding(code)) {\n returnState = tagCloseBetween\n return lineEndingBefore(code)\n }\n if (markdownSpace(code)) {\n effects.consume(code)\n return tagCloseBetween\n }\n return end(code)\n }\n\n /**\n * After `<x`, in opening tag name.\n *\n * ```markdown\n * > | a <b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpen(code) {\n // ASCII alphanumerical and `-`.\n if (code === 45 || asciiAlphanumeric(code)) {\n effects.consume(code)\n return tagOpen\n }\n if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {\n return tagOpenBetween(code)\n }\n return nok(code)\n }\n\n /**\n * In opening tag, after tag name.\n *\n * ```markdown\n * > | a <b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenBetween(code) {\n if (code === 47) {\n effects.consume(code)\n return end\n }\n\n // ASCII alphabetical and `:` and `_`.\n if (code === 58 || code === 95 || asciiAlpha(code)) {\n effects.consume(code)\n return tagOpenAttributeName\n }\n if (markdownLineEnding(code)) {\n returnState = tagOpenBetween\n return lineEndingBefore(code)\n }\n if (markdownSpace(code)) {\n effects.consume(code)\n return tagOpenBetween\n }\n return end(code)\n }\n\n /**\n * In attribute name.\n *\n * ```markdown\n * > | a <b c> d\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeName(code) {\n // ASCII alphabetical and `-`, `.`, `:`, and `_`.\n if (\n code === 45 ||\n code === 46 ||\n code === 58 ||\n code === 95 ||\n asciiAlphanumeric(code)\n ) {\n effects.consume(code)\n return tagOpenAttributeName\n }\n return tagOpenAttributeNameAfter(code)\n }\n\n /**\n * After attribute name, before initializer, the end of the tag, or\n * whitespace.\n *\n * ```markdown\n * > | a <b c> d\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeNameAfter(code) {\n if (code === 61) {\n effects.consume(code)\n return tagOpenAttributeValueBefore\n }\n if (markdownLineEnding(code)) {\n returnState = tagOpenAttributeNameAfter\n return lineEndingBefore(code)\n }\n if (markdownSpace(code)) {\n effects.consume(code)\n return tagOpenAttributeNameAfter\n }\n return tagOpenBetween(code)\n }\n\n /**\n * Before unquoted, double quoted, or single quoted attribute value, allowing\n * whitespace.\n *\n * ```markdown\n * > | a <b c=d> e\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeValueBefore(code) {\n if (\n code === null ||\n code === 60 ||\n code === 61 ||\n code === 62 ||\n code === 96\n ) {\n return nok(code)\n }\n if (code === 34 || code === 39) {\n effects.consume(code)\n marker = code\n return tagOpenAttributeValueQuoted\n }\n if (markdownLineEnding(code)) {\n returnState = tagOpenAttributeValueBefore\n return lineEndingBefore(code)\n }\n if (markdownSpace(code)) {\n effects.consume(code)\n return tagOpenAttributeValueBefore\n }\n effects.consume(code)\n return tagOpenAttributeValueUnquoted\n }\n\n /**\n * In double or single quoted attribute value.\n *\n * ```markdown\n * > | a <b c=\"d\"> e\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeValueQuoted(code) {\n if (code === marker) {\n effects.consume(code)\n marker = undefined\n return tagOpenAttributeValueQuotedAfter\n }\n if (code === null) {\n return nok(code)\n }\n if (markdownLineEnding(code)) {\n returnState = tagOpenAttributeValueQuoted\n return lineEndingBefore(code)\n }\n effects.consume(code)\n return tagOpenAttributeValueQuoted\n }\n\n /**\n * In unquoted attribute value.\n *\n * ```markdown\n * > | a <b c=d> e\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeValueUnquoted(code) {\n if (\n code === null ||\n code === 34 ||\n code === 39 ||\n code === 60 ||\n code === 61 ||\n code === 96\n ) {\n return nok(code)\n }\n if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {\n return tagOpenBetween(code)\n }\n effects.consume(code)\n return tagOpenAttributeValueUnquoted\n }\n\n /**\n * After double or single quoted attribute value, before whitespace or the end\n * of the tag.\n *\n * ```markdown\n * > | a <b c=\"d\"> e\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeValueQuotedAfter(code) {\n if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {\n return tagOpenBetween(code)\n }\n return nok(code)\n }\n\n /**\n * In certain circumstances of a tag where only an `>` is allowed.\n *\n * ```markdown\n * > | a <b c=\"d\"> e\n * ^\n * ```\n *\n * @type {State}\n */\n function end(code) {\n if (code === 62) {\n effects.consume(code)\n effects.exit('htmlTextData')\n effects.exit('htmlText')\n return ok\n }\n return nok(code)\n }\n\n /**\n * At eol.\n *\n * > 👉 **Note**: we can’t have blank lines in text, so no need to worry about\n * > empty tokens.\n *\n * ```markdown\n * > | a <!--a\n * ^\n * | b-->\n * ```\n *\n * @type {State}\n */\n function lineEndingBefore(code) {\n effects.exit('htmlTextData')\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return lineEndingAfter\n }\n\n /**\n * After eol, at optional whitespace.\n *\n * > 👉 **Note**: we can’t have blank lines in text, so no need to worry about\n * > empty tokens.\n *\n * ```markdown\n * | a <!--a\n * > | b-->\n * ^\n * ```\n *\n * @type {State}\n */\n function lineEndingAfter(code) {\n // Always populated by defaults.\n\n return markdownSpace(code)\n ? factorySpace(\n effects,\n lineEndingAfterPrefix,\n 'linePrefix',\n self.parser.constructs.disable.null.includes('codeIndented')\n ? undefined\n : 4\n )(code)\n : lineEndingAfterPrefix(code)\n }\n\n /**\n * After eol, after optional whitespace.\n *\n * > 👉 **Note**: we can’t have blank lines in text, so no need to worry about\n * > empty tokens.\n *\n * ```markdown\n * | a <!--a\n * > | b-->\n * ^\n * ```\n *\n * @type {State}\n */\n function lineEndingAfterPrefix(code) {\n effects.enter('htmlTextData')\n return returnState(code)\n }\n}\n"],"names":["htmlText","name","tokenize","effects","ok","nok","self","this","marker","index","returnState","code","enter","consume","open","declarationOpen","tagCloseStart","instruction","asciiAlpha","tagOpen","commentOpenInside","cdataOpenInside","declaration","commentEnd","comment","commentClose","markdownLineEnding","lineEndingBefore","end","value","charCodeAt","cdata","cdataClose","cdataEnd","instructionClose","tagClose","asciiAlphanumeric","tagCloseBetween","markdownSpace","markdownLineEndingOrSpace","tagOpenBetween","tagOpenAttributeName","tagOpenAttributeNameAfter","tagOpenAttributeValueBefore","tagOpenAttributeValueQuoted","tagOpenAttributeValueUnquoted","undefined","tagOpenAttributeValueQuotedAfter","exit","lineEndingAfter","factorySpace","lineEndingAfterPrefix","parser","constructs","disable","null","includes"],"mappings":"4OAiBY,M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AAQF,GACTkC,EACR,CAaD,SAASE,EAAiCpC,GACxC,OAAa,KAATA,GAAwB,KAATA,GAAe4B,EAA0B5B,GACnD6B,EAAe7B,GAEjBN,EAAIM,EACZ,CAYD,SAASiB,EAAIjB,GACX,OAAa,KAATA,GACFR,EAAQU,QAAQF,GAChBR,EAAQ6C,KAAK,gBACb7C,EAAQ6C,KAAK,YACN5C,GAEFC,EAAIM,EACZ,CAgBD,SAASgB,EAAiBhB,GAKxB,OAJAR,EAAQ6C,KAAK,gBACb7C,EAAQS,MAAM,cACdT,EAAQU,QAAQF,GAChBR,EAAQ6C,KAAK,cACNC,CACR,CAgBD,SAASA,EAAgBtC,GAGvB,OAAO2B,EAAc3B,GACjBuC,EACE/C,EACAgD,EACA,aACA7C,EAAK8C,OAAOC,WAAWC,QAAQC,KAAKC,SAAS,qBACzCV,EACA,EANNI,CAOEvC,GACFwC,EAAsBxC,EAC3B,CAgBD,SAASwC,EAAsBxC,GAE7B,OADAR,EAAQS,MAAM,gBACPF,EAAYC,EACpB,CACH"}
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{factoryDestination as e}from"../../micromark-factory-destination/index.js";import{factoryLabel as r}from"../../micromark-factory-label/index.js";import{factoryTitle as t}from"../../micromark-factory-title/index.js";import{factoryWhitespace as n}from"../../micromark-factory-whitespace/index.js";import{markdownLineEndingOrSpace as i}from"../../micromark-util-character/index.js";import{push as a,splice as c}from"../../micromark-util-chunked/index.js";import{normalizeIdentifier as o}from"../../micromark-util-normalize-identifier/index.js";import{resolveAll as l}from"../../micromark-util-resolve-all/index.js";const s={name:"labelEnd",tokenize:function(e,r,t){const n=this;let i,a,c=n.events.length;for(;c--;)if(("labelImage"===n.events[c][1].type||"labelLink"===n.events[c][1].type)&&!n.events[c][1]._balanced){i=n.events[c][1];break}return function(r){if(!i)return t(r);if(i._inactive)return p(r);return a=n.parser.defined.includes(o(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(r),e.exit("labelMarker"),e.exit("labelEnd"),l};function l(r){return 40===r?e.attempt(u,k,a?k:p)(r):91===r?e.attempt(f,k,a?s:p)(r):a?k(r):p(r)}function s(r){return e.attempt(m,k,p)(r)}function k(e){return r(e)}function p(e){return i._balanced=!0,t(e)}},resolveTo:function(e,r){let t,n,i,o,s=e.length,u=0;for(;s--;)if(t=e[s][1],n){if("link"===t.type||"labelLink"===t.type&&t._inactive)break;"enter"===e[s][0]&&"labelLink"===t.type&&(t._inactive=!0)}else if(i){if("enter"===e[s][0]&&("labelImage"===t.type||"labelLink"===t.type)&&!t._balanced&&(n=s,"labelLink"!==t.type)){u=2;break}}else"labelEnd"===t.type&&(i=s);const f={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},m={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[i][1].end)},k={type:"labelText",start:Object.assign({},e[n+u+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",f,r],["enter",m,r]],o=a(o,e.slice(n+1,n+u+3)),o=a(o,[["enter",k,r]]),o=a(o,l(r.parser.constructs.insideSpan.null,e.slice(n+u+4,i-3),r)),o=a(o,[["exit",k,r],e[i-2],e[i-1],["exit",m,r]]),o=a(o,e.slice(i+1)),o=a(o,[["exit",f,r]]),c(e,n,e.length,o),e},resolveAll:function(e){let r=-1;for(;++r<e.length;){const t=e[r][1];"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(r+1,"labelImage"===t.type?4:2),t.type="data",r++)}return e}},u={tokenize:function(r,a,c){return function(e){return r.enter("resource"),r.enter("resourceMarker"),r.consume(e),r.exit("resourceMarker"),o};function o(e){return i(e)?n(r,l)(e):l(e)}function l(t){return 41===t?k(t):e(r,s,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function s(e){return i(e)?n(r,f)(e):k(e)}function u(e){return c(e)}function f(e){return 34===e||39===e||40===e?t(r,m,c,"resourceTitle","resourceTitleMarker","resourceTitleString")(e):k(e)}function m(e){return i(e)?n(r,k)(e):k(e)}function k(e){return 41===e?(r.enter("resourceMarker"),r.consume(e),r.exit("resourceMarker"),r.exit("resource"),a):c(e)}}},f={tokenize:function(e,t,n){const i=this;return function(t){return r.call(i,e,a,c,"reference","referenceMarker","referenceString")(t)};function a(e){return i.parser.defined.includes(o(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function c(e){return n(e)}}},m={tokenize:function(e,r,t){return function(r){return e.enter("reference"),e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),r):t(n)}}};export{s as labelEnd};
|
|
2
|
-
//# sourceMappingURL=label-end.js.map
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"label-end.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').Event} Event\n * @typedef {import('micromark-util-types').Resolver} Resolver\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').Token} Token\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factoryDestination} from 'micromark-factory-destination'\nimport {factoryLabel} from 'micromark-factory-label'\nimport {factoryTitle} from 'micromark-factory-title'\nimport {factoryWhitespace} from 'micromark-factory-whitespace'\nimport {markdownLineEndingOrSpace} from 'micromark-util-character'\nimport {push, splice} from 'micromark-util-chunked'\nimport {normalizeIdentifier} from 'micromark-util-normalize-identifier'\nimport {resolveAll} from 'micromark-util-resolve-all'\n/** @type {Construct} */\nexport const labelEnd = {\n name: 'labelEnd',\n tokenize: tokenizeLabelEnd,\n resolveTo: resolveToLabelEnd,\n resolveAll: resolveAllLabelEnd\n}\n\n/** @type {Construct} */\nconst resourceConstruct = {\n tokenize: tokenizeResource\n}\n/** @type {Construct} */\nconst referenceFullConstruct = {\n tokenize: tokenizeReferenceFull\n}\n/** @type {Construct} */\nconst referenceCollapsedConstruct = {\n tokenize: tokenizeReferenceCollapsed\n}\n\n/** @type {Resolver} */\nfunction resolveAllLabelEnd(events) {\n let index = -1\n while (++index < events.length) {\n const token = events[index][1]\n if (\n token.type === 'labelImage' ||\n token.type === 'labelLink' ||\n token.type === 'labelEnd'\n ) {\n // Remove the marker.\n events.splice(index + 1, token.type === 'labelImage' ? 4 : 2)\n token.type = 'data'\n index++\n }\n }\n return events\n}\n\n/** @type {Resolver} */\nfunction resolveToLabelEnd(events, context) {\n let index = events.length\n let offset = 0\n /** @type {Token} */\n let token\n /** @type {number | undefined} */\n let open\n /** @type {number | undefined} */\n let close\n /** @type {Array<Event>} */\n let media\n\n // Find an opening.\n while (index--) {\n token = events[index][1]\n if (open) {\n // If we see another link, or inactive link label, we’ve been here before.\n if (\n token.type === 'link' ||\n (token.type === 'labelLink' && token._inactive)\n ) {\n break\n }\n\n // Mark other link openings as inactive, as we can’t have links in\n // links.\n if (events[index][0] === 'enter' && token.type === 'labelLink') {\n token._inactive = true\n }\n } else if (close) {\n if (\n events[index][0] === 'enter' &&\n (token.type === 'labelImage' || token.type === 'labelLink') &&\n !token._balanced\n ) {\n open = index\n if (token.type !== 'labelLink') {\n offset = 2\n break\n }\n }\n } else if (token.type === 'labelEnd') {\n close = index\n }\n }\n const group = {\n type: events[open][1].type === 'labelLink' ? 'link' : 'image',\n start: Object.assign({}, events[open][1].start),\n end: Object.assign({}, events[events.length - 1][1].end)\n }\n const label = {\n type: 'label',\n start: Object.assign({}, events[open][1].start),\n end: Object.assign({}, events[close][1].end)\n }\n const text = {\n type: 'labelText',\n start: Object.assign({}, events[open + offset + 2][1].end),\n end: Object.assign({}, events[close - 2][1].start)\n }\n media = [\n ['enter', group, context],\n ['enter', label, context]\n ]\n\n // Opening marker.\n media = push(media, events.slice(open + 1, open + offset + 3))\n\n // Text open.\n media = push(media, [['enter', text, context]])\n\n // Always populated by defaults.\n\n // Between.\n media = push(\n media,\n resolveAll(\n context.parser.constructs.insideSpan.null,\n events.slice(open + offset + 4, close - 3),\n context\n )\n )\n\n // Text close, marker close, label close.\n media = push(media, [\n ['exit', text, context],\n events[close - 2],\n events[close - 1],\n ['exit', label, context]\n ])\n\n // Reference, resource, or so.\n media = push(media, events.slice(close + 1))\n\n // Media close.\n media = push(media, [['exit', group, context]])\n splice(events, open, events.length, media)\n return events\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeLabelEnd(effects, ok, nok) {\n const self = this\n let index = self.events.length\n /** @type {Token} */\n let labelStart\n /** @type {boolean} */\n let defined\n\n // Find an opening.\n while (index--) {\n if (\n (self.events[index][1].type === 'labelImage' ||\n self.events[index][1].type === 'labelLink') &&\n !self.events[index][1]._balanced\n ) {\n labelStart = self.events[index][1]\n break\n }\n }\n return start\n\n /**\n * Start of label end.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * > | [a][b] c\n * ^\n * > | [a][] b\n * ^\n * > | [a] b\n * ```\n *\n * @type {State}\n */\n function start(code) {\n // If there is not an okay opening.\n if (!labelStart) {\n return nok(code)\n }\n\n // If the corresponding label (link) start is marked as inactive,\n // it means we’d be wrapping a link, like this:\n //\n // ```markdown\n // > | a [b [c](d) e](f) g.\n // ^\n // ```\n //\n // We can’t have that, so it’s just balanced brackets.\n if (labelStart._inactive) {\n return labelEndNok(code)\n }\n defined = self.parser.defined.includes(\n normalizeIdentifier(\n self.sliceSerialize({\n start: labelStart.end,\n end: self.now()\n })\n )\n )\n effects.enter('labelEnd')\n effects.enter('labelMarker')\n effects.consume(code)\n effects.exit('labelMarker')\n effects.exit('labelEnd')\n return after\n }\n\n /**\n * After `]`.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * > | [a][b] c\n * ^\n * > | [a][] b\n * ^\n * > | [a] b\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n // Note: `markdown-rs` also parses GFM footnotes here, which for us is in\n // an extension.\n\n // Resource (`[asd](fgh)`)?\n if (code === 40) {\n return effects.attempt(\n resourceConstruct,\n labelEndOk,\n defined ? labelEndOk : labelEndNok\n )(code)\n }\n\n // Full (`[asd][fgh]`) or collapsed (`[asd][]`) reference?\n if (code === 91) {\n return effects.attempt(\n referenceFullConstruct,\n labelEndOk,\n defined ? referenceNotFull : labelEndNok\n )(code)\n }\n\n // Shortcut (`[asd]`) reference?\n return defined ? labelEndOk(code) : labelEndNok(code)\n }\n\n /**\n * After `]`, at `[`, but not at a full reference.\n *\n * > 👉 **Note**: we only get here if the label is defined.\n *\n * ```markdown\n * > | [a][] b\n * ^\n * > | [a] b\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceNotFull(code) {\n return effects.attempt(\n referenceCollapsedConstruct,\n labelEndOk,\n labelEndNok\n )(code)\n }\n\n /**\n * Done, we found something.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * > | [a][b] c\n * ^\n * > | [a][] b\n * ^\n * > | [a] b\n * ^\n * ```\n *\n * @type {State}\n */\n function labelEndOk(code) {\n // Note: `markdown-rs` does a bunch of stuff here.\n return ok(code)\n }\n\n /**\n * Done, it’s nothing.\n *\n * There was an okay opening, but we didn’t match anything.\n *\n * ```markdown\n * > | [a](b c\n * ^\n * > | [a][b c\n * ^\n * > | [a] b\n * ^\n * ```\n *\n * @type {State}\n */\n function labelEndNok(code) {\n labelStart._balanced = true\n return nok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeResource(effects, ok, nok) {\n return resourceStart\n\n /**\n * At a resource.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceStart(code) {\n effects.enter('resource')\n effects.enter('resourceMarker')\n effects.consume(code)\n effects.exit('resourceMarker')\n return resourceBefore\n }\n\n /**\n * In resource, after `(`, at optional whitespace.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceBefore(code) {\n return markdownLineEndingOrSpace(code)\n ? factoryWhitespace(effects, resourceOpen)(code)\n : resourceOpen(code)\n }\n\n /**\n * In resource, after optional whitespace, at `)` or a destination.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceOpen(code) {\n if (code === 41) {\n return resourceEnd(code)\n }\n return factoryDestination(\n effects,\n resourceDestinationAfter,\n resourceDestinationMissing,\n 'resourceDestination',\n 'resourceDestinationLiteral',\n 'resourceDestinationLiteralMarker',\n 'resourceDestinationRaw',\n 'resourceDestinationString',\n 32\n )(code)\n }\n\n /**\n * In resource, after destination, at optional whitespace.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceDestinationAfter(code) {\n return markdownLineEndingOrSpace(code)\n ? factoryWhitespace(effects, resourceBetween)(code)\n : resourceEnd(code)\n }\n\n /**\n * At invalid destination.\n *\n * ```markdown\n * > | [a](<<) b\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceDestinationMissing(code) {\n return nok(code)\n }\n\n /**\n * In resource, after destination and whitespace, at `(` or title.\n *\n * ```markdown\n * > | [a](b ) c\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceBetween(code) {\n if (code === 34 || code === 39 || code === 40) {\n return factoryTitle(\n effects,\n resourceTitleAfter,\n nok,\n 'resourceTitle',\n 'resourceTitleMarker',\n 'resourceTitleString'\n )(code)\n }\n return resourceEnd(code)\n }\n\n /**\n * In resource, after title, at optional whitespace.\n *\n * ```markdown\n * > | [a](b \"c\") d\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceTitleAfter(code) {\n return markdownLineEndingOrSpace(code)\n ? factoryWhitespace(effects, resourceEnd)(code)\n : resourceEnd(code)\n }\n\n /**\n * In resource, at `)`.\n *\n * ```markdown\n * > | [a](b) d\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceEnd(code) {\n if (code === 41) {\n effects.enter('resourceMarker')\n effects.consume(code)\n effects.exit('resourceMarker')\n effects.exit('resource')\n return ok\n }\n return nok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeReferenceFull(effects, ok, nok) {\n const self = this\n return referenceFull\n\n /**\n * In a reference (full), at the `[`.\n *\n * ```markdown\n * > | [a][b] d\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceFull(code) {\n return factoryLabel.call(\n self,\n effects,\n referenceFullAfter,\n referenceFullMissing,\n 'reference',\n 'referenceMarker',\n 'referenceString'\n )(code)\n }\n\n /**\n * In a reference (full), after `]`.\n *\n * ```markdown\n * > | [a][b] d\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceFullAfter(code) {\n return self.parser.defined.includes(\n normalizeIdentifier(\n self.sliceSerialize(self.events[self.events.length - 1][1]).slice(1, -1)\n )\n )\n ? ok(code)\n : nok(code)\n }\n\n /**\n * In reference (full) that was missing.\n *\n * ```markdown\n * > | [a][b d\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceFullMissing(code) {\n return nok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeReferenceCollapsed(effects, ok, nok) {\n return referenceCollapsedStart\n\n /**\n * In reference (collapsed), at `[`.\n *\n * > 👉 **Note**: we only get here if the label is defined.\n *\n * ```markdown\n * > | [a][] d\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceCollapsedStart(code) {\n // We only attempt a collapsed label if there’s a `[`.\n\n effects.enter('reference')\n effects.enter('referenceMarker')\n effects.consume(code)\n effects.exit('referenceMarker')\n return referenceCollapsedOpen\n }\n\n /**\n * In reference (collapsed), at `]`.\n *\n * > 👉 **Note**: we only get here if the label is defined.\n *\n * ```markdown\n * > | [a][] d\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceCollapsedOpen(code) {\n if (code === 93) {\n effects.enter('referenceMarker')\n effects.consume(code)\n effects.exit('referenceMarker')\n effects.exit('reference')\n return ok\n }\n return nok(code)\n }\n}\n"],"names":["labelEnd","name","tokenize","effects","ok","nok","self","this","labelStart","defined","index","events","length","type","_balanced","code","_inactive","labelEndNok","parser","includes","normalizeIdentifier","sliceSerialize","start","end","now","enter","consume","exit","after","attempt","resourceConstruct","labelEndOk","referenceFullConstruct","referenceNotFull","referenceCollapsedConstruct","resolveTo","context","token","open","close","media","offset","group","Object","assign","label","text","push","slice","resolveAll","constructs","insideSpan","null","splice","resourceBefore","markdownLineEndingOrSpace","factoryWhitespace","resourceOpen","resourceEnd","factoryDestination","resourceDestinationAfter","resourceDestinationMissing","resourceBetween","factoryTitle","resourceTitleAfter","factoryLabel","call","referenceFullAfter","referenceFullMissing","referenceCollapsedOpen"],"mappings":"2mBAmBY,MAACA,EAAW,CACtBC,KAAM,WACNC,SA8IF,SAA0BC,EAASC,EAAIC,GACrC,MAAMC,EAAOC,KACb,IAEIC,EAEAC,EAJAC,EAAQJ,EAAKK,OAAOC,OAOxB,KAAOF,KACL,IACkC,eAA/BJ,EAAKK,OAAOD,GAAO,GAAGG,MACU,cAA/BP,EAAKK,OAAOD,GAAO,GAAGG,QACvBP,EAAKK,OAAOD,GAAO,GAAGI,UACvB,CACAN,EAAaF,EAAKK,OAAOD,GAAO,GAChC,KACD,CAEH,OAiBA,SAAeK,GAEb,IAAKP,EACH,OAAOH,EAAIU,GAYb,GAAIP,EAAWQ,UACb,OAAOC,EAAYF,GAerB,OAbAN,EAAUH,EAAKY,OAAOT,QAAQU,SAC5BC,EACEd,EAAKe,eAAe,CAClBC,MAAOd,EAAWe,IAClBA,IAAKjB,EAAKkB,UAIhBrB,EAAQsB,MAAM,YACdtB,EAAQsB,MAAM,e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AaC,KAClB5D,EACAH,EACAgE,EACAC,EACA,YACA,kBACA,kBAPKH,CAQLlD,EACH,EAYD,SAASoD,EAAmBpD,GAC1B,OAAOT,EAAKY,OAAOT,QAAQU,SACzBC,EACEd,EAAKe,eAAef,EAAKK,OAAOL,EAAKK,OAAOC,OAAS,GAAG,IAAIoC,MAAM,GAAI,KAGtE5C,EAAGW,GACHV,EAAIU,EACT,CAYD,SAASqD,EAAqBrD,GAC5B,OAAOV,EAAIU,EACZ,CACH,GAhhBMmB,EAA8B,CAClChC,SAqhBF,SAAoCC,EAASC,EAAIC,GAC/C,OAcA,SAAiCU,GAO/B,OAJAZ,EAAQsB,MAAM,aACdtB,EAAQsB,MAAM,mBACdtB,EAAQuB,QAAQX,GAChBZ,EAAQwB,KAAK,mBACN0C,CACR,EAcD,SAASA,EAAuBtD,GAC9B,OAAa,KAATA,GACFZ,EAAQsB,MAAM,mBACdtB,EAAQuB,QAAQX,GAChBZ,EAAQwB,KAAK,mBACbxB,EAAQwB,KAAK,aACNvB,GAEFC,EAAIU,EACZ,CACH"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{labelEnd as e}from"./label-end.js";const r={name:"labelStartImage",tokenize:function(e,r,t){const n=this;return function(r){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(r),e.exit("labelImageMarker"),l};function l(r){return 91===r?(e.enter("labelMarker"),e.consume(r),e.exit("labelMarker"),e.exit("labelImage"),a):t(r)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?t(e):r(e)}},resolveAll:e.resolveAll};export{r as labelStartImage};
|
|
2
|
-
//# sourceMappingURL=label-start-image.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"label-start-image.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {labelEnd} from './label-end.js'\n\n/** @type {Construct} */\nexport const labelStartImage = {\n name: 'labelStartImage',\n tokenize: tokenizeLabelStartImage,\n resolveAll: labelEnd.resolveAll\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeLabelStartImage(effects, ok, nok) {\n const self = this\n return start\n\n /**\n * Start of label (image) start.\n *\n * ```markdown\n * > | a ![b] c\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('labelImage')\n effects.enter('labelImageMarker')\n effects.consume(code)\n effects.exit('labelImageMarker')\n return open\n }\n\n /**\n * After `!`, at `[`.\n *\n * ```markdown\n * > | a ![b] c\n * ^\n * ```\n *\n * @type {State}\n */\n function open(code) {\n if (code === 91) {\n effects.enter('labelMarker')\n effects.consume(code)\n effects.exit('labelMarker')\n effects.exit('labelImage')\n return after\n }\n return nok(code)\n }\n\n /**\n * After `![`.\n *\n * ```markdown\n * > | a ![b] c\n * ^\n * ```\n *\n * This is needed in because, when GFM footnotes are enabled, images never\n * form when started with a `^`.\n * Instead, links form:\n *\n * ```markdown\n * \n *\n * ![^a][b]\n *\n * [b]: c\n * ```\n *\n * ```html\n * <p>!<a href=\\\"b\\\">^a</a></p>\n * <p>!<a href=\\\"c\\\">^a</a></p>\n * ```\n *\n * @type {State}\n */\n function after(code) {\n // To do: use a new field to do this, this is still needed for\n // `micromark-extension-gfm-footnote`, but the `label-start-link`\n // behavior isn’t.\n // Hidden footnotes hook.\n /* c8 ignore next 3 */\n return code === 94 && '_hiddenFootnoteSupport' in self.parser.constructs\n ? nok(code)\n : ok(code)\n }\n}\n"],"names":["labelStartImage","name","tokenize","effects","ok","nok","self","this","code","enter","consume","exit","open","after","parser","constructs","resolveAll","labelEnd"],"mappings":"0CAUY,MAACA,EAAkB,CAC7BC,KAAM,kBACNC,SAQF,SAAiCC,EAASC,EAAIC,GAC5C,MAAMC,EAAOC,KACb,OAYA,SAAeC,GAKb,OAJAL,EAAQM,MAAM,cACdN,EAAQM,MAAM,oBACdN,EAAQO,QAAQF,GAChBL,EAAQQ,KAAK,oBACNC,CACR,EAYD,SAASA,EAAKJ,GACZ,OAAa,KAATA,GACFL,EAAQM,MAAM,eACdN,EAAQO,QAAQF,GAChBL,EAAQQ,KAAK,eACbR,EAAQQ,KAAK,cACNE,GAEFR,EAAIG,EACZ,CA6BD,SAASK,EAAML,GAMb,OAAgB,KAATA,GAAe,2BAA4BF,EAAKQ,OAAOC,WAC1DV,EAAIG,GACJJ,EAAGI,EACR,CACH,EAvFEQ,WAAYC,EAASD"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{labelEnd as e}from"./label-end.js";const n={name:"labelStartLink",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelLink"),l};function l(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?t(e):n(e)}},resolveAll:e.resolveAll};export{n as labelStartLink};
|
|
2
|
-
//# sourceMappingURL=label-start-link.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"label-start-link.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {labelEnd} from './label-end.js'\n\n/** @type {Construct} */\nexport const labelStartLink = {\n name: 'labelStartLink',\n tokenize: tokenizeLabelStartLink,\n resolveAll: labelEnd.resolveAll\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeLabelStartLink(effects, ok, nok) {\n const self = this\n return start\n\n /**\n * Start of label (link) start.\n *\n * ```markdown\n * > | a [b] c\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('labelLink')\n effects.enter('labelMarker')\n effects.consume(code)\n effects.exit('labelMarker')\n effects.exit('labelLink')\n return after\n }\n\n /** @type {State} */\n function after(code) {\n // To do: this isn’t needed in `micromark-extension-gfm-footnote`,\n // remove.\n // Hidden footnotes hook.\n /* c8 ignore next 3 */\n return code === 94 && '_hiddenFootnoteSupport' in self.parser.constructs\n ? nok(code)\n : ok(code)\n }\n}\n"],"names":["labelStartLink","name","tokenize","effects","ok","nok","self","this","code","enter","consume","exit","after","parser","constructs","resolveAll","labelEnd"],"mappings":"0CAUY,MAACA,EAAiB,CAC5BC,KAAM,iBACNC,SAQF,SAAgCC,EAASC,EAAIC,GAC3C,MAAMC,EAAOC,KACb,OAYA,SAAeC,GAMb,OALAL,EAAQM,MAAM,aACdN,EAAQM,MAAM,eACdN,EAAQO,QAAQF,GAChBL,EAAQQ,KAAK,eACbR,EAAQQ,KAAK,aACNC,CACR,EAGD,SAASA,EAAMJ,GAKb,OAAgB,KAATA,GAAe,2BAA4BF,EAAKO,OAAOC,WAC1DT,EAAIG,GACJJ,EAAGI,EACR,CACH,EAxCEO,WAAYC,EAASD"}
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{factorySpace as n}from"../../micromark-factory-space/index.js";const e={name:"lineEnding",tokenize:function(e,i){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n(e,i,"linePrefix")}}};export{e as lineEnding};
|
|
2
|
-
//# sourceMappingURL=line-ending.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"line-ending.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factorySpace} from 'micromark-factory-space'\nimport {markdownLineEnding} from 'micromark-util-character'\n/** @type {Construct} */\nexport const lineEnding = {\n name: 'lineEnding',\n tokenize: tokenizeLineEnding\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeLineEnding(effects, ok) {\n return start\n\n /** @type {State} */\n function start(code) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return factorySpace(effects, ok, 'linePrefix')\n }\n}\n"],"names":["lineEnding","name","tokenize","effects","ok","code","enter","consume","exit","factorySpace"],"mappings":"sEAUY,MAACA,EAAa,CACxBC,KAAM,aACNC,SAOF,SAA4BC,EAASC,GACnC,OAGA,SAAeC,GAIb,OAHAF,EAAQG,MAAM,cACdH,EAAQI,QAAQF,GAChBF,EAAQK,KAAK,cACNC,EAAaN,EAASC,EAAI,aAClC,CACH"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{factorySpace as t}from"../../micromark-factory-space/index.js";import{asciiDigit as e,markdownSpace as n}from"../../micromark-util-character/index.js";import{blankLine as i}from"./blank-line.js";import{thematicBreak as r}from"./thematic-break.js";const a={name:"list",tokenize:function(t,a,c){const s=this,l=s.events[s.events.length-1];let u=l&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[1],!0).length:0,m=0;return function(n){const i=s.containerState.type||(42===n||43===n||45===n?"listUnordered":"listOrdered");if("listUnordered"===i?!s.containerState.marker||n===s.containerState.marker:e(n)){if(s.containerState.type||(s.containerState.type=i,t.enter(i,{_container:!0})),"listUnordered"===i)return t.enter("listItemPrefix"),42===n||45===n?t.check(r,c,d)(n):d(n);if(!s.interrupt||49===n)return t.enter("listItemPrefix"),t.enter("listItemValue"),f(n)}return c(n)};function f(n){return e(n)&&++m<10?(t.consume(n),f):(!s.interrupt||m<2)&&(s.containerState.marker?n===s.containerState.marker:41===n||46===n)?(t.exit("listItemValue"),d(n)):c(n)}function d(e){return t.enter("listItemMarker"),t.consume(e),t.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||e,t.check(i,s.interrupt?c:k,t.attempt(o,S,p))}function k(t){return s.containerState.initialBlankLine=!0,u++,S(t)}function p(e){return n(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),S):c(e)}function S(e){return s.containerState.size=u+s.sliceSerialize(t.exit("listItemPrefix"),!0).length,a(e)}},continuation:{tokenize:function(e,r,o){const s=this;return s.containerState._closeFlow=void 0,e.check(i,(function(n){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,t(e,r,"listItemIndent",s.containerState.size+1)(n)}),(function(t){if(s.containerState.furtherBlankLines||!n(t))return s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,l(t);return s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,e.attempt(c,r,l)(t)}));function l(n){return s.containerState._closeFlow=!0,s.interrupt=void 0,t(e,e.attempt(a,r,o),"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n)}}},exit:function(t){t.exit(this.containerState.type)}},o={tokenize:function(e,i,r){const a=this;return t(e,(function(t){const e=a.events[a.events.length-1];return!n(t)&&e&&"listItemPrefixWhitespace"===e[1].type?i(t):r(t)}),"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},c={tokenize:function(e,n,i){const r=this;return t(e,(function(t){const e=r.events[r.events.length-1];return e&&"listItemIndent"===e[1].type&&e[2].sliceSerialize(e[1],!0).length===r.containerState.size?n(t):i(t)}),"listItemIndent",r.containerState.size+1)},partial:!0};export{a as list};
|
|
2
|
-
//# sourceMappingURL=list.js.map
|
package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Code} Code\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').ContainerState} ContainerState\n * @typedef {import('micromark-util-types').Exiter} Exiter\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factorySpace} from 'micromark-factory-space'\nimport {asciiDigit, markdownSpace} from 'micromark-util-character'\nimport {blankLine} from './blank-line.js'\nimport {thematicBreak} from './thematic-break.js'\n\n/** @type {Construct} */\nexport const list = {\n name: 'list',\n tokenize: tokenizeListStart,\n continuation: {\n tokenize: tokenizeListContinuation\n },\n exit: tokenizeListEnd\n}\n\n/** @type {Construct} */\nconst listItemPrefixWhitespaceConstruct = {\n tokenize: tokenizeListItemPrefixWhitespace,\n partial: true\n}\n\n/** @type {Construct} */\nconst indentConstruct = {\n tokenize: tokenizeIndent,\n partial: true\n}\n\n// To do: `markdown-rs` parses list items on their own and later stitches them\n// together.\n\n/**\n * @type {Tokenizer}\n * @this {TokenizeContext}\n */\nfunction tokenizeListStart(effects, ok, nok) {\n const self = this\n const tail = self.events[self.events.length - 1]\n let initialSize =\n tail && tail[1].type === 'linePrefix'\n ? tail[2].sliceSerialize(tail[1], true).length\n : 0\n let size = 0\n return start\n\n /** @type {State} */\n function start(code) {\n const kind =\n self.containerState.type ||\n (code === 42 || code === 43 || code === 45\n ? 'listUnordered'\n : 'listOrdered')\n if (\n kind === 'listUnordered'\n ? !self.containerState.marker || code === self.containerState.marker\n : asciiDigit(code)\n ) {\n if (!self.containerState.type) {\n self.containerState.type = kind\n effects.enter(kind, {\n _container: true\n })\n }\n if (kind === 'listUnordered') {\n effects.enter('listItemPrefix')\n return code === 42 || code === 45\n ? effects.check(thematicBreak, nok, atMarker)(code)\n : atMarker(code)\n }\n if (!self.interrupt || code === 49) {\n effects.enter('listItemPrefix')\n effects.enter('listItemValue')\n return inside(code)\n }\n }\n return nok(code)\n }\n\n /** @type {State} */\n function inside(code) {\n if (asciiDigit(code) && ++size < 10) {\n effects.consume(code)\n return inside\n }\n if (\n (!self.interrupt || size < 2) &&\n (self.containerState.marker\n ? code === self.containerState.marker\n : code === 41 || code === 46)\n ) {\n effects.exit('listItemValue')\n return atMarker(code)\n }\n return nok(code)\n }\n\n /**\n * @type {State}\n **/\n function atMarker(code) {\n effects.enter('listItemMarker')\n effects.consume(code)\n effects.exit('listItemMarker')\n self.containerState.marker = self.containerState.marker || code\n return effects.check(\n blankLine,\n // Can’t be empty when interrupting.\n self.interrupt ? nok : onBlank,\n effects.attempt(\n listItemPrefixWhitespaceConstruct,\n endOfPrefix,\n otherPrefix\n )\n )\n }\n\n /** @type {State} */\n function onBlank(code) {\n self.containerState.initialBlankLine = true\n initialSize++\n return endOfPrefix(code)\n }\n\n /** @type {State} */\n function otherPrefix(code) {\n if (markdownSpace(code)) {\n effects.enter('listItemPrefixWhitespace')\n effects.consume(code)\n effects.exit('listItemPrefixWhitespace')\n return endOfPrefix\n }\n return nok(code)\n }\n\n /** @type {State} */\n function endOfPrefix(code) {\n self.containerState.size =\n initialSize +\n self.sliceSerialize(effects.exit('listItemPrefix'), true).length\n return ok(code)\n }\n}\n\n/**\n * @type {Tokenizer}\n * @this {TokenizeContext}\n */\nfunction tokenizeListContinuation(effects, ok, nok) {\n const self = this\n self.containerState._closeFlow = undefined\n return effects.check(blankLine, onBlank, notBlank)\n\n /** @type {State} */\n function onBlank(code) {\n self.containerState.furtherBlankLines =\n self.containerState.furtherBlankLines ||\n self.containerState.initialBlankLine\n\n // We have a blank line.\n // Still, try to consume at most the items size.\n return factorySpace(\n effects,\n ok,\n 'listItemIndent',\n self.containerState.size + 1\n )(code)\n }\n\n /** @type {State} */\n function notBlank(code) {\n if (self.containerState.furtherBlankLines || !markdownSpace(code)) {\n self.containerState.furtherBlankLines = undefined\n self.containerState.initialBlankLine = undefined\n return notInCurrentItem(code)\n }\n self.containerState.furtherBlankLines = undefined\n self.containerState.initialBlankLine = undefined\n return effects.attempt(indentConstruct, ok, notInCurrentItem)(code)\n }\n\n /** @type {State} */\n function notInCurrentItem(code) {\n // While we do continue, we signal that the flow should be closed.\n self.containerState._closeFlow = true\n // As we’re closing flow, we’re no longer interrupting.\n self.interrupt = undefined\n // Always populated by defaults.\n\n return factorySpace(\n effects,\n effects.attempt(list, ok, nok),\n 'linePrefix',\n self.parser.constructs.disable.null.includes('codeIndented')\n ? undefined\n : 4\n )(code)\n }\n}\n\n/**\n * @type {Tokenizer}\n * @this {TokenizeContext}\n */\nfunction tokenizeIndent(effects, ok, nok) {\n const self = this\n return factorySpace(\n effects,\n afterPrefix,\n 'listItemIndent',\n self.containerState.size + 1\n )\n\n /** @type {State} */\n function afterPrefix(code) {\n const tail = self.events[self.events.length - 1]\n return tail &&\n tail[1].type === 'listItemIndent' &&\n tail[2].sliceSerialize(tail[1], true).length === self.containerState.size\n ? ok(code)\n : nok(code)\n }\n}\n\n/**\n * @type {Exiter}\n * @this {TokenizeContext}\n */\nfunction tokenizeListEnd(effects) {\n effects.exit(this.containerState.type)\n}\n\n/**\n * @type {Tokenizer}\n * @this {TokenizeContext}\n */\nfunction tokenizeListItemPrefixWhitespace(effects, ok, nok) {\n const self = this\n\n // Always populated by defaults.\n\n return factorySpace(\n effects,\n afterPrefix,\n 'listItemPrefixWhitespace',\n self.parser.constructs.disable.null.includes('codeIndented')\n ? undefined\n : 4 + 1\n )\n\n /** @type {State} */\n function afterPrefix(code) {\n const tail = self.events[self.events.length - 1]\n return !markdownSpace(code) &&\n tail &&\n tail[1].type === 'listItemPrefixWhitespace'\n ? ok(code)\n : nok(code)\n }\n}\n"],"names":["list","name","tokenize","effects","ok","nok","self","this","tail","events","length","initialSize","type","sliceSerialize","size","code","kind","containerState","marker","asciiDigit","enter","_container","check","thematicBreak","atMarker","interrupt","inside","consume","exit","blankLine","onBlank","attempt","listItemPrefixWhitespaceConstruct","endOfPrefix","otherPrefix","initialBlankLine","markdownSpace","continuation","_closeFlow","undefined","furtherBlankLines","factorySpace","notInCurrentItem","indentConstruct","parser","constructs","disable","null","includes","partial"],"mappings":"8PAgBY,MAACA,EAAO,CAClBC,KAAM,OACNC,SA0BF,SAA2BC,EAASC,EAAIC,GACtC,MAAMC,EAAOC,KACPC,EAAOF,EAAKG,OAAOH,EAAKG,OAAOC,OAAS,GAC9C,IAAIC,EACFH,GAAyB,eAAjBA,EAAK,GAAGI,KACZJ,EAAK,GAAGK,eAAeL,EAAK,IAAI,GAAME,OACtC,EACFI,EAAO,EACX,OAGA,SAAeC,GACb,MAAMC,EACJV,EAAKW,eAAeL,OACV,KAATG,GAAwB,KAATA,GAAwB,KAATA,EAC3B,gBACA,eACN,GACW,kBAATC,GACKV,EAAKW,eAAeC,QAAUH,IAAST,EAAKW,eAAeC,OAC5DC,EAAWJ,GACf,CAOA,GANKT,EAAKW,eAAeL,OACvBN,EAAKW,eAAeL,KAAOI,EAC3Bb,EAAQiB,MAAMJ,EAAM,CAClBK,YAAY,KAGH,kBAATL,EAEF,OADAb,EAAQiB,MAAM,kBACE,KAATL,GAAwB,KAATA,EAClBZ,EAAQmB,MAAMC,EAAelB,EAAKmB,EAAlCrB,CAA4CY,GAC5CS,EAAST,GAEf,IAAKT,EAAKmB,WAAsB,KAATV,EAGrB,OAFAZ,EAAQiB,MAAM,kBACdjB,EAAQiB,MAAM,iBACPM,EAAOX,EAEjB,CACD,OAAOV,EAAIU,EACZ,EAGD,SAASW,EAAOX,GACd,OAAII,EAAWJ,MAAWD,EAAO,IAC/BX,EAAQwB,QAAQZ,GACTW,KAGLpB,EAAKmB,WAAaX,EAAO,KAC1BR,EAAKW,eAAeC,OACjBH,IAAST,EAAKW,eAAeC,OACpB,KAATH,GAAwB,KAATA,IAEnBZ,EAAQyB,KAAK,iBACNJ,EAAST,IAEXV,EAAIU,EACZ,CAKD,SAASS,EAAST,GAKhB,OAJAZ,EAAQiB,M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AAKmB,eAAYc,EAGVE,EACLtC,EACAA,EAAQ4B,QAAQ/B,EAAMI,EAAIC,GAC1B,aACAC,EAAKsC,OAAOC,WAAWC,QAAQC,KAAKC,SAAS,qBACzCT,EACA,EANCE,CAOL1B,EACH,CACH,GAxLEa,KAsNF,SAAyBzB,GACvBA,EAAQyB,KAAKrB,KAAKU,eAAeL,KACnC,GApNMoB,EAAoC,CACxC9B,SAyNF,SAA0CC,EAASC,EAAIC,GACrD,MAAMC,EAAOC,KAIb,OAAOkC,EACLtC,GASF,SAAqBY,GACnB,MAAMP,EAAOF,EAAKG,OAAOH,EAAKG,OAAOC,OAAS,GAC9C,OAAQ0B,EAAcrB,IACpBP,GACiB,6BAAjBA,EAAK,GAAGI,KACNR,EAAGW,GACHV,EAAIU,EACT,GAdC,2BACAT,EAAKsC,OAAOC,WAAWC,QAAQC,KAAKC,SAAS,qBACzCT,EACA,EAYR,EA/OEU,SAAS,GAILN,EAAkB,CACtBzC,SAmLF,SAAwBC,EAASC,EAAIC,GACnC,MAAMC,EAAOC,KACb,OAAOkC,EACLtC,GAOF,SAAqBY,GACnB,MAAMP,EAAOF,EAAKG,OAAOH,EAAKG,OAAOC,OAAS,GAC9C,OAAOF,GACY,mBAAjBA,EAAK,GAAGI,MACRJ,EAAK,GAAGK,eAAeL,EAAK,IAAI,GAAME,SAAWJ,EAAKW,eAAeH,KACnEV,EAAGW,GACHV,EAAIU,EACT,GAZC,iBACAT,EAAKW,eAAeH,KAAO,EAY/B,EApMEmC,SAAS"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{factorySpace as e}from"../../micromark-factory-space/index.js";import{markdownSpace as t,markdownLineEnding as n}from"../../micromark-util-character/index.js";const i={name:"setextUnderline",tokenize:function(i,r,s){const a=this;let o;return function(e){let t,n=a.events.length;for(;n--;)if("lineEnding"!==a.events[n][1].type&&"linePrefix"!==a.events[n][1].type&&"content"!==a.events[n][1].type){t="paragraph"===a.events[n][1].type;break}if(!a.parser.lazy[a.now().line]&&(a.interrupt||t))return i.enter("setextHeadingLine"),o=e,function(e){return i.enter("setextHeadingLineSequence"),c(e)}(e);return s(e)};function c(n){return n===o?(i.consume(n),c):(i.exit("setextHeadingLineSequence"),t(n)?e(i,p,"lineSuffix")(n):p(n))}function p(e){return null===e||n(e)?(i.exit("setextHeadingLine"),r(e)):s(e)}},resolveTo:function(e,t){let n,i,r,s=e.length;for(;s--;)if("enter"===e[s][0]){if("content"===e[s][1].type){n=s;break}"paragraph"===e[s][1].type&&(i=s)}else"content"===e[s][1].type&&e.splice(s,1),r||"definition"!==e[s][1].type||(r=s);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};e[i][1].type="setextHeadingText",r?(e.splice(i,0,["enter",a,t]),e.splice(r+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[r][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};export{i as setextUnderline};
|
|
2
|
-
//# sourceMappingURL=setext-underline.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setext-underline.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Code} Code\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').Resolver} Resolver\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factorySpace} from 'micromark-factory-space'\nimport {markdownLineEnding, markdownSpace} from 'micromark-util-character'\n/** @type {Construct} */\nexport const setextUnderline = {\n name: 'setextUnderline',\n tokenize: tokenizeSetextUnderline,\n resolveTo: resolveToSetextUnderline\n}\n\n/** @type {Resolver} */\nfunction resolveToSetextUnderline(events, context) {\n // To do: resolve like `markdown-rs`.\n let index = events.length\n /** @type {number | undefined} */\n let content\n /** @type {number | undefined} */\n let text\n /** @type {number | undefined} */\n let definition\n\n // Find the opening of the content.\n // It’ll always exist: we don’t tokenize if it isn’t there.\n while (index--) {\n if (events[index][0] === 'enter') {\n if (events[index][1].type === 'content') {\n content = index\n break\n }\n if (events[index][1].type === 'paragraph') {\n text = index\n }\n }\n // Exit\n else {\n if (events[index][1].type === 'content') {\n // Remove the content end (if needed we’ll add it later)\n events.splice(index, 1)\n }\n if (!definition && events[index][1].type === 'definition') {\n definition = index\n }\n }\n }\n const heading = {\n type: 'setextHeading',\n start: Object.assign({}, events[text][1].start),\n end: Object.assign({}, events[events.length - 1][1].end)\n }\n\n // Change the paragraph to setext heading text.\n events[text][1].type = 'setextHeadingText'\n\n // If we have definitions in the content, we’ll keep on having content,\n // but we need move it.\n if (definition) {\n events.splice(text, 0, ['enter', heading, context])\n events.splice(definition + 1, 0, ['exit', events[content][1], context])\n events[content][1].end = Object.assign({}, events[definition][1].end)\n } else {\n events[content][1] = heading\n }\n\n // Add the heading exit at the end.\n events.push(['exit', heading, context])\n return events\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeSetextUnderline(effects, ok, nok) {\n const self = this\n /** @type {NonNullable<Code>} */\n let marker\n return start\n\n /**\n * At start of heading (setext) underline.\n *\n * ```markdown\n * | aa\n * > | ==\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n let index = self.events.length\n /** @type {boolean | undefined} */\n let paragraph\n // Find an opening.\n while (index--) {\n // Skip enter/exit of line ending, line prefix, and content.\n // We can now either have a definition or a paragraph.\n if (\n self.events[index][1].type !== 'lineEnding' &&\n self.events[index][1].type !== 'linePrefix' &&\n self.events[index][1].type !== 'content'\n ) {\n paragraph = self.events[index][1].type === 'paragraph'\n break\n }\n }\n\n // To do: handle lazy/pierce like `markdown-rs`.\n // To do: parse indent like `markdown-rs`.\n if (!self.parser.lazy[self.now().line] && (self.interrupt || paragraph)) {\n effects.enter('setextHeadingLine')\n marker = code\n return before(code)\n }\n return nok(code)\n }\n\n /**\n * After optional whitespace, at `-` or `=`.\n *\n * ```markdown\n * | aa\n * > | ==\n * ^\n * ```\n *\n * @type {State}\n */\n function before(code) {\n effects.enter('setextHeadingLineSequence')\n return inside(code)\n }\n\n /**\n * In sequence.\n *\n * ```markdown\n * | aa\n * > | ==\n * ^\n * ```\n *\n * @type {State}\n */\n function inside(code) {\n if (code === marker) {\n effects.consume(code)\n return inside\n }\n effects.exit('setextHeadingLineSequence')\n return markdownSpace(code)\n ? factorySpace(effects, after, 'lineSuffix')(code)\n : after(code)\n }\n\n /**\n * After sequence, after optional whitespace.\n *\n * ```markdown\n * | aa\n * > | ==\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('setextHeadingLine')\n return ok(code)\n }\n return nok(code)\n }\n}\n"],"names":["setextUnderline","name","tokenize","effects","ok","nok","self","this","marker","code","paragraph","index","events","length","type","parser","lazy","now","line","interrupt","enter","inside","before","consume","exit","markdownSpace","factorySpace","after","markdownLineEnding","resolveTo","context","content","text","definition","splice","heading","start","Object","assign","end","push"],"mappings":"sKAYY,MAACA,EAAkB,CAC7BC,KAAM,kBACNC,SAkEF,SAAiCC,EAASC,EAAIC,GAC5C,MAAMC,EAAOC,KAEb,IAAIC,EACJ,OAaA,SAAeC,GACb,IAEIC,EAFAC,EAAQL,EAAKM,OAAOC,OAIxB,KAAOF,KAGL,GACiC,eAA/BL,EAAKM,OAAOD,GAAO,GAAGG,MACS,eAA/BR,EAAKM,OAAOD,GAAO,GAAGG,MACS,YAA/BR,EAAKM,OAAOD,GAAO,GAAGG,KACtB,CACAJ,EAA2C,cAA/BJ,EAAKM,OAAOD,GAAO,GAAGG,KAClC,KACD,CAKH,IAAKR,EAAKS,OAAOC,KAAKV,EAAKW,MAAMC,QAAUZ,EAAKa,WAAaT,GAG3D,OAFAP,EAAQiB,MAAM,qBACdZ,EAASC,EAiBb,SAAgBA,GAEd,OADAN,EAAQiB,MAAM,6BACPC,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ADAvB,EAAO4B,KAAK,CAAC,OAAQL,EAASL,IACvBlB,CACT"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{factorySpace as e}from"../../micromark-factory-space/index.js";import{markdownSpace as t,markdownLineEnding as r}from"../../micromark-util-character/index.js";const n={name:"thematicBreak",tokenize:function(n,c,i){let a,o=0;return function(e){return n.enter("thematicBreak"),function(e){return a=e,m(e)}(e)};function m(e){return e===a?(n.enter("thematicBreakSequence"),u(e)):o>=3&&(null===e||r(e))?(n.exit("thematicBreak"),c(e)):i(e)}function u(r){return r===a?(n.consume(r),o++,u):(n.exit("thematicBreakSequence"),t(r)?e(n,m,"whitespace")(r):m(r))}}};export{n as thematicBreak};
|
|
2
|
-
//# sourceMappingURL=thematic-break.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"thematic-break.js","sources":["../../../../../../node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Code} Code\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factorySpace} from 'micromark-factory-space'\nimport {markdownLineEnding, markdownSpace} from 'micromark-util-character'\n/** @type {Construct} */\nexport const thematicBreak = {\n name: 'thematicBreak',\n tokenize: tokenizeThematicBreak\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeThematicBreak(effects, ok, nok) {\n let size = 0\n /** @type {NonNullable<Code>} */\n let marker\n return start\n\n /**\n * Start of thematic break.\n *\n * ```markdown\n * > | ***\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('thematicBreak')\n // To do: parse indent like `markdown-rs`.\n return before(code)\n }\n\n /**\n * After optional whitespace, at marker.\n *\n * ```markdown\n * > | ***\n * ^\n * ```\n *\n * @type {State}\n */\n function before(code) {\n marker = code\n return atBreak(code)\n }\n\n /**\n * After something, before something else.\n *\n * ```markdown\n * > | ***\n * ^\n * ```\n *\n * @type {State}\n */\n function atBreak(code) {\n if (code === marker) {\n effects.enter('thematicBreakSequence')\n return sequence(code)\n }\n if (size >= 3 && (code === null || markdownLineEnding(code))) {\n effects.exit('thematicBreak')\n return ok(code)\n }\n return nok(code)\n }\n\n /**\n * In sequence.\n *\n * ```markdown\n * > | ***\n * ^\n * ```\n *\n * @type {State}\n */\n function sequence(code) {\n if (code === marker) {\n effects.consume(code)\n size++\n return sequence\n }\n effects.exit('thematicBreakSequence')\n return markdownSpace(code)\n ? factorySpace(effects, atBreak, 'whitespace')(code)\n : atBreak(code)\n }\n}\n"],"names":["thematicBreak","name","tokenize","effects","ok","nok","marker","size","code","enter","atBreak","before","sequence","markdownLineEnding","exit","consume","markdownSpace","factorySpace"],"mappings":"sKAWY,MAACA,EAAgB,CAC3BC,KAAM,gBACNC,SAOF,SAA+BC,EAASC,EAAIC,GAC1C,IAEIC,EAFAC,EAAO,EAGX,OAYA,SAAeC,GAGb,OAFAL,EAAQM,MAAM,iBAehB,SAAgBD,GAEd,OADAF,EAASE,EACFE,EAAQF,EAChB,CAhBQG,CAAOH,EACf,EA2BD,SAASE,EAAQF,GACf,OAAIA,IAASF,GACXH,EAAQM,MAAM,yBACPG,EAASJ,IAEdD,GAAQ,IAAe,OAATC,GAAiBK,EAAmBL,KACpDL,EAAQW,KAAK,iBACNV,EAAGI,IAELH,EAAIG,EACZ,CAYD,SAASI,EAASJ,GAChB,OAAIA,IAASF,GACXH,EAAQY,QAAQP,GAChBD,IACOK,IAETT,EAAQW,KAAK,yBACNE,EAAcR,GACjBS,EAAad,EAASO,EAAS,aAA/BO,CAA6CT,GAC7CE,EAAQF,GACb,CACH"}
|
package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{asciiControl as n,markdownLineEnding as e,markdownLineEndingOrSpace as t}from"../micromark-util-character/index.js";function r(r,u,i,c,o,m,s,x,f){const l=f||Number.POSITIVE_INFINITY;let g=0;return function(e){if(60===e)return r.enter(c),r.enter(o),r.enter(m),r.consume(e),r.exit(m),h;if(null===e||32===e||41===e||n(e))return i(e);return r.enter(c),r.enter(s),r.enter(x),r.enter("chunkString",{contentType:"string"}),S(e)};function h(n){return 62===n?(r.enter(m),r.consume(n),r.exit(m),r.exit(o),r.exit(c),u):(r.enter(x),r.enter("chunkString",{contentType:"string"}),k(n))}function k(n){return 62===n?(r.exit("chunkString"),r.exit(x),h(n)):null===n||60===n||e(n)?i(n):(r.consume(n),92===n?I:k)}function I(n){return 60===n||62===n||92===n?(r.consume(n),k):k(n)}function S(e){return g||null!==e&&41!==e&&!t(e)?g<l&&40===e?(r.consume(e),g++,S):41===e?(r.consume(e),g--,S):null===e||32===e||40===e||n(e)?i(e):(r.consume(e),92===e?p:S):(r.exit("chunkString"),r.exit(x),r.exit(s),r.exit(c),u(e))}function p(n){return 40===n||41===n||92===n?(r.consume(n),S):S(n)}}export{r as factoryDestination};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/react-markdown/node_modules/micromark-factory-destination/index.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Effects} Effects\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenType} TokenType\n */\n\nimport {\n asciiControl,\n markdownLineEndingOrSpace,\n markdownLineEnding\n} from 'micromark-util-character'\n/**\n * Parse destinations.\n *\n * ###### Examples\n *\n * ```markdown\n * <a>\n * <a\\>b>\n * <a b>\n * <a)>\n * a\n * a\\)b\n * a(b)c\n * a(b)\n * ```\n *\n * @param {Effects} effects\n * Context.\n * @param {State} ok\n * State switched to when successful.\n * @param {State} nok\n * State switched to when unsuccessful.\n * @param {TokenType} type\n * Type for whole (`<a>` or `b`).\n * @param {TokenType} literalType\n * Type when enclosed (`<a>`).\n * @param {TokenType} literalMarkerType\n * Type for enclosing (`<` and `>`).\n * @param {TokenType} rawType\n * Type when not enclosed (`b`).\n * @param {TokenType} stringType\n * Type for the value (`a` or `b`).\n * @param {number | undefined} [max=Infinity]\n * Depth of nested parens (inclusive).\n * @returns {State}\n * Start state.\n */ // eslint-disable-next-line max-params\nexport function factoryDestination(\n effects,\n ok,\n nok,\n type,\n literalType,\n literalMarkerType,\n rawType,\n stringType,\n max\n) {\n const limit = max || Number.POSITIVE_INFINITY\n let balance = 0\n return start\n\n /**\n * Start of destination.\n *\n * ```markdown\n * > | <aa>\n * ^\n * > | aa\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n if (code === 60) {\n effects.enter(type)\n effects.enter(literalType)\n effects.enter(literalMarkerType)\n effects.consume(code)\n effects.exit(literalMarkerType)\n return enclosedBefore\n }\n\n // ASCII control, space, closing paren.\n if (code === null || code === 32 || code === 41 || asciiControl(code)) {\n return nok(code)\n }\n effects.enter(type)\n effects.enter(rawType)\n effects.enter(stringType)\n effects.enter('chunkString', {\n contentType: 'string'\n })\n return raw(code)\n }\n\n /**\n * After `<`, at an enclosed destination.\n *\n * ```markdown\n * > | <aa>\n * ^\n * ```\n *\n * @type {State}\n */\n function enclosedBefore(code) {\n if (code === 62) {\n effects.enter(literalMarkerType)\n effects.consume(code)\n effects.exit(literalMarkerType)\n effects.exit(literalType)\n effects.exit(type)\n return ok\n }\n effects.enter(stringType)\n effects.enter('chunkString', {\n contentType: 'string'\n })\n return enclosed(code)\n }\n\n /**\n * In enclosed destination.\n *\n * ```markdown\n * > | <aa>\n * ^\n * ```\n *\n * @type {State}\n */\n function enclosed(code) {\n if (code === 62) {\n effects.exit('chunkString')\n effects.exit(stringType)\n return enclosedBefore(code)\n }\n if (code === null || code === 60 || markdownLineEnding(code)) {\n return nok(code)\n }\n effects.consume(code)\n return code === 92 ? enclosedEscape : enclosed\n }\n\n /**\n * After `\\`, at a special character.\n *\n * ```markdown\n * > | <a\\*a>\n * ^\n * ```\n *\n * @type {State}\n */\n function enclosedEscape(code) {\n if (code === 60 || code === 62 || code === 92) {\n effects.consume(code)\n return enclosed\n }\n return enclosed(code)\n }\n\n /**\n * In raw destination.\n *\n * ```markdown\n * > | aa\n * ^\n * ```\n *\n * @type {State}\n */\n function raw(code) {\n if (\n !balance &&\n (code === null || code === 41 || markdownLineEndingOrSpace(code))\n ) {\n effects.exit('chunkString')\n effects.exit(stringType)\n effects.exit(rawType)\n effects.exit(type)\n return ok(code)\n }\n if (balance < limit && code === 40) {\n effects.consume(code)\n balance++\n return raw\n }\n if (code === 41) {\n effects.consume(code)\n balance--\n return raw\n }\n\n // ASCII control (but *not* `\\0`) and space and `(`.\n // Note: in `markdown-rs`, `\\0` exists in codes, in `micromark-js` it\n // doesn’t.\n if (code === null || code === 32 || code === 40 || asciiControl(code)) {\n return nok(code)\n }\n effects.consume(code)\n return code === 92 ? rawEscape : raw\n }\n\n /**\n * After `\\`, at special character.\n *\n * ```markdown\n * > | a\\*a\n * ^\n * ```\n *\n * @type {State}\n */\n function rawEscape(code) {\n if (code === 40 || code === 41 || code === 92) {\n effects.consume(code)\n return raw\n }\n return raw(code)\n }\n}\n"],"names":["factoryDestination","effects","ok","nok","type","literalType","literalMarkerType","rawType","stringType","max","limit","Number","POSITIVE_INFINITY","balance","code","enter","consume","exit","enclosedBefore","asciiControl","contentType","raw","enclosed","markdownLineEnding","enclosedEscape","markdownLineEndingOrSpace","rawEscape"],"mappings":"2HAgDO,SAASA,EACdC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAEA,MAAMC,EAAQD,GAAOE,OAAOC,kBAC5B,IAAIC,EAAU,EACd,OAcA,SAAeC,GACb,GAAa,KAATA,EAMF,OALAb,EAAQc,MAAMX,GACdH,EAAQc,MAAMV,GACdJ,EAAQc,MAAMT,GACdL,EAA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OAAa,KAATA,GAAwB,KAATA,GAAwB,KAATA,GAChCb,EAAQe,QAAQF,GACTO,GAEFA,EAAIP,EACZ,CACH"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{markdownLineEnding as n,markdownSpace as e}from"../micromark-util-character/index.js";function t(t,r,i,u,o,c){const s=this;let m,l=0;return function(n){return t.enter(u),t.enter(o),t.consume(n),t.exit(o),t.enter(c),x};function x(e){return l>999||null===e||91===e||93===e&&!m||94===e&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?i(e):93===e?(t.exit(c),t.enter(o),t.consume(e),t.exit(o),t.exit(u),r):n(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),x):(t.enter("chunkString",{contentType:"string"}),f(e))}function f(r){return null===r||91===r||93===r||n(r)||l++>999?(t.exit("chunkString"),x(r)):(t.consume(r),m||(m=!e(r)),92===r?p:f)}function p(n){return 91===n||92===n||93===n?(t.consume(n),l++,f):f(n)}}export{t as factoryLabel};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|