| 1409 | `))K=K.slice(0,-1)}return super.equals(q,K,_)}};Wj4=new Pj4});function px1(q,K,_){return fj4.diff(q,K,_)}var Dj4,fj4;var Zj4=y(()=>{Dj4=class Dj4 extends Jr{tokenize(q){return q.slice()}join(q){return q}removeEmpty(q){return q}};fj4=new Dj4});function Ck6(q,K,_,z,Y,$,A){let O;if(!A)O={};else if(typeof A==="function")O={callback:A};else O=A;if(typeof O.context>"u")O.context=4;let w=O.context;if(O.newlineIsToken)throw Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(!O.callback)return j(U76(_,z,O));else{let{callback:H}=O;U76(_,z,Object.assign(Object.assign({},O),{callback:(J)=>{let M=j(J);H(M)}}))}function j(H){if(!H)return;H.push({value:"",lines:[]});function J(G){return G.map(function(Z){return" "+Z})}let M=[],X=0,P=0,W=[],D=1,f=1;for(let G=0;G<H.length;G++){let Z=H[G],T=Z.lines||_d_(Z.value);if(Z.lines=T,Z.added||Z.removed){if(!X){let v=H[G-1];if(X=D,P=f,v)W=w>0?J(v.lines.slice(-w)):[],X-=W.length,P-=W.length}for(let v of T)W.push((Z.added?"+":"-")+v);if(Z.added)f+=T.length;else D+=T.length}else{if(X)if(T.length<=w*2&&G<H.length-2)for(let v of J(T))W.push(v);else{let v=Math.min(T.length,w);for(let E of J(T.slice(0,v)))W.push(E);let V={oldStart:X,oldLines:D-X+v,newStart:P,newLines:f-P+v,lines:W};M.push(V),X=0,P=0,W=[]}D+=T.length,f+=T.length}}for(let G of M)for(let Z=0;Z<G.lines.length;Z++)if(G.lines[Z].endsWith(` |
| 1410 | `))G.lines[Z]=G.lines[Z].slice(0,-1);else G.lines.splice(Z+1,0,"\\ No newline at end of file"),Z++;return{oldFileName:q,newFileName:K,oldHeader:Y,newHeader:$,hunks:M}}}function _d_(q){let K=q.endsWith(` |