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