{"version":3,"sources":["webpack:///webpack/bootstrap adb7f1eac008c08b041d","webpack:///external \"girder_lib\"","webpack:///delegated ./src/events.js from dll-reference girder_lib","webpack:///delegated ./src/utilities/PluginUtils.js from dll-reference girder_lib","webpack:///delegated ./src/rest.js from dll-reference girder_lib","webpack:///./node_modules/@girder/homepage/main.js","webpack:///./node_modules/@girder/homepage/routes.js","webpack:///delegated ./src/router.js from dll-reference girder_lib","webpack:///./node_modules/@girder/homepage/views/ConfigView.js","webpack:///delegated ./node_modules/jquery/dist/jquery.js from dll-reference girder_lib","webpack:///delegated ./src/models/FolderModel.js from dll-reference girder_lib","webpack:///delegated ./src/views/widgets/MarkdownWidget.js from dll-reference girder_lib","webpack:///delegated ./src/views/widgets/PluginConfigBreadcrumbWidget.js from dll-reference girder_lib","webpack:///delegated ./src/views/View.js from dll-reference girder_lib","webpack:///delegated ./src/views/widgets/UploadWidget.js from dll-reference girder_lib","webpack:///./node_modules/@girder/homepage/templates/configView.pug","webpack:///delegated ./node_modules/pug-runtime/index.js from dll-reference girder_lib","webpack:///./node_modules/@girder/homepage/stylesheets/configView.styl","webpack:///delegated ./src/assets/Girder_Mark.png from dll-reference girder_lib","webpack:///./node_modules/@girder/homepage/views/FrontPageView.js","webpack:///delegated ./src/views/body/FrontPageView.js from dll-reference girder_lib","webpack:///delegated ./src/misc.js from dll-reference girder_lib"],"names":["router","route","events","trigger","ConfigView","View","extend","event","preventDefault","_saveSettings","key","value","editor","val","$","welcomeText","logoFileId","_updateLogoDisplay","initialize","currentSettingsRequest","method","url","data","list","JSON","stringify","then","resp","assetsRequest","when","done","settings","assets","MarkdownWidget","prefix","placeholder","parentView","parent","FolderModel","_id","enableUploads","maxUploadSize","allowedExtensions","text","header","subHeader","logoUploader","UploadWidget","parentType","title","modal","multiFile","listenTo","files","id","render","logoUrl","require","attr","$el","html","defaultHeader","defaultSubHeader","setElement","appendTo","breadcrumb","PluginConfigBreadcrumbWidget","pluginName","el","error","icon","type","timeout","fail","responseJSON","message","pug","template","locals","pug_html","pug_mixins","pug_interp","pug_debug_filename","pug_debug_line","pug_debug_sources","locals_for_with","call","undefined","err","rethrow","module","exports","FrontPageView"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,KAAK;QACL;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA;QACA;;;;;;;AC9DA,4B;;;;;;ACAA,6C;;;;;;ACAA,+C;;;;;;ACAA,6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACEA;;;AAFA;;AAGA,wB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KCHA;;AAEA;;;;AACA;;;;AACA;;AAIA;;;;;;;;;AAFA,qCAAmB,UAAnB,EAA+B,yBAA/B;;;;AAGAA,iBAAOC,KAAP,CAAa,yBAAb,EAAwC,gBAAxC,EAA0D,YAAY;AAAA;AAAA;;AAClEC,qBAAOC,OAAP,CAAe,cAAf,EAA+BC,oBAA/B;AACH,CAFD,E;;;;;;ACTA,6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/static/built/\";\n\n \t__webpack_require__(5);\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 4);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap adb7f1eac008c08b041d","module.exports = girder_lib;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"girder_lib\"\n// module id = 0\n// module chunks = 0","module.exports = (__webpack_require__(0))(5);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/events.js from dll-reference girder_lib\n// module id = 1\n// module chunks = 0","module.exports = (__webpack_require__(0))(177);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/utilities/PluginUtils.js from dll-reference girder_lib\n// module id = 2\n// module chunks = 0","module.exports = (__webpack_require__(0))(4);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/rest.js from dll-reference girder_lib\n// module id = 3\n// module chunks = 0","import './routes';\n\n// Extends and overrides API\nimport './views/FrontPageView';\n\n\n\n// WEBPACK FOOTER //\n// ./node_modules/@girder/homepage/main.js","/* eslint-disable import/first */\n\nimport router from '@girder/core/router';\nimport events from '@girder/core/events';\nimport { exposePluginConfig } from '@girder/core/utilities/PluginUtils';\n\nexposePluginConfig('homepage', 'plugins/homepage/config');\n\nimport ConfigView from './views/ConfigView';\nrouter.route('plugins/homepage/config', 'homepageConfig', function () {\n events.trigger('g:navigateTo', ConfigView);\n});\n\n\n\n// WEBPACK FOOTER //\n// ./node_modules/@girder/homepage/routes.js","module.exports = (__webpack_require__(0))(9);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/router.js from dll-reference girder_lib\n// module id = 7\n// module chunks = 0","import $ from 'jquery';\n\nimport FolderModel from '@girder/core/models/FolderModel';\nimport MarkdownWidget from '@girder/core/views/widgets/MarkdownWidget';\nimport PluginConfigBreadcrumbWidget from '@girder/core/views/widgets/PluginConfigBreadcrumbWidget';\nimport View from '@girder/core/views/View';\nimport UploadWidget from '@girder/core/views/widgets/UploadWidget';\nimport events from '@girder/core/events';\nimport { restRequest, getApiRoot } from '@girder/core/rest';\n\nimport ConfigViewTemplate from '../templates/configView.pug';\nimport '../stylesheets/configView.styl';\n\nconst ConfigView = View.extend({\n events: {\n 'submit #g-homepage-form': function (event) {\n event.preventDefault();\n this._saveSettings([{\n key: 'homepage.markdown',\n value: this.editor.val()\n },\n {\n key: 'homepage.header',\n value: this.$('#g-homepage-header').val()\n },\n {\n key: 'homepage.subheader',\n value: this.$('#g-homepage-subheader').val()\n },\n {\n key: 'homepage.welcome_text',\n value: this.welcomeText.val()\n },\n {\n key: 'homepage.logo',\n value: this.logoFileId\n }]);\n },\n\n 'click #g-homepage-logo-reset': function (event) {\n this.logoFileId = null;\n this._updateLogoDisplay();\n }\n },\n\n initialize: function () {\n const currentSettingsRequest = restRequest({\n method: 'GET',\n url: 'system/setting',\n data: {\n list: JSON.stringify([\n 'homepage.markdown',\n 'homepage.header',\n 'homepage.subheader',\n 'homepage.welcome_text',\n 'homepage.logo'\n ])\n }\n })\n // Keep only the first argument\n .then((resp) => resp);\n const assetsRequest = restRequest({\n method: 'GET',\n url: 'homepage/assets'\n })\n // Keep only the first argument\n .then((resp) => resp);\n\n $.when(currentSettingsRequest, assetsRequest)\n .done((settings, assets) => {\n // Create sub-widgets\n this.editor = new MarkdownWidget({\n prefix: 'homepage',\n placeholder: 'Enter Markdown for the homepage',\n parentView: this,\n parent: new FolderModel({ _id: assets['homepage.markdown'] }),\n enableUploads: true,\n maxUploadSize: 1024 * 1024 * 10,\n allowedExtensions: ['png', 'jpeg', 'jpg', 'gif']\n });\n this.welcomeText = new MarkdownWidget({\n prefix: 'welcome',\n placeholder: 'Enter Markdown to replace the welcome text.',\n parentView: this,\n parent: new FolderModel({ _id: assets['homepage.welcome_text'] }),\n enableUploads: true,\n maxUploadSize: 1024 * 1024 * 10,\n allowedExtensions: ['png', 'jpeg', 'jpg', 'gif']\n });\n\n // Set current settings\n this.editor.text = settings['homepage.markdown'];\n this.header = settings['homepage.header'];\n this.subHeader = settings['homepage.subheader'];\n this.welcomeText.text = settings['homepage.welcome_text'];\n this.logoFileId = settings['homepage.logo'];\n\n this.logoUploader = new UploadWidget({\n parent: new FolderModel({ _id: assets['homepage.logo'] }),\n parentType: 'folder',\n title: 'Homepage Logo',\n modal: false,\n multiFile: false,\n parentView: this\n });\n this.listenTo(this.logoUploader, 'g:uploadFinished', (event) => {\n this.logoFileId = event.files[0].id;\n this._updateLogoDisplay();\n });\n\n this.render();\n });\n },\n\n _updateLogoDisplay: function () {\n let logoUrl;\n if (this.logoFileId) {\n logoUrl = `${getApiRoot()}/file/${this.logoFileId}/download?contentDisposition=inline`;\n } else {\n logoUrl = require('@girder/core/assets/Girder_Mark.png');\n }\n this.$('.g-homepage-logo-preview img').attr('src', logoUrl);\n },\n\n render: function () {\n this.$el.html(ConfigViewTemplate({\n header: this.header || null,\n subHeader: this.subHeader || null,\n defaultHeader: 'Girder',\n defaultSubHeader: 'Data management platform'\n }));\n this.editor\n .setElement(this.$('.g-homepage-container'))\n .render();\n this.welcomeText\n .setElement(this.$('.g-homepage-welcome-text-container'))\n .render();\n\n this.logoUploader\n .render()\n .$el.appendTo(this.$('.g-homepage-logo-upload-container'));\n this._updateLogoDisplay();\n\n if (!this.breadcrumb) {\n this.breadcrumb = new PluginConfigBreadcrumbWidget({\n pluginName: 'Homepage',\n el: this.$('.g-config-breadcrumb-container'),\n parentView: this\n }).render();\n }\n\n return this;\n },\n\n _saveSettings: function (settings) {\n this.$('#g-homepage-error-message').text('');\n restRequest({\n method: 'PUT',\n url: 'system/setting',\n data: {\n list: JSON.stringify(settings)\n },\n error: null\n }).done(() => {\n events.trigger('g:alert', {\n icon: 'ok',\n text: 'Settings saved.',\n type: 'success',\n timeout: 4000\n });\n }).fail((resp) => {\n this.$('#g-homepage-error-message').text(\n resp.responseJSON.message\n );\n });\n }\n});\n\nexport default ConfigView;\n\n\n\n// WEBPACK FOOTER //\n// ./node_modules/@girder/homepage/views/ConfigView.js","module.exports = (__webpack_require__(0))(2);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./node_modules/jquery/dist/jquery.js from dll-reference girder_lib\n// module id = 9\n// module chunks = 0","module.exports = (__webpack_require__(0))(28);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/models/FolderModel.js from dll-reference girder_lib\n// module id = 10\n// module chunks = 0","module.exports = (__webpack_require__(0))(71);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/views/widgets/MarkdownWidget.js from dll-reference girder_lib\n// module id = 11\n// module chunks = 0","module.exports = (__webpack_require__(0))(516);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/views/widgets/PluginConfigBreadcrumbWidget.js from dll-reference girder_lib\n// module id = 12\n// module chunks = 0","module.exports = (__webpack_require__(0))(1);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/views/View.js from dll-reference girder_lib\n// module id = 13\n// module chunks = 0","module.exports = (__webpack_require__(0))(72);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/views/widgets/UploadWidget.js from dll-reference girder_lib\n// module id = 14\n// module chunks = 0","var pug = require(\"!../../../pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;var pug_debug_filename, pug_debug_line;try {var pug_debug_sources = {\"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\":\".g-config-breadcrumb-container\\n\\nform.g-settings-form(role=\\\"form\\\")\\n .g-settings-form-container\\n h4 Instance Branding\\n\\n p.g-homepage-description\\n | To configure elements of the default homepage\\n\\n .form-group\\n label(for=\\\"g-homepage-header\\\") Header\\n input#g-homepage-header.form-control.input-sm(\\n type=\\\"text\\\", value= header || '',\\n placeholder=`Default: ${defaultHeader || 'none'}`,\\n title=\\\"The homepage header.\\\")\\n .form-group\\n label(for=\\\"g-homepage-subheader\\\") Subheader\\n input#g-homepage-subheader.form-control.input-sm(\\n type=\\\"text\\\", value= subHeader || '',\\n placeholder=`Default: ${defaultSubHeader || 'none'}`,\\n title=\\\"The homepage subheader.\\\")\\n .form-group\\n label(for=\\\"g-homepage-welcome-text\\\") Welcome Text\\n #g-homepage-welcome-text.g-homepage-welcome-text-container\\n\\n .form-group\\n label Logo\\n .g-homepage-logo-container\\n .g-homepage-logo-preview-container\\n .g-homepage-logo-preview\\n img(alt=\\\"Logo\\\")\\n button#g-homepage-logo-reset.btn.btn-sm.btn-default(\\n type=\\\"button\\\", title=\\\"Reset default logo\\\") Use default\\n .g-homepage-logo-upload-container\\n\\nhr\\n\\np.g-homepage-description\\n | To completely replace the homepage content (ignoring the other settings), enter Markdown here.\\n\\n.g-homepage-container\\n\\np#g-homepage-error-message.g-validation-failed-message\\n\\nform#g-homepage-form(role=\\\"form\\\")\\n input.btn.btn-sm.btn-primary(type=\\\"submit\\\", value=\\\"Save\\\")\\n\"};\n;var locals_for_with = (locals || {});(function (defaultHeader, defaultSubHeader, header, subHeader) {;pug_debug_line = 1;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-config-breadcrumb-container\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 3;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cform class=\\\"g-settings-form\\\" role=\\\"form\\\"\\u003E\";\n;pug_debug_line = 4;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-settings-form-container\\\"\\u003E\";\n;pug_debug_line = 5;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Ch4\\u003E\";\n;pug_debug_line = 5;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Instance Branding\\u003C\\u002Fh4\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 7;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cp class=\\\"g-homepage-description\\\"\\u003E\\u003C\\u002Fp\\u003E\";\n;pug_debug_line = 8;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"To configure elements of the default homepage\";\n;pug_debug_line = 10;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"form-group\\\"\\u003E\";\n;pug_debug_line = 11;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Clabel for=\\\"g-homepage-header\\\"\\u003E\";\n;pug_debug_line = 11;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Header\\u003C\\u002Flabel\\u003E\";\n;pug_debug_line = 12;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput\" + (\" class=\\\"form-control input-sm\\\"\"+\" id=\\\"g-homepage-header\\\" type=\\\"text\\\"\"+pug.attr(\"value\", header || '', true, true)+pug.attr(\"placeholder\", `Default: ${defaultHeader || 'none'}`, true, true)+\" title=\\\"The homepage header.\\\"\") + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 16;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"form-group\\\"\\u003E\";\n;pug_debug_line = 17;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Clabel for=\\\"g-homepage-subheader\\\"\\u003E\";\n;pug_debug_line = 17;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Subheader\\u003C\\u002Flabel\\u003E\";\n;pug_debug_line = 18;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput\" + (\" class=\\\"form-control input-sm\\\"\"+\" id=\\\"g-homepage-subheader\\\" type=\\\"text\\\"\"+pug.attr(\"value\", subHeader || '', true, true)+pug.attr(\"placeholder\", `Default: ${defaultSubHeader || 'none'}`, true, true)+\" title=\\\"The homepage subheader.\\\"\") + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 22;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"form-group\\\"\\u003E\";\n;pug_debug_line = 23;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Clabel for=\\\"g-homepage-welcome-text\\\"\\u003E\";\n;pug_debug_line = 23;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Welcome Text\\u003C\\u002Flabel\\u003E\";\n;pug_debug_line = 24;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-homepage-welcome-text-container\\\" id=\\\"g-homepage-welcome-text\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 26;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"form-group\\\"\\u003E\";\n;pug_debug_line = 27;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Clabel\\u003E\";\n;pug_debug_line = 27;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Logo\\u003C\\u002Flabel\\u003E\";\n;pug_debug_line = 28;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-homepage-logo-container\\\"\\u003E\";\n;pug_debug_line = 29;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-homepage-logo-preview-container\\\"\\u003E\";\n;pug_debug_line = 30;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-homepage-logo-preview\\\"\\u003E\";\n;pug_debug_line = 31;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cimg alt=\\\"Logo\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 32;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cbutton class=\\\"btn btn-sm btn-default\\\" id=\\\"g-homepage-logo-reset\\\" type=\\\"button\\\" title=\\\"Reset default logo\\\"\\u003E\";\n;pug_debug_line = 33;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Use default\\u003C\\u002Fbutton\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 34;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-homepage-logo-upload-container\\\"\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fform\\u003E\";\n;pug_debug_line = 36;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Chr\\u003E\";\n;pug_debug_line = 38;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cp class=\\\"g-homepage-description\\\"\\u003E\";\n;pug_debug_line = 39;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"To completely replace the homepage content (ignoring the other settings), enter Markdown here.\\u003C\\u002Fp\\u003E\";\n;pug_debug_line = 41;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-homepage-container\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 43;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cp class=\\\"g-validation-failed-message\\\" id=\\\"g-homepage-error-message\\\"\\u003E\\u003C\\u002Fp\\u003E\";\n;pug_debug_line = 45;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cform id=\\\"g-homepage-form\\\" role=\\\"form\\\"\\u003E\";\n;pug_debug_line = 46;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Fhomepage\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput class=\\\"btn btn-sm btn-primary\\\" type=\\\"submit\\\" value=\\\"Save\\\"\\u003E\\u003C\\u002Fform\\u003E\";}.call(this,\"defaultHeader\" in locals_for_with?locals_for_with.defaultHeader:typeof defaultHeader!==\"undefined\"?defaultHeader:undefined,\"defaultSubHeader\" in locals_for_with?locals_for_with.defaultSubHeader:typeof defaultSubHeader!==\"undefined\"?defaultSubHeader:undefined,\"header\" in locals_for_with?locals_for_with.header:typeof header!==\"undefined\"?header:undefined,\"subHeader\" in locals_for_with?locals_for_with.subHeader:typeof subHeader!==\"undefined\"?subHeader:undefined));} catch (err) {pug.rethrow(err, pug_debug_filename, pug_debug_line, pug_debug_sources[pug_debug_filename]);};return pug_html;};\nmodule.exports = template;\n\n\n// WEBPACK FOOTER //\n// ./node_modules/@girder/homepage/templates/configView.pug","module.exports = (__webpack_require__(0))(0);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./node_modules/pug-runtime/index.js from dll-reference girder_lib\n// module id = 16\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@girder/homepage/stylesheets/configView.styl\n// module id = 17\n// module chunks = 0","module.exports = (__webpack_require__(0))(413);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/assets/Girder_Mark.png from dll-reference girder_lib\n// module id = 18\n// module chunks = 0","import FrontPageView from '@girder/core/views/body/FrontPageView';\nimport { renderMarkdown } from '@girder/core/misc';\nimport { restRequest, getApiRoot } from '@girder/core/rest';\nimport { wrap } from '@girder/core/utilities/PluginUtils';\n\nwrap(FrontPageView, 'render', function (render) {\n restRequest({\n method: 'GET',\n url: 'homepage'\n }).done((resp) => {\n if (!resp['homepage.markdown']) {\n render.call(this);\n if (resp['homepage.header']) {\n this.$('.g-frontpage-title').text(resp['homepage.header']);\n }\n if (resp['homepage.subheader']) {\n this.$('.g-frontpage-subtitle').text(resp['homepage.subheader']);\n }\n if (resp['homepage.welcome_text']) {\n this.$('.g-frontpage-welcome-text-content').html(renderMarkdown(resp['homepage.welcome_text']));\n }\n if (resp['homepage.logo']) {\n const logoUrl = `${getApiRoot()}/file/${resp['homepage.logo']}/download?contentDisposition=inline`;\n this.$('.g-frontpage-logo').attr('src', logoUrl);\n }\n } else {\n this.$el.html(renderMarkdown(resp['homepage.markdown']));\n }\n });\n\n return this;\n});\n\n\n\n// WEBPACK FOOTER //\n// ./node_modules/@girder/homepage/views/FrontPageView.js","module.exports = (__webpack_require__(0))(203);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/views/body/FrontPageView.js from dll-reference girder_lib\n// module id = 20\n// module chunks = 0","module.exports = (__webpack_require__(0))(11);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/misc.js from dll-reference girder_lib\n// module id = 21\n// module chunks = 0"],"sourceRoot":""}