MCPcopy Create free account
hub / github.com/ccj-007/easy-lowcode / Bt

Function Bt

renderer/index.js:44–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 */
43var it;
44function Bt() {
45 if (it)
46 return b;
47 it = 1;
48 var w = Symbol.for("react.element"), d = Symbol.for("react.portal"), ae = Symbol.for("react.fragment"), G = Symbol.for("react.strict_mode"), Y = Symbol.for("react.profiler"), J = Symbol.for("react.provider"), oe = Symbol.for("react.context"), ye = Symbol.for("react.forward_ref"), ue = Symbol.for("react.suspense"), ie = Symbol.for("react.memo"), X = Symbol.for("react.lazy"), K = Symbol.iterator;
49 function de(n) {
50 return n === null || typeof n != "object" ? null : (n = K && n[K] || n["@@iterator"], typeof n == "function" ? n : null);
51 }
52 var Q = { isMounted: function() {
53 return !1;
54 }, enqueueForceUpdate: function() {
55 }, enqueueReplaceState: function() {
56 }, enqueueSetState: function() {
57 } }, se = Object.assign, Fe = {};
58 function Z(n, s, h) {
59 this.props = n, this.context = s, this.refs = Fe, this.updater = h || Q;
60 }
61 Z.prototype.isReactComponent = {}, Z.prototype.setState = function(n, s) {
62 if (typeof n != "object" && typeof n != "function" && n != null)
63 throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
64 this.updater.enqueueSetState(this, n, s, "setState");
65 }, Z.prototype.forceUpdate = function(n) {
66 this.updater.enqueueForceUpdate(this, n, "forceUpdate");
67 };
68 function ee() {
69 }
70 ee.prototype = Z.prototype;
71 function I(n, s, h) {
72 this.props = n, this.context = s, this.refs = Fe, this.updater = h || Q;
73 }
74 var me = I.prototype = new ee();
75 me.constructor = I, se(me, Z.prototype), me.isPureReactComponent = !0;
76 var re = Array.isArray, N = Object.prototype.hasOwnProperty, B = { current: null }, ce = { key: !0, ref: !0, __self: !0, __source: !0 };
77 function ve(n, s, h) {
78 var C, _ = {}, k = null, j = null;
79 if (s != null)
80 for (C in s.ref !== void 0 && (j = s.ref), s.key !== void 0 && (k = "" + s.key), s)
81 N.call(s, C) && !ce.hasOwnProperty(C) && (_[C] = s[C]);
82 var O = arguments.length - 2;
83 if (O === 1)
84 _.children = h;
85 else if (1 < O) {
86 for (var T = Array(O), V = 0; V < O; V++)
87 T[V] = arguments[V + 2];
88 _.children = T;
89 }
90 if (n && n.defaultProps)
91 for (C in O = n.defaultProps, O)
92 _[C] === void 0 && (_[C] = O[C]);
93 return { $$typeof: w, type: n, key: k, ref: j, props: _, _owner: B.current };
94 }
95 function Re(n, s) {
96 return { $$typeof: w, type: n.type, key: s, ref: n.ref, props: n.props, _owner: n._owner };
97 }
98 function Ce(n) {
99 return typeof n == "object" && n !== null && n.$$typeof === w;
100 }
101 function Ye(n) {

Callers 1

HtFunction · 0.85

Calls 3

MFunction · 0.85
CeFunction · 0.85
nFunction · 0.85

Tested by

no test coverage detected