Page MenuHomeSoftware Heritage

add_forge_now.be14507bc77d00485525.js
No OneTemporary

add_forge_now.be14507bc77d00485525.js

/*! For license information please see add_forge_now.be14507bc77d00485525.js.LICENSE.txt */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.swh=t():(e.swh=e.swh||{},e.swh.add_forge_now=t())}(self,(function(){return function(){var __webpack_modules__={87757:function(e,t,r){e.exports=r(35666)},86515:function(e,t,r){"use strict";r.d(t,{XC:function(){return n}});var n=(0,r(59537).TT)("img/swh-spinner.gif")},59537:function(e,t,r){"use strict";r.d(t,{DK:function(){return a},Jp:function(){return c},TT:function(){return i},_3:function(){return d},e_:function(){return s},mQ:function(){return u},ry:function(){return o}});r(87757);var n=r(31955);function o(e){if(!e.ok)throw e;return e}function a(e,t){var r="";try{var n=JSON.parse(e.reason);Object.entries(n).forEach((function(e,t){var n=e[0],o=e[1][0];r+="\n"+n+": "+o}))}catch(t){r=e.reason}return r?"Error: "+r:t}function i(e){return"/static/"+e}function s(e,t,r){return void 0===t&&(t={}),void 0===r&&(r=null),t["X-CSRFToken"]=n.Z.get("csrftoken"),fetch(e,{credentials:"include",headers:t,method:"POST",body:r})}function u(e,t){void 0===t&&(t=[]);var r=null,n=!0;try{r=new URL(e)}catch(e){n=!1}return n&&t.length&&(n=void 0!==t.find((function(e){return e===r.protocol}))),n?r:null}function c(e){return new Date(e).toLocaleString()}function d(e,t,r,n){if(void 0===r&&(r=!1),void 0===n&&(n=""),"display"===t&&e){var o=encodeURI(e);n||(n=o);var a="";return r&&(a='target="_blank" rel="noopener noreferrer"'),'<a href="'+o+'" '+a+">"+n+"</a>"}return e}},27931:function(e,t,r){"use strict";r.d(t,{Br:function(){return _},Tl:function(){return p},xE:function(){return f}});var n,o=r(15861),a=r(87757),i=r.n(a),s=r(86515),u=r(59537),c=r(39449),d="swh-add-forge-user-filter",l=r.n(c)()({inputId:d,checked:!0});function p(){$(document).ready((function(){$("#requestCreateForm").submit(function(){var e=(0,o.Z)(i().mark((function e(t){var r,o,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.prev=1,e.next=4,(0,u.e_)($(this).attr("action"),{"Content-Type":"application/x-www-form-urlencoded"},$(this).serialize());case 4:r=e.sent,(0,u.ry)(r),$("#userMessageDetail").empty(),$("#userMessage").text("Your request has been submitted"),$("#userMessage").removeClass("badge-danger"),$("#userMessage").addClass("badge-success"),n.draw(),e.next=23;break;case 13:return e.prev=13,e.t0=e.catch(1),$("#userMessageDetail").empty(),e.next=18,e.t0.json();case 18:a=e.sent,o=409===e.t0.status?a:(0,u.DK)(a,"An unknown error occurred during the request creation"),$("#userMessage").text(o),$("#userMessage").removeClass("badge-success"),$("#userMessage").addClass("badge-danger");case 23:case"end":return e.stop()}}),e,this,[[1,13]])})));return function(t){return e.apply(this,arguments)}}()),f()}))}function f(){n=$("#add-forge-request-browse").on("error.dt",(function(e,t,r,n){$("#add-forge-browse-request-error").text(n)})).DataTable({serverSide:!0,processing:!0,language:{processing:'<img src="'+s.XC+'"></img>'},retrieve:!0,searching:!0,dom:'<"row"<"col-sm-3"l><"col-sm-6 text-left user-requests-filter"><"col-sm-3"f>><"row"<"col-sm-12"tr>><"row"<"col-sm-5"i><"col-sm-7"p>>',ajax:{url:Urls.add_forge_request_list_datatables(),data:function(e){var t=$("#"+d).prop("checked");swh.webapp.isUserLoggedIn()&&(void 0===t||t)&&(e.user_requests_only="1")}},fnInitComplete:function(){swh.webapp.isUserLoggedIn()&&($("div.user-requests-filter").html(l),$("#"+d).on("change",(function(){n.draw()})))},columns:[{data:"submission_date",name:"submission_date",render:u.Jp},{data:"forge_type",name:"forge_type",render:$.fn.dataTable.render.text()},{data:"forge_url",name:"forge_url",render:function(e,t,r){var n=$.fn.dataTable.render.text().display(e);return(0,u._3)(n,t,!0)}},{data:"status",name:"status",render:function(e,t,r,n){return swh.add_forge_now.formatRequestStatusName(e)}},{render:function(e,t,r){if("FIRST_ORIGIN_LOADED"===r.status){var n=$.fn.dataTable.render.text().display(r.forge_url),o=Urls.browse_search()+"?q="+encodeURIComponent(n);return'<a href="'+(o+="&with_visit=true&with_content=true")+'" target="_blank" rel="noopener noreferrer" class="swh-search-forge-origins" title="Search for origins listed from that forge"><i class="mdi mdi-magnify" aria-hidden="true"></i></a>'}return""}}],order:[[0,"desc"]]})}function _(e){var t="";(0,u.mQ)(e.value.trim(),["http:","https:"])||(t="The provided forge URL is not valid."),e.setCustomValidity(t)}},23120:function(e,t,r){"use strict";r.d(t,{f:function(){return s},y:function(){return u}});var n=r(15861),o=r(87757),a=r.n(o),i=r(59537);function s(){u()}function u(){return c.apply(this,arguments)}function c(){return(c=(0,n.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:$("#swh-add-forge-now-moderation-list").on("error.dt",(function(e,t,r,n){$("#swh-add-forge-now-moderation-list-error").text(n)})).DataTable({serverSide:!0,processing:!0,searching:!0,dom:'<<"d-flex justify-content-between align-items-center"f<"#list-exclude">l>rt<"bottom"ip>>',ajax:{url:Urls.add_forge_request_list_datatables()},columns:[{data:"id",name:"id",render:function(e,t,r,n){return"<a href="+Urls.add_forge_now_request_dashboard(e)+">"+e+"</a>"}},{data:"submission_date",name:"submission_date",render:i.Jp},{data:"forge_type",name:"forge_type",render:$.fn.dataTable.render.text()},{data:"forge_url",name:"forge_url",render:function(e,t,r){var n=$.fn.dataTable.render.text().display(e);return(0,i._3)(n,t,!0)}},{data:"last_moderator",name:"last_moderator",render:$.fn.dataTable.render.text()},{data:"last_modified_date",name:"last_modified_date",render:i.Jp},{data:"status",name:"status",render:function(e,t,r,n){return swh.add_forge_now.formatRequestStatusName(e)}},{render:function(e,t,r){var n='<div class="d-flex">';if(n+='<a class="swh-forge-request-dashboard-link" href="'+Urls.add_forge_now_request_dashboard(r.id)+'" title="Go to request dashboard"><i class="mdi mdi-square-edit-outline" aria-hidden="true"></i></a>',"FIRST_ORIGIN_LOADED"===r.status){var o=$.fn.dataTable.render.text().display(r.forge_url),a=Urls.browse_search()+"?q="+encodeURIComponent(o);n+='<a href="'+(a+="&with_visit=true&with_content=true")+'" target="_blank" rel="noopener noreferrer" class="swh-search-forge-origins" title="Search for origins listed from that forge"><i class="mdi mdi-magnify" aria-hidden="true"></i></a>'}return n+="</div>"}}],order:[[0,"desc"]]});case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},39333:function(e,t,r){"use strict";r.d(t,{H:function(){return g},q:function(){return p}});var n,o=r(15861),a=r(87757),i=r.n(a),s=r(59537),u=r(31878),c=r.n(u),d=r(92791),l=r.n(d);function p(e,t){$(document).ready((function(){f(e,t),$("#contactForgeAdmin").click((function(e){var t,r,o,a,i;t=encodeURIComponent($("#contactForgeAdmin").attr("emailTo")),r=encodeURIComponent($("#contactForgeAdmin").attr("emailCc")),o=encodeURIComponent($("#contactForgeAdmin").attr("emailSubject")),a=encodeURIComponent(l()({forgeUrl:n.forge_url}).trim().replace(/\n/g,"\r\n")),(i=window.open("","_blank","",!0)).location.href="mailto:"+t+"?Cc="+r+"&Reply-To="+r+"&Subject="+o+"&body="+a,i.focus()})),$("#updateRequestForm").submit(function(){var r=(0,o.Z)(i().mark((function r(n){var o;return i().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n.preventDefault(),r.prev=1,r.next=4,(0,s.e_)($(this).attr("action"),{"Content-Type":"application/x-www-form-urlencoded"},$(this).serialize());case 4:o=r.sent,(0,s.ry)(o),$("#userMessage").text("The request status has been updated "),$("#userMessage").removeClass("badge-danger"),$("#userMessage").addClass("badge-success"),f(e,t),r.next=17;break;case 12:r.prev=12,r.t0=r.catch(1),$("#userMessage").text("Sorry; Updating the request failed"),$("#userMessage").removeClass("badge-success"),$("#userMessage").addClass("badge-danger");case 17:case"end":return r.stop()}}),r,this,[[1,12]])})));return function(e){return r.apply(this,arguments)}}())}))}function f(e,t){return _.apply(this,arguments)}function _(){return(_=(0,o.Z)(i().mark((function e(t,r){var o,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(Urls.api_1_add_forge_request_get(t));case 3:return o=e.sent,(0,s.ry)(o),e.next=7,o.json();case 7:a=e.sent,n=a.request,$("#requestStatus").text(swh.add_forge_now.formatRequestStatusName(n.status)),$("#requestType").text(n.forge_type),$("#requestURL").text(n.forge_url),$("#requestContactName").text(n.forge_contact_name),$("#requestContactConsent").text(n.submitter_forward_username),$("#requestContactEmail").text(n.forge_contact_email),$("#submitterMessage").text(n.forge_contact_comment),$("#updateComment").val(""),$("#contactForgeAdmin").attr("emailTo",n.forge_contact_email),$("#contactForgeAdmin").attr("emailCc",n.inbound_email_address),$("#contactForgeAdmin").attr("emailSubject","Software Heritage archival notification for "+n.forge_domain),h(a.history),g(n.status,r),e.next=32;break;case 24:if(e.prev=24,e.t0=e.catch(0),!(e.t0 instanceof Response)){e.next=31;break}$("#fetchError").removeClass("d-none"),$("#requestDetails").addClass("d-none"),e.next=32;break;case 31:throw e.t0;case 32:case"end":return e.stop()}}),e,null,[[0,24]])})))).apply(this,arguments)}function h(e){$("#requestHistory").children().remove(),e.forEach((function(e,t){var r=c()({event:e,index:t,getHumanReadableDate:s.Jp});$("#requestHistory").append(r)}))}function g(e,t){var r=t[e];$("#decisionOptions").children().remove(),r.forEach((function(e,t){var r=swh.add_forge_now.formatRequestStatusName(e);$("#decisionOptions").append('<option value="'+e+'">'+r+"</option>")})),$("#decisionOptions").append("<option hidden disabled selected value> -- Add a comment -- </option>")}},39449:function(module){module.exports=function anonymous(locals,escapeFn,include,rethrow){escapeFn=escapeFn||function(e){return null==e?"":String(e).replace(_MATCH_HTML,encode_char)};var _ENCODE_HTML_RULES={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#34;","'":"&#39;"},_MATCH_HTML=/[&<>'"]/g;function encode_char(e){return _ENCODE_HTML_RULES[e]||e}var __output="";function __append(e){null!=e&&(__output+=e)}with(locals||{})__append('\n<div class="custom-control custom-checkbox swhid-option">\n <input class="custom-control-input" value="option-user-requests-filter" type="checkbox"\n '),checked&&__append('\n checked="checked"\n '),__append('\n id="'),__append(escapeFn(inputId)),__append('">\n <label class="custom-control-label font-weight-normal" for="'),__append(escapeFn(inputId)),__append('">\n show only your own requests\n </label>\n</div>\n');return __output}},31878:function(module){module.exports=function anonymous(locals,escapeFn,include,rethrow){escapeFn=escapeFn||function(e){return null==e?"":String(e).replace(_MATCH_HTML,encode_char)};var _ENCODE_HTML_RULES={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#34;","'":"&#39;"},_MATCH_HTML=/[&<>'"]/g;function encode_char(e){return _ENCODE_HTML_RULES[e]||e}var __output="";function __append(e){null!=e&&(__output+=e)}with(locals||{})__append('\n<div class="history-item">\n\t<div class="card border-dark">\n\t\t<div class="card-header" id="historyItem'),__append(escapeFn(index)),__append('">\n\t\t\t<h2 class="mb-0">\n\t\t\t\t<button class="btn btn-link" type="button" data-toggle="collapse" data-target="#historyItemBody'),__append(escapeFn(index)),__append('" aria-expanded="true" aria-controls="collapse$'),__append(escapeFn(index)),__append('">\n\t\t\t\t\t\t\t\tFrom '),__append(escapeFn(event.actor)),__append(" ("),__append(escapeFn(event.actor_role)),__append(") on "),__append(escapeFn(getHumanReadableDate(event.date))),__append("\n\t\t\t\t\t"),null!==event.new_status&&(__append('\n\t\t\t\t\t<span style="padding-left: 10px;">New status:</span> '),__append(escapeFn(swh.add_forge_now.formatRequestStatusName(event.new_status))),__append("\n\t\t\t\t\t")),__append('\n\t\t\t\t</button>\n\t\t\t</h2>\n\t\t</div>\n\t\t<div id="historyItemBody'),__append(escapeFn(index)),__append('" class="collapse" aria-labelledby="historyItem'),__append(escapeFn(index)),__append('" data-parent="#requestHistory">\n\t\t\t<div class="card-body">\n\t\t\t\t'),event.text&&(__append("\n\t\t\t\t<pre>"),__append(escapeFn(event.text)),__append("</pre>\n\t\t\t\t")),__append("\n\t\t\t\t"),null!==event.message_source_url&&(__append('\n\t\t\t\t<p><a href="'),__append(escapeFn(event.message_source_url)),__append('">Open original message in email client</a></p>\n\t\t\t\t')),__append("\n\t\t\t\t"),null!==event.new_status&&(__append("\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<span>Status changed to:</span> <strong>"),__append(escapeFn(swh.add_forge_now.formatRequestStatusName(event.new_status))),__append("</strong>\n\t\t\t\t\t</p>\n\t\t\t\t")),__append("\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n");return __output}},92791:function(module){module.exports=function anonymous(locals,escapeFn,include,rethrow){escapeFn=escapeFn||function(e){return null==e?"":String(e).replace(_MATCH_HTML,encode_char)};var _ENCODE_HTML_RULES={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#34;","'":"&#39;"},_MATCH_HTML=/[&<>'"]/g;function encode_char(e){return _ENCODE_HTML_RULES[e]||e}var __output="";function __append(e){null!=e&&(__output+=e)}with(locals||{})__append("\nDear forge administrator,\n\nThe mission of Software Heritage is to collect, preserve and share all\nthe publicly available source code (see\nhttps://www.softwareheritage.org for more information).\n\nWe just received a request to add the forge hosted at "),__append(escapeFn(forgeUrl)),__append('\nto the list of software origins that are archived, and it is our\nunderstanding that you are the contact person for this forge.\n\nIn order to archive the forge contents, we will have to periodically\npull the public repositories it contains and clone them into the\nSoftware Heritage archive.\n\nPlease let us know if there are any technical issues to consider before\n we launch the archival of the public repositories hosted on your\n infrastructure.(use "Reply all" to ensure our system will process\n your answer properly)\n\nIn the absence of an answer to this message, we will start to archive\nyour forge in the coming weeks (only the publicly accessible\nrepositories will be archived)\n\nThank you in advance for your help.\n\nKind regards,\nThe Software Heritage team\n');return __output}},35666:function(e){var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),s=new C(n||[]);return o(i,"_invoke",{value:S(e,r,s)}),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=d;var p="suspendedStart",f="executing",_="completed",h={};function g(){}function m(){}function v(){}var w={};c(w,i,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(R([])));b&&b!==r&&n.call(b,i)&&(w=b);var x=v.prototype=g.prototype=Object.create(w);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function r(o,a,i,s){var u=l(e[o],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,s)}))}s(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function S(e,t,r){var n=p;return function(o,a){if(n===f)throw new Error("Generator is already running");if(n===_){if("throw"===o)throw a;return $()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=T(i,r);if(s){if(s===h)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===p)throw n=_,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var u=l(e,t,r);if("normal"===u.type){if(n=r.done?_:"suspendedYield",u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=_,r.method="throw",r.arg=u.arg)}}}function T(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,T(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var a=l(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,h;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function q(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function R(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:$}}function $(){return{value:t,done:!0}}return m.prototype=v,o(x,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:m,configurable:!0}),m.displayName=c(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,u,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},E(k.prototype),c(k.prototype,s,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new k(d(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(x),c(x,u,"Generator"),c(x,i,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=R,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(q),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),q(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;q(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},15861:function(e,t,r){"use strict";function n(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,u,"next",e)}function u(e){n(i,o,a,s,u,"throw",e)}s(void 0)}))}}r.d(t,{Z:function(){return o}})},31955:function(e,t){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var n=function e(t,n){function o(e,o,a){if("undefined"!=typeof document){"number"==typeof(a=r({},n,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in a)a[s]&&(i+="; "+s,!0!==a[s]&&(i+="="+a[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var a=r[o].split("="),i=a.slice(1).join("=");try{var s=decodeURIComponent(a[0]);if(n[s]=t.read(i,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){o(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});t.Z=n}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={},_global;return _global="undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{},_global.SENTRY_RELEASE={id:"0.2.9"},_global.SENTRY_RELEASES=_global.SENTRY_RELEASES||{},_global.SENTRY_RELEASES["swh-webapp@swh"]={id:"0.2.9"},function(){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{formatRequestStatusName:function(){return n},onCreateRequestPageLoad:function(){return e.Tl},onModerationPageLoad:function(){return t.f},onRequestDashboardLoad:function(){return r.q},populateDecisionSelectOption:function(){return r.H},populateModerationList:function(){return t.y},populateRequestBrowseList:function(){return e.xE},validateForgeUrl:function(){return e.Br}});var e=__webpack_require__(27931),t=__webpack_require__(23120),r=__webpack_require__(39333);function n(e){var t={PENDING:"Pending",WAITING_FOR_FEEDBACK:"Waiting for feedback",FEEDBACK_TO_HANDLE:"Feedback to handle",ACCEPTED:"Accepted",SCHEDULED:"Scheduled",FIRST_LISTING_DONE:"First listing done",FIRST_ORIGIN_LOADED:"First origin loaded",REJECTED:"Rejected",SUSPENDED:"Suspended",UNSUCCESSFUL:"Unsuccessful"};return e in t?t[e]:e}}(),__webpack_exports__}()}));
//# sourceMappingURL=add_forge_now.be14507bc77d00485525.js.map

File Metadata

Mime Type
text/html
Expires
Fri, Jul 4, 2:55 PM (4 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3369342

Event Timeline