1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6177],{7696:e=>{e.exports={container:"raw_container__eLHUS","diff-container":"raw_diff-container__PYkNL"}},46177:(e,n,r)=>{"use strict";r.r(n),r.d(n,{DiffCodeEditorRaw:()=>w});var t=r(40378),a=r(19),o=r(8263),i=r(50946),s=r(7696),l=r.n(s),c=r(53373),d=r(41325),u=r(93365),f=r(56434),_=r(30245),h=r(53981);let w=e=>{let{oldValue:n,newValue:r,language:s,condition:w}=e,{data:g}=(0,a.I)(["code-editor-languages",s],async e=>{let{queryKey:n}=e,r=n[1];if(!r||"plainText"===r)return null;let t=i.Y[r];return o.cg[t.codeMirrorAccessorKey]().extension},{staleTime:1/0}),p=f.useMemo(()=>{let e=[u.Lz.editable.of(!1),d.$t.readOnly.of(!0),c.Q4];return g&&e.push(g),e},[g]),m=f.useRef(null),{a:x,b}=f.useMemo(()=>new _.SV({a:{doc:n,extensions:p},b:{doc:r,extensions:p},gutter:!0,orientation:"a-b",highlightChanges:!0}),[n,r,p]);return f.useEffect(()=>{m.current&&m.current.replaceChildren("added"===w?b.dom:x.dom)},[w,x,b]),(0,t.jsx)("div",{ref:m,className:(0,h.$)(l().container,l()["diff-container"],"w-full overflow-auto")})}}}]); 2//# sourceMappingURL=6177.e956788052acc817.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.