srs-document/node_modules/@unified-latex/unified-latex-ctan/index-NHd3tQDq.js
2025-03-24 15:42:48 +07:00

23 lines
612 B
JavaScript

(function() {
if (typeof globalThis === "object") {
return;
}
Object.defineProperty(Object.prototype, "__magic__", {
get: function() {
return this;
},
configurable: true
// This makes it possible to `delete` the getter later.
});
__magic__.globalThis = __magic__;
delete Object.prototype.__magic__;
})();
const clone = typeof globalThis.structuredClone === "function" ? globalThis.structuredClone : (obj) => JSON.parse(JSON.stringify(obj));
function structuredClone(obj) {
return clone(obj);
}
export {
structuredClone as s
};
//# sourceMappingURL=index-NHd3tQDq.js.map