"use strict";const s=(t,n,o)=>{let e=t.indexOf(n);if(e===-1)return t;const r=n.length;let l=0,u="";do u+=t.substr(l,e-l)+n+o,l=e+r,e=t.indexOf(n,l);while(e!==-1);return u+=t.substr(l),u},c=(t,n,o,e)=>{let r=0,l="";do{const u=t[e-1]==="\r";l+=t.substr(r,(u?e-1:e)-r)+n+(u?`\r
`:`
`)+o,r=e+1,e=t.indexOf(`
`,r)}while(e!==-1);return l+=t.substr(r),l};var d={stringReplaceAll:s,stringEncaseCRLFWithFirstIndex:c};module.exports=d;
//# sourceMappingURL=util.js.map
