Page MenuHomeSoftware Heritage

vault.e2e8f042b9c742390872.js.map
No OneTemporary

vault.e2e8f042b9c742390872.js.map

{
"version": 3,
"file": "js/vault.e2e8f042b9c742390872.js",
"mappings": ";CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAa,IAAID,KAEjBD,EAAU,IAAIA,EAAU,KAAK,GAAIA,EAAU,IAAS,MAAIC,KAR1D,CASGK,MAAM,WACT,iECVAH,EAAOD,QAAU,EAAjB,qOCWMK,EAAa,CACjB,SAAY,QACZ,KAAQ,OACR,OAAU,OACV,UAAW,UAGb,SAASC,EAAyBC,GACV,KAAlBA,EAAMC,UACRD,EAAME,iBACNC,EAAE,eAAeC,OAAOC,KAAK,yBAAyBC,QAAQ,UAI3D,SAAeC,EAAtB,4EAAO,WAA4BC,EAAYC,GAAxC,wFAGHC,EADiB,cAAfF,EACSG,KAAKC,sBAAsBH,GAE3BE,KAAKE,0BAA0BJ,GALvC,SAQkBK,MAAMJ,GARxB,cAQCK,EARD,gBAScA,EAASC,OATvB,OAYkB,iBAHjBC,EATD,QAYIC,WAA+C,WAAhBD,EAAKE,QAG3CC,IAAIC,MAAMC,sBAAsB,CAACb,IAC3Bc,EAJ0D,eAI5Bf,EAJ4B,SAKhEL,EAAEoB,GAAcC,MAAM,QACtBrB,EAAE,QAAQsB,GAAG,QAASF,EAAcxB,IAGX,SAAhBkB,EAAKE,QACRI,EAD2B,gBACIf,EADJ,SAEjCL,EAAEoB,GAAcC,MAAM,QACtBrB,EAAE,QAAQsB,GAAG,QAASF,EAAcxB,MAE9B2B,EACAvB,GAAEwB,EAAAA,EAAAA,IAAU,SACA,yFAEA,KACMC,IAAI9B,GAC5BK,EAAE,QAAQ0B,OAAOH,IAhCd,2EAoCQI,EAAoB,EAApBA,0EAAf,WAAmCtB,EAAYuB,GAA/C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H,OAAOA,EAAa/V,QAGrB,IAAIC,EAAS2V,yBAAyBE,GAAY,CAGjD9V,QAAS,IAOV,OAHAgW,oBAAoBF,GAAU7V,EAAQA,EAAOD,QAAS6V,qBAG/C5V,EAAOD,QCpBf6V,oBAAoBI,EAAI,SAAShW,GAChC,IAAIiW,EAASjW,GAAUA,EAAOkW,WAC7B,WAAa,OAAOlW,EAAgB,SACpC,WAAa,OAAOA,GAErB,OADA4V,oBAAoBO,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,GCLRL,oBAAoBO,EAAI,SAASpW,EAASsW,GACzC,IAAI,IAAInK,KAAOmK,EACXT,oBAAoBU,EAAED,EAAYnK,KAAS0J,oBAAoBU,EAAEvW,EAASmM,IAC5Eb,OAAOe,eAAerM,EAASmM,EAAK,CAAEG,YAAY,EAAM4I,IAAKoB,EAAWnK,MCJ3E0J,oBAAoBU,EAAI,SAASrK,EAAKvG,GAAQ,OAAO2F,OAAOC,UAAUE,eAAegD,KAAKvC,EAAKvG,ICC/FkQ,oBAAoBrO,EAAI,SAASxH,GACX,oBAAX2L,QAA0BA,OAAOM,aAC1CX,OAAOe,eAAerM,EAAS2L,OAAOM,YAAa,CAAEG,MAAO,WAE7Dd,OAAOe,eAAerM,EAAS,aAAc,CAAEoM,OAAO",
"sources": [
"webpack://swh/webpack/universalModuleDefinition",
"webpack://swh/./node_modules/@babel/runtime/regenerator/index.js",
"webpack://swh/./assets/src/bundles/vault/vault-create-tasks.js",
"webpack://swh/./assets/src/bundles/vault/vault-ui.js",
"webpack://swh/./assets/src/utils/functions.js",
"webpack://swh/./assets/src/bundles/vault/vault-table-row.ejs",
"webpack://swh/./node_modules/email-validator/index.js",
"webpack://swh/./node_modules/regenerator-runtime/runtime.js",
"webpack://swh/./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js",
"webpack://swh/./node_modules/js-cookie/dist/js.cookie.mjs",
"webpack://swh/webpack/bootstrap",
"webpack://swh/webpack/runtime/compat get default export",
"webpack://swh/webpack/runtime/define property getters",
"webpack://swh/webpack/runtime/hasOwnProperty shorthand",
"webpack://swh/webpack/runtime/make namespace object"
],
"sourcesContent": [
"(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"swh\"] = factory();\n\telse\n\t\troot[\"swh\"] = root[\"swh\"] || {}, root[\"swh\"][\"vault\"] = factory();\n})(self, function() {\nreturn ",
"module.exports = require(\"regenerator-runtime\");\n",
"/**\n * Copyright (C) 2018-2022 The Software Heritage developers\n * See the AUTHORS file at the top-level directory of this distribution\n * License: GNU Affero General Public License version 3, or any later version\n * See top-level LICENSE file for more information\n */\n\nimport * as EmailValidator from 'email-validator';\n\nimport {handleFetchError, csrfPost, htmlAlert} from 'utils/functions';\n\nconst alertStyle = {\n 'position': 'fixed',\n 'left': '1rem',\n 'bottom': '1rem',\n 'z-index': '100000'\n};\n\nfunction vaultModalHandleEnterKey(event) {\n if (event.keyCode === 13) {\n event.preventDefault();\n $('.modal.show').last().find('button:contains(\"Ok\")').trigger('click');\n }\n}\n\nexport async function vaultRequest(objectType, swhid) {\n let vaultUrl;\n if (objectType === 'directory') {\n vaultUrl = Urls.api_1_vault_cook_flat(swhid);\n } else {\n vaultUrl = Urls.api_1_vault_cook_git_bare(swhid);\n }\n // check if object has already been cooked\n const response = await fetch(vaultUrl);\n const data = await response.json();\n\n // object needs to be cooked\n if (data.exception === 'NotFoundExc' || data.status === 'failed') {\n // if last cooking has failed, remove previous task info from localStorage\n // in order to force the recooking of the object\n swh.vault.removeCookingTaskInfo([swhid]);\n const vaultModalId = `#vault-cook-${objectType}-modal`;\n $(vaultModalId).modal('show');\n $('body').on('keyup', vaultModalId, vaultModalHandleEnterKey);\n // object has been cooked and should be in the vault cache,\n // it will be asked to cook it again if it is not\n } else if (data.status === 'done') {\n const vaultModalId = `#vault-fetch-${objectType}-modal`;\n $(vaultModalId).modal('show');\n $('body').on('keyup', vaultModalId, vaultModalHandleEnterKey);\n } else {\n const cookingServiceDownAlert =\n $(htmlAlert('danger',\n 'Archive cooking service is currently experiencing issues.<br/>' +\n 'Please try again later.',\n true));\n cookingServiceDownAlert.css(alertStyle);\n $('body').append(cookingServiceDownAlert);\n }\n}\n\nasync function addVaultCookingTask(objectType, cookingTask) {\n\n const swhidsContext = swh.webapp.getSwhIdsContext();\n cookingTask.origin = swhidsContext[objectType].context.origin;\n cookingTask.path = swhidsContext[objectType].context.path;\n cookingTask.browse_url = swhidsContext[objectType].swhid_with_context_url;\n if (!cookingTask.browse_url) {\n cookingTask.browse_url = swhidsContext[objectType].swhid_url;\n }\n\n let vaultCookingTasks = JSON.parse(localStorage.getItem('swh-vault-cooking-tasks'));\n if (!vaultCookingTasks) {\n vaultCookingTasks = [];\n }\n if (vaultCookingTasks.find(val => {\n return val.bundle_type === cookingTask.bundle_type &&\n val.swhid === cookingTask.swhid;\n }) === undefined) {\n let cookingUrl;\n if (cookingTask.bundle_type === 'flat') {\n cookingUrl = Urls.api_1_vault_cook_flat(cookingTask.swhid);\n } else {\n cookingUrl = Urls.api_1_vault_cook_git_bare(cookingTask.swhid);\n }\n if (cookingTask.email) {\n cookingUrl += '?email=' + encodeURIComponent(cookingTask.email);\n }\n\n try {\n const response = await csrfPost(cookingUrl);\n handleFetchError(response);\n vaultCookingTasks.push(cookingTask);\n localStorage.setItem('swh-vault-cooking-tasks', JSON.stringify(vaultCookingTasks));\n $('#vault-cook-directory-modal').modal('hide');\n $('body').off('keyup', '#vault-cook-directory-modal', vaultModalHandleEnterKey);\n $('#vault-cook-revision-modal').modal('hide');\n $('body').off('keyup', '#vault-cook-revision-modal', vaultModalHandleEnterKey);\n const cookingTaskCreatedAlert =\n $(htmlAlert('success',\n 'Archive cooking request successfully submitted.<br/>' +\n `Go to the <a href=\"${Urls.browse_vault()}\">Downloads</a> page ` +\n 'to get the download link once it is ready.',\n true));\n cookingTaskCreatedAlert.css(alertStyle);\n $('body').append(cookingTaskCreatedAlert);\n } catch (_) {\n $('#vault-cook-directory-modal').modal('hide');\n $('body').off('keyup', '#vault-cook-directory-modal', vaultModalHandleEnterKey);\n $('#vault-cook-revision-modal').modal('hide');\n $('body').off('keyup', '#vault-cook-revision-modal', vaultModalHandleEnterKey);\n const cookingTaskFailedAlert =\n $(htmlAlert('danger',\n 'Archive cooking request submission failed.',\n true));\n cookingTaskFailedAlert.css(alertStyle);\n $('body').append(cookingTaskFailedAlert);\n }\n }\n}\n\nexport function cookDirectoryArchive(swhid) {\n const email = $('#swh-vault-directory-email').val().trim();\n if (!email || EmailValidator.validate(email)) {\n const cookingTask = {\n 'bundle_type': 'flat',\n 'swhid': swhid,\n 'email': email,\n 'status': 'new'\n };\n addVaultCookingTask('directory', cookingTask);\n\n } else {\n $('#invalid-email-modal').modal('show');\n $('body').on('keyup', '#invalid-email-modal', vaultModalHandleEnterKey);\n }\n}\n\nexport async function fetchDirectoryArchive(directorySwhid) {\n $('#vault-fetch-directory-modal').modal('hide');\n $('body').off('keyup', '#vault-cook-revision-modal', vaultModalHandleEnterKey);\n const vaultUrl = Urls.api_1_vault_cook_flat(directorySwhid);\n const response = await fetch(vaultUrl);\n const data = await response.json();\n swh.vault.fetchCookedObject(data.fetch_url);\n}\n\nexport function cookRevisionArchive(revisionId) {\n const email = $('#swh-vault-revision-email').val().trim();\n if (!email || EmailValidator.validate(email)) {\n const cookingTask = {\n 'bundle_type': 'git_bare',\n 'swhid': revisionId,\n 'email': email,\n 'status': 'new'\n };\n addVaultCookingTask('revision', cookingTask);\n } else {\n $('#invalid-email-modal').modal('show');\n $('body').on('keyup', '#invalid-email-modal', vaultModalHandleEnterKey);\n }\n}\n\nexport async function fetchRevisionArchive(revisionSwhid) {\n $('#vault-fetch-revision-modal').modal('hide');\n $('body').off('keyup', '#vault-fetch-revision-modal', vaultModalHandleEnterKey);\n const vaultUrl = Urls.api_1_vault_cook_git_bare(revisionSwhid);\n const response = await fetch(vaultUrl);\n const data = await response.json();\n swh.vault.fetchCookedObject(data.fetch_url);\n}\n",
"/**\n * Copyright (C) 2018-2019 The Software Heritage developers\n * See the AUTHORS file at the top-level directory of this distribution\n * License: GNU Affero General Public License version 3, or any later version\n * See top-level LICENSE file for more information\n */\n\nimport {handleFetchError, handleFetchErrors, csrfPost} from 'utils/functions';\nimport vaultTableRowTemplate from './vault-table-row.ejs';\n\nconst progress =\n `<div class=\"progress\">\n <div class=\"progress-bar progress-bar-success progress-bar-striped\"\n role=\"progressbar\" aria-valuenow=\"100\" aria-valuemin=\"0\"\n aria-valuemax=\"100\" style=\"width: 100%;height: 100%;\">\n </div>\n </div>;`;\n\nconst pollingInterval = 5000;\nlet checkVaultId;\n\nfunction updateProgressBar(progressBar, cookingTask) {\n if (cookingTask.status === 'new') {\n progressBar.css('background-color', 'rgba(128, 128, 128, 0.5)');\n } else if (cookingTask.status === 'pending') {\n progressBar.css('background-color', 'rgba(0, 0, 255, 0.5)');\n } else if (cookingTask.status === 'done') {\n progressBar.css('background-color', '#5cb85c');\n } else if (cookingTask.status === 'failed') {\n progressBar.css('background-color', 'rgba(255, 0, 0, 0.5)');\n progressBar.css('background-image', 'none');\n }\n var text = cookingTask.progress_message || cookingTask.status;\n var firstLine, rest;\n [firstLine, ...rest] = text.split('\\n', 2);\n progressBar.text(firstLine);\n if (rest.length) {\n progressBar.prop('title', rest[0]);\n }\n if (cookingTask.status === 'new' || cookingTask.status === 'pending') {\n progressBar.addClass('progress-bar-animated');\n } else {\n progressBar.removeClass('progress-bar-striped');\n }\n}\n\nlet recookTask;\n\n// called when the user wants to download a cooked archive\nexport async function fetchCookedObject(fetchUrl) {\n recookTask = null;\n // first, check if the link is still available from the vault\n const response = await fetch(fetchUrl);\n\n // link is still alive, proceed to download\n if (response.ok) {\n $('#vault-fetch-iframe').attr('src', fetchUrl);\n // link is dead\n } else {\n // get the associated cooking task\n const vaultCookingTasks = JSON.parse(localStorage.getItem('swh-vault-cooking-tasks'));\n for (let i = 0; i < vaultCookingTasks.length; ++i) {\n if (vaultCookingTasks[i].fetch_url === fetchUrl) {\n recookTask = vaultCookingTasks[i];\n break;\n }\n }\n // display a modal asking the user if he wants to recook the archive\n $('#vault-recook-object-modal').modal('show');\n }\n}\n\n// called when the user wants to recook an archive\n// for which the download link is not available anymore\nexport async function recookObject() {\n if (recookTask) {\n // stop cooking tasks status polling\n clearTimeout(checkVaultId);\n // build cook request url\n let cookingUrl;\n if (recookTask.bundle_type === 'flat') {\n cookingUrl = Urls.api_1_vault_cook_flat(recookTask.swhid);\n } else {\n cookingUrl = Urls.api_1_vault_cook_git_bare(recookTask.swhid);\n }\n if (recookTask.email) {\n cookingUrl += '?email=' + recookTask.email;\n }\n try {\n // request archive cooking\n const response = await csrfPost(cookingUrl);\n handleFetchError(response);\n\n // update task status\n recookTask.status = 'new';\n const vaultCookingTasks = JSON.parse(localStorage.getItem('swh-vault-cooking-tasks'));\n for (let i = 0; i < vaultCookingTasks.length; ++i) {\n if (vaultCookingTasks[i].swhid === recookTask.swhid) {\n vaultCookingTasks[i] = recookTask;\n break;\n }\n }\n // save updated tasks to local storage\n localStorage.setItem('swh-vault-cooking-tasks', JSON.stringify(vaultCookingTasks));\n // hide recook archive modal\n $('#vault-recook-object-modal').modal('hide');\n // restart cooking tasks status polling\n await checkVaultCookingTasks();\n } catch (_) {\n // something went wrong\n $('#vault-recook-object-modal').modal('hide');\n await checkVaultCookingTasks();\n }\n }\n}\n\nasync function checkVaultCookingTasks() {\n const vaultCookingTasks = JSON.parse(localStorage.getItem('swh-vault-cooking-tasks'));\n if (!vaultCookingTasks || vaultCookingTasks.length === 0) {\n $('.swh-vault-table tbody tr').remove();\n checkVaultId = setTimeout(checkVaultCookingTasks, pollingInterval);\n return;\n }\n const cookingTaskRequests = [];\n const tasks = {};\n const currentObjectIds = [];\n\n for (let i = 0; i < vaultCookingTasks.length; ++i) {\n const cookingTask = vaultCookingTasks[i];\n\n if (typeof cookingTask.object_type !== 'undefined') {\n // Legacy cooking task, upgrade it to the new schema\n if (cookingTask.object_type === 'directory') {\n cookingTask.swhid = `swh:1:dir:${cookingTask.object_id}`;\n cookingTask.bundle_type = 'flat';\n cookingTask.fetch_url = Urls.api_1_vault_fetch_flat(cookingTask.swhid);\n } else if (cookingTask.object_type === 'revision') {\n cookingTask.swhid = `swh:1:rev:${cookingTask.object_id}`;\n cookingTask.bundle_type = 'git_bare';\n cookingTask.fetch_url = Urls.api_1_vault_fetch_git_bare(cookingTask.swhid);\n } else {\n // Log to the console + Sentry\n console.error(`Unexpected cookingTask.object_type: ${cookingTask.object_type}`);\n // Ignore it for now and hope a future version will fix it\n continue;\n }\n delete cookingTask.object_type;\n delete cookingTask.object_id;\n }\n\n currentObjectIds.push(cookingTask.swhid);\n tasks[cookingTask.swhid] = cookingTask;\n let cookingUrl;\n if (cookingTask.bundle_type === 'flat') {\n cookingUrl = Urls.api_1_vault_cook_flat(cookingTask.swhid);\n } else {\n cookingUrl = Urls.api_1_vault_cook_git_bare(cookingTask.swhid);\n }\n if (cookingTask.status !== 'done' && cookingTask.status !== 'failed') {\n cookingTaskRequests.push(fetch(cookingUrl));\n }\n }\n $('.swh-vault-table tbody tr').each((i, row) => {\n const swhid = $(row).find('.vault-object-info').data('swhid');\n if ($.inArray(swhid, currentObjectIds) === -1) {\n $(row).remove();\n }\n });\n try {\n const responses = await Promise.all(cookingTaskRequests);\n handleFetchErrors(responses);\n const cookingTasks = await Promise.all(responses.map(r => r.json()));\n\n const table = $('#vault-cooking-tasks tbody');\n for (let i = 0; i < cookingTasks.length; ++i) {\n const cookingTask = tasks[cookingTasks[i].swhid];\n cookingTask.status = cookingTasks[i].status;\n cookingTask.fetch_url = cookingTasks[i].fetch_url;\n cookingTask.progress_message = cookingTasks[i].progress_message;\n }\n for (let i = 0; i < vaultCookingTasks.length; ++i) {\n const cookingTask = vaultCookingTasks[i];\n const rowTask = $(`#vault-task-${CSS.escape(cookingTask.swhid)}`);\n\n if (!rowTask.length) {\n\n let browseUrl = cookingTask.browse_url;\n if (!browseUrl) {\n browseUrl = Urls.browse_swhid(cookingTask.swhid);\n }\n\n const progressBar = $.parseHTML(progress)[0];\n const progressBarContent = $(progressBar).find('.progress-bar');\n updateProgressBar(progressBarContent, cookingTask);\n table.prepend(vaultTableRowTemplate({\n browseUrl: browseUrl,\n cookingTask: cookingTask,\n progressBar: progressBar,\n Urls: Urls,\n swh: swh\n }));\n } else {\n const progressBar = rowTask.find('.progress-bar');\n updateProgressBar(progressBar, cookingTask);\n const downloadLink = rowTask.find('.vault-dl-link');\n if (cookingTask.status === 'done') {\n downloadLink[0].innerHTML =\n '<button class=\"btn btn-default btn-sm\" ' +\n `onclick=\"swh.vault.fetchCookedObject('${cookingTask.fetch_url}')\">` +\n '<i class=\"mdi mdi-download mdi-fw\" aria-hidden=\"true\"></i>Download</button>';\n } else {\n downloadLink[0].innerHTML = '';\n }\n }\n }\n localStorage.setItem('swh-vault-cooking-tasks', JSON.stringify(vaultCookingTasks));\n checkVaultId = setTimeout(checkVaultCookingTasks, pollingInterval);\n\n } catch (error) {\n console.log('Error when fetching vault cooking tasks:', error);\n }\n}\n\nexport function removeCookingTaskInfo(tasksToRemove) {\n let vaultCookingTasks = JSON.parse(localStorage.getItem('swh-vault-cooking-tasks'));\n if (!vaultCookingTasks) {\n return;\n }\n vaultCookingTasks = $.grep(vaultCookingTasks, task => {\n return $.inArray(task.swhid, tasksToRemove) === -1;\n });\n localStorage.setItem('swh-vault-cooking-tasks', JSON.stringify(vaultCookingTasks));\n}\n\nexport function initUi() {\n\n $('#vault-tasks-toggle-selection').change(event => {\n $('.vault-task-toggle-selection').prop('checked', event.currentTarget.checked);\n });\n\n $('#vault-remove-tasks').click(() => {\n clearTimeout(checkVaultId);\n const tasksToRemove = [];\n $('.swh-vault-table tbody tr').each((i, row) => {\n const taskSelected = $(row).find('.vault-task-toggle-selection').prop('checked');\n if (taskSelected) {\n const swhid = $(row).find('.vault-object-info').data('swhid');\n tasksToRemove.push(swhid);\n $(row).remove();\n }\n });\n removeCookingTaskInfo(tasksToRemove);\n $('#vault-tasks-toggle-selection').prop('checked', false);\n checkVaultId = setTimeout(checkVaultCookingTasks, pollingInterval);\n });\n\n checkVaultCookingTasks();\n\n window.onfocus = () => {\n clearTimeout(checkVaultId);\n checkVaultCookingTasks();\n };\n\n}\n",
"/**\n * Copyright (C) 2018-2020 The Software Heritage developers\n * See the AUTHORS file at the top-level directory of this distribution\n * License: GNU Affero General Public License version 3, or any later version\n * See top-level LICENSE file for more information\n */\n\n// utility functions\n\nimport Cookies from 'js-cookie';\n\nexport function handleFetchError(response) {\n if (!response.ok) {\n throw response;\n }\n return response;\n}\n\nexport function handleFetchErrors(responses) {\n for (let i = 0; i < responses.length; ++i) {\n if (!responses[i].ok) {\n throw responses[i];\n }\n }\n return responses;\n}\n\nexport function errorMessageFromResponse(errorData, defaultMessage) {\n let errorMessage = '';\n try {\n const reason = JSON.parse(errorData['reason']);\n Object.entries(reason).forEach((keys, _) => {\n const key = keys[0];\n const message = keys[1][0]; // take only the first issue\n errorMessage += `\\n${key}: ${message}`;\n });\n } catch (_) {\n errorMessage = errorData['reason']; // can't parse it, leave it raw\n }\n return errorMessage ? `Error: ${errorMessage}` : defaultMessage;\n}\n\nexport function staticAsset(asset) {\n return `${__STATIC__}${asset}`;\n}\n\nexport function csrfPost(url, headers = {}, body = null) {\n headers['X-CSRFToken'] = Cookies.get('csrftoken');\n return fetch(url, {\n credentials: 'include',\n headers: headers,\n method: 'POST',\n body: body\n });\n}\n\nexport function isGitRepoUrl(url, pathPrefix = '/') {\n const allowedProtocols = ['http:', 'https:', 'git:'];\n if (allowedProtocols.find(protocol => protocol === url.protocol) === undefined) {\n return false;\n }\n if (!url.pathname.startsWith(pathPrefix)) {\n return false;\n }\n const re = new RegExp('[\\\\w\\\\.-]+\\\\/?(?!=.git)(?:\\\\.git\\\\/?)?$');\n return re.test(url.pathname.slice(pathPrefix.length));\n};\n\nexport function removeUrlFragment() {\n history.replaceState('', document.title, window.location.pathname + window.location.search);\n}\n\nexport function selectText(startNode, endNode) {\n const selection = window.getSelection();\n selection.removeAllRanges();\n const range = document.createRange();\n range.setStart(startNode, 0);\n if (endNode.nodeName !== '#text') {\n range.setEnd(endNode, endNode.childNodes.length);\n } else {\n range.setEnd(endNode, endNode.textContent.length);\n }\n selection.addRange(range);\n}\n\nexport function htmlAlert(type, message, closable = false) {\n let closeButton = '';\n let extraClasses = '';\n if (closable) {\n closeButton =\n `<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>`;\n extraClasses = 'alert-dismissible';\n }\n return `<div class=\"alert alert-${type} ${extraClasses}\" role=\"alert\">${message}${closeButton}</div>`;\n}\n\nexport function isValidURL(string) {\n try {\n new URL(string);\n } catch (_) {\n return false;\n }\n return true;\n}\n\nexport async function isArchivedOrigin(originPath) {\n if (!isValidURL(originPath)) {\n // Not a valid URL, return immediately\n return false;\n } else {\n const response = await fetch(Urls.api_1_origin(originPath));\n return response.ok && response.status === 200; // Success response represents an archived origin\n }\n}\n\nasync function getCanonicalGithubOriginURL(ownerRepo) {\n const ghApiResponse = await fetch(`https://api.github.com/repos/${ownerRepo}`);\n if (ghApiResponse.ok && ghApiResponse.status === 200) {\n const ghApiResponseData = await ghApiResponse.json();\n return ghApiResponseData.html_url;\n }\n}\n\nexport async function getCanonicalOriginURL(originUrl) {\n let originUrlLower = originUrl.toLowerCase();\n // github.com URL processing\n const ghUrlRegex = /^http[s]*:\\/\\/github.com\\//;\n if (originUrlLower.match(ghUrlRegex)) {\n // remove trailing .git\n if (originUrlLower.endsWith('.git')) {\n originUrlLower = originUrlLower.slice(0, -4);\n }\n // remove trailing slash\n if (originUrlLower.endsWith('/')) {\n originUrlLower = originUrlLower.slice(0, -1);\n }\n // extract {owner}/{repo}\n const ownerRepo = originUrlLower.replace(ghUrlRegex, '');\n // fetch canonical URL from github Web API\n const url = await getCanonicalGithubOriginURL(ownerRepo);\n if (url) {\n return url;\n }\n }\n\n const ghpagesUrlRegex = /^http[s]*:\\/\\/(?<owner>[^/]+).github.io\\/(?<repo>[^/]+)\\/?.*/;\n const parsedUrl = originUrlLower.match(ghpagesUrlRegex);\n if (parsedUrl) {\n const ownerRepo = `${parsedUrl.groups.owner}/${parsedUrl.groups.repo}`;\n // fetch canonical URL from github Web API\n const url = await getCanonicalGithubOriginURL(ownerRepo);\n if (url) {\n return url;\n }\n }\n\n return originUrl;\n}\n\nexport function getHumanReadableDate(data) {\n // Display iso format date string into a human readable date\n // This is expected to be used by date field in datatable listing views\n // Example: 3/24/2022, 10:31:08 AM\n const date = new Date(data);\n return date.toLocaleString();\n}\n",
"module.exports = function anonymous(locals, escapeFn, include, rethrow\n) {\nescapeFn = escapeFn || function (markup) {\n return markup == undefined\n ? ''\n : String(markup)\n .replace(_MATCH_HTML, encode_char);\n};\nvar _ENCODE_HTML_RULES = {\n \"&\": \"&amp;\"\n , \"<\": \"&lt;\"\n , \">\": \"&gt;\"\n , '\"': \"&#34;\"\n , \"'\": \"&#39;\"\n }\n , _MATCH_HTML = /[&<>'\"]/g;\nfunction encode_char(c) {\n return _ENCODE_HTML_RULES[c] || c;\n};\n;\n var __output = \"\";\n function __append(s) { if (s !== undefined && s !== null) __output += s }\n with (locals || {}) {\n ; __append(\"\\n\\n\")\n ; if (cookingTask.swhid.match(/^swh:1:dir:.*/)) { \n ; __append(\"\\n <tr id=\\\"vault-task-\")\n ; __append(escapeFn( cookingTask.swhid ))\n ; __append(\"\\\" title=\\\"Once downloaded, the directory can be extracted with the following command:\\n\\n$ tar xvzf \")\n ; __append(escapeFn( cookingTask.swhid ))\n ; __append(\".tar.gz\\\">\\n\")\n ; } else { \n ; __append(\"\\n </tr><tr id=\\\"vault-task-\")\n ; __append(escapeFn( cookingTask.swhid ))\n ; __append(\"\\\" title=\\\"Once downloaded, the git repository can be imported to a 'new_repository' directory with the following commands:\\n\\n$ tar xvf \")\n ; __append(escapeFn( cookingTask.swhid ))\n ; __append(\".git.tar\\n$ git clone \")\n ; __append(escapeFn( cookingTask.swhid ))\n ; __append(\".git new_repository\\n$ cd new_repository/\\\">\\n\")\n ; } \n ; __append(\"\\n <td>\\n <div class=\\\"custom-control custom-checkbox\\\">\\n <input type=\\\"checkbox\\\" class=\\\"custom-control-input vault-task-toggle-selection\\\" id=\\\"vault-task-toggle-selection-\")\n ; __append(escapeFn( cookingTask.swhid ))\n ; __append(\"\\\">\\n <label class=\\\"custom-control-label\\\" for=\\\"vault-task-toggle-selection-\")\n ; __append(escapeFn( cookingTask.swhid ))\n ; __append(\"\\\">\\n </label>\\n </div></td>\\n \")\n ; if (cookingTask.origin) { \n ; __append(\"\\n <td class=\\\"vault-origin\\\">\\n <a href=\\\"\")\n ; __append(escapeFn( Urls.browse_origin() ))\n ; __append(\"?origin_url=\")\n ; __append(escapeFn( cookingTask.origin ))\n ; __append(\"\\\">\\n \")\n ; __append(escapeFn( decodeURIComponent(cookingTask.origin) ))\n ; __append(\"\\n </a>\\n </td>\\n \")\n ; } else { \n ; __append(\"\\n <td class=\\\"vault-origin\\\">unknown</td>\\n \")\n ; } \n ; __append(\"\\n <td>\\n <i class=\\\"\")\n ; __append(escapeFn( swh.webapp.getSwhObjectIcon(cookingTask.swhid.match(/swh:1:([a-z]+):/)[1]) ))\n ; __append(\" mdi-fw\\\"></i>\\n \")\n ; __append(escapeFn( cookingTask.bundle_type ))\n ; __append(\"\\n </td>\\n <td class=\\\"vault-object-info\\\" data-swhid=\\\"\")\n ; __append(escapeFn( cookingTask.swhid ))\n ; __append(\"\\\">\\n <b>id:</b>&nbsp;<a href=\\\"\")\n ; __append(escapeFn( browseUrl ))\n ; __append(\"\\\">\")\n ; __append(escapeFn( cookingTask.swhid ))\n ; __append(\"</a>\\n \")\n ; if (cookingTask.path) { \n ; __append(\"\\n <br><b>path:</b>&nbsp;\")\n ; __append(escapeFn( cookingTask.path ))\n ; __append(\"\\n \")\n ; } \n ; __append(\"\\n </td>\\n <td>\")\n ; __append( progressBar.outerHTML )\n ; __append(\"</td>\\n <td class=\\\"vault-dl-link\\\">\\n \")\n ; if (cookingTask.status === 'done') { \n ; __append(\"\\n <button class=\\\"btn btn-default btn-sm\\\" onclick=\\\"swh.vault.fetchCookedObject('\")\n ; __append(escapeFn( cookingTask.fetch_url ))\n ; __append(\"')\\\">\\n <i class=\\\"mdi mdi-download mdi-fw\\\" aria-hidden=\\\"true\\\"></i>Download\\n </button>\\n \")\n ; } \n ; __append(\"\\n </td>\\n </tr>\\n\")\n }\n return __output;\n\n}",
"\"use strict\";\r\n\r\nvar tester = /^[-!#$%&'*+\\/0-9=?A-Z^_a-z{|}~](\\.?[-!#$%&'*+\\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\\.?[a-zA-Z0-9])*\\.[a-zA-Z](-?[a-zA-Z0-9])+$/;\r\n// Thanks to:\r\n// http://fightingforalostcause.net/misc/2006/compare-email-regex.php\r\n// http://thedailywtf.com/Articles/Validating_Email_Addresses.aspx\r\n// http://stackoverflow.com/questions/201323/what-is-the-best-regular-expression-for-validating-email-addresses/201378#201378\r\nexports.validate = function(email)\r\n{\r\n\tif (!email)\r\n\t\treturn false;\r\n\t\t\r\n\tif(email.length>254)\r\n\t\treturn false;\r\n\r\n\tvar valid = tester.test(email);\r\n\tif(!valid)\r\n\t\treturn false;\r\n\r\n\t// Further checking of some things regex can't handle\r\n\tvar parts = email.split(\"@\");\r\n\tif(parts[0].length>64)\r\n\t\treturn false;\r\n\r\n\tvar domainParts = parts[1].split(\".\");\r\n\tif(domainParts.some(function(part) { return part.length>63; }))\r\n\t\treturn false;\r\n\r\n\treturn true;\r\n}",
"/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n",
"function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}",
"/*! js-cookie v3.0.1 | MIT */\n/* eslint-disable no-var */\nfunction assign (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n target[key] = source[key];\n }\n }\n return target\n}\n/* eslint-enable no-var */\n\n/* eslint-disable no-var */\nvar defaultConverter = {\n read: function (value) {\n if (value[0] === '\"') {\n value = value.slice(1, -1);\n }\n return value.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent)\n },\n write: function (value) {\n return encodeURIComponent(value).replace(\n /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,\n decodeURIComponent\n )\n }\n};\n/* eslint-enable no-var */\n\n/* eslint-disable no-var */\n\nfunction init (converter, defaultAttributes) {\n function set (key, value, attributes) {\n if (typeof document === 'undefined') {\n return\n }\n\n attributes = assign({}, defaultAttributes, attributes);\n\n if (typeof attributes.expires === 'number') {\n attributes.expires = new Date(Date.now() + attributes.expires * 864e5);\n }\n if (attributes.expires) {\n attributes.expires = attributes.expires.toUTCString();\n }\n\n key = encodeURIComponent(key)\n .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)\n .replace(/[()]/g, escape);\n\n var stringifiedAttributes = '';\n for (var attributeName in attributes) {\n if (!attributes[attributeName]) {\n continue\n }\n\n stringifiedAttributes += '; ' + attributeName;\n\n if (attributes[attributeName] === true) {\n continue\n }\n\n // Considers RFC 6265 section 5.2:\n // ...\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n // Consume the characters of the unparsed-attributes up to,\n // not including, the first %x3B (\";\") character.\n // ...\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n }\n\n return (document.cookie =\n key + '=' + converter.write(value, key) + stringifiedAttributes)\n }\n\n function get (key) {\n if (typeof document === 'undefined' || (arguments.length && !key)) {\n return\n }\n\n // To prevent the for loop in the first place assign an empty array\n // in case there are no cookies at all.\n var cookies = document.cookie ? document.cookie.split('; ') : [];\n var jar = {};\n for (var i = 0; i < cookies.length; i++) {\n var parts = cookies[i].split('=');\n var value = parts.slice(1).join('=');\n\n try {\n var foundKey = decodeURIComponent(parts[0]);\n jar[foundKey] = converter.read(value, foundKey);\n\n if (key === foundKey) {\n break\n }\n } catch (e) {}\n }\n\n return key ? jar[key] : jar\n }\n\n return Object.create(\n {\n set: set,\n get: get,\n remove: function (key, attributes) {\n set(\n key,\n '',\n assign({}, attributes, {\n expires: -1\n })\n );\n },\n withAttributes: function (attributes) {\n return init(this.converter, assign({}, this.attributes, attributes))\n },\n withConverter: function (converter) {\n return init(assign({}, this.converter, converter), this.attributes)\n }\n },\n {\n attributes: { value: Object.freeze(defaultAttributes) },\n converter: { value: Object.freeze(converter) }\n }\n )\n}\n\nvar api = init(defaultConverter, { path: '/' });\n/* eslint-enable no-var */\n\nexport default api;\n",
"// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n",
"// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};",
"// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};",
"__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }",
"// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"
],
"names": [
"root",
"factory",
"exports",
"module",
"define",
"amd",
"self",
"alertStyle",
"vaultModalHandleEnterKey",
"event",
"keyCode",
"preventDefault",
"$",
"last",
"find",
"trigger",
"vaultRequest",
"objectType",
"swhid",
"vaultUrl",
"Urls",
"api_1_vault_cook_flat",
"api_1_vault_cook_git_bare",
"fetch",
"response",
"json",
"data",
"exception",
"status",
"swh",
"vault",
"removeCookingTaskInfo",
"vaultModalId",
"modal",
"on",
"cookingServiceDownAlert",
"htmlAlert",
"css",
"append",
"addVaultCookingTask",
"cookingTask",
"swhidsContext",
"webapp",
"getSwhIdsContext",
"origin",
"context",
"path",
"browse_url",
"swhid_with_context_url",
"swhid_url",
"vaultCookingTasks",
"JSON",
"parse",
"localStorage",
"getItem",
"undefined",
"val",
"bundle_type",
"cookingUrl",
"email",
"encodeURIComponent",
"csrfPost",
"handleFetchError",
"push",
"setItem",
"stringify",
"off",
"cookingTaskCreatedAlert",
"browse_vault",
"cookingTaskFailedAlert",
"cookDirectoryArchive",
"trim",
"EmailValidator",
"fetchDirectoryArchive",
"directorySwhid",
"fetchCookedObject",
"fetch_url",
"cookRevisionArchive",
"revisionId",
"fetchRevisionArchive",
"revisionSwhid",
"checkVaultId",
"recookTask",
"progress",
"pollingInterval",
"updateProgressBar",
"progressBar",
"firstLine",
"rest",
"progress_message",
"split",
"text",
"length",
"prop",
"addClass",
"removeClass",
"fetchUrl",
"ok",
"attr",
"i",
"recookObject",
"clearTimeout",
"checkVaultCookingTasks",
"remove",
"setTimeout",
"cookingTaskRequests",
"tasks",
"currentObjectIds",
"object_type",
"object_id",
"api_1_vault_fetch_flat",
"api_1_vault_fetch_git_bare",
"console",
"error",
"each",
"row",
"inArray",
"Promise",
"all",
"responses",
"handleFetchErrors",
"map",
"r",
"cookingTasks",
"table",
"rowTask",
"CSS",
"escape",
"downloadLink",
"innerHTML",
"browseUrl",
"browse_swhid",
"parseHTML",
"prepend",
"vaultTableRowTemplate",
"log",
"tasksToRemove",
"grep",
"task",
"initUi",
"change",
"currentTarget",
"checked",
"click",
"window",
"onfocus",
"url",
"headers",
"body",
"Cookies",
"credentials",
"method",
"type",
"message",
"closable",
"closeButton",
"extraClasses",
"anonymous",
"locals",
"escapeFn",
"include",
"rethrow",
"markup",
"String",
"replace",
"_MATCH_HTML",
"encode_char",
"_ENCODE_HTML_RULES",
"c",
"__output",
"__append",
"s",
"match",
"browse_origin",
"decodeURIComponent",
"getSwhObjectIcon",
"outerHTML",
"tester",
"test",
"parts",
"some",
"part",
"runtime",
"Op",
"Object",
"prototype",
"hasOwn",
"hasOwnProperty",
"$Symbol",
"Symbol",
"iteratorSymbol",
"iterator",
"asyncIteratorSymbol",
"asyncIterator",
"toStringTagSymbol",
"toStringTag",
"obj",
"key",
"value",
"defineProperty",
"enumerable",
"configurable",
"writable",
"err",
"wrap",
"innerFn",
"outerFn",
"tryLocsList",
"protoGenerator",
"Generator",
"generator",
"create",
"Context",
"_invoke",
"state",
"GenStateSuspendedStart",
"arg",
"GenStateExecuting",
"Error",
"GenStateCompleted",
"doneResult",
"delegate",
"delegateResult",
"maybeInvokeDelegate",
"ContinueSentinel",
"sent",
"_sent",
"dispatchException",
"abrupt",
"record",
"tryCatch",
"done",
"GenStateSuspendedYield",
"makeInvokeMethod",
"fn",
"call",
"GeneratorFunction",
"GeneratorFunctionPrototype",
"IteratorPrototype",
"this",
"getProto",
"getPrototypeOf",
"NativeIteratorPrototype",
"values",
"Gp",
"defineIteratorMethods",
"forEach",
"AsyncIterator",
"PromiseImpl",
"invoke",
"resolve",
"reject",
"result",
"__await",
"then",
"unwrapped",
"previousPromise",
"callInvokeWithMethodAndArg",
"TypeError",
"info",
"resultName",
"next",
"nextLoc",
"pushTryEntry",
"locs",
"entry",
"tryLoc",
"catchLoc",
"finallyLoc",
"afterLoc",
"tryEntries",
"resetTryEntry",
"completion",
"reset",
"iterable",
"iteratorMethod",
"isNaN",
"constructor",
"displayName",
"isGeneratorFunction",
"genFun",
"ctor",
"name",
"mark",
"setPrototypeOf",
"__proto__",
"awrap",
"async",
"iter",
"toString",
"keys",
"object",
"reverse",
"pop",
"skipTempReset",
"prev",
"charAt",
"slice",
"stop",
"rootRecord",
"rval",
"handle",
"loc",
"caught",
"hasCatch",
"hasFinally",
"finallyEntry",
"complete",
"finish",
"thrown",
"delegateYield",
"regeneratorRuntime",
"accidentalStrictMode",
"Function",
"asyncGeneratorStep",
"gen",
"_next",
"_throw",
"_asyncToGenerator",
"args",
"arguments",
"apply",
"assign",
"target",
"source",
"api",
"init",
"converter",
"defaultAttributes",
"set",
"attributes",
"document",
"expires",
"Date",
"now",
"toUTCString",
"stringifiedAttributes",
"attributeName",
"cookie",
"write",
"get",
"cookies",
"jar",
"join",
"foundKey",
"read",
"e",
"withAttributes",
"withConverter",
"freeze",
"__webpack_module_cache__",
"__webpack_require__",
"moduleId",
"cachedModule",
"__webpack_modules__",
"n",
"getter",
"__esModule",
"d",
"a",
"definition",
"o"
],
"sourceRoot": ""
}

File Metadata

Mime Type
application/json
Expires
Fri, Jul 4, 3:18 PM (5 d, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3340884

Event Timeline