mh-two-thousand-and-two
2024-04-12 7fc6dbf547b8899d949b67cdec36b96a7d1701c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"use strict";
 
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _importDeferProxy;
function _importDeferProxy(init) {
  var ns = null;
  var constValue = function (v) {
    return function () {
      return v;
    };
  };
  var proxy = function (run) {
    return function (arg1, arg2, arg3) {
      if (ns === null) ns = init();
      return run(ns, arg2, arg3);
    };
  };
  return new Proxy({}, {
    defineProperty: constValue(false),
    deleteProperty: constValue(false),
    get: proxy(Reflect.get),
    getOwnPropertyDescriptor: proxy(Reflect.getOwnPropertyDescriptor),
    getPrototypeOf: constValue(null),
    isExtensible: constValue(false),
    has: proxy(Reflect.has),
    ownKeys: proxy(Reflect.ownKeys),
    preventExtensions: constValue(true),
    set: constValue(false),
    setPrototypeOf: constValue(false)
  });
}
 
//# sourceMappingURL=importDeferProxy.js.map