react-palm
Version:
Elm-like architecture for React apps
1,998 lines (1,647 loc) • 171 kB
JavaScript
/** @license React v16.8.4+patch
* react-dom.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.
*/
/*
Modernizr 3.0.0pre (Custom Build) | MIT
*/
'use strict';
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
(function (da, pb) {
"object" === (typeof exports === "undefined" ? "undefined" : _typeof(exports)) && "undefined" !== typeof module ? module.exports = pb(require("react")) : "function" === typeof define && define.amd ? define(["react"], pb) : da.ReactDOM = pb(da.React);
})(void 0, function (da) {
function pb(a, b, c, d, e, f, g, h) {
if (!a) {
a = void 0;
if (void 0 === b) a = Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else {
var l = [c, d, e, f, g, h],
k = 0;
a = Error(b.replace(/%s/g, function () {
return l[k++];
}));
a.name = "Invariant Violation";
}
a.framesToPop = 1;
throw a;
}
}
function n(a) {
for (var b = arguments.length - 1, c = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, d = 0; d < b; d++) {
c += "&args[]=" + encodeURIComponent(arguments[d + 1]);
}
pb(!1, "Minified React error #" + a + "; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ", c);
}
function sh(a, b, c, d, e, f, g, h, l) {
qb = !1;
$b = null;
return th.apply(uh, arguments);
}
function vh(a, b, c, d, e, f, g, h, l) {
var k = sh.apply(this, arguments);
if (qb) {
if (qb) {
var m = $b;
qb = !1;
$b = null;
} else n("198"), m = void 0;
ac || (ac = !0, Zc = m);
}
return k;
}
function wh() {
if (ac) {
var a = Zc;
ac = !1;
Zc = null;
throw a;
}
}
function Ee() {
if (bc) for (var a in Na) {
var b = Na[a],
c = bc.indexOf(a);
-1 < c ? void 0 : n("96", a);
if (!cc[c]) {
b.extractEvents ? void 0 : n("97", a);
cc[c] = b;
c = b.eventTypes;
for (var d in c) {
var e = void 0;
var f = c[d],
g = b,
h = d;
$c.hasOwnProperty(h) ? n("99", h) : void 0;
$c[h] = f;
var l = f.phasedRegistrationNames;
if (l) {
for (e in l) {
l.hasOwnProperty(e) && Fe(l[e], g, h);
}
e = !0;
} else f.registrationName ? (Fe(f.registrationName, g, h), e = !0) : e = !1;
e ? void 0 : n("98", d, a);
}
}
}
}
function Fe(a, b, c) {
Oa[a] ? n("100", a) : void 0;
Oa[a] = b;
ad[a] = b.eventTypes[c].dependencies;
}
function Ge(a, b, c) {
var d = a.type || "unknown-event";
a.currentTarget = He(c);
b = vh(d, b, void 0, a);
a.currentTarget = null;
return b;
}
function Pa(a, b) {
null == b ? n("30") : void 0;
if (null == a) return b;
if (Array.isArray(a)) {
if (Array.isArray(b)) return a.push.apply(a, b), a;
a.push(b);
return a;
}
return Array.isArray(b) ? [a].concat(b) : [a, b];
}
function bd(a, b, c) {
Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a);
}
function Ie(a, b) {
var c = a.stateNode;
if (!c) return null;
var d = cd(c);
if (!d) return null;
c = d[b];
a: switch (b) {
case "onClick":
case "onClickCapture":
case "onDoubleClick":
case "onDoubleClickCapture":
case "onMouseDown":
case "onMouseDownCapture":
case "onMouseMove":
case "onMouseMoveCapture":
case "onMouseUp":
case "onMouseUpCapture":
(d = !d.disabled) || (a = a.type, d = !("button" === a || "input" === a || "select" === a || "textarea" === a));
a = !d;
break a;
default:
a = !1;
}
if (a) return null;
c && "function" !== typeof c ? n("231", b, _typeof(c)) : void 0;
return c;
}
function dd(a) {
null !== a && (rb = Pa(rb, a));
a = rb;
rb = null;
var b = [];
a && (bd(a, function (a) {
b = b.concat(xh(a));
}), 0 < b.length && Je(b), rb ? n("95") : void 0, wh());
}
function dc(a) {
if (a[ea]) return a[ea];
for (; !a[ea];) {
if (a.parentNode) a = a.parentNode;else return null;
}
a = a[ea];
return 5 === a.tag || 6 === a.tag ? a : null;
}
function Ke(a) {
a = a[ea];
return !a || 5 !== a.tag && 6 !== a.tag ? null : a;
}
function Da(a) {
if (5 === a.tag || 6 === a.tag) return a.stateNode;
n("33");
}
function ed(a) {
return a[ec] || null;
}
function fa(a) {
do {
a = a.return;
} while (a && 5 !== a.tag);
return a ? a : null;
}
function Le(a, b, c) {
if (b = Ie(a, c.dispatchConfig.phasedRegistrationNames[b])) c._dispatchListeners = Pa(c._dispatchListeners, b), c._dispatchInstances = Pa(c._dispatchInstances, a);
}
function yh(a) {
if (a && a.dispatchConfig.phasedRegistrationNames) {
for (var b = a._targetInst, c = []; b;) {
c.push(b), b = fa(b);
}
for (b = c.length; 0 < b--;) {
Le(c[b], "captured", a);
}
for (b = 0; b < c.length; b++) {
Le(c[b], "bubbled", a);
}
}
}
function fd(a, b, c) {
a && c && c.dispatchConfig.registrationName && (b = Ie(a, c.dispatchConfig.registrationName)) && (c._dispatchListeners = Pa(c._dispatchListeners, b), c._dispatchInstances = Pa(c._dispatchInstances, a));
}
function zh(a) {
a && a.dispatchConfig.registrationName && fd(a._targetInst, null, a);
}
function Qa(a) {
bd(a, yh);
}
function fc(a, b) {
var c = {};
c[a.toLowerCase()] = b.toLowerCase();
c["Webkit" + a] = "webkit" + b;
c["Moz" + a] = "moz" + b;
return c;
}
function gc(a) {
if (gd[a]) return gd[a];
if (!Ra[a]) return a;
var b = Ra[a],
c;
for (c in b) {
if (b.hasOwnProperty(c) && c in Me) return gd[a] = b[c];
}
return a;
}
function Ne() {
if (hc) return hc;
var a,
b = hd,
c = b.length,
d,
e = "value" in qa ? qa.value : qa.textContent,
f = e.length;
for (a = 0; a < c && b[a] === e[a]; a++) {
;
}
var g = c - a;
for (d = 1; d <= g && b[c - d] === e[f - d]; d++) {
;
}
return hc = e.slice(a, 1 < d ? 1 - d : void 0);
}
function ic() {
return !0;
}
function jc() {
return !1;
}
function J(a, b, c, d) {
this.dispatchConfig = a;
this._targetInst = b;
this.nativeEvent = c;
a = this.constructor.Interface;
for (var e in a) {
a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : "target" === e ? this.target = d : this[e] = c[e]);
}
this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : !1 === c.returnValue) ? ic : jc;
this.isPropagationStopped = jc;
return this;
}
function Ah(a, b, c, d) {
if (this.eventPool.length) {
var e = this.eventPool.pop();
this.call(e, a, b, c, d);
return e;
}
return new this(a, b, c, d);
}
function Bh(a) {
a instanceof this ? void 0 : n("279");
a.destructor();
10 > this.eventPool.length && this.eventPool.push(a);
}
function Oe(a) {
a.eventPool = [];
a.getPooled = Ah;
a.release = Bh;
}
function Pe(a, b) {
switch (a) {
case "keyup":
return -1 !== Ch.indexOf(b.keyCode);
case "keydown":
return 229 !== b.keyCode;
case "keypress":
case "mousedown":
case "blur":
return !0;
default:
return !1;
}
}
function Qe(a) {
a = a.detail;
return "object" === _typeof(a) && "data" in a ? a.data : null;
}
function Dh(a, b) {
switch (a) {
case "compositionend":
return Qe(b);
case "keypress":
if (32 !== b.which) return null;
Re = !0;
return Se;
case "textInput":
return a = b.data, a === Se && Re ? null : a;
default:
return null;
}
}
function Eh(a, b) {
if (Sa) return "compositionend" === a || !id && Pe(a, b) ? (a = Ne(), hc = hd = qa = null, Sa = !1, a) : null;
switch (a) {
case "paste":
return null;
case "keypress":
if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) {
if (b.char && 1 < b.char.length) return b.char;
if (b.which) return String.fromCharCode(b.which);
}
return null;
case "compositionend":
return Te && "ko" !== b.locale ? null : b.data;
default:
return null;
}
}
function Ue(a) {
if (a = Ve(a)) {
"function" !== typeof jd ? n("280") : void 0;
var b = cd(a.stateNode);
jd(a.stateNode, a.type, b);
}
}
function We(a) {
Ta ? Ua ? Ua.push(a) : Ua = [a] : Ta = a;
}
function Xe() {
if (Ta) {
var a = Ta,
b = Ua;
Ua = Ta = null;
Ue(a);
if (b) for (a = 0; a < b.length; a++) {
Ue(b[a]);
}
}
}
function Ye(a, b) {
if (kd) return a(b);
kd = !0;
try {
return Ze(a, b);
} finally {
if (kd = !1, null !== Ta || null !== Ua) $e(), Xe();
}
}
function af(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase();
return "input" === b ? !!Fh[a.type] : "textarea" === b ? !0 : !1;
}
function ld(a) {
a = a.target || a.srcElement || window;
a.correspondingUseElement && (a = a.correspondingUseElement);
return 3 === a.nodeType ? a.parentNode : a;
}
function bf(a) {
if (!ra) return !1;
a = "on" + a;
var b = a in document;
b || (b = document.createElement("div"), b.setAttribute(a, "return;"), b = "function" === typeof b[a]);
return b;
}
function cf(a) {
var b = a.type;
return (a = a.nodeName) && "input" === a.toLowerCase() && ("checkbox" === b || "radio" === b);
}
function Gh(a) {
var b = cf(a) ? "checked" : "value",
c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b),
d = "" + a[b];
if (!a.hasOwnProperty(b) && "undefined" !== typeof c && "function" === typeof c.get && "function" === typeof c.set) {
var e = c.get,
f = c.set;
Object.defineProperty(a, b, {
configurable: !0,
get: function get() {
return e.call(this);
},
set: function set(a) {
d = "" + a;
f.call(this, a);
}
});
Object.defineProperty(a, b, {
enumerable: c.enumerable
});
return {
getValue: function getValue() {
return d;
},
setValue: function setValue(a) {
d = "" + a;
},
stopTracking: function stopTracking() {
a._valueTracker = null;
delete a[b];
}
};
}
}
function kc(a) {
a._valueTracker || (a._valueTracker = Gh(a));
}
function df(a) {
if (!a) return !1;
var b = a._valueTracker;
if (!b) return !0;
var c = b.getValue();
var d = "";
a && (d = cf(a) ? a.checked ? "true" : "false" : a.value);
a = d;
return a !== c ? (b.setValue(a), !0) : !1;
}
function sb(a) {
if (null === a || "object" !== _typeof(a)) return null;
a = ef && a[ef] || a["@@iterator"];
return "function" === typeof a ? a : null;
}
function sa(a) {
if (null == a) return null;
if ("function" === typeof a) return a.displayName || a.name || null;
if ("string" === typeof a) return a;
switch (a) {
case md:
return "ConcurrentMode";
case ta:
return "Fragment";
case Va:
return "Portal";
case lc:
return "Profiler";
case nd:
return "StrictMode";
case od:
return "Suspense";
}
if ("object" === _typeof(a)) switch (a.$$typeof) {
case ff:
return "Context.Consumer";
case gf:
return "Context.Provider";
case pd:
var b = a.render;
b = b.displayName || b.name || "";
return a.displayName || ("" !== b ? "ForwardRef(" + b + ")" : "ForwardRef");
case qd:
return sa(a.type);
case hf:
if (a = 1 === a._status ? a._result : null) return sa(a);
}
return null;
}
function rd(a) {
var b = "";
do {
a: switch (a.tag) {
case 3:
case 4:
case 6:
case 7:
case 10:
case 9:
var c = "";
break a;
default:
var d = a._debugOwner,
e = a._debugSource,
f = sa(a.type);
c = null;
d && (c = sa(d.type));
d = f;
f = "";
e ? f = " (at " + e.fileName.replace(Hh, "") + ":" + e.lineNumber + ")" : c && (f = " (created by " + c + ")");
c = "\n in " + (d || "Unknown") + f;
}
b += c;
a = a.return;
} while (a);
return b;
}
function Ih(a) {
if (jf.call(kf, a)) return !0;
if (jf.call(lf, a)) return !1;
if (Jh.test(a)) return kf[a] = !0;
lf[a] = !0;
return !1;
}
function Kh(a, b, c, d) {
if (null !== c && 0 === c.type) return !1;
switch (_typeof(b)) {
case "function":
case "symbol":
return !0;
case "boolean":
if (d) return !1;
if (null !== c) return !c.acceptsBooleans;
a = a.toLowerCase().slice(0, 5);
return "data-" !== a && "aria-" !== a;
default:
return !1;
}
}
function Lh(a, b, c, d) {
if (null === b || "undefined" === typeof b || Kh(a, b, c, d)) return !0;
if (d) return !1;
if (null !== c) switch (c.type) {
case 3:
return !b;
case 4:
return !1 === b;
case 5:
return isNaN(b);
case 6:
return isNaN(b) || 1 > b;
}
return !1;
}
function K(a, b, c, d, e) {
this.acceptsBooleans = 2 === b || 3 === b || 4 === b;
this.attributeName = d;
this.attributeNamespace = e;
this.mustUseProperty = c;
this.propertyName = a;
this.type = b;
}
function sd(a, b, c, d) {
var e = A.hasOwnProperty(b) ? A[b] : null;
var f = null !== e ? 0 === e.type : d ? !1 : !(2 < b.length) || "o" !== b[0] && "O" !== b[0] || "n" !== b[1] && "N" !== b[1] ? !1 : !0;
f || (Lh(b, c, e, d) && (c = null), d || null === e ? Ih(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 === e.type ? !1 : "" : c : (b = e.attributeName, d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (e = e.type, c = 3 === e || 4 === e && !0 === c ? "" : "" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c))));
}
function ua(a) {
switch (_typeof(a)) {
case "boolean":
case "number":
case "object":
case "string":
case "undefined":
return a;
default:
return "";
}
}
function td(a, b) {
var c = b.checked;
return B({}, b, {
defaultChecked: void 0,
defaultValue: void 0,
value: void 0,
checked: null != c ? c : a._wrapperState.initialChecked
});
}
function mf(a, b) {
var c = null == b.defaultValue ? "" : b.defaultValue,
d = null != b.checked ? b.checked : b.defaultChecked;
c = ua(null != b.value ? b.value : c);
a._wrapperState = {
initialChecked: d,
initialValue: c,
controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value
};
}
function nf(a, b) {
b = b.checked;
null != b && sd(a, "checked", b, !1);
}
function ud(a, b) {
nf(a, b);
var c = ua(b.value),
d = b.type;
if (null != c) {
if ("number" === d) {
if (0 === c && "" === a.value || a.value != c) a.value = "" + c;
} else a.value !== "" + c && (a.value = "" + c);
} else if ("submit" === d || "reset" === d) {
a.removeAttribute("value");
return;
}
b.hasOwnProperty("value") ? vd(a, b.type, c) : b.hasOwnProperty("defaultValue") && vd(a, b.type, ua(b.defaultValue));
null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);
}
function of(a, b, c) {
if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) {
var d = b.type;
if (!("submit" !== d && "reset" !== d || void 0 !== b.value && null !== b.value)) return;
b = "" + a._wrapperState.initialValue;
c || b === a.value || (a.value = b);
a.defaultValue = b;
}
c = a.name;
"" !== c && (a.name = "");
a.defaultChecked = !a.defaultChecked;
a.defaultChecked = !!a._wrapperState.initialChecked;
"" !== c && (a.name = c);
}
function vd(a, b, c) {
if ("number" !== b || a.ownerDocument.activeElement !== a) null == c ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c);
}
function pf(a, b, c) {
a = J.getPooled(qf.change, a, b, c);
a.type = "change";
We(c);
Qa(a);
return a;
}
function Mh(a) {
dd(a);
}
function mc(a) {
var b = Da(a);
if (df(b)) return a;
}
function Nh(a, b) {
if ("change" === a) return b;
}
function rf() {
tb && (tb.detachEvent("onpropertychange", sf), ub = tb = null);
}
function sf(a) {
"value" === a.propertyName && mc(ub) && (a = pf(ub, a, ld(a)), Ye(Mh, a));
}
function Oh(a, b, c) {
"focus" === a ? (rf(), tb = b, ub = c, tb.attachEvent("onpropertychange", sf)) : "blur" === a && rf();
}
function Ph(a, b) {
if ("selectionchange" === a || "keyup" === a || "keydown" === a) return mc(ub);
}
function Qh(a, b) {
if ("click" === a) return mc(b);
}
function Rh(a, b) {
if ("input" === a || "change" === a) return mc(b);
}
function Sh(a) {
var b = this.nativeEvent;
return b.getModifierState ? b.getModifierState(a) : (a = Th[a]) ? !!b[a] : !1;
}
function wd(a) {
return Sh;
}
function Ea(a, b) {
return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
}
function vb(a, b) {
if (Ea(a, b)) return !0;
if ("object" !== _typeof(a) || null === a || "object" !== _typeof(b) || null === b) return !1;
var c = Object.keys(a),
d = Object.keys(b);
if (c.length !== d.length) return !1;
for (d = 0; d < c.length; d++) {
if (!Uh.call(b, c[d]) || !Ea(a[c[d]], b[c[d]])) return !1;
}
return !0;
}
function wb(a) {
var b = a;
if (a.alternate) for (; b.return;) {
b = b.return;
} else {
if (0 !== (b.effectTag & 2)) return 1;
for (; b.return;) {
if (b = b.return, 0 !== (b.effectTag & 2)) return 1;
}
}
return 3 === b.tag ? 2 : 3;
}
function tf(a) {
2 !== wb(a) ? n("188") : void 0;
}
function Vh(a) {
var b = a.alternate;
if (!b) return b = wb(a), 3 === b ? n("188") : void 0, 1 === b ? null : a;
for (var c = a, d = b;;) {
var e = c.return,
f = e ? e.alternate : null;
if (!e || !f) break;
if (e.child === f.child) {
for (var g = e.child; g;) {
if (g === c) return tf(e), a;
if (g === d) return tf(e), b;
g = g.sibling;
}
n("188");
}
if (c.return !== d.return) c = e, d = f;else {
g = !1;
for (var h = e.child; h;) {
if (h === c) {
g = !0;
c = e;
d = f;
break;
}
if (h === d) {
g = !0;
d = e;
c = f;
break;
}
h = h.sibling;
}
if (!g) {
for (h = f.child; h;) {
if (h === c) {
g = !0;
c = f;
d = e;
break;
}
if (h === d) {
g = !0;
d = f;
c = e;
break;
}
h = h.sibling;
}
g ? void 0 : n("189");
}
}
c.alternate !== d ? n("190") : void 0;
}
3 !== c.tag ? n("188") : void 0;
return c.stateNode.current === c ? a : b;
}
function uf(a) {
a = Vh(a);
if (!a) return null;
for (var b = a;;) {
if (5 === b.tag || 6 === b.tag) return b;
if (b.child) b.child.return = b, b = b.child;else {
if (b === a) break;
for (; !b.sibling;) {
if (!b.return || b.return === a) return null;
b = b.return;
}
b.sibling.return = b.return;
b = b.sibling;
}
}
return null;
}
function nc(a) {
var b = a.keyCode;
"charCode" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;
10 === a && (a = 13);
return 32 <= a || 13 === a ? a : 0;
}
function vf(a, b) {
var c = a[0];
a = a[1];
var d = "on" + (a[0].toUpperCase() + a.slice(1));
b = {
phasedRegistrationNames: {
bubbled: d,
captured: d + "Capture"
},
dependencies: [c],
isInteractive: b
};
wf[a] = b;
xd[c] = b;
}
function Wh(a) {
var b = a.targetInst,
c = b;
do {
if (!c) {
a.ancestors.push(c);
break;
}
var d;
for (d = c; d.return;) {
d = d.return;
}
d = 3 !== d.tag ? null : d.stateNode.containerInfo;
if (!d) break;
a.ancestors.push(c);
c = dc(d);
} while (c);
for (c = 0; c < a.ancestors.length; c++) {
b = a.ancestors[c];
var e = ld(a.nativeEvent);
d = a.topLevelType;
for (var f = a.nativeEvent, g = null, h = 0; h < cc.length; h++) {
var l = cc[h];
l && (l = l.extractEvents(d, b, f, e)) && (g = Pa(g, l));
}
dd(g);
}
}
function r(a, b) {
if (!b) return null;
var c = (xf(a) ? yf : oc).bind(null, a);
b.addEventListener(a, c, !1);
}
function pc(a, b) {
if (!b) return null;
var c = (xf(a) ? yf : oc).bind(null, a);
b.addEventListener(a, c, !0);
}
function yf(a, b) {
zf(oc, a, b);
}
function oc(a, b) {
if (qc) {
var c = ld(b);
c = dc(c);
null === c || "number" !== typeof c.tag || 2 === wb(c) || (c = null);
if (rc.length) {
var d = rc.pop();
d.topLevelType = a;
d.nativeEvent = b;
d.targetInst = c;
a = d;
} else a = {
topLevelType: a,
nativeEvent: b,
targetInst: c,
ancestors: []
};
try {
Ye(Wh, a);
} finally {
a.topLevelType = null, a.nativeEvent = null, a.targetInst = null, a.ancestors.length = 0, 10 > rc.length && rc.push(a);
}
}
}
function Af(a) {
Object.prototype.hasOwnProperty.call(a, sc) || (a[sc] = Xh++, Bf[a[sc]] = {});
return Bf[a[sc]];
}
function yd(a) {
a = a || ("undefined" !== typeof document ? document : void 0);
if ("undefined" === typeof a) return null;
try {
return a.activeElement || a.body;
} catch (b) {
return a.body;
}
}
function Cf(a) {
for (; a && a.firstChild;) {
a = a.firstChild;
}
return a;
}
function Df(a, b) {
var c = Cf(a);
a = 0;
for (var d; c;) {
if (3 === c.nodeType) {
d = a + c.textContent.length;
if (a <= b && d >= b) return {
node: c,
offset: b - a
};
a = d;
}
a: {
for (; c;) {
if (c.nextSibling) {
c = c.nextSibling;
break a;
}
c = c.parentNode;
}
c = void 0;
}
c = Cf(c);
}
}
function Ef(a, b) {
return a && b ? a === b ? !0 : a && 3 === a.nodeType ? !1 : b && 3 === b.nodeType ? Ef(a, b.parentNode) : "contains" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : !1 : !1;
}
function Ff() {
for (var a = window, b = yd(); b instanceof a.HTMLIFrameElement;) {
try {
a = b.contentDocument.defaultView;
} catch (c) {
break;
}
b = yd(a.document);
}
return b;
}
function zd(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase();
return b && ("input" === b && ("text" === a.type || "search" === a.type || "tel" === a.type || "url" === a.type || "password" === a.type) || "textarea" === b || "true" === a.contentEditable);
}
function Yh() {
var a = Ff();
if (zd(a)) {
if ("selectionStart" in a) var b = {
start: a.selectionStart,
end: a.selectionEnd
};else a: {
b = (b = a.ownerDocument) && b.defaultView || window;
var c = b.getSelection && b.getSelection();
if (c && 0 !== c.rangeCount) {
b = c.anchorNode;
var d = c.anchorOffset,
e = c.focusNode;
c = c.focusOffset;
try {
b.nodeType, e.nodeType;
} catch (ej) {
b = null;
break a;
}
var f = 0,
g = -1,
h = -1,
l = 0,
k = 0,
m = a,
n = null;
b: for (;;) {
for (var p;;) {
m !== b || 0 !== d && 3 !== m.nodeType || (g = f + d);
m !== e || 0 !== c && 3 !== m.nodeType || (h = f + c);
3 === m.nodeType && (f += m.nodeValue.length);
if (null === (p = m.firstChild)) break;
n = m;
m = p;
}
for (;;) {
if (m === a) break b;
n === b && ++l === d && (g = f);
n === e && ++k === c && (h = f);
if (null !== (p = m.nextSibling)) break;
m = n;
n = m.parentNode;
}
m = p;
}
b = -1 === g || -1 === h ? null : {
start: g,
end: h
};
} else b = null;
}
b = b || {
start: 0,
end: 0
};
} else b = null;
return {
focusedElem: a,
selectionRange: b
};
}
function Zh(a) {
var b = Ff(),
c = a.focusedElem,
d = a.selectionRange;
if (b !== c && c && c.ownerDocument && Ef(c.ownerDocument.documentElement, c)) {
if (null !== d && zd(c)) if (b = d.start, a = d.end, void 0 === a && (a = b), "selectionStart" in c) c.selectionStart = b, c.selectionEnd = Math.min(a, c.value.length);else if (a = (b = c.ownerDocument || document) && b.defaultView || window, a.getSelection) {
a = a.getSelection();
var e = c.textContent.length,
f = Math.min(d.start, e);
d = void 0 === d.end ? f : Math.min(d.end, e);
!a.extend && f > d && (e = d, d = f, f = e);
e = Df(c, f);
var g = Df(c, d);
e && g && (1 !== a.rangeCount || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && (b = b.createRange(), b.setStart(e.node, e.offset), a.removeAllRanges(), f > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset), a.addRange(b)));
}
b = [];
for (a = c; a = a.parentNode;) {
1 === a.nodeType && b.push({
element: a,
left: a.scrollLeft,
top: a.scrollTop
});
}
"function" === typeof c.focus && c.focus();
for (c = 0; c < b.length; c++) {
a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top;
}
}
}
function Hf(a, b) {
var c = b.window === b ? b.document : 9 === b.nodeType ? b : b.ownerDocument;
if (Ad || null == Wa || Wa !== yd(c)) return null;
c = Wa;
"selectionStart" in c && zd(c) ? c = {
start: c.selectionStart,
end: c.selectionEnd
} : (c = (c.ownerDocument && c.ownerDocument.defaultView || window).getSelection(), c = {
anchorNode: c.anchorNode,
anchorOffset: c.anchorOffset,
focusNode: c.focusNode,
focusOffset: c.focusOffset
});
return xb && vb(xb, c) ? null : (xb = c, a = J.getPooled(If.select, Bd, a, b), a.type = "select", a.target = Wa, Qa(a), a);
}
function $h(a) {
var b = "";
da.Children.forEach(a, function (a) {
null != a && (b += a);
});
return b;
}
function Cd(a, b) {
a = B({
children: void 0
}, b);
if (b = $h(b.children)) a.children = b;
return a;
}
function Xa(a, b, c, d) {
a = a.options;
if (b) {
b = {};
for (var e = 0; e < c.length; e++) {
b["$" + c[e]] = !0;
}
for (c = 0; c < a.length; c++) {
e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = !0);
}
} else {
c = "" + ua(c);
b = null;
for (e = 0; e < a.length; e++) {
if (a[e].value === c) {
a[e].selected = !0;
d && (a[e].defaultSelected = !0);
return;
}
null !== b || a[e].disabled || (b = a[e]);
}
null !== b && (b.selected = !0);
}
}
function Dd(a, b) {
null != b.dangerouslySetInnerHTML ? n("91") : void 0;
return B({}, b, {
value: void 0,
defaultValue: void 0,
children: "" + a._wrapperState.initialValue
});
}
function Jf(a, b) {
var c = b.value;
null == c && (c = b.defaultValue, b = b.children, null != b && (null != c ? n("92") : void 0, Array.isArray(b) && (1 >= b.length ? void 0 : n("93"), b = b[0]), c = b), null == c && (c = ""));
a._wrapperState = {
initialValue: ua(c)
};
}
function Kf(a, b) {
var c = ua(b.value),
d = ua(b.defaultValue);
null != c && (c = "" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c));
null != d && (a.defaultValue = "" + d);
}
function Lf(a) {
switch (a) {
case "svg":
return "http://www.w3.org/2000/svg";
case "math":
return "http://www.w3.org/1998/Math/MathML";
default:
return "http://www.w3.org/1999/xhtml";
}
}
function Ed(a, b) {
return null == a || "http://www.w3.org/1999/xhtml" === a ? Lf(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a;
}
function Mf(a, b, c) {
return null == b || "boolean" === typeof b || "" === b ? "" : c || "number" !== typeof b || 0 === b || yb.hasOwnProperty(a) && yb[a] ? ("" + b).trim() : b + "px";
}
function Nf(a, b) {
a = a.style;
for (var c in b) {
if (b.hasOwnProperty(c)) {
var d = 0 === c.indexOf("--"),
e = Mf(c, b[c], d);
"float" === c && (c = "cssFloat");
d ? a.setProperty(c, e) : a[c] = e;
}
}
}
function Fd(a, b) {
b && (ai[a] && (null != b.children || null != b.dangerouslySetInnerHTML ? n("137", a, "") : void 0), null != b.dangerouslySetInnerHTML && (null != b.children ? n("60") : void 0, "object" === _typeof(b.dangerouslySetInnerHTML) && "__html" in b.dangerouslySetInnerHTML ? void 0 : n("61")), null != b.style && "object" !== _typeof(b.style) ? n("62", "") : void 0);
}
function Gd(a, b) {
if (-1 === a.indexOf("-")) return "string" === typeof b.is;
switch (a) {
case "annotation-xml":
case "color-profile":
case "font-face":
case "font-face-src":
case "font-face-uri":
case "font-face-format":
case "font-face-name":
case "missing-glyph":
return !1;
default:
return !0;
}
}
function ha(a, b) {
a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument;
var c = Af(a);
b = ad[b];
for (var d = 0; d < b.length; d++) {
var e = b[d];
if (!c.hasOwnProperty(e) || !c[e]) {
switch (e) {
case "scroll":
pc("scroll", a);
break;
case "focus":
case "blur":
pc("focus", a);
pc("blur", a);
c.blur = !0;
c.focus = !0;
break;
case "cancel":
case "close":
bf(e) && pc(e, a);
break;
case "invalid":
case "submit":
case "reset":
break;
default:
-1 === zb.indexOf(e) && r(e, a);
}
c[e] = !0;
}
}
}
function tc() {}
function Of(a, b) {
switch (a) {
case "button":
case "input":
case "select":
case "textarea":
return !!b.autoFocus;
}
return !1;
}
function Hd(a, b) {
return "textarea" === a || "option" === a || "noscript" === a || "string" === typeof b.children || "number" === typeof b.children || "object" === _typeof(b.dangerouslySetInnerHTML) && null !== b.dangerouslySetInnerHTML && null != b.dangerouslySetInnerHTML.__html;
}
function bi(a, b, c, d, e, f) {
a[ec] = e;
"input" === c && "radio" === e.type && null != e.name && nf(a, e);
Gd(c, d);
d = Gd(c, e);
for (f = 0; f < b.length; f += 2) {
var g = b[f],
h = b[f + 1];
"style" === g ? Nf(a, h) : "dangerouslySetInnerHTML" === g ? Pf(a, h) : "children" === g ? Ab(a, h) : sd(a, g, h, d);
}
switch (c) {
case "input":
ud(a, e);
break;
case "textarea":
Kf(a, e);
break;
case "select":
b = a._wrapperState.wasMultiple, a._wrapperState.wasMultiple = !!e.multiple, c = e.value, null != c ? Xa(a, !!e.multiple, c, !1) : b !== !!e.multiple && (null != e.defaultValue ? Xa(a, !!e.multiple, e.defaultValue, !0) : Xa(a, !!e.multiple, e.multiple ? [] : "", !1));
}
}
function Id(a) {
for (a = a.nextSibling; a && 1 !== a.nodeType && 3 !== a.nodeType;) {
a = a.nextSibling;
}
return a;
}
function Qf(a) {
for (a = a.firstChild; a && 1 !== a.nodeType && 3 !== a.nodeType;) {
a = a.nextSibling;
}
return a;
}
function D(a, b) {
0 > Ya || (a.current = Jd[Ya], Jd[Ya] = null, Ya--);
}
function L(a, b, c) {
Ya++;
Jd[Ya] = a.current;
a.current = b;
}
function Za(a, b) {
var c = a.type.contextTypes;
if (!c) return va;
var d = a.stateNode;
if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;
var e = {},
f;
for (f in c) {
e[f] = b[f];
}
d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
return e;
}
function E(a) {
a = a.childContextTypes;
return null !== a && void 0 !== a;
}
function uc(a) {
D(M, a);
D(F, a);
}
function Kd(a) {
D(M, a);
D(F, a);
}
function Rf(a, b, c) {
F.current !== va ? n("168") : void 0;
L(F, b, a);
L(M, c, a);
}
function Sf(a, b, c) {
var d = a.stateNode;
a = b.childContextTypes;
if ("function" !== typeof d.getChildContext) return c;
d = d.getChildContext();
for (var e in d) {
e in a ? void 0 : n("108", sa(b) || "Unknown", e);
}
return B({}, c, d);
}
function vc(a) {
var b = a.stateNode;
b = b && b.__reactInternalMemoizedMergedChildContext || va;
Fa = F.current;
L(F, b, a);
L(M, M.current, a);
return !0;
}
function Tf(a, b, c) {
var d = a.stateNode;
d ? void 0 : n("169");
c ? (b = Sf(a, b, Fa), d.__reactInternalMemoizedMergedChildContext = b, D(M, a), D(F, a), L(F, b, a)) : D(M, a);
L(M, c, a);
}
function Uf(a) {
return function (b) {
try {
return a(b);
} catch (c) {}
};
}
function ci(a) {
if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;
var b = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (b.isDisabled || !b.supportsFiber) return !0;
try {
var c = b.inject(a);
Ld = Uf(function (a) {
return b.onCommitFiberRoot(c, a);
});
Md = Uf(function (a) {
return b.onCommitFiberUnmount(c, a);
});
} catch (d) {}
return !0;
}
function di(a, b, c, d) {
this.tag = a;
this.key = c;
this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;
this.index = 0;
this.ref = null;
this.pendingProps = b;
this.contextDependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
this.mode = d;
this.effectTag = 0;
this.lastEffect = this.firstEffect = this.nextEffect = null;
this.childExpirationTime = this.expirationTime = 0;
this.alternate = null;
}
function Nd(a) {
a = a.prototype;
return !(!a || !a.isReactComponent);
}
function ei(a) {
if ("function" === typeof a) return Nd(a) ? 1 : 0;
if (void 0 !== a && null !== a) {
a = a.$$typeof;
if (a === pd) return 11;
if (a === qd) return 14;
}
return 2;
}
function Ga(a, b, c) {
c = a.alternate;
null === c ? (c = S(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.effectTag = 0, c.nextEffect = null, c.firstEffect = null, c.lastEffect = null);
c.childExpirationTime = a.childExpirationTime;
c.expirationTime = a.expirationTime;
c.child = a.child;
c.memoizedProps = a.memoizedProps;
c.memoizedState = a.memoizedState;
c.updateQueue = a.updateQueue;
c.contextDependencies = a.contextDependencies;
c.sibling = a.sibling;
c.index = a.index;
c.ref = a.ref;
return c;
}
function wc(a, b, c, d, e, f) {
var g = 2;
d = a;
if ("function" === typeof a) Nd(a) && (g = 1);else if ("string" === typeof a) g = 5;else a: switch (a) {
case ta:
return wa(c.children, e, f, b);
case md:
return Vf(c, e | 3, f, b);
case nd:
return Vf(c, e | 2, f, b);
case lc:
return a = S(12, c, b, e | 4), a.elementType = lc, a.type = lc, a.expirationTime = f, a;
case od:
return a = S(13, c, b, e), b = od, a.elementType = b, a.type = b, a.expirationTime = f, a;
default:
if ("object" === _typeof(a) && null !== a) switch (a.$$typeof) {
case gf:
g = 10;
break a;
case ff:
g = 9;
break a;
case pd:
g = 11;
break a;
case qd:
g = 14;
break a;
case hf:
g = 16;
d = null;
break a;
}
n("130", null == a ? a : _typeof(a), "");
}
b = S(g, c, b, e);
b.elementType = a;
b.type = d;
b.expirationTime = f;
return b;
}
function wa(a, b, c, d) {
a = S(7, a, d, b);
a.expirationTime = c;
return a;
}
function Vf(a, b, c, d) {
a = S(8, a, d, b);
b = 0 === (b & 1) ? nd : md;
a.elementType = b;
a.type = b;
a.expirationTime = c;
return a;
}
function Od(a, b, c) {
a = S(6, a, null, b);
a.expirationTime = c;
return a;
}
function Pd(a, b, c) {
b = S(4, null !== a.children ? a.children : [], a.key, b);
b.expirationTime = c;
b.stateNode = {
containerInfo: a.containerInfo,
pendingChildren: null,
implementation: a.implementation
};
return b;
}
function Bb(a, b) {
a.didError = !1;
var c = a.earliestPendingTime;
0 === c ? a.earliestPendingTime = a.latestPendingTime = b : c < b ? a.earliestPendingTime = b : a.latestPendingTime > b && (a.latestPendingTime = b);
xc(b, a);
}
function fi(a, b) {
a.didError = !1;
if (0 === b) a.earliestPendingTime = 0, a.latestPendingTime = 0, a.earliestSuspendedTime = 0, a.latestSuspendedTime = 0, a.latestPingedTime = 0;else {
b < a.latestPingedTime && (a.latestPingedTime = 0);
var c = a.latestPendingTime;
0 !== c && (c > b ? a.earliestPendingTime = a.latestPendingTime = 0 : a.earliestPendingTime > b && (a.earliestPendingTime = a.latestPendingTime));
c = a.earliestSuspendedTime;
0 === c ? Bb(a, b) : b < a.latestSuspendedTime ? (a.earliestSuspendedTime = 0, a.latestSuspendedTime = 0, a.latestPingedTime = 0, Bb(a, b)) : b > c && Bb(a, b);
}
xc(0, a);
}
function Wf(a, b) {
a.didError = !1;
a.latestPingedTime >= b && (a.latestPingedTime = 0);
var c = a.earliestPendingTime,
d = a.latestPendingTime;
c === b ? a.earliestPendingTime = d === b ? a.latestPendingTime = 0 : d : d === b && (a.latestPendingTime = c);
c = a.earliestSuspendedTime;
d = a.latestSuspendedTime;
0 === c ? a.earliestSuspendedTime = a.latestSuspendedTime = b : c < b ? a.earliestSuspendedTime = b : d > b && (a.latestSuspendedTime = b);
xc(b, a);
}
function Xf(a, b) {
var c = a.earliestPendingTime;
a = a.earliestSuspendedTime;
c > b && (b = c);
a > b && (b = a);
return b;
}
function xc(a, b) {
var c = b.earliestSuspendedTime,
d = b.latestSuspendedTime,
e = b.earliestPendingTime,
f = b.latestPingedTime;
e = 0 !== e ? e : f;
0 === e && (0 === a || d < a) && (e = d);
a = e;
0 !== a && c > a && (a = c);
b.nextExpirationTimeToWorkOn = e;
b.expirationTime = a;
}
function P(a, b) {
if (a && a.defaultProps) {
b = B({}, b);
a = a.defaultProps;
for (var c in a) {
void 0 === b[c] && (b[c] = a[c]);
}
}
return b;
}
function gi(a) {
var b = a._result;
switch (a._status) {
case 1:
return b;
case 2:
throw b;
case 0:
throw b;
default:
a._status = 0;
b = a._ctor;
b = b();
b.then(function (b) {
0 === a._status && (b = b.default, a._status = 1, a._result = b);
}, function (b) {
0 === a._status && (a._status = 2, a._result = b);
});
switch (a._status) {
case 1:
return a._result;
case 2:
throw a._result;
}
a._result = b;
throw b;
}
}
function yc(a, b, c, d) {
b = a.memoizedState;
c = c(d, b);
c = null === c || void 0 === c ? b : B({}, b, c);
a.memoizedState = c;
d = a.updateQueue;
null !== d && 0 === a.expirationTime && (d.baseState = c);
}
function Yf(a, b, c, d, e, f, g) {
a = a.stateNode;
return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !vb(c, d) || !vb(e, f) : !0;
}
function Zf(a, b, c, d) {
var e = !1;
d = va;
var f = b.contextType;
"object" === _typeof(f) && null !== f ? f = T(f) : (d = E(b) ? Fa : F.current, e = b.contextTypes, f = (e = null !== e && void 0 !== e) ? Za(a, d) : va);
b = new b(c, f);
a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;
b.updater = zc;
a.stateNode = b;
b._reactInternalFiber = a;
e && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = d, a.__reactInternalMemoizedMaskedChildContext = f);
return b;
}
function $f(a, b, c, d) {
a = b.state;
"function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);
"function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);
b.state !== a && zc.enqueueReplaceState(b, b.state, null);
}
function Qd(a, b, c, d) {
var e = a.stateNode;
e.props = c;
e.state = a.memoizedState;
e.refs = ag;
var f = b.contextType;
"object" === _typeof(f) && null !== f ? e.context = T(f) : (f = E(b) ? Fa : F.current, e.context = Za(a, f));
f = a.updateQueue;
null !== f && (Cb(a, f, c, e, d), e.state = a.memoizedState);
f = b.getDerivedStateFromProps;
"function" === typeof f && (yc(a, b, f, c), e.state = a.memoizedState);
"function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && zc.enqueueReplaceState(e, e.state, null), f = a.updateQueue, null !== f && (Cb(a, f, c, e, d), e.state = a.memoizedState));
"function" === typeof e.componentDidMount && (a.effectTag |= 4);
}
function Db(a, b, c) {
a = c.ref;
if (null !== a && "function" !== typeof a && "object" !== _typeof(a)) {
if (c._owner) {
c = c._owner;
var d = void 0;
c && (1 !== c.tag ? n("309") : void 0, d = c.stateNode);
d ? void 0 : n("147", a);
var e = "" + a;
if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === e) return b.ref;
b = function b(a) {
var b = d.refs;
b === ag && (b = d.refs = {});
null === a ? delete b[e] : b[e] = a;
};
b._stringRef = e;
return b;
}
"string" !== typeof a ? n("284") : void 0;
c._owner ? void 0 : n("290", a);
}
return a;
}
function Ac(a, b) {
"textarea" !== a.type && n("31", "[object Object]" === Object.prototype.toString.call(b) ? "object with keys {" + Object.keys(b).join(", ") + "}" : b, "");
}
function bg(a) {
function b(b, c) {
if (a) {
var d = b.lastEffect;
null !== d ? (d.nextEffect = c, b.lastEffect = c) : b.firstEffect = b.lastEffect = c;
c.nextEffect = null;
c.effectTag = 8;
}
}
function c(c, d) {
if (!a) return null;
for (; null !== d;) {
b(c, d), d = d.sibling;
}
return null;
}
function d(a, b) {
for (a = new Map(); null !== b;) {
null !== b.key ? a.set(b.key, b) : a.set(b.index, b), b = b.sibling;
}
return a;
}
function e(a, b, c) {
a = Ga(a, b, c);
a.index = 0;
a.sibling = null;
return a;
}
function f(b, c, d) {
b.index = d;
if (!a) return c;
d = b.alternate;
if (null !== d) return d = d.index, d < c ? (b.effectTag = 2, c) : d;
b.effectTag = 2;
return c;
}
function g(b) {
a && null === b.alternate && (b.effectTag = 2);
return b;
}
function h(a, b, c, d) {
if (null === b || 6 !== b.tag) return b = Od(c, a.mode, d), b.return = a, b;
b = e(b, c, d);
b.return = a;
return b;
}
function l(a, b, c, d) {
if (null !== b && b.elementType === c.type) return d = e(b, c.props, d), d.ref = Db(a, b, c), d.return = a, d;
d = wc(c.type, c.key, c.props, null, a.mode, d);
d.ref = Db(a, b, c);
d.return = a;
return d;
}
function k(a, b, c, d) {
if (null === b || 4 !== b.tag || b.stateNode.containerInfo !== c.containerInfo || b.stateNode.implementation !== c.implementation) return b = Pd(c, a.mode, d), b.return = a, b;
b = e(b, c.children || [], d);
b.return = a;
return b;
}
function m(a, b, c, d, f) {
if (null === b || 7 !== b.tag) return b = wa(c, a.mode, d, f), b.return = a, b;
b = e(b, c, d);
b.return = a;
return b;
}
function Gf(a, b, c) {
if ("string" === typeof b || "number" === typeof b) return b = Od("" + b, a.mode, c), b.return = a, b;
if ("object" === _typeof(b) && null !== b) {
switch (b.$$typeof) {
case Bc:
return c = wc(b.type, b.key, b.props, null, a.mode, c), c.ref = Db(a, null, b), c.return = a, c;
case Va:
return b = Pd(b, a.mode, c), b.return = a, b;
}
if (Cc(b) || sb(b)) return b = wa(b, a.mode, c, null), b.return = a, b;
Ac(a, b);
}
return null;
}
function p(a, b, c, d) {
var e = null !== b ? b.key : null;
if ("string" === typeof c || "number" === typeof c) return null !== e ? null : h(a, b, "" + c, d);
if ("object" === _typeof(c) && null !== c) {
switch (c.$$typeof) {
case Bc:
return c.key === e ? c.type === ta ? m(a, b, c.props.children, d, e) : l(a, b, c, d) : null;
case Va:
return c.key === e ? k(a, b, c, d) : null;
}
if (Cc(c) || sb(c)) return null !== e ? null : m(a, b, c, d, null);
Ac(a, c);
}
return null;
}
function r(a, b, c, d, e) {
if ("string" === typeof d || "number" === typeof d) return a = a.get(c) || null, h(b, a, "" + d, e);
if ("object" === _typeof(d) && null !== d) {
switch (d.$$typeof) {
case Bc:
return a = a.get(null === d.key ? c : d.key) || null, d.type === ta ? m(b, a, d.props.children, e, d.key) : l(b, a, d, e);
case Va:
return a = a.get(null === d.key ? c : d.key) || null, k(b, a, d, e);
}
if (Cc(d) || sb(d)) return a = a.get(c) || null, m(b, a, d, e, null);
Ac(b, d);
}
return null;
}
function u(e, g, h, k) {
for (var l = null, m = null, n = g, q = g = 0, v = null; null !== n && q < h.length; q++) {
n.index > q ? (v = n, n = null) : v = n.sibling;
var Q =