"use strict";exports.id=542,exports.ids=[542],exports.modules={77542:(e,r,t)=>{function o(e,r,t){if(!e||"object"!=typeof e||!r||"object"!=typeof r)throw new Error("both arguments must be objects or arrays");t||(t=function(e){return e});const o=function e(r,o,c,a){for(var s,u=Object.keys(r),i=u.length,p=Object.keys(o),h=p.length,b=0;b<i;b++){(d=Array.isArray(r)?Number(u[b]):u[b])in o||(s=c.concat(d),a.remove.push({op:"remove",path:t(s)}))}for(b=0;b<h;b++){var d,f=r[d=Array.isArray(o)?Number(p[b]):p[b]],l=o[d];if(d in r)f!==l&&(Object(f)!==f||Object(l)!==l?s=n(s,c,d,a,t,o):Object.keys(f).length||Object.keys(l).length||String(f)==String(l)?e(r[d],o[d],c.concat(d),a):s=n(s,c,d,a,t,o));else{s=c.concat(d);var j=o[d];a.add.push({op:"add",path:t(s),value:j})}}return a}(e,r,[],{remove:[],replace:[],add:[]});return o.remove.reverse().concat(o.replace).concat(o.add)}function n(e,r,t,o,n,c){return e=r.concat(t),o.replace.push({op:"replace",path:n(e),value:c[t]}),e}function c(e){return[""].concat(e).join("/")}t.r(r),t.d(r,{diff:()=>o,jsonPatchPathConverter:()=>c})}};