@instincthub/react-ui 0.0.4 → 0.0.6
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/README.md +30 -4
- package/dist/_virtual/_commonjsHelpers.js +1 -1
- package/dist/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/_virtual/index.js +1 -1
- package/dist/_virtual/index2.js +1 -1
- package/dist/_virtual/lodash.js +2 -0
- package/dist/_virtual/lodash.js.map +1 -0
- package/dist/_virtual/react-is.development.js +1 -1
- package/dist/_virtual/react-is.production.min.js +1 -1
- package/dist/node_modules/@tiptap/core/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/core/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-character-count/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-character-count/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-code/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-document/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-highlight/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-highlight/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-history/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-history/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-image/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-image/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-link/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-list-item/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-table/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-table/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-table-cell/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-table-cell/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-table-header/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-table-header/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-table-row/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-table-row/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-task-item/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-task-item/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-task-list/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-task-list/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/extension-text/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/react/dist/index.js +3 -3
- package/dist/node_modules/@tiptap/react/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +1 -1
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js.map +1 -1
- package/dist/node_modules/attr-accept/dist/es/index.js +1 -1
- package/dist/node_modules/attr-accept/dist/es/index.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +1 -1
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +1 -1
- package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/format/formatters.js +1 -1
- package/dist/node_modules/date-fns/_lib/format/formatters.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +1 -1
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +1 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +1 -1
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +1 -1
- package/dist/node_modules/date-fns/_lib/normalizeDates.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +1 -1
- package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +1 -1
- package/dist/node_modules/date-fns/constants.js +1 -1
- package/dist/node_modules/date-fns/constants.js.map +1 -1
- package/dist/node_modules/date-fns/constructFrom.js +1 -1
- package/dist/node_modules/date-fns/constructFrom.js.map +1 -1
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +1 -1
- package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +1 -1
- package/dist/node_modules/date-fns/format.js +1 -1
- package/dist/node_modules/date-fns/format.js.map +1 -1
- package/dist/node_modules/date-fns/getDayOfYear.js +1 -1
- package/dist/node_modules/date-fns/getDayOfYear.js.map +1 -1
- package/dist/node_modules/date-fns/getISOWeek.js +1 -1
- package/dist/node_modules/date-fns/getISOWeek.js.map +1 -1
- package/dist/node_modules/date-fns/getISOWeekYear.js +1 -1
- package/dist/node_modules/date-fns/getISOWeekYear.js.map +1 -1
- package/dist/node_modules/date-fns/getWeek.js +1 -1
- package/dist/node_modules/date-fns/getWeek.js.map +1 -1
- package/dist/node_modules/date-fns/getWeekYear.js +1 -1
- package/dist/node_modules/date-fns/getWeekYear.js.map +1 -1
- package/dist/node_modules/date-fns/isDate.js +1 -1
- package/dist/node_modules/date-fns/isDate.js.map +1 -1
- package/dist/node_modules/date-fns/isValid.js +1 -1
- package/dist/node_modules/date-fns/isValid.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US.js +1 -1
- package/dist/node_modules/date-fns/locale/en-US.js.map +1 -1
- package/dist/node_modules/date-fns/startOfDay.js +1 -1
- package/dist/node_modules/date-fns/startOfDay.js.map +1 -1
- package/dist/node_modules/date-fns/startOfISOWeek.js +1 -1
- package/dist/node_modules/date-fns/startOfISOWeek.js.map +1 -1
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +1 -1
- package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +1 -1
- package/dist/node_modules/date-fns/startOfWeek.js +1 -1
- package/dist/node_modules/date-fns/startOfWeek.js.map +1 -1
- package/dist/node_modules/date-fns/startOfWeekYear.js +1 -1
- package/dist/node_modules/date-fns/startOfWeekYear.js.map +1 -1
- package/dist/node_modules/date-fns/startOfYear.js +1 -1
- package/dist/node_modules/date-fns/startOfYear.js.map +1 -1
- package/dist/node_modules/date-fns/toDate.js +1 -1
- package/dist/node_modules/date-fns/toDate.js.map +1 -1
- package/dist/node_modules/dompurify/dist/purify.es.mjs.js +1 -2
- package/dist/node_modules/dompurify/dist/purify.es.mjs.js.map +1 -1
- package/dist/node_modules/file-selector/dist/es2015/file-selector.js +1 -1
- package/dist/node_modules/file-selector/dist/es2015/file-selector.js.map +1 -1
- package/dist/node_modules/file-selector/dist/es2015/file.js +1 -1
- package/dist/node_modules/file-selector/dist/es2015/file.js.map +1 -1
- package/dist/node_modules/html2canvas/dist/html2canvas.esm.js +1 -2
- package/dist/node_modules/html2canvas/dist/html2canvas.esm.js.map +1 -1
- package/dist/node_modules/linkifyjs/dist/linkify.es.js +1 -1
- package/dist/node_modules/linkifyjs/dist/linkify.es.js.map +1 -1
- package/dist/node_modules/lodash/lodash.js +10 -0
- package/dist/node_modules/lodash/lodash.js.map +1 -0
- package/dist/node_modules/marked/lib/marked.esm.js +1 -1
- package/dist/node_modules/marked/lib/marked.esm.js.map +1 -1
- package/dist/node_modules/object-assign/index.js +1 -2
- package/dist/node_modules/object-assign/index.js.map +1 -1
- package/dist/node_modules/orderedmap/dist/index.js +1 -1
- package/dist/node_modules/orderedmap/dist/index.js.map +1 -1
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -1
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/index.js.map +1 -1
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -1
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
- package/dist/node_modules/prop-types/lib/has.js +1 -1
- package/dist/node_modules/prop-types/lib/has.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +2 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +2 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
- package/dist/node_modules/prosemirror-commands/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-commands/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-history/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-history/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-keymap/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-keymap/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-model/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-model/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-schema-list/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-state/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-state/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-tables/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-tables/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-transform/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-transform/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-view/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-view/dist/index.js.map +1 -1
- package/dist/node_modules/react-dropzone/dist/es/index.js +1 -1
- package/dist/node_modules/react-dropzone/dist/es/index.js.map +1 -1
- package/dist/node_modules/react-dropzone/dist/es/utils/index.js +1 -1
- package/dist/node_modules/react-dropzone/dist/es/utils/index.js.map +1 -1
- package/dist/node_modules/rope-sequence/dist/index.js +1 -1
- package/dist/node_modules/rope-sequence/dist/index.js.map +1 -1
- package/dist/node_modules/tslib/tslib.es6.js +1 -1
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/node_modules/w3c-keyname/index.js +1 -1
- package/dist/node_modules/w3c-keyname/index.js.map +1 -1
- package/dist/node_modules/xlsx/xlsx.mjs.js +4 -0
- package/dist/node_modules/xlsx/xlsx.mjs.js.map +1 -0
- package/dist/src/assets/css/animate.css +35 -0
- package/dist/src/assets/css/bootstrap/borders.css +577 -0
- package/dist/src/assets/css/bootstrap/color-classes.css +677 -0
- package/dist/src/assets/css/bootstrap/display.css +333 -0
- package/dist/src/assets/css/bootstrap/font-size.css +162 -0
- package/dist/src/assets/css/bootstrap/margin.css +525 -0
- package/dist/src/assets/css/bootstrap/overflow.css +73 -0
- package/dist/src/assets/css/bootstrap/position.css +206 -0
- package/dist/src/assets/css/bootstrap/readme/borders.md +342 -0
- package/dist/src/assets/css/bootstrap/readme/color-classes.md +407 -0
- package/dist/src/assets/css/bootstrap/readme/display.md +421 -0
- package/dist/src/assets/css/bootstrap/readme/font-size.md +256 -0
- package/dist/src/assets/css/bootstrap/readme/overflow.md +97 -0
- package/dist/src/assets/css/bootstrap/readme/width-height-padding.md +380 -0
- package/dist/src/assets/css/bootstrap/style.css +8 -0
- package/dist/src/assets/css/bootstrap/width-height-padding.css +785 -0
- package/dist/src/assets/css/components/ComponentLists.css +90 -0
- package/dist/src/assets/css/cursors/style.css +271 -0
- package/dist/src/assets/css/forms/action-call-back-dropdown.css +127 -0
- package/dist/src/assets/css/forms/download-as-excel.css +13 -0
- package/dist/src/assets/css/forms/forms-index.css +12 -0
- package/dist/src/assets/css/forms/input-fields.css +819 -111
- package/dist/src/assets/css/forms/radio-button.css +198 -0
- package/dist/src/assets/css/forms/search-field-db.css +68 -0
- package/dist/src/assets/css/forms/search-objects-from-db.css +182 -0
- package/dist/src/assets/css/forms/submit-button.css +181 -0
- package/dist/src/assets/css/forms/table-data-list.css +134 -0
- package/dist/src/assets/css/forms/thead-sort-btn.css +23 -0
- package/dist/src/assets/css/forms/toggle.css +140 -0
- package/dist/src/assets/css/invoice.css +0 -1
- package/dist/src/assets/css/main.css +31 -16
- package/dist/src/assets/css/modals/modal-updates.css +209 -0
- package/dist/src/assets/css/modals/modal.css +513 -0
- package/dist/src/assets/css/modals/style.css +2 -0
- package/dist/src/assets/css/navbar/breadcrumb.css +96 -0
- package/dist/src/assets/css/navbar/channel-list-avatar.css +78 -0
- package/dist/src/assets/css/navbar/menu-dropdown.css +230 -0
- package/dist/src/assets/css/navbar/navbar-index.css +5 -0
- package/dist/src/assets/css/navbar/responsive-navbar.css +549 -0
- package/dist/src/assets/css/navbar/sidenav.css +628 -0
- package/dist/src/assets/css/status/error-state.css +57 -0
- package/dist/src/assets/css/status/not-found.css +50 -0
- package/dist/src/assets/css/styles.css +26 -10
- package/dist/src/assets/css/tabs/main.css +266 -0
- package/dist/src/assets/css/tabs/style.css +1 -0
- package/dist/src/assets/css/tag-only-selectors.css +24 -4
- package/dist/src/assets/css/ui/action.css +251 -0
- package/dist/src/assets/css/ui/badge.css +202 -0
- package/dist/src/assets/css/ui/card.css +348 -0
- package/dist/src/assets/css/ui/charts.css +454 -0
- package/dist/src/assets/css/ui/color-picker.css +184 -0
- package/dist/src/assets/css/ui/content-viewer.css +1 -1
- package/dist/src/assets/css/ui/create-button.css +140 -0
- package/dist/src/assets/css/ui/dropdown-styles.css +207 -0
- package/dist/src/assets/css/ui/pagination.css +359 -0
- package/dist/src/assets/css/ui/tables.css +759 -0
- package/dist/src/assets/css/ui/ui-index.css +15 -0
- package/dist/src/components/auth/ClientDetector.js +2 -0
- package/dist/src/components/auth/ClientDetector.js.map +1 -0
- package/dist/src/components/auth/ClientOnly.js +2 -0
- package/dist/src/components/auth/ClientOnly.js.map +1 -0
- package/dist/src/components/auth/FromInstinctHub.js +2 -0
- package/dist/src/components/auth/FromInstinctHub.js.map +1 -0
- package/dist/src/components/auth/IsUsernameEmailTaken.js +2 -0
- package/dist/src/components/auth/IsUsernameEmailTaken.js.map +1 -0
- package/dist/src/components/auth/LoginForm.js +2 -0
- package/dist/src/components/auth/LoginForm.js.map +1 -0
- package/dist/src/components/auth/PasswordsMatch.js +2 -0
- package/dist/src/components/auth/PasswordsMatch.js.map +1 -0
- package/dist/src/components/auth/ReactClientProviders.js +2 -0
- package/dist/src/components/auth/ReactClientProviders.js.map +1 -0
- package/dist/src/components/cursors/Cursor.js +2 -0
- package/dist/src/components/cursors/Cursor.js.map +1 -0
- package/dist/src/components/cursors/CursorContext.js +2 -0
- package/dist/src/components/cursors/CursorContext.js.map +1 -0
- package/dist/src/components/cursors/CursorControlDemo.js +2 -0
- package/dist/src/components/cursors/CursorControlDemo.js.map +1 -0
- package/dist/src/components/cursors/MagneticButton.js +2 -0
- package/dist/src/components/cursors/MagneticButton.js.map +1 -0
- package/dist/src/components/cursors/index.js +2 -0
- package/dist/src/components/cursors/index.js.map +1 -0
- package/dist/src/components/cursors/useCursorInteraction.js +2 -0
- package/dist/src/components/cursors/useCursorInteraction.js.map +1 -0
- package/dist/src/components/forms/ActionCallbackDropdown.js +2 -0
- package/dist/src/components/forms/ActionCallbackDropdown.js.map +1 -0
- package/dist/src/components/forms/ActionDropdown.js +1 -1
- package/dist/src/components/forms/AnimatedBox.js +1 -1
- package/dist/src/components/forms/CheckBoxes.js +2 -0
- package/dist/src/components/forms/CheckBoxes.js.map +1 -0
- package/dist/src/components/forms/CheckboxesField.js +2 -0
- package/dist/src/components/forms/CheckboxesField.js.map +1 -0
- package/dist/src/components/forms/ChipsInput.js +2 -0
- package/dist/src/components/forms/ChipsInput.js.map +1 -0
- package/dist/src/components/forms/DateInput.js +1 -1
- package/dist/src/components/forms/DateInput.js.map +1 -1
- package/dist/src/components/forms/DateInputPicker.js +2 -0
- package/dist/src/components/forms/DateInputPicker.js.map +1 -0
- package/dist/src/components/forms/DateTimeInput.js +1 -1
- package/dist/src/components/forms/DateTimeInput.js.map +1 -1
- package/dist/src/components/forms/DownloadAsExcel.js +2 -0
- package/dist/src/components/forms/DownloadAsExcel.js.map +1 -0
- package/dist/src/components/forms/DropFile.js +1 -1
- package/dist/src/components/forms/DropFile.js.map +1 -1
- package/dist/src/components/forms/EmailList.js +1 -1
- package/dist/src/components/forms/EmailList.js.map +1 -1
- package/dist/src/components/forms/FileField.js +2 -0
- package/dist/src/components/forms/FileField.js.map +1 -0
- package/dist/src/components/forms/FilterArray.js +1 -1
- package/dist/src/components/forms/FilterArray.js.map +1 -1
- package/dist/src/components/forms/FilterBy.js +1 -1
- package/dist/src/components/forms/FilterObjects.js +1 -1
- package/dist/src/components/forms/FilterObjects.js.map +1 -1
- package/dist/src/components/forms/FormError.js +1 -1
- package/dist/src/components/forms/FormError.js.map +1 -1
- package/dist/src/components/forms/HandleError.js +1 -1
- package/dist/src/components/forms/HandleError.js.map +1 -1
- package/dist/src/components/forms/InputAmount.js +2 -0
- package/dist/src/components/forms/InputAmount.js.map +1 -0
- package/dist/src/components/forms/InputNumber.js +2 -0
- package/dist/src/components/forms/InputNumber.js.map +1 -0
- package/dist/src/components/forms/InputText.js +2 -0
- package/dist/src/components/forms/InputText.js.map +1 -0
- package/dist/src/components/forms/InputTextarea.js +2 -0
- package/dist/src/components/forms/InputTextarea.js.map +1 -0
- package/dist/src/components/forms/Logout.js +1 -1
- package/dist/src/components/forms/Logout.js.map +1 -1
- package/dist/src/components/forms/MessageDisplay.js +1 -1
- package/dist/src/components/forms/MessageDisplay.js.map +1 -1
- package/dist/src/components/forms/MultipleEmail.js +1 -1
- package/dist/src/components/forms/MultipleEmail.js.map +1 -1
- package/dist/src/components/forms/PageLoading.js +1 -1
- package/dist/src/components/forms/PageLoading.js.map +1 -1
- package/dist/src/components/forms/PasswordField.js +1 -1
- package/dist/src/components/forms/PhoneNumberInput.js +1 -1
- package/dist/src/components/forms/PhoneNumberInput.js.map +1 -1
- package/dist/src/components/forms/RadioField.js +1 -1
- package/dist/src/components/forms/RadioField.js.map +1 -1
- package/dist/src/components/forms/RadioSimple.js +1 -1
- package/dist/src/components/forms/RadioSimple.js.map +1 -1
- package/dist/src/components/forms/ReactTimeAgo.js +1 -1
- package/dist/src/components/forms/ReactTimeAgo.js.map +1 -1
- package/dist/src/components/forms/ReadTermsAndCondition.js +1 -1
- package/dist/src/components/forms/ReadTermsAndCondition.js.map +1 -1
- package/dist/src/components/forms/SearchField.js +1 -1
- package/dist/src/components/forms/SearchField.js.map +1 -1
- package/dist/src/components/forms/SearchFieldDB.js +2 -0
- package/dist/src/components/forms/SearchFieldDB.js.map +1 -0
- package/dist/src/components/forms/SearchObjectsFromDB.js +2 -0
- package/dist/src/components/forms/SearchObjectsFromDB.js.map +1 -0
- package/dist/src/components/forms/StepProgressBar.js +1 -1
- package/dist/src/components/forms/StepProgressBar.js.map +1 -1
- package/dist/src/components/forms/SubmitButton.js +2 -0
- package/dist/src/components/forms/SubmitButton.js.map +1 -0
- package/dist/src/components/forms/TBodyNoData.js +2 -0
- package/dist/src/components/forms/TBodyNoData.js.map +1 -0
- package/dist/src/components/forms/THeadSortBtn.js +2 -0
- package/dist/src/components/forms/THeadSortBtn.js.map +1 -0
- package/dist/src/components/forms/THeadSortList.js +2 -0
- package/dist/src/components/forms/THeadSortList.js.map +1 -0
- package/dist/src/components/forms/Tables.js +1 -1
- package/dist/src/components/forms/Tables.js.map +1 -1
- package/dist/src/components/forms/TextArea.js +1 -1
- package/dist/src/components/forms/TextArea.js.map +1 -1
- package/dist/src/components/forms/TextField.js +1 -1
- package/dist/src/components/forms/ToggleButton.js +2 -0
- package/dist/src/components/forms/ToggleButton.js.map +1 -0
- package/dist/src/components/forms/Tooltip.js +1 -1
- package/dist/src/components/forms/Tooltip.js.map +1 -1
- package/dist/src/components/forms/UnsplashRandomImage.js +1 -1
- package/dist/src/components/forms/UnsplashRandomImage.js.map +1 -1
- package/dist/src/components/forms/radio-btn/RadioButton.js +2 -0
- package/dist/src/components/forms/radio-btn/RadioButton.js.map +1 -0
- package/dist/src/components/forms/radio-btn/RadioGroup.js +2 -0
- package/dist/src/components/forms/radio-btn/RadioGroup.js.map +1 -0
- package/dist/src/components/forms/uploads/FileUploader.js +1 -1
- package/dist/src/components/forms/uploads/FileUploader.js.map +1 -1
- package/dist/src/components/forms/uploads/IhubFileUploader.js +1 -1
- package/dist/src/components/lib/auth/actions.js +1 -1
- package/dist/src/components/lib/auth/dbRequestst.js +1 -1
- package/dist/src/components/lib/auth/dbRequestst.js.map +1 -1
- package/dist/src/components/lib/charts.js +2 -0
- package/dist/src/components/lib/charts.js.map +1 -0
- package/dist/src/components/lib/convertArrayToObject.js +2 -0
- package/dist/src/components/lib/convertArrayToObject.js.map +1 -0
- package/dist/src/components/lib/createSubscription.js +2 -0
- package/dist/src/components/lib/createSubscription.js.map +1 -0
- package/dist/src/components/lib/elementIsVisibleInViewport.js +2 -0
- package/dist/src/components/lib/elementIsVisibleInViewport.js.map +1 -0
- package/dist/src/components/lib/fileToBase64.js +2 -0
- package/dist/src/components/lib/fileToBase64.js.map +1 -0
- package/dist/src/components/lib/formError.js +2 -0
- package/dist/src/components/lib/formError.js.map +1 -0
- package/dist/src/components/lib/format.js +1 -1
- package/dist/src/components/lib/format.js.map +1 -1
- package/dist/src/components/lib/getPriceObjects.js +2 -0
- package/dist/src/components/lib/getPriceObjects.js.map +1 -0
- package/dist/src/components/lib/helpFunction.js +1 -1
- package/dist/src/components/lib/helpFunction.js.map +1 -1
- package/dist/src/components/lib/index.js +1 -1
- package/dist/src/components/lib/index.js.map +1 -1
- package/dist/src/components/lib/json/accounts.js +1 -1
- package/dist/src/components/lib/json/accounts.js.map +1 -1
- package/dist/src/components/lib/json/countryObjects.js +1 -1
- package/dist/src/components/lib/json/countryObjects.js.map +1 -1
- package/dist/src/components/lib/json/unsplashDefaultObject.js +1 -1
- package/dist/src/components/lib/json/unsplashDefaultObject.js.map +1 -1
- package/dist/src/components/lib/modals/modals.js +2 -0
- package/dist/src/components/lib/modals/modals.js.map +1 -0
- package/dist/src/components/lib/modals/openConfirmDelete.js +2 -0
- package/dist/src/components/lib/modals/openConfirmDelete.js.map +1 -0
- package/dist/src/components/lib/oauth_json.js +1 -1
- package/dist/src/components/lib/oauth_json.js.map +1 -1
- package/dist/src/components/lib/paystack.js +1 -1
- package/dist/src/components/lib/paystack.js.map +1 -1
- package/dist/src/components/lib/permissions.js +1 -1
- package/dist/src/components/lib/permissions.js.map +1 -1
- package/dist/src/components/lib/redux/index.js +2 -0
- package/dist/src/components/lib/redux/index.js.map +1 -0
- package/dist/src/components/lib/redux/middleware.js +2 -0
- package/dist/src/components/lib/redux/middleware.js.map +1 -0
- package/dist/src/components/lib/redux/rootReducer.js +2 -0
- package/dist/src/components/lib/redux/rootReducer.js.map +1 -0
- package/dist/src/components/lib/redux/slices/authSlice/channelCallbackUrl.js +2 -0
- package/dist/src/components/lib/redux/slices/authSlice/channelCallbackUrl.js.map +1 -0
- package/dist/src/components/lib/redux/slices/authSlice/selectors.js +2 -0
- package/dist/src/components/lib/redux/slices/authSlice/selectors.js.map +1 -0
- package/dist/src/components/lib/redux/slices/channelSlice/activeChannel.js +2 -0
- package/dist/src/components/lib/redux/slices/channelSlice/activeChannel.js.map +1 -0
- package/dist/src/components/lib/redux/slices/channelSlice/channelDetails.js +2 -0
- package/dist/src/components/lib/redux/slices/channelSlice/channelDetails.js.map +1 -0
- package/dist/src/components/lib/redux/slices/channelSlice/channelHandle.js +2 -0
- package/dist/src/components/lib/redux/slices/channelSlice/channelHandle.js.map +1 -0
- package/dist/src/components/lib/redux/slices/channelSlice/instructorChannelList.js +2 -0
- package/dist/src/components/lib/redux/slices/channelSlice/instructorChannelList.js.map +1 -0
- package/dist/src/components/lib/redux/slices/channelSlice/selectors.js +2 -0
- package/dist/src/components/lib/redux/slices/channelSlice/selectors.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseDetails.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseDetails.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseFilterDuration.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseFilterDuration.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseFilterLevel.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseFilterLevel.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseFilterSubject.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseFilterSubject.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseModules.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseModules.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseOverview.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseOverview.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseSearch.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/courseSearch.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/selectors.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/selectors.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/stepContent.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/stepContent.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/stepQuestions.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/stepQuestions.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/videoTimestamp.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/videoTimestamp.js.map +1 -0
- package/dist/src/components/lib/redux/slices/courseSlice/videoTimestampObject.js +2 -0
- package/dist/src/components/lib/redux/slices/courseSlice/videoTimestampObject.js.map +1 -0
- package/dist/src/components/lib/redux/slices/generics/arraySlice.js +2 -0
- package/dist/src/components/lib/redux/slices/generics/arraySlice.js.map +1 -0
- package/dist/src/components/lib/redux/slices/generics/objectSlice.js +2 -0
- package/dist/src/components/lib/redux/slices/generics/objectSlice.js.map +1 -0
- package/dist/src/components/lib/redux/slices/generics/selectors.js +2 -0
- package/dist/src/components/lib/redux/slices/generics/selectors.js.map +1 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/IPAdress.js +2 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/IPAdress.js.map +1 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/appToggle.js +2 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/appToggle.js.map +1 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/confirmDelete.js +2 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/confirmDelete.js.map +1 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/selectors.js +2 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/selectors.js.map +1 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/statusMessageState.js +2 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/statusMessageState.js.map +1 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/toggleCreateCohort.js +2 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/toggleCreateCohort.js.map +1 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/toggleCreateCourse.js +2 -0
- package/dist/src/components/lib/redux/slices/navigationSlice/toggleCreateCourse.js.map +1 -0
- package/dist/src/components/lib/redux/store.js +2 -0
- package/dist/src/components/lib/redux/store.js.map +1 -0
- package/dist/src/components/lib/roles.js +2 -0
- package/dist/src/components/lib/roles.js.map +1 -0
- package/dist/src/components/lib/utils.js +1 -1
- package/dist/src/components/lib/utils.js.map +1 -1
- package/dist/src/components/navbar/Breadcrumb.js +2 -0
- package/dist/src/components/navbar/Breadcrumb.js.map +1 -0
- package/dist/src/components/navbar/ChannelListAvatar.js +2 -0
- package/dist/src/components/navbar/ChannelListAvatar.js.map +1 -0
- package/dist/src/components/navbar/MenuDropdown.js +2 -0
- package/dist/src/components/navbar/MenuDropdown.js.map +1 -0
- package/dist/src/components/navbar/ResponsiveNavbar.js +2 -0
- package/dist/src/components/navbar/ResponsiveNavbar.js.map +1 -0
- package/dist/src/components/navbar/SideNavbar.js +2 -0
- package/dist/src/components/navbar/SideNavbar.js.map +1 -0
- package/dist/src/components/status/CopyToClipBoard.js +2 -0
- package/dist/src/components/status/CopyToClipBoard.js.map +1 -0
- package/dist/src/components/status/DeleteConfirmationModal.js +2 -0
- package/dist/src/components/status/DeleteConfirmationModal.js.map +1 -0
- package/dist/src/components/status/Error500.js +2 -0
- package/dist/src/components/status/Error500.js.map +1 -0
- package/dist/src/components/status/ErrorState.js +2 -0
- package/dist/src/components/status/ErrorState.js.map +1 -0
- package/dist/src/components/status/ModalExamples.js +2 -0
- package/dist/src/components/status/ModalExamples.js.map +1 -0
- package/dist/src/components/status/MultiPurposeModal.js +2 -0
- package/dist/src/components/status/MultiPurposeModal.js.map +1 -0
- package/dist/src/components/status/NotFound.js +2 -0
- package/dist/src/components/status/NotFound.js.map +1 -0
- package/dist/src/components/status/ReactTimeTracker.js +2 -0
- package/dist/src/components/status/ReactTimeTracker.js.map +1 -0
- package/dist/src/components/status/SessionHandleProvider.js +2 -0
- package/dist/src/components/status/SessionHandleProvider.js.map +1 -0
- package/dist/src/components/status/Unauthorized.js +2 -0
- package/dist/src/components/status/Unauthorized.js.map +1 -0
- package/dist/src/components/tabs/TabContent.js +2 -0
- package/dist/src/components/tabs/TabContent.js.map +1 -0
- package/dist/src/components/tabs/Tabs.js +2 -0
- package/dist/src/components/tabs/Tabs.js.map +1 -0
- package/dist/src/components/tabs/VerticalTabs.js +2 -0
- package/dist/src/components/tabs/VerticalTabs.js.map +1 -0
- package/dist/src/components/theme/ChangeStyleVariable.js +1 -1
- package/dist/src/components/theme/DarkModeProvider.js +1 -1
- package/dist/src/components/theme/LoadingAnimate.js +1 -1
- package/dist/src/components/theme/LoadingAnimate.js.map +1 -1
- package/dist/src/components/theme/SessionProviders.js +1 -1
- package/dist/src/components/theme/signout/SessionExpiresLogout.js +1 -1
- package/dist/src/components/theme/signout/SignOutSession.js +1 -1
- package/dist/src/components/ui/Action.js +2 -0
- package/dist/src/components/ui/Action.js.map +1 -0
- package/dist/src/components/ui/Badge.js +2 -0
- package/dist/src/components/ui/Badge.js.map +1 -0
- package/dist/src/components/ui/ColorPicker.js +2 -0
- package/dist/src/components/ui/ColorPicker.js.map +1 -0
- package/dist/src/components/ui/ComponentLists.js +2 -0
- package/dist/src/components/ui/ComponentLists.js.map +1 -0
- package/dist/src/components/ui/Dropdown.js +2 -0
- package/dist/src/components/ui/Dropdown.js.map +1 -0
- package/dist/src/components/ui/OrDivider.js +2 -0
- package/dist/src/components/ui/OrDivider.js.map +1 -0
- package/dist/src/components/ui/cards/Card.js +2 -0
- package/dist/src/components/ui/cards/Card.js.map +1 -0
- package/dist/src/components/ui/cards/CardGrid.js +2 -0
- package/dist/src/components/ui/cards/CardGrid.js.map +1 -0
- package/dist/src/components/ui/cards/CardList.js +2 -0
- package/dist/src/components/ui/cards/CardList.js.map +1 -0
- package/dist/src/components/ui/cards/FeatureCard.js +2 -0
- package/dist/src/components/ui/cards/FeatureCard.js.map +1 -0
- package/dist/src/components/ui/cards/HorizontalCard.js +2 -0
- package/dist/src/components/ui/cards/HorizontalCard.js.map +1 -0
- package/dist/src/components/ui/cards/MediaCard.js +2 -0
- package/dist/src/components/ui/cards/MediaCard.js.map +1 -0
- package/dist/src/components/ui/cards/PricingCard.js +2 -0
- package/dist/src/components/ui/cards/PricingCard.js.map +1 -0
- package/dist/src/components/ui/cards/ProfileCard.js +2 -0
- package/dist/src/components/ui/cards/ProfileCard.js.map +1 -0
- package/dist/src/components/ui/charts/ChartConfigurator.js +2 -0
- package/dist/src/components/ui/charts/ChartConfigurator.js.map +1 -0
- package/dist/src/components/ui/charts/InstinctHubChart.js +2 -0
- package/dist/src/components/ui/charts/InstinctHubChart.js.map +1 -0
- package/dist/src/components/ui/charts/InstinctHubChartDashboard.js +2 -0
- package/dist/src/components/ui/charts/InstinctHubChartDashboard.js.map +1 -0
- package/dist/src/components/ui/create-button/CreateButton.js +2 -0
- package/dist/src/components/ui/create-button/CreateButton.js.map +1 -0
- package/dist/src/components/ui/create-button/CreateButtonExample.js +2 -0
- package/dist/src/components/ui/create-button/CreateButtonExample.js.map +1 -0
- package/dist/src/components/ui/dialogs/Dialog.js +2 -0
- package/dist/src/components/ui/dialogs/Dialog.js.map +1 -0
- package/dist/src/components/ui/editor/CustomTextEditor.js +1 -1
- package/dist/src/components/ui/editor/MenuBar.js +1 -1
- package/dist/src/components/ui/images/RandomGradientImage.js +2 -0
- package/dist/src/components/ui/images/RandomGradientImage.js.map +1 -0
- package/dist/src/components/ui/pagination/Pagination.js +2 -0
- package/dist/src/components/ui/pagination/Pagination.js.map +1 -0
- package/dist/src/components/ui/pagination/PaginationDemo.js +2 -0
- package/dist/src/components/ui/pagination/PaginationDemo.js.map +1 -0
- package/dist/src/components/ui/tables/IHubTable.js +2 -0
- package/dist/src/components/ui/tables/IHubTable.js.map +1 -0
- package/dist/src/components/ui/tables/IHubTableServer.js +2 -0
- package/dist/src/components/ui/tables/IHubTableServer.js.map +1 -0
- package/dist/src/components/ui/viewer/CodeDisplay.js +1 -1
- package/dist/src/components/ui/viewer/ContentViewOrEdit.js +1 -1
- package/dist/src/components/ui/viewer/ContentViewer.js +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/ssr.js +2 -0
- package/dist/src/ssr.js.map +1 -0
- package/dist/src/types/components/auth/ClientDetector.d.ts +23 -0
- package/dist/src/types/components/auth/ClientOnly.d.ts +31 -0
- package/dist/src/types/components/auth/FromInstinctHub.d.ts +15 -0
- package/dist/src/types/components/auth/IsUsernameEmailTaken.d.ts +5 -5
- package/dist/src/types/components/auth/LoginForm.d.ts +32 -0
- package/dist/src/types/components/auth/PasswordsMatch.d.ts +2 -0
- package/dist/src/types/components/auth/ReactClientProviders.d.ts +33 -0
- package/dist/src/types/components/auth/index.d.ts +12 -0
- package/dist/src/types/components/auth/useClientSide.d.ts +17 -0
- package/dist/src/types/components/auth/useExternalData.d.ts +18 -0
- package/dist/src/types/components/auth/useFormattedDate.d.ts +27 -0
- package/dist/src/types/components/auth/useStableRandom.d.ts +18 -0
- package/dist/src/types/components/cursors/Cursor.d.ts +38 -0
- package/dist/src/types/components/cursors/CursorContext.d.ts +56 -0
- package/dist/src/types/components/cursors/CursorControlDemo.d.ts +1 -0
- package/dist/src/types/components/cursors/MagneticButton.d.ts +39 -0
- package/dist/src/types/components/cursors/index.d.ts +20 -0
- package/dist/src/types/components/cursors/useCursorInteraction.d.ts +63 -0
- package/dist/src/types/components/forms/ActionCallbackDropdown.d.ts +74 -0
- package/dist/src/types/components/forms/CheckBoxes.d.ts +34 -5
- package/dist/src/types/components/forms/CheckboxesField.d.ts +61 -0
- package/dist/src/types/components/forms/ChipsInput.d.ts +71 -0
- package/dist/src/types/components/forms/DateInputPicker.d.ts +7 -0
- package/dist/src/types/components/forms/DownloadAsExcel.d.ts +22 -0
- package/dist/src/types/components/forms/FileField.d.ts +8 -4
- package/dist/src/types/components/forms/FilterArray.d.ts +39 -9
- package/dist/src/types/components/forms/FilterObjects.d.ts +56 -17
- package/dist/src/types/components/forms/FormError.d.ts +8 -3
- package/dist/src/types/components/forms/InputAmount.d.ts +49 -0
- package/dist/src/types/components/forms/InputNumber.d.ts +46 -0
- package/dist/src/types/components/forms/InputText.d.ts +97 -0
- package/dist/src/types/components/forms/InputTextarea.d.ts +47 -0
- package/dist/src/types/components/forms/PasswordField.d.ts +48 -7
- package/dist/src/types/components/forms/PhoneNumberInput.d.ts +22 -0
- package/dist/src/types/components/forms/RadioField.d.ts +37 -4
- package/dist/src/types/components/forms/RadioSimple.d.ts +32 -5
- package/dist/src/types/components/forms/RangeRadio.d.ts +6 -4
- package/dist/src/types/components/forms/SearchField.d.ts +16 -0
- package/dist/src/types/components/forms/SearchFieldDB.d.ts +54 -0
- package/dist/src/types/components/forms/SearchObjectsFromDB.d.ts +50 -0
- package/dist/src/types/components/forms/SubmitButton.d.ts +29 -0
- package/dist/src/types/components/forms/TBodyNoData.d.ts +3 -0
- package/dist/src/types/components/forms/THeadSortBtn.d.ts +25 -0
- package/dist/src/types/components/forms/THeadSortList.d.ts +76 -0
- package/dist/src/types/components/forms/TextArea.d.ts +42 -6
- package/dist/src/types/components/forms/TextField.d.ts +37 -12
- package/dist/src/types/components/forms/ToggleButton.d.ts +29 -0
- package/dist/src/types/components/forms/index.d.ts +49 -0
- package/dist/src/types/components/forms/radio-btn/RadioButton.d.ts +57 -0
- package/dist/src/types/components/forms/radio-btn/RadioGroup.d.ts +48 -0
- package/dist/src/types/components/forms/uploads/IhubFileUploader.d.ts +2 -43
- package/dist/src/types/components/lib/auth/dbRequestst.d.ts +11 -0
- package/dist/src/types/components/lib/charts.d.ts +53 -0
- package/dist/src/types/components/lib/convertArrayToObject.d.ts +30 -0
- package/dist/src/types/components/lib/helpFunction.d.ts +62 -10
- package/dist/src/types/components/lib/index.d.ts +14 -7
- package/dist/src/types/components/lib/modals/modals.d.ts +15 -0
- package/dist/src/types/components/lib/modals/openConfirmDelete.d.ts +28 -0
- package/dist/src/types/components/lib/paystack.d.ts +46 -73
- package/dist/src/types/components/lib/permissions.d.ts +12 -1
- package/dist/src/types/components/lib/redux/createAppAsyncThunk.d.ts +36981 -0
- package/dist/src/types/components/lib/redux/index.d.ts +2 -0
- package/dist/src/types/components/lib/redux/middleware.d.ts +2 -0
- package/dist/src/types/components/lib/redux/rootReducer.d.ts +26 -0
- package/dist/src/types/components/lib/redux/slices/authSlice/channelCallbackUrl.d.ts +8 -0
- package/dist/src/types/components/lib/redux/slices/authSlice/index.d.ts +2 -0
- package/dist/src/types/components/lib/redux/slices/authSlice/selectors.d.ts +2 -0
- package/dist/src/types/components/lib/redux/slices/channelSlice/activeChannel.d.ts +8 -0
- package/dist/src/types/components/lib/redux/slices/channelSlice/channelDetails.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/channelSlice/channelHandle.d.ts +8 -0
- package/dist/src/types/components/lib/redux/slices/channelSlice/index.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/channelSlice/instructorChannelList.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/channelSlice/selectors.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/courseDetails.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/courseFilterDuration.d.ts +6 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/courseFilterLevel.d.ts +6 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/courseFilterSubject.d.ts +6 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/courseModules.d.ts +7 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/courseOverview.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/courseSearch.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/index.d.ts +11 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/selectors.d.ts +12 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/stepContent.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/stepQuestions.d.ts +24 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/videoTimestamp.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/courseSlice/videoTimestampObject.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/generics/arraySlice.d.ts +20 -0
- package/dist/src/types/components/lib/redux/slices/generics/index.d.ts +2 -0
- package/dist/src/types/components/lib/redux/slices/generics/objectSlice.d.ts +12 -0
- package/dist/src/types/components/lib/redux/slices/generics/selectors.d.ts +3 -0
- package/dist/src/types/components/lib/redux/slices/index.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/navigationSlice/IPAdress.d.ts +5 -0
- package/dist/src/types/components/lib/redux/slices/navigationSlice/appToggle.d.ts +8 -0
- package/dist/src/types/components/lib/redux/slices/navigationSlice/confirmDelete.d.ts +8 -0
- package/dist/src/types/components/lib/redux/slices/navigationSlice/index.d.ts +7 -0
- package/dist/src/types/components/lib/redux/slices/navigationSlice/selectors.d.ts +8 -0
- package/dist/src/types/components/lib/redux/slices/navigationSlice/statusMessageState.d.ts +8 -0
- package/dist/src/types/components/lib/redux/slices/navigationSlice/toggleCreateCohort.d.ts +8 -0
- package/dist/src/types/components/lib/redux/slices/navigationSlice/toggleCreateCourse.d.ts +8 -0
- package/dist/src/types/components/lib/redux/slices/selectors.d.ts +5 -0
- package/dist/src/types/components/lib/redux/store.d.ts +87 -0
- package/dist/src/types/components/lib/roles.d.ts +14 -0
- package/dist/src/types/components/lib/utils.d.ts +17 -0
- package/dist/src/types/components/navbar/Breadcrumb.d.ts +24 -0
- package/dist/src/types/components/navbar/ChannelListAvatar.d.ts +27 -0
- package/dist/src/types/components/navbar/MenuDropdown.d.ts +11 -0
- package/dist/src/types/components/navbar/ResponsiveNavbar.d.ts +3 -0
- package/dist/src/types/components/navbar/SideNavbar.d.ts +3 -0
- package/dist/src/types/components/navbar/SideNavbarContext.d.ts +13 -0
- package/dist/src/types/components/navbar/index.d.ts +5 -0
- package/dist/src/types/components/status/CopyToClipBoard.d.ts +18 -0
- package/dist/src/types/components/status/DeleteConfirmationModal.d.ts +31 -0
- package/dist/src/types/components/status/Error500.d.ts +17 -0
- package/dist/src/types/components/status/ErrorState.d.ts +19 -0
- package/dist/src/types/components/status/ModalExamples.d.ts +5 -0
- package/dist/src/types/components/status/MultiPurposeModal.d.ts +74 -0
- package/dist/src/types/components/status/NotFound.d.ts +20 -0
- package/dist/src/types/components/status/ReactTimeTracker.d.ts +17 -0
- package/dist/src/types/components/status/SessionHandleProvider.d.ts +20 -0
- package/dist/src/types/components/status/Unauthorized.d.ts +30 -0
- package/dist/src/types/components/status/index.d.ts +11 -0
- package/dist/src/types/components/tabs/TabContent.d.ts +21 -0
- package/dist/src/types/components/tabs/Tabs.d.ts +12 -0
- package/dist/src/types/components/tabs/VerticalTabs.d.ts +39 -0
- package/dist/src/types/components/tabs/index.d.ts +3 -0
- package/dist/src/types/components/theme/DarkModeProvider.d.ts +16 -0
- package/dist/src/types/components/theme/index.d.ts +6 -0
- package/dist/src/types/components/theme/signout/SessionExpiresLogout.d.ts +9 -44
- package/dist/src/types/components/ui/Action.d.ts +61 -0
- package/dist/src/types/components/ui/Badge.d.ts +62 -0
- package/dist/src/types/components/ui/ColorPicker.d.ts +42 -0
- package/dist/src/types/components/ui/ComponentLists.d.ts +2 -0
- package/dist/src/types/components/ui/Dropdown.d.ts +55 -0
- package/dist/src/types/components/ui/OrDivider.d.ts +5 -0
- package/dist/src/types/components/ui/cards/Card.d.ts +7 -0
- package/dist/src/types/components/ui/cards/CardGrid.d.ts +9 -0
- package/dist/src/types/components/ui/cards/CardList.d.ts +9 -0
- package/dist/src/types/components/ui/cards/FeatureCard.d.ts +6 -0
- package/dist/src/types/components/ui/cards/HorizontalCard.d.ts +6 -0
- package/dist/src/types/components/ui/cards/MediaCard.d.ts +6 -0
- package/dist/src/types/components/ui/cards/PricingCard.d.ts +6 -0
- package/dist/src/types/components/ui/cards/ProfileCard.d.ts +6 -0
- package/dist/src/types/components/ui/cards/index.d.ts +9 -0
- package/dist/src/types/components/ui/charts/ChartConfigurator.d.ts +18 -0
- package/dist/src/types/components/ui/charts/InstinctHubChart.d.ts +26 -0
- package/dist/src/types/components/ui/charts/InstinctHubChartDashboard.d.ts +6 -0
- package/dist/src/types/components/ui/charts/index.d.ts +3 -0
- package/dist/src/types/components/ui/create-button/CreateButton.d.ts +54 -0
- package/dist/src/types/components/ui/create-button/CreateButtonExample.d.ts +3 -0
- package/dist/src/types/components/ui/dialogs/Dialog.d.ts +23 -0
- package/dist/src/types/components/ui/editor/CustomTextEditor.d.ts +38 -5
- package/dist/src/types/components/ui/editor/MenuBar.d.ts +1 -1
- package/dist/src/types/components/ui/images/RandomGradientImage.d.ts +15 -0
- package/dist/src/types/components/ui/index.d.ts +16 -0
- package/dist/src/types/components/ui/pagination/Pagination.d.ts +8 -0
- package/dist/src/types/components/ui/pagination/PaginationDemo.d.ts +3 -0
- package/dist/src/types/components/ui/tables/IHubTable.d.ts +113 -0
- package/dist/src/types/components/ui/tables/IHubTableServer.d.ts +91 -0
- package/dist/src/types/components/ui/viewer/ContentViewer.d.ts +21 -2
- package/dist/src/types/index.d.ts +61 -2
- package/dist/src/types/ssr.d.ts +2 -0
- package/dist/src/types/types/card.d.ts +84 -0
- package/dist/src/types/types/charts.d.ts +26 -0
- package/dist/src/types/types/index.d.ts +402 -1
- package/dist/src/types/types/navbar.d.ts +244 -0
- package/dist/src/types/types/redux.d.ts +78 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +82 -43
- package/dist/_virtual/1c.js +0 -2
- package/dist/_virtual/1c.js.map +0 -1
- package/dist/_virtual/abap.js +0 -2
- package/dist/_virtual/abap.js.map +0 -1
- package/dist/_virtual/abnf.js +0 -2
- package/dist/_virtual/abnf.js.map +0 -1
- package/dist/_virtual/abnf2.js +0 -2
- package/dist/_virtual/abnf2.js.map +0 -1
- package/dist/_virtual/accesslog.js +0 -2
- package/dist/_virtual/accesslog.js.map +0 -1
- package/dist/_virtual/actionscript.js +0 -2
- package/dist/_virtual/actionscript.js.map +0 -1
- package/dist/_virtual/actionscript2.js +0 -2
- package/dist/_virtual/actionscript2.js.map +0 -1
- package/dist/_virtual/ada.js +0 -2
- package/dist/_virtual/ada.js.map +0 -1
- package/dist/_virtual/ada2.js +0 -2
- package/dist/_virtual/ada2.js.map +0 -1
- package/dist/_virtual/agda.js +0 -2
- package/dist/_virtual/agda.js.map +0 -1
- package/dist/_virtual/al.js +0 -2
- package/dist/_virtual/al.js.map +0 -1
- package/dist/_virtual/angelscript.js +0 -2
- package/dist/_virtual/angelscript.js.map +0 -1
- package/dist/_virtual/antlr4.js +0 -2
- package/dist/_virtual/antlr4.js.map +0 -1
- package/dist/_virtual/apache.js +0 -2
- package/dist/_virtual/apache.js.map +0 -1
- package/dist/_virtual/apacheconf.js +0 -2
- package/dist/_virtual/apacheconf.js.map +0 -1
- package/dist/_virtual/apex.js +0 -2
- package/dist/_virtual/apex.js.map +0 -1
- package/dist/_virtual/apl.js +0 -2
- package/dist/_virtual/apl.js.map +0 -1
- package/dist/_virtual/applescript.js +0 -2
- package/dist/_virtual/applescript.js.map +0 -1
- package/dist/_virtual/applescript2.js +0 -2
- package/dist/_virtual/applescript2.js.map +0 -1
- package/dist/_virtual/aql.js +0 -2
- package/dist/_virtual/aql.js.map +0 -1
- package/dist/_virtual/arcade.js +0 -2
- package/dist/_virtual/arcade.js.map +0 -1
- package/dist/_virtual/arduino.js +0 -2
- package/dist/_virtual/arduino.js.map +0 -1
- package/dist/_virtual/arduino2.js +0 -2
- package/dist/_virtual/arduino2.js.map +0 -1
- package/dist/_virtual/arff.js +0 -2
- package/dist/_virtual/arff.js.map +0 -1
- package/dist/_virtual/armasm.js +0 -2
- package/dist/_virtual/armasm.js.map +0 -1
- package/dist/_virtual/arrayLikeToArray.js +0 -2
- package/dist/_virtual/arrayLikeToArray.js.map +0 -1
- package/dist/_virtual/arrayWithoutHoles.js +0 -2
- package/dist/_virtual/arrayWithoutHoles.js.map +0 -1
- package/dist/_virtual/asciidoc.js +0 -2
- package/dist/_virtual/asciidoc.js.map +0 -1
- package/dist/_virtual/asciidoc2.js +0 -2
- package/dist/_virtual/asciidoc2.js.map +0 -1
- package/dist/_virtual/asm6502.js +0 -2
- package/dist/_virtual/asm6502.js.map +0 -1
- package/dist/_virtual/asmatmel.js +0 -2
- package/dist/_virtual/asmatmel.js.map +0 -1
- package/dist/_virtual/aspectj.js +0 -2
- package/dist/_virtual/aspectj.js.map +0 -1
- package/dist/_virtual/aspnet.js +0 -2
- package/dist/_virtual/aspnet.js.map +0 -1
- package/dist/_virtual/assertThisInitialized.js +0 -2
- package/dist/_virtual/assertThisInitialized.js.map +0 -1
- package/dist/_virtual/asyncToGenerator.js +0 -2
- package/dist/_virtual/asyncToGenerator.js.map +0 -1
- package/dist/_virtual/autohotkey.js +0 -2
- package/dist/_virtual/autohotkey.js.map +0 -1
- package/dist/_virtual/autohotkey2.js +0 -2
- package/dist/_virtual/autohotkey2.js.map +0 -1
- package/dist/_virtual/autoit.js +0 -2
- package/dist/_virtual/autoit.js.map +0 -1
- package/dist/_virtual/autoit2.js +0 -2
- package/dist/_virtual/autoit2.js.map +0 -1
- package/dist/_virtual/avisynth.js +0 -2
- package/dist/_virtual/avisynth.js.map +0 -1
- package/dist/_virtual/avrasm.js +0 -2
- package/dist/_virtual/avrasm.js.map +0 -1
- package/dist/_virtual/avro-idl.js +0 -2
- package/dist/_virtual/avro-idl.js.map +0 -1
- package/dist/_virtual/awk.js +0 -2
- package/dist/_virtual/awk.js.map +0 -1
- package/dist/_virtual/axapta.js +0 -2
- package/dist/_virtual/axapta.js.map +0 -1
- package/dist/_virtual/bash.js +0 -2
- package/dist/_virtual/bash.js.map +0 -1
- package/dist/_virtual/bash2.js +0 -2
- package/dist/_virtual/bash2.js.map +0 -1
- package/dist/_virtual/basic.js +0 -2
- package/dist/_virtual/basic.js.map +0 -1
- package/dist/_virtual/basic2.js +0 -2
- package/dist/_virtual/basic2.js.map +0 -1
- package/dist/_virtual/batch.js +0 -2
- package/dist/_virtual/batch.js.map +0 -1
- package/dist/_virtual/bbcode.js +0 -2
- package/dist/_virtual/bbcode.js.map +0 -1
- package/dist/_virtual/bicep.js +0 -2
- package/dist/_virtual/bicep.js.map +0 -1
- package/dist/_virtual/birb.js +0 -2
- package/dist/_virtual/birb.js.map +0 -1
- package/dist/_virtual/bison.js +0 -2
- package/dist/_virtual/bison.js.map +0 -1
- package/dist/_virtual/bnf.js +0 -2
- package/dist/_virtual/bnf.js.map +0 -1
- package/dist/_virtual/bnf2.js +0 -2
- package/dist/_virtual/bnf2.js.map +0 -1
- package/dist/_virtual/brainfuck.js +0 -2
- package/dist/_virtual/brainfuck.js.map +0 -1
- package/dist/_virtual/brainfuck2.js +0 -2
- package/dist/_virtual/brainfuck2.js.map +0 -1
- package/dist/_virtual/brightscript.js +0 -2
- package/dist/_virtual/brightscript.js.map +0 -1
- package/dist/_virtual/bro.js +0 -2
- package/dist/_virtual/bro.js.map +0 -1
- package/dist/_virtual/bsl.js +0 -2
- package/dist/_virtual/bsl.js.map +0 -1
- package/dist/_virtual/c-like.js +0 -2
- package/dist/_virtual/c-like.js.map +0 -1
- package/dist/_virtual/c.js +0 -2
- package/dist/_virtual/c.js.map +0 -1
- package/dist/_virtual/c2.js +0 -2
- package/dist/_virtual/c2.js.map +0 -1
- package/dist/_virtual/cal.js +0 -2
- package/dist/_virtual/cal.js.map +0 -1
- package/dist/_virtual/capnproto.js +0 -2
- package/dist/_virtual/capnproto.js.map +0 -1
- package/dist/_virtual/ceylon.js +0 -2
- package/dist/_virtual/ceylon.js.map +0 -1
- package/dist/_virtual/cfscript.js +0 -2
- package/dist/_virtual/cfscript.js.map +0 -1
- package/dist/_virtual/chaiscript.js +0 -2
- package/dist/_virtual/chaiscript.js.map +0 -1
- package/dist/_virtual/cil.js +0 -2
- package/dist/_virtual/cil.js.map +0 -1
- package/dist/_virtual/classCallCheck.js +0 -2
- package/dist/_virtual/classCallCheck.js.map +0 -1
- package/dist/_virtual/clean.js +0 -2
- package/dist/_virtual/clean.js.map +0 -1
- package/dist/_virtual/clojure-repl.js +0 -2
- package/dist/_virtual/clojure-repl.js.map +0 -1
- package/dist/_virtual/clojure.js +0 -2
- package/dist/_virtual/clojure.js.map +0 -1
- package/dist/_virtual/clojure2.js +0 -2
- package/dist/_virtual/clojure2.js.map +0 -1
- package/dist/_virtual/cmake.js +0 -2
- package/dist/_virtual/cmake.js.map +0 -1
- package/dist/_virtual/cmake2.js +0 -2
- package/dist/_virtual/cmake2.js.map +0 -1
- package/dist/_virtual/cobol.js +0 -2
- package/dist/_virtual/cobol.js.map +0 -1
- package/dist/_virtual/coffeescript.js +0 -2
- package/dist/_virtual/coffeescript.js.map +0 -1
- package/dist/_virtual/coffeescript2.js +0 -2
- package/dist/_virtual/coffeescript2.js.map +0 -1
- package/dist/_virtual/concurnas.js +0 -2
- package/dist/_virtual/concurnas.js.map +0 -1
- package/dist/_virtual/coq.js +0 -2
- package/dist/_virtual/coq.js.map +0 -1
- package/dist/_virtual/coq2.js +0 -2
- package/dist/_virtual/coq2.js.map +0 -1
- package/dist/_virtual/core.js +0 -2
- package/dist/_virtual/core.js.map +0 -1
- package/dist/_virtual/cos.js +0 -2
- package/dist/_virtual/cos.js.map +0 -1
- package/dist/_virtual/cpp.js +0 -2
- package/dist/_virtual/cpp.js.map +0 -1
- package/dist/_virtual/cpp2.js +0 -2
- package/dist/_virtual/cpp2.js.map +0 -1
- package/dist/_virtual/createClass.js +0 -2
- package/dist/_virtual/createClass.js.map +0 -1
- package/dist/_virtual/crmsh.js +0 -2
- package/dist/_virtual/crmsh.js.map +0 -1
- package/dist/_virtual/crystal.js +0 -2
- package/dist/_virtual/crystal.js.map +0 -1
- package/dist/_virtual/crystal2.js +0 -2
- package/dist/_virtual/crystal2.js.map +0 -1
- package/dist/_virtual/csharp.js +0 -2
- package/dist/_virtual/csharp.js.map +0 -1
- package/dist/_virtual/csharp2.js +0 -2
- package/dist/_virtual/csharp2.js.map +0 -1
- package/dist/_virtual/cshtml.js +0 -2
- package/dist/_virtual/cshtml.js.map +0 -1
- package/dist/_virtual/csp.js +0 -2
- package/dist/_virtual/csp.js.map +0 -1
- package/dist/_virtual/csp2.js +0 -2
- package/dist/_virtual/csp2.js.map +0 -1
- package/dist/_virtual/css-extras.js +0 -2
- package/dist/_virtual/css-extras.js.map +0 -1
- package/dist/_virtual/css.js +0 -2
- package/dist/_virtual/css.js.map +0 -1
- package/dist/_virtual/csv.js +0 -2
- package/dist/_virtual/csv.js.map +0 -1
- package/dist/_virtual/cypher.js +0 -2
- package/dist/_virtual/cypher.js.map +0 -1
- package/dist/_virtual/d.js +0 -2
- package/dist/_virtual/d.js.map +0 -1
- package/dist/_virtual/d2.js +0 -2
- package/dist/_virtual/d2.js.map +0 -1
- package/dist/_virtual/dart.js +0 -2
- package/dist/_virtual/dart.js.map +0 -1
- package/dist/_virtual/dart2.js +0 -2
- package/dist/_virtual/dart2.js.map +0 -1
- package/dist/_virtual/dataweave.js +0 -2
- package/dist/_virtual/dataweave.js.map +0 -1
- package/dist/_virtual/dax.js +0 -2
- package/dist/_virtual/dax.js.map +0 -1
- package/dist/_virtual/defineProperty.js +0 -2
- package/dist/_virtual/defineProperty.js.map +0 -1
- package/dist/_virtual/delphi.js +0 -2
- package/dist/_virtual/delphi.js.map +0 -1
- package/dist/_virtual/dhall.js +0 -2
- package/dist/_virtual/dhall.js.map +0 -1
- package/dist/_virtual/diff.js +0 -2
- package/dist/_virtual/diff.js.map +0 -1
- package/dist/_virtual/diff2.js +0 -2
- package/dist/_virtual/diff2.js.map +0 -1
- package/dist/_virtual/django.js +0 -2
- package/dist/_virtual/django.js.map +0 -1
- package/dist/_virtual/django2.js +0 -2
- package/dist/_virtual/django2.js.map +0 -1
- package/dist/_virtual/dns-zone-file.js +0 -2
- package/dist/_virtual/dns-zone-file.js.map +0 -1
- package/dist/_virtual/dns.js +0 -2
- package/dist/_virtual/dns.js.map +0 -1
- package/dist/_virtual/docker.js +0 -2
- package/dist/_virtual/docker.js.map +0 -1
- package/dist/_virtual/dockerfile.js +0 -2
- package/dist/_virtual/dockerfile.js.map +0 -1
- package/dist/_virtual/dos.js +0 -2
- package/dist/_virtual/dos.js.map +0 -1
- package/dist/_virtual/dot.js +0 -2
- package/dist/_virtual/dot.js.map +0 -1
- package/dist/_virtual/dsconfig.js +0 -2
- package/dist/_virtual/dsconfig.js.map +0 -1
- package/dist/_virtual/dts.js +0 -2
- package/dist/_virtual/dts.js.map +0 -1
- package/dist/_virtual/dust.js +0 -2
- package/dist/_virtual/dust.js.map +0 -1
- package/dist/_virtual/ebnf.js +0 -2
- package/dist/_virtual/ebnf.js.map +0 -1
- package/dist/_virtual/ebnf2.js +0 -2
- package/dist/_virtual/ebnf2.js.map +0 -1
- package/dist/_virtual/editorconfig.js +0 -2
- package/dist/_virtual/editorconfig.js.map +0 -1
- package/dist/_virtual/eiffel.js +0 -2
- package/dist/_virtual/eiffel.js.map +0 -1
- package/dist/_virtual/ejs.js +0 -2
- package/dist/_virtual/ejs.js.map +0 -1
- package/dist/_virtual/elixir.js +0 -2
- package/dist/_virtual/elixir.js.map +0 -1
- package/dist/_virtual/elixir2.js +0 -2
- package/dist/_virtual/elixir2.js.map +0 -1
- package/dist/_virtual/elm.js +0 -2
- package/dist/_virtual/elm.js.map +0 -1
- package/dist/_virtual/elm2.js +0 -2
- package/dist/_virtual/elm2.js.map +0 -1
- package/dist/_virtual/erb.js +0 -2
- package/dist/_virtual/erb.js.map +0 -1
- package/dist/_virtual/erb2.js +0 -2
- package/dist/_virtual/erb2.js.map +0 -1
- package/dist/_virtual/erlang-repl.js +0 -2
- package/dist/_virtual/erlang-repl.js.map +0 -1
- package/dist/_virtual/erlang.js +0 -2
- package/dist/_virtual/erlang.js.map +0 -1
- package/dist/_virtual/erlang2.js +0 -2
- package/dist/_virtual/erlang2.js.map +0 -1
- package/dist/_virtual/etlua.js +0 -2
- package/dist/_virtual/etlua.js.map +0 -1
- package/dist/_virtual/excel-formula.js +0 -2
- package/dist/_virtual/excel-formula.js.map +0 -1
- package/dist/_virtual/excel.js +0 -2
- package/dist/_virtual/excel.js.map +0 -1
- package/dist/_virtual/extends.js +0 -2
- package/dist/_virtual/extends.js.map +0 -1
- package/dist/_virtual/factor.js +0 -2
- package/dist/_virtual/factor.js.map +0 -1
- package/dist/_virtual/false.js +0 -2
- package/dist/_virtual/false.js.map +0 -1
- package/dist/_virtual/firestore-security-rules.js +0 -2
- package/dist/_virtual/firestore-security-rules.js.map +0 -1
- package/dist/_virtual/fix.js +0 -2
- package/dist/_virtual/fix.js.map +0 -1
- package/dist/_virtual/flix.js +0 -2
- package/dist/_virtual/flix.js.map +0 -1
- package/dist/_virtual/flow.js +0 -2
- package/dist/_virtual/flow.js.map +0 -1
- package/dist/_virtual/format.js +0 -2
- package/dist/_virtual/format.js.map +0 -1
- package/dist/_virtual/fortran.js +0 -2
- package/dist/_virtual/fortran.js.map +0 -1
- package/dist/_virtual/fortran2.js +0 -2
- package/dist/_virtual/fortran2.js.map +0 -1
- package/dist/_virtual/fsharp.js +0 -2
- package/dist/_virtual/fsharp.js.map +0 -1
- package/dist/_virtual/fsharp2.js +0 -2
- package/dist/_virtual/fsharp2.js.map +0 -1
- package/dist/_virtual/ftl.js +0 -2
- package/dist/_virtual/ftl.js.map +0 -1
- package/dist/_virtual/gams.js +0 -2
- package/dist/_virtual/gams.js.map +0 -1
- package/dist/_virtual/gap.js +0 -2
- package/dist/_virtual/gap.js.map +0 -1
- package/dist/_virtual/gauss.js +0 -2
- package/dist/_virtual/gauss.js.map +0 -1
- package/dist/_virtual/gcode.js +0 -2
- package/dist/_virtual/gcode.js.map +0 -1
- package/dist/_virtual/gcode2.js +0 -2
- package/dist/_virtual/gcode2.js.map +0 -1
- package/dist/_virtual/gdscript.js +0 -2
- package/dist/_virtual/gdscript.js.map +0 -1
- package/dist/_virtual/gedcom.js +0 -2
- package/dist/_virtual/gedcom.js.map +0 -1
- package/dist/_virtual/getPrototypeOf.js +0 -2
- package/dist/_virtual/getPrototypeOf.js.map +0 -1
- package/dist/_virtual/gherkin.js +0 -2
- package/dist/_virtual/gherkin.js.map +0 -1
- package/dist/_virtual/gherkin2.js +0 -2
- package/dist/_virtual/gherkin2.js.map +0 -1
- package/dist/_virtual/git.js +0 -2
- package/dist/_virtual/git.js.map +0 -1
- package/dist/_virtual/glsl.js +0 -2
- package/dist/_virtual/glsl.js.map +0 -1
- package/dist/_virtual/glsl2.js +0 -2
- package/dist/_virtual/glsl2.js.map +0 -1
- package/dist/_virtual/gml.js +0 -2
- package/dist/_virtual/gml.js.map +0 -1
- package/dist/_virtual/gml2.js +0 -2
- package/dist/_virtual/gml2.js.map +0 -1
- package/dist/_virtual/gn.js +0 -2
- package/dist/_virtual/gn.js.map +0 -1
- package/dist/_virtual/go-module.js +0 -2
- package/dist/_virtual/go-module.js.map +0 -1
- package/dist/_virtual/go.js +0 -2
- package/dist/_virtual/go.js.map +0 -1
- package/dist/_virtual/go2.js +0 -2
- package/dist/_virtual/go2.js.map +0 -1
- package/dist/_virtual/golo.js +0 -2
- package/dist/_virtual/golo.js.map +0 -1
- package/dist/_virtual/gradle.js +0 -2
- package/dist/_virtual/gradle.js.map +0 -1
- package/dist/_virtual/graphql.js +0 -2
- package/dist/_virtual/graphql.js.map +0 -1
- package/dist/_virtual/groovy.js +0 -2
- package/dist/_virtual/groovy.js.map +0 -1
- package/dist/_virtual/groovy2.js +0 -2
- package/dist/_virtual/groovy2.js.map +0 -1
- package/dist/_virtual/haml.js +0 -2
- package/dist/_virtual/haml.js.map +0 -1
- package/dist/_virtual/haml2.js +0 -2
- package/dist/_virtual/haml2.js.map +0 -1
- package/dist/_virtual/handlebars.js +0 -2
- package/dist/_virtual/handlebars.js.map +0 -1
- package/dist/_virtual/handlebars2.js +0 -2
- package/dist/_virtual/handlebars2.js.map +0 -1
- package/dist/_virtual/haskell.js +0 -2
- package/dist/_virtual/haskell.js.map +0 -1
- package/dist/_virtual/haskell2.js +0 -2
- package/dist/_virtual/haskell2.js.map +0 -1
- package/dist/_virtual/haxe.js +0 -2
- package/dist/_virtual/haxe.js.map +0 -1
- package/dist/_virtual/haxe2.js +0 -2
- package/dist/_virtual/haxe2.js.map +0 -1
- package/dist/_virtual/hcl.js +0 -2
- package/dist/_virtual/hcl.js.map +0 -1
- package/dist/_virtual/hlsl.js +0 -2
- package/dist/_virtual/hlsl.js.map +0 -1
- package/dist/_virtual/hoon.js +0 -2
- package/dist/_virtual/hoon.js.map +0 -1
- package/dist/_virtual/hpkp.js +0 -2
- package/dist/_virtual/hpkp.js.map +0 -1
- package/dist/_virtual/hsp.js +0 -2
- package/dist/_virtual/hsp.js.map +0 -1
- package/dist/_virtual/hsts.js +0 -2
- package/dist/_virtual/hsts.js.map +0 -1
- package/dist/_virtual/htmlbars.js +0 -2
- package/dist/_virtual/htmlbars.js.map +0 -1
- package/dist/_virtual/http.js +0 -2
- package/dist/_virtual/http.js.map +0 -1
- package/dist/_virtual/http2.js +0 -2
- package/dist/_virtual/http2.js.map +0 -1
- package/dist/_virtual/hy.js +0 -2
- package/dist/_virtual/hy.js.map +0 -1
- package/dist/_virtual/ichigojam.js +0 -2
- package/dist/_virtual/ichigojam.js.map +0 -1
- package/dist/_virtual/icon.js +0 -2
- package/dist/_virtual/icon.js.map +0 -1
- package/dist/_virtual/icu-message-format.js +0 -2
- package/dist/_virtual/icu-message-format.js.map +0 -1
- package/dist/_virtual/idris.js +0 -2
- package/dist/_virtual/idris.js.map +0 -1
- package/dist/_virtual/iecst.js +0 -2
- package/dist/_virtual/iecst.js.map +0 -1
- package/dist/_virtual/ignore.js +0 -2
- package/dist/_virtual/ignore.js.map +0 -1
- package/dist/_virtual/index3.js +0 -2
- package/dist/_virtual/index3.js.map +0 -1
- package/dist/_virtual/index4.js +0 -2
- package/dist/_virtual/index4.js.map +0 -1
- package/dist/_virtual/index5.js +0 -2
- package/dist/_virtual/index5.js.map +0 -1
- package/dist/_virtual/inform7.js +0 -2
- package/dist/_virtual/inform7.js.map +0 -1
- package/dist/_virtual/inform72.js +0 -2
- package/dist/_virtual/inform72.js.map +0 -1
- package/dist/_virtual/inherits.js +0 -2
- package/dist/_virtual/inherits.js.map +0 -1
- package/dist/_virtual/ini.js +0 -2
- package/dist/_virtual/ini.js.map +0 -1
- package/dist/_virtual/ini2.js +0 -2
- package/dist/_virtual/ini2.js.map +0 -1
- package/dist/_virtual/io.js +0 -2
- package/dist/_virtual/io.js.map +0 -1
- package/dist/_virtual/irpf90.js +0 -2
- package/dist/_virtual/irpf90.js.map +0 -1
- package/dist/_virtual/isbl.js +0 -2
- package/dist/_virtual/isbl.js.map +0 -1
- package/dist/_virtual/iterableToArray.js +0 -2
- package/dist/_virtual/iterableToArray.js.map +0 -1
- package/dist/_virtual/j.js +0 -2
- package/dist/_virtual/j.js.map +0 -1
- package/dist/_virtual/java.js +0 -2
- package/dist/_virtual/java.js.map +0 -1
- package/dist/_virtual/java2.js +0 -2
- package/dist/_virtual/java2.js.map +0 -1
- package/dist/_virtual/javadoc.js +0 -2
- package/dist/_virtual/javadoc.js.map +0 -1
- package/dist/_virtual/javadoclike.js +0 -2
- package/dist/_virtual/javadoclike.js.map +0 -1
- package/dist/_virtual/javascript.js +0 -2
- package/dist/_virtual/javascript.js.map +0 -1
- package/dist/_virtual/javastacktrace.js +0 -2
- package/dist/_virtual/javastacktrace.js.map +0 -1
- package/dist/_virtual/jboss-cli.js +0 -2
- package/dist/_virtual/jboss-cli.js.map +0 -1
- package/dist/_virtual/jexl.js +0 -2
- package/dist/_virtual/jexl.js.map +0 -1
- package/dist/_virtual/jolie.js +0 -2
- package/dist/_virtual/jolie.js.map +0 -1
- package/dist/_virtual/jq.js +0 -2
- package/dist/_virtual/jq.js.map +0 -1
- package/dist/_virtual/js-extras.js +0 -2
- package/dist/_virtual/js-extras.js.map +0 -1
- package/dist/_virtual/js-templates.js +0 -2
- package/dist/_virtual/js-templates.js.map +0 -1
- package/dist/_virtual/jsdoc.js +0 -2
- package/dist/_virtual/jsdoc.js.map +0 -1
- package/dist/_virtual/json.js +0 -2
- package/dist/_virtual/json.js.map +0 -1
- package/dist/_virtual/json2.js +0 -2
- package/dist/_virtual/json2.js.map +0 -1
- package/dist/_virtual/json5.js +0 -2
- package/dist/_virtual/json5.js.map +0 -1
- package/dist/_virtual/jsonp.js +0 -2
- package/dist/_virtual/jsonp.js.map +0 -1
- package/dist/_virtual/jsstacktrace.js +0 -2
- package/dist/_virtual/jsstacktrace.js.map +0 -1
- package/dist/_virtual/jsx.js +0 -2
- package/dist/_virtual/jsx.js.map +0 -1
- package/dist/_virtual/julia-repl.js +0 -2
- package/dist/_virtual/julia-repl.js.map +0 -1
- package/dist/_virtual/julia.js +0 -2
- package/dist/_virtual/julia.js.map +0 -1
- package/dist/_virtual/julia2.js +0 -2
- package/dist/_virtual/julia2.js.map +0 -1
- package/dist/_virtual/keepalived.js +0 -2
- package/dist/_virtual/keepalived.js.map +0 -1
- package/dist/_virtual/keyman.js +0 -2
- package/dist/_virtual/keyman.js.map +0 -1
- package/dist/_virtual/kotlin.js +0 -2
- package/dist/_virtual/kotlin.js.map +0 -1
- package/dist/_virtual/kotlin2.js +0 -2
- package/dist/_virtual/kotlin2.js.map +0 -1
- package/dist/_virtual/kumir.js +0 -2
- package/dist/_virtual/kumir.js.map +0 -1
- package/dist/_virtual/kusto.js +0 -2
- package/dist/_virtual/kusto.js.map +0 -1
- package/dist/_virtual/lasso.js +0 -2
- package/dist/_virtual/lasso.js.map +0 -1
- package/dist/_virtual/latex.js +0 -2
- package/dist/_virtual/latex.js.map +0 -1
- package/dist/_virtual/latex2.js +0 -2
- package/dist/_virtual/latex2.js.map +0 -1
- package/dist/_virtual/latte.js +0 -2
- package/dist/_virtual/latte.js.map +0 -1
- package/dist/_virtual/ldif.js +0 -2
- package/dist/_virtual/ldif.js.map +0 -1
- package/dist/_virtual/leaf.js +0 -2
- package/dist/_virtual/leaf.js.map +0 -1
- package/dist/_virtual/less.js +0 -2
- package/dist/_virtual/less.js.map +0 -1
- package/dist/_virtual/less2.js +0 -2
- package/dist/_virtual/less2.js.map +0 -1
- package/dist/_virtual/lilypond.js +0 -2
- package/dist/_virtual/lilypond.js.map +0 -1
- package/dist/_virtual/liquid.js +0 -2
- package/dist/_virtual/liquid.js.map +0 -1
- package/dist/_virtual/lisp.js +0 -2
- package/dist/_virtual/lisp.js.map +0 -1
- package/dist/_virtual/lisp2.js +0 -2
- package/dist/_virtual/lisp2.js.map +0 -1
- package/dist/_virtual/livecodeserver.js +0 -2
- package/dist/_virtual/livecodeserver.js.map +0 -1
- package/dist/_virtual/livescript.js +0 -2
- package/dist/_virtual/livescript.js.map +0 -1
- package/dist/_virtual/livescript2.js +0 -2
- package/dist/_virtual/livescript2.js.map +0 -1
- package/dist/_virtual/llvm.js +0 -2
- package/dist/_virtual/llvm.js.map +0 -1
- package/dist/_virtual/llvm2.js +0 -2
- package/dist/_virtual/llvm2.js.map +0 -1
- package/dist/_virtual/log.js +0 -2
- package/dist/_virtual/log.js.map +0 -1
- package/dist/_virtual/lolcode.js +0 -2
- package/dist/_virtual/lolcode.js.map +0 -1
- package/dist/_virtual/lsl.js +0 -2
- package/dist/_virtual/lsl.js.map +0 -1
- package/dist/_virtual/lua.js +0 -2
- package/dist/_virtual/lua.js.map +0 -1
- package/dist/_virtual/lua2.js +0 -2
- package/dist/_virtual/lua2.js.map +0 -1
- package/dist/_virtual/magma.js +0 -2
- package/dist/_virtual/magma.js.map +0 -1
- package/dist/_virtual/makefile.js +0 -2
- package/dist/_virtual/makefile.js.map +0 -1
- package/dist/_virtual/makefile2.js +0 -2
- package/dist/_virtual/makefile2.js.map +0 -1
- package/dist/_virtual/markdown.js +0 -2
- package/dist/_virtual/markdown.js.map +0 -1
- package/dist/_virtual/markdown2.js +0 -2
- package/dist/_virtual/markdown2.js.map +0 -1
- package/dist/_virtual/markup-templating.js +0 -2
- package/dist/_virtual/markup-templating.js.map +0 -1
- package/dist/_virtual/mathematica.js +0 -2
- package/dist/_virtual/mathematica.js.map +0 -1
- package/dist/_virtual/matlab.js +0 -2
- package/dist/_virtual/matlab.js.map +0 -1
- package/dist/_virtual/matlab2.js +0 -2
- package/dist/_virtual/matlab2.js.map +0 -1
- package/dist/_virtual/maxima.js +0 -2
- package/dist/_virtual/maxima.js.map +0 -1
- package/dist/_virtual/maxscript.js +0 -2
- package/dist/_virtual/maxscript.js.map +0 -1
- package/dist/_virtual/mel.js +0 -2
- package/dist/_virtual/mel.js.map +0 -1
- package/dist/_virtual/mel2.js +0 -2
- package/dist/_virtual/mel2.js.map +0 -1
- package/dist/_virtual/mercury.js +0 -2
- package/dist/_virtual/mercury.js.map +0 -1
- package/dist/_virtual/mermaid.js +0 -2
- package/dist/_virtual/mermaid.js.map +0 -1
- package/dist/_virtual/mipsasm.js +0 -2
- package/dist/_virtual/mipsasm.js.map +0 -1
- package/dist/_virtual/mizar.js +0 -2
- package/dist/_virtual/mizar.js.map +0 -1
- package/dist/_virtual/mizar2.js +0 -2
- package/dist/_virtual/mizar2.js.map +0 -1
- package/dist/_virtual/mojolicious.js +0 -2
- package/dist/_virtual/mojolicious.js.map +0 -1
- package/dist/_virtual/mongodb.js +0 -2
- package/dist/_virtual/mongodb.js.map +0 -1
- package/dist/_virtual/monkey.js +0 -2
- package/dist/_virtual/monkey.js.map +0 -1
- package/dist/_virtual/monkey2.js +0 -2
- package/dist/_virtual/monkey2.js.map +0 -1
- package/dist/_virtual/moonscript.js +0 -2
- package/dist/_virtual/moonscript.js.map +0 -1
- package/dist/_virtual/moonscript2.js +0 -2
- package/dist/_virtual/moonscript2.js.map +0 -1
- package/dist/_virtual/n1ql.js +0 -2
- package/dist/_virtual/n1ql.js.map +0 -1
- package/dist/_virtual/n1ql2.js +0 -2
- package/dist/_virtual/n1ql2.js.map +0 -1
- package/dist/_virtual/n4js.js +0 -2
- package/dist/_virtual/n4js.js.map +0 -1
- package/dist/_virtual/nand2tetris-hdl.js +0 -2
- package/dist/_virtual/nand2tetris-hdl.js.map +0 -1
- package/dist/_virtual/naniscript.js +0 -2
- package/dist/_virtual/naniscript.js.map +0 -1
- package/dist/_virtual/nasm.js +0 -2
- package/dist/_virtual/nasm.js.map +0 -1
- package/dist/_virtual/neon.js +0 -2
- package/dist/_virtual/neon.js.map +0 -1
- package/dist/_virtual/nevod.js +0 -2
- package/dist/_virtual/nevod.js.map +0 -1
- package/dist/_virtual/nginx.js +0 -2
- package/dist/_virtual/nginx.js.map +0 -1
- package/dist/_virtual/nginx2.js +0 -2
- package/dist/_virtual/nginx2.js.map +0 -1
- package/dist/_virtual/nim.js +0 -2
- package/dist/_virtual/nim.js.map +0 -1
- package/dist/_virtual/nim2.js +0 -2
- package/dist/_virtual/nim2.js.map +0 -1
- package/dist/_virtual/nix.js +0 -2
- package/dist/_virtual/nix.js.map +0 -1
- package/dist/_virtual/nix2.js +0 -2
- package/dist/_virtual/nix2.js.map +0 -1
- package/dist/_virtual/node-repl.js +0 -2
- package/dist/_virtual/node-repl.js.map +0 -1
- package/dist/_virtual/nonIterableSpread.js +0 -2
- package/dist/_virtual/nonIterableSpread.js.map +0 -1
- package/dist/_virtual/nsis.js +0 -2
- package/dist/_virtual/nsis.js.map +0 -1
- package/dist/_virtual/nsis2.js +0 -2
- package/dist/_virtual/nsis2.js.map +0 -1
- package/dist/_virtual/objectWithoutProperties.js +0 -2
- package/dist/_virtual/objectWithoutProperties.js.map +0 -1
- package/dist/_virtual/objectWithoutPropertiesLoose.js +0 -2
- package/dist/_virtual/objectWithoutPropertiesLoose.js.map +0 -1
- package/dist/_virtual/objectivec.js +0 -2
- package/dist/_virtual/objectivec.js.map +0 -1
- package/dist/_virtual/objectivec2.js +0 -2
- package/dist/_virtual/objectivec2.js.map +0 -1
- package/dist/_virtual/ocaml.js +0 -2
- package/dist/_virtual/ocaml.js.map +0 -1
- package/dist/_virtual/ocaml2.js +0 -2
- package/dist/_virtual/ocaml2.js.map +0 -1
- package/dist/_virtual/opencl.js +0 -2
- package/dist/_virtual/opencl.js.map +0 -1
- package/dist/_virtual/openqasm.js +0 -2
- package/dist/_virtual/openqasm.js.map +0 -1
- package/dist/_virtual/openscad.js +0 -2
- package/dist/_virtual/openscad.js.map +0 -1
- package/dist/_virtual/oxygene.js +0 -2
- package/dist/_virtual/oxygene.js.map +0 -1
- package/dist/_virtual/oz.js +0 -2
- package/dist/_virtual/oz.js.map +0 -1
- package/dist/_virtual/parigp.js +0 -2
- package/dist/_virtual/parigp.js.map +0 -1
- package/dist/_virtual/parser.js +0 -2
- package/dist/_virtual/parser.js.map +0 -1
- package/dist/_virtual/parser3.js +0 -2
- package/dist/_virtual/parser3.js.map +0 -1
- package/dist/_virtual/pascal.js +0 -2
- package/dist/_virtual/pascal.js.map +0 -1
- package/dist/_virtual/pascaligo.js +0 -2
- package/dist/_virtual/pascaligo.js.map +0 -1
- package/dist/_virtual/pcaxis.js +0 -2
- package/dist/_virtual/pcaxis.js.map +0 -1
- package/dist/_virtual/peoplecode.js +0 -2
- package/dist/_virtual/peoplecode.js.map +0 -1
- package/dist/_virtual/perl.js +0 -2
- package/dist/_virtual/perl.js.map +0 -1
- package/dist/_virtual/perl2.js +0 -2
- package/dist/_virtual/perl2.js.map +0 -1
- package/dist/_virtual/pf.js +0 -2
- package/dist/_virtual/pf.js.map +0 -1
- package/dist/_virtual/pgsql.js +0 -2
- package/dist/_virtual/pgsql.js.map +0 -1
- package/dist/_virtual/php-extras.js +0 -2
- package/dist/_virtual/php-extras.js.map +0 -1
- package/dist/_virtual/php-template.js +0 -2
- package/dist/_virtual/php-template.js.map +0 -1
- package/dist/_virtual/php.js +0 -2
- package/dist/_virtual/php.js.map +0 -1
- package/dist/_virtual/php2.js +0 -2
- package/dist/_virtual/php2.js.map +0 -1
- package/dist/_virtual/phpdoc.js +0 -2
- package/dist/_virtual/phpdoc.js.map +0 -1
- package/dist/_virtual/plaintext.js +0 -2
- package/dist/_virtual/plaintext.js.map +0 -1
- package/dist/_virtual/plsql.js +0 -2
- package/dist/_virtual/plsql.js.map +0 -1
- package/dist/_virtual/pony.js +0 -2
- package/dist/_virtual/pony.js.map +0 -1
- package/dist/_virtual/possibleConstructorReturn.js +0 -2
- package/dist/_virtual/possibleConstructorReturn.js.map +0 -1
- package/dist/_virtual/powerquery.js +0 -2
- package/dist/_virtual/powerquery.js.map +0 -1
- package/dist/_virtual/powershell.js +0 -2
- package/dist/_virtual/powershell.js.map +0 -1
- package/dist/_virtual/powershell2.js +0 -2
- package/dist/_virtual/powershell2.js.map +0 -1
- package/dist/_virtual/prism-core.js +0 -2
- package/dist/_virtual/prism-core.js.map +0 -1
- package/dist/_virtual/processing.js +0 -2
- package/dist/_virtual/processing.js.map +0 -1
- package/dist/_virtual/processing2.js +0 -2
- package/dist/_virtual/processing2.js.map +0 -1
- package/dist/_virtual/profile.js +0 -2
- package/dist/_virtual/profile.js.map +0 -1
- package/dist/_virtual/prolog.js +0 -2
- package/dist/_virtual/prolog.js.map +0 -1
- package/dist/_virtual/prolog2.js +0 -2
- package/dist/_virtual/prolog2.js.map +0 -1
- package/dist/_virtual/promql.js +0 -2
- package/dist/_virtual/promql.js.map +0 -1
- package/dist/_virtual/properties.js +0 -2
- package/dist/_virtual/properties.js.map +0 -1
- package/dist/_virtual/properties2.js +0 -2
- package/dist/_virtual/properties2.js.map +0 -1
- package/dist/_virtual/protobuf.js +0 -2
- package/dist/_virtual/protobuf.js.map +0 -1
- package/dist/_virtual/protobuf2.js +0 -2
- package/dist/_virtual/protobuf2.js.map +0 -1
- package/dist/_virtual/psl.js +0 -2
- package/dist/_virtual/psl.js.map +0 -1
- package/dist/_virtual/pug.js +0 -2
- package/dist/_virtual/pug.js.map +0 -1
- package/dist/_virtual/puppet.js +0 -2
- package/dist/_virtual/puppet.js.map +0 -1
- package/dist/_virtual/puppet2.js +0 -2
- package/dist/_virtual/puppet2.js.map +0 -1
- package/dist/_virtual/pure.js +0 -2
- package/dist/_virtual/pure.js.map +0 -1
- package/dist/_virtual/purebasic.js +0 -2
- package/dist/_virtual/purebasic.js.map +0 -1
- package/dist/_virtual/purebasic2.js +0 -2
- package/dist/_virtual/purebasic2.js.map +0 -1
- package/dist/_virtual/purescript.js +0 -2
- package/dist/_virtual/purescript.js.map +0 -1
- package/dist/_virtual/python-repl.js +0 -2
- package/dist/_virtual/python-repl.js.map +0 -1
- package/dist/_virtual/python.js +0 -2
- package/dist/_virtual/python.js.map +0 -1
- package/dist/_virtual/python2.js +0 -2
- package/dist/_virtual/python2.js.map +0 -1
- package/dist/_virtual/q.js +0 -2
- package/dist/_virtual/q.js.map +0 -1
- package/dist/_virtual/q2.js +0 -2
- package/dist/_virtual/q2.js.map +0 -1
- package/dist/_virtual/qml.js +0 -2
- package/dist/_virtual/qml.js.map +0 -1
- package/dist/_virtual/qml2.js +0 -2
- package/dist/_virtual/qml2.js.map +0 -1
- package/dist/_virtual/qore.js +0 -2
- package/dist/_virtual/qore.js.map +0 -1
- package/dist/_virtual/qsharp.js +0 -2
- package/dist/_virtual/qsharp.js.map +0 -1
- package/dist/_virtual/r.js +0 -2
- package/dist/_virtual/r.js.map +0 -1
- package/dist/_virtual/r2.js +0 -2
- package/dist/_virtual/r2.js.map +0 -1
- package/dist/_virtual/racket.js +0 -2
- package/dist/_virtual/racket.js.map +0 -1
- package/dist/_virtual/reason.js +0 -2
- package/dist/_virtual/reason.js.map +0 -1
- package/dist/_virtual/reasonml.js +0 -2
- package/dist/_virtual/reasonml.js.map +0 -1
- package/dist/_virtual/regex.js +0 -2
- package/dist/_virtual/regex.js.map +0 -1
- package/dist/_virtual/rego.js +0 -2
- package/dist/_virtual/rego.js.map +0 -1
- package/dist/_virtual/renpy.js +0 -2
- package/dist/_virtual/renpy.js.map +0 -1
- package/dist/_virtual/rest.js +0 -2
- package/dist/_virtual/rest.js.map +0 -1
- package/dist/_virtual/rib.js +0 -2
- package/dist/_virtual/rib.js.map +0 -1
- package/dist/_virtual/rip.js +0 -2
- package/dist/_virtual/rip.js.map +0 -1
- package/dist/_virtual/roboconf.js +0 -2
- package/dist/_virtual/roboconf.js.map +0 -1
- package/dist/_virtual/roboconf2.js +0 -2
- package/dist/_virtual/roboconf2.js.map +0 -1
- package/dist/_virtual/robotframework.js +0 -2
- package/dist/_virtual/robotframework.js.map +0 -1
- package/dist/_virtual/routeros.js +0 -2
- package/dist/_virtual/routeros.js.map +0 -1
- package/dist/_virtual/rsl.js +0 -2
- package/dist/_virtual/rsl.js.map +0 -1
- package/dist/_virtual/ruby.js +0 -2
- package/dist/_virtual/ruby.js.map +0 -1
- package/dist/_virtual/ruby2.js +0 -2
- package/dist/_virtual/ruby2.js.map +0 -1
- package/dist/_virtual/ruleslanguage.js +0 -2
- package/dist/_virtual/ruleslanguage.js.map +0 -1
- package/dist/_virtual/rust.js +0 -2
- package/dist/_virtual/rust.js.map +0 -1
- package/dist/_virtual/rust2.js +0 -2
- package/dist/_virtual/rust2.js.map +0 -1
- package/dist/_virtual/sas.js +0 -2
- package/dist/_virtual/sas.js.map +0 -1
- package/dist/_virtual/sas2.js +0 -2
- package/dist/_virtual/sas2.js.map +0 -1
- package/dist/_virtual/sass.js +0 -2
- package/dist/_virtual/sass.js.map +0 -1
- package/dist/_virtual/scala.js +0 -2
- package/dist/_virtual/scala.js.map +0 -1
- package/dist/_virtual/scala2.js +0 -2
- package/dist/_virtual/scala2.js.map +0 -1
- package/dist/_virtual/scheme.js +0 -2
- package/dist/_virtual/scheme.js.map +0 -1
- package/dist/_virtual/scheme2.js +0 -2
- package/dist/_virtual/scheme2.js.map +0 -1
- package/dist/_virtual/scilab.js +0 -2
- package/dist/_virtual/scilab.js.map +0 -1
- package/dist/_virtual/scss.js +0 -2
- package/dist/_virtual/scss.js.map +0 -1
- package/dist/_virtual/scss2.js +0 -2
- package/dist/_virtual/scss2.js.map +0 -1
- package/dist/_virtual/setPrototypeOf.js +0 -2
- package/dist/_virtual/setPrototypeOf.js.map +0 -1
- package/dist/_virtual/shell-session.js +0 -2
- package/dist/_virtual/shell-session.js.map +0 -1
- package/dist/_virtual/shell.js +0 -2
- package/dist/_virtual/shell.js.map +0 -1
- package/dist/_virtual/smali.js +0 -2
- package/dist/_virtual/smali.js.map +0 -1
- package/dist/_virtual/smali2.js +0 -2
- package/dist/_virtual/smali2.js.map +0 -1
- package/dist/_virtual/smalltalk.js +0 -2
- package/dist/_virtual/smalltalk.js.map +0 -1
- package/dist/_virtual/smalltalk2.js +0 -2
- package/dist/_virtual/smalltalk2.js.map +0 -1
- package/dist/_virtual/smarty.js +0 -2
- package/dist/_virtual/smarty.js.map +0 -1
- package/dist/_virtual/sml.js +0 -2
- package/dist/_virtual/sml.js.map +0 -1
- package/dist/_virtual/sml2.js +0 -2
- package/dist/_virtual/sml2.js.map +0 -1
- package/dist/_virtual/solidity.js +0 -2
- package/dist/_virtual/solidity.js.map +0 -1
- package/dist/_virtual/solution-file.js +0 -2
- package/dist/_virtual/solution-file.js.map +0 -1
- package/dist/_virtual/soy.js +0 -2
- package/dist/_virtual/soy.js.map +0 -1
- package/dist/_virtual/sparql.js +0 -2
- package/dist/_virtual/sparql.js.map +0 -1
- package/dist/_virtual/splunk-spl.js +0 -2
- package/dist/_virtual/splunk-spl.js.map +0 -1
- package/dist/_virtual/sqf.js +0 -2
- package/dist/_virtual/sqf.js.map +0 -1
- package/dist/_virtual/sqf2.js +0 -2
- package/dist/_virtual/sqf2.js.map +0 -1
- package/dist/_virtual/sql.js +0 -2
- package/dist/_virtual/sql.js.map +0 -1
- package/dist/_virtual/sql2.js +0 -2
- package/dist/_virtual/sql2.js.map +0 -1
- package/dist/_virtual/sql_more.js +0 -2
- package/dist/_virtual/sql_more.js.map +0 -1
- package/dist/_virtual/squirrel.js +0 -2
- package/dist/_virtual/squirrel.js.map +0 -1
- package/dist/_virtual/stan.js +0 -2
- package/dist/_virtual/stan.js.map +0 -1
- package/dist/_virtual/stan2.js +0 -2
- package/dist/_virtual/stan2.js.map +0 -1
- package/dist/_virtual/stata.js +0 -2
- package/dist/_virtual/stata.js.map +0 -1
- package/dist/_virtual/step21.js +0 -2
- package/dist/_virtual/step21.js.map +0 -1
- package/dist/_virtual/stylus.js +0 -2
- package/dist/_virtual/stylus.js.map +0 -1
- package/dist/_virtual/stylus2.js +0 -2
- package/dist/_virtual/stylus2.js.map +0 -1
- package/dist/_virtual/subunit.js +0 -2
- package/dist/_virtual/subunit.js.map +0 -1
- package/dist/_virtual/swift.js +0 -2
- package/dist/_virtual/swift.js.map +0 -1
- package/dist/_virtual/swift2.js +0 -2
- package/dist/_virtual/swift2.js.map +0 -1
- package/dist/_virtual/systemd.js +0 -2
- package/dist/_virtual/systemd.js.map +0 -1
- package/dist/_virtual/t4-cs.js +0 -2
- package/dist/_virtual/t4-cs.js.map +0 -1
- package/dist/_virtual/t4-templating.js +0 -2
- package/dist/_virtual/t4-templating.js.map +0 -1
- package/dist/_virtual/t4-vb.js +0 -2
- package/dist/_virtual/t4-vb.js.map +0 -1
- package/dist/_virtual/taggerscript.js +0 -2
- package/dist/_virtual/taggerscript.js.map +0 -1
- package/dist/_virtual/tap.js +0 -2
- package/dist/_virtual/tap.js.map +0 -1
- package/dist/_virtual/tap2.js +0 -2
- package/dist/_virtual/tap2.js.map +0 -1
- package/dist/_virtual/tcl.js +0 -2
- package/dist/_virtual/tcl.js.map +0 -1
- package/dist/_virtual/tcl2.js +0 -2
- package/dist/_virtual/tcl2.js.map +0 -1
- package/dist/_virtual/textile.js +0 -2
- package/dist/_virtual/textile.js.map +0 -1
- package/dist/_virtual/thrift.js +0 -2
- package/dist/_virtual/thrift.js.map +0 -1
- package/dist/_virtual/toConsumableArray.js +0 -2
- package/dist/_virtual/toConsumableArray.js.map +0 -1
- package/dist/_virtual/toPrimitive.js +0 -2
- package/dist/_virtual/toPrimitive.js.map +0 -1
- package/dist/_virtual/toPropertyKey.js +0 -2
- package/dist/_virtual/toPropertyKey.js.map +0 -1
- package/dist/_virtual/toml.js +0 -2
- package/dist/_virtual/toml.js.map +0 -1
- package/dist/_virtual/tp.js +0 -2
- package/dist/_virtual/tp.js.map +0 -1
- package/dist/_virtual/tremor.js +0 -2
- package/dist/_virtual/tremor.js.map +0 -1
- package/dist/_virtual/tsx.js +0 -2
- package/dist/_virtual/tsx.js.map +0 -1
- package/dist/_virtual/tt2.js +0 -2
- package/dist/_virtual/tt2.js.map +0 -1
- package/dist/_virtual/turtle.js +0 -2
- package/dist/_virtual/turtle.js.map +0 -1
- package/dist/_virtual/twig.js +0 -2
- package/dist/_virtual/twig.js.map +0 -1
- package/dist/_virtual/twig2.js +0 -2
- package/dist/_virtual/twig2.js.map +0 -1
- package/dist/_virtual/typeof.js +0 -2
- package/dist/_virtual/typeof.js.map +0 -1
- package/dist/_virtual/types.js +0 -2
- package/dist/_virtual/types.js.map +0 -1
- package/dist/_virtual/typescript.js +0 -2
- package/dist/_virtual/typescript.js.map +0 -1
- package/dist/_virtual/typescript2.js +0 -2
- package/dist/_virtual/typescript2.js.map +0 -1
- package/dist/_virtual/typoscript.js +0 -2
- package/dist/_virtual/typoscript.js.map +0 -1
- package/dist/_virtual/unrealscript.js +0 -2
- package/dist/_virtual/unrealscript.js.map +0 -1
- package/dist/_virtual/unsupportedIterableToArray.js +0 -2
- package/dist/_virtual/unsupportedIterableToArray.js.map +0 -1
- package/dist/_virtual/uorazor.js +0 -2
- package/dist/_virtual/uorazor.js.map +0 -1
- package/dist/_virtual/uri.js +0 -2
- package/dist/_virtual/uri.js.map +0 -1
- package/dist/_virtual/v.js +0 -2
- package/dist/_virtual/v.js.map +0 -1
- package/dist/_virtual/vala.js +0 -2
- package/dist/_virtual/vala.js.map +0 -1
- package/dist/_virtual/vala2.js +0 -2
- package/dist/_virtual/vala2.js.map +0 -1
- package/dist/_virtual/vbnet.js +0 -2
- package/dist/_virtual/vbnet.js.map +0 -1
- package/dist/_virtual/vbnet2.js +0 -2
- package/dist/_virtual/vbnet2.js.map +0 -1
- package/dist/_virtual/vbscript-html.js +0 -2
- package/dist/_virtual/vbscript-html.js.map +0 -1
- package/dist/_virtual/vbscript.js +0 -2
- package/dist/_virtual/vbscript.js.map +0 -1
- package/dist/_virtual/velocity.js +0 -2
- package/dist/_virtual/velocity.js.map +0 -1
- package/dist/_virtual/verilog.js +0 -2
- package/dist/_virtual/verilog.js.map +0 -1
- package/dist/_virtual/verilog2.js +0 -2
- package/dist/_virtual/verilog2.js.map +0 -1
- package/dist/_virtual/vhdl.js +0 -2
- package/dist/_virtual/vhdl.js.map +0 -1
- package/dist/_virtual/vhdl2.js +0 -2
- package/dist/_virtual/vhdl2.js.map +0 -1
- package/dist/_virtual/vim.js +0 -2
- package/dist/_virtual/vim.js.map +0 -1
- package/dist/_virtual/vim2.js +0 -2
- package/dist/_virtual/vim2.js.map +0 -1
- package/dist/_virtual/visual-basic.js +0 -2
- package/dist/_virtual/visual-basic.js.map +0 -1
- package/dist/_virtual/warpscript.js +0 -2
- package/dist/_virtual/warpscript.js.map +0 -1
- package/dist/_virtual/wasm.js +0 -2
- package/dist/_virtual/wasm.js.map +0 -1
- package/dist/_virtual/web-idl.js +0 -2
- package/dist/_virtual/web-idl.js.map +0 -1
- package/dist/_virtual/wiki.js +0 -2
- package/dist/_virtual/wiki.js.map +0 -1
- package/dist/_virtual/wolfram.js +0 -2
- package/dist/_virtual/wolfram.js.map +0 -1
- package/dist/_virtual/wren.js +0 -2
- package/dist/_virtual/wren.js.map +0 -1
- package/dist/_virtual/x86asm.js +0 -2
- package/dist/_virtual/x86asm.js.map +0 -1
- package/dist/_virtual/xeora.js +0 -2
- package/dist/_virtual/xeora.js.map +0 -1
- package/dist/_virtual/xl.js +0 -2
- package/dist/_virtual/xl.js.map +0 -1
- package/dist/_virtual/xml-doc.js +0 -2
- package/dist/_virtual/xml-doc.js.map +0 -1
- package/dist/_virtual/xml.js +0 -2
- package/dist/_virtual/xml.js.map +0 -1
- package/dist/_virtual/xojo.js +0 -2
- package/dist/_virtual/xojo.js.map +0 -1
- package/dist/_virtual/xquery.js +0 -2
- package/dist/_virtual/xquery.js.map +0 -1
- package/dist/_virtual/xquery2.js +0 -2
- package/dist/_virtual/xquery2.js.map +0 -1
- package/dist/_virtual/yaml.js +0 -2
- package/dist/_virtual/yaml.js.map +0 -1
- package/dist/_virtual/yaml2.js +0 -2
- package/dist/_virtual/yaml2.js.map +0 -1
- package/dist/_virtual/yang.js +0 -2
- package/dist/_virtual/yang.js.map +0 -1
- package/dist/_virtual/zephir.js +0 -2
- package/dist/_virtual/zephir.js.map +0 -1
- package/dist/_virtual/zig.js +0 -2
- package/dist/_virtual/zig.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/arrayLikeToArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/assertThisInitialized.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/asyncToGenerator.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/classCallCheck.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/createClass.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/createClass.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/defineProperty.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/defineProperty.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/extends.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/extends.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/getPrototypeOf.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/inherits.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/inherits.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/iterableToArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/nonIterableSpread.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/objectWithoutProperties.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/setPrototypeOf.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/toConsumableArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/toPrimitive.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/toPropertyKey.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/typeof.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/typeof.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js.map +0 -1
- package/dist/node_modules/character-entities/index.json.js +0 -2
- package/dist/node_modules/character-entities/index.json.js.map +0 -1
- package/dist/node_modules/character-entities-legacy/index.json.js +0 -2
- package/dist/node_modules/character-entities-legacy/index.json.js.map +0 -1
- package/dist/node_modules/character-reference-invalid/index.json.js +0 -2
- package/dist/node_modules/character-reference-invalid/index.json.js.map +0 -1
- package/dist/node_modules/comma-separated-tokens/index.js +0 -2
- package/dist/node_modules/comma-separated-tokens/index.js.map +0 -1
- package/dist/node_modules/fault/index.js +0 -2
- package/dist/node_modules/fault/index.js.map +0 -1
- package/dist/node_modules/format/format.js +0 -2
- package/dist/node_modules/format/format.js.map +0 -1
- package/dist/node_modules/hast-util-parse-selector/index.js +0 -2
- package/dist/node_modules/hast-util-parse-selector/index.js.map +0 -1
- package/dist/node_modules/hastscript/factory.js +0 -2
- package/dist/node_modules/hastscript/factory.js.map +0 -1
- package/dist/node_modules/hastscript/html.js +0 -2
- package/dist/node_modules/hastscript/html.js.map +0 -1
- package/dist/node_modules/hastscript/index.js +0 -2
- package/dist/node_modules/hastscript/index.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/core.js +0 -2
- package/dist/node_modules/highlight.js/lib/core.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/1c.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/1c.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/abnf.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/abnf.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/accesslog.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/accesslog.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/actionscript.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/actionscript.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/ada.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/ada.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/angelscript.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/angelscript.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/apache.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/apache.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/applescript.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/applescript.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/arcade.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/arcade.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/arduino.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/arduino.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/armasm.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/armasm.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/asciidoc.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/asciidoc.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/aspectj.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/aspectj.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/autohotkey.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/autohotkey.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/autoit.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/autoit.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/avrasm.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/avrasm.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/awk.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/awk.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/axapta.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/axapta.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/bash.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/bash.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/basic.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/basic.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/bnf.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/bnf.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/brainfuck.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/brainfuck.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/c-like.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/c-like.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/c.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/c.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/cal.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/cal.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/capnproto.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/capnproto.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/ceylon.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/ceylon.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/clean.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/clean.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/clojure-repl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/clojure-repl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/clojure.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/clojure.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/cmake.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/cmake.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/coffeescript.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/coffeescript.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/coq.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/coq.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/cos.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/cos.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/cpp.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/cpp.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/crmsh.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/crmsh.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/crystal.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/crystal.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/csharp.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/csharp.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/csp.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/csp.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/css.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/css.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/d.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/d.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/dart.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/dart.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/delphi.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/delphi.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/diff.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/diff.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/django.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/django.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/dns.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/dns.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/dockerfile.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/dockerfile.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/dos.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/dos.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/dsconfig.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/dsconfig.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/dts.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/dts.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/dust.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/dust.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/ebnf.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/ebnf.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/elixir.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/elixir.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/elm.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/elm.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/erb.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/erb.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/erlang-repl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/erlang-repl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/erlang.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/erlang.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/excel.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/excel.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/fix.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/fix.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/flix.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/flix.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/fortran.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/fortran.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/fsharp.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/fsharp.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/gams.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/gams.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/gauss.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/gauss.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/gcode.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/gcode.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/gherkin.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/gherkin.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/glsl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/glsl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/gml.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/gml.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/go.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/go.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/golo.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/golo.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/gradle.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/gradle.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/groovy.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/groovy.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/haml.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/haml.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/handlebars.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/handlebars.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/haskell.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/haskell.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/haxe.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/haxe.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/hsp.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/hsp.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/htmlbars.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/htmlbars.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/http.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/http.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/hy.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/hy.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/inform7.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/inform7.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/ini.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/ini.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/irpf90.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/irpf90.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/isbl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/isbl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/java.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/java.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/javascript.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/javascript.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/jboss-cli.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/jboss-cli.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/json.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/json.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/julia-repl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/julia-repl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/julia.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/julia.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/kotlin.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/kotlin.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/lasso.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/lasso.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/latex.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/latex.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/ldif.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/ldif.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/leaf.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/leaf.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/less.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/less.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/lisp.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/lisp.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/livecodeserver.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/livecodeserver.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/livescript.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/livescript.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/llvm.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/llvm.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/lsl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/lsl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/lua.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/lua.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/makefile.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/makefile.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/markdown.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/markdown.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/mathematica.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/mathematica.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/matlab.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/matlab.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/maxima.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/maxima.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/mel.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/mel.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/mercury.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/mercury.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/mipsasm.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/mipsasm.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/mizar.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/mizar.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/mojolicious.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/mojolicious.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/monkey.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/monkey.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/moonscript.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/moonscript.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/n1ql.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/n1ql.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/nginx.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/nginx.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/nim.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/nim.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/nix.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/nix.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/node-repl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/node-repl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/nsis.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/nsis.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/objectivec.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/objectivec.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/ocaml.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/ocaml.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/openscad.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/openscad.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/oxygene.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/oxygene.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/parser3.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/parser3.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/perl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/perl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/pf.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/pf.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/pgsql.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/pgsql.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/php-template.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/php-template.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/php.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/php.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/plaintext.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/plaintext.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/pony.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/pony.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/powershell.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/powershell.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/processing.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/processing.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/profile.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/profile.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/prolog.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/prolog.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/properties.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/properties.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/protobuf.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/protobuf.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/puppet.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/puppet.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/purebasic.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/purebasic.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/python-repl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/python-repl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/python.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/python.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/q.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/q.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/qml.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/qml.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/r.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/r.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/reasonml.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/reasonml.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/rib.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/rib.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/roboconf.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/roboconf.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/routeros.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/routeros.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/rsl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/rsl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/ruby.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/ruby.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/ruleslanguage.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/ruleslanguage.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/rust.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/rust.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/sas.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/sas.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/scala.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/scala.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/scheme.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/scheme.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/scilab.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/scilab.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/scss.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/scss.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/shell.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/shell.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/smali.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/smali.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/smalltalk.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/smalltalk.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/sml.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/sml.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/sqf.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/sqf.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/sql.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/sql.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/sql_more.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/sql_more.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/stan.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/stan.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/stata.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/stata.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/step21.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/step21.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/stylus.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/stylus.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/subunit.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/subunit.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/swift.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/swift.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/taggerscript.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/taggerscript.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/tap.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/tap.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/tcl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/tcl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/thrift.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/thrift.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/tp.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/tp.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/twig.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/twig.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/typescript.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/typescript.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/vala.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/vala.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/vbnet.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/vbnet.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/vbscript-html.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/vbscript-html.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/vbscript.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/vbscript.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/verilog.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/verilog.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/vhdl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/vhdl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/vim.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/vim.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/x86asm.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/x86asm.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/xl.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/xl.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/xml.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/xml.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/xquery.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/xquery.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/yaml.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/yaml.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/zephir.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/zephir.js.map +0 -1
- package/dist/node_modules/is-alphabetical/index.js +0 -2
- package/dist/node_modules/is-alphabetical/index.js.map +0 -1
- package/dist/node_modules/is-alphanumerical/index.js +0 -2
- package/dist/node_modules/is-alphanumerical/index.js.map +0 -1
- package/dist/node_modules/is-decimal/index.js +0 -2
- package/dist/node_modules/is-decimal/index.js.map +0 -1
- package/dist/node_modules/is-hexadecimal/index.js +0 -2
- package/dist/node_modules/is-hexadecimal/index.js.map +0 -1
- package/dist/node_modules/lowlight/index.js +0 -2
- package/dist/node_modules/lowlight/index.js.map +0 -1
- package/dist/node_modules/lowlight/lib/core.js +0 -2
- package/dist/node_modules/lowlight/lib/core.js.map +0 -1
- package/dist/node_modules/parse-entities/decode-entity.js +0 -2
- package/dist/node_modules/parse-entities/decode-entity.js.map +0 -1
- package/dist/node_modules/parse-entities/index.js +0 -2
- package/dist/node_modules/parse-entities/index.js.map +0 -1
- package/dist/node_modules/property-information/find.js +0 -2
- package/dist/node_modules/property-information/find.js.map +0 -1
- package/dist/node_modules/property-information/html.js +0 -2
- package/dist/node_modules/property-information/html.js.map +0 -1
- package/dist/node_modules/property-information/lib/aria.js +0 -2
- package/dist/node_modules/property-information/lib/aria.js.map +0 -1
- package/dist/node_modules/property-information/lib/html.js +0 -2
- package/dist/node_modules/property-information/lib/html.js.map +0 -1
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -2
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js.map +0 -1
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -2
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js.map +0 -1
- package/dist/node_modules/property-information/lib/util/create.js +0 -2
- package/dist/node_modules/property-information/lib/util/create.js.map +0 -1
- package/dist/node_modules/property-information/lib/util/defined-info.js +0 -2
- package/dist/node_modules/property-information/lib/util/defined-info.js.map +0 -1
- package/dist/node_modules/property-information/lib/util/info.js +0 -2
- package/dist/node_modules/property-information/lib/util/info.js.map +0 -1
- package/dist/node_modules/property-information/lib/util/merge.js +0 -2
- package/dist/node_modules/property-information/lib/util/merge.js.map +0 -1
- package/dist/node_modules/property-information/lib/util/schema.js +0 -2
- package/dist/node_modules/property-information/lib/util/schema.js.map +0 -1
- package/dist/node_modules/property-information/lib/util/types.js +0 -2
- package/dist/node_modules/property-information/lib/util/types.js.map +0 -1
- package/dist/node_modules/property-information/lib/xlink.js +0 -2
- package/dist/node_modules/property-information/lib/xlink.js.map +0 -1
- package/dist/node_modules/property-information/lib/xml.js +0 -2
- package/dist/node_modules/property-information/lib/xml.js.map +0 -1
- package/dist/node_modules/property-information/lib/xmlns.js +0 -2
- package/dist/node_modules/property-information/lib/xmlns.js.map +0 -1
- package/dist/node_modules/property-information/normalize.js +0 -2
- package/dist/node_modules/property-information/normalize.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/async-languages/hljs.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/async-languages/hljs.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/async-languages/prism.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/async-languages/prism.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/default-highlight.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/default-highlight.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/supported-languages.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/supported-languages.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/light-async.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/light-async.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/light.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/light.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-async-light.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-async-light.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-async.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-async.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-light.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-light.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/prism.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/prism.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/default-style.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/default-style.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/one-light.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/one-light.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/tomorrow.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/tomorrow.js.map +0 -1
- package/dist/node_modules/refractor/core.js +0 -2
- package/dist/node_modules/refractor/core.js.map +0 -1
- package/dist/node_modules/refractor/index.js +0 -2
- package/dist/node_modules/refractor/index.js.map +0 -1
- package/dist/node_modules/refractor/lang/abap.js +0 -2
- package/dist/node_modules/refractor/lang/abap.js.map +0 -1
- package/dist/node_modules/refractor/lang/abnf.js +0 -2
- package/dist/node_modules/refractor/lang/abnf.js.map +0 -1
- package/dist/node_modules/refractor/lang/actionscript.js +0 -2
- package/dist/node_modules/refractor/lang/actionscript.js.map +0 -1
- package/dist/node_modules/refractor/lang/ada.js +0 -2
- package/dist/node_modules/refractor/lang/ada.js.map +0 -1
- package/dist/node_modules/refractor/lang/agda.js +0 -2
- package/dist/node_modules/refractor/lang/agda.js.map +0 -1
- package/dist/node_modules/refractor/lang/al.js +0 -2
- package/dist/node_modules/refractor/lang/al.js.map +0 -1
- package/dist/node_modules/refractor/lang/antlr4.js +0 -2
- package/dist/node_modules/refractor/lang/antlr4.js.map +0 -1
- package/dist/node_modules/refractor/lang/apacheconf.js +0 -2
- package/dist/node_modules/refractor/lang/apacheconf.js.map +0 -1
- package/dist/node_modules/refractor/lang/apex.js +0 -2
- package/dist/node_modules/refractor/lang/apex.js.map +0 -1
- package/dist/node_modules/refractor/lang/apl.js +0 -2
- package/dist/node_modules/refractor/lang/apl.js.map +0 -1
- package/dist/node_modules/refractor/lang/applescript.js +0 -2
- package/dist/node_modules/refractor/lang/applescript.js.map +0 -1
- package/dist/node_modules/refractor/lang/aql.js +0 -2
- package/dist/node_modules/refractor/lang/aql.js.map +0 -1
- package/dist/node_modules/refractor/lang/arduino.js +0 -2
- package/dist/node_modules/refractor/lang/arduino.js.map +0 -1
- package/dist/node_modules/refractor/lang/arff.js +0 -2
- package/dist/node_modules/refractor/lang/arff.js.map +0 -1
- package/dist/node_modules/refractor/lang/asciidoc.js +0 -2
- package/dist/node_modules/refractor/lang/asciidoc.js.map +0 -1
- package/dist/node_modules/refractor/lang/asm6502.js +0 -2
- package/dist/node_modules/refractor/lang/asm6502.js.map +0 -1
- package/dist/node_modules/refractor/lang/asmatmel.js +0 -2
- package/dist/node_modules/refractor/lang/asmatmel.js.map +0 -1
- package/dist/node_modules/refractor/lang/aspnet.js +0 -2
- package/dist/node_modules/refractor/lang/aspnet.js.map +0 -1
- package/dist/node_modules/refractor/lang/autohotkey.js +0 -2
- package/dist/node_modules/refractor/lang/autohotkey.js.map +0 -1
- package/dist/node_modules/refractor/lang/autoit.js +0 -2
- package/dist/node_modules/refractor/lang/autoit.js.map +0 -1
- package/dist/node_modules/refractor/lang/avisynth.js +0 -2
- package/dist/node_modules/refractor/lang/avisynth.js.map +0 -1
- package/dist/node_modules/refractor/lang/avro-idl.js +0 -2
- package/dist/node_modules/refractor/lang/avro-idl.js.map +0 -1
- package/dist/node_modules/refractor/lang/bash.js +0 -2
- package/dist/node_modules/refractor/lang/bash.js.map +0 -1
- package/dist/node_modules/refractor/lang/basic.js +0 -2
- package/dist/node_modules/refractor/lang/basic.js.map +0 -1
- package/dist/node_modules/refractor/lang/batch.js +0 -2
- package/dist/node_modules/refractor/lang/batch.js.map +0 -1
- package/dist/node_modules/refractor/lang/bbcode.js +0 -2
- package/dist/node_modules/refractor/lang/bbcode.js.map +0 -1
- package/dist/node_modules/refractor/lang/bicep.js +0 -2
- package/dist/node_modules/refractor/lang/bicep.js.map +0 -1
- package/dist/node_modules/refractor/lang/birb.js +0 -2
- package/dist/node_modules/refractor/lang/birb.js.map +0 -1
- package/dist/node_modules/refractor/lang/bison.js +0 -2
- package/dist/node_modules/refractor/lang/bison.js.map +0 -1
- package/dist/node_modules/refractor/lang/bnf.js +0 -2
- package/dist/node_modules/refractor/lang/bnf.js.map +0 -1
- package/dist/node_modules/refractor/lang/brainfuck.js +0 -2
- package/dist/node_modules/refractor/lang/brainfuck.js.map +0 -1
- package/dist/node_modules/refractor/lang/brightscript.js +0 -2
- package/dist/node_modules/refractor/lang/brightscript.js.map +0 -1
- package/dist/node_modules/refractor/lang/bro.js +0 -2
- package/dist/node_modules/refractor/lang/bro.js.map +0 -1
- package/dist/node_modules/refractor/lang/bsl.js +0 -2
- package/dist/node_modules/refractor/lang/bsl.js.map +0 -1
- package/dist/node_modules/refractor/lang/c.js +0 -2
- package/dist/node_modules/refractor/lang/c.js.map +0 -1
- package/dist/node_modules/refractor/lang/cfscript.js +0 -2
- package/dist/node_modules/refractor/lang/cfscript.js.map +0 -1
- package/dist/node_modules/refractor/lang/chaiscript.js +0 -2
- package/dist/node_modules/refractor/lang/chaiscript.js.map +0 -1
- package/dist/node_modules/refractor/lang/cil.js +0 -2
- package/dist/node_modules/refractor/lang/cil.js.map +0 -1
- package/dist/node_modules/refractor/lang/clike.js +0 -2
- package/dist/node_modules/refractor/lang/clike.js.map +0 -1
- package/dist/node_modules/refractor/lang/clojure.js +0 -2
- package/dist/node_modules/refractor/lang/clojure.js.map +0 -1
- package/dist/node_modules/refractor/lang/cmake.js +0 -2
- package/dist/node_modules/refractor/lang/cmake.js.map +0 -1
- package/dist/node_modules/refractor/lang/cobol.js +0 -2
- package/dist/node_modules/refractor/lang/cobol.js.map +0 -1
- package/dist/node_modules/refractor/lang/coffeescript.js +0 -2
- package/dist/node_modules/refractor/lang/coffeescript.js.map +0 -1
- package/dist/node_modules/refractor/lang/concurnas.js +0 -2
- package/dist/node_modules/refractor/lang/concurnas.js.map +0 -1
- package/dist/node_modules/refractor/lang/coq.js +0 -2
- package/dist/node_modules/refractor/lang/coq.js.map +0 -1
- package/dist/node_modules/refractor/lang/cpp.js +0 -2
- package/dist/node_modules/refractor/lang/cpp.js.map +0 -1
- package/dist/node_modules/refractor/lang/crystal.js +0 -2
- package/dist/node_modules/refractor/lang/crystal.js.map +0 -1
- package/dist/node_modules/refractor/lang/csharp.js +0 -2
- package/dist/node_modules/refractor/lang/csharp.js.map +0 -1
- package/dist/node_modules/refractor/lang/cshtml.js +0 -2
- package/dist/node_modules/refractor/lang/cshtml.js.map +0 -1
- package/dist/node_modules/refractor/lang/csp.js +0 -2
- package/dist/node_modules/refractor/lang/csp.js.map +0 -1
- package/dist/node_modules/refractor/lang/css-extras.js +0 -2
- package/dist/node_modules/refractor/lang/css-extras.js.map +0 -1
- package/dist/node_modules/refractor/lang/css.js +0 -2
- package/dist/node_modules/refractor/lang/css.js.map +0 -1
- package/dist/node_modules/refractor/lang/csv.js +0 -2
- package/dist/node_modules/refractor/lang/csv.js.map +0 -1
- package/dist/node_modules/refractor/lang/cypher.js +0 -2
- package/dist/node_modules/refractor/lang/cypher.js.map +0 -1
- package/dist/node_modules/refractor/lang/d.js +0 -2
- package/dist/node_modules/refractor/lang/d.js.map +0 -1
- package/dist/node_modules/refractor/lang/dart.js +0 -2
- package/dist/node_modules/refractor/lang/dart.js.map +0 -1
- package/dist/node_modules/refractor/lang/dataweave.js +0 -2
- package/dist/node_modules/refractor/lang/dataweave.js.map +0 -1
- package/dist/node_modules/refractor/lang/dax.js +0 -2
- package/dist/node_modules/refractor/lang/dax.js.map +0 -1
- package/dist/node_modules/refractor/lang/dhall.js +0 -2
- package/dist/node_modules/refractor/lang/dhall.js.map +0 -1
- package/dist/node_modules/refractor/lang/diff.js +0 -2
- package/dist/node_modules/refractor/lang/diff.js.map +0 -1
- package/dist/node_modules/refractor/lang/django.js +0 -2
- package/dist/node_modules/refractor/lang/django.js.map +0 -1
- package/dist/node_modules/refractor/lang/dns-zone-file.js +0 -2
- package/dist/node_modules/refractor/lang/dns-zone-file.js.map +0 -1
- package/dist/node_modules/refractor/lang/docker.js +0 -2
- package/dist/node_modules/refractor/lang/docker.js.map +0 -1
- package/dist/node_modules/refractor/lang/dot.js +0 -2
- package/dist/node_modules/refractor/lang/dot.js.map +0 -1
- package/dist/node_modules/refractor/lang/ebnf.js +0 -2
- package/dist/node_modules/refractor/lang/ebnf.js.map +0 -1
- package/dist/node_modules/refractor/lang/editorconfig.js +0 -2
- package/dist/node_modules/refractor/lang/editorconfig.js.map +0 -1
- package/dist/node_modules/refractor/lang/eiffel.js +0 -2
- package/dist/node_modules/refractor/lang/eiffel.js.map +0 -1
- package/dist/node_modules/refractor/lang/ejs.js +0 -2
- package/dist/node_modules/refractor/lang/ejs.js.map +0 -1
- package/dist/node_modules/refractor/lang/elixir.js +0 -2
- package/dist/node_modules/refractor/lang/elixir.js.map +0 -1
- package/dist/node_modules/refractor/lang/elm.js +0 -2
- package/dist/node_modules/refractor/lang/elm.js.map +0 -1
- package/dist/node_modules/refractor/lang/erb.js +0 -2
- package/dist/node_modules/refractor/lang/erb.js.map +0 -1
- package/dist/node_modules/refractor/lang/erlang.js +0 -2
- package/dist/node_modules/refractor/lang/erlang.js.map +0 -1
- package/dist/node_modules/refractor/lang/etlua.js +0 -2
- package/dist/node_modules/refractor/lang/etlua.js.map +0 -1
- package/dist/node_modules/refractor/lang/excel-formula.js +0 -2
- package/dist/node_modules/refractor/lang/excel-formula.js.map +0 -1
- package/dist/node_modules/refractor/lang/factor.js +0 -2
- package/dist/node_modules/refractor/lang/factor.js.map +0 -1
- package/dist/node_modules/refractor/lang/false.js +0 -2
- package/dist/node_modules/refractor/lang/false.js.map +0 -1
- package/dist/node_modules/refractor/lang/firestore-security-rules.js +0 -2
- package/dist/node_modules/refractor/lang/firestore-security-rules.js.map +0 -1
- package/dist/node_modules/refractor/lang/flow.js +0 -2
- package/dist/node_modules/refractor/lang/flow.js.map +0 -1
- package/dist/node_modules/refractor/lang/fortran.js +0 -2
- package/dist/node_modules/refractor/lang/fortran.js.map +0 -1
- package/dist/node_modules/refractor/lang/fsharp.js +0 -2
- package/dist/node_modules/refractor/lang/fsharp.js.map +0 -1
- package/dist/node_modules/refractor/lang/ftl.js +0 -2
- package/dist/node_modules/refractor/lang/ftl.js.map +0 -1
- package/dist/node_modules/refractor/lang/gap.js +0 -2
- package/dist/node_modules/refractor/lang/gap.js.map +0 -1
- package/dist/node_modules/refractor/lang/gcode.js +0 -2
- package/dist/node_modules/refractor/lang/gcode.js.map +0 -1
- package/dist/node_modules/refractor/lang/gdscript.js +0 -2
- package/dist/node_modules/refractor/lang/gdscript.js.map +0 -1
- package/dist/node_modules/refractor/lang/gedcom.js +0 -2
- package/dist/node_modules/refractor/lang/gedcom.js.map +0 -1
- package/dist/node_modules/refractor/lang/gherkin.js +0 -2
- package/dist/node_modules/refractor/lang/gherkin.js.map +0 -1
- package/dist/node_modules/refractor/lang/git.js +0 -2
- package/dist/node_modules/refractor/lang/git.js.map +0 -1
- package/dist/node_modules/refractor/lang/glsl.js +0 -2
- package/dist/node_modules/refractor/lang/glsl.js.map +0 -1
- package/dist/node_modules/refractor/lang/gml.js +0 -2
- package/dist/node_modules/refractor/lang/gml.js.map +0 -1
- package/dist/node_modules/refractor/lang/gn.js +0 -2
- package/dist/node_modules/refractor/lang/gn.js.map +0 -1
- package/dist/node_modules/refractor/lang/go-module.js +0 -2
- package/dist/node_modules/refractor/lang/go-module.js.map +0 -1
- package/dist/node_modules/refractor/lang/go.js +0 -2
- package/dist/node_modules/refractor/lang/go.js.map +0 -1
- package/dist/node_modules/refractor/lang/graphql.js +0 -2
- package/dist/node_modules/refractor/lang/graphql.js.map +0 -1
- package/dist/node_modules/refractor/lang/groovy.js +0 -2
- package/dist/node_modules/refractor/lang/groovy.js.map +0 -1
- package/dist/node_modules/refractor/lang/haml.js +0 -2
- package/dist/node_modules/refractor/lang/haml.js.map +0 -1
- package/dist/node_modules/refractor/lang/handlebars.js +0 -2
- package/dist/node_modules/refractor/lang/handlebars.js.map +0 -1
- package/dist/node_modules/refractor/lang/haskell.js +0 -2
- package/dist/node_modules/refractor/lang/haskell.js.map +0 -1
- package/dist/node_modules/refractor/lang/haxe.js +0 -2
- package/dist/node_modules/refractor/lang/haxe.js.map +0 -1
- package/dist/node_modules/refractor/lang/hcl.js +0 -2
- package/dist/node_modules/refractor/lang/hcl.js.map +0 -1
- package/dist/node_modules/refractor/lang/hlsl.js +0 -2
- package/dist/node_modules/refractor/lang/hlsl.js.map +0 -1
- package/dist/node_modules/refractor/lang/hoon.js +0 -2
- package/dist/node_modules/refractor/lang/hoon.js.map +0 -1
- package/dist/node_modules/refractor/lang/hpkp.js +0 -2
- package/dist/node_modules/refractor/lang/hpkp.js.map +0 -1
- package/dist/node_modules/refractor/lang/hsts.js +0 -2
- package/dist/node_modules/refractor/lang/hsts.js.map +0 -1
- package/dist/node_modules/refractor/lang/http.js +0 -2
- package/dist/node_modules/refractor/lang/http.js.map +0 -1
- package/dist/node_modules/refractor/lang/ichigojam.js +0 -2
- package/dist/node_modules/refractor/lang/ichigojam.js.map +0 -1
- package/dist/node_modules/refractor/lang/icon.js +0 -2
- package/dist/node_modules/refractor/lang/icon.js.map +0 -1
- package/dist/node_modules/refractor/lang/icu-message-format.js +0 -2
- package/dist/node_modules/refractor/lang/icu-message-format.js.map +0 -1
- package/dist/node_modules/refractor/lang/idris.js +0 -2
- package/dist/node_modules/refractor/lang/idris.js.map +0 -1
- package/dist/node_modules/refractor/lang/iecst.js +0 -2
- package/dist/node_modules/refractor/lang/iecst.js.map +0 -1
- package/dist/node_modules/refractor/lang/ignore.js +0 -2
- package/dist/node_modules/refractor/lang/ignore.js.map +0 -1
- package/dist/node_modules/refractor/lang/inform7.js +0 -2
- package/dist/node_modules/refractor/lang/inform7.js.map +0 -1
- package/dist/node_modules/refractor/lang/ini.js +0 -2
- package/dist/node_modules/refractor/lang/ini.js.map +0 -1
- package/dist/node_modules/refractor/lang/io.js +0 -2
- package/dist/node_modules/refractor/lang/io.js.map +0 -1
- package/dist/node_modules/refractor/lang/j.js +0 -2
- package/dist/node_modules/refractor/lang/j.js.map +0 -1
- package/dist/node_modules/refractor/lang/java.js +0 -2
- package/dist/node_modules/refractor/lang/java.js.map +0 -1
- package/dist/node_modules/refractor/lang/javadoc.js +0 -2
- package/dist/node_modules/refractor/lang/javadoc.js.map +0 -1
- package/dist/node_modules/refractor/lang/javadoclike.js +0 -2
- package/dist/node_modules/refractor/lang/javadoclike.js.map +0 -1
- package/dist/node_modules/refractor/lang/javascript.js +0 -2
- package/dist/node_modules/refractor/lang/javascript.js.map +0 -1
- package/dist/node_modules/refractor/lang/javastacktrace.js +0 -2
- package/dist/node_modules/refractor/lang/javastacktrace.js.map +0 -1
- package/dist/node_modules/refractor/lang/jexl.js +0 -2
- package/dist/node_modules/refractor/lang/jexl.js.map +0 -1
- package/dist/node_modules/refractor/lang/jolie.js +0 -2
- package/dist/node_modules/refractor/lang/jolie.js.map +0 -1
- package/dist/node_modules/refractor/lang/jq.js +0 -2
- package/dist/node_modules/refractor/lang/jq.js.map +0 -1
- package/dist/node_modules/refractor/lang/js-extras.js +0 -2
- package/dist/node_modules/refractor/lang/js-extras.js.map +0 -1
- package/dist/node_modules/refractor/lang/js-templates.js +0 -2
- package/dist/node_modules/refractor/lang/js-templates.js.map +0 -1
- package/dist/node_modules/refractor/lang/jsdoc.js +0 -2
- package/dist/node_modules/refractor/lang/jsdoc.js.map +0 -1
- package/dist/node_modules/refractor/lang/json.js +0 -2
- package/dist/node_modules/refractor/lang/json.js.map +0 -1
- package/dist/node_modules/refractor/lang/json5.js +0 -2
- package/dist/node_modules/refractor/lang/json5.js.map +0 -1
- package/dist/node_modules/refractor/lang/jsonp.js +0 -2
- package/dist/node_modules/refractor/lang/jsonp.js.map +0 -1
- package/dist/node_modules/refractor/lang/jsstacktrace.js +0 -2
- package/dist/node_modules/refractor/lang/jsstacktrace.js.map +0 -1
- package/dist/node_modules/refractor/lang/jsx.js +0 -2
- package/dist/node_modules/refractor/lang/jsx.js.map +0 -1
- package/dist/node_modules/refractor/lang/julia.js +0 -2
- package/dist/node_modules/refractor/lang/julia.js.map +0 -1
- package/dist/node_modules/refractor/lang/keepalived.js +0 -2
- package/dist/node_modules/refractor/lang/keepalived.js.map +0 -1
- package/dist/node_modules/refractor/lang/keyman.js +0 -2
- package/dist/node_modules/refractor/lang/keyman.js.map +0 -1
- package/dist/node_modules/refractor/lang/kotlin.js +0 -2
- package/dist/node_modules/refractor/lang/kotlin.js.map +0 -1
- package/dist/node_modules/refractor/lang/kumir.js +0 -2
- package/dist/node_modules/refractor/lang/kumir.js.map +0 -1
- package/dist/node_modules/refractor/lang/kusto.js +0 -2
- package/dist/node_modules/refractor/lang/kusto.js.map +0 -1
- package/dist/node_modules/refractor/lang/latex.js +0 -2
- package/dist/node_modules/refractor/lang/latex.js.map +0 -1
- package/dist/node_modules/refractor/lang/latte.js +0 -2
- package/dist/node_modules/refractor/lang/latte.js.map +0 -1
- package/dist/node_modules/refractor/lang/less.js +0 -2
- package/dist/node_modules/refractor/lang/less.js.map +0 -1
- package/dist/node_modules/refractor/lang/lilypond.js +0 -2
- package/dist/node_modules/refractor/lang/lilypond.js.map +0 -1
- package/dist/node_modules/refractor/lang/liquid.js +0 -2
- package/dist/node_modules/refractor/lang/liquid.js.map +0 -1
- package/dist/node_modules/refractor/lang/lisp.js +0 -2
- package/dist/node_modules/refractor/lang/lisp.js.map +0 -1
- package/dist/node_modules/refractor/lang/livescript.js +0 -2
- package/dist/node_modules/refractor/lang/livescript.js.map +0 -1
- package/dist/node_modules/refractor/lang/llvm.js +0 -2
- package/dist/node_modules/refractor/lang/llvm.js.map +0 -1
- package/dist/node_modules/refractor/lang/log.js +0 -2
- package/dist/node_modules/refractor/lang/log.js.map +0 -1
- package/dist/node_modules/refractor/lang/lolcode.js +0 -2
- package/dist/node_modules/refractor/lang/lolcode.js.map +0 -1
- package/dist/node_modules/refractor/lang/lua.js +0 -2
- package/dist/node_modules/refractor/lang/lua.js.map +0 -1
- package/dist/node_modules/refractor/lang/magma.js +0 -2
- package/dist/node_modules/refractor/lang/magma.js.map +0 -1
- package/dist/node_modules/refractor/lang/makefile.js +0 -2
- package/dist/node_modules/refractor/lang/makefile.js.map +0 -1
- package/dist/node_modules/refractor/lang/markdown.js +0 -2
- package/dist/node_modules/refractor/lang/markdown.js.map +0 -1
- package/dist/node_modules/refractor/lang/markup-templating.js +0 -2
- package/dist/node_modules/refractor/lang/markup-templating.js.map +0 -1
- package/dist/node_modules/refractor/lang/markup.js +0 -2
- package/dist/node_modules/refractor/lang/markup.js.map +0 -1
- package/dist/node_modules/refractor/lang/matlab.js +0 -2
- package/dist/node_modules/refractor/lang/matlab.js.map +0 -1
- package/dist/node_modules/refractor/lang/maxscript.js +0 -2
- package/dist/node_modules/refractor/lang/maxscript.js.map +0 -1
- package/dist/node_modules/refractor/lang/mel.js +0 -2
- package/dist/node_modules/refractor/lang/mel.js.map +0 -1
- package/dist/node_modules/refractor/lang/mermaid.js +0 -2
- package/dist/node_modules/refractor/lang/mermaid.js.map +0 -1
- package/dist/node_modules/refractor/lang/mizar.js +0 -2
- package/dist/node_modules/refractor/lang/mizar.js.map +0 -1
- package/dist/node_modules/refractor/lang/mongodb.js +0 -2
- package/dist/node_modules/refractor/lang/mongodb.js.map +0 -1
- package/dist/node_modules/refractor/lang/monkey.js +0 -2
- package/dist/node_modules/refractor/lang/monkey.js.map +0 -1
- package/dist/node_modules/refractor/lang/moonscript.js +0 -2
- package/dist/node_modules/refractor/lang/moonscript.js.map +0 -1
- package/dist/node_modules/refractor/lang/n1ql.js +0 -2
- package/dist/node_modules/refractor/lang/n1ql.js.map +0 -1
- package/dist/node_modules/refractor/lang/n4js.js +0 -2
- package/dist/node_modules/refractor/lang/n4js.js.map +0 -1
- package/dist/node_modules/refractor/lang/nand2tetris-hdl.js +0 -2
- package/dist/node_modules/refractor/lang/nand2tetris-hdl.js.map +0 -1
- package/dist/node_modules/refractor/lang/naniscript.js +0 -2
- package/dist/node_modules/refractor/lang/naniscript.js.map +0 -1
- package/dist/node_modules/refractor/lang/nasm.js +0 -2
- package/dist/node_modules/refractor/lang/nasm.js.map +0 -1
- package/dist/node_modules/refractor/lang/neon.js +0 -2
- package/dist/node_modules/refractor/lang/neon.js.map +0 -1
- package/dist/node_modules/refractor/lang/nevod.js +0 -2
- package/dist/node_modules/refractor/lang/nevod.js.map +0 -1
- package/dist/node_modules/refractor/lang/nginx.js +0 -2
- package/dist/node_modules/refractor/lang/nginx.js.map +0 -1
- package/dist/node_modules/refractor/lang/nim.js +0 -2
- package/dist/node_modules/refractor/lang/nim.js.map +0 -1
- package/dist/node_modules/refractor/lang/nix.js +0 -2
- package/dist/node_modules/refractor/lang/nix.js.map +0 -1
- package/dist/node_modules/refractor/lang/nsis.js +0 -2
- package/dist/node_modules/refractor/lang/nsis.js.map +0 -1
- package/dist/node_modules/refractor/lang/objectivec.js +0 -2
- package/dist/node_modules/refractor/lang/objectivec.js.map +0 -1
- package/dist/node_modules/refractor/lang/ocaml.js +0 -2
- package/dist/node_modules/refractor/lang/ocaml.js.map +0 -1
- package/dist/node_modules/refractor/lang/opencl.js +0 -2
- package/dist/node_modules/refractor/lang/opencl.js.map +0 -1
- package/dist/node_modules/refractor/lang/openqasm.js +0 -2
- package/dist/node_modules/refractor/lang/openqasm.js.map +0 -1
- package/dist/node_modules/refractor/lang/oz.js +0 -2
- package/dist/node_modules/refractor/lang/oz.js.map +0 -1
- package/dist/node_modules/refractor/lang/parigp.js +0 -2
- package/dist/node_modules/refractor/lang/parigp.js.map +0 -1
- package/dist/node_modules/refractor/lang/parser.js +0 -2
- package/dist/node_modules/refractor/lang/parser.js.map +0 -1
- package/dist/node_modules/refractor/lang/pascal.js +0 -2
- package/dist/node_modules/refractor/lang/pascal.js.map +0 -1
- package/dist/node_modules/refractor/lang/pascaligo.js +0 -2
- package/dist/node_modules/refractor/lang/pascaligo.js.map +0 -1
- package/dist/node_modules/refractor/lang/pcaxis.js +0 -2
- package/dist/node_modules/refractor/lang/pcaxis.js.map +0 -1
- package/dist/node_modules/refractor/lang/peoplecode.js +0 -2
- package/dist/node_modules/refractor/lang/peoplecode.js.map +0 -1
- package/dist/node_modules/refractor/lang/perl.js +0 -2
- package/dist/node_modules/refractor/lang/perl.js.map +0 -1
- package/dist/node_modules/refractor/lang/php-extras.js +0 -2
- package/dist/node_modules/refractor/lang/php-extras.js.map +0 -1
- package/dist/node_modules/refractor/lang/php.js +0 -2
- package/dist/node_modules/refractor/lang/php.js.map +0 -1
- package/dist/node_modules/refractor/lang/phpdoc.js +0 -2
- package/dist/node_modules/refractor/lang/phpdoc.js.map +0 -1
- package/dist/node_modules/refractor/lang/plsql.js +0 -2
- package/dist/node_modules/refractor/lang/plsql.js.map +0 -1
- package/dist/node_modules/refractor/lang/powerquery.js +0 -2
- package/dist/node_modules/refractor/lang/powerquery.js.map +0 -1
- package/dist/node_modules/refractor/lang/powershell.js +0 -2
- package/dist/node_modules/refractor/lang/powershell.js.map +0 -1
- package/dist/node_modules/refractor/lang/processing.js +0 -2
- package/dist/node_modules/refractor/lang/processing.js.map +0 -1
- package/dist/node_modules/refractor/lang/prolog.js +0 -2
- package/dist/node_modules/refractor/lang/prolog.js.map +0 -1
- package/dist/node_modules/refractor/lang/promql.js +0 -2
- package/dist/node_modules/refractor/lang/promql.js.map +0 -1
- package/dist/node_modules/refractor/lang/properties.js +0 -2
- package/dist/node_modules/refractor/lang/properties.js.map +0 -1
- package/dist/node_modules/refractor/lang/protobuf.js +0 -2
- package/dist/node_modules/refractor/lang/protobuf.js.map +0 -1
- package/dist/node_modules/refractor/lang/psl.js +0 -2
- package/dist/node_modules/refractor/lang/psl.js.map +0 -1
- package/dist/node_modules/refractor/lang/pug.js +0 -2
- package/dist/node_modules/refractor/lang/pug.js.map +0 -1
- package/dist/node_modules/refractor/lang/puppet.js +0 -2
- package/dist/node_modules/refractor/lang/puppet.js.map +0 -1
- package/dist/node_modules/refractor/lang/pure.js +0 -2
- package/dist/node_modules/refractor/lang/pure.js.map +0 -1
- package/dist/node_modules/refractor/lang/purebasic.js +0 -2
- package/dist/node_modules/refractor/lang/purebasic.js.map +0 -1
- package/dist/node_modules/refractor/lang/purescript.js +0 -2
- package/dist/node_modules/refractor/lang/purescript.js.map +0 -1
- package/dist/node_modules/refractor/lang/python.js +0 -2
- package/dist/node_modules/refractor/lang/python.js.map +0 -1
- package/dist/node_modules/refractor/lang/q.js +0 -2
- package/dist/node_modules/refractor/lang/q.js.map +0 -1
- package/dist/node_modules/refractor/lang/qml.js +0 -2
- package/dist/node_modules/refractor/lang/qml.js.map +0 -1
- package/dist/node_modules/refractor/lang/qore.js +0 -2
- package/dist/node_modules/refractor/lang/qore.js.map +0 -1
- package/dist/node_modules/refractor/lang/qsharp.js +0 -2
- package/dist/node_modules/refractor/lang/qsharp.js.map +0 -1
- package/dist/node_modules/refractor/lang/r.js +0 -2
- package/dist/node_modules/refractor/lang/r.js.map +0 -1
- package/dist/node_modules/refractor/lang/racket.js +0 -2
- package/dist/node_modules/refractor/lang/racket.js.map +0 -1
- package/dist/node_modules/refractor/lang/reason.js +0 -2
- package/dist/node_modules/refractor/lang/reason.js.map +0 -1
- package/dist/node_modules/refractor/lang/regex.js +0 -2
- package/dist/node_modules/refractor/lang/regex.js.map +0 -1
- package/dist/node_modules/refractor/lang/rego.js +0 -2
- package/dist/node_modules/refractor/lang/rego.js.map +0 -1
- package/dist/node_modules/refractor/lang/renpy.js +0 -2
- package/dist/node_modules/refractor/lang/renpy.js.map +0 -1
- package/dist/node_modules/refractor/lang/rest.js +0 -2
- package/dist/node_modules/refractor/lang/rest.js.map +0 -1
- package/dist/node_modules/refractor/lang/rip.js +0 -2
- package/dist/node_modules/refractor/lang/rip.js.map +0 -1
- package/dist/node_modules/refractor/lang/roboconf.js +0 -2
- package/dist/node_modules/refractor/lang/roboconf.js.map +0 -1
- package/dist/node_modules/refractor/lang/robotframework.js +0 -2
- package/dist/node_modules/refractor/lang/robotframework.js.map +0 -1
- package/dist/node_modules/refractor/lang/ruby.js +0 -2
- package/dist/node_modules/refractor/lang/ruby.js.map +0 -1
- package/dist/node_modules/refractor/lang/rust.js +0 -2
- package/dist/node_modules/refractor/lang/rust.js.map +0 -1
- package/dist/node_modules/refractor/lang/sas.js +0 -2
- package/dist/node_modules/refractor/lang/sas.js.map +0 -1
- package/dist/node_modules/refractor/lang/sass.js +0 -2
- package/dist/node_modules/refractor/lang/sass.js.map +0 -1
- package/dist/node_modules/refractor/lang/scala.js +0 -2
- package/dist/node_modules/refractor/lang/scala.js.map +0 -1
- package/dist/node_modules/refractor/lang/scheme.js +0 -2
- package/dist/node_modules/refractor/lang/scheme.js.map +0 -1
- package/dist/node_modules/refractor/lang/scss.js +0 -2
- package/dist/node_modules/refractor/lang/scss.js.map +0 -1
- package/dist/node_modules/refractor/lang/shell-session.js +0 -2
- package/dist/node_modules/refractor/lang/shell-session.js.map +0 -1
- package/dist/node_modules/refractor/lang/smali.js +0 -2
- package/dist/node_modules/refractor/lang/smali.js.map +0 -1
- package/dist/node_modules/refractor/lang/smalltalk.js +0 -2
- package/dist/node_modules/refractor/lang/smalltalk.js.map +0 -1
- package/dist/node_modules/refractor/lang/smarty.js +0 -2
- package/dist/node_modules/refractor/lang/smarty.js.map +0 -1
- package/dist/node_modules/refractor/lang/sml.js +0 -2
- package/dist/node_modules/refractor/lang/sml.js.map +0 -1
- package/dist/node_modules/refractor/lang/solidity.js +0 -2
- package/dist/node_modules/refractor/lang/solidity.js.map +0 -1
- package/dist/node_modules/refractor/lang/solution-file.js +0 -2
- package/dist/node_modules/refractor/lang/solution-file.js.map +0 -1
- package/dist/node_modules/refractor/lang/soy.js +0 -2
- package/dist/node_modules/refractor/lang/soy.js.map +0 -1
- package/dist/node_modules/refractor/lang/sparql.js +0 -2
- package/dist/node_modules/refractor/lang/sparql.js.map +0 -1
- package/dist/node_modules/refractor/lang/splunk-spl.js +0 -2
- package/dist/node_modules/refractor/lang/splunk-spl.js.map +0 -1
- package/dist/node_modules/refractor/lang/sqf.js +0 -2
- package/dist/node_modules/refractor/lang/sqf.js.map +0 -1
- package/dist/node_modules/refractor/lang/sql.js +0 -2
- package/dist/node_modules/refractor/lang/sql.js.map +0 -1
- package/dist/node_modules/refractor/lang/squirrel.js +0 -2
- package/dist/node_modules/refractor/lang/squirrel.js.map +0 -1
- package/dist/node_modules/refractor/lang/stan.js +0 -2
- package/dist/node_modules/refractor/lang/stan.js.map +0 -1
- package/dist/node_modules/refractor/lang/stylus.js +0 -2
- package/dist/node_modules/refractor/lang/stylus.js.map +0 -1
- package/dist/node_modules/refractor/lang/swift.js +0 -2
- package/dist/node_modules/refractor/lang/swift.js.map +0 -1
- package/dist/node_modules/refractor/lang/systemd.js +0 -2
- package/dist/node_modules/refractor/lang/systemd.js.map +0 -1
- package/dist/node_modules/refractor/lang/t4-cs.js +0 -2
- package/dist/node_modules/refractor/lang/t4-cs.js.map +0 -1
- package/dist/node_modules/refractor/lang/t4-templating.js +0 -2
- package/dist/node_modules/refractor/lang/t4-templating.js.map +0 -1
- package/dist/node_modules/refractor/lang/t4-vb.js +0 -2
- package/dist/node_modules/refractor/lang/t4-vb.js.map +0 -1
- package/dist/node_modules/refractor/lang/tap.js +0 -2
- package/dist/node_modules/refractor/lang/tap.js.map +0 -1
- package/dist/node_modules/refractor/lang/tcl.js +0 -2
- package/dist/node_modules/refractor/lang/tcl.js.map +0 -1
- package/dist/node_modules/refractor/lang/textile.js +0 -2
- package/dist/node_modules/refractor/lang/textile.js.map +0 -1
- package/dist/node_modules/refractor/lang/toml.js +0 -2
- package/dist/node_modules/refractor/lang/toml.js.map +0 -1
- package/dist/node_modules/refractor/lang/tremor.js +0 -2
- package/dist/node_modules/refractor/lang/tremor.js.map +0 -1
- package/dist/node_modules/refractor/lang/tsx.js +0 -2
- package/dist/node_modules/refractor/lang/tsx.js.map +0 -1
- package/dist/node_modules/refractor/lang/tt2.js +0 -2
- package/dist/node_modules/refractor/lang/tt2.js.map +0 -1
- package/dist/node_modules/refractor/lang/turtle.js +0 -2
- package/dist/node_modules/refractor/lang/turtle.js.map +0 -1
- package/dist/node_modules/refractor/lang/twig.js +0 -2
- package/dist/node_modules/refractor/lang/twig.js.map +0 -1
- package/dist/node_modules/refractor/lang/typescript.js +0 -2
- package/dist/node_modules/refractor/lang/typescript.js.map +0 -1
- package/dist/node_modules/refractor/lang/typoscript.js +0 -2
- package/dist/node_modules/refractor/lang/typoscript.js.map +0 -1
- package/dist/node_modules/refractor/lang/unrealscript.js +0 -2
- package/dist/node_modules/refractor/lang/unrealscript.js.map +0 -1
- package/dist/node_modules/refractor/lang/uorazor.js +0 -2
- package/dist/node_modules/refractor/lang/uorazor.js.map +0 -1
- package/dist/node_modules/refractor/lang/uri.js +0 -2
- package/dist/node_modules/refractor/lang/uri.js.map +0 -1
- package/dist/node_modules/refractor/lang/v.js +0 -2
- package/dist/node_modules/refractor/lang/v.js.map +0 -1
- package/dist/node_modules/refractor/lang/vala.js +0 -2
- package/dist/node_modules/refractor/lang/vala.js.map +0 -1
- package/dist/node_modules/refractor/lang/vbnet.js +0 -2
- package/dist/node_modules/refractor/lang/vbnet.js.map +0 -1
- package/dist/node_modules/refractor/lang/velocity.js +0 -2
- package/dist/node_modules/refractor/lang/velocity.js.map +0 -1
- package/dist/node_modules/refractor/lang/verilog.js +0 -2
- package/dist/node_modules/refractor/lang/verilog.js.map +0 -1
- package/dist/node_modules/refractor/lang/vhdl.js +0 -2
- package/dist/node_modules/refractor/lang/vhdl.js.map +0 -1
- package/dist/node_modules/refractor/lang/vim.js +0 -2
- package/dist/node_modules/refractor/lang/vim.js.map +0 -1
- package/dist/node_modules/refractor/lang/visual-basic.js +0 -2
- package/dist/node_modules/refractor/lang/visual-basic.js.map +0 -1
- package/dist/node_modules/refractor/lang/warpscript.js +0 -2
- package/dist/node_modules/refractor/lang/warpscript.js.map +0 -1
- package/dist/node_modules/refractor/lang/wasm.js +0 -2
- package/dist/node_modules/refractor/lang/wasm.js.map +0 -1
- package/dist/node_modules/refractor/lang/web-idl.js +0 -2
- package/dist/node_modules/refractor/lang/web-idl.js.map +0 -1
- package/dist/node_modules/refractor/lang/wiki.js +0 -2
- package/dist/node_modules/refractor/lang/wiki.js.map +0 -1
- package/dist/node_modules/refractor/lang/wolfram.js +0 -2
- package/dist/node_modules/refractor/lang/wolfram.js.map +0 -1
- package/dist/node_modules/refractor/lang/wren.js +0 -2
- package/dist/node_modules/refractor/lang/wren.js.map +0 -1
- package/dist/node_modules/refractor/lang/xeora.js +0 -2
- package/dist/node_modules/refractor/lang/xeora.js.map +0 -1
- package/dist/node_modules/refractor/lang/xml-doc.js +0 -2
- package/dist/node_modules/refractor/lang/xml-doc.js.map +0 -1
- package/dist/node_modules/refractor/lang/xojo.js +0 -2
- package/dist/node_modules/refractor/lang/xojo.js.map +0 -1
- package/dist/node_modules/refractor/lang/xquery.js +0 -2
- package/dist/node_modules/refractor/lang/xquery.js.map +0 -1
- package/dist/node_modules/refractor/lang/yaml.js +0 -2
- package/dist/node_modules/refractor/lang/yaml.js.map +0 -1
- package/dist/node_modules/refractor/lang/yang.js +0 -2
- package/dist/node_modules/refractor/lang/yang.js.map +0 -1
- package/dist/node_modules/refractor/lang/zig.js +0 -2
- package/dist/node_modules/refractor/lang/zig.js.map +0 -1
- package/dist/node_modules/refractor/node_modules/prismjs/components/prism-core.js +0 -2
- package/dist/node_modules/refractor/node_modules/prismjs/components/prism-core.js.map +0 -1
- package/dist/node_modules/space-separated-tokens/index.js +0 -2
- package/dist/node_modules/space-separated-tokens/index.js.map +0 -1
- package/dist/node_modules/xtend/immutable.js +0 -2
- package/dist/node_modules/xtend/immutable.js.map +0 -1
- package/dist/src/assets/css/bootstrap.css +0 -1151
- package/dist/src/assets/css/readme/display.md +0 -401
- package/dist/src/assets/css/readme/overflow.md +0 -93
- package/dist/src/assets/css/readme/width-height-padding.md +0 -342
- package/dist/src/components/forms/SubmitBtn.js +0 -2
- package/dist/src/components/forms/SubmitBtn.js.map +0 -1
- package/dist/src/components/lib/modals.js +0 -2
- package/dist/src/components/lib/modals.js.map +0 -1
- package/dist/src/components/status/TimeTracker.js +0 -2
- package/dist/src/components/status/TimeTracker.js.map +0 -1
- package/dist/src/index-types.js +0 -2
- package/dist/src/index-types.js.map +0 -1
- package/dist/src/types/components/forms/SubmitBtn.d.ts +0 -7
- package/dist/src/types/components/lib/modals.d.ts +0 -14
- package/dist/src/types/components/status/TimeTracker.d.ts +0 -16
- package/dist/src/types/index-types.d.ts +0 -3
- package/dist/src/types/styles.d.ts +0 -2
- /package/dist/src/assets/css/{readme → bootstrap/readme}/margin.md +0 -0
- /package/dist/src/assets/css/{readme → bootstrap/readme}/z-index.md +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");require("../../../prop-types/index.js");var r=require("../../../file-selector/dist/es2015/file-selector.js"),t=require("./utils/index.js"),n=require("../../../../_virtual/index.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(e),c=["children"],s=["open"],u=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],a=["refKey","onChange","onClick"];function p(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,o,i=[],c=!0,s=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(i.push(n.value),!r||i.length!==r);c=!0);}catch(e){s=!0,o=e}finally{try{c||null==t.return||t.return()}finally{if(s)throw o}}return i}(e,r)||f(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,r){if(e){if("string"==typeof e)return d(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?d(e,r):void 0}}function d(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function g(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function v(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?g(Object(t),!0).forEach((function(r){y(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function y(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function D(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var m=e.forwardRef((function(r,t){var n=r.children,o=E(D(r,c)),u=o.open,a=D(o,s);return e.useImperativeHandle(t,(function(){return{open:u}}),[u]),i.default.createElement(e.Fragment,null,n(v(v({},a),{},{open:u})))}));m.displayName="Dropzone";var b={disabled:!1,getFilesFromEvent:r.fromEvent,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};m.defaultProps=b,m.propTypes={children:n.propTypes.exports.func,accept:n.propTypes.exports.objectOf(n.propTypes.exports.arrayOf(n.propTypes.exports.string)),multiple:n.propTypes.exports.bool,preventDropOnDocument:n.propTypes.exports.bool,noClick:n.propTypes.exports.bool,noKeyboard:n.propTypes.exports.bool,noDrag:n.propTypes.exports.bool,noDragEventsBubbling:n.propTypes.exports.bool,minSize:n.propTypes.exports.number,maxSize:n.propTypes.exports.number,maxFiles:n.propTypes.exports.number,disabled:n.propTypes.exports.bool,getFilesFromEvent:n.propTypes.exports.func,onFileDialogCancel:n.propTypes.exports.func,onFileDialogOpen:n.propTypes.exports.func,useFsAccessApi:n.propTypes.exports.bool,autoFocus:n.propTypes.exports.bool,onDragEnter:n.propTypes.exports.func,onDragLeave:n.propTypes.exports.func,onDragOver:n.propTypes.exports.func,onDrop:n.propTypes.exports.func,onDropAccepted:n.propTypes.exports.func,onDropRejected:n.propTypes.exports.func,onError:n.propTypes.exports.func,validator:n.propTypes.exports.func};var h={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function E(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=v(v({},b),r),o=n.accept,i=n.disabled,c=n.getFilesFromEvent,s=n.maxSize,f=n.minSize,d=n.multiple,g=n.maxFiles,m=n.onDragEnter,E=n.onDragLeave,O=n.onDragOver,A=n.onDrop,j=n.onDropAccepted,w=n.onDropRejected,T=n.onFileDialogCancel,k=n.onFileDialogOpen,C=n.useFsAccessApi,S=n.autoFocus,P=n.preventDropOnDocument,R=n.noClick,I=n.noKeyboard,z=n.noDrag,L=n.noDragEventsBubbling,H=n.onError,K=n.validator,M=e.useMemo((function(){return t.acceptPropAsAcceptAttr(o)}),[o]),_=e.useMemo((function(){return t.pickerOptionsFromAccept(o)}),[o]),q=e.useMemo((function(){return"function"==typeof k?k:F}),[k]),B=e.useMemo((function(){return"function"==typeof T?T:F}),[T]),W=e.useRef(null),N=e.useRef(null),U=l(e.useReducer(x,h),2),J=U[0],Y=U[1],$=J.isFocused,G=J.isFileDialogActive,Q=e.useRef("undefined"!=typeof window&&window.isSecureContext&&C&&t.canUseFileSystemAccessAPI()),V=function(){!Q.current&&G&&setTimeout((function(){N.current&&(N.current.files.length||(Y({type:"closeDialog"}),B()))}),300)};e.useEffect((function(){return window.addEventListener("focus",V,!1),function(){window.removeEventListener("focus",V,!1)}}),[N,G,B,Q]);var X=e.useRef([]),Z=function(e){W.current&&W.current.contains(e.target)||(e.preventDefault(),X.current=[])};e.useEffect((function(){return P&&(document.addEventListener("dragover",t.onDocumentDragOver,!1),document.addEventListener("drop",Z,!1)),function(){P&&(document.removeEventListener("dragover",t.onDocumentDragOver),document.removeEventListener("drop",Z))}}),[W,P]),e.useEffect((function(){return!i&&S&&W.current&&W.current.focus(),function(){}}),[W,S,i]);var ee=e.useCallback((function(e){H?H(e):console.error(e)}),[H]),re=e.useCallback((function(e){e.preventDefault(),e.persist(),ge(e),X.current=[].concat(p(X.current),[e.target]),t.isEvtWithFiles(e)&&Promise.resolve(c(e)).then((function(r){if(!t.isPropagationStopped(e)||L){var n=r.length,o=n>0&&t.allFilesAccepted({files:r,accept:M,minSize:f,maxSize:s,multiple:d,maxFiles:g,validator:K});Y({isDragAccept:o,isDragReject:n>0&&!o,isDragActive:!0,type:"setDraggedFiles"}),m&&m(e)}})).catch((function(e){return ee(e)}))}),[c,m,ee,L,M,f,s,d,g,K]),te=e.useCallback((function(e){e.preventDefault(),e.persist(),ge(e);var r=t.isEvtWithFiles(e);if(r&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return r&&O&&O(e),!1}),[O,L]),ne=e.useCallback((function(e){e.preventDefault(),e.persist(),ge(e);var r=X.current.filter((function(e){return W.current&&W.current.contains(e)})),n=r.indexOf(e.target);-1!==n&&r.splice(n,1),X.current=r,r.length>0||(Y({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),t.isEvtWithFiles(e)&&E&&E(e))}),[W,E,L]),oe=e.useCallback((function(e,r){var n=[],o=[];e.forEach((function(e){var r=l(t.fileAccepted(e,M),2),i=r[0],c=r[1],u=l(t.fileMatchSize(e,f,s),2),a=u[0],p=u[1],d=K?K(e):null;if(i&&a&&!d)n.push(e);else{var g=[c,p];d&&(g=g.concat(d)),o.push({file:e,errors:g.filter((function(e){return e}))})}})),(!d&&n.length>1||d&&g>=1&&n.length>g)&&(n.forEach((function(e){o.push({file:e,errors:[t.TOO_MANY_FILES_REJECTION]})})),n.splice(0)),Y({acceptedFiles:n,fileRejections:o,isDragReject:o.length>0,type:"setFiles"}),A&&A(n,o,r),o.length>0&&w&&w(o,r),n.length>0&&j&&j(n,r)}),[Y,d,M,f,s,g,A,j,w,K]),ie=e.useCallback((function(e){e.preventDefault(),e.persist(),ge(e),X.current=[],t.isEvtWithFiles(e)&&Promise.resolve(c(e)).then((function(r){t.isPropagationStopped(e)&&!L||oe(r,e)})).catch((function(e){return ee(e)})),Y({type:"reset"})}),[c,oe,ee,L]),ce=e.useCallback((function(){if(Q.current){Y({type:"openDialog"}),q();var e={multiple:d,types:_};window.showOpenFilePicker(e).then((function(e){return c(e)})).then((function(e){oe(e,null),Y({type:"closeDialog"})})).catch((function(e){t.isAbort(e)?(B(e),Y({type:"closeDialog"})):t.isSecurityError(e)?(Q.current=!1,N.current?(N.current.value=null,N.current.click()):ee(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):ee(e)}))}else N.current&&(Y({type:"openDialog"}),q(),N.current.value=null,N.current.click())}),[Y,q,B,C,oe,ee,_,d]),se=e.useCallback((function(e){W.current&&W.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),ce()))}),[W,ce]),ue=e.useCallback((function(){Y({type:"focus"})}),[]),ae=e.useCallback((function(){Y({type:"blur"})}),[]),pe=e.useCallback((function(){R||(t.isIeOrEdge()?setTimeout(ce,0):ce())}),[R,ce]),le=function(e){return i?null:e},fe=function(e){return I?null:le(e)},de=function(e){return z?null:le(e)},ge=function(e){L&&e.stopPropagation()},ve=e.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.refKey,n=void 0===r?"ref":r,o=e.role,c=e.onKeyDown,s=e.onFocus,a=e.onBlur,p=e.onClick,l=e.onDragEnter,f=e.onDragOver,d=e.onDragLeave,g=e.onDrop,m=D(e,u);return v(v(y({onKeyDown:fe(t.composeEventHandlers(c,se)),onFocus:fe(t.composeEventHandlers(s,ue)),onBlur:fe(t.composeEventHandlers(a,ae)),onClick:le(t.composeEventHandlers(p,pe)),onDragEnter:de(t.composeEventHandlers(l,re)),onDragOver:de(t.composeEventHandlers(f,te)),onDragLeave:de(t.composeEventHandlers(d,ne)),onDrop:de(t.composeEventHandlers(g,ie)),role:"string"==typeof o&&""!==o?o:"presentation"},n,W),i||I?{}:{tabIndex:0}),m)}}),[W,se,ue,ae,pe,re,te,ne,ie,I,z,i]),ye=e.useCallback((function(e){e.stopPropagation()}),[]),De=e.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.refKey,n=void 0===r?"ref":r,o=e.onChange,i=e.onClick,c=D(e,a);return v(v({},y({accept:M,multiple:d,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:le(t.composeEventHandlers(o,ie)),onClick:le(t.composeEventHandlers(i,ye)),tabIndex:-1},n,N)),c)}}),[N,o,d,ie,i]);return v(v({},J),{},{isFocused:$&&!i,getRootProps:ve,getInputProps:De,rootRef:W,inputRef:N,open:le(ce)})}function x(e,r){switch(r.type){case"focus":return v(v({},e),{},{isFocused:!0});case"blur":return v(v({},e),{},{isFocused:!1});case"openDialog":return v(v({},h),{},{isFileDialogActive:!0});case"closeDialog":return v(v({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return v(v({},e),{},{isDragActive:r.isDragActive,isDragAccept:r.isDragAccept,isDragReject:r.isDragReject});case"setFiles":return v(v({},e),{},{acceptedFiles:r.acceptedFiles,fileRejections:r.fileRejections,isDragReject:r.isDragReject});case"reset":return v({},h);default:return e}}function F(){}exports.default=m,exports.useDropzone=E;
|
|
1
|
+
import e,{forwardRef as r,useImperativeHandle as t,Fragment as n,useMemo as o,useRef as i,useReducer as c,useEffect as u,useCallback as a}from"react";import"../../../prop-types/index.js";import{fromEvent as l}from"../../../file-selector/dist/es2015/file-selector.js";import{acceptPropAsAcceptAttr as s,pickerOptionsFromAccept as p,canUseFileSystemAccessAPI as f,onDocumentDragOver as g,isEvtWithFiles as d,isPropagationStopped as v,allFilesAccepted as D,fileAccepted as y,fileMatchSize as m,TOO_MANY_FILES_REJECTION as b,isAbort as h,isSecurityError as x,isIeOrEdge as F,composeEventHandlers as O}from"./utils/index.js";import{p as j}from"../../../../_virtual/index.js";var w=["children"],A=["open"],E=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],S=["refKey","onChange","onClick"];function P(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||C(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,o,i=[],c=!0,u=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(i.push(n.value),!r||i.length!==r);c=!0);}catch(e){u=!0,o=e}finally{try{c||null==t.return||t.return()}finally{if(u)throw o}}return i}(e,r)||C(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,r){if(e){if("string"==typeof e)return R(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?R(e,r):void 0}}function R(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function I(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function L(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?I(Object(t),!0).forEach((function(r){z(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):I(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function z(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function K(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var T=r((function(r,o){var i=r.children,c=N(K(r,w)),u=c.open,a=K(c,A);return t(o,(function(){return{open:u}}),[u]),e.createElement(n,null,i(L(L({},a),{},{open:u})))}));T.displayName="Dropzone";var B={disabled:!1,getFilesFromEvent:l,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};T.defaultProps=B,T.propTypes={children:j.exports.func,accept:j.exports.objectOf(j.exports.arrayOf(j.exports.string)),multiple:j.exports.bool,preventDropOnDocument:j.exports.bool,noClick:j.exports.bool,noKeyboard:j.exports.bool,noDrag:j.exports.bool,noDragEventsBubbling:j.exports.bool,minSize:j.exports.number,maxSize:j.exports.number,maxFiles:j.exports.number,disabled:j.exports.bool,getFilesFromEvent:j.exports.func,onFileDialogCancel:j.exports.func,onFileDialogOpen:j.exports.func,useFsAccessApi:j.exports.bool,autoFocus:j.exports.bool,onDragEnter:j.exports.func,onDragLeave:j.exports.func,onDragOver:j.exports.func,onDrop:j.exports.func,onDropAccepted:j.exports.func,onDropRejected:j.exports.func,onError:j.exports.func,validator:j.exports.func};var _={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=L(L({},B),e),t=r.accept,n=r.disabled,l=r.getFilesFromEvent,j=r.maxSize,w=r.minSize,A=r.multiple,C=r.maxFiles,R=r.onDragEnter,I=r.onDragLeave,T=r.onDragOver,N=r.onDrop,M=r.onDropAccepted,W=r.onDropRejected,$=r.onFileDialogCancel,G=r.onFileDialogOpen,H=r.useFsAccessApi,J=r.autoFocus,Q=r.preventDropOnDocument,V=r.noClick,X=r.noKeyboard,Y=r.noDrag,Z=r.noDragEventsBubbling,ee=r.onError,re=r.validator,te=o((function(){return s(t)}),[t]),ne=o((function(){return p(t)}),[t]),oe=o((function(){return"function"==typeof G?G:q}),[G]),ie=o((function(){return"function"==typeof $?$:q}),[$]),ce=i(null),ue=i(null),ae=k(c(U,_),2),le=ae[0],se=ae[1],pe=le.isFocused,fe=le.isFileDialogActive,ge=i("undefined"!=typeof window&&window.isSecureContext&&H&&f()),de=function(){!ge.current&&fe&&setTimeout((function(){ue.current&&(ue.current.files.length||(se({type:"closeDialog"}),ie()))}),300)};u((function(){return window.addEventListener("focus",de,!1),function(){window.removeEventListener("focus",de,!1)}}),[ue,fe,ie,ge]);var ve=i([]),De=function(e){ce.current&&ce.current.contains(e.target)||(e.preventDefault(),ve.current=[])};u((function(){return Q&&(document.addEventListener("dragover",g,!1),document.addEventListener("drop",De,!1)),function(){Q&&(document.removeEventListener("dragover",g),document.removeEventListener("drop",De))}}),[ce,Q]),u((function(){return!n&&J&&ce.current&&ce.current.focus(),function(){}}),[ce,J,n]);var ye=a((function(e){ee?ee(e):console.error(e)}),[ee]),me=a((function(e){e.preventDefault(),e.persist(),Ce(e),ve.current=[].concat(P(ve.current),[e.target]),d(e)&&Promise.resolve(l(e)).then((function(r){if(!v(e)||Z){var t=r.length,n=t>0&&D({files:r,accept:te,minSize:w,maxSize:j,multiple:A,maxFiles:C,validator:re});se({isDragAccept:n,isDragReject:t>0&&!n,isDragActive:!0,type:"setDraggedFiles"}),R&&R(e)}})).catch((function(e){return ye(e)}))}),[l,R,ye,Z,te,w,j,A,C,re]),be=a((function(e){e.preventDefault(),e.persist(),Ce(e);var r=d(e);if(r&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return r&&T&&T(e),!1}),[T,Z]),he=a((function(e){e.preventDefault(),e.persist(),Ce(e);var r=ve.current.filter((function(e){return ce.current&&ce.current.contains(e)})),t=r.indexOf(e.target);-1!==t&&r.splice(t,1),ve.current=r,r.length>0||(se({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),d(e)&&I&&I(e))}),[ce,I,Z]),xe=a((function(e,r){var t=[],n=[];e.forEach((function(e){var r=k(y(e,te),2),o=r[0],i=r[1],c=k(m(e,w,j),2),u=c[0],a=c[1],l=re?re(e):null;if(o&&u&&!l)t.push(e);else{var s=[i,a];l&&(s=s.concat(l)),n.push({file:e,errors:s.filter((function(e){return e}))})}})),(!A&&t.length>1||A&&C>=1&&t.length>C)&&(t.forEach((function(e){n.push({file:e,errors:[b]})})),t.splice(0)),se({acceptedFiles:t,fileRejections:n,isDragReject:n.length>0,type:"setFiles"}),N&&N(t,n,r),n.length>0&&W&&W(n,r),t.length>0&&M&&M(t,r)}),[se,A,te,w,j,C,N,M,W,re]),Fe=a((function(e){e.preventDefault(),e.persist(),Ce(e),ve.current=[],d(e)&&Promise.resolve(l(e)).then((function(r){v(e)&&!Z||xe(r,e)})).catch((function(e){return ye(e)})),se({type:"reset"})}),[l,xe,ye,Z]),Oe=a((function(){if(ge.current){se({type:"openDialog"}),oe();var e={multiple:A,types:ne};window.showOpenFilePicker(e).then((function(e){return l(e)})).then((function(e){xe(e,null),se({type:"closeDialog"})})).catch((function(e){h(e)?(ie(e),se({type:"closeDialog"})):x(e)?(ge.current=!1,ue.current?(ue.current.value=null,ue.current.click()):ye(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):ye(e)}))}else ue.current&&(se({type:"openDialog"}),oe(),ue.current.value=null,ue.current.click())}),[se,oe,ie,H,xe,ye,ne,A]),je=a((function(e){ce.current&&ce.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),Oe()))}),[ce,Oe]),we=a((function(){se({type:"focus"})}),[]),Ae=a((function(){se({type:"blur"})}),[]),Ee=a((function(){V||(F()?setTimeout(Oe,0):Oe())}),[V,Oe]),Se=function(e){return n?null:e},Pe=function(e){return X?null:Se(e)},ke=function(e){return Y?null:Se(e)},Ce=function(e){Z&&e.stopPropagation()},Re=o((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.refKey,t=void 0===r?"ref":r,o=e.role,i=e.onKeyDown,c=e.onFocus,u=e.onBlur,a=e.onClick,l=e.onDragEnter,s=e.onDragOver,p=e.onDragLeave,f=e.onDrop,g=K(e,E);return L(L(z({onKeyDown:Pe(O(i,je)),onFocus:Pe(O(c,we)),onBlur:Pe(O(u,Ae)),onClick:Se(O(a,Ee)),onDragEnter:ke(O(l,me)),onDragOver:ke(O(s,be)),onDragLeave:ke(O(p,he)),onDrop:ke(O(f,Fe)),role:"string"==typeof o&&""!==o?o:"presentation"},t,ce),n||X?{}:{tabIndex:0}),g)}}),[ce,je,we,Ae,Ee,me,be,he,Fe,X,Y,n]),Ie=a((function(e){e.stopPropagation()}),[]),Le=o((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.refKey,t=void 0===r?"ref":r,n=e.onChange,o=e.onClick,i=K(e,S);return L(L({},z({accept:te,multiple:A,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:Se(O(n,Fe)),onClick:Se(O(o,Ie)),tabIndex:-1},t,ue)),i)}}),[ue,t,A,Fe,n]);return L(L({},le),{},{isFocused:pe&&!n,getRootProps:Re,getInputProps:Le,rootRef:ce,inputRef:ue,open:Se(Oe)})}function U(e,r){switch(r.type){case"focus":return L(L({},e),{},{isFocused:!0});case"blur":return L(L({},e),{},{isFocused:!1});case"openDialog":return L(L({},_),{},{isFileDialogActive:!0});case"closeDialog":return L(L({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return L(L({},e),{},{isDragActive:r.isDragActive,isDragAccept:r.isDragAccept,isDragReject:r.isDragReject});case"setFiles":return L(L({},e),{},{acceptedFiles:r.acceptedFiles,fileRejections:r.fileRejections,isDragReject:r.isDragReject});case"reset":return L({},_);default:return e}}function q(){}export{T as default,N as useDropzone};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/react-dropzone/dist/es/index.js"],"sourcesContent":["var _excluded = [\"children\"],\n _excluded2 = [\"open\"],\n _excluded3 = [\"refKey\", \"role\", \"onKeyDown\", \"onFocus\", \"onBlur\", \"onClick\", \"onDragEnter\", \"onDragOver\", \"onDragLeave\", \"onDrop\"],\n _excluded4 = [\"refKey\", \"onChange\", \"onClick\"];\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* eslint prefer-template: 0 */\nimport React, { forwardRef, Fragment, useCallback, useEffect, useImperativeHandle, useMemo, useReducer, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { fromEvent } from \"file-selector\";\nimport { acceptPropAsAcceptAttr, allFilesAccepted, composeEventHandlers, fileAccepted, fileMatchSize, canUseFileSystemAccessAPI, isAbort, isEvtWithFiles, isIeOrEdge, isPropagationStopped, isSecurityError, onDocumentDragOver, pickerOptionsFromAccept, TOO_MANY_FILES_REJECTION } from \"./utils/index.js\";\n/**\n * Convenience wrapper component for the `useDropzone` hook\n *\n * ```jsx\n * <Dropzone>\n * {({getRootProps, getInputProps}) => (\n * <div {...getRootProps()}>\n * <input {...getInputProps()} />\n * <p>Drag 'n' drop some files here, or click to select files</p>\n * </div>\n * )}\n * </Dropzone>\n * ```\n */\n\nvar Dropzone = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var children = _ref.children,\n params = _objectWithoutProperties(_ref, _excluded);\n\n var _useDropzone = useDropzone(params),\n open = _useDropzone.open,\n props = _objectWithoutProperties(_useDropzone, _excluded2);\n\n useImperativeHandle(ref, function () {\n return {\n open: open\n };\n }, [open]); // TODO: Figure out why react-styleguidist cannot create docs if we don't return a jsx element\n\n return /*#__PURE__*/React.createElement(Fragment, null, children(_objectSpread(_objectSpread({}, props), {}, {\n open: open\n })));\n});\nDropzone.displayName = \"Dropzone\"; // Add default props for react-docgen\n\nvar defaultProps = {\n disabled: false,\n getFilesFromEvent: fromEvent,\n maxSize: Infinity,\n minSize: 0,\n multiple: true,\n maxFiles: 0,\n preventDropOnDocument: true,\n noClick: false,\n noKeyboard: false,\n noDrag: false,\n noDragEventsBubbling: false,\n validator: null,\n useFsAccessApi: false,\n autoFocus: false\n};\nDropzone.defaultProps = defaultProps;\nDropzone.propTypes = {\n /**\n * Render function that exposes the dropzone state and prop getter fns\n *\n * @param {object} params\n * @param {Function} params.getRootProps Returns the props you should apply to the root drop container you render\n * @param {Function} params.getInputProps Returns the props you should apply to hidden file input you render\n * @param {Function} params.open Open the native file selection dialog\n * @param {boolean} params.isFocused Dropzone area is in focus\n * @param {boolean} params.isFileDialogActive File dialog is opened\n * @param {boolean} params.isDragActive Active drag is in progress\n * @param {boolean} params.isDragAccept Dragged files are accepted\n * @param {boolean} params.isDragReject Some dragged files are rejected\n * @param {File[]} params.acceptedFiles Accepted files\n * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected\n */\n children: PropTypes.func,\n\n /**\n * Set accepted file types.\n * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.\n * Keep in mind that mime type determination is not reliable across platforms. CSV files,\n * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under\n * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).\n */\n accept: PropTypes.objectOf(PropTypes.arrayOf(PropTypes.string)),\n\n /**\n * Allow drag 'n' drop (or selection from the file dialog) of multiple files\n */\n multiple: PropTypes.bool,\n\n /**\n * If false, allow dropped items to take over the current browser window\n */\n preventDropOnDocument: PropTypes.bool,\n\n /**\n * If true, disables click to open the native file selection dialog\n */\n noClick: PropTypes.bool,\n\n /**\n * If true, disables SPACE/ENTER to open the native file selection dialog.\n * Note that it also stops tracking the focus state.\n */\n noKeyboard: PropTypes.bool,\n\n /**\n * If true, disables drag 'n' drop\n */\n noDrag: PropTypes.bool,\n\n /**\n * If true, stops drag event propagation to parents\n */\n noDragEventsBubbling: PropTypes.bool,\n\n /**\n * Minimum file size (in bytes)\n */\n minSize: PropTypes.number,\n\n /**\n * Maximum file size (in bytes)\n */\n maxSize: PropTypes.number,\n\n /**\n * Maximum accepted number of files\n * The default value is 0 which means there is no limitation to how many files are accepted.\n */\n maxFiles: PropTypes.number,\n\n /**\n * Enable/disable the dropzone\n */\n disabled: PropTypes.bool,\n\n /**\n * Use this to provide a custom file aggregator\n *\n * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)\n */\n getFilesFromEvent: PropTypes.func,\n\n /**\n * Cb for when closing the file dialog with no selection\n */\n onFileDialogCancel: PropTypes.func,\n\n /**\n * Cb for when opening the file dialog\n */\n onFileDialogOpen: PropTypes.func,\n\n /**\n * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API\n * to open the file picker instead of using an `<input type=\"file\">` click event.\n */\n useFsAccessApi: PropTypes.bool,\n\n /**\n * Set to true to focus the root element on render\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Cb for when the `dragenter` event occurs.\n *\n * @param {DragEvent} event\n */\n onDragEnter: PropTypes.func,\n\n /**\n * Cb for when the `dragleave` event occurs\n *\n * @param {DragEvent} event\n */\n onDragLeave: PropTypes.func,\n\n /**\n * Cb for when the `dragover` event occurs\n *\n * @param {DragEvent} event\n */\n onDragOver: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that this callback is invoked after the `getFilesFromEvent` callback is done.\n *\n * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.\n * `accept` must be a valid [MIME type](http://www.iana.org/assignments/media-types/media-types.xhtml) according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) or a valid file extension.\n * If `multiple` is set to false and additional files are dropped,\n * all files besides the first will be rejected.\n * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.\n *\n * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.\n * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.\n *\n * `onDrop` will provide you with an array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects which you can then process and send to a server.\n * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:\n *\n * ```js\n * function onDrop(acceptedFiles) {\n * const req = request.post('/upload')\n * acceptedFiles.forEach(file => {\n * req.attach(file.name, file)\n * })\n * req.end(callback)\n * }\n * ```\n *\n * @param {File[]} acceptedFiles\n * @param {FileRejection[]} fileRejections\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n onDrop: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that if no files are accepted, this callback is not invoked.\n *\n * @param {File[]} files\n * @param {(DragEvent|Event)} event\n */\n onDropAccepted: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that if no files are rejected, this callback is not invoked.\n *\n * @param {FileRejection[]} fileRejections\n * @param {(DragEvent|Event)} event\n */\n onDropRejected: PropTypes.func,\n\n /**\n * Cb for when there's some error from any of the promises.\n *\n * @param {Error} error\n */\n onError: PropTypes.func,\n\n /**\n * Custom validation function. It must return null if there's no errors.\n * @param {File} file\n * @returns {FileError|FileError[]|null}\n */\n validator: PropTypes.func\n};\nexport default Dropzone;\n/**\n * A function that is invoked for the `dragenter`,\n * `dragover` and `dragleave` events.\n * It is not invoked if the items are not files (such as link, text, etc.).\n *\n * @callback dragCb\n * @param {DragEvent} event\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n * It is not invoked if the items are not files (such as link, text, etc.).\n *\n * @callback dropCb\n * @param {File[]} acceptedFiles List of accepted files\n * @param {FileRejection[]} fileRejections List of rejected files and why they were rejected\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n * It is not invoked if the items are files (such as link, text, etc.).\n *\n * @callback dropAcceptedCb\n * @param {File[]} files List of accepted files that meet the given criteria\n * (`accept`, `multiple`, `minSize`, `maxSize`)\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n *\n * @callback dropRejectedCb\n * @param {File[]} files List of rejected files that do not meet the given criteria\n * (`accept`, `multiple`, `minSize`, `maxSize`)\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is used aggregate files,\n * in a asynchronous fashion, from drag or input change events.\n *\n * @callback getFilesFromEvent\n * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)\n * @returns {(File[]|Promise<File[]>)}\n */\n\n/**\n * An object with the current dropzone state.\n *\n * @typedef {object} DropzoneState\n * @property {boolean} isFocused Dropzone area is in focus\n * @property {boolean} isFileDialogActive File dialog is opened\n * @property {boolean} isDragActive Active drag is in progress\n * @property {boolean} isDragAccept Dragged files are accepted\n * @property {boolean} isDragReject Some dragged files are rejected\n * @property {File[]} acceptedFiles Accepted files\n * @property {FileRejection[]} fileRejections Rejected files and why they were rejected\n */\n\n/**\n * An object with the dropzone methods.\n *\n * @typedef {object} DropzoneMethods\n * @property {Function} getRootProps Returns the props you should apply to the root drop container you render\n * @property {Function} getInputProps Returns the props you should apply to hidden file input you render\n * @property {Function} open Open the native file selection dialog\n */\n\nvar initialState = {\n isFocused: false,\n isFileDialogActive: false,\n isDragActive: false,\n isDragAccept: false,\n isDragReject: false,\n acceptedFiles: [],\n fileRejections: []\n};\n/**\n * A React hook that creates a drag 'n' drop area.\n *\n * ```jsx\n * function MyDropzone(props) {\n * const {getRootProps, getInputProps} = useDropzone({\n * onDrop: acceptedFiles => {\n * // do something with the File objects, e.g. upload to some server\n * }\n * });\n * return (\n * <div {...getRootProps()}>\n * <input {...getInputProps()} />\n * <p>Drag and drop some files here, or click to select files</p>\n * </div>\n * )\n * }\n * ```\n *\n * @function useDropzone\n *\n * @param {object} props\n * @param {import(\"./utils\").AcceptProp} [props.accept] Set accepted file types.\n * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.\n * Keep in mind that mime type determination is not reliable across platforms. CSV files,\n * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under\n * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).\n * @param {boolean} [props.multiple=true] Allow drag 'n' drop (or selection from the file dialog) of multiple files\n * @param {boolean} [props.preventDropOnDocument=true] If false, allow dropped items to take over the current browser window\n * @param {boolean} [props.noClick=false] If true, disables click to open the native file selection dialog\n * @param {boolean} [props.noKeyboard=false] If true, disables SPACE/ENTER to open the native file selection dialog.\n * Note that it also stops tracking the focus state.\n * @param {boolean} [props.noDrag=false] If true, disables drag 'n' drop\n * @param {boolean} [props.noDragEventsBubbling=false] If true, stops drag event propagation to parents\n * @param {number} [props.minSize=0] Minimum file size (in bytes)\n * @param {number} [props.maxSize=Infinity] Maximum file size (in bytes)\n * @param {boolean} [props.disabled=false] Enable/disable the dropzone\n * @param {getFilesFromEvent} [props.getFilesFromEvent] Use this to provide a custom file aggregator\n * @param {Function} [props.onFileDialogCancel] Cb for when closing the file dialog with no selection\n * @param {boolean} [props.useFsAccessApi] Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API\n * to open the file picker instead of using an `<input type=\"file\">` click event.\n * @param {boolean} autoFocus Set to true to auto focus the root element.\n * @param {Function} [props.onFileDialogOpen] Cb for when opening the file dialog\n * @param {dragCb} [props.onDragEnter] Cb for when the `dragenter` event occurs.\n * @param {dragCb} [props.onDragLeave] Cb for when the `dragleave` event occurs\n * @param {dragCb} [props.onDragOver] Cb for when the `dragover` event occurs\n * @param {dropCb} [props.onDrop] Cb for when the `drop` event occurs.\n * Note that this callback is invoked after the `getFilesFromEvent` callback is done.\n *\n * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.\n * `accept` must be an object with keys as a valid [MIME type](http://www.iana.org/assignments/media-types/media-types.xhtml) according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) and the value an array of file extensions (optional).\n * If `multiple` is set to false and additional files are dropped,\n * all files besides the first will be rejected.\n * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.\n *\n * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.\n * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.\n *\n * `onDrop` will provide you with an array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects which you can then process and send to a server.\n * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:\n *\n * ```js\n * function onDrop(acceptedFiles) {\n * const req = request.post('/upload')\n * acceptedFiles.forEach(file => {\n * req.attach(file.name, file)\n * })\n * req.end(callback)\n * }\n * ```\n * @param {dropAcceptedCb} [props.onDropAccepted]\n * @param {dropRejectedCb} [props.onDropRejected]\n * @param {(error: Error) => void} [props.onError]\n *\n * @returns {DropzoneState & DropzoneMethods}\n */\n\nexport function useDropzone() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _defaultProps$props = _objectSpread(_objectSpread({}, defaultProps), props),\n accept = _defaultProps$props.accept,\n disabled = _defaultProps$props.disabled,\n getFilesFromEvent = _defaultProps$props.getFilesFromEvent,\n maxSize = _defaultProps$props.maxSize,\n minSize = _defaultProps$props.minSize,\n multiple = _defaultProps$props.multiple,\n maxFiles = _defaultProps$props.maxFiles,\n onDragEnter = _defaultProps$props.onDragEnter,\n onDragLeave = _defaultProps$props.onDragLeave,\n onDragOver = _defaultProps$props.onDragOver,\n onDrop = _defaultProps$props.onDrop,\n onDropAccepted = _defaultProps$props.onDropAccepted,\n onDropRejected = _defaultProps$props.onDropRejected,\n onFileDialogCancel = _defaultProps$props.onFileDialogCancel,\n onFileDialogOpen = _defaultProps$props.onFileDialogOpen,\n useFsAccessApi = _defaultProps$props.useFsAccessApi,\n autoFocus = _defaultProps$props.autoFocus,\n preventDropOnDocument = _defaultProps$props.preventDropOnDocument,\n noClick = _defaultProps$props.noClick,\n noKeyboard = _defaultProps$props.noKeyboard,\n noDrag = _defaultProps$props.noDrag,\n noDragEventsBubbling = _defaultProps$props.noDragEventsBubbling,\n onError = _defaultProps$props.onError,\n validator = _defaultProps$props.validator;\n\n var acceptAttr = useMemo(function () {\n return acceptPropAsAcceptAttr(accept);\n }, [accept]);\n var pickerTypes = useMemo(function () {\n return pickerOptionsFromAccept(accept);\n }, [accept]);\n var onFileDialogOpenCb = useMemo(function () {\n return typeof onFileDialogOpen === \"function\" ? onFileDialogOpen : noop;\n }, [onFileDialogOpen]);\n var onFileDialogCancelCb = useMemo(function () {\n return typeof onFileDialogCancel === \"function\" ? onFileDialogCancel : noop;\n }, [onFileDialogCancel]);\n /**\n * @constant\n * @type {React.MutableRefObject<HTMLElement>}\n */\n\n var rootRef = useRef(null);\n var inputRef = useRef(null);\n\n var _useReducer = useReducer(reducer, initialState),\n _useReducer2 = _slicedToArray(_useReducer, 2),\n state = _useReducer2[0],\n dispatch = _useReducer2[1];\n\n var isFocused = state.isFocused,\n isFileDialogActive = state.isFileDialogActive;\n var fsAccessApiWorksRef = useRef(typeof window !== \"undefined\" && window.isSecureContext && useFsAccessApi && canUseFileSystemAccessAPI()); // Update file dialog active state when the window is focused on\n\n var onWindowFocus = function onWindowFocus() {\n // Execute the timeout only if the file dialog is opened in the browser\n if (!fsAccessApiWorksRef.current && isFileDialogActive) {\n setTimeout(function () {\n if (inputRef.current) {\n var files = inputRef.current.files;\n\n if (!files.length) {\n dispatch({\n type: \"closeDialog\"\n });\n onFileDialogCancelCb();\n }\n }\n }, 300);\n }\n };\n\n useEffect(function () {\n window.addEventListener(\"focus\", onWindowFocus, false);\n return function () {\n window.removeEventListener(\"focus\", onWindowFocus, false);\n };\n }, [inputRef, isFileDialogActive, onFileDialogCancelCb, fsAccessApiWorksRef]);\n var dragTargetsRef = useRef([]);\n\n var onDocumentDrop = function onDocumentDrop(event) {\n if (rootRef.current && rootRef.current.contains(event.target)) {\n // If we intercepted an event for our instance, let it propagate down to the instance's onDrop handler\n return;\n }\n\n event.preventDefault();\n dragTargetsRef.current = [];\n };\n\n useEffect(function () {\n if (preventDropOnDocument) {\n document.addEventListener(\"dragover\", onDocumentDragOver, false);\n document.addEventListener(\"drop\", onDocumentDrop, false);\n }\n\n return function () {\n if (preventDropOnDocument) {\n document.removeEventListener(\"dragover\", onDocumentDragOver);\n document.removeEventListener(\"drop\", onDocumentDrop);\n }\n };\n }, [rootRef, preventDropOnDocument]); // Auto focus the root when autoFocus is true\n\n useEffect(function () {\n if (!disabled && autoFocus && rootRef.current) {\n rootRef.current.focus();\n }\n\n return function () {};\n }, [rootRef, autoFocus, disabled]);\n var onErrCb = useCallback(function (e) {\n if (onError) {\n onError(e);\n } else {\n // Let the user know something's gone wrong if they haven't provided the onError cb.\n console.error(e);\n }\n }, [onError]);\n var onDragEnterCb = useCallback(function (event) {\n event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done\n\n event.persist();\n stopPropagation(event);\n dragTargetsRef.current = [].concat(_toConsumableArray(dragTargetsRef.current), [event.target]);\n\n if (isEvtWithFiles(event)) {\n Promise.resolve(getFilesFromEvent(event)).then(function (files) {\n if (isPropagationStopped(event) && !noDragEventsBubbling) {\n return;\n }\n\n var fileCount = files.length;\n var isDragAccept = fileCount > 0 && allFilesAccepted({\n files: files,\n accept: acceptAttr,\n minSize: minSize,\n maxSize: maxSize,\n multiple: multiple,\n maxFiles: maxFiles,\n validator: validator\n });\n var isDragReject = fileCount > 0 && !isDragAccept;\n dispatch({\n isDragAccept: isDragAccept,\n isDragReject: isDragReject,\n isDragActive: true,\n type: \"setDraggedFiles\"\n });\n\n if (onDragEnter) {\n onDragEnter(event);\n }\n }).catch(function (e) {\n return onErrCb(e);\n });\n }\n }, [getFilesFromEvent, onDragEnter, onErrCb, noDragEventsBubbling, acceptAttr, minSize, maxSize, multiple, maxFiles, validator]);\n var onDragOverCb = useCallback(function (event) {\n event.preventDefault();\n event.persist();\n stopPropagation(event);\n var hasFiles = isEvtWithFiles(event);\n\n if (hasFiles && event.dataTransfer) {\n try {\n event.dataTransfer.dropEffect = \"copy\";\n } catch (_unused) {}\n /* eslint-disable-line no-empty */\n\n }\n\n if (hasFiles && onDragOver) {\n onDragOver(event);\n }\n\n return false;\n }, [onDragOver, noDragEventsBubbling]);\n var onDragLeaveCb = useCallback(function (event) {\n event.preventDefault();\n event.persist();\n stopPropagation(event); // Only deactivate once the dropzone and all children have been left\n\n var targets = dragTargetsRef.current.filter(function (target) {\n return rootRef.current && rootRef.current.contains(target);\n }); // Make sure to remove a target present multiple times only once\n // (Firefox may fire dragenter/dragleave multiple times on the same element)\n\n var targetIdx = targets.indexOf(event.target);\n\n if (targetIdx !== -1) {\n targets.splice(targetIdx, 1);\n }\n\n dragTargetsRef.current = targets;\n\n if (targets.length > 0) {\n return;\n }\n\n dispatch({\n type: \"setDraggedFiles\",\n isDragActive: false,\n isDragAccept: false,\n isDragReject: false\n });\n\n if (isEvtWithFiles(event) && onDragLeave) {\n onDragLeave(event);\n }\n }, [rootRef, onDragLeave, noDragEventsBubbling]);\n var setFiles = useCallback(function (files, event) {\n var acceptedFiles = [];\n var fileRejections = [];\n files.forEach(function (file) {\n var _fileAccepted = fileAccepted(file, acceptAttr),\n _fileAccepted2 = _slicedToArray(_fileAccepted, 2),\n accepted = _fileAccepted2[0],\n acceptError = _fileAccepted2[1];\n\n var _fileMatchSize = fileMatchSize(file, minSize, maxSize),\n _fileMatchSize2 = _slicedToArray(_fileMatchSize, 2),\n sizeMatch = _fileMatchSize2[0],\n sizeError = _fileMatchSize2[1];\n\n var customErrors = validator ? validator(file) : null;\n\n if (accepted && sizeMatch && !customErrors) {\n acceptedFiles.push(file);\n } else {\n var errors = [acceptError, sizeError];\n\n if (customErrors) {\n errors = errors.concat(customErrors);\n }\n\n fileRejections.push({\n file: file,\n errors: errors.filter(function (e) {\n return e;\n })\n });\n }\n });\n\n if (!multiple && acceptedFiles.length > 1 || multiple && maxFiles >= 1 && acceptedFiles.length > maxFiles) {\n // Reject everything and empty accepted files\n acceptedFiles.forEach(function (file) {\n fileRejections.push({\n file: file,\n errors: [TOO_MANY_FILES_REJECTION]\n });\n });\n acceptedFiles.splice(0);\n }\n\n dispatch({\n acceptedFiles: acceptedFiles,\n fileRejections: fileRejections,\n isDragReject: fileRejections.length > 0,\n type: \"setFiles\"\n });\n\n if (onDrop) {\n onDrop(acceptedFiles, fileRejections, event);\n }\n\n if (fileRejections.length > 0 && onDropRejected) {\n onDropRejected(fileRejections, event);\n }\n\n if (acceptedFiles.length > 0 && onDropAccepted) {\n onDropAccepted(acceptedFiles, event);\n }\n }, [dispatch, multiple, acceptAttr, minSize, maxSize, maxFiles, onDrop, onDropAccepted, onDropRejected, validator]);\n var onDropCb = useCallback(function (event) {\n event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done\n\n event.persist();\n stopPropagation(event);\n dragTargetsRef.current = [];\n\n if (isEvtWithFiles(event)) {\n Promise.resolve(getFilesFromEvent(event)).then(function (files) {\n if (isPropagationStopped(event) && !noDragEventsBubbling) {\n return;\n }\n\n setFiles(files, event);\n }).catch(function (e) {\n return onErrCb(e);\n });\n }\n\n dispatch({\n type: \"reset\"\n });\n }, [getFilesFromEvent, setFiles, onErrCb, noDragEventsBubbling]); // Fn for opening the file dialog programmatically\n\n var openFileDialog = useCallback(function () {\n // No point to use FS access APIs if context is not secure\n // https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts#feature_detection\n if (fsAccessApiWorksRef.current) {\n dispatch({\n type: \"openDialog\"\n });\n onFileDialogOpenCb(); // https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker\n\n var opts = {\n multiple: multiple,\n types: pickerTypes\n };\n window.showOpenFilePicker(opts).then(function (handles) {\n return getFilesFromEvent(handles);\n }).then(function (files) {\n setFiles(files, null);\n dispatch({\n type: \"closeDialog\"\n });\n }).catch(function (e) {\n // AbortError means the user canceled\n if (isAbort(e)) {\n onFileDialogCancelCb(e);\n dispatch({\n type: \"closeDialog\"\n });\n } else if (isSecurityError(e)) {\n fsAccessApiWorksRef.current = false; // CORS, so cannot use this API\n // Try using the input\n\n if (inputRef.current) {\n inputRef.current.value = null;\n inputRef.current.click();\n } else {\n onErrCb(new Error(\"Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided.\"));\n }\n } else {\n onErrCb(e);\n }\n });\n return;\n }\n\n if (inputRef.current) {\n dispatch({\n type: \"openDialog\"\n });\n onFileDialogOpenCb();\n inputRef.current.value = null;\n inputRef.current.click();\n }\n }, [dispatch, onFileDialogOpenCb, onFileDialogCancelCb, useFsAccessApi, setFiles, onErrCb, pickerTypes, multiple]); // Cb to open the file dialog when SPACE/ENTER occurs on the dropzone\n\n var onKeyDownCb = useCallback(function (event) {\n // Ignore keyboard events bubbling up the DOM tree\n if (!rootRef.current || !rootRef.current.isEqualNode(event.target)) {\n return;\n }\n\n if (event.key === \" \" || event.key === \"Enter\" || event.keyCode === 32 || event.keyCode === 13) {\n event.preventDefault();\n openFileDialog();\n }\n }, [rootRef, openFileDialog]); // Update focus state for the dropzone\n\n var onFocusCb = useCallback(function () {\n dispatch({\n type: \"focus\"\n });\n }, []);\n var onBlurCb = useCallback(function () {\n dispatch({\n type: \"blur\"\n });\n }, []); // Cb to open the file dialog when click occurs on the dropzone\n\n var onClickCb = useCallback(function () {\n if (noClick) {\n return;\n } // In IE11/Edge the file-browser dialog is blocking, therefore, use setTimeout()\n // to ensure React can handle state changes\n // See: https://github.com/react-dropzone/react-dropzone/issues/450\n\n\n if (isIeOrEdge()) {\n setTimeout(openFileDialog, 0);\n } else {\n openFileDialog();\n }\n }, [noClick, openFileDialog]);\n\n var composeHandler = function composeHandler(fn) {\n return disabled ? null : fn;\n };\n\n var composeKeyboardHandler = function composeKeyboardHandler(fn) {\n return noKeyboard ? null : composeHandler(fn);\n };\n\n var composeDragHandler = function composeDragHandler(fn) {\n return noDrag ? null : composeHandler(fn);\n };\n\n var stopPropagation = function stopPropagation(event) {\n if (noDragEventsBubbling) {\n event.stopPropagation();\n }\n };\n\n var getRootProps = useMemo(function () {\n return function () {\n var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref2$refKey = _ref2.refKey,\n refKey = _ref2$refKey === void 0 ? \"ref\" : _ref2$refKey,\n role = _ref2.role,\n onKeyDown = _ref2.onKeyDown,\n onFocus = _ref2.onFocus,\n onBlur = _ref2.onBlur,\n onClick = _ref2.onClick,\n onDragEnter = _ref2.onDragEnter,\n onDragOver = _ref2.onDragOver,\n onDragLeave = _ref2.onDragLeave,\n onDrop = _ref2.onDrop,\n rest = _objectWithoutProperties(_ref2, _excluded3);\n\n return _objectSpread(_objectSpread(_defineProperty({\n onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),\n onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),\n onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),\n onClick: composeHandler(composeEventHandlers(onClick, onClickCb)),\n onDragEnter: composeDragHandler(composeEventHandlers(onDragEnter, onDragEnterCb)),\n onDragOver: composeDragHandler(composeEventHandlers(onDragOver, onDragOverCb)),\n onDragLeave: composeDragHandler(composeEventHandlers(onDragLeave, onDragLeaveCb)),\n onDrop: composeDragHandler(composeEventHandlers(onDrop, onDropCb)),\n role: typeof role === \"string\" && role !== \"\" ? role : \"presentation\"\n }, refKey, rootRef), !disabled && !noKeyboard ? {\n tabIndex: 0\n } : {}), rest);\n };\n }, [rootRef, onKeyDownCb, onFocusCb, onBlurCb, onClickCb, onDragEnterCb, onDragOverCb, onDragLeaveCb, onDropCb, noKeyboard, noDrag, disabled]);\n var onInputElementClick = useCallback(function (event) {\n event.stopPropagation();\n }, []);\n var getInputProps = useMemo(function () {\n return function () {\n var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref3$refKey = _ref3.refKey,\n refKey = _ref3$refKey === void 0 ? \"ref\" : _ref3$refKey,\n onChange = _ref3.onChange,\n onClick = _ref3.onClick,\n rest = _objectWithoutProperties(_ref3, _excluded4);\n\n var inputProps = _defineProperty({\n accept: acceptAttr,\n multiple: multiple,\n type: \"file\",\n style: {\n border: 0,\n clip: \"rect(0, 0, 0, 0)\",\n clipPath: \"inset(50%)\",\n height: \"1px\",\n margin: \"0 -1px -1px 0\",\n overflow: \"hidden\",\n padding: 0,\n position: \"absolute\",\n width: \"1px\",\n whiteSpace: \"nowrap\"\n },\n onChange: composeHandler(composeEventHandlers(onChange, onDropCb)),\n onClick: composeHandler(composeEventHandlers(onClick, onInputElementClick)),\n tabIndex: -1\n }, refKey, inputRef);\n\n return _objectSpread(_objectSpread({}, inputProps), rest);\n };\n }, [inputRef, accept, multiple, onDropCb, disabled]);\n return _objectSpread(_objectSpread({}, state), {}, {\n isFocused: isFocused && !disabled,\n getRootProps: getRootProps,\n getInputProps: getInputProps,\n rootRef: rootRef,\n inputRef: inputRef,\n open: composeHandler(openFileDialog)\n });\n}\n/**\n * @param {DropzoneState} state\n * @param {{type: string} & DropzoneState} action\n * @returns {DropzoneState}\n */\n\nfunction reducer(state, action) {\n /* istanbul ignore next */\n switch (action.type) {\n case \"focus\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isFocused: true\n });\n\n case \"blur\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isFocused: false\n });\n\n case \"openDialog\":\n return _objectSpread(_objectSpread({}, initialState), {}, {\n isFileDialogActive: true\n });\n\n case \"closeDialog\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isFileDialogActive: false\n });\n\n case \"setDraggedFiles\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isDragActive: action.isDragActive,\n isDragAccept: action.isDragAccept,\n isDragReject: action.isDragReject\n });\n\n case \"setFiles\":\n return _objectSpread(_objectSpread({}, state), {}, {\n acceptedFiles: action.acceptedFiles,\n fileRejections: action.fileRejections,\n isDragReject: action.isDragReject\n });\n\n case \"reset\":\n return _objectSpread({}, initialState);\n\n default:\n return state;\n }\n}\n\nfunction noop() {}\n\nexport { ErrorCode } from \"./utils/index.js\";"],"names":["_excluded","_excluded2","_excluded3","_excluded4","_toConsumableArray","arr","Array","isArray","_arrayLikeToArray","_arrayWithoutHoles","iter","Symbol","iterator","from","_iterableToArray","_unsupportedIterableToArray","TypeError","_nonIterableSpread","_slicedToArray","i","_arrayWithHoles","_i","_s","_e","_arr","_n","_d","call","next","done","push","value","length","err","_iterableToArrayLimit","_nonIterableRest","o","minLen","n","Object","prototype","toString","slice","constructor","name","test","len","arr2","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","target","arguments","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","configurable","writable","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","Dropzone","forwardRef","_ref","ref","children","_useDropzone","useDropzone","open","props","useImperativeHandle","React","createElement","Fragment","displayName","defaultProps","disabled","getFilesFromEvent","fromEvent","maxSize","Infinity","minSize","multiple","maxFiles","preventDropOnDocument","noClick","noKeyboard","noDrag","noDragEventsBubbling","validator","useFsAccessApi","autoFocus","propTypes","PropTypes","exports","func","accept","objectOf","arrayOf","string","bool","number","onFileDialogCancel","onFileDialogOpen","onDragEnter","onDragLeave","onDragOver","onDrop","onDropAccepted","onDropRejected","onError","initialState","isFocused","isFileDialogActive","isDragActive","isDragAccept","isDragReject","acceptedFiles","fileRejections","undefined","_defaultProps$props","acceptAttr","useMemo","acceptPropAsAcceptAttr","pickerTypes","pickerOptionsFromAccept","onFileDialogOpenCb","noop","onFileDialogCancelCb","rootRef","useRef","inputRef","_useReducer2","useReducer","reducer","state","dispatch","fsAccessApiWorksRef","window","isSecureContext","canUseFileSystemAccessAPI","onWindowFocus","current","setTimeout","files","type","useEffect","addEventListener","removeEventListener","dragTargetsRef","onDocumentDrop","event","contains","preventDefault","document","onDocumentDragOver","focus","onErrCb","useCallback","e","console","error","onDragEnterCb","persist","stopPropagation","concat","isEvtWithFiles","Promise","resolve","then","isPropagationStopped","fileCount","allFilesAccepted","catch","onDragOverCb","hasFiles","dataTransfer","dropEffect","_unused","onDragLeaveCb","targets","targetIdx","splice","setFiles","file","_fileAccepted2","fileAccepted","accepted","acceptError","_fileMatchSize2","fileMatchSize","sizeMatch","sizeError","customErrors","errors","TOO_MANY_FILES_REJECTION","onDropCb","openFileDialog","opts","types","showOpenFilePicker","handles","isAbort","isSecurityError","click","Error","onKeyDownCb","isEqualNode","keyCode","onFocusCb","onBlurCb","onClickCb","isIeOrEdge","composeHandler","fn","composeKeyboardHandler","composeDragHandler","getRootProps","_ref2","_ref2$refKey","refKey","role","onKeyDown","onFocus","onBlur","onClick","rest","composeEventHandlers","tabIndex","onInputElementClick","getInputProps","_ref3","_ref3$refKey","onChange","style","border","clip","clipPath","height","margin","overflow","padding","position","width","whiteSpace","action"],"mappings":"oWAAIA,EAAY,CAAC,YACbC,EAAa,CAAC,QACdC,EAAa,CAAC,SAAU,OAAQ,YAAa,UAAW,SAAU,UAAW,cAAe,aAAc,cAAe,UACzHC,EAAa,CAAC,SAAU,WAAY,WAExC,SAASC,EAAmBC,GAAO,OAMnC,SAA4BA,GAAO,GAAIC,MAAMC,QAAQF,GAAM,OAAOG,EAAkBH,EAAO,CANjDI,CAAmBJ,IAI7D,SAA0BK,GAAQ,GAAsB,oBAAXC,QAAmD,MAAzBD,EAAKC,OAAOC,WAA2C,MAAtBF,EAAK,cAAuB,OAAOJ,MAAMO,KAAKH,EAAQ,CAJzFI,CAAiBT,IAAQU,EAA4BV,IAE1H,WAAgC,MAAM,IAAIW,UAAU,uIAA0I,CAF5DC,EAAuB,CAQzJ,SAASC,EAAeb,EAAKc,GAAK,OAUlC,SAAyBd,GAAO,GAAIC,MAAMC,QAAQF,GAAM,OAAOA,CAAM,CAV5Be,CAAgBf,IAQzD,SAA+BA,EAAKc,GAAK,IAAIE,EAAY,MAAPhB,EAAc,KAAyB,oBAAXM,QAA0BN,EAAIM,OAAOC,WAAaP,EAAI,cAAe,GAAU,MAANgB,EAAY,OAAQ,IAAkDC,EAAIC,EAAlDC,EAAO,GAAQC,GAAK,EAAUC,GAAK,EAAmB,IAAM,IAAKL,EAAKA,EAAGM,KAAKtB,KAAQoB,GAAMH,EAAKD,EAAGO,QAAQC,QAAoBL,EAAKM,KAAKR,EAAGS,QAAYZ,GAAKK,EAAKQ,SAAWb,GAA3DM,GAAK,GAAiE,CAAG,MAA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B+H,EAAO/H,eACvBF,aAAciI,EAAOjI,eAGzB,IAAK,QACH,OAAO3E,EAAc,GAAIsE,GAE3B,QACE,OAAOwB,EAEb,CAEA,SAASR,IAAO"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/react-dropzone/dist/es/index.js"],"sourcesContent":["var _excluded = [\"children\"],\n _excluded2 = [\"open\"],\n _excluded3 = [\"refKey\", \"role\", \"onKeyDown\", \"onFocus\", \"onBlur\", \"onClick\", \"onDragEnter\", \"onDragOver\", \"onDragLeave\", \"onDrop\"],\n _excluded4 = [\"refKey\", \"onChange\", \"onClick\"];\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* eslint prefer-template: 0 */\nimport React, { forwardRef, Fragment, useCallback, useEffect, useImperativeHandle, useMemo, useReducer, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { fromEvent } from \"file-selector\";\nimport { acceptPropAsAcceptAttr, allFilesAccepted, composeEventHandlers, fileAccepted, fileMatchSize, canUseFileSystemAccessAPI, isAbort, isEvtWithFiles, isIeOrEdge, isPropagationStopped, isSecurityError, onDocumentDragOver, pickerOptionsFromAccept, TOO_MANY_FILES_REJECTION } from \"./utils/index.js\";\n/**\n * Convenience wrapper component for the `useDropzone` hook\n *\n * ```jsx\n * <Dropzone>\n * {({getRootProps, getInputProps}) => (\n * <div {...getRootProps()}>\n * <input {...getInputProps()} />\n * <p>Drag 'n' drop some files here, or click to select files</p>\n * </div>\n * )}\n * </Dropzone>\n * ```\n */\n\nvar Dropzone = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var children = _ref.children,\n params = _objectWithoutProperties(_ref, _excluded);\n\n var _useDropzone = useDropzone(params),\n open = _useDropzone.open,\n props = _objectWithoutProperties(_useDropzone, _excluded2);\n\n useImperativeHandle(ref, function () {\n return {\n open: open\n };\n }, [open]); // TODO: Figure out why react-styleguidist cannot create docs if we don't return a jsx element\n\n return /*#__PURE__*/React.createElement(Fragment, null, children(_objectSpread(_objectSpread({}, props), {}, {\n open: open\n })));\n});\nDropzone.displayName = \"Dropzone\"; // Add default props for react-docgen\n\nvar defaultProps = {\n disabled: false,\n getFilesFromEvent: fromEvent,\n maxSize: Infinity,\n minSize: 0,\n multiple: true,\n maxFiles: 0,\n preventDropOnDocument: true,\n noClick: false,\n noKeyboard: false,\n noDrag: false,\n noDragEventsBubbling: false,\n validator: null,\n useFsAccessApi: false,\n autoFocus: false\n};\nDropzone.defaultProps = defaultProps;\nDropzone.propTypes = {\n /**\n * Render function that exposes the dropzone state and prop getter fns\n *\n * @param {object} params\n * @param {Function} params.getRootProps Returns the props you should apply to the root drop container you render\n * @param {Function} params.getInputProps Returns the props you should apply to hidden file input you render\n * @param {Function} params.open Open the native file selection dialog\n * @param {boolean} params.isFocused Dropzone area is in focus\n * @param {boolean} params.isFileDialogActive File dialog is opened\n * @param {boolean} params.isDragActive Active drag is in progress\n * @param {boolean} params.isDragAccept Dragged files are accepted\n * @param {boolean} params.isDragReject Some dragged files are rejected\n * @param {File[]} params.acceptedFiles Accepted files\n * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected\n */\n children: PropTypes.func,\n\n /**\n * Set accepted file types.\n * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.\n * Keep in mind that mime type determination is not reliable across platforms. CSV files,\n * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under\n * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).\n */\n accept: PropTypes.objectOf(PropTypes.arrayOf(PropTypes.string)),\n\n /**\n * Allow drag 'n' drop (or selection from the file dialog) of multiple files\n */\n multiple: PropTypes.bool,\n\n /**\n * If false, allow dropped items to take over the current browser window\n */\n preventDropOnDocument: PropTypes.bool,\n\n /**\n * If true, disables click to open the native file selection dialog\n */\n noClick: PropTypes.bool,\n\n /**\n * If true, disables SPACE/ENTER to open the native file selection dialog.\n * Note that it also stops tracking the focus state.\n */\n noKeyboard: PropTypes.bool,\n\n /**\n * If true, disables drag 'n' drop\n */\n noDrag: PropTypes.bool,\n\n /**\n * If true, stops drag event propagation to parents\n */\n noDragEventsBubbling: PropTypes.bool,\n\n /**\n * Minimum file size (in bytes)\n */\n minSize: PropTypes.number,\n\n /**\n * Maximum file size (in bytes)\n */\n maxSize: PropTypes.number,\n\n /**\n * Maximum accepted number of files\n * The default value is 0 which means there is no limitation to how many files are accepted.\n */\n maxFiles: PropTypes.number,\n\n /**\n * Enable/disable the dropzone\n */\n disabled: PropTypes.bool,\n\n /**\n * Use this to provide a custom file aggregator\n *\n * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)\n */\n getFilesFromEvent: PropTypes.func,\n\n /**\n * Cb for when closing the file dialog with no selection\n */\n onFileDialogCancel: PropTypes.func,\n\n /**\n * Cb for when opening the file dialog\n */\n onFileDialogOpen: PropTypes.func,\n\n /**\n * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API\n * to open the file picker instead of using an `<input type=\"file\">` click event.\n */\n useFsAccessApi: PropTypes.bool,\n\n /**\n * Set to true to focus the root element on render\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Cb for when the `dragenter` event occurs.\n *\n * @param {DragEvent} event\n */\n onDragEnter: PropTypes.func,\n\n /**\n * Cb for when the `dragleave` event occurs\n *\n * @param {DragEvent} event\n */\n onDragLeave: PropTypes.func,\n\n /**\n * Cb for when the `dragover` event occurs\n *\n * @param {DragEvent} event\n */\n onDragOver: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that this callback is invoked after the `getFilesFromEvent` callback is done.\n *\n * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.\n * `accept` must be a valid [MIME type](http://www.iana.org/assignments/media-types/media-types.xhtml) according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) or a valid file extension.\n * If `multiple` is set to false and additional files are dropped,\n * all files besides the first will be rejected.\n * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.\n *\n * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.\n * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.\n *\n * `onDrop` will provide you with an array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects which you can then process and send to a server.\n * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:\n *\n * ```js\n * function onDrop(acceptedFiles) {\n * const req = request.post('/upload')\n * acceptedFiles.forEach(file => {\n * req.attach(file.name, file)\n * })\n * req.end(callback)\n * }\n * ```\n *\n * @param {File[]} acceptedFiles\n * @param {FileRejection[]} fileRejections\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n onDrop: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that if no files are accepted, this callback is not invoked.\n *\n * @param {File[]} files\n * @param {(DragEvent|Event)} event\n */\n onDropAccepted: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that if no files are rejected, this callback is not invoked.\n *\n * @param {FileRejection[]} fileRejections\n * @param {(DragEvent|Event)} event\n */\n onDropRejected: PropTypes.func,\n\n /**\n * Cb for when there's some error from any of the promises.\n *\n * @param {Error} error\n */\n onError: PropTypes.func,\n\n /**\n * Custom validation function. It must return null if there's no errors.\n * @param {File} file\n * @returns {FileError|FileError[]|null}\n */\n validator: PropTypes.func\n};\nexport default Dropzone;\n/**\n * A function that is invoked for the `dragenter`,\n * `dragover` and `dragleave` events.\n * It is not invoked if the items are not files (such as link, text, etc.).\n *\n * @callback dragCb\n * @param {DragEvent} event\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n * It is not invoked if the items are not files (such as link, text, etc.).\n *\n * @callback dropCb\n * @param {File[]} acceptedFiles List of accepted files\n * @param {FileRejection[]} fileRejections List of rejected files and why they were rejected\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n * It is not invoked if the items are files (such as link, text, etc.).\n *\n * @callback dropAcceptedCb\n * @param {File[]} files List of accepted files that meet the given criteria\n * (`accept`, `multiple`, `minSize`, `maxSize`)\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n *\n * @callback dropRejectedCb\n * @param {File[]} files List of rejected files that do not meet the given criteria\n * (`accept`, `multiple`, `minSize`, `maxSize`)\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is used aggregate files,\n * in a asynchronous fashion, from drag or input change events.\n *\n * @callback getFilesFromEvent\n * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)\n * @returns {(File[]|Promise<File[]>)}\n */\n\n/**\n * An object with the current dropzone state.\n *\n * @typedef {object} DropzoneState\n * @property {boolean} isFocused Dropzone area is in focus\n * @property {boolean} isFileDialogActive File dialog is opened\n * @property {boolean} isDragActive Active drag is in progress\n * @property {boolean} isDragAccept Dragged files are accepted\n * @property {boolean} isDragReject Some dragged files are rejected\n * @property {File[]} acceptedFiles Accepted files\n * @property {FileRejection[]} fileRejections Rejected files and why they were rejected\n */\n\n/**\n * An object with the dropzone methods.\n *\n * @typedef {object} DropzoneMethods\n * @property {Function} getRootProps Returns the props you should apply to the root drop container you render\n * @property {Function} getInputProps Returns the props you should apply to hidden file input you render\n * @property {Function} open Open the native file selection dialog\n */\n\nvar initialState = {\n isFocused: false,\n isFileDialogActive: false,\n isDragActive: false,\n isDragAccept: false,\n isDragReject: false,\n acceptedFiles: [],\n fileRejections: []\n};\n/**\n * A React hook that creates a drag 'n' drop area.\n *\n * ```jsx\n * function MyDropzone(props) {\n * const {getRootProps, getInputProps} = useDropzone({\n * onDrop: acceptedFiles => {\n * // do something with the File objects, e.g. upload to some server\n * }\n * });\n * return (\n * <div {...getRootProps()}>\n * <input {...getInputProps()} />\n * <p>Drag and drop some files here, or click to select files</p>\n * </div>\n * )\n * }\n * ```\n *\n * @function useDropzone\n *\n * @param {object} props\n * @param {import(\"./utils\").AcceptProp} [props.accept] Set accepted file types.\n * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.\n * Keep in mind that mime type determination is not reliable across platforms. CSV files,\n * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under\n * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).\n * @param {boolean} [props.multiple=true] Allow drag 'n' drop (or selection from the file dialog) of multiple files\n * @param {boolean} [props.preventDropOnDocument=true] If false, allow dropped items to take over the current browser window\n * @param {boolean} [props.noClick=false] If true, disables click to open the native file selection dialog\n * @param {boolean} [props.noKeyboard=false] If true, disables SPACE/ENTER to open the native file selection dialog.\n * Note that it also stops tracking the focus state.\n * @param {boolean} [props.noDrag=false] If true, disables drag 'n' drop\n * @param {boolean} [props.noDragEventsBubbling=false] If true, stops drag event propagation to parents\n * @param {number} [props.minSize=0] Minimum file size (in bytes)\n * @param {number} [props.maxSize=Infinity] Maximum file size (in bytes)\n * @param {boolean} [props.disabled=false] Enable/disable the dropzone\n * @param {getFilesFromEvent} [props.getFilesFromEvent] Use this to provide a custom file aggregator\n * @param {Function} [props.onFileDialogCancel] Cb for when closing the file dialog with no selection\n * @param {boolean} [props.useFsAccessApi] Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API\n * to open the file picker instead of using an `<input type=\"file\">` click event.\n * @param {boolean} autoFocus Set to true to auto focus the root element.\n * @param {Function} [props.onFileDialogOpen] Cb for when opening the file dialog\n * @param {dragCb} [props.onDragEnter] Cb for when the `dragenter` event occurs.\n * @param {dragCb} [props.onDragLeave] Cb for when the `dragleave` event occurs\n * @param {dragCb} [props.onDragOver] Cb for when the `dragover` event occurs\n * @param {dropCb} [props.onDrop] Cb for when the `drop` event occurs.\n * Note that this callback is invoked after the `getFilesFromEvent` callback is done.\n *\n * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.\n * `accept` must be an object with keys as a valid [MIME type](http://www.iana.org/assignments/media-types/media-types.xhtml) according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) and the value an array of file extensions (optional).\n * If `multiple` is set to false and additional files are dropped,\n * all files besides the first will be rejected.\n * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.\n *\n * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.\n * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.\n *\n * `onDrop` will provide you with an array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects which you can then process and send to a server.\n * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:\n *\n * ```js\n * function onDrop(acceptedFiles) {\n * const req = request.post('/upload')\n * acceptedFiles.forEach(file => {\n * req.attach(file.name, file)\n * })\n * req.end(callback)\n * }\n * ```\n * @param {dropAcceptedCb} [props.onDropAccepted]\n * @param {dropRejectedCb} [props.onDropRejected]\n * @param {(error: Error) => void} [props.onError]\n *\n * @returns {DropzoneState & DropzoneMethods}\n */\n\nexport function useDropzone() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _defaultProps$props = _objectSpread(_objectSpread({}, defaultProps), props),\n accept = _defaultProps$props.accept,\n disabled = _defaultProps$props.disabled,\n getFilesFromEvent = _defaultProps$props.getFilesFromEvent,\n maxSize = _defaultProps$props.maxSize,\n minSize = _defaultProps$props.minSize,\n multiple = _defaultProps$props.multiple,\n maxFiles = _defaultProps$props.maxFiles,\n onDragEnter = _defaultProps$props.onDragEnter,\n onDragLeave = _defaultProps$props.onDragLeave,\n onDragOver = _defaultProps$props.onDragOver,\n onDrop = _defaultProps$props.onDrop,\n onDropAccepted = _defaultProps$props.onDropAccepted,\n onDropRejected = _defaultProps$props.onDropRejected,\n onFileDialogCancel = _defaultProps$props.onFileDialogCancel,\n onFileDialogOpen = _defaultProps$props.onFileDialogOpen,\n useFsAccessApi = _defaultProps$props.useFsAccessApi,\n autoFocus = _defaultProps$props.autoFocus,\n preventDropOnDocument = _defaultProps$props.preventDropOnDocument,\n noClick = _defaultProps$props.noClick,\n noKeyboard = _defaultProps$props.noKeyboard,\n noDrag = _defaultProps$props.noDrag,\n noDragEventsBubbling = _defaultProps$props.noDragEventsBubbling,\n onError = _defaultProps$props.onError,\n validator = _defaultProps$props.validator;\n\n var acceptAttr = useMemo(function () {\n return acceptPropAsAcceptAttr(accept);\n }, [accept]);\n var pickerTypes = useMemo(function () {\n return pickerOptionsFromAccept(accept);\n }, [accept]);\n var onFileDialogOpenCb = useMemo(function () {\n return typeof onFileDialogOpen === \"function\" ? onFileDialogOpen : noop;\n }, [onFileDialogOpen]);\n var onFileDialogCancelCb = useMemo(function () {\n return typeof onFileDialogCancel === \"function\" ? onFileDialogCancel : noop;\n }, [onFileDialogCancel]);\n /**\n * @constant\n * @type {React.MutableRefObject<HTMLElement>}\n */\n\n var rootRef = useRef(null);\n var inputRef = useRef(null);\n\n var _useReducer = useReducer(reducer, initialState),\n _useReducer2 = _slicedToArray(_useReducer, 2),\n state = _useReducer2[0],\n dispatch = _useReducer2[1];\n\n var isFocused = state.isFocused,\n isFileDialogActive = state.isFileDialogActive;\n var fsAccessApiWorksRef = useRef(typeof window !== \"undefined\" && window.isSecureContext && useFsAccessApi && canUseFileSystemAccessAPI()); // Update file dialog active state when the window is focused on\n\n var onWindowFocus = function onWindowFocus() {\n // Execute the timeout only if the file dialog is opened in the browser\n if (!fsAccessApiWorksRef.current && isFileDialogActive) {\n setTimeout(function () {\n if (inputRef.current) {\n var files = inputRef.current.files;\n\n if (!files.length) {\n dispatch({\n type: \"closeDialog\"\n });\n onFileDialogCancelCb();\n }\n }\n }, 300);\n }\n };\n\n useEffect(function () {\n window.addEventListener(\"focus\", onWindowFocus, false);\n return function () {\n window.removeEventListener(\"focus\", onWindowFocus, false);\n };\n }, [inputRef, isFileDialogActive, onFileDialogCancelCb, fsAccessApiWorksRef]);\n var dragTargetsRef = useRef([]);\n\n var onDocumentDrop = function onDocumentDrop(event) {\n if (rootRef.current && rootRef.current.contains(event.target)) {\n // If we intercepted an event for our instance, let it propagate down to the instance's onDrop handler\n return;\n }\n\n event.preventDefault();\n dragTargetsRef.current = [];\n };\n\n useEffect(function () {\n if (preventDropOnDocument) {\n document.addEventListener(\"dragover\", onDocumentDragOver, false);\n document.addEventListener(\"drop\", onDocumentDrop, false);\n }\n\n return function () {\n if (preventDropOnDocument) {\n document.removeEventListener(\"dragover\", onDocumentDragOver);\n document.removeEventListener(\"drop\", onDocumentDrop);\n }\n };\n }, [rootRef, preventDropOnDocument]); // Auto focus the root when autoFocus is true\n\n useEffect(function () {\n if (!disabled && autoFocus && rootRef.current) {\n rootRef.current.focus();\n }\n\n return function () {};\n }, [rootRef, autoFocus, disabled]);\n var onErrCb = useCallback(function (e) {\n if (onError) {\n onError(e);\n } else {\n // Let the user know something's gone wrong if they haven't provided the onError cb.\n console.error(e);\n }\n }, [onError]);\n var onDragEnterCb = useCallback(function (event) {\n event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done\n\n event.persist();\n stopPropagation(event);\n dragTargetsRef.current = [].concat(_toConsumableArray(dragTargetsRef.current), [event.target]);\n\n if (isEvtWithFiles(event)) {\n Promise.resolve(getFilesFromEvent(event)).then(function (files) {\n if (isPropagationStopped(event) && !noDragEventsBubbling) {\n return;\n }\n\n var fileCount = files.length;\n var isDragAccept = fileCount > 0 && allFilesAccepted({\n files: files,\n accept: acceptAttr,\n minSize: minSize,\n maxSize: maxSize,\n multiple: multiple,\n maxFiles: maxFiles,\n validator: validator\n });\n var isDragReject = fileCount > 0 && !isDragAccept;\n dispatch({\n isDragAccept: isDragAccept,\n isDragReject: isDragReject,\n isDragActive: true,\n type: \"setDraggedFiles\"\n });\n\n if (onDragEnter) {\n onDragEnter(event);\n }\n }).catch(function (e) {\n return onErrCb(e);\n });\n }\n }, [getFilesFromEvent, onDragEnter, onErrCb, noDragEventsBubbling, acceptAttr, minSize, maxSize, multiple, maxFiles, validator]);\n var onDragOverCb = useCallback(function (event) {\n event.preventDefault();\n event.persist();\n stopPropagation(event);\n var hasFiles = isEvtWithFiles(event);\n\n if (hasFiles && event.dataTransfer) {\n try {\n event.dataTransfer.dropEffect = \"copy\";\n } catch (_unused) {}\n /* eslint-disable-line no-empty */\n\n }\n\n if (hasFiles && onDragOver) {\n onDragOver(event);\n }\n\n return false;\n }, [onDragOver, noDragEventsBubbling]);\n var onDragLeaveCb = useCallback(function (event) {\n event.preventDefault();\n event.persist();\n stopPropagation(event); // Only deactivate once the dropzone and all children have been left\n\n var targets = dragTargetsRef.current.filter(function (target) {\n return rootRef.current && rootRef.current.contains(target);\n }); // Make sure to remove a target present multiple times only once\n // (Firefox may fire dragenter/dragleave multiple times on the same element)\n\n var targetIdx = targets.indexOf(event.target);\n\n if (targetIdx !== -1) {\n targets.splice(targetIdx, 1);\n }\n\n dragTargetsRef.current = targets;\n\n if (targets.length > 0) {\n return;\n }\n\n dispatch({\n type: \"setDraggedFiles\",\n isDragActive: false,\n isDragAccept: false,\n isDragReject: false\n });\n\n if (isEvtWithFiles(event) && onDragLeave) {\n onDragLeave(event);\n }\n }, [rootRef, onDragLeave, noDragEventsBubbling]);\n var setFiles = useCallback(function (files, event) {\n var acceptedFiles = [];\n var fileRejections = [];\n files.forEach(function (file) {\n var _fileAccepted = fileAccepted(file, acceptAttr),\n _fileAccepted2 = _slicedToArray(_fileAccepted, 2),\n accepted = _fileAccepted2[0],\n acceptError = _fileAccepted2[1];\n\n var _fileMatchSize = fileMatchSize(file, minSize, maxSize),\n _fileMatchSize2 = _slicedToArray(_fileMatchSize, 2),\n sizeMatch = _fileMatchSize2[0],\n sizeError = _fileMatchSize2[1];\n\n var customErrors = validator ? validator(file) : null;\n\n if (accepted && sizeMatch && !customErrors) {\n acceptedFiles.push(file);\n } else {\n var errors = [acceptError, sizeError];\n\n if (customErrors) {\n errors = errors.concat(customErrors);\n }\n\n fileRejections.push({\n file: file,\n errors: errors.filter(function (e) {\n return e;\n })\n });\n }\n });\n\n if (!multiple && acceptedFiles.length > 1 || multiple && maxFiles >= 1 && acceptedFiles.length > maxFiles) {\n // Reject everything and empty accepted files\n acceptedFiles.forEach(function (file) {\n fileRejections.push({\n file: file,\n errors: [TOO_MANY_FILES_REJECTION]\n });\n });\n acceptedFiles.splice(0);\n }\n\n dispatch({\n acceptedFiles: acceptedFiles,\n fileRejections: fileRejections,\n isDragReject: fileRejections.length > 0,\n type: \"setFiles\"\n });\n\n if (onDrop) {\n onDrop(acceptedFiles, fileRejections, event);\n }\n\n if (fileRejections.length > 0 && onDropRejected) {\n onDropRejected(fileRejections, event);\n }\n\n if (acceptedFiles.length > 0 && onDropAccepted) {\n onDropAccepted(acceptedFiles, event);\n }\n }, [dispatch, multiple, acceptAttr, minSize, maxSize, maxFiles, onDrop, onDropAccepted, onDropRejected, validator]);\n var onDropCb = useCallback(function (event) {\n event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done\n\n event.persist();\n stopPropagation(event);\n dragTargetsRef.current = [];\n\n if (isEvtWithFiles(event)) {\n Promise.resolve(getFilesFromEvent(event)).then(function (files) {\n if (isPropagationStopped(event) && !noDragEventsBubbling) {\n return;\n }\n\n setFiles(files, event);\n }).catch(function (e) {\n return onErrCb(e);\n });\n }\n\n dispatch({\n type: \"reset\"\n });\n }, [getFilesFromEvent, setFiles, onErrCb, noDragEventsBubbling]); // Fn for opening the file dialog programmatically\n\n var openFileDialog = useCallback(function () {\n // No point to use FS access APIs if context is not secure\n // https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts#feature_detection\n if (fsAccessApiWorksRef.current) {\n dispatch({\n type: \"openDialog\"\n });\n onFileDialogOpenCb(); // https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker\n\n var opts = {\n multiple: multiple,\n types: pickerTypes\n };\n window.showOpenFilePicker(opts).then(function (handles) {\n return getFilesFromEvent(handles);\n }).then(function (files) {\n setFiles(files, null);\n dispatch({\n type: \"closeDialog\"\n });\n }).catch(function (e) {\n // AbortError means the user canceled\n if (isAbort(e)) {\n onFileDialogCancelCb(e);\n dispatch({\n type: \"closeDialog\"\n });\n } else if (isSecurityError(e)) {\n fsAccessApiWorksRef.current = false; // CORS, so cannot use this API\n // Try using the input\n\n if (inputRef.current) {\n inputRef.current.value = null;\n inputRef.current.click();\n } else {\n onErrCb(new Error(\"Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided.\"));\n }\n } else {\n onErrCb(e);\n }\n });\n return;\n }\n\n if (inputRef.current) {\n dispatch({\n type: \"openDialog\"\n });\n onFileDialogOpenCb();\n inputRef.current.value = null;\n inputRef.current.click();\n }\n }, [dispatch, onFileDialogOpenCb, onFileDialogCancelCb, useFsAccessApi, setFiles, onErrCb, pickerTypes, multiple]); // Cb to open the file dialog when SPACE/ENTER occurs on the dropzone\n\n var onKeyDownCb = useCallback(function (event) {\n // Ignore keyboard events bubbling up the DOM tree\n if (!rootRef.current || !rootRef.current.isEqualNode(event.target)) {\n return;\n }\n\n if (event.key === \" \" || event.key === \"Enter\" || event.keyCode === 32 || event.keyCode === 13) {\n event.preventDefault();\n openFileDialog();\n }\n }, [rootRef, openFileDialog]); // Update focus state for the dropzone\n\n var onFocusCb = useCallback(function () {\n dispatch({\n type: \"focus\"\n });\n }, []);\n var onBlurCb = useCallback(function () {\n dispatch({\n type: \"blur\"\n });\n }, []); // Cb to open the file dialog when click occurs on the dropzone\n\n var onClickCb = useCallback(function () {\n if (noClick) {\n return;\n } // In IE11/Edge the file-browser dialog is blocking, therefore, use setTimeout()\n // to ensure React can handle state changes\n // See: https://github.com/react-dropzone/react-dropzone/issues/450\n\n\n if (isIeOrEdge()) {\n setTimeout(openFileDialog, 0);\n } else {\n openFileDialog();\n }\n }, [noClick, openFileDialog]);\n\n var composeHandler = function composeHandler(fn) {\n return disabled ? null : fn;\n };\n\n var composeKeyboardHandler = function composeKeyboardHandler(fn) {\n return noKeyboard ? null : composeHandler(fn);\n };\n\n var composeDragHandler = function composeDragHandler(fn) {\n return noDrag ? null : composeHandler(fn);\n };\n\n var stopPropagation = function stopPropagation(event) {\n if (noDragEventsBubbling) {\n event.stopPropagation();\n }\n };\n\n var getRootProps = useMemo(function () {\n return function () {\n var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref2$refKey = _ref2.refKey,\n refKey = _ref2$refKey === void 0 ? \"ref\" : _ref2$refKey,\n role = _ref2.role,\n onKeyDown = _ref2.onKeyDown,\n onFocus = _ref2.onFocus,\n onBlur = _ref2.onBlur,\n onClick = _ref2.onClick,\n onDragEnter = _ref2.onDragEnter,\n onDragOver = _ref2.onDragOver,\n onDragLeave = _ref2.onDragLeave,\n onDrop = _ref2.onDrop,\n rest = _objectWithoutProperties(_ref2, _excluded3);\n\n return _objectSpread(_objectSpread(_defineProperty({\n onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),\n onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),\n onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),\n onClick: composeHandler(composeEventHandlers(onClick, onClickCb)),\n onDragEnter: composeDragHandler(composeEventHandlers(onDragEnter, onDragEnterCb)),\n onDragOver: composeDragHandler(composeEventHandlers(onDragOver, onDragOverCb)),\n onDragLeave: composeDragHandler(composeEventHandlers(onDragLeave, onDragLeaveCb)),\n onDrop: composeDragHandler(composeEventHandlers(onDrop, onDropCb)),\n role: typeof role === \"string\" && role !== \"\" ? role : \"presentation\"\n }, refKey, rootRef), !disabled && !noKeyboard ? {\n tabIndex: 0\n } : {}), rest);\n };\n }, [rootRef, onKeyDownCb, onFocusCb, onBlurCb, onClickCb, onDragEnterCb, onDragOverCb, onDragLeaveCb, onDropCb, noKeyboard, noDrag, disabled]);\n var onInputElementClick = useCallback(function (event) {\n event.stopPropagation();\n }, []);\n var getInputProps = useMemo(function () {\n return function () {\n var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref3$refKey = _ref3.refKey,\n refKey = _ref3$refKey === void 0 ? \"ref\" : _ref3$refKey,\n onChange = _ref3.onChange,\n onClick = _ref3.onClick,\n rest = _objectWithoutProperties(_ref3, _excluded4);\n\n var inputProps = _defineProperty({\n accept: acceptAttr,\n multiple: multiple,\n type: \"file\",\n style: {\n border: 0,\n clip: \"rect(0, 0, 0, 0)\",\n clipPath: \"inset(50%)\",\n height: \"1px\",\n margin: \"0 -1px -1px 0\",\n overflow: \"hidden\",\n padding: 0,\n position: \"absolute\",\n width: \"1px\",\n whiteSpace: \"nowrap\"\n },\n onChange: composeHandler(composeEventHandlers(onChange, onDropCb)),\n onClick: composeHandler(composeEventHandlers(onClick, onInputElementClick)),\n tabIndex: -1\n }, refKey, inputRef);\n\n return _objectSpread(_objectSpread({}, inputProps), rest);\n };\n }, [inputRef, accept, multiple, onDropCb, disabled]);\n return _objectSpread(_objectSpread({}, state), {}, {\n isFocused: isFocused && !disabled,\n getRootProps: getRootProps,\n getInputProps: getInputProps,\n rootRef: rootRef,\n inputRef: inputRef,\n open: composeHandler(openFileDialog)\n });\n}\n/**\n * @param {DropzoneState} state\n * @param {{type: string} & DropzoneState} action\n * @returns {DropzoneState}\n */\n\nfunction reducer(state, action) {\n /* istanbul ignore next */\n switch (action.type) {\n case \"focus\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isFocused: true\n });\n\n case \"blur\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isFocused: false\n });\n\n case \"openDialog\":\n return _objectSpread(_objectSpread({}, initialState), {}, {\n isFileDialogActive: true\n });\n\n case \"closeDialog\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isFileDialogActive: false\n });\n\n case \"setDraggedFiles\":\n return _objectSpread(_objectSpread({}, state), {}, {\n isDragActive: action.isDragActive,\n isDragAccept: action.isDragAccept,\n isDragReject: action.isDragReject\n });\n\n case \"setFiles\":\n return _objectSpread(_objectSpread({}, state), {}, {\n acceptedFiles: action.acceptedFiles,\n fileRejections: action.fileRejections,\n isDragReject: action.isDragReject\n });\n\n case \"reset\":\n return _objectSpread({}, initialState);\n\n default:\n return state;\n }\n}\n\nfunction noop() {}\n\nexport { ErrorCode } from \"./utils/index.js\";"],"names":["_excluded","_excluded2","_excluded3","_excluded4","_toConsumableArray","arr","Array","isArray","_arrayLikeToArray","_arrayWithoutHoles","iter","Symbol","iterator","from","_iterableToArray","_unsupportedIterableToArray","TypeError","_nonIterableSpread","_slicedToArray","i","_arrayWithHoles","_i","_s","_e","_arr","_n","_d","call","next","done","push","value","length","err","_iterableToArrayLimit","_nonIterableRest","o","minLen","n","Object","prototype","toString","slice","constructor","name","test","len","arr2","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","target","arguments","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","configurable","writable","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","Dropzone","forwardRef","_ref","ref","children","_useDropzone","useDropzone","open","props","useImperativeHandle","React","createElement","Fragment","displayName","defaultProps","disabled","getFilesFromEvent","fromEvent","maxSize","Infinity","minSize","multiple","maxFiles","preventDropOnDocument","noClick","noKeyboard","noDrag","noDragEventsBubbling","validator","useFsAccessApi","autoFocus","propTypes","PropTypes","exports","func","accept","objectOf","arrayOf","string","bool","number","onFileDialogCancel","onFileDialogOpen","onDragEnter","onDragLeave","onDragOver","onDrop","onDropAccepted","onDropRejected","onError","initialState","isFocused","isFileDialogActive","isDragActive","isDragAccept","isDragReject","acceptedFiles","fileRejections","undefined","_defaultProps$props","acceptAttr","useMemo","acceptPropAsAcceptAttr","pickerTypes","pickerOptionsFromAccept","onFileDialogOpenCb","noop","onFileDialogCancelCb","rootRef","useRef","inputRef","_useReducer2","useReducer","reducer","state","dispatch","fsAccessApiWorksRef","window","isSecureContext","canUseFileSystemAccessAPI","onWindowFocus","current","setTimeout","files","type","useEffect","addEventListener","removeEventListener","dragTargetsRef","onDocumentDrop","event","contains","preventDefault","document","onDocumentDragOver","focus","onErrCb","useCallback","e","console","error","onDragEnterCb","persist","stopPropagation","concat","isEvtWithFiles","Promise","resolve","then","isPropagationStopped","fileCount","allFilesAccepted","catch","onDragOverCb","hasFiles","dataTransfer","dropEffect","_unused","onDragLeaveCb","targets","targetIdx","splice","setFiles","file","_fileAccepted2","fileAccepted","accepted","acceptError","_fileMatchSize2","fileMatchSize","sizeMatch","sizeError","customErrors","errors","TOO_MANY_FILES_REJECTION","onDropCb","openFileDialog","opts","types","showOpenFilePicker","handles","isAbort","isSecurityError","click","Error","onKeyDownCb","isEqualNode","keyCode","onFocusCb","onBlurCb","onClickCb","isIeOrEdge","composeHandler","fn","composeKeyboardHandler","composeDragHandler","getRootProps","_ref2","_ref2$refKey","refKey","role","onKeyDown","onFocus","onBlur","onClick","rest","composeEventHandlers","tabIndex","onInputElementClick","getInputProps","_ref3","_ref3$refKey","onChange","style","border","clip","clipPath","height","margin","overflow","padding","position","width","whiteSpace","action"],"mappings":"8pBAAA,IAAIA,EAAY,CAAC,YACbC,EAAa,CAAC,QACdC,EAAa,CAAC,SAAU,OAAQ,YAAa,UAAW,SAAU,UAAW,cAAe,aAAc,cAAe,UACzHC,EAAa,CAAC,SAAU,WAAY,WAExC,SAASC,EAAmBC,GAAO,OAMnC,SAA4BA,GAAO,GAAIC,MAAMC,QAAQF,GAAM,OAAOG,EAAkBH,EAAO,CANjDI,CAAmBJ,IAI7D,SAA0BK,GAAQ,GAAsB,oBAAXC,QAAmD,MAAzBD,EAAKC,OAAOC,WAA2C,MAAtBF,EAAK,cAAuB,OAAOJ,MAAMO,KAAKH,EAAQ,CAJzFI,CAAiBT,IAAQU,EAA4BV,IAE1H,WAAgC,MAAM,IAAIW,UAAU,uIAA0I,CAF5DC,EAAuB,CAQzJ,SAASC,EAAeb,EAAKc,GAAK,OAUlC,SAAyBd,GAAO,GAAIC,MAAMC,QAAQF,GAAM,OAAOA,CAAM,CAV5Be,CAAgBf,IAQzD,SAA+BA,EAAKc,GAAK,IAAIE,EAAY,MAAPhB,EAAc,KAAyB,oBAAXM,QAA0BN,EAAIM,OAAOC,WAAaP,EAAI,cAAe,GAAU,MAANgB,EAAY,OA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qBF,EAASI,KACtDD,UAAW,GACVR,EAAQzF,KAEyC+F,EAC1D,CACA,GAAK,CAAC/F,GAAUnC,EAAQd,EAAUkH,GAAUxH,IAC1C,OAAOnC,EAAcA,EAAc,CAAE,EAAE8F,IAAQ,CAAA,EAAI,CACjDvB,UAAWA,KAAcpC,EACzB6I,aAAcA,GACda,cAAeA,GACfrG,QAASA,GACTE,SAAUA,GACV/D,KAAMiJ,GAAehB,KAEzB,CAOA,SAAS/D,EAAQC,EAAO8G,GAEtB,OAAQA,EAAOpG,MACb,IAAK,QACH,OAAOxG,EAAcA,EAAc,CAAE,EAAE8F,GAAQ,CAAA,EAAI,CACjDvB,WAAW,IAGf,IAAK,OACH,OAAOvE,EAAcA,EAAc,CAAE,EAAE8F,GAAQ,CAAA,EAAI,CACjDvB,WAAW,IAGf,IAAK,aACH,OAAOvE,EAAcA,EAAc,CAAE,EAAEsE,GAAe,CAAA,EAAI,CACxDE,oBAAoB,IAGxB,IAAK,cACH,OAAOxE,EAAcA,EAAc,CAAE,EAAE8F,GAAQ,CAAA,EAAI,CACjDtB,oBAAoB,IAGxB,IAAK,kBACH,OAAOxE,EAAcA,EAAc,CAAE,EAAE8F,GAAQ,CAAA,EAAI,CACjDrB,aAAcmI,EAAOnI,aACrBC,aAAckI,EAAOlI,aACrBC,aAAciI,EAAOjI,eAGzB,IAAK,WACH,OAAO3E,EAAcA,EAAc,CAAE,EAAE8F,GAAQ,CAAA,EAAI,CACjDlB,cAAegI,EAAOhI,cACtBC,eAAgB+H,EAAO/H,eACvBF,aAAciI,EAAOjI,eAGzB,IAAK,QACH,OAAO3E,EAAc,GAAIsE,GAE3B,QACE,OAAOwB,EAEb,CAEA,SAASR,IAAO"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import e from"../../../../attr-accept/dist/es/index.js";function t(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u="function"==typeof e?e:e.default,l="file-invalid-type",f="file-too-large",s="file-too-small",p="too-many-files",y=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(","),t=e.length>1?"one of ".concat(e.join(", ")):e[0];return{code:l,message:"File type must be ".concat(t)}},d=function(e){return{code:f,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},b=function(e){return{code:s,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},m={code:p,message:"Too many files"};function v(e,t){var n="application/x-moz-file"===e.type||u(e,t);return[n,n?null:y(t)]}function g(e,t,n){if(O(e.size))if(O(t)&&O(n)){if(e.size>n)return[!1,d(n)];if(e.size<t)return[!1,b(t)]}else{if(O(t)&&e.size<t)return[!1,b(t)];if(O(n)&&e.size>n)return[!1,d(n)]}return[!0,null]}function O(e){return null!=e}function h(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,a=e.multiple,c=e.maxFiles,u=e.validator;return!(!a&&t.length>1||a&&c>=1&&t.length>c)&&t.every((function(e){var t=i(v(e,n),1)[0],a=i(g(e,r,o),1)[0],c=u?u(e):null;return t&&a&&!c}))}function w(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function j(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function S(e){e.preventDefault()}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return!w(e)&&t&&t.apply(void 0,[e].concat(r)),w(e)}))}}function x(){return"showOpenFilePicker"in window}function P(e){return O(e)?[{description:"Files",accept:Object.entries(e).filter((function(e){var t=i(e,2),n=t[0],r=t[1],o=!0;return M(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(r)&&r.every(D)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),o=!1),o})).reduce((function(e,t){var n=i(t,2),a=n[0],c=n[1];return r(r({},e),{},o({},a,c))}),{})}]:e}function T(e){if(O(e))return Object.entries(e).reduce((function(e,n){var r=i(n,2),o=r[0],a=r[1];return[].concat(t(e),[o],t(a))}),[]).filter((function(e){return M(e)||D(e)})).join(",")}function z(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}function I(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}function M(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||"application/*"===e||/\w+\/[-+.\w]+/g.test(e)}function D(e){return/^.*\.[\w]+$/.test(e)}export{l as FILE_INVALID_TYPE,f as FILE_TOO_LARGE,s as FILE_TOO_SMALL,p as TOO_MANY_FILES,m as TOO_MANY_FILES_REJECTION,T as acceptPropAsAcceptAttr,h as allFilesAccepted,x as canUseFileSystemAccessAPI,E as composeEventHandlers,v as fileAccepted,g as fileMatchSize,y as getInvalidTypeRejectionErr,d as getTooLargeRejectionErr,b as getTooSmallRejectionErr,z as isAbort,j as isEvtWithFiles,D as isExt,A as isIeOrEdge,M as isMIMEType,w as isPropagationStopped,I as isSecurityError,S as onDocumentDragOver,P as pickerOptionsFromAccept};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/react-dropzone/dist/es/utils/index.js"],"sourcesContent":["function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport _accepts from \"attr-accept\";\nvar accepts = typeof _accepts === \"function\" ? _accepts : _accepts.default; // Error codes\n\nexport var FILE_INVALID_TYPE = \"file-invalid-type\";\nexport var FILE_TOO_LARGE = \"file-too-large\";\nexport var FILE_TOO_SMALL = \"file-too-small\";\nexport var TOO_MANY_FILES = \"too-many-files\";\nexport var ErrorCode = {\n FileInvalidType: FILE_INVALID_TYPE,\n FileTooLarge: FILE_TOO_LARGE,\n FileTooSmall: FILE_TOO_SMALL,\n TooManyFiles: TOO_MANY_FILES\n};\n/**\n *\n * @param {string} accept\n */\n\nexport var getInvalidTypeRejectionErr = function getInvalidTypeRejectionErr() {\n var accept = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n var acceptArr = accept.split(\",\");\n var msg = acceptArr.length > 1 ? \"one of \".concat(acceptArr.join(\", \")) : acceptArr[0];\n return {\n code: FILE_INVALID_TYPE,\n message: \"File type must be \".concat(msg)\n };\n};\nexport var getTooLargeRejectionErr = function getTooLargeRejectionErr(maxSize) {\n return {\n code: FILE_TOO_LARGE,\n message: \"File is larger than \".concat(maxSize, \" \").concat(maxSize === 1 ? \"byte\" : \"bytes\")\n };\n};\nexport var getTooSmallRejectionErr = function getTooSmallRejectionErr(minSize) {\n return {\n code: FILE_TOO_SMALL,\n message: \"File is smaller than \".concat(minSize, \" \").concat(minSize === 1 ? \"byte\" : \"bytes\")\n };\n};\nexport var TOO_MANY_FILES_REJECTION = {\n code: TOO_MANY_FILES,\n message: \"Too many files\"\n};\n/**\n * Check if file is accepted.\n *\n * Firefox versions prior to 53 return a bogus MIME type for every file drag,\n * so dragovers with that MIME type will always be accepted.\n *\n * @param {File} file\n * @param {string} accept\n * @returns\n */\n\nexport function fileAccepted(file, accept) {\n var isAcceptable = file.type === \"application/x-moz-file\" || accepts(file, accept);\n return [isAcceptable, isAcceptable ? null : getInvalidTypeRejectionErr(accept)];\n}\nexport function fileMatchSize(file, minSize, maxSize) {\n if (isDefined(file.size)) {\n if (isDefined(minSize) && isDefined(maxSize)) {\n if (file.size > maxSize) return [false, getTooLargeRejectionErr(maxSize)];\n if (file.size < minSize) return [false, getTooSmallRejectionErr(minSize)];\n } else if (isDefined(minSize) && file.size < minSize) return [false, getTooSmallRejectionErr(minSize)];else if (isDefined(maxSize) && file.size > maxSize) return [false, getTooLargeRejectionErr(maxSize)];\n }\n\n return [true, null];\n}\n\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\n/**\n *\n * @param {object} options\n * @param {File[]} options.files\n * @param {string} [options.accept]\n * @param {number} [options.minSize]\n * @param {number} [options.maxSize]\n * @param {boolean} [options.multiple]\n * @param {number} [options.maxFiles]\n * @param {(f: File) => FileError|FileError[]|null} [options.validator]\n * @returns\n */\n\n\nexport function allFilesAccepted(_ref) {\n var files = _ref.files,\n accept = _ref.accept,\n minSize = _ref.minSize,\n maxSize = _ref.maxSize,\n multiple = _ref.multiple,\n maxFiles = _ref.maxFiles,\n validator = _ref.validator;\n\n if (!multiple && files.length > 1 || multiple && maxFiles >= 1 && files.length > maxFiles) {\n return false;\n }\n\n return files.every(function (file) {\n var _fileAccepted = fileAccepted(file, accept),\n _fileAccepted2 = _slicedToArray(_fileAccepted, 1),\n accepted = _fileAccepted2[0];\n\n var _fileMatchSize = fileMatchSize(file, minSize, maxSize),\n _fileMatchSize2 = _slicedToArray(_fileMatchSize, 1),\n sizeMatch = _fileMatchSize2[0];\n\n var customErrors = validator ? validator(file) : null;\n return accepted && sizeMatch && !customErrors;\n });\n} // React's synthetic events has event.isPropagationStopped,\n// but to remain compatibility with other libs (Preact) fall back\n// to check event.cancelBubble\n\nexport function isPropagationStopped(event) {\n if (typeof event.isPropagationStopped === \"function\") {\n return event.isPropagationStopped();\n } else if (typeof event.cancelBubble !== \"undefined\") {\n return event.cancelBubble;\n }\n\n return false;\n}\nexport function isEvtWithFiles(event) {\n if (!event.dataTransfer) {\n return !!event.target && !!event.target.files;\n } // https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types\n // https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/Recommended_drag_types#file\n\n\n return Array.prototype.some.call(event.dataTransfer.types, function (type) {\n return type === \"Files\" || type === \"application/x-moz-file\";\n });\n}\nexport function isKindFile(item) {\n return _typeof(item) === \"object\" && item !== null && item.kind === \"file\";\n} // allow the entire document to be a drag target\n\nexport function onDocumentDragOver(event) {\n event.preventDefault();\n}\n\nfunction isIe(userAgent) {\n return userAgent.indexOf(\"MSIE\") !== -1 || userAgent.indexOf(\"Trident/\") !== -1;\n}\n\nfunction isEdge(userAgent) {\n return userAgent.indexOf(\"Edge/\") !== -1;\n}\n\nexport function isIeOrEdge() {\n var userAgent = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window.navigator.userAgent;\n return isIe(userAgent) || isEdge(userAgent);\n}\n/**\n * This is intended to be used to compose event handlers\n * They are executed in order until one of them calls `event.isPropagationStopped()`.\n * Note that the check is done on the first invoke too,\n * meaning that if propagation was stopped before invoking the fns,\n * no handlers will be executed.\n *\n * @param {Function} fns the event hanlder functions\n * @return {Function} the event handler to add to an element\n */\n\nexport function composeEventHandlers() {\n for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {\n fns[_key] = arguments[_key];\n }\n\n return function (event) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n return fns.some(function (fn) {\n if (!isPropagationStopped(event) && fn) {\n fn.apply(void 0, [event].concat(args));\n }\n\n return isPropagationStopped(event);\n });\n };\n}\n/**\n * canUseFileSystemAccessAPI checks if the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API)\n * is supported by the browser.\n * @returns {boolean}\n */\n\nexport function canUseFileSystemAccessAPI() {\n return \"showOpenFilePicker\" in window;\n}\n/**\n * Convert the `{accept}` dropzone prop to the\n * `{types}` option for https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker\n *\n * @param {AcceptProp} accept\n * @returns {{accept: string[]}[]}\n */\n\nexport function pickerOptionsFromAccept(accept) {\n if (isDefined(accept)) {\n var acceptForPicker = Object.entries(accept).filter(function (_ref2) {\n var _ref3 = _slicedToArray(_ref2, 2),\n mimeType = _ref3[0],\n ext = _ref3[1];\n\n var ok = true;\n\n if (!isMIMEType(mimeType)) {\n console.warn(\"Skipped \\\"\".concat(mimeType, \"\\\" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.\"));\n ok = false;\n }\n\n if (!Array.isArray(ext) || !ext.every(isExt)) {\n console.warn(\"Skipped \\\"\".concat(mimeType, \"\\\" because an invalid file extension was provided.\"));\n ok = false;\n }\n\n return ok;\n }).reduce(function (agg, _ref4) {\n var _ref5 = _slicedToArray(_ref4, 2),\n mimeType = _ref5[0],\n ext = _ref5[1];\n\n return _objectSpread(_objectSpread({}, agg), {}, _defineProperty({}, mimeType, ext));\n }, {});\n return [{\n // description is required due to https://crbug.com/1264708\n description: \"Files\",\n accept: acceptForPicker\n }];\n }\n\n return accept;\n}\n/**\n * Convert the `{accept}` dropzone prop to an array of MIME types/extensions.\n * @param {AcceptProp} accept\n * @returns {string}\n */\n\nexport function acceptPropAsAcceptAttr(accept) {\n if (isDefined(accept)) {\n return Object.entries(accept).reduce(function (a, _ref6) {\n var _ref7 = _slicedToArray(_ref6, 2),\n mimeType = _ref7[0],\n ext = _ref7[1];\n\n return [].concat(_toConsumableArray(a), [mimeType], _toConsumableArray(ext));\n }, []) // Silently discard invalid entries as pickerOptionsFromAccept warns about these\n .filter(function (v) {\n return isMIMEType(v) || isExt(v);\n }).join(\",\");\n }\n\n return undefined;\n}\n/**\n * Check if v is an exception caused by aborting a request (e.g window.showOpenFilePicker()).\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/DOMException.\n * @param {any} v\n * @returns {boolean} True if v is an abort exception.\n */\n\nexport function isAbort(v) {\n return v instanceof DOMException && (v.name === \"AbortError\" || v.code === v.ABORT_ERR);\n}\n/**\n * Check if v is a security error.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/DOMException.\n * @param {any} v\n * @returns {boolean} True if v is a security error.\n */\n\nexport function isSecurityError(v) {\n return v instanceof DOMException && (v.name === \"SecurityError\" || v.code === v.SECURITY_ERR);\n}\n/**\n * Check if v is a MIME type string.\n *\n * See accepted format: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers.\n *\n * @param {string} v\n */\n\nexport function isMIMEType(v) {\n return v === \"audio/*\" || v === \"video/*\" || v === \"image/*\" || v === \"text/*\" || v === \"application/*\" || /\\w+\\/[-+.\\w]+/g.test(v);\n}\n/**\n * Check if v is a file extension.\n * @param {string} v\n */\n\nexport function isExt(v) {\n return /^.*\\.[\\w]+$/.test(v);\n}\n/**\n * @typedef {Object.<string, string[]>} AcceptProp\n */\n\n/**\n * @typedef {object} FileError\n * @property {string} message\n * @property {ErrorCode|string} code\n */\n\n/**\n * @typedef {\"file-invalid-type\"|\"file-too-large\"|\"file-too-small\"|\"too-many-files\"} ErrorCode\n */"],"names":["_toConsumableArray","arr","Array","isArray","_arrayLikeToArray","_arrayWithoutHoles","iter","Symbol","iterator","from","_iterableToArray","_unsupportedIterableToArray","TypeError","_nonIterableSpread","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","value","configurable","writable","_slicedToArray","_arrayWithHoles","_i","_s","_e","_arr","_n","_d","call","next","done","err","_iterableToArrayLimit","_nonIterableRest","o","minLen","n","prototype","toString","slice","constructor","name","test","len","arr2","accepts","_accepts","default","FILE_INVALID_TYPE","FILE_TOO_LARGE","FILE_TOO_SMALL","TOO_MANY_FILES","getInvalidTypeRejectionErr","acceptArr","undefined","split","msg","concat","join","code","message","getTooLargeRejectionErr","maxSize","getTooSmallRejectionErr","minSize","TOO_MANY_FILES_REJECTION","fileAccepted","file","accept","isAcceptable","type","fileMatchSize","isDefined","size","isPropagationStopped","event","cancelBubble","isMIMEType","v","isExt","entries","reduce","a","_ref6","_ref7","mimeType","ext","_ref","files","multiple","maxFiles","validator","every","accepted","sizeMatch","customErrors","window","_len","fns","_key","_len2","args","_key2","some","fn","DOMException","ABORT_ERR","dataTransfer","types","userAgent","navigator","indexOf","isIe","isEdge","SECURITY_ERR","preventDefault","description","_ref2","_ref3","ok","console","warn","agg","_ref4","_ref5"],"mappings":"8HAAA,SAASA,EAAmBC,GAAO,OAMnC,SAA4BA,GAAO,GAAIC,MAAMC,QAAQF,GAAM,OAAOG,EAAkBH,EAAO,CANjDI,CAAmBJ,IAI7D,SAA0BK,GAAQ,GAAsB,oBAAXC,QAAmD,MAAzBD,EAAKC,OAAOC,WAA2C,MAA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,QACbhD,OA5BoBzE,OAAOqF,QAAQZ,GAAQtE,QAAO,SAAUuH,GAC5D,IAAIC,EAAQlG,EAAeiG,EAAO,GAC9BhC,EAAWiC,EAAM,GACjBhC,EAAMgC,EAAM,GAEZC,GAAK,EAYT,OAVK1C,EAAWQ,KACdmC,QAAQC,KAAK,YAAahE,OAAO4B,EAAU,0KAC3CkC,GAAK,GAGF5I,MAAMC,QAAQ0G,IAASA,EAAIM,MAAMb,KACpCyC,QAAQC,KAAK,YAAahE,OAAO4B,EAAU,sDAC3CkC,GAAK,GAGAA,CACR,IAAEtC,QAAO,SAAUyC,EAAKC,GACvB,IAAIC,EAAQxG,EAAeuG,EAAO,GAC9BtC,EAAWuC,EAAM,GACjBtC,EAAMsC,EAAM,GAEhB,OAAOxH,EAAcA,EAAc,CAAE,EAAEsH,GAAM,GAAI9G,EAAgB,CAAE,EAAEyE,EAAUC,GAChF,GAAE,CAAE,KAQAlB,CACT"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/react-dropzone/dist/es/utils/index.js"],"sourcesContent":["function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport _accepts from \"attr-accept\";\nvar accepts = typeof _accepts === \"function\" ? _accepts : _accepts.default; // Error codes\n\nexport var FILE_INVALID_TYPE = \"file-invalid-type\";\nexport var FILE_TOO_LARGE = \"file-too-large\";\nexport var FILE_TOO_SMALL = \"file-too-small\";\nexport var TOO_MANY_FILES = \"too-many-files\";\nexport var ErrorCode = {\n FileInvalidType: FILE_INVALID_TYPE,\n FileTooLarge: FILE_TOO_LARGE,\n FileTooSmall: FILE_TOO_SMALL,\n TooManyFiles: TOO_MANY_FILES\n};\n/**\n *\n * @param {string} accept\n */\n\nexport var getInvalidTypeRejectionErr = function getInvalidTypeRejectionErr() {\n var accept = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n var acceptArr = accept.split(\",\");\n var msg = acceptArr.length > 1 ? \"one of \".concat(acceptArr.join(\", \")) : acceptArr[0];\n return {\n code: FILE_INVALID_TYPE,\n message: \"File type must be \".concat(msg)\n };\n};\nexport var getTooLargeRejectionErr = function getTooLargeRejectionErr(maxSize) {\n return {\n code: FILE_TOO_LARGE,\n message: \"File is larger than \".concat(maxSize, \" \").concat(maxSize === 1 ? \"byte\" : \"bytes\")\n };\n};\nexport var getTooSmallRejectionErr = function getTooSmallRejectionErr(minSize) {\n return {\n code: FILE_TOO_SMALL,\n message: \"File is smaller than \".concat(minSize, \" \").concat(minSize === 1 ? \"byte\" : \"bytes\")\n };\n};\nexport var TOO_MANY_FILES_REJECTION = {\n code: TOO_MANY_FILES,\n message: \"Too many files\"\n};\n/**\n * Check if file is accepted.\n *\n * Firefox versions prior to 53 return a bogus MIME type for every file drag,\n * so dragovers with that MIME type will always be accepted.\n *\n * @param {File} file\n * @param {string} accept\n * @returns\n */\n\nexport function fileAccepted(file, accept) {\n var isAcceptable = file.type === \"application/x-moz-file\" || accepts(file, accept);\n return [isAcceptable, isAcceptable ? null : getInvalidTypeRejectionErr(accept)];\n}\nexport function fileMatchSize(file, minSize, maxSize) {\n if (isDefined(file.size)) {\n if (isDefined(minSize) && isDefined(maxSize)) {\n if (file.size > maxSize) return [false, getTooLargeRejectionErr(maxSize)];\n if (file.size < minSize) return [false, getTooSmallRejectionErr(minSize)];\n } else if (isDefined(minSize) && file.size < minSize) return [false, getTooSmallRejectionErr(minSize)];else if (isDefined(maxSize) && file.size > maxSize) return [false, getTooLargeRejectionErr(maxSize)];\n }\n\n return [true, null];\n}\n\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\n/**\n *\n * @param {object} options\n * @param {File[]} options.files\n * @param {string} [options.accept]\n * @param {number} [options.minSize]\n * @param {number} [options.maxSize]\n * @param {boolean} [options.multiple]\n * @param {number} [options.maxFiles]\n * @param {(f: File) => FileError|FileError[]|null} [options.validator]\n * @returns\n */\n\n\nexport function allFilesAccepted(_ref) {\n var files = _ref.files,\n accept = _ref.accept,\n minSize = _ref.minSize,\n maxSize = _ref.maxSize,\n multiple = _ref.multiple,\n maxFiles = _ref.maxFiles,\n validator = _ref.validator;\n\n if (!multiple && files.length > 1 || multiple && maxFiles >= 1 && files.length > maxFiles) {\n return false;\n }\n\n return files.every(function (file) {\n var _fileAccepted = fileAccepted(file, accept),\n _fileAccepted2 = _slicedToArray(_fileAccepted, 1),\n accepted = _fileAccepted2[0];\n\n var _fileMatchSize = fileMatchSize(file, minSize, maxSize),\n _fileMatchSize2 = _slicedToArray(_fileMatchSize, 1),\n sizeMatch = _fileMatchSize2[0];\n\n var customErrors = validator ? validator(file) : null;\n return accepted && sizeMatch && !customErrors;\n });\n} // React's synthetic events has event.isPropagationStopped,\n// but to remain compatibility with other libs (Preact) fall back\n// to check event.cancelBubble\n\nexport function isPropagationStopped(event) {\n if (typeof event.isPropagationStopped === \"function\") {\n return event.isPropagationStopped();\n } else if (typeof event.cancelBubble !== \"undefined\") {\n return event.cancelBubble;\n }\n\n return false;\n}\nexport function isEvtWithFiles(event) {\n if (!event.dataTransfer) {\n return !!event.target && !!event.target.files;\n } // https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types\n // https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/Recommended_drag_types#file\n\n\n return Array.prototype.some.call(event.dataTransfer.types, function (type) {\n return type === \"Files\" || type === \"application/x-moz-file\";\n });\n}\nexport function isKindFile(item) {\n return _typeof(item) === \"object\" && item !== null && item.kind === \"file\";\n} // allow the entire document to be a drag target\n\nexport function onDocumentDragOver(event) {\n event.preventDefault();\n}\n\nfunction isIe(userAgent) {\n return userAgent.indexOf(\"MSIE\") !== -1 || userAgent.indexOf(\"Trident/\") !== -1;\n}\n\nfunction isEdge(userAgent) {\n return userAgent.indexOf(\"Edge/\") !== -1;\n}\n\nexport function isIeOrEdge() {\n var userAgent = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window.navigator.userAgent;\n return isIe(userAgent) || isEdge(userAgent);\n}\n/**\n * This is intended to be used to compose event handlers\n * They are executed in order until one of them calls `event.isPropagationStopped()`.\n * Note that the check is done on the first invoke too,\n * meaning that if propagation was stopped before invoking the fns,\n * no handlers will be executed.\n *\n * @param {Function} fns the event hanlder functions\n * @return {Function} the event handler to add to an element\n */\n\nexport function composeEventHandlers() {\n for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {\n fns[_key] = arguments[_key];\n }\n\n return function (event) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n return fns.some(function (fn) {\n if (!isPropagationStopped(event) && fn) {\n fn.apply(void 0, [event].concat(args));\n }\n\n return isPropagationStopped(event);\n });\n };\n}\n/**\n * canUseFileSystemAccessAPI checks if the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API)\n * is supported by the browser.\n * @returns {boolean}\n */\n\nexport function canUseFileSystemAccessAPI() {\n return \"showOpenFilePicker\" in window;\n}\n/**\n * Convert the `{accept}` dropzone prop to the\n * `{types}` option for https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker\n *\n * @param {AcceptProp} accept\n * @returns {{accept: string[]}[]}\n */\n\nexport function pickerOptionsFromAccept(accept) {\n if (isDefined(accept)) {\n var acceptForPicker = Object.entries(accept).filter(function (_ref2) {\n var _ref3 = _slicedToArray(_ref2, 2),\n mimeType = _ref3[0],\n ext = _ref3[1];\n\n var ok = true;\n\n if (!isMIMEType(mimeType)) {\n console.warn(\"Skipped \\\"\".concat(mimeType, \"\\\" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.\"));\n ok = false;\n }\n\n if (!Array.isArray(ext) || !ext.every(isExt)) {\n console.warn(\"Skipped \\\"\".concat(mimeType, \"\\\" because an invalid file extension was provided.\"));\n ok = false;\n }\n\n return ok;\n }).reduce(function (agg, _ref4) {\n var _ref5 = _slicedToArray(_ref4, 2),\n mimeType = _ref5[0],\n ext = _ref5[1];\n\n return _objectSpread(_objectSpread({}, agg), {}, _defineProperty({}, mimeType, ext));\n }, {});\n return [{\n // description is required due to https://crbug.com/1264708\n description: \"Files\",\n accept: acceptForPicker\n }];\n }\n\n return accept;\n}\n/**\n * Convert the `{accept}` dropzone prop to an array of MIME types/extensions.\n * @param {AcceptProp} accept\n * @returns {string}\n */\n\nexport function acceptPropAsAcceptAttr(accept) {\n if (isDefined(accept)) {\n return Object.entries(accept).reduce(function (a, _ref6) {\n var _ref7 = _slicedToArray(_ref6, 2),\n mimeType = _ref7[0],\n ext = _ref7[1];\n\n return [].concat(_toConsumableArray(a), [mimeType], _toConsumableArray(ext));\n }, []) // Silently discard invalid entries as pickerOptionsFromAccept warns about these\n .filter(function (v) {\n return isMIMEType(v) || isExt(v);\n }).join(\",\");\n }\n\n return undefined;\n}\n/**\n * Check if v is an exception caused by aborting a request (e.g window.showOpenFilePicker()).\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/DOMException.\n * @param {any} v\n * @returns {boolean} True if v is an abort exception.\n */\n\nexport function isAbort(v) {\n return v instanceof DOMException && (v.name === \"AbortError\" || v.code === v.ABORT_ERR);\n}\n/**\n * Check if v is a security error.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/DOMException.\n * @param {any} v\n * @returns {boolean} True if v is a security error.\n */\n\nexport function isSecurityError(v) {\n return v instanceof DOMException && (v.name === \"SecurityError\" || v.code === v.SECURITY_ERR);\n}\n/**\n * Check if v is a MIME type string.\n *\n * See accepted format: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers.\n *\n * @param {string} v\n */\n\nexport function isMIMEType(v) {\n return v === \"audio/*\" || v === \"video/*\" || v === \"image/*\" || v === \"text/*\" || v === \"application/*\" || /\\w+\\/[-+.\\w]+/g.test(v);\n}\n/**\n * Check if v is a file extension.\n * @param {string} v\n */\n\nexport function isExt(v) {\n return /^.*\\.[\\w]+$/.test(v);\n}\n/**\n * @typedef {Object.<string, string[]>} AcceptProp\n */\n\n/**\n * @typedef {object} FileError\n * @property {string} message\n * @property {ErrorCode|string} code\n */\n\n/**\n * @typedef {\"file-invalid-type\"|\"file-too-large\"|\"file-too-small\"|\"too-many-files\"} ErrorCode\n */"],"names":["_toConsumableArray","arr","Array","isArray","_arrayLikeToArray","_arrayWithoutHoles","iter","Symbol","iterator","from","_iterableToArray","_unsupportedIterableToArray","TypeError","_nonIterableSpread","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","value","configurable","writable","_slicedToArray","_arrayWithHoles","_i","_s","_e","_arr","_n","_d","call","next","done","err","_iterableToArrayLimit","_nonIterableRest","o","minLen","n","prototype","toString","slice","constructor","name","test","len","arr2","accepts","_accepts","default","FILE_INVALID_TYPE","FILE_TOO_LARGE","FILE_TOO_SMALL","TOO_MANY_FILES","getInvalidTypeRejectionErr","acceptArr","undefined","split","msg","concat","join","code","message","getTooLargeRejectionErr","maxSize","getTooSmallRejectionErr","minSize","TOO_MANY_FILES_REJECTION","fileAccepted","file","accept","isAcceptable","type","fileMatchSize","isDefined","size","allFilesAccepted","_ref","files","multiple","maxFiles","validator","every","accepted","sizeMatch","customErrors","isPropagationStopped","event","cancelBubble","isEvtWithFiles","dataTransfer","some","types","onDocumentDragOver","preventDefault","isIeOrEdge","userAgent","window","navigator","indexOf","isIe","isEdge","composeEventHandlers","_len","fns","_key","_len2","args","_key2","fn","canUseFileSystemAccessAPI","pickerOptionsFromAccept","description","entries","_ref2","_ref3","mimeType","ext","ok","isMIMEType","console","warn","isExt","reduce","agg","_ref4","_ref5","acceptPropAsAcceptAttr","a","_ref6","_ref7","v","isAbort","DOMException","ABORT_ERR","isSecurityError","SECURITY_ERR"],"mappings":"wDAAA,SAASA,EAAmBC,GAAO,OAMnC,SAA4BA,GAAO,GAAIC,MAAMC,QAAQF,GAAM,OAAOG,EAAkBH,EAAO,CANjDI,CAAmBJ,IAI7D,SAA0BK,GAAQ,GAAsB,oBAAXC,QAAmD,MAAzBD,EAAKC,OAAOC,WAA2C,MAAtBF,EAAK,cAAuB,OAAOJ,MAAMO,KAAKH,EAAQ,CAJzFI,CAAiBT,IAAQU,EAA4BV,IAE1H,WAAgC,MAAM,IAAIW,UAAU,uIAA0I,CAF5DC,EAAuB,CAQzJ,SAASC,EAAQC,EAAQC,GAAkB,IAAIC,EAAOC,OAAOD,KAAKF,GAAS,GAAIG,OAAOC,sBAAuB,CAAE,IAAIC,EAAUF,OAAOC,sBAAsBJ,GAASC,IAAmBI,EAAUA,EAAQ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,GAC9B,OAAOA,aAAaE,eAA4B,kBAAXF,EAAExF,MAA4BwF,EAAEtE,OAASsE,EAAEK,aAClF,CASO,SAASjB,EAAWY,GACzB,MAAa,YAANA,GAAyB,YAANA,GAAyB,YAANA,GAAyB,WAANA,GAAwB,kBAANA,GAAyB,iBAAiBvF,KAAKuF,EACnI,CAMO,SAAST,EAAMS,GACpB,MAAO,cAAcvF,KAAKuF,EAC5B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
var t=200,e=function(){};e.prototype.append=function(n){return n.length?(n=e.from(n),!this.length&&n||n.length<t&&this.leafAppend(n)||this.length<t&&n.leafPrepend(this)||this.appendInner(n)):this},e.prototype.prepend=function(t){return t.length?e.from(t).append(this):this},e.prototype.appendInner=function(t){return new r(this,t)},e.prototype.slice=function(t,n){return void 0===t&&(t=0),void 0===n&&(n=this.length),t>=n?e.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,n))},e.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)},e.prototype.forEach=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length),e<=n?this.forEachInner(t,e,n,0):this.forEachInvertedInner(t,e,n,0)},e.prototype.map=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length);var r=[];return this.forEach((function(e,n){return r.push(t(e,n))}),e,n),r},e.from=function(t){return t instanceof e?t:t&&t.length?new n(t):e.empty};var n=function(e){function n(t){e.call(this),this.values=t}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={length:{configurable:!0},depth:{configurable:!0}};return n.prototype.flatten=function(){return this.values},n.prototype.sliceInner=function(t,e){return 0==t&&e==this.length?this:new n(this.values.slice(t,e))},n.prototype.getInner=function(t){return this.values[t]},n.prototype.forEachInner=function(t,e,n,r){for(var i=e;i<n;i++)if(!1===t(this.values[i],r+i))return!1},n.prototype.forEachInvertedInner=function(t,e,n,r){for(var i=e-1;i>=n;i--)if(!1===t(this.values[i],r+i))return!1},n.prototype.leafAppend=function(e){if(this.length+e.length<=t)return new n(this.values.concat(e.flatten()))},n.prototype.leafPrepend=function(e){if(this.length+e.length<=t)return new n(e.flatten().concat(this.values))},r.length.get=function(){return this.values.length},r.depth.get=function(){return 0},Object.defineProperties(n.prototype,r),n}(e);e.empty=new n([]);var r=function(t){function e(e,n){t.call(this),this.left=e,this.right=n,this.length=e.length+n.length,this.depth=Math.max(e.depth,n.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(t){return t<this.left.length?this.left.get(t):this.right.get(t-this.left.length)},e.prototype.forEachInner=function(t,e,n,r){var i=this.left.length;return!(e<i&&!1===this.left.forEachInner(t,e,Math.min(n,i),r))&&(!(n>i&&!1===this.right.forEachInner(t,Math.max(e-i,0),Math.min(this.length,n)-i,r+i))&&void 0)},e.prototype.forEachInvertedInner=function(t,e,n,r){var i=this.left.length;return!(e>i&&!1===this.right.forEachInvertedInner(t,e-i,Math.max(n,i)-i,r+i))&&(!(n<i&&!1===this.left.forEachInvertedInner(t,Math.min(e,i),n,r))&&void 0)},e.prototype.sliceInner=function(t,e){if(0==t&&e==this.length)return this;var n=this.left.length;return e<=n?this.left.slice(t,e):t>=n?this.right.slice(t-n,e-n):this.left.slice(t,n).append(this.right.slice(0,e-n))},e.prototype.leafAppend=function(t){var n=this.right.leafAppend(t);if(n)return new e(this.left,n)},e.prototype.leafPrepend=function(t){var n=this.left.leafPrepend(t);if(n)return new e(n,this.right)},e.prototype.appendInner=function(t){return this.left.depth>=Math.max(this.right.depth,t.depth)+1?new e(this.left,new e(this.right,t)):new e(this,t)},e}(e);export{e as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../node_modules/rope-sequence/dist/index.js"],"sourcesContent":["var GOOD_LEAF_SIZE = 200;\n\n// :: class<T> A rope sequence is a persistent sequence data structure\n// that supports appending, prepending, and slicing without doing a\n// full copy. It is represented as a mostly-balanced tree.\nvar RopeSequence = function RopeSequence () {};\n\nRopeSequence.prototype.append = function append (other) {\n if (!other.length) { return this }\n other = RopeSequence.from(other);\n\n return (!this.length && other) ||\n (other.length < GOOD_LEAF_SIZE && this.leafAppend(other)) ||\n (this.length < GOOD_LEAF_SIZE && other.leafPrepend(this)) ||\n this.appendInner(other)\n};\n\n// :: (union<[T], RopeSequence<T>>) → RopeSequence<T>\n// Prepend an array or other rope to this one, returning a new rope.\nRopeSequence.prototype.prepend = function prepend (other) {\n if (!other.length) { return this }\n return RopeSequence.from(other).append(this)\n};\n\nRopeSequence.prototype.appendInner = function appendInner (other) {\n return new Append(this, other)\n};\n\n// :: (?number, ?number) → RopeSequence<T>\n// Create a rope repesenting a sub-sequence of this rope.\nRopeSequence.prototype.slice = function slice (from, to) {\n if ( from === void 0 ) from = 0;\n if ( to === void 0 ) to = this.length;\n\n if (from >= to) { return RopeSequence.empty }\n return this.sliceInner(Math.max(0, from), Math.min(this.length, to))\n};\n\n// :: (number) → T\n// Retrieve the element at the given position from this rope.\nRopeSequence.prototype.get = function get (i) {\n if (i < 0 || i >= this.length) { return undefined }\n return this.getInner(i)\n};\n\n// :: ((element: T, index: number) → ?bool, ?number, ?number)\n// Call the given function for each element between the given\n// indices. This tends to be more efficient than looping over the\n// indices and calling `get`, because it doesn't have to descend the\n// tree for every element.\nRopeSequence.prototype.forEach = function forEach (f, from, to) {\n if ( from === void 0 ) from = 0;\n if ( to === void 0 ) to = this.length;\n\n if (from <= to)\n { this.forEachInner(f, from, to, 0); }\n else\n { this.forEachInvertedInner(f, from, to, 0); }\n};\n\n// :: ((element: T, index: number) → U, ?number, ?number) → [U]\n// Map the given functions over the elements of the rope, producing\n// a flat array.\nRopeSequence.prototype.map = function map (f, from, to) {\n if ( from === void 0 ) from = 0;\n if ( to === void 0 ) to = this.length;\n\n var result = [];\n this.forEach(function (elt, i) { return result.push(f(elt, i)); }, from, to);\n return result\n};\n\n// :: (?union<[T], RopeSequence<T>>) → RopeSequence<T>\n// Create a rope representing the given array, or return the rope\n// itself if a rope was given.\nRopeSequence.from = function from (values) {\n if (values instanceof RopeSequence) { return values }\n return values && values.length ? new Leaf(values) : RopeSequence.empty\n};\n\nvar Leaf = /*@__PURE__*/(function (RopeSequence) {\n function Leaf(values) {\n RopeSequence.call(this);\n this.values = values;\n }\n\n if ( RopeSequence ) Leaf.__proto__ = RopeSequence;\n Leaf.prototype = Object.create( RopeSequence && RopeSequence.prototype );\n Leaf.prototype.constructor = Leaf;\n\n var prototypeAccessors = { length: { configurable: true },depth: { configurable: true } };\n\n Leaf.prototype.flatten = function flatten () {\n return this.values\n };\n\n Leaf.prototype.sliceInner = function sliceInner (from, to) {\n if (from == 0 && to == this.length) { return this }\n return new Leaf(this.values.slice(from, to))\n };\n\n Leaf.prototype.getInner = function getInner (i) {\n return this.values[i]\n };\n\n Leaf.prototype.forEachInner = function forEachInner (f, from, to, start) {\n for (var i = from; i < to; i++)\n { if (f(this.values[i], start + i) === false) { return false } }\n };\n\n Leaf.prototype.forEachInvertedInner = function forEachInvertedInner (f, from, to, start) {\n for (var i = from - 1; i >= to; i--)\n { if (f(this.values[i], start + i) === false) { return false } }\n };\n\n Leaf.prototype.leafAppend = function leafAppend (other) {\n if (this.length + other.length <= GOOD_LEAF_SIZE)\n { return new Leaf(this.values.concat(other.flatten())) }\n };\n\n Leaf.prototype.leafPrepend = function leafPrepend (other) {\n if (this.length + other.length <= GOOD_LEAF_SIZE)\n { return new Leaf(other.flatten().concat(this.values)) }\n };\n\n prototypeAccessors.length.get = function () { return this.values.length };\n\n prototypeAccessors.depth.get = function () { return 0 };\n\n Object.defineProperties( Leaf.prototype, prototypeAccessors );\n\n return Leaf;\n}(RopeSequence));\n\n// :: RopeSequence\n// The empty rope sequence.\nRopeSequence.empty = new Leaf([]);\n\nvar Append = /*@__PURE__*/(function (RopeSequence) {\n function Append(left, right) {\n RopeSequence.call(this);\n this.left = left;\n this.right = right;\n this.length = left.length + right.length;\n this.depth = Math.max(left.depth, right.depth) + 1;\n }\n\n if ( RopeSequence ) Append.__proto__ = RopeSequence;\n Append.prototype = Object.create( RopeSequence && RopeSequence.prototype );\n Append.prototype.constructor = Append;\n\n Append.prototype.flatten = function flatten () {\n return this.left.flatten().concat(this.right.flatten())\n };\n\n Append.prototype.getInner = function getInner (i) {\n return i < this.left.length ? this.left.get(i) : this.right.get(i - this.left.length)\n };\n\n Append.prototype.forEachInner = function forEachInner (f, from, to, start) {\n var leftLen = this.left.length;\n if (from < leftLen &&\n this.left.forEachInner(f, from, Math.min(to, leftLen), start) === false)\n { return false }\n if (to > leftLen &&\n this.right.forEachInner(f, Math.max(from - leftLen, 0), Math.min(this.length, to) - leftLen, start + leftLen) === false)\n { return false }\n };\n\n Append.prototype.forEachInvertedInner = function forEachInvertedInner (f, from, to, start) {\n var leftLen = this.left.length;\n if (from > leftLen &&\n this.right.forEachInvertedInner(f, from - leftLen, Math.max(to, leftLen) - leftLen, start + leftLen) === false)\n { return false }\n if (to < leftLen &&\n this.left.forEachInvertedInner(f, Math.min(from, leftLen), to, start) === false)\n { return false }\n };\n\n Append.prototype.sliceInner = function sliceInner (from, to) {\n if (from == 0 && to == this.length) { return this }\n var leftLen = this.left.length;\n if (to <= leftLen) { return this.left.slice(from, to) }\n if (from >= leftLen) { return this.right.slice(from - leftLen, to - leftLen) }\n return this.left.slice(from, leftLen).append(this.right.slice(0, to - leftLen))\n };\n\n Append.prototype.leafAppend = function leafAppend (other) {\n var inner = this.right.leafAppend(other);\n if (inner) { return new Append(this.left, inner) }\n };\n\n Append.prototype.leafPrepend = function leafPrepend (other) {\n var inner = this.left.leafPrepend(other);\n if (inner) { return new Append(inner, this.right) }\n };\n\n Append.prototype.appendInner = function appendInner (other) {\n if (this.left.depth >= Math.max(this.right.depth, other.depth) + 1)\n { return new Append(this.left, new Append(this.right, other)) }\n return new Append(this, other)\n };\n\n return Append;\n}(RopeSequence));\n\nexport default RopeSequence;\n"],"names":["GOOD_LEAF_SIZE","RopeSequence","prototype","append","other","length","from","this","leafAppend","leafPrepend","appendInner","prepend","Append","slice","to","empty","sliceInner","Math","max","min","get","i","getInner","forEach","f","forEachInner","forEachInvertedInner","map","result","elt","push","values","Leaf","call","__proto__","Object","create","constructor","prototypeAccessors","configurable","depth","flatten","start","concat","defineProperties","left","right","leftLen","inner"],"mappings":"oEAAA,IAAIA,EAAiB,IAKjBC,EAAe,WAA4B,EAE/CA,EAAaC,UAAUC,OAAS,SAAiBC,GAC/C,OAAKA,EAAMC,QACXD,EAAQH,EAAaK,KAAKF,IAEjBG,KAAKF,QAAUD,GACrBA,EAAMC,OAASL,GAAkBO,KAAKC,WAAWJ,IACjDG,KAAKF,OAASL,GAAkBI,EAAMK,YAAYF,OACnDA,KAAKG,YAAYN,IANSG,IAO9B,EAIAN,EAAaC,UAAUS,QAAU,SAAkBP,GACjD,OAAKA,EAAMC,OACJJ,EAAaK,KAAKF,GAAOD,OAAOI,MADXA,IAE9B,EAEAN,EAAaC,UAAUQ,YAAc,SAAsBN,GACzD,OAAO,IAAIQ,EAAOL,KAAMH,EAC1B,EAIAH,EAAaC,UAAUW,MAAQ,SAAgBP,EAAMQ,GAInD,YAHgB,IAATR,IAAkBA,EAAO,QAClB,IAAPQ,IAAgBA,EAAKP,KAAKF,QAE7BC,GAAQQ,EAAab,EAAac,MAC/BR,KAAKS,WAAWC,KAAKC,IAAI,EAAGZ,GAAOW,KAAKE,IAAIZ,KAAKF,OAAQS,GAClE,EAIAb,EAAaC,UAAUkB,IAAM,SAAcC,GACzC,KAAIA,EAAI,GAAKA,GAAKd,KAAKF,QACvB,OAAOE,KAAKe,SAASD,EACvB,EAOApB,EAAaC,UAAUqB,QAAU,SAAkBC,EAAGlB,EAAMQ,QAC1C,IAATR,IAAkBA,EAAO,QAClB,IAAPQ,IAAgBA,EAAKP,KAAKF,QAE7BC,GAAQQ,E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AAS5C,OAAOI,KAAKuC,MAAMjC,MAAM,EAAGC,EAAKiC,GAC1E,EAEEnC,EAAOV,UAAUM,WAAa,SAAqBJ,GACjD,IAAI4C,EAAQzC,KAAKuC,MAAMtC,WAAWJ,GAClC,GAAI4C,EAAS,OAAO,IAAIpC,EAAOL,KAAKsC,KAAMG,EAC9C,EAEEpC,EAAOV,UAAUO,YAAc,SAAsBL,GACnD,IAAI4C,EAAQzC,KAAKsC,KAAKpC,YAAYL,GAClC,GAAI4C,EAAS,OAAO,IAAIpC,EAAOoC,EAAOzC,KAAKuC,MAC/C,EAEElC,EAAOV,UAAUQ,YAAc,SAAsBN,GACnD,OAAIG,KAAKsC,KAAKL,OAASvB,KAAKC,IAAIX,KAAKuC,MAAMN,MAAOpC,EAAMoC,OAAS,EACtD,IAAI5B,EAAOL,KAAKsC,KAAM,IAAIjC,EAAOL,KAAKuC,MAAO1C,IACjD,IAAIQ,EAAOL,KAAMH,EAC5B,EAESQ,CACT,CAlEU,CAkERX"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../node_modules/rope-sequence/dist/index.js"],"sourcesContent":["var GOOD_LEAF_SIZE = 200;\n\n// :: class<T> A rope sequence is a persistent sequence data structure\n// that supports appending, prepending, and slicing without doing a\n// full copy. It is represented as a mostly-balanced tree.\nvar RopeSequence = function RopeSequence () {};\n\nRopeSequence.prototype.append = function append (other) {\n if (!other.length) { return this }\n other = RopeSequence.from(other);\n\n return (!this.length && other) ||\n (other.length < GOOD_LEAF_SIZE && this.leafAppend(other)) ||\n (this.length < GOOD_LEAF_SIZE && other.leafPrepend(this)) ||\n this.appendInner(other)\n};\n\n// :: (union<[T], RopeSequence<T>>) → RopeSequence<T>\n// Prepend an array or other rope to this one, returning a new rope.\nRopeSequence.prototype.prepend = function prepend (other) {\n if (!other.length) { return this }\n return RopeSequence.from(other).append(this)\n};\n\nRopeSequence.prototype.appendInner = function appendInner (other) {\n return new Append(this, other)\n};\n\n// :: (?number, ?number) → RopeSequence<T>\n// Create a rope repesenting a sub-sequence of this rope.\nRopeSequence.prototype.slice = function slice (from, to) {\n if ( from === void 0 ) from = 0;\n if ( to === void 0 ) to = this.length;\n\n if (from >= to) { return RopeSequence.empty }\n return this.sliceInner(Math.max(0, from), Math.min(this.length, to))\n};\n\n// :: (number) → T\n// Retrieve the element at the given position from this rope.\nRopeSequence.prototype.get = function get (i) {\n if (i < 0 || i >= this.length) { return undefined }\n return this.getInner(i)\n};\n\n// :: ((element: T, index: number) → ?bool, ?number, ?number)\n// Call the given function for each element between the given\n// indices. This tends to be more efficient than looping over the\n// indices and calling `get`, because it doesn't have to descend the\n// tree for every element.\nRopeSequence.prototype.forEach = function forEach (f, from, to) {\n if ( from === void 0 ) from = 0;\n if ( to === void 0 ) to = this.length;\n\n if (from <= to)\n { this.forEachInner(f, from, to, 0); }\n else\n { this.forEachInvertedInner(f, from, to, 0); }\n};\n\n// :: ((element: T, index: number) → U, ?number, ?number) → [U]\n// Map the given functions over the elements of the rope, producing\n// a flat array.\nRopeSequence.prototype.map = function map (f, from, to) {\n if ( from === void 0 ) from = 0;\n if ( to === void 0 ) to = this.length;\n\n var result = [];\n this.forEach(function (elt, i) { return result.push(f(elt, i)); }, from, to);\n return result\n};\n\n// :: (?union<[T], RopeSequence<T>>) → RopeSequence<T>\n// Create a rope representing the given array, or return the rope\n// itself if a rope was given.\nRopeSequence.from = function from (values) {\n if (values instanceof RopeSequence) { return values }\n return values && values.length ? new Leaf(values) : RopeSequence.empty\n};\n\nvar Leaf = /*@__PURE__*/(function (RopeSequence) {\n function Leaf(values) {\n RopeSequence.call(this);\n this.values = values;\n }\n\n if ( RopeSequence ) Leaf.__proto__ = RopeSequence;\n Leaf.prototype = Object.create( RopeSequence && RopeSequence.prototype );\n Leaf.prototype.constructor = Leaf;\n\n var prototypeAccessors = { length: { configurable: true },depth: { configurable: true } };\n\n Leaf.prototype.flatten = function flatten () {\n return this.values\n };\n\n Leaf.prototype.sliceInner = function sliceInner (from, to) {\n if (from == 0 && to == this.length) { return this }\n return new Leaf(this.values.slice(from, to))\n };\n\n Leaf.prototype.getInner = function getInner (i) {\n return this.values[i]\n };\n\n Leaf.prototype.forEachInner = function forEachInner (f, from, to, start) {\n for (var i = from; i < to; i++)\n { if (f(this.values[i], start + i) === false) { return false } }\n };\n\n Leaf.prototype.forEachInvertedInner = function forEachInvertedInner (f, from, to, start) {\n for (var i = from - 1; i >= to; i--)\n { if (f(this.values[i], start + i) === false) { return false } }\n };\n\n Leaf.prototype.leafAppend = function leafAppend (other) {\n if (this.length + other.length <= GOOD_LEAF_SIZE)\n { return new Leaf(this.values.concat(other.flatten())) }\n };\n\n Leaf.prototype.leafPrepend = function leafPrepend (other) {\n if (this.length + other.length <= GOOD_LEAF_SIZE)\n { return new Leaf(other.flatten().concat(this.values)) }\n };\n\n prototypeAccessors.length.get = function () { return this.values.length };\n\n prototypeAccessors.depth.get = function () { return 0 };\n\n Object.defineProperties( Leaf.prototype, prototypeAccessors );\n\n return Leaf;\n}(RopeSequence));\n\n// :: RopeSequence\n// The empty rope sequence.\nRopeSequence.empty = new Leaf([]);\n\nvar Append = /*@__PURE__*/(function (RopeSequence) {\n function Append(left, right) {\n RopeSequence.call(this);\n this.left = left;\n this.right = right;\n this.length = left.length + right.length;\n this.depth = Math.max(left.depth, right.depth) + 1;\n }\n\n if ( RopeSequence ) Append.__proto__ = RopeSequence;\n Append.prototype = Object.create( RopeSequence && RopeSequence.prototype );\n Append.prototype.constructor = Append;\n\n Append.prototype.flatten = function flatten () {\n return this.left.flatten().concat(this.right.flatten())\n };\n\n Append.prototype.getInner = function getInner (i) {\n return i < this.left.length ? this.left.get(i) : this.right.get(i - this.left.length)\n };\n\n Append.prototype.forEachInner = function forEachInner (f, from, to, start) {\n var leftLen = this.left.length;\n if (from < leftLen &&\n this.left.forEachInner(f, from, Math.min(to, leftLen), start) === false)\n { return false }\n if (to > leftLen &&\n this.right.forEachInner(f, Math.max(from - leftLen, 0), Math.min(this.length, to) - leftLen, start + leftLen) === false)\n { return false }\n };\n\n Append.prototype.forEachInvertedInner = function forEachInvertedInner (f, from, to, start) {\n var leftLen = this.left.length;\n if (from > leftLen &&\n this.right.forEachInvertedInner(f, from - leftLen, Math.max(to, leftLen) - leftLen, start + leftLen) === false)\n { return false }\n if (to < leftLen &&\n this.left.forEachInvertedInner(f, Math.min(from, leftLen), to, start) === false)\n { return false }\n };\n\n Append.prototype.sliceInner = function sliceInner (from, to) {\n if (from == 0 && to == this.length) { return this }\n var leftLen = this.left.length;\n if (to <= leftLen) { return this.left.slice(from, to) }\n if (from >= leftLen) { return this.right.slice(from - leftLen, to - leftLen) }\n return this.left.slice(from, leftLen).append(this.right.slice(0, to - leftLen))\n };\n\n Append.prototype.leafAppend = function leafAppend (other) {\n var inner = this.right.leafAppend(other);\n if (inner) { return new Append(this.left, inner) }\n };\n\n Append.prototype.leafPrepend = function leafPrepend (other) {\n var inner = this.left.leafPrepend(other);\n if (inner) { return new Append(inner, this.right) }\n };\n\n Append.prototype.appendInner = function appendInner (other) {\n if (this.left.depth >= Math.max(this.right.depth, other.depth) + 1)\n { return new Append(this.left, new Append(this.right, other)) }\n return new Append(this, other)\n };\n\n return Append;\n}(RopeSequence));\n\nexport default RopeSequence;\n"],"names":["GOOD_LEAF_SIZE","RopeSequence","prototype","append","other","length","from","this","leafAppend","leafPrepend","appendInner","prepend","Append","slice","to","empty","sliceInner","Math","max","min","get","i","getInner","forEach","f","forEachInner","forEachInvertedInner","map","result","elt","push","values","Leaf","call","__proto__","Object","create","constructor","prototypeAccessors","configurable","depth","flatten","start","concat","defineProperties","left","right","leftLen","inner"],"mappings":"AAAA,IAAIA,EAAiB,IAKjBC,EAAe,WAA4B,EAE/CA,EAAaC,UAAUC,OAAS,SAAiBC,GAC/C,OAAKA,EAAMC,QACXD,EAAQH,EAAaK,KAAKF,IAEjBG,KAAKF,QAAUD,GACrBA,EAAMC,OAASL,GAAkBO,KAAKC,WAAWJ,IACjDG,KAAKF,OAASL,GAAkBI,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