@elice/material-exercise 1.251120.1 → 1.260128.0-rc.0
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/cjs/_virtual/_rollupPluginBabelHelpers.js +241 -451
- package/cjs/components/index.js +9 -9
- package/cjs/components/material-exercise/MaterialExercise.js +14 -17
- package/cjs/components/material-exercise/MaterialExercise.styled.d.ts +40 -10
- package/cjs/components/material-exercise/MaterialExercise.styled.js +68 -33
- package/cjs/components/material-exercise/MaterialExerciseMobile.js +3 -6
- package/cjs/components/material-exercise/context/ExerciseProvider.js +17 -8
- package/cjs/components/material-exercise/context/ExerciseProviderNoImage.d.ts +1 -1
- package/cjs/components/material-exercise/context/ExerciseProviderNoImage.js +5 -5
- package/cjs/components/material-exercise/context/recoil.js +202 -219
- package/cjs/components/material-exercise/context/recoilTypes.d.ts +1 -2
- package/cjs/components/material-exercise/context/types.d.ts +0 -1
- package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.js +9 -25
- package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.d.ts +23 -9
- package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.js +45 -22
- package/cjs/components/material-exercise/exercise-file/ExerciseFile.js +8 -22
- package/cjs/components/material-exercise/exercise-file-editor/ExerciseFileEditor.js +34 -48
- package/cjs/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.js +5 -9
- package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.js +16 -15
- package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.js +1 -5
- package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/ExerciseFileTabsFileTreeButton.js +10 -13
- package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTree.js +73 -99
- package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.js +1 -5
- package/cjs/components/material-exercise/exercise-file-viewer/ExerciseFileViewer.js +2 -9
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenu.js +7 -10
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.js +0 -4
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuArduinoSettings.js +10 -14
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuDropdown.js +5 -7
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuReset.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuReset.js +1 -15
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.js +6 -12
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.styled.d.ts +46 -13
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.styled.js +81 -38
- package/cjs/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdown.js +2 -5
- package/cjs/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdownLazy.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-preview/ExercisePreview.js +9 -11
- package/cjs/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.d.ts +1 -2
- package/cjs/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.js +3 -6
- package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpane.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpane.js +25 -21
- package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpaneEditorPerference.js +1 -6
- package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpaneEnvironment.js +16 -11
- package/cjs/components/material-exercise/exercise-room/ExerciseRoom.styled.d.ts +30 -9
- package/cjs/components/material-exercise/exercise-room/ExerciseRoom.styled.js +33 -25
- package/cjs/components/material-exercise/exercise-room/ExerciseRoomDetail.js +101 -106
- package/cjs/components/material-exercise/exercise-room/ExerciseRoomList.js +31 -35
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunner.js +53 -72
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerController.js +8 -22
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoAgentModal.js +2 -6
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.js +28 -22
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerButtonGroup.js +23 -27
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerRunningInfo.js +28 -26
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusIndicator.d.ts +4 -1
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusIndicator.js +6 -6
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.js +15 -11
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerTimer.js +6 -9
- package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.js +107 -114
- package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.styled.d.ts +30 -9
- package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.styled.js +55 -26
- package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistoryOutput.js +20 -16
- package/cjs/components/material-exercise/index.d.ts +1 -1
- package/cjs/components/shared/exercise-menu-button/ExerciseMenuButton.d.ts +1 -1
- package/cjs/components/shared/exercise-menu-button/ExerciseMenuButton.js +18 -10
- package/cjs/components/shared/exercise-shimmer/ExerciseFileShimmer.d.ts +1 -1
- package/cjs/components/shared/exercise-shimmer/ExerciseFileShimmer.js +17 -17
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTabShimmer.d.ts +1 -1
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTabShimmer.js +9 -9
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTabsShimmer.d.ts +1 -1
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTabsShimmer.js +5 -5
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTreeListItemShimmer.d.ts +1 -1
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTreeListItemShimmer.js +12 -12
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTreeListShimmer.js +19 -11
- package/cjs/components/shared/exercise-version-list/ExerciseVersionList.d.ts +1 -1
- package/cjs/components/shared/exercise-version-list/ExerciseVersionList.styled.d.ts +5 -8
- package/cjs/components/shared/exercise-version-list/ExerciseVersionList.styled.js +13 -5
- package/cjs/components/shared/exercise-version-list/ExerciseVersionListItem.d.ts +1 -1
- package/cjs/components/shared/exercise-version-list/ExerciseVersionListItem.styled.d.ts +20 -5
- package/cjs/components/shared/exercise-version-list/ExerciseVersionListItem.styled.js +37 -15
- package/cjs/components/shared/file-tabs/FileTab.js +5 -5
- package/cjs/components/shared/file-tabs/FileTab.styled.d.ts +29 -8
- package/cjs/components/shared/file-tabs/FileTab.styled.js +50 -27
- package/cjs/components/shared/file-tabs/FileTabs.styled.d.ts +8 -2
- package/cjs/components/shared/file-tabs/FileTabs.styled.js +17 -9
- package/cjs/components/shared/file-tree/FileTree.d.ts +1 -1
- package/cjs/components/shared/file-tree/FileTree.js +20 -12
- package/cjs/components/shared/file-tree/FileTreeConfig.js +6 -6
- package/cjs/components/shared/file-tree/FileTreeList.d.ts +1 -1
- package/cjs/components/shared/file-tree/FileTreeList.js +10 -8
- package/cjs/components/shared/file-tree/FileTreeListItemContent.js +5 -5
- package/cjs/components/shared/file-tree/FileTreeListItemContent.styled.d.ts +35 -10
- package/cjs/components/shared/file-tree/FileTreeListItemContent.styled.js +49 -33
- package/cjs/components/shared/file-tree/FileTreeListItemContentInput.js +9 -9
- package/cjs/components/shared/file-tree/FileTreeListItemContentInput.styled.d.ts +7 -3
- package/cjs/components/shared/file-tree/FileTreeListItemContentInput.styled.js +16 -8
- package/cjs/components/shared/file-tree/FileTreeListItemContentMenu.js +1 -1
- package/cjs/components/shared/file-tree/FileTreeListItems.d.ts +1 -1
- package/cjs/components/shared/file-tree/FileTreeListItems.js +13 -11
- package/cjs/components/shared/file-tree/FileTreeListItems.styled.d.ts +8 -2
- package/cjs/components/shared/file-tree/FileTreeListItems.styled.js +23 -8
- package/cjs/components/shared/file-tree/FileTreeToolbar.styled.d.ts +4 -1
- package/cjs/components/shared/file-tree/FileTreeToolbar.styled.js +5 -5
- package/cjs/components/shared/file-tree/context/FileTreeContext.d.ts +1 -1
- package/cjs/components/shared/file-tree/context/FileTreeContext.js +0 -1
- package/cjs/components/shared/file-tree/file-tree-toolbar/FileTreeToolbar.js +7 -7
- package/cjs/components/shared/file-tree/index.d.ts +1 -1
- package/cjs/components/shared/file-tree/utils/fileTreeGenerator.js +2 -4
- package/cjs/components/shared/file-viewer/FileViewer.js +10 -14
- package/cjs/components/shared/file-viewer/FileViewerCsv.js +68 -52
- package/cjs/components/shared/file-viewer/FileViewerImage.d.ts +1 -1
- package/cjs/components/shared/file-viewer/FileViewerImage.js +14 -10
- package/cjs/components/shared/file-viewer/FileViewerIpynb.js +14 -10
- package/cjs/components/shared/file-viewer/FileViewerNonViewable.d.ts +1 -1
- package/cjs/components/shared/file-viewer/FileViewerNonViewable.js +46 -17
- package/cjs/components/shared/file-viewer/FileViewerText.js +3 -13
- package/cjs/components/shared/material-modal/MaterialModal.d.ts +1 -1
- package/cjs/components/shared/material-modal/MaterialModal.styled.d.ts +19 -6
- package/cjs/components/shared/material-modal/MaterialModal.styled.js +25 -17
- package/cjs/components/shared/monaco-editor/MonacoEditor.js +22 -14
- package/cjs/components/shared/monaco-editor/MonacoEditorLazy.js +0 -4
- package/cjs/components/shared/monaco-editor/MonacoEditorMobile.js +2 -2
- package/cjs/components/shared/monaco-editor/MonacoEditorPerferenceForm.js +28 -21
- package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoMarkers.js +0 -1
- package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoOptions.d.ts +0 -1
- package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoOptions.js +2 -2
- package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoTheme.d.ts +1 -1
- package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoTheme.js +1 -2
- package/cjs/components/shared/monaco-editor/editor-languages/css/formatter.js +17 -21
- package/cjs/components/shared/monaco-editor/editor-languages/css/index.js +1 -1
- package/cjs/components/shared/monaco-editor/editor-languages/html/formatter.js +17 -21
- package/cjs/components/shared/monaco-editor/editor-languages/html/index.js +1 -1
- package/cjs/components/shared/monaco-editor/editor-languages/typescript/formatter.js +20 -24
- package/cjs/components/shared/monaco-editor/editor-languages/typescript/index.js +1 -2
- package/cjs/components/shared/monaco-editor/hooks/useEditorOptions.js +1 -1
- package/cjs/components/shared/monaco-editor/index.js +5 -5
- package/cjs/components/shared/monaco-editor/utils/emmet/abbreviationActions.d.ts +1 -1
- package/cjs/components/shared/monaco-editor/utils/emmet/abbreviationActions.js +2 -2
- package/cjs/components/shared/monaco-editor/utils/emmet/registerProvider.js +2 -2
- package/cjs/components/shared/monaco-editor/utils/grammar/index.js +24 -28
- package/cjs/components/shared/monaco-editor/utils/grammar/onigasm.js +8 -9
- package/cjs/components/shared/monaco-editor/utils/grammar/textmate.js +16 -18
- package/cjs/components/shared/monaco-editor/utils/prettier/index.js +13 -16
- package/cjs/components/shared/monaco-editor/utils/theme/convert.js +1 -1
- package/cjs/components/shared/monaco-editor/utils/theme/index.js +4 -7
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursor.js +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorManager.d.ts +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorManager.js +2 -3
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorWidget.js +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelection.js +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelectionManager.d.ts +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelectionManager.js +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/styles.d.ts +1 -1
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/styles.js +2 -2
- package/cjs/components/shared/monaco-editor/vendors/vscode-emmet-helper/emmetHelper.js +0 -1
- package/cjs/components/shared/no-vnc/NoVnc.js +44 -24
- package/cjs/components/shared/preview-container/PreviewContainer.d.ts +1 -1
- package/cjs/components/shared/preview-container/PreviewContainer.js +8 -8
- package/cjs/components/shared/web-browser/WebBrowser.js +20 -12
- package/cjs/components/shared/xterm/Xterm.js +9 -9
- package/cjs/components/shared/xterm/utils/index.js +0 -1
- package/cjs/constants/stylesheets.d.ts +2 -2
- package/cjs/constants/stylesheets.js +2 -2
- package/cjs/hooks/useArduino.js +70 -80
- package/cjs/hooks/useExerciseFile.js +1 -4
- package/cjs/hooks/useMaterialExerciseFileUrl.js +13 -13
- package/cjs/hooks/useRunnerRoomWebSocket.js +7 -10
- package/cjs/hooks/useStdioTextConcator.js +3 -6
- package/cjs/hooks/useUsercodeEditWebSocket.js +26 -29
- package/cjs/hooks/useUsercodeHistory.js +28 -30
- package/cjs/index.js +9 -9
- package/cjs/utils/arduino.d.ts +0 -3
- package/es/_virtual/_rollupPluginBabelHelpers.js +240 -451
- package/es/components/index.js +3 -3
- package/es/components/material-exercise/MaterialExercise.js +14 -17
- package/es/components/material-exercise/MaterialExercise.styled.d.ts +40 -10
- package/es/components/material-exercise/MaterialExercise.styled.js +67 -32
- package/es/components/material-exercise/MaterialExerciseMobile.js +3 -6
- package/es/components/material-exercise/context/ExerciseProvider.js +16 -7
- package/es/components/material-exercise/context/ExerciseProviderNoImage.d.ts +1 -1
- package/es/components/material-exercise/context/ExerciseProviderNoImage.js +4 -4
- package/es/components/material-exercise/context/recoil.js +204 -221
- package/es/components/material-exercise/context/recoilTypes.d.ts +1 -2
- package/es/components/material-exercise/context/types.d.ts +0 -1
- package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.js +9 -25
- package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.d.ts +23 -9
- package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.js +44 -21
- package/es/components/material-exercise/exercise-file/ExerciseFile.js +7 -21
- package/es/components/material-exercise/exercise-file-editor/ExerciseFileEditor.js +35 -49
- package/es/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.js +4 -8
- package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.js +15 -14
- package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.d.ts +1 -1
- package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.js +1 -5
- package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/ExerciseFileTabsFileTreeButton.js +9 -12
- package/es/components/material-exercise/exercise-file-tree/ExerciseFileTree.js +73 -99
- package/es/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.d.ts +1 -1
- package/es/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.js +1 -5
- package/es/components/material-exercise/exercise-file-viewer/ExerciseFileViewer.js +2 -9
- package/es/components/material-exercise/exercise-menu/ExerciseMenu.js +6 -9
- package/es/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.d.ts +1 -1
- package/es/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.js +0 -4
- package/es/components/material-exercise/exercise-menu/ExerciseMenuArduinoSettings.js +10 -14
- package/es/components/material-exercise/exercise-menu/ExerciseMenuDropdown.js +5 -7
- package/es/components/material-exercise/exercise-menu/ExerciseMenuReset.d.ts +1 -1
- package/es/components/material-exercise/exercise-menu/ExerciseMenuReset.js +1 -15
- package/es/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.js +7 -13
- package/es/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.styled.d.ts +46 -13
- package/es/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.styled.js +80 -37
- package/es/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdown.js +2 -5
- package/es/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdownLazy.d.ts +1 -1
- package/es/components/material-exercise/exercise-preview/ExercisePreview.js +8 -10
- package/es/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.d.ts +1 -2
- package/es/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.js +3 -6
- package/es/components/material-exercise/exercise-rightpane/ExerciseRightpane.d.ts +1 -1
- package/es/components/material-exercise/exercise-rightpane/ExerciseRightpane.js +25 -21
- package/es/components/material-exercise/exercise-rightpane/ExerciseRightpaneEditorPerference.js +1 -6
- package/es/components/material-exercise/exercise-rightpane/ExerciseRightpaneEnvironment.js +15 -10
- package/es/components/material-exercise/exercise-room/ExerciseRoom.styled.d.ts +30 -9
- package/es/components/material-exercise/exercise-room/ExerciseRoom.styled.js +32 -24
- package/es/components/material-exercise/exercise-room/ExerciseRoomDetail.js +103 -108
- package/es/components/material-exercise/exercise-room/ExerciseRoomList.js +32 -36
- package/es/components/material-exercise/exercise-runner/ExerciseRunner.js +53 -72
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerController.js +7 -21
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoAgentModal.js +2 -6
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.d.ts +1 -1
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.js +27 -21
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerButtonGroup.js +22 -26
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.d.ts +1 -1
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.js +1 -1
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerRunningInfo.js +28 -26
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusIndicator.d.ts +4 -1
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusIndicator.js +5 -5
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.d.ts +1 -1
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.js +14 -10
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerTimer.js +5 -8
- package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.js +108 -115
- package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.styled.d.ts +30 -9
- package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.styled.js +54 -25
- package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistoryOutput.js +20 -16
- package/es/components/material-exercise/index.d.ts +1 -1
- package/es/components/shared/exercise-menu-button/ExerciseMenuButton.d.ts +1 -1
- package/es/components/shared/exercise-menu-button/ExerciseMenuButton.js +18 -10
- package/es/components/shared/exercise-shimmer/ExerciseFileShimmer.d.ts +1 -1
- package/es/components/shared/exercise-shimmer/ExerciseFileShimmer.js +16 -16
- package/es/components/shared/exercise-shimmer/ExerciseFileTabShimmer.d.ts +1 -1
- package/es/components/shared/exercise-shimmer/ExerciseFileTabShimmer.js +8 -8
- package/es/components/shared/exercise-shimmer/ExerciseFileTabsShimmer.d.ts +1 -1
- package/es/components/shared/exercise-shimmer/ExerciseFileTabsShimmer.js +4 -4
- package/es/components/shared/exercise-shimmer/ExerciseFileTreeListItemShimmer.d.ts +1 -1
- package/es/components/shared/exercise-shimmer/ExerciseFileTreeListItemShimmer.js +12 -12
- package/es/components/shared/exercise-shimmer/ExerciseFileTreeListShimmer.js +18 -10
- package/es/components/shared/exercise-version-list/ExerciseVersionList.d.ts +1 -1
- package/es/components/shared/exercise-version-list/ExerciseVersionList.styled.d.ts +5 -8
- package/es/components/shared/exercise-version-list/ExerciseVersionList.styled.js +12 -4
- package/es/components/shared/exercise-version-list/ExerciseVersionListItem.d.ts +1 -1
- package/es/components/shared/exercise-version-list/ExerciseVersionListItem.styled.d.ts +20 -5
- package/es/components/shared/exercise-version-list/ExerciseVersionListItem.styled.js +36 -14
- package/es/components/shared/file-tabs/FileTab.js +5 -5
- package/es/components/shared/file-tabs/FileTab.styled.d.ts +29 -8
- package/es/components/shared/file-tabs/FileTab.styled.js +49 -26
- package/es/components/shared/file-tabs/FileTabs.styled.d.ts +8 -2
- package/es/components/shared/file-tabs/FileTabs.styled.js +16 -8
- package/es/components/shared/file-tree/FileTree.d.ts +1 -1
- package/es/components/shared/file-tree/FileTree.js +19 -11
- package/es/components/shared/file-tree/FileTreeConfig.js +5 -5
- package/es/components/shared/file-tree/FileTreeList.d.ts +1 -1
- package/es/components/shared/file-tree/FileTreeList.js +10 -8
- package/es/components/shared/file-tree/FileTreeListItemContent.js +5 -5
- package/es/components/shared/file-tree/FileTreeListItemContent.styled.d.ts +35 -10
- package/es/components/shared/file-tree/FileTreeListItemContent.styled.js +49 -33
- package/es/components/shared/file-tree/FileTreeListItemContentInput.js +9 -9
- package/es/components/shared/file-tree/FileTreeListItemContentInput.styled.d.ts +7 -3
- package/es/components/shared/file-tree/FileTreeListItemContentInput.styled.js +15 -7
- package/es/components/shared/file-tree/FileTreeListItemContentMenu.js +1 -1
- package/es/components/shared/file-tree/FileTreeListItems.d.ts +1 -1
- package/es/components/shared/file-tree/FileTreeListItems.js +13 -11
- package/es/components/shared/file-tree/FileTreeListItems.styled.d.ts +8 -2
- package/es/components/shared/file-tree/FileTreeListItems.styled.js +22 -7
- package/es/components/shared/file-tree/FileTreeToolbar.styled.d.ts +4 -1
- package/es/components/shared/file-tree/FileTreeToolbar.styled.js +4 -4
- package/es/components/shared/file-tree/context/FileTreeContext.d.ts +1 -1
- package/es/components/shared/file-tree/context/FileTreeContext.js +0 -1
- package/es/components/shared/file-tree/file-tree-toolbar/FileTreeToolbar.js +7 -7
- package/es/components/shared/file-tree/index.d.ts +1 -1
- package/es/components/shared/file-tree/utils/fileTreeGenerator.js +3 -5
- package/es/components/shared/file-viewer/FileViewer.js +9 -13
- package/es/components/shared/file-viewer/FileViewerCsv.js +68 -52
- package/es/components/shared/file-viewer/FileViewerImage.d.ts +1 -1
- package/es/components/shared/file-viewer/FileViewerImage.js +13 -9
- package/es/components/shared/file-viewer/FileViewerIpynb.js +13 -9
- package/es/components/shared/file-viewer/FileViewerNonViewable.d.ts +1 -1
- package/es/components/shared/file-viewer/FileViewerNonViewable.js +45 -16
- package/es/components/shared/file-viewer/FileViewerText.js +3 -13
- package/es/components/shared/material-modal/MaterialModal.d.ts +1 -1
- package/es/components/shared/material-modal/MaterialModal.styled.d.ts +19 -6
- package/es/components/shared/material-modal/MaterialModal.styled.js +24 -16
- package/es/components/shared/monaco-editor/MonacoEditor.js +21 -13
- package/es/components/shared/monaco-editor/MonacoEditorLazy.js +0 -4
- package/es/components/shared/monaco-editor/MonacoEditorMobile.js +2 -2
- package/es/components/shared/monaco-editor/MonacoEditorPerferenceForm.js +27 -20
- package/es/components/shared/monaco-editor/editor-hooks/useMonacoMarkers.js +0 -1
- package/es/components/shared/monaco-editor/editor-hooks/useMonacoOptions.d.ts +0 -1
- package/es/components/shared/monaco-editor/editor-hooks/useMonacoOptions.js +2 -2
- package/es/components/shared/monaco-editor/editor-hooks/useMonacoTheme.d.ts +1 -1
- package/es/components/shared/monaco-editor/editor-hooks/useMonacoTheme.js +1 -2
- package/es/components/shared/monaco-editor/editor-languages/css/formatter.js +18 -22
- package/es/components/shared/monaco-editor/editor-languages/css/index.js +1 -1
- package/es/components/shared/monaco-editor/editor-languages/html/formatter.js +18 -22
- package/es/components/shared/monaco-editor/editor-languages/html/index.js +1 -1
- package/es/components/shared/monaco-editor/editor-languages/typescript/formatter.js +21 -25
- package/es/components/shared/monaco-editor/editor-languages/typescript/index.js +1 -2
- package/es/components/shared/monaco-editor/hooks/useEditorOptions.js +1 -1
- package/es/components/shared/monaco-editor/index.js +2 -2
- package/es/components/shared/monaco-editor/utils/emmet/abbreviationActions.d.ts +1 -1
- package/es/components/shared/monaco-editor/utils/emmet/abbreviationActions.js +2 -2
- package/es/components/shared/monaco-editor/utils/emmet/registerProvider.js +2 -2
- package/es/components/shared/monaco-editor/utils/grammar/index.js +25 -29
- package/es/components/shared/monaco-editor/utils/grammar/onigasm.js +9 -10
- package/es/components/shared/monaco-editor/utils/grammar/textmate.js +17 -19
- package/es/components/shared/monaco-editor/utils/prettier/index.js +14 -17
- package/es/components/shared/monaco-editor/utils/theme/convert.js +1 -1
- package/es/components/shared/monaco-editor/utils/theme/index.js +5 -8
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursor.js +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorManager.d.ts +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorManager.js +2 -3
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorWidget.js +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelection.js +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelectionManager.d.ts +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelectionManager.js +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/styles.d.ts +1 -1
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/styles.js +2 -2
- package/es/components/shared/monaco-editor/vendors/vscode-emmet-helper/emmetHelper.js +1 -2
- package/es/components/shared/no-vnc/NoVnc.js +43 -23
- package/es/components/shared/preview-container/PreviewContainer.d.ts +1 -1
- package/es/components/shared/preview-container/PreviewContainer.js +7 -7
- package/es/components/shared/web-browser/WebBrowser.js +19 -11
- package/es/components/shared/xterm/Xterm.js +8 -8
- package/es/components/shared/xterm/utils/index.js +0 -1
- package/es/constants/stylesheets.d.ts +2 -2
- package/es/constants/stylesheets.js +2 -2
- package/es/hooks/useArduino.js +72 -82
- package/es/hooks/useExerciseFile.js +1 -4
- package/es/hooks/useMaterialExerciseFileUrl.js +14 -14
- package/es/hooks/useRunnerRoomWebSocket.js +8 -11
- package/es/hooks/useStdioTextConcator.js +3 -6
- package/es/hooks/useUsercodeEditWebSocket.js +27 -30
- package/es/hooks/useUsercodeHistory.js +29 -31
- package/es/index.js +3 -3
- package/es/utils/arduino.d.ts +0 -3
- package/es/utils/arduino.js +1 -1
- package/package.json +15 -17
|
@@ -1,499 +1,288 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
_e,
|
|
6
|
-
_x,
|
|
7
|
-
_r,
|
|
8
|
-
_arr = [],
|
|
9
|
-
_n = !0,
|
|
10
|
-
_d = !1;
|
|
11
|
-
try {
|
|
12
|
-
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
13
|
-
if (Object(_i) !== _i) return;
|
|
14
|
-
_n = !1;
|
|
15
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
16
|
-
} catch (err) {
|
|
17
|
-
_d = !0, _e = err;
|
|
18
|
-
} finally {
|
|
19
|
-
try {
|
|
20
|
-
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
|
|
21
|
-
} finally {
|
|
22
|
-
if (_d) throw _e;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return _arr;
|
|
26
|
-
}
|
|
1
|
+
function _arrayLikeToArray(r, a) {
|
|
2
|
+
(null == a || a > r.length) && (a = r.length);
|
|
3
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
4
|
+
return n;
|
|
27
5
|
}
|
|
28
|
-
function
|
|
29
|
-
|
|
30
|
-
return exports;
|
|
31
|
-
};
|
|
32
|
-
var exports = {},
|
|
33
|
-
Op = Object.prototype,
|
|
34
|
-
hasOwn = Op.hasOwnProperty,
|
|
35
|
-
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
36
|
-
obj[key] = desc.value;
|
|
37
|
-
},
|
|
38
|
-
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
39
|
-
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
40
|
-
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
41
|
-
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
42
|
-
function define(obj, key, value) {
|
|
43
|
-
return Object.defineProperty(obj, key, {
|
|
44
|
-
value: value,
|
|
45
|
-
enumerable: !0,
|
|
46
|
-
configurable: !0,
|
|
47
|
-
writable: !0
|
|
48
|
-
}), obj[key];
|
|
49
|
-
}
|
|
50
|
-
try {
|
|
51
|
-
define({}, "");
|
|
52
|
-
} catch (err) {
|
|
53
|
-
define = function (obj, key, value) {
|
|
54
|
-
return obj[key] = value;
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
58
|
-
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
59
|
-
generator = Object.create(protoGenerator.prototype),
|
|
60
|
-
context = new Context(tryLocsList || []);
|
|
61
|
-
return defineProperty(generator, "_invoke", {
|
|
62
|
-
value: makeInvokeMethod(innerFn, self, context)
|
|
63
|
-
}), generator;
|
|
64
|
-
}
|
|
65
|
-
function tryCatch(fn, obj, arg) {
|
|
66
|
-
try {
|
|
67
|
-
return {
|
|
68
|
-
type: "normal",
|
|
69
|
-
arg: fn.call(obj, arg)
|
|
70
|
-
};
|
|
71
|
-
} catch (err) {
|
|
72
|
-
return {
|
|
73
|
-
type: "throw",
|
|
74
|
-
arg: err
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
exports.wrap = wrap;
|
|
79
|
-
var ContinueSentinel = {};
|
|
80
|
-
function Generator() {}
|
|
81
|
-
function GeneratorFunction() {}
|
|
82
|
-
function GeneratorFunctionPrototype() {}
|
|
83
|
-
var IteratorPrototype = {};
|
|
84
|
-
define(IteratorPrototype, iteratorSymbol, function () {
|
|
85
|
-
return this;
|
|
86
|
-
});
|
|
87
|
-
var getProto = Object.getPrototypeOf,
|
|
88
|
-
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
89
|
-
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
90
|
-
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
91
|
-
function defineIteratorMethods(prototype) {
|
|
92
|
-
["next", "throw", "return"].forEach(function (method) {
|
|
93
|
-
define(prototype, method, function (arg) {
|
|
94
|
-
return this._invoke(method, arg);
|
|
95
|
-
});
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
function AsyncIterator(generator, PromiseImpl) {
|
|
99
|
-
function invoke(method, arg, resolve, reject) {
|
|
100
|
-
var record = tryCatch(generator[method], generator, arg);
|
|
101
|
-
if ("throw" !== record.type) {
|
|
102
|
-
var result = record.arg,
|
|
103
|
-
value = result.value;
|
|
104
|
-
return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
105
|
-
invoke("next", value, resolve, reject);
|
|
106
|
-
}, function (err) {
|
|
107
|
-
invoke("throw", err, resolve, reject);
|
|
108
|
-
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
109
|
-
result.value = unwrapped, resolve(result);
|
|
110
|
-
}, function (error) {
|
|
111
|
-
return invoke("throw", error, resolve, reject);
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
reject(record.arg);
|
|
115
|
-
}
|
|
116
|
-
var previousPromise;
|
|
117
|
-
defineProperty(this, "_invoke", {
|
|
118
|
-
value: function (method, arg) {
|
|
119
|
-
function callInvokeWithMethodAndArg() {
|
|
120
|
-
return new PromiseImpl(function (resolve, reject) {
|
|
121
|
-
invoke(method, arg, resolve, reject);
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
function makeInvokeMethod(innerFn, self, context) {
|
|
129
|
-
var state = "suspendedStart";
|
|
130
|
-
return function (method, arg) {
|
|
131
|
-
if ("executing" === state) throw new Error("Generator is already running");
|
|
132
|
-
if ("completed" === state) {
|
|
133
|
-
if ("throw" === method) throw arg;
|
|
134
|
-
return {
|
|
135
|
-
value: void 0,
|
|
136
|
-
done: !0
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
for (context.method = method, context.arg = arg;;) {
|
|
140
|
-
var delegate = context.delegate;
|
|
141
|
-
if (delegate) {
|
|
142
|
-
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
143
|
-
if (delegateResult) {
|
|
144
|
-
if (delegateResult === ContinueSentinel) continue;
|
|
145
|
-
return delegateResult;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
149
|
-
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
150
|
-
context.dispatchException(context.arg);
|
|
151
|
-
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
152
|
-
state = "executing";
|
|
153
|
-
var record = tryCatch(innerFn, self, context);
|
|
154
|
-
if ("normal" === record.type) {
|
|
155
|
-
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
156
|
-
return {
|
|
157
|
-
value: record.arg,
|
|
158
|
-
done: context.done
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
162
|
-
}
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
function maybeInvokeDelegate(delegate, context) {
|
|
166
|
-
var methodName = context.method,
|
|
167
|
-
method = delegate.iterator[methodName];
|
|
168
|
-
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
|
|
169
|
-
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
170
|
-
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
171
|
-
var info = record.arg;
|
|
172
|
-
return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
|
|
173
|
-
}
|
|
174
|
-
function pushTryEntry(locs) {
|
|
175
|
-
var entry = {
|
|
176
|
-
tryLoc: locs[0]
|
|
177
|
-
};
|
|
178
|
-
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
179
|
-
}
|
|
180
|
-
function resetTryEntry(entry) {
|
|
181
|
-
var record = entry.completion || {};
|
|
182
|
-
record.type = "normal", delete record.arg, entry.completion = record;
|
|
183
|
-
}
|
|
184
|
-
function Context(tryLocsList) {
|
|
185
|
-
this.tryEntries = [{
|
|
186
|
-
tryLoc: "root"
|
|
187
|
-
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
188
|
-
}
|
|
189
|
-
function values(iterable) {
|
|
190
|
-
if (iterable || "" === iterable) {
|
|
191
|
-
var iteratorMethod = iterable[iteratorSymbol];
|
|
192
|
-
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
193
|
-
if ("function" == typeof iterable.next) return iterable;
|
|
194
|
-
if (!isNaN(iterable.length)) {
|
|
195
|
-
var i = -1,
|
|
196
|
-
next = function next() {
|
|
197
|
-
for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
198
|
-
return next.value = undefined, next.done = !0, next;
|
|
199
|
-
};
|
|
200
|
-
return next.next = next;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
throw new TypeError(typeof iterable + " is not iterable");
|
|
204
|
-
}
|
|
205
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
206
|
-
value: GeneratorFunctionPrototype,
|
|
207
|
-
configurable: !0
|
|
208
|
-
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
209
|
-
value: GeneratorFunction,
|
|
210
|
-
configurable: !0
|
|
211
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
212
|
-
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
213
|
-
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
214
|
-
}, exports.mark = function (genFun) {
|
|
215
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
216
|
-
}, exports.awrap = function (arg) {
|
|
217
|
-
return {
|
|
218
|
-
__await: arg
|
|
219
|
-
};
|
|
220
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
221
|
-
return this;
|
|
222
|
-
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
223
|
-
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
224
|
-
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
225
|
-
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
226
|
-
return result.done ? result.value : iter.next();
|
|
227
|
-
});
|
|
228
|
-
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
229
|
-
return this;
|
|
230
|
-
}), define(Gp, "toString", function () {
|
|
231
|
-
return "[object Generator]";
|
|
232
|
-
}), exports.keys = function (val) {
|
|
233
|
-
var object = Object(val),
|
|
234
|
-
keys = [];
|
|
235
|
-
for (var key in object) keys.push(key);
|
|
236
|
-
return keys.reverse(), function next() {
|
|
237
|
-
for (; keys.length;) {
|
|
238
|
-
var key = keys.pop();
|
|
239
|
-
if (key in object) return next.value = key, next.done = !1, next;
|
|
240
|
-
}
|
|
241
|
-
return next.done = !0, next;
|
|
242
|
-
};
|
|
243
|
-
}, exports.values = values, Context.prototype = {
|
|
244
|
-
constructor: Context,
|
|
245
|
-
reset: function (skipTempReset) {
|
|
246
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
247
|
-
},
|
|
248
|
-
stop: function () {
|
|
249
|
-
this.done = !0;
|
|
250
|
-
var rootRecord = this.tryEntries[0].completion;
|
|
251
|
-
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
252
|
-
return this.rval;
|
|
253
|
-
},
|
|
254
|
-
dispatchException: function (exception) {
|
|
255
|
-
if (this.done) throw exception;
|
|
256
|
-
var context = this;
|
|
257
|
-
function handle(loc, caught) {
|
|
258
|
-
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
259
|
-
}
|
|
260
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
261
|
-
var entry = this.tryEntries[i],
|
|
262
|
-
record = entry.completion;
|
|
263
|
-
if ("root" === entry.tryLoc) return handle("end");
|
|
264
|
-
if (entry.tryLoc <= this.prev) {
|
|
265
|
-
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
266
|
-
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
267
|
-
if (hasCatch && hasFinally) {
|
|
268
|
-
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
269
|
-
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
270
|
-
} else if (hasCatch) {
|
|
271
|
-
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
272
|
-
} else {
|
|
273
|
-
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
274
|
-
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
abrupt: function (type, arg) {
|
|
280
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
281
|
-
var entry = this.tryEntries[i];
|
|
282
|
-
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
283
|
-
var finallyEntry = entry;
|
|
284
|
-
break;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
288
|
-
var record = finallyEntry ? finallyEntry.completion : {};
|
|
289
|
-
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
290
|
-
},
|
|
291
|
-
complete: function (record, afterLoc) {
|
|
292
|
-
if ("throw" === record.type) throw record.arg;
|
|
293
|
-
return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
|
|
294
|
-
},
|
|
295
|
-
finish: function (finallyLoc) {
|
|
296
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
297
|
-
var entry = this.tryEntries[i];
|
|
298
|
-
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
catch: function (tryLoc) {
|
|
302
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
303
|
-
var entry = this.tryEntries[i];
|
|
304
|
-
if (entry.tryLoc === tryLoc) {
|
|
305
|
-
var record = entry.completion;
|
|
306
|
-
if ("throw" === record.type) {
|
|
307
|
-
var thrown = record.arg;
|
|
308
|
-
resetTryEntry(entry);
|
|
309
|
-
}
|
|
310
|
-
return thrown;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
throw new Error("illegal catch attempt");
|
|
314
|
-
},
|
|
315
|
-
delegateYield: function (iterable, resultName, nextLoc) {
|
|
316
|
-
return this.delegate = {
|
|
317
|
-
iterator: values(iterable),
|
|
318
|
-
resultName: resultName,
|
|
319
|
-
nextLoc: nextLoc
|
|
320
|
-
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
321
|
-
}
|
|
322
|
-
}, exports;
|
|
6
|
+
function _arrayWithHoles(r) {
|
|
7
|
+
if (Array.isArray(r)) return r;
|
|
323
8
|
}
|
|
324
|
-
function
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
328
|
-
return typeof obj;
|
|
329
|
-
} : function (obj) {
|
|
330
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
331
|
-
}, _typeof(obj);
|
|
9
|
+
function _arrayWithoutHoles(r) {
|
|
10
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
332
11
|
}
|
|
333
|
-
function asyncGeneratorStep(
|
|
12
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
334
13
|
try {
|
|
335
|
-
var
|
|
336
|
-
|
|
337
|
-
} catch (
|
|
338
|
-
|
|
339
|
-
return;
|
|
340
|
-
}
|
|
341
|
-
if (info.done) {
|
|
342
|
-
resolve(value);
|
|
343
|
-
} else {
|
|
344
|
-
Promise.resolve(value).then(_next, _throw);
|
|
14
|
+
var i = n[a](c),
|
|
15
|
+
u = i.value;
|
|
16
|
+
} catch (n) {
|
|
17
|
+
return void e(n);
|
|
345
18
|
}
|
|
19
|
+
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
346
20
|
}
|
|
347
|
-
function _asyncToGenerator(
|
|
21
|
+
function _asyncToGenerator(n) {
|
|
348
22
|
return function () {
|
|
349
|
-
var
|
|
350
|
-
|
|
351
|
-
return new Promise(function (
|
|
352
|
-
var
|
|
353
|
-
function _next(
|
|
354
|
-
asyncGeneratorStep(
|
|
23
|
+
var t = this,
|
|
24
|
+
e = arguments;
|
|
25
|
+
return new Promise(function (r, o) {
|
|
26
|
+
var a = n.apply(t, e);
|
|
27
|
+
function _next(n) {
|
|
28
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
355
29
|
}
|
|
356
|
-
function _throw(
|
|
357
|
-
asyncGeneratorStep(
|
|
30
|
+
function _throw(n) {
|
|
31
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
358
32
|
}
|
|
359
|
-
_next(
|
|
33
|
+
_next(void 0);
|
|
360
34
|
});
|
|
361
35
|
};
|
|
362
36
|
}
|
|
363
|
-
function _classCallCheck(
|
|
364
|
-
if (!(
|
|
365
|
-
throw new TypeError("Cannot call a class as a function");
|
|
366
|
-
}
|
|
37
|
+
function _classCallCheck(a, n) {
|
|
38
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
367
39
|
}
|
|
368
|
-
function _defineProperties(
|
|
369
|
-
for (var
|
|
370
|
-
var
|
|
371
|
-
|
|
372
|
-
descriptor.configurable = true;
|
|
373
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
374
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
40
|
+
function _defineProperties(e, r) {
|
|
41
|
+
for (var t = 0; t < r.length; t++) {
|
|
42
|
+
var o = r[t];
|
|
43
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
375
44
|
}
|
|
376
45
|
}
|
|
377
|
-
function _createClass(
|
|
378
|
-
|
|
379
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
380
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
46
|
+
function _createClass(e, r, t) {
|
|
47
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
381
48
|
writable: false
|
|
382
|
-
});
|
|
383
|
-
return Constructor;
|
|
384
|
-
}
|
|
385
|
-
function _defineProperty(obj, key, value) {
|
|
386
|
-
key = _toPropertyKey(key);
|
|
387
|
-
if (key in obj) {
|
|
388
|
-
Object.defineProperty(obj, key, {
|
|
389
|
-
value: value,
|
|
390
|
-
enumerable: true,
|
|
391
|
-
configurable: true,
|
|
392
|
-
writable: true
|
|
393
|
-
});
|
|
394
|
-
} else {
|
|
395
|
-
obj[key] = value;
|
|
396
|
-
}
|
|
397
|
-
return obj;
|
|
398
|
-
}
|
|
399
|
-
function _slicedToArray(arr, i) {
|
|
400
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
401
|
-
}
|
|
402
|
-
function _toConsumableArray(arr) {
|
|
403
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
404
|
-
}
|
|
405
|
-
function _arrayWithoutHoles(arr) {
|
|
406
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
407
|
-
}
|
|
408
|
-
function _arrayWithHoles(arr) {
|
|
409
|
-
if (Array.isArray(arr)) return arr;
|
|
410
|
-
}
|
|
411
|
-
function _iterableToArray(iter) {
|
|
412
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
413
|
-
}
|
|
414
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
415
|
-
if (!o) return;
|
|
416
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
417
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
418
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
419
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
420
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
421
|
-
}
|
|
422
|
-
function _arrayLikeToArray(arr, len) {
|
|
423
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
424
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
425
|
-
return arr2;
|
|
49
|
+
}), e;
|
|
426
50
|
}
|
|
427
|
-
function
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
function
|
|
434
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
435
|
-
if (!it) {
|
|
436
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike ) {
|
|
437
|
-
if (it) o = it;
|
|
438
|
-
var i = 0;
|
|
439
|
-
var F = function () {};
|
|
51
|
+
function _createForOfIteratorHelper(r, e) {
|
|
52
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
53
|
+
if (!t) {
|
|
54
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) {
|
|
55
|
+
t && (r = t);
|
|
56
|
+
var n = 0,
|
|
57
|
+
F = function () {};
|
|
440
58
|
return {
|
|
441
59
|
s: F,
|
|
442
60
|
n: function () {
|
|
443
|
-
|
|
61
|
+
return n >= r.length ? {
|
|
444
62
|
done: true
|
|
445
|
-
}
|
|
446
|
-
return {
|
|
63
|
+
} : {
|
|
447
64
|
done: false,
|
|
448
|
-
value:
|
|
65
|
+
value: r[n++]
|
|
449
66
|
};
|
|
450
67
|
},
|
|
451
|
-
e: function (
|
|
452
|
-
throw
|
|
68
|
+
e: function (r) {
|
|
69
|
+
throw r;
|
|
453
70
|
},
|
|
454
71
|
f: F
|
|
455
72
|
};
|
|
456
73
|
}
|
|
457
74
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
458
75
|
}
|
|
459
|
-
var
|
|
460
|
-
|
|
461
|
-
|
|
76
|
+
var o,
|
|
77
|
+
a = true,
|
|
78
|
+
u = false;
|
|
462
79
|
return {
|
|
463
80
|
s: function () {
|
|
464
|
-
|
|
81
|
+
t = t.call(r);
|
|
465
82
|
},
|
|
466
83
|
n: function () {
|
|
467
|
-
var
|
|
468
|
-
|
|
469
|
-
return step;
|
|
84
|
+
var r = t.next();
|
|
85
|
+
return a = r.done, r;
|
|
470
86
|
},
|
|
471
|
-
e: function (
|
|
472
|
-
|
|
473
|
-
err = e;
|
|
87
|
+
e: function (r) {
|
|
88
|
+
u = true, o = r;
|
|
474
89
|
},
|
|
475
90
|
f: function () {
|
|
476
91
|
try {
|
|
477
|
-
|
|
92
|
+
a || null == t.return || t.return();
|
|
478
93
|
} finally {
|
|
479
|
-
if (
|
|
94
|
+
if (u) throw o;
|
|
480
95
|
}
|
|
481
96
|
}
|
|
482
97
|
};
|
|
483
98
|
}
|
|
484
|
-
function
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
99
|
+
function _defineProperty(e, r, t) {
|
|
100
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
101
|
+
value: t,
|
|
102
|
+
enumerable: true,
|
|
103
|
+
configurable: true,
|
|
104
|
+
writable: true
|
|
105
|
+
}) : e[r] = t, e;
|
|
106
|
+
}
|
|
107
|
+
function _iterableToArray(r) {
|
|
108
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
109
|
+
}
|
|
110
|
+
function _iterableToArrayLimit(r, l) {
|
|
111
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
112
|
+
if (null != t) {
|
|
113
|
+
var e,
|
|
114
|
+
n,
|
|
115
|
+
i,
|
|
116
|
+
u,
|
|
117
|
+
a = [],
|
|
118
|
+
f = true,
|
|
119
|
+
o = false;
|
|
120
|
+
try {
|
|
121
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
122
|
+
if (Object(t) !== t) return;
|
|
123
|
+
f = !1;
|
|
124
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
125
|
+
} catch (r) {
|
|
126
|
+
o = true, n = r;
|
|
127
|
+
} finally {
|
|
128
|
+
try {
|
|
129
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
130
|
+
} finally {
|
|
131
|
+
if (o) throw n;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
return a;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
function _nonIterableRest() {
|
|
138
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
139
|
+
}
|
|
140
|
+
function _nonIterableSpread() {
|
|
141
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
142
|
+
}
|
|
143
|
+
function _regenerator() {
|
|
144
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
145
|
+
var e,
|
|
146
|
+
t,
|
|
147
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
148
|
+
n = r.iterator || "@@iterator",
|
|
149
|
+
o = r.toStringTag || "@@toStringTag";
|
|
150
|
+
function i(r, n, o, i) {
|
|
151
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
152
|
+
u = Object.create(c.prototype);
|
|
153
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
154
|
+
var i,
|
|
155
|
+
c,
|
|
156
|
+
u,
|
|
157
|
+
f = 0,
|
|
158
|
+
p = o || [],
|
|
159
|
+
y = false,
|
|
160
|
+
G = {
|
|
161
|
+
p: 0,
|
|
162
|
+
n: 0,
|
|
163
|
+
v: e,
|
|
164
|
+
a: d,
|
|
165
|
+
f: d.bind(e, 4),
|
|
166
|
+
d: function (t, r) {
|
|
167
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
function d(r, n) {
|
|
171
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
172
|
+
var o,
|
|
173
|
+
i = p[t],
|
|
174
|
+
d = G.p,
|
|
175
|
+
l = i[2];
|
|
176
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
177
|
+
}
|
|
178
|
+
if (o || r > 1) return a;
|
|
179
|
+
throw y = true, n;
|
|
180
|
+
}
|
|
181
|
+
return function (o, p, l) {
|
|
182
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
183
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
184
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
185
|
+
try {
|
|
186
|
+
if (f = 2, i) {
|
|
187
|
+
if (c || (o = "next"), t = i[o]) {
|
|
188
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
189
|
+
if (!t.done) return t;
|
|
190
|
+
u = t.value, c < 2 && (c = 0);
|
|
191
|
+
} else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
192
|
+
i = e;
|
|
193
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
194
|
+
} catch (t) {
|
|
195
|
+
i = e, c = 1, u = t;
|
|
196
|
+
} finally {
|
|
197
|
+
f = 1;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
return {
|
|
201
|
+
value: t,
|
|
202
|
+
done: y
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
}(r, o, i), true), u;
|
|
206
|
+
}
|
|
207
|
+
var a = {};
|
|
208
|
+
function Generator() {}
|
|
209
|
+
function GeneratorFunction() {}
|
|
210
|
+
function GeneratorFunctionPrototype() {}
|
|
211
|
+
t = Object.getPrototypeOf;
|
|
212
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
213
|
+
return this;
|
|
214
|
+
}), t),
|
|
215
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
216
|
+
function f(e) {
|
|
217
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
218
|
+
}
|
|
219
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
|
|
220
|
+
return this;
|
|
221
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
222
|
+
return "[object Generator]";
|
|
223
|
+
}), (_regenerator = function () {
|
|
224
|
+
return {
|
|
225
|
+
w: i,
|
|
226
|
+
m: f
|
|
227
|
+
};
|
|
228
|
+
})();
|
|
229
|
+
}
|
|
230
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
231
|
+
var i = Object.defineProperty;
|
|
232
|
+
try {
|
|
233
|
+
i({}, "", {});
|
|
234
|
+
} catch (e) {
|
|
235
|
+
i = 0;
|
|
236
|
+
}
|
|
237
|
+
_regeneratorDefine = function (e, r, n, t) {
|
|
238
|
+
function o(r, n) {
|
|
239
|
+
_regeneratorDefine(e, r, function (e) {
|
|
240
|
+
return this._invoke(r, n, e);
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
r ? i ? i(e, r, {
|
|
244
|
+
value: n,
|
|
245
|
+
enumerable: !t,
|
|
246
|
+
configurable: !t,
|
|
247
|
+
writable: !t
|
|
248
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
249
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
250
|
+
}
|
|
251
|
+
function _slicedToArray(r, e) {
|
|
252
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
253
|
+
}
|
|
254
|
+
function _toConsumableArray(r) {
|
|
255
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
256
|
+
}
|
|
257
|
+
function _toPrimitive(t, r) {
|
|
258
|
+
if ("object" != typeof t || !t) return t;
|
|
259
|
+
var e = t[Symbol.toPrimitive];
|
|
260
|
+
if (void 0 !== e) {
|
|
261
|
+
var i = e.call(t, r);
|
|
262
|
+
if ("object" != typeof i) return i;
|
|
490
263
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
491
264
|
}
|
|
492
|
-
return (
|
|
265
|
+
return (String )(t);
|
|
266
|
+
}
|
|
267
|
+
function _toPropertyKey(t) {
|
|
268
|
+
var i = _toPrimitive(t, "string");
|
|
269
|
+
return "symbol" == typeof i ? i : i + "";
|
|
493
270
|
}
|
|
494
|
-
function
|
|
495
|
-
|
|
496
|
-
|
|
271
|
+
function _typeof(o) {
|
|
272
|
+
"@babel/helpers - typeof";
|
|
273
|
+
|
|
274
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
275
|
+
return typeof o;
|
|
276
|
+
} : function (o) {
|
|
277
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
278
|
+
}, _typeof(o);
|
|
279
|
+
}
|
|
280
|
+
function _unsupportedIterableToArray(r, a) {
|
|
281
|
+
if (r) {
|
|
282
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
283
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
284
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
285
|
+
}
|
|
497
286
|
}
|
|
498
287
|
|
|
499
|
-
export { _arrayLikeToArray as arrayLikeToArray, _arrayWithHoles as arrayWithHoles, _arrayWithoutHoles as arrayWithoutHoles, _asyncToGenerator as asyncToGenerator, _classCallCheck as classCallCheck, _createClass as createClass, _createForOfIteratorHelper as createForOfIteratorHelper, _defineProperty as defineProperty, _iterableToArray as iterableToArray, _iterableToArrayLimit as iterableToArrayLimit, _nonIterableRest as nonIterableRest, _nonIterableSpread as nonIterableSpread,
|
|
288
|
+
export { _arrayLikeToArray as arrayLikeToArray, _arrayWithHoles as arrayWithHoles, _arrayWithoutHoles as arrayWithoutHoles, _asyncToGenerator as asyncToGenerator, _classCallCheck as classCallCheck, _createClass as createClass, _createForOfIteratorHelper as createForOfIteratorHelper, _defineProperty as defineProperty, _iterableToArray as iterableToArray, _iterableToArrayLimit as iterableToArrayLimit, _nonIterableRest as nonIterableRest, _nonIterableSpread as nonIterableSpread, _regenerator as regenerator, _regeneratorDefine as regeneratorDefine, _slicedToArray as slicedToArray, _toConsumableArray as toConsumableArray, _toPrimitive as toPrimitive, _toPropertyKey as toPropertyKey, _typeof as typeof, _unsupportedIterableToArray as unsupportedIterableToArray };
|