share-button-links-react
Version:
Share buttons links for websites, blogs and more.
883 lines (880 loc) • 71.4 kB
JavaScript
import ir, { useState as lr } from "react";
var Le, pe = {}, se = {}, De, ke, fe = {};
/**
* @license React
* react-jsx-runtime.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.
*/
function yr() {
return De || (De = 1, process.env.NODE_ENV !== "production" && function() {
var s = ir, t = Symbol.for("react.element"), c = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), u = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), X = Symbol.for("react.offscreen"), C = Symbol.iterator, B = "@@iterator", q = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function P(r) {
for (var m = arguments.length, h = new Array(m > 1 ? m - 1 : 0), W = 1; W < m; W++)
h[W - 1] = arguments[W];
(function(E, I, N) {
var S = q.ReactDebugCurrentFrame, U = S.getStackAddendum();
U !== "" && (I += "%s", N = N.concat([U]));
var Y = N.map(function(M) {
return String(M);
});
Y.unshift("Warning: " + I), Function.prototype.apply.call(console[E], console, Y);
})("error", r, h);
}
var H, J = !1, $ = !1, Q = !1, e = !1, d = !1;
function v(r) {
return r.displayName || "Context";
}
function p(r) {
if (r == null)
return null;
if (typeof r.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
return r.displayName || r.name || null;
if (typeof r == "string")
return r;
switch (r) {
case o:
return "Fragment";
case c:
return "Portal";
case i:
return "Profiler";
case l:
return "StrictMode";
case x:
return "Suspense";
case b:
return "SuspenseList";
}
if (typeof r == "object")
switch (r.$$typeof) {
case u:
return v(r) + ".Consumer";
case a:
return v(r._context) + ".Provider";
case y:
return function(I, N, S) {
var U = I.displayName;
if (U)
return U;
var Y = N.displayName || N.name || "";
return Y !== "" ? S + "(" + Y + ")" : S;
}(r, r.render, "ForwardRef");
case A:
var m = r.displayName || null;
return m !== null ? m : p(r.type) || "Memo";
case R:
var h = r, W = h._payload, E = h._init;
try {
return p(E(W));
} catch {
return null;
}
}
return null;
}
H = Symbol.for("react.module.reference");
var w, g, j, _, T, F, L, K = Object.assign, ee = 0;
function te() {
}
te.__reactDisabledLog = !0;
var f, oe = q.ReactCurrentDispatcher;
function re(r, m, h) {
if (f === void 0)
try {
throw Error();
} catch (E) {
var W = E.stack.trim().match(/\n( *(at )?)/);
f = W && W[1] || "";
}
return `
` + f + r;
}
var ie, he = !1, ar = typeof WeakMap == "function" ? WeakMap : Map;
function Re(r, m) {
if (!r || he)
return "";
var h, W = ie.get(r);
if (W !== void 0)
return W;
he = !0;
var E, I = Error.prepareStackTrace;
Error.prepareStackTrace = void 0, E = oe.current, oe.current = null, function() {
if (ee === 0) {
w = console.log, g = console.info, j = console.warn, _ = console.error, T = console.group, F = console.groupCollapsed, L = console.groupEnd;
var D = { configurable: !0, enumerable: !0, value: te, writable: !0 };
Object.defineProperties(console, { info: D, log: D, warn: D, error: D, group: D, groupCollapsed: D, groupEnd: D });
}
ee++;
}();
try {
if (m) {
var N = function() {
throw Error();
};
if (Object.defineProperty(N.prototype, "props", { set: function() {
throw Error();
} }), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(N, []);
} catch (D) {
h = D;
}
Reflect.construct(r, [], N);
} else {
try {
N.call();
} catch (D) {
h = D;
}
r.call(N.prototype);
}
} else {
try {
throw Error();
} catch (D) {
h = D;
}
r();
}
} catch (D) {
if (D && h && typeof D.stack == "string") {
for (var S = D.stack.split(`
`), U = h.stack.split(`
`), Y = S.length - 1, M = U.length - 1; Y >= 1 && M >= 0 && S[Y] !== U[M]; )
M--;
for (; Y >= 1 && M >= 0; Y--, M--)
if (S[Y] !== U[M]) {
if (Y !== 1 || M !== 1)
do
if (Y--, --M < 0 || S[Y] !== U[M]) {
var O = `
` + S[Y].replace(" at new ", " at ");
return r.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", r.displayName)), typeof r == "function" && ie.set(r, O), O;
}
while (Y >= 1 && M >= 0);
break;
}
}
} finally {
he = !1, oe.current = E, function() {
if (--ee == 0) {
var D = { configurable: !0, enumerable: !0, writable: !0 };
Object.defineProperties(console, { log: K({}, D, { value: w }), info: K({}, D, { value: g }), warn: K({}, D, { value: j }), error: K({}, D, { value: _ }), group: K({}, D, { value: T }), groupCollapsed: K({}, D, { value: F }), groupEnd: K({}, D, { value: L }) });
}
ee < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}(), Error.prepareStackTrace = I;
}
var Z = r ? r.displayName || r.name : "", k = Z ? re(Z) : "";
return typeof r == "function" && ie.set(r, k), k;
}
function ce(r, m, h) {
if (r == null)
return "";
if (typeof r == "function")
return Re(r, !(!(W = r.prototype) || !W.isReactComponent));
var W;
if (typeof r == "string")
return re(r);
switch (r) {
case x:
return re("Suspense");
case b:
return re("SuspenseList");
}
if (typeof r == "object")
switch (r.$$typeof) {
case y:
return Re(r.render, !1);
case A:
return ce(r.type, m, h);
case R:
var E = r, I = E._payload, N = E._init;
try {
return ce(N(I), m, h);
} catch {
}
}
return "";
}
ie = new ar();
var ue = Object.prototype.hasOwnProperty, je = {}, Ne = q.ReactDebugCurrentFrame;
function de(r) {
if (r) {
var m = r._owner, h = ce(r.type, r._source, m ? m.type : null);
Ne.setExtraStackFrame(h);
} else
Ne.setExtraStackFrame(null);
}
var sr = Array.isArray;
function ye(r) {
return sr(r);
}
function Ee(r) {
return "" + r;
}
function Ae(r) {
if (function(m) {
try {
return Ee(m), !1;
} catch {
return !0;
}
}(r))
return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", function(m) {
return typeof Symbol == "function" && Symbol.toStringTag && m[Symbol.toStringTag] || m.constructor.name || "Object";
}(r)), Ee(r);
}
var Ie, Pe, me, ae = q.ReactCurrentOwner, cr = { key: !0, ref: !0, __self: !0, __source: !0 };
me = {};
var ur = function(r, m, h, W, E, I, N) {
var S = { $$typeof: t, type: r, key: m, ref: h, props: N, _owner: I, _store: {} };
return Object.defineProperty(S._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 }), Object.defineProperty(S, "_self", { configurable: !1, enumerable: !1, writable: !1, value: W }), Object.defineProperty(S, "_source", { configurable: !1, enumerable: !1, writable: !1, value: E }), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
};
function dr(r, m, h, W, E) {
var I, N = {}, S = null, U = null;
for (I in h !== void 0 && (Ae(h), S = "" + h), function(O) {
if (ue.call(O, "key")) {
var Z = Object.getOwnPropertyDescriptor(O, "key").get;
if (Z && Z.isReactWarning)
return !1;
}
return O.key !== void 0;
}(m) && (Ae(m.key), S = "" + m.key), function(O) {
if (ue.call(O, "ref")) {
var Z = Object.getOwnPropertyDescriptor(O, "ref").get;
if (Z && Z.isReactWarning)
return !1;
}
return O.ref !== void 0;
}(m) && (U = m.ref, function(O, Z) {
if (typeof O.ref == "string" && ae.current && Z && ae.current.stateNode !== Z) {
var k = p(ae.current.type);
me[k] || (P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', p(ae.current.type), O.ref), me[k] = !0);
}
}(m, E)), m)
ue.call(m, I) && !cr.hasOwnProperty(I) && (N[I] = m[I]);
if (r && r.defaultProps) {
var Y = r.defaultProps;
for (I in Y)
N[I] === void 0 && (N[I] = Y[I]);
}
if (S || U) {
var M = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
S && function(O, Z) {
var k = function() {
Ie || (Ie = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Z));
};
k.isReactWarning = !0, Object.defineProperty(O, "key", { get: k, configurable: !0 });
}(N, M), U && function(O, Z) {
var k = function() {
Pe || (Pe = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Z));
};
k.isReactWarning = !0, Object.defineProperty(O, "ref", { get: k, configurable: !0 });
}(N, M);
}
return ur(r, S, U, E, W, ae.current, N);
}
var be, ve = q.ReactCurrentOwner, Te = q.ReactDebugCurrentFrame;
function le(r) {
if (r) {
var m = r._owner, h = ce(r.type, r._source, m ? m.type : null);
Te.setExtraStackFrame(h);
} else
Te.setExtraStackFrame(null);
}
function ge(r) {
return typeof r == "object" && r !== null && r.$$typeof === t;
}
function Be() {
if (ve.current) {
var r = p(ve.current.type);
if (r)
return `
Check the render method of \`` + r + "`.";
}
return "";
}
be = !1;
var ze = {};
function We(r, m) {
if (r._store && !r._store.validated && r.key == null) {
r._store.validated = !0;
var h = function(E) {
var I = Be();
if (!I) {
var N = typeof E == "string" ? E : E.displayName || E.name;
N && (I = `
Check the top-level render call using <` + N + ">.");
}
return I;
}(m);
if (!ze[h]) {
ze[h] = !0;
var W = "";
r && r._owner && r._owner !== ve.current && (W = " It was passed a child from " + p(r._owner.type) + "."), le(r), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, W), le(null);
}
}
}
function Me(r, m) {
if (typeof r == "object") {
if (ye(r))
for (var h = 0; h < r.length; h++) {
var W = r[h];
ge(W) && We(W, m);
}
else if (ge(r))
r._store && (r._store.validated = !0);
else if (r) {
var E = function(S) {
if (S === null || typeof S != "object")
return null;
var U = C && S[C] || S[B];
return typeof U == "function" ? U : null;
}(r);
if (typeof E == "function" && E !== r.entries)
for (var I, N = E.call(r); !(I = N.next()).done; )
ge(I.value) && We(I.value, m);
}
}
}
function fr(r) {
var m, h = r.type;
if (h != null && typeof h != "string") {
if (typeof h == "function")
m = h.propTypes;
else {
if (typeof h != "object" || h.$$typeof !== y && h.$$typeof !== A)
return;
m = h.propTypes;
}
if (m) {
var W = p(h);
(function(E, I, N, S, U) {
var Y = Function.call.bind(ue);
for (var M in E)
if (Y(E, M)) {
var O = void 0;
try {
if (typeof E[M] != "function") {
var Z = Error((S || "React class") + ": " + N + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof E[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw Z.name = "Invariant Violation", Z;
}
O = E[M](I, M, S, N, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (k) {
O = k;
}
!O || O instanceof Error || (de(U), P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", N, M, typeof O), de(null)), O instanceof Error && !(O.message in je) && (je[O.message] = !0, de(U), P("Failed %s type: %s", N, O.message), de(null));
}
})(m, r.props, "prop", W, r);
} else
h.PropTypes !== void 0 && !be && (be = !0, P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p(h) || "Unknown"));
typeof h.getDefaultProps != "function" || h.getDefaultProps.isReactClassApproved || P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function Ve(r, m, h, W, E, I) {
var N = function(k) {
return typeof k == "string" || typeof k == "function" || !!(k === o || k === i || d || k === l || k === x || k === b || e || k === X || J || $ || Q) || typeof k == "object" && k !== null && (k.$$typeof === R || k.$$typeof === A || k.$$typeof === a || k.$$typeof === u || k.$$typeof === y || k.$$typeof === H || k.getModuleId !== void 0);
}(r);
if (!N) {
var S = "";
(r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (S += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
var U, Y = function(k) {
return k !== void 0 ? `
Check your code at ` + k.fileName.replace(/^.*[\\\/]/, "") + ":" + k.lineNumber + "." : "";
}(E);
S += Y || Be(), r === null ? U = "null" : ye(r) ? U = "array" : r !== void 0 && r.$$typeof === t ? (U = "<" + (p(r.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : U = typeof r, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", U, S);
}
var M = dr(r, m, h, E, I);
if (M == null)
return M;
if (N) {
var O = m.children;
if (O !== void 0)
if (W)
if (ye(O)) {
for (var Z = 0; Z < O.length; Z++)
Me(O[Z], r);
Object.freeze && Object.freeze(O);
} else
P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
else
Me(O, r);
}
return r === o ? function(k) {
for (var D = Object.keys(k.props), we = 0; we < D.length; we++) {
var $e = D[we];
if ($e !== "children" && $e !== "key") {
le(k), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", $e), le(null);
break;
}
}
k.ref !== null && (le(k), P("Invalid attribute `ref` supplied to `React.Fragment`."), le(null));
}(M) : fr(M), M;
}
var pr = function(r, m, h) {
return Ve(r, m, h, !1);
}, hr = function(r, m, h) {
return Ve(r, m, h, !0);
};
fe.Fragment = o, fe.jsx = pr, fe.jsxs = hr;
}()), fe;
}
ke = { get exports() {
return pe;
}, set exports(s) {
pe = s;
} }, process.env.NODE_ENV === "production" ? ke.exports = function() {
if (Le)
return se;
Le = 1;
var s = ir, t = Symbol.for("react.element"), c = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, l = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
function a(u, y, x) {
var b, A = {}, R = null, X = null;
for (b in x !== void 0 && (R = "" + x), y.key !== void 0 && (R = "" + y.key), y.ref !== void 0 && (X = y.ref), y)
o.call(y, b) && !i.hasOwnProperty(b) && (A[b] = y[b]);
if (u && u.defaultProps)
for (b in y = u.defaultProps)
A[b] === void 0 && (A[b] = y[b]);
return { $$typeof: t, type: u, key: R, ref: X, props: A, _owner: l.current };
}
return se.Fragment = c, se.jsx = a, se.jsxs = a, se;
}() : ke.exports = yr();
const n = pe.jsx, G = pe.jsxs;
function mr({ url: s = "#!", title: t, isRounded: c = !1, isAllWhite: o = !1, isWhited: l = !1, isBordered: i = !1, isCircled: a = !1 }) {
return n("a", { href: `https://facebook.com/sharer/sharer.php?u=${s}&t=${t}"e=`, className: `btn-link-icon btn-link-facebook-icon ${c ? "is-rounded" : null} ${o ? "is-whited" : null} ${i ? "is-bordered" : null} ${a ? "is-circled" : null} ${l ? "is-whited" : null}`, title: "Facebook", rel: "noreferrer nofollow noopener", target: "_blank", children: n("svg", { fill: "currentColor", className: "bi bi-facebook", width: "24", height: "24", viewBox: "0 0 16 16", children: n("path", { d: "M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z" }) }) });
}
function br({ url: s = "#!", message: t, isRounded: c = !1, isAllWhite: o = !1, isWhited: l = !1, isBordered: i = !1, isCircled: a = !1 }) {
return n("a", { href: `https://api.whatsapp.com/send?text=${t}%20${s}`, className: `btn-link-icon btn-link-whatsapp-icon ${c ? "is-rounded" : null} ${o ? "is-whited" : null} ${i ? "is-bordered" : null} ${a ? "is-circled" : null} ${l ? "is-whited" : null}`, title: "Whatsapp", rel: "nofollow noopener noreferrer", target: "_blank", children: n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "currentColor", className: "bi bi-whatsapp", viewBox: "0 0 16 16", children: n("path", { d: "M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z" }) }) });
}
function vr({ url: s = "#!", message: t = "Add message", isRounded: c = !1, isAllWhite: o = !1, isWhited: l = !1, isBordered: i = !1, isCircled: a = !1 }) {
return n("a", { href: `https://t.me/share/url?url=${s}&text=${t}`, className: `btn-link-icon btn-link-telegram-icon ${c ? "is-rounded" : null} ${o ? "is-whited" : null} ${i ? "is-bordered" : null} ${a ? "is-circled" : null} ${l ? "is-whited" : null}`, title: "Telegram", rel: "nofollow noopener noreferrer", target: "_blank", children: n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "currentColor", className: "bi bi-telegram", viewBox: "0 0 16 16", children: n("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.287 5.906c-.778.324-2.334.994-4.666 2.01-.378.15-.577.298-.595.442-.03.243.275.339.69.47l.175.055c.408.133.958.288 1.243.294.26.006.549-.1.868-.32 2.179-1.471 3.304-2.214 3.374-2.23.05-.012.12-.026.166.016.047.041.042.12.037.141-.03.129-1.227 1.241-1.846 1.817-.193.18-.33.307-.358.336a8.154 8.154 0 0 1-.188.186c-.38.366-.664.64.015 1.088.327.216.589.393.85.571.284.194.568.387.936.629.093.06.183.125.27.187.331.236.63.448.997.414.214-.02.435-.22.547-.82.265-1.417.786-4.486.906-5.751a1.426 1.426 0 0 0-.013-.315.337.337 0 0 0-.114-.217.526.526 0 0 0-.31-.093c-.3.005-.763.166-2.984 1.09z" }) }) });
}
function gr({ url: s = "#!", title: t, isRounded: c = !1, isAllWhite: o = !1, isWhited: l = !1, isBordered: i = !1, isCircled: a = !1 }) {
return n("a", { href: `https://twitter.com/intent/tweet/?text=${t}&url=${s}`, className: `btn-link-icon btn-link-twitter-icon ${c ? "is-rounded" : null} ${o ? "is-whited" : null} ${i ? "is-bordered" : null} ${a ? "is-circled" : null} ${l ? "is-whited" : null}`, title: "Twitter", rel: "noreferrer nofollow noopener", target: "_blank", children: n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "currentColor", className: "bi bi-twitter", viewBox: "0 0 16 16", children: n("path", { d: "M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z" }) }) });
}
function wr({ url: s = "#!", isRounded: t = !1, isAllWhite: c = !1, isWhited: o = !1, isBordered: l = !1, isCircled: i = !1 }) {
return n("a", { href: `https://www.linkedin.com/sharing/share-offsite/?url=${s}`, className: `btn-link-icon btn-link-linkedin-icon ${t ? "is-rounded" : null} ${c ? "is-whited" : null} ${l ? "is-bordered" : null} ${i ? "is-circled" : null} ${o ? "is-whited" : null}`, title: "LinkedIn", rel: "noreferrer nofollow noopener", target: "_blank", children: n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "currentColor", className: "bi bi-linkedin", viewBox: "0 0 16 16", children: n("path", { d: "M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z" }) }) });
}
function $r({ url: s = "#!", title: t = "Add title", isRounded: c = !1, isAllWhite: o = !1, isWhited: l = !1, isBordered: i = !1, isCircled: a = !1 }) {
return n("a", { href: `https://reddit.com/submit/?url=${s}&title=${t}`, className: `btn-link-icon btn-link-reddit-icon ${c ? "is-rounded" : null} ${o ? "is-whited" : null} ${i ? "is-bordered" : null} ${a ? "is-circled" : null} ${l ? "is-whited" : null}`, title: "Reddit", rel: "noreferrer nofollow noopener", target: "_blank", children: G("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", className: "bi bi-reddit", viewBox: "0 0 16 16", children: [n("path", { d: "M6.167 8a.831.831 0 0 0-.83.83c0 .459.372.84.83.831a.831.831 0 0 0 0-1.661zm1.843 3.647c.315 0 1.403-.038 1.976-.611a.232.232 0 0 0 0-.306.213.213 0 0 0-.306 0c-.353.363-1.126.487-1.67.487-.545 0-1.308-.124-1.671-.487a.213.213 0 0 0-.306 0 .213.213 0 0 0 0 .306c.564.563 1.652.61 1.977.61zm.992-2.807c0 .458.373.83.831.83.458 0 .83-.381.83-.83a.831.831 0 0 0-1.66 0z" }), n("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.828-1.165c-.315 0-.602.124-.812.325-.801-.573-1.9-.945-3.121-.993l.534-2.501 1.738.372a.83.83 0 1 0 .83-.869.83.83 0 0 0-.744.468l-1.938-.41a.203.203 0 0 0-.153.028.186.186 0 0 0-.086.134l-.592 2.788c-1.24.038-2.358.41-3.17.992-.21-.2-.496-.324-.81-.324a1.163 1.163 0 0 0-.478 2.224c-.02.115-.029.23-.029.353 0 1.795 2.091 3.256 4.669 3.256 2.577 0 4.668-1.451 4.668-3.256 0-.114-.01-.238-.029-.353.401-.181.688-.592.688-1.069 0-.65-.525-1.165-1.165-1.165z" })] }) });
}
function kr({ url: s = "#!", description: t = "Add description", mediaUrl: c = "#!", isRounded: o = !1, isAllWhite: l = !1, isWhited: i = !1, isBordered: a = !1, isCircled: u = !1 }) {
return n("a", { href: `https://pinterest.com/pin/create/button/?url=${s}&media=${c}&description=${t}`, className: `btn-link-icon btn-link-pinterest-icon ${o ? "is-rounded" : null} ${l ? "is-whited" : null} ${a ? "is-bordered" : null} ${u ? "is-circled" : null} ${i ? "is-whited" : null}`, title: "Pinterest", rel: "noreferrer nofollow noopener", target: "_blank", children: n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", className: "bi bi-pinterest", viewBox: "0 0 16 16", children: n("path", { d: "M8 0a8 8 0 0 0-2.915 15.452c-.07-.633-.134-1.606.027-2.297.146-.625.938-3.977.938-3.977s-.239-.479-.239-1.187c0-1.113.645-1.943 1.448-1.943.682 0 1.012.512 1.012 1.127 0 .686-.437 1.712-.663 2.663-.188.796.4 1.446 1.185 1.446 1.422 0 2.515-1.5 2.515-3.664 0-1.915-1.377-3.254-3.342-3.254-2.276 0-3.612 1.707-3.612 3.471 0 .688.265 1.425.595 1.826a.24.24 0 0 1 .056.23c-.061.252-.196.796-.222.907-.035.146-.116.177-.268.107-1-.465-1.624-1.926-1.624-3.1 0-2.523 1.834-4.84 5.286-4.84 2.775 0 4.932 1.977 4.932 4.62 0 2.757-1.739 4.976-4.151 4.976-.811 0-1.573-.421-1.834-.919l-.498 1.902c-.181.695-.669 1.566-.995 2.097A8 8 0 1 0 8 0z" }) }) });
}
function xr({ url: s = "#!", title: t = "Add title", content: c = "Add your content", isRounded: o = !1, isAllWhite: l = !1, isWhited: i = !1, isBordered: a = !1, isCircled: u = !1 }) {
return n("a", { href: `https://www.tumblr.com/widgets/share/tool?posttype=link&title=${t}&caption=${s}&content=${c}&canonicalUrl=${s}&shareSource=tumblr_share_button`, className: `btn-link-icon btn-link-tumblr-icon ${o ? "is-rounded" : null} ${l ? "is-whited" : null} ${a ? "is-bordered" : null} ${u ? "is-circled" : null} ${i ? "is-whited" : null}`, title: "Tumblr", rel: "noreferrer nofollow noopener", target: "_blank", children: n("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fab", "data-icon": "tumblr-square", className: "svg-inline--fa fa-tumblr-square fa-w-14", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", children: n("path", { fill: "currentColor", d: "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-82.3 364.2c-8.5 9.1-31.2 19.8-60.9 19.8-75.5 0-91.9-55.5-91.9-87.9v-90h-29.7c-3.4 0-6.2-2.8-6.2-6.2v-42.5c0-4.5 2.8-8.5 7.1-10 38.8-13.7 50.9-47.5 52.7-73.2.5-6.9 4.1-10.2 10-10.2h44.3c3.4 0 6.2 2.8 6.2 6.2v72h51.9c3.4 0 6.2 2.8 6.2 6.2v51.1c0 3.4-2.8 6.2-6.2 6.2h-52.1V321c0 21.4 14.8 33.5 42.5 22.4 3-1.2 5.6-2 8-1.4 2.2.5 3.6 2.1 4.6 4.9l13.8 40.2c1 3.2 2 6.7-.3 9.1z" }) }) });
}
function Cr({ url: s = "#!", title: t = "Add title", isRounded: c = !1, isAllWhite: o = !1, isWhited: l = !1, isBordered: i = !1, isCircled: a = !1 }) {
return n("a", { href: `https://getpocket.com/save?url=${s}&title=${t}`, className: `btn-link-icon btn-link-pocket-icon ${c ? "is-rounded" : null} ${o ? "is-whited" : null} ${i ? "is-bordered" : null} ${a ? "is-circled" : null} ${l ? "is-whited" : null}`, title: "Pocket", rel: "noreferrer nofollow noopener", target: "_blank", children: n("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fab", "data-icon": "get-pocket", className: "svg-inline--fa fa-get-pocket fa-w-14", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", children: n("path", { fill: "currentColor", d: "M407.6 64h-367C18.5 64 0 82.5 0 104.6v135.2C0 364.5 99.7 464 224.2 464c124 0 223.8-99.5 223.8-224.2V104.6c0-22.4-17.7-40.6-40.4-40.6zm-162 268.5c-12.4 11.8-31.4 11.1-42.4 0C89.5 223.6 88.3 227.4 88.3 209.3c0-16.9 13.8-30.7 30.7-30.7 17 0 16.1 3.8 105.2 89.3 90.6-86.9 88.6-89.3 105.5-89.3 16.9 0 30.7 13.8 30.7 30.7 0 17.8-2.9 15.7-114.8 123.2z" }) }) });
}
var Fe, ne = {}, Ue = { get exports() {
return ne;
}, set exports(s) {
ne = s;
} }, Se = {}, _r = { get exports() {
return Se;
}, set exports(s) {
Se = s;
} }, z = {}, qe, He, xe, Ye, Ze, Je, Ge, Xe, Ke, Qe, Ce, er, rr, tr, V = {};
/** @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.
*/
function nr() {
return He || (He = 1, function(s) {
process.env.NODE_ENV === "production" ? s.exports = function() {
if (Fe)
return z;
Fe = 1;
var t = typeof Symbol == "function" && Symbol.for, c = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, l = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, u = t ? Symbol.for("react.provider") : 60109, y = t ? Symbol.for("react.context") : 60110, x = t ? Symbol.for("react.async_mode") : 60111, b = t ? Symbol.for("react.concurrent_mode") : 60111, A = t ? Symbol.for("react.forward_ref") : 60112, R = t ? Symbol.for("react.suspense") : 60113, X = t ? Symbol.for("react.suspense_list") : 60120, C = t ? Symbol.for("react.memo") : 60115, B = t ? Symbol.for("react.lazy") : 60116, q = t ? Symbol.for("react.block") : 60121, P = t ? Symbol.for("react.fundamental") : 60117, H = t ? Symbol.for("react.responder") : 60118, J = t ? Symbol.for("react.scope") : 60119;
function $(e) {
if (typeof e == "object" && e !== null) {
var d = e.$$typeof;
switch (d) {
case c:
switch (e = e.type) {
case x:
case b:
case l:
case a:
case i:
case R:
return e;
default:
switch (e = e && e.$$typeof) {
case y:
case A:
case B:
case C:
case u:
return e;
default:
return d;
}
}
case o:
return d;
}
}
}
function Q(e) {
return $(e) === b;
}
return z.AsyncMode = x, z.ConcurrentMode = b, z.ContextConsumer = y, z.ContextProvider = u, z.Element = c, z.ForwardRef = A, z.Fragment = l, z.Lazy = B, z.Memo = C, z.Portal = o, z.Profiler = a, z.StrictMode = i, z.Suspense = R, z.isAsyncMode = function(e) {
return Q(e) || $(e) === x;
}, z.isConcurrentMode = Q, z.isContextConsumer = function(e) {
return $(e) === y;
}, z.isContextProvider = function(e) {
return $(e) === u;
}, z.isElement = function(e) {
return typeof e == "object" && e !== null && e.$$typeof === c;
}, z.isForwardRef = function(e) {
return $(e) === A;
}, z.isFragment = function(e) {
return $(e) === l;
}, z.isLazy = function(e) {
return $(e) === B;
}, z.isMemo = function(e) {
return $(e) === C;
}, z.isPortal = function(e) {
return $(e) === o;
}, z.isProfiler = function(e) {
return $(e) === a;
}, z.isStrictMode = function(e) {
return $(e) === i;
}, z.isSuspense = function(e) {
return $(e) === R;
}, z.isValidElementType = function(e) {
return typeof e == "string" || typeof e == "function" || e === l || e === b || e === a || e === i || e === R || e === X || typeof e == "object" && e !== null && (e.$$typeof === B || e.$$typeof === C || e.$$typeof === u || e.$$typeof === y || e.$$typeof === A || e.$$typeof === P || e.$$typeof === H || e.$$typeof === J || e.$$typeof === q);
}, z.typeOf = $, z;
}() : s.exports = (qe || (qe = 1, process.env.NODE_ENV !== "production" && function() {
var t = typeof Symbol == "function" && Symbol.for, c = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, l = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, u = t ? Symbol.for("react.provider") : 60109, y = t ? Symbol.for("react.context") : 60110, x = t ? Symbol.for("react.async_mode") : 60111, b = t ? Symbol.for("react.concurrent_mode") : 60111, A = t ? Symbol.for("react.forward_ref") : 60112, R = t ? Symbol.for("react.suspense") : 60113, X = t ? Symbol.for("react.suspense_list") : 60120, C = t ? Symbol.for("react.memo") : 60115, B = t ? Symbol.for("react.lazy") : 60116, q = t ? Symbol.for("react.block") : 60121, P = t ? Symbol.for("react.fundamental") : 60117, H = t ? Symbol.for("react.responder") : 60118, J = t ? Symbol.for("react.scope") : 60119;
function $(f) {
if (typeof f == "object" && f !== null) {
var oe = f.$$typeof;
switch (oe) {
case c:
var re = f.type;
switch (re) {
case x:
case b:
case l:
case a:
case i:
case R:
return re;
default:
var ie = re && re.$$typeof;
switch (ie) {
case y:
case A:
case B:
case C:
case u:
return ie;
default:
return oe;
}
}
case o:
return oe;
}
}
}
var Q = x, e = b, d = y, v = u, p = c, w = A, g = l, j = B, _ = C, T = o, F = a, L = i, K = R, ee = !1;
function te(f) {
return $(f) === b;
}
V.AsyncMode = Q, V.ConcurrentMode = e, V.ContextConsumer = d, V.ContextProvider = v, V.Element = p, V.ForwardRef = w, V.Fragment = g, V.Lazy = j, V.Memo = _, V.Portal = T, V.Profiler = F, V.StrictMode = L, V.Suspense = K, V.isAsyncMode = function(f) {
return ee || (ee = !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.")), te(f) || $(f) === x;
}, V.isConcurrentMode = te, V.isContextConsumer = function(f) {
return $(f) === y;
}, V.isContextProvider = function(f) {
return $(f) === u;
}, V.isElement = function(f) {
return typeof f == "object" && f !== null && f.$$typeof === c;
}, V.isForwardRef = function(f) {
return $(f) === A;
}, V.isFragment = function(f) {
return $(f) === l;
}, V.isLazy = function(f) {
return $(f) === B;
}, V.isMemo = function(f) {
return $(f) === C;
}, V.isPortal = function(f) {
return $(f) === o;
}, V.isProfiler = function(f) {
return $(f) === a;
}, V.isStrictMode = function(f) {
return $(f) === i;
}, V.isSuspense = function(f) {
return $(f) === R;
}, V.isValidElementType = function(f) {
return typeof f == "string" || typeof f == "function" || f === l || f === b || f === a || f === i || f === R || f === X || typeof f == "object" && f !== null && (f.$$typeof === B || f.$$typeof === C || f.$$typeof === u || f.$$typeof === y || f.$$typeof === A || f.$$typeof === P || f.$$typeof === H || f.$$typeof === J || f.$$typeof === q);
}, V.typeOf = $;
}()), V);
}(_r)), Se;
}
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
function Sr() {
if (Ye)
return xe;
Ye = 1;
var s = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
return xe = function() {
try {
if (!Object.assign)
return !1;
var o = new String("abc");
if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5")
return !1;
for (var l = {}, i = 0; i < 10; i++)
l["_" + String.fromCharCode(i)] = i;
if (Object.getOwnPropertyNames(l).map(function(u) {
return l[u];
}).join("") !== "0123456789")
return !1;
var a = {};
return "abcdefghijklmnopqrst".split("").forEach(function(u) {
a[u] = u;
}), Object.keys(Object.assign({}, a)).join("") === "abcdefghijklmnopqrst";
} catch {
return !1;
}
}() ? Object.assign : function(o, l) {
for (var i, a, u = function(A) {
if (A == null)
throw new TypeError("Object.assign cannot be called with null or undefined");
return Object(A);
}(o), y = 1; y < arguments.length; y++) {
for (var x in i = Object(arguments[y]))
t.call(i, x) && (u[x] = i[x]);
if (s) {
a = s(i);
for (var b = 0; b < a.length; b++)
c.call(i, a[b]) && (u[a[b]] = i[a[b]]);
}
}
return u;
}, xe;
}
function _e() {
return Je ? Ze : (Je = 1, Ze = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
}
function or() {
return Xe ? Ge : (Xe = 1, Ge = Function.call.bind(Object.prototype.hasOwnProperty));
}
if (process.env.NODE_ENV !== "production") {
var Or = nr();
Ue.exports = function() {
if (er)
return Ce;
er = 1;
var s = nr(), t = Sr(), c = _e(), o = or(), l = function() {
if (Qe)
return Ke;
Qe = 1;
var u = function() {
};
if (process.env.NODE_ENV !== "production") {
var y = _e(), x = {}, b = or();
u = function(R) {
var X = "Warning: " + R;
typeof console < "u" && console.error(X);
try {
throw new Error(X);
} catch {
}
};
}
function A(R, X, C, B, q) {
if (process.env.NODE_ENV !== "production") {
for (var P in R)
if (b(R, P)) {
var H;
try {
if (typeof R[P] != "function") {
var J = Error((B || "React class") + ": " + C + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof R[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw J.name = "Invariant Violation", J;
}
H = R[P](X, P, B, C, null, y);
} catch (Q) {
H = Q;
}
if (!H || H instanceof Error || u((B || "React class") + ": type specification of " + C + " `" + P + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof H + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."), H instanceof Error && !(H.message in x)) {
x[H.message] = !0;
var $ = q ? q() : "";
u("Failed " + C + " type: " + H.message + ($ ?? ""));
}
}
}
}
return A.resetWarningCache = function() {
process.env.NODE_ENV !== "production" && (x = {});
}, Ke = A;
}(), i = function() {
};
function a() {
return null;
}
return process.env.NODE_ENV !== "production" && (i = function(u) {
var y = "Warning: " + u;
typeof console < "u" && console.error(y);
try {
throw new Error(y);
} catch {
}
}), Ce = function(u, y) {
var x = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator", A = "<<anonymous>>", R = { array: q("array"), bigint: q("bigint"), bool: q("boolean"), func: q("function"), number: q("number"), object: q("object"), string: q("string"), symbol: q("symbol"), any: B(a), arrayOf: function(e) {
return B(function(d, v, p, w, g) {
if (typeof e != "function")
return new C("Property `" + g + "` of component `" + p + "` has invalid PropType notation inside arrayOf.");
var j = d[v];
if (!Array.isArray(j))
return new C("Invalid " + w + " `" + g + "` of type `" + J(j) + "` supplied to `" + p + "`, expected an array.");
for (var _ = 0; _ < j.length; _++) {
var T = e(j, _, p, w, g + "[" + _ + "]", c);
if (T instanceof Error)
return T;
}
return null;
});
}, element: B(function(e, d, v, p, w) {
var g = e[d];
return u(g) ? null : new C("Invalid " + p + " `" + w + "` of type `" + J(g) + "` supplied to `" + v + "`, expected a single ReactElement.");
}), elementType: B(function(e, d, v, p, w) {
var g = e[d];
return s.isValidElementType(g) ? null : new C("Invalid " + p + " `" + w + "` of type `" + J(g) + "` supplied to `" + v + "`, expected a single ReactElement type.");
}), instanceOf: function(e) {
return B(function(d, v, p, w, g) {
if (!(d[v] instanceof e)) {
var j = e.name || A;
return new C("Invalid " + w + " `" + g + "` of type `" + ((_ = d[v]).constructor && _.constructor.name ? _.constructor.name : A) + "` supplied to `" + p + "`, expected instance of `" + j + "`.");
}
var _;
return null;
});
}, node: B(function(e, d, v, p, w) {
return H(e[d]) ? null : new C("Invalid " + p + " `" + w + "` supplied to `" + v + "`, expected a ReactNode.");
}), objectOf: function(e) {
return B(function(d, v, p, w, g) {
if (typeof e != "function")
return new C("Property `" + g + "` of component `" + p + "` has invalid PropType notation inside objectOf.");
var j = d[v], _ = J(j);
if (_ !== "object")
return new C("Invalid " + w + " `" + g + "` of type `" + _ + "` supplied to `" + p + "`, expected an object.");
for (var T in j)
if (o(j, T)) {
var F = e(j, T, p, w, g + "." + T, c);
if (F instanceof Error)
return F;
}
return null;
});
}, oneOf: function(e) {
return Array.isArray(e) ? B(function(d, v, p, w, g) {
for (var j = d[v], _ = 0; _ < e.length; _++)
if (X(j, e[_]))
return null;
var T = JSON.stringify(e, function(F, L) {
return $(L) === "symbol" ? String(L) : L;
});
return new C("Invalid " + w + " `" + g + "` of value `" + String(j) + "` supplied to `" + p + "`, expected one of " + T + ".");
}) : (process.env.NODE_ENV !== "production" && i(arguments.length > 1 ? "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])." : "Invalid argument supplied to oneOf, expected an array."), a);
}, oneOfType: function(e) {
if (!Array.isArray(e))
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
for (var d = 0; d < e.length; d++) {
var v = e[d];
if (typeof v != "function")
return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Q(v) + " at index " + d + "."), a;
}
return B(function(p, w, g, j, _) {
for (var T = [], F = 0; F < e.length; F++) {
var L = (0, e[F])(p, w, g, j, _, c);
if (L == null)
return null;
L.data && o(L.data, "expectedType") && T.push(L.data.expectedType);
}
return new C("Invalid " + j + " `" + _ + "` supplied to `" + g + "`" + (T.length > 0 ? ", expected one of type [" + T.join(", ") + "]" : "") + ".");
});
}, shape: function(e) {
return B(function(d, v, p, w, g) {
var j = d[v], _ = J(j);
if (_ !== "object")
return new C("Invalid " + w + " `" + g + "` of type `" + _ + "` supplied to `" + p + "`, expected `object`.");
for (var T in e) {
var F = e[T];
if (typeof F != "function")
return P(p, w, g, T, $(F));
var L = F(j, T, p, w, g + "." + T, c);
if (L)
return L;
}
return null;
});
}, exact: function(e) {
return B(function(d, v, p, w, g) {
var j = d[v], _ = J(j);
if (_ !== "object")
return new C("Invalid " + w + " `" + g + "` of type `" + _ + "` supplied to `" + p + "`, expected `object`.");
var T = t({}, d[v], e);
for (var F in T) {
var L = e[F];
if (o(e, F) && typeof L != "function")
return P(p, w, g, F, $(L));
if (!L)
return new C("Invalid " + w + " `" + g + "` key `" + F + "` supplied to `" + p + "`.\nBad object: " + JSON.stringify(d[v], null, " ") + `
Valid keys: ` + JSON.stringify(Object.keys(e), null, " "));
var K = L(j, F, p, w, g + "." + F, c);
if (K)
return K;
}
return null;
});
} };
function X(e, d) {
return e === d ? e !== 0 || 1 / e == 1 / d : e != e && d != d;
}
function C(e, d) {
this.message = e, this.data = d && typeof d == "object" ? d : {}, this.stack = "";
}
function B(e) {
if (process.env.NODE_ENV !== "production")
var d = {}, v = 0;
function p(g, j, _, T, F, L, K) {
if (T = T || A, L = L || _, K !== c) {
if (y) {
var ee = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");
throw ee.name = "Invariant Violation", ee;
}
if (process.env.NODE_ENV !== "production" && typeof console < "u") {
var te = T + ":" + _;
!d[te] && v < 3 && (i("You are manually calling a React.PropTypes validation function for the `" + L + "` prop on `" + T + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."), d[te] = !0, v++);
}
}
return j[_] == null ? g ? j[_] === null ? new C("The " + F + " `" + L + "` is marked as required in `" + T + "`, but its value is `null`.") : new C("The " + F + " `" + L + "` is marked as required in `" + T + "`, but its value is `undefined`.") : null : e(j, _, T, F, L);
}
var w = p.bind(null, !1);
return w.isRequired = p.bind(null, !0), w;
}
function q(e) {
return B(function(d, v, p, w, g, j) {
var _ = d[v];
return J(_) !== e ? new C("Invalid " + w + " `" + g + "` of type `" + $(_) + "` supplied to `" + p + "`, expected `" + e + "`.", { expectedType: e }) : null;
});
}
function P(e, d, v, p, w) {
return new C((e || "React class") + ": " + d + " type `" + v + "." + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +