"use strict";
/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] = self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] || []).push([["node_modules_jupyter-notebook_help-extension_lib_index_js"],{

/***/ "../node_modules/@jupyter-notebook/help-extension/lib/index.js":
/*!*********************************************************************!*\
  !*** ../node_modules/@jupyter-notebook/help-extension/lib/index.js ***!
  \*********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _jupyterlab_apputils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @jupyterlab/apputils */ \"webpack/sharing/consume/default/@jupyterlab/apputils/@jupyterlab/apputils\");\n/* harmony import */ var _jupyterlab_apputils__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_jupyterlab_apputils__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _jupyterlab_mainmenu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @jupyterlab/mainmenu */ \"webpack/sharing/consume/default/@jupyterlab/mainmenu/@jupyterlab/mainmenu\");\n/* harmony import */ var _jupyterlab_mainmenu__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_jupyterlab_mainmenu__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _jupyterlab_translation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @jupyterlab/translation */ \"webpack/sharing/consume/default/@jupyterlab/translation/@jupyterlab/translation\");\n/* harmony import */ var _jupyterlab_translation__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_jupyterlab_translation__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _jupyter_notebook_ui_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @jupyter-notebook/ui-components */ \"webpack/sharing/consume/default/@jupyter-notebook/ui-components/@jupyter-notebook/ui-components\");\n/* harmony import */ var _jupyter_notebook_ui_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_jupyter_notebook_ui_components__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n// Copyright (c) Jupyter Development Team.\n// Distributed under the terms of the Modified BSD License.\n\n\n\n\n\n/**\n * A list of resources to show in the help menu.\n */\nconst RESOURCES = [\n    {\n        text: 'About Jupyter',\n        url: 'https://jupyter.org',\n    },\n    {\n        text: 'Markdown Reference',\n        url: 'https://commonmark.org/help/',\n    },\n    {\n        text: 'Documentation',\n        url: 'https://jupyter-notebook.readthedocs.io/en/stable/',\n    },\n];\n/**\n * The command IDs used by the help plugin.\n */\nvar CommandIDs;\n(function (CommandIDs) {\n    CommandIDs.open = 'help:open';\n    CommandIDs.about = 'help:about';\n})(CommandIDs || (CommandIDs = {}));\n/**\n * A plugin to open the about section with resources.\n */\nconst open = {\n    id: '@jupyter-notebook/help-extension:open',\n    autoStart: true,\n    description: 'A plugin to open the about section with resources',\n    activate: (app) => {\n        const { commands } = app;\n        commands.addCommand(CommandIDs.open, {\n            label: (args) => args['text'],\n            execute: (args) => {\n                const url = args['url'];\n                window.open(url);\n            },\n        });\n    },\n};\n/**\n * Plugin to add a command to show an About Jupyter Notebook and Markdown Reference.\n */\nconst about = {\n    id: '@jupyter-notebook/help-extension:about',\n    autoStart: true,\n    requires: [_jupyterlab_translation__WEBPACK_IMPORTED_MODULE_2__.ITranslator],\n    optional: [_jupyterlab_mainmenu__WEBPACK_IMPORTED_MODULE_1__.IMainMenu, _jupyterlab_apputils__WEBPACK_IMPORTED_MODULE_0__.ICommandPalette],\n    description: 'Plugin to add a command to show an About Jupyter Notebook and Markdown Reference',\n    activate: (app, translator, menu, palette) => {\n        const { commands } = app;\n        const trans = translator.load('notebook');\n        const category = trans.__('Help');\n        commands.addCommand(CommandIDs.about, {\n            label: trans.__('About %1', app.name),\n            execute: () => {\n                const title = (react__WEBPACK_IMPORTED_MODULE_4__.createElement(react__WEBPACK_IMPORTED_MODULE_4__.Fragment, null,\n                    react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", { className: \"jp-AboutNotebook-header\" },\n                        react__WEBPACK_IMPORTED_MODULE_4__.createElement(_jupyter_notebook_ui_components__WEBPACK_IMPORTED_MODULE_3__.jupyterIcon.react, { width: \"196px\", height: \"auto\" }))));\n                const notebookURL = 'https://github.com/jupyter/notebook';\n                const contributorURL = 'https://github.com/jupyter/notebook/pulse';\n                const aboutJupyter = trans.__('JUPYTER NOTEBOOK ON GITHUB');\n                const contributorList = trans.__('CONTRIBUTOR LIST');\n                const externalLinks = (react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", null,\n                    react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"a\", { href: notebookURL, target: \"_blank\", rel: \"noopener noreferrer\", className: \"jp-Button-flat jp-AboutNotebook-about-externalLinks\" }, aboutJupyter),\n                    react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"a\", { href: contributorURL, target: \"_blank\", rel: \"noopener noreferrer\", className: \"jp-Button-flat jp-AboutNotebook-about-externalLinks\" }, contributorList)));\n                const version = trans.__('Version: %1', app.version);\n                const copyright = trans.__('© 2021-2023 Jupyter Notebook Contributors');\n                const body = (react__WEBPACK_IMPORTED_MODULE_4__.createElement(react__WEBPACK_IMPORTED_MODULE_4__.Fragment, null,\n                    react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", { className: \"jp-AboutNotebook-version\" }, version),\n                    react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", null, externalLinks),\n                    react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", { className: \"jp-AboutNotebook-about-copyright\" }, copyright)));\n                const dialog = new _jupyterlab_apputils__WEBPACK_IMPORTED_MODULE_0__.Dialog({\n                    title,\n                    body,\n                    buttons: [\n                        _jupyterlab_apputils__WEBPACK_IMPORTED_MODULE_0__.Dialog.createButton({\n                            label: trans.__('Dismiss'),\n                            className: 'jp-AboutNotebook-about-button jp-mod-reject jp-mod-styled',\n                        }),\n                    ],\n                });\n                dialog.addClass('jp-AboutNotebook');\n                void dialog.launch();\n            },\n        });\n        if (palette) {\n            palette.addItem({ command: CommandIDs.about, category });\n        }\n        const resourcesGroup = RESOURCES.map((args) => ({\n            args,\n            command: CommandIDs.open,\n        }));\n        if (menu) {\n            menu.helpMenu.addGroup(resourcesGroup, 30);\n        }\n    },\n};\nconst plugins = [open, about];\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (plugins);\n\n\n//# sourceURL=webpack://_JUPYTERLAB.CORE_OUTPUT/../node_modules/@jupyter-notebook/help-extension/lib/index.js?");

/***/ })

}]);