Skip to content

Instantly share code, notes, and snippets.

@nhunzaker
Last active August 16, 2017 12:30
Show Gist options
  • Save nhunzaker/69ede0d4014d9c590908398ac6bc6c13 to your computer and use it in GitHub Desktop.
Save nhunzaker/69ede0d4014d9c590908398ac6bc6c13 to your computer and use it in GitHub Desktop.
Current as of 7e297e9b20d75ee9cc39aadf7e83133af1869881
/*
Modernizr 3.0.0pre (Custom Build) | MIT
*/
var aa = require("react"),
ba = require("fbjs/lib/invariant"),
l = require("fbjs/lib/ExecutionEnvironment"),
n = require("object-assign"),
ca = require("fbjs/lib/EventListener"),
w = require("fbjs/lib/emptyFunction"),
da = require("fbjs/lib/emptyObject"),
ea = require("fbjs/lib/shallowEqual"),
fa = require("fbjs/lib/containsNode"),
ha = require("fbjs/lib/focusNode"),
ia = require("fbjs/lib/getActiveElement");
function z(a) {
for (var b = arguments.length - 1, c = "Minified React error #" + a + "; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d" + a, d = 0; d < b; d++) c += "\x26args[]\x3d" + encodeURIComponent(arguments[d + 1]);
b = Error(c + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");
b.name = "Invariant Violation";
b.framesToPop = 1;
throw b;
}
ba(aa, "ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");
function ka(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"
}
}
var na = {
Namespaces: {
html: "http://www.w3.org/1999/xhtml",
mathml: "http://www.w3.org/1998/Math/MathML",
svg: "http://www.w3.org/2000/svg"
},
getIntrinsicNamespace: ka,
getChildNamespace: function(a, b) {
return null == a || "http://www.w3.org/1999/xhtml" === a ? ka(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a
}
},
oa = null,
pa = {};
function qa() {
if (oa)
for (var a in pa) {
var b = pa[a],
c = oa.indexOf(a); - 1 < c ? void 0 : z("96", a);
if (!ra.plugins[c]) {
b.extractEvents ? void 0 : z("97", a);
ra.plugins[c] = b;
c = b.eventTypes;
for (var d in c) {
var e = void 0;
var f = c[d],
g = b,
h = d;
ra.eventNameDispatchConfigs.hasOwnProperty(h) ? z("99", h) : void 0;
ra.eventNameDispatchConfigs[h] = f;
var k = f.phasedRegistrationNames;
if (k) {
for (e in k) k.hasOwnProperty(e) && sa(k[e], g, h);
e = !0
} else f.registrationName ? (sa(f.registrationName, g, h), e = !0) : e = !1;
e ? void 0 : z("98", d, a)
}
}
}
}
function sa(a, b, c) {
ra.registrationNameModules[a] ? z("100", a) : void 0;
ra.registrationNameModules[a] = b;
ra.registrationNameDependencies[a] = b.eventTypes[c].dependencies
}
var ra = {
plugins: [],
eventNameDispatchConfigs: {},
registrationNameModules: {},
registrationNameDependencies: {},
possibleRegistrationNames: null,
injectEventPluginOrder: function(a) {
oa ? z("101") : void 0;
oa = Array.prototype.slice.call(a);
qa()
},
injectEventPluginsByName: function(a) {
var b = !1,
c;
for (c in a)
if (a.hasOwnProperty(c)) {
var d = a[c];
pa.hasOwnProperty(c) && pa[c] === d || (pa[c] ? z("102", c) : void 0, pa[c] = d, b = !0)
}
b && qa()
}
},
ta = ra,
va = {
children: !0,
dangerouslysetinnerhtml: !0,
autofocus: !0,
defaultvalue: !0,
defaultchecked: !0,
innerhtml: !0,
suppresscontenteditablewarning: !0,
onfocusin: !0,
onfocusout: !0,
style: !0
};
function wa(a, b) {
return (a & b) === b
}
var xa = {
MUST_USE_PROPERTY: 1,
HAS_BOOLEAN_VALUE: 4,
HAS_NUMERIC_VALUE: 8,
HAS_POSITIVE_NUMERIC_VALUE: 24,
HAS_OVERLOADED_BOOLEAN_VALUE: 32,
injectDOMPropertyConfig: function(a) {
var b = xa,
c = a.Properties || {},
d = a.DOMAttributeNamespaces || {},
e = a.DOMAttributeNames || {};
a = a.DOMMutationMethods || {};
for (var f in c) {
ya.properties.hasOwnProperty(f) ? z("48", f) : void 0;
var g = f.toLowerCase(),
h = c[f];
g = {
attributeName: g,
attributeNamespace: null,
propertyName: f,
mutationMethod: null,
mustUseProperty: wa(h, b.MUST_USE_PROPERTY),
hasBooleanValue: wa(h,
b.HAS_BOOLEAN_VALUE),
hasNumericValue: wa(h, b.HAS_NUMERIC_VALUE),
hasPositiveNumericValue: wa(h, b.HAS_POSITIVE_NUMERIC_VALUE),
hasOverloadedBooleanValue: wa(h, b.HAS_OVERLOADED_BOOLEAN_VALUE)
};
1 >= g.hasBooleanValue + g.hasNumericValue + g.hasOverloadedBooleanValue ? void 0 : z("50", f);
e.hasOwnProperty(f) && (g.attributeName = e[f]);
d.hasOwnProperty(f) && (g.attributeNamespace = d[f]);
a.hasOwnProperty(f) && (g.mutationMethod = a[f]);
ya.properties[f] = g
}
}
},
ya = {
ID_ATTRIBUTE_NAME: "data-reactid",
ROOT_ATTRIBUTE_NAME: "data-reactroot",
ATTRIBUTE_NAME_START_CHAR: ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",
ATTRIBUTE_NAME_CHAR: ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",
properties: {},
shouldSetAttribute: function(a, b) {
if (ya.isReservedProp(a)) return !1;
if (null === b) return !0;
var c = a.toLowerCase();
a = ya.properties[a];
switch (typeof b) {
case "boolean":
if (a) return !0;
b = c.slice(0, 5);
return "data-" === b || "aria-" === b;
case "undefined":
case "number":
case "string":
return !0;
case "object":
return !0;
default:
return !1
}
},
getPropertyInfo: function(a) {
return ya.properties.hasOwnProperty(a) ? ya.properties[a] : null
},
isReservedProp: function(a) {
return va.hasOwnProperty(a.toLowerCase())
},
injection: xa
},
D = ya,
F = {
IndeterminateComponent: 0,
FunctionalComponent: 1,
ClassComponent: 2,
HostRoot: 3,
HostPortal: 4,
HostComponent: 5,
HostText: 6,
CoroutineComponent: 7,
CoroutineHandlerPhase: 8,
YieldComponent: 9,
Fragment: 10
},
H = {
ELEMENT_NODE: 1,
TEXT_NODE: 3,
COMMENT_NODE: 8,
DOCUMENT_NODE: 9,
DOCUMENT_FRAGMENT_NODE: 11
},
za = F.HostComponent,
Aa = F.HostText,
Ca = H.ELEMENT_NODE,
Da = H.COMMENT_NODE,
Ea = D.ID_ATTRIBUTE_NAME,
Fa = {
hasCachedChildNodes: 1
},
Ga = Math.random().toString(36).slice(2),
Ha = "__reactInternalInstance$" + Ga,
Ka = "__reactEventHandlers$" + Ga;
function La(a) {
for (var b; b = a._renderedComponent;) a = b;
return a
}
function Ma(a, b) {
a = La(a);
a._hostNode = b;
b[Ha] = a
}
function Na(a, b) {
if (!(a._flags & Fa.hasCachedChildNodes)) {
var c = a._renderedChildren;
b = b.firstChild;
var d;
a: for (d in c)
if (c.hasOwnProperty(d)) {
var e = c[d],
f = La(e)._domID;
if (0 !== f) {
for (; null !== b; b = b.nextSibling) {
var g = b,
h = f;
if (g.nodeType === Ca && g.getAttribute(Ea) === "" + h || g.nodeType === Da && g.nodeValue === " react-text: " + h + " " || g.nodeType === Da && g.nodeValue === " react-empty: " + h + " ") {
Ma(e, b);
continue a
}
}
z("32", f)
}
}
a._flags |= Fa.hasCachedChildNodes
}
}
function Oa(a) {
if (a[Ha]) return a[Ha];
for (var b = []; !a[Ha];)
if (b.push(a), a.parentNode) a = a.parentNode;
else return null;
var c = a[Ha];
if (c.tag === za || c.tag === Aa) return c;
for (; a && (c = a[Ha]); a = b.pop()) {
var d = c;
b.length && Na(c, a)
}
return d
}
var L = {
getClosestInstanceFromNode: Oa,
getInstanceFromNode: function(a) {
var b = a[Ha];
if (b) return b.tag === za || b.tag === Aa ? b : b._hostNode === a ? b : null;
b = Oa(a);
return null != b && b._hostNode === a ? b : null
},
getNodeFromInstance: function(a) {
if (a.tag === za || a.tag === Aa) return a.stateNode;
void 0 === a._hostNode ? z("33") : void 0;
if (a._hostNode) return a._hostNode;
for (var b = []; !a._hostNode;) b.push(a), a._hostParent ? void 0 : z("34"), a = a._hostParent;
for (; b.length; a = b.pop()) Na(a, a._hostNode);
return a._hostNode
},
precacheChildNodes: Na,
precacheNode: Ma,
uncacheNode: function(a) {
var b = a._hostNode;
b && (delete b[Ha], a._hostNode = null)
},
precacheFiberNode: function(a, b) {
b[Ha] = a
},
getFiberCurrentPropsFromNode: function(a) {
return a[Ka] || null
},
updateFiberProps: function(a, b) {
a[Ka] = b
}
},
Pa = {
remove: function(a) {
a._reactInternalFiber = void 0
},
get: function(a) {
return a._reactInternalFiber
},
has: function(a) {
return void 0 !== a._reactInternalFiber
},
set: function(a, b) {
a._reactInternalFiber = b
}
},
Qa = {
ReactCurrentOwner: aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner
};
function Ra(a) {
if ("function" === typeof a.getName) return a.getName();
if ("number" === typeof a.tag) {
a = a.type;
if ("string" === typeof a) return a;
if ("function" === typeof a) return a.displayName || a.name
}
return null
}
var M = {
NoEffect: 0,
PerformedWork: 1,
Placement: 2,
Update: 4,
PlacementAndUpdate: 6,
Deletion: 8,
ContentReset: 16,
Callback: 32,
Err: 64,
Ref: 128
},
Sa = F.HostComponent,
Ta = F.HostRoot,
Ua = F.HostPortal,
Va = F.HostText,
Xa = M.NoEffect,
Ya = M.Placement;
function Za(a) {
var b = a;
if (a.alternate)
for (; b["return"];) b = b["return"];
else {
if ((b.effectTag & Ya) !== Xa) return 1;
for (; b["return"];)
if (b = b["return"], (b.effectTag & Ya) !== Xa) return 1
}
return b.tag === Ta ? 2 : 3
}
function $a(a) {
2 !== Za(a) ? z("188") : void 0
}
function ab(a) {
var b = a.alternate;
if (!b) return b = Za(a), 3 === b ? z("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 $a(e), a;
if (g === d) return $a(e), b;
g = g.sibling
}
z("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 : z("189")
}
}
c.alternate !== d ? z("190") : void 0
}
c.tag !== Ta ? z("188") : void 0;
return c.stateNode.current === c ? a : b
}
var bb = {
isFiberMounted: function(a) {
return 2 === Za(a)
},
isMounted: function(a) {
return (a = Pa.get(a)) ? 2 === Za(a) : !1
},
findCurrentFiberUsingSlowPath: ab,
findCurrentHostFiber: function(a) {
a = ab(a);
if (!a) return null;
for (var b = a;;) {
if (b.tag === Sa || b.tag === Va) 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
},
findCurrentHostFiberWithNoPortals: function(a) {
a = ab(a);
if (!a) return null;
for (var b = a;;) {
if (b.tag === Sa || b.tag === Va) return b;
if (b.child && b.tag !== Ua) 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
}
},
N = {
_caughtError: null,
_hasCaughtError: !1,
_rethrowError: null,
_hasRethrowError: !1,
injection: {
injectErrorUtils: function(a) {
"function" !== typeof a.invokeGuardedCallback ? z("197") : void 0;
cb = a.invokeGuardedCallback
}
},
invokeGuardedCallback: function(a,
b, c, d, e, f, g, h, k) {
cb.apply(N, arguments)
},
invokeGuardedCallbackAndCatchFirstError: function(a, b, c, d, e, f, g, h, k) {
N.invokeGuardedCallback.apply(this, arguments);
if (N.hasCaughtError()) {
var q = N.clearCaughtError();
N._hasRethrowError || (N._hasRethrowError = !0, N._rethrowError = q)
}
},
rethrowCaughtError: function() {
return db.apply(N, arguments)
},
hasCaughtError: function() {
return N._hasCaughtError
},
clearCaughtError: function() {
if (N._hasCaughtError) {
var a = N._caughtError;
N._caughtError = null;
N._hasCaughtError = !1;
return a
}
z("198")
}
};
function cb(a, b, c, d, e, f, g, h, k) {
N._hasCaughtError = !1;
N._caughtError = null;
var q = Array.prototype.slice.call(arguments, 3);
try {
b.apply(c, q)
} catch (C) {
N._caughtError = C, N._hasCaughtError = !0
}
}
function db() {
if (N._hasRethrowError) {
var a = N._rethrowError;
N._rethrowError = null;
N._hasRethrowError = !1;
throw a;
}
}
var eb = N,
fb;
function gb(a, b, c, d) {
b = a.type || "unknown-event";
a.currentTarget = hb.getNodeFromInstance(d);
eb.invokeGuardedCallbackAndCatchFirstError(b, c, void 0, a);
a.currentTarget = null
}
var hb = {
isEndish: function(a) {
return "topMouseUp" === a || "topTouchEnd" === a || "topTouchCancel" === a
},
isMoveish: function(a) {
return "topMouseMove" === a || "topTouchMove" === a
},
isStartish: function(a) {
return "topMouseDown" === a || "topTouchStart" === a
},
executeDirectDispatch: function(a) {
var b = a._dispatchListeners,
c = a._dispatchInstances;
Array.isArray(b) ? z("103") : void 0;
a.currentTarget = b ? hb.getNodeFromInstance(c) : null;
b = b ? b(a) : null;
a.currentTarget = null;
a._dispatchListeners = null;
a._dispatchInstances = null;
return b
},
executeDispatchesInOrder: function(a,
b) {
var c = a._dispatchListeners,
d = a._dispatchInstances;
if (Array.isArray(c))
for (var e = 0; e < c.length && !a.isPropagationStopped(); e++) gb(a, b, c[e], d[e]);
else c && gb(a, b, c, d);
a._dispatchListeners = null;
a._dispatchInstances = null
},
executeDispatchesInOrderStopAtTrue: function(a) {
a: {
var b = a._dispatchListeners;
var c = a._dispatchInstances;
if (Array.isArray(b))
for (var d = 0; d < b.length && !a.isPropagationStopped(); d++) {
if (b[d](a, c[d])) {
b = c[d];
break a
}
} else if (b && b(a, c)) {
b = c;
break a
}
b = null
}
a._dispatchInstances = null;a._dispatchListeners =
null;
return b
},
hasDispatches: function(a) {
return !!a._dispatchListeners
},
getFiberCurrentPropsFromNode: function(a) {
return fb.getFiberCurrentPropsFromNode(a)
},
getInstanceFromNode: function(a) {
return fb.getInstanceFromNode(a)
},
getNodeFromInstance: function(a) {
return fb.getNodeFromInstance(a)
},
injection: {
injectComponentTree: function(a) {
fb = a
}
}
},
ib = hb,
jb = null,
kb = null,
lb = null;
function mb(a) {
if (a = ib.getInstanceFromNode(a))
if ("number" === typeof a.tag) {
jb && "function" === typeof jb.restoreControlledState ? void 0 : z("194");
var b = ib.getFiberCurrentPropsFromNode(a.stateNode);
jb.restoreControlledState(a.stateNode, a.type, b)
} else "function" !== typeof a.restoreControlledState ? z("195") : void 0, a.restoreControlledState()
}
var nb = {
injection: {
injectFiberControlledHostComponent: function(a) {
jb = a
}
},
enqueueStateRestore: function(a) {
kb ? lb ? lb.push(a) : lb = [a] : kb = a
},
restoreStateIfNeeded: function() {
if (kb) {
var a = kb,
b = lb;
lb = kb = null;
mb(a);
if (b)
for (a = 0; a < b.length; a++) mb(b[a])
}
}
};
function ob(a, b, c, d, e, f) {
return a(b, c, d, e, f)
}
function pb(a, b) {
return a(b)
}
function qb(a, b) {
return pb(a, b)
}
var rb = !1,
tb = {
batchedUpdates: function(a, b) {
if (rb) return ob(qb, a, b);
rb = !0;
try {
return ob(qb, a, b)
} finally {
rb = !1, nb.restoreStateIfNeeded()
}
},
injection: {
injectStackBatchedUpdates: function(a) {
ob = a
},
injectFiberBatchedUpdates: function(a) {
pb = a
}
}
},
ub = H.TEXT_NODE;
function vb(a) {
a = a.target || a.srcElement || window;
a.correspondingUseElement && (a = a.correspondingUseElement);
return a.nodeType === ub ? a.parentNode : a
}
var wb = F.HostRoot,
xb = [];
function yb(a) {
var b = a.targetInst;
do {
if (!b) {
a.ancestors.push(b);
break
}
var c = b;
if ("number" === typeof c.tag) {
for (; c["return"];) c = c["return"];
c = c.tag !== wb ? null : c.stateNode.containerInfo
} else {
for (; c._hostParent;) c = c._hostParent;
c = L.getNodeFromInstance(c).parentNode
}
if (!c) break;
a.ancestors.push(b);
b = L.getClosestInstanceFromNode(c)
} while (b);
for (c = 0; c < a.ancestors.length; c++) b = a.ancestors[c], zb._handleTopLevel(a.topLevelType, b, a.nativeEvent, vb(a.nativeEvent))
}
var zb = {
_enabled: !0,
_handleTopLevel: null,
setHandleTopLevel: function(a) {
zb._handleTopLevel = a
},
setEnabled: function(a) {
zb._enabled = !!a
},
isEnabled: function() {
return zb._enabled
},
trapBubbledEvent: function(a, b, c) {
return c ? ca.listen(c, b, zb.dispatchEvent.bind(null, a)) : null
},
trapCapturedEvent: function(a, b, c) {
return c ? ca.capture(c, b, zb.dispatchEvent.bind(null, a)) : null
},
dispatchEvent: function(a, b) {
if (zb._enabled) {
var c = vb(b);
c = L.getClosestInstanceFromNode(c);
null === c || "number" !== typeof c.tag || bb.isFiberMounted(c) ||
(c = null);
if (xb.length) {
var d = xb.pop();
d.topLevelType = a;
d.nativeEvent = b;
d.targetInst = c;
a = d
} else a = {
topLevelType: a,
nativeEvent: b,
targetInst: c,
ancestors: []
};
try {
tb.batchedUpdates(yb, a)
} finally {
a.topLevelType = null, a.nativeEvent = null, a.targetInst = null, a.ancestors.length = 0, 10 > xb.length && xb.push(a)
}
}
}
},
O = zb;
function Ab(a, b) {
null == b ? z("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 Eb(a, b, c) {
Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a)
}
var Fb = null;
function Gb(a, b) {
a && (ib.executeDispatchesInOrder(a, b), a.isPersistent() || a.constructor.release(a))
}
function Hb(a) {
return Gb(a, !0)
}
function Ib(a) {
return Gb(a, !1)
}
function Jb(a, b, c) {
switch (a) {
case "onClick":
case "onClickCapture":
case "onDoubleClick":
case "onDoubleClickCapture":
case "onMouseDown":
case "onMouseDownCapture":
case "onMouseMove":
case "onMouseMoveCapture":
case "onMouseUp":
case "onMouseUpCapture":
return !(!c.disabled || "button" !== b && "input" !== b && "select" !== b && "textarea" !== b);
default:
return !1
}
}
var Kb = {
injection: {
injectEventPluginOrder: ta.injectEventPluginOrder,
injectEventPluginsByName: ta.injectEventPluginsByName
},
getListener: function(a, b) {
if ("number" === typeof a.tag) {
var c = a.stateNode;
if (!c) return null;
var d = ib.getFiberCurrentPropsFromNode(c);
if (!d) return null;
c = d[b];
if (Jb(b, a.type, d)) return null
} else {
d = a._currentElement;
if ("string" === typeof d || "number" === typeof d || !a._rootNodeID) return null;
a = d.props;
c = a[b];
if (Jb(b, d.type, a)) return null
}
c && "function" !== typeof c ? z("94", b, typeof c) : void 0;
return c
},
extractEvents: function(a, b, c, d) {
for (var e, f = ta.plugins, g = 0; g < f.length; g++) {
var h = f[g];
h && (h = h.extractEvents(a, b, c, d)) && (e = Ab(e, h))
}
return e
},
enqueueEvents: function(a) {
a && (Fb = Ab(Fb, a))
},
processEventQueue: function(a) {
var b = Fb;
Fb = null;
a ? Eb(b, Hb) : Eb(b, Ib);
Fb ? z("95") : void 0;
eb.rethrowCaughtError()
}
},
Lb;
l.canUseDOM && (Lb = document.implementation && document.implementation.hasFeature && !0 !== document.implementation.hasFeature("", ""));
function Mb(a, b) {
if (!l.canUseDOM || b && !("addEventListener" in document)) return !1;
b = "on" + a;
var c = b in document;
c || (c = document.createElement("div"), c.setAttribute(b, "return;"), c = "function" === typeof c[b]);
!c && Lb && "wheel" === a && (c = document.implementation.hasFeature("Events.wheel", "3.0"));
return c
}
function Nb(a, b) {
var c = {};
c[a.toLowerCase()] = b.toLowerCase();
c["Webkit" + a] = "webkit" + b;
c["Moz" + a] = "moz" + b;
c["ms" + a] = "MS" + b;
c["O" + a] = "o" + b.toLowerCase();
return c
}
var Ob = {
animationend: Nb("Animation", "AnimationEnd"),
animationiteration: Nb("Animation", "AnimationIteration"),
animationstart: Nb("Animation", "AnimationStart"),
transitionend: Nb("Transition", "TransitionEnd")
},
Pb = {},
Qb = {};
l.canUseDOM && (Qb = document.createElement("div").style, "AnimationEvent" in window || (delete Ob.animationend.animation, delete Ob.animationiteration.animation, delete Ob.animationstart.animation), "TransitionEvent" in window || delete Ob.transitionend.transition);
function Rb(a) {
if (Pb[a]) return Pb[a];
if (!Ob[a]) return a;
var b = Ob[a],
c;
for (c in b)
if (b.hasOwnProperty(c) && c in Qb) return Pb[a] = b[c];
return ""
}
var Sb = {
topAbort: "abort",
topAnimationEnd: Rb("animationend") || "animationend",
topAnimationIteration: Rb("animationiteration") || "animationiteration",
topAnimationStart: Rb("animationstart") || "animationstart",
topBlur: "blur",
topCancel: "cancel",
topCanPlay: "canplay",
topCanPlayThrough: "canplaythrough",
topChange: "change",
topClick: "click",
topClose: "close",
topCompositionEnd: "compositionend",
topCompositionStart: "compositionstart",
topCompositionUpdate: "compositionupdate",
topContextMenu: "contextmenu",
topCopy: "copy",
topCut: "cut",
topDoubleClick: "dblclick",
topDrag: "drag",
topDragEnd: "dragend",
topDragEnter: "dragenter",
topDragExit: "dragexit",
topDragLeave: "dragleave",
topDragOver: "dragover",
topDragStart: "dragstart",
topDrop: "drop",
topDurationChange: "durationchange",
topEmptied: "emptied",
topEncrypted: "encrypted",
topEnded: "ended",
topError: "error",
topFocus: "focus",
topInput: "input",
topKeyDown: "keydown",
topKeyPress: "keypress",
topKeyUp: "keyup",
topLoadedData: "loadeddata",
topLoad: "load",
topLoadedMetadata: "loadedmetadata",
topLoadStart: "loadstart",
topMouseDown: "mousedown",
topMouseMove: "mousemove",
topMouseOut: "mouseout",
topMouseOver: "mouseover",
topMouseUp: "mouseup",
topPaste: "paste",
topPause: "pause",
topPlay: "play",
topPlaying: "playing",
topProgress: "progress",
topRateChange: "ratechange",
topScroll: "scroll",
topSeeked: "seeked",
topSeeking: "seeking",
topSelectionChange: "selectionchange",
topStalled: "stalled",
topSuspend: "suspend",
topTextInput: "textInput",
topTimeUpdate: "timeupdate",
topToggle: "toggle",
topTouchCancel: "touchcancel",
topTouchEnd: "touchend",
topTouchMove: "touchmove",
topTouchStart: "touchstart",
topTransitionEnd: Rb("transitionend") || "transitionend",
topVolumeChange: "volumechange",
topWaiting: "waiting",
topWheel: "wheel"
},
Tb = {},
Ub = 0,
Vb = "_reactListenersID" + ("" + Math.random()).slice(2);
function Wb(a) {
Object.prototype.hasOwnProperty.call(a, Vb) || (a[Vb] = Ub++, Tb[a[Vb]] = {});
return Tb[a[Vb]]
}
var P = n({}, {
handleTopLevel: function(a, b, c, d) {
a = Kb.extractEvents(a, b, c, d);
Kb.enqueueEvents(a);
Kb.processEventQueue(!1)
}
}, {
setEnabled: function(a) {
O && O.setEnabled(a)
},
isEnabled: function() {
return !(!O || !O.isEnabled())
},
listenTo: function(a, b) {
var c = Wb(b);
a = ta.registrationNameDependencies[a];
for (var d = 0; d < a.length; d++) {
var e = a[d];
c.hasOwnProperty(e) && c[e] || ("topWheel" === e ? Mb("wheel") ? O.trapBubbledEvent("topWheel", "wheel", b) : Mb("mousewheel") ? O.trapBubbledEvent("topWheel", "mousewheel", b) : O.trapBubbledEvent("topWheel",
"DOMMouseScroll", b) : "topScroll" === e ? O.trapCapturedEvent("topScroll", "scroll", b) : "topFocus" === e || "topBlur" === e ? (O.trapCapturedEvent("topFocus", "focus", b), O.trapCapturedEvent("topBlur", "blur", b), c.topBlur = !0, c.topFocus = !0) : "topCancel" === e ? (Mb("cancel", !0) && O.trapCapturedEvent("topCancel", "cancel", b), c.topCancel = !0) : "topClose" === e ? (Mb("close", !0) && O.trapCapturedEvent("topClose", "close", b), c.topClose = !0) : Sb.hasOwnProperty(e) && O.trapBubbledEvent(e, Sb[e], b), c[e] = !0)
}
},
isListeningToAllDependencies: function(a,
b) {
b = Wb(b);
a = ta.registrationNameDependencies[a];
for (var c = 0; c < a.length; c++) {
var d = a[c];
if (!b.hasOwnProperty(d) || !b[d]) return !1
}
return !0
},
trapBubbledEvent: function(a, b, c) {
return O.trapBubbledEvent(a, b, c)
},
trapCapturedEvent: function(a, b, c) {
return O.trapCapturedEvent(a, b, c)
}
}),
Xb = {
disableNewFiberFeatures: !1,
enableAsyncSubtreeAPI: !1
},
Yb = {
animationIterationCount: !0,
borderImageOutset: !0,
borderImageSlice: !0,
borderImageWidth: !0,
boxFlex: !0,
boxFlexGroup: !0,
boxOrdinalGroup: !0,
columnCount: !0,
columns: !0,
flex: !0,
flexGrow: !0,
flexPositive: !0,
flexShrink: !0,
flexNegative: !0,
flexOrder: !0,
gridRow: !0,
gridRowEnd: !0,
gridRowSpan: !0,
gridRowStart: !0,
gridColumn: !0,
gridColumnEnd: !0,
gridColumnSpan: !0,
gridColumnStart: !0,
fontWeight: !0,
lineClamp: !0,
lineHeight: !0,
opacity: !0,
order: !0,
orphans: !0,
tabSize: !0,
widows: !0,
zIndex: !0,
zoom: !0,
fillOpacity: !0,
floodOpacity: !0,
stopOpacity: !0,
strokeDasharray: !0,
strokeDashoffset: !0,
strokeMiterlimit: !0,
strokeOpacity: !0,
strokeWidth: !0
},
Zb = ["Webkit", "ms", "Moz", "O"];
Object.keys(Yb).forEach(function(a) {
Zb.forEach(function(b) {
b = b + a.charAt(0).toUpperCase() + a.substring(1);
Yb[b] = Yb[a]
})
});
var $b = {
isUnitlessNumber: Yb,
shorthandPropertyExpansions: {
background: {
backgroundAttachment: !0,
backgroundColor: !0,
backgroundImage: !0,
backgroundPositionX: !0,
backgroundPositionY: !0,
backgroundRepeat: !0
},
backgroundPosition: {
backgroundPositionX: !0,
backgroundPositionY: !0
},
border: {
borderWidth: !0,
borderStyle: !0,
borderColor: !0
},
borderBottom: {
borderBottomWidth: !0,
borderBottomStyle: !0,
borderBottomColor: !0
},
borderLeft: {
borderLeftWidth: !0,
borderLeftStyle: !0,
borderLeftColor: !0
},
borderRight: {
borderRightWidth: !0,
borderRightStyle: !0,
borderRightColor: !0
},
borderTop: {
borderTopWidth: !0,
borderTopStyle: !0,
borderTopColor: !0
},
font: {
fontStyle: !0,
fontVariant: !0,
fontWeight: !0,
fontSize: !0,
lineHeight: !0,
fontFamily: !0
},
outline: {
outlineWidth: !0,
outlineStyle: !0,
outlineColor: !0
}
}
},
ac = $b.isUnitlessNumber,
bc = !1;
if (l.canUseDOM) {
var cc = document.createElement("div").style;
try {
cc.font = ""
} catch (a) {
bc = !0
}
}
var dc = {
createDangerousStringForStyles: function() {},
setValueForStyles: function(a, b) {
a = a.style;
for (var c in b)
if (b.hasOwnProperty(c)) {
var d = 0 === c.indexOf("--");
var e = c;
var f = b[c];
e = null == f || "boolean" === typeof f || "" === f ? "" : d || "number" !== typeof f || 0 === f || ac.hasOwnProperty(e) && ac[e] ? ("" + f).trim() : f + "px";
"float" === c && (c = "cssFloat");
if (d) a.setProperty(c, e);
else if (e) a[c] = e;
else if (d = bc && $b.shorthandPropertyExpansions[c])
for (var g in d) a[g] = "";
else a[c] = ""
}
}
},
ec = new RegExp("^[" + D.ATTRIBUTE_NAME_START_CHAR +
"][" + D.ATTRIBUTE_NAME_CHAR + "]*$"),
fc = {},
gc = {};
function hc(a) {
if (gc.hasOwnProperty(a)) return !0;
if (fc.hasOwnProperty(a)) return !1;
if (ec.test(a)) return gc[a] = !0;
fc[a] = !0;
return !1
}
var ic = {
setAttributeForID: function(a, b) {
a.setAttribute(D.ID_ATTRIBUTE_NAME, b)
},
setAttributeForRoot: function(a) {
a.setAttribute(D.ROOT_ATTRIBUTE_NAME, "")
},
getValueForProperty: function() {},
getValueForAttribute: function() {},
setValueForProperty: function(a, b, c) {
var d = D.getPropertyInfo(b);
if (d && D.shouldSetAttribute(b, c)) {
var e = d.mutationMethod;
e ? e(a, c) : null == c || d.hasBooleanValue && !c || d.hasNumericValue && isNaN(c) || d.hasPositiveNumericValue && 1 > c || d.hasOverloadedBooleanValue && !1 === c ? ic.deleteValueForProperty(a,
b) : d.mustUseProperty ? a[d.propertyName] = c : (b = d.attributeName, (e = d.attributeNamespace) ? a.setAttributeNS(e, b, "" + c) : d.hasBooleanValue || d.hasOverloadedBooleanValue && !0 === c ? a.setAttribute(b, "") : a.setAttribute(b, "" + c))
} else ic.setValueForAttribute(a, b, D.shouldSetAttribute(b, c) ? c : null)
},
setValueForAttribute: function(a, b, c) {
hc(b) && (null == c ? a.removeAttribute(b) : a.setAttribute(b, "" + c))
},
deleteValueForAttribute: function(a, b) {
a.removeAttribute(b)
},
deleteValueForProperty: function(a, b) {
var c = D.getPropertyInfo(b);
c ? (b = c.mutationMethod) ? b(a, void 0) : c.mustUseProperty ? a[c.propertyName] = c.hasBooleanValue ? !1 : "" : a.removeAttribute(c.attributeName) : a.removeAttribute(b)
}
},
jc = ic,
kc = Qa.ReactDebugCurrentFrame;
function lc() {
return null
}
var mc = {
current: null,
phase: null,
resetCurrentFiber: function() {
kc.getCurrentStack = null;
mc.current = null;
mc.phase = null
},
setCurrentFiber: function(a, b) {
kc.getCurrentStack = lc;
mc.current = a;
mc.phase = b
},
getCurrentFiberOwnerName: function() {
return null
},
getCurrentFiberStackAddendum: lc
},
oc = mc,
pc = {
getHostProps: function(a, b) {
var c = b.value,
d = b.checked;
return n({
type: void 0,
step: void 0,
min: void 0,
max: void 0
}, b, {
defaultChecked: void 0,
defaultValue: void 0,
value: null != c ? c : a._wrapperState.initialValue,
checked: null != d ?
d : a._wrapperState.initialChecked
})
},
initWrapperState: function(a, b) {
var c = b.defaultValue;
a._wrapperState = {
initialChecked: null != b.checked ? b.checked : b.defaultChecked,
initialValue: null != b.value ? b.value : c,
controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value
}
},
updateWrapper: function(a, b) {
var c = b.checked;
null != c && jc.setValueForProperty(a, "checked", c || !1);
c = b.value;
if (null != c)
if (0 === c && "" === a.value) a.value = "0";
else if ("number" === b.type) {
if (b = parseFloat(a.value) || 0, c != b || c == b && a.value !=
c) a.value = "" + c
} else a.value !== "" + c && (a.value = "" + c);
else null == b.value && null != b.defaultValue && a.defaultValue !== "" + b.defaultValue && (a.defaultValue = "" + b.defaultValue), null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked)
},
postMountWrapper: function(a, b) {
switch (b.type) {
case "submit":
case "reset":
break;
case "color":
case "date":
case "datetime":
case "datetime-local":
case "month":
case "time":
case "week":
a.value = "";
a.value = a.defaultValue;
break;
default:
a.value = a.value
}
b = a.name;
"" !==
b && (a.name = "");
a.defaultChecked = !a.defaultChecked;
a.defaultChecked = !a.defaultChecked;
"" !== b && (a.name = b)
},
restoreControlledState: function(a, b) {
pc.updateWrapper(a, b);
var c = b.name;
if ("radio" === b.type && null != c) {
for (b = a; b.parentNode;) b = b.parentNode;
c = b.querySelectorAll("input[name\x3d" + JSON.stringify("" + c) + '][type\x3d"radio"]');
for (b = 0; b < c.length; b++) {
var d = c[b];
if (d !== a && d.form === a.form) {
var e = L.getFiberCurrentPropsFromNode(d);
e ? void 0 : z("90");
pc.updateWrapper(d, e)
}
}
}
}
},
qc = pc;
function rc(a) {
var b = "";
aa.Children.forEach(a, function(a) {
null == a || "string" !== typeof a && "number" !== typeof a || (b += a)
});
return b
}
var sc = {
validateProps: function() {},
postMountWrapper: function(a, b) {
null != b.value && a.setAttribute("value", b.value)
},
getHostProps: function(a, b) {
a = n({
children: void 0
}, b);
if (b = rc(b.children)) a.children = b;
return a
}
};
function tc(a, b, c) {
a = a.options;
if (b) {
b = {};
for (var d = 0; d < c.length; d++) b["$" + c[d]] = !0;
for (c = 0; c < a.length; c++) d = b.hasOwnProperty("$" + a[c].value), a[c].selected !== d && (a[c].selected = d)
} else {
c = "" + c;
for (b = 0; b < a.length; b++)
if (a[b].value === c) {
a[b].selected = !0;
return
}
a.length && (a[0].selected = !0)
}
}
var uc = {
getHostProps: function(a, b) {
return n({}, b, {
value: void 0
})
},
initWrapperState: function(a, b) {
var c = b.value;
a._wrapperState = {
initialValue: null != c ? c : b.defaultValue,
wasMultiple: !!b.multiple
}
},
postMountWrapper: function(a, b) {
a.multiple = !!b.multiple;
var c = b.value;
null != c ? tc(a, !!b.multiple, c) : null != b.defaultValue && tc(a, !!b.multiple, b.defaultValue)
},
postUpdateWrapper: function(a, b) {
a._wrapperState.initialValue = void 0;
var c = a._wrapperState.wasMultiple;
a._wrapperState.wasMultiple = !!b.multiple;
var d = b.value;
null != d ? tc(a, !!b.multiple, d) : c !== !!b.multiple && (null != b.defaultValue ? tc(a, !!b.multiple, b.defaultValue) : tc(a, !!b.multiple, b.multiple ? [] : ""))
},
restoreControlledState: function(a, b) {
var c = b.value;
null != c && tc(a, !!b.multiple, c)
}
},
vc = {
getHostProps: function(a, b) {
null != b.dangerouslySetInnerHTML ? z("91") : void 0;
return n({}, b, {
value: void 0,
defaultValue: void 0,
children: "" + a._wrapperState.initialValue
})
},
initWrapperState: function(a, b) {
var c = b.value,
d = c;
null == c && (c = b.defaultValue, b = b.children, null != b && (null != c ?
z("92") : void 0, Array.isArray(b) && (1 >= b.length ? void 0 : z("93"), b = b[0]), c = "" + b), null == c && (c = ""), d = c);
a._wrapperState = {
initialValue: "" + d
}
},
updateWrapper: function(a, b) {
var c = b.value;
null != c && (c = "" + c, c !== a.value && (a.value = c), null == b.defaultValue && (a.defaultValue = c));
null != b.defaultValue && (a.defaultValue = b.defaultValue)
},
postMountWrapper: function(a) {
var b = a.textContent;
b === a._wrapperState.initialValue && (a.value = b)
},
restoreControlledState: function(a, b) {
vc.updateWrapper(a, b)
}
},
wc = vc,
xc = n({
menuitem: !0
}, {
area: !0,
base: !0,
br: !0,
col: !0,
embed: !0,
hr: !0,
img: !0,
input: !0,
keygen: !0,
link: !0,
meta: !0,
param: !0,
source: !0,
track: !0,
wbr: !0
});
function yc(a, b) {
b && (xc[a] && (null != b.children || null != b.dangerouslySetInnerHTML ? z("137", a, "") : void 0), null != b.dangerouslySetInnerHTML && (null != b.children ? z("60") : void 0, "object" === typeof b.dangerouslySetInnerHTML && "__html" in b.dangerouslySetInnerHTML ? void 0 : z("61")), null != b.style && "object" !== typeof b.style ? z("62", "") : void 0)
}
function zc(a) {
var b = a.type;
return (a = a.nodeName) && "input" === a.toLowerCase() && ("checkbox" === b || "radio" === b)
}
function Ac(a) {
var b = zc(a) ? "checked" : "value",
c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b),
d = "" + a[b];
if (!a.hasOwnProperty(b) && "function" === typeof c.get && "function" === typeof c.set) return Object.defineProperty(a, b, {
enumerable: c.enumerable,
configurable: !0,
get: function() {
return c.get.call(this)
},
set: function(a) {
d = "" + a;
c.set.call(this, a)
}
}), {
getValue: function() {
return d
},
setValue: function(a) {
d = "" + a
},
stopTracking: function() {
a._valueTracker = null;
delete a[b]
}
}
}
var Bc = {
_getTrackerFromNode: function(a) {
return a._valueTracker
},
track: function(a) {
a._valueTracker || (a._valueTracker = Ac(a))
},
updateValueIfChanged: function(a) {
if (!a) return !1;
var b = a._valueTracker;
if (!b) return !0;
var c = b.getValue();
var d = "";
a && (d = zc(a) ? a.checked ? "true" : "false" : a.value);
a = d;
return a !== c ? (b.setValue(a), !0) : !1
},
stopTracking: function(a) {
(a = a._valueTracker) && a.stopTracking()
}
};
function Cc(a, b) {
return 0 <= a.indexOf("-") || null != b.is
}
var Dc = na.Namespaces,
Ec, Fc = function(a) {
return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) {
MSApp.execUnsafeLocalFunction(function() {
return a(b, c, d, e)
})
} : a
}(function(a, b) {
if (a.namespaceURI !== Dc.svg || "innerHTML" in a) a.innerHTML = b;
else
for (Ec = Ec || document.createElement("div"), Ec.innerHTML = "\x3csvg\x3e" + b + "\x3c/svg\x3e", b = Ec.firstChild; b.firstChild;) a.appendChild(b.firstChild)
}),
Gc = /["'&<>]/,
Hc = H.TEXT_NODE;
function Ic(a, b) {
if (b) {
var c = a.firstChild;
if (c && c === a.lastChild && c.nodeType === Hc) {
c.nodeValue = b;
return
}
}
a.textContent = b
}
l.canUseDOM && ("textContent" in document.documentElement || (Ic = function(a, b) {
if (a.nodeType === Hc) a.nodeValue = b;
else {
if ("boolean" === typeof b || "number" === typeof b) b = "" + b;
else {
b = "" + b;
var c = Gc.exec(b);
if (c) {
var d = "",
e, f = 0;
for (e = c.index; e < b.length; e++) {
switch (b.charCodeAt(e)) {
case 34:
c = "\x26quot;";
break;
case 38:
c = "\x26amp;";
break;
case 39:
c = "\x26#x27;";
break;
case 60:
c = "\x26lt;";
break;
case 62:
c = "\x26gt;";
break;
default:
continue
}
f !== e && (d += b.substring(f, e));
f = e + 1;
d += c
}
b = f !== e ? d + b.substring(f, e) : d
}
}
Fc(a, b)
}
}));
var Jc = Ic,
Kc = oc.getCurrentFiberOwnerName,
Lc = H.DOCUMENT_NODE,
Mc = H.DOCUMENT_FRAGMENT_NODE,
Nc = P.listenTo,
Oc = ta.registrationNameModules,
Pc = na.Namespaces.html,
Qc = na.getIntrinsicNamespace;
function Rc(a, b) {
Nc(b, a.nodeType === Lc || a.nodeType === Mc ? a : a.ownerDocument)
}
var Sc = {
topAbort: "abort",
topCanPlay: "canplay",
topCanPlayThrough: "canplaythrough",
topDurationChange: "durationchange",
topEmptied: "emptied",
topEncrypted: "encrypted",
topEnded: "ended",
topError: "error",
topLoadedData: "loadeddata",
topLoadedMetadata: "loadedmetadata",
topLoadStart: "loadstart",
topPause: "pause",
topPlay: "play",
topPlaying: "playing",
topProgress: "progress",
topRateChange: "ratechange",
topSeeked: "seeked",
topSeeking: "seeking",
topStalled: "stalled",
topSuspend: "suspend",
topTimeUpdate: "timeupdate",
topVolumeChange: "volumechange",
topWaiting: "waiting"
},
Tc = {
createElement: function(a, b, c, d) {
c = c.nodeType === Lc ? c : c.ownerDocument;
d === Pc && (d = Qc(a));
d === Pc ? "script" === a ? (a = c.createElement("div"), a.innerHTML = "\x3cscript\x3e\x3c/script\x3e", a = a.removeChild(a.firstChild)) : a = b.is ? c.createElement(a, {
is: b.is
}) : c.createElement(a) : a = c.createElementNS(d, a);
return a
},
setInitialProperties: function(a, b, c, d) {
var e = Cc(b, c);
switch (b) {
case "iframe":
case "object":
P.trapBubbledEvent("topLoad", "load", a);
var f = c;
break;
case "video":
case "audio":
for (f in Sc) Sc.hasOwnProperty(f) &&
P.trapBubbledEvent(f, Sc[f], a);
f = c;
break;
case "source":
P.trapBubbledEvent("topError", "error", a);
f = c;
break;
case "img":
case "image":
P.trapBubbledEvent("topError", "error", a);
P.trapBubbledEvent("topLoad", "load", a);
f = c;
break;
case "form":
P.trapBubbledEvent("topReset", "reset", a);
P.trapBubbledEvent("topSubmit", "submit", a);
f = c;
break;
case "details":
P.trapBubbledEvent("topToggle", "toggle", a);
f = c;
break;
case "input":
qc.initWrapperState(a, c);
f = qc.getHostProps(a, c);
P.trapBubbledEvent("topInvalid", "invalid", a);
Rc(d,
"onChange");
break;
case "option":
sc.validateProps(a, c);
f = sc.getHostProps(a, c);
break;
case "select":
uc.initWrapperState(a, c);
f = uc.getHostProps(a, c);
P.trapBubbledEvent("topInvalid", "invalid", a);
Rc(d, "onChange");
break;
case "textarea":
wc.initWrapperState(a, c);
f = wc.getHostProps(a, c);
P.trapBubbledEvent("topInvalid", "invalid", a);
Rc(d, "onChange");
break;
default:
f = c
}
yc(b, f, Kc);
var g = f,
h;
for (h in g)
if (g.hasOwnProperty(h)) {
var k = g[h];
"style" === h ? dc.setValueForStyles(a, k) : "dangerouslySetInnerHTML" === h ? (k = k ? k.__html :
void 0, null != k && Fc(a, k)) : "children" === h ? "string" === typeof k ? Jc(a, k) : "number" === typeof k && Jc(a, "" + k) : "suppressContentEditableWarning" !== h && (Oc.hasOwnProperty(h) ? k && Rc(d, h) : e ? jc.setValueForAttribute(a, h, k) : null != k && jc.setValueForProperty(a, h, k))
}
switch (b) {
case "input":
Bc.track(a);
qc.postMountWrapper(a, c);
break;
case "textarea":
Bc.track(a);
wc.postMountWrapper(a, c);
break;
case "option":
sc.postMountWrapper(a, c);
break;
case "select":
uc.postMountWrapper(a, c);
break;
default:
"function" === typeof f.onClick && (a.onclick =
w)
}
},
diffProperties: function(a, b, c, d, e) {
var f = null;
switch (b) {
case "input":
c = qc.getHostProps(a, c);
d = qc.getHostProps(a, d);
f = [];
break;
case "option":
c = sc.getHostProps(a, c);
d = sc.getHostProps(a, d);
f = [];
break;
case "select":
c = uc.getHostProps(a, c);
d = uc.getHostProps(a, d);
f = [];
break;
case "textarea":
c = wc.getHostProps(a, c);
d = wc.getHostProps(a, d);
f = [];
break;
default:
"function" !== typeof c.onClick && "function" === typeof d.onClick && (a.onclick = w)
}
yc(b, d, Kc);
var g, h;
a = null;
for (g in c)
if (!d.hasOwnProperty(g) && c.hasOwnProperty(g) &&
null != c[g])
if ("style" === g)
for (h in b = c[g], b) b.hasOwnProperty(h) && (a || (a = {}), a[h] = "");
else "dangerouslySetInnerHTML" !== g && "children" !== g && "suppressContentEditableWarning" !== g && (Oc.hasOwnProperty(g) ? f || (f = []) : (f = f || []).push(g, null));
for (g in d) {
var k = d[g];
b = null != c ? c[g] : void 0;
if (d.hasOwnProperty(g) && k !== b && (null != k || null != b))
if ("style" === g)
if (b) {
for (h in b) !b.hasOwnProperty(h) || k && k.hasOwnProperty(h) || (a || (a = {}), a[h] = "");
for (h in k) k.hasOwnProperty(h) && b[h] !== k[h] && (a || (a = {}), a[h] = k[h])
} else a || (f ||
(f = []), f.push(g, a)), a = k;
else "dangerouslySetInnerHTML" === g ? (k = k ? k.__html : void 0, b = b ? b.__html : void 0, null != k && b !== k && (f = f || []).push(g, "" + k)) : "children" === g ? b === k || "string" !== typeof k && "number" !== typeof k || (f = f || []).push(g, "" + k) : "suppressContentEditableWarning" !== g && (Oc.hasOwnProperty(g) ? (k && Rc(e, g), f || b === k || (f = [])) : (f = f || []).push(g, k))
}
a && (f = f || []).push("style", a);
return f
},
updateProperties: function(a, b, c, d, e) {
Cc(c, d);
d = Cc(c, e);
for (var f = 0; f < b.length; f += 2) {
var g = b[f],
h = b[f + 1];
"style" === g ? dc.setValueForStyles(a,
h) : "dangerouslySetInnerHTML" === g ? Fc(a, h) : "children" === g ? Jc(a, h) : d ? null != h ? jc.setValueForAttribute(a, g, h) : jc.deleteValueForAttribute(a, g) : null != h ? jc.setValueForProperty(a, g, h) : jc.deleteValueForProperty(a, g)
}
switch (c) {
case "input":
qc.updateWrapper(a, e);
Bc.updateValueIfChanged(a);
break;
case "textarea":
wc.updateWrapper(a, e);
break;
case "select":
uc.postUpdateWrapper(a, e)
}
},
diffHydratedProperties: function(a, b, c, d) {
switch (b) {
case "iframe":
case "object":
P.trapBubbledEvent("topLoad", "load", a);
break;
case "video":
case "audio":
for (var e in Sc) Sc.hasOwnProperty(e) &&
P.trapBubbledEvent(e, Sc[e], a);
break;
case "source":
P.trapBubbledEvent("topError", "error", a);
break;
case "img":
case "image":
P.trapBubbledEvent("topError", "error", a);
P.trapBubbledEvent("topLoad", "load", a);
break;
case "form":
P.trapBubbledEvent("topReset", "reset", a);
P.trapBubbledEvent("topSubmit", "submit", a);
break;
case "details":
P.trapBubbledEvent("topToggle", "toggle", a);
break;
case "input":
qc.initWrapperState(a, c);
P.trapBubbledEvent("topInvalid", "invalid", a);
Rc(d, "onChange");
break;
case "option":
sc.validateProps(a,
c);
break;
case "select":
uc.initWrapperState(a, c);
P.trapBubbledEvent("topInvalid", "invalid", a);
Rc(d, "onChange");
break;
case "textarea":
wc.initWrapperState(a, c), P.trapBubbledEvent("topInvalid", "invalid", a), Rc(d, "onChange")
}
yc(b, c, Kc);
e = null;
for (var f in c)
if (c.hasOwnProperty(f)) {
var g = c[f];
"children" === f ? "string" === typeof g ? a.textContent !== g && (e = ["children", g]) : "number" === typeof g && a.textContent !== "" + g && (e = ["children", "" + g]) : Oc.hasOwnProperty(f) && g && Rc(d, f)
}
switch (b) {
case "input":
Bc.track(a);
qc.postMountWrapper(a,
c);
break;
case "textarea":
Bc.track(a);
wc.postMountWrapper(a, c);
break;
case "select":
case "option":
break;
default:
"function" === typeof c.onClick && (a.onclick = w)
}
return e
},
diffHydratedText: function(a, b) {
return a.nodeValue !== b
},
warnForDeletedHydratableElement: function() {},
warnForDeletedHydratableText: function() {},
warnForInsertedHydratedElement: function() {},
warnForInsertedHydratedText: function() {},
restoreControlledState: function(a, b, c) {
switch (b) {
case "input":
qc.restoreControlledState(a, c);
break;
case "textarea":
wc.restoreControlledState(a,
c);
break;
case "select":
uc.restoreControlledState(a, c)
}
}
},
Uc = void 0;
if (l.canUseDOM)
if ("function" !== typeof requestIdleCallback) {
var Vc = null,
Wc = null,
Xc = !1,
Yc = !1,
Zc = 0,
$c = 33,
ad = 33,
bd = {
timeRemaining: "object" === typeof performance && "function" === typeof performance.now ? function() {
return Zc - performance.now()
} : function() {
return Zc - Date.now()
}
},
cd = "__reactIdleCallback$" + Math.random().toString(36).slice(2);
window.addEventListener("message", function(a) {
a.source === window && a.data === cd && (Xc = !1, a = Wc, Wc = null, null !== a && a(bd))
}, !1);
var dd = function(a) {
Yc = !1;
var b = a - Zc + ad;
b < ad && $c < ad ? (8 >
b && (b = 8), ad = b < $c ? $c : b) : $c = b;
Zc = a + ad;
Xc || (Xc = !0, window.postMessage(cd, "*"));
b = Vc;
Vc = null;
null !== b && b(a)
};
Uc = function(a) {
Wc = a;
Yc || (Yc = !0, requestAnimationFrame(dd));
return 0
}
} else Uc = requestIdleCallback;
else Uc = function(a) {
setTimeout(function() {
a({
timeRemaining: function() {
return Infinity
}
})
});
return 0
};
var ed = {
rIC: Uc
},
R = {
NoWork: 0,
SynchronousPriority: 1,
TaskPriority: 2,
HighPriority: 3,
LowPriority: 4,
OffscreenPriority: 5
},
fd = M.Callback,
gd = R.NoWork,
hd = R.SynchronousPriority,
id = R.TaskPriority,
jd = F.ClassComponent,
kd = F.HostRoot;
function ld(a, b) {
return a !== id && a !== hd || b !== id && b !== hd ? a === gd && b !== gd ? -255 : a !== gd && b === gd ? 255 : a - b : 0
}
function md() {
return {
first: null,
last: null,
hasForceUpdate: !1,
callbackList: null
}
}
function nd(a, b, c, d) {
null !== c ? c.next = b : (b.next = a.first, a.first = b);
null !== d ? b.next = d : a.last = b
}
function od(a, b) {
b = b.priorityLevel;
var c = null;
if (null !== a.last && 0 >= ld(a.last.priorityLevel, b)) c = a.last;
else
for (a = a.first; null !== a && 0 >= ld(a.priorityLevel, b);) c = a, a = a.next;
return c
}
function pd(a) {
var b = a.alternate,
c = a.updateQueue;
null === c && (c = a.updateQueue = md());
null !== b ? (a = b.updateQueue, null === a && (a = b.updateQueue = md())) : a = null;
return [c, a !== c ? a : null]
}
function qd(a, b) {
var c = pd(a);
a = c[0];
c = c[1];
var d = od(a, b),
e = null !== d ? d.next : a.first;
if (null === c) return nd(a, b, d, e), null;
var f = od(c, b),
g = null !== f ? f.next : c.first;
nd(a, b, d, e);
if (e === g && null !== e || d === f && null !== d) return null === f && (c.first = b), null === g && (c.last = null), null;
b = {
priorityLevel: b.priorityLevel,
partialState: b.partialState,
callback: b.callback,
isReplace: b.isReplace,
isForced: b.isForced,
isTopLevelUnmount: b.isTopLevelUnmount,
next: null
};
nd(c, b, f, g);
return b
}
function rd(a, b, c, d) {
a = a.partialState;
return "function" === typeof a ? a.call(b, c, d) : a
}
var sd = {
addUpdate: function(a, b, c, d) {
qd(a, {
priorityLevel: d,
partialState: b,
callback: c,
isReplace: !1,
isForced: !1,
isTopLevelUnmount: !1,
next: null
})
},
addReplaceUpdate: function(a, b, c, d) {
qd(a, {
priorityLevel: d,
partialState: b,
callback: c,
isReplace: !0,
isForced: !1,
isTopLevelUnmount: !1,
next: null
})
},
addForceUpdate: function(a, b, c) {
qd(a, {
priorityLevel: c,
partialState: null,
callback: b,
isReplace: !1,
isForced: !0,
isTopLevelUnmount: !1,
next: null
})
},
getUpdatePriority: function(a) {
var b = a.updateQueue;
return null === b || a.tag !==
jd && a.tag !== kd ? gd : null !== b.first ? b.first.priorityLevel : gd
},
addTopLevelUpdate: function(a, b, c, d) {
var e = null === b.element;
b = {
priorityLevel: d,
partialState: b,
callback: c,
isReplace: !1,
isForced: !1,
isTopLevelUnmount: e,
next: null
};
c = qd(a, b);
e && (e = pd(a), a = e[0], e = e[1], null !== a && null !== b.next && (b.next = null, a.last = b), null !== e && null !== c && null !== c.next && (c.next = null, e.last = b))
},
beginUpdateQueue: function(a, b, c, d, e, f, g) {
null !== a && a.updateQueue === c && (c = b.updateQueue = {
first: c.first,
last: c.last,
callbackList: null,
hasForceUpdate: !1
});
a = c.callbackList;
for (var h = c.hasForceUpdate, k = !0, q = c.first; null !== q && 0 >= ld(q.priorityLevel, g);) {
c.first = q.next;
null === c.first && (c.last = null);
var C;
if (q.isReplace) e = rd(q, d, e, f), k = !0;
else if (C = rd(q, d, e, f)) e = k ? n({}, e, C) : n(e, C), k = !1;
q.isForced && (h = !0);
null === q.callback || q.isTopLevelUnmount && null !== q.next || (a = null !== a ? a : [], a.push(q.callback), b.effectTag |= fd);
q = q.next
}
c.callbackList = a;
c.hasForceUpdate = h;
null !== c.first || null !== a || h || (b.updateQueue = null);
return e
},
commitCallbacks: function(a, b, c) {
a = b.callbackList;
if (null !== a)
for (b.callbackList = null, b = 0; b < a.length; b++) {
var d = a[b];
"function" !== typeof d ? z("191", d) : void 0;
d.call(c)
}
}
},
td = [],
ud = -1,
vd = {
createCursor: function(a) {
return {
current: a
}
},
isEmpty: function() {
return -1 === ud
},
pop: function(a) {
0 > ud || (a.current = td[ud], td[ud] = null, ud--)
},
push: function(a, b) {
ud++;
td[ud] = a.current;
a.current = b
},
reset: function() {
for (; - 1 < ud;) td[ud] = null, ud--
}
},
wd = bb.isFiberMounted,
xd = F.ClassComponent,
Ed = F.HostRoot,
Fd = vd.createCursor,
Gd = vd.pop,
Hd = vd.push,
Id = Fd(da),
Jd = Fd(!1),
Kd = da;
function Ld(a, b, c) {
a = a.stateNode;
a.__reactInternalMemoizedUnmaskedChildContext = b;
a.__reactInternalMemoizedMaskedChildContext = c
}
function Md(a) {
return a.tag === xd && null != a.type.childContextTypes
}
function Nd(a, b) {
var c = a.stateNode,
d = a.type.childContextTypes;
if ("function" !== typeof c.getChildContext) return b;
c = c.getChildContext();
for (var e in c) e in d ? void 0 : z("108", Ra(a) || "Unknown", e);
return n({}, b, c)
}
var S = {
getUnmaskedContext: function(a) {
return Md(a) ? Kd : Id.current
},
cacheContext: Ld,
getMaskedContext: function(a, b) {
var c = a.type.contextTypes;
if (!c) return da;
var d = a.stateNode;
if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;
var e = {},
f;
for (f in c) e[f] = b[f];
d && Ld(a, b, e);
return e
},
hasContextChanged: function() {
return Jd.current
},
isContextConsumer: function(a) {
return a.tag === xd && null != a.type.contextTypes
},
isContextProvider: Md,
popContextProvider: function(a) {
Md(a) &&
(Gd(Jd, a), Gd(Id, a))
},
pushTopLevelContextObject: function(a, b, c) {
null != Id.cursor ? z("168") : void 0;
Hd(Id, b, a);
Hd(Jd, c, a)
},
processChildContext: Nd,
pushContextProvider: function(a) {
if (!Md(a)) return !1;
var b = a.stateNode;
b = b && b.__reactInternalMemoizedMergedChildContext || da;
Kd = Id.current;
Hd(Id, b, a);
Hd(Jd, Jd.current, a);
return !0
},
invalidateContextProvider: function(a, b) {
var c = a.stateNode;
c ? void 0 : z("169");
if (b) {
var d = Nd(a, Kd, !0);
c.__reactInternalMemoizedMergedChildContext = d;
Gd(Jd, a);
Gd(Id, a);
Hd(Id, d, a)
} else Gd(Jd,
a);
Hd(Jd, b, a)
},
resetContext: function() {
Kd = da;
Id.current = da;
Jd.current = !1
},
findCurrentUnmaskedContext: function(a) {
for (wd(a) && a.tag === xd ? void 0 : z("170"); a.tag !== Ed;) {
if (Md(a)) return a.stateNode.__reactInternalMemoizedMergedChildContext;
(a = a["return"]) ? void 0: z("171")
}
return a.stateNode.context
}
},
Od = {
NoContext: 0,
AsyncUpdates: 1
},
Pd = F.IndeterminateComponent,
Qd = F.ClassComponent,
Rd = F.HostRoot,
Sd = F.HostComponent,
Td = F.HostText,
Ud = F.HostPortal,
Vd = F.CoroutineComponent,
Wd = F.YieldComponent,
Xd = F.Fragment,
Yd = R.NoWork,
Zd = Od.NoContext,
$d = M.NoEffect;
function ae(a, b, c) {
this.tag = a;
this.key = b;
this.stateNode = this.type = null;
this.sibling = this.child = this["return"] = null;
this.index = 0;
this.memoizedState = this.updateQueue = this.memoizedProps = this.pendingProps = this.ref = null;
this.internalContextTag = c;
this.effectTag = $d;
this.lastEffect = this.firstEffect = this.nextEffect = null;
this.pendingWorkPriority = Yd;
this.alternate = null
}
function be(a, b, c) {
var d = void 0;
"function" === typeof a ? (d = a.prototype && a.prototype.isReactComponent ? new ae(Qd, b, c) : new ae(Pd, b, c), d.type = a) : "string" === typeof a ? (d = new ae(Sd, b, c), d.type = a) : "object" === typeof a && null !== a && "number" === typeof a.tag ? d = a : z("130", null == a ? a : typeof a, "");
return d
}
var ce = {
createWorkInProgress: function(a, b) {
var c = a.alternate;
null === c ? (c = new ae(a.tag, a.key, a.internalContextTag), c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.effectTag = Yd, c.nextEffect = null, c.firstEffect = null, c.lastEffect = null);
c.pendingWorkPriority = b;
c.child = a.child;
c.memoizedProps = a.memoizedProps;
c.memoizedState = a.memoizedState;
c.updateQueue = a.updateQueue;
c.sibling = a.sibling;
c.index = a.index;
c.ref = a.ref;
return c
},
createHostRootFiber: function() {
return new ae(Rd, null, Zd)
},
createFiberFromElement: function(a, b, c) {
b = be(a.type, a.key, b, null);
b.pendingProps = a.props;
b.pendingWorkPriority = c;
return b
},
createFiberFromFragment: function(a, b, c) {
b = new ae(Xd, null, b);
b.pendingProps = a;
b.pendingWorkPriority = c;
return b
},
createFiberFromText: function(a, b, c) {
b = new ae(Td, null, b);
b.pendingProps = a;
b.pendingWorkPriority = c;
return b
},
createFiberFromElementType: be,
createFiberFromHostInstanceForDeletion: function() {
var a = new ae(Sd, null, Zd);
a.type = "DELETED";
return a
},
createFiberFromCoroutine: function(a,
b, c) {
b = new ae(Vd, a.key, b);
b.type = a.handler;
b.pendingProps = a;
b.pendingWorkPriority = c;
return b
},
createFiberFromYield: function(a, b) {
return new ae(Wd, null, b)
},
createFiberFromPortal: function(a, b, c) {
b = new ae(Ud, a.key, b);
b.pendingProps = a.children || [];
b.pendingWorkPriority = c;
b.stateNode = {
containerInfo: a.containerInfo,
implementation: a.implementation
};
return b
},
largerPriority: function(a, b) {
return a !== Yd && (b === Yd || b > a) ? a : b
}
},
de = ce.createHostRootFiber,
ee = F.IndeterminateComponent,
fe = F.FunctionalComponent,
ge = F.ClassComponent,
he = F.HostComponent,
ie, je;
"function" === typeof Symbol && Symbol["for"] ? (ie = Symbol["for"]("react.coroutine"), je = Symbol["for"]("react.yield")) : (ie = 60104, je = 60105);
var ke = {
createCoroutine: function(a, b, c) {
var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
return {
$$typeof: ie,
key: null == d ? null : "" + d,
children: a,
handler: b,
props: c
}
},
createYield: function(a) {
return {
$$typeof: je,
value: a
}
},
isCoroutine: function(a) {
return "object" === typeof a && null !== a && a.$$typeof === ie
},
isYield: function(a) {
return "object" === typeof a && null !== a && a.$$typeof === je
},
REACT_YIELD_TYPE: je,
REACT_COROUTINE_TYPE: ie
},
le = "function" === typeof Symbol && Symbol["for"] && Symbol["for"]("react.portal") ||
60106,
me = {
createPortal: function(a, b, c) {
var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
return {
$$typeof: le,
key: null == d ? null : "" + d,
children: a,
containerInfo: b,
implementation: c
}
},
isPortal: function(a) {
return "object" === typeof a && null !== a && a.$$typeof === le
},
REACT_PORTAL_TYPE: le
},
ne = ke.REACT_COROUTINE_TYPE,
oe = ke.REACT_YIELD_TYPE,
pe = me.REACT_PORTAL_TYPE,
qe = ce.createWorkInProgress,
re = ce.createFiberFromElement,
se = ce.createFiberFromFragment,
te = ce.createFiberFromText,
ue = ce.createFiberFromCoroutine,
ve = ce.createFiberFromYield,
we = ce.createFiberFromPortal,
xe = Array.isArray,
ye = F.FunctionalComponent,
ze = F.ClassComponent,
Ae = F.HostText,
Be = F.HostPortal,
Ce = F.CoroutineComponent,
De = F.YieldComponent,
Ee = F.Fragment,
Fe = M.NoEffect,
Ge = M.Placement,
He = M.Deletion,
Ie = "function" === typeof Symbol && Symbol.iterator,
Je = "function" === typeof Symbol && Symbol["for"] && Symbol["for"]("react.element") || 60103;
function Ke(a) {
if (null === a || "undefined" === typeof a) return null;
a = Ie && a[Ie] || a["@@iterator"];
return "function" === typeof a ? a : null
}
function Le(a, b) {
var c = b.ref;
if (null !== c && "function" !== typeof c) {
if (b._owner) {
b = b._owner;
var d = void 0;
b && ("number" === typeof b.tag ? (b.tag !== ze ? z("110") : void 0, d = b.stateNode) : d = b.getPublicInstance());
d ? void 0 : z("147", c);
var e = "" + c;
if (null !== a && null !== a.ref && a.ref._stringRef === e) return a.ref;
a = function(a) {
var b = d.refs === da ? d.refs = {} : d.refs;
null === a ? delete b[e] : b[e] = a
};
a._stringRef = e;
return a
}
"string" !== typeof c ? z("148") : void 0;
b._owner ? void 0 : z("149", c)
}
return c
}
function Me(a, b) {
"textarea" !== a.type && z("31", "[object Object]" === Object.prototype.toString.call(b) ? "object with keys {" + Object.keys(b).join(", ") + "}" : b, "")
}
function Ne(a, b) {
function c(c, d) {
if (b) {
if (!a) {
if (null === d.alternate) return;
d = d.alternate
}
var e = c.lastEffect;
null !== e ? (e.nextEffect = d, c.lastEffect = d) : c.firstEffect = c.lastEffect = d;
d.nextEffect = null;
d.effectTag = He
}
}
function d(a, d) {
if (!b) return null;
for (; null !== d;) c(a, d), d = d.sibling;
return null
}
function e(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 f(b, c) {
if (a) return b = qe(b, c), b.index = 0, b.sibling = null, b;
b.pendingWorkPriority = c;
b.effectTag = Fe;
b.index = 0;
b.sibling = null;
return b
}
function g(a, c, d) {
a.index = d;
if (!b) return c;
d = a.alternate;
if (null !== d) return d = d.index, d < c ? (a.effectTag = Ge, c) : d;
a.effectTag = Ge;
return c
}
function h(a) {
b && null === a.alternate && (a.effectTag = Ge);
return a
}
function k(a, b, c, d) {
if (null === b || b.tag !== Ae) return c = te(c, a.internalContextTag, d), c["return"] = a, c;
b = f(b, d);
b.pendingProps = c;
b["return"] = a;
return b
}
function q(a, b, c, d) {
if (null === b || b.type !== c.type) return d = re(c, a.internalContextTag, d), d.ref = Le(b, c), d["return"] = a, d;
d = f(b,
d);
d.ref = Le(b, c);
d.pendingProps = c.props;
d["return"] = a;
return d
}
function C(a, b, c, d) {
if (null === b || b.tag !== Ce) return c = ue(c, a.internalContextTag, d), c["return"] = a, c;
b = f(b, d);
b.pendingProps = c;
b["return"] = a;
return b
}
function T(a, b, c, d) {
if (null === b || b.tag !== De) return b = ve(c, a.internalContextTag, d), b.type = c.value, b["return"] = a, b;
b = f(b, d);
b.type = c.value;
b["return"] = a;
return b
}
function E(a, b, c, d) {
if (null === b || b.tag !== Be || b.stateNode.containerInfo !== c.containerInfo || b.stateNode.implementation !== c.implementation) return c =
we(c, a.internalContextTag, d), c["return"] = a, c;
b = f(b, d);
b.pendingProps = c.children || [];
b["return"] = a;
return b
}
function x(a, b, c, d) {
if (null === b || b.tag !== Ee) return c = se(c, a.internalContextTag, d), c["return"] = a, c;
b = f(b, d);
b.pendingProps = c;
b["return"] = a;
return b
}
function A(a, b, c) {
if ("string" === typeof b || "number" === typeof b) return b = te("" + b, a.internalContextTag, c), b["return"] = a, b;
if ("object" === typeof b && null !== b) {
switch (b.$$typeof) {
case Je:
return c = re(b, a.internalContextTag, c), c.ref = Le(null, b), c["return"] =
a, c;
case ne:
return b = ue(b, a.internalContextTag, c), b["return"] = a, b;
case oe:
return c = ve(b, a.internalContextTag, c), c.type = b.value, c["return"] = a, c;
case pe:
return b = we(b, a.internalContextTag, c), b["return"] = a, b
}
if (xe(b) || Ke(b)) return b = se(b, a.internalContextTag, c), b["return"] = a, b;
Me(a, b)
}
return null
}
function G(a, b, c, d) {
var e = null !== b ? b.key : null;
if ("string" === typeof c || "number" === typeof c) return null !== e ? null : k(a, b, "" + c, d);
if ("object" === typeof c && null !== c) {
switch (c.$$typeof) {
case Je:
return c.key === e ? q(a,
b, c, d) : null;
case ne:
return c.key === e ? C(a, b, c, d) : null;
case oe:
return null === e ? T(a, b, c, d) : null;
case pe:
return c.key === e ? E(a, b, c, d) : null
}
if (xe(c) || Ke(c)) return null !== e ? null : x(a, b, c, d);
Me(a, c)
}
return null
}
function B(a, b, c, d, e) {
if ("string" === typeof d || "number" === typeof d) return a = a.get(c) || null, k(b, a, "" + d, e);
if ("object" === typeof d && null !== d) {
switch (d.$$typeof) {
case Je:
return a = a.get(null === d.key ? c : d.key) || null, q(b, a, d, e);
case ne:
return a = a.get(null === d.key ? c : d.key) || null, C(b, a, d, e);
case oe:
return a = a.get(c) ||
null, T(b, a, d, e);
case pe:
return a = a.get(null === d.key ? c : d.key) || null, E(b, a, d, e)
}
if (xe(d) || Ke(d)) return a = a.get(c) || null, x(b, a, d, e);
Me(b, d)
}
return null
}
function ja(a, f, h, v) {
for (var K = null, p = null, r = f, k = f = 0, t = null; null !== r && k < h.length; k++) {
r.index > k ? (t = r, r = null) : t = r.sibling;
var m = G(a, r, h[k], v);
if (null === m) {
null === r && (r = t);
break
}
b && r && null === m.alternate && c(a, r);
f = g(m, f, k);
null === p ? K = m : p.sibling = m;
p = m;
r = t
}
if (k === h.length) return d(a, r), K;
if (null === r) {
for (; k < h.length; k++)
if (r = A(a, h[k], v)) f = g(r, f, k), null ===
p ? K = r : p.sibling = r, p = r;
return K
}
for (r = e(a, r); k < h.length; k++)
if (t = B(r, a, k, h[k], v)) {
if (b && null !== t.alternate) r["delete"](null === t.key ? k : t.key);
f = g(t, f, k);
null === p ? K = t : p.sibling = t;
p = t
}
b && r.forEach(function(b) {
return c(a, b)
});
return K
}
function t(a, f, h, v) {
var p = Ke(h);
"function" !== typeof p ? z("150") : void 0;
h = p.call(h);
null == h ? z("151") : void 0;
for (var K = p = null, r = f, k = f = 0, t = null, m = h.next(); null !== r && !m.done; k++, m = h.next()) {
r.index > k ? (t = r, r = null) : t = r.sibling;
var q = G(a, r, m.value, v);
if (null === q) {
r || (r = t);
break
}
b &&
r && null === q.alternate && c(a, r);
f = g(q, f, k);
null === K ? p = q : K.sibling = q;
K = q;
r = t
}
if (m.done) return d(a, r), p;
if (null === r) {
for (; !m.done; k++, m = h.next()) m = A(a, m.value, v), null !== m && (f = g(m, f, k), null === K ? p = m : K.sibling = m, K = m);
return p
}
for (r = e(a, r); !m.done; k++, m = h.next())
if (m = B(r, a, k, m.value, v), null !== m) {
if (b && null !== m.alternate) r["delete"](null === m.key ? k : m.key);
f = g(m, f, k);
null === K ? p = m : K.sibling = m;
K = m
}
b && r.forEach(function(b) {
return c(a, b)
});
return p
}
function p(a, b, e, v) {
for (var g = e.key, h = b; null !== h;) {
if (h.key === g) {
if (h.type ===
e.type) return d(a, h.sibling), b = f(h, v), b.ref = Le(h, e), b.pendingProps = e.props, b["return"] = a, b;
d(a, h);
break
} else c(a, h);
h = h.sibling
}
h = re(e, a.internalContextTag, v);
h.ref = Le(b, e);
h["return"] = a;
return h
}
function m(a, b, e, v) {
for (var h = e.key; null !== b;) {
if (b.key === h) {
if (b.tag === Be && b.stateNode.containerInfo === e.containerInfo && b.stateNode.implementation === e.implementation) return d(a, b.sibling), v = f(b, v), v.pendingProps = e.children || [], v["return"] = a, v;
d(a, b);
break
} else c(a, b);
b = b.sibling
}
e = we(e, a.internalContextTag,
v);
e["return"] = a;
return e
}
return function(a, b, e, v) {
var g = Xb.disableNewFiberFeatures,
B = "object" === typeof e && null !== e;
if (B)
if (g) switch (e.$$typeof) {
case Je:
return h(p(a, b, e, v));
case pe:
return h(m(a, b, e, v))
} else switch (e.$$typeof) {
case Je:
return h(p(a, b, e, v));
case ne:
a: {
for (g = e.key; null !== b;) {
if (b.key === g)
if (b.tag === Ce) {
d(a, b.sibling);
b = f(b, v);
b.pendingProps = e;
b["return"] = a;
a = b;
break a
} else {
d(a, b);
break
}
else c(a, b);
b = b.sibling
}
e = ue(e, a.internalContextTag, v);e["return"] = a;a = e
}
return h(a);
case oe:
a: {
if (null !==
b)
if (b.tag === De) {
d(a, b.sibling);
b = f(b, v);
b.type = e.value;
b["return"] = a;
a = b;
break a
} else d(a, b);b = ve(e, a.internalContextTag, v);b.type = e.value;b["return"] = a;a = b
}
return h(a);
case pe:
return h(m(a, b, e, v))
}
if (g) switch (a.tag) {
case ze:
var k = a.type;
null !== e && !1 !== e ? z("109", k.displayName || k.name || "Component") : void 0;
break;
case ye:
k = a.type, null !== e && !1 !== e ? z("105", k.displayName || k.name || "Component") : void 0
}
if ("string" === typeof e || "number" === typeof e) return e = "" + e, null !== b && b.tag === Ae ? (d(a, b.sibling), b = f(b, v),
b.pendingProps = e, b["return"] = a, a = b) : (d(a, b), e = te(e, a.internalContextTag, v), e["return"] = a, a = e), h(a);
if (xe(e)) return ja(a, b, e, v);
if (Ke(e)) return t(a, b, e, v);
B && Me(a, e);
if (!g && "undefined" === typeof e) switch (a.tag) {
case ze:
case ye:
e = a.type, z("152", e.displayName || e.name || "Component")
}
return d(a, b)
}
}
var Oe = Ne(!0, !0),
Pe = Ne(!1, !0),
Qe = Ne(!1, !1),
Re = {
reconcileChildFibers: Oe,
reconcileChildFibersInPlace: Pe,
mountChildFibersInPlace: Qe,
cloneChildFibers: function(a, b) {
null !== a && b.child !== a.child ? z("153") : void 0;
if (null !== b.child) {
a = b.child;
var c = qe(a, a.pendingWorkPriority);
c.pendingProps = a.pendingProps;
b.child = c;
for (c["return"] = b; null !== a.sibling;) a = a.sibling, c = c.sibling = qe(a, a.pendingWorkPriority), c.pendingProps = a.pendingProps, c["return"] = b;
c.sibling = null
}
}
},
Se = M.Update,
Te = Od.AsyncUpdates,
Ue = S.cacheContext,
Ve = S.getMaskedContext,
We = S.getUnmaskedContext,
Xe = S.isContextConsumer,
Ye = sd.addUpdate,
Ze = sd.addReplaceUpdate,
$e = sd.addForceUpdate,
af = sd.beginUpdateQueue,
bf = S.hasContextChanged,
cf = bb.isMounted;
function df(a, b, c, d) {
function e(a, b) {
b.updater = f;
a.stateNode = b;
Pa.set(b, a)
}
var f = {
isMounted: cf,
enqueueSetState: function(c, d, e) {
c = Pa.get(c);
var f = b(c, !1);
Ye(c, d, void 0 === e ? null : e, f);
a(c, f)
},
enqueueReplaceState: function(c, d, e) {
c = Pa.get(c);
var f = b(c, !1);
Ze(c, d, void 0 === e ? null : e, f);
a(c, f)
},
enqueueForceUpdate: function(c, d) {
c = Pa.get(c);
var e = b(c, !1);
$e(c, void 0 === d ? null : d, e);
a(c, e)
}
};
return {
adoptClassInstance: e,
constructClassInstance: function(a, b) {
var c = a.type,
d = We(a),
f = Xe(a),
h = f ? Ve(a, d) : da;
b = new c(b, h);
e(a, b);
f && Ue(a, d, h);
return b
},
mountClassInstance: function(a, b) {
var c = a.alternate,
d = a.stateNode,
e = d.state || null,
h = a.pendingProps;
h ? void 0 : z("158");
var g = We(a);
d.props = h;
d.state = e;
d.refs = da;
d.context = Ve(a, g);
Xb.enableAsyncSubtreeAPI && null != a.type && null != a.type.prototype && !0 === a.type.prototype.unstable_isAsyncReactComponent && (a.internalContextTag |= Te);
"function" === typeof d.componentWillMount && (g = d.state, d.componentWillMount(), g !== d.state && f.enqueueReplaceState(d, d.state, null), g = a.updateQueue, null !==
g && (d.state = af(c, a, g, d, e, h, b)));
"function" === typeof d.componentDidMount && (a.effectTag |= Se)
},
updateClassInstance: function(a, b, e) {
var h = b.stateNode;
h.props = b.memoizedProps;
h.state = b.memoizedState;
var g = b.memoizedProps,
k = b.pendingProps;
k || (k = g, null == k ? z("159") : void 0);
var E = h.context,
x = We(b);
x = Ve(b, x);
"function" !== typeof h.componentWillReceiveProps || g === k && E === x || (E = h.state, h.componentWillReceiveProps(k, x), h.state !== E && f.enqueueReplaceState(h, h.state, null));
E = b.memoizedState;
e = null !== b.updateQueue ? af(a,
b, b.updateQueue, h, E, k, e) : E;
if (!(g !== k || E !== e || bf() || null !== b.updateQueue && b.updateQueue.hasForceUpdate)) return "function" !== typeof h.componentDidUpdate || g === a.memoizedProps && E === a.memoizedState || (b.effectTag |= Se), !1;
var A = k;
if (null === g || null !== b.updateQueue && b.updateQueue.hasForceUpdate) A = !0;
else {
var G = b.stateNode,
B = b.type;
A = "function" === typeof G.shouldComponentUpdate ? G.shouldComponentUpdate(A, e, x) : B.prototype && B.prototype.isPureReactComponent ? !ea(g, A) || !ea(E, e) : !0
}
A ? ("function" === typeof h.componentWillUpdate &&
h.componentWillUpdate(k, e, x), "function" === typeof h.componentDidUpdate && (b.effectTag |= Se)) : ("function" !== typeof h.componentDidUpdate || g === a.memoizedProps && E === a.memoizedState || (b.effectTag |= Se), c(b, k), d(b, e));
h.props = k;
h.state = e;
h.context = x;
return A
}
}
}
var ef = Re.mountChildFibersInPlace,
ff = Re.reconcileChildFibers,
gf = Re.reconcileChildFibersInPlace,
hf = Re.cloneChildFibers,
jf = sd.beginUpdateQueue,
kf = S.getMaskedContext,
lf = S.getUnmaskedContext,
mf = S.hasContextChanged,
qf = S.pushContextProvider,
rf = S.pushTopLevelContextObject,
sf = S.invalidateContextProvider,
tf = F.IndeterminateComponent,
uf = F.FunctionalComponent,
vf = F.ClassComponent,
wf = F.HostRoot,
xf = F.HostComponent,
yf = F.HostText,
zf = F.HostPortal,
Af = F.CoroutineComponent,
Bf = F.CoroutineHandlerPhase,
Cf = F.YieldComponent,
Df = F.Fragment,
Ef = R.NoWork,
Ff = R.OffscreenPriority,
Gf = M.PerformedWork,
Hf = M.Placement,
If = M.ContentReset,
Jf = M.Err,
Kf = M.Ref,
Lf = Qa.ReactCurrentOwner;
function Mf(a, b, c, d, e) {
function f(a, b, c) {
g(a, b, c, b.pendingWorkPriority)
}
function g(a, b, c, d) {
b.child = null === a ? ef(b, b.child, c, d) : a.child === b.child ? ff(b, b.child, c, d) : gf(b, b.child, c, d)
}
function h(a, b) {
var c = b.ref;
null === c || a && a.ref === c || (b.effectTag |= Kf)
}
function k(a, b, c, d) {
h(a, b);
if (!c) return d && sf(b, !1), q(a, b);
c = b.stateNode;
Lf.current = b;
var e = c.render();
b.effectTag |= Gf;
f(a, b, e);
b.memoizedState = c.state;
b.memoizedProps = c.props;
d && sf(b, !0);
return b.child
}
function q(a, b) {
hf(a, b);
return b.child
}
function C(a,
b) {
switch (b.tag) {
case vf:
qf(b);
break;
case zf:
G(b, b.stateNode.containerInfo)
}
return null
}
var T = a.shouldSetTextContent,
E = a.useSyncScheduling,
x = a.shouldDeprioritizeSubtree,
A = b.pushHostContext,
G = b.pushHostContainer,
B = c.enterHydrationState,
ja = c.resetHydrationState,
t = c.tryToClaimNextHydratableInstance;
a = df(d, e, function(a, b) {
a.memoizedProps = b
}, function(a, b) {
a.memoizedState = b
});
var p = a.adoptClassInstance,
m = a.constructClassInstance,
sb = a.mountClassInstance,
r = a.updateClassInstance;
return {
beginWork: function(a,
b, c) {
if (b.pendingWorkPriority === Ef || b.pendingWorkPriority > c) return C(a, b);
switch (b.tag) {
case tf:
null !== a ? z("155") : void 0;
var d = b.type,
e = b.pendingProps,
g = lf(b);
g = kf(b, g);
d = d(e, g);
b.effectTag |= Gf;
"object" === typeof d && null !== d && "function" === typeof d.render ? (b.tag = vf, e = qf(b), p(b, d), sb(b, c), b = k(a, b, !0, e)) : (b.tag = uf, f(a, b, d), b.memoizedProps = e, b = b.child);
return b;
case uf:
a: {
e = b.type;c = b.pendingProps;d = b.memoizedProps;
if (mf()) null === c && (c = d);
else if (null === c || d === c) {
b = q(a, b);
break a
}
d = lf(b);d = kf(b, d);e = e(c,
d);b.effectTag |= Gf;f(a, b, e);b.memoizedProps = c;b = b.child
}
return b;
case vf:
return e = qf(b), d = void 0, null === a ? b.stateNode ? z("153") : (m(b, b.pendingProps), sb(b, c), d = !0) : d = r(a, b, c), k(a, b, d, e);
case wf:
return e = b.stateNode, e.pendingContext ? rf(b, e.pendingContext, e.pendingContext !== e.context) : e.context && rf(b, e.context, !1), G(b, e.containerInfo), d = b.updateQueue, null !== d ? (e = b.memoizedState, d = jf(a, b, d, null, e, null, c), e === d ? (ja(), b = q(a, b)) : (e = d.element, null !== a && null !== a.child || !B(b) ? (ja(), f(a, b, e)) : (b.effectTag |= Hf,
b.child = ef(b, b.child, e, c)), b.memoizedState = d, b = b.child)) : (ja(), b = q(a, b)), b;
case xf:
A(b);
null === a && t(b);
e = b.type;
var v = b.memoizedProps;
d = b.pendingProps;
null === d && (d = v, null === d ? z("154") : void 0);
g = null !== a ? a.memoizedProps : null;
mf() || null !== d && v !== d ? (v = d.children, T(e, d) ? v = null : g && T(e, g) && (b.effectTag |= If), h(a, b), c !== Ff && !E && x(e, d) ? (b.pendingWorkPriority = Ff, b = null) : (f(a, b, v), b.memoizedProps = d, b = b.child)) : b = q(a, b);
return b;
case yf:
return null === a && t(b), a = b.pendingProps, null === a && (a = b.memoizedProps), b.memoizedProps =
a, null;
case Bf:
b.tag = Af;
case Af:
c = b.pendingProps;
if (mf()) null === c && (c = a && a.memoizedProps, null === c ? z("154") : void 0);
else if (null === c || b.memoizedProps === c) c = b.memoizedProps;
e = c.children;
d = b.pendingWorkPriority;
b.stateNode = null === a ? ef(b, b.stateNode, e, d) : a.child === b.child ? ff(b, b.stateNode, e, d) : gf(b, b.stateNode, e, d);
b.memoizedProps = c;
return b.stateNode;
case Cf:
return null;
case zf:
a: {
G(b, b.stateNode.containerInfo);c = b.pendingWorkPriority;e = b.pendingProps;
if (mf()) null === e && (e = a && a.memoizedProps, null == e ?
z("154") : void 0);
else if (null === e || b.memoizedProps === e) {
b = q(a, b);
break a
}
null === a ? b.child = gf(b, b.child, e, c) : f(a, b, e);b.memoizedProps = e;b = b.child
}
return b;
case Df:
a: {
c = b.pendingProps;
if (mf()) null === c && (c = b.memoizedProps);
else if (null === c || b.memoizedProps === c) {
b = q(a, b);
break a
}
f(a, b, c);b.memoizedProps = c;b = b.child
}
return b;
default:
z("156")
}
},
beginFailedWork: function(a, b, c) {
switch (b.tag) {
case vf:
qf(b);
break;
case wf:
G(b, b.stateNode.containerInfo);
break;
default:
z("157")
}
b.effectTag |= Jf;
null === a ? b.child =
null : b.child !== a.child && (b.child = a.child);
if (b.pendingWorkPriority === Ef || b.pendingWorkPriority > c) return C(a, b);
b.firstEffect = null;
b.lastEffect = null;
g(a, b, null, c);
b.tag === vf && (a = b.stateNode, b.memoizedProps = a.props, b.memoizedState = a.state);
return b.child
}
}
}
var Nf = Re.reconcileChildFibers,
Of = S.popContextProvider,
Pf = F.IndeterminateComponent,
Qf = F.FunctionalComponent,
Rf = F.ClassComponent,
Sf = F.HostRoot,
Tf = F.HostComponent,
Uf = F.HostText,
Vf = F.HostPortal,
Wf = F.CoroutineComponent,
Xf = F.CoroutineHandlerPhase,
Yf = F.YieldComponent,
Zf = F.Fragment,
$f = M.Placement,
ag = M.Ref,
bg = M.Update,
cg = R.OffscreenPriority;
function dg(a, b, c) {
var d = a.createInstance,
e = a.createTextInstance,
f = a.appendInitialChild,
g = a.finalizeInitialChildren,
h = a.prepareUpdate,
k = b.getRootHostContainer,
q = b.popHostContext,
C = b.getHostContext,
T = b.popHostContainer,
E = c.prepareToHydrateHostInstance,
x = c.prepareToHydrateHostTextInstance,
A = c.popHydrationState;
return {
completeWork: function(a, b, c) {
var t = b.pendingProps;
if (null === t) t = b.memoizedProps;
else if (b.pendingWorkPriority !== cg || c === cg) b.pendingProps = null;
switch (b.tag) {
case Qf:
return null;
case Rf:
return Of(b),
null;
case Sf:
t = b.stateNode;
t.pendingContext && (t.context = t.pendingContext, t.pendingContext = null);
if (null === a || null === a.child) A(b), b.effectTag &= ~$f;
return null;
case Tf:
q(b);
c = k();
var p = b.type;
if (null !== a && null != b.stateNode) {
var m = a.memoizedProps,
B = b.stateNode,
r = C();
t = h(B, p, m, t, c, r);
if (b.updateQueue = t) b.effectTag |= bg;
a.ref !== b.ref && (b.effectTag |= ag)
} else {
if (!t) return null === b.stateNode ? z("166") : void 0, null;
a = C();
if (A(b)) E(b, c) && (b.effectTag |= bg);
else {
a = d(p, t, c, a, b);
a: for (m = b.child; null !== m;) {
if (m.tag ===
Tf || m.tag === Uf) f(a, m.stateNode);
else if (m.tag !== Vf && null !== m.child) {
m = m.child;
continue
}
if (m === b) break a;
for (; null === m.sibling;) {
if (null === m["return"] || m["return"] === b) break a;
m = m["return"]
}
m = m.sibling
}
g(a, p, t, c) && (b.effectTag |= bg);
b.stateNode = a
}
null !== b.ref && (b.effectTag |= ag)
}
return null;
case Uf:
if (a && null != b.stateNode) a.memoizedProps !== t && (b.effectTag |= bg);
else {
if ("string" !== typeof t) return null === b.stateNode ? z("166") : void 0, null;
a = k();
c = C();
A(b) ? x(b) && (b.effectTag |= bg) : b.stateNode = e(t, a, c, b)
}
return null;
case Wf:
(t = b.memoizedProps) ? void 0: z("165");
b.tag = Xf;
c = [];
a: for ((p = b.stateNode) && (p["return"] = b); null !== p;) {
if (p.tag === Tf || p.tag === Uf || p.tag === Vf) z("164");
else if (p.tag === Yf) c.push(p.type);
else if (null !== p.child) {
p.child["return"] = p;
p = p.child;
continue
}
for (; null === p.sibling;) {
if (null === p["return"] || p["return"] === b) break a;
p = p["return"]
}
p.sibling["return"] = p["return"];
p = p.sibling
}
p = t.handler;
t = p(t.props, c);
b.child = Nf(b, null !== a ? a.child : null, t, b.pendingWorkPriority);
return b.child;
case Xf:
return b.tag =
Wf, null;
case Yf:
return null;
case Zf:
return null;
case Vf:
return b.effectTag |= bg, T(b), null;
case Pf:
z("167");
default:
z("156")
}
}
}
}
var eg = null,
fg = null;
function gg(a) {
return function(b) {
try {
return a(b)
} catch (c) {}
}
}
var hg = {
injectInternals: function(a) {
if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;
var b = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (!b.supportsFiber) return !0;
try {
var c = b.inject(a);
eg = gg(function(a) {
return b.onCommitFiberRoot(c, a)
});
fg = gg(function(a) {
return b.onCommitFiberUnmount(c, a)
})
} catch (d) {}
return !0
},
onCommitRoot: function(a) {
"function" === typeof eg && eg(a)
},
onCommitUnmount: function(a) {
"function" === typeof fg && fg(a)
}
},
ig = F.ClassComponent,
jg = F.HostRoot,
kg = F.HostComponent,
lg = F.HostText,
mg =
F.HostPortal,
ng = F.CoroutineComponent,
og = sd.commitCallbacks,
pg = hg.onCommitUnmount,
qg = M.Placement,
rg = M.Update,
sg = M.Callback,
tg = M.ContentReset;
function ug(a, b) {
function c(a) {
var c = a.ref;
if (null !== c) try {
c(null)
} catch (m) {
b(a, m)
}
}
function d(a) {
return a.tag === kg || a.tag === jg || a.tag === mg
}
function e(a) {
for (var b = a;;)
if (g(b), null !== b.child && b.tag !== mg) b.child["return"] = b, b = b.child;
else {
if (b === a) break;
for (; null === b.sibling;) {
if (null === b["return"] || b["return"] === a) return;
b = b["return"]
}
b.sibling["return"] = b["return"];
b = b.sibling
}
}
function f(a) {
for (var b = a, c = !1, d = void 0, f = void 0;;) {
if (!c) {
c = b["return"];
a: for (;;) {
null === c ? z("160") : void 0;
switch (c.tag) {
case kg:
d =
c.stateNode;
f = !1;
break a;
case jg:
d = c.stateNode.containerInfo;
f = !0;
break a;
case mg:
d = c.stateNode.containerInfo;
f = !0;
break a
}
c = c["return"]
}
c = !0
}
if (b.tag === kg || b.tag === lg) e(b), f ? B(d, b.stateNode) : G(d, b.stateNode);
else if (b.tag === mg ? d = b.stateNode.containerInfo : g(b), null !== b.child) {
b.child["return"] = b;
b = b.child;
continue
}
if (b === a) break;
for (; null === b.sibling;) {
if (null === b["return"] || b["return"] === a) return;
b = b["return"];
b.tag === mg && (c = !1)
}
b.sibling["return"] = b["return"];
b = b.sibling
}
}
function g(a) {
"function" ===
typeof pg && pg(a);
switch (a.tag) {
case ig:
c(a);
var d = a.stateNode;
if ("function" === typeof d.componentWillUnmount) try {
d.componentWillUnmount()
} catch (m) {
b(a, m)
}
break;
case kg:
c(a);
break;
case ng:
e(a.stateNode);
break;
case mg:
f(a)
}
}
var h = a.commitMount,
k = a.commitUpdate,
q = a.resetTextContent,
C = a.commitTextUpdate,
T = a.appendChild,
E = a.appendChildToContainer,
x = a.insertBefore,
A = a.insertInContainerBefore,
G = a.removeChild,
B = a.removeChildFromContainer,
ja = a.getPublicInstance;
return {
commitPlacement: function(a) {
a: {
for (var b =
a["return"]; null !== b;) {
if (d(b)) {
var c = b;
break a
}
b = b["return"]
}
z("160");c = void 0
}
var e = b = void 0;
switch (c.tag) {
case kg:
b = c.stateNode;
e = !1;
break;
case jg:
b = c.stateNode.containerInfo;
e = !0;
break;
case mg:
b = c.stateNode.containerInfo;
e = !0;
break;
default:
z("161")
}
c.effectTag & tg && (q(b), c.effectTag &= ~tg);a: b: for (c = a;;) {
for (; null === c.sibling;) {
if (null === c["return"] || d(c["return"])) {
c = null;
break a
}
c = c["return"]
}
c.sibling["return"] = c["return"];
for (c = c.sibling; c.tag !== kg && c.tag !== lg;) {
if (c.effectTag & qg) continue b;
if (null === c.child || c.tag === mg) continue b;
else c.child["return"] = c, c = c.child
}
if (!(c.effectTag & qg)) {
c = c.stateNode;
break a
}
}
for (var f = a;;) {
if (f.tag === kg || f.tag === lg) c ? e ? A(b, f.stateNode, c) : x(b, f.stateNode, c) : e ? E(b, f.stateNode) : T(b, f.stateNode);
else if (f.tag !== mg && null !== f.child) {
f.child["return"] = f;
f = f.child;
continue
}
if (f === a) break;
for (; null === f.sibling;) {
if (null === f["return"] || f["return"] === a) return;
f = f["return"]
}
f.sibling["return"] = f["return"];
f = f.sibling
}
},
commitDeletion: function(a) {
f(a);
a["return"] =
null;
a.child = null;
a.alternate && (a.alternate.child = null, a.alternate["return"] = null)
},
commitWork: function(a, b) {
switch (b.tag) {
case ig:
break;
case kg:
var c = b.stateNode;
if (null != c) {
var d = b.memoizedProps;
a = null !== a ? a.memoizedProps : d;
var e = b.type,
f = b.updateQueue;
b.updateQueue = null;
null !== f && k(c, f, e, a, d, b)
}
break;
case lg:
null === b.stateNode ? z("162") : void 0;
c = b.memoizedProps;
C(b.stateNode, null !== a ? a.memoizedProps : c, c);
break;
case jg:
break;
case mg:
break;
default:
z("163")
}
},
commitLifeCycles: function(a, b) {
switch (b.tag) {
case ig:
var c =
b.stateNode;
b.effectTag & rg && (null === a ? c.componentDidMount() : c.componentDidUpdate(a.memoizedProps, a.memoizedState));
b.effectTag & sg && null !== b.updateQueue && og(b, b.updateQueue, c);
break;
case jg:
a = b.updateQueue;
null !== a && og(b, a, b.child && b.child.stateNode);
break;
case kg:
c = b.stateNode;
null === a && b.effectTag & rg && h(c, b.type, b.memoizedProps, b);
break;
case lg:
break;
case mg:
break;
default:
z("163")
}
},
commitAttachRef: function(a) {
var b = a.ref;
if (null !== b) {
var c = a.stateNode;
switch (a.tag) {
case kg:
b(ja(c));
break;
default:
b(c)
}
}
},
commitDetachRef: function(a) {
a = a.ref;
null !== a && a(null)
}
}
}
var vg = vd.createCursor,
wg = vd.pop,
xg = vd.push,
yg = {};
function zg(a) {
function b(a) {
a === yg ? z("174") : void 0;
return a
}
var c = a.getChildHostContext,
d = a.getRootHostContext,
e = vg(yg),
f = vg(yg),
g = vg(yg);
return {
getHostContext: function() {
return b(e.current)
},
getRootHostContainer: function() {
return b(g.current)
},
popHostContainer: function(a) {
wg(e, a);
wg(f, a);
wg(g, a)
},
popHostContext: function(a) {
f.current === a && (wg(e, a), wg(f, a))
},
pushHostContainer: function(a, b) {
xg(g, b, a);
b = d(b);
xg(f, a, a);
xg(e, b, a)
},
pushHostContext: function(a) {
var d = b(g.current),
h = b(e.current);
d = c(h, a.type,
d);
h !== d && (xg(f, a, a), xg(e, d, a))
},
resetHostContainer: function() {
e.current = yg;
g.current = yg
}
}
}
var Ag = F.HostComponent,
Bg = F.HostText,
Cg = F.HostRoot,
Dg = M.Deletion,
Eg = M.Placement,
Fg = ce.createFiberFromHostInstanceForDeletion;
function Gg(a) {
function b(a, b) {
var c = Fg();
c.stateNode = b;
c["return"] = a;
c.effectTag = Dg;
null !== a.lastEffect ? (a.lastEffect.nextEffect = c, a.lastEffect = c) : a.firstEffect = a.lastEffect = c
}
function c(a, b) {
switch (a.tag) {
case Ag:
return f(b, a.type, a.pendingProps);
case Bg:
return g(b, a.pendingProps);
default:
return !1
}
}
function d(a) {
for (a = a["return"]; null !== a && a.tag !== Ag && a.tag !== Cg;) a = a["return"];
x = a
}
var e = a.shouldSetTextContent,
f = a.canHydrateInstance,
g = a.canHydrateTextInstance,
h = a.getNextHydratableSibling,
k = a.getFirstHydratableChild,
q = a.hydrateInstance,
C = a.hydrateTextInstance,
T = a.didNotHydrateInstance,
E = a.didNotFindHydratableInstance;
a = a.didNotFindHydratableTextInstance;
if (!(f && g && h && k && q && C && T && E && a)) return {
enterHydrationState: function() {
return !1
},
resetHydrationState: function() {},
tryToClaimNextHydratableInstance: function() {},
prepareToHydrateHostInstance: function() {
z("175")
},
prepareToHydrateHostTextInstance: function() {
z("176")
},
popHydrationState: function() {
return !1
}
};
var x = null,
A = null,
G = !1;
return {
enterHydrationState: function(a) {
A =
k(a.stateNode.containerInfo);
x = a;
return G = !0
},
resetHydrationState: function() {
A = x = null;
G = !1
},
tryToClaimNextHydratableInstance: function(a) {
if (G) {
var d = A;
if (d) {
if (!c(a, d)) {
d = h(d);
if (!d || !c(a, d)) {
a.effectTag |= Eg;
G = !1;
x = a;
return
}
b(x, A)
}
a.stateNode = d;
x = a;
A = k(d)
} else a.effectTag |= Eg, G = !1, x = a
}
},
prepareToHydrateHostInstance: function(a, b) {
b = q(a.stateNode, a.type, a.memoizedProps, b, a);
a.updateQueue = b;
return null !== b ? !0 : !1
},
prepareToHydrateHostTextInstance: function(a) {
return C(a.stateNode, a.memoizedProps, a)
},
popHydrationState: function(a) {
if (a !==
x) return !1;
if (!G) return d(a), G = !0, !1;
var c = a.type;
if (a.tag !== Ag || "head" !== c && "body" !== c && !e(c, a.memoizedProps))
for (c = A; c;) b(a, c), c = h(c);
d(a);
A = x ? h(a.stateNode) : null;
return !0
}
}
}
var Hg = S.popContextProvider,
Ig = vd.reset,
Jg = Qa.ReactCurrentOwner,
Kg = ce.createWorkInProgress,
Lg = ce.largerPriority,
Mg = hg.onCommitRoot,
U = R.NoWork,
Ng = R.SynchronousPriority,
V = R.TaskPriority,
Og = R.HighPriority,
Pg = R.LowPriority,
Qg = R.OffscreenPriority,
Rg = Od.AsyncUpdates,
Sg = M.PerformedWork,
Tg = M.Placement,
Ug = M.Update,
Vg = M.PlacementAndUpdate,
Wg = M.Deletion,
Xg = M.ContentReset,
Yg = M.Callback,
Zg = M.Err,
$g = M.Ref,
ah = F.HostRoot,
bh = F.HostComponent,
ch = F.HostPortal,
dh = F.ClassComponent,
eh = sd.getUpdatePriority,
fh = S.resetContext;
function gh(a) {
function b() {
for (; null !== la && la.current.pendingWorkPriority === U;) {
la.isScheduled = !1;
var a = la.nextScheduledRoot;
la.nextScheduledRoot = null;
if (la === Bb) return Bb = la = null, y = U, null;
la = a
}
a = la;
for (var b = null, c = U; null !== a;) a.current.pendingWorkPriority !== U && (c === U || c > a.current.pendingWorkPriority) && (c = a.current.pendingWorkPriority, b = a), a = a.nextScheduledRoot;
null !== b ? (y = c, Ig(), fh(), m(), I = Kg(b.current, c)) : (y = U, I = null)
}
function c(c) {
zd = !0;
ma = null;
var d = c.stateNode;
d.current === c ? z("177") : void 0;
y !== Ng && y !== V || Ad++;
Jg.current = null;
if (c.effectTag > Sg)
if (null !== c.lastEffect) {
c.lastEffect.nextEffect = c;
var e = c.firstEffect
} else e = c;
else e = c.firstEffect;
Li();
for (u = e; null !== u;) {
var f = !1,
g = void 0;
try {
for (; null !== u;) {
var h = u.effectTag;
h & Xg && a.resetTextContent(u.stateNode);
if (h & $g) {
var k = u.alternate;
null !== k && Gh(k)
}
switch (h & ~(Yg | Zg | Xg | $g | Sg)) {
case Tg:
nf(u);
u.effectTag &= ~Tg;
break;
case Vg:
nf(u);
u.effectTag &= ~Tg; of (u.alternate, u);
break;
case Ug:
of (u.alternate, u);
break;
case Wg:
Bd = !0, Dh(u), Bd = !1
}
u = u.nextEffect
}
} catch (Cd) {
f = !0, g = Cd
}
f && (null === u ? z("178") : void 0, C(u, g), null !== u && (u = u.nextEffect))
}
Mi();
d.current = c;
for (u = e; null !== u;) {
d = !1;
e = void 0;
try {
for (; null !== u;) {
var yd = u.effectTag;
yd & (Ug | Yg) && Eh(u.alternate, u);
yd & $g && Fh(u);
if (yd & Zg) switch (f = u, g = void 0, null !== Q && (g = Q.get(f), Q["delete"](f), null == g && null !== f.alternate && (f = f.alternate, g = Q.get(f), Q["delete"](f))), null == g ? z("184") : void 0, f.tag) {
case dh:
f.stateNode.componentDidCatch(g.error, {
componentStack: g.componentStack
});
break;
case ah:
null === Ia && (Ia = g.error);
break;
default:
z("157")
}
var m =
u.nextEffect;
u.nextEffect = null;
u = m
}
} catch (Cd) {
d = !0, e = Cd
}
d && (null === u ? z("178") : void 0, C(u, e), null !== u && (u = u.nextEffect))
}
zd = !1;
"function" === typeof Mg && Mg(c.stateNode);
ua && (ua.forEach(G), ua = null);
b()
}
function d(a) {
for (;;) {
var b = v(a.alternate, a, y),
c = a["return"],
d = a.sibling;
var e = a;
if (!(e.pendingWorkPriority !== U && e.pendingWorkPriority > y)) {
for (var f = eh(e), g = e.child; null !== g;) f = Lg(f, g.pendingWorkPriority), g = g.sibling;
e.pendingWorkPriority = f
}
if (null !== b) return b;
null !== c && (null === c.firstEffect && (c.firstEffect =
a.firstEffect), null !== a.lastEffect && (null !== c.lastEffect && (c.lastEffect.nextEffect = a.firstEffect), c.lastEffect = a.lastEffect), a.effectTag > Sg && (null !== c.lastEffect ? c.lastEffect.nextEffect = a : c.firstEffect = a, c.lastEffect = a));
if (null !== d) return d;
if (null !== c) a = c;
else {
ma = a;
break
}
}
return null
}
function e(a) {
var b = r(a.alternate, a, y);
null === b && (b = d(a));
Jg.current = null;
return b
}
function f(a) {
var b = K(a.alternate, a, y);
null === b && (b = d(a));
Jg.current = null;
return b
}
function g(a) {
q(Qg, a)
}
function h() {
if (null !== Q &&
0 < Q.size && y === V)
for (; null !== I;) {
var a = I;
I = null !== Q && (Q.has(a) || null !== a.alternate && Q.has(a.alternate)) ? f(I) : e(I);
if (null === I && (null === ma ? z("179") : void 0, J = V, c(ma), J = y, null === Q || 0 === Q.size || y !== V)) break
}
}
function k(a, d) {
null !== ma ? (J = V, c(ma), h()) : null === I && b();
if (!(y === U || y > a)) {
J = y;
a: do {
if (y <= V)
for (; null !== I && !(I = e(I), null === I && (null === ma ? z("179") : void 0, J = V, c(ma), J = y, h(), y === U || y > a || y > V)););
else if (null !== d)
for (; null !== I && !Cb;)
if (1 < d.timeRemaining()) {
if (I = e(I), null === I)
if (null === ma ? z("179") : void 0,
1 < d.timeRemaining()) {
if (J = V, c(ma), J = y, h(), y === U || y > a || y < Og) break
} else Cb = !0
} else Cb = !0;
switch (y) {
case Ng:
case V:
if (y <= a) continue a;
break a;
case Og:
case Pg:
case Qg:
if (null === d) break a;
if (!Cb && y <= a) continue a;
break a;
case U:
break a;
default:
z("181")
}
} while (1)
}
}
function q(a, b) {
Ba ? z("182") : void 0;
Ba = !0;
Ad = 0;
var c = J,
d = !1,
e = null;
try {
k(a, b)
} catch (Dd) {
d = !0, e = Dd
}
for (; d;) {
if (Wa) {
Ia = e;
break
}
var h = I;
if (null === h) Wa = !0;
else {
var m = C(h, e);
null === m ? z("183") : void 0;
if (!Wa) {
try {
d = m;
e = a;
m = b;
for (var q = d; null !== h;) {
switch (h.tag) {
case dh:
Hg(h);
break;
case bh:
p(h);
break;
case ah:
t(h);
break;
case ch:
t(h)
}
if (h === q || h.alternate === q) break;
h = h["return"]
}
I = f(d);
k(e, m)
} catch (Dd) {
d = !0;
e = Dd;
continue
}
break
}
}
}
J = c;
null !== b && (Db = !1);
y > V && !Db && (pf(g), Db = !0);
a = Ia;
Wa = Cb = Ba = !1;
Ja = Q = Ia = null;
if (null !== a) throw a;
}
function C(a, b) {
var c = Jg.current = null,
d = !1,
e = !1,
f = null;
if (a.tag === ah) c = a, T(a) && (Wa = !0);
else
for (var g = a["return"]; null !== g && null === c;) {
g.tag === dh ? "function" === typeof g.stateNode.componentDidCatch && (d = !0, f = Ra(g), c = g, e = !0) : g.tag === ah && (c = g);
if (T(g)) {
if (Bd ||
null !== ua && (ua.has(g) || null !== g.alternate && ua.has(g.alternate))) return null;
c = null;
e = !1
}
g = g["return"]
}
if (null !== c) {
null === Ja && (Ja = new Set);
Ja.add(c);
var h = "";
g = a;
do {
a: switch (g.tag) {
case ee:
case fe:
case ge:
case he:
var k = g._debugOwner,
m = g._debugSource;
var p = Ra(g);
var q = null;
k && (q = Ra(k));
k = m;
p = "\n in " + (p || "Unknown") + (k ? " (at " + k.fileName.replace(/^.*[\\\/]/, "") + ":" + k.lineNumber + ")" : q ? " (created by " + q + ")" : "");
break a;
default:
p = ""
}
h += p;g = g["return"]
} while (g);
g = h;
a = Ra(a);
null === Q && (Q = new Map);
b = {
componentName: a,
componentStack: g,
error: b,
errorBoundary: d ? c.stateNode : null,
errorBoundaryFound: d,
errorBoundaryName: f,
willRetry: e
};
Q.set(c, b);
try {
console.error(b.error)
} catch (Ni) {
console.error(Ni)
}
zd ? (null === ua && (ua = new Set), ua.add(c)) : G(c);
return c
}
null === Ia && (Ia = b);
return null
}
function T(a) {
return null !== Ja && (Ja.has(a) || null !== a.alternate && Ja.has(a.alternate))
}
function E(a, b) {
return x(a, b, !1)
}
function x(a, b) {
Ad > Oi && (Wa = !0, z("185"));
!Ba && b <= y && (I = null);
for (var c = !0; null !== a && c;) {
c = !1;
if (a.pendingWorkPriority === U ||
a.pendingWorkPriority > b) c = !0, a.pendingWorkPriority = b;
null !== a.alternate && (a.alternate.pendingWorkPriority === U || a.alternate.pendingWorkPriority > b) && (c = !0, a.alternate.pendingWorkPriority = b);
if (null === a["return"])
if (a.tag === ah) {
var d = a.stateNode;
b === U || d.isScheduled || (d.isScheduled = !0, Bb ? Bb.nextScheduledRoot = d : la = d, Bb = d);
if (!Ba) switch (b) {
case Ng:
nc ? q(Ng, null) : q(V, null);
break;
case V:
W ? void 0 : z("186");
break;
default:
Db || (pf(g), Db = !0)
}
} else break;
a = a["return"]
}
}
function A(a, b) {
var c = J;
c === U && (c = !Hh || a.internalContextTag &
Rg || b ? Pg : Ng);
return c === Ng && (Ba || W) ? V : c
}
function G(a) {
x(a, V, !0)
}
var B = zg(a),
ja = Gg(a),
t = B.popHostContainer,
p = B.popHostContext,
m = B.resetHostContainer,
sb = Mf(a, B, ja, E, A),
r = sb.beginWork,
K = sb.beginFailedWork,
v = dg(a, B, ja).completeWork;
B = ug(a, C);
var nf = B.commitPlacement,
Dh = B.commitDeletion,
of = B.commitWork,
Eh = B.commitLifeCycles,
Fh = B.commitAttachRef,
Gh = B.commitDetachRef,
pf = a.scheduleDeferredCallback,
Hh = a.useSyncScheduling,
Li = a.prepareForCommit,
Mi = a.resetAfterCommit,
J = U,
Ba = !1,
Cb = !1,
W = !1,
nc = !1,
I = null,
y = U,
u = null,
ma = null,
la = null,
Bb = null,
Db = !1,
Q = null,
Ja = null,
ua = null,
Ia = null,
Wa = !1,
zd = !1,
Bd = !1,
Oi = 1E3,
Ad = 0;
return {
scheduleUpdate: E,
getPriorityContext: A,
performWithPriority: function(a, b) {
var c = J;
J = a;
try {
b()
} finally {
J = c
}
},
batchedUpdates: function(a, b) {
var c = W;
W = !0;
try {
return a(b)
} finally {
W = c, Ba || W || q(V, null)
}
},
unbatchedUpdates: function(a) {
var b = nc,
c = W;
nc = W;
W = !1;
try {
return a()
} finally {
W = c, nc = b
}
},
flushSync: function(a) {
var b = W,
c = J;
W = !0;
J = Ng;
try {
return a()
} finally {
W = b, J = c, Ba ? z("187") : void 0, q(V, null)
}
},
deferredUpdates: function(a) {
var b =
J;
J = Pg;
try {
return a()
} finally {
J = b
}
}
}
}
function hh() {
z("196")
}
function ih(a) {
if (!a) return da;
a = Pa.get(a);
return "number" === typeof a.tag ? hh(a) : a._processChildContext(a._context)
}
ih._injectFiber = function(a) {
hh = a
};
var jh = sd.addTopLevelUpdate,
kh = S.findCurrentUnmaskedContext,
lh = S.isContextProvider,
mh = S.processChildContext,
nh = F.HostComponent,
oh = bb.findCurrentHostFiber,
ph = bb.findCurrentHostFiberWithNoPortals;
ih._injectFiber(function(a) {
var b = kh(a);
return lh(a) ? mh(a, b, !1) : b
});
var qh = H.TEXT_NODE;
function rh(a) {
for (; a && a.firstChild;) a = a.firstChild;
return a
}
function sh(a, b) {
var c = rh(a);
a = 0;
for (var d; c;) {
if (c.nodeType === qh) {
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 = rh(c)
}
}
var th = null;
function uh() {
!th && l.canUseDOM && (th = "textContent" in document.documentElement ? "textContent" : "innerText");
return th
}
var vh = {
getOffsets: function(a) {
var b = window.getSelection && window.getSelection();
if (!b || 0 === b.rangeCount) return null;
var c = b.anchorNode,
d = b.anchorOffset,
e = b.focusNode,
f = b.focusOffset,
g = b.getRangeAt(0);
try {
g.startContainer.nodeType, g.endContainer.nodeType
} catch (k) {
return null
}
b = b.anchorNode === b.focusNode && b.anchorOffset === b.focusOffset ? 0 : g.toString().length;
var h = g.cloneRange();
h.selectNodeContents(a);
h.setEnd(g.startContainer, g.startOffset);
a = h.startContainer === h.endContainer && h.startOffset === h.endOffset ?
0 : h.toString().length;
g = a + b;
b = document.createRange();
b.setStart(c, d);
b.setEnd(e, f);
c = b.collapsed;
return {
start: c ? g : a,
end: c ? a : g
}
},
setOffsets: function(a, b) {
if (window.getSelection) {
var c = window.getSelection(),
d = a[uh()].length,
e = Math.min(b.start, d);
b = void 0 === b.end ? e : Math.min(b.end, d);
!c.extend && e > b && (d = b, b = e, e = d);
d = sh(a, e);
a = sh(a, b);
if (d && a) {
var f = document.createRange();
f.setStart(d.node, d.offset);
c.removeAllRanges();
e > b ? (c.addRange(f), c.extend(a.node, a.offset)) : (f.setEnd(a.node, a.offset), c.addRange(f))
}
}
}
},
wh = H.ELEMENT_NODE,
xh = {
hasSelectionCapabilities: function(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase();
return b && ("input" === b && "text" === a.type || "textarea" === b || "true" === a.contentEditable)
},
getSelectionInformation: function() {
var a = ia();
return {
focusedElem: a,
selectionRange: xh.hasSelectionCapabilities(a) ? xh.getSelection(a) : null
}
},
restoreSelection: function(a) {
var b = ia(),
c = a.focusedElem;
a = a.selectionRange;
if (b !== c && fa(document.documentElement, c)) {
xh.hasSelectionCapabilities(c) && xh.setSelection(c, a);
b = [];
for (a = c; a = a.parentNode;) a.nodeType === wh && b.push({
element: a,
left: a.scrollLeft,
top: a.scrollTop
});
ha(c);
for (c = 0; c < b.length; c++) a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top
}
},
getSelection: function(a) {
return ("selectionStart" in a ? {
start: a.selectionStart,
end: a.selectionEnd
} : vh.getOffsets(a)) || {
start: 0,
end: 0
}
},
setSelection: function(a, b) {
var c = b.start,
d = b.end;
void 0 === d && (d = c);
"selectionStart" in a ? (a.selectionStart = c, a.selectionEnd = Math.min(d, a.value.length)) : vh.setOffsets(a, b)
}
},
yh = xh,
zh = H.ELEMENT_NODE;
function Ah() {
z("211")
}
function Bh() {
z("212")
}
function Ch(a) {
if (null == a) return null;
if (a.nodeType === zh) return a;
var b = Pa.get(a);
if (b) return "number" === typeof b.tag ? Ah(b) : Bh(b);
"function" === typeof a.render ? z("188") : z("213", Object.keys(a))
}
Ch._injectFiber = function(a) {
Ah = a
};
Ch._injectStack = function(a) {
Bh = a
};
var Ih = F.HostComponent;
function Jh(a) {
if (void 0 !== a._hostParent) return a._hostParent;
if ("number" === typeof a.tag) {
do a = a["return"]; while (a && a.tag !== Ih);
if (a) return a
}
return null
}
function Kh(a, b) {
for (var c = 0, d = a; d; d = Jh(d)) c++;
d = 0;
for (var e = b; e; e = Jh(e)) d++;
for (; 0 < c - d;) a = Jh(a), c--;
for (; 0 < d - c;) b = Jh(b), d--;
for (; c--;) {
if (a === b || a === b.alternate) return a;
a = Jh(a);
b = Jh(b)
}
return null
}
var Lh = {
isAncestor: function(a, b) {
for (; b;) {
if (a === b || a === b.alternate) return !0;
b = Jh(b)
}
return !1
},
getLowestCommonAncestor: Kh,
getParentInstance: function(a) {
return Jh(a)
},
traverseTwoPhase: function(a, b, c) {
for (var d = []; a;) d.push(a), a = Jh(a);
for (a = d.length; 0 < a--;) b(d[a], "captured", c);
for (a = 0; a < d.length; a++) b(d[a], "bubbled", c)
},
traverseEnterLeave: function(a, b, c, d, e) {
for (var f = a && b ? Kh(a, b) : null, g = []; a && a !== f;) g.push(a), a = Jh(a);
for (a = []; b && b !== f;) a.push(b), b = Jh(b);
for (b = 0; b < g.length; b++) c(g[b], "bubbled", d);
for (b =
a.length; 0 < b--;) c(a[b], "captured", e)
}
},
Mh = Kb.getListener;
function Nh(a, b, c) {
if (b = Mh(a, c.dispatchConfig.phasedRegistrationNames[b])) c._dispatchListeners = Ab(c._dispatchListeners, b), c._dispatchInstances = Ab(c._dispatchInstances, a)
}
function Oh(a) {
a && a.dispatchConfig.phasedRegistrationNames && Lh.traverseTwoPhase(a._targetInst, Nh, a)
}
function Ph(a) {
if (a && a.dispatchConfig.phasedRegistrationNames) {
var b = a._targetInst;
b = b ? Lh.getParentInstance(b) : null;
Lh.traverseTwoPhase(b, Nh, a)
}
}
function Qh(a, b, c) {
a && c && c.dispatchConfig.registrationName && (b = Mh(a, c.dispatchConfig.registrationName)) && (c._dispatchListeners = Ab(c._dispatchListeners, b), c._dispatchInstances = Ab(c._dispatchInstances, a))
}
function Rh(a) {
a && a.dispatchConfig.registrationName && Qh(a._targetInst, null, a)
}
var Sh = {
accumulateTwoPhaseDispatches: function(a) {
Eb(a, Oh)
},
accumulateTwoPhaseDispatchesSkipTarget: function(a) {
Eb(a, Ph)
},
accumulateDirectDispatches: function(a) {
Eb(a, Rh)
},
accumulateEnterLeaveDispatches: function(a, b, c, d) {
Lh.traverseEnterLeave(c, d, Qh, a, b)
}
},
X = {
_root: null,
_startText: null,
_fallbackText: null
},
Th = {
initialize: function(a) {
X._root = a;
X._startText = Th.getText();
return !0
},
reset: function() {
X._root = null;
X._startText = null;
X._fallbackText = null
},
getData: function() {
if (X._fallbackText) return X._fallbackText;
var a, b = X._startText,
c = b.length,
d, e = Th.getText(),
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++);
X._fallbackText = e.slice(a, 1 < d ? 1 - d : void 0);
return X._fallbackText
},
getText: function() {
return "value" in X._root ? X._root.value : X._root[uh()]
}
},
Uh = Th,
Vh = "dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),
Wh = {
type: null,
target: null,
currentTarget: w.thatReturnsNull,
eventPhase: null,
bubbles: null,
cancelable: null,
timeStamp: function(a) {
return a.timeStamp || Date.now()
},
defaultPrevented: null,
isTrusted: null
};
function Y(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) ? w.thatReturnsTrue : w.thatReturnsFalse;
this.isPropagationStopped = w.thatReturnsFalse;
return this
}
n(Y.prototype, {
preventDefault: function() {
this.defaultPrevented = !0;
var a = this.nativeEvent;
a && (a.preventDefault ? a.preventDefault() : "unknown" !== typeof a.returnValue && (a.returnValue = !1), this.isDefaultPrevented = w.thatReturnsTrue)
},
stopPropagation: function() {
var a = this.nativeEvent;
a && (a.stopPropagation ? a.stopPropagation() : "unknown" !== typeof a.cancelBubble && (a.cancelBubble = !0), this.isPropagationStopped = w.thatReturnsTrue)
},
persist: function() {
this.isPersistent = w.thatReturnsTrue
},
isPersistent: w.thatReturnsFalse,
destructor: function() {
var a = this.constructor.Interface,
b;
for (b in a) this[b] = null;
for (a = 0; a < Vh.length; a++) this[Vh[a]] = null
}
});
Y.Interface = Wh;
Y.augmentClass = function(a, b) {
function c() {}
c.prototype = this.prototype;
var d = new c;
n(d, a.prototype);
a.prototype = d;
a.prototype.constructor = a;
a.Interface = n({}, this.Interface, b);
a.augmentClass = this.augmentClass;
Xh(a)
};
Xh(Y);
function Yh(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 Zh(a) {
a instanceof this ? void 0 : z("223");
a.destructor();
10 > this.eventPool.length && this.eventPool.push(a)
}
function Xh(a) {
a.eventPool = [];
a.getPooled = Yh;
a.release = Zh
}
function $h(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Y.augmentClass($h, {
data: null
});
function ai(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Y.augmentClass(ai, {
data: null
});
var bi = [9, 13, 27, 32],
ci = l.canUseDOM && "CompositionEvent" in window,
di = null;
l.canUseDOM && "documentMode" in document && (di = document.documentMode);
var ei;
if (ei = l.canUseDOM && "TextEvent" in window && !di) {
var fi = window.opera;
ei = !("object" === typeof fi && "function" === typeof fi.version && 12 >= parseInt(fi.version(), 10))
}
var gi = ei,
hi = l.canUseDOM && (!ci || di && 8 < di && 11 >= di),
ii = String.fromCharCode(32),
ji = {
beforeInput: {
phasedRegistrationNames: {
bubbled: "onBeforeInput",
captured: "onBeforeInputCapture"
},
dependencies: ["topCompositionEnd", "topKeyPress", "topTextInput", "topPaste"]
},
compositionEnd: {
phasedRegistrationNames: {
bubbled: "onCompositionEnd",
captured: "onCompositionEndCapture"
},
dependencies: "topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")
},
compositionStart: {
phasedRegistrationNames: {
bubbled: "onCompositionStart",
captured: "onCompositionStartCapture"
},
dependencies: "topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")
},
compositionUpdate: {
phasedRegistrationNames: {
bubbled: "onCompositionUpdate",
captured: "onCompositionUpdateCapture"
},
dependencies: "topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")
}
},
ki = !1;
function li(a, b) {
switch (a) {
case "topKeyUp":
return -1 !== bi.indexOf(b.keyCode);
case "topKeyDown":
return 229 !== b.keyCode;
case "topKeyPress":
case "topMouseDown":
case "topBlur":
return !0;
default:
return !1
}
}
function mi(a) {
a = a.detail;
return "object" === typeof a && "data" in a ? a.data : null
}
var ni = !1;
function oi(a, b) {
switch (a) {
case "topCompositionEnd":
return mi(b);
case "topKeyPress":
if (32 !== b.which) return null;
ki = !0;
return ii;
case "topTextInput":
return a = b.data, a === ii && ki ? null : a;
default:
return null
}
}
function pi(a, b) {
if (ni) return "topCompositionEnd" === a || !ci && li(a, b) ? (a = Uh.getData(), Uh.reset(), ni = !1, a) : null;
switch (a) {
case "topPaste":
return null;
case "topKeyPress":
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 "topCompositionEnd":
return hi ? null : b.data;
default:
return null
}
}
var qi = {
eventTypes: ji,
extractEvents: function(a, b, c, d) {
var e;
if (ci) b: {
switch (a) {
case "topCompositionStart":
var f = ji.compositionStart;
break b;
case "topCompositionEnd":
f = ji.compositionEnd;
break b;
case "topCompositionUpdate":
f = ji.compositionUpdate;
break b
}
f = void 0
}
else ni ? li(a, c) && (f = ji.compositionEnd) : "topKeyDown" === a && 229 === c.keyCode && (f = ji.compositionStart);
f ? (hi && (ni || f !== ji.compositionStart ? f === ji.compositionEnd && ni && (e = Uh.getData()) : ni = Uh.initialize(d)), f = $h.getPooled(f, b, c, d), e ? f.data = e : (e = mi(c),
null !== e && (f.data = e)), Sh.accumulateTwoPhaseDispatches(f), e = f) : e = null;
(a = gi ? oi(a, c) : pi(a, c)) ? (b = ai.getPooled(ji.beforeInput, b, c, d), b.data = a, Sh.accumulateTwoPhaseDispatches(b)) : b = null;
return [e, b]
}
},
ri = {
color: !0,
date: !0,
datetime: !0,
"datetime-local": !0,
email: !0,
month: !0,
number: !0,
password: !0,
range: !0,
search: !0,
tel: !0,
text: !0,
time: !0,
url: !0,
week: !0
};
function si(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase();
return "input" === b ? !!ri[a.type] : "textarea" === b ? !0 : !1
}
var ti = {
change: {
phasedRegistrationNames: {
bubbled: "onChange",
captured: "onChangeCapture"
},
dependencies: "topBlur topChange topClick topFocus topInput topKeyDown topKeyUp topSelectionChange".split(" ")
}
};
function ui(a, b) {
if (Bc.updateValueIfChanged(b)) return a
}
var vi = !1;
l.canUseDOM && (vi = !document.documentMode || 9 < document.documentMode);
function wi(a, b, c) {
if ("topInput" === a || "topChange" === a || "topSelectionChange" === a || "topKeyUp" === a || "topKeyDown" === a) return ui(b, c)
}
function xi(a, b, c) {
if ("topInput" === a || "topChange" === a) return ui(b, c)
}
function yi(a, b, c) {
if ("topChange" === a) return ui(b, c)
}
var zi = {
eventTypes: ti,
extractEvents: function(a, b, c, d) {
var e = b ? L.getNodeFromInstance(b) : window;
vi || "topSelectionChange" !== a || (d = e = ia()) && (b = L.getInstanceFromNode(e));
var f = e;
var g = f.nodeName && f.nodeName.toLowerCase();
if (f = "select" === g || "input" === g && "file" === f.type ? yi : si(e) && !vi ? wi : xi)
if (f = f(a, b, e)) return b = e, c = Y.getPooled(ti.change, f, c, d), c.type = "change", nb.enqueueStateRestore(b), Sh.accumulateTwoPhaseDispatches(c), c;
"topBlur" === a && (c = e, null != b && (b = b._wrapperState || c._wrapperState) && b.controlled && "number" ===
c.type && (b = "" + c.value, c.getAttribute("value") !== b && c.setAttribute("value", b)))
}
};
function Ai(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Y.augmentClass(Ai, {
view: function(a) {
if (a.view) return a.view;
a = vb(a);
return a.window === a ? a : (a = a.ownerDocument) ? a.defaultView || a.parentWindow : window
},
detail: function(a) {
return a.detail || 0
}
});
var Bi = {
Alt: "altKey",
Control: "ctrlKey",
Meta: "metaKey",
Shift: "shiftKey"
};
function Ci(a) {
var b = this.nativeEvent;
return b.getModifierState ? b.getModifierState(a) : (a = Bi[a]) ? !!b[a] : !1
}
function Di() {
return Ci
}
function Ei(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Ai.augmentClass(Ei, {
screenX: null,
screenY: null,
clientX: null,
clientY: null,
pageX: null,
pageY: null,
ctrlKey: null,
shiftKey: null,
altKey: null,
metaKey: null,
getModifierState: Di,
button: null,
buttons: null,
relatedTarget: function(a) {
return a.relatedTarget || (a.fromElement === a.srcElement ? a.toElement : a.fromElement)
}
});
var Fi = {
mouseEnter: {
registrationName: "onMouseEnter",
dependencies: ["topMouseOut", "topMouseOver"]
},
mouseLeave: {
registrationName: "onMouseLeave",
dependencies: ["topMouseOut", "topMouseOver"]
}
},
Gi = {
eventTypes: Fi,
extractEvents: function(a, b, c, d) {
if ("topMouseOver" === a && (c.relatedTarget || c.fromElement) || "topMouseOut" !== a && "topMouseOver" !== a) return null;
var e = d.window === d ? d : (e = d.ownerDocument) ? e.defaultView || e.parentWindow : window;
"topMouseOut" === a ? (a = b, b = (b = c.relatedTarget || c.toElement) ? L.getClosestInstanceFromNode(b) :
null) : a = null;
if (a === b) return null;
var f = null == a ? e : L.getNodeFromInstance(a);
e = null == b ? e : L.getNodeFromInstance(b);
var g = Ei.getPooled(Fi.mouseLeave, a, c, d);
g.type = "mouseleave";
g.target = f;
g.relatedTarget = e;
c = Ei.getPooled(Fi.mouseEnter, b, c, d);
c.type = "mouseenter";
c.target = e;
c.relatedTarget = f;
Sh.accumulateEnterLeaveDispatches(g, c, a, b);
return [g, c]
}
},
Hi = H.DOCUMENT_NODE,
Ii = l.canUseDOM && "documentMode" in document && 11 >= document.documentMode,
Ji = {
select: {
phasedRegistrationNames: {
bubbled: "onSelect",
captured: "onSelectCapture"
},
dependencies: "topBlur topContextMenu topFocus topKeyDown topKeyUp topMouseDown topMouseUp topSelectionChange".split(" ")
}
},
Ki = null,
Pi = null,
Qi = null,
Ri = !1,
Si = P.isListeningToAllDependencies;
function Ti(a, b) {
if (Ri || null == Ki || Ki !== ia()) return null;
var c = Ki;
"selectionStart" in c && yh.hasSelectionCapabilities(c) ? c = {
start: c.selectionStart,
end: c.selectionEnd
} : window.getSelection ? (c = window.getSelection(), c = {
anchorNode: c.anchorNode,
anchorOffset: c.anchorOffset,
focusNode: c.focusNode,
focusOffset: c.focusOffset
}) : c = void 0;
return Qi && ea(Qi, c) ? null : (Qi = c, a = Y.getPooled(Ji.select, Pi, a, b), a.type = "select", a.target = Ki, Sh.accumulateTwoPhaseDispatches(a), a)
}
var Ui = {
eventTypes: Ji,
extractEvents: function(a, b, c, d) {
var e = d.window === d ? d.document : d.nodeType === Hi ? d : d.ownerDocument;
if (!e || !Si("onSelect", e)) return null;
e = b ? L.getNodeFromInstance(b) : window;
switch (a) {
case "topFocus":
if (si(e) || "true" === e.contentEditable) Ki = e, Pi = b, Qi = null;
break;
case "topBlur":
Qi = Pi = Ki = null;
break;
case "topMouseDown":
Ri = !0;
break;
case "topContextMenu":
case "topMouseUp":
return Ri = !1, Ti(c, d);
case "topSelectionChange":
if (Ii) break;
case "topKeyDown":
case "topKeyUp":
return Ti(c, d)
}
return null
}
};
function Vi(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Y.augmentClass(Vi, {
animationName: null,
elapsedTime: null,
pseudoElement: null
});
function Wi(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Y.augmentClass(Wi, {
clipboardData: function(a) {
return "clipboardData" in a ? a.clipboardData : window.clipboardData
}
});
function Xi(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Ai.augmentClass(Xi, {
relatedTarget: null
});
function Yi(a) {
var b = a.keyCode;
"charCode" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;
return 32 <= a || 13 === a ? a : 0
}
var Zi = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
Up: "ArrowUp",
Right: "ArrowRight",
Down: "ArrowDown",
Del: "Delete",
Win: "OS",
Menu: "ContextMenu",
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified"
},
$i = {
8: "Backspace",
9: "Tab",
12: "Clear",
13: "Enter",
16: "Shift",
17: "Control",
18: "Alt",
19: "Pause",
20: "CapsLock",
27: "Escape",
32: " ",
33: "PageUp",
34: "PageDown",
35: "End",
36: "Home",
37: "ArrowLeft",
38: "ArrowUp",
39: "ArrowRight",
40: "ArrowDown",
45: "Insert",
46: "Delete",
112: "F1",
113: "F2",
114: "F3",
115: "F4",
116: "F5",
117: "F6",
118: "F7",
119: "F8",
120: "F9",
121: "F10",
122: "F11",
123: "F12",
144: "NumLock",
145: "ScrollLock",
224: "Meta"
};
function aj(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Ai.augmentClass(aj, {
key: function(a) {
if (a.key) {
var b = Zi[a.key] || a.key;
if ("Unidentified" !== b) return b
}
return "keypress" === a.type ? (a = Yi(a), 13 === a ? "Enter" : String.fromCharCode(a)) : "keydown" === a.type || "keyup" === a.type ? $i[a.keyCode] || "Unidentified" : ""
},
location: null,
ctrlKey: null,
shiftKey: null,
altKey: null,
metaKey: null,
repeat: null,
locale: null,
getModifierState: Di,
charCode: function(a) {
return "keypress" === a.type ? Yi(a) : 0
},
keyCode: function(a) {
return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0
},
which: function(a) {
return "keypress" ===
a.type ? Yi(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0
}
});
function bj(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Ei.augmentClass(bj, {
dataTransfer: null
});
function cj(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Ai.augmentClass(cj, {
touches: null,
targetTouches: null,
changedTouches: null,
altKey: null,
metaKey: null,
ctrlKey: null,
shiftKey: null,
getModifierState: Di
});
function dj(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Y.augmentClass(dj, {
propertyName: null,
elapsedTime: null,
pseudoElement: null
});
function ej(a, b, c, d) {
return Y.call(this, a, b, c, d)
}
Ei.augmentClass(ej, {
deltaX: function(a) {
return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0
},
deltaY: function(a) {
return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0
},
deltaZ: null,
deltaMode: null
});
var fj = {},
gj = {};
"abort animationEnd animationIteration animationStart blur cancel canPlay canPlayThrough click close contextMenu copy cut doubleClick drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error focus input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing progress rateChange reset scroll seeked seeking stalled submit suspend timeUpdate toggle touchCancel touchEnd touchMove touchStart transitionEnd volumeChange waiting wheel".split(" ").forEach(function(a) {
var b = a[0].toUpperCase() +
a.slice(1),
c = "on" + b;
b = "top" + b;
c = {
phasedRegistrationNames: {
bubbled: c,
captured: c + "Capture"
},
dependencies: [b]
};
fj[a] = c;
gj[b] = c
});
var hj = {
eventTypes: fj,
extractEvents: function(a, b, c, d) {
var e = gj[a];
if (!e) return null;
switch (a) {
case "topAbort":
case "topCancel":
case "topCanPlay":
case "topCanPlayThrough":
case "topClose":
case "topDurationChange":
case "topEmptied":
case "topEncrypted":
case "topEnded":
case "topError":
case "topInput":
case "topInvalid":
case "topLoad":
case "topLoadedData":
case "topLoadedMetadata":
case "topLoadStart":
case "topPause":
case "topPlay":
case "topPlaying":
case "topProgress":
case "topRateChange":
case "topReset":
case "topSeeked":
case "topSeeking":
case "topStalled":
case "topSubmit":
case "topSuspend":
case "topTimeUpdate":
case "topToggle":
case "topVolumeChange":
case "topWaiting":
var f = Y;
break;
case "topKeyPress":
if (0 === Yi(c)) return null;
case "topKeyDown":
case "topKeyUp":
f = aj;
break;
case "topBlur":
case "topFocus":
f = Xi;
break;
case "topClick":
if (2 === c.button) return null;
case "topDoubleClick":
case "topMouseDown":
case "topMouseMove":
case "topMouseUp":
case "topMouseOut":
case "topMouseOver":
case "topContextMenu":
f = Ei;
break;
case "topDrag":
case "topDragEnd":
case "topDragEnter":
case "topDragExit":
case "topDragLeave":
case "topDragOver":
case "topDragStart":
case "topDrop":
f = bj;
break;
case "topTouchCancel":
case "topTouchEnd":
case "topTouchMove":
case "topTouchStart":
f =
cj;
break;
case "topAnimationEnd":
case "topAnimationIteration":
case "topAnimationStart":
f = Vi;
break;
case "topTransitionEnd":
f = dj;
break;
case "topScroll":
f = Ai;
break;
case "topWheel":
f = ej;
break;
case "topCopy":
case "topCut":
case "topPaste":
f = Wi
}
f ? void 0 : z("86", a);
a = f.getPooled(e, b, c, d);
Sh.accumulateTwoPhaseDispatches(a);
return a
}
};
O.setHandleTopLevel(P.handleTopLevel);
Kb.injection.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));
ib.injection.injectComponentTree(L);
Kb.injection.injectEventPluginsByName({
SimpleEventPlugin: hj,
EnterLeaveEventPlugin: Gi,
ChangeEventPlugin: zi,
SelectEventPlugin: Ui,
BeforeInputEventPlugin: qi
});
var ij = D.injection.MUST_USE_PROPERTY,
Z = D.injection.HAS_BOOLEAN_VALUE,
jj = D.injection.HAS_NUMERIC_VALUE,
kj = D.injection.HAS_POSITIVE_NUMERIC_VALUE,
lj = {
Properties: {
allowFullScreen: Z,
async: Z,
autoPlay: Z,
capture: Z,
checked: ij | Z,
cols: kj,
controls: Z,
"default": Z,
defer: Z,
disabled: Z,
download: D.injection.HAS_OVERLOADED_BOOLEAN_VALUE,
formNoValidate: Z,
hidden: Z,
loop: Z,
multiple: ij | Z,
muted: ij | Z,
noValidate: Z,
open: Z,
playsInline: Z,
readOnly: Z,
required: Z,
reversed: Z,
rows: kj,
rowSpan: jj,
scoped: Z,
seamless: Z,
selected: ij | Z,
size: kj,
start: jj,
span: kj,
style: 0,
itemScope: Z,
acceptCharset: 0,
className: 0,
htmlFor: 0,
httpEquiv: 0,
value: 0,
autoComplete: 0,
allowTransparency: 0,
contentEditable: 0,
draggable: 0,
spellCheck: 0,
autoCapitalize: 0,
autoCorrect: 0,
autoSave: 0
},
DOMAttributeNames: {
acceptCharset: "accept-charset",
className: "class",
htmlFor: "for",
httpEquiv: "http-equiv"
},
DOMMutationMethods: {
value: function(a, b) {
if (null == b) return a.removeAttribute("value");
"number" !== a.type || !1 === a.hasAttribute("value") ? a.setAttribute("value", "" + b) : a.validity && !a.validity.badInput &&
a.ownerDocument.activeElement !== a && a.setAttribute("value", "" + b)
}
}
},
mj = {
xlink: "http://www.w3.org/1999/xlink",
xml: "http://www.w3.org/XML/1998/namespace"
},
nj = {
Properties: {},
DOMAttributeNamespaces: {
xlinkActuate: mj.xlink,
xlinkArcrole: mj.xlink,
xlinkHref: mj.xlink,
xlinkRole: mj.xlink,
xlinkShow: mj.xlink,
xlinkTitle: mj.xlink,
xlinkType: mj.xlink,
xmlBase: mj.xml,
xmlLang: mj.xml,
xmlSpace: mj.xml
},
DOMAttributeNames: {}
},
oj = /[\-\:]([a-z])/g;
function pj(a) {
return a[1].toUpperCase()
}
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space autoReverse externalResourcesRequired preserveAlpha".split(" ").forEach(function(a) {
var b = a.replace(oj,
pj);
nj.Properties[b] = 0;
nj.DOMAttributeNames[b] = a
});
D.injection.injectDOMPropertyConfig(lj);
D.injection.injectDOMPropertyConfig(nj);
var qj = aa.isValidElement,
rj = hg.injectInternals,
sj = H.ELEMENT_NODE,
tj = H.TEXT_NODE,
uj = H.COMMENT_NODE,
vj = H.DOCUMENT_NODE,
wj = H.DOCUMENT_FRAGMENT_NODE,
xj = D.ROOT_ATTRIBUTE_NAME,
yj = na.getChildNamespace,
zj = Tc.createElement,
Aj = Tc.setInitialProperties,
Bj = Tc.diffProperties,
Cj = Tc.updateProperties,
Dj = Tc.diffHydratedProperties,
Ej = Tc.diffHydratedText,
Fj = Tc.warnForDeletedHydratableElement,
Gj = Tc.warnForDeletedHydratableText,
Hj = Tc.warnForInsertedHydratedElement,
Ij = Tc.warnForInsertedHydratedText,
Jj = L.precacheFiberNode,
Kj = L.updateFiberProps;
nb.injection.injectFiberControlledHostComponent(Tc);
Ch._injectFiber(function(a) {
return Lj.findHostInstance(a)
});
var Mj = null,
Nj = null;
function Oj(a) {
return !(!a || a.nodeType !== sj && a.nodeType !== vj && a.nodeType !== wj && (a.nodeType !== uj || " react-mount-point-unstable " !== a.nodeValue))
}
function Pj(a) {
a = a ? a.nodeType === vj ? a.documentElement : a.firstChild : null;
return !(!a || a.nodeType !== sj || !a.hasAttribute(xj))
}
var Lj = function(a) {
var b = a.getPublicInstance;
a = gh(a);
var c = a.scheduleUpdate,
d = a.getPriorityContext;
return {
createContainer: function(a) {
var b = de();
a = {
current: b,
containerInfo: a,
isScheduled: !1,
nextScheduledRoot: null,
context: null,
pendingContext: null
};
return b.stateNode = a
},
updateContainer: function(a, b, g, h) {
var e = b.current;
g = ih(g);
null === b.context ? b.context = g : b.pendingContext = g;
b = h;
h = d(e, Xb.enableAsyncSubtreeAPI && null != a && null != a.type && null != a.type.prototype && !0 === a.type.prototype.unstable_isAsyncReactComponent);
a = {
element: a
};
jh(e, a, void 0 === b ? null : b, h);
c(e, h)
},
performWithPriority: a.performWithPriority,
batchedUpdates: a.batchedUpdates,
unbatchedUpdates: a.unbatchedUpdates,
deferredUpdates: a.deferredUpdates,
flushSync: a.flushSync,
getPublicRootInstance: function(a) {
a = a.current;
if (!a.child) return null;
switch (a.child.tag) {
case nh:
return b(a.child.stateNode);
default:
return a.child.stateNode
}
},
findHostInstance: function(a) {
a = oh(a);
return null === a ? null : a.stateNode
},
findHostInstanceWithNoPortals: function(a) {
a = ph(a);
return null ===
a ? null : a.stateNode
}
}
}({
getRootHostContext: function(a) {
if (a.nodeType === vj) a = (a = a.documentElement) ? a.namespaceURI : yj(null, "");
else {
var b = a.nodeType === uj ? a.parentNode : a;
a = b.namespaceURI || null;
b = b.tagName;
a = yj(a, b)
}
return a
},
getChildHostContext: function(a, b) {
return yj(a, b)
},
getPublicInstance: function(a) {
return a
},
prepareForCommit: function() {
Mj = P.isEnabled();
Nj = yh.getSelectionInformation();
P.setEnabled(!1)
},
resetAfterCommit: function() {
yh.restoreSelection(Nj);
Nj = null;
P.setEnabled(Mj);
Mj = null
},
createInstance: function(a,
b, c, d, e) {
a = zj(a, b, c, d);
Jj(e, a);
Kj(a, b);
return a
},
appendInitialChild: function(a, b) {
a.appendChild(b)
},
finalizeInitialChildren: function(a, b, c, d) {
Aj(a, b, c, d);
a: {
switch (b) {
case "button":
case "input":
case "select":
case "textarea":
a = !!c.autoFocus;
break a
}
a = !1
}
return a
},
prepareUpdate: function(a, b, c, d, e) {
return Bj(a, b, c, d, e)
},
commitMount: function(a) {
a.focus()
},
commitUpdate: function(a, b, c, d, e) {
Kj(a, e);
Cj(a, b, c, d, e)
},
shouldSetTextContent: function(a, b) {
return "textarea" === a || "string" === typeof b.children || "number" ===
typeof b.children || "object" === typeof b.dangerouslySetInnerHTML && null !== b.dangerouslySetInnerHTML && "string" === typeof b.dangerouslySetInnerHTML.__html
},
resetTextContent: function(a) {
a.textContent = ""
},
shouldDeprioritizeSubtree: function(a, b) {
return !!b.hidden
},
createTextInstance: function(a, b, c, d) {
a = document.createTextNode(a);
Jj(d, a);
return a
},
commitTextUpdate: function(a, b, c) {
a.nodeValue = c
},
appendChild: function(a, b) {
a.appendChild(b)
},
appendChildToContainer: function(a, b) {
a.nodeType === uj ? a.parentNode.insertBefore(b,
a) : a.appendChild(b)
},
insertBefore: function(a, b, c) {
a.insertBefore(b, c)
},
insertInContainerBefore: function(a, b, c) {
a.nodeType === uj ? a.parentNode.insertBefore(b, c) : a.insertBefore(b, c)
},
removeChild: function(a, b) {
a.removeChild(b)
},
removeChildFromContainer: function(a, b) {
a.nodeType === uj ? a.parentNode.removeChild(b) : a.removeChild(b)
},
canHydrateInstance: function(a, b) {
return a.nodeType === sj && b === a.nodeName.toLowerCase()
},
canHydrateTextInstance: function(a, b) {
return "" === b ? !1 : a.nodeType === tj
},
getNextHydratableSibling: function(a) {
for (a =
a.nextSibling; a && a.nodeType !== sj && a.nodeType !== tj;) a = a.nextSibling;
return a
},
getFirstHydratableChild: function(a) {
for (a = a.firstChild; a && a.nodeType !== sj && a.nodeType !== tj;) a = a.nextSibling;
return a
},
hydrateInstance: function(a, b, c, d, e) {
Jj(e, a);
Kj(a, c);
return Dj(a, b, c, d)
},
hydrateTextInstance: function(a, b, c) {
Jj(c, a);
return Ej(a, b)
},
didNotHydrateInstance: function(a, b) {
1 === b.nodeType ? Fj(a, b) : Gj(a, b)
},
didNotFindHydratableInstance: function(a, b, c) {
Hj(a, b, c)
},
didNotFindHydratableTextInstance: function(a, b) {
Ij(a,
b)
},
scheduleDeferredCallback: ed.rIC,
useSyncScheduling: !0
});
tb.injection.injectFiberBatchedUpdates(Lj.batchedUpdates);
function Qj(a, b, c, d, e) {
Oj(c) ? void 0 : z("200");
var f = c._reactRootContainer;
if (f) Lj.updateContainer(b, f, a, e);
else {
if (!d && !Pj(c))
for (d = void 0; d = c.lastChild;) c.removeChild(d);
var g = Lj.createContainer(c);
f = c._reactRootContainer = g;
Lj.unbatchedUpdates(function() {
Lj.updateContainer(b, g, a, e)
})
}
return Lj.getPublicRootInstance(f)
}
var Rj = {
hydrate: function(a, b, c) {
return Qj(null, a, b, !0, c)
},
render: function(a, b, c) {
Xb.disableNewFiberFeatures && (qj(a) || ("string" === typeof a ? z("201") : "function" === typeof a ? z("202") : null != a && "undefined" !== typeof a.props ? z("203") : z("204")));
return Qj(null, a, b, !1, c)
},
unstable_renderSubtreeIntoContainer: function(a, b, c, d) {
null != a && Pa.has(a) ? void 0 : z("38");
return Qj(a, b, c, !1, d)
},
unmountComponentAtNode: function(a) {
Oj(a) ? void 0 : z("40");
return a._reactRootContainer ? (Lj.unbatchedUpdates(function() {
Qj(null, null,
a, !1,
function() {
a._reactRootContainer = null
})
}), !0) : !1
},
findDOMNode: Ch,
unstable_createPortal: function(a, b) {
return me.createPortal(a, b, null, 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null)
},
unstable_batchedUpdates: tb.batchedUpdates,
unstable_deferredUpdates: Lj.deferredUpdates,
flushSync: Lj.flushSync,
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
EventPluginHub: Kb,
EventPluginRegistry: ta,
EventPropagators: Sh,
ReactControlledComponent: nb,
ReactDOMComponentTree: L,
ReactDOMEventListener: O
}
};
rj({
findFiberByHostInstance: L.getClosestInstanceFromNode,
findHostInstanceByFiber: Lj.findHostInstance,
bundleType: 0,
version: "16.0.0-beta.5"
});
module.exports = Rj;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment