one
Version:
One is a new React Framework that makes Vite serve both native and web.
1,817 lines • 243 kB
JavaScript
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
;(function () {
/*
Modernizr 3.0.0pre (Custom Build) | MIT
*/
'use strict'
;(function (Q, zb) {
'object' === typeof exports && 'undefined' !== typeof module
? zb(exports, require('react'))
: 'function' === typeof define && define.amd
? define(['exports', 'react'], zb)
: ((Q = Q || self), zb((Q.ReactDOM = {}), Q.React))
})(this, function (Q, zb) {
function m(a) {
for (
var b = 'https://reactjs.org/docs/error-decoder.html?invariant=' + a, c = 1;
c < arguments.length;
c++
)
b += '&args[]=' + encodeURIComponent(arguments[c])
return (
'Minified React error #' +
a +
'; visit ' +
b +
' for the full message or use the non-minified dev environment for full errors and additional helpful warnings.'
)
}
function mb(a, b) {
Ab(a, b)
Ab(a + 'Capture', b)
}
function Ab(a, b) {
$b[a] = b
for (a = 0; a < b.length; a++) cg.add(b[a])
}
function bj(a) {
if (Zd.call(dg, a)) return !0
if (Zd.call(eg, a)) return !1
if (cj.test(a)) return (dg[a] = !0)
eg[a] = !0
return !1
}
function dj(a, b, c, d) {
if (null !== c && 0 === c.type) return !1
switch (typeof b) {
case 'function':
case 'symbol':
return !0
case 'boolean':
if (d) return !1
if (null !== c) return !c.acceptsBooleans
a = a.toLowerCase().slice(0, 5)
return 'data-' !== a && 'aria-' !== a
default:
return !1
}
}
function ej(a, b, c, d) {
if (null === b || 'undefined' === typeof b || dj(a, b, c, d)) return !0
if (d) return !1
if (null !== c)
switch (c.type) {
case 3:
return !b
case 4:
return !1 === b
case 5:
return isNaN(b)
case 6:
return isNaN(b) || 1 > b
}
return !1
}
function Y(a, b, c, d, e, f, g) {
this.acceptsBooleans = 2 === b || 3 === b || 4 === b
this.attributeName = d
this.attributeNamespace = e
this.mustUseProperty = c
this.propertyName = a
this.type = b
this.sanitizeURL = f
this.removeEmptyString = g
}
function $d(a, b, c, d) {
var e = R.hasOwnProperty(b) ? R[b] : null
if (
null !== e
? 0 !== e.type
: d ||
!(2 < b.length) ||
('o' !== b[0] && 'O' !== b[0]) ||
('n' !== b[1] && 'N' !== b[1])
)
(ej(b, c, e, d) && (c = null),
d || null === e
? bj(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, '' + c))
: e.mustUseProperty
? (a[e.propertyName] = null === c ? (3 === e.type ? !1 : '') : c)
: ((b = e.attributeName),
(d = e.attributeNamespace),
null === c
? a.removeAttribute(b)
: ((e = e.type),
(c = 3 === e || (4 === e && !0 === c) ? '' : '' + c),
d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c))))
}
function ac(a) {
if (null === a || 'object' !== typeof a) return null
a = (fg && a[fg]) || a['@@iterator']
return 'function' === typeof a ? a : null
}
function bc(a, b, c) {
if (void 0 === ae)
try {
throw Error()
} catch (d) {
ae = ((b = d.stack.trim().match(/\n( *(at )?)/)) && b[1]) || ''
}
return '\n' + ae + a
}
function be(a, b) {
if (!a || ce) return ''
ce = !0
var c = Error.prepareStackTrace
Error.prepareStackTrace = void 0
try {
if (b)
if (
((b = function () {
throw Error()
}),
Object.defineProperty(b.prototype, 'props', {
set: function () {
throw Error()
},
}),
'object' === typeof Reflect && Reflect.construct)
) {
try {
Reflect.construct(b, [])
} catch (n) {
var d = n
}
Reflect.construct(a, [], b)
} else {
try {
b.call()
} catch (n) {
d = n
}
a.call(b.prototype)
}
else {
try {
throw Error()
} catch (n) {
d = n
}
a()
}
} catch (n) {
if (n && d && 'string' === typeof n.stack) {
for (
var e = n.stack.split('\n'),
f = d.stack.split('\n'),
g = e.length - 1,
h = f.length - 1;
1 <= g && 0 <= h && e[g] !== f[h];
)
h--
for (; 1 <= g && 0 <= h; g--, h--)
if (e[g] !== f[h]) {
if (1 !== g || 1 !== h) {
do
if ((g--, h--, 0 > h || e[g] !== f[h])) {
var k = '\n' + e[g].replace(' at new ', ' at ')
a.displayName &&
k.includes('<anonymous>') &&
(k = k.replace('<anonymous>', a.displayName))
return k
}
while (1 <= g && 0 <= h)
}
break
}
}
} finally {
;((ce = !1), (Error.prepareStackTrace = c))
}
return (a = a ? a.displayName || a.name : '') ? bc(a) : ''
}
function fj(a) {
switch (a.tag) {
case 5:
return bc(a.type)
case 16:
return bc('Lazy')
case 13:
return bc('Suspense')
case 19:
return bc('SuspenseList')
case 0:
case 2:
case 15:
return ((a = be(a.type, !1)), a)
case 11:
return ((a = be(a.type.render, !1)), a)
case 1:
return ((a = be(a.type, !0)), a)
default:
return ''
}
}
function de(a) {
if (null == a) return null
if ('function' === typeof a) return a.displayName || a.name || null
if ('string' === typeof a) return a
switch (a) {
case Bb:
return 'Fragment'
case Cb:
return 'Portal'
case ee:
return 'Profiler'
case fe:
return 'StrictMode'
case ge:
return 'Suspense'
case he:
return 'SuspenseList'
}
if ('object' === typeof a)
switch (a.$$typeof) {
case gg:
return (a.displayName || 'Context') + '.Consumer'
case hg:
return (a._context.displayName || 'Context') + '.Provider'
case ie:
var b = a.render
a = a.displayName
a ||
((a = b.displayName || b.name || ''),
(a = '' !== a ? 'ForwardRef(' + a + ')' : 'ForwardRef'))
return a
case je:
return ((b = a.displayName || null), null !== b ? b : de(a.type) || 'Memo')
case Ta:
b = a._payload
a = a._init
try {
return de(a(b))
} catch (c) {}
}
return null
}
function gj(a) {
var b = a.type
switch (a.tag) {
case 24:
return 'Cache'
case 9:
return (b.displayName || 'Context') + '.Consumer'
case 10:
return (b._context.displayName || 'Context') + '.Provider'
case 18:
return 'DehydratedFragment'
case 11:
return (
(a = b.render),
(a = a.displayName || a.name || ''),
b.displayName || ('' !== a ? 'ForwardRef(' + a + ')' : 'ForwardRef')
)
case 7:
return 'Fragment'
case 5:
return b
case 4:
return 'Portal'
case 3:
return 'Root'
case 6:
return 'Text'
case 16:
return de(b)
case 8:
return b === fe ? 'StrictMode' : 'Mode'
case 22:
return 'Offscreen'
case 12:
return 'Profiler'
case 21:
return 'Scope'
case 13:
return 'Suspense'
case 19:
return 'SuspenseList'
case 25:
return 'TracingMarker'
case 1:
case 0:
case 17:
case 2:
case 14:
case 15:
if ('function' === typeof b) return b.displayName || b.name || null
if ('string' === typeof b) return b
}
return null
}
function Ua(a) {
switch (typeof a) {
case 'boolean':
case 'number':
case 'string':
case 'undefined':
return a
case 'object':
return a
default:
return ''
}
}
function ig(a) {
var b = a.type
return (
(a = a.nodeName) &&
'input' === a.toLowerCase() &&
('checkbox' === b || 'radio' === b)
)
}
function hj(a) {
var b = ig(a) ? 'checked' : 'value',
c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b),
d = '' + a[b]
if (
!a.hasOwnProperty(b) &&
'undefined' !== typeof c &&
'function' === typeof c.get &&
'function' === typeof c.set
) {
var e = c.get,
f = c.set
Object.defineProperty(a, b, {
configurable: !0,
get: function () {
return e.call(this)
},
set: function (a) {
d = '' + a
f.call(this, a)
},
})
Object.defineProperty(a, b, { enumerable: c.enumerable })
return {
getValue: function () {
return d
},
setValue: function (a) {
d = '' + a
},
stopTracking: function () {
a._valueTracker = null
delete a[b]
},
}
}
}
function Pc(a) {
a._valueTracker || (a._valueTracker = hj(a))
}
function jg(a) {
if (!a) return !1
var b = a._valueTracker
if (!b) return !0
var c = b.getValue()
var d = ''
a && (d = ig(a) ? (a.checked ? 'true' : 'false') : a.value)
a = d
return a !== c ? (b.setValue(a), !0) : !1
}
function Qc(a) {
a = a || ('undefined' !== typeof document ? document : void 0)
if ('undefined' === typeof a) return null
try {
return a.activeElement || a.body
} catch (b) {
return a.body
}
}
function ke(a, b) {
var c = b.checked
return E({}, b, {
defaultChecked: void 0,
defaultValue: void 0,
value: void 0,
checked: null != c ? c : a._wrapperState.initialChecked,
})
}
function kg(a, b) {
var c = null == b.defaultValue ? '' : b.defaultValue,
d = null != b.checked ? b.checked : b.defaultChecked
c = Ua(null != b.value ? b.value : c)
a._wrapperState = {
initialChecked: d,
initialValue: c,
controlled:
'checkbox' === b.type || 'radio' === b.type
? null != b.checked
: null != b.value,
}
}
function lg(a, b) {
b = b.checked
null != b && $d(a, 'checked', b, !1)
}
function le(a, b) {
lg(a, b)
var c = Ua(b.value),
d = b.type
if (null != c)
if ('number' === d) {
if ((0 === c && '' === a.value) || a.value != c) a.value = '' + c
} else a.value !== '' + c && (a.value = '' + c)
else if ('submit' === d || 'reset' === d) {
a.removeAttribute('value')
return
}
b.hasOwnProperty('value')
? me(a, b.type, c)
: b.hasOwnProperty('defaultValue') && me(a, b.type, Ua(b.defaultValue))
null == b.checked &&
null != b.defaultChecked &&
(a.defaultChecked = !!b.defaultChecked)
}
function mg(a, b, c) {
if (b.hasOwnProperty('value') || b.hasOwnProperty('defaultValue')) {
var d = b.type
if (
!(('submit' !== d && 'reset' !== d) || (void 0 !== b.value && null !== b.value))
)
return
b = '' + a._wrapperState.initialValue
c || b === a.value || (a.value = b)
a.defaultValue = b
}
c = a.name
'' !== c && (a.name = '')
a.defaultChecked = !!a._wrapperState.initialChecked
'' !== c && (a.name = c)
}
function me(a, b, c) {
if ('number' !== b || Qc(a.ownerDocument) !== a)
null == c
? (a.defaultValue = '' + a._wrapperState.initialValue)
: a.defaultValue !== '' + c && (a.defaultValue = '' + c)
}
function Db(a, b, c, d) {
a = a.options
if (b) {
b = {}
for (var e = 0; e < c.length; e++) b['$' + c[e]] = !0
for (c = 0; c < a.length; c++)
((e = b.hasOwnProperty('$' + a[c].value)),
a[c].selected !== e && (a[c].selected = e),
e && d && (a[c].defaultSelected = !0))
} else {
c = '' + Ua(c)
b = null
for (e = 0; e < a.length; e++) {
if (a[e].value === c) {
a[e].selected = !0
d && (a[e].defaultSelected = !0)
return
}
null !== b || a[e].disabled || (b = a[e])
}
null !== b && (b.selected = !0)
}
}
function ne(a, b) {
if (null != b.dangerouslySetInnerHTML) throw Error(m(91))
return E({}, b, {
value: void 0,
defaultValue: void 0,
children: '' + a._wrapperState.initialValue,
})
}
function ng(a, b) {
var c = b.value
if (null == c) {
c = b.children
b = b.defaultValue
if (null != c) {
if (null != b) throw Error(m(92))
if (cc(c)) {
if (1 < c.length) throw Error(m(93))
c = c[0]
}
b = c
}
null == b && (b = '')
c = b
}
a._wrapperState = { initialValue: Ua(c) }
}
function og(a, b) {
var c = Ua(b.value),
d = Ua(b.defaultValue)
null != c &&
((c = '' + c),
c !== a.value && (a.value = c),
null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c))
null != d && (a.defaultValue = '' + d)
}
function pg(a, b) {
b = a.textContent
b === a._wrapperState.initialValue && '' !== b && null !== b && (a.value = b)
}
function qg(a) {
switch (a) {
case 'svg':
return 'http://www.w3.org/2000/svg'
case 'math':
return 'http://www.w3.org/1998/Math/MathML'
default:
return 'http://www.w3.org/1999/xhtml'
}
}
function oe(a, b) {
return null == a || 'http://www.w3.org/1999/xhtml' === a
? qg(b)
: 'http://www.w3.org/2000/svg' === a && 'foreignObject' === b
? 'http://www.w3.org/1999/xhtml'
: a
}
function rg(a, b, c) {
return null == b || 'boolean' === typeof b || '' === b
? ''
: c || 'number' !== typeof b || 0 === b || (dc.hasOwnProperty(a) && dc[a])
? ('' + b).trim()
: b + 'px'
}
function sg(a, b) {
a = a.style
for (var c in b)
if (b.hasOwnProperty(c)) {
var d = 0 === c.indexOf('--'),
e = rg(c, b[c], d)
'float' === c && (c = 'cssFloat')
d ? a.setProperty(c, e) : (a[c] = e)
}
}
function pe(a, b) {
if (b) {
if (ij[a] && (null != b.children || null != b.dangerouslySetInnerHTML))
throw Error(m(137, a))
if (null != b.dangerouslySetInnerHTML) {
if (null != b.children) throw Error(m(60))
if (
'object' !== typeof b.dangerouslySetInnerHTML ||
!('__html' in b.dangerouslySetInnerHTML)
)
throw Error(m(61))
}
if (null != b.style && 'object' !== typeof b.style) throw Error(m(62))
}
}
function qe(a, b) {
if (-1 === a.indexOf('-')) return 'string' === typeof b.is
switch (a) {
case 'annotation-xml':
case 'color-profile':
case 'font-face':
case 'font-face-src':
case 'font-face-uri':
case 'font-face-format':
case 'font-face-name':
case 'missing-glyph':
return !1
default:
return !0
}
}
function re(a) {
a = a.target || a.srcElement || window
a.correspondingUseElement && (a = a.correspondingUseElement)
return 3 === a.nodeType ? a.parentNode : a
}
function tg(a) {
if ((a = ec(a))) {
if ('function' !== typeof se) throw Error(m(280))
var b = a.stateNode
b && ((b = Rc(b)), se(a.stateNode, a.type, b))
}
}
function ug(a) {
Eb ? (Fb ? Fb.push(a) : (Fb = [a])) : (Eb = a)
}
function vg() {
if (Eb) {
var a = Eb,
b = Fb
Fb = Eb = null
tg(a)
if (b) for (a = 0; a < b.length; a++) tg(b[a])
}
}
function wg(a, b, c) {
if (te) return a(b, c)
te = !0
try {
return xg(a, b, c)
} finally {
if (((te = !1), null !== Eb || null !== Fb)) (yg(), vg())
}
}
function fc(a, b) {
var c = a.stateNode
if (null === c) return null
var d = Rc(c)
if (null === d) return null
c = d[b]
a: switch (b) {
case 'onClick':
case 'onClickCapture':
case 'onDoubleClick':
case 'onDoubleClickCapture':
case 'onMouseDown':
case 'onMouseDownCapture':
case 'onMouseMove':
case 'onMouseMoveCapture':
case 'onMouseUp':
case 'onMouseUpCapture':
case 'onMouseEnter':
;(d = !d.disabled) ||
((a = a.type),
(d = !(
'button' === a ||
'input' === a ||
'select' === a ||
'textarea' === a
)))
a = !d
break a
default:
a = !1
}
if (a) return null
if (c && 'function' !== typeof c) throw Error(m(231, b, typeof c))
return c
}
function jj(a, b, c, d, e, f, g, h, k) {
gc = !1
Sc = null
kj.apply(lj, arguments)
}
function mj(a, b, c, d, e, f, g, h, k) {
jj.apply(this, arguments)
if (gc) {
if (gc) {
var n = Sc
gc = !1
Sc = null
} else throw Error(m(198))
Tc || ((Tc = !0), (ue = n))
}
}
function nb(a) {
var b = a,
c = a
if (a.alternate) for (; b.return; ) b = b.return
else {
a = b
do ((b = a), 0 !== (b.flags & 4098) && (c = b.return), (a = b.return))
while (a)
}
return 3 === b.tag ? c : null
}
function zg(a) {
if (13 === a.tag) {
var b = a.memoizedState
null === b && ((a = a.alternate), null !== a && (b = a.memoizedState))
if (null !== b) return b.dehydrated
}
return null
}
function Ag(a) {
if (nb(a) !== a) throw Error(m(188))
}
function nj(a) {
var b = a.alternate
if (!b) {
b = nb(a)
if (null === b) throw Error(m(188))
return b !== a ? null : a
}
for (var c = a, d = b; ; ) {
var e = c.return
if (null === e) break
var f = e.alternate
if (null === f) {
d = e.return
if (null !== d) {
c = d
continue
}
break
}
if (e.child === f.child) {
for (f = e.child; f; ) {
if (f === c) return (Ag(e), a)
if (f === d) return (Ag(e), b)
f = f.sibling
}
throw Error(m(188))
}
if (c.return !== d.return) ((c = e), (d = f))
else {
for (var g = !1, 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
}
if (!g) throw Error(m(189))
}
}
if (c.alternate !== d) throw Error(m(190))
}
if (3 !== c.tag) throw Error(m(188))
return c.stateNode.current === c ? a : b
}
function Bg(a) {
a = nj(a)
return null !== a ? Cg(a) : null
}
function Cg(a) {
if (5 === a.tag || 6 === a.tag) return a
for (a = a.child; null !== a; ) {
var b = Cg(a)
if (null !== b) return b
a = a.sibling
}
return null
}
function oj(a, b) {
if (Ca && 'function' === typeof Ca.onCommitFiberRoot)
try {
Ca.onCommitFiberRoot(Uc, a, void 0, 128 === (a.current.flags & 128))
} catch (c) {}
}
function pj(a) {
a >>>= 0
return 0 === a ? 32 : (31 - ((qj(a) / rj) | 0)) | 0
}
function hc(a) {
switch (a & -a) {
case 1:
return 1
case 2:
return 2
case 4:
return 4
case 8:
return 8
case 16:
return 16
case 32:
return 32
case 64:
case 128:
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
return a & 4194240
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
return a & 130023424
case 134217728:
return 134217728
case 268435456:
return 268435456
case 536870912:
return 536870912
case 1073741824:
return 1073741824
default:
return a
}
}
function Vc(a, b) {
var c = a.pendingLanes
if (0 === c) return 0
var d = 0,
e = a.suspendedLanes,
f = a.pingedLanes,
g = c & 268435455
if (0 !== g) {
var h = g & ~e
0 !== h ? (d = hc(h)) : ((f &= g), 0 !== f && (d = hc(f)))
} else ((g = c & ~e), 0 !== g ? (d = hc(g)) : 0 !== f && (d = hc(f)))
if (0 === d) return 0
if (
0 !== b &&
b !== d &&
0 === (b & e) &&
((e = d & -d), (f = b & -b), e >= f || (16 === e && 0 !== (f & 4194240)))
)
return b
0 !== (d & 4) && (d |= c & 16)
b = a.entangledLanes
if (0 !== b)
for (a = a.entanglements, b &= d; 0 < b; )
((c = 31 - ta(b)), (e = 1 << c), (d |= a[c]), (b &= ~e))
return d
}
function sj(a, b) {
switch (a) {
case 1:
case 2:
case 4:
return b + 250
case 8:
case 16:
case 32:
case 64:
case 128:
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
return b + 5e3
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
return -1
case 134217728:
case 268435456:
case 536870912:
case 1073741824:
return -1
default:
return -1
}
}
function tj(a, b) {
for (
var c = a.suspendedLanes,
d = a.pingedLanes,
e = a.expirationTimes,
f = a.pendingLanes;
0 < f;
) {
var g = 31 - ta(f),
h = 1 << g,
k = e[g]
if (-1 === k) {
if (0 === (h & c) || 0 !== (h & d)) e[g] = sj(h, b)
} else k <= b && (a.expiredLanes |= h)
f &= ~h
}
}
function ve(a) {
a = a.pendingLanes & -1073741825
return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0
}
function Dg() {
var a = Wc
Wc <<= 1
0 === (Wc & 4194240) && (Wc = 64)
return a
}
function we(a) {
for (var b = [], c = 0; 31 > c; c++) b.push(a)
return b
}
function ic(a, b, c) {
a.pendingLanes |= b
536870912 !== b && ((a.suspendedLanes = 0), (a.pingedLanes = 0))
a = a.eventTimes
b = 31 - ta(b)
a[b] = c
}
function uj(a, b) {
var c = a.pendingLanes & ~b
a.pendingLanes = b
a.suspendedLanes = 0
a.pingedLanes = 0
a.expiredLanes &= b
a.mutableReadLanes &= b
a.entangledLanes &= b
b = a.entanglements
var d = a.eventTimes
for (a = a.expirationTimes; 0 < c; ) {
var e = 31 - ta(c),
f = 1 << e
b[e] = 0
d[e] = -1
a[e] = -1
c &= ~f
}
}
function xe(a, b) {
var c = (a.entangledLanes |= b)
for (a = a.entanglements; c; ) {
var d = 31 - ta(c),
e = 1 << d
;(e & b) | (a[d] & b) && (a[d] |= b)
c &= ~e
}
}
function Eg(a) {
a &= -a
return 1 < a ? (4 < a ? (0 !== (a & 268435455) ? 16 : 536870912) : 4) : 1
}
function Fg(a, b) {
switch (a) {
case 'focusin':
case 'focusout':
Va = null
break
case 'dragenter':
case 'dragleave':
Wa = null
break
case 'mouseover':
case 'mouseout':
Xa = null
break
case 'pointerover':
case 'pointerout':
jc.delete(b.pointerId)
break
case 'gotpointercapture':
case 'lostpointercapture':
kc.delete(b.pointerId)
}
}
function lc(a, b, c, d, e, f) {
if (null === a || a.nativeEvent !== f)
return (
(a = {
blockedOn: b,
domEventName: c,
eventSystemFlags: d,
nativeEvent: f,
targetContainers: [e],
}),
null !== b && ((b = ec(b)), null !== b && Gg(b)),
a
)
a.eventSystemFlags |= d
b = a.targetContainers
null !== e && -1 === b.indexOf(e) && b.push(e)
return a
}
function vj(a, b, c, d, e) {
switch (b) {
case 'focusin':
return ((Va = lc(Va, a, b, c, d, e)), !0)
case 'dragenter':
return ((Wa = lc(Wa, a, b, c, d, e)), !0)
case 'mouseover':
return ((Xa = lc(Xa, a, b, c, d, e)), !0)
case 'pointerover':
var f = e.pointerId
jc.set(f, lc(jc.get(f) || null, a, b, c, d, e))
return !0
case 'gotpointercapture':
return ((f = e.pointerId), kc.set(f, lc(kc.get(f) || null, a, b, c, d, e)), !0)
}
return !1
}
function Hg(a) {
var b = ob(a.target)
if (null !== b) {
var c = nb(b)
if (null !== c)
if (((b = c.tag), 13 === b)) {
if (((b = zg(c)), null !== b)) {
a.blockedOn = b
wj(a.priority, function () {
xj(c)
})
return
}
} else if (3 === b && c.stateNode.current.memoizedState.isDehydrated) {
a.blockedOn = 3 === c.tag ? c.stateNode.containerInfo : null
return
}
}
a.blockedOn = null
}
function Xc(a) {
if (null !== a.blockedOn) return !1
for (var b = a.targetContainers; 0 < b.length; ) {
var c = ye(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent)
if (null === c) {
c = a.nativeEvent
var d = new c.constructor(c.type, c)
ze = d
c.target.dispatchEvent(d)
ze = null
} else return ((b = ec(c)), null !== b && Gg(b), (a.blockedOn = c), !1)
b.shift()
}
return !0
}
function Ig(a, b, c) {
Xc(a) && c.delete(b)
}
function yj() {
Ae = !1
null !== Va && Xc(Va) && (Va = null)
null !== Wa && Xc(Wa) && (Wa = null)
null !== Xa && Xc(Xa) && (Xa = null)
jc.forEach(Ig)
kc.forEach(Ig)
}
function mc(a, b) {
a.blockedOn === b && ((a.blockedOn = null), Ae || ((Ae = !0), Jg(Kg, yj)))
}
function nc(a) {
if (0 < Yc.length) {
mc(Yc[0], a)
for (var b = 1; b < Yc.length; b++) {
var c = Yc[b]
c.blockedOn === a && (c.blockedOn = null)
}
}
null !== Va && mc(Va, a)
null !== Wa && mc(Wa, a)
null !== Xa && mc(Xa, a)
b = function (b) {
return mc(b, a)
}
jc.forEach(b)
kc.forEach(b)
for (b = 0; b < Ya.length; b++)
((c = Ya[b]), c.blockedOn === a && (c.blockedOn = null))
for (; 0 < Ya.length && ((b = Ya[0]), null === b.blockedOn); )
(Hg(b), null === b.blockedOn && Ya.shift())
}
function zj(a, b, c, d) {
var e = z,
f = Gb.transition
Gb.transition = null
try {
;((z = 1), Be(a, b, c, d))
} finally {
;((z = e), (Gb.transition = f))
}
}
function Aj(a, b, c, d) {
var e = z,
f = Gb.transition
Gb.transition = null
try {
;((z = 4), Be(a, b, c, d))
} finally {
;((z = e), (Gb.transition = f))
}
}
function Be(a, b, c, d) {
if (Zc) {
var e = ye(a, b, c, d)
if (null === e) (Ce(a, b, d, $c, c), Fg(a, d))
else if (vj(e, a, b, c, d)) d.stopPropagation()
else if ((Fg(a, d), b & 4 && -1 < Bj.indexOf(a))) {
for (; null !== e; ) {
var f = ec(e)
null !== f && Cj(f)
f = ye(a, b, c, d)
null === f && Ce(a, b, d, $c, c)
if (f === e) break
e = f
}
null !== e && d.stopPropagation()
} else Ce(a, b, d, null, c)
}
}
function ye(a, b, c, d) {
$c = null
a = re(d)
a = ob(a)
if (null !== a)
if (((b = nb(a)), null === b)) a = null
else if (((c = b.tag), 13 === c)) {
a = zg(b)
if (null !== a) return a
a = null
} else if (3 === c) {
if (b.stateNode.current.memoizedState.isDehydrated)
return 3 === b.tag ? b.stateNode.containerInfo : null
a = null
} else b !== a && (a = null)
$c = a
return null
}
function Lg(a) {
switch (a) {
case 'cancel':
case 'click':
case 'close':
case 'contextmenu':
case 'copy':
case 'cut':
case 'auxclick':
case 'dblclick':
case 'dragend':
case 'dragstart':
case 'drop':
case 'focusin':
case 'focusout':
case 'input':
case 'invalid':
case 'keydown':
case 'keypress':
case 'keyup':
case 'mousedown':
case 'mouseup':
case 'paste':
case 'pause':
case 'play':
case 'pointercancel':
case 'pointerdown':
case 'pointerup':
case 'ratechange':
case 'reset':
case 'resize':
case 'seeked':
case 'submit':
case 'touchcancel':
case 'touchend':
case 'touchstart':
case 'volumechange':
case 'change':
case 'selectionchange':
case 'textInput':
case 'compositionstart':
case 'compositionend':
case 'compositionupdate':
case 'beforeblur':
case 'afterblur':
case 'beforeinput':
case 'blur':
case 'fullscreenchange':
case 'focus':
case 'hashchange':
case 'popstate':
case 'select':
case 'selectstart':
return 1
case 'drag':
case 'dragenter':
case 'dragexit':
case 'dragleave':
case 'dragover':
case 'mousemove':
case 'mouseout':
case 'mouseover':
case 'pointermove':
case 'pointerout':
case 'pointerover':
case 'scroll':
case 'toggle':
case 'touchmove':
case 'wheel':
case 'mouseenter':
case 'mouseleave':
case 'pointerenter':
case 'pointerleave':
return 4
case 'message':
switch (Dj()) {
case De:
return 1
case Mg:
return 4
case ad:
case Ej:
return 16
case Ng:
return 536870912
default:
return 16
}
default:
return 16
}
}
function Og() {
if (bd) return bd
var a,
b = Ee,
c = b.length,
d,
e = 'value' in Za ? Za.value : Za.textContent,
f = e.length
for (a = 0; a < c && b[a] === e[a]; a++);
var g = c - a
for (d = 1; d <= g && b[c - d] === e[f - d]; d++);
return (bd = e.slice(a, 1 < d ? 1 - d : void 0))
}
function cd(a) {
var b = a.keyCode
'charCode' in a ? ((a = a.charCode), 0 === a && 13 === b && (a = 13)) : (a = b)
10 === a && (a = 13)
return 32 <= a || 13 === a ? a : 0
}
function dd() {
return !0
}
function Pg() {
return !1
}
function ka(a) {
function b(b, d, e, f, g) {
this._reactName = b
this._targetInst = e
this.type = d
this.nativeEvent = f
this.target = g
this.currentTarget = null
for (var c in a) a.hasOwnProperty(c) && ((b = a[c]), (this[c] = b ? b(f) : f[c]))
this.isDefaultPrevented = (
null != f.defaultPrevented ? f.defaultPrevented : !1 === f.returnValue
)
? dd
: Pg
this.isPropagationStopped = Pg
return this
}
E(b.prototype, {
preventDefault: function () {
this.defaultPrevented = !0
var a = this.nativeEvent
a &&
(a.preventDefault
? a.preventDefault()
: 'unknown' !== typeof a.returnValue && (a.returnValue = !1),
(this.isDefaultPrevented = dd))
},
stopPropagation: function () {
var a = this.nativeEvent
a &&
(a.stopPropagation
? a.stopPropagation()
: 'unknown' !== typeof a.cancelBubble && (a.cancelBubble = !0),
(this.isPropagationStopped = dd))
},
persist: function () {},
isPersistent: dd,
})
return b
}
function Fj(a) {
var b = this.nativeEvent
return b.getModifierState ? b.getModifierState(a) : (a = Gj[a]) ? !!b[a] : !1
}
function Fe(a) {
return Fj
}
function Qg(a, b) {
switch (a) {
case 'keyup':
return -1 !== Hj.indexOf(b.keyCode)
case 'keydown':
return 229 !== b.keyCode
case 'keypress':
case 'mousedown':
case 'focusout':
return !0
default:
return !1
}
}
function Rg(a) {
a = a.detail
return 'object' === typeof a && 'data' in a ? a.data : null
}
function Ij(a, b) {
switch (a) {
case 'compositionend':
return Rg(b)
case 'keypress':
if (32 !== b.which) return null
Sg = !0
return Tg
case 'textInput':
return ((a = b.data), a === Tg && Sg ? null : a)
default:
return null
}
}
function Jj(a, b) {
if (Hb)
return 'compositionend' === a || (!Ge && Qg(a, b))
? ((a = Og()), (bd = Ee = Za = null), (Hb = !1), a)
: null
switch (a) {
case 'paste':
return null
case 'keypress':
if (!(b.ctrlKey || b.altKey || b.metaKey) || (b.ctrlKey && b.altKey)) {
if (b.char && 1 < b.char.length) return b.char
if (b.which) return String.fromCharCode(b.which)
}
return null
case 'compositionend':
return Ug && 'ko' !== b.locale ? null : b.data
default:
return null
}
}
function Vg(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase()
return 'input' === b ? !!Kj[a.type] : 'textarea' === b ? !0 : !1
}
function Lj(a) {
if (!Ia) return !1
a = 'on' + a
var b = a in document
b ||
((b = document.createElement('div')),
b.setAttribute(a, 'return;'),
(b = 'function' === typeof b[a]))
return b
}
function Wg(a, b, c, d) {
ug(d)
b = ed(b, 'onChange')
0 < b.length &&
((c = new He('onChange', 'change', null, c, d)),
a.push({ event: c, listeners: b }))
}
function Mj(a) {
Xg(a, 0)
}
function fd(a) {
var b = Ib(a)
if (jg(b)) return a
}
function Nj(a, b) {
if ('change' === a) return b
}
function Yg() {
oc && (oc.detachEvent('onpropertychange', Zg), (pc = oc = null))
}
function Zg(a) {
if ('value' === a.propertyName && fd(pc)) {
var b = []
Wg(b, pc, a, re(a))
wg(Mj, b)
}
}
function Oj(a, b, c) {
'focusin' === a
? (Yg(), (oc = b), (pc = c), oc.attachEvent('onpropertychange', Zg))
: 'focusout' === a && Yg()
}
function Pj(a, b) {
if ('selectionchange' === a || 'keyup' === a || 'keydown' === a) return fd(pc)
}
function Qj(a, b) {
if ('click' === a) return fd(b)
}
function Rj(a, b) {
if ('input' === a || 'change' === a) return fd(b)
}
function Sj(a, b) {
return (a === b && (0 !== a || 1 / a === 1 / b)) || (a !== a && b !== b)
}
function qc(a, b) {
if (ua(a, b)) return !0
if ('object' !== typeof a || null === a || 'object' !== typeof b || null === b)
return !1
var c = Object.keys(a),
d = Object.keys(b)
if (c.length !== d.length) return !1
for (d = 0; d < c.length; d++) {
var e = c[d]
if (!Zd.call(b, e) || !ua(a[e], b[e])) return !1
}
return !0
}
function $g(a) {
for (; a && a.firstChild; ) a = a.firstChild
return a
}
function ah(a, b) {
var c = $g(a)
a = 0
for (var d; c; ) {
if (3 === c.nodeType) {
d = a + c.textContent.length
if (a <= b && d >= b) return { node: c, offset: b - a }
a = d
}
a: {
for (; c; ) {
if (c.nextSibling) {
c = c.nextSibling
break a
}
c = c.parentNode
}
c = void 0
}
c = $g(c)
}
}
function bh(a, b) {
return a && b
? a === b
? !0
: a && 3 === a.nodeType
? !1
: b && 3 === b.nodeType
? bh(a, b.parentNode)
: 'contains' in a
? a.contains(b)
: a.compareDocumentPosition
? !!(a.compareDocumentPosition(b) & 16)
: !1
: !1
}
function ch() {
for (var a = window, b = Qc(); b instanceof a.HTMLIFrameElement; ) {
try {
var c = 'string' === typeof b.contentWindow.location.href
} catch (d) {
c = !1
}
if (c) a = b.contentWindow
else break
b = Qc(a.document)
}
return b
}
function Ie(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase()
return (
b &&
(('input' === b &&
('text' === a.type ||
'search' === a.type ||
'tel' === a.type ||
'url' === a.type ||
'password' === a.type)) ||
'textarea' === b ||
'true' === a.contentEditable)
)
}
function Tj(a) {
var b = ch(),
c = a.focusedElem,
d = a.selectionRange
if (b !== c && c && c.ownerDocument && bh(c.ownerDocument.documentElement, c)) {
if (null !== d && Ie(c))
if (
((b = d.start), (a = d.end), void 0 === a && (a = b), 'selectionStart' in c)
)
((c.selectionStart = b), (c.selectionEnd = Math.min(a, c.value.length)))
else if (
((a = ((b = c.ownerDocument || document) && b.defaultView) || window),
a.getSelection)
) {
a = a.getSelection()
var e = c.textContent.length,
f = Math.min(d.start, e)
d = void 0 === d.end ? f : Math.min(d.end, e)
!a.extend && f > d && ((e = d), (d = f), (f = e))
e = ah(c, f)
var g = ah(c, d)
e &&
g &&
(1 !== a.rangeCount ||
a.anchorNode !== e.node ||
a.anchorOffset !== e.offset ||
a.focusNode !== g.node ||
a.focusOffset !== g.offset) &&
((b = b.createRange()),
b.setStart(e.node, e.offset),
a.removeAllRanges(),
f > d
? (a.addRange(b), a.extend(g.node, g.offset))
: (b.setEnd(g.node, g.offset), a.addRange(b)))
}
b = []
for (a = c; (a = a.parentNode); )
1 === a.nodeType && b.push({ element: a, left: a.scrollLeft, top: a.scrollTop })
'function' === typeof c.focus && c.focus()
for (c = 0; c < b.length; c++)
((a = b[c]), (a.element.scrollLeft = a.left), (a.element.scrollTop = a.top))
}
}
function dh(a, b, c) {
var d = c.window === c ? c.document : 9 === c.nodeType ? c : c.ownerDocument
Je ||
null == Jb ||
Jb !== Qc(d) ||
((d = Jb),
'selectionStart' in d && Ie(d)
? (d = { start: d.selectionStart, end: d.selectionEnd })
: ((d = (
(d.ownerDocument && d.ownerDocument.defaultView) ||
window
).getSelection()),
(d = {
anchorNode: d.anchorNode,
anchorOffset: d.anchorOffset,
focusNode: d.focusNode,
focusOffset: d.focusOffset,
})),
(rc && qc(rc, d)) ||
((rc = d),
(d = ed(Ke, 'onSelect')),
0 < d.length &&
((b = new He('onSelect', 'select', null, b, c)),
a.push({ event: b, listeners: d }),
(b.target = Jb))))
}
function gd(a, b) {
var c = {}
c[a.toLowerCase()] = b.toLowerCase()
c['Webkit' + a] = 'webkit' + b
c['Moz' + a] = 'moz' + b
return c
}
function hd(a) {
if (Le[a]) return Le[a]
if (!Kb[a]) return a
var b = Kb[a],
c
for (c in b) if (b.hasOwnProperty(c) && c in eh) return (Le[a] = b[c])
return a
}
function $a(a, b) {
fh.set(a, b)
mb(b, [a])
}
function gh(a, b, c) {
var d = a.type || 'unknown-event'
a.currentTarget = c
mj(d, b, void 0, a)
a.currentTarget = null
}
function Xg(a, b) {
b = 0 !== (b & 4)
for (var c = 0; c < a.length; c++) {
var d = a[c],
e = d.event
d = d.listeners
a: {
var f = void 0
if (b)
for (var g = d.length - 1; 0 <= g; g--) {
var h = d[g],
k = h.instance,
n = h.currentTarget
h = h.listener
if (k !== f && e.isPropagationStopped()) break a
gh(e, h, n)
f = k
}
else
for (g = 0; g < d.length; g++) {
h = d[g]
k = h.instance
n = h.currentTarget
h = h.listener
if (k !== f && e.isPropagationStopped()) break a
gh(e, h, n)
f = k
}
}
}
if (Tc) throw ((a = ue), (Tc = !1), (ue = null), a)
}
function B(a, b) {
var c = b[Me]
void 0 === c && (c = b[Me] = new Set())
var d = a + '__bubble'
c.has(d) || (hh(b, a, 2, !1), c.add(d))
}
function Ne(a, b, c) {
var d = 0
b && (d |= 4)
hh(c, a, d, b)
}
function sc(a) {
if (!a[id]) {
a[id] = !0
cg.forEach(function (b) {
'selectionchange' !== b && (Uj.has(b) || Ne(b, !1, a), Ne(b, !0, a))
})
var b = 9 === a.nodeType ? a : a.ownerDocument
null === b || b[id] || ((b[id] = !0), Ne('selectionchange', !1, b))
}
}
function hh(a, b, c, d, e) {
switch (Lg(b)) {
case 1:
e = zj
break
case 4:
e = Aj
break
default:
e = Be
}
c = e.bind(null, b, c, a)
e = void 0
!Oe || ('touchstart' !== b && 'touchmove' !== b && 'wheel' !== b) || (e = !0)
d
? void 0 !== e
? a.addEventListener(b, c, { capture: !0, passive: e })
: a.addEventListener(b, c, !0)
: void 0 !== e
? a.addEventListener(b, c, { passive: e })
: a.addEventListener(b, c, !1)
}
function Ce(a, b, c, d, e) {
var f = d
if (0 === (b & 1) && 0 === (b & 2) && null !== d)
a: for (;;) {
if (null === d) return
var g = d.tag
if (3 === g || 4 === g) {
var h = d.stateNode.containerInfo
if (h === e || (8 === h.nodeType && h.parentNode === e)) break
if (4 === g)
for (g = d.return; null !== g; ) {
var k = g.tag
if (3 === k || 4 === k)
if (
((k = g.stateNode.containerInfo),
k === e || (8 === k.nodeType && k.parentNode === e))
)
return
g = g.return
}
for (; null !== h; ) {
g = ob(h)
if (null === g) return
k = g.tag
if (5 === k || 6 === k) {
d = f = g
continue a
}
h = h.parentNode
}
}
d = d.return
}
wg(function () {
var d = f,
e = re(c),
g = []
a: {
var h = fh.get(a)
if (void 0 !== h) {
var k = He,
m = a
switch (a) {
case 'keypress':
if (0 === cd(c)) break a
case 'keydown':
case 'keyup':
k = Vj
break
case 'focusin':
m = 'focus'
k = Pe
break
case 'focusout':
m = 'blur'
k = Pe
break
case 'beforeblur':
case 'afterblur':
k = Pe
break
case 'click':
if (2 === c.button) break a
case 'auxclick':
case 'dblclick':
case 'mousedown':
case 'mousemove':
case 'mouseup':
case 'mouseout':
case 'mouseover':
case 'contextmenu':
k = ih
break
case 'drag':
case 'dragend':
case 'dragenter':
case 'dragexit':
case 'dragleave':
case 'dragover':
case 'dragstart':
case 'drop':
k = Wj
break
case 'touchcancel':
case 'touchend':
case 'touchmove':
case 'touchstart':
k = Xj
break
case jh:
case kh:
case lh:
k = Yj
break
case mh:
k = Zj
break
case 'scroll':
k = ak
break
case 'wheel':
k = bk
break
case 'copy':
case 'cut':
case 'paste':
k = ck
break
case 'gotpointercapture':
case 'lostpointercapture':
case 'pointercancel':
case 'pointerdown':
case 'pointermove':
case 'pointerout':
case 'pointerover':
case 'pointerup':
k = nh
}
var l = 0 !== (b & 4),
p = !l && 'scroll' === a,
w = l ? (null !== h ? h + 'Capture' : null) : h
l = []
for (var A = d, t; null !== A; ) {
t = A
var M = t.stateNode
5 === t.tag &&
null !== M &&
((t = M),
null !== w && ((M = fc(A, w)), null != M && l.push(tc(A, M, t))))
if (p) break
A = A.return
}
0 < l.length &&
((h = new k(h, m, null, c, e)), g.push({