@visactor/vrender-core 0.17.0-alpha.1 → 0.17.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/cjs/allocator/canvas-allocate.d.ts +2 -0
  2. package/cjs/allocator/canvas-allocate.js +12 -6
  3. package/cjs/allocator/canvas-allocate.js.map +1 -1
  4. package/cjs/common/Reflect-metadata.js +349 -358
  5. package/cjs/common/Reflect-metadata.js.map +1 -1
  6. package/cjs/common/inversify/annotation/inject.d.ts +1 -0
  7. package/cjs/common/inversify/annotation/inject.js +10 -0
  8. package/cjs/common/inversify/annotation/inject.js.map +1 -0
  9. package/cjs/common/inversify/annotation/inject_base.d.ts +14 -0
  10. package/cjs/common/inversify/annotation/inject_base.js +39 -0
  11. package/cjs/common/inversify/annotation/inject_base.js.map +1 -0
  12. package/cjs/common/inversify/annotation/injectable.d.ts +1 -0
  13. package/cjs/common/{inversify-lite/annotation/post_construct.js → inversify/annotation/injectable.js} +15 -5
  14. package/cjs/common/inversify/annotation/injectable.js.map +1 -0
  15. package/cjs/common/inversify/annotation/multi_inject.d.ts +1 -0
  16. package/cjs/common/inversify/annotation/multi_inject.js +10 -0
  17. package/cjs/common/inversify/annotation/multi_inject.js.map +1 -0
  18. package/cjs/common/inversify/annotation/named.d.ts +1 -0
  19. package/cjs/common/inversify/annotation/named.js +14 -0
  20. package/cjs/common/inversify/annotation/named.js.map +1 -0
  21. package/cjs/common/inversify/binding.d.ts +18 -0
  22. package/cjs/common/inversify/binding.js +26 -0
  23. package/cjs/common/inversify/binding.js.map +1 -0
  24. package/cjs/common/inversify/container.d.ts +28 -0
  25. package/cjs/common/inversify/container.js +155 -0
  26. package/cjs/common/inversify/container.js.map +1 -0
  27. package/cjs/common/inversify/cotainer-module.d.ts +6 -0
  28. package/cjs/common/inversify/cotainer-module.js +16 -0
  29. package/cjs/common/inversify/cotainer-module.js.map +1 -0
  30. package/cjs/common/inversify/index.d.ts +7 -0
  31. package/cjs/common/inversify/index.js +75 -0
  32. package/cjs/common/inversify/index.js.map +1 -0
  33. package/cjs/common/inversify/interfaces.d.ts +218 -0
  34. package/cjs/common/inversify/interfaces.js +6 -0
  35. package/cjs/common/inversify/interfaces.js.map +1 -0
  36. package/cjs/common/inversify/literal_types.d.ts +5 -0
  37. package/cjs/common/inversify/literal_types.js +34 -0
  38. package/cjs/common/inversify/literal_types.js.map +1 -0
  39. package/cjs/common/inversify/meta-data.d.ts +6 -0
  40. package/cjs/common/inversify/meta-data.js +19 -0
  41. package/cjs/common/inversify/meta-data.js.map +1 -0
  42. package/cjs/common/inversify/metadata_keys.d.ts +12 -0
  43. package/cjs/common/inversify/metadata_keys.js +15 -0
  44. package/cjs/common/inversify/metadata_keys.js.map +1 -0
  45. package/cjs/common/inversify/metadata_reader.d.ts +6 -0
  46. package/cjs/common/inversify/metadata_reader.js +28 -0
  47. package/cjs/common/inversify/metadata_reader.js.map +1 -0
  48. package/cjs/common/inversify/syntax/binding_in_syntax.d.ts +10 -0
  49. package/cjs/common/inversify/syntax/binding_in_syntax.js +29 -0
  50. package/cjs/common/inversify/syntax/binding_in_syntax.js.map +1 -0
  51. package/cjs/common/inversify/syntax/binding_to_syntax.d.ts +12 -0
  52. package/cjs/common/inversify/syntax/binding_to_syntax.js +40 -0
  53. package/cjs/common/inversify/syntax/binding_to_syntax.js.map +1 -0
  54. package/cjs/common/inversify/syntax/constraint_helpers.d.ts +2 -0
  55. package/cjs/common/inversify/syntax/constraint_helpers.js +18 -0
  56. package/cjs/common/inversify/syntax/constraint_helpers.js.map +1 -0
  57. package/cjs/common/inversify-lite/index.d.ts +1 -8
  58. package/cjs/common/inversify-lite/index.js +1 -64
  59. package/cjs/common/inversify-lite/index.js.map +1 -1
  60. package/cjs/common/utils.d.ts +1 -0
  61. package/cjs/common/utils.js +10 -1
  62. package/cjs/common/utils.js.map +1 -1
  63. package/cjs/core/global.d.ts +2 -0
  64. package/cjs/core/global.js +4 -3
  65. package/cjs/core/global.js.map +1 -1
  66. package/cjs/core/graphic-utils.d.ts +5 -2
  67. package/cjs/core/graphic-utils.js +14 -4
  68. package/cjs/core/graphic-utils.js.map +1 -1
  69. package/cjs/core/stage.d.ts +4 -1
  70. package/cjs/core/stage.js +31 -27
  71. package/cjs/core/stage.js.map +1 -1
  72. package/cjs/core/window.js +2 -2
  73. package/cjs/core/window.js.map +1 -1
  74. package/cjs/event/event-manager.js +3 -2
  75. package/cjs/event/event-manager.js.map +1 -1
  76. package/cjs/graphic/builtin-symbol/index.d.ts +1 -0
  77. package/cjs/graphic/builtin-symbol/index.js +8 -2
  78. package/cjs/graphic/builtin-symbol/index.js.map +1 -1
  79. package/cjs/graphic/config.js +4 -1
  80. package/cjs/graphic/config.js.map +1 -1
  81. package/cjs/graphic/richtext/paragraph.js +12 -11
  82. package/cjs/graphic/richtext/paragraph.js.map +1 -1
  83. package/cjs/graphic/symbol.js +3 -2
  84. package/cjs/graphic/symbol.js.map +1 -1
  85. package/cjs/graphic/text.d.ts +1 -0
  86. package/cjs/graphic/text.js +93 -7
  87. package/cjs/graphic/text.js.map +1 -1
  88. package/cjs/graphic/wrap-text.js +6 -5
  89. package/cjs/graphic/wrap-text.js.map +1 -1
  90. package/cjs/interface/global.d.ts +1 -0
  91. package/cjs/interface/global.js.map +1 -1
  92. package/cjs/interface/graphic/richText.d.ts +1 -1
  93. package/cjs/interface/graphic/richText.js.map +1 -1
  94. package/cjs/interface/graphic/text.d.ts +4 -1
  95. package/cjs/interface/graphic/text.js.map +1 -1
  96. package/cjs/render/contributions/render/area-render.d.ts +1 -0
  97. package/cjs/render/contributions/render/area-render.js +42 -5
  98. package/cjs/render/contributions/render/area-render.js.map +1 -1
  99. package/cjs/render/contributions/render/base-render.js +4 -10
  100. package/cjs/render/contributions/render/base-render.js.map +1 -1
  101. package/cjs/render/contributions/render/draw-contribution.d.ts +2 -0
  102. package/cjs/render/contributions/render/draw-contribution.js +18 -9
  103. package/cjs/render/contributions/render/draw-contribution.js.map +1 -1
  104. package/cjs/render/contributions/render/line-render.d.ts +1 -0
  105. package/cjs/render/contributions/render/line-render.js +21 -6
  106. package/cjs/render/contributions/render/line-render.js.map +1 -1
  107. package/cjs/render/contributions/render/module.js +7 -7
  108. package/cjs/render/contributions/render/module.js.map +1 -1
  109. package/cjs/render/contributions/render/text-render.js +12 -10
  110. package/cjs/render/contributions/render/text-render.js.map +1 -1
  111. package/dist/index.js +691 -1548
  112. package/dist/index.min.js +1 -1
  113. package/es/allocator/canvas-allocate.d.ts +2 -0
  114. package/es/allocator/canvas-allocate.js +12 -6
  115. package/es/allocator/canvas-allocate.js.map +1 -1
  116. package/es/common/Reflect-metadata.js +349 -358
  117. package/es/common/Reflect-metadata.js.map +1 -1
  118. package/es/common/inversify/annotation/inject.d.ts +1 -0
  119. package/es/common/inversify/annotation/inject.js +6 -0
  120. package/es/common/inversify/annotation/inject.js.map +1 -0
  121. package/es/common/inversify/annotation/inject_base.d.ts +14 -0
  122. package/es/common/inversify/annotation/inject_base.js +29 -0
  123. package/es/common/inversify/annotation/inject_base.js.map +1 -0
  124. package/es/common/inversify/annotation/injectable.d.ts +1 -0
  125. package/es/common/inversify/annotation/injectable.js +10 -0
  126. package/es/common/inversify/annotation/injectable.js.map +1 -0
  127. package/es/common/inversify/annotation/multi_inject.d.ts +1 -0
  128. package/es/common/inversify/annotation/multi_inject.js +6 -0
  129. package/es/common/inversify/annotation/multi_inject.js.map +1 -0
  130. package/es/common/inversify/annotation/named.d.ts +1 -0
  131. package/es/common/inversify/annotation/named.js +10 -0
  132. package/es/common/inversify/annotation/named.js.map +1 -0
  133. package/es/common/inversify/binding.d.ts +18 -0
  134. package/es/common/inversify/binding.js +22 -0
  135. package/es/common/inversify/binding.js.map +1 -0
  136. package/es/common/inversify/container.d.ts +28 -0
  137. package/es/common/inversify/container.js +155 -0
  138. package/es/common/inversify/container.js.map +1 -0
  139. package/es/common/inversify/cotainer-module.d.ts +6 -0
  140. package/es/common/inversify/cotainer-module.js +8 -0
  141. package/es/common/inversify/cotainer-module.js.map +1 -0
  142. package/es/common/inversify/index.d.ts +7 -0
  143. package/es/common/inversify/index.js +14 -0
  144. package/es/common/inversify/index.js.map +1 -0
  145. package/es/common/inversify/interfaces.d.ts +218 -0
  146. package/es/common/inversify/interfaces.js +2 -0
  147. package/es/common/inversify/interfaces.js.map +1 -0
  148. package/es/common/inversify/literal_types.d.ts +5 -0
  149. package/es/common/inversify/literal_types.js +20 -0
  150. package/es/common/inversify/literal_types.js.map +1 -0
  151. package/es/common/inversify/meta-data.d.ts +6 -0
  152. package/es/common/inversify/meta-data.js +11 -0
  153. package/es/common/inversify/meta-data.js.map +1 -0
  154. package/es/common/inversify/metadata_keys.d.ts +12 -0
  155. package/es/common/inversify/metadata_keys.js +28 -0
  156. package/es/common/inversify/metadata_keys.js.map +1 -0
  157. package/es/common/inversify/metadata_reader.d.ts +6 -0
  158. package/es/common/inversify/metadata_reader.js +18 -0
  159. package/es/common/inversify/metadata_reader.js.map +1 -0
  160. package/es/common/inversify/syntax/binding_in_syntax.d.ts +10 -0
  161. package/es/common/inversify/syntax/binding_in_syntax.js +24 -0
  162. package/es/common/inversify/syntax/binding_in_syntax.js.map +1 -0
  163. package/es/common/inversify/syntax/binding_to_syntax.d.ts +12 -0
  164. package/es/common/inversify/syntax/binding_to_syntax.js +36 -0
  165. package/es/common/inversify/syntax/binding_to_syntax.js.map +1 -0
  166. package/es/common/inversify/syntax/constraint_helpers.d.ts +2 -0
  167. package/es/common/inversify/syntax/constraint_helpers.js +16 -0
  168. package/es/common/inversify/syntax/constraint_helpers.js.map +1 -0
  169. package/es/common/inversify-lite/index.d.ts +1 -8
  170. package/es/common/inversify-lite/index.js +1 -15
  171. package/es/common/inversify-lite/index.js.map +1 -1
  172. package/es/common/utils.d.ts +1 -0
  173. package/es/common/utils.js +8 -1
  174. package/es/common/utils.js.map +1 -1
  175. package/es/core/global.d.ts +2 -0
  176. package/es/core/global.js +4 -2
  177. package/es/core/global.js.map +1 -1
  178. package/es/core/graphic-utils.d.ts +5 -2
  179. package/es/core/graphic-utils.js +14 -4
  180. package/es/core/graphic-utils.js.map +1 -1
  181. package/es/core/stage.d.ts +4 -1
  182. package/es/core/stage.js +31 -24
  183. package/es/core/stage.js.map +1 -1
  184. package/es/core/window.js +3 -3
  185. package/es/core/window.js.map +1 -1
  186. package/es/event/event-manager.js +3 -2
  187. package/es/event/event-manager.js.map +1 -1
  188. package/es/graphic/builtin-symbol/index.d.ts +1 -0
  189. package/es/graphic/builtin-symbol/index.js +8 -0
  190. package/es/graphic/builtin-symbol/index.js.map +1 -1
  191. package/es/graphic/config.js +4 -1
  192. package/es/graphic/config.js.map +1 -1
  193. package/es/graphic/richtext/paragraph.js +5 -2
  194. package/es/graphic/richtext/paragraph.js.map +1 -1
  195. package/es/graphic/symbol.js +4 -3
  196. package/es/graphic/symbol.js.map +1 -1
  197. package/es/graphic/text.d.ts +1 -0
  198. package/es/graphic/text.js +90 -9
  199. package/es/graphic/text.js.map +1 -1
  200. package/es/graphic/wrap-text.js +6 -4
  201. package/es/graphic/wrap-text.js.map +1 -1
  202. package/es/interface/global.d.ts +1 -0
  203. package/es/interface/global.js.map +1 -1
  204. package/es/interface/graphic/richText.d.ts +1 -1
  205. package/es/interface/graphic/richText.js.map +1 -1
  206. package/es/interface/graphic/text.d.ts +4 -1
  207. package/es/interface/graphic/text.js.map +1 -1
  208. package/es/render/contributions/render/area-render.d.ts +1 -0
  209. package/es/render/contributions/render/area-render.js +42 -5
  210. package/es/render/contributions/render/area-render.js.map +1 -1
  211. package/es/render/contributions/render/base-render.js +2 -14
  212. package/es/render/contributions/render/base-render.js.map +1 -1
  213. package/es/render/contributions/render/draw-contribution.d.ts +2 -0
  214. package/es/render/contributions/render/draw-contribution.js +18 -9
  215. package/es/render/contributions/render/draw-contribution.js.map +1 -1
  216. package/es/render/contributions/render/line-render.d.ts +1 -0
  217. package/es/render/contributions/render/line-render.js +21 -6
  218. package/es/render/contributions/render/line-render.js.map +1 -1
  219. package/es/render/contributions/render/module.js +21 -17
  220. package/es/render/contributions/render/module.js.map +1 -1
  221. package/es/render/contributions/render/text-render.js +13 -9
  222. package/es/render/contributions/render/text-render.js.map +1 -1
  223. package/package.json +4 -2
  224. package/cjs/common/inversify-lite/annotation/post_construct.d.ts +0 -4
  225. package/cjs/common/inversify-lite/annotation/post_construct.js.map +0 -1
  226. package/es/common/inversify-lite/annotation/post_construct.d.ts +0 -4
  227. package/es/common/inversify-lite/annotation/post_construct.js +0 -10
  228. package/es/common/inversify-lite/annotation/post_construct.js.map +0 -1
@@ -1,391 +1,382 @@
1
1
  "use strict";
2
2
 
3
- let Reflect;
4
-
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: !0
7
5
  }), exports.default = function(Reflect) {
8
- return function(factory) {
9
- const root = "object" == typeof global ? global : "object" == typeof self ? self : "object" == typeof this ? this : Function("return this;")();
10
- let exporter = makeExporter(Reflect);
11
- function makeExporter(target, previous) {
12
- return function(key, value) {
13
- "function" != typeof target[key] && Object.defineProperty(target, key, {
14
- configurable: !0,
15
- writable: !0,
16
- value: value
17
- }), previous && previous(key, value);
18
- };
19
- }
20
- void 0 === root.Reflect ? root.Reflect = Reflect : exporter = makeExporter(root.Reflect, exporter),
21
- function(exporter) {
22
- const hasOwn = Object.prototype.hasOwnProperty, supportsSymbol = "function" == typeof Symbol, toPrimitiveSymbol = supportsSymbol && void 0 !== Symbol.toPrimitive ? Symbol.toPrimitive : "@@toPrimitive", iteratorSymbol = supportsSymbol && void 0 !== Symbol.iterator ? Symbol.iterator : "@@iterator", supportsCreate = "function" == typeof Object.create, supportsProto = {
23
- __proto__: []
24
- } instanceof Array, downLevel = !supportsCreate && !supportsProto, HashMap = {
25
- create: supportsCreate ? function() {
26
- return MakeDictionary(Object.create(null));
27
- } : supportsProto ? function() {
28
- return MakeDictionary({
29
- __proto__: null
30
- });
31
- } : function() {
32
- return MakeDictionary({});
33
- },
34
- has: downLevel ? function(map, key) {
35
- return hasOwn.call(map, key);
36
- } : function(map, key) {
37
- return key in map;
38
- },
39
- get: downLevel ? function(map, key) {
40
- return hasOwn.call(map, key) ? map[key] : void 0;
41
- } : function(map, key) {
42
- return map[key];
43
- }
44
- }, functionPrototype = Object.getPrototypeOf(Function), usePolyfill = "object" == typeof process && process.env && "true" === process.env.REFLECT_METADATA_USE_MAP_POLYFILL, _Map = usePolyfill || "function" != typeof Map || "function" != typeof Map.prototype.entries ? CreateMapPolyfill() : Map, Metadata = (usePolyfill || "function" != typeof Set || "function" != typeof Set.prototype.entries ? CreateSetPolyfill() : Set,
45
- new (usePolyfill || "function" != typeof WeakMap ? CreateWeakMapPolyfill() : WeakMap));
46
- function defineMetadata(metadataKey, metadataValue, target, propertyKey) {
47
- if (!IsObject(target)) throw new TypeError;
48
- return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);
49
- }
50
- function hasMetadata(metadataKey, target, propertyKey) {
51
- if (!IsObject(target)) throw new TypeError;
52
- return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryHasMetadata(metadataKey, target, propertyKey);
53
- }
54
- function hasOwnMetadata(metadataKey, target, propertyKey) {
55
- if (!IsObject(target)) throw new TypeError;
56
- return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryHasOwnMetadata(metadataKey, target, propertyKey);
57
- }
58
- function getMetadata(metadataKey, target, propertyKey) {
59
- if (!IsObject(target)) throw new TypeError;
60
- return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryGetMetadata(metadataKey, target, propertyKey);
61
- }
62
- function GetOrCreateMetadataMap(O, P, Create) {
63
- let targetMetadata = Metadata.get(O);
64
- if (IsUndefined(targetMetadata)) {
65
- if (!Create) return;
66
- targetMetadata = new _Map, Metadata.set(O, targetMetadata);
67
- }
68
- let metadataMap = targetMetadata.get(P);
69
- if (IsUndefined(metadataMap)) {
70
- if (!Create) return;
71
- metadataMap = new _Map, targetMetadata.set(P, metadataMap);
72
- }
73
- return metadataMap;
74
- }
75
- function OrdinaryHasMetadata(MetadataKey, O, P) {
76
- if (OrdinaryHasOwnMetadata(MetadataKey, O, P)) return !0;
77
- const parent = OrdinaryGetPrototypeOf(O);
78
- return !IsNull(parent) && OrdinaryHasMetadata(MetadataKey, parent, P);
79
- }
80
- function OrdinaryHasOwnMetadata(MetadataKey, O, P) {
81
- const metadataMap = GetOrCreateMetadataMap(O, P, !1);
82
- return !IsUndefined(metadataMap) && ToBoolean(metadataMap.has(MetadataKey));
6
+ var target, previous;
7
+ return function(exporter) {
8
+ const hasOwn = Object.prototype.hasOwnProperty, supportsSymbol = "function" == typeof Symbol, toPrimitiveSymbol = supportsSymbol && void 0 !== Symbol.toPrimitive ? Symbol.toPrimitive : "@@toPrimitive", iteratorSymbol = supportsSymbol && void 0 !== Symbol.iterator ? Symbol.iterator : "@@iterator", supportsCreate = "function" == typeof Object.create, supportsProto = {
9
+ __proto__: []
10
+ } instanceof Array, downLevel = !supportsCreate && !supportsProto, HashMap = {
11
+ create: supportsCreate ? function() {
12
+ return MakeDictionary(Object.create(null));
13
+ } : supportsProto ? function() {
14
+ return MakeDictionary({
15
+ __proto__: null
16
+ });
17
+ } : function() {
18
+ return MakeDictionary({});
19
+ },
20
+ has: downLevel ? function(map, key) {
21
+ return hasOwn.call(map, key);
22
+ } : function(map, key) {
23
+ return key in map;
24
+ },
25
+ get: downLevel ? function(map, key) {
26
+ return hasOwn.call(map, key) ? map[key] : void 0;
27
+ } : function(map, key) {
28
+ return map[key];
83
29
  }
84
- function OrdinaryGetMetadata(MetadataKey, O, P) {
85
- if (OrdinaryHasOwnMetadata(MetadataKey, O, P)) return OrdinaryGetOwnMetadata(MetadataKey, O, P);
86
- const parent = OrdinaryGetPrototypeOf(O);
87
- return IsNull(parent) ? void 0 : OrdinaryGetMetadata(MetadataKey, parent, P);
88
- }
89
- function OrdinaryGetOwnMetadata(MetadataKey, O, P) {
90
- const metadataMap = GetOrCreateMetadataMap(O, P, !1);
91
- if (!IsUndefined(metadataMap)) return metadataMap.get(MetadataKey);
30
+ }, functionPrototype = Object.getPrototypeOf(Function), usePolyfill = "object" == typeof process && process.env && "true" === process.env.REFLECT_METADATA_USE_MAP_POLYFILL, _Map = usePolyfill || "function" != typeof Map || "function" != typeof Map.prototype.entries ? CreateMapPolyfill() : Map, Metadata = (usePolyfill || "function" != typeof Set || "function" != typeof Set.prototype.entries ? CreateSetPolyfill() : Set,
31
+ new (usePolyfill || "function" != typeof WeakMap ? CreateWeakMapPolyfill() : WeakMap));
32
+ function defineMetadata(metadataKey, metadataValue, target, propertyKey) {
33
+ if (!IsObject(target)) throw new TypeError;
34
+ return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);
35
+ }
36
+ function hasMetadata(metadataKey, target, propertyKey) {
37
+ if (!IsObject(target)) throw new TypeError;
38
+ return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryHasMetadata(metadataKey, target, propertyKey);
39
+ }
40
+ function hasOwnMetadata(metadataKey, target, propertyKey) {
41
+ if (!IsObject(target)) throw new TypeError;
42
+ return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryHasOwnMetadata(metadataKey, target, propertyKey);
43
+ }
44
+ function getMetadata(metadataKey, target, propertyKey) {
45
+ if (!IsObject(target)) throw new TypeError;
46
+ return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryGetMetadata(metadataKey, target, propertyKey);
47
+ }
48
+ function GetOrCreateMetadataMap(O, P, Create) {
49
+ let targetMetadata = Metadata.get(O);
50
+ if (IsUndefined(targetMetadata)) {
51
+ if (!Create) return;
52
+ targetMetadata = new _Map, Metadata.set(O, targetMetadata);
92
53
  }
93
- function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {
94
- GetOrCreateMetadataMap(O, P, !0).set(MetadataKey, MetadataValue);
54
+ let metadataMap = targetMetadata.get(P);
55
+ if (IsUndefined(metadataMap)) {
56
+ if (!Create) return;
57
+ metadataMap = new _Map, targetMetadata.set(P, metadataMap);
95
58
  }
96
- function Type(x) {
97
- if (null === x) return 1;
98
- switch (typeof x) {
99
- case "undefined":
100
- return 0;
59
+ return metadataMap;
60
+ }
61
+ function OrdinaryHasMetadata(MetadataKey, O, P) {
62
+ if (OrdinaryHasOwnMetadata(MetadataKey, O, P)) return !0;
63
+ const parent = OrdinaryGetPrototypeOf(O);
64
+ return !IsNull(parent) && OrdinaryHasMetadata(MetadataKey, parent, P);
65
+ }
66
+ function OrdinaryHasOwnMetadata(MetadataKey, O, P) {
67
+ const metadataMap = GetOrCreateMetadataMap(O, P, !1);
68
+ return !IsUndefined(metadataMap) && ToBoolean(metadataMap.has(MetadataKey));
69
+ }
70
+ function OrdinaryGetMetadata(MetadataKey, O, P) {
71
+ if (OrdinaryHasOwnMetadata(MetadataKey, O, P)) return OrdinaryGetOwnMetadata(MetadataKey, O, P);
72
+ const parent = OrdinaryGetPrototypeOf(O);
73
+ return IsNull(parent) ? void 0 : OrdinaryGetMetadata(MetadataKey, parent, P);
74
+ }
75
+ function OrdinaryGetOwnMetadata(MetadataKey, O, P) {
76
+ const metadataMap = GetOrCreateMetadataMap(O, P, !1);
77
+ if (!IsUndefined(metadataMap)) return metadataMap.get(MetadataKey);
78
+ }
79
+ function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {
80
+ GetOrCreateMetadataMap(O, P, !0).set(MetadataKey, MetadataValue);
81
+ }
82
+ function Type(x) {
83
+ if (null === x) return 1;
84
+ switch (typeof x) {
85
+ case "undefined":
86
+ return 0;
101
87
 
102
- case "boolean":
103
- return 2;
88
+ case "boolean":
89
+ return 2;
104
90
 
105
- case "string":
106
- return 3;
91
+ case "string":
92
+ return 3;
107
93
 
108
- case "symbol":
109
- return 4;
94
+ case "symbol":
95
+ return 4;
110
96
 
111
- case "number":
112
- return 5;
97
+ case "number":
98
+ return 5;
113
99
 
114
- case "object":
115
- return null === x ? 1 : 6;
100
+ case "object":
101
+ return null === x ? 1 : 6;
116
102
 
117
- default:
118
- return 6;
119
- }
120
- }
121
- function IsUndefined(x) {
122
- return void 0 === x;
103
+ default:
104
+ return 6;
123
105
  }
124
- function IsNull(x) {
125
- return null === x;
126
- }
127
- function IsSymbol(x) {
128
- return "symbol" == typeof x;
106
+ }
107
+ function IsUndefined(x) {
108
+ return void 0 === x;
109
+ }
110
+ function IsNull(x) {
111
+ return null === x;
112
+ }
113
+ function IsSymbol(x) {
114
+ return "symbol" == typeof x;
115
+ }
116
+ function IsObject(x) {
117
+ return "object" == typeof x ? null !== x : "function" == typeof x;
118
+ }
119
+ function ToPrimitive(input, PreferredType) {
120
+ switch (Type(input)) {
121
+ case 0:
122
+ case 1:
123
+ case 2:
124
+ case 3:
125
+ case 4:
126
+ case 5:
127
+ return input;
129
128
  }
130
- function IsObject(x) {
131
- return "object" == typeof x ? null !== x : "function" == typeof x;
129
+ const hint = 3 === PreferredType ? "string" : 5 === PreferredType ? "number" : "default", exoticToPrim = GetMethod(input, toPrimitiveSymbol);
130
+ if (void 0 !== exoticToPrim) {
131
+ const result = exoticToPrim.call(input, hint);
132
+ if (IsObject(result)) throw new TypeError;
133
+ return result;
132
134
  }
133
- function ToPrimitive(input, PreferredType) {
134
- switch (Type(input)) {
135
- case 0:
136
- case 1:
137
- case 2:
138
- case 3:
139
- case 4:
140
- case 5:
141
- return input;
135
+ return OrdinaryToPrimitive(input, "default" === hint ? "number" : hint);
136
+ }
137
+ function OrdinaryToPrimitive(O, hint) {
138
+ if ("string" === hint) {
139
+ const toString_1 = O.toString;
140
+ if (IsCallable(toString_1)) {
141
+ const result = toString_1.call(O);
142
+ if (!IsObject(result)) return result;
142
143
  }
143
- const hint = 3 === PreferredType ? "string" : 5 === PreferredType ? "number" : "default", exoticToPrim = GetMethod(input, toPrimitiveSymbol);
144
- if (void 0 !== exoticToPrim) {
145
- const result = exoticToPrim.call(input, hint);
146
- if (IsObject(result)) throw new TypeError;
147
- return result;
144
+ const valueOf = O.valueOf;
145
+ if (IsCallable(valueOf)) {
146
+ const result = valueOf.call(O);
147
+ if (!IsObject(result)) return result;
148
148
  }
149
- return OrdinaryToPrimitive(input, "default" === hint ? "number" : hint);
150
- }
151
- function OrdinaryToPrimitive(O, hint) {
152
- if ("string" === hint) {
153
- const toString_1 = O.toString;
154
- if (IsCallable(toString_1)) {
155
- const result = toString_1.call(O);
156
- if (!IsObject(result)) return result;
157
- }
158
- const valueOf = O.valueOf;
159
- if (IsCallable(valueOf)) {
160
- const result = valueOf.call(O);
161
- if (!IsObject(result)) return result;
162
- }
163
- } else {
164
- const valueOf = O.valueOf;
165
- if (IsCallable(valueOf)) {
166
- const result = valueOf.call(O);
167
- if (!IsObject(result)) return result;
168
- }
169
- const toString_2 = O.toString;
170
- if (IsCallable(toString_2)) {
171
- const result = toString_2.call(O);
172
- if (!IsObject(result)) return result;
173
- }
149
+ } else {
150
+ const valueOf = O.valueOf;
151
+ if (IsCallable(valueOf)) {
152
+ const result = valueOf.call(O);
153
+ if (!IsObject(result)) return result;
174
154
  }
175
- throw new TypeError;
176
- }
177
- function ToBoolean(argument) {
178
- return !!argument;
179
- }
180
- function ToString(argument) {
181
- return "" + argument;
182
- }
183
- function ToPropertyKey(argument) {
184
- const key = ToPrimitive(argument, 3);
185
- return IsSymbol(key) ? key : ToString(key);
186
- }
187
- function IsCallable(argument) {
188
- return "function" == typeof argument;
189
- }
190
- function GetMethod(V, P) {
191
- const func = V[P];
192
- if (null != func) {
193
- if (!IsCallable(func)) throw new TypeError;
194
- return func;
155
+ const toString_2 = O.toString;
156
+ if (IsCallable(toString_2)) {
157
+ const result = toString_2.call(O);
158
+ if (!IsObject(result)) return result;
195
159
  }
196
160
  }
197
- function OrdinaryGetPrototypeOf(O) {
198
- const proto = Object.getPrototypeOf(O);
199
- if ("function" != typeof O || O === functionPrototype) return proto;
200
- if (proto !== functionPrototype) return proto;
201
- const prototype = O.prototype, prototypeProto = prototype && Object.getPrototypeOf(prototype);
202
- if (null == prototypeProto || prototypeProto === Object.prototype) return proto;
203
- const constructor = prototypeProto.constructor;
204
- return "function" != typeof constructor || constructor === O ? proto : constructor;
161
+ throw new TypeError;
162
+ }
163
+ function ToBoolean(argument) {
164
+ return !!argument;
165
+ }
166
+ function ToString(argument) {
167
+ return "" + argument;
168
+ }
169
+ function ToPropertyKey(argument) {
170
+ const key = ToPrimitive(argument, 3);
171
+ return IsSymbol(key) ? key : ToString(key);
172
+ }
173
+ function IsCallable(argument) {
174
+ return "function" == typeof argument;
175
+ }
176
+ function GetMethod(V, P) {
177
+ const func = V[P];
178
+ if (null != func) {
179
+ if (!IsCallable(func)) throw new TypeError;
180
+ return func;
205
181
  }
206
- function CreateMapPolyfill() {
207
- const cacheSentinel = {}, arraySentinel = [], MapIterator = function() {
208
- function MapIterator(keys, values, selector) {
209
- this._index = 0, this._keys = keys, this._values = values, this._selector = selector;
210
- }
211
- return MapIterator.prototype["@@iterator"] = function() {
212
- return this;
213
- }, MapIterator.prototype[iteratorSymbol] = function() {
214
- return this;
215
- }, MapIterator.prototype.next = function() {
216
- const index = this._index;
217
- if (index >= 0 && index < this._keys.length) {
218
- const result = this._selector(this._keys[index], this._values[index]);
219
- return index + 1 >= this._keys.length ? (this._index = -1, this._keys = arraySentinel,
220
- this._values = arraySentinel) : this._index++, {
221
- value: result,
222
- done: !1
223
- };
224
- }
225
- return {
226
- value: void 0,
227
- done: !0
228
- };
229
- }, MapIterator.prototype.throw = function(error) {
230
- throw this._index >= 0 && (this._index = -1, this._keys = arraySentinel, this._values = arraySentinel),
231
- error;
232
- }, MapIterator.prototype.return = function(value) {
233
- return this._index >= 0 && (this._index = -1, this._keys = arraySentinel, this._values = arraySentinel),
234
- {
235
- value: value,
236
- done: !0
182
+ }
183
+ function OrdinaryGetPrototypeOf(O) {
184
+ const proto = Object.getPrototypeOf(O);
185
+ if ("function" != typeof O || O === functionPrototype) return proto;
186
+ if (proto !== functionPrototype) return proto;
187
+ const prototype = O.prototype, prototypeProto = prototype && Object.getPrototypeOf(prototype);
188
+ if (null == prototypeProto || prototypeProto === Object.prototype) return proto;
189
+ const constructor = prototypeProto.constructor;
190
+ return "function" != typeof constructor || constructor === O ? proto : constructor;
191
+ }
192
+ function CreateMapPolyfill() {
193
+ const cacheSentinel = {}, arraySentinel = [], MapIterator = function() {
194
+ function MapIterator(keys, values, selector) {
195
+ this._index = 0, this._keys = keys, this._values = values, this._selector = selector;
196
+ }
197
+ return MapIterator.prototype["@@iterator"] = function() {
198
+ return this;
199
+ }, MapIterator.prototype[iteratorSymbol] = function() {
200
+ return this;
201
+ }, MapIterator.prototype.next = function() {
202
+ const index = this._index;
203
+ if (index >= 0 && index < this._keys.length) {
204
+ const result = this._selector(this._keys[index], this._values[index]);
205
+ return index + 1 >= this._keys.length ? (this._index = -1, this._keys = arraySentinel,
206
+ this._values = arraySentinel) : this._index++, {
207
+ value: result,
208
+ done: !1
237
209
  };
238
- }, MapIterator;
239
- }();
240
- return function() {
241
- function Map() {
242
- this._keys = [], this._values = [], this._cacheKey = cacheSentinel, this._cacheIndex = -2;
243
210
  }
244
- return Object.defineProperty(Map.prototype, "size", {
245
- get: function() {
246
- return this._keys.length;
247
- },
248
- enumerable: !0,
249
- configurable: !0
250
- }), Map.prototype.has = function(key) {
251
- return this._find(key, !1) >= 0;
252
- }, Map.prototype.get = function(key) {
253
- const index = this._find(key, !1);
254
- return index >= 0 ? this._values[index] : void 0;
255
- }, Map.prototype.set = function(key, value) {
256
- const index = this._find(key, !0);
257
- return this._values[index] = value, this;
258
- }, Map.prototype.delete = function(key) {
259
- const index = this._find(key, !1);
260
- if (index >= 0) {
261
- const size = this._keys.length;
262
- for (let i = index + 1; i < size; i++) this._keys[i - 1] = this._keys[i], this._values[i - 1] = this._values[i];
263
- return this._keys.length--, this._values.length--, key === this._cacheKey && (this._cacheKey = cacheSentinel,
264
- this._cacheIndex = -2), !0;
265
- }
266
- return !1;
267
- }, Map.prototype.clear = function() {
268
- this._keys.length = 0, this._values.length = 0, this._cacheKey = cacheSentinel,
269
- this._cacheIndex = -2;
270
- }, Map.prototype.keys = function() {
271
- return new MapIterator(this._keys, this._values, getKey);
272
- }, Map.prototype.values = function() {
273
- return new MapIterator(this._keys, this._values, getValue);
274
- }, Map.prototype.entries = function() {
275
- return new MapIterator(this._keys, this._values, getEntry);
276
- }, Map.prototype["@@iterator"] = function() {
277
- return this.entries();
278
- }, Map.prototype[iteratorSymbol] = function() {
279
- return this.entries();
280
- }, Map.prototype._find = function(key, insert) {
281
- return this._cacheKey !== key && (this._cacheIndex = this._keys.indexOf(this._cacheKey = key)),
282
- this._cacheIndex < 0 && insert && (this._cacheIndex = this._keys.length, this._keys.push(key),
283
- this._values.push(void 0)), this._cacheIndex;
284
- }, Map;
285
- }();
286
- function getKey(key, _) {
287
- return key;
288
- }
289
- function getValue(_, value) {
290
- return value;
291
- }
292
- function getEntry(key, value) {
293
- return [ key, value ];
211
+ return {
212
+ value: void 0,
213
+ done: !0
214
+ };
215
+ }, MapIterator.prototype.throw = function(error) {
216
+ throw this._index >= 0 && (this._index = -1, this._keys = arraySentinel, this._values = arraySentinel),
217
+ error;
218
+ }, MapIterator.prototype.return = function(value) {
219
+ return this._index >= 0 && (this._index = -1, this._keys = arraySentinel, this._values = arraySentinel),
220
+ {
221
+ value: value,
222
+ done: !0
223
+ };
224
+ }, MapIterator;
225
+ }();
226
+ return function() {
227
+ function Map() {
228
+ this._keys = [], this._values = [], this._cacheKey = cacheSentinel, this._cacheIndex = -2;
294
229
  }
295
- }
296
- function CreateSetPolyfill() {
297
- return function() {
298
- function Set() {
299
- this._map = new _Map;
230
+ return Object.defineProperty(Map.prototype, "size", {
231
+ get: function() {
232
+ return this._keys.length;
233
+ },
234
+ enumerable: !0,
235
+ configurable: !0
236
+ }), Map.prototype.has = function(key) {
237
+ return this._find(key, !1) >= 0;
238
+ }, Map.prototype.get = function(key) {
239
+ const index = this._find(key, !1);
240
+ return index >= 0 ? this._values[index] : void 0;
241
+ }, Map.prototype.set = function(key, value) {
242
+ const index = this._find(key, !0);
243
+ return this._values[index] = value, this;
244
+ }, Map.prototype.delete = function(key) {
245
+ const index = this._find(key, !1);
246
+ if (index >= 0) {
247
+ const size = this._keys.length;
248
+ for (let i = index + 1; i < size; i++) this._keys[i - 1] = this._keys[i], this._values[i - 1] = this._values[i];
249
+ return this._keys.length--, this._values.length--, key === this._cacheKey && (this._cacheKey = cacheSentinel,
250
+ this._cacheIndex = -2), !0;
300
251
  }
301
- return Object.defineProperty(Set.prototype, "size", {
302
- get: function() {
303
- return this._map.size;
304
- },
305
- enumerable: !0,
306
- configurable: !0
307
- }), Set.prototype.has = function(value) {
308
- return this._map.has(value);
309
- }, Set.prototype.add = function(value) {
310
- return this._map.set(value, value), this;
311
- }, Set.prototype.delete = function(value) {
312
- return this._map.delete(value);
313
- }, Set.prototype.clear = function() {
314
- this._map.clear();
315
- }, Set.prototype.keys = function() {
316
- return this._map.keys();
317
- }, Set.prototype.values = function() {
318
- return this._map.values();
319
- }, Set.prototype.entries = function() {
320
- return this._map.entries();
321
- }, Set.prototype["@@iterator"] = function() {
322
- return this.keys();
323
- }, Set.prototype[iteratorSymbol] = function() {
324
- return this.keys();
325
- }, Set;
326
- }();
252
+ return !1;
253
+ }, Map.prototype.clear = function() {
254
+ this._keys.length = 0, this._values.length = 0, this._cacheKey = cacheSentinel,
255
+ this._cacheIndex = -2;
256
+ }, Map.prototype.keys = function() {
257
+ return new MapIterator(this._keys, this._values, getKey);
258
+ }, Map.prototype.values = function() {
259
+ return new MapIterator(this._keys, this._values, getValue);
260
+ }, Map.prototype.entries = function() {
261
+ return new MapIterator(this._keys, this._values, getEntry);
262
+ }, Map.prototype["@@iterator"] = function() {
263
+ return this.entries();
264
+ }, Map.prototype[iteratorSymbol] = function() {
265
+ return this.entries();
266
+ }, Map.prototype._find = function(key, insert) {
267
+ return this._cacheKey !== key && (this._cacheIndex = this._keys.indexOf(this._cacheKey = key)),
268
+ this._cacheIndex < 0 && insert && (this._cacheIndex = this._keys.length, this._keys.push(key),
269
+ this._values.push(void 0)), this._cacheIndex;
270
+ }, Map;
271
+ }();
272
+ function getKey(key, _) {
273
+ return key;
327
274
  }
328
- function CreateWeakMapPolyfill() {
329
- const UUID_SIZE = 16, keys = HashMap.create(), rootKey = CreateUniqueKey();
330
- return function() {
331
- function WeakMap() {
332
- this._key = CreateUniqueKey();
333
- }
334
- return WeakMap.prototype.has = function(target) {
335
- const table = GetOrCreateWeakMapTable(target, !1);
336
- return void 0 !== table && HashMap.has(table, this._key);
337
- }, WeakMap.prototype.get = function(target) {
338
- const table = GetOrCreateWeakMapTable(target, !1);
339
- return void 0 !== table ? HashMap.get(table, this._key) : void 0;
340
- }, WeakMap.prototype.set = function(target, value) {
341
- return GetOrCreateWeakMapTable(target, !0)[this._key] = value, this;
342
- }, WeakMap.prototype.delete = function(target) {
343
- const table = GetOrCreateWeakMapTable(target, !1);
344
- return void 0 !== table && delete table[this._key];
345
- }, WeakMap.prototype.clear = function() {
346
- this._key = CreateUniqueKey();
347
- }, WeakMap;
348
- }();
349
- function CreateUniqueKey() {
350
- let key;
351
- do {
352
- key = "@@WeakMap@@" + CreateUUID();
353
- } while (HashMap.has(keys, key));
354
- return keys[key] = !0, key;
355
- }
356
- function GetOrCreateWeakMapTable(target, create) {
357
- if (!hasOwn.call(target, rootKey)) {
358
- if (!create) return;
359
- Object.defineProperty(target, rootKey, {
360
- value: HashMap.create()
361
- });
362
- }
363
- return target[rootKey];
364
- }
365
- function FillRandomBytes(buffer, size) {
366
- for (let i = 0; i < size; ++i) buffer[i] = 255 * Math.random() | 0;
367
- return buffer;
275
+ function getValue(_, value) {
276
+ return value;
277
+ }
278
+ function getEntry(key, value) {
279
+ return [ key, value ];
280
+ }
281
+ }
282
+ function CreateSetPolyfill() {
283
+ return function() {
284
+ function Set() {
285
+ this._map = new _Map;
368
286
  }
369
- function GenRandomBytes(size) {
370
- return "function" == typeof Uint8Array ? "undefined" != typeof crypto ? crypto.getRandomValues(new Uint8Array(size)) : FillRandomBytes(new Uint8Array(size), size) : FillRandomBytes(new Array(size), size);
287
+ return Object.defineProperty(Set.prototype, "size", {
288
+ get: function() {
289
+ return this._map.size;
290
+ },
291
+ enumerable: !0,
292
+ configurable: !0
293
+ }), Set.prototype.has = function(value) {
294
+ return this._map.has(value);
295
+ }, Set.prototype.add = function(value) {
296
+ return this._map.set(value, value), this;
297
+ }, Set.prototype.delete = function(value) {
298
+ return this._map.delete(value);
299
+ }, Set.prototype.clear = function() {
300
+ this._map.clear();
301
+ }, Set.prototype.keys = function() {
302
+ return this._map.keys();
303
+ }, Set.prototype.values = function() {
304
+ return this._map.values();
305
+ }, Set.prototype.entries = function() {
306
+ return this._map.entries();
307
+ }, Set.prototype["@@iterator"] = function() {
308
+ return this.keys();
309
+ }, Set.prototype[iteratorSymbol] = function() {
310
+ return this.keys();
311
+ }, Set;
312
+ }();
313
+ }
314
+ function CreateWeakMapPolyfill() {
315
+ const UUID_SIZE = 16, keys = HashMap.create(), rootKey = CreateUniqueKey();
316
+ return function() {
317
+ function WeakMap() {
318
+ this._key = CreateUniqueKey();
371
319
  }
372
- function CreateUUID() {
373
- const data = GenRandomBytes(UUID_SIZE);
374
- data[6] = 79 & data[6] | 64, data[8] = 191 & data[8] | 128;
375
- let result = "";
376
- for (let offset = 0; offset < UUID_SIZE; ++offset) {
377
- const byte = data[offset];
378
- 4 !== offset && 6 !== offset && 8 !== offset || (result += "-"), byte < 16 && (result += "0"),
379
- result += byte.toString(16).toLowerCase();
380
- }
381
- return result;
320
+ return WeakMap.prototype.has = function(target) {
321
+ const table = GetOrCreateWeakMapTable(target, !1);
322
+ return void 0 !== table && HashMap.has(table, this._key);
323
+ }, WeakMap.prototype.get = function(target) {
324
+ const table = GetOrCreateWeakMapTable(target, !1);
325
+ return void 0 !== table ? HashMap.get(table, this._key) : void 0;
326
+ }, WeakMap.prototype.set = function(target, value) {
327
+ return GetOrCreateWeakMapTable(target, !0)[this._key] = value, this;
328
+ }, WeakMap.prototype.delete = function(target) {
329
+ const table = GetOrCreateWeakMapTable(target, !1);
330
+ return void 0 !== table && delete table[this._key];
331
+ }, WeakMap.prototype.clear = function() {
332
+ this._key = CreateUniqueKey();
333
+ }, WeakMap;
334
+ }();
335
+ function CreateUniqueKey() {
336
+ let key;
337
+ do {
338
+ key = "@@WeakMap@@" + CreateUUID();
339
+ } while (HashMap.has(keys, key));
340
+ return keys[key] = !0, key;
341
+ }
342
+ function GetOrCreateWeakMapTable(target, create) {
343
+ if (!hasOwn.call(target, rootKey)) {
344
+ if (!create) return;
345
+ Object.defineProperty(target, rootKey, {
346
+ value: HashMap.create()
347
+ });
382
348
  }
349
+ return target[rootKey];
350
+ }
351
+ function FillRandomBytes(buffer, size) {
352
+ for (let i = 0; i < size; ++i) buffer[i] = 255 * Math.random() | 0;
353
+ return buffer;
383
354
  }
384
- function MakeDictionary(obj) {
385
- return obj.__ = void 0, delete obj.__, obj;
355
+ function GenRandomBytes(size) {
356
+ return "function" == typeof Uint8Array ? "undefined" != typeof crypto ? crypto.getRandomValues(new Uint8Array(size)) : FillRandomBytes(new Uint8Array(size), size) : FillRandomBytes(new Array(size), size);
386
357
  }
387
- exporter("defineMetadata", defineMetadata), exporter("hasMetadata", hasMetadata),
388
- exporter("hasOwnMetadata", hasOwnMetadata), exporter("getMetadata", getMetadata);
389
- }(exporter);
390
- }(), Reflect;
391
- }(Reflect || (Reflect = {}));
358
+ function CreateUUID() {
359
+ const data = GenRandomBytes(UUID_SIZE);
360
+ data[6] = 79 & data[6] | 64, data[8] = 191 & data[8] | 128;
361
+ let result = "";
362
+ for (let offset = 0; offset < UUID_SIZE; ++offset) {
363
+ const byte = data[offset];
364
+ 4 !== offset && 6 !== offset && 8 !== offset || (result += "-"), byte < 16 && (result += "0"),
365
+ result += byte.toString(16).toLowerCase();
366
+ }
367
+ return result;
368
+ }
369
+ }
370
+ function MakeDictionary(obj) {
371
+ return obj.__ = void 0, delete obj.__, obj;
372
+ }
373
+ exporter("defineMetadata", defineMetadata), exporter("hasMetadata", hasMetadata),
374
+ exporter("hasOwnMetadata", hasOwnMetadata), exporter("getMetadata", getMetadata);
375
+ }((target = Reflect, function(key, value) {
376
+ "function" != typeof target[key] && Object.defineProperty(target, key, {
377
+ configurable: !0,
378
+ writable: !0,
379
+ value: value
380
+ }), previous && previous(key, value);
381
+ })), Reflect;
382
+ }({});