CoreFiles by mySites.guru
diff.min.js43 lines, 17,979 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
abe9657c1ee1c7e917d250f507ae240c
sha1
6cf35828644931d956c1753607512c90690fa71d
sha256
3f03fec7f307c8b91c9ff112df1fc0f49864ae19efa11176d2e5c52f98c71f01
/*!

 diff v5.1.0

Software License Agreement (BSD License)

Copyright (c) 2009-2015, Kevin Decker <[email protected]>

All rights reserved.

Redistribution and use of this software in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above
  copyright notice, this list of conditions and the
  following disclaimer.

* Redistributions in binary form must reproduce the above
  copyright notice, this list of conditions and the
  following disclaimer in the documentation and/or other
  materials provided with the distribution.

* Neither the name of Kevin Decker nor the names of its
  contributors may be used to endorse or promote products
  derived from this software without specific prior
  written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@license
*/(function(v,m){typeof exports=="object"&&typeof module<"u"?m(exports):typeof define=="function"&&define.amd?define(["exports"],m):(v=v||self,m(v.Diff={}))})(this,function(v){"use strict";function m(){}m.prototype={diff:function(n,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=r.callback;typeof r=="function"&&(f=r,r={}),this.options=r;var i=this;function l(d){return f?(setTimeout(function(){f(void 0,d)},0),!0):d}n=this.castInput(n),t=this.castInput(t),n=this.removeEmpty(this.tokenize(n)),t=this.removeEmpty(this.tokenize(t));var s=t.length,o=n.length,u=1,c=s+o;r.maxEditLength&&(c=Math.min(c,r.maxEditLength));var p=[{newPos:-1,components:[]}],a=this.extractCommon(p[0],t,n,0);if(p[0].newPos+1>=s&&a+1>=o)return l([{value:this.join(t),count:t.length}]);function h(){for(var d=-1*u;d<=u;d+=2){var L=void 0,x=p[d-1],y=p[d+1],F=(y?y.newPos:0)-d;x&&(p[d-1]=void 0);var g=x&&x.newPos+1<s,S=y&&0<=F&&F<o;if(!g&&!S){p[d]=void 0;continue}if(!g||S&&x.newPos<y.newPos?(L=ge(y),i.pushComponent(L.components,void 0,!0)):(L=x,L.newPos++,i.pushComponent(L.components,!0,void 0)),F=i.extractCommon(L,t,n,d),L.newPos+1>=s&&F+1>=o)return l(we(i,L.components,t,n,i.useLongestToken));p[d]=L}u++}if(f)(function d(){setTimeout(function(){if(u>c)return f();h()||d()},0)})();else for(;u<=c;){var w=h();if(w)return w}},pushComponent:function(n,t,r){var f=n[n.length-1];f&&f.added===t&&f.removed===r?n[n.length-1]={count:f.count+1,added:t,removed:r}:n.push({count:1,added:t,removed:r})},extractCommon:function(n,t,r,f){for(var i=t.length,l=r.length,s=n.newPos,o=s-f,u=0;s+1<i&&o+1<l&&this.equals(t[s+1],r[o+1]);)s++,o++,u++;return u&&n.components.push({count:u}),n.newPos=s,o},equals:function(n,t){return this.options.comparator?this.options.comparator(n,t):n===t||this.options.ignoreCase&&n.toLowerCase()===t.toLowerCase()},removeEmpty:function(n){for(var t=[],r=0;r<n.length;r++)n[r]&&t.push(n[r]);return t},castInput:function(n){return n},tokenize:function(n){return n.split("")},join:function(n){return n.join("")}};function we(e,n,t,r,f){for(var i=0,l=n.length,s=0,o=0;i<l;i++){var u=n[i];if(u.removed){if(u.value=e.join(r.slice(o,o+u.count)),o+=u.count,i&&n[i-1].added){var p=n[i-1];n[i-1]=n[i],n[i]=p}}else{if(!u.added&&f){var c=t.slice(s,s+u.count);c=c.map(function(h,w){var d=r[o+w];return d.length>h.length?d:h}),u.value=e.join(c)}else u.value=e.join(t.slice(s,s+u.count));s+=u.count,u.added||(o+=u.count)}}var a=n[l-1];return l>1&&typeof a.value=="string"&&(a.added||a.removed)&&e.equals("",a.value)&&(n[l-2].value+=a.value,n.pop()),n}function ge(e){return{newPos:e.newPos,components:e.components.slice(0)}}var Le=new m;function ye(e,n,t){return Le.diff(e,n,t)}function k(e,n){if(typeof e=="function")n.callback=e;else if(e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}var ee=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,ne=/\S/,C=new m;C.equals=function(e,n){return this.options.ignoreCase&&(e=e.toLowerCase(),n=n.toLowerCase()),e===n||this.options.ignoreWhitespace&&!ne.test(e)&&!ne.test(n)},C.tokenize=function(e){for(var n=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t<n.length-1;t++)!n[t+1]&&n[t+2]&&ee.test(n[t])&&ee.test(n[t+2])&&(n[t]+=n[t+2],n.splice(t+1,2),t--);return n};function me(e,n,t){return t=k(t,{ignoreWhitespace:!0}),C.diff(e,n,t)}function xe(e,n,t){return C.diff(e,n,t)}var $=new m;$.tokenize=function(e){var n=[],t=e.split(/(\n|\r\n)/);t[t.length-1]||t.pop();for(var r=0;r<t.length;r++){var f=t[r];r%2&&!this.options.newlineIsToken?n[n.length-1]+=f:(this.options.ignoreWhitespace&&(f=f.trim()),n.push(f))}return n};function te(e,n,t){return $.diff(e,n,t)}function Fe(e,n,t){var r=k(t,{ignoreWhitespace:!0});return $.diff(e,n,r)}var re=new m;re.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};function Ne(e,n,t){return re.diff(e,n,t)}var ie=new m;ie.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};function He(e,n,t){return ie.diff(e,n,t)}function J(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?J=function(n){return typeof n}:J=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},J(e)}function H(e){return Se(e)||Ie(e)||Ee(e)||Te()}function Se(e){if(Array.isArray(e))return Z(e)}function Ie(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Ee(e,n){if(e){if(typeof e=="string")return Z(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Z(e,n)}}function Z(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Te(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ae=Object.prototype.toString,W=new m;W.useLongestToken=!0,W.tokenize=$.tokenize,W.castInput=function(e){var n=this.options,t=n.undefinedReplacement,r=n.stringifyReplacer,f=r===void 0?function(i,l){return typeof l>"u"?t:l}:r;return typeof e=="string"?e:JSON.stringify(R(e,null,null,f),f,"  ")},W.equals=function(e,n){return m.prototype.equals.call(W,e.replace(/,([\r\n])/g,"$1"),n.replace(/,([\r\n])/g,"$1"))};function Oe(e,n,t){return W.diff(e,n,t)}function R(e,n,t,r,f){n=n||[],t=t||[],r&&(e=r(f,e));var i;for(i=0;i<n.length;i+=1)if(n[i]===e)return t[i];var l;if(Ae.call(e)==="[object Array]"){for(n.push(e),l=new Array(e.length),t.push(l),i=0;i<e.length;i+=1)l[i]=R(e[i],n,t,r,f);return n.pop(),t.pop(),l}if(e&&e.toJSON&&(e=e.toJSON()),J(e)==="object"&&e!==null){n.push(e),l={},t.push(l);var s=[],o;for(o in e)e.hasOwnProperty(o)&&s.push(o);for(s.sort(),i=0;i<s.length;i+=1)o=s[i],l[o]=R(e[o],n,t,r,o);n.pop(),t.pop()}else l=e;return l}var D=new m;D.tokenize=function(e){return e.slice()},D.join=D.removeEmpty=function(e){return e};function ze(e,n,t){return D.diff(e,n,t)}function P(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],f=[],i=0;function l(){var u={};for(f.push(u);i<t.length;){var c=t[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(c))break;var p=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(c);p&&(u.index=p[1]),i++}for(s(u),s(u),u.hunks=[];i<t.length;){var a=t[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(a))break;if(/^@@/.test(a))u.hunks.push(o());else{if(a&&n.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(a));i++}}}function s(u){var c=/^(---|\+\+\+)\s+(.*)$/.exec(t[i]);if(c){var p=c[1]==="---"?"old":"new",a=c[2].split("	",2),h=a[0].replace(/\\\\/g,"\\");/^".*"$/.test(h)&&(h=h.substr(1,h.length-2)),u[p+"FileName"]=h,u[p+"Header"]=(a[1]||"").trim(),i++}}function o(){var u=i,c=t[i++],p=c.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+p[1],oldLines:typeof p[2]>"u"?1:+p[2],newStart:+p[3],newLines:typeof p[4]>"u"?1:+p[4],lines:[],linedelimiters:[]};a.oldLines===0&&(a.oldStart+=1),a.newLines===0&&(a.newStart+=1);for(var h=0,w=0;i<t.length&&!(t[i].indexOf("--- ")===0&&i+2<t.length&&t[i+1].indexOf("+++ ")===0&&t[i+2].indexOf("@@")===0);i++){var d=t[i].length==0&&i!=t.length-1?" ":t[i][0];if(d==="+"||d==="-"||d===" "||d==="\\")a.lines.push(t[i]),a.linedelimiters.push(r[i]||`
`),d==="+"?h++:d==="-"?w++:d===" "&&(h++,w++);else break}if(!h&&a.newLines===1&&(a.newLines=0),!w&&a.oldLines===1&&(a.oldLines=0),n.strict){if(h!==a.newLines)throw new Error("Added line count did not match for hunk at line "+(u+1));if(w!==a.oldLines)throw new Error("Removed line count did not match for hunk at line "+(u+1))}return a}for(;i<t.length;)l();return f}function be(e,n,t){var r=!0,f=!1,i=!1,l=1;return function s(){if(r&&!i){if(f?l++:r=!1,e+l<=t)return l;i=!0}if(!f)return i||(r=!0),n<=e-l?-l++:(f=!0,s())}}function fe(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof n=="string"&&(n=P(n)),Array.isArray(n)){if(n.length>1)throw new Error("applyPatch only works with a single input.");n=n[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),f=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=n.hunks,l=t.compareLine||function(j,q,X,b){return q===b},s=0,o=t.fuzzFactor||0,u=0,c=0,p,a;function h(j,q){for(var X=0;X<j.lines.length;X++){var b=j.lines[X],_=b.length>0?b[0]:" ",Ze=b.length>0?b.substr(1):b;if(_===" "||_==="-"){if(!l(q+1,r[q],_,Ze)&&(s++,s>o))return!1;q++}}return!0}for(var w=0;w<i.length;w++){for(var d=i[w],L=r.length-d.oldLines,x=0,y=c+d.oldStart-1,F=be(y,u,L);x!==void 0;x=F())if(h(d,y+x)){d.offset=c+=x;break}if(x===void 0)return!1;u=d.offset+d.oldStart+d.oldLines}for(var g=0,S=0;S<i.length;S++){var N=i[S],I=N.oldStart+N.offset+g-1;g+=N.newLines-N.oldLines;for(var E=0;E<N.lines.length;E++){var T=N.lines[E],A=T.length>0?T[0]:" ",V=T.length>0?T.substr(1):T,K=N.linedelimiters[E];if(A===" ")I++;else if(A==="-")r.splice(I,1),f.splice(I,1);else if(A==="+")r.splice(I,0,V),f.splice(I,0,K),I++;else if(A==="\\"){var M=N.lines[E-1]?N.lines[E-1][0]:null;M==="+"?p=!0:M==="-"&&(a=!0)}}}if(p)for(;!r[r.length-1];)r.pop(),f.pop();else a&&(r.push(""),f.push(`
`));for(var z=0;z<r.length-1;z++)r[z]=r[z]+f[z];return r.join("")}function We(e,n){typeof e=="string"&&(e=P(e));var t=0;function r(){var f=e[t++];if(!f)return n.complete();n.loadFile(f,function(i,l){if(i)return n.complete(i);var s=fe(l,f,n);n.patched(f,s,function(o){if(o)return n.complete(o);r()})})}r()}function B(e,n,t,r,f,i,l){l||(l={}),typeof l.context>"u"&&(l.context=4);var s=te(t,r,l);if(!s)return;s.push({value:"",lines:[]});function o(x){return x.map(function(y){return" "+y})}for(var u=[],c=0,p=0,a=[],h=1,w=1,d=function(y){var F=s[y],g=F.lines||F.value.replace(/\n$/,"").split(`
`);if(F.lines=g,F.added||F.removed){var S;if(!c){var N=s[y-1];c=h,p=w,N&&(a=l.context>0?o(N.lines.slice(-l.context)):[],c-=a.length,p-=a.length)}(S=a).push.apply(S,H(g.map(function(z){return(F.added?"+":"-")+z}))),F.added?w+=g.length:h+=g.length}else{if(c)if(g.length<=l.context*2&&y<s.length-2){var I;(I=a).push.apply(I,H(o(g)))}else{var E,T=Math.min(g.length,l.context);(E=a).push.apply(E,H(o(g.slice(0,T))));var A={oldStart:c,oldLines:h-c+T,newStart:p,newLines:w-p+T,lines:a};if(y>=s.length-2&&g.length<=l.context){var V=/\n$/.test(t),K=/\n$/.test(r),M=g.length==0&&a.length>A.oldLines;!V&&M&&t.length>0&&a.splice(A.oldLines,0,"\\ No newline at end of file"),(!V&&!M||!K)&&a.push("\\ No newline at end of file")}u.push(A),c=0,p=0,a=[]}h+=g.length,w+=g.length}},L=0;L<s.length;L++)d(L);return{oldFileName:e,newFileName:n,oldHeader:f,newHeader:i,hunks:u}}function Me(e){var n=[];e.oldFileName==e.newFileName&&n.push("Index: "+e.oldFileName),n.push("==================================================================="),n.push("--- "+e.oldFileName+(typeof e.oldHeader>"u"?"":"	"+e.oldHeader)),n.push("+++ "+e.newFileName+(typeof e.newHeader>"u"?"":"	"+e.newHeader));for(var t=0;t<e.hunks.length;t++){var r=e.hunks[t];r.oldLines===0&&(r.oldStart-=1),r.newLines===0&&(r.newStart-=1),n.push("@@ -"+r.oldStart+","+r.oldLines+" +"+r.newStart+","+r.newLines+" @@"),n.push.apply(n,r.lines)}return n.join(`
`)+`
`}function le(e,n,t,r,f,i,l){return Me(B(e,n,t,r,f,i,l))}function qe(e,n,t,r,f,i){return le(e,e,n,t,r,f,i)}function Ce(e,n){return e.length!==n.length?!1:G(e,n)}function G(e,n){if(n.length>e.length)return!1;for(var t=0;t<n.length;t++)if(n[t]!==e[t])return!1;return!0}function $e(e){var n=Y(e.lines),t=n.oldLines,r=n.newLines;t!==void 0?e.oldLines=t:delete e.oldLines,r!==void 0?e.newLines=r:delete e.newLines}function Je(e,n,t){e=se(e,t),n=se(n,t);var r={};(e.index||n.index)&&(r.index=e.index||n.index),(e.newFileName||n.newFileName)&&(oe(e)?oe(n)?(r.oldFileName=U(r,e.oldFileName,n.oldFileName),r.newFileName=U(r,e.newFileName,n.newFileName),r.oldHeader=U(r,e.oldHeader,n.oldHeader),r.newHeader=U(r,e.newHeader,n.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=n.oldFileName||e.oldFileName,r.newFileName=n.newFileName||e.newFileName,r.oldHeader=n.oldHeader||e.oldHeader,r.newHeader=n.newHeader||e.newHeader)),r.hunks=[];for(var f=0,i=0,l=0,s=0;f<e.hunks.length||i<n.hunks.length;){var o=e.hunks[f]||{oldStart:1/0},u=n.hunks[i]||{oldStart:1/0};if(ue(o,u))r.hunks.push(ae(o,l)),f++,s+=o.newLines-o.oldLines;else if(ue(u,o))r.hunks.push(ae(u,s)),i++,l+=u.newLines-u.oldLines;else{var c={oldStart:Math.min(o.oldStart,u.oldStart),oldLines:0,newStart:Math.min(o.newStart+l,u.oldStart+s),newLines:0,lines:[]};Re(c,o.oldStart,o.lines,u.oldStart,u.lines),i++,f++,r.hunks.push(c)}}return r}function se(e,n){if(typeof e=="string"){if(/^@@/m.test(e)||/^Index:/m.test(e))return P(e)[0];if(!n)throw new Error("Must provide a base reference or pass in a patch");return B(void 0,void 0,n,e)}return e}function oe(e){return e.newFileName&&e.newFileName!==e.oldFileName}function U(e,n,t){return n===t?n:(e.conflict=!0,{mine:n,theirs:t})}function ue(e,n){return e.oldStart<n.oldStart&&e.oldStart+e.oldLines<n.oldStart}function ae(e,n){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+n,newLines:e.newLines,lines:e.lines}}function Re(e,n,t,r,f){var i={offset:n,lines:t,index:0},l={offset:r,lines:f,index:0};for(ce(e,i,l),ce(e,l,i);i.index<i.lines.length&&l.index<l.lines.length;){var s=i.lines[i.index],o=l.lines[l.index];if((s[0]==="-"||s[0]==="+")&&(o[0]==="-"||o[0]==="+"))De(e,i,l);else if(s[0]==="+"&&o[0]===" "){var u;(u=e.lines).push.apply(u,H(O(i)))}else if(o[0]==="+"&&s[0]===" "){var c;(c=e.lines).push.apply(c,H(O(l)))}else s[0]==="-"&&o[0]===" "?de(e,i,l):o[0]==="-"&&s[0]===" "?de(e,l,i,!0):s===o?(e.lines.push(s),i.index++,l.index++):Q(e,O(i),O(l))}pe(e,i),pe(e,l),$e(e)}function De(e,n,t){var r=O(n),f=O(t);if(ve(r)&&ve(f)){if(G(r,f)&&he(t,r,r.length-f.length)){var i;(i=e.lines).push.apply(i,H(r));return}else if(G(f,r)&&he(n,f,f.length-r.length)){var l;(l=e.lines).push.apply(l,H(f));return}}else if(Ce(r,f)){var s;(s=e.lines).push.apply(s,H(r));return}Q(e,r,f)}function de(e,n,t,r){var f=O(n),i=Pe(t,f);if(i.merged){var l;(l=e.lines).push.apply(l,H(i.merged))}else Q(e,r?i:f,r?f:i)}function Q(e,n,t){e.conflict=!0,e.lines.push({conflict:!0,mine:n,theirs:t})}function ce(e,n,t){for(;n.offset<t.offset&&n.index<n.lines.length;){var r=n.lines[n.index++];e.lines.push(r),n.offset++}}function pe(e,n){for(;n.index<n.lines.length;){var t=n.lines[n.index++];e.lines.push(t)}}function O(e){for(var n=[],t=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if(t==="-"&&r[0]==="+"&&(t="+"),t===r[0])n.push(r),e.index++;else break}return n}function Pe(e,n){for(var t=[],r=[],f=0,i=!1,l=!1;f<n.length&&e.index<e.lines.length;){var s=e.lines[e.index],o=n[f];if(o[0]==="+")break;if(i=i||s[0]!==" ",r.push(o),f++,s[0]==="+")for(l=!0;s[0]==="+";)t.push(s),s=e.lines[++e.index];o.substr(1)===s.substr(1)?(t.push(s),e.index++):l=!0}if((n[f]||"")[0]==="+"&&i&&(l=!0),l)return t;for(;f<n.length;)r.push(n[f++]);return{merged:r,changes:t}}function ve(e){return e.reduce(function(n,t){return n&&t[0]==="-"},!0)}function he(e,n,t){for(var r=0;r<t;r++){var f=n[n.length-t+r].substr(1);if(e.lines[e.index+r]!==" "+f)return!1}return e.index+=t,!0}function Y(e){var n=0,t=0;return e.forEach(function(r){if(typeof r!="string"){var f=Y(r.mine),i=Y(r.theirs);n!==void 0&&(f.oldLines===i.oldLines?n+=f.oldLines:n=void 0),t!==void 0&&(f.newLines===i.newLines?t+=f.newLines:t=void 0)}else t!==void 0&&(r[0]==="+"||r[0]===" ")&&t++,n!==void 0&&(r[0]==="-"||r[0]===" ")&&n++}),{oldLines:n,newLines:t}}function Ue(e){for(var n=[],t,r,f=0;f<e.length;f++)t=e[f],t.added?r=1:t.removed?r=-1:r=0,n.push([r,t.value]);return n}function Ve(e){for(var n=[],t=0;t<e.length;t++){var r=e[t];r.added?n.push("<ins>"):r.removed&&n.push("<del>"),n.push(Xe(r.value)),r.added?n.push("</ins>"):r.removed&&n.push("</del>")}return n.join("")}function Xe(e){var n=e;return n=n.replace(/&/g,"&amp;"),n=n.replace(/</g,"&lt;"),n=n.replace(/>/g,"&gt;"),n=n.replace(/"/g,"&quot;"),n}v.Diff=m,v.applyPatch=fe,v.applyPatches=We,v.canonicalize=R,v.convertChangesToDMP=Ue,v.convertChangesToXML=Ve,v.createPatch=qe,v.createTwoFilesPatch=le,v.diffArrays=ze,v.diffChars=ye,v.diffCss=He,v.diffJson=Oe,v.diffLines=te,v.diffSentences=Ne,v.diffTrimmedLines=Fe,v.diffWords=me,v.diffWordsWithSpace=xe,v.merge=Je,v.parsePatch=P,v.structuredPatch=B,Object.defineProperty(v,"__esModule",{value:!0})});

The same content is in 40 releases, Joomla 4.4.1-rc1 to 5.1.0-alpha4. See them all, or every version of this file.