"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _default=()=>{
const seen=new WeakSet;
return(key,value)=>{
if(typeof value==="object"&&value!==null){
if(seen.has(value)){
return;
}
seen.add(value);
}
return value;
};
};exports.default=_default;