@lanaco/lnc-react-ui
Version:
React component library
236 lines (235 loc) • 8.88 kB
JavaScript
import { g as ue } from "./_commonjsHelpers-DaMA6jEr.js";
var M = { exports: {} }, o = {};
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var I;
function le() {
if (I) return o;
I = 1;
var t = typeof Symbol == "function" && Symbol.for, s = t ? Symbol.for("react.element") : 60103, d = t ? Symbol.for("react.portal") : 60106, u = t ? Symbol.for("react.fragment") : 60107, f = t ? Symbol.for("react.strict_mode") : 60108, y = t ? Symbol.for("react.profiler") : 60114, m = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, i = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111, v = t ? Symbol.for("react.forward_ref") : 60112, S = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, E = t ? Symbol.for("react.memo") : 60115, _ = t ? Symbol.for("react.lazy") : 60116, R = t ? Symbol.for("react.block") : 60121, $ = t ? Symbol.for("react.fundamental") : 60117, C = t ? Symbol.for("react.responder") : 60118, x = t ? Symbol.for("react.scope") : 60119;
function c(e) {
if (typeof e == "object" && e !== null) {
var T = e.$$typeof;
switch (T) {
case s:
switch (e = e.type, e) {
case i:
case p:
case u:
case y:
case f:
case S:
return e;
default:
switch (e = e && e.$$typeof, e) {
case l:
case v:
case _:
case E:
case m:
return e;
default:
return T;
}
}
case d:
return T;
}
}
}
function a(e) {
return c(e) === p;
}
return o.AsyncMode = i, o.ConcurrentMode = p, o.ContextConsumer = l, o.ContextProvider = m, o.Element = s, o.ForwardRef = v, o.Fragment = u, o.Lazy = _, o.Memo = E, o.Portal = d, o.Profiler = y, o.StrictMode = f, o.Suspense = S, o.isAsyncMode = function(e) {
return a(e) || c(e) === i;
}, o.isConcurrentMode = a, o.isContextConsumer = function(e) {
return c(e) === l;
}, o.isContextProvider = function(e) {
return c(e) === m;
}, o.isElement = function(e) {
return typeof e == "object" && e !== null && e.$$typeof === s;
}, o.isForwardRef = function(e) {
return c(e) === v;
}, o.isFragment = function(e) {
return c(e) === u;
}, o.isLazy = function(e) {
return c(e) === _;
}, o.isMemo = function(e) {
return c(e) === E;
}, o.isPortal = function(e) {
return c(e) === d;
}, o.isProfiler = function(e) {
return c(e) === y;
}, o.isStrictMode = function(e) {
return c(e) === f;
}, o.isSuspense = function(e) {
return c(e) === S;
}, o.isValidElementType = function(e) {
return typeof e == "string" || typeof e == "function" || e === u || e === p || e === y || e === f || e === S || e === b || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === E || e.$$typeof === m || e.$$typeof === l || e.$$typeof === v || e.$$typeof === $ || e.$$typeof === C || e.$$typeof === x || e.$$typeof === R);
}, o.typeOf = c, o;
}
var n = {};
/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Y;
function ye() {
return Y || (Y = 1, process.env.NODE_ENV !== "production" && function() {
var t = typeof Symbol == "function" && Symbol.for, s = t ? Symbol.for("react.element") : 60103, d = t ? Symbol.for("react.portal") : 60106, u = t ? Symbol.for("react.fragment") : 60107, f = t ? Symbol.for("react.strict_mode") : 60108, y = t ? Symbol.for("react.profiler") : 60114, m = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, i = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111, v = t ? Symbol.for("react.forward_ref") : 60112, S = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, E = t ? Symbol.for("react.memo") : 60115, _ = t ? Symbol.for("react.lazy") : 60116, R = t ? Symbol.for("react.block") : 60121, $ = t ? Symbol.for("react.fundamental") : 60117, C = t ? Symbol.for("react.responder") : 60118, x = t ? Symbol.for("react.scope") : 60119;
function c(r) {
return typeof r == "string" || typeof r == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
r === u || r === p || r === y || r === f || r === S || r === b || typeof r == "object" && r !== null && (r.$$typeof === _ || r.$$typeof === E || r.$$typeof === m || r.$$typeof === l || r.$$typeof === v || r.$$typeof === $ || r.$$typeof === C || r.$$typeof === x || r.$$typeof === R);
}
function a(r) {
if (typeof r == "object" && r !== null) {
var A = r.$$typeof;
switch (A) {
case s:
var P = r.type;
switch (P) {
case i:
case p:
case u:
case y:
case f:
case S:
return P;
default:
var F = P && P.$$typeof;
switch (F) {
case l:
case v:
case _:
case E:
case m:
return F;
default:
return A;
}
}
case d:
return A;
}
}
}
var e = i, T = p, V = l, q = m, U = s, W = v, K = u, B = _, G = E, X = d, Z = y, H = f, J = S, w = !1;
function Q(r) {
return w || (w = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), N(r) || a(r) === i;
}
function N(r) {
return a(r) === p;
}
function k(r) {
return a(r) === l;
}
function ee(r) {
return a(r) === m;
}
function re(r) {
return typeof r == "object" && r !== null && r.$$typeof === s;
}
function te(r) {
return a(r) === v;
}
function oe(r) {
return a(r) === u;
}
function ne(r) {
return a(r) === _;
}
function ae(r) {
return a(r) === E;
}
function ce(r) {
return a(r) === d;
}
function se(r) {
return a(r) === y;
}
function fe(r) {
return a(r) === f;
}
function ie(r) {
return a(r) === S;
}
n.AsyncMode = e, n.ConcurrentMode = T, n.ContextConsumer = V, n.ContextProvider = q, n.Element = U, n.ForwardRef = W, n.Fragment = K, n.Lazy = B, n.Memo = G, n.Portal = X, n.Profiler = Z, n.StrictMode = H, n.Suspense = J, n.isAsyncMode = Q, n.isConcurrentMode = N, n.isContextConsumer = k, n.isContextProvider = ee, n.isElement = re, n.isForwardRef = te, n.isFragment = oe, n.isLazy = ne, n.isMemo = ae, n.isPortal = ce, n.isProfiler = se, n.isStrictMode = fe, n.isSuspense = ie, n.isValidElementType = c, n.typeOf = a;
}()), n;
}
process.env.NODE_ENV === "production" ? M.exports = le() : M.exports = ye();
var me = M.exports, O = me, de = {
childContextTypes: !0,
contextType: !0,
contextTypes: !0,
defaultProps: !0,
displayName: !0,
getDefaultProps: !0,
getDerivedStateFromError: !0,
getDerivedStateFromProps: !0,
mixins: !0,
propTypes: !0,
type: !0
}, pe = {
name: !0,
length: !0,
prototype: !0,
caller: !0,
callee: !0,
arguments: !0,
arity: !0
}, ve = {
$$typeof: !0,
render: !0,
defaultProps: !0,
displayName: !0,
propTypes: !0
}, j = {
$$typeof: !0,
compare: !0,
defaultProps: !0,
displayName: !0,
propTypes: !0,
type: !0
}, g = {};
g[O.ForwardRef] = ve;
g[O.Memo] = j;
function h(t) {
return O.isMemo(t) ? j : g[t.$$typeof] || de;
}
var Se = Object.defineProperty, Ee = Object.getOwnPropertyNames, D = Object.getOwnPropertySymbols, _e = Object.getOwnPropertyDescriptor, Te = Object.getPrototypeOf, L = Object.prototype;
function z(t, s, d) {
if (typeof s != "string") {
if (L) {
var u = Te(s);
u && u !== L && z(t, u, d);
}
var f = Ee(s);
D && (f = f.concat(D(s)));
for (var y = h(t), m = h(s), l = 0; l < f.length; ++l) {
var i = f[l];
if (!pe[i] && !(d && d[i]) && !(m && m[i]) && !(y && y[i])) {
var p = _e(s, i);
try {
Se(t, i, p);
} catch {
}
}
}
}
return t;
}
var Pe = z;
const Re = /* @__PURE__ */ ue(Pe);
export {
Re as m
};