swh.web 0.16.2__py3-none-any.whl → 0.16.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. swh/web/browse/templates/browse-iframe.html +1 -0
  2. swh/web/inbound_email/handle_message.py +1 -1
  3. swh/web/inbound_email/tests/test_utils.py +2 -2
  4. swh/web/save_code_now/assets/origin-save-admin.js +5 -2
  5. swh/web/save_code_now/assets/origin-save.js +9 -4
  6. swh/web/static/js/add_forge_now.e25d1ad2ab6c45e60b67.js.map +1 -1
  7. swh/web/static/js/auth.bd2f475f49caa9f84e99.js.map +1 -1
  8. swh/web/static/js/browse.fc5d5fafca71e03d2add.js.map +1 -1
  9. swh/web/static/js/deposit.d47e18177b16ccdbdb84.js.map +1 -1
  10. swh/web/static/js/{highlightjs.dc9b8354c69d942fad33.js → highlightjs.14fc09414685bf90c554.js} +3 -3
  11. swh/web/static/js/highlightjs.14fc09414685bf90c554.js.map +1 -0
  12. swh/web/static/js/mailmap.631c53127ba5511ebda7.js.map +1 -1
  13. swh/web/static/js/mathjax.98ef576f318f1a0b0c4a.js.map +1 -1
  14. swh/web/static/js/{revision.ac9293e1b984b4d4d909.js → revision.61c9277f4a4c63df0f45.js} +3 -3
  15. swh/web/static/js/{revision.ac9293e1b984b4d4d909.js.map → revision.61c9277f4a4c63df0f45.js.map} +1 -1
  16. swh/web/static/js/save_code_now.4211098f5dd740dc49b4.js +3 -0
  17. swh/web/static/js/save_code_now.4211098f5dd740dc49b4.js.map +1 -0
  18. swh/web/static/js/vault.4eaa8dbf376ebe9cdc7f.js +3 -0
  19. swh/web/static/js/vault.4eaa8dbf376ebe9cdc7f.js.map +1 -0
  20. swh/web/static/js/{vendors.2eeadf2e0831a7a82b6d.js → vendors.9fc5b97b8e4691b7272e.js} +3 -3
  21. swh/web/static/js/vendors.9fc5b97b8e4691b7272e.js.map +1 -0
  22. swh/web/static/js/{webapp.26efc059a8f5fe204240.js → webapp.c5e37f8f7bfc8bb87ad8.js} +3 -3
  23. swh/web/static/js/{webapp.26efc059a8f5fe204240.js.LICENSE.txt → webapp.c5e37f8f7bfc8bb87ad8.js.LICENSE.txt} +1 -1
  24. swh/web/static/js/webapp.c5e37f8f7bfc8bb87ad8.js.map +1 -0
  25. swh/web/static/jssources/@myriaddreamin/highlighter-typst/dist/esm/contrib/hljs/typst-lite.bundle.js +180 -111
  26. swh/web/static/jssources/assets/src/utils/functions.js +1 -1
  27. swh/web/static/jssources/core-js/LICENSE.txt +1 -1
  28. swh/web/static/jssources/core-js/internals/shared-store.js +3 -3
  29. swh/web/static/jssources/core-js/modules/es.object.group-by.js +2 -1
  30. swh/web/static/jssources/dompurify/dist/purify.es.mjs +35 -12
  31. swh/web/static/jssources/highlightjs-line-numbers.js/src/highlightjs-line-numbers.js +1 -1
  32. swh/web/static/jssources/jslicenses.json +1 -1
  33. swh/web/static/jssources/swh/web/save_code_now/assets/origin-save-admin.js +5 -2
  34. swh/web/static/jssources/swh/web/save_code_now/assets/origin-save.js +9 -4
  35. swh/web/static/webpack-stats.json +85 -85
  36. swh/web/tests/views.py +9 -8
  37. swh/web/utils/archive.py +1 -1
  38. {swh_web-0.16.2.dist-info → swh_web-0.16.3.dist-info}/METADATA +1 -1
  39. {swh_web-0.16.2.dist-info → swh_web-0.16.3.dist-info}/RECORD +48 -48
  40. swh/web/static/js/highlightjs.dc9b8354c69d942fad33.js.map +0 -1
  41. swh/web/static/js/save_code_now.369ff7f28aaf74e7728e.js +0 -3
  42. swh/web/static/js/save_code_now.369ff7f28aaf74e7728e.js.map +0 -1
  43. swh/web/static/js/vault.1229427aed95c78d4ee2.js +0 -3
  44. swh/web/static/js/vault.1229427aed95c78d4ee2.js.map +0 -1
  45. swh/web/static/js/vendors.2eeadf2e0831a7a82b6d.js.map +0 -1
  46. swh/web/static/js/webapp.26efc059a8f5fe204240.js.map +0 -1
  47. /swh/web/static/js/{highlightjs.dc9b8354c69d942fad33.js.LICENSE.txt → highlightjs.14fc09414685bf90c554.js.LICENSE.txt} +0 -0
  48. /swh/web/static/js/{revision.ac9293e1b984b4d4d909.js.LICENSE.txt → revision.61c9277f4a4c63df0f45.js.LICENSE.txt} +0 -0
  49. /swh/web/static/js/{save_code_now.369ff7f28aaf74e7728e.js.LICENSE.txt → save_code_now.4211098f5dd740dc49b4.js.LICENSE.txt} +0 -0
  50. /swh/web/static/js/{vault.1229427aed95c78d4ee2.js.LICENSE.txt → vault.4eaa8dbf376ebe9cdc7f.js.LICENSE.txt} +0 -0
  51. /swh/web/static/js/{vendors.2eeadf2e0831a7a82b6d.js.LICENSE.txt → vendors.9fc5b97b8e4691b7272e.js.LICENSE.txt} +0 -0
  52. {swh_web-0.16.2.dist-info → swh_web-0.16.3.dist-info}/WHEEL +0 -0
  53. {swh_web-0.16.2.dist-info → swh_web-0.16.3.dist-info}/licenses/AUTHORS +0 -0
  54. {swh_web-0.16.2.dist-info → swh_web-0.16.3.dist-info}/licenses/LICENSE +0 -0
  55. {swh_web-0.16.2.dist-info → swh_web-0.16.3.dist-info}/top_level.txt +0 -0
@@ -1,3 +1,3 @@
1
- /*! For license information please see revision.ac9293e1b984b4d4d909.js.LICENSE.txt */
2
- !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.revision=t())}(self,function(){return function(){var __webpack_modules__={887:function(e,t,n){var r=n(16993),i=n(11791);e.exports=function(e,t,n,o,a){return new i(r().w(e,t,n,o),a||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports},4373:function(e){e.exports=function(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}},e.exports.__esModule=!0,e.exports.default=e.exports},4633:function(e,t,n){var r=n(25172),i=n(16993),o=n(55869),a=n(887),s=n(11791),l=n(4373),c=n(30579);function u(){"use strict";var t=i(),n=t.m(u),f=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function d(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))}var p={throw:1,return:2,break:3,continue:3};function h(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,p[e],t)},delegateYield:function(e,i,o){return t.resultName=i,n(r.d,c(e),o)},finish:function(e){return n(r.f,e)}},n=function(e,n,i){r.p=t.prev,r.n=t.next;try{return e(n,i)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(e.exports=u=function(){return{wrap:function(e,n,r,i){return t.w(h(e),n,r,i&&i.reverse())},isGeneratorFunction:d,mark:t.m,awrap:function(e,t){return new r(e,t)},AsyncIterator:s,async:function(e,t,n,r,i){return(d(t)?a:o)(h(e),t,n,r,i)},keys:l,values:c}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports},8411:function(){!function(){"use strict";var e=0,t={};function n(r){if(!r)throw new Error("No options passed to Waypoint constructor");if(!r.element)throw new Error("No element option passed to Waypoint constructor");if(!r.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=n.Adapter.extend({},n.defaults,r),this.element=this.options.element,this.adapter=new n.Adapter(this.element),this.callback=r.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=n.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=n.Context.findOrCreateByElement(this.options.context),n.offsetAliases[this.options.offset]&&(this.options.offset=n.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),t[this.key]=this,e+=1}n.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},n.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},n.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete t[this.key]},n.prototype.disable=function(){return this.enabled=!1,this},n.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},n.prototype.next=function(){return this.group.next(this)},n.prototype.previous=function(){return this.group.previous(this)},n.invokeAll=function(e){var n=[];for(var r in t)n.push(t[r]);for(var i=0,o=n.length;i<o;i++)n[i][e]()},n.destroyAll=function(){n.invokeAll("destroy")},n.disableAll=function(){n.invokeAll("disable")},n.enableAll=function(){for(var e in n.Context.refreshAll(),t)t[e].enabled=!0;return this},n.refreshAll=function(){n.Context.refreshAll()},n.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},n.viewportWidth=function(){return document.documentElement.clientWidth},n.adapters=[],n.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},n.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=n}(),function(){"use strict";function e(e){window.setTimeout(e,1e3/60)}var t=0,n={},r=window.Waypoint,i=window.onload;function o(e){this.element=e,this.Adapter=r.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+t,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,n[e.waypointContextKey]=this,t+=1,r.windowContext||(r.windowContext=!0,r.windowContext=new o(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}o.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},o.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical),r=this.element==this.element.window;e&&t&&!r&&(this.adapter.off(".waypoints"),delete n[this.key])},o.prototype.createThrottledResizeHandler=function(){var e=this;function t(){e.handleResize(),e.didResize=!1}this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,r.requestAnimationFrame(t))})},o.prototype.createThrottledScrollHandler=function(){var e=this;function t(){e.handleScroll(),e.didScroll=!1}this.adapter.on("scroll.waypoints",function(){e.didScroll&&!r.isTouch||(e.didScroll=!0,r.requestAnimationFrame(t))})},o.prototype.handleResize=function(){r.Context.refreshAll()},o.prototype.handleScroll=function(){var e={},t={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in t){var r=t[n],i=r.newScroll>r.oldScroll?r.forward:r.backward;for(var o in this.waypoints[n]){var a=this.waypoints[n][o];if(null!==a.triggerPoint){var s=r.oldScroll<a.triggerPoint,l=r.newScroll>=a.triggerPoint;(s&&l||!s&&!l)&&(a.queueTrigger(i),e[a.group.id]=a.group)}}}for(var c in e)e[c].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},o.prototype.innerHeight=function(){return this.element==this.element.window?r.viewportHeight():this.adapter.innerHeight()},o.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},o.prototype.innerWidth=function(){return this.element==this.element.window?r.viewportWidth():this.adapter.innerWidth()},o.prototype.destroy=function(){var e=[];for(var t in this.waypoints)for(var n in this.waypoints[t])e.push(this.waypoints[t][n]);for(var r=0,i=e.length;r<i;r++)e[r].destroy()},o.prototype.refresh=function(){var e,t=this.element==this.element.window,n=t?void 0:this.adapter.offset(),i={};for(var o in this.handleScroll(),e={horizontal:{contextOffset:t?0:n.left,contextScroll:t?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t?0:n.top,contextScroll:t?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var a=e[o];for(var s in this.waypoints[o]){var l,c,u,f,d=this.waypoints[o][s],p=d.options.offset,h=d.triggerPoint,_=0,w=null==h;d.element!==d.element.window&&(_=d.adapter.offset()[a.offsetProp]),"function"==typeof p?p=p.apply(d):"string"==typeof p&&(p=parseFloat(p),d.options.offset.indexOf("%")>-1&&(p=Math.ceil(a.contextDimension*p/100))),l=a.contextScroll-a.contextOffset,d.triggerPoint=Math.floor(_+l-p),c=h<a.oldScroll,u=d.triggerPoint>=a.oldScroll,f=!c&&!u,!w&&(c&&u)?(d.queueTrigger(a.backward),i[d.group.id]=d.group):(!w&&f||w&&a.oldScroll>=d.triggerPoint)&&(d.queueTrigger(a.forward),i[d.group.id]=d.group)}}return r.requestAnimationFrame(function(){for(var e in i)i[e].flushTriggers()}),this},o.findOrCreateByElement=function(e){return o.findByElement(e)||new o(e)},o.refreshAll=function(){for(var e in n)n[e].refresh()},o.findByElement=function(e){return n[e.waypointContextKey]},window.onload=function(){i&&i(),o.refreshAll()},r.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},r.Context=o}(),function(){"use strict";function e(e,t){return e.triggerPoint-t.triggerPoint}function t(e,t){return t.triggerPoint-e.triggerPoint}var n={vertical:{},horizontal:{}},r=window.Waypoint;function i(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}i.prototype.add=function(e){this.waypoints.push(e)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var r=this.triggerQueues[n],i="up"===n||"left"===n;r.sort(i?t:e);for(var o=0,a=r.length;o<a;o+=1){var s=r[o];(s.options.continuous||o===r.length-1)&&s.trigger([n])}}this.clearTriggerQueues()},i.prototype.next=function(t){this.waypoints.sort(e);var n=r.Adapter.inArray(t,this.waypoints);return n===this.waypoints.length-1?null:this.waypoints[n+1]},i.prototype.previous=function(t){this.waypoints.sort(e);var n=r.Adapter.inArray(t,this.waypoints);return n?this.waypoints[n-1]:null},i.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},i.prototype.remove=function(e){var t=r.Adapter.inArray(e,this.waypoints);t>-1&&this.waypoints.splice(t,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(e){return n[e.axis][e.name]||new i(e)},r.Group=i}(),function(){"use strict";var e=window.jQuery,t=window.Waypoint;function n(t){this.$element=e(t)}e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,t){n.prototype[t]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[t].apply(this.$element,e)}}),e.each(["extend","inArray","isEmptyObject"],function(t,r){n[r]=e[r]}),t.adapters.push({name:"jquery",Adapter:n}),t.Adapter=n}(),function(){"use strict";var e=window.Waypoint;function t(t){return function(){var n=[],r=arguments[0];return t.isFunction(arguments[0])&&((r=t.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var i=t.extend({},r,{element:this});"string"==typeof i.context&&(i.context=t(this).closest(i.context)[0]),n.push(new e(i))}),n}}window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}()},8545:function(e,t,n){"use strict";n.d(t,{Iq:function(){return i},lY:function(){return r}});n(54756),n(18987);function r(e,t){var n="/static/"+e;return n.startsWith("/")&&t&&(n=t+n),n}function i(){history.replaceState("",document.title,window.location.pathname+window.location.search)}},9458: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 id="diff_'),__append(escapeFn(diffData.id)),__append('" class="card swh-file-diff-panel">\n <div class="card-header swh-background-gray border-bottom-0">\n <a data-bs-toggle="collapse" href="#diff_'),__append(escapeFn(diffData.id)),__append('_content">\n <div class="float-start swh-title-color">\n <strong>'),__append(escapeFn(diffPanelTitle)),__append('</strong>\n </div>\n </a>\n <div class="ms-auto float-end">\n <div class="btn-group diff-styles" role="group" style="visibility: hidden;">\n <input type="radio" class="btn-check" name="diffs-switch-'),__append(escapeFn(diffData.id)),__append('" id="unified-'),__append(escapeFn(diffData.id)),__append('" autocomplete="off" checked="checked">\n <label class="btn btn-secondary btn-sm unified-diff-button" id="unified-'),__append(escapeFn(diffData.id)),__append('-label" for="unified-'),__append(escapeFn(diffData.id)),__append('" onclick="swh.revision.showUnifiedDiff(\''),__append(escapeFn(diffData.id)),__append('\')">\n Unified\n </label>\n <input type="radio" class="btn-check" name="diffs-switch-'),__append(escapeFn(diffData.id)),__append('" id="side-by-side-'),__append(escapeFn(diffData.id)),__append('" autocomplete="off">\n <label class="btn btn-secondary btn-sm split-diff-button" for="side-by-side-'),__append(escapeFn(diffData.id)),__append('" id="side-by-side-'),__append(escapeFn(diffData.id)),__append('-label" onclick="swh.revision.showSplitDiff(\''),__append(escapeFn(diffData.id)),__append('\')">\n Side-by-side\n </label>\n </div>\n <a href="'),__append(escapeFn(diffData.content_url)),__append('" class="btn btn-secondary btn-sm" role="button">View file</a>\n </div>\n <div class="clearfix"></div>\n </div>\n <div id="diff_'),__append(escapeFn(diffData.id)),__append('_content" class="collapse show">\n <div class="swh-diff-loading text-center" id="'),__append(escapeFn(diffData.id)),__append('-loading" style="visibility: hidden;">\n <img src="'),__append(escapeFn(swhSpinnerSrc)),__append('">\n <p>Loading diff ...</p>\n </div>\n <div class="highlightjs swh-content" style="display: none;" id="'),__append(escapeFn(diffData.id)),__append('-highlightjs">\n <div id="'),__append(escapeFn(diffData.id)),__append('-unified-diff">\n <pre><code class="'),__append(escapeFn(diffData.id)),__append('" id="'),__append(escapeFn(diffData.id)),__append('"></code></pre>\n </div>\n <div style="width: 100%; display: none;" id="'),__append(escapeFn(diffData.id)),__append('-split-diff">\n <pre class="float-start" style="width: 50%;"><code class="'),__append(escapeFn(diffData.id)),__append('" id="'),__append(escapeFn(diffData.id)),__append('-from"></code></pre>\n <pre style="width: 50%;"><code class="'),__append(escapeFn(diffData.id)),__append('" id="'),__append(escapeFn(diffData.id)),__append('-to"></code></pre>\n </div>\n </div>\n </div>\n</div>');return __output}},10467:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,l,"next",e)}function l(e){r(a,i,o,s,l,"throw",e)}s(void 0)})}}n.d(t,{A:function(){return i}})},10713:function(e,t,n){"use strict";n.d(t,{By:function(){return Q},Fu:function(){return F},R1:function(){return j},jV:function(){return P},l9:function(){return q},ln:function(){return L},tB:function(){return U},to:function(){return M},xs:function(){return R}});var r,i=n(10467),o=n(54756),a=n.n(o),s=(n(8411),n(23717)),l=n(8545),c=n(9458),u=n.n(c),f=null,d=0,p=0,h=0,_=0,w={},m={},v=null,g=null,y={},b=null,x="#swh-revision-changes",k="Files";function S(e){var t=$(e).offset().top,n=t+$(e).outerHeight(),r=$(window).scrollTop(),i=r+$(window).height();return n>r&&t<i}function j(e,t,n){for(var r=y[e],i=A(t),o=A(n),a="",s=0;s<r-i.length;++s)a+=" ";a+=i,a+=" ";for(var l=0;l<r-o.length;++l)a+=" ";return a+=o}function T(e){var t,n;if(e.startsWith("@@")){var r=new RegExp(/^@@ -(\d+),(\d+) \+(\d+),(\d+) @@$/gm),i=new RegExp(/^@@ -(\d+) \+(\d+),(\d+) @@$/gm),o=new RegExp(/^@@ -(\d+),(\d+) \+(\d+) @@$/gm),a=new RegExp(/^@@ -(\d+) \+(\d+) @@$/gm),s=r.exec(e),l=i.exec(e),c=o.exec(e),u=a.exec(e);s?(t=parseInt(s[1])-1,n=parseInt(s[3])-1):l?(t=parseInt(l[1])-1,n=parseInt(l[2])-1):c?(t=parseInt(c[1])-1,n=parseInt(c[3])-1):u&&(t=parseInt(u[1])-1,n=parseInt(u[2])-1)}return void 0!==t?[t,n]:null}function C(e){return e?parseInt(e):0}function A(e){return e?e.toString():""}function F(e,t,n){var r;if(t||n){var i=C(e.trim());t?r=[i,0]:n&&(r=[0,i])}else(r=e.replace(/[ ]+/g," ").split(" ")).length>2&&r.shift(),r=r.map(function(e){return C(e)});return r}function q(e,t,n){var r="";return r+="F"+(e[0]||0),r+="T"+(e[1]||0),r+="-F"+(t[0]||0),r+="T"+(t[1]||0),r+=n?"-unified":"-split"}function P(e){var t=/F([0-9]+)T([0-9]+)-F([0-9]+)T([0-9]+)-([a-z]+)/.exec(e);return 6===t.length?{startLines:[parseInt(t[1]),parseInt(t[2])],endLines:[parseInt(t[3]),parseInt(t[4])],unified:"unified"===t[5]}:null}function D(e,t){var n=$("#"+e+' .hljs-ln-line[data-line-number="'+t+'"]'),r=$("#"+e+' .hljs-ln-numbers[data-line-number="'+t+'"]');return r.css("color","black"),r.css("font-weight","bold"),n.css("background-color","#fdf3da"),n.css("mix-blend-mode","multiply"),n}function O(e){void 0===e&&(e=!0),e&&(b=null,v=null,g=null),$(".hljs-ln-line[data-line-number]").css("background-color","initial"),$(".hljs-ln-line[data-line-number]").css("mix-blend-mode","initial"),$(".hljs-ln-numbers[data-line-number]").css("color","#aaa"),$(".hljs-ln-numbers[data-line-number]").css("font-weight","initial"),"Changes"===k&&window.location.hash!==x&&window.history.replaceState("",document.title,window.location.pathname+window.location.search+x)}function E(e,t,n,r){var i;if(r){var o=j(e,t[0],t[1]),a=j(e,n[0],n[1]),s=$("#"+e+' .hljs-ln-line[data-line-number="'+o+'"]'),l=$("#"+e+' .hljs-ln-line[data-line-number="'+a+'"]');if($(l).position().top<$(s).position().top){var c=[a,o];o=c[0],a=c[1],i=l}else i=s;for(var u=D(e,o),f=$(u).closest("tr"),d=$(f).children(".hljs-ln-line").data("line-number").toString();d!==a;)d.trim()&&D(e,d),f=$(f).next(),d=$(f).children(".hljs-ln-line").data("line-number").toString();D(e,a)}else if(t[0]&&n[0]){for(var p=Math.min(t[0],n[0]),h=Math.max(t[0],n[0]),_=p;_<=h;++_)D(e+"-from",_);i=$("#"+e+'-from .hljs-ln-line[data-line-number="'+p+'"]')}else if(t[1]&&n[1]){for(var w=Math.min(t[1],n[1]),m=Math.max(t[1],n[1]),v=w;v<=m;++v)D(e+"-to",v);i=$("#"+e+'-to .hljs-ln-line[data-line-number="'+w+'"]')}else{var g,y;t[0]&&n[1]?(g=t[0],y=n[1]):(g=n[0],y=t[1]);var b=$("#"+e+'-from .hljs-ln-line[data-line-number="'+g+'"]'),x=$("#"+e+'-to .hljs-ln-line[data-line-number="'+y+'"]'),k=$(b).position().top<$(x).position().top;i=k?b:x;for(var S=$("#"+e+"-from tr").first(),T=$(S).children(".hljs-ln-line").data("line-number"),C=$("#"+e+"-to tr").first(),A=$(C).children(".hljs-ln-line").data("line-number"),F=!1;k&&T===g?F=!0:k||A!==y||(F=!0),F&&T&&D(e+"-from",T),F&&A&&D(e+"-to",A),!(k&&A===y||!k&&T===g);)S=$(S).next(),T=$(S).children(".hljs-ln-line").data("line-number"),C=$(C).next(),A=$(C).children(".hljs-ln-line").data("line-number")}var P=q(t,n,r);return window.location.hash="diff_"+e+"+"+P,i}function M(e){$("#"+e+"-split-diff").css("display","none"),$("#"+e+"-unified-diff").css("display","block")}function L(e){$("#"+e+"-unified-diff").css("display","none"),$("#"+e+"-split-diff").css("display","block")}function R(e,t){return N.apply(this,arguments)}function N(){return(N=(0,i.A)(a().mark(function e(t,n){var i,o,s,l,c,u,d,m,v,g,b,x,k;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=function(e,t){$(e).attr("data-line-number",t||""),$(e).children().attr("data-line-number",t||""),$(e).siblings().attr("data-line-number",t||"")},-1!==t.indexOf("force=true")||!w.hasOwnProperty(n)){e.next=1;break}return e.abrupt("return");case 1:return w[n]=!0,$("#"+n+"-loading").css("visibility","visible"),$("#"+n+"-loading").css("display","block"),$("#"+n+"-highlightjs").css("display","none"),e.next=2,fetch(t);case 2:return o=e.sent,e.next=3,o.json();case 3:s=e.sent,++p===f.length&&$("#swh-compute-all-diffs").addClass("active"),0===s.diff_str.indexOf("Large diff")?($("#"+n)[0].innerHTML=s.diff_str+'<br/><button class="btn btn-secondary btn-sm" type="button"\n onclick="swh.revision.computeDiff(\''+t+"&force=true', '"+n+"')\">Request diff</button>",W(n)):0!==s.diff_str.indexOf("@@")?($("#"+n).text(s.diff_str),W(n)):($("."+n).removeClass("plaintext"),$("."+n).addClass(s.language),$("#"+n).text(s.diff_str),$("#"+n).each(function(e,t){hljs.highlightElement(t),hljs.lineNumbersElementSync(t)}),l="",c="",u=[],d=[],m=[],v=0,g="",b="",x=0,$("#"+n+" .hljs-ln-numbers").each(function(e,t){var n=t.nextSibling.innerText,r=T(n),i="",o="";if(r)l=r[0],c=r[1],x=0,g+=n+"\n",b+=n+"\n",d.push(""),m.push("");else if(n.length>0&&"-"===n[0])i=(l+=1).toString(),d.push(i),++_,g+=n+"\n",++x;else if(n.length>0&&"+"===n[0])o=(c+=1).toString(),m.push(o),++h,b+=n+"\n",--x;else{c+=1,i=(l+=1).toString(),o=c.toString();for(var a=0;a<Math.abs(x);++a)x>0?(b+="\n",m.push("")):(g+="\n",d.push(""));x=0,g+=n+"\n",b+=n+"\n",m.push(o),d.push(i)}l||(i=""),c||(o=""),u[e]=[i,o],v=Math.max(v,i.length),v=Math.max(v,o.length)}),y[n]=v,$("#"+n+"-from").text(g),$("#"+n+"-to").text(b),$("#"+n+"-from, #"+n+"-to").each(function(e,t){hljs.highlightElement(t),hljs.lineNumbersElementSync(t)}),$("."+n+" .hljs-ln-numbers").each(function(e,t){var n=t.nextSibling.innerText;if(n.startsWith("@@")){$(t).parent().addClass("swh-diff-lines-info");var r=$(t).parent().find(".hljs-ln-code .hljs-ln-line").text();$(t).parent().find(".hljs-ln-code .hljs-ln-line").children().remove(),$(t).parent().find(".hljs-ln-code .hljs-ln-line").text(""),$(t).parent().find(".hljs-ln-code .hljs-ln-line").append('<span class="hljs-meta">'+r+"</span>")}else n.length>0&&"-"===n[0]?$(t).parent().addClass("swh-diff-removed-line"):n.length>0&&"+"===n[0]&&$(t).parent().addClass("swh-diff-added-line")}),$("#"+n+" .hljs-ln-numbers").each(function(e,t){var r=j(n,u[e][0],u[e][1]);i(t,r)}),$("#"+n+"-from .hljs-ln-numbers").each(function(e,t){i(t,d[e])}),$("#"+n+"-to .hljs-ln-numbers").each(function(e,t){i(t,m[e])}),$("."+n+" .hljs-ln-code").each(function(e,t){if(t.firstChild){if("#text"!==t.firstChild.nodeName){var n=t.firstChild.innerHTML;if("-"===n[0]||"+"===n[0]){t.firstChild.innerHTML=n.substr(1);var r=document.createTextNode(n[0]);$(t).prepend(r)}}$(t).contents().filter(function(e,t){return 3===t.nodeType}).each(function(e,n){var r="[swh-no-nl-marker]";-1!==n.textContent.indexOf(r)&&(n.textContent=n.textContent.replace(r,""),$(t).append($('<span class="no-nl-marker" style="color: red;" title="No newline at end of file"><i class="mdi mdi-rotate-90 mdi-cancel" aria-hidden="true"><i class="mdi mdi-keyboard-return" aria-hidden="true"></span>')))})}}),0!==s.diff_str.indexOf("Diffs are not generated for non textual content")&&($("#diff_"+n+" .diff-styles").css("visibility","visible"),$("#diff_"+n+" .diff-styles").children().first().prop("checked",!0)),W(n),r&&-1!==r.diffPanelId.indexOf(n)&&(r.unified||L(n),k=E(n,r.startLines,r.endLines,r.unified),$("html, body").animate({scrollTop:k.offset().top-50},{duration:500})));case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function W(e){$("#"+e+"-loading").css("display","none"),$("#"+e+"-highlightjs").css("display","block"),$("#swh-revision-lines-added").text(h+" additions"),$("#swh-revision-lines-deleted").text(_+" deletions"),$("#swh-nb-diffs-computed").text(p),Waypoint.refreshAll()}function I(){$(".swh-file-diff-panel").each(function(e,t){if(S(t)){var n=t.id.replace("diff_","");R(m[n],n)}})}function H(e){var t=e.path;return"rename"===e.type&&(t=e.from_path+" &rarr; "+e.to_path),u()({diffData:e,diffPanelTitle:t,swhSpinnerSrc:s.Q$})}function z(){for(var e=0;e<f.length;++e){var t=f[e];$("#diff_"+t.id).waypoint({handler:function(){if(S(this.element)){var e=this.element.id.replace("diff_","");R(m[e],e),this.destroy()}},offset:"100%"}),$("#diff_"+t.id).waypoint({handler:function(){if(S(this.element)){var e=this.element.id.replace("diff_","");R(m[e],e),this.destroy()}},offset:function(){return-$(this.element).height()}})}Waypoint.refreshAll()}function B(e,t){void 0===t&&(t=!0),Waypoint.disableAll(),$("html, body").animate({scrollTop:$(e).offset().top},{duration:500,complete:function(){t&&(window.location.hash=e),Waypoint.enableAll(),I()}})}function U(e){for(var t in $(e.currentTarget).addClass("active"),m)m.hasOwnProperty(t)&&R(m[t],t);e.stopPropagation()}function Q(e,t){return G.apply(this,arguments)}function G(){return G=(0,i.A)(a().mark(function e(t,o){return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,n.e(940).then(n.bind(n,49931));case 1:$(document).on("shown.bs.tab",'a[data-bs-toggle="tab"]',function(){var e=(0,i.A)(a().mark(function e(t){var n,i,s,c,u;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("Changes"!==(k=t.currentTarget.text.trim())){e.next=4;break}if(window.location.hash=x,$("#readme-panel").css("display","none"),!f){e.next=1;break}return e.abrupt("return");case 1:return e.next=2,fetch(o);case 2:return n=e.sent,e.next=3,n.json();case 3:for(i=e.sent,f=i.changes,d=i.total_nb_changes,s=d+" changed file",1!==d&&(s+="s"),$("#swh-revision-changed-files").text(s),$("#swh-total-nb-diffs").text(f.length),$("#swh-revision-changes-list pre")[0].innerHTML=i.changes_msg,$("#swh-revision-changes-loading").css("display","none"),$("#swh-revision-changes-list pre").css("display","block"),$("#swh-compute-all-diffs").css("visibility","visible"),$("#swh-revision-changes-list").removeClass("in"),d>f.length&&($("#swh-too-large-revision-diff").css("display","block"),$("#swh-nb-loaded-diffs").text(f.length)),c=0;c<f.length;++c)u=f[c],m[u.id]=u.diff_url,$("#swh-revision-diffs").append(H(u));z(),I(),r&&B(r.diffPanelId,!1),e.next=5;break;case 4:"Files"===k&&((0,l.Iq)(),$("#readme-panel").css("display","block"));case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()),$(document).ready(function(){t.length>0?$("#swh-revision-message").addClass("in"):$("#swh-collapse-revision-message").attr("data-bs-toggle",""),$('#swh-revision-changes-list a[href^="#"], #back-to-top a[href^="#"]').click(function(e){return B($.attr(e.currentTarget,"href")),!1}),$("body").click(function(e){if("Changes"===k)if(e.target.classList.contains("hljs-ln-n")){var t=$(e.target).closest("code").prop("id"),n=-1!==t.indexOf("-from"),r=-1!==t.indexOf("-to"),i=$(e.target).data("line-number").toString(),o=t.replace("-from","").replace("-to","");e.shiftKey&&o===b&&i.trim()||(O(),b=o),o===b&&i.trim()&&(e.shiftKey?v&&(O(!1),g=F(i,n,r),E(o,v,g,!n&&!r)):E(o,v=F(i,n,r),v,!n&&!r))}else O()});var e=window.location.hash;if(e){var n=e.split("+");2===n.length&&(r=P(n[1]))&&(r.diffPanelId=n[0],$('.nav-tabs a[href="'+x+'"]').tab("show")),e===x&&$('.nav-tabs a[href="'+x+'"]').tab("show")}});case 2:case"end":return e.stop()}},e)})),G.apply(this,arguments)}},11791:function(e,t,n){var r=n(25172),i=n(75546);e.exports=function e(t,n){function o(e,i,a,s){try{var l=t[e](i),c=l.value;return c instanceof r?n.resolve(c.v).then(function(e){o("next",e,a,s)},function(e){o("throw",e,a,s)}):n.resolve(c).then(function(e){l.value=e,a(l)},function(e){return o("throw",e,a,s)})}catch(e){s(e)}}var a;this.next||(i(e.prototype),i(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(e,t,r){function i(){return new n(function(t,n){o(e,r,t,n)})}return a=a?a.then(i,i):i()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports},16993:function(e,t,n){var r=n(75546);function i(){var t,n,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.toStringTag||"@@toStringTag";function l(e,i,o,a){var s=i&&i.prototype instanceof u?i:u,l=Object.create(s.prototype);return r(l,"_invoke",function(e,r,i){var o,a,s,l=0,u=i||[],f=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return o=e,a=0,s=t,d.n=n,c}};function p(e,r){for(a=e,s=r,n=0;!f&&l&&!i&&n<u.length;n++){var i,o=u[n],p=d.p,h=o[2];e>3?(i=h===r)&&(s=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=t):o[0]<=p&&((i=e<2&&p<o[1])?(a=0,d.v=r,d.n=o[1]):p<h&&(i=e<3||o[0]>r||r>h)&&(o[4]=e,o[5]=r,d.n=h,a=0))}if(i||e>1)return c;throw f=!0,r}return function(i,u,h){if(l>1)throw TypeError("Generator is already running");for(f&&1===u&&p(u,h),a=u,s=h;(n=a<2?t:s)||!f;){o||(a?a<3?(a>1&&(d.n=-1),p(a,s)):d.n=s:d.v=s);try{if(l=2,o){if(a||(i="next"),n=o[i]){if(!(n=n.call(o,s)))throw TypeError("iterator result is not an object");if(!n.done)return n;s=n.value,a<2&&(a=0)}else 1===a&&(n=o.return)&&n.call(o),a<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=t}else if((n=(f=d.n<0)?s:e.call(r,d))!==c)break}catch(e){o=t,a=1,s=e}finally{l=1}}return{value:n,done:f}}}(e,o,a),!0),l}var c={};function u(){}function f(){}function d(){}n=Object.getPrototypeOf;var p=[][a]?n(n([][a]())):(r(n={},a,function(){return this}),n),h=d.prototype=u.prototype=Object.create(p);function _(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,s,"GeneratorFunction")),e.prototype=Object.create(h),e}return f.prototype=d,r(h,"constructor",d),r(d,"constructor",f),f.displayName="GeneratorFunction",r(d,s,"GeneratorFunction"),r(h),r(h,s,"Generator"),r(h,a,function(){return this}),r(h,"toString",function(){return"[object Generator]"}),(e.exports=i=function(){return{w:l,m:_}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},18987:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}(function e(t,n){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=r({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){i(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:"/"})},23717:function(e,t,n){"use strict";n.d(t,{Q$:function(){return r}});var r=(0,n(8545).lY)("img/swh-spinner.gif")},25172:function(e){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},25954:function(e,t,n){"use strict";function r(e){var t=new URLSearchParams(window.location.search);$(e.target).val()?t.set("revs_ordering",$(e.target).val()):t.has("revs_ordering")&&t.delete("revs_ordering"),window.location.search=t.toString()}function i(){$(document).ready(function(){var e=new URLSearchParams(window.location.search).get("revs_ordering");e&&$(':input[value="'+e+'"]').prop("checked",!0)})}n.d(t,{_:function(){return r},z:function(){return i}})},30579:function(e,t,n){var r=n(73738).default;e.exports=function(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(r(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports},54756:function(e,t,n){var r=n(4633)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},55869:function(e,t,n){var r=n(887);e.exports=function(e,t,n,i,o){var a=r(e,t,n,i,o);return a.next().then(function(e){return e.done?e.value:a.next()})},e.exports.__esModule=!0,e.exports.default=e.exports},73738:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},75546:function(e){function t(n,r,i,o){var a=Object.defineProperty;try{a({},"",{})}catch(n){a=0}e.exports=t=function(e,n,r,i){function o(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?a?a(e,n,{value:r,enumerable:!i,configurable:!i,writable:!i}):e[n]=r:(o("next",0),o("throw",1),o("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r,i,o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}},__webpack_module_cache__={},inProgress,dataWebpackPrefix;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.m=__webpack_modules__,__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 n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.f={},__webpack_require__.e=function(e){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(t,n){return __webpack_require__.f[n](e,t),t},[]))},__webpack_require__.u=function(e){return"js/highlightjs.dc9b8354c69d942fad33.js"},__webpack_require__.miniCssF=function(e){return"css/highlightjs.0c1b181eb006699a4c3e.css"},__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)},inProgress={},dataWebpackPrefix="swh:",__webpack_require__.l=function(e,t,n,r){if(inProgress[e])inProgress[e].push(t);else{var i,o;if(void 0!==n)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var l=a[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==dataWebpackPrefix+n){i=l;break}}i||(o=!0,(i=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",dataWebpackPrefix+n),i.src=e),inProgress[e]=[t];var c=function(t,n){i.onerror=i.onload=null,clearTimeout(u);var r=inProgress[e];if(delete inProgress[e],i.parentNode&&i.parentNode.removeChild(i),r&&r.forEach(function(e){return e(n)}),t)return t(n)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=c.bind(null,i.onerror),i.onload=c.bind(null,i.onload),o&&document.head.appendChild(i)}},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.p="/static/",function(){if("undefined"!=typeof document){var e=function(e){return new Promise(function(t,n){var r=__webpack_require__.miniCssF(e),i=__webpack_require__.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var i=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(i===e||i===t))return a}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var a;if((i=(a=o[r]).getAttribute("data-href"))===e||i===t)return a}}(r,i))return t();!function(e,t,n,r,i){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",__webpack_require__.nc&&(o.nonce=__webpack_require__.nc),o.onerror=o.onload=function(n){if(o.onerror=o.onload=null,"load"===n.type)r();else{var a=n&&n.type,s=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+s+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=s,o.parentNode&&o.parentNode.removeChild(o),i(l)}},o.href=t,n?n.parentNode.insertBefore(o,n.nextSibling):document.head.appendChild(o)}(e,i,null,t,n)})},t={552:0};__webpack_require__.f.miniCss=function(n,r){t[n]?r.push(t[n]):0!==t[n]&&{940:1}[n]&&r.push(t[n]=e(n).then(function(){t[n]=0},function(e){throw delete t[n],e}))}}}(),function(){var e={552:0};__webpack_require__.f.j=function(t,n){var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(function(n,i){r=e[t]=[n,i]});n.push(r[2]=i);var o=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(o,function(n){if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,r[1](a)}},"chunk-"+t,t)}};var t=function(t,n){var r,i,o=n[0],a=n[1],s=n[2],l=0;if(o.some(function(t){return 0!==e[t]})){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);if(s)s(__webpack_require__)}for(t&&t(n);l<o.length;l++)i=o[l],__webpack_require__.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunkswh=self.webpackChunkswh||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var __webpack_exports__={};return function(){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{computeAllDiffs:function(){return e.tB},computeDiff:function(){return e.xs},formatDiffLineNumbers:function(){return e.R1},fragmentToSelectedDiffLines:function(){return e.jV},initRevisionDiff:function(){return e.By},initRevisionsLog:function(){return t.z},parseDiffLineNumbers:function(){return e.Fu},revsOrderingTypeClicked:function(){return t._},selectedDiffLinesToFragment:function(){return e.l9},showSplitDiff:function(){return e.ln},showUnifiedDiff:function(){return e.to}});var e=__webpack_require__(10713),t=__webpack_require__(25954)}(),__webpack_exports__}()});
3
- //# sourceMappingURL=revision.ac9293e1b984b4d4d909.js.map
1
+ /*! For license information please see revision.61c9277f4a4c63df0f45.js.LICENSE.txt */
2
+ !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.revision=t())}(self,function(){return function(){var __webpack_modules__={887:function(e,t,n){var r=n(16993),i=n(11791);e.exports=function(e,t,n,o,a){return new i(r().w(e,t,n,o),a||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports},4373:function(e){e.exports=function(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}},e.exports.__esModule=!0,e.exports.default=e.exports},4633:function(e,t,n){var r=n(25172),i=n(16993),o=n(55869),a=n(887),s=n(11791),l=n(4373),c=n(30579);function u(){"use strict";var t=i(),n=t.m(u),f=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function d(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))}var p={throw:1,return:2,break:3,continue:3};function h(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,p[e],t)},delegateYield:function(e,i,o){return t.resultName=i,n(r.d,c(e),o)},finish:function(e){return n(r.f,e)}},n=function(e,n,i){r.p=t.prev,r.n=t.next;try{return e(n,i)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(e.exports=u=function(){return{wrap:function(e,n,r,i){return t.w(h(e),n,r,i&&i.reverse())},isGeneratorFunction:d,mark:t.m,awrap:function(e,t){return new r(e,t)},AsyncIterator:s,async:function(e,t,n,r,i){return(d(t)?a:o)(h(e),t,n,r,i)},keys:l,values:c}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports},8411:function(){!function(){"use strict";var e=0,t={};function n(r){if(!r)throw new Error("No options passed to Waypoint constructor");if(!r.element)throw new Error("No element option passed to Waypoint constructor");if(!r.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=n.Adapter.extend({},n.defaults,r),this.element=this.options.element,this.adapter=new n.Adapter(this.element),this.callback=r.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=n.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=n.Context.findOrCreateByElement(this.options.context),n.offsetAliases[this.options.offset]&&(this.options.offset=n.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),t[this.key]=this,e+=1}n.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},n.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},n.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete t[this.key]},n.prototype.disable=function(){return this.enabled=!1,this},n.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},n.prototype.next=function(){return this.group.next(this)},n.prototype.previous=function(){return this.group.previous(this)},n.invokeAll=function(e){var n=[];for(var r in t)n.push(t[r]);for(var i=0,o=n.length;i<o;i++)n[i][e]()},n.destroyAll=function(){n.invokeAll("destroy")},n.disableAll=function(){n.invokeAll("disable")},n.enableAll=function(){for(var e in n.Context.refreshAll(),t)t[e].enabled=!0;return this},n.refreshAll=function(){n.Context.refreshAll()},n.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},n.viewportWidth=function(){return document.documentElement.clientWidth},n.adapters=[],n.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},n.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=n}(),function(){"use strict";function e(e){window.setTimeout(e,1e3/60)}var t=0,n={},r=window.Waypoint,i=window.onload;function o(e){this.element=e,this.Adapter=r.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+t,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,n[e.waypointContextKey]=this,t+=1,r.windowContext||(r.windowContext=!0,r.windowContext=new o(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}o.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},o.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical),r=this.element==this.element.window;e&&t&&!r&&(this.adapter.off(".waypoints"),delete n[this.key])},o.prototype.createThrottledResizeHandler=function(){var e=this;function t(){e.handleResize(),e.didResize=!1}this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,r.requestAnimationFrame(t))})},o.prototype.createThrottledScrollHandler=function(){var e=this;function t(){e.handleScroll(),e.didScroll=!1}this.adapter.on("scroll.waypoints",function(){e.didScroll&&!r.isTouch||(e.didScroll=!0,r.requestAnimationFrame(t))})},o.prototype.handleResize=function(){r.Context.refreshAll()},o.prototype.handleScroll=function(){var e={},t={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in t){var r=t[n],i=r.newScroll>r.oldScroll?r.forward:r.backward;for(var o in this.waypoints[n]){var a=this.waypoints[n][o];if(null!==a.triggerPoint){var s=r.oldScroll<a.triggerPoint,l=r.newScroll>=a.triggerPoint;(s&&l||!s&&!l)&&(a.queueTrigger(i),e[a.group.id]=a.group)}}}for(var c in e)e[c].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},o.prototype.innerHeight=function(){return this.element==this.element.window?r.viewportHeight():this.adapter.innerHeight()},o.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},o.prototype.innerWidth=function(){return this.element==this.element.window?r.viewportWidth():this.adapter.innerWidth()},o.prototype.destroy=function(){var e=[];for(var t in this.waypoints)for(var n in this.waypoints[t])e.push(this.waypoints[t][n]);for(var r=0,i=e.length;r<i;r++)e[r].destroy()},o.prototype.refresh=function(){var e,t=this.element==this.element.window,n=t?void 0:this.adapter.offset(),i={};for(var o in this.handleScroll(),e={horizontal:{contextOffset:t?0:n.left,contextScroll:t?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t?0:n.top,contextScroll:t?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var a=e[o];for(var s in this.waypoints[o]){var l,c,u,f,d=this.waypoints[o][s],p=d.options.offset,h=d.triggerPoint,_=0,w=null==h;d.element!==d.element.window&&(_=d.adapter.offset()[a.offsetProp]),"function"==typeof p?p=p.apply(d):"string"==typeof p&&(p=parseFloat(p),d.options.offset.indexOf("%")>-1&&(p=Math.ceil(a.contextDimension*p/100))),l=a.contextScroll-a.contextOffset,d.triggerPoint=Math.floor(_+l-p),c=h<a.oldScroll,u=d.triggerPoint>=a.oldScroll,f=!c&&!u,!w&&(c&&u)?(d.queueTrigger(a.backward),i[d.group.id]=d.group):(!w&&f||w&&a.oldScroll>=d.triggerPoint)&&(d.queueTrigger(a.forward),i[d.group.id]=d.group)}}return r.requestAnimationFrame(function(){for(var e in i)i[e].flushTriggers()}),this},o.findOrCreateByElement=function(e){return o.findByElement(e)||new o(e)},o.refreshAll=function(){for(var e in n)n[e].refresh()},o.findByElement=function(e){return n[e.waypointContextKey]},window.onload=function(){i&&i(),o.refreshAll()},r.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},r.Context=o}(),function(){"use strict";function e(e,t){return e.triggerPoint-t.triggerPoint}function t(e,t){return t.triggerPoint-e.triggerPoint}var n={vertical:{},horizontal:{}},r=window.Waypoint;function i(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}i.prototype.add=function(e){this.waypoints.push(e)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var r=this.triggerQueues[n],i="up"===n||"left"===n;r.sort(i?t:e);for(var o=0,a=r.length;o<a;o+=1){var s=r[o];(s.options.continuous||o===r.length-1)&&s.trigger([n])}}this.clearTriggerQueues()},i.prototype.next=function(t){this.waypoints.sort(e);var n=r.Adapter.inArray(t,this.waypoints);return n===this.waypoints.length-1?null:this.waypoints[n+1]},i.prototype.previous=function(t){this.waypoints.sort(e);var n=r.Adapter.inArray(t,this.waypoints);return n?this.waypoints[n-1]:null},i.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},i.prototype.remove=function(e){var t=r.Adapter.inArray(e,this.waypoints);t>-1&&this.waypoints.splice(t,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(e){return n[e.axis][e.name]||new i(e)},r.Group=i}(),function(){"use strict";var e=window.jQuery,t=window.Waypoint;function n(t){this.$element=e(t)}e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,t){n.prototype[t]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[t].apply(this.$element,e)}}),e.each(["extend","inArray","isEmptyObject"],function(t,r){n[r]=e[r]}),t.adapters.push({name:"jquery",Adapter:n}),t.Adapter=n}(),function(){"use strict";var e=window.Waypoint;function t(t){return function(){var n=[],r=arguments[0];return t.isFunction(arguments[0])&&((r=t.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var i=t.extend({},r,{element:this});"string"==typeof i.context&&(i.context=t(this).closest(i.context)[0]),n.push(new e(i))}),n}}window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}()},8545:function(e,t,n){"use strict";n.d(t,{Iq:function(){return i},lY:function(){return r}});n(54756),n(18987);function r(e,t){var n="/static/"+e;return n.startsWith("/")&&t&&(n=t+n),n}function i(){history.replaceState("",document.title,window.location.pathname+window.location.search)}},9458: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 id="diff_'),__append(escapeFn(diffData.id)),__append('" class="card swh-file-diff-panel">\n <div class="card-header swh-background-gray border-bottom-0">\n <a data-bs-toggle="collapse" href="#diff_'),__append(escapeFn(diffData.id)),__append('_content">\n <div class="float-start swh-title-color">\n <strong>'),__append(escapeFn(diffPanelTitle)),__append('</strong>\n </div>\n </a>\n <div class="ms-auto float-end">\n <div class="btn-group diff-styles" role="group" style="visibility: hidden;">\n <input type="radio" class="btn-check" name="diffs-switch-'),__append(escapeFn(diffData.id)),__append('" id="unified-'),__append(escapeFn(diffData.id)),__append('" autocomplete="off" checked="checked">\n <label class="btn btn-secondary btn-sm unified-diff-button" id="unified-'),__append(escapeFn(diffData.id)),__append('-label" for="unified-'),__append(escapeFn(diffData.id)),__append('" onclick="swh.revision.showUnifiedDiff(\''),__append(escapeFn(diffData.id)),__append('\')">\n Unified\n </label>\n <input type="radio" class="btn-check" name="diffs-switch-'),__append(escapeFn(diffData.id)),__append('" id="side-by-side-'),__append(escapeFn(diffData.id)),__append('" autocomplete="off">\n <label class="btn btn-secondary btn-sm split-diff-button" for="side-by-side-'),__append(escapeFn(diffData.id)),__append('" id="side-by-side-'),__append(escapeFn(diffData.id)),__append('-label" onclick="swh.revision.showSplitDiff(\''),__append(escapeFn(diffData.id)),__append('\')">\n Side-by-side\n </label>\n </div>\n <a href="'),__append(escapeFn(diffData.content_url)),__append('" class="btn btn-secondary btn-sm" role="button">View file</a>\n </div>\n <div class="clearfix"></div>\n </div>\n <div id="diff_'),__append(escapeFn(diffData.id)),__append('_content" class="collapse show">\n <div class="swh-diff-loading text-center" id="'),__append(escapeFn(diffData.id)),__append('-loading" style="visibility: hidden;">\n <img src="'),__append(escapeFn(swhSpinnerSrc)),__append('">\n <p>Loading diff ...</p>\n </div>\n <div class="highlightjs swh-content" style="display: none;" id="'),__append(escapeFn(diffData.id)),__append('-highlightjs">\n <div id="'),__append(escapeFn(diffData.id)),__append('-unified-diff">\n <pre><code class="'),__append(escapeFn(diffData.id)),__append('" id="'),__append(escapeFn(diffData.id)),__append('"></code></pre>\n </div>\n <div style="width: 100%; display: none;" id="'),__append(escapeFn(diffData.id)),__append('-split-diff">\n <pre class="float-start" style="width: 50%;"><code class="'),__append(escapeFn(diffData.id)),__append('" id="'),__append(escapeFn(diffData.id)),__append('-from"></code></pre>\n <pre style="width: 50%;"><code class="'),__append(escapeFn(diffData.id)),__append('" id="'),__append(escapeFn(diffData.id)),__append('-to"></code></pre>\n </div>\n </div>\n </div>\n</div>');return __output}},10467:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,l,"next",e)}function l(e){r(a,i,o,s,l,"throw",e)}s(void 0)})}}n.d(t,{A:function(){return i}})},10713:function(e,t,n){"use strict";n.d(t,{By:function(){return Q},Fu:function(){return F},R1:function(){return j},jV:function(){return P},l9:function(){return q},ln:function(){return L},tB:function(){return U},to:function(){return M},xs:function(){return R}});var r,i=n(10467),o=n(54756),a=n.n(o),s=(n(8411),n(23717)),l=n(8545),c=n(9458),u=n.n(c),f=null,d=0,p=0,h=0,_=0,w={},m={},v=null,g=null,y={},b=null,x="#swh-revision-changes",k="Files";function S(e){var t=$(e).offset().top,n=t+$(e).outerHeight(),r=$(window).scrollTop(),i=r+$(window).height();return n>r&&t<i}function j(e,t,n){for(var r=y[e],i=A(t),o=A(n),a="",s=0;s<r-i.length;++s)a+=" ";a+=i,a+=" ";for(var l=0;l<r-o.length;++l)a+=" ";return a+=o}function T(e){var t,n;if(e.startsWith("@@")){var r=new RegExp(/^@@ -(\d+),(\d+) \+(\d+),(\d+) @@$/gm),i=new RegExp(/^@@ -(\d+) \+(\d+),(\d+) @@$/gm),o=new RegExp(/^@@ -(\d+),(\d+) \+(\d+) @@$/gm),a=new RegExp(/^@@ -(\d+) \+(\d+) @@$/gm),s=r.exec(e),l=i.exec(e),c=o.exec(e),u=a.exec(e);s?(t=parseInt(s[1])-1,n=parseInt(s[3])-1):l?(t=parseInt(l[1])-1,n=parseInt(l[2])-1):c?(t=parseInt(c[1])-1,n=parseInt(c[3])-1):u&&(t=parseInt(u[1])-1,n=parseInt(u[2])-1)}return void 0!==t?[t,n]:null}function C(e){return e?parseInt(e):0}function A(e){return e?e.toString():""}function F(e,t,n){var r;if(t||n){var i=C(e.trim());t?r=[i,0]:n&&(r=[0,i])}else(r=e.replace(/[ ]+/g," ").split(" ")).length>2&&r.shift(),r=r.map(function(e){return C(e)});return r}function q(e,t,n){var r="";return r+="F"+(e[0]||0),r+="T"+(e[1]||0),r+="-F"+(t[0]||0),r+="T"+(t[1]||0),r+=n?"-unified":"-split"}function P(e){var t=/F([0-9]+)T([0-9]+)-F([0-9]+)T([0-9]+)-([a-z]+)/.exec(e);return 6===t.length?{startLines:[parseInt(t[1]),parseInt(t[2])],endLines:[parseInt(t[3]),parseInt(t[4])],unified:"unified"===t[5]}:null}function D(e,t){var n=$("#"+e+' .hljs-ln-line[data-line-number="'+t+'"]'),r=$("#"+e+' .hljs-ln-numbers[data-line-number="'+t+'"]');return r.css("color","black"),r.css("font-weight","bold"),n.css("background-color","#fdf3da"),n.css("mix-blend-mode","multiply"),n}function O(e){void 0===e&&(e=!0),e&&(b=null,v=null,g=null),$(".hljs-ln-line[data-line-number]").css("background-color","initial"),$(".hljs-ln-line[data-line-number]").css("mix-blend-mode","initial"),$(".hljs-ln-numbers[data-line-number]").css("color","#aaa"),$(".hljs-ln-numbers[data-line-number]").css("font-weight","initial"),"Changes"===k&&window.location.hash!==x&&window.history.replaceState("",document.title,window.location.pathname+window.location.search+x)}function E(e,t,n,r){var i;if(r){var o=j(e,t[0],t[1]),a=j(e,n[0],n[1]),s=$("#"+e+' .hljs-ln-line[data-line-number="'+o+'"]'),l=$("#"+e+' .hljs-ln-line[data-line-number="'+a+'"]');if($(l).position().top<$(s).position().top){var c=[a,o];o=c[0],a=c[1],i=l}else i=s;for(var u=D(e,o),f=$(u).closest("tr"),d=$(f).children(".hljs-ln-line").data("line-number").toString();d!==a;)d.trim()&&D(e,d),f=$(f).next(),d=$(f).children(".hljs-ln-line").data("line-number").toString();D(e,a)}else if(t[0]&&n[0]){for(var p=Math.min(t[0],n[0]),h=Math.max(t[0],n[0]),_=p;_<=h;++_)D(e+"-from",_);i=$("#"+e+'-from .hljs-ln-line[data-line-number="'+p+'"]')}else if(t[1]&&n[1]){for(var w=Math.min(t[1],n[1]),m=Math.max(t[1],n[1]),v=w;v<=m;++v)D(e+"-to",v);i=$("#"+e+'-to .hljs-ln-line[data-line-number="'+w+'"]')}else{var g,y;t[0]&&n[1]?(g=t[0],y=n[1]):(g=n[0],y=t[1]);var b=$("#"+e+'-from .hljs-ln-line[data-line-number="'+g+'"]'),x=$("#"+e+'-to .hljs-ln-line[data-line-number="'+y+'"]'),k=$(b).position().top<$(x).position().top;i=k?b:x;for(var S=$("#"+e+"-from tr").first(),T=$(S).children(".hljs-ln-line").data("line-number"),C=$("#"+e+"-to tr").first(),A=$(C).children(".hljs-ln-line").data("line-number"),F=!1;k&&T===g?F=!0:k||A!==y||(F=!0),F&&T&&D(e+"-from",T),F&&A&&D(e+"-to",A),!(k&&A===y||!k&&T===g);)S=$(S).next(),T=$(S).children(".hljs-ln-line").data("line-number"),C=$(C).next(),A=$(C).children(".hljs-ln-line").data("line-number")}var P=q(t,n,r);return window.location.hash="diff_"+e+"+"+P,i}function M(e){$("#"+e+"-split-diff").css("display","none"),$("#"+e+"-unified-diff").css("display","block")}function L(e){$("#"+e+"-unified-diff").css("display","none"),$("#"+e+"-split-diff").css("display","block")}function R(e,t){return N.apply(this,arguments)}function N(){return(N=(0,i.A)(a().mark(function e(t,n){var i,o,s,l,c,u,d,m,v,g,b,x,k;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=function(e,t){$(e).attr("data-line-number",t||""),$(e).children().attr("data-line-number",t||""),$(e).siblings().attr("data-line-number",t||"")},-1!==t.indexOf("force=true")||!w.hasOwnProperty(n)){e.next=1;break}return e.abrupt("return");case 1:return w[n]=!0,$("#"+n+"-loading").css("visibility","visible"),$("#"+n+"-loading").css("display","block"),$("#"+n+"-highlightjs").css("display","none"),e.next=2,fetch(t);case 2:return o=e.sent,e.next=3,o.json();case 3:s=e.sent,++p===f.length&&$("#swh-compute-all-diffs").addClass("active"),0===s.diff_str.indexOf("Large diff")?($("#"+n)[0].innerHTML=s.diff_str+'<br/><button class="btn btn-secondary btn-sm" type="button"\n onclick="swh.revision.computeDiff(\''+t+"&force=true', '"+n+"')\">Request diff</button>",W(n)):0!==s.diff_str.indexOf("@@")?($("#"+n).text(s.diff_str),W(n)):($("."+n).removeClass("plaintext"),$("."+n).addClass(s.language),$("#"+n).text(s.diff_str),$("#"+n).each(function(e,t){hljs.highlightElement(t),hljs.lineNumbersElementSync(t)}),l="",c="",u=[],d=[],m=[],v=0,g="",b="",x=0,$("#"+n+" .hljs-ln-numbers").each(function(e,t){var n=t.nextSibling.innerText,r=T(n),i="",o="";if(r)l=r[0],c=r[1],x=0,g+=n+"\n",b+=n+"\n",d.push(""),m.push("");else if(n.length>0&&"-"===n[0])i=(l+=1).toString(),d.push(i),++_,g+=n+"\n",++x;else if(n.length>0&&"+"===n[0])o=(c+=1).toString(),m.push(o),++h,b+=n+"\n",--x;else{c+=1,i=(l+=1).toString(),o=c.toString();for(var a=0;a<Math.abs(x);++a)x>0?(b+="\n",m.push("")):(g+="\n",d.push(""));x=0,g+=n+"\n",b+=n+"\n",m.push(o),d.push(i)}l||(i=""),c||(o=""),u[e]=[i,o],v=Math.max(v,i.length),v=Math.max(v,o.length)}),y[n]=v,$("#"+n+"-from").text(g),$("#"+n+"-to").text(b),$("#"+n+"-from, #"+n+"-to").each(function(e,t){hljs.highlightElement(t),hljs.lineNumbersElementSync(t)}),$("."+n+" .hljs-ln-numbers").each(function(e,t){var n=t.nextSibling.innerText;if(n.startsWith("@@")){$(t).parent().addClass("swh-diff-lines-info");var r=$(t).parent().find(".hljs-ln-code .hljs-ln-line").text();$(t).parent().find(".hljs-ln-code .hljs-ln-line").children().remove(),$(t).parent().find(".hljs-ln-code .hljs-ln-line").text(""),$(t).parent().find(".hljs-ln-code .hljs-ln-line").append('<span class="hljs-meta">'+r+"</span>")}else n.length>0&&"-"===n[0]?$(t).parent().addClass("swh-diff-removed-line"):n.length>0&&"+"===n[0]&&$(t).parent().addClass("swh-diff-added-line")}),$("#"+n+" .hljs-ln-numbers").each(function(e,t){var r=j(n,u[e][0],u[e][1]);i(t,r)}),$("#"+n+"-from .hljs-ln-numbers").each(function(e,t){i(t,d[e])}),$("#"+n+"-to .hljs-ln-numbers").each(function(e,t){i(t,m[e])}),$("."+n+" .hljs-ln-code").each(function(e,t){if(t.firstChild){if("#text"!==t.firstChild.nodeName){var n=t.firstChild.innerHTML;if("-"===n[0]||"+"===n[0]){t.firstChild.innerHTML=n.substr(1);var r=document.createTextNode(n[0]);$(t).prepend(r)}}$(t).contents().filter(function(e,t){return 3===t.nodeType}).each(function(e,n){var r="[swh-no-nl-marker]";-1!==n.textContent.indexOf(r)&&(n.textContent=n.textContent.replace(r,""),$(t).append($('<span class="no-nl-marker" style="color: red;" title="No newline at end of file"><i class="mdi mdi-rotate-90 mdi-cancel" aria-hidden="true"><i class="mdi mdi-keyboard-return" aria-hidden="true"></span>')))})}}),0!==s.diff_str.indexOf("Diffs are not generated for non textual content")&&($("#diff_"+n+" .diff-styles").css("visibility","visible"),$("#diff_"+n+" .diff-styles").children().first().prop("checked",!0)),W(n),r&&-1!==r.diffPanelId.indexOf(n)&&(r.unified||L(n),k=E(n,r.startLines,r.endLines,r.unified),$("html, body").animate({scrollTop:k.offset().top-50},{duration:500})));case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function W(e){$("#"+e+"-loading").css("display","none"),$("#"+e+"-highlightjs").css("display","block"),$("#swh-revision-lines-added").text(h+" additions"),$("#swh-revision-lines-deleted").text(_+" deletions"),$("#swh-nb-diffs-computed").text(p),Waypoint.refreshAll()}function I(){$(".swh-file-diff-panel").each(function(e,t){if(S(t)){var n=t.id.replace("diff_","");R(m[n],n)}})}function H(e){var t=e.path;return"rename"===e.type&&(t=e.from_path+" &rarr; "+e.to_path),u()({diffData:e,diffPanelTitle:t,swhSpinnerSrc:s.Q$})}function z(){for(var e=0;e<f.length;++e){var t=f[e];$("#diff_"+t.id).waypoint({handler:function(){if(S(this.element)){var e=this.element.id.replace("diff_","");R(m[e],e),this.destroy()}},offset:"100%"}),$("#diff_"+t.id).waypoint({handler:function(){if(S(this.element)){var e=this.element.id.replace("diff_","");R(m[e],e),this.destroy()}},offset:function(){return-$(this.element).height()}})}Waypoint.refreshAll()}function B(e,t){void 0===t&&(t=!0),Waypoint.disableAll(),$("html, body").animate({scrollTop:$(e).offset().top},{duration:500,complete:function(){t&&(window.location.hash=e),Waypoint.enableAll(),I()}})}function U(e){for(var t in $(e.currentTarget).addClass("active"),m)m.hasOwnProperty(t)&&R(m[t],t);e.stopPropagation()}function Q(e,t){return G.apply(this,arguments)}function G(){return G=(0,i.A)(a().mark(function e(t,o){return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,n.e(940).then(n.bind(n,49931));case 1:$(document).on("shown.bs.tab",'a[data-bs-toggle="tab"]',function(){var e=(0,i.A)(a().mark(function e(t){var n,i,s,c,u;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("Changes"!==(k=t.currentTarget.text.trim())){e.next=4;break}if(window.location.hash=x,$("#readme-panel").css("display","none"),!f){e.next=1;break}return e.abrupt("return");case 1:return e.next=2,fetch(o);case 2:return n=e.sent,e.next=3,n.json();case 3:for(i=e.sent,f=i.changes,d=i.total_nb_changes,s=d+" changed file",1!==d&&(s+="s"),$("#swh-revision-changed-files").text(s),$("#swh-total-nb-diffs").text(f.length),$("#swh-revision-changes-list pre")[0].innerHTML=i.changes_msg,$("#swh-revision-changes-loading").css("display","none"),$("#swh-revision-changes-list pre").css("display","block"),$("#swh-compute-all-diffs").css("visibility","visible"),$("#swh-revision-changes-list").removeClass("in"),d>f.length&&($("#swh-too-large-revision-diff").css("display","block"),$("#swh-nb-loaded-diffs").text(f.length)),c=0;c<f.length;++c)u=f[c],m[u.id]=u.diff_url,$("#swh-revision-diffs").append(H(u));z(),I(),r&&B(r.diffPanelId,!1),e.next=5;break;case 4:"Files"===k&&((0,l.Iq)(),$("#readme-panel").css("display","block"));case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()),$(document).ready(function(){t.length>0?$("#swh-revision-message").addClass("in"):$("#swh-collapse-revision-message").attr("data-bs-toggle",""),$('#swh-revision-changes-list a[href^="#"], #back-to-top a[href^="#"]').click(function(e){return B($.attr(e.currentTarget,"href")),!1}),$("body").click(function(e){if("Changes"===k)if(e.target.classList.contains("hljs-ln-n")){var t=$(e.target).closest("code").prop("id"),n=-1!==t.indexOf("-from"),r=-1!==t.indexOf("-to"),i=$(e.target).data("line-number").toString(),o=t.replace("-from","").replace("-to","");e.shiftKey&&o===b&&i.trim()||(O(),b=o),o===b&&i.trim()&&(e.shiftKey?v&&(O(!1),g=F(i,n,r),E(o,v,g,!n&&!r)):E(o,v=F(i,n,r),v,!n&&!r))}else O()});var e=window.location.hash;if(e){var n=e.split("+");2===n.length&&(r=P(n[1]))&&(r.diffPanelId=n[0],$('.nav-tabs a[href="'+x+'"]').tab("show")),e===x&&$('.nav-tabs a[href="'+x+'"]').tab("show")}});case 2:case"end":return e.stop()}},e)})),G.apply(this,arguments)}},11791:function(e,t,n){var r=n(25172),i=n(75546);e.exports=function e(t,n){function o(e,i,a,s){try{var l=t[e](i),c=l.value;return c instanceof r?n.resolve(c.v).then(function(e){o("next",e,a,s)},function(e){o("throw",e,a,s)}):n.resolve(c).then(function(e){l.value=e,a(l)},function(e){return o("throw",e,a,s)})}catch(e){s(e)}}var a;this.next||(i(e.prototype),i(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(e,t,r){function i(){return new n(function(t,n){o(e,r,t,n)})}return a=a?a.then(i,i):i()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports},16993:function(e,t,n){var r=n(75546);function i(){var t,n,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.toStringTag||"@@toStringTag";function l(e,i,o,a){var s=i&&i.prototype instanceof u?i:u,l=Object.create(s.prototype);return r(l,"_invoke",function(e,r,i){var o,a,s,l=0,u=i||[],f=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return o=e,a=0,s=t,d.n=n,c}};function p(e,r){for(a=e,s=r,n=0;!f&&l&&!i&&n<u.length;n++){var i,o=u[n],p=d.p,h=o[2];e>3?(i=h===r)&&(s=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=t):o[0]<=p&&((i=e<2&&p<o[1])?(a=0,d.v=r,d.n=o[1]):p<h&&(i=e<3||o[0]>r||r>h)&&(o[4]=e,o[5]=r,d.n=h,a=0))}if(i||e>1)return c;throw f=!0,r}return function(i,u,h){if(l>1)throw TypeError("Generator is already running");for(f&&1===u&&p(u,h),a=u,s=h;(n=a<2?t:s)||!f;){o||(a?a<3?(a>1&&(d.n=-1),p(a,s)):d.n=s:d.v=s);try{if(l=2,o){if(a||(i="next"),n=o[i]){if(!(n=n.call(o,s)))throw TypeError("iterator result is not an object");if(!n.done)return n;s=n.value,a<2&&(a=0)}else 1===a&&(n=o.return)&&n.call(o),a<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=t}else if((n=(f=d.n<0)?s:e.call(r,d))!==c)break}catch(e){o=t,a=1,s=e}finally{l=1}}return{value:n,done:f}}}(e,o,a),!0),l}var c={};function u(){}function f(){}function d(){}n=Object.getPrototypeOf;var p=[][a]?n(n([][a]())):(r(n={},a,function(){return this}),n),h=d.prototype=u.prototype=Object.create(p);function _(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,s,"GeneratorFunction")),e.prototype=Object.create(h),e}return f.prototype=d,r(h,"constructor",d),r(d,"constructor",f),f.displayName="GeneratorFunction",r(d,s,"GeneratorFunction"),r(h),r(h,s,"Generator"),r(h,a,function(){return this}),r(h,"toString",function(){return"[object Generator]"}),(e.exports=i=function(){return{w:l,m:_}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},18987:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}(function e(t,n){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=r({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){i(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:"/"})},23717:function(e,t,n){"use strict";n.d(t,{Q$:function(){return r}});var r=(0,n(8545).lY)("img/swh-spinner.gif")},25172:function(e){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},25954:function(e,t,n){"use strict";function r(e){var t=new URLSearchParams(window.location.search);$(e.target).val()?t.set("revs_ordering",$(e.target).val()):t.has("revs_ordering")&&t.delete("revs_ordering"),window.location.search=t.toString()}function i(){$(document).ready(function(){var e=new URLSearchParams(window.location.search).get("revs_ordering");e&&$(':input[value="'+e+'"]').prop("checked",!0)})}n.d(t,{_:function(){return r},z:function(){return i}})},30579:function(e,t,n){var r=n(73738).default;e.exports=function(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(r(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports},54756:function(e,t,n){var r=n(4633)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},55869:function(e,t,n){var r=n(887);e.exports=function(e,t,n,i,o){var a=r(e,t,n,i,o);return a.next().then(function(e){return e.done?e.value:a.next()})},e.exports.__esModule=!0,e.exports.default=e.exports},73738:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},75546:function(e){function t(n,r,i,o){var a=Object.defineProperty;try{a({},"",{})}catch(n){a=0}e.exports=t=function(e,n,r,i){function o(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?a?a(e,n,{value:r,enumerable:!i,configurable:!i,writable:!i}):e[n]=r:(o("next",0),o("throw",1),o("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r,i,o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}},__webpack_module_cache__={},inProgress,dataWebpackPrefix;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.m=__webpack_modules__,__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 n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.f={},__webpack_require__.e=function(e){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(t,n){return __webpack_require__.f[n](e,t),t},[]))},__webpack_require__.u=function(e){return"js/highlightjs.14fc09414685bf90c554.js"},__webpack_require__.miniCssF=function(e){return"css/highlightjs.0c1b181eb006699a4c3e.css"},__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)},inProgress={},dataWebpackPrefix="swh:",__webpack_require__.l=function(e,t,n,r){if(inProgress[e])inProgress[e].push(t);else{var i,o;if(void 0!==n)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var l=a[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==dataWebpackPrefix+n){i=l;break}}i||(o=!0,(i=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",dataWebpackPrefix+n),i.src=e),inProgress[e]=[t];var c=function(t,n){i.onerror=i.onload=null,clearTimeout(u);var r=inProgress[e];if(delete inProgress[e],i.parentNode&&i.parentNode.removeChild(i),r&&r.forEach(function(e){return e(n)}),t)return t(n)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=c.bind(null,i.onerror),i.onload=c.bind(null,i.onload),o&&document.head.appendChild(i)}},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.p="/static/",function(){if("undefined"!=typeof document){var e=function(e){return new Promise(function(t,n){var r=__webpack_require__.miniCssF(e),i=__webpack_require__.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var i=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(i===e||i===t))return a}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var a;if((i=(a=o[r]).getAttribute("data-href"))===e||i===t)return a}}(r,i))return t();!function(e,t,n,r,i){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",__webpack_require__.nc&&(o.nonce=__webpack_require__.nc),o.onerror=o.onload=function(n){if(o.onerror=o.onload=null,"load"===n.type)r();else{var a=n&&n.type,s=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+s+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=s,o.parentNode&&o.parentNode.removeChild(o),i(l)}},o.href=t,n?n.parentNode.insertBefore(o,n.nextSibling):document.head.appendChild(o)}(e,i,null,t,n)})},t={552:0};__webpack_require__.f.miniCss=function(n,r){t[n]?r.push(t[n]):0!==t[n]&&{940:1}[n]&&r.push(t[n]=e(n).then(function(){t[n]=0},function(e){throw delete t[n],e}))}}}(),function(){var e={552:0};__webpack_require__.f.j=function(t,n){var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(function(n,i){r=e[t]=[n,i]});n.push(r[2]=i);var o=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(o,function(n){if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,r[1](a)}},"chunk-"+t,t)}};var t=function(t,n){var r,i,o=n[0],a=n[1],s=n[2],l=0;if(o.some(function(t){return 0!==e[t]})){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);if(s)s(__webpack_require__)}for(t&&t(n);l<o.length;l++)i=o[l],__webpack_require__.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunkswh=self.webpackChunkswh||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var __webpack_exports__={};return function(){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{computeAllDiffs:function(){return e.tB},computeDiff:function(){return e.xs},formatDiffLineNumbers:function(){return e.R1},fragmentToSelectedDiffLines:function(){return e.jV},initRevisionDiff:function(){return e.By},initRevisionsLog:function(){return t.z},parseDiffLineNumbers:function(){return e.Fu},revsOrderingTypeClicked:function(){return t._},selectedDiffLinesToFragment:function(){return e.l9},showSplitDiff:function(){return e.ln},showUnifiedDiff:function(){return e.to}});var e=__webpack_require__(10713),t=__webpack_require__(25954)}(),__webpack_exports__}()});
3
+ //# sourceMappingURL=revision.61c9277f4a4c63df0f45.js.map