function S(t,r){return t>r?1:-1}function a(t,r){var n=5381;if(typeof t=="object"&&t!==null&&(t.toString===Object.prototype.toString||t.toString===Array.prototype.toString)){r||(r=new WeakSet);for(var p=Object.keys(t).sort(S),i=0;i<p.length;i++){var y=p[i],e=t[y];if(n=33*n^a(y,r),typeof e=="object"&&e!==null&&(t.toString===Object.prototype.toString||t.toString===Array.prototype.toString)){if(r.has(e))continue;r.add(e)}n=33*n^a(e,r)}return 33*n^a(t.constructor,r)}var o=typeof t;try{t instanceof Date?o+=t.getTime():o+=String(t)}catch{o+=String(Object.assign({},t))}for(var c=0;c<o.length;c++)n=33*n^o.charCodeAt(c);return n}export{a as r};
