(wrapper, prop, creator)
| 2745 | return ctorRegistry; |
| 2746 | } |
| 2747 | function getSameObject(wrapper, prop, creator) { |
| 2748 | if (!wrapper[sameObjectCaches]) { |
| 2749 | wrapper[sameObjectCaches] = /* @__PURE__ */ Object.create(null); |
| 2750 | } |
| 2751 | if (prop in wrapper[sameObjectCaches]) { |
| 2752 | return wrapper[sameObjectCaches][prop]; |
| 2753 | } |
| 2754 | wrapper[sameObjectCaches][prop] = creator(); |
| 2755 | return wrapper[sameObjectCaches][prop]; |
| 2756 | } |
| 2757 | function wrapperForImpl(impl) { |
| 2758 | return impl ? impl[wrapperSymbol] : null; |
| 2759 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…