@storybook/manager 7.0.0-beta.4 → 7.0.0-beta.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{GlobalScrollAreaStyles-XIHNDKUY-ASRGOWHC.mjs → GlobalScrollAreaStyles-XIHNDKUY-666AWKJA.mjs} +1 -1
- package/dist/{OverlayScrollbars-VWTZRU7C-GGDG57K6.mjs → OverlayScrollbars-VWTZRU7C-XURMPDFM.mjs} +1 -1
- package/dist/{WithTooltip-52JYBAXX-KCRKHESA.mjs → WithTooltip-52JYBAXX-3H3M54T5.mjs} +1 -1
- package/dist/{chunk-VVMVWOJS.mjs → chunk-7NJ6NIF4.mjs} +1 -1
- package/dist/{chunk-CEMS7WIS.mjs → chunk-CGGDZUA2.mjs} +1 -1
- package/dist/{chunk-RPPGLJAC.mjs → chunk-IFMYLCIQ.mjs} +1 -1
- package/dist/chunk-JCTATS4D.mjs +1 -0
- package/dist/{chunk-GFFZ4HXR.mjs → chunk-VLRTDEXS.mjs} +2 -2
- package/dist/{chunk-OVLD5KZF.mjs → chunk-XWKHDWQO.mjs} +2 -2
- package/dist/{chunk-2OPDFD7W.mjs → chunk-ZS743CHV.mjs} +6 -6
- package/dist/{formatter-PK6264PW-KVECAY75.mjs → formatter-KS326MQU-AA2BA3X2.mjs} +3 -3
- package/dist/globals.mjs +1 -1
- package/dist/index.js +242 -242
- package/dist/index.mjs +1 -1
- package/dist/runtime.js +236 -236
- package/dist/runtime.mjs +1 -1
- package/dist/syntaxhighlighter-3EX6JOZ7-ZNLBDJLL.mjs +1 -0
- package/package.json +14 -14
- package/dist/chunk-BCOKZ3TD.mjs +0 -1
- package/dist/syntaxhighlighter-3EX6JOZ7-JWSESSIU.mjs +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import{require_checkPropTypes,require_object_assign,require_react}from"./chunk-CEMS7WIS.mjs";import{__commonJS}from"./chunk-BCOKZ3TD.mjs";var require_scheduler_development=__commonJS({"../../node_modules/scheduler/cjs/scheduler.development.js"(exports){"use strict";(function(){"use strict";var enableSchedulerDebugging=!1,enableProfiling=!0,requestHostCallback,requestHostTimeout,cancelHostTimeout,shouldYieldToHost,requestPaint;if(typeof window>"u"||typeof MessageChannel!="function"){var _callback=null,_timeoutID=null,_flushCallback=function(){if(_callback!==null)try{var currentTime=exports.unstable_now(),hasRemainingTime=!0;_callback(hasRemainingTime,currentTime),_callback=null}catch(e){throw setTimeout(_flushCallback,0),e}},initialTime=Date.now();exports.unstable_now=function(){return Date.now()-initialTime},requestHostCallback=function(cb){_callback!==null?setTimeout(requestHostCallback,0,cb):(_callback=cb,setTimeout(_flushCallback,0))},requestHostTimeout=function(cb,ms){_timeoutID=setTimeout(cb,ms)},cancelHostTimeout=function(){clearTimeout(_timeoutID)},shouldYieldToHost=function(){return!1},requestPaint=exports.unstable_forceFrameRate=function(){}}else{var performance2=window.performance,_Date=window.Date,_setTimeout=window.setTimeout,_clearTimeout=window.clearTimeout;if(typeof console<"u"){var requestAnimationFrame=window.requestAnimationFrame,cancelAnimationFrame=window.cancelAnimationFrame;typeof requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof cancelAnimationFrame!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if(typeof performance2=="object"&&typeof performance2.now=="function")exports.unstable_now=function(){return performance2.now()};else{var _initialTime=_Date.now();exports.unstable_now=function(){return _Date.now()-_initialTime}}var isMessageLoopRunning=!1,scheduledHostCallback=null,taskTimeoutID=-1,yieldInterval=5,deadline=0;shouldYieldToHost=function(){return exports.unstable_now()>=deadline},requestPaint=function(){},exports.unstable_forceFrameRate=function(fps){if(fps<0||fps>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported");return}fps>0?yieldInterval=Math.floor(1e3/fps):yieldInterval=5};var performWorkUntilDeadline=function(){if(scheduledHostCallback!==null){var currentTime=exports.unstable_now();deadline=currentTime+yieldInterval;var hasTimeRemaining=!0;try{var hasMoreWork=scheduledHostCallback(hasTimeRemaining,currentTime);hasMoreWork?port.postMessage(null):(isMessageLoopRunning=!1,scheduledHostCallback=null)}catch(error){throw port.postMessage(null),error}}else isMessageLoopRunning=!1},channel=new MessageChannel,port=channel.port2;channel.port1.onmessage=performWorkUntilDeadline,requestHostCallback=function(callback){scheduledHostCallback=callback,isMessageLoopRunning||(isMessageLoopRunning=!0,port.postMessage(null))},requestHostTimeout=function(callback,ms){taskTimeoutID=_setTimeout(function(){callback(exports.unstable_now())},ms)},cancelHostTimeout=function(){_clearTimeout(taskTimeoutID),taskTimeoutID=-1}}function push(heap,node){var index=heap.length;heap.push(node),siftUp(heap,node,index)}function peek(heap){var first=heap[0];return first===void 0?null:first}function pop(heap){var first=heap[0];if(first!==void 0){var last=heap.pop();return last!==first&&(heap[0]=last,siftDown(heap,last,0)),first}else return null}function siftUp(heap,node,i){for(var index=i;;){var parentIndex=index-1>>>1,parent=heap[parentIndex];if(parent!==void 0&&compare(parent,node)>0)heap[parentIndex]=node,heap[index]=parent,index=parentIndex;else return}}function siftDown(heap,node,i){for(var index=i,length=heap.length;index<length;){var leftIndex=(index+1)*2-1,left2=heap[leftIndex],rightIndex=leftIndex+1,right2=heap[rightIndex];if(left2!==void 0&&compare(left2,node)<0)right2!==void 0&&compare(right2,left2)<0?(heap[index]=right2,heap[rightIndex]=node,index=rightIndex):(heap[index]=left2,heap[leftIndex]=node,index=leftIndex);else if(right2!==void 0&&compare(right2,node)<0)heap[index]=right2,heap[rightIndex]=node,index=rightIndex;else return}}function compare(a,b){var diff=a.sortIndex-b.sortIndex;return diff!==0?diff:a.id-b.id}var NoPriority=0,ImmediatePriority=1,UserBlockingPriority=2,NormalPriority=3,LowPriority=4,IdlePriority=5,runIdCounter=0,mainThreadIdCounter=0,profilingStateSize=4,sharedProfilingBuffer=typeof SharedArrayBuffer=="function"?new SharedArrayBuffer(profilingStateSize*Int32Array.BYTES_PER_ELEMENT):typeof ArrayBuffer=="function"?new ArrayBuffer(profilingStateSize*Int32Array.BYTES_PER_ELEMENT):null,profilingState=sharedProfilingBuffer!==null?new Int32Array(sharedProfilingBuffer):[],PRIORITY=0,CURRENT_TASK_ID=1,CURRENT_RUN_ID=2,QUEUE_SIZE=3;profilingState[PRIORITY]=NoPriority,profilingState[QUEUE_SIZE]=0,profilingState[CURRENT_TASK_ID]=0;var INITIAL_EVENT_LOG_SIZE=131072,MAX_EVENT_LOG_SIZE=524288,eventLogSize=0,eventLogBuffer=null,eventLog=null,eventLogIndex=0,TaskStartEvent=1,TaskCompleteEvent=2,TaskErrorEvent=3,TaskCancelEvent=4,TaskRunEvent=5,TaskYieldEvent=6,SchedulerSuspendEvent=7,SchedulerResumeEvent=8;function logEvent(entries){if(eventLog!==null){var offset2=eventLogIndex;if(eventLogIndex+=entries.length,eventLogIndex+1>eventLogSize){if(eventLogSize*=2,eventLogSize>MAX_EVENT_LOG_SIZE){console.error("Scheduler Profiling: Event log exceeded maximum size. Don't forget to call `stopLoggingProfilingEvents()`."),stopLoggingProfilingEvents();return}var newEventLog=new Int32Array(eventLogSize*4);newEventLog.set(eventLog),eventLogBuffer=newEventLog.buffer,eventLog=newEventLog}eventLog.set(entries,offset2)}}function startLoggingProfilingEvents(){eventLogSize=INITIAL_EVENT_LOG_SIZE,eventLogBuffer=new ArrayBuffer(eventLogSize*4),eventLog=new Int32Array(eventLogBuffer),eventLogIndex=0}function stopLoggingProfilingEvents(){var buffer=eventLogBuffer;return eventLogSize=0,eventLogBuffer=null,eventLog=null,eventLogIndex=0,buffer}function markTaskStart(task,ms){profilingState[QUEUE_SIZE]++,eventLog!==null&&logEvent([TaskStartEvent,ms*1e3,task.id,task.priorityLevel])}function markTaskCompleted(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskCompleteEvent,ms*1e3,task.id])}function markTaskCanceled(task,ms){profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskCancelEvent,ms*1e3,task.id])}function markTaskErrored(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskErrorEvent,ms*1e3,task.id])}function markTaskRun(task,ms){runIdCounter++,profilingState[PRIORITY]=task.priorityLevel,profilingState[CURRENT_TASK_ID]=task.id,profilingState[CURRENT_RUN_ID]=runIdCounter,eventLog!==null&&logEvent([TaskRunEvent,ms*1e3,task.id,runIdCounter])}function markTaskYield(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[CURRENT_RUN_ID]=0,eventLog!==null&&logEvent([TaskYieldEvent,ms*1e3,task.id,runIdCounter])}function markSchedulerSuspended(ms){mainThreadIdCounter++,eventLog!==null&&logEvent([SchedulerSuspendEvent,ms*1e3,mainThreadIdCounter])}function markSchedulerUnsuspended(ms){eventLog!==null&&logEvent([SchedulerResumeEvent,ms*1e3,mainThreadIdCounter])}var maxSigned31BitInt=1073741823,IMMEDIATE_PRIORITY_TIMEOUT=-1,USER_BLOCKING_PRIORITY=250,NORMAL_PRIORITY_TIMEOUT=5e3,LOW_PRIORITY_TIMEOUT=1e4,IDLE_PRIORITY=maxSigned31BitInt,taskQueue=[],timerQueue=[],taskIdCounter=1,currentTask=null,currentPriorityLevel=NormalPriority,isPerformingWork=!1,isHostCallbackScheduled=!1,isHostTimeoutScheduled=!1;function advanceTimers(currentTime){for(var timer=peek(timerQueue);timer!==null;){if(timer.callback===null)pop(timerQueue);else if(timer.startTime<=currentTime)pop(timerQueue),timer.sortIndex=timer.expirationTime,push(taskQueue,timer),markTaskStart(timer,currentTime),timer.isQueued=!0;else return;timer=peek(timerQueue)}}function handleTimeout(currentTime){if(isHostTimeoutScheduled=!1,advanceTimers(currentTime),!isHostCallbackScheduled)if(peek(taskQueue)!==null)isHostCallbackScheduled=!0,requestHostCallback(flushWork);else{var firstTimer=peek(timerQueue);firstTimer!==null&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime)}}function flushWork(hasTimeRemaining,initialTime2){markSchedulerUnsuspended(initialTime2),isHostCallbackScheduled=!1,isHostTimeoutScheduled&&(isHostTimeoutScheduled=!1,cancelHostTimeout()),isPerformingWork=!0;var previousPriorityLevel=currentPriorityLevel;try{if(enableProfiling)try{return workLoop(hasTimeRemaining,initialTime2)}catch(error){if(currentTask!==null){var currentTime=exports.unstable_now();markTaskErrored(currentTask,currentTime),currentTask.isQueued=!1}throw error}else return workLoop(hasTimeRemaining,initialTime2)}finally{currentTask=null,currentPriorityLevel=previousPriorityLevel,isPerformingWork=!1;{var _currentTime=exports.unstable_now();markSchedulerSuspended(_currentTime)}}}function workLoop(hasTimeRemaining,initialTime2){var currentTime=initialTime2;for(advanceTimers(currentTime),currentTask=peek(taskQueue);currentTask!==null&&!enableSchedulerDebugging&&!(currentTask.expirationTime>currentTime&&(!hasTimeRemaining||shouldYieldToHost()));){var callback=currentTask.callback;if(callback!==null){currentTask.callback=null,currentPriorityLevel=currentTask.priorityLevel;var didUserCallbackTimeout=currentTask.expirationTime<=currentTime;markTaskRun(currentTask,currentTime);var continuationCallback=callback(didUserCallbackTimeout);currentTime=exports.unstable_now(),typeof continuationCallback=="function"?(currentTask.callback=continuationCallback,markTaskYield(currentTask,currentTime)):(markTaskCompleted(currentTask,currentTime),currentTask.isQueued=!1,currentTask===peek(taskQueue)&&pop(taskQueue)),advanceTimers(currentTime)}else pop(taskQueue);currentTask=peek(taskQueue)}if(currentTask!==null)return!0;var firstTimer=peek(timerQueue);return firstTimer!==null&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime),!1}function unstable_runWithPriority(priorityLevel,eventHandler){switch(priorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:case LowPriority:case IdlePriority:break;default:priorityLevel=NormalPriority}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_next(eventHandler){var priorityLevel;switch(currentPriorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:priorityLevel=NormalPriority;break;default:priorityLevel=currentPriorityLevel;break}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_wrapCallback(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=parentPriorityLevel;try{return callback.apply(this,arguments)}finally{currentPriorityLevel=previousPriorityLevel}}}function timeoutForPriorityLevel(priorityLevel){switch(priorityLevel){case ImmediatePriority:return IMMEDIATE_PRIORITY_TIMEOUT;case UserBlockingPriority:return USER_BLOCKING_PRIORITY;case IdlePriority:return IDLE_PRIORITY;case LowPriority:return LOW_PRIORITY_TIMEOUT;case NormalPriority:default:return NORMAL_PRIORITY_TIMEOUT}}function unstable_scheduleCallback(priorityLevel,callback,options){var currentTime=exports.unstable_now(),startTime,timeout;if(typeof options=="object"&&options!==null){var delay=options.delay;typeof delay=="number"&&delay>0?startTime=currentTime+delay:startTime=currentTime,timeout=typeof options.timeout=="number"?options.timeout:timeoutForPriorityLevel(priorityLevel)}else timeout=timeoutForPriorityLevel(priorityLevel),startTime=currentTime;var expirationTime=startTime+timeout,newTask={id:taskIdCounter++,callback,priorityLevel,startTime,expirationTime,sortIndex:-1};return newTask.isQueued=!1,startTime>currentTime?(newTask.sortIndex=startTime,push(timerQueue,newTask),peek(taskQueue)===null&&newTask===peek(timerQueue)&&(isHostTimeoutScheduled?cancelHostTimeout():isHostTimeoutScheduled=!0,requestHostTimeout(handleTimeout,startTime-currentTime))):(newTask.sortIndex=expirationTime,push(taskQueue,newTask),markTaskStart(newTask,currentTime),newTask.isQueued=!0,!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))),newTask}function unstable_pauseExecution(){}function unstable_continueExecution(){!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))}function unstable_getFirstCallbackNode(){return peek(taskQueue)}function unstable_cancelCallback(task){if(task.isQueued){var currentTime=exports.unstable_now();markTaskCanceled(task,currentTime),task.isQueued=!1}task.callback=null}function unstable_getCurrentPriorityLevel(){return currentPriorityLevel}function unstable_shouldYield(){var currentTime=exports.unstable_now();advanceTimers(currentTime);var firstTask=peek(taskQueue);return firstTask!==currentTask&¤tTask!==null&&firstTask!==null&&firstTask.callback!==null&&firstTask.startTime<=currentTime&&firstTask.expirationTime<currentTask.expirationTime||shouldYieldToHost()}var unstable_requestPaint=requestPaint,unstable_Profiling={startLoggingProfilingEvents,stopLoggingProfilingEvents,sharedProfilingBuffer};exports.unstable_IdlePriority=IdlePriority,exports.unstable_ImmediatePriority=ImmediatePriority,exports.unstable_LowPriority=LowPriority,exports.unstable_NormalPriority=NormalPriority,exports.unstable_Profiling=unstable_Profiling,exports.unstable_UserBlockingPriority=UserBlockingPriority,exports.unstable_cancelCallback=unstable_cancelCallback,exports.unstable_continueExecution=unstable_continueExecution,exports.unstable_getCurrentPriorityLevel=unstable_getCurrentPriorityLevel,exports.unstable_getFirstCallbackNode=unstable_getFirstCallbackNode,exports.unstable_next=unstable_next,exports.unstable_pauseExecution=unstable_pauseExecution,exports.unstable_requestPaint=unstable_requestPaint,exports.unstable_runWithPriority=unstable_runWithPriority,exports.unstable_scheduleCallback=unstable_scheduleCallback,exports.unstable_shouldYield=unstable_shouldYield,exports.unstable_wrapCallback=unstable_wrapCallback})()}});var require_scheduler=__commonJS({"../../node_modules/scheduler/index.js"(exports,module){"use strict";module.exports=require_scheduler_development()}});var require_scheduler_tracing_development=__commonJS({"../../node_modules/scheduler/cjs/scheduler-tracing.development.js"(exports){"use strict";(function(){"use strict";var DEFAULT_THREAD_ID=0,interactionIDCounter=0,threadIDCounter=0;exports.__interactionsRef=null,exports.__subscriberRef=null,exports.__interactionsRef={current:new Set},exports.__subscriberRef={current:null};function unstable_clear(callback){var prevInteractions=exports.__interactionsRef.current;exports.__interactionsRef.current=new Set;try{return callback()}finally{exports.__interactionsRef.current=prevInteractions}}function unstable_getCurrent(){return exports.__interactionsRef.current}function unstable_getThreadID(){return++threadIDCounter}function unstable_trace(name,timestamp,callback){var threadID=arguments.length>3&&arguments[3]!==void 0?arguments[3]:DEFAULT_THREAD_ID,interaction={__count:1,id:interactionIDCounter++,name,timestamp},prevInteractions=exports.__interactionsRef.current,interactions=new Set(prevInteractions);interactions.add(interaction),exports.__interactionsRef.current=interactions;var subscriber=exports.__subscriberRef.current,returnValue;try{subscriber!==null&&subscriber.onInteractionTraced(interaction)}finally{try{subscriber!==null&&subscriber.onWorkStarted(interactions,threadID)}finally{try{returnValue=callback()}finally{exports.__interactionsRef.current=prevInteractions;try{subscriber!==null&&subscriber.onWorkStopped(interactions,threadID)}finally{interaction.__count--,subscriber!==null&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)}}}}return returnValue}function unstable_wrap(callback){var threadID=arguments.length>1&&arguments[1]!==void 0?arguments[1]:DEFAULT_THREAD_ID,wrappedInteractions=exports.__interactionsRef.current,subscriber=exports.__subscriberRef.current;subscriber!==null&&subscriber.onWorkScheduled(wrappedInteractions,threadID),wrappedInteractions.forEach(function(interaction){interaction.__count++});var hasRun=!1;function wrapped(){var prevInteractions=exports.__interactionsRef.current;exports.__interactionsRef.current=wrappedInteractions,subscriber=exports.__subscriberRef.current;try{var returnValue;try{subscriber!==null&&subscriber.onWorkStarted(wrappedInteractions,threadID)}finally{try{returnValue=callback.apply(void 0,arguments)}finally{exports.__interactionsRef.current=prevInteractions,subscriber!==null&&subscriber.onWorkStopped(wrappedInteractions,threadID)}}return returnValue}finally{hasRun||(hasRun=!0,wrappedInteractions.forEach(function(interaction){interaction.__count--,subscriber!==null&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)}))}}return wrapped.cancel=function(){subscriber=exports.__subscriberRef.current;try{subscriber!==null&&subscriber.onWorkCanceled(wrappedInteractions,threadID)}finally{wrappedInteractions.forEach(function(interaction){interaction.__count--,subscriber&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)})}},wrapped}var subscribers=null;subscribers=new Set;function unstable_subscribe(subscriber){subscribers.add(subscriber),subscribers.size===1&&(exports.__subscriberRef.current={onInteractionScheduledWorkCompleted,onInteractionTraced,onWorkCanceled,onWorkScheduled,onWorkStarted,onWorkStopped})}function unstable_unsubscribe(subscriber){subscribers.delete(subscriber),subscribers.size===0&&(exports.__subscriberRef.current=null)}function onInteractionTraced(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onInteractionTraced(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onInteractionScheduledWorkCompleted(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onInteractionScheduledWorkCompleted(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkScheduled(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkScheduled(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkStarted(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkStarted(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkStopped(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkStopped(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkCanceled(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkCanceled(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}exports.unstable_clear=unstable_clear,exports.unstable_getCurrent=unstable_getCurrent,exports.unstable_getThreadID=unstable_getThreadID,exports.unstable_subscribe=unstable_subscribe,exports.unstable_trace=unstable_trace,exports.unstable_unsubscribe=unstable_unsubscribe,exports.unstable_wrap=unstable_wrap})()}});var require_tracing=__commonJS({"../../node_modules/scheduler/tracing.js"(exports,module){"use strict";module.exports=require_scheduler_tracing_development()}});var require_react_dom_development=__commonJS({"../../node_modules/react-dom/cjs/react-dom.development.js"(exports){"use strict";(function(){"use strict";var React=require_react(),_assign=require_object_assign(),Scheduler=require_scheduler(),checkPropTypes=require_checkPropTypes(),tracing=require_tracing(),ReactSharedInternals=React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ReactSharedInternals.hasOwnProperty("ReactCurrentDispatcher")||(ReactSharedInternals.ReactCurrentDispatcher={current:null}),ReactSharedInternals.hasOwnProperty("ReactCurrentBatchConfig")||(ReactSharedInternals.ReactCurrentBatchConfig={suspense:null});function warn(format2){{for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];printWarning("warn",format2,args)}}function error(format2){{for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];printWarning("error",format2,args)}}function printWarning(level,format2,args){{var hasExistingStack=args.length>0&&typeof args[args.length-1]=="string"&&args[args.length-1].indexOf(`
|
1
|
+
import{require_checkPropTypes,require_object_assign,require_react}from"./chunk-CGGDZUA2.mjs";import{__commonJS}from"./chunk-JCTATS4D.mjs";var require_scheduler_development=__commonJS({"../../node_modules/scheduler/cjs/scheduler.development.js"(exports){"use strict";(function(){"use strict";var enableSchedulerDebugging=!1,enableProfiling=!0,requestHostCallback,requestHostTimeout,cancelHostTimeout,shouldYieldToHost,requestPaint;if(typeof window>"u"||typeof MessageChannel!="function"){var _callback=null,_timeoutID=null,_flushCallback=function(){if(_callback!==null)try{var currentTime=exports.unstable_now(),hasRemainingTime=!0;_callback(hasRemainingTime,currentTime),_callback=null}catch(e){throw setTimeout(_flushCallback,0),e}},initialTime=Date.now();exports.unstable_now=function(){return Date.now()-initialTime},requestHostCallback=function(cb){_callback!==null?setTimeout(requestHostCallback,0,cb):(_callback=cb,setTimeout(_flushCallback,0))},requestHostTimeout=function(cb,ms){_timeoutID=setTimeout(cb,ms)},cancelHostTimeout=function(){clearTimeout(_timeoutID)},shouldYieldToHost=function(){return!1},requestPaint=exports.unstable_forceFrameRate=function(){}}else{var performance2=window.performance,_Date=window.Date,_setTimeout=window.setTimeout,_clearTimeout=window.clearTimeout;if(typeof console<"u"){var requestAnimationFrame=window.requestAnimationFrame,cancelAnimationFrame=window.cancelAnimationFrame;typeof requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof cancelAnimationFrame!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if(typeof performance2=="object"&&typeof performance2.now=="function")exports.unstable_now=function(){return performance2.now()};else{var _initialTime=_Date.now();exports.unstable_now=function(){return _Date.now()-_initialTime}}var isMessageLoopRunning=!1,scheduledHostCallback=null,taskTimeoutID=-1,yieldInterval=5,deadline=0;shouldYieldToHost=function(){return exports.unstable_now()>=deadline},requestPaint=function(){},exports.unstable_forceFrameRate=function(fps){if(fps<0||fps>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported");return}fps>0?yieldInterval=Math.floor(1e3/fps):yieldInterval=5};var performWorkUntilDeadline=function(){if(scheduledHostCallback!==null){var currentTime=exports.unstable_now();deadline=currentTime+yieldInterval;var hasTimeRemaining=!0;try{var hasMoreWork=scheduledHostCallback(hasTimeRemaining,currentTime);hasMoreWork?port.postMessage(null):(isMessageLoopRunning=!1,scheduledHostCallback=null)}catch(error){throw port.postMessage(null),error}}else isMessageLoopRunning=!1},channel=new MessageChannel,port=channel.port2;channel.port1.onmessage=performWorkUntilDeadline,requestHostCallback=function(callback){scheduledHostCallback=callback,isMessageLoopRunning||(isMessageLoopRunning=!0,port.postMessage(null))},requestHostTimeout=function(callback,ms){taskTimeoutID=_setTimeout(function(){callback(exports.unstable_now())},ms)},cancelHostTimeout=function(){_clearTimeout(taskTimeoutID),taskTimeoutID=-1}}function push(heap,node){var index=heap.length;heap.push(node),siftUp(heap,node,index)}function peek(heap){var first=heap[0];return first===void 0?null:first}function pop(heap){var first=heap[0];if(first!==void 0){var last=heap.pop();return last!==first&&(heap[0]=last,siftDown(heap,last,0)),first}else return null}function siftUp(heap,node,i){for(var index=i;;){var parentIndex=index-1>>>1,parent=heap[parentIndex];if(parent!==void 0&&compare(parent,node)>0)heap[parentIndex]=node,heap[index]=parent,index=parentIndex;else return}}function siftDown(heap,node,i){for(var index=i,length=heap.length;index<length;){var leftIndex=(index+1)*2-1,left2=heap[leftIndex],rightIndex=leftIndex+1,right2=heap[rightIndex];if(left2!==void 0&&compare(left2,node)<0)right2!==void 0&&compare(right2,left2)<0?(heap[index]=right2,heap[rightIndex]=node,index=rightIndex):(heap[index]=left2,heap[leftIndex]=node,index=leftIndex);else if(right2!==void 0&&compare(right2,node)<0)heap[index]=right2,heap[rightIndex]=node,index=rightIndex;else return}}function compare(a,b){var diff=a.sortIndex-b.sortIndex;return diff!==0?diff:a.id-b.id}var NoPriority=0,ImmediatePriority=1,UserBlockingPriority=2,NormalPriority=3,LowPriority=4,IdlePriority=5,runIdCounter=0,mainThreadIdCounter=0,profilingStateSize=4,sharedProfilingBuffer=typeof SharedArrayBuffer=="function"?new SharedArrayBuffer(profilingStateSize*Int32Array.BYTES_PER_ELEMENT):typeof ArrayBuffer=="function"?new ArrayBuffer(profilingStateSize*Int32Array.BYTES_PER_ELEMENT):null,profilingState=sharedProfilingBuffer!==null?new Int32Array(sharedProfilingBuffer):[],PRIORITY=0,CURRENT_TASK_ID=1,CURRENT_RUN_ID=2,QUEUE_SIZE=3;profilingState[PRIORITY]=NoPriority,profilingState[QUEUE_SIZE]=0,profilingState[CURRENT_TASK_ID]=0;var INITIAL_EVENT_LOG_SIZE=131072,MAX_EVENT_LOG_SIZE=524288,eventLogSize=0,eventLogBuffer=null,eventLog=null,eventLogIndex=0,TaskStartEvent=1,TaskCompleteEvent=2,TaskErrorEvent=3,TaskCancelEvent=4,TaskRunEvent=5,TaskYieldEvent=6,SchedulerSuspendEvent=7,SchedulerResumeEvent=8;function logEvent(entries){if(eventLog!==null){var offset2=eventLogIndex;if(eventLogIndex+=entries.length,eventLogIndex+1>eventLogSize){if(eventLogSize*=2,eventLogSize>MAX_EVENT_LOG_SIZE){console.error("Scheduler Profiling: Event log exceeded maximum size. Don't forget to call `stopLoggingProfilingEvents()`."),stopLoggingProfilingEvents();return}var newEventLog=new Int32Array(eventLogSize*4);newEventLog.set(eventLog),eventLogBuffer=newEventLog.buffer,eventLog=newEventLog}eventLog.set(entries,offset2)}}function startLoggingProfilingEvents(){eventLogSize=INITIAL_EVENT_LOG_SIZE,eventLogBuffer=new ArrayBuffer(eventLogSize*4),eventLog=new Int32Array(eventLogBuffer),eventLogIndex=0}function stopLoggingProfilingEvents(){var buffer=eventLogBuffer;return eventLogSize=0,eventLogBuffer=null,eventLog=null,eventLogIndex=0,buffer}function markTaskStart(task,ms){profilingState[QUEUE_SIZE]++,eventLog!==null&&logEvent([TaskStartEvent,ms*1e3,task.id,task.priorityLevel])}function markTaskCompleted(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskCompleteEvent,ms*1e3,task.id])}function markTaskCanceled(task,ms){profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskCancelEvent,ms*1e3,task.id])}function markTaskErrored(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskErrorEvent,ms*1e3,task.id])}function markTaskRun(task,ms){runIdCounter++,profilingState[PRIORITY]=task.priorityLevel,profilingState[CURRENT_TASK_ID]=task.id,profilingState[CURRENT_RUN_ID]=runIdCounter,eventLog!==null&&logEvent([TaskRunEvent,ms*1e3,task.id,runIdCounter])}function markTaskYield(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[CURRENT_RUN_ID]=0,eventLog!==null&&logEvent([TaskYieldEvent,ms*1e3,task.id,runIdCounter])}function markSchedulerSuspended(ms){mainThreadIdCounter++,eventLog!==null&&logEvent([SchedulerSuspendEvent,ms*1e3,mainThreadIdCounter])}function markSchedulerUnsuspended(ms){eventLog!==null&&logEvent([SchedulerResumeEvent,ms*1e3,mainThreadIdCounter])}var maxSigned31BitInt=1073741823,IMMEDIATE_PRIORITY_TIMEOUT=-1,USER_BLOCKING_PRIORITY=250,NORMAL_PRIORITY_TIMEOUT=5e3,LOW_PRIORITY_TIMEOUT=1e4,IDLE_PRIORITY=maxSigned31BitInt,taskQueue=[],timerQueue=[],taskIdCounter=1,currentTask=null,currentPriorityLevel=NormalPriority,isPerformingWork=!1,isHostCallbackScheduled=!1,isHostTimeoutScheduled=!1;function advanceTimers(currentTime){for(var timer=peek(timerQueue);timer!==null;){if(timer.callback===null)pop(timerQueue);else if(timer.startTime<=currentTime)pop(timerQueue),timer.sortIndex=timer.expirationTime,push(taskQueue,timer),markTaskStart(timer,currentTime),timer.isQueued=!0;else return;timer=peek(timerQueue)}}function handleTimeout(currentTime){if(isHostTimeoutScheduled=!1,advanceTimers(currentTime),!isHostCallbackScheduled)if(peek(taskQueue)!==null)isHostCallbackScheduled=!0,requestHostCallback(flushWork);else{var firstTimer=peek(timerQueue);firstTimer!==null&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime)}}function flushWork(hasTimeRemaining,initialTime2){markSchedulerUnsuspended(initialTime2),isHostCallbackScheduled=!1,isHostTimeoutScheduled&&(isHostTimeoutScheduled=!1,cancelHostTimeout()),isPerformingWork=!0;var previousPriorityLevel=currentPriorityLevel;try{if(enableProfiling)try{return workLoop(hasTimeRemaining,initialTime2)}catch(error){if(currentTask!==null){var currentTime=exports.unstable_now();markTaskErrored(currentTask,currentTime),currentTask.isQueued=!1}throw error}else return workLoop(hasTimeRemaining,initialTime2)}finally{currentTask=null,currentPriorityLevel=previousPriorityLevel,isPerformingWork=!1;{var _currentTime=exports.unstable_now();markSchedulerSuspended(_currentTime)}}}function workLoop(hasTimeRemaining,initialTime2){var currentTime=initialTime2;for(advanceTimers(currentTime),currentTask=peek(taskQueue);currentTask!==null&&!enableSchedulerDebugging&&!(currentTask.expirationTime>currentTime&&(!hasTimeRemaining||shouldYieldToHost()));){var callback=currentTask.callback;if(callback!==null){currentTask.callback=null,currentPriorityLevel=currentTask.priorityLevel;var didUserCallbackTimeout=currentTask.expirationTime<=currentTime;markTaskRun(currentTask,currentTime);var continuationCallback=callback(didUserCallbackTimeout);currentTime=exports.unstable_now(),typeof continuationCallback=="function"?(currentTask.callback=continuationCallback,markTaskYield(currentTask,currentTime)):(markTaskCompleted(currentTask,currentTime),currentTask.isQueued=!1,currentTask===peek(taskQueue)&&pop(taskQueue)),advanceTimers(currentTime)}else pop(taskQueue);currentTask=peek(taskQueue)}if(currentTask!==null)return!0;var firstTimer=peek(timerQueue);return firstTimer!==null&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime),!1}function unstable_runWithPriority(priorityLevel,eventHandler){switch(priorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:case LowPriority:case IdlePriority:break;default:priorityLevel=NormalPriority}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_next(eventHandler){var priorityLevel;switch(currentPriorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:priorityLevel=NormalPriority;break;default:priorityLevel=currentPriorityLevel;break}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_wrapCallback(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=parentPriorityLevel;try{return callback.apply(this,arguments)}finally{currentPriorityLevel=previousPriorityLevel}}}function timeoutForPriorityLevel(priorityLevel){switch(priorityLevel){case ImmediatePriority:return IMMEDIATE_PRIORITY_TIMEOUT;case UserBlockingPriority:return USER_BLOCKING_PRIORITY;case IdlePriority:return IDLE_PRIORITY;case LowPriority:return LOW_PRIORITY_TIMEOUT;case NormalPriority:default:return NORMAL_PRIORITY_TIMEOUT}}function unstable_scheduleCallback(priorityLevel,callback,options){var currentTime=exports.unstable_now(),startTime,timeout;if(typeof options=="object"&&options!==null){var delay=options.delay;typeof delay=="number"&&delay>0?startTime=currentTime+delay:startTime=currentTime,timeout=typeof options.timeout=="number"?options.timeout:timeoutForPriorityLevel(priorityLevel)}else timeout=timeoutForPriorityLevel(priorityLevel),startTime=currentTime;var expirationTime=startTime+timeout,newTask={id:taskIdCounter++,callback,priorityLevel,startTime,expirationTime,sortIndex:-1};return newTask.isQueued=!1,startTime>currentTime?(newTask.sortIndex=startTime,push(timerQueue,newTask),peek(taskQueue)===null&&newTask===peek(timerQueue)&&(isHostTimeoutScheduled?cancelHostTimeout():isHostTimeoutScheduled=!0,requestHostTimeout(handleTimeout,startTime-currentTime))):(newTask.sortIndex=expirationTime,push(taskQueue,newTask),markTaskStart(newTask,currentTime),newTask.isQueued=!0,!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))),newTask}function unstable_pauseExecution(){}function unstable_continueExecution(){!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))}function unstable_getFirstCallbackNode(){return peek(taskQueue)}function unstable_cancelCallback(task){if(task.isQueued){var currentTime=exports.unstable_now();markTaskCanceled(task,currentTime),task.isQueued=!1}task.callback=null}function unstable_getCurrentPriorityLevel(){return currentPriorityLevel}function unstable_shouldYield(){var currentTime=exports.unstable_now();advanceTimers(currentTime);var firstTask=peek(taskQueue);return firstTask!==currentTask&¤tTask!==null&&firstTask!==null&&firstTask.callback!==null&&firstTask.startTime<=currentTime&&firstTask.expirationTime<currentTask.expirationTime||shouldYieldToHost()}var unstable_requestPaint=requestPaint,unstable_Profiling={startLoggingProfilingEvents,stopLoggingProfilingEvents,sharedProfilingBuffer};exports.unstable_IdlePriority=IdlePriority,exports.unstable_ImmediatePriority=ImmediatePriority,exports.unstable_LowPriority=LowPriority,exports.unstable_NormalPriority=NormalPriority,exports.unstable_Profiling=unstable_Profiling,exports.unstable_UserBlockingPriority=UserBlockingPriority,exports.unstable_cancelCallback=unstable_cancelCallback,exports.unstable_continueExecution=unstable_continueExecution,exports.unstable_getCurrentPriorityLevel=unstable_getCurrentPriorityLevel,exports.unstable_getFirstCallbackNode=unstable_getFirstCallbackNode,exports.unstable_next=unstable_next,exports.unstable_pauseExecution=unstable_pauseExecution,exports.unstable_requestPaint=unstable_requestPaint,exports.unstable_runWithPriority=unstable_runWithPriority,exports.unstable_scheduleCallback=unstable_scheduleCallback,exports.unstable_shouldYield=unstable_shouldYield,exports.unstable_wrapCallback=unstable_wrapCallback})()}});var require_scheduler=__commonJS({"../../node_modules/scheduler/index.js"(exports,module){"use strict";module.exports=require_scheduler_development()}});var require_scheduler_tracing_development=__commonJS({"../../node_modules/scheduler/cjs/scheduler-tracing.development.js"(exports){"use strict";(function(){"use strict";var DEFAULT_THREAD_ID=0,interactionIDCounter=0,threadIDCounter=0;exports.__interactionsRef=null,exports.__subscriberRef=null,exports.__interactionsRef={current:new Set},exports.__subscriberRef={current:null};function unstable_clear(callback){var prevInteractions=exports.__interactionsRef.current;exports.__interactionsRef.current=new Set;try{return callback()}finally{exports.__interactionsRef.current=prevInteractions}}function unstable_getCurrent(){return exports.__interactionsRef.current}function unstable_getThreadID(){return++threadIDCounter}function unstable_trace(name,timestamp,callback){var threadID=arguments.length>3&&arguments[3]!==void 0?arguments[3]:DEFAULT_THREAD_ID,interaction={__count:1,id:interactionIDCounter++,name,timestamp},prevInteractions=exports.__interactionsRef.current,interactions=new Set(prevInteractions);interactions.add(interaction),exports.__interactionsRef.current=interactions;var subscriber=exports.__subscriberRef.current,returnValue;try{subscriber!==null&&subscriber.onInteractionTraced(interaction)}finally{try{subscriber!==null&&subscriber.onWorkStarted(interactions,threadID)}finally{try{returnValue=callback()}finally{exports.__interactionsRef.current=prevInteractions;try{subscriber!==null&&subscriber.onWorkStopped(interactions,threadID)}finally{interaction.__count--,subscriber!==null&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)}}}}return returnValue}function unstable_wrap(callback){var threadID=arguments.length>1&&arguments[1]!==void 0?arguments[1]:DEFAULT_THREAD_ID,wrappedInteractions=exports.__interactionsRef.current,subscriber=exports.__subscriberRef.current;subscriber!==null&&subscriber.onWorkScheduled(wrappedInteractions,threadID),wrappedInteractions.forEach(function(interaction){interaction.__count++});var hasRun=!1;function wrapped(){var prevInteractions=exports.__interactionsRef.current;exports.__interactionsRef.current=wrappedInteractions,subscriber=exports.__subscriberRef.current;try{var returnValue;try{subscriber!==null&&subscriber.onWorkStarted(wrappedInteractions,threadID)}finally{try{returnValue=callback.apply(void 0,arguments)}finally{exports.__interactionsRef.current=prevInteractions,subscriber!==null&&subscriber.onWorkStopped(wrappedInteractions,threadID)}}return returnValue}finally{hasRun||(hasRun=!0,wrappedInteractions.forEach(function(interaction){interaction.__count--,subscriber!==null&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)}))}}return wrapped.cancel=function(){subscriber=exports.__subscriberRef.current;try{subscriber!==null&&subscriber.onWorkCanceled(wrappedInteractions,threadID)}finally{wrappedInteractions.forEach(function(interaction){interaction.__count--,subscriber&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)})}},wrapped}var subscribers=null;subscribers=new Set;function unstable_subscribe(subscriber){subscribers.add(subscriber),subscribers.size===1&&(exports.__subscriberRef.current={onInteractionScheduledWorkCompleted,onInteractionTraced,onWorkCanceled,onWorkScheduled,onWorkStarted,onWorkStopped})}function unstable_unsubscribe(subscriber){subscribers.delete(subscriber),subscribers.size===0&&(exports.__subscriberRef.current=null)}function onInteractionTraced(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onInteractionTraced(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onInteractionScheduledWorkCompleted(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onInteractionScheduledWorkCompleted(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkScheduled(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkScheduled(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkStarted(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkStarted(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkStopped(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkStopped(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkCanceled(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkCanceled(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}exports.unstable_clear=unstable_clear,exports.unstable_getCurrent=unstable_getCurrent,exports.unstable_getThreadID=unstable_getThreadID,exports.unstable_subscribe=unstable_subscribe,exports.unstable_trace=unstable_trace,exports.unstable_unsubscribe=unstable_unsubscribe,exports.unstable_wrap=unstable_wrap})()}});var require_tracing=__commonJS({"../../node_modules/scheduler/tracing.js"(exports,module){"use strict";module.exports=require_scheduler_tracing_development()}});var require_react_dom_development=__commonJS({"../../node_modules/react-dom/cjs/react-dom.development.js"(exports){"use strict";(function(){"use strict";var React=require_react(),_assign=require_object_assign(),Scheduler=require_scheduler(),checkPropTypes=require_checkPropTypes(),tracing=require_tracing(),ReactSharedInternals=React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ReactSharedInternals.hasOwnProperty("ReactCurrentDispatcher")||(ReactSharedInternals.ReactCurrentDispatcher={current:null}),ReactSharedInternals.hasOwnProperty("ReactCurrentBatchConfig")||(ReactSharedInternals.ReactCurrentBatchConfig={suspense:null});function warn(format2){{for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];printWarning("warn",format2,args)}}function error(format2){{for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];printWarning("error",format2,args)}}function printWarning(level,format2,args){{var hasExistingStack=args.length>0&&typeof args[args.length-1]=="string"&&args[args.length-1].indexOf(`
|
2
2
|
in`)===0;if(!hasExistingStack){var ReactDebugCurrentFrame2=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame2.getStackAddendum();stack!==""&&(format2+="%s",args=args.concat([stack]))}var argsWithFormat=args.map(function(item){return""+item});argsWithFormat.unshift("Warning: "+format2),Function.prototype.apply.call(console[level],console,argsWithFormat);try{var argIndex=0,message="Warning: "+format2.replace(/%s/g,function(){return args[argIndex++]});throw new Error(message)}catch{}}}if(!React)throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var invokeGuardedCallbackImpl=function(name,func,context,a,b,c,d,e,f){var funcArgs=Array.prototype.slice.call(arguments,3);try{func.apply(context,funcArgs)}catch(error2){this.onError(error2)}};if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var fakeNode=document.createElement("react"),invokeGuardedCallbackDev=function(name,func,context,a,b,c,d,e,f){if(!(typeof document<"u"))throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var evt=document.createEvent("Event"),didError=!0,windowEvent=window.event,windowEventDescriptor=Object.getOwnPropertyDescriptor(window,"event"),funcArgs=Array.prototype.slice.call(arguments,3);function callCallback2(){fakeNode.removeEventListener(evtType,callCallback2,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=windowEvent),func.apply(context,funcArgs),didError=!1}var error2,didSetError=!1,isCrossOriginError=!1;function handleWindowError(event){if(error2=event.error,didSetError=!0,error2===null&&event.colno===0&&event.lineno===0&&(isCrossOriginError=!0),event.defaultPrevented&&error2!=null&&typeof error2=="object")try{error2._suppressLogging=!0}catch{}}var evtType="react-"+(name||"invokeguardedcallback");window.addEventListener("error",handleWindowError),fakeNode.addEventListener(evtType,callCallback2,!1),evt.initEvent(evtType,!1,!1),fakeNode.dispatchEvent(evt),windowEventDescriptor&&Object.defineProperty(window,"event",windowEventDescriptor),didError&&(didSetError?isCrossOriginError&&(error2=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):error2=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(error2)),window.removeEventListener("error",handleWindowError)};invokeGuardedCallbackImpl=invokeGuardedCallbackDev}var invokeGuardedCallbackImpl$1=invokeGuardedCallbackImpl,hasError=!1,caughtError=null,hasRethrowError=!1,rethrowError=null,reporter={onError:function(error2){hasError=!0,caughtError=error2}};function invokeGuardedCallback(name,func,context,a,b,c,d,e,f){hasError=!1,caughtError=null,invokeGuardedCallbackImpl$1.apply(reporter,arguments)}function invokeGuardedCallbackAndCatchFirstError(name,func,context,a,b,c,d,e,f){if(invokeGuardedCallback.apply(this,arguments),hasError){var error2=clearCaughtError();hasRethrowError||(hasRethrowError=!0,rethrowError=error2)}}function rethrowCaughtError(){if(hasRethrowError){var error2=rethrowError;throw hasRethrowError=!1,rethrowError=null,error2}}function hasCaughtError(){return hasError}function clearCaughtError(){if(hasError){var error2=caughtError;return hasError=!1,caughtError=null,error2}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}var getFiberCurrentPropsFromNode=null,getInstanceFromNode=null,getNodeFromInstance=null;function setComponentTree(getFiberCurrentPropsFromNodeImpl,getInstanceFromNodeImpl,getNodeFromInstanceImpl){getFiberCurrentPropsFromNode=getFiberCurrentPropsFromNodeImpl,getInstanceFromNode=getInstanceFromNodeImpl,getNodeFromInstance=getNodeFromInstanceImpl,(!getNodeFromInstance||!getInstanceFromNode)&&error("EventPluginUtils.setComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode.")}var validateEventDispatches;validateEventDispatches=function(event){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances,listenersIsArr=Array.isArray(dispatchListeners),listenersLen=listenersIsArr?dispatchListeners.length:dispatchListeners?1:0,instancesIsArr=Array.isArray(dispatchInstances),instancesLen=instancesIsArr?dispatchInstances.length:dispatchInstances?1:0;(instancesIsArr!==listenersIsArr||instancesLen!==listenersLen)&&error("EventPluginUtils: Invalid `event`.")};function executeDispatch(event,listener,inst){var type=event.type||"unknown-event";event.currentTarget=getNodeFromInstance(inst),invokeGuardedCallbackAndCatchFirstError(type,listener,void 0,event),event.currentTarget=null}function executeDispatchesInOrder(event){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances;if(validateEventDispatches(event),Array.isArray(dispatchListeners))for(var i=0;i<dispatchListeners.length&&!event.isPropagationStopped();i++)executeDispatch(event,dispatchListeners[i],dispatchInstances[i]);else dispatchListeners&&executeDispatch(event,dispatchListeners,dispatchInstances);event._dispatchListeners=null,event._dispatchInstances=null}var FunctionComponent=0,ClassComponent=1,IndeterminateComponent=2,HostRoot=3,HostPortal=4,HostComponent=5,HostText=6,Fragment=7,Mode=8,ContextConsumer=9,ContextProvider=10,ForwardRef=11,Profiler=12,SuspenseComponent=13,MemoComponent=14,SimpleMemoComponent=15,LazyComponent=16,IncompleteClassComponent=17,DehydratedFragment=18,SuspenseListComponent=19,FundamentalComponent=20,ScopeComponent=21,Block=22,eventPluginOrder=null,namesToPlugins={};function recomputePluginOrdering(){if(!!eventPluginOrder)for(var pluginName in namesToPlugins){var pluginModule=namesToPlugins[pluginName],pluginIndex=eventPluginOrder.indexOf(pluginName);if(!(pluginIndex>-1))throw Error("EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `"+pluginName+"`.");if(!plugins[pluginIndex]){if(!pluginModule.extractEvents)throw Error("EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `"+pluginName+"` does not.");plugins[pluginIndex]=pluginModule;var publishedEvents=pluginModule.eventTypes;for(var eventName in publishedEvents)if(!publishEventForPlugin(publishedEvents[eventName],pluginModule,eventName))throw Error("EventPluginRegistry: Failed to publish event `"+eventName+"` for plugin `"+pluginName+"`.")}}}function publishEventForPlugin(dispatchConfig,pluginModule,eventName){if(eventNameDispatchConfigs.hasOwnProperty(eventName))throw Error("EventPluginRegistry: More than one plugin attempted to publish the same event name, `"+eventName+"`.");eventNameDispatchConfigs[eventName]=dispatchConfig;var phasedRegistrationNames=dispatchConfig.phasedRegistrationNames;if(phasedRegistrationNames){for(var phaseName in phasedRegistrationNames)if(phasedRegistrationNames.hasOwnProperty(phaseName)){var phasedRegistrationName=phasedRegistrationNames[phaseName];publishRegistrationName(phasedRegistrationName,pluginModule,eventName)}return!0}else if(dispatchConfig.registrationName)return publishRegistrationName(dispatchConfig.registrationName,pluginModule,eventName),!0;return!1}function publishRegistrationName(registrationName,pluginModule,eventName){if(registrationNameModules[registrationName])throw Error("EventPluginRegistry: More than one plugin attempted to publish the same registration name, `"+registrationName+"`.");registrationNameModules[registrationName]=pluginModule,registrationNameDependencies[registrationName]=pluginModule.eventTypes[eventName].dependencies;{var lowerCasedName=registrationName.toLowerCase();possibleRegistrationNames[lowerCasedName]=registrationName,registrationName==="onDoubleClick"&&(possibleRegistrationNames.ondblclick=registrationName)}}var plugins=[],eventNameDispatchConfigs={},registrationNameModules={},registrationNameDependencies={},possibleRegistrationNames={};function injectEventPluginOrder(injectedEventPluginOrder){if(eventPluginOrder)throw Error("EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.");eventPluginOrder=Array.prototype.slice.call(injectedEventPluginOrder),recomputePluginOrdering()}function injectEventPluginsByName(injectedNamesToPlugins){var isOrderingDirty=!1;for(var pluginName in injectedNamesToPlugins)if(!!injectedNamesToPlugins.hasOwnProperty(pluginName)){var pluginModule=injectedNamesToPlugins[pluginName];if(!namesToPlugins.hasOwnProperty(pluginName)||namesToPlugins[pluginName]!==pluginModule){if(namesToPlugins[pluginName])throw Error("EventPluginRegistry: Cannot inject two different event plugins using the same name, `"+pluginName+"`.");namesToPlugins[pluginName]=pluginModule,isOrderingDirty=!0}}isOrderingDirty&&recomputePluginOrdering()}var canUseDOM=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",PLUGIN_EVENT_SYSTEM=1,IS_REPLAYED=1<<5,IS_FIRST_ANCESTOR=1<<6,restoreImpl=null,restoreTarget=null,restoreQueue=null;function restoreStateOfTarget(target){var internalInstance=getInstanceFromNode(target);if(!!internalInstance){if(typeof restoreImpl!="function")throw Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var stateNode=internalInstance.stateNode;if(stateNode){var _props=getFiberCurrentPropsFromNode(stateNode);restoreImpl(internalInstance.stateNode,internalInstance.type,_props)}}}function setRestoreImplementation(impl){restoreImpl=impl}function enqueueStateRestore(target){restoreTarget?restoreQueue?restoreQueue.push(target):restoreQueue=[target]:restoreTarget=target}function needsStateRestore(){return restoreTarget!==null||restoreQueue!==null}function restoreStateIfNeeded(){if(!!restoreTarget){var target=restoreTarget,queuedTargets=restoreQueue;if(restoreTarget=null,restoreQueue=null,restoreStateOfTarget(target),queuedTargets)for(var i=0;i<queuedTargets.length;i++)restoreStateOfTarget(queuedTargets[i])}}var enableProfilerTimer=!0,enableDeprecatedFlareAPI=!1,enableFundamentalAPI=!1,warnAboutStringRefs=!1,batchedUpdatesImpl=function(fn,bookkeeping){return fn(bookkeeping)},discreteUpdatesImpl=function(fn,a,b,c,d){return fn(a,b,c,d)},flushDiscreteUpdatesImpl=function(){},batchedEventUpdatesImpl=batchedUpdatesImpl,isInsideEventHandler=!1,isBatchingEventUpdates=!1;function finishEventHandler(){var controlledComponentsHavePendingUpdates=needsStateRestore();controlledComponentsHavePendingUpdates&&(flushDiscreteUpdatesImpl(),restoreStateIfNeeded())}function batchedUpdates(fn,bookkeeping){if(isInsideEventHandler)return fn(bookkeeping);isInsideEventHandler=!0;try{return batchedUpdatesImpl(fn,bookkeeping)}finally{isInsideEventHandler=!1,finishEventHandler()}}function batchedEventUpdates(fn,a,b){if(isBatchingEventUpdates)return fn(a,b);isBatchingEventUpdates=!0;try{return batchedEventUpdatesImpl(fn,a,b)}finally{isBatchingEventUpdates=!1,finishEventHandler()}}function discreteUpdates(fn,a,b,c,d){var prevIsInsideEventHandler=isInsideEventHandler;isInsideEventHandler=!0;try{return discreteUpdatesImpl(fn,a,b,c,d)}finally{isInsideEventHandler=prevIsInsideEventHandler,isInsideEventHandler||finishEventHandler()}}function flushDiscreteUpdatesIfNeeded(timeStamp){!isInsideEventHandler&&!enableDeprecatedFlareAPI&&flushDiscreteUpdatesImpl()}function setBatchingImplementation(_batchedUpdatesImpl,_discreteUpdatesImpl,_flushDiscreteUpdatesImpl,_batchedEventUpdatesImpl){batchedUpdatesImpl=_batchedUpdatesImpl,discreteUpdatesImpl=_discreteUpdatesImpl,flushDiscreteUpdatesImpl=_flushDiscreteUpdatesImpl,batchedEventUpdatesImpl=_batchedEventUpdatesImpl}var DiscreteEvent=0,UserBlockingEvent=1,ContinuousEvent=2,RESERVED=0,STRING=1,BOOLEANISH_STRING=2,BOOLEAN=3,OVERLOADED_BOOLEAN=4,NUMERIC=5,POSITIVE_NUMERIC=6,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=ATTRIBUTE_NAME_START_CHAR+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ROOT_ATTRIBUTE_NAME="data-reactroot",VALID_ATTRIBUTE_NAME_REGEX=new RegExp("^["+ATTRIBUTE_NAME_START_CHAR+"]["+ATTRIBUTE_NAME_CHAR+"]*$"),hasOwnProperty=Object.prototype.hasOwnProperty,illegalAttributeNameCache={},validatedAttributeNameCache={};function isAttributeNameSafe(attributeName){return hasOwnProperty.call(validatedAttributeNameCache,attributeName)?!0:hasOwnProperty.call(illegalAttributeNameCache,attributeName)?!1:VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)?(validatedAttributeNameCache[attributeName]=!0,!0):(illegalAttributeNameCache[attributeName]=!0,error("Invalid attribute name: `%s`",attributeName),!1)}function shouldIgnoreAttribute(name,propertyInfo,isCustomComponentTag){return propertyInfo!==null?propertyInfo.type===RESERVED:isCustomComponentTag?!1:name.length>2&&(name[0]==="o"||name[0]==="O")&&(name[1]==="n"||name[1]==="N")}function shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag){if(propertyInfo!==null&&propertyInfo.type===RESERVED)return!1;switch(typeof value){case"function":case"symbol":return!0;case"boolean":{if(isCustomComponentTag)return!1;if(propertyInfo!==null)return!propertyInfo.acceptsBooleans;var prefix=name.toLowerCase().slice(0,5);return prefix!=="data-"&&prefix!=="aria-"}default:return!1}}function shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag){if(value===null||typeof value>"u"||shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag))return!0;if(isCustomComponentTag)return!1;if(propertyInfo!==null)switch(propertyInfo.type){case BOOLEAN:return!value;case OVERLOADED_BOOLEAN:return value===!1;case NUMERIC:return isNaN(value);case POSITIVE_NUMERIC:return isNaN(value)||value<1}return!1}function getPropertyInfo(name){return properties.hasOwnProperty(name)?properties[name]:null}function PropertyInfoRecord(name,type,mustUseProperty,attributeName,attributeNamespace,sanitizeURL2){this.acceptsBooleans=type===BOOLEANISH_STRING||type===BOOLEAN||type===OVERLOADED_BOOLEAN,this.attributeName=attributeName,this.attributeNamespace=attributeNamespace,this.mustUseProperty=mustUseProperty,this.propertyName=name,this.type=type,this.sanitizeURL=sanitizeURL2}var properties={},reservedProps=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];reservedProps.forEach(function(name){properties[name]=new PropertyInfoRecord(name,RESERVED,!1,name,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(_ref){var name=_ref[0],attributeName=_ref[1];properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEANISH_STRING,!1,name.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEANISH_STRING,!1,name,null,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEAN,!1,name.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEAN,!0,name,null,!1)}),["capture","download"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,OVERLOADED_BOOLEAN,!1,name,null,!1)}),["cols","rows","size","span"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,POSITIVE_NUMERIC,!1,name,null,!1)}),["rowSpan","start"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,NUMERIC,!1,name.toLowerCase(),null,!1)});var CAMELIZE=/[\-\:]([a-z])/g,capitalize=function(token){return token[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","xmlns:xlink","x-height"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,null,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(attributeName){properties[attributeName]=new PropertyInfoRecord(attributeName,STRING,!1,attributeName.toLowerCase(),null,!1)});var xlinkHref="xlinkHref";properties[xlinkHref]=new PropertyInfoRecord("xlinkHref",STRING,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(attributeName){properties[attributeName]=new PropertyInfoRecord(attributeName,STRING,!1,attributeName.toLowerCase(),null,!0)});var ReactDebugCurrentFrame=null;ReactDebugCurrentFrame=ReactSharedInternals.ReactDebugCurrentFrame;var isJavaScriptProtocol=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,didWarn=!1;function sanitizeURL(url){!didWarn&&isJavaScriptProtocol.test(url)&&(didWarn=!0,error("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(url)))}function getValueForProperty(node,name,expected,propertyInfo){if(propertyInfo.mustUseProperty){var propertyName=propertyInfo.propertyName;return node[propertyName]}else{propertyInfo.sanitizeURL&&sanitizeURL(""+expected);var attributeName=propertyInfo.attributeName,stringValue=null;if(propertyInfo.type===OVERLOADED_BOOLEAN){if(node.hasAttribute(attributeName)){var value=node.getAttribute(attributeName);return value===""?!0:shouldRemoveAttribute(name,expected,propertyInfo,!1)?value:value===""+expected?expected:value}}else if(node.hasAttribute(attributeName)){if(shouldRemoveAttribute(name,expected,propertyInfo,!1))return node.getAttribute(attributeName);if(propertyInfo.type===BOOLEAN)return expected;stringValue=node.getAttribute(attributeName)}return shouldRemoveAttribute(name,expected,propertyInfo,!1)?stringValue===null?expected:stringValue:stringValue===""+expected?expected:stringValue}}function getValueForAttribute(node,name,expected){{if(!isAttributeNameSafe(name))return;if(!node.hasAttribute(name))return expected===void 0?void 0:null;var value=node.getAttribute(name);return value===""+expected?expected:value}}function setValueForProperty(node,name,value,isCustomComponentTag){var propertyInfo=getPropertyInfo(name);if(!shouldIgnoreAttribute(name,propertyInfo,isCustomComponentTag)){if(shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag)&&(value=null),isCustomComponentTag||propertyInfo===null){if(isAttributeNameSafe(name)){var _attributeName=name;value===null?node.removeAttribute(_attributeName):node.setAttribute(_attributeName,""+value)}return}var mustUseProperty=propertyInfo.mustUseProperty;if(mustUseProperty){var propertyName=propertyInfo.propertyName;if(value===null){var type=propertyInfo.type;node[propertyName]=type===BOOLEAN?!1:""}else node[propertyName]=value;return}var attributeName=propertyInfo.attributeName,attributeNamespace=propertyInfo.attributeNamespace;if(value===null)node.removeAttribute(attributeName);else{var _type=propertyInfo.type,attributeValue;_type===BOOLEAN||_type===OVERLOADED_BOOLEAN&&value===!0?attributeValue="":(attributeValue=""+value,propertyInfo.sanitizeURL&&sanitizeURL(attributeValue.toString())),attributeNamespace?node.setAttributeNS(attributeNamespace,attributeName,attributeValue):node.setAttribute(attributeName,attributeValue)}}}var BEFORE_SLASH_RE=/^(.*)[\\\/]/;function describeComponentFrame(name,source,ownerName){var sourceInfo="";if(source){var path=source.fileName,fileName=path.replace(BEFORE_SLASH_RE,"");if(/^index\./.test(fileName)){var match=path.match(BEFORE_SLASH_RE);if(match){var pathBeforeSlash=match[1];if(pathBeforeSlash){var folderName=pathBeforeSlash.replace(BEFORE_SLASH_RE,"");fileName=folderName+"/"+fileName}}}sourceInfo=" (at "+fileName+":"+source.lineNumber+")"}else ownerName&&(sourceInfo=" (created by "+ownerName+")");return`
|
3
3
|
in `+(name||"Unknown")+sourceInfo}var hasSymbol=typeof Symbol=="function"&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,REACT_STRICT_MODE_TYPE=hasSymbol?Symbol.for("react.strict_mode"):60108,REACT_PROFILER_TYPE=hasSymbol?Symbol.for("react.profiler"):60114,REACT_PROVIDER_TYPE=hasSymbol?Symbol.for("react.provider"):60109,REACT_CONTEXT_TYPE=hasSymbol?Symbol.for("react.context"):60110,REACT_CONCURRENT_MODE_TYPE=hasSymbol?Symbol.for("react.concurrent_mode"):60111,REACT_FORWARD_REF_TYPE=hasSymbol?Symbol.for("react.forward_ref"):60112,REACT_SUSPENSE_TYPE=hasSymbol?Symbol.for("react.suspense"):60113,REACT_SUSPENSE_LIST_TYPE=hasSymbol?Symbol.for("react.suspense_list"):60120,REACT_MEMO_TYPE=hasSymbol?Symbol.for("react.memo"):60115,REACT_LAZY_TYPE=hasSymbol?Symbol.for("react.lazy"):60116,REACT_BLOCK_TYPE=hasSymbol?Symbol.for("react.block"):60121,MAYBE_ITERATOR_SYMBOL=typeof Symbol=="function"&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(maybeIterable===null||typeof maybeIterable!="object")return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];return typeof maybeIterator=="function"?maybeIterator:null}var Uninitialized=-1,Pending=0,Resolved=1,Rejected=2;function refineResolvedLazyComponent(lazyComponent){return lazyComponent._status===Resolved?lazyComponent._result:null}function initializeLazyComponentType(lazyComponent){if(lazyComponent._status===Uninitialized){lazyComponent._status=Pending;var ctor=lazyComponent._ctor,thenable=ctor();lazyComponent._result=thenable,thenable.then(function(moduleObject){if(lazyComponent._status===Pending){var defaultExport=moduleObject.default;defaultExport===void 0&&error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
4
4
|
|
@@ -6,7 +6,7 @@ Your code should look like:
|
|
6
6
|
const MyComponent = lazy(() => import('./MyComponent'))`,moduleObject),lazyComponent._status=Resolved,lazyComponent._result=defaultExport}},function(error2){lazyComponent._status===Pending&&(lazyComponent._status=Rejected,lazyComponent._result=error2)})}}function getWrappedName(outerType,innerType,wrapperName){var functionName=innerType.displayName||innerType.name||"";return outerType.displayName||(functionName!==""?wrapperName+"("+functionName+")":wrapperName)}function getComponentName(type){if(type==null)return null;if(typeof type.tag=="number"&&error("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof type=="function")return type.displayName||type.name||null;if(typeof type=="string")return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList"}if(typeof type=="object")switch(type.$$typeof){case REACT_CONTEXT_TYPE:return"Context.Consumer";case REACT_PROVIDER_TYPE:return"Context.Provider";case REACT_FORWARD_REF_TYPE:return getWrappedName(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:return getComponentName(type.type);case REACT_BLOCK_TYPE:return getComponentName(type.render);case REACT_LAZY_TYPE:{var thenable=type,resolvedThenable=refineResolvedLazyComponent(thenable);if(resolvedThenable)return getComponentName(resolvedThenable);break}}return null}var ReactDebugCurrentFrame$1=ReactSharedInternals.ReactDebugCurrentFrame;function describeFiber(fiber){switch(fiber.tag){case HostRoot:case HostPortal:case HostText:case Fragment:case ContextProvider:case ContextConsumer:return"";default:var owner=fiber._debugOwner,source=fiber._debugSource,name=getComponentName(fiber.type),ownerName=null;return owner&&(ownerName=getComponentName(owner.type)),describeComponentFrame(name,source,ownerName)}}function getStackByFiberInDevAndProd(workInProgress2){var info="",node=workInProgress2;do info+=describeFiber(node),node=node.return;while(node);return info}var current=null,isRendering=!1;function getCurrentFiberOwnerNameInDevOrNull(){{if(current===null)return null;var owner=current._debugOwner;if(owner!==null&&typeof owner<"u")return getComponentName(owner.type)}return null}function getCurrentFiberStackInDev(){return current===null?"":getStackByFiberInDevAndProd(current)}function resetCurrentFiber(){ReactDebugCurrentFrame$1.getCurrentStack=null,current=null,isRendering=!1}function setCurrentFiber(fiber){ReactDebugCurrentFrame$1.getCurrentStack=getCurrentFiberStackInDev,current=fiber,isRendering=!1}function setIsRendering(rendering){isRendering=rendering}function toString(value){return""+value}function getToStringValue(value){switch(typeof value){case"boolean":case"number":case"object":case"string":case"undefined":return value;default:return""}}var ReactDebugCurrentFrame$2=null,ReactControlledValuePropTypes={checkPropTypes:null};{ReactDebugCurrentFrame$2=ReactSharedInternals.ReactDebugCurrentFrame;var hasReadOnlyValue={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},propTypes={value:function(props,propName,componentName){return hasReadOnlyValue[props.type]||props.onChange||props.readOnly||props.disabled||props[propName]==null||enableDeprecatedFlareAPI?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(props,propName,componentName){return props.onChange||props.readOnly||props.disabled||props[propName]==null||enableDeprecatedFlareAPI?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};ReactControlledValuePropTypes.checkPropTypes=function(tagName,props){checkPropTypes(propTypes,props,"prop",tagName,ReactDebugCurrentFrame$2.getStackAddendum)}}function isCheckable(elem){var type=elem.type,nodeName=elem.nodeName;return nodeName&&nodeName.toLowerCase()==="input"&&(type==="checkbox"||type==="radio")}function getTracker(node){return node._valueTracker}function detachTracker(node){node._valueTracker=null}function getValueFromNode(node){var value="";return node&&(isCheckable(node)?value=node.checked?"true":"false":value=node.value),value}function trackValueOnNode(node){var valueField=isCheckable(node)?"checked":"value",descriptor=Object.getOwnPropertyDescriptor(node.constructor.prototype,valueField),currentValue=""+node[valueField];if(!(node.hasOwnProperty(valueField)||typeof descriptor>"u"||typeof descriptor.get!="function"||typeof descriptor.set!="function")){var get2=descriptor.get,set2=descriptor.set;Object.defineProperty(node,valueField,{configurable:!0,get:function(){return get2.call(this)},set:function(value){currentValue=""+value,set2.call(this,value)}}),Object.defineProperty(node,valueField,{enumerable:descriptor.enumerable});var tracker={getValue:function(){return currentValue},setValue:function(value){currentValue=""+value},stopTracking:function(){detachTracker(node),delete node[valueField]}};return tracker}}function track(node){getTracker(node)||(node._valueTracker=trackValueOnNode(node))}function updateValueIfChanged(node){if(!node)return!1;var tracker=getTracker(node);if(!tracker)return!0;var lastValue=tracker.getValue(),nextValue=getValueFromNode(node);return nextValue!==lastValue?(tracker.setValue(nextValue),!0):!1}var didWarnValueDefaultValue=!1,didWarnCheckedDefaultChecked=!1,didWarnControlledToUncontrolled=!1,didWarnUncontrolledToControlled=!1;function isControlled(props){var usesChecked=props.type==="checkbox"||props.type==="radio";return usesChecked?props.checked!=null:props.value!=null}function getHostProps(element,props){var node=element,checked=props.checked,hostProps=_assign({},props,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:checked??node._wrapperState.initialChecked});return hostProps}function initWrapperState(element,props){ReactControlledValuePropTypes.checkPropTypes("input",props),props.checked!==void 0&&props.defaultChecked!==void 0&&!didWarnCheckedDefaultChecked&&(error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnCheckedDefaultChecked=!0),props.value!==void 0&&props.defaultValue!==void 0&&!didWarnValueDefaultValue&&(error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnValueDefaultValue=!0);var node=element,defaultValue=props.defaultValue==null?"":props.defaultValue;node._wrapperState={initialChecked:props.checked!=null?props.checked:props.defaultChecked,initialValue:getToStringValue(props.value!=null?props.value:defaultValue),controlled:isControlled(props)}}function updateChecked(element,props){var node=element,checked=props.checked;checked!=null&&setValueForProperty(node,"checked",checked,!1)}function updateWrapper(element,props){var node=element;{var controlled=isControlled(props);!node._wrapperState.controlled&&controlled&&!didWarnUncontrolledToControlled&&(error("A component is changing an uncontrolled input of type %s to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",props.type),didWarnUncontrolledToControlled=!0),node._wrapperState.controlled&&!controlled&&!didWarnControlledToUncontrolled&&(error("A component is changing a controlled input of type %s to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",props.type),didWarnControlledToUncontrolled=!0)}updateChecked(element,props);var value=getToStringValue(props.value),type=props.type;if(value!=null)type==="number"?(value===0&&node.value===""||node.value!=value)&&(node.value=toString(value)):node.value!==toString(value)&&(node.value=toString(value));else if(type==="submit"||type==="reset"){node.removeAttribute("value");return}props.hasOwnProperty("value")?setDefaultValue(node,props.type,value):props.hasOwnProperty("defaultValue")&&setDefaultValue(node,props.type,getToStringValue(props.defaultValue)),props.checked==null&&props.defaultChecked!=null&&(node.defaultChecked=!!props.defaultChecked)}function postMountWrapper(element,props,isHydrating2){var node=element;if(props.hasOwnProperty("value")||props.hasOwnProperty("defaultValue")){var type=props.type,isButton=type==="submit"||type==="reset";if(isButton&&(props.value===void 0||props.value===null))return;var initialValue=toString(node._wrapperState.initialValue);isHydrating2||initialValue!==node.value&&(node.value=initialValue),node.defaultValue=initialValue}var name=node.name;name!==""&&(node.name=""),node.defaultChecked=!node.defaultChecked,node.defaultChecked=!!node._wrapperState.initialChecked,name!==""&&(node.name=name)}function restoreControlledState(element,props){var node=element;updateWrapper(node,props),updateNamedCousins(node,props)}function updateNamedCousins(rootNode,props){var name=props.name;if(props.type==="radio"&&name!=null){for(var queryRoot=rootNode;queryRoot.parentNode;)queryRoot=queryRoot.parentNode;for(var group=queryRoot.querySelectorAll("input[name="+JSON.stringify(""+name)+'][type="radio"]'),i=0;i<group.length;i++){var otherNode=group[i];if(!(otherNode===rootNode||otherNode.form!==rootNode.form)){var otherProps=getFiberCurrentPropsFromNode$1(otherNode);if(!otherProps)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");updateValueIfChanged(otherNode),updateWrapper(otherNode,otherProps)}}}}function setDefaultValue(node,type,value){(type!=="number"||node.ownerDocument.activeElement!==node)&&(value==null?node.defaultValue=toString(node._wrapperState.initialValue):node.defaultValue!==toString(value)&&(node.defaultValue=toString(value)))}var didWarnSelectedSetOnOption=!1,didWarnInvalidChild=!1;function flattenChildren(children){var content="";return React.Children.forEach(children,function(child){child!=null&&(content+=child)}),content}function validateProps(element,props){typeof props.children=="object"&&props.children!==null&&React.Children.forEach(props.children,function(child){child!=null&&(typeof child=="string"||typeof child=="number"||typeof child.type=="string"&&(didWarnInvalidChild||(didWarnInvalidChild=!0,error("Only strings and numbers are supported as <option> children."))))}),props.selected!=null&&!didWarnSelectedSetOnOption&&(error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),didWarnSelectedSetOnOption=!0)}function postMountWrapper$1(element,props){props.value!=null&&element.setAttribute("value",toString(getToStringValue(props.value)))}function getHostProps$1(element,props){var hostProps=_assign({children:void 0},props),content=flattenChildren(props.children);return content&&(hostProps.children=content),hostProps}var didWarnValueDefaultValue$1;didWarnValueDefaultValue$1=!1;function getDeclarationErrorAddendum(){var ownerName=getCurrentFiberOwnerNameInDevOrNull();return ownerName?`
|
7
7
|
|
8
8
|
Check the render method of \``+ownerName+"`.":""}var valuePropNames=["value","defaultValue"];function checkSelectPropTypes(props){{ReactControlledValuePropTypes.checkPropTypes("select",props);for(var i=0;i<valuePropNames.length;i++){var propName=valuePropNames[i];if(props[propName]!=null){var isArray2=Array.isArray(props[propName]);props.multiple&&!isArray2?error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",propName,getDeclarationErrorAddendum()):!props.multiple&&isArray2&&error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",propName,getDeclarationErrorAddendum())}}}}function updateOptions(node,multiple,propValue,setDefaultSelected){var options=node.options;if(multiple){for(var selectedValues=propValue,selectedValue={},i=0;i<selectedValues.length;i++)selectedValue["$"+selectedValues[i]]=!0;for(var _i=0;_i<options.length;_i++){var selected=selectedValue.hasOwnProperty("$"+options[_i].value);options[_i].selected!==selected&&(options[_i].selected=selected),selected&&setDefaultSelected&&(options[_i].defaultSelected=!0)}}else{for(var _selectedValue=toString(getToStringValue(propValue)),defaultSelected=null,_i2=0;_i2<options.length;_i2++){if(options[_i2].value===_selectedValue){options[_i2].selected=!0,setDefaultSelected&&(options[_i2].defaultSelected=!0);return}defaultSelected===null&&!options[_i2].disabled&&(defaultSelected=options[_i2])}defaultSelected!==null&&(defaultSelected.selected=!0)}}function getHostProps$2(element,props){return _assign({},props,{value:void 0})}function initWrapperState$1(element,props){var node=element;checkSelectPropTypes(props),node._wrapperState={wasMultiple:!!props.multiple},props.value!==void 0&&props.defaultValue!==void 0&&!didWarnValueDefaultValue$1&&(error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://fb.me/react-controlled-components"),didWarnValueDefaultValue$1=!0)}function postMountWrapper$2(element,props){var node=element;node.multiple=!!props.multiple;var value=props.value;value!=null?updateOptions(node,!!props.multiple,value,!1):props.defaultValue!=null&&updateOptions(node,!!props.multiple,props.defaultValue,!0)}function postUpdateWrapper(element,props){var node=element,wasMultiple=node._wrapperState.wasMultiple;node._wrapperState.wasMultiple=!!props.multiple;var value=props.value;value!=null?updateOptions(node,!!props.multiple,value,!1):wasMultiple!==!!props.multiple&&(props.defaultValue!=null?updateOptions(node,!!props.multiple,props.defaultValue,!0):updateOptions(node,!!props.multiple,props.multiple?[]:"",!1))}function restoreControlledState$1(element,props){var node=element,value=props.value;value!=null&&updateOptions(node,!!props.multiple,value,!1)}var didWarnValDefaultVal=!1;function getHostProps$3(element,props){var node=element;if(props.dangerouslySetInnerHTML!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var hostProps=_assign({},props,{value:void 0,defaultValue:void 0,children:toString(node._wrapperState.initialValue)});return hostProps}function initWrapperState$2(element,props){var node=element;ReactControlledValuePropTypes.checkPropTypes("textarea",props),props.value!==void 0&&props.defaultValue!==void 0&&!didWarnValDefaultVal&&(error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component"),didWarnValDefaultVal=!0);var initialValue=props.value;if(initialValue==null){var children=props.children,defaultValue=props.defaultValue;if(children!=null){error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(defaultValue!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Array.isArray(children)){if(!(children.length<=1))throw Error("<textarea> can only have at most one child.");children=children[0]}defaultValue=children}}defaultValue==null&&(defaultValue=""),initialValue=defaultValue}node._wrapperState={initialValue:getToStringValue(initialValue)}}function updateWrapper$1(element,props){var node=element,value=getToStringValue(props.value),defaultValue=getToStringValue(props.defaultValue);if(value!=null){var newValue=toString(value);newValue!==node.value&&(node.value=newValue),props.defaultValue==null&&node.defaultValue!==newValue&&(node.defaultValue=newValue)}defaultValue!=null&&(node.defaultValue=toString(defaultValue))}function postMountWrapper$3(element,props){var node=element,textContent=node.textContent;textContent===node._wrapperState.initialValue&&textContent!==""&&textContent!==null&&(node.value=textContent)}function restoreControlledState$2(element,props){updateWrapper$1(element,props)}var HTML_NAMESPACE="http://www.w3.org/1999/xhtml",MATH_NAMESPACE="http://www.w3.org/1998/Math/MathML",SVG_NAMESPACE="http://www.w3.org/2000/svg",Namespaces={html:HTML_NAMESPACE,mathml:MATH_NAMESPACE,svg:SVG_NAMESPACE};function getIntrinsicNamespace(type){switch(type){case"svg":return SVG_NAMESPACE;case"math":return MATH_NAMESPACE;default:return HTML_NAMESPACE}}function getChildNamespace(parentNamespace,type){return parentNamespace==null||parentNamespace===HTML_NAMESPACE?getIntrinsicNamespace(type):parentNamespace===SVG_NAMESPACE&&type==="foreignObject"?HTML_NAMESPACE:parentNamespace}var createMicrosoftUnsafeLocalFunction=function(func){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(arg0,arg1,arg2,arg3){MSApp.execUnsafeLocalFunction(function(){return func(arg0,arg1,arg2,arg3)})}:func},reusableSVGContainer,setInnerHTML=createMicrosoftUnsafeLocalFunction(function(node,html){if(node.namespaceURI===Namespaces.svg&&!("innerHTML"in node)){reusableSVGContainer=reusableSVGContainer||document.createElement("div"),reusableSVGContainer.innerHTML="<svg>"+html.valueOf().toString()+"</svg>";for(var svgNode=reusableSVGContainer.firstChild;node.firstChild;)node.removeChild(node.firstChild);for(;svgNode.firstChild;)node.appendChild(svgNode.firstChild);return}node.innerHTML=html}),ELEMENT_NODE=1,TEXT_NODE=3,COMMENT_NODE=8,DOCUMENT_NODE=9,DOCUMENT_FRAGMENT_NODE=11,setTextContent=function(node,text){if(text){var firstChild=node.firstChild;if(firstChild&&firstChild===node.lastChild&&firstChild.nodeType===TEXT_NODE){firstChild.nodeValue=text;return}}node.textContent=text};function unsafeCastStringToDOMTopLevelType(topLevelType){return topLevelType}function unsafeCastDOMTopLevelTypeToString(topLevelType){return topLevelType}function makePrefixMap(styleProp,eventName){var prefixes2={};return prefixes2[styleProp.toLowerCase()]=eventName.toLowerCase(),prefixes2["Webkit"+styleProp]="webkit"+eventName,prefixes2["Moz"+styleProp]="moz"+eventName,prefixes2}var vendorPrefixes={animationend:makePrefixMap("Animation","AnimationEnd"),animationiteration:makePrefixMap("Animation","AnimationIteration"),animationstart:makePrefixMap("Animation","AnimationStart"),transitionend:makePrefixMap("Transition","TransitionEnd")},prefixedEventNames={},style={};canUseDOM&&(style=document.createElement("div").style,"AnimationEvent"in window||(delete vendorPrefixes.animationend.animation,delete vendorPrefixes.animationiteration.animation,delete vendorPrefixes.animationstart.animation),"TransitionEvent"in window||delete vendorPrefixes.transitionend.transition);function getVendorPrefixedEventName(eventName){if(prefixedEventNames[eventName])return prefixedEventNames[eventName];if(!vendorPrefixes[eventName])return eventName;var prefixMap=vendorPrefixes[eventName];for(var styleProp in prefixMap)if(prefixMap.hasOwnProperty(styleProp)&&styleProp in style)return prefixedEventNames[eventName]=prefixMap[styleProp];return eventName}var TOP_ABORT="abort",TOP_ANIMATION_END=getVendorPrefixedEventName("animationend"),TOP_ANIMATION_ITERATION=getVendorPrefixedEventName("animationiteration"),TOP_ANIMATION_START=getVendorPrefixedEventName("animationstart"),TOP_BLUR="blur",TOP_CAN_PLAY="canplay",TOP_CAN_PLAY_THROUGH="canplaythrough",TOP_CANCEL="cancel",TOP_CHANGE="change",TOP_CLICK="click",TOP_CLOSE="close",TOP_COMPOSITION_END="compositionend",TOP_COMPOSITION_START="compositionstart",TOP_COMPOSITION_UPDATE="compositionupdate",TOP_CONTEXT_MENU="contextmenu",TOP_COPY="copy",TOP_CUT="cut",TOP_DOUBLE_CLICK="dblclick",TOP_AUX_CLICK="auxclick",TOP_DRAG="drag",TOP_DRAG_END="dragend",TOP_DRAG_ENTER="dragenter",TOP_DRAG_EXIT="dragexit",TOP_DRAG_LEAVE="dragleave",TOP_DRAG_OVER="dragover",TOP_DRAG_START="dragstart",TOP_DROP="drop",TOP_DURATION_CHANGE="durationchange",TOP_EMPTIED="emptied",TOP_ENCRYPTED="encrypted",TOP_ENDED="ended",TOP_ERROR="error",TOP_FOCUS="focus",TOP_GOT_POINTER_CAPTURE="gotpointercapture",TOP_INPUT="input",TOP_INVALID="invalid",TOP_KEY_DOWN="keydown",TOP_KEY_PRESS="keypress",TOP_KEY_UP="keyup",TOP_LOAD="load",TOP_LOAD_START="loadstart",TOP_LOADED_DATA="loadeddata",TOP_LOADED_METADATA="loadedmetadata",TOP_LOST_POINTER_CAPTURE="lostpointercapture",TOP_MOUSE_DOWN="mousedown",TOP_MOUSE_MOVE="mousemove",TOP_MOUSE_OUT="mouseout",TOP_MOUSE_OVER="mouseover",TOP_MOUSE_UP="mouseup",TOP_PASTE="paste",TOP_PAUSE="pause",TOP_PLAY="play",TOP_PLAYING="playing",TOP_POINTER_CANCEL="pointercancel",TOP_POINTER_DOWN="pointerdown",TOP_POINTER_MOVE="pointermove",TOP_POINTER_OUT="pointerout",TOP_POINTER_OVER="pointerover",TOP_POINTER_UP="pointerup",TOP_PROGRESS="progress",TOP_RATE_CHANGE="ratechange",TOP_RESET="reset",TOP_SCROLL="scroll",TOP_SEEKED="seeked",TOP_SEEKING="seeking",TOP_SELECTION_CHANGE="selectionchange",TOP_STALLED="stalled",TOP_SUBMIT="submit",TOP_SUSPEND="suspend",TOP_TEXT_INPUT="textInput",TOP_TIME_UPDATE="timeupdate",TOP_TOGGLE="toggle",TOP_TOUCH_CANCEL="touchcancel",TOP_TOUCH_END="touchend",TOP_TOUCH_MOVE="touchmove",TOP_TOUCH_START="touchstart",TOP_TRANSITION_END=getVendorPrefixedEventName("transitionend"),TOP_VOLUME_CHANGE="volumechange",TOP_WAITING="waiting",TOP_WHEEL="wheel",mediaEventTypes=[TOP_ABORT,TOP_CAN_PLAY,TOP_CAN_PLAY_THROUGH,TOP_DURATION_CHANGE,TOP_EMPTIED,TOP_ENCRYPTED,TOP_ENDED,TOP_ERROR,TOP_LOADED_DATA,TOP_LOADED_METADATA,TOP_LOAD_START,TOP_PAUSE,TOP_PLAY,TOP_PLAYING,TOP_PROGRESS,TOP_RATE_CHANGE,TOP_SEEKED,TOP_SEEKING,TOP_STALLED,TOP_SUSPEND,TOP_TIME_UPDATE,TOP_VOLUME_CHANGE,TOP_WAITING];function getRawEventName(topLevelType){return topLevelType}var PossiblyWeakMap=typeof WeakMap=="function"?WeakMap:Map,elementListenerMap=new PossiblyWeakMap;function getListenerMapForElement(element){var listenerMap=elementListenerMap.get(element);return listenerMap===void 0&&(listenerMap=new Map,elementListenerMap.set(element,listenerMap)),listenerMap}function get(key){return key._reactInternalFiber}function has(key){return key._reactInternalFiber!==void 0}function set(key,value){key._reactInternalFiber=value}var NoEffect=0,PerformedWork=1,Placement=2,Update=4,PlacementAndUpdate=6,Deletion=8,ContentReset=16,Callback=32,DidCapture=64,Ref=128,Snapshot=256,Passive=512,Hydrating=1024,HydratingAndUpdate=1028,LifecycleEffectMask=932,HostEffectMask=2047,Incomplete=2048,ShouldCapture=4096,ReactCurrentOwner=ReactSharedInternals.ReactCurrentOwner;function getNearestMountedFiber(fiber){var node=fiber,nearestMounted=fiber;if(fiber.alternate)for(;node.return;)node=node.return;else{var nextNode=node;do node=nextNode,(node.effectTag&(Placement|Hydrating))!==NoEffect&&(nearestMounted=node.return),nextNode=node.return;while(nextNode)}return node.tag===HostRoot?nearestMounted:null}function getSuspenseInstanceFromFiber(fiber){if(fiber.tag===SuspenseComponent){var suspenseState=fiber.memoizedState;if(suspenseState===null){var current2=fiber.alternate;current2!==null&&(suspenseState=current2.memoizedState)}if(suspenseState!==null)return suspenseState.dehydrated}return null}function getContainerFromFiber(fiber){return fiber.tag===HostRoot?fiber.stateNode.containerInfo:null}function isFiberMounted(fiber){return getNearestMountedFiber(fiber)===fiber}function isMounted(component){{var owner=ReactCurrentOwner.current;if(owner!==null&&owner.tag===ClassComponent){var ownerFiber=owner,instance=ownerFiber.stateNode;instance._warnedAboutRefsInRender||error("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",getComponentName(ownerFiber.type)||"A component"),instance._warnedAboutRefsInRender=!0}}var fiber=get(component);return fiber?getNearestMountedFiber(fiber)===fiber:!1}function assertIsMounted(fiber){if(getNearestMountedFiber(fiber)!==fiber)throw Error("Unable to find node on an unmounted component.")}function findCurrentFiberUsingSlowPath(fiber){var alternate=fiber.alternate;if(!alternate){var nearestMounted=getNearestMountedFiber(fiber);if(nearestMounted===null)throw Error("Unable to find node on an unmounted component.");return nearestMounted!==fiber?null:fiber}for(var a=fiber,b=alternate;;){var parentA=a.return;if(parentA===null)break;var parentB=parentA.alternate;if(parentB===null){var nextParent=parentA.return;if(nextParent!==null){a=b=nextParent;continue}break}if(parentA.child===parentB.child){for(var child=parentA.child;child;){if(child===a)return assertIsMounted(parentA),fiber;if(child===b)return assertIsMounted(parentA),alternate;child=child.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==b.return)a=parentA,b=parentB;else{for(var didFindChild=!1,_child=parentA.child;_child;){if(_child===a){didFindChild=!0,a=parentA,b=parentB;break}if(_child===b){didFindChild=!0,b=parentA,a=parentB;break}_child=_child.sibling}if(!didFindChild){for(_child=parentB.child;_child;){if(_child===a){didFindChild=!0,a=parentB,b=parentA;break}if(_child===b){didFindChild=!0,b=parentB,a=parentA;break}_child=_child.sibling}if(!didFindChild)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==b)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==HostRoot)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?fiber:alternate}function findCurrentHostFiber(parent){var currentParent=findCurrentFiberUsingSlowPath(parent);if(!currentParent)return null;for(var node=currentParent;;){if(node.tag===HostComponent||node.tag===HostText)return node;if(node.child){node.child.return=node,node=node.child;continue}if(node===currentParent)return null;for(;!node.sibling;){if(!node.return||node.return===currentParent)return null;node=node.return}node.sibling.return=node.return,node=node.sibling}return null}function findCurrentHostFiberWithNoPortals(parent){var currentParent=findCurrentFiberUsingSlowPath(parent);if(!currentParent)return null;for(var node=currentParent;;){if(node.tag===HostComponent||node.tag===HostText||enableFundamentalAPI)return node;if(node.child&&node.tag!==HostPortal){node.child.return=node,node=node.child;continue}if(node===currentParent)return null;for(;!node.sibling;){if(!node.return||node.return===currentParent)return null;node=node.return}node.sibling.return=node.return,node=node.sibling}return null}function accumulateInto(current2,next){if(next==null)throw Error("accumulateInto(...): Accumulated items must not be null or undefined.");return current2==null?next:Array.isArray(current2)?Array.isArray(next)?(current2.push.apply(current2,next),current2):(current2.push(next),current2):Array.isArray(next)?[current2].concat(next):[current2,next]}function forEachAccumulated(arr,cb,scope){Array.isArray(arr)?arr.forEach(cb,scope):arr&&cb.call(scope,arr)}var eventQueue=null,executeDispatchesAndRelease=function(event){event&&(executeDispatchesInOrder(event),event.isPersistent()||event.constructor.release(event))},executeDispatchesAndReleaseTopLevel=function(e){return executeDispatchesAndRelease(e)};function runEventsInBatch(events){events!==null&&(eventQueue=accumulateInto(eventQueue,events));var processingEventQueue=eventQueue;if(eventQueue=null,!!processingEventQueue){if(forEachAccumulated(processingEventQueue,executeDispatchesAndReleaseTopLevel),eventQueue)throw Error("processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.");rethrowCaughtError()}}function getEventTarget(nativeEvent){var target=nativeEvent.target||nativeEvent.srcElement||window;return target.correspondingUseElement&&(target=target.correspondingUseElement),target.nodeType===TEXT_NODE?target.parentNode:target}function isEventSupported(eventNameSuffix){if(!canUseDOM)return!1;var eventName="on"+eventNameSuffix,isSupported=eventName in document;if(!isSupported){var element=document.createElement("div");element.setAttribute(eventName,"return;"),isSupported=typeof element[eventName]=="function"}return isSupported}var CALLBACK_BOOKKEEPING_POOL_SIZE=10,callbackBookkeepingPool=[];function releaseTopLevelCallbackBookKeeping(instance){instance.topLevelType=null,instance.nativeEvent=null,instance.targetInst=null,instance.ancestors.length=0,callbackBookkeepingPool.length<CALLBACK_BOOKKEEPING_POOL_SIZE&&callbackBookkeepingPool.push(instance)}function getTopLevelCallbackBookKeeping(topLevelType,nativeEvent,targetInst,eventSystemFlags){if(callbackBookkeepingPool.length){var instance=callbackBookkeepingPool.pop();return instance.topLevelType=topLevelType,instance.eventSystemFlags=eventSystemFlags,instance.nativeEvent=nativeEvent,instance.targetInst=targetInst,instance}return{topLevelType,eventSystemFlags,nativeEvent,targetInst,ancestors:[]}}function findRootContainerNode(inst){if(inst.tag===HostRoot)return inst.stateNode.containerInfo;for(;inst.return;)inst=inst.return;return inst.tag!==HostRoot?null:inst.stateNode.containerInfo}function extractPluginEvents(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags){for(var events=null,i=0;i<plugins.length;i++){var possiblePlugin=plugins[i];if(possiblePlugin){var extractedEvents=possiblePlugin.extractEvents(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags);extractedEvents&&(events=accumulateInto(events,extractedEvents))}}return events}function runExtractedPluginEventsInBatch(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags){var events=extractPluginEvents(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags);runEventsInBatch(events)}function handleTopLevel(bookKeeping){var targetInst=bookKeeping.targetInst,ancestor=targetInst;do{if(!ancestor){var ancestors=bookKeeping.ancestors;ancestors.push(ancestor);break}var root2=findRootContainerNode(ancestor);if(!root2)break;var tag=ancestor.tag;(tag===HostComponent||tag===HostText)&&bookKeeping.ancestors.push(ancestor),ancestor=getClosestInstanceFromNode(root2)}while(ancestor);for(var i=0;i<bookKeeping.ancestors.length;i++){targetInst=bookKeeping.ancestors[i];var eventTarget=getEventTarget(bookKeeping.nativeEvent),topLevelType=bookKeeping.topLevelType,nativeEvent=bookKeeping.nativeEvent,eventSystemFlags=bookKeeping.eventSystemFlags;i===0&&(eventSystemFlags|=IS_FIRST_ANCESTOR),runExtractedPluginEventsInBatch(topLevelType,targetInst,nativeEvent,eventTarget,eventSystemFlags)}}function dispatchEventForLegacyPluginEventSystem(topLevelType,eventSystemFlags,nativeEvent,targetInst){var bookKeeping=getTopLevelCallbackBookKeeping(topLevelType,nativeEvent,targetInst,eventSystemFlags);try{batchedEventUpdates(handleTopLevel,bookKeeping)}finally{releaseTopLevelCallbackBookKeeping(bookKeeping)}}function legacyListenToEvent(registrationName,mountAt){for(var listenerMap=getListenerMapForElement(mountAt),dependencies=registrationNameDependencies[registrationName],i=0;i<dependencies.length;i++){var dependency=dependencies[i];legacyListenToTopLevelEvent(dependency,mountAt,listenerMap)}}function legacyListenToTopLevelEvent(topLevelType,mountAt,listenerMap){if(!listenerMap.has(topLevelType)){switch(topLevelType){case TOP_SCROLL:trapCapturedEvent(TOP_SCROLL,mountAt);break;case TOP_FOCUS:case TOP_BLUR:trapCapturedEvent(TOP_FOCUS,mountAt),trapCapturedEvent(TOP_BLUR,mountAt),listenerMap.set(TOP_BLUR,null),listenerMap.set(TOP_FOCUS,null);break;case TOP_CANCEL:case TOP_CLOSE:isEventSupported(getRawEventName(topLevelType))&&trapCapturedEvent(topLevelType,mountAt);break;case TOP_INVALID:case TOP_SUBMIT:case TOP_RESET:break;default:var isMediaEvent=mediaEventTypes.indexOf(topLevelType)!==-1;isMediaEvent||trapBubbledEvent(topLevelType,mountAt);break}listenerMap.set(topLevelType,null)}}function isListeningToAllDependencies(registrationName,mountAt){for(var listenerMap=getListenerMapForElement(mountAt),dependencies=registrationNameDependencies[registrationName],i=0;i<dependencies.length;i++){var dependency=dependencies[i];if(!listenerMap.has(dependency))return!1}return!0}var attemptUserBlockingHydration;function setAttemptUserBlockingHydration(fn){attemptUserBlockingHydration=fn}var attemptContinuousHydration;function setAttemptContinuousHydration(fn){attemptContinuousHydration=fn}var attemptHydrationAtCurrentPriority;function setAttemptHydrationAtCurrentPriority(fn){attemptHydrationAtCurrentPriority=fn}var hasScheduledReplayAttempt=!1,queuedDiscreteEvents=[],queuedFocus=null,queuedDrag=null,queuedMouse=null,queuedPointers=new Map,queuedPointerCaptures=new Map,queuedExplicitHydrationTargets=[];function hasQueuedDiscreteEvents(){return queuedDiscreteEvents.length>0}var discreteReplayableEvents=[TOP_MOUSE_DOWN,TOP_MOUSE_UP,TOP_TOUCH_CANCEL,TOP_TOUCH_END,TOP_TOUCH_START,TOP_AUX_CLICK,TOP_DOUBLE_CLICK,TOP_POINTER_CANCEL,TOP_POINTER_DOWN,TOP_POINTER_UP,TOP_DRAG_END,TOP_DRAG_START,TOP_DROP,TOP_COMPOSITION_END,TOP_COMPOSITION_START,TOP_KEY_DOWN,TOP_KEY_PRESS,TOP_KEY_UP,TOP_INPUT,TOP_TEXT_INPUT,TOP_CLOSE,TOP_CANCEL,TOP_COPY,TOP_CUT,TOP_PASTE,TOP_CLICK,TOP_CHANGE,TOP_CONTEXT_MENU,TOP_RESET,TOP_SUBMIT],continuousReplayableEvents=[TOP_FOCUS,TOP_BLUR,TOP_DRAG_ENTER,TOP_DRAG_LEAVE,TOP_MOUSE_OVER,TOP_MOUSE_OUT,TOP_POINTER_OVER,TOP_POINTER_OUT,TOP_GOT_POINTER_CAPTURE,TOP_LOST_POINTER_CAPTURE];function isReplayableDiscreteEvent(eventType){return discreteReplayableEvents.indexOf(eventType)>-1}function trapReplayableEventForDocument(topLevelType,document2,listenerMap){legacyListenToTopLevelEvent(topLevelType,document2,listenerMap)}function eagerlyTrapReplayableEvents(container,document2){var listenerMapForDoc=getListenerMapForElement(document2);discreteReplayableEvents.forEach(function(topLevelType){trapReplayableEventForDocument(topLevelType,document2,listenerMapForDoc)}),continuousReplayableEvents.forEach(function(topLevelType){trapReplayableEventForDocument(topLevelType,document2,listenerMapForDoc)})}function createQueuedReplayableEvent(blockedOn,topLevelType,eventSystemFlags,container,nativeEvent){return{blockedOn,topLevelType,eventSystemFlags:eventSystemFlags|IS_REPLAYED,nativeEvent,container}}function queueDiscreteEvent(blockedOn,topLevelType,eventSystemFlags,container,nativeEvent){var queuedEvent=createQueuedReplayableEvent(blockedOn,topLevelType,eventSystemFlags,container,nativeEvent);queuedDiscreteEvents.push(queuedEvent)}function clearIfContinuousEvent(topLevelType,nativeEvent){switch(topLevelType){case TOP_FOCUS:case TOP_BLUR:queuedFocus=null;break;case TOP_DRAG_ENTER:case TOP_DRAG_LEAVE:queuedDrag=null;break;case TOP_MOUSE_OVER:case TOP_MOUSE_OUT:queuedMouse=null;break;case TOP_POINTER_OVER:case TOP_POINTER_OUT:{var pointerId=nativeEvent.pointerId;queuedPointers.delete(pointerId);break}case TOP_GOT_POINTER_CAPTURE:case TOP_LOST_POINTER_CAPTURE:{var _pointerId=nativeEvent.pointerId;queuedPointerCaptures.delete(_pointerId);break}}}function accumulateOrCreateContinuousQueuedReplayableEvent(existingQueuedEvent,blockedOn,topLevelType,eventSystemFlags,container,nativeEvent){if(existingQueuedEvent===null||existingQueuedEvent.nativeEvent!==nativeEvent){var queuedEvent=createQueuedReplayableEvent(blockedOn,topLevelType,eventSystemFlags,container,nativeEvent);if(blockedOn!==null){var _fiber2=getInstanceFromNode$1(blockedOn);_fiber2!==null&&attemptContinuousHydration(_fiber2)}return queuedEvent}return existingQueuedEvent.eventSystemFlags|=eventSystemFlags,existingQueuedEvent}function queueIfContinuousEvent(blockedOn,topLevelType,eventSystemFlags,container,nativeEvent){switch(topLevelType){case TOP_FOCUS:{var focusEvent=nativeEvent;return queuedFocus=accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus,blockedOn,topLevelType,eventSystemFlags,container,focusEvent),!0}case TOP_DRAG_ENTER:{var dragEvent=nativeEvent;return queuedDrag=accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag,blockedOn,topLevelType,eventSystemFlags,container,dragEvent),!0}case TOP_MOUSE_OVER:{var mouseEvent=nativeEvent;return queuedMouse=accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse,blockedOn,topLevelType,eventSystemFlags,container,mouseEvent),!0}case TOP_POINTER_OVER:{var pointerEvent=nativeEvent,pointerId=pointerEvent.pointerId;return queuedPointers.set(pointerId,accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointers.get(pointerId)||null,blockedOn,topLevelType,eventSystemFlags,container,pointerEvent)),!0}case TOP_GOT_POINTER_CAPTURE:{var _pointerEvent=nativeEvent,_pointerId2=_pointerEvent.pointerId;return queuedPointerCaptures.set(_pointerId2,accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointerCaptures.get(_pointerId2)||null,blockedOn,topLevelType,eventSystemFlags,container,_pointerEvent)),!0}}return!1}function attemptExplicitHydrationTarget(queuedTarget){var targetInst=getClosestInstanceFromNode(queuedTarget.target);if(targetInst!==null){var nearestMounted=getNearestMountedFiber(targetInst);if(nearestMounted!==null){var tag=nearestMounted.tag;if(tag===SuspenseComponent){var instance=getSuspenseInstanceFromFiber(nearestMounted);if(instance!==null){queuedTarget.blockedOn=instance,Scheduler.unstable_runWithPriority(queuedTarget.priority,function(){attemptHydrationAtCurrentPriority(nearestMounted)});return}}else if(tag===HostRoot){var root2=nearestMounted.stateNode;if(root2.hydrate){queuedTarget.blockedOn=getContainerFromFiber(nearestMounted);return}}}}queuedTarget.blockedOn=null}function attemptReplayContinuousQueuedEvent(queuedEvent){if(queuedEvent.blockedOn!==null)return!1;var nextBlockedOn=attemptToDispatchEvent(queuedEvent.topLevelType,queuedEvent.eventSystemFlags,queuedEvent.container,queuedEvent.nativeEvent);if(nextBlockedOn!==null){var _fiber3=getInstanceFromNode$1(nextBlockedOn);return _fiber3!==null&&attemptContinuousHydration(_fiber3),queuedEvent.blockedOn=nextBlockedOn,!1}return!0}function attemptReplayContinuousQueuedEventInMap(queuedEvent,key,map){attemptReplayContinuousQueuedEvent(queuedEvent)&&map.delete(key)}function replayUnblockedEvents(){for(hasScheduledReplayAttempt=!1;queuedDiscreteEvents.length>0;){var nextDiscreteEvent=queuedDiscreteEvents[0];if(nextDiscreteEvent.blockedOn!==null){var _fiber4=getInstanceFromNode$1(nextDiscreteEvent.blockedOn);_fiber4!==null&&attemptUserBlockingHydration(_fiber4);break}var nextBlockedOn=attemptToDispatchEvent(nextDiscreteEvent.topLevelType,nextDiscreteEvent.eventSystemFlags,nextDiscreteEvent.container,nextDiscreteEvent.nativeEvent);nextBlockedOn!==null?nextDiscreteEvent.blockedOn=nextBlockedOn:queuedDiscreteEvents.shift()}queuedFocus!==null&&attemptReplayContinuousQueuedEvent(queuedFocus)&&(queuedFocus=null),queuedDrag!==null&&attemptReplayContinuousQueuedEvent(queuedDrag)&&(queuedDrag=null),queuedMouse!==null&&attemptReplayContinuousQueuedEvent(queuedMouse)&&(queuedMouse=null),queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap),queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap)}function scheduleCallbackIfUnblocked(queuedEvent,unblocked){queuedEvent.blockedOn===unblocked&&(queuedEvent.blockedOn=null,hasScheduledReplayAttempt||(hasScheduledReplayAttempt=!0,Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority,replayUnblockedEvents)))}function retryIfBlockedOn(unblocked){if(queuedDiscreteEvents.length>0){scheduleCallbackIfUnblocked(queuedDiscreteEvents[0],unblocked);for(var i=1;i<queuedDiscreteEvents.length;i++){var queuedEvent=queuedDiscreteEvents[i];queuedEvent.blockedOn===unblocked&&(queuedEvent.blockedOn=null)}}queuedFocus!==null&&scheduleCallbackIfUnblocked(queuedFocus,unblocked),queuedDrag!==null&&scheduleCallbackIfUnblocked(queuedDrag,unblocked),queuedMouse!==null&&scheduleCallbackIfUnblocked(queuedMouse,unblocked);var unblock=function(queuedEvent2){return scheduleCallbackIfUnblocked(queuedEvent2,unblocked)};queuedPointers.forEach(unblock),queuedPointerCaptures.forEach(unblock);for(var _i=0;_i<queuedExplicitHydrationTargets.length;_i++){var queuedTarget=queuedExplicitHydrationTargets[_i];queuedTarget.blockedOn===unblocked&&(queuedTarget.blockedOn=null)}for(;queuedExplicitHydrationTargets.length>0;){var nextExplicitTarget=queuedExplicitHydrationTargets[0];if(nextExplicitTarget.blockedOn!==null)break;attemptExplicitHydrationTarget(nextExplicitTarget),nextExplicitTarget.blockedOn===null&&queuedExplicitHydrationTargets.shift()}}function addEventBubbleListener(element,eventType,listener){element.addEventListener(eventType,listener,!1)}function addEventCaptureListener(element,eventType,listener){element.addEventListener(eventType,listener,!0)}var simpleEventPluginEventTypes={},topLevelEventsToDispatchConfig=new Map,eventPriorities=new Map,discreteEventPairsForSimpleEventPlugin=[TOP_BLUR,"blur",TOP_CANCEL,"cancel",TOP_CLICK,"click",TOP_CLOSE,"close",TOP_CONTEXT_MENU,"contextMenu",TOP_COPY,"copy",TOP_CUT,"cut",TOP_AUX_CLICK,"auxClick",TOP_DOUBLE_CLICK,"doubleClick",TOP_DRAG_END,"dragEnd",TOP_DRAG_START,"dragStart",TOP_DROP,"drop",TOP_FOCUS,"focus",TOP_INPUT,"input",TOP_INVALID,"invalid",TOP_KEY_DOWN,"keyDown",TOP_KEY_PRESS,"keyPress",TOP_KEY_UP,"keyUp",TOP_MOUSE_DOWN,"mouseDown",TOP_MOUSE_UP,"mouseUp",TOP_PASTE,"paste",TOP_PAUSE,"pause",TOP_PLAY,"play",TOP_POINTER_CANCEL,"pointerCancel",TOP_POINTER_DOWN,"pointerDown",TOP_POINTER_UP,"pointerUp",TOP_RATE_CHANGE,"rateChange",TOP_RESET,"reset",TOP_SEEKED,"seeked",TOP_SUBMIT,"submit",TOP_TOUCH_CANCEL,"touchCancel",TOP_TOUCH_END,"touchEnd",TOP_TOUCH_START,"touchStart",TOP_VOLUME_CHANGE,"volumeChange"],otherDiscreteEvents=[TOP_CHANGE,TOP_SELECTION_CHANGE,TOP_TEXT_INPUT,TOP_COMPOSITION_START,TOP_COMPOSITION_END,TOP_COMPOSITION_UPDATE],userBlockingPairsForSimpleEventPlugin=[TOP_DRAG,"drag",TOP_DRAG_ENTER,"dragEnter",TOP_DRAG_EXIT,"dragExit",TOP_DRAG_LEAVE,"dragLeave",TOP_DRAG_OVER,"dragOver",TOP_MOUSE_MOVE,"mouseMove",TOP_MOUSE_OUT,"mouseOut",TOP_MOUSE_OVER,"mouseOver",TOP_POINTER_MOVE,"pointerMove",TOP_POINTER_OUT,"pointerOut",TOP_POINTER_OVER,"pointerOver",TOP_SCROLL,"scroll",TOP_TOGGLE,"toggle",TOP_TOUCH_MOVE,"touchMove",TOP_WHEEL,"wheel"],continuousPairsForSimpleEventPlugin=[TOP_ABORT,"abort",TOP_ANIMATION_END,"animationEnd",TOP_ANIMATION_ITERATION,"animationIteration",TOP_ANIMATION_START,"animationStart",TOP_CAN_PLAY,"canPlay",TOP_CAN_PLAY_THROUGH,"canPlayThrough",TOP_DURATION_CHANGE,"durationChange",TOP_EMPTIED,"emptied",TOP_ENCRYPTED,"encrypted",TOP_ENDED,"ended",TOP_ERROR,"error",TOP_GOT_POINTER_CAPTURE,"gotPointerCapture",TOP_LOAD,"load",TOP_LOADED_DATA,"loadedData",TOP_LOADED_METADATA,"loadedMetadata",TOP_LOAD_START,"loadStart",TOP_LOST_POINTER_CAPTURE,"lostPointerCapture",TOP_PLAYING,"playing",TOP_PROGRESS,"progress",TOP_SEEKING,"seeking",TOP_STALLED,"stalled",TOP_SUSPEND,"suspend",TOP_TIME_UPDATE,"timeUpdate",TOP_TRANSITION_END,"transitionEnd",TOP_WAITING,"waiting"];function processSimpleEventPluginPairsByPriority(eventTypes2,priority){for(var i=0;i<eventTypes2.length;i+=2){var topEvent=eventTypes2[i],event=eventTypes2[i+1],capitalizedEvent=event[0].toUpperCase()+event.slice(1),onEvent="on"+capitalizedEvent,config={phasedRegistrationNames:{bubbled:onEvent,captured:onEvent+"Capture"},dependencies:[topEvent],eventPriority:priority};eventPriorities.set(topEvent,priority),topLevelEventsToDispatchConfig.set(topEvent,config),simpleEventPluginEventTypes[event]=config}}function processTopEventPairsByPriority(eventTypes2,priority){for(var i=0;i<eventTypes2.length;i++)eventPriorities.set(eventTypes2[i],priority)}processSimpleEventPluginPairsByPriority(discreteEventPairsForSimpleEventPlugin,DiscreteEvent),processSimpleEventPluginPairsByPriority(userBlockingPairsForSimpleEventPlugin,UserBlockingEvent),processSimpleEventPluginPairsByPriority(continuousPairsForSimpleEventPlugin,ContinuousEvent),processTopEventPairsByPriority(otherDiscreteEvents,DiscreteEvent);function getEventPriorityForPluginSystem(topLevelType){var priority=eventPriorities.get(topLevelType);return priority===void 0?ContinuousEvent:priority}var UserBlockingPriority=Scheduler.unstable_UserBlockingPriority,runWithPriority=Scheduler.unstable_runWithPriority,_enabled=!0;function setEnabled(enabled){_enabled=!!enabled}function isEnabled(){return _enabled}function trapBubbledEvent(topLevelType,element){trapEventForPluginEventSystem(element,topLevelType,!1)}function trapCapturedEvent(topLevelType,element){trapEventForPluginEventSystem(element,topLevelType,!0)}function trapEventForPluginEventSystem(container,topLevelType,capture){var listener;switch(getEventPriorityForPluginSystem(topLevelType)){case DiscreteEvent:listener=dispatchDiscreteEvent.bind(null,topLevelType,PLUGIN_EVENT_SYSTEM,container);break;case UserBlockingEvent:listener=dispatchUserBlockingUpdate.bind(null,topLevelType,PLUGIN_EVENT_SYSTEM,container);break;case ContinuousEvent:default:listener=dispatchEvent.bind(null,topLevelType,PLUGIN_EVENT_SYSTEM,container);break}var rawEventName=getRawEventName(topLevelType);capture?addEventCaptureListener(container,rawEventName,listener):addEventBubbleListener(container,rawEventName,listener)}function dispatchDiscreteEvent(topLevelType,eventSystemFlags,container,nativeEvent){flushDiscreteUpdatesIfNeeded(nativeEvent.timeStamp),discreteUpdates(dispatchEvent,topLevelType,eventSystemFlags,container,nativeEvent)}function dispatchUserBlockingUpdate(topLevelType,eventSystemFlags,container,nativeEvent){runWithPriority(UserBlockingPriority,dispatchEvent.bind(null,topLevelType,eventSystemFlags,container,nativeEvent))}function dispatchEvent(topLevelType,eventSystemFlags,container,nativeEvent){if(!!_enabled){if(hasQueuedDiscreteEvents()&&isReplayableDiscreteEvent(topLevelType)){queueDiscreteEvent(null,topLevelType,eventSystemFlags,container,nativeEvent);return}var blockedOn=attemptToDispatchEvent(topLevelType,eventSystemFlags,container,nativeEvent);if(blockedOn===null){clearIfContinuousEvent(topLevelType,nativeEvent);return}if(isReplayableDiscreteEvent(topLevelType)){queueDiscreteEvent(blockedOn,topLevelType,eventSystemFlags,container,nativeEvent);return}queueIfContinuousEvent(blockedOn,topLevelType,eventSystemFlags,container,nativeEvent)||(clearIfContinuousEvent(topLevelType,nativeEvent),dispatchEventForLegacyPluginEventSystem(topLevelType,eventSystemFlags,nativeEvent,null))}}function attemptToDispatchEvent(topLevelType,eventSystemFlags,container,nativeEvent){var nativeEventTarget=getEventTarget(nativeEvent),targetInst=getClosestInstanceFromNode(nativeEventTarget);if(targetInst!==null){var nearestMounted=getNearestMountedFiber(targetInst);if(nearestMounted===null)targetInst=null;else{var tag=nearestMounted.tag;if(tag===SuspenseComponent){var instance=getSuspenseInstanceFromFiber(nearestMounted);if(instance!==null)return instance;targetInst=null}else if(tag===HostRoot){var root2=nearestMounted.stateNode;if(root2.hydrate)return getContainerFromFiber(nearestMounted);targetInst=null}else nearestMounted!==targetInst&&(targetInst=null)}}return dispatchEventForLegacyPluginEventSystem(topLevelType,eventSystemFlags,nativeEvent,targetInst),null}var shorthandToLonghand={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},isUnitlessNumber={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,gridArea:!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};function prefixKey(prefix,key){return prefix+key.charAt(0).toUpperCase()+key.substring(1)}var prefixes=["Webkit","ms","Moz","O"];Object.keys(isUnitlessNumber).forEach(function(prop){prefixes.forEach(function(prefix){isUnitlessNumber[prefixKey(prefix,prop)]=isUnitlessNumber[prop]})});function dangerousStyleValue(name,value,isCustomProperty){var isEmpty=value==null||typeof value=="boolean"||value==="";return isEmpty?"":!isCustomProperty&&typeof value=="number"&&value!==0&&!(isUnitlessNumber.hasOwnProperty(name)&&isUnitlessNumber[name])?value+"px":(""+value).trim()}var uppercasePattern=/([A-Z])/g,msPattern=/^ms-/;function hyphenateStyleName(name){return name.replace(uppercasePattern,"-$1").toLowerCase().replace(msPattern,"-ms-")}var warnValidStyle=function(){};{var badVendoredStyleNamePattern=/^(?:webkit|moz|o)[A-Z]/,msPattern$1=/^-ms-/,hyphenPattern=/-(.)/g,badStyleValueWithSemicolonPattern=/;\s*$/,warnedStyleNames={},warnedStyleValues={},warnedForNaNValue=!1,warnedForInfinityValue=!1,camelize=function(string){return string.replace(hyphenPattern,function(_,character){return character.toUpperCase()})},warnHyphenatedStyleName=function(name){warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,error("Unsupported style property %s. Did you mean %s?",name,camelize(name.replace(msPattern$1,"ms-"))))},warnBadVendoredStyleName=function(name){warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,error("Unsupported vendor-prefixed style property %s. Did you mean %s?",name,name.charAt(0).toUpperCase()+name.slice(1)))},warnStyleValueWithSemicolon=function(name,value){warnedStyleValues.hasOwnProperty(value)&&warnedStyleValues[value]||(warnedStyleValues[value]=!0,error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,name,value.replace(badStyleValueWithSemicolonPattern,"")))},warnStyleValueIsNaN=function(name,value){warnedForNaNValue||(warnedForNaNValue=!0,error("`NaN` is an invalid value for the `%s` css style property.",name))},warnStyleValueIsInfinity=function(name,value){warnedForInfinityValue||(warnedForInfinityValue=!0,error("`Infinity` is an invalid value for the `%s` css style property.",name))};warnValidStyle=function(name,value){name.indexOf("-")>-1?warnHyphenatedStyleName(name):badVendoredStyleNamePattern.test(name)?warnBadVendoredStyleName(name):badStyleValueWithSemicolonPattern.test(value)&&warnStyleValueWithSemicolon(name,value),typeof value=="number"&&(isNaN(value)?warnStyleValueIsNaN(name,value):isFinite(value)||warnStyleValueIsInfinity(name,value))}}var warnValidStyle$1=warnValidStyle;function createDangerousStringForStyles(styles){{var serialized="",delimiter="";for(var styleName in styles)if(!!styles.hasOwnProperty(styleName)){var styleValue=styles[styleName];if(styleValue!=null){var isCustomProperty=styleName.indexOf("--")===0;serialized+=delimiter+(isCustomProperty?styleName:hyphenateStyleName(styleName))+":",serialized+=dangerousStyleValue(styleName,styleValue,isCustomProperty),delimiter=";"}}return serialized||null}}function setValueForStyles(node,styles){var style2=node.style;for(var styleName in styles)if(!!styles.hasOwnProperty(styleName)){var isCustomProperty=styleName.indexOf("--")===0;isCustomProperty||warnValidStyle$1(styleName,styles[styleName]);var styleValue=dangerousStyleValue(styleName,styles[styleName],isCustomProperty);styleName==="float"&&(styleName="cssFloat"),isCustomProperty?style2.setProperty(styleName,styleValue):style2[styleName]=styleValue}}function isValueEmpty(value){return value==null||typeof value=="boolean"||value===""}function expandShorthandMap(styles){var expanded={};for(var key in styles)for(var longhands=shorthandToLonghand[key]||[key],i=0;i<longhands.length;i++)expanded[longhands[i]]=key;return expanded}function validateShorthandPropertyCollisionInDev(styleUpdates,nextStyles){{if(!nextStyles)return;var expandedUpdates=expandShorthandMap(styleUpdates),expandedStyles=expandShorthandMap(nextStyles),warnedAbout={};for(var key in expandedUpdates){var originalKey=expandedUpdates[key],correctOriginalKey=expandedStyles[key];if(correctOriginalKey&&originalKey!==correctOriginalKey){var warningKey=originalKey+","+correctOriginalKey;if(warnedAbout[warningKey])continue;warnedAbout[warningKey]=!0,error("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",isValueEmpty(styleUpdates[originalKey])?"Removing":"Updating",originalKey,correctOriginalKey)}}}}var omittedCloseTags={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},voidElementTags=_assign({menuitem:!0},omittedCloseTags),HTML="__html",ReactDebugCurrentFrame$3=null;ReactDebugCurrentFrame$3=ReactSharedInternals.ReactDebugCurrentFrame;function assertValidProps(tag,props){if(!!props){if(voidElementTags[tag]&&!(props.children==null&&props.dangerouslySetInnerHTML==null))throw Error(tag+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."+ReactDebugCurrentFrame$3.getStackAddendum());if(props.dangerouslySetInnerHTML!=null){if(props.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(!(typeof props.dangerouslySetInnerHTML=="object"&&HTML in props.dangerouslySetInnerHTML))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")}if(!props.suppressContentEditableWarning&&props.contentEditable&&props.children!=null&&error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),!(props.style==null||typeof props.style=="object"))throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."+ReactDebugCurrentFrame$3.getStackAddendum())}}function isCustomComponent(tagName,props){if(tagName.indexOf("-")===-1)return typeof props.is=="string";switch(tagName){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}}var possibleStandardNames={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},ariaProperties={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},warnedProperties={},rARIA=new RegExp("^(aria)-["+ATTRIBUTE_NAME_CHAR+"]*$"),rARIACamel=new RegExp("^(aria)[A-Z]["+ATTRIBUTE_NAME_CHAR+"]*$"),hasOwnProperty$1=Object.prototype.hasOwnProperty;function validateProperty(tagName,name){{if(hasOwnProperty$1.call(warnedProperties,name)&&warnedProperties[name])return!0;if(rARIACamel.test(name)){var ariaName="aria-"+name.slice(4).toLowerCase(),correctName=ariaProperties.hasOwnProperty(ariaName)?ariaName:null;if(correctName==null)return error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",name),warnedProperties[name]=!0,!0;if(name!==correctName)return error("Invalid ARIA attribute `%s`. Did you mean `%s`?",name,correctName),warnedProperties[name]=!0,!0}if(rARIA.test(name)){var lowerCasedName=name.toLowerCase(),standardName=ariaProperties.hasOwnProperty(lowerCasedName)?lowerCasedName:null;if(standardName==null)return warnedProperties[name]=!0,!1;if(name!==standardName)return error("Unknown ARIA attribute `%s`. Did you mean `%s`?",name,standardName),warnedProperties[name]=!0,!0}}return!0}function warnInvalidARIAProps(type,props){{var invalidProps=[];for(var key in props){var isValid=validateProperty(type,key);isValid||invalidProps.push(key)}var unknownPropString=invalidProps.map(function(prop){return"`"+prop+"`"}).join(", ");invalidProps.length===1?error("Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",unknownPropString,type):invalidProps.length>1&&error("Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",unknownPropString,type)}}function validateProperties(type,props){isCustomComponent(type,props)||warnInvalidARIAProps(type,props)}var didWarnValueNull=!1;function validateProperties$1(type,props){{if(type!=="input"&&type!=="textarea"&&type!=="select")return;props!=null&&props.value===null&&!didWarnValueNull&&(didWarnValueNull=!0,type==="select"&&props.multiple?error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",type):error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",type))}}var validateProperty$1=function(){};{var warnedProperties$1={},_hasOwnProperty=Object.prototype.hasOwnProperty,EVENT_NAME_REGEX=/^on./,INVALID_EVENT_NAME_REGEX=/^on[^A-Z]/,rARIA$1=new RegExp("^(aria)-["+ATTRIBUTE_NAME_CHAR+"]*$"),rARIACamel$1=new RegExp("^(aria)[A-Z]["+ATTRIBUTE_NAME_CHAR+"]*$");validateProperty$1=function(tagName,name,value,canUseEventSystem){if(_hasOwnProperty.call(warnedProperties$1,name)&&warnedProperties$1[name])return!0;var lowerCasedName=name.toLowerCase();if(lowerCasedName==="onfocusin"||lowerCasedName==="onfocusout")return error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),warnedProperties$1[name]=!0,!0;if(canUseEventSystem){if(registrationNameModules.hasOwnProperty(name))return!0;var registrationName=possibleRegistrationNames.hasOwnProperty(lowerCasedName)?possibleRegistrationNames[lowerCasedName]:null;if(registrationName!=null)return error("Invalid event handler property `%s`. Did you mean `%s`?",name,registrationName),warnedProperties$1[name]=!0,!0;if(EVENT_NAME_REGEX.test(name))return error("Unknown event handler property `%s`. It will be ignored.",name),warnedProperties$1[name]=!0,!0}else if(EVENT_NAME_REGEX.test(name))return INVALID_EVENT_NAME_REGEX.test(name)&&error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",name),warnedProperties$1[name]=!0,!0;if(rARIA$1.test(name)||rARIACamel$1.test(name))return!0;if(lowerCasedName==="innerhtml")return error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),warnedProperties$1[name]=!0,!0;if(lowerCasedName==="aria")return error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),warnedProperties$1[name]=!0,!0;if(lowerCasedName==="is"&&value!==null&&value!==void 0&&typeof value!="string")return error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof value),warnedProperties$1[name]=!0,!0;if(typeof value=="number"&&isNaN(value))return error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",name),warnedProperties$1[name]=!0,!0;var propertyInfo=getPropertyInfo(name),isReserved=propertyInfo!==null&&propertyInfo.type===RESERVED;if(possibleStandardNames.hasOwnProperty(lowerCasedName)){var standardName=possibleStandardNames[lowerCasedName];if(standardName!==name)return error("Invalid DOM property `%s`. Did you mean `%s`?",name,standardName),warnedProperties$1[name]=!0,!0}else if(!isReserved&&name!==lowerCasedName)return error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",name,lowerCasedName),warnedProperties$1[name]=!0,!0;return typeof value=="boolean"&&shouldRemoveAttributeWithWarning(name,value,propertyInfo,!1)?(value?error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',value,name,name,value,name):error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',value,name,name,value,name,name,name),warnedProperties$1[name]=!0,!0):isReserved?!0:shouldRemoveAttributeWithWarning(name,value,propertyInfo,!1)?(warnedProperties$1[name]=!0,!1):((value==="false"||value==="true")&&propertyInfo!==null&&propertyInfo.type===BOOLEAN&&(error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",value,name,value==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',name,value),warnedProperties$1[name]=!0),!0)}}var warnUnknownProperties=function(type,props,canUseEventSystem){{var unknownProps=[];for(var key in props){var isValid=validateProperty$1(type,key,props[key],canUseEventSystem);isValid||unknownProps.push(key)}var unknownPropString=unknownProps.map(function(prop){return"`"+prop+"`"}).join(", ");unknownProps.length===1?error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior",unknownPropString,type):unknownProps.length>1&&error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://fb.me/react-attribute-behavior",unknownPropString,type)}};function validateProperties$2(type,props,canUseEventSystem){isCustomComponent(type,props)||warnUnknownProperties(type,props,canUseEventSystem)}var didWarnInvalidHydration=!1,DANGEROUSLY_SET_INNER_HTML="dangerouslySetInnerHTML",SUPPRESS_CONTENT_EDITABLE_WARNING="suppressContentEditableWarning",SUPPRESS_HYDRATION_WARNING="suppressHydrationWarning",AUTOFOCUS="autoFocus",CHILDREN="children",STYLE="style",HTML$1="__html",HTML_NAMESPACE$1=Namespaces.html,warnedUnknownTags,suppressHydrationWarning,validatePropertiesInDevelopment,warnForTextDifference,warnForPropDifference,warnForExtraAttributes,warnForInvalidEventListener,canDiffStyleForHydrationWarning,normalizeMarkupForTextOrAttribute,normalizeHTML;{warnedUnknownTags={time:!0,dialog:!0,webview:!0},validatePropertiesInDevelopment=function(type,props){validateProperties(type,props),validateProperties$1(type,props),validateProperties$2(type,props,!0)},canDiffStyleForHydrationWarning=canUseDOM&&!document.documentMode;var NORMALIZE_NEWLINES_REGEX=/\r\n?/g,NORMALIZE_NULL_AND_REPLACEMENT_REGEX=/\u0000|\uFFFD/g;normalizeMarkupForTextOrAttribute=function(markup){var markupString=typeof markup=="string"?markup:""+markup;return markupString.replace(NORMALIZE_NEWLINES_REGEX,`
|
9
|
-
`).replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX,"")},warnForTextDifference=function(serverText,clientText){if(!didWarnInvalidHydration){var normalizedClientText=normalizeMarkupForTextOrAttribute(clientText),normalizedServerText=normalizeMarkupForTextOrAttribute(serverText);normalizedServerText!==normalizedClientText&&(didWarnInvalidHydration=!0,error('Text content did not match. Server: "%s" Client: "%s"',normalizedServerText,normalizedClientText))}},warnForPropDifference=function(propName,serverValue,clientValue){if(!didWarnInvalidHydration){var normalizedClientValue=normalizeMarkupForTextOrAttribute(clientValue),normalizedServerValue=normalizeMarkupForTextOrAttribute(serverValue);normalizedServerValue!==normalizedClientValue&&(didWarnInvalidHydration=!0,error("Prop `%s` did not match. Server: %s Client: %s",propName,JSON.stringify(normalizedServerValue),JSON.stringify(normalizedClientValue)))}},warnForExtraAttributes=function(attributeNames){if(!didWarnInvalidHydration){didWarnInvalidHydration=!0;var names=[];attributeNames.forEach(function(name){names.push(name)}),error("Extra attributes from the server: %s",names)}},warnForInvalidEventListener=function(registrationName,listener){listener===!1?error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",registrationName,registrationName,registrationName):error("Expected `%s` listener to be a function, instead got a value of `%s` type.",registrationName,typeof listener)},normalizeHTML=function(parent,html){var testElement=parent.namespaceURI===HTML_NAMESPACE$1?parent.ownerDocument.createElement(parent.tagName):parent.ownerDocument.createElementNS(parent.namespaceURI,parent.tagName);return testElement.innerHTML=html,testElement.innerHTML}}function ensureListeningTo(rootContainerElement,registrationName){var isDocumentOrFragment=rootContainerElement.nodeType===DOCUMENT_NODE||rootContainerElement.nodeType===DOCUMENT_FRAGMENT_NODE,doc=isDocumentOrFragment?rootContainerElement:rootContainerElement.ownerDocument;legacyListenToEvent(registrationName,doc)}function getOwnerDocumentFromRootContainer(rootContainerElement){return rootContainerElement.nodeType===DOCUMENT_NODE?rootContainerElement:rootContainerElement.ownerDocument}function noop(){}function trapClickOnNonInteractiveElement(node){node.onclick=noop}function setInitialDOMProperties(tag,domElement,rootContainerElement,nextProps,isCustomComponentTag){for(var propKey in nextProps)if(!!nextProps.hasOwnProperty(propKey)){var nextProp=nextProps[propKey];if(propKey===STYLE)nextProp&&Object.freeze(nextProp),setValueForStyles(domElement,nextProp);else if(propKey===DANGEROUSLY_SET_INNER_HTML){var nextHtml=nextProp?nextProp[HTML$1]:void 0;nextHtml!=null&&setInnerHTML(domElement,nextHtml)}else if(propKey===CHILDREN)if(typeof nextProp=="string"){var canSetTextContent=tag!=="textarea"||nextProp!=="";canSetTextContent&&setTextContent(domElement,nextProp)}else typeof nextProp=="number"&&setTextContent(domElement,""+nextProp);else propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING||propKey===AUTOFOCUS||(registrationNameModules.hasOwnProperty(propKey)?nextProp!=null&&(typeof nextProp!="function"&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey)):nextProp!=null&&setValueForProperty(domElement,propKey,nextProp,isCustomComponentTag))}}function updateDOMProperties(domElement,updatePayload,wasCustomComponentTag,isCustomComponentTag){for(var i=0;i<updatePayload.length;i+=2){var propKey=updatePayload[i],propValue=updatePayload[i+1];propKey===STYLE?setValueForStyles(domElement,propValue):propKey===DANGEROUSLY_SET_INNER_HTML?setInnerHTML(domElement,propValue):propKey===CHILDREN?setTextContent(domElement,propValue):setValueForProperty(domElement,propKey,propValue,isCustomComponentTag)}}function createElement(type,props,rootContainerElement,parentNamespace){var isCustomComponentTag,ownerDocument=getOwnerDocumentFromRootContainer(rootContainerElement),domElement,namespaceURI=parentNamespace;if(namespaceURI===HTML_NAMESPACE$1&&(namespaceURI=getIntrinsicNamespace(type)),namespaceURI===HTML_NAMESPACE$1){if(isCustomComponentTag=isCustomComponent(type,props),!isCustomComponentTag&&type!==type.toLowerCase()&&error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",type),type==="script"){var div=ownerDocument.createElement("div");div.innerHTML="<script><\/script>";var firstChild=div.firstChild;domElement=div.removeChild(firstChild)}else if(typeof props.is=="string")domElement=ownerDocument.createElement(type,{is:props.is});else if(domElement=ownerDocument.createElement(type),type==="select"){var node=domElement;props.multiple?node.multiple=!0:props.size&&(node.size=props.size)}}else domElement=ownerDocument.createElementNS(namespaceURI,type);return namespaceURI===HTML_NAMESPACE$1&&!isCustomComponentTag&&Object.prototype.toString.call(domElement)==="[object HTMLUnknownElement]"&&!Object.prototype.hasOwnProperty.call(warnedUnknownTags,type)&&(warnedUnknownTags[type]=!0,error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",type)),domElement}function createTextNode(text,rootContainerElement){return getOwnerDocumentFromRootContainer(rootContainerElement).createTextNode(text)}function setInitialProperties(domElement,tag,rawProps,rootContainerElement){var isCustomComponentTag=isCustomComponent(tag,rawProps);validatePropertiesInDevelopment(tag,rawProps);var props;switch(tag){case"iframe":case"object":case"embed":trapBubbledEvent(TOP_LOAD,domElement),props=rawProps;break;case"video":case"audio":for(var i=0;i<mediaEventTypes.length;i++)trapBubbledEvent(mediaEventTypes[i],domElement);props=rawProps;break;case"source":trapBubbledEvent(TOP_ERROR,domElement),props=rawProps;break;case"img":case"image":case"link":trapBubbledEvent(TOP_ERROR,domElement),trapBubbledEvent(TOP_LOAD,domElement),props=rawProps;break;case"form":trapBubbledEvent(TOP_RESET,domElement),trapBubbledEvent(TOP_SUBMIT,domElement),props=rawProps;break;case"details":trapBubbledEvent(TOP_TOGGLE,domElement),props=rawProps;break;case"input":initWrapperState(domElement,rawProps),props=getHostProps(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"option":validateProps(domElement,rawProps),props=getHostProps$1(domElement,rawProps);break;case"select":initWrapperState$1(domElement,rawProps),props=getHostProps$2(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"textarea":initWrapperState$2(domElement,rawProps),props=getHostProps$3(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break;default:props=rawProps}switch(assertValidProps(tag,props),setInitialDOMProperties(tag,domElement,rootContainerElement,props,isCustomComponentTag),tag){case"input":track(domElement),postMountWrapper(domElement,rawProps,!1);break;case"textarea":track(domElement),postMountWrapper$3(domElement);break;case"option":postMountWrapper$1(domElement,rawProps);break;case"select":postMountWrapper$2(domElement,rawProps);break;default:typeof props.onClick=="function"&&trapClickOnNonInteractiveElement(domElement);break}}function diffProperties(domElement,tag,lastRawProps,nextRawProps,rootContainerElement){validatePropertiesInDevelopment(tag,nextRawProps);var updatePayload=null,lastProps,nextProps;switch(tag){case"input":lastProps=getHostProps(domElement,lastRawProps),nextProps=getHostProps(domElement,nextRawProps),updatePayload=[];break;case"option":lastProps=getHostProps$1(domElement,lastRawProps),nextProps=getHostProps$1(domElement,nextRawProps),updatePayload=[];break;case"select":lastProps=getHostProps$2(domElement,lastRawProps),nextProps=getHostProps$2(domElement,nextRawProps),updatePayload=[];break;case"textarea":lastProps=getHostProps$3(domElement,lastRawProps),nextProps=getHostProps$3(domElement,nextRawProps),updatePayload=[];break;default:lastProps=lastRawProps,nextProps=nextRawProps,typeof lastProps.onClick!="function"&&typeof nextProps.onClick=="function"&&trapClickOnNonInteractiveElement(domElement);break}assertValidProps(tag,nextProps);var propKey,styleName,styleUpdates=null;for(propKey in lastProps)if(!(nextProps.hasOwnProperty(propKey)||!lastProps.hasOwnProperty(propKey)||lastProps[propKey]==null))if(propKey===STYLE){var lastStyle=lastProps[propKey];for(styleName in lastStyle)lastStyle.hasOwnProperty(styleName)&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]="")}else propKey===DANGEROUSLY_SET_INNER_HTML||propKey===CHILDREN||propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING||propKey===AUTOFOCUS||(registrationNameModules.hasOwnProperty(propKey)?updatePayload||(updatePayload=[]):(updatePayload=updatePayload||[]).push(propKey,null));for(propKey in nextProps){var nextProp=nextProps[propKey],lastProp=lastProps?.[propKey];if(!(!nextProps.hasOwnProperty(propKey)||nextProp===lastProp||nextProp==null&&lastProp==null))if(propKey===STYLE)if(nextProp&&Object.freeze(nextProp),lastProp){for(styleName in lastProp)lastProp.hasOwnProperty(styleName)&&(!nextProp||!nextProp.hasOwnProperty(styleName))&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]="");for(styleName in nextProp)nextProp.hasOwnProperty(styleName)&&lastProp[styleName]!==nextProp[styleName]&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]=nextProp[styleName])}else styleUpdates||(updatePayload||(updatePayload=[]),updatePayload.push(propKey,styleUpdates)),styleUpdates=nextProp;else if(propKey===DANGEROUSLY_SET_INNER_HTML){var nextHtml=nextProp?nextProp[HTML$1]:void 0,lastHtml=lastProp?lastProp[HTML$1]:void 0;nextHtml!=null&&lastHtml!==nextHtml&&(updatePayload=updatePayload||[]).push(propKey,nextHtml)}else propKey===CHILDREN?lastProp!==nextProp&&(typeof nextProp=="string"||typeof nextProp=="number")&&(updatePayload=updatePayload||[]).push(propKey,""+nextProp):propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING||(registrationNameModules.hasOwnProperty(propKey)?(nextProp!=null&&(typeof nextProp!="function"&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey)),!updatePayload&&lastProp!==nextProp&&(updatePayload=[])):(updatePayload=updatePayload||[]).push(propKey,nextProp))}return styleUpdates&&(validateShorthandPropertyCollisionInDev(styleUpdates,nextProps[STYLE]),(updatePayload=updatePayload||[]).push(STYLE,styleUpdates)),updatePayload}function updateProperties(domElement,updatePayload,tag,lastRawProps,nextRawProps){tag==="input"&&nextRawProps.type==="radio"&&nextRawProps.name!=null&&updateChecked(domElement,nextRawProps);var wasCustomComponentTag=isCustomComponent(tag,lastRawProps),isCustomComponentTag=isCustomComponent(tag,nextRawProps);switch(updateDOMProperties(domElement,updatePayload,wasCustomComponentTag,isCustomComponentTag),tag){case"input":updateWrapper(domElement,nextRawProps);break;case"textarea":updateWrapper$1(domElement,nextRawProps);break;case"select":postUpdateWrapper(domElement,nextRawProps);break}}function getPossibleStandardName(propName){{var lowerCasedName=propName.toLowerCase();return possibleStandardNames.hasOwnProperty(lowerCasedName)&&possibleStandardNames[lowerCasedName]||null}}function diffHydratedProperties(domElement,tag,rawProps,parentNamespace,rootContainerElement){var isCustomComponentTag,extraAttributeNames;switch(suppressHydrationWarning=rawProps[SUPPRESS_HYDRATION_WARNING]===!0,isCustomComponentTag=isCustomComponent(tag,rawProps),validatePropertiesInDevelopment(tag,rawProps),tag){case"iframe":case"object":case"embed":trapBubbledEvent(TOP_LOAD,domElement);break;case"video":case"audio":for(var i=0;i<mediaEventTypes.length;i++)trapBubbledEvent(mediaEventTypes[i],domElement);break;case"source":trapBubbledEvent(TOP_ERROR,domElement);break;case"img":case"image":case"link":trapBubbledEvent(TOP_ERROR,domElement),trapBubbledEvent(TOP_LOAD,domElement);break;case"form":trapBubbledEvent(TOP_RESET,domElement),trapBubbledEvent(TOP_SUBMIT,domElement);break;case"details":trapBubbledEvent(TOP_TOGGLE,domElement);break;case"input":initWrapperState(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"option":validateProps(domElement,rawProps);break;case"select":initWrapperState$1(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"textarea":initWrapperState$2(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break}assertValidProps(tag,rawProps);{extraAttributeNames=new Set;for(var attributes=domElement.attributes,_i=0;_i<attributes.length;_i++){var name=attributes[_i].name.toLowerCase();switch(name){case"data-reactroot":break;case"value":break;case"checked":break;case"selected":break;default:extraAttributeNames.add(attributes[_i].name)}}}var updatePayload=null;for(var propKey in rawProps)if(!!rawProps.hasOwnProperty(propKey)){var nextProp=rawProps[propKey];if(propKey===CHILDREN)typeof nextProp=="string"?domElement.textContent!==nextProp&&(suppressHydrationWarning||warnForTextDifference(domElement.textContent,nextProp),updatePayload=[CHILDREN,nextProp]):typeof nextProp=="number"&&domElement.textContent!==""+nextProp&&(suppressHydrationWarning||warnForTextDifference(domElement.textContent,nextProp),updatePayload=[CHILDREN,""+nextProp]);else if(registrationNameModules.hasOwnProperty(propKey))nextProp!=null&&(typeof nextProp!="function"&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey));else if(typeof isCustomComponentTag=="boolean"){var serverValue=void 0,propertyInfo=getPropertyInfo(propKey);if(!suppressHydrationWarning){if(!(propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING||propKey==="value"||propKey==="checked"||propKey==="selected")){if(propKey===DANGEROUSLY_SET_INNER_HTML){var serverHTML=domElement.innerHTML,nextHtml=nextProp?nextProp[HTML$1]:void 0,expectedHTML=normalizeHTML(domElement,nextHtml??"");expectedHTML!==serverHTML&&warnForPropDifference(propKey,serverHTML,expectedHTML)}else if(propKey===STYLE){if(extraAttributeNames.delete(propKey),canDiffStyleForHydrationWarning){var expectedStyle=createDangerousStringForStyles(nextProp);serverValue=domElement.getAttribute("style"),expectedStyle!==serverValue&&warnForPropDifference(propKey,serverValue,expectedStyle)}}else if(isCustomComponentTag)extraAttributeNames.delete(propKey.toLowerCase()),serverValue=getValueForAttribute(domElement,propKey,nextProp),nextProp!==serverValue&&warnForPropDifference(propKey,serverValue,nextProp);else if(!shouldIgnoreAttribute(propKey,propertyInfo,isCustomComponentTag)&&!shouldRemoveAttribute(propKey,nextProp,propertyInfo,isCustomComponentTag)){var isMismatchDueToBadCasing=!1;if(propertyInfo!==null)extraAttributeNames.delete(propertyInfo.attributeName),serverValue=getValueForProperty(domElement,propKey,nextProp,propertyInfo);else{var ownNamespace=parentNamespace;if(ownNamespace===HTML_NAMESPACE$1&&(ownNamespace=getIntrinsicNamespace(tag)),ownNamespace===HTML_NAMESPACE$1)extraAttributeNames.delete(propKey.toLowerCase());else{var standardName=getPossibleStandardName(propKey);standardName!==null&&standardName!==propKey&&(isMismatchDueToBadCasing=!0,extraAttributeNames.delete(standardName)),extraAttributeNames.delete(propKey)}serverValue=getValueForAttribute(domElement,propKey,nextProp)}nextProp!==serverValue&&!isMismatchDueToBadCasing&&warnForPropDifference(propKey,serverValue,nextProp)}}}}}switch(extraAttributeNames.size>0&&!suppressHydrationWarning&&warnForExtraAttributes(extraAttributeNames),tag){case"input":track(domElement),postMountWrapper(domElement,rawProps,!0);break;case"textarea":track(domElement),postMountWrapper$3(domElement);break;case"select":case"option":break;default:typeof rawProps.onClick=="function"&&trapClickOnNonInteractiveElement(domElement);break}return updatePayload}function diffHydratedText(textNode,text){var isDifferent=textNode.nodeValue!==text;return isDifferent}function warnForUnmatchedText(textNode,text){warnForTextDifference(textNode.nodeValue,text)}function warnForDeletedHydratableElement(parentNode,child){{if(didWarnInvalidHydration)return;didWarnInvalidHydration=!0,error("Did not expect server HTML to contain a <%s> in <%s>.",child.nodeName.toLowerCase(),parentNode.nodeName.toLowerCase())}}function warnForDeletedHydratableText(parentNode,child){{if(didWarnInvalidHydration)return;didWarnInvalidHydration=!0,error('Did not expect server HTML to contain the text node "%s" in <%s>.',child.nodeValue,parentNode.nodeName.toLowerCase())}}function warnForInsertedHydratedElement(parentNode,tag,props){{if(didWarnInvalidHydration)return;didWarnInvalidHydration=!0,error("Expected server HTML to contain a matching <%s> in <%s>.",tag,parentNode.nodeName.toLowerCase())}}function warnForInsertedHydratedText(parentNode,text){{if(text===""||didWarnInvalidHydration)return;didWarnInvalidHydration=!0,error('Expected server HTML to contain a matching text node for "%s" in <%s>.',text,parentNode.nodeName.toLowerCase())}}function restoreControlledState$3(domElement,tag,props){switch(tag){case"input":restoreControlledState(domElement,props);return;case"textarea":restoreControlledState$2(domElement,props);return;case"select":restoreControlledState$1(domElement,props);return}}function getActiveElement(doc){if(doc=doc||(typeof document<"u"?document:void 0),typeof doc>"u")return null;try{return doc.activeElement||doc.body}catch{return doc.body}}function getLeafNode(node){for(;node&&node.firstChild;)node=node.firstChild;return node}function getSiblingNode(node){for(;node;){if(node.nextSibling)return node.nextSibling;node=node.parentNode}}function getNodeForCharacterOffset(root2,offset2){for(var node=getLeafNode(root2),nodeStart=0,nodeEnd=0;node;){if(node.nodeType===TEXT_NODE){if(nodeEnd=nodeStart+node.textContent.length,nodeStart<=offset2&&nodeEnd>=offset2)return{node,offset:offset2-nodeStart};nodeStart=nodeEnd}node=getLeafNode(getSiblingNode(node))}}function getOffsets(outerNode){var ownerDocument=outerNode.ownerDocument,win=ownerDocument&&ownerDocument.defaultView||window,selection=win.getSelection&&win.getSelection();if(!selection||selection.rangeCount===0)return null;var anchorNode=selection.anchorNode,anchorOffset=selection.anchorOffset,focusNode=selection.focusNode,focusOffset=selection.focusOffset;try{anchorNode.nodeType,focusNode.nodeType}catch{return null}return getModernOffsetsFromPoints(outerNode,anchorNode,anchorOffset,focusNode,focusOffset)}function getModernOffsetsFromPoints(outerNode,anchorNode,anchorOffset,focusNode,focusOffset){var length=0,start2=-1,end2=-1,indexWithinAnchor=0,indexWithinFocus=0,node=outerNode,parentNode=null;outer:for(;;){for(var next=null;node===anchorNode&&(anchorOffset===0||node.nodeType===TEXT_NODE)&&(start2=length+anchorOffset),node===focusNode&&(focusOffset===0||node.nodeType===TEXT_NODE)&&(end2=length+focusOffset),node.nodeType===TEXT_NODE&&(length+=node.nodeValue.length),(next=node.firstChild)!==null;)parentNode=node,node=next;for(;;){if(node===outerNode)break outer;if(parentNode===anchorNode&&++indexWithinAnchor===anchorOffset&&(start2=length),parentNode===focusNode&&++indexWithinFocus===focusOffset&&(end2=length),(next=node.nextSibling)!==null)break;node=parentNode,parentNode=node.parentNode}node=next}return start2===-1||end2===-1?null:{start:start2,end:end2}}function setOffsets(node,offsets){var doc=node.ownerDocument||document,win=doc&&doc.defaultView||window;if(!!win.getSelection){var selection=win.getSelection(),length=node.textContent.length,start2=Math.min(offsets.start,length),end2=offsets.end===void 0?start2:Math.min(offsets.end,length);if(!selection.extend&&start2>end2){var temp=end2;end2=start2,start2=temp}var startMarker=getNodeForCharacterOffset(node,start2),endMarker=getNodeForCharacterOffset(node,end2);if(startMarker&&endMarker){if(selection.rangeCount===1&&selection.anchorNode===startMarker.node&&selection.anchorOffset===startMarker.offset&&selection.focusNode===endMarker.node&&selection.focusOffset===endMarker.offset)return;var range=doc.createRange();range.setStart(startMarker.node,startMarker.offset),selection.removeAllRanges(),start2>end2?(selection.addRange(range),selection.extend(endMarker.node,endMarker.offset)):(range.setEnd(endMarker.node,endMarker.offset),selection.addRange(range))}}}function isTextNode(node){return node&&node.nodeType===TEXT_NODE}function containsNode(outerNode,innerNode){return!outerNode||!innerNode?!1:outerNode===innerNode?!0:isTextNode(outerNode)?!1:isTextNode(innerNode)?containsNode(outerNode,innerNode.parentNode):"contains"in outerNode?outerNode.contains(innerNode):outerNode.compareDocumentPosition?!!(outerNode.compareDocumentPosition(innerNode)&16):!1}function isInDocument(node){return node&&node.ownerDocument&&containsNode(node.ownerDocument.documentElement,node)}function isSameOriginFrame(iframe){try{return typeof iframe.contentWindow.location.href=="string"}catch{return!1}}function getActiveElementDeep(){for(var win=window,element=getActiveElement();element instanceof win.HTMLIFrameElement;){if(isSameOriginFrame(element))win=element.contentWindow;else return element;element=getActiveElement(win.document)}return element}function hasSelectionCapabilities(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return nodeName&&(nodeName==="input"&&(elem.type==="text"||elem.type==="search"||elem.type==="tel"||elem.type==="url"||elem.type==="password")||nodeName==="textarea"||elem.contentEditable==="true")}function getSelectionInformation(){var focusedElem=getActiveElementDeep();return{activeElementDetached:null,focusedElem,selectionRange:hasSelectionCapabilities(focusedElem)?getSelection(focusedElem):null}}function restoreSelection(priorSelectionInformation){var curFocusedElem=getActiveElementDeep(),priorFocusedElem=priorSelectionInformation.focusedElem,priorSelectionRange=priorSelectionInformation.selectionRange;if(curFocusedElem!==priorFocusedElem&&isInDocument(priorFocusedElem)){priorSelectionRange!==null&&hasSelectionCapabilities(priorFocusedElem)&&setSelection(priorFocusedElem,priorSelectionRange);for(var ancestors=[],ancestor=priorFocusedElem;ancestor=ancestor.parentNode;)ancestor.nodeType===ELEMENT_NODE&&ancestors.push({element:ancestor,left:ancestor.scrollLeft,top:ancestor.scrollTop});typeof priorFocusedElem.focus=="function"&&priorFocusedElem.focus();for(var i=0;i<ancestors.length;i++){var info=ancestors[i];info.element.scrollLeft=info.left,info.element.scrollTop=info.top}}}function getSelection(input){var selection;return"selectionStart"in input?selection={start:input.selectionStart,end:input.selectionEnd}:selection=getOffsets(input),selection||{start:0,end:0}}function setSelection(input,offsets){var start2=offsets.start,end2=offsets.end;end2===void 0&&(end2=start2),"selectionStart"in input?(input.selectionStart=start2,input.selectionEnd=Math.min(end2,input.value.length)):setOffsets(input,offsets)}var validateDOMNesting=function(){},updatedAncestorInfo=function(){};{var specialTags=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],inScopeTags=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],buttonScopeTags=inScopeTags.concat(["button"]),impliedEndTags=["dd","dt","li","option","optgroup","p","rp","rt"],emptyAncestorInfo={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};updatedAncestorInfo=function(oldInfo,tag){var ancestorInfo=_assign({},oldInfo||emptyAncestorInfo),info={tag};return inScopeTags.indexOf(tag)!==-1&&(ancestorInfo.aTagInScope=null,ancestorInfo.buttonTagInScope=null,ancestorInfo.nobrTagInScope=null),buttonScopeTags.indexOf(tag)!==-1&&(ancestorInfo.pTagInButtonScope=null),specialTags.indexOf(tag)!==-1&&tag!=="address"&&tag!=="div"&&tag!=="p"&&(ancestorInfo.listItemTagAutoclosing=null,ancestorInfo.dlItemTagAutoclosing=null),ancestorInfo.current=info,tag==="form"&&(ancestorInfo.formTag=info),tag==="a"&&(ancestorInfo.aTagInScope=info),tag==="button"&&(ancestorInfo.buttonTagInScope=info),tag==="nobr"&&(ancestorInfo.nobrTagInScope=info),tag==="p"&&(ancestorInfo.pTagInButtonScope=info),tag==="li"&&(ancestorInfo.listItemTagAutoclosing=info),(tag==="dd"||tag==="dt")&&(ancestorInfo.dlItemTagAutoclosing=info),ancestorInfo};var isTagValidWithParent=function(tag,parentTag){switch(parentTag){case"select":return tag==="option"||tag==="optgroup"||tag==="#text";case"optgroup":return tag==="option"||tag==="#text";case"option":return tag==="#text";case"tr":return tag==="th"||tag==="td"||tag==="style"||tag==="script"||tag==="template";case"tbody":case"thead":case"tfoot":return tag==="tr"||tag==="style"||tag==="script"||tag==="template";case"colgroup":return tag==="col"||tag==="template";case"table":return tag==="caption"||tag==="colgroup"||tag==="tbody"||tag==="tfoot"||tag==="thead"||tag==="style"||tag==="script"||tag==="template";case"head":return tag==="base"||tag==="basefont"||tag==="bgsound"||tag==="link"||tag==="meta"||tag==="title"||tag==="noscript"||tag==="noframes"||tag==="style"||tag==="script"||tag==="template";case"html":return tag==="head"||tag==="body"||tag==="frameset";case"frameset":return tag==="frame";case"#document":return tag==="html"}switch(tag){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return parentTag!=="h1"&&parentTag!=="h2"&&parentTag!=="h3"&&parentTag!=="h4"&&parentTag!=="h5"&&parentTag!=="h6";case"rp":case"rt":return impliedEndTags.indexOf(parentTag)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return parentTag==null}return!0},findInvalidAncestorForTag=function(tag,ancestorInfo){switch(tag){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return ancestorInfo.pTagInButtonScope;case"form":return ancestorInfo.formTag||ancestorInfo.pTagInButtonScope;case"li":return ancestorInfo.listItemTagAutoclosing;case"dd":case"dt":return ancestorInfo.dlItemTagAutoclosing;case"button":return ancestorInfo.buttonTagInScope;case"a":return ancestorInfo.aTagInScope;case"nobr":return ancestorInfo.nobrTagInScope}return null},didWarn$1={};validateDOMNesting=function(childTag,childText,ancestorInfo){ancestorInfo=ancestorInfo||emptyAncestorInfo;var parentInfo=ancestorInfo.current,parentTag=parentInfo&&parentInfo.tag;childText!=null&&(childTag!=null&&error("validateDOMNesting: when childText is passed, childTag should be null"),childTag="#text");var invalidParent=isTagValidWithParent(childTag,parentTag)?null:parentInfo,invalidAncestor=invalidParent?null:findInvalidAncestorForTag(childTag,ancestorInfo),invalidParentOrAncestor=invalidParent||invalidAncestor;if(!!invalidParentOrAncestor){var ancestorTag=invalidParentOrAncestor.tag,addendum=getCurrentFiberStackInDev(),warnKey=!!invalidParent+"|"+childTag+"|"+ancestorTag+"|"+addendum;if(!didWarn$1[warnKey]){didWarn$1[warnKey]=!0;var tagDisplayName=childTag,whitespaceInfo="";if(childTag==="#text"?/\S/.test(childText)?tagDisplayName="Text nodes":(tagDisplayName="Whitespace text nodes",whitespaceInfo=" Make sure you don't have any extra whitespace between tags on each line of your source code."):tagDisplayName="<"+childTag+">",invalidParent){var info="";ancestorTag==="table"&&childTag==="tr"&&(info+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),error("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",tagDisplayName,ancestorTag,whitespaceInfo,info)}else error("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",tagDisplayName,ancestorTag)}}}}var SUPPRESS_HYDRATION_WARNING$1;SUPPRESS_HYDRATION_WARNING$1="suppressHydrationWarning";var SUSPENSE_START_DATA="$",SUSPENSE_END_DATA="/$",SUSPENSE_PENDING_START_DATA="$?",SUSPENSE_FALLBACK_START_DATA="$!",STYLE$1="style",eventsEnabled=null,selectionInformation=null;function shouldAutoFocusHostComponent(type,props){switch(type){case"button":case"input":case"select":case"textarea":return!!props.autoFocus}return!1}function getRootHostContext(rootContainerInstance){var type,namespace,nodeType=rootContainerInstance.nodeType;switch(nodeType){case DOCUMENT_NODE:case DOCUMENT_FRAGMENT_NODE:{type=nodeType===DOCUMENT_NODE?"#document":"#fragment";var root2=rootContainerInstance.documentElement;namespace=root2?root2.namespaceURI:getChildNamespace(null,"");break}default:{var container=nodeType===COMMENT_NODE?rootContainerInstance.parentNode:rootContainerInstance,ownNamespace=container.namespaceURI||null;type=container.tagName,namespace=getChildNamespace(ownNamespace,type);break}}{var validatedTag=type.toLowerCase(),ancestorInfo=updatedAncestorInfo(null,validatedTag);return{namespace,ancestorInfo}}}function getChildHostContext(parentHostContext,type,rootContainerInstance){{var parentHostContextDev=parentHostContext,namespace=getChildNamespace(parentHostContextDev.namespace,type),ancestorInfo=updatedAncestorInfo(parentHostContextDev.ancestorInfo,type);return{namespace,ancestorInfo}}}function getPublicInstance(instance){return instance}function prepareForCommit(containerInfo){eventsEnabled=isEnabled(),selectionInformation=getSelectionInformation(),setEnabled(!1)}function resetAfterCommit(containerInfo){restoreSelection(selectionInformation),setEnabled(eventsEnabled),eventsEnabled=null,selectionInformation=null}function createInstance(type,props,rootContainerInstance,hostContext,internalInstanceHandle){var parentNamespace;{var hostContextDev=hostContext;if(validateDOMNesting(type,null,hostContextDev.ancestorInfo),typeof props.children=="string"||typeof props.children=="number"){var string=""+props.children,ownAncestorInfo=updatedAncestorInfo(hostContextDev.ancestorInfo,type);validateDOMNesting(null,string,ownAncestorInfo)}parentNamespace=hostContextDev.namespace}var domElement=createElement(type,props,rootContainerInstance,parentNamespace);return precacheFiberNode(internalInstanceHandle,domElement),updateFiberProps(domElement,props),domElement}function appendInitialChild(parentInstance,child){parentInstance.appendChild(child)}function finalizeInitialChildren(domElement,type,props,rootContainerInstance,hostContext){return setInitialProperties(domElement,type,props,rootContainerInstance),shouldAutoFocusHostComponent(type,props)}function prepareUpdate(domElement,type,oldProps,newProps,rootContainerInstance,hostContext){{var hostContextDev=hostContext;if(typeof newProps.children!=typeof oldProps.children&&(typeof newProps.children=="string"||typeof newProps.children=="number")){var string=""+newProps.children,ownAncestorInfo=updatedAncestorInfo(hostContextDev.ancestorInfo,type);validateDOMNesting(null,string,ownAncestorInfo)}}return diffProperties(domElement,type,oldProps,newProps,rootContainerInstance)}function shouldSetTextContent(type,props){return type==="textarea"||type==="option"||type==="noscript"||typeof props.children=="string"||typeof props.children=="number"||typeof props.dangerouslySetInnerHTML=="object"&&props.dangerouslySetInnerHTML!==null&&props.dangerouslySetInnerHTML.__html!=null}function shouldDeprioritizeSubtree(type,props){return!!props.hidden}function createTextInstance(text,rootContainerInstance,hostContext,internalInstanceHandle){{var hostContextDev=hostContext;validateDOMNesting(null,text,hostContextDev.ancestorInfo)}var textNode=createTextNode(text,rootContainerInstance);return precacheFiberNode(internalInstanceHandle,textNode),textNode}var scheduleTimeout=typeof setTimeout=="function"?setTimeout:void 0,cancelTimeout=typeof clearTimeout=="function"?clearTimeout:void 0,noTimeout=-1;function commitMount(domElement,type,newProps,internalInstanceHandle){shouldAutoFocusHostComponent(type,newProps)&&domElement.focus()}function commitUpdate(domElement,updatePayload,type,oldProps,newProps,internalInstanceHandle){updateFiberProps(domElement,newProps),updateProperties(domElement,updatePayload,type,oldProps,newProps)}function resetTextContent(domElement){setTextContent(domElement,"")}function commitTextUpdate(textInstance,oldText,newText){textInstance.nodeValue=newText}function appendChild(parentInstance,child){parentInstance.appendChild(child)}function appendChildToContainer(container,child){var parentNode;container.nodeType===COMMENT_NODE?(parentNode=container.parentNode,parentNode.insertBefore(child,container)):(parentNode=container,parentNode.appendChild(child));var reactRootContainer=container._reactRootContainer;reactRootContainer==null&&parentNode.onclick===null&&trapClickOnNonInteractiveElement(parentNode)}function insertBefore(parentInstance,child,beforeChild){parentInstance.insertBefore(child,beforeChild)}function insertInContainerBefore(container,child,beforeChild){container.nodeType===COMMENT_NODE?container.parentNode.insertBefore(child,beforeChild):container.insertBefore(child,beforeChild)}function removeChild(parentInstance,child){parentInstance.removeChild(child)}function removeChildFromContainer(container,child){container.nodeType===COMMENT_NODE?container.parentNode.removeChild(child):container.removeChild(child)}function hideInstance(instance){instance=instance;var style2=instance.style;typeof style2.setProperty=="function"?style2.setProperty("display","none","important"):style2.display="none"}function hideTextInstance(textInstance){textInstance.nodeValue=""}function unhideInstance(instance,props){instance=instance;var styleProp=props[STYLE$1],display=styleProp!=null&&styleProp.hasOwnProperty("display")?styleProp.display:null;instance.style.display=dangerousStyleValue("display",display)}function unhideTextInstance(textInstance,text){textInstance.nodeValue=text}function canHydrateInstance(instance,type,props){return instance.nodeType!==ELEMENT_NODE||type.toLowerCase()!==instance.nodeName.toLowerCase()?null:instance}function canHydrateTextInstance(instance,text){return text===""||instance.nodeType!==TEXT_NODE?null:instance}function isSuspenseInstancePending(instance){return instance.data===SUSPENSE_PENDING_START_DATA}function isSuspenseInstanceFallback(instance){return instance.data===SUSPENSE_FALLBACK_START_DATA}function getNextHydratable(node){for(;node!=null;node=node.nextSibling){var nodeType=node.nodeType;if(nodeType===ELEMENT_NODE||nodeType===TEXT_NODE)break}return node}function getNextHydratableSibling(instance){return getNextHydratable(instance.nextSibling)}function getFirstHydratableChild(parentInstance){return getNextHydratable(parentInstance.firstChild)}function hydrateInstance(instance,type,props,rootContainerInstance,hostContext,internalInstanceHandle){precacheFiberNode(internalInstanceHandle,instance),updateFiberProps(instance,props);var parentNamespace;{var hostContextDev=hostContext;parentNamespace=hostContextDev.namespace}return diffHydratedProperties(instance,type,props,parentNamespace,rootContainerInstance)}function hydrateTextInstance(textInstance,text,internalInstanceHandle){return precacheFiberNode(internalInstanceHandle,textInstance),diffHydratedText(textInstance,text)}function getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance){for(var node=suspenseInstance.nextSibling,depth=0;node;){if(node.nodeType===COMMENT_NODE){var data=node.data;if(data===SUSPENSE_END_DATA){if(depth===0)return getNextHydratableSibling(node);depth--}else(data===SUSPENSE_START_DATA||data===SUSPENSE_FALLBACK_START_DATA||data===SUSPENSE_PENDING_START_DATA)&&depth++}node=node.nextSibling}return null}function getParentSuspenseInstance(targetInstance){for(var node=targetInstance.previousSibling,depth=0;node;){if(node.nodeType===COMMENT_NODE){var data=node.data;if(data===SUSPENSE_START_DATA||data===SUSPENSE_FALLBACK_START_DATA||data===SUSPENSE_PENDING_START_DATA){if(depth===0)return node;depth--}else data===SUSPENSE_END_DATA&&depth++}node=node.previousSibling}return null}function commitHydratedContainer(container){retryIfBlockedOn(container)}function commitHydratedSuspenseInstance(suspenseInstance){retryIfBlockedOn(suspenseInstance)}function didNotMatchHydratedContainerTextInstance(parentContainer,textInstance,text){warnForUnmatchedText(textInstance,text)}function didNotMatchHydratedTextInstance(parentType,parentProps,parentInstance,textInstance,text){parentProps[SUPPRESS_HYDRATION_WARNING$1]!==!0&&warnForUnmatchedText(textInstance,text)}function didNotHydrateContainerInstance(parentContainer,instance){instance.nodeType===ELEMENT_NODE?warnForDeletedHydratableElement(parentContainer,instance):instance.nodeType===COMMENT_NODE||warnForDeletedHydratableText(parentContainer,instance)}function didNotHydrateInstance(parentType,parentProps,parentInstance,instance){parentProps[SUPPRESS_HYDRATION_WARNING$1]!==!0&&(instance.nodeType===ELEMENT_NODE?warnForDeletedHydratableElement(parentInstance,instance):instance.nodeType===COMMENT_NODE||warnForDeletedHydratableText(parentInstance,instance))}function didNotFindHydratableContainerInstance(parentContainer,type,props){warnForInsertedHydratedElement(parentContainer,type)}function didNotFindHydratableContainerTextInstance(parentContainer,text){warnForInsertedHydratedText(parentContainer,text)}function didNotFindHydratableInstance(parentType,parentProps,parentInstance,type,props){parentProps[SUPPRESS_HYDRATION_WARNING$1]!==!0&&warnForInsertedHydratedElement(parentInstance,type)}function didNotFindHydratableTextInstance(parentType,parentProps,parentInstance,text){parentProps[SUPPRESS_HYDRATION_WARNING$1]!==!0&&warnForInsertedHydratedText(parentInstance,text)}function didNotFindHydratableSuspenseInstance(parentType,parentProps,parentInstance){parentProps[SUPPRESS_HYDRATION_WARNING$1]}var randomKey=Math.random().toString(36).slice(2),internalInstanceKey="__reactInternalInstance$"+randomKey,internalEventHandlersKey="__reactEventHandlers$"+randomKey,internalContainerInstanceKey="__reactContainere$"+randomKey;function precacheFiberNode(hostInst,node){node[internalInstanceKey]=hostInst}function markContainerAsRoot(hostRoot,node){node[internalContainerInstanceKey]=hostRoot}function unmarkContainerAsRoot(node){node[internalContainerInstanceKey]=null}function isContainerMarkedAsRoot(node){return!!node[internalContainerInstanceKey]}function getClosestInstanceFromNode(targetNode){var targetInst=targetNode[internalInstanceKey];if(targetInst)return targetInst;for(var parentNode=targetNode.parentNode;parentNode;){if(targetInst=parentNode[internalContainerInstanceKey]||parentNode[internalInstanceKey],targetInst){var alternate=targetInst.alternate;if(targetInst.child!==null||alternate!==null&&alternate.child!==null)for(var suspenseInstance=getParentSuspenseInstance(targetNode);suspenseInstance!==null;){var targetSuspenseInst=suspenseInstance[internalInstanceKey];if(targetSuspenseInst)return targetSuspenseInst;suspenseInstance=getParentSuspenseInstance(suspenseInstance)}return targetInst}targetNode=parentNode,parentNode=targetNode.parentNode}return null}function getInstanceFromNode$1(node){var inst=node[internalInstanceKey]||node[internalContainerInstanceKey];return inst&&(inst.tag===HostComponent||inst.tag===HostText||inst.tag===SuspenseComponent||inst.tag===HostRoot)?inst:null}function getNodeFromInstance$1(inst){if(inst.tag===HostComponent||inst.tag===HostText)return inst.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function getFiberCurrentPropsFromNode$1(node){return node[internalEventHandlersKey]||null}function updateFiberProps(node,props){node[internalEventHandlersKey]=props}function getParent(inst){do inst=inst.return;while(inst&&inst.tag!==HostComponent);return inst||null}function getLowestCommonAncestor(instA,instB){for(var depthA=0,tempA=instA;tempA;tempA=getParent(tempA))depthA++;for(var depthB=0,tempB=instB;tempB;tempB=getParent(tempB))depthB++;for(;depthA-depthB>0;)instA=getParent(instA),depthA--;for(;depthB-depthA>0;)instB=getParent(instB),depthB--;for(var depth=depthA;depth--;){if(instA===instB||instA===instB.alternate)return instA;instA=getParent(instA),instB=getParent(instB)}return null}function traverseTwoPhase(inst,fn,arg){for(var path=[];inst;)path.push(inst),inst=getParent(inst);var i;for(i=path.length;i-- >0;)fn(path[i],"captured",arg);for(i=0;i<path.length;i++)fn(path[i],"bubbled",arg)}function traverseEnterLeave(from,to,fn,argFrom,argTo){for(var common=from&&to?getLowestCommonAncestor(from,to):null,pathFrom=[];!(!from||from===common);){var alternate=from.alternate;if(alternate!==null&&alternate===common)break;pathFrom.push(from),from=getParent(from)}for(var pathTo=[];!(!to||to===common);){var _alternate=to.alternate;if(_alternate!==null&&_alternate===common)break;pathTo.push(to),to=getParent(to)}for(var i=0;i<pathFrom.length;i++)fn(pathFrom[i],"bubbled",argFrom);for(var _i=pathTo.length;_i-- >0;)fn(pathTo[_i],"captured",argTo)}function isInteractive(tag){return tag==="button"||tag==="input"||tag==="select"||tag==="textarea"}function shouldPreventMouseEvent(name,type,props){switch(name){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(props.disabled&&isInteractive(type));default:return!1}}function getListener(inst,registrationName){var listener,stateNode=inst.stateNode;if(!stateNode)return null;var props=getFiberCurrentPropsFromNode(stateNode);if(!props||(listener=props[registrationName],shouldPreventMouseEvent(registrationName,inst.type,props)))return null;if(!(!listener||typeof listener=="function"))throw Error("Expected `"+registrationName+"` listener to be a function, instead got a value of `"+typeof listener+"` type.");return listener}function listenerAtPhase(inst,event,propagationPhase){var registrationName=event.dispatchConfig.phasedRegistrationNames[propagationPhase];return getListener(inst,registrationName)}function accumulateDirectionalDispatches(inst,phase,event){inst||error("Dispatching inst must not be null");var listener=listenerAtPhase(inst,event,phase);listener&&(event._dispatchListeners=accumulateInto(event._dispatchListeners,listener),event._dispatchInstances=accumulateInto(event._dispatchInstances,inst))}function accumulateTwoPhaseDispatchesSingle(event){event&&event.dispatchConfig.phasedRegistrationNames&&traverseTwoPhase(event._targetInst,accumulateDirectionalDispatches,event)}function accumulateDispatches(inst,ignoredDirection,event){if(inst&&event&&event.dispatchConfig.registrationName){var registrationName=event.dispatchConfig.registrationName,listener=getListener(inst,registrationName);listener&&(event._dispatchListeners=accumulateInto(event._dispatchListeners,listener),event._dispatchInstances=accumulateInto(event._dispatchInstances,inst))}}function accumulateDirectDispatchesSingle(event){event&&event.dispatchConfig.registrationName&&accumulateDispatches(event._targetInst,null,event)}function accumulateTwoPhaseDispatches(events){forEachAccumulated(events,accumulateTwoPhaseDispatchesSingle)}function accumulateEnterLeaveDispatches(leave,enter,from,to){traverseEnterLeave(from,to,accumulateDispatches,leave,enter)}function accumulateDirectDispatches(events){forEachAccumulated(events,accumulateDirectDispatchesSingle)}var root=null,startText=null,fallbackText=null;function initialize(nativeEventTarget){return root=nativeEventTarget,startText=getText(),!0}function reset(){root=null,startText=null,fallbackText=null}function getData(){if(fallbackText)return fallbackText;var start2,startValue=startText,startLength=startValue.length,end2,endValue=getText(),endLength=endValue.length;for(start2=0;start2<startLength&&startValue[start2]===endValue[start2];start2++);var minEnd=startLength-start2;for(end2=1;end2<=minEnd&&startValue[startLength-end2]===endValue[endLength-end2];end2++);var sliceTail=end2>1?1-end2:void 0;return fallbackText=endValue.slice(start2,sliceTail),fallbackText}function getText(){return"value"in root?root.value:root.textContent}var EVENT_POOL_SIZE=10,EventInterface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(event){return event.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function functionThatReturnsTrue(){return!0}function functionThatReturnsFalse(){return!1}function SyntheticEvent(dispatchConfig,targetInst,nativeEvent,nativeEventTarget){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,delete this.isDefaultPrevented,delete this.isPropagationStopped,this.dispatchConfig=dispatchConfig,this._targetInst=targetInst,this.nativeEvent=nativeEvent;var Interface=this.constructor.Interface;for(var propName in Interface)if(!!Interface.hasOwnProperty(propName)){delete this[propName];var normalize=Interface[propName];normalize?this[propName]=normalize(nativeEvent):propName==="target"?this.target=nativeEventTarget:this[propName]=nativeEvent[propName]}var defaultPrevented=nativeEvent.defaultPrevented!=null?nativeEvent.defaultPrevented:nativeEvent.returnValue===!1;return defaultPrevented?this.isDefaultPrevented=functionThatReturnsTrue:this.isDefaultPrevented=functionThatReturnsFalse,this.isPropagationStopped=functionThatReturnsFalse,this}_assign(SyntheticEvent.prototype,{preventDefault:function(){this.defaultPrevented=!0;var event=this.nativeEvent;!event||(event.preventDefault?event.preventDefault():typeof event.returnValue!="unknown"&&(event.returnValue=!1),this.isDefaultPrevented=functionThatReturnsTrue)},stopPropagation:function(){var event=this.nativeEvent;!event||(event.stopPropagation?event.stopPropagation():typeof event.cancelBubble!="unknown"&&(event.cancelBubble=!0),this.isPropagationStopped=functionThatReturnsTrue)},persist:function(){this.isPersistent=functionThatReturnsTrue},isPersistent:functionThatReturnsFalse,destructor:function(){var Interface=this.constructor.Interface;for(var propName in Interface)Object.defineProperty(this,propName,getPooledWarningPropertyDefinition(propName,Interface[propName]));this.dispatchConfig=null,this._targetInst=null,this.nativeEvent=null,this.isDefaultPrevented=functionThatReturnsFalse,this.isPropagationStopped=functionThatReturnsFalse,this._dispatchListeners=null,this._dispatchInstances=null,Object.defineProperty(this,"nativeEvent",getPooledWarningPropertyDefinition("nativeEvent",null)),Object.defineProperty(this,"isDefaultPrevented",getPooledWarningPropertyDefinition("isDefaultPrevented",functionThatReturnsFalse)),Object.defineProperty(this,"isPropagationStopped",getPooledWarningPropertyDefinition("isPropagationStopped",functionThatReturnsFalse)),Object.defineProperty(this,"preventDefault",getPooledWarningPropertyDefinition("preventDefault",function(){})),Object.defineProperty(this,"stopPropagation",getPooledWarningPropertyDefinition("stopPropagation",function(){}))}}),SyntheticEvent.Interface=EventInterface,SyntheticEvent.extend=function(Interface){var Super=this,E=function(){};E.prototype=Super.prototype;var prototype=new E;function Class(){return Super.apply(this,arguments)}return _assign(prototype,Class.prototype),Class.prototype=prototype,Class.prototype.constructor=Class,Class.Interface=_assign({},Super.Interface,Interface),Class.extend=Super.extend,addEventPoolingTo(Class),Class},addEventPoolingTo(SyntheticEvent);function getPooledWarningPropertyDefinition(propName,getVal){var isFunction=typeof getVal=="function";return{configurable:!0,set:set2,get:get2};function set2(val){var action=isFunction?"setting the method":"setting the property";return warn2(action,"This is effectively a no-op"),val}function get2(){var action=isFunction?"accessing the method":"accessing the property",result=isFunction?"This is a no-op function":"This is set to null";return warn2(action,result),getVal}function warn2(action,result){error("This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",action,propName,result)}}function getPooledEvent(dispatchConfig,targetInst,nativeEvent,nativeInst){var EventConstructor=this;if(EventConstructor.eventPool.length){var instance=EventConstructor.eventPool.pop();return EventConstructor.call(instance,dispatchConfig,targetInst,nativeEvent,nativeInst),instance}return new EventConstructor(dispatchConfig,targetInst,nativeEvent,nativeInst)}function releasePooledEvent(event){var EventConstructor=this;if(!(event instanceof EventConstructor))throw Error("Trying to release an event instance into a pool of a different type.");event.destructor(),EventConstructor.eventPool.length<EVENT_POOL_SIZE&&EventConstructor.eventPool.push(event)}function addEventPoolingTo(EventConstructor){EventConstructor.eventPool=[],EventConstructor.getPooled=getPooledEvent,EventConstructor.release=releasePooledEvent}var SyntheticCompositionEvent=SyntheticEvent.extend({data:null}),SyntheticInputEvent=SyntheticEvent.extend({data:null}),END_KEYCODES=[9,13,27,32],START_KEYCODE=229,canUseCompositionEvent=canUseDOM&&"CompositionEvent"in window,documentMode=null;canUseDOM&&"documentMode"in document&&(documentMode=document.documentMode);var canUseTextInputEvent=canUseDOM&&"TextEvent"in window&&!documentMode,useFallbackCompositionData=canUseDOM&&(!canUseCompositionEvent||documentMode&&documentMode>8&&documentMode<=11),SPACEBAR_CODE=32,SPACEBAR_CHAR=String.fromCharCode(SPACEBAR_CODE),eventTypes={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:[TOP_COMPOSITION_END,TOP_KEY_PRESS,TOP_TEXT_INPUT,TOP_PASTE]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:[TOP_BLUR,TOP_COMPOSITION_END,TOP_KEY_DOWN,TOP_KEY_PRESS,TOP_KEY_UP,TOP_MOUSE_DOWN]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:[TOP_BLUR,TOP_COMPOSITION_START,TOP_KEY_DOWN,TOP_KEY_PRESS,TOP_KEY_UP,TOP_MOUSE_DOWN]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:[TOP_BLUR,TOP_COMPOSITION_UPDATE,TOP_KEY_DOWN,TOP_KEY_PRESS,TOP_KEY_UP,TOP_MOUSE_DOWN]}},hasSpaceKeypress=!1;function isKeypressCommand(nativeEvent){return(nativeEvent.ctrlKey||nativeEvent.altKey||nativeEvent.metaKey)&&!(nativeEvent.ctrlKey&&nativeEvent.altKey)}function getCompositionEventType(topLevelType){switch(topLevelType){case TOP_COMPOSITION_START:return eventTypes.compositionStart;case TOP_COMPOSITION_END:return eventTypes.compositionEnd;case TOP_COMPOSITION_UPDATE:return eventTypes.compositionUpdate}}function isFallbackCompositionStart(topLevelType,nativeEvent){return topLevelType===TOP_KEY_DOWN&&nativeEvent.keyCode===START_KEYCODE}function isFallbackCompositionEnd(topLevelType,nativeEvent){switch(topLevelType){case TOP_KEY_UP:return END_KEYCODES.indexOf(nativeEvent.keyCode)!==-1;case TOP_KEY_DOWN:return nativeEvent.keyCode!==START_KEYCODE;case TOP_KEY_PRESS:case TOP_MOUSE_DOWN:case TOP_BLUR:return!0;default:return!1}}function getDataFromCustomEvent(nativeEvent){var detail=nativeEvent.detail;return typeof detail=="object"&&"data"in detail?detail.data:null}function isUsingKoreanIME(nativeEvent){return nativeEvent.locale==="ko"}var isComposing=!1;function extractCompositionEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget){var eventType,fallbackData;if(canUseCompositionEvent?eventType=getCompositionEventType(topLevelType):isComposing?isFallbackCompositionEnd(topLevelType,nativeEvent)&&(eventType=eventTypes.compositionEnd):isFallbackCompositionStart(topLevelType,nativeEvent)&&(eventType=eventTypes.compositionStart),!eventType)return null;useFallbackCompositionData&&!isUsingKoreanIME(nativeEvent)&&(!isComposing&&eventType===eventTypes.compositionStart?isComposing=initialize(nativeEventTarget):eventType===eventTypes.compositionEnd&&isComposing&&(fallbackData=getData()));var event=SyntheticCompositionEvent.getPooled(eventType,targetInst,nativeEvent,nativeEventTarget);if(fallbackData)event.data=fallbackData;else{var customData=getDataFromCustomEvent(nativeEvent);customData!==null&&(event.data=customData)}return accumulateTwoPhaseDispatches(event),event}function getNativeBeforeInputChars(topLevelType,nativeEvent){switch(topLevelType){case TOP_COMPOSITION_END:return getDataFromCustomEvent(nativeEvent);case TOP_KEY_PRESS:var which=nativeEvent.which;return which!==SPACEBAR_CODE?null:(hasSpaceKeypress=!0,SPACEBAR_CHAR);case TOP_TEXT_INPUT:var chars=nativeEvent.data;return chars===SPACEBAR_CHAR&&hasSpaceKeypress?null:chars;default:return null}}function getFallbackBeforeInputChars(topLevelType,nativeEvent){if(isComposing){if(topLevelType===TOP_COMPOSITION_END||!canUseCompositionEvent&&isFallbackCompositionEnd(topLevelType,nativeEvent)){var chars=getData();return reset(),isComposing=!1,chars}return null}switch(topLevelType){case TOP_PASTE:return null;case TOP_KEY_PRESS:if(!isKeypressCommand(nativeEvent)){if(nativeEvent.char&&nativeEvent.char.length>1)return nativeEvent.char;if(nativeEvent.which)return String.fromCharCode(nativeEvent.which)}return null;case TOP_COMPOSITION_END:return useFallbackCompositionData&&!isUsingKoreanIME(nativeEvent)?null:nativeEvent.data;default:return null}}function extractBeforeInputEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget){var chars;if(canUseTextInputEvent?chars=getNativeBeforeInputChars(topLevelType,nativeEvent):chars=getFallbackBeforeInputChars(topLevelType,nativeEvent),!chars)return null;var event=SyntheticInputEvent.getPooled(eventTypes.beforeInput,targetInst,nativeEvent,nativeEventTarget);return event.data=chars,accumulateTwoPhaseDispatches(event),event}var BeforeInputEventPlugin={eventTypes,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags){var composition=extractCompositionEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget),beforeInput=extractBeforeInputEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget);return composition===null?beforeInput:beforeInput===null?composition:[composition,beforeInput]}},supportedInputTypes={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 isTextInputElement(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return nodeName==="input"?!!supportedInputTypes[elem.type]:nodeName==="textarea"}var eventTypes$1={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:[TOP_BLUR,TOP_CHANGE,TOP_CLICK,TOP_FOCUS,TOP_INPUT,TOP_KEY_DOWN,TOP_KEY_UP,TOP_SELECTION_CHANGE]}};function createAndAccumulateChangeEvent(inst,nativeEvent,target){var event=SyntheticEvent.getPooled(eventTypes$1.change,inst,nativeEvent,target);return event.type="change",enqueueStateRestore(target),accumulateTwoPhaseDispatches(event),event}var activeElement=null,activeElementInst=null;function shouldUseChangeEvent(elem){var nodeName=elem.nodeName&&elem.nodeName.toLowerCase();return nodeName==="select"||nodeName==="input"&&elem.type==="file"}function manualDispatchChangeEvent(nativeEvent){var event=createAndAccumulateChangeEvent(activeElementInst,nativeEvent,getEventTarget(nativeEvent));batchedUpdates(runEventInBatch,event)}function runEventInBatch(event){runEventsInBatch(event)}function getInstIfValueChanged(targetInst){var targetNode=getNodeFromInstance$1(targetInst);if(updateValueIfChanged(targetNode))return targetInst}function getTargetInstForChangeEvent(topLevelType,targetInst){if(topLevelType===TOP_CHANGE)return targetInst}var isInputEventSupported=!1;canUseDOM&&(isInputEventSupported=isEventSupported("input")&&(!document.documentMode||document.documentMode>9));function startWatchingForValueChange(target,targetInst){activeElement=target,activeElementInst=targetInst,activeElement.attachEvent("onpropertychange",handlePropertyChange)}function stopWatchingForValueChange(){!activeElement||(activeElement.detachEvent("onpropertychange",handlePropertyChange),activeElement=null,activeElementInst=null)}function handlePropertyChange(nativeEvent){nativeEvent.propertyName==="value"&&getInstIfValueChanged(activeElementInst)&&manualDispatchChangeEvent(nativeEvent)}function handleEventsForInputEventPolyfill(topLevelType,target,targetInst){topLevelType===TOP_FOCUS?(stopWatchingForValueChange(),startWatchingForValueChange(target,targetInst)):topLevelType===TOP_BLUR&&stopWatchingForValueChange()}function getTargetInstForInputEventPolyfill(topLevelType,targetInst){if(topLevelType===TOP_SELECTION_CHANGE||topLevelType===TOP_KEY_UP||topLevelType===TOP_KEY_DOWN)return getInstIfValueChanged(activeElementInst)}function shouldUseClickEvent(elem){var nodeName=elem.nodeName;return nodeName&&nodeName.toLowerCase()==="input"&&(elem.type==="checkbox"||elem.type==="radio")}function getTargetInstForClickEvent(topLevelType,targetInst){if(topLevelType===TOP_CLICK)return getInstIfValueChanged(targetInst)}function getTargetInstForInputOrChangeEvent(topLevelType,targetInst){if(topLevelType===TOP_INPUT||topLevelType===TOP_CHANGE)return getInstIfValueChanged(targetInst)}function handleControlledInputBlur(node){var state=node._wrapperState;!state||!state.controlled||node.type!=="number"||setDefaultValue(node,"number",node.value)}var ChangeEventPlugin={eventTypes:eventTypes$1,_isInputEventSupported:isInputEventSupported,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags){var targetNode=targetInst?getNodeFromInstance$1(targetInst):window,getTargetInstFunc,handleEventFunc;if(shouldUseChangeEvent(targetNode)?getTargetInstFunc=getTargetInstForChangeEvent:isTextInputElement(targetNode)?isInputEventSupported?getTargetInstFunc=getTargetInstForInputOrChangeEvent:(getTargetInstFunc=getTargetInstForInputEventPolyfill,handleEventFunc=handleEventsForInputEventPolyfill):shouldUseClickEvent(targetNode)&&(getTargetInstFunc=getTargetInstForClickEvent),getTargetInstFunc){var inst=getTargetInstFunc(topLevelType,targetInst);if(inst){var event=createAndAccumulateChangeEvent(inst,nativeEvent,nativeEventTarget);return event}}handleEventFunc&&handleEventFunc(topLevelType,targetNode,targetInst),topLevelType===TOP_BLUR&&handleControlledInputBlur(targetNode)}},SyntheticUIEvent=SyntheticEvent.extend({view:null,detail:null}),modifierKeyToProp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function modifierStateGetter(keyArg){var syntheticEvent=this,nativeEvent=syntheticEvent.nativeEvent;if(nativeEvent.getModifierState)return nativeEvent.getModifierState(keyArg);var keyProp=modifierKeyToProp[keyArg];return keyProp?!!nativeEvent[keyProp]:!1}function getEventModifierState(nativeEvent){return modifierStateGetter}var previousScreenX=0,previousScreenY=0,isMovementXSet=!1,isMovementYSet=!1,SyntheticMouseEvent=SyntheticUIEvent.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:getEventModifierState,button:null,buttons:null,relatedTarget:function(event){return event.relatedTarget||(event.fromElement===event.srcElement?event.toElement:event.fromElement)},movementX:function(event){if("movementX"in event)return event.movementX;var screenX=previousScreenX;return previousScreenX=event.screenX,isMovementXSet?event.type==="mousemove"?event.screenX-screenX:0:(isMovementXSet=!0,0)},movementY:function(event){if("movementY"in event)return event.movementY;var screenY=previousScreenY;return previousScreenY=event.screenY,isMovementYSet?event.type==="mousemove"?event.screenY-screenY:0:(isMovementYSet=!0,0)}}),SyntheticPointerEvent=SyntheticMouseEvent.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),eventTypes$2={mouseEnter:{registrationName:"onMouseEnter",dependencies:[TOP_MOUSE_OUT,TOP_MOUSE_OVER]},mouseLeave:{registrationName:"onMouseLeave",dependencies:[TOP_MOUSE_OUT,TOP_MOUSE_OVER]},pointerEnter:{registrationName:"onPointerEnter",dependencies:[TOP_POINTER_OUT,TOP_POINTER_OVER]},pointerLeave:{registrationName:"onPointerLeave",dependencies:[TOP_POINTER_OUT,TOP_POINTER_OVER]}},EnterLeaveEventPlugin={eventTypes:eventTypes$2,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags){var isOverEvent=topLevelType===TOP_MOUSE_OVER||topLevelType===TOP_POINTER_OVER,isOutEvent=topLevelType===TOP_MOUSE_OUT||topLevelType===TOP_POINTER_OUT;if(isOverEvent&&(eventSystemFlags&IS_REPLAYED)===0&&(nativeEvent.relatedTarget||nativeEvent.fromElement)||!isOutEvent&&!isOverEvent)return null;var win;if(nativeEventTarget.window===nativeEventTarget)win=nativeEventTarget;else{var doc=nativeEventTarget.ownerDocument;doc?win=doc.defaultView||doc.parentWindow:win=window}var from,to;if(isOutEvent){from=targetInst;var related=nativeEvent.relatedTarget||nativeEvent.toElement;if(to=related?getClosestInstanceFromNode(related):null,to!==null){var nearestMounted=getNearestMountedFiber(to);(to!==nearestMounted||to.tag!==HostComponent&&to.tag!==HostText)&&(to=null)}}else from=null,to=targetInst;if(from===to)return null;var eventInterface,leaveEventType,enterEventType,eventTypePrefix;topLevelType===TOP_MOUSE_OUT||topLevelType===TOP_MOUSE_OVER?(eventInterface=SyntheticMouseEvent,leaveEventType=eventTypes$2.mouseLeave,enterEventType=eventTypes$2.mouseEnter,eventTypePrefix="mouse"):(topLevelType===TOP_POINTER_OUT||topLevelType===TOP_POINTER_OVER)&&(eventInterface=SyntheticPointerEvent,leaveEventType=eventTypes$2.pointerLeave,enterEventType=eventTypes$2.pointerEnter,eventTypePrefix="pointer");var fromNode=from==null?win:getNodeFromInstance$1(from),toNode=to==null?win:getNodeFromInstance$1(to),leave=eventInterface.getPooled(leaveEventType,from,nativeEvent,nativeEventTarget);leave.type=eventTypePrefix+"leave",leave.target=fromNode,leave.relatedTarget=toNode;var enter=eventInterface.getPooled(enterEventType,to,nativeEvent,nativeEventTarget);return enter.type=eventTypePrefix+"enter",enter.target=toNode,enter.relatedTarget=fromNode,accumulateEnterLeaveDispatches(leave,enter,from,to),(eventSystemFlags&IS_FIRST_ANCESTOR)===0?[leave]:[leave,enter]}};function is(x,y){return x===y&&(x!==0||1/x===1/y)||x!==x&&y!==y}var objectIs=typeof Object.is=="function"?Object.is:is,hasOwnProperty$2=Object.prototype.hasOwnProperty;function shallowEqual(objA,objB){if(objectIs(objA,objB))return!0;if(typeof objA!="object"||objA===null||typeof objB!="object"||objB===null)return!1;var keysA=Object.keys(objA),keysB=Object.keys(objB);if(keysA.length!==keysB.length)return!1;for(var i=0;i<keysA.length;i++)if(!hasOwnProperty$2.call(objB,keysA[i])||!objectIs(objA[keysA[i]],objB[keysA[i]]))return!1;return!0}var skipSelectionChangeEvent=canUseDOM&&"documentMode"in document&&document.documentMode<=11,eventTypes$3={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:[TOP_BLUR,TOP_CONTEXT_MENU,TOP_DRAG_END,TOP_FOCUS,TOP_KEY_DOWN,TOP_KEY_UP,TOP_MOUSE_DOWN,TOP_MOUSE_UP,TOP_SELECTION_CHANGE]}},activeElement$1=null,activeElementInst$1=null,lastSelection=null,mouseDown=!1;function getSelection$1(node){if("selectionStart"in node&&hasSelectionCapabilities(node))return{start:node.selectionStart,end:node.selectionEnd};var win=node.ownerDocument&&node.ownerDocument.defaultView||window,selection=win.getSelection();return{anchorNode:selection.anchorNode,anchorOffset:selection.anchorOffset,focusNode:selection.focusNode,focusOffset:selection.focusOffset}}function getEventTargetDocument(eventTarget){return eventTarget.window===eventTarget?eventTarget.document:eventTarget.nodeType===DOCUMENT_NODE?eventTarget:eventTarget.ownerDocument}function constructSelectEvent(nativeEvent,nativeEventTarget){var doc=getEventTargetDocument(nativeEventTarget);if(mouseDown||activeElement$1==null||activeElement$1!==getActiveElement(doc))return null;var currentSelection=getSelection$1(activeElement$1);if(!lastSelection||!shallowEqual(lastSelection,currentSelection)){lastSelection=currentSelection;var syntheticEvent=SyntheticEvent.getPooled(eventTypes$3.select,activeElementInst$1,nativeEvent,nativeEventTarget);return syntheticEvent.type="select",syntheticEvent.target=activeElement$1,accumulateTwoPhaseDispatches(syntheticEvent),syntheticEvent}return null}var SelectEventPlugin={eventTypes:eventTypes$3,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags,container){var containerOrDoc=container||getEventTargetDocument(nativeEventTarget);if(!containerOrDoc||!isListeningToAllDependencies("onSelect",containerOrDoc))return null;var targetNode=targetInst?getNodeFromInstance$1(targetInst):window;switch(topLevelType){case TOP_FOCUS:(isTextInputElement(targetNode)||targetNode.contentEditable==="true")&&(activeElement$1=targetNode,activeElementInst$1=targetInst,lastSelection=null);break;case TOP_BLUR:activeElement$1=null,activeElementInst$1=null,lastSelection=null;break;case TOP_MOUSE_DOWN:mouseDown=!0;break;case TOP_CONTEXT_MENU:case TOP_MOUSE_UP:case TOP_DRAG_END:return mouseDown=!1,constructSelectEvent(nativeEvent,nativeEventTarget);case TOP_SELECTION_CHANGE:if(skipSelectionChangeEvent)break;case TOP_KEY_DOWN:case TOP_KEY_UP:return constructSelectEvent(nativeEvent,nativeEventTarget)}return null}},SyntheticAnimationEvent=SyntheticEvent.extend({animationName:null,elapsedTime:null,pseudoElement:null}),SyntheticClipboardEvent=SyntheticEvent.extend({clipboardData:function(event){return"clipboardData"in event?event.clipboardData:window.clipboardData}}),SyntheticFocusEvent=SyntheticUIEvent.extend({relatedTarget:null});function getEventCharCode(nativeEvent){var charCode,keyCode=nativeEvent.keyCode;return"charCode"in nativeEvent?(charCode=nativeEvent.charCode,charCode===0&&keyCode===13&&(charCode=13)):charCode=keyCode,charCode===10&&(charCode=13),charCode>=32||charCode===13?charCode:0}var normalizeKey={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},translateToKey={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 getEventKey(nativeEvent){if(nativeEvent.key){var key=normalizeKey[nativeEvent.key]||nativeEvent.key;if(key!=="Unidentified")return key}if(nativeEvent.type==="keypress"){var charCode=getEventCharCode(nativeEvent);return charCode===13?"Enter":String.fromCharCode(charCode)}return nativeEvent.type==="keydown"||nativeEvent.type==="keyup"?translateToKey[nativeEvent.keyCode]||"Unidentified":""}var SyntheticKeyboardEvent=SyntheticUIEvent.extend({key:getEventKey,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:getEventModifierState,charCode:function(event){return event.type==="keypress"?getEventCharCode(event):0},keyCode:function(event){return event.type==="keydown"||event.type==="keyup"?event.keyCode:0},which:function(event){return event.type==="keypress"?getEventCharCode(event):event.type==="keydown"||event.type==="keyup"?event.keyCode:0}}),SyntheticDragEvent=SyntheticMouseEvent.extend({dataTransfer:null}),SyntheticTouchEvent=SyntheticUIEvent.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:getEventModifierState}),SyntheticTransitionEvent=SyntheticEvent.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),SyntheticWheelEvent=SyntheticMouseEvent.extend({deltaX:function(event){return"deltaX"in event?event.deltaX:"wheelDeltaX"in event?-event.wheelDeltaX:0},deltaY:function(event){return"deltaY"in event?event.deltaY:"wheelDeltaY"in event?-event.wheelDeltaY:"wheelDelta"in event?-event.wheelDelta:0},deltaZ:null,deltaMode:null}),knownHTMLTopLevelTypes=[TOP_ABORT,TOP_CANCEL,TOP_CAN_PLAY,TOP_CAN_PLAY_THROUGH,TOP_CLOSE,TOP_DURATION_CHANGE,TOP_EMPTIED,TOP_ENCRYPTED,TOP_ENDED,TOP_ERROR,TOP_INPUT,TOP_INVALID,TOP_LOAD,TOP_LOADED_DATA,TOP_LOADED_METADATA,TOP_LOAD_START,TOP_PAUSE,TOP_PLAY,TOP_PLAYING,TOP_PROGRESS,TOP_RATE_CHANGE,TOP_RESET,TOP_SEEKED,TOP_SEEKING,TOP_STALLED,TOP_SUBMIT,TOP_SUSPEND,TOP_TIME_UPDATE,TOP_TOGGLE,TOP_VOLUME_CHANGE,TOP_WAITING],SimpleEventPlugin={eventTypes:simpleEventPluginEventTypes,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags){var dispatchConfig=topLevelEventsToDispatchConfig.get(topLevelType);if(!dispatchConfig)return null;var EventConstructor;switch(topLevelType){case TOP_KEY_PRESS:if(getEventCharCode(nativeEvent)===0)return null;case TOP_KEY_DOWN:case TOP_KEY_UP:EventConstructor=SyntheticKeyboardEvent;break;case TOP_BLUR:case TOP_FOCUS:EventConstructor=SyntheticFocusEvent;break;case TOP_CLICK:if(nativeEvent.button===2)return null;case TOP_AUX_CLICK:case TOP_DOUBLE_CLICK:case TOP_MOUSE_DOWN:case TOP_MOUSE_MOVE:case TOP_MOUSE_UP:case TOP_MOUSE_OUT:case TOP_MOUSE_OVER:case TOP_CONTEXT_MENU:EventConstructor=SyntheticMouseEvent;break;case TOP_DRAG:case TOP_DRAG_END:case TOP_DRAG_ENTER:case TOP_DRAG_EXIT:case TOP_DRAG_LEAVE:case TOP_DRAG_OVER:case TOP_DRAG_START:case TOP_DROP:EventConstructor=SyntheticDragEvent;break;case TOP_TOUCH_CANCEL:case TOP_TOUCH_END:case TOP_TOUCH_MOVE:case TOP_TOUCH_START:EventConstructor=SyntheticTouchEvent;break;case TOP_ANIMATION_END:case TOP_ANIMATION_ITERATION:case TOP_ANIMATION_START:EventConstructor=SyntheticAnimationEvent;break;case TOP_TRANSITION_END:EventConstructor=SyntheticTransitionEvent;break;case TOP_SCROLL:EventConstructor=SyntheticUIEvent;break;case TOP_WHEEL:EventConstructor=SyntheticWheelEvent;break;case TOP_COPY:case TOP_CUT:case TOP_PASTE:EventConstructor=SyntheticClipboardEvent;break;case TOP_GOT_POINTER_CAPTURE:case TOP_LOST_POINTER_CAPTURE:case TOP_POINTER_CANCEL:case TOP_POINTER_DOWN:case TOP_POINTER_MOVE:case TOP_POINTER_OUT:case TOP_POINTER_OVER:case TOP_POINTER_UP:EventConstructor=SyntheticPointerEvent;break;default:knownHTMLTopLevelTypes.indexOf(topLevelType)===-1&&error("SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",topLevelType),EventConstructor=SyntheticEvent;break}var event=EventConstructor.getPooled(dispatchConfig,targetInst,nativeEvent,nativeEventTarget);return accumulateTwoPhaseDispatches(event),event}},DOMEventPluginOrder=["ResponderEventPlugin","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];injectEventPluginOrder(DOMEventPluginOrder),setComponentTree(getFiberCurrentPropsFromNode$1,getInstanceFromNode$1,getNodeFromInstance$1),injectEventPluginsByName({SimpleEventPlugin,EnterLeaveEventPlugin,ChangeEventPlugin,SelectEventPlugin,BeforeInputEventPlugin});var reactEmoji="\u269B",warningEmoji="\u26D4",supportsUserTiming=typeof performance<"u"&&typeof performance.mark=="function"&&typeof performance.clearMarks=="function"&&typeof performance.measure=="function"&&typeof performance.clearMeasures=="function",currentFiber=null,currentPhase=null,currentPhaseFiber=null,isCommitting=!1,hasScheduledUpdateInCurrentCommit=!1,hasScheduledUpdateInCurrentPhase=!1,commitCountInCurrentWorkLoop=0,effectCountInCurrentCommit=0,labelsInCurrentCommit=new Set,formatMarkName=function(markName){return reactEmoji+" "+markName},formatLabel=function(label,warning){var prefix=warning?warningEmoji+" ":reactEmoji+" ",suffix=warning?" Warning: "+warning:"";return""+prefix+label+suffix},beginMark=function(markName){performance.mark(formatMarkName(markName))},clearMark=function(markName){performance.clearMarks(formatMarkName(markName))},endMark=function(label,markName,warning){var formattedMarkName=formatMarkName(markName),formattedLabel=formatLabel(label,warning);try{performance.measure(formattedLabel,formattedMarkName)}catch{}performance.clearMarks(formattedMarkName),performance.clearMeasures(formattedLabel)},getFiberMarkName=function(label,debugID){return label+" (#"+debugID+")"},getFiberLabel=function(componentName,isMounted2,phase){return phase===null?componentName+" ["+(isMounted2?"update":"mount")+"]":componentName+"."+phase},beginFiberMark=function(fiber,phase){var componentName=getComponentName(fiber.type)||"Unknown",debugID=fiber._debugID,isMounted2=fiber.alternate!==null,label=getFiberLabel(componentName,isMounted2,phase);if(isCommitting&&labelsInCurrentCommit.has(label))return!1;labelsInCurrentCommit.add(label);var markName=getFiberMarkName(label,debugID);return beginMark(markName),!0},clearFiberMark=function(fiber,phase){var componentName=getComponentName(fiber.type)||"Unknown",debugID=fiber._debugID,isMounted2=fiber.alternate!==null,label=getFiberLabel(componentName,isMounted2,phase),markName=getFiberMarkName(label,debugID);clearMark(markName)},endFiberMark=function(fiber,phase,warning){var componentName=getComponentName(fiber.type)||"Unknown",debugID=fiber._debugID,isMounted2=fiber.alternate!==null,label=getFiberLabel(componentName,isMounted2,phase),markName=getFiberMarkName(label,debugID);endMark(label,markName,warning)},shouldIgnoreFiber=function(fiber){switch(fiber.tag){case HostRoot:case HostComponent:case HostText:case HostPortal:case Fragment:case ContextProvider:case ContextConsumer:case Mode:return!0;default:return!1}},clearPendingPhaseMeasurement=function(){currentPhase!==null&¤tPhaseFiber!==null&&clearFiberMark(currentPhaseFiber,currentPhase),currentPhaseFiber=null,currentPhase=null,hasScheduledUpdateInCurrentPhase=!1},pauseTimers=function(){for(var fiber=currentFiber;fiber;)fiber._debugIsCurrentlyTiming&&endFiberMark(fiber,null,null),fiber=fiber.return},resumeTimersRecursively=function(fiber){fiber.return!==null&&resumeTimersRecursively(fiber.return),fiber._debugIsCurrentlyTiming&&beginFiberMark(fiber,null)},resumeTimers=function(){currentFiber!==null&&resumeTimersRecursively(currentFiber)};function recordEffect(){effectCountInCurrentCommit++}function recordScheduleUpdate(){isCommitting&&(hasScheduledUpdateInCurrentCommit=!0),currentPhase!==null&¤tPhase!=="componentWillMount"&¤tPhase!=="componentWillReceiveProps"&&(hasScheduledUpdateInCurrentPhase=!0)}function startWorkTimer(fiber){{if(!supportsUserTiming||shouldIgnoreFiber(fiber)||(currentFiber=fiber,!beginFiberMark(fiber,null)))return;fiber._debugIsCurrentlyTiming=!0}}function cancelWorkTimer(fiber){{if(!supportsUserTiming||shouldIgnoreFiber(fiber))return;fiber._debugIsCurrentlyTiming=!1,clearFiberMark(fiber,null)}}function stopWorkTimer(fiber){{if(!supportsUserTiming||shouldIgnoreFiber(fiber)||(currentFiber=fiber.return,!fiber._debugIsCurrentlyTiming))return;fiber._debugIsCurrentlyTiming=!1,endFiberMark(fiber,null,null)}}function stopFailedWorkTimer(fiber){{if(!supportsUserTiming||shouldIgnoreFiber(fiber)||(currentFiber=fiber.return,!fiber._debugIsCurrentlyTiming))return;fiber._debugIsCurrentlyTiming=!1;var warning=fiber.tag===SuspenseComponent?"Rendering was suspended":"An error was thrown inside this error boundary";endFiberMark(fiber,null,warning)}}function startPhaseTimer(fiber,phase){{if(!supportsUserTiming||(clearPendingPhaseMeasurement(),!beginFiberMark(fiber,phase)))return;currentPhaseFiber=fiber,currentPhase=phase}}function stopPhaseTimer(){{if(!supportsUserTiming)return;if(currentPhase!==null&¤tPhaseFiber!==null){var warning=hasScheduledUpdateInCurrentPhase?"Scheduled a cascading update":null;endFiberMark(currentPhaseFiber,currentPhase,warning)}currentPhase=null,currentPhaseFiber=null}}function startWorkLoopTimer(nextUnitOfWork){{if(currentFiber=nextUnitOfWork,!supportsUserTiming)return;commitCountInCurrentWorkLoop=0,beginMark("(React Tree Reconciliation)"),resumeTimers()}}function stopWorkLoopTimer(interruptedBy2,didCompleteRoot){{if(!supportsUserTiming)return;var warning=null;if(interruptedBy2!==null)if(interruptedBy2.tag===HostRoot)warning="A top-level update interrupted the previous render";else{var componentName=getComponentName(interruptedBy2.type)||"Unknown";warning="An update to "+componentName+" interrupted the previous render"}else commitCountInCurrentWorkLoop>1&&(warning="There were cascading updates");commitCountInCurrentWorkLoop=0;var label=didCompleteRoot?"(React Tree Reconciliation: Completed Root)":"(React Tree Reconciliation: Yielded)";pauseTimers(),endMark(label,"(React Tree Reconciliation)",warning)}}function startCommitTimer(){{if(!supportsUserTiming)return;isCommitting=!0,hasScheduledUpdateInCurrentCommit=!1,labelsInCurrentCommit.clear(),beginMark("(Committing Changes)")}}function stopCommitTimer(){{if(!supportsUserTiming)return;var warning=null;hasScheduledUpdateInCurrentCommit?warning="Lifecycle hook scheduled a cascading update":commitCountInCurrentWorkLoop>0&&(warning="Caused by a cascading update in earlier commit"),hasScheduledUpdateInCurrentCommit=!1,commitCountInCurrentWorkLoop++,isCommitting=!1,labelsInCurrentCommit.clear(),endMark("(Committing Changes)","(Committing Changes)",warning)}}function startCommitSnapshotEffectsTimer(){{if(!supportsUserTiming)return;effectCountInCurrentCommit=0,beginMark("(Committing Snapshot Effects)")}}function stopCommitSnapshotEffectsTimer(){{if(!supportsUserTiming)return;var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Committing Snapshot Effects: "+count+" Total)","(Committing Snapshot Effects)",null)}}function startCommitHostEffectsTimer(){{if(!supportsUserTiming)return;effectCountInCurrentCommit=0,beginMark("(Committing Host Effects)")}}function stopCommitHostEffectsTimer(){{if(!supportsUserTiming)return;var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Committing Host Effects: "+count+" Total)","(Committing Host Effects)",null)}}function startCommitLifeCyclesTimer(){{if(!supportsUserTiming)return;effectCountInCurrentCommit=0,beginMark("(Calling Lifecycle Methods)")}}function stopCommitLifeCyclesTimer(){{if(!supportsUserTiming)return;var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Calling Lifecycle Methods: "+count+" Total)","(Calling Lifecycle Methods)",null)}}var valueStack=[],fiberStack;fiberStack=[];var index=-1;function createCursor(defaultValue){return{current:defaultValue}}function pop(cursor,fiber){if(index<0){error("Unexpected pop.");return}fiber!==fiberStack[index]&&error("Unexpected Fiber popped."),cursor.current=valueStack[index],valueStack[index]=null,fiberStack[index]=null,index--}function push(cursor,value,fiber){index++,valueStack[index]=cursor.current,fiberStack[index]=fiber,cursor.current=value}var warnedAboutMissingGetChildContext;warnedAboutMissingGetChildContext={};var emptyContextObject={};Object.freeze(emptyContextObject);var contextStackCursor=createCursor(emptyContextObject),didPerformWorkStackCursor=createCursor(!1),previousContext=emptyContextObject;function getUnmaskedContext(workInProgress2,Component,didPushOwnContextIfProvider){return didPushOwnContextIfProvider&&isContextProvider(Component)?previousContext:contextStackCursor.current}function cacheContext(workInProgress2,unmaskedContext,maskedContext){{var instance=workInProgress2.stateNode;instance.__reactInternalMemoizedUnmaskedChildContext=unmaskedContext,instance.__reactInternalMemoizedMaskedChildContext=maskedContext}}function getMaskedContext(workInProgress2,unmaskedContext){{var type=workInProgress2.type,contextTypes=type.contextTypes;if(!contextTypes)return emptyContextObject;var instance=workInProgress2.stateNode;if(instance&&instance.__reactInternalMemoizedUnmaskedChildContext===unmaskedContext)return instance.__reactInternalMemoizedMaskedChildContext;var context={};for(var key in contextTypes)context[key]=unmaskedContext[key];{var name=getComponentName(type)||"Unknown";checkPropTypes(contextTypes,context,"context",name,getCurrentFiberStackInDev)}return instance&&cacheContext(workInProgress2,unmaskedContext,context),context}}function hasContextChanged(){return didPerformWorkStackCursor.current}function isContextProvider(type){{var childContextTypes=type.childContextTypes;return childContextTypes!=null}}function popContext(fiber){pop(didPerformWorkStackCursor,fiber),pop(contextStackCursor,fiber)}function popTopLevelContextObject(fiber){pop(didPerformWorkStackCursor,fiber),pop(contextStackCursor,fiber)}function pushTopLevelContextObject(fiber,context,didChange){{if(contextStackCursor.current!==emptyContextObject)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");push(contextStackCursor,context,fiber),push(didPerformWorkStackCursor,didChange,fiber)}}function processChildContext(fiber,type,parentContext){{var instance=fiber.stateNode,childContextTypes=type.childContextTypes;if(typeof instance.getChildContext!="function"){{var componentName=getComponentName(type)||"Unknown";warnedAboutMissingGetChildContext[componentName]||(warnedAboutMissingGetChildContext[componentName]=!0,error("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",componentName,componentName))}return parentContext}var childContext;startPhaseTimer(fiber,"getChildContext"),childContext=instance.getChildContext(),stopPhaseTimer();for(var contextKey in childContext)if(!(contextKey in childContextTypes))throw Error((getComponentName(type)||"Unknown")+'.getChildContext(): key "'+contextKey+'" is not defined in childContextTypes.');{var name=getComponentName(type)||"Unknown";checkPropTypes(childContextTypes,childContext,"child context",name,getCurrentFiberStackInDev)}return _assign({},parentContext,{},childContext)}}function pushContextProvider(workInProgress2){{var instance=workInProgress2.stateNode,memoizedMergedChildContext=instance&&instance.__reactInternalMemoizedMergedChildContext||emptyContextObject;return previousContext=contextStackCursor.current,push(contextStackCursor,memoizedMergedChildContext,workInProgress2),push(didPerformWorkStackCursor,didPerformWorkStackCursor.current,workInProgress2),!0}}function invalidateContextProvider(workInProgress2,type,didChange){{var instance=workInProgress2.stateNode;if(!instance)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(didChange){var mergedContext=processChildContext(workInProgress2,type,previousContext);instance.__reactInternalMemoizedMergedChildContext=mergedContext,pop(didPerformWorkStackCursor,workInProgress2),pop(contextStackCursor,workInProgress2),push(contextStackCursor,mergedContext,workInProgress2),push(didPerformWorkStackCursor,didChange,workInProgress2)}else pop(didPerformWorkStackCursor,workInProgress2),push(didPerformWorkStackCursor,didChange,workInProgress2)}}function findCurrentUnmaskedContext(fiber){{if(!(isFiberMounted(fiber)&&fiber.tag===ClassComponent))throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var node=fiber;do{switch(node.tag){case HostRoot:return node.stateNode.context;case ClassComponent:{var Component=node.type;if(isContextProvider(Component))return node.stateNode.__reactInternalMemoizedMergedChildContext;break}}node=node.return}while(node!==null);throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var LegacyRoot=0,BlockingRoot=1,ConcurrentRoot=2,Scheduler_runWithPriority=Scheduler.unstable_runWithPriority,Scheduler_scheduleCallback=Scheduler.unstable_scheduleCallback,Scheduler_cancelCallback=Scheduler.unstable_cancelCallback,Scheduler_shouldYield=Scheduler.unstable_shouldYield,Scheduler_requestPaint=Scheduler.unstable_requestPaint,Scheduler_now=Scheduler.unstable_now,Scheduler_getCurrentPriorityLevel=Scheduler.unstable_getCurrentPriorityLevel,Scheduler_ImmediatePriority=Scheduler.unstable_ImmediatePriority,Scheduler_UserBlockingPriority=Scheduler.unstable_UserBlockingPriority,Scheduler_NormalPriority=Scheduler.unstable_NormalPriority,Scheduler_LowPriority=Scheduler.unstable_LowPriority,Scheduler_IdlePriority=Scheduler.unstable_IdlePriority;if(!(tracing.__interactionsRef!=null&&tracing.__interactionsRef.current!=null))throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at http://fb.me/react-profiling");var fakeCallbackNode={},ImmediatePriority=99,UserBlockingPriority$1=98,NormalPriority=97,LowPriority=96,IdlePriority=95,NoPriority=90,shouldYield=Scheduler_shouldYield,requestPaint=Scheduler_requestPaint!==void 0?Scheduler_requestPaint:function(){},syncQueue=null,immediateQueueCallbackNode=null,isFlushingSyncQueue=!1,initialTimeMs=Scheduler_now(),now=initialTimeMs<1e4?Scheduler_now:function(){return Scheduler_now()-initialTimeMs};function getCurrentPriorityLevel(){switch(Scheduler_getCurrentPriorityLevel()){case Scheduler_ImmediatePriority:return ImmediatePriority;case Scheduler_UserBlockingPriority:return UserBlockingPriority$1;case Scheduler_NormalPriority:return NormalPriority;case Scheduler_LowPriority:return LowPriority;case Scheduler_IdlePriority:return IdlePriority;default:throw Error("Unknown priority level.")}}function reactPriorityToSchedulerPriority(reactPriorityLevel){switch(reactPriorityLevel){case ImmediatePriority:return Scheduler_ImmediatePriority;case UserBlockingPriority$1:return Scheduler_UserBlockingPriority;case NormalPriority:return Scheduler_NormalPriority;case LowPriority:return Scheduler_LowPriority;case IdlePriority:return Scheduler_IdlePriority;default:throw Error("Unknown priority level.")}}function runWithPriority$1(reactPriorityLevel,fn){var priorityLevel=reactPriorityToSchedulerPriority(reactPriorityLevel);return Scheduler_runWithPriority(priorityLevel,fn)}function scheduleCallback(reactPriorityLevel,callback,options){var priorityLevel=reactPriorityToSchedulerPriority(reactPriorityLevel);return Scheduler_scheduleCallback(priorityLevel,callback,options)}function scheduleSyncCallback(callback){return syncQueue===null?(syncQueue=[callback],immediateQueueCallbackNode=Scheduler_scheduleCallback(Scheduler_ImmediatePriority,flushSyncCallbackQueueImpl)):syncQueue.push(callback),fakeCallbackNode}function cancelCallback(callbackNode){callbackNode!==fakeCallbackNode&&Scheduler_cancelCallback(callbackNode)}function flushSyncCallbackQueue(){if(immediateQueueCallbackNode!==null){var node=immediateQueueCallbackNode;immediateQueueCallbackNode=null,Scheduler_cancelCallback(node)}flushSyncCallbackQueueImpl()}function flushSyncCallbackQueueImpl(){if(!isFlushingSyncQueue&&syncQueue!==null){isFlushingSyncQueue=!0;var i=0;try{var _isSync=!0,queue=syncQueue;runWithPriority$1(ImmediatePriority,function(){for(;i<queue.length;i++){var callback=queue[i];do callback=callback(_isSync);while(callback!==null)}}),syncQueue=null}catch(error2){throw syncQueue!==null&&(syncQueue=syncQueue.slice(i+1)),Scheduler_scheduleCallback(Scheduler_ImmediatePriority,flushSyncCallbackQueue),error2}finally{isFlushingSyncQueue=!1}}}var NoMode=0,StrictMode=1,BlockingMode=2,ConcurrentMode=4,ProfileMode=8,MAX_SIGNED_31_BIT_INT=1073741823,NoWork=0,Never=1,Idle=2,ContinuousHydration=3,Sync=MAX_SIGNED_31_BIT_INT,Batched=Sync-1,UNIT_SIZE=10,MAGIC_NUMBER_OFFSET=Batched-1;function msToExpirationTime(ms){return MAGIC_NUMBER_OFFSET-(ms/UNIT_SIZE|0)}function expirationTimeToMs(expirationTime){return(MAGIC_NUMBER_OFFSET-expirationTime)*UNIT_SIZE}function ceiling(num,precision){return((num/precision|0)+1)*precision}function computeExpirationBucket(currentTime,expirationInMs,bucketSizeMs){return MAGIC_NUMBER_OFFSET-ceiling(MAGIC_NUMBER_OFFSET-currentTime+expirationInMs/UNIT_SIZE,bucketSizeMs/UNIT_SIZE)}var LOW_PRIORITY_EXPIRATION=5e3,LOW_PRIORITY_BATCH_SIZE=250;function computeAsyncExpiration(currentTime){return computeExpirationBucket(currentTime,LOW_PRIORITY_EXPIRATION,LOW_PRIORITY_BATCH_SIZE)}function computeSuspenseExpiration(currentTime,timeoutMs){return computeExpirationBucket(currentTime,timeoutMs,LOW_PRIORITY_BATCH_SIZE)}var HIGH_PRIORITY_EXPIRATION=500,HIGH_PRIORITY_BATCH_SIZE=100;function computeInteractiveExpiration(currentTime){return computeExpirationBucket(currentTime,HIGH_PRIORITY_EXPIRATION,HIGH_PRIORITY_BATCH_SIZE)}function inferPriorityFromExpirationTime(currentTime,expirationTime){if(expirationTime===Sync)return ImmediatePriority;if(expirationTime===Never||expirationTime===Idle)return IdlePriority;var msUntil=expirationTimeToMs(expirationTime)-expirationTimeToMs(currentTime);return msUntil<=0?ImmediatePriority:msUntil<=HIGH_PRIORITY_EXPIRATION+HIGH_PRIORITY_BATCH_SIZE?UserBlockingPriority$1:msUntil<=LOW_PRIORITY_EXPIRATION+LOW_PRIORITY_BATCH_SIZE?NormalPriority:IdlePriority}var ReactStrictModeWarnings={recordUnsafeLifecycleWarnings:function(fiber,instance){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(fiber,instance){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var findStrictRoot=function(fiber){for(var maybeStrictRoot=null,node=fiber;node!==null;)node.mode&StrictMode&&(maybeStrictRoot=node),node=node.return;return maybeStrictRoot},setToSortedString=function(set2){var array=[];return set2.forEach(function(value){array.push(value)}),array.sort().join(", ")},pendingComponentWillMountWarnings=[],pendingUNSAFE_ComponentWillMountWarnings=[],pendingComponentWillReceivePropsWarnings=[],pendingUNSAFE_ComponentWillReceivePropsWarnings=[],pendingComponentWillUpdateWarnings=[],pendingUNSAFE_ComponentWillUpdateWarnings=[],didWarnAboutUnsafeLifecycles=new Set;ReactStrictModeWarnings.recordUnsafeLifecycleWarnings=function(fiber,instance){didWarnAboutUnsafeLifecycles.has(fiber.type)||(typeof instance.componentWillMount=="function"&&instance.componentWillMount.__suppressDeprecationWarning!==!0&&pendingComponentWillMountWarnings.push(fiber),fiber.mode&StrictMode&&typeof instance.UNSAFE_componentWillMount=="function"&&pendingUNSAFE_ComponentWillMountWarnings.push(fiber),typeof instance.componentWillReceiveProps=="function"&&instance.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&pendingComponentWillReceivePropsWarnings.push(fiber),fiber.mode&StrictMode&&typeof instance.UNSAFE_componentWillReceiveProps=="function"&&pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber),typeof instance.componentWillUpdate=="function"&&instance.componentWillUpdate.__suppressDeprecationWarning!==!0&&pendingComponentWillUpdateWarnings.push(fiber),fiber.mode&StrictMode&&typeof instance.UNSAFE_componentWillUpdate=="function"&&pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber))},ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings=function(){var componentWillMountUniqueNames=new Set;pendingComponentWillMountWarnings.length>0&&(pendingComponentWillMountWarnings.forEach(function(fiber){componentWillMountUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingComponentWillMountWarnings=[]);var UNSAFE_componentWillMountUniqueNames=new Set;pendingUNSAFE_ComponentWillMountWarnings.length>0&&(pendingUNSAFE_ComponentWillMountWarnings.forEach(function(fiber){UNSAFE_componentWillMountUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingUNSAFE_ComponentWillMountWarnings=[]);var componentWillReceivePropsUniqueNames=new Set;pendingComponentWillReceivePropsWarnings.length>0&&(pendingComponentWillReceivePropsWarnings.forEach(function(fiber){componentWillReceivePropsUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingComponentWillReceivePropsWarnings=[]);var UNSAFE_componentWillReceivePropsUniqueNames=new Set;pendingUNSAFE_ComponentWillReceivePropsWarnings.length>0&&(pendingUNSAFE_ComponentWillReceivePropsWarnings.forEach(function(fiber){UNSAFE_componentWillReceivePropsUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingUNSAFE_ComponentWillReceivePropsWarnings=[]);var componentWillUpdateUniqueNames=new Set;pendingComponentWillUpdateWarnings.length>0&&(pendingComponentWillUpdateWarnings.forEach(function(fiber){componentWillUpdateUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingComponentWillUpdateWarnings=[]);var UNSAFE_componentWillUpdateUniqueNames=new Set;if(pendingUNSAFE_ComponentWillUpdateWarnings.length>0&&(pendingUNSAFE_ComponentWillUpdateWarnings.forEach(function(fiber){UNSAFE_componentWillUpdateUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingUNSAFE_ComponentWillUpdateWarnings=[]),UNSAFE_componentWillMountUniqueNames.size>0){var sortedNames=setToSortedString(UNSAFE_componentWillMountUniqueNames);error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.
|
9
|
+
`).replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX,"")},warnForTextDifference=function(serverText,clientText){if(!didWarnInvalidHydration){var normalizedClientText=normalizeMarkupForTextOrAttribute(clientText),normalizedServerText=normalizeMarkupForTextOrAttribute(serverText);normalizedServerText!==normalizedClientText&&(didWarnInvalidHydration=!0,error('Text content did not match. Server: "%s" Client: "%s"',normalizedServerText,normalizedClientText))}},warnForPropDifference=function(propName,serverValue,clientValue){if(!didWarnInvalidHydration){var normalizedClientValue=normalizeMarkupForTextOrAttribute(clientValue),normalizedServerValue=normalizeMarkupForTextOrAttribute(serverValue);normalizedServerValue!==normalizedClientValue&&(didWarnInvalidHydration=!0,error("Prop `%s` did not match. Server: %s Client: %s",propName,JSON.stringify(normalizedServerValue),JSON.stringify(normalizedClientValue)))}},warnForExtraAttributes=function(attributeNames){if(!didWarnInvalidHydration){didWarnInvalidHydration=!0;var names=[];attributeNames.forEach(function(name){names.push(name)}),error("Extra attributes from the server: %s",names)}},warnForInvalidEventListener=function(registrationName,listener){listener===!1?error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",registrationName,registrationName,registrationName):error("Expected `%s` listener to be a function, instead got a value of `%s` type.",registrationName,typeof listener)},normalizeHTML=function(parent,html){var testElement=parent.namespaceURI===HTML_NAMESPACE$1?parent.ownerDocument.createElement(parent.tagName):parent.ownerDocument.createElementNS(parent.namespaceURI,parent.tagName);return testElement.innerHTML=html,testElement.innerHTML}}function ensureListeningTo(rootContainerElement,registrationName){var isDocumentOrFragment=rootContainerElement.nodeType===DOCUMENT_NODE||rootContainerElement.nodeType===DOCUMENT_FRAGMENT_NODE,doc=isDocumentOrFragment?rootContainerElement:rootContainerElement.ownerDocument;legacyListenToEvent(registrationName,doc)}function getOwnerDocumentFromRootContainer(rootContainerElement){return rootContainerElement.nodeType===DOCUMENT_NODE?rootContainerElement:rootContainerElement.ownerDocument}function noop(){}function trapClickOnNonInteractiveElement(node){node.onclick=noop}function setInitialDOMProperties(tag,domElement,rootContainerElement,nextProps,isCustomComponentTag){for(var propKey in nextProps)if(!!nextProps.hasOwnProperty(propKey)){var nextProp=nextProps[propKey];if(propKey===STYLE)nextProp&&Object.freeze(nextProp),setValueForStyles(domElement,nextProp);else if(propKey===DANGEROUSLY_SET_INNER_HTML){var nextHtml=nextProp?nextProp[HTML$1]:void 0;nextHtml!=null&&setInnerHTML(domElement,nextHtml)}else if(propKey===CHILDREN)if(typeof nextProp=="string"){var canSetTextContent=tag!=="textarea"||nextProp!=="";canSetTextContent&&setTextContent(domElement,nextProp)}else typeof nextProp=="number"&&setTextContent(domElement,""+nextProp);else propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING||propKey===AUTOFOCUS||(registrationNameModules.hasOwnProperty(propKey)?nextProp!=null&&(typeof nextProp!="function"&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey)):nextProp!=null&&setValueForProperty(domElement,propKey,nextProp,isCustomComponentTag))}}function updateDOMProperties(domElement,updatePayload,wasCustomComponentTag,isCustomComponentTag){for(var i=0;i<updatePayload.length;i+=2){var propKey=updatePayload[i],propValue=updatePayload[i+1];propKey===STYLE?setValueForStyles(domElement,propValue):propKey===DANGEROUSLY_SET_INNER_HTML?setInnerHTML(domElement,propValue):propKey===CHILDREN?setTextContent(domElement,propValue):setValueForProperty(domElement,propKey,propValue,isCustomComponentTag)}}function createElement(type,props,rootContainerElement,parentNamespace){var isCustomComponentTag,ownerDocument=getOwnerDocumentFromRootContainer(rootContainerElement),domElement,namespaceURI=parentNamespace;if(namespaceURI===HTML_NAMESPACE$1&&(namespaceURI=getIntrinsicNamespace(type)),namespaceURI===HTML_NAMESPACE$1){if(isCustomComponentTag=isCustomComponent(type,props),!isCustomComponentTag&&type!==type.toLowerCase()&&error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",type),type==="script"){var div=ownerDocument.createElement("div");div.innerHTML="<script></script>";var firstChild=div.firstChild;domElement=div.removeChild(firstChild)}else if(typeof props.is=="string")domElement=ownerDocument.createElement(type,{is:props.is});else if(domElement=ownerDocument.createElement(type),type==="select"){var node=domElement;props.multiple?node.multiple=!0:props.size&&(node.size=props.size)}}else domElement=ownerDocument.createElementNS(namespaceURI,type);return namespaceURI===HTML_NAMESPACE$1&&!isCustomComponentTag&&Object.prototype.toString.call(domElement)==="[object HTMLUnknownElement]"&&!Object.prototype.hasOwnProperty.call(warnedUnknownTags,type)&&(warnedUnknownTags[type]=!0,error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",type)),domElement}function createTextNode(text,rootContainerElement){return getOwnerDocumentFromRootContainer(rootContainerElement).createTextNode(text)}function setInitialProperties(domElement,tag,rawProps,rootContainerElement){var isCustomComponentTag=isCustomComponent(tag,rawProps);validatePropertiesInDevelopment(tag,rawProps);var props;switch(tag){case"iframe":case"object":case"embed":trapBubbledEvent(TOP_LOAD,domElement),props=rawProps;break;case"video":case"audio":for(var i=0;i<mediaEventTypes.length;i++)trapBubbledEvent(mediaEventTypes[i],domElement);props=rawProps;break;case"source":trapBubbledEvent(TOP_ERROR,domElement),props=rawProps;break;case"img":case"image":case"link":trapBubbledEvent(TOP_ERROR,domElement),trapBubbledEvent(TOP_LOAD,domElement),props=rawProps;break;case"form":trapBubbledEvent(TOP_RESET,domElement),trapBubbledEvent(TOP_SUBMIT,domElement),props=rawProps;break;case"details":trapBubbledEvent(TOP_TOGGLE,domElement),props=rawProps;break;case"input":initWrapperState(domElement,rawProps),props=getHostProps(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"option":validateProps(domElement,rawProps),props=getHostProps$1(domElement,rawProps);break;case"select":initWrapperState$1(domElement,rawProps),props=getHostProps$2(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"textarea":initWrapperState$2(domElement,rawProps),props=getHostProps$3(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break;default:props=rawProps}switch(assertValidProps(tag,props),setInitialDOMProperties(tag,domElement,rootContainerElement,props,isCustomComponentTag),tag){case"input":track(domElement),postMountWrapper(domElement,rawProps,!1);break;case"textarea":track(domElement),postMountWrapper$3(domElement);break;case"option":postMountWrapper$1(domElement,rawProps);break;case"select":postMountWrapper$2(domElement,rawProps);break;default:typeof props.onClick=="function"&&trapClickOnNonInteractiveElement(domElement);break}}function diffProperties(domElement,tag,lastRawProps,nextRawProps,rootContainerElement){validatePropertiesInDevelopment(tag,nextRawProps);var updatePayload=null,lastProps,nextProps;switch(tag){case"input":lastProps=getHostProps(domElement,lastRawProps),nextProps=getHostProps(domElement,nextRawProps),updatePayload=[];break;case"option":lastProps=getHostProps$1(domElement,lastRawProps),nextProps=getHostProps$1(domElement,nextRawProps),updatePayload=[];break;case"select":lastProps=getHostProps$2(domElement,lastRawProps),nextProps=getHostProps$2(domElement,nextRawProps),updatePayload=[];break;case"textarea":lastProps=getHostProps$3(domElement,lastRawProps),nextProps=getHostProps$3(domElement,nextRawProps),updatePayload=[];break;default:lastProps=lastRawProps,nextProps=nextRawProps,typeof lastProps.onClick!="function"&&typeof nextProps.onClick=="function"&&trapClickOnNonInteractiveElement(domElement);break}assertValidProps(tag,nextProps);var propKey,styleName,styleUpdates=null;for(propKey in lastProps)if(!(nextProps.hasOwnProperty(propKey)||!lastProps.hasOwnProperty(propKey)||lastProps[propKey]==null))if(propKey===STYLE){var lastStyle=lastProps[propKey];for(styleName in lastStyle)lastStyle.hasOwnProperty(styleName)&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]="")}else propKey===DANGEROUSLY_SET_INNER_HTML||propKey===CHILDREN||propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING||propKey===AUTOFOCUS||(registrationNameModules.hasOwnProperty(propKey)?updatePayload||(updatePayload=[]):(updatePayload=updatePayload||[]).push(propKey,null));for(propKey in nextProps){var nextProp=nextProps[propKey],lastProp=lastProps?.[propKey];if(!(!nextProps.hasOwnProperty(propKey)||nextProp===lastProp||nextProp==null&&lastProp==null))if(propKey===STYLE)if(nextProp&&Object.freeze(nextProp),lastProp){for(styleName in lastProp)lastProp.hasOwnProperty(styleName)&&(!nextProp||!nextProp.hasOwnProperty(styleName))&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]="");for(styleName in nextProp)nextProp.hasOwnProperty(styleName)&&lastProp[styleName]!==nextProp[styleName]&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]=nextProp[styleName])}else styleUpdates||(updatePayload||(updatePayload=[]),updatePayload.push(propKey,styleUpdates)),styleUpdates=nextProp;else if(propKey===DANGEROUSLY_SET_INNER_HTML){var nextHtml=nextProp?nextProp[HTML$1]:void 0,lastHtml=lastProp?lastProp[HTML$1]:void 0;nextHtml!=null&&lastHtml!==nextHtml&&(updatePayload=updatePayload||[]).push(propKey,nextHtml)}else propKey===CHILDREN?lastProp!==nextProp&&(typeof nextProp=="string"||typeof nextProp=="number")&&(updatePayload=updatePayload||[]).push(propKey,""+nextProp):propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING||(registrationNameModules.hasOwnProperty(propKey)?(nextProp!=null&&(typeof nextProp!="function"&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey)),!updatePayload&&lastProp!==nextProp&&(updatePayload=[])):(updatePayload=updatePayload||[]).push(propKey,nextProp))}return styleUpdates&&(validateShorthandPropertyCollisionInDev(styleUpdates,nextProps[STYLE]),(updatePayload=updatePayload||[]).push(STYLE,styleUpdates)),updatePayload}function updateProperties(domElement,updatePayload,tag,lastRawProps,nextRawProps){tag==="input"&&nextRawProps.type==="radio"&&nextRawProps.name!=null&&updateChecked(domElement,nextRawProps);var wasCustomComponentTag=isCustomComponent(tag,lastRawProps),isCustomComponentTag=isCustomComponent(tag,nextRawProps);switch(updateDOMProperties(domElement,updatePayload,wasCustomComponentTag,isCustomComponentTag),tag){case"input":updateWrapper(domElement,nextRawProps);break;case"textarea":updateWrapper$1(domElement,nextRawProps);break;case"select":postUpdateWrapper(domElement,nextRawProps);break}}function getPossibleStandardName(propName){{var lowerCasedName=propName.toLowerCase();return possibleStandardNames.hasOwnProperty(lowerCasedName)&&possibleStandardNames[lowerCasedName]||null}}function diffHydratedProperties(domElement,tag,rawProps,parentNamespace,rootContainerElement){var isCustomComponentTag,extraAttributeNames;switch(suppressHydrationWarning=rawProps[SUPPRESS_HYDRATION_WARNING]===!0,isCustomComponentTag=isCustomComponent(tag,rawProps),validatePropertiesInDevelopment(tag,rawProps),tag){case"iframe":case"object":case"embed":trapBubbledEvent(TOP_LOAD,domElement);break;case"video":case"audio":for(var i=0;i<mediaEventTypes.length;i++)trapBubbledEvent(mediaEventTypes[i],domElement);break;case"source":trapBubbledEvent(TOP_ERROR,domElement);break;case"img":case"image":case"link":trapBubbledEvent(TOP_ERROR,domElement),trapBubbledEvent(TOP_LOAD,domElement);break;case"form":trapBubbledEvent(TOP_RESET,domElement),trapBubbledEvent(TOP_SUBMIT,domElement);break;case"details":trapBubbledEvent(TOP_TOGGLE,domElement);break;case"input":initWrapperState(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"option":validateProps(domElement,rawProps);break;case"select":initWrapperState$1(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"textarea":initWrapperState$2(domElement,rawProps),trapBubbledEvent(TOP_INVALID,domElement),ensureListeningTo(rootContainerElement,"onChange");break}assertValidProps(tag,rawProps);{extraAttributeNames=new Set;for(var attributes=domElement.attributes,_i=0;_i<attributes.length;_i++){var name=attributes[_i].name.toLowerCase();switch(name){case"data-reactroot":break;case"value":break;case"checked":break;case"selected":break;default:extraAttributeNames.add(attributes[_i].name)}}}var updatePayload=null;for(var propKey in rawProps)if(!!rawProps.hasOwnProperty(propKey)){var nextProp=rawProps[propKey];if(propKey===CHILDREN)typeof nextProp=="string"?domElement.textContent!==nextProp&&(suppressHydrationWarning||warnForTextDifference(domElement.textContent,nextProp),updatePayload=[CHILDREN,nextProp]):typeof nextProp=="number"&&domElement.textContent!==""+nextProp&&(suppressHydrationWarning||warnForTextDifference(domElement.textContent,nextProp),updatePayload=[CHILDREN,""+nextProp]);else if(registrationNameModules.hasOwnProperty(propKey))nextProp!=null&&(typeof nextProp!="function"&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey));else if(typeof isCustomComponentTag=="boolean"){var serverValue=void 0,propertyInfo=getPropertyInfo(propKey);if(!suppressHydrationWarning){if(!(propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING||propKey==="value"||propKey==="checked"||propKey==="selected")){if(propKey===DANGEROUSLY_SET_INNER_HTML){var serverHTML=domElement.innerHTML,nextHtml=nextProp?nextProp[HTML$1]:void 0,expectedHTML=normalizeHTML(domElement,nextHtml??"");expectedHTML!==serverHTML&&warnForPropDifference(propKey,serverHTML,expectedHTML)}else if(propKey===STYLE){if(extraAttributeNames.delete(propKey),canDiffStyleForHydrationWarning){var expectedStyle=createDangerousStringForStyles(nextProp);serverValue=domElement.getAttribute("style"),expectedStyle!==serverValue&&warnForPropDifference(propKey,serverValue,expectedStyle)}}else if(isCustomComponentTag)extraAttributeNames.delete(propKey.toLowerCase()),serverValue=getValueForAttribute(domElement,propKey,nextProp),nextProp!==serverValue&&warnForPropDifference(propKey,serverValue,nextProp);else if(!shouldIgnoreAttribute(propKey,propertyInfo,isCustomComponentTag)&&!shouldRemoveAttribute(propKey,nextProp,propertyInfo,isCustomComponentTag)){var isMismatchDueToBadCasing=!1;if(propertyInfo!==null)extraAttributeNames.delete(propertyInfo.attributeName),serverValue=getValueForProperty(domElement,propKey,nextProp,propertyInfo);else{var ownNamespace=parentNamespace;if(ownNamespace===HTML_NAMESPACE$1&&(ownNamespace=getIntrinsicNamespace(tag)),ownNamespace===HTML_NAMESPACE$1)extraAttributeNames.delete(propKey.toLowerCase());else{var standardName=getPossibleStandardName(propKey);standardName!==null&&standardName!==propKey&&(isMismatchDueToBadCasing=!0,extraAttributeNames.delete(standardName)),extraAttributeNames.delete(propKey)}serverValue=getValueForAttribute(domElement,propKey,nextProp)}nextProp!==serverValue&&!isMismatchDueToBadCasing&&warnForPropDifference(propKey,serverValue,nextProp)}}}}}switch(extraAttributeNames.size>0&&!suppressHydrationWarning&&warnForExtraAttributes(extraAttributeNames),tag){case"input":track(domElement),postMountWrapper(domElement,rawProps,!0);break;case"textarea":track(domElement),postMountWrapper$3(domElement);break;case"select":case"option":break;default:typeof rawProps.onClick=="function"&&trapClickOnNonInteractiveElement(domElement);break}return updatePayload}function diffHydratedText(textNode,text){var isDifferent=textNode.nodeValue!==text;return isDifferent}function warnForUnmatchedText(textNode,text){warnForTextDifference(textNode.nodeValue,text)}function warnForDeletedHydratableElement(parentNode,child){{if(didWarnInvalidHydration)return;didWarnInvalidHydration=!0,error("Did not expect server HTML to contain a <%s> in <%s>.",child.nodeName.toLowerCase(),parentNode.nodeName.toLowerCase())}}function warnForDeletedHydratableText(parentNode,child){{if(didWarnInvalidHydration)return;didWarnInvalidHydration=!0,error('Did not expect server HTML to contain the text node "%s" in <%s>.',child.nodeValue,parentNode.nodeName.toLowerCase())}}function warnForInsertedHydratedElement(parentNode,tag,props){{if(didWarnInvalidHydration)return;didWarnInvalidHydration=!0,error("Expected server HTML to contain a matching <%s> in <%s>.",tag,parentNode.nodeName.toLowerCase())}}function warnForInsertedHydratedText(parentNode,text){{if(text===""||didWarnInvalidHydration)return;didWarnInvalidHydration=!0,error('Expected server HTML to contain a matching text node for "%s" in <%s>.',text,parentNode.nodeName.toLowerCase())}}function restoreControlledState$3(domElement,tag,props){switch(tag){case"input":restoreControlledState(domElement,props);return;case"textarea":restoreControlledState$2(domElement,props);return;case"select":restoreControlledState$1(domElement,props);return}}function getActiveElement(doc){if(doc=doc||(typeof document<"u"?document:void 0),typeof doc>"u")return null;try{return doc.activeElement||doc.body}catch{return doc.body}}function getLeafNode(node){for(;node&&node.firstChild;)node=node.firstChild;return node}function getSiblingNode(node){for(;node;){if(node.nextSibling)return node.nextSibling;node=node.parentNode}}function getNodeForCharacterOffset(root2,offset2){for(var node=getLeafNode(root2),nodeStart=0,nodeEnd=0;node;){if(node.nodeType===TEXT_NODE){if(nodeEnd=nodeStart+node.textContent.length,nodeStart<=offset2&&nodeEnd>=offset2)return{node,offset:offset2-nodeStart};nodeStart=nodeEnd}node=getLeafNode(getSiblingNode(node))}}function getOffsets(outerNode){var ownerDocument=outerNode.ownerDocument,win=ownerDocument&&ownerDocument.defaultView||window,selection=win.getSelection&&win.getSelection();if(!selection||selection.rangeCount===0)return null;var anchorNode=selection.anchorNode,anchorOffset=selection.anchorOffset,focusNode=selection.focusNode,focusOffset=selection.focusOffset;try{anchorNode.nodeType,focusNode.nodeType}catch{return null}return getModernOffsetsFromPoints(outerNode,anchorNode,anchorOffset,focusNode,focusOffset)}function getModernOffsetsFromPoints(outerNode,anchorNode,anchorOffset,focusNode,focusOffset){var length=0,start2=-1,end2=-1,indexWithinAnchor=0,indexWithinFocus=0,node=outerNode,parentNode=null;outer:for(;;){for(var next=null;node===anchorNode&&(anchorOffset===0||node.nodeType===TEXT_NODE)&&(start2=length+anchorOffset),node===focusNode&&(focusOffset===0||node.nodeType===TEXT_NODE)&&(end2=length+focusOffset),node.nodeType===TEXT_NODE&&(length+=node.nodeValue.length),(next=node.firstChild)!==null;)parentNode=node,node=next;for(;;){if(node===outerNode)break outer;if(parentNode===anchorNode&&++indexWithinAnchor===anchorOffset&&(start2=length),parentNode===focusNode&&++indexWithinFocus===focusOffset&&(end2=length),(next=node.nextSibling)!==null)break;node=parentNode,parentNode=node.parentNode}node=next}return start2===-1||end2===-1?null:{start:start2,end:end2}}function setOffsets(node,offsets){var doc=node.ownerDocument||document,win=doc&&doc.defaultView||window;if(!!win.getSelection){var selection=win.getSelection(),length=node.textContent.length,start2=Math.min(offsets.start,length),end2=offsets.end===void 0?start2:Math.min(offsets.end,length);if(!selection.extend&&start2>end2){var temp=end2;end2=start2,start2=temp}var startMarker=getNodeForCharacterOffset(node,start2),endMarker=getNodeForCharacterOffset(node,end2);if(startMarker&&endMarker){if(selection.rangeCount===1&&selection.anchorNode===startMarker.node&&selection.anchorOffset===startMarker.offset&&selection.focusNode===endMarker.node&&selection.focusOffset===endMarker.offset)return;var range=doc.createRange();range.setStart(startMarker.node,startMarker.offset),selection.removeAllRanges(),start2>end2?(selection.addRange(range),selection.extend(endMarker.node,endMarker.offset)):(range.setEnd(endMarker.node,endMarker.offset),selection.addRange(range))}}}function isTextNode(node){return node&&node.nodeType===TEXT_NODE}function containsNode(outerNode,innerNode){return!outerNode||!innerNode?!1:outerNode===innerNode?!0:isTextNode(outerNode)?!1:isTextNode(innerNode)?containsNode(outerNode,innerNode.parentNode):"contains"in outerNode?outerNode.contains(innerNode):outerNode.compareDocumentPosition?!!(outerNode.compareDocumentPosition(innerNode)&16):!1}function isInDocument(node){return node&&node.ownerDocument&&containsNode(node.ownerDocument.documentElement,node)}function isSameOriginFrame(iframe){try{return typeof iframe.contentWindow.location.href=="string"}catch{return!1}}function getActiveElementDeep(){for(var win=window,element=getActiveElement();element instanceof win.HTMLIFrameElement;){if(isSameOriginFrame(element))win=element.contentWindow;else return element;element=getActiveElement(win.document)}return element}function hasSelectionCapabilities(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return nodeName&&(nodeName==="input"&&(elem.type==="text"||elem.type==="search"||elem.type==="tel"||elem.type==="url"||elem.type==="password")||nodeName==="textarea"||elem.contentEditable==="true")}function getSelectionInformation(){var focusedElem=getActiveElementDeep();return{activeElementDetached:null,focusedElem,selectionRange:hasSelectionCapabilities(focusedElem)?getSelection(focusedElem):null}}function restoreSelection(priorSelectionInformation){var curFocusedElem=getActiveElementDeep(),priorFocusedElem=priorSelectionInformation.focusedElem,priorSelectionRange=priorSelectionInformation.selectionRange;if(curFocusedElem!==priorFocusedElem&&isInDocument(priorFocusedElem)){priorSelectionRange!==null&&hasSelectionCapabilities(priorFocusedElem)&&setSelection(priorFocusedElem,priorSelectionRange);for(var ancestors=[],ancestor=priorFocusedElem;ancestor=ancestor.parentNode;)ancestor.nodeType===ELEMENT_NODE&&ancestors.push({element:ancestor,left:ancestor.scrollLeft,top:ancestor.scrollTop});typeof priorFocusedElem.focus=="function"&&priorFocusedElem.focus();for(var i=0;i<ancestors.length;i++){var info=ancestors[i];info.element.scrollLeft=info.left,info.element.scrollTop=info.top}}}function getSelection(input){var selection;return"selectionStart"in input?selection={start:input.selectionStart,end:input.selectionEnd}:selection=getOffsets(input),selection||{start:0,end:0}}function setSelection(input,offsets){var start2=offsets.start,end2=offsets.end;end2===void 0&&(end2=start2),"selectionStart"in input?(input.selectionStart=start2,input.selectionEnd=Math.min(end2,input.value.length)):setOffsets(input,offsets)}var validateDOMNesting=function(){},updatedAncestorInfo=function(){};{var specialTags=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],inScopeTags=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],buttonScopeTags=inScopeTags.concat(["button"]),impliedEndTags=["dd","dt","li","option","optgroup","p","rp","rt"],emptyAncestorInfo={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};updatedAncestorInfo=function(oldInfo,tag){var ancestorInfo=_assign({},oldInfo||emptyAncestorInfo),info={tag};return inScopeTags.indexOf(tag)!==-1&&(ancestorInfo.aTagInScope=null,ancestorInfo.buttonTagInScope=null,ancestorInfo.nobrTagInScope=null),buttonScopeTags.indexOf(tag)!==-1&&(ancestorInfo.pTagInButtonScope=null),specialTags.indexOf(tag)!==-1&&tag!=="address"&&tag!=="div"&&tag!=="p"&&(ancestorInfo.listItemTagAutoclosing=null,ancestorInfo.dlItemTagAutoclosing=null),ancestorInfo.current=info,tag==="form"&&(ancestorInfo.formTag=info),tag==="a"&&(ancestorInfo.aTagInScope=info),tag==="button"&&(ancestorInfo.buttonTagInScope=info),tag==="nobr"&&(ancestorInfo.nobrTagInScope=info),tag==="p"&&(ancestorInfo.pTagInButtonScope=info),tag==="li"&&(ancestorInfo.listItemTagAutoclosing=info),(tag==="dd"||tag==="dt")&&(ancestorInfo.dlItemTagAutoclosing=info),ancestorInfo};var isTagValidWithParent=function(tag,parentTag){switch(parentTag){case"select":return tag==="option"||tag==="optgroup"||tag==="#text";case"optgroup":return tag==="option"||tag==="#text";case"option":return tag==="#text";case"tr":return tag==="th"||tag==="td"||tag==="style"||tag==="script"||tag==="template";case"tbody":case"thead":case"tfoot":return tag==="tr"||tag==="style"||tag==="script"||tag==="template";case"colgroup":return tag==="col"||tag==="template";case"table":return tag==="caption"||tag==="colgroup"||tag==="tbody"||tag==="tfoot"||tag==="thead"||tag==="style"||tag==="script"||tag==="template";case"head":return tag==="base"||tag==="basefont"||tag==="bgsound"||tag==="link"||tag==="meta"||tag==="title"||tag==="noscript"||tag==="noframes"||tag==="style"||tag==="script"||tag==="template";case"html":return tag==="head"||tag==="body"||tag==="frameset";case"frameset":return tag==="frame";case"#document":return tag==="html"}switch(tag){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return parentTag!=="h1"&&parentTag!=="h2"&&parentTag!=="h3"&&parentTag!=="h4"&&parentTag!=="h5"&&parentTag!=="h6";case"rp":case"rt":return impliedEndTags.indexOf(parentTag)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return parentTag==null}return!0},findInvalidAncestorForTag=function(tag,ancestorInfo){switch(tag){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return ancestorInfo.pTagInButtonScope;case"form":return ancestorInfo.formTag||ancestorInfo.pTagInButtonScope;case"li":return ancestorInfo.listItemTagAutoclosing;case"dd":case"dt":return ancestorInfo.dlItemTagAutoclosing;case"button":return ancestorInfo.buttonTagInScope;case"a":return ancestorInfo.aTagInScope;case"nobr":return ancestorInfo.nobrTagInScope}return null},didWarn$1={};validateDOMNesting=function(childTag,childText,ancestorInfo){ancestorInfo=ancestorInfo||emptyAncestorInfo;var parentInfo=ancestorInfo.current,parentTag=parentInfo&&parentInfo.tag;childText!=null&&(childTag!=null&&error("validateDOMNesting: when childText is passed, childTag should be null"),childTag="#text");var invalidParent=isTagValidWithParent(childTag,parentTag)?null:parentInfo,invalidAncestor=invalidParent?null:findInvalidAncestorForTag(childTag,ancestorInfo),invalidParentOrAncestor=invalidParent||invalidAncestor;if(!!invalidParentOrAncestor){var ancestorTag=invalidParentOrAncestor.tag,addendum=getCurrentFiberStackInDev(),warnKey=!!invalidParent+"|"+childTag+"|"+ancestorTag+"|"+addendum;if(!didWarn$1[warnKey]){didWarn$1[warnKey]=!0;var tagDisplayName=childTag,whitespaceInfo="";if(childTag==="#text"?/\S/.test(childText)?tagDisplayName="Text nodes":(tagDisplayName="Whitespace text nodes",whitespaceInfo=" Make sure you don't have any extra whitespace between tags on each line of your source code."):tagDisplayName="<"+childTag+">",invalidParent){var info="";ancestorTag==="table"&&childTag==="tr"&&(info+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),error("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",tagDisplayName,ancestorTag,whitespaceInfo,info)}else error("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",tagDisplayName,ancestorTag)}}}}var SUPPRESS_HYDRATION_WARNING$1;SUPPRESS_HYDRATION_WARNING$1="suppressHydrationWarning";var SUSPENSE_START_DATA="$",SUSPENSE_END_DATA="/$",SUSPENSE_PENDING_START_DATA="$?",SUSPENSE_FALLBACK_START_DATA="$!",STYLE$1="style",eventsEnabled=null,selectionInformation=null;function shouldAutoFocusHostComponent(type,props){switch(type){case"button":case"input":case"select":case"textarea":return!!props.autoFocus}return!1}function getRootHostContext(rootContainerInstance){var type,namespace,nodeType=rootContainerInstance.nodeType;switch(nodeType){case DOCUMENT_NODE:case DOCUMENT_FRAGMENT_NODE:{type=nodeType===DOCUMENT_NODE?"#document":"#fragment";var root2=rootContainerInstance.documentElement;namespace=root2?root2.namespaceURI:getChildNamespace(null,"");break}default:{var container=nodeType===COMMENT_NODE?rootContainerInstance.parentNode:rootContainerInstance,ownNamespace=container.namespaceURI||null;type=container.tagName,namespace=getChildNamespace(ownNamespace,type);break}}{var validatedTag=type.toLowerCase(),ancestorInfo=updatedAncestorInfo(null,validatedTag);return{namespace,ancestorInfo}}}function getChildHostContext(parentHostContext,type,rootContainerInstance){{var parentHostContextDev=parentHostContext,namespace=getChildNamespace(parentHostContextDev.namespace,type),ancestorInfo=updatedAncestorInfo(parentHostContextDev.ancestorInfo,type);return{namespace,ancestorInfo}}}function getPublicInstance(instance){return instance}function prepareForCommit(containerInfo){eventsEnabled=isEnabled(),selectionInformation=getSelectionInformation(),setEnabled(!1)}function resetAfterCommit(containerInfo){restoreSelection(selectionInformation),setEnabled(eventsEnabled),eventsEnabled=null,selectionInformation=null}function createInstance(type,props,rootContainerInstance,hostContext,internalInstanceHandle){var parentNamespace;{var hostContextDev=hostContext;if(validateDOMNesting(type,null,hostContextDev.ancestorInfo),typeof props.children=="string"||typeof props.children=="number"){var string=""+props.children,ownAncestorInfo=updatedAncestorInfo(hostContextDev.ancestorInfo,type);validateDOMNesting(null,string,ownAncestorInfo)}parentNamespace=hostContextDev.namespace}var domElement=createElement(type,props,rootContainerInstance,parentNamespace);return precacheFiberNode(internalInstanceHandle,domElement),updateFiberProps(domElement,props),domElement}function appendInitialChild(parentInstance,child){parentInstance.appendChild(child)}function finalizeInitialChildren(domElement,type,props,rootContainerInstance,hostContext){return setInitialProperties(domElement,type,props,rootContainerInstance),shouldAutoFocusHostComponent(type,props)}function prepareUpdate(domElement,type,oldProps,newProps,rootContainerInstance,hostContext){{var hostContextDev=hostContext;if(typeof newProps.children!=typeof oldProps.children&&(typeof newProps.children=="string"||typeof newProps.children=="number")){var string=""+newProps.children,ownAncestorInfo=updatedAncestorInfo(hostContextDev.ancestorInfo,type);validateDOMNesting(null,string,ownAncestorInfo)}}return diffProperties(domElement,type,oldProps,newProps,rootContainerInstance)}function shouldSetTextContent(type,props){return type==="textarea"||type==="option"||type==="noscript"||typeof props.children=="string"||typeof props.children=="number"||typeof props.dangerouslySetInnerHTML=="object"&&props.dangerouslySetInnerHTML!==null&&props.dangerouslySetInnerHTML.__html!=null}function shouldDeprioritizeSubtree(type,props){return!!props.hidden}function createTextInstance(text,rootContainerInstance,hostContext,internalInstanceHandle){{var hostContextDev=hostContext;validateDOMNesting(null,text,hostContextDev.ancestorInfo)}var textNode=createTextNode(text,rootContainerInstance);return precacheFiberNode(internalInstanceHandle,textNode),textNode}var scheduleTimeout=typeof setTimeout=="function"?setTimeout:void 0,cancelTimeout=typeof clearTimeout=="function"?clearTimeout:void 0,noTimeout=-1;function commitMount(domElement,type,newProps,internalInstanceHandle){shouldAutoFocusHostComponent(type,newProps)&&domElement.focus()}function commitUpdate(domElement,updatePayload,type,oldProps,newProps,internalInstanceHandle){updateFiberProps(domElement,newProps),updateProperties(domElement,updatePayload,type,oldProps,newProps)}function resetTextContent(domElement){setTextContent(domElement,"")}function commitTextUpdate(textInstance,oldText,newText){textInstance.nodeValue=newText}function appendChild(parentInstance,child){parentInstance.appendChild(child)}function appendChildToContainer(container,child){var parentNode;container.nodeType===COMMENT_NODE?(parentNode=container.parentNode,parentNode.insertBefore(child,container)):(parentNode=container,parentNode.appendChild(child));var reactRootContainer=container._reactRootContainer;reactRootContainer==null&&parentNode.onclick===null&&trapClickOnNonInteractiveElement(parentNode)}function insertBefore(parentInstance,child,beforeChild){parentInstance.insertBefore(child,beforeChild)}function insertInContainerBefore(container,child,beforeChild){container.nodeType===COMMENT_NODE?container.parentNode.insertBefore(child,beforeChild):container.insertBefore(child,beforeChild)}function removeChild(parentInstance,child){parentInstance.removeChild(child)}function removeChildFromContainer(container,child){container.nodeType===COMMENT_NODE?container.parentNode.removeChild(child):container.removeChild(child)}function hideInstance(instance){instance=instance;var style2=instance.style;typeof style2.setProperty=="function"?style2.setProperty("display","none","important"):style2.display="none"}function hideTextInstance(textInstance){textInstance.nodeValue=""}function unhideInstance(instance,props){instance=instance;var styleProp=props[STYLE$1],display=styleProp!=null&&styleProp.hasOwnProperty("display")?styleProp.display:null;instance.style.display=dangerousStyleValue("display",display)}function unhideTextInstance(textInstance,text){textInstance.nodeValue=text}function canHydrateInstance(instance,type,props){return instance.nodeType!==ELEMENT_NODE||type.toLowerCase()!==instance.nodeName.toLowerCase()?null:instance}function canHydrateTextInstance(instance,text){return text===""||instance.nodeType!==TEXT_NODE?null:instance}function isSuspenseInstancePending(instance){return instance.data===SUSPENSE_PENDING_START_DATA}function isSuspenseInstanceFallback(instance){return instance.data===SUSPENSE_FALLBACK_START_DATA}function getNextHydratable(node){for(;node!=null;node=node.nextSibling){var nodeType=node.nodeType;if(nodeType===ELEMENT_NODE||nodeType===TEXT_NODE)break}return node}function getNextHydratableSibling(instance){return getNextHydratable(instance.nextSibling)}function getFirstHydratableChild(parentInstance){return getNextHydratable(parentInstance.firstChild)}function hydrateInstance(instance,type,props,rootContainerInstance,hostContext,internalInstanceHandle){precacheFiberNode(internalInstanceHandle,instance),updateFiberProps(instance,props);var parentNamespace;{var hostContextDev=hostContext;parentNamespace=hostContextDev.namespace}return diffHydratedProperties(instance,type,props,parentNamespace,rootContainerInstance)}function hydrateTextInstance(textInstance,text,internalInstanceHandle){return precacheFiberNode(internalInstanceHandle,textInstance),diffHydratedText(textInstance,text)}function getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance){for(var node=suspenseInstance.nextSibling,depth=0;node;){if(node.nodeType===COMMENT_NODE){var data=node.data;if(data===SUSPENSE_END_DATA){if(depth===0)return getNextHydratableSibling(node);depth--}else(data===SUSPENSE_START_DATA||data===SUSPENSE_FALLBACK_START_DATA||data===SUSPENSE_PENDING_START_DATA)&&depth++}node=node.nextSibling}return null}function getParentSuspenseInstance(targetInstance){for(var node=targetInstance.previousSibling,depth=0;node;){if(node.nodeType===COMMENT_NODE){var data=node.data;if(data===SUSPENSE_START_DATA||data===SUSPENSE_FALLBACK_START_DATA||data===SUSPENSE_PENDING_START_DATA){if(depth===0)return node;depth--}else data===SUSPENSE_END_DATA&&depth++}node=node.previousSibling}return null}function commitHydratedContainer(container){retryIfBlockedOn(container)}function commitHydratedSuspenseInstance(suspenseInstance){retryIfBlockedOn(suspenseInstance)}function didNotMatchHydratedContainerTextInstance(parentContainer,textInstance,text){warnForUnmatchedText(textInstance,text)}function didNotMatchHydratedTextInstance(parentType,parentProps,parentInstance,textInstance,text){parentProps[SUPPRESS_HYDRATION_WARNING$1]!==!0&&warnForUnmatchedText(textInstance,text)}function didNotHydrateContainerInstance(parentContainer,instance){instance.nodeType===ELEMENT_NODE?warnForDeletedHydratableElement(parentContainer,instance):instance.nodeType===COMMENT_NODE||warnForDeletedHydratableText(parentContainer,instance)}function didNotHydrateInstance(parentType,parentProps,parentInstance,instance){parentProps[SUPPRESS_HYDRATION_WARNING$1]!==!0&&(instance.nodeType===ELEMENT_NODE?warnForDeletedHydratableElement(parentInstance,instance):instance.nodeType===COMMENT_NODE||warnForDeletedHydratableText(parentInstance,instance))}function didNotFindHydratableContainerInstance(parentContainer,type,props){warnForInsertedHydratedElement(parentContainer,type)}function didNotFindHydratableContainerTextInstance(parentContainer,text){warnForInsertedHydratedText(parentContainer,text)}function didNotFindHydratableInstance(parentType,parentProps,parentInstance,type,props){parentProps[SUPPRESS_HYDRATION_WARNING$1]!==!0&&warnForInsertedHydratedElement(parentInstance,type)}function didNotFindHydratableTextInstance(parentType,parentProps,parentInstance,text){parentProps[SUPPRESS_HYDRATION_WARNING$1]!==!0&&warnForInsertedHydratedText(parentInstance,text)}function didNotFindHydratableSuspenseInstance(parentType,parentProps,parentInstance){parentProps[SUPPRESS_HYDRATION_WARNING$1]}var randomKey=Math.random().toString(36).slice(2),internalInstanceKey="__reactInternalInstance$"+randomKey,internalEventHandlersKey="__reactEventHandlers$"+randomKey,internalContainerInstanceKey="__reactContainere$"+randomKey;function precacheFiberNode(hostInst,node){node[internalInstanceKey]=hostInst}function markContainerAsRoot(hostRoot,node){node[internalContainerInstanceKey]=hostRoot}function unmarkContainerAsRoot(node){node[internalContainerInstanceKey]=null}function isContainerMarkedAsRoot(node){return!!node[internalContainerInstanceKey]}function getClosestInstanceFromNode(targetNode){var targetInst=targetNode[internalInstanceKey];if(targetInst)return targetInst;for(var parentNode=targetNode.parentNode;parentNode;){if(targetInst=parentNode[internalContainerInstanceKey]||parentNode[internalInstanceKey],targetInst){var alternate=targetInst.alternate;if(targetInst.child!==null||alternate!==null&&alternate.child!==null)for(var suspenseInstance=getParentSuspenseInstance(targetNode);suspenseInstance!==null;){var targetSuspenseInst=suspenseInstance[internalInstanceKey];if(targetSuspenseInst)return targetSuspenseInst;suspenseInstance=getParentSuspenseInstance(suspenseInstance)}return targetInst}targetNode=parentNode,parentNode=targetNode.parentNode}return null}function getInstanceFromNode$1(node){var inst=node[internalInstanceKey]||node[internalContainerInstanceKey];return inst&&(inst.tag===HostComponent||inst.tag===HostText||inst.tag===SuspenseComponent||inst.tag===HostRoot)?inst:null}function getNodeFromInstance$1(inst){if(inst.tag===HostComponent||inst.tag===HostText)return inst.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function getFiberCurrentPropsFromNode$1(node){return node[internalEventHandlersKey]||null}function updateFiberProps(node,props){node[internalEventHandlersKey]=props}function getParent(inst){do inst=inst.return;while(inst&&inst.tag!==HostComponent);return inst||null}function getLowestCommonAncestor(instA,instB){for(var depthA=0,tempA=instA;tempA;tempA=getParent(tempA))depthA++;for(var depthB=0,tempB=instB;tempB;tempB=getParent(tempB))depthB++;for(;depthA-depthB>0;)instA=getParent(instA),depthA--;for(;depthB-depthA>0;)instB=getParent(instB),depthB--;for(var depth=depthA;depth--;){if(instA===instB||instA===instB.alternate)return instA;instA=getParent(instA),instB=getParent(instB)}return null}function traverseTwoPhase(inst,fn,arg){for(var path=[];inst;)path.push(inst),inst=getParent(inst);var i;for(i=path.length;i-- >0;)fn(path[i],"captured",arg);for(i=0;i<path.length;i++)fn(path[i],"bubbled",arg)}function traverseEnterLeave(from,to,fn,argFrom,argTo){for(var common=from&&to?getLowestCommonAncestor(from,to):null,pathFrom=[];!(!from||from===common);){var alternate=from.alternate;if(alternate!==null&&alternate===common)break;pathFrom.push(from),from=getParent(from)}for(var pathTo=[];!(!to||to===common);){var _alternate=to.alternate;if(_alternate!==null&&_alternate===common)break;pathTo.push(to),to=getParent(to)}for(var i=0;i<pathFrom.length;i++)fn(pathFrom[i],"bubbled",argFrom);for(var _i=pathTo.length;_i-- >0;)fn(pathTo[_i],"captured",argTo)}function isInteractive(tag){return tag==="button"||tag==="input"||tag==="select"||tag==="textarea"}function shouldPreventMouseEvent(name,type,props){switch(name){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(props.disabled&&isInteractive(type));default:return!1}}function getListener(inst,registrationName){var listener,stateNode=inst.stateNode;if(!stateNode)return null;var props=getFiberCurrentPropsFromNode(stateNode);if(!props||(listener=props[registrationName],shouldPreventMouseEvent(registrationName,inst.type,props)))return null;if(!(!listener||typeof listener=="function"))throw Error("Expected `"+registrationName+"` listener to be a function, instead got a value of `"+typeof listener+"` type.");return listener}function listenerAtPhase(inst,event,propagationPhase){var registrationName=event.dispatchConfig.phasedRegistrationNames[propagationPhase];return getListener(inst,registrationName)}function accumulateDirectionalDispatches(inst,phase,event){inst||error("Dispatching inst must not be null");var listener=listenerAtPhase(inst,event,phase);listener&&(event._dispatchListeners=accumulateInto(event._dispatchListeners,listener),event._dispatchInstances=accumulateInto(event._dispatchInstances,inst))}function accumulateTwoPhaseDispatchesSingle(event){event&&event.dispatchConfig.phasedRegistrationNames&&traverseTwoPhase(event._targetInst,accumulateDirectionalDispatches,event)}function accumulateDispatches(inst,ignoredDirection,event){if(inst&&event&&event.dispatchConfig.registrationName){var registrationName=event.dispatchConfig.registrationName,listener=getListener(inst,registrationName);listener&&(event._dispatchListeners=accumulateInto(event._dispatchListeners,listener),event._dispatchInstances=accumulateInto(event._dispatchInstances,inst))}}function accumulateDirectDispatchesSingle(event){event&&event.dispatchConfig.registrationName&&accumulateDispatches(event._targetInst,null,event)}function accumulateTwoPhaseDispatches(events){forEachAccumulated(events,accumulateTwoPhaseDispatchesSingle)}function accumulateEnterLeaveDispatches(leave,enter,from,to){traverseEnterLeave(from,to,accumulateDispatches,leave,enter)}function accumulateDirectDispatches(events){forEachAccumulated(events,accumulateDirectDispatchesSingle)}var root=null,startText=null,fallbackText=null;function initialize(nativeEventTarget){return root=nativeEventTarget,startText=getText(),!0}function reset(){root=null,startText=null,fallbackText=null}function getData(){if(fallbackText)return fallbackText;var start2,startValue=startText,startLength=startValue.length,end2,endValue=getText(),endLength=endValue.length;for(start2=0;start2<startLength&&startValue[start2]===endValue[start2];start2++);var minEnd=startLength-start2;for(end2=1;end2<=minEnd&&startValue[startLength-end2]===endValue[endLength-end2];end2++);var sliceTail=end2>1?1-end2:void 0;return fallbackText=endValue.slice(start2,sliceTail),fallbackText}function getText(){return"value"in root?root.value:root.textContent}var EVENT_POOL_SIZE=10,EventInterface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(event){return event.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function functionThatReturnsTrue(){return!0}function functionThatReturnsFalse(){return!1}function SyntheticEvent(dispatchConfig,targetInst,nativeEvent,nativeEventTarget){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,delete this.isDefaultPrevented,delete this.isPropagationStopped,this.dispatchConfig=dispatchConfig,this._targetInst=targetInst,this.nativeEvent=nativeEvent;var Interface=this.constructor.Interface;for(var propName in Interface)if(!!Interface.hasOwnProperty(propName)){delete this[propName];var normalize=Interface[propName];normalize?this[propName]=normalize(nativeEvent):propName==="target"?this.target=nativeEventTarget:this[propName]=nativeEvent[propName]}var defaultPrevented=nativeEvent.defaultPrevented!=null?nativeEvent.defaultPrevented:nativeEvent.returnValue===!1;return defaultPrevented?this.isDefaultPrevented=functionThatReturnsTrue:this.isDefaultPrevented=functionThatReturnsFalse,this.isPropagationStopped=functionThatReturnsFalse,this}_assign(SyntheticEvent.prototype,{preventDefault:function(){this.defaultPrevented=!0;var event=this.nativeEvent;!event||(event.preventDefault?event.preventDefault():typeof event.returnValue!="unknown"&&(event.returnValue=!1),this.isDefaultPrevented=functionThatReturnsTrue)},stopPropagation:function(){var event=this.nativeEvent;!event||(event.stopPropagation?event.stopPropagation():typeof event.cancelBubble!="unknown"&&(event.cancelBubble=!0),this.isPropagationStopped=functionThatReturnsTrue)},persist:function(){this.isPersistent=functionThatReturnsTrue},isPersistent:functionThatReturnsFalse,destructor:function(){var Interface=this.constructor.Interface;for(var propName in Interface)Object.defineProperty(this,propName,getPooledWarningPropertyDefinition(propName,Interface[propName]));this.dispatchConfig=null,this._targetInst=null,this.nativeEvent=null,this.isDefaultPrevented=functionThatReturnsFalse,this.isPropagationStopped=functionThatReturnsFalse,this._dispatchListeners=null,this._dispatchInstances=null,Object.defineProperty(this,"nativeEvent",getPooledWarningPropertyDefinition("nativeEvent",null)),Object.defineProperty(this,"isDefaultPrevented",getPooledWarningPropertyDefinition("isDefaultPrevented",functionThatReturnsFalse)),Object.defineProperty(this,"isPropagationStopped",getPooledWarningPropertyDefinition("isPropagationStopped",functionThatReturnsFalse)),Object.defineProperty(this,"preventDefault",getPooledWarningPropertyDefinition("preventDefault",function(){})),Object.defineProperty(this,"stopPropagation",getPooledWarningPropertyDefinition("stopPropagation",function(){}))}}),SyntheticEvent.Interface=EventInterface,SyntheticEvent.extend=function(Interface){var Super=this,E=function(){};E.prototype=Super.prototype;var prototype=new E;function Class(){return Super.apply(this,arguments)}return _assign(prototype,Class.prototype),Class.prototype=prototype,Class.prototype.constructor=Class,Class.Interface=_assign({},Super.Interface,Interface),Class.extend=Super.extend,addEventPoolingTo(Class),Class},addEventPoolingTo(SyntheticEvent);function getPooledWarningPropertyDefinition(propName,getVal){var isFunction=typeof getVal=="function";return{configurable:!0,set:set2,get:get2};function set2(val){var action=isFunction?"setting the method":"setting the property";return warn2(action,"This is effectively a no-op"),val}function get2(){var action=isFunction?"accessing the method":"accessing the property",result=isFunction?"This is a no-op function":"This is set to null";return warn2(action,result),getVal}function warn2(action,result){error("This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",action,propName,result)}}function getPooledEvent(dispatchConfig,targetInst,nativeEvent,nativeInst){var EventConstructor=this;if(EventConstructor.eventPool.length){var instance=EventConstructor.eventPool.pop();return EventConstructor.call(instance,dispatchConfig,targetInst,nativeEvent,nativeInst),instance}return new EventConstructor(dispatchConfig,targetInst,nativeEvent,nativeInst)}function releasePooledEvent(event){var EventConstructor=this;if(!(event instanceof EventConstructor))throw Error("Trying to release an event instance into a pool of a different type.");event.destructor(),EventConstructor.eventPool.length<EVENT_POOL_SIZE&&EventConstructor.eventPool.push(event)}function addEventPoolingTo(EventConstructor){EventConstructor.eventPool=[],EventConstructor.getPooled=getPooledEvent,EventConstructor.release=releasePooledEvent}var SyntheticCompositionEvent=SyntheticEvent.extend({data:null}),SyntheticInputEvent=SyntheticEvent.extend({data:null}),END_KEYCODES=[9,13,27,32],START_KEYCODE=229,canUseCompositionEvent=canUseDOM&&"CompositionEvent"in window,documentMode=null;canUseDOM&&"documentMode"in document&&(documentMode=document.documentMode);var canUseTextInputEvent=canUseDOM&&"TextEvent"in window&&!documentMode,useFallbackCompositionData=canUseDOM&&(!canUseCompositionEvent||documentMode&&documentMode>8&&documentMode<=11),SPACEBAR_CODE=32,SPACEBAR_CHAR=String.fromCharCode(SPACEBAR_CODE),eventTypes={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:[TOP_COMPOSITION_END,TOP_KEY_PRESS,TOP_TEXT_INPUT,TOP_PASTE]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:[TOP_BLUR,TOP_COMPOSITION_END,TOP_KEY_DOWN,TOP_KEY_PRESS,TOP_KEY_UP,TOP_MOUSE_DOWN]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:[TOP_BLUR,TOP_COMPOSITION_START,TOP_KEY_DOWN,TOP_KEY_PRESS,TOP_KEY_UP,TOP_MOUSE_DOWN]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:[TOP_BLUR,TOP_COMPOSITION_UPDATE,TOP_KEY_DOWN,TOP_KEY_PRESS,TOP_KEY_UP,TOP_MOUSE_DOWN]}},hasSpaceKeypress=!1;function isKeypressCommand(nativeEvent){return(nativeEvent.ctrlKey||nativeEvent.altKey||nativeEvent.metaKey)&&!(nativeEvent.ctrlKey&&nativeEvent.altKey)}function getCompositionEventType(topLevelType){switch(topLevelType){case TOP_COMPOSITION_START:return eventTypes.compositionStart;case TOP_COMPOSITION_END:return eventTypes.compositionEnd;case TOP_COMPOSITION_UPDATE:return eventTypes.compositionUpdate}}function isFallbackCompositionStart(topLevelType,nativeEvent){return topLevelType===TOP_KEY_DOWN&&nativeEvent.keyCode===START_KEYCODE}function isFallbackCompositionEnd(topLevelType,nativeEvent){switch(topLevelType){case TOP_KEY_UP:return END_KEYCODES.indexOf(nativeEvent.keyCode)!==-1;case TOP_KEY_DOWN:return nativeEvent.keyCode!==START_KEYCODE;case TOP_KEY_PRESS:case TOP_MOUSE_DOWN:case TOP_BLUR:return!0;default:return!1}}function getDataFromCustomEvent(nativeEvent){var detail=nativeEvent.detail;return typeof detail=="object"&&"data"in detail?detail.data:null}function isUsingKoreanIME(nativeEvent){return nativeEvent.locale==="ko"}var isComposing=!1;function extractCompositionEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget){var eventType,fallbackData;if(canUseCompositionEvent?eventType=getCompositionEventType(topLevelType):isComposing?isFallbackCompositionEnd(topLevelType,nativeEvent)&&(eventType=eventTypes.compositionEnd):isFallbackCompositionStart(topLevelType,nativeEvent)&&(eventType=eventTypes.compositionStart),!eventType)return null;useFallbackCompositionData&&!isUsingKoreanIME(nativeEvent)&&(!isComposing&&eventType===eventTypes.compositionStart?isComposing=initialize(nativeEventTarget):eventType===eventTypes.compositionEnd&&isComposing&&(fallbackData=getData()));var event=SyntheticCompositionEvent.getPooled(eventType,targetInst,nativeEvent,nativeEventTarget);if(fallbackData)event.data=fallbackData;else{var customData=getDataFromCustomEvent(nativeEvent);customData!==null&&(event.data=customData)}return accumulateTwoPhaseDispatches(event),event}function getNativeBeforeInputChars(topLevelType,nativeEvent){switch(topLevelType){case TOP_COMPOSITION_END:return getDataFromCustomEvent(nativeEvent);case TOP_KEY_PRESS:var which=nativeEvent.which;return which!==SPACEBAR_CODE?null:(hasSpaceKeypress=!0,SPACEBAR_CHAR);case TOP_TEXT_INPUT:var chars=nativeEvent.data;return chars===SPACEBAR_CHAR&&hasSpaceKeypress?null:chars;default:return null}}function getFallbackBeforeInputChars(topLevelType,nativeEvent){if(isComposing){if(topLevelType===TOP_COMPOSITION_END||!canUseCompositionEvent&&isFallbackCompositionEnd(topLevelType,nativeEvent)){var chars=getData();return reset(),isComposing=!1,chars}return null}switch(topLevelType){case TOP_PASTE:return null;case TOP_KEY_PRESS:if(!isKeypressCommand(nativeEvent)){if(nativeEvent.char&&nativeEvent.char.length>1)return nativeEvent.char;if(nativeEvent.which)return String.fromCharCode(nativeEvent.which)}return null;case TOP_COMPOSITION_END:return useFallbackCompositionData&&!isUsingKoreanIME(nativeEvent)?null:nativeEvent.data;default:return null}}function extractBeforeInputEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget){var chars;if(canUseTextInputEvent?chars=getNativeBeforeInputChars(topLevelType,nativeEvent):chars=getFallbackBeforeInputChars(topLevelType,nativeEvent),!chars)return null;var event=SyntheticInputEvent.getPooled(eventTypes.beforeInput,targetInst,nativeEvent,nativeEventTarget);return event.data=chars,accumulateTwoPhaseDispatches(event),event}var BeforeInputEventPlugin={eventTypes,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags){var composition=extractCompositionEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget),beforeInput=extractBeforeInputEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget);return composition===null?beforeInput:beforeInput===null?composition:[composition,beforeInput]}},supportedInputTypes={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 isTextInputElement(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return nodeName==="input"?!!supportedInputTypes[elem.type]:nodeName==="textarea"}var eventTypes$1={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:[TOP_BLUR,TOP_CHANGE,TOP_CLICK,TOP_FOCUS,TOP_INPUT,TOP_KEY_DOWN,TOP_KEY_UP,TOP_SELECTION_CHANGE]}};function createAndAccumulateChangeEvent(inst,nativeEvent,target){var event=SyntheticEvent.getPooled(eventTypes$1.change,inst,nativeEvent,target);return event.type="change",enqueueStateRestore(target),accumulateTwoPhaseDispatches(event),event}var activeElement=null,activeElementInst=null;function shouldUseChangeEvent(elem){var nodeName=elem.nodeName&&elem.nodeName.toLowerCase();return nodeName==="select"||nodeName==="input"&&elem.type==="file"}function manualDispatchChangeEvent(nativeEvent){var event=createAndAccumulateChangeEvent(activeElementInst,nativeEvent,getEventTarget(nativeEvent));batchedUpdates(runEventInBatch,event)}function runEventInBatch(event){runEventsInBatch(event)}function getInstIfValueChanged(targetInst){var targetNode=getNodeFromInstance$1(targetInst);if(updateValueIfChanged(targetNode))return targetInst}function getTargetInstForChangeEvent(topLevelType,targetInst){if(topLevelType===TOP_CHANGE)return targetInst}var isInputEventSupported=!1;canUseDOM&&(isInputEventSupported=isEventSupported("input")&&(!document.documentMode||document.documentMode>9));function startWatchingForValueChange(target,targetInst){activeElement=target,activeElementInst=targetInst,activeElement.attachEvent("onpropertychange",handlePropertyChange)}function stopWatchingForValueChange(){!activeElement||(activeElement.detachEvent("onpropertychange",handlePropertyChange),activeElement=null,activeElementInst=null)}function handlePropertyChange(nativeEvent){nativeEvent.propertyName==="value"&&getInstIfValueChanged(activeElementInst)&&manualDispatchChangeEvent(nativeEvent)}function handleEventsForInputEventPolyfill(topLevelType,target,targetInst){topLevelType===TOP_FOCUS?(stopWatchingForValueChange(),startWatchingForValueChange(target,targetInst)):topLevelType===TOP_BLUR&&stopWatchingForValueChange()}function getTargetInstForInputEventPolyfill(topLevelType,targetInst){if(topLevelType===TOP_SELECTION_CHANGE||topLevelType===TOP_KEY_UP||topLevelType===TOP_KEY_DOWN)return getInstIfValueChanged(activeElementInst)}function shouldUseClickEvent(elem){var nodeName=elem.nodeName;return nodeName&&nodeName.toLowerCase()==="input"&&(elem.type==="checkbox"||elem.type==="radio")}function getTargetInstForClickEvent(topLevelType,targetInst){if(topLevelType===TOP_CLICK)return getInstIfValueChanged(targetInst)}function getTargetInstForInputOrChangeEvent(topLevelType,targetInst){if(topLevelType===TOP_INPUT||topLevelType===TOP_CHANGE)return getInstIfValueChanged(targetInst)}function handleControlledInputBlur(node){var state=node._wrapperState;!state||!state.controlled||node.type!=="number"||setDefaultValue(node,"number",node.value)}var ChangeEventPlugin={eventTypes:eventTypes$1,_isInputEventSupported:isInputEventSupported,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags){var targetNode=targetInst?getNodeFromInstance$1(targetInst):window,getTargetInstFunc,handleEventFunc;if(shouldUseChangeEvent(targetNode)?getTargetInstFunc=getTargetInstForChangeEvent:isTextInputElement(targetNode)?isInputEventSupported?getTargetInstFunc=getTargetInstForInputOrChangeEvent:(getTargetInstFunc=getTargetInstForInputEventPolyfill,handleEventFunc=handleEventsForInputEventPolyfill):shouldUseClickEvent(targetNode)&&(getTargetInstFunc=getTargetInstForClickEvent),getTargetInstFunc){var inst=getTargetInstFunc(topLevelType,targetInst);if(inst){var event=createAndAccumulateChangeEvent(inst,nativeEvent,nativeEventTarget);return event}}handleEventFunc&&handleEventFunc(topLevelType,targetNode,targetInst),topLevelType===TOP_BLUR&&handleControlledInputBlur(targetNode)}},SyntheticUIEvent=SyntheticEvent.extend({view:null,detail:null}),modifierKeyToProp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function modifierStateGetter(keyArg){var syntheticEvent=this,nativeEvent=syntheticEvent.nativeEvent;if(nativeEvent.getModifierState)return nativeEvent.getModifierState(keyArg);var keyProp=modifierKeyToProp[keyArg];return keyProp?!!nativeEvent[keyProp]:!1}function getEventModifierState(nativeEvent){return modifierStateGetter}var previousScreenX=0,previousScreenY=0,isMovementXSet=!1,isMovementYSet=!1,SyntheticMouseEvent=SyntheticUIEvent.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:getEventModifierState,button:null,buttons:null,relatedTarget:function(event){return event.relatedTarget||(event.fromElement===event.srcElement?event.toElement:event.fromElement)},movementX:function(event){if("movementX"in event)return event.movementX;var screenX=previousScreenX;return previousScreenX=event.screenX,isMovementXSet?event.type==="mousemove"?event.screenX-screenX:0:(isMovementXSet=!0,0)},movementY:function(event){if("movementY"in event)return event.movementY;var screenY=previousScreenY;return previousScreenY=event.screenY,isMovementYSet?event.type==="mousemove"?event.screenY-screenY:0:(isMovementYSet=!0,0)}}),SyntheticPointerEvent=SyntheticMouseEvent.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),eventTypes$2={mouseEnter:{registrationName:"onMouseEnter",dependencies:[TOP_MOUSE_OUT,TOP_MOUSE_OVER]},mouseLeave:{registrationName:"onMouseLeave",dependencies:[TOP_MOUSE_OUT,TOP_MOUSE_OVER]},pointerEnter:{registrationName:"onPointerEnter",dependencies:[TOP_POINTER_OUT,TOP_POINTER_OVER]},pointerLeave:{registrationName:"onPointerLeave",dependencies:[TOP_POINTER_OUT,TOP_POINTER_OVER]}},EnterLeaveEventPlugin={eventTypes:eventTypes$2,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags){var isOverEvent=topLevelType===TOP_MOUSE_OVER||topLevelType===TOP_POINTER_OVER,isOutEvent=topLevelType===TOP_MOUSE_OUT||topLevelType===TOP_POINTER_OUT;if(isOverEvent&&(eventSystemFlags&IS_REPLAYED)===0&&(nativeEvent.relatedTarget||nativeEvent.fromElement)||!isOutEvent&&!isOverEvent)return null;var win;if(nativeEventTarget.window===nativeEventTarget)win=nativeEventTarget;else{var doc=nativeEventTarget.ownerDocument;doc?win=doc.defaultView||doc.parentWindow:win=window}var from,to;if(isOutEvent){from=targetInst;var related=nativeEvent.relatedTarget||nativeEvent.toElement;if(to=related?getClosestInstanceFromNode(related):null,to!==null){var nearestMounted=getNearestMountedFiber(to);(to!==nearestMounted||to.tag!==HostComponent&&to.tag!==HostText)&&(to=null)}}else from=null,to=targetInst;if(from===to)return null;var eventInterface,leaveEventType,enterEventType,eventTypePrefix;topLevelType===TOP_MOUSE_OUT||topLevelType===TOP_MOUSE_OVER?(eventInterface=SyntheticMouseEvent,leaveEventType=eventTypes$2.mouseLeave,enterEventType=eventTypes$2.mouseEnter,eventTypePrefix="mouse"):(topLevelType===TOP_POINTER_OUT||topLevelType===TOP_POINTER_OVER)&&(eventInterface=SyntheticPointerEvent,leaveEventType=eventTypes$2.pointerLeave,enterEventType=eventTypes$2.pointerEnter,eventTypePrefix="pointer");var fromNode=from==null?win:getNodeFromInstance$1(from),toNode=to==null?win:getNodeFromInstance$1(to),leave=eventInterface.getPooled(leaveEventType,from,nativeEvent,nativeEventTarget);leave.type=eventTypePrefix+"leave",leave.target=fromNode,leave.relatedTarget=toNode;var enter=eventInterface.getPooled(enterEventType,to,nativeEvent,nativeEventTarget);return enter.type=eventTypePrefix+"enter",enter.target=toNode,enter.relatedTarget=fromNode,accumulateEnterLeaveDispatches(leave,enter,from,to),(eventSystemFlags&IS_FIRST_ANCESTOR)===0?[leave]:[leave,enter]}};function is(x,y){return x===y&&(x!==0||1/x===1/y)||x!==x&&y!==y}var objectIs=typeof Object.is=="function"?Object.is:is,hasOwnProperty$2=Object.prototype.hasOwnProperty;function shallowEqual(objA,objB){if(objectIs(objA,objB))return!0;if(typeof objA!="object"||objA===null||typeof objB!="object"||objB===null)return!1;var keysA=Object.keys(objA),keysB=Object.keys(objB);if(keysA.length!==keysB.length)return!1;for(var i=0;i<keysA.length;i++)if(!hasOwnProperty$2.call(objB,keysA[i])||!objectIs(objA[keysA[i]],objB[keysA[i]]))return!1;return!0}var skipSelectionChangeEvent=canUseDOM&&"documentMode"in document&&document.documentMode<=11,eventTypes$3={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:[TOP_BLUR,TOP_CONTEXT_MENU,TOP_DRAG_END,TOP_FOCUS,TOP_KEY_DOWN,TOP_KEY_UP,TOP_MOUSE_DOWN,TOP_MOUSE_UP,TOP_SELECTION_CHANGE]}},activeElement$1=null,activeElementInst$1=null,lastSelection=null,mouseDown=!1;function getSelection$1(node){if("selectionStart"in node&&hasSelectionCapabilities(node))return{start:node.selectionStart,end:node.selectionEnd};var win=node.ownerDocument&&node.ownerDocument.defaultView||window,selection=win.getSelection();return{anchorNode:selection.anchorNode,anchorOffset:selection.anchorOffset,focusNode:selection.focusNode,focusOffset:selection.focusOffset}}function getEventTargetDocument(eventTarget){return eventTarget.window===eventTarget?eventTarget.document:eventTarget.nodeType===DOCUMENT_NODE?eventTarget:eventTarget.ownerDocument}function constructSelectEvent(nativeEvent,nativeEventTarget){var doc=getEventTargetDocument(nativeEventTarget);if(mouseDown||activeElement$1==null||activeElement$1!==getActiveElement(doc))return null;var currentSelection=getSelection$1(activeElement$1);if(!lastSelection||!shallowEqual(lastSelection,currentSelection)){lastSelection=currentSelection;var syntheticEvent=SyntheticEvent.getPooled(eventTypes$3.select,activeElementInst$1,nativeEvent,nativeEventTarget);return syntheticEvent.type="select",syntheticEvent.target=activeElement$1,accumulateTwoPhaseDispatches(syntheticEvent),syntheticEvent}return null}var SelectEventPlugin={eventTypes:eventTypes$3,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags,container){var containerOrDoc=container||getEventTargetDocument(nativeEventTarget);if(!containerOrDoc||!isListeningToAllDependencies("onSelect",containerOrDoc))return null;var targetNode=targetInst?getNodeFromInstance$1(targetInst):window;switch(topLevelType){case TOP_FOCUS:(isTextInputElement(targetNode)||targetNode.contentEditable==="true")&&(activeElement$1=targetNode,activeElementInst$1=targetInst,lastSelection=null);break;case TOP_BLUR:activeElement$1=null,activeElementInst$1=null,lastSelection=null;break;case TOP_MOUSE_DOWN:mouseDown=!0;break;case TOP_CONTEXT_MENU:case TOP_MOUSE_UP:case TOP_DRAG_END:return mouseDown=!1,constructSelectEvent(nativeEvent,nativeEventTarget);case TOP_SELECTION_CHANGE:if(skipSelectionChangeEvent)break;case TOP_KEY_DOWN:case TOP_KEY_UP:return constructSelectEvent(nativeEvent,nativeEventTarget)}return null}},SyntheticAnimationEvent=SyntheticEvent.extend({animationName:null,elapsedTime:null,pseudoElement:null}),SyntheticClipboardEvent=SyntheticEvent.extend({clipboardData:function(event){return"clipboardData"in event?event.clipboardData:window.clipboardData}}),SyntheticFocusEvent=SyntheticUIEvent.extend({relatedTarget:null});function getEventCharCode(nativeEvent){var charCode,keyCode=nativeEvent.keyCode;return"charCode"in nativeEvent?(charCode=nativeEvent.charCode,charCode===0&&keyCode===13&&(charCode=13)):charCode=keyCode,charCode===10&&(charCode=13),charCode>=32||charCode===13?charCode:0}var normalizeKey={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},translateToKey={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 getEventKey(nativeEvent){if(nativeEvent.key){var key=normalizeKey[nativeEvent.key]||nativeEvent.key;if(key!=="Unidentified")return key}if(nativeEvent.type==="keypress"){var charCode=getEventCharCode(nativeEvent);return charCode===13?"Enter":String.fromCharCode(charCode)}return nativeEvent.type==="keydown"||nativeEvent.type==="keyup"?translateToKey[nativeEvent.keyCode]||"Unidentified":""}var SyntheticKeyboardEvent=SyntheticUIEvent.extend({key:getEventKey,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:getEventModifierState,charCode:function(event){return event.type==="keypress"?getEventCharCode(event):0},keyCode:function(event){return event.type==="keydown"||event.type==="keyup"?event.keyCode:0},which:function(event){return event.type==="keypress"?getEventCharCode(event):event.type==="keydown"||event.type==="keyup"?event.keyCode:0}}),SyntheticDragEvent=SyntheticMouseEvent.extend({dataTransfer:null}),SyntheticTouchEvent=SyntheticUIEvent.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:getEventModifierState}),SyntheticTransitionEvent=SyntheticEvent.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),SyntheticWheelEvent=SyntheticMouseEvent.extend({deltaX:function(event){return"deltaX"in event?event.deltaX:"wheelDeltaX"in event?-event.wheelDeltaX:0},deltaY:function(event){return"deltaY"in event?event.deltaY:"wheelDeltaY"in event?-event.wheelDeltaY:"wheelDelta"in event?-event.wheelDelta:0},deltaZ:null,deltaMode:null}),knownHTMLTopLevelTypes=[TOP_ABORT,TOP_CANCEL,TOP_CAN_PLAY,TOP_CAN_PLAY_THROUGH,TOP_CLOSE,TOP_DURATION_CHANGE,TOP_EMPTIED,TOP_ENCRYPTED,TOP_ENDED,TOP_ERROR,TOP_INPUT,TOP_INVALID,TOP_LOAD,TOP_LOADED_DATA,TOP_LOADED_METADATA,TOP_LOAD_START,TOP_PAUSE,TOP_PLAY,TOP_PLAYING,TOP_PROGRESS,TOP_RATE_CHANGE,TOP_RESET,TOP_SEEKED,TOP_SEEKING,TOP_STALLED,TOP_SUBMIT,TOP_SUSPEND,TOP_TIME_UPDATE,TOP_TOGGLE,TOP_VOLUME_CHANGE,TOP_WAITING],SimpleEventPlugin={eventTypes:simpleEventPluginEventTypes,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget,eventSystemFlags){var dispatchConfig=topLevelEventsToDispatchConfig.get(topLevelType);if(!dispatchConfig)return null;var EventConstructor;switch(topLevelType){case TOP_KEY_PRESS:if(getEventCharCode(nativeEvent)===0)return null;case TOP_KEY_DOWN:case TOP_KEY_UP:EventConstructor=SyntheticKeyboardEvent;break;case TOP_BLUR:case TOP_FOCUS:EventConstructor=SyntheticFocusEvent;break;case TOP_CLICK:if(nativeEvent.button===2)return null;case TOP_AUX_CLICK:case TOP_DOUBLE_CLICK:case TOP_MOUSE_DOWN:case TOP_MOUSE_MOVE:case TOP_MOUSE_UP:case TOP_MOUSE_OUT:case TOP_MOUSE_OVER:case TOP_CONTEXT_MENU:EventConstructor=SyntheticMouseEvent;break;case TOP_DRAG:case TOP_DRAG_END:case TOP_DRAG_ENTER:case TOP_DRAG_EXIT:case TOP_DRAG_LEAVE:case TOP_DRAG_OVER:case TOP_DRAG_START:case TOP_DROP:EventConstructor=SyntheticDragEvent;break;case TOP_TOUCH_CANCEL:case TOP_TOUCH_END:case TOP_TOUCH_MOVE:case TOP_TOUCH_START:EventConstructor=SyntheticTouchEvent;break;case TOP_ANIMATION_END:case TOP_ANIMATION_ITERATION:case TOP_ANIMATION_START:EventConstructor=SyntheticAnimationEvent;break;case TOP_TRANSITION_END:EventConstructor=SyntheticTransitionEvent;break;case TOP_SCROLL:EventConstructor=SyntheticUIEvent;break;case TOP_WHEEL:EventConstructor=SyntheticWheelEvent;break;case TOP_COPY:case TOP_CUT:case TOP_PASTE:EventConstructor=SyntheticClipboardEvent;break;case TOP_GOT_POINTER_CAPTURE:case TOP_LOST_POINTER_CAPTURE:case TOP_POINTER_CANCEL:case TOP_POINTER_DOWN:case TOP_POINTER_MOVE:case TOP_POINTER_OUT:case TOP_POINTER_OVER:case TOP_POINTER_UP:EventConstructor=SyntheticPointerEvent;break;default:knownHTMLTopLevelTypes.indexOf(topLevelType)===-1&&error("SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",topLevelType),EventConstructor=SyntheticEvent;break}var event=EventConstructor.getPooled(dispatchConfig,targetInst,nativeEvent,nativeEventTarget);return accumulateTwoPhaseDispatches(event),event}},DOMEventPluginOrder=["ResponderEventPlugin","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];injectEventPluginOrder(DOMEventPluginOrder),setComponentTree(getFiberCurrentPropsFromNode$1,getInstanceFromNode$1,getNodeFromInstance$1),injectEventPluginsByName({SimpleEventPlugin,EnterLeaveEventPlugin,ChangeEventPlugin,SelectEventPlugin,BeforeInputEventPlugin});var reactEmoji="\u269B",warningEmoji="\u26D4",supportsUserTiming=typeof performance<"u"&&typeof performance.mark=="function"&&typeof performance.clearMarks=="function"&&typeof performance.measure=="function"&&typeof performance.clearMeasures=="function",currentFiber=null,currentPhase=null,currentPhaseFiber=null,isCommitting=!1,hasScheduledUpdateInCurrentCommit=!1,hasScheduledUpdateInCurrentPhase=!1,commitCountInCurrentWorkLoop=0,effectCountInCurrentCommit=0,labelsInCurrentCommit=new Set,formatMarkName=function(markName){return reactEmoji+" "+markName},formatLabel=function(label,warning){var prefix=warning?warningEmoji+" ":reactEmoji+" ",suffix=warning?" Warning: "+warning:"";return""+prefix+label+suffix},beginMark=function(markName){performance.mark(formatMarkName(markName))},clearMark=function(markName){performance.clearMarks(formatMarkName(markName))},endMark=function(label,markName,warning){var formattedMarkName=formatMarkName(markName),formattedLabel=formatLabel(label,warning);try{performance.measure(formattedLabel,formattedMarkName)}catch{}performance.clearMarks(formattedMarkName),performance.clearMeasures(formattedLabel)},getFiberMarkName=function(label,debugID){return label+" (#"+debugID+")"},getFiberLabel=function(componentName,isMounted2,phase){return phase===null?componentName+" ["+(isMounted2?"update":"mount")+"]":componentName+"."+phase},beginFiberMark=function(fiber,phase){var componentName=getComponentName(fiber.type)||"Unknown",debugID=fiber._debugID,isMounted2=fiber.alternate!==null,label=getFiberLabel(componentName,isMounted2,phase);if(isCommitting&&labelsInCurrentCommit.has(label))return!1;labelsInCurrentCommit.add(label);var markName=getFiberMarkName(label,debugID);return beginMark(markName),!0},clearFiberMark=function(fiber,phase){var componentName=getComponentName(fiber.type)||"Unknown",debugID=fiber._debugID,isMounted2=fiber.alternate!==null,label=getFiberLabel(componentName,isMounted2,phase),markName=getFiberMarkName(label,debugID);clearMark(markName)},endFiberMark=function(fiber,phase,warning){var componentName=getComponentName(fiber.type)||"Unknown",debugID=fiber._debugID,isMounted2=fiber.alternate!==null,label=getFiberLabel(componentName,isMounted2,phase),markName=getFiberMarkName(label,debugID);endMark(label,markName,warning)},shouldIgnoreFiber=function(fiber){switch(fiber.tag){case HostRoot:case HostComponent:case HostText:case HostPortal:case Fragment:case ContextProvider:case ContextConsumer:case Mode:return!0;default:return!1}},clearPendingPhaseMeasurement=function(){currentPhase!==null&¤tPhaseFiber!==null&&clearFiberMark(currentPhaseFiber,currentPhase),currentPhaseFiber=null,currentPhase=null,hasScheduledUpdateInCurrentPhase=!1},pauseTimers=function(){for(var fiber=currentFiber;fiber;)fiber._debugIsCurrentlyTiming&&endFiberMark(fiber,null,null),fiber=fiber.return},resumeTimersRecursively=function(fiber){fiber.return!==null&&resumeTimersRecursively(fiber.return),fiber._debugIsCurrentlyTiming&&beginFiberMark(fiber,null)},resumeTimers=function(){currentFiber!==null&&resumeTimersRecursively(currentFiber)};function recordEffect(){effectCountInCurrentCommit++}function recordScheduleUpdate(){isCommitting&&(hasScheduledUpdateInCurrentCommit=!0),currentPhase!==null&¤tPhase!=="componentWillMount"&¤tPhase!=="componentWillReceiveProps"&&(hasScheduledUpdateInCurrentPhase=!0)}function startWorkTimer(fiber){{if(!supportsUserTiming||shouldIgnoreFiber(fiber)||(currentFiber=fiber,!beginFiberMark(fiber,null)))return;fiber._debugIsCurrentlyTiming=!0}}function cancelWorkTimer(fiber){{if(!supportsUserTiming||shouldIgnoreFiber(fiber))return;fiber._debugIsCurrentlyTiming=!1,clearFiberMark(fiber,null)}}function stopWorkTimer(fiber){{if(!supportsUserTiming||shouldIgnoreFiber(fiber)||(currentFiber=fiber.return,!fiber._debugIsCurrentlyTiming))return;fiber._debugIsCurrentlyTiming=!1,endFiberMark(fiber,null,null)}}function stopFailedWorkTimer(fiber){{if(!supportsUserTiming||shouldIgnoreFiber(fiber)||(currentFiber=fiber.return,!fiber._debugIsCurrentlyTiming))return;fiber._debugIsCurrentlyTiming=!1;var warning=fiber.tag===SuspenseComponent?"Rendering was suspended":"An error was thrown inside this error boundary";endFiberMark(fiber,null,warning)}}function startPhaseTimer(fiber,phase){{if(!supportsUserTiming||(clearPendingPhaseMeasurement(),!beginFiberMark(fiber,phase)))return;currentPhaseFiber=fiber,currentPhase=phase}}function stopPhaseTimer(){{if(!supportsUserTiming)return;if(currentPhase!==null&¤tPhaseFiber!==null){var warning=hasScheduledUpdateInCurrentPhase?"Scheduled a cascading update":null;endFiberMark(currentPhaseFiber,currentPhase,warning)}currentPhase=null,currentPhaseFiber=null}}function startWorkLoopTimer(nextUnitOfWork){{if(currentFiber=nextUnitOfWork,!supportsUserTiming)return;commitCountInCurrentWorkLoop=0,beginMark("(React Tree Reconciliation)"),resumeTimers()}}function stopWorkLoopTimer(interruptedBy2,didCompleteRoot){{if(!supportsUserTiming)return;var warning=null;if(interruptedBy2!==null)if(interruptedBy2.tag===HostRoot)warning="A top-level update interrupted the previous render";else{var componentName=getComponentName(interruptedBy2.type)||"Unknown";warning="An update to "+componentName+" interrupted the previous render"}else commitCountInCurrentWorkLoop>1&&(warning="There were cascading updates");commitCountInCurrentWorkLoop=0;var label=didCompleteRoot?"(React Tree Reconciliation: Completed Root)":"(React Tree Reconciliation: Yielded)";pauseTimers(),endMark(label,"(React Tree Reconciliation)",warning)}}function startCommitTimer(){{if(!supportsUserTiming)return;isCommitting=!0,hasScheduledUpdateInCurrentCommit=!1,labelsInCurrentCommit.clear(),beginMark("(Committing Changes)")}}function stopCommitTimer(){{if(!supportsUserTiming)return;var warning=null;hasScheduledUpdateInCurrentCommit?warning="Lifecycle hook scheduled a cascading update":commitCountInCurrentWorkLoop>0&&(warning="Caused by a cascading update in earlier commit"),hasScheduledUpdateInCurrentCommit=!1,commitCountInCurrentWorkLoop++,isCommitting=!1,labelsInCurrentCommit.clear(),endMark("(Committing Changes)","(Committing Changes)",warning)}}function startCommitSnapshotEffectsTimer(){{if(!supportsUserTiming)return;effectCountInCurrentCommit=0,beginMark("(Committing Snapshot Effects)")}}function stopCommitSnapshotEffectsTimer(){{if(!supportsUserTiming)return;var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Committing Snapshot Effects: "+count+" Total)","(Committing Snapshot Effects)",null)}}function startCommitHostEffectsTimer(){{if(!supportsUserTiming)return;effectCountInCurrentCommit=0,beginMark("(Committing Host Effects)")}}function stopCommitHostEffectsTimer(){{if(!supportsUserTiming)return;var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Committing Host Effects: "+count+" Total)","(Committing Host Effects)",null)}}function startCommitLifeCyclesTimer(){{if(!supportsUserTiming)return;effectCountInCurrentCommit=0,beginMark("(Calling Lifecycle Methods)")}}function stopCommitLifeCyclesTimer(){{if(!supportsUserTiming)return;var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Calling Lifecycle Methods: "+count+" Total)","(Calling Lifecycle Methods)",null)}}var valueStack=[],fiberStack;fiberStack=[];var index=-1;function createCursor(defaultValue){return{current:defaultValue}}function pop(cursor,fiber){if(index<0){error("Unexpected pop.");return}fiber!==fiberStack[index]&&error("Unexpected Fiber popped."),cursor.current=valueStack[index],valueStack[index]=null,fiberStack[index]=null,index--}function push(cursor,value,fiber){index++,valueStack[index]=cursor.current,fiberStack[index]=fiber,cursor.current=value}var warnedAboutMissingGetChildContext;warnedAboutMissingGetChildContext={};var emptyContextObject={};Object.freeze(emptyContextObject);var contextStackCursor=createCursor(emptyContextObject),didPerformWorkStackCursor=createCursor(!1),previousContext=emptyContextObject;function getUnmaskedContext(workInProgress2,Component,didPushOwnContextIfProvider){return didPushOwnContextIfProvider&&isContextProvider(Component)?previousContext:contextStackCursor.current}function cacheContext(workInProgress2,unmaskedContext,maskedContext){{var instance=workInProgress2.stateNode;instance.__reactInternalMemoizedUnmaskedChildContext=unmaskedContext,instance.__reactInternalMemoizedMaskedChildContext=maskedContext}}function getMaskedContext(workInProgress2,unmaskedContext){{var type=workInProgress2.type,contextTypes=type.contextTypes;if(!contextTypes)return emptyContextObject;var instance=workInProgress2.stateNode;if(instance&&instance.__reactInternalMemoizedUnmaskedChildContext===unmaskedContext)return instance.__reactInternalMemoizedMaskedChildContext;var context={};for(var key in contextTypes)context[key]=unmaskedContext[key];{var name=getComponentName(type)||"Unknown";checkPropTypes(contextTypes,context,"context",name,getCurrentFiberStackInDev)}return instance&&cacheContext(workInProgress2,unmaskedContext,context),context}}function hasContextChanged(){return didPerformWorkStackCursor.current}function isContextProvider(type){{var childContextTypes=type.childContextTypes;return childContextTypes!=null}}function popContext(fiber){pop(didPerformWorkStackCursor,fiber),pop(contextStackCursor,fiber)}function popTopLevelContextObject(fiber){pop(didPerformWorkStackCursor,fiber),pop(contextStackCursor,fiber)}function pushTopLevelContextObject(fiber,context,didChange){{if(contextStackCursor.current!==emptyContextObject)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");push(contextStackCursor,context,fiber),push(didPerformWorkStackCursor,didChange,fiber)}}function processChildContext(fiber,type,parentContext){{var instance=fiber.stateNode,childContextTypes=type.childContextTypes;if(typeof instance.getChildContext!="function"){{var componentName=getComponentName(type)||"Unknown";warnedAboutMissingGetChildContext[componentName]||(warnedAboutMissingGetChildContext[componentName]=!0,error("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",componentName,componentName))}return parentContext}var childContext;startPhaseTimer(fiber,"getChildContext"),childContext=instance.getChildContext(),stopPhaseTimer();for(var contextKey in childContext)if(!(contextKey in childContextTypes))throw Error((getComponentName(type)||"Unknown")+'.getChildContext(): key "'+contextKey+'" is not defined in childContextTypes.');{var name=getComponentName(type)||"Unknown";checkPropTypes(childContextTypes,childContext,"child context",name,getCurrentFiberStackInDev)}return _assign({},parentContext,{},childContext)}}function pushContextProvider(workInProgress2){{var instance=workInProgress2.stateNode,memoizedMergedChildContext=instance&&instance.__reactInternalMemoizedMergedChildContext||emptyContextObject;return previousContext=contextStackCursor.current,push(contextStackCursor,memoizedMergedChildContext,workInProgress2),push(didPerformWorkStackCursor,didPerformWorkStackCursor.current,workInProgress2),!0}}function invalidateContextProvider(workInProgress2,type,didChange){{var instance=workInProgress2.stateNode;if(!instance)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(didChange){var mergedContext=processChildContext(workInProgress2,type,previousContext);instance.__reactInternalMemoizedMergedChildContext=mergedContext,pop(didPerformWorkStackCursor,workInProgress2),pop(contextStackCursor,workInProgress2),push(contextStackCursor,mergedContext,workInProgress2),push(didPerformWorkStackCursor,didChange,workInProgress2)}else pop(didPerformWorkStackCursor,workInProgress2),push(didPerformWorkStackCursor,didChange,workInProgress2)}}function findCurrentUnmaskedContext(fiber){{if(!(isFiberMounted(fiber)&&fiber.tag===ClassComponent))throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var node=fiber;do{switch(node.tag){case HostRoot:return node.stateNode.context;case ClassComponent:{var Component=node.type;if(isContextProvider(Component))return node.stateNode.__reactInternalMemoizedMergedChildContext;break}}node=node.return}while(node!==null);throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var LegacyRoot=0,BlockingRoot=1,ConcurrentRoot=2,Scheduler_runWithPriority=Scheduler.unstable_runWithPriority,Scheduler_scheduleCallback=Scheduler.unstable_scheduleCallback,Scheduler_cancelCallback=Scheduler.unstable_cancelCallback,Scheduler_shouldYield=Scheduler.unstable_shouldYield,Scheduler_requestPaint=Scheduler.unstable_requestPaint,Scheduler_now=Scheduler.unstable_now,Scheduler_getCurrentPriorityLevel=Scheduler.unstable_getCurrentPriorityLevel,Scheduler_ImmediatePriority=Scheduler.unstable_ImmediatePriority,Scheduler_UserBlockingPriority=Scheduler.unstable_UserBlockingPriority,Scheduler_NormalPriority=Scheduler.unstable_NormalPriority,Scheduler_LowPriority=Scheduler.unstable_LowPriority,Scheduler_IdlePriority=Scheduler.unstable_IdlePriority;if(!(tracing.__interactionsRef!=null&&tracing.__interactionsRef.current!=null))throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at http://fb.me/react-profiling");var fakeCallbackNode={},ImmediatePriority=99,UserBlockingPriority$1=98,NormalPriority=97,LowPriority=96,IdlePriority=95,NoPriority=90,shouldYield=Scheduler_shouldYield,requestPaint=Scheduler_requestPaint!==void 0?Scheduler_requestPaint:function(){},syncQueue=null,immediateQueueCallbackNode=null,isFlushingSyncQueue=!1,initialTimeMs=Scheduler_now(),now=initialTimeMs<1e4?Scheduler_now:function(){return Scheduler_now()-initialTimeMs};function getCurrentPriorityLevel(){switch(Scheduler_getCurrentPriorityLevel()){case Scheduler_ImmediatePriority:return ImmediatePriority;case Scheduler_UserBlockingPriority:return UserBlockingPriority$1;case Scheduler_NormalPriority:return NormalPriority;case Scheduler_LowPriority:return LowPriority;case Scheduler_IdlePriority:return IdlePriority;default:throw Error("Unknown priority level.")}}function reactPriorityToSchedulerPriority(reactPriorityLevel){switch(reactPriorityLevel){case ImmediatePriority:return Scheduler_ImmediatePriority;case UserBlockingPriority$1:return Scheduler_UserBlockingPriority;case NormalPriority:return Scheduler_NormalPriority;case LowPriority:return Scheduler_LowPriority;case IdlePriority:return Scheduler_IdlePriority;default:throw Error("Unknown priority level.")}}function runWithPriority$1(reactPriorityLevel,fn){var priorityLevel=reactPriorityToSchedulerPriority(reactPriorityLevel);return Scheduler_runWithPriority(priorityLevel,fn)}function scheduleCallback(reactPriorityLevel,callback,options){var priorityLevel=reactPriorityToSchedulerPriority(reactPriorityLevel);return Scheduler_scheduleCallback(priorityLevel,callback,options)}function scheduleSyncCallback(callback){return syncQueue===null?(syncQueue=[callback],immediateQueueCallbackNode=Scheduler_scheduleCallback(Scheduler_ImmediatePriority,flushSyncCallbackQueueImpl)):syncQueue.push(callback),fakeCallbackNode}function cancelCallback(callbackNode){callbackNode!==fakeCallbackNode&&Scheduler_cancelCallback(callbackNode)}function flushSyncCallbackQueue(){if(immediateQueueCallbackNode!==null){var node=immediateQueueCallbackNode;immediateQueueCallbackNode=null,Scheduler_cancelCallback(node)}flushSyncCallbackQueueImpl()}function flushSyncCallbackQueueImpl(){if(!isFlushingSyncQueue&&syncQueue!==null){isFlushingSyncQueue=!0;var i=0;try{var _isSync=!0,queue=syncQueue;runWithPriority$1(ImmediatePriority,function(){for(;i<queue.length;i++){var callback=queue[i];do callback=callback(_isSync);while(callback!==null)}}),syncQueue=null}catch(error2){throw syncQueue!==null&&(syncQueue=syncQueue.slice(i+1)),Scheduler_scheduleCallback(Scheduler_ImmediatePriority,flushSyncCallbackQueue),error2}finally{isFlushingSyncQueue=!1}}}var NoMode=0,StrictMode=1,BlockingMode=2,ConcurrentMode=4,ProfileMode=8,MAX_SIGNED_31_BIT_INT=1073741823,NoWork=0,Never=1,Idle=2,ContinuousHydration=3,Sync=MAX_SIGNED_31_BIT_INT,Batched=Sync-1,UNIT_SIZE=10,MAGIC_NUMBER_OFFSET=Batched-1;function msToExpirationTime(ms){return MAGIC_NUMBER_OFFSET-(ms/UNIT_SIZE|0)}function expirationTimeToMs(expirationTime){return(MAGIC_NUMBER_OFFSET-expirationTime)*UNIT_SIZE}function ceiling(num,precision){return((num/precision|0)+1)*precision}function computeExpirationBucket(currentTime,expirationInMs,bucketSizeMs){return MAGIC_NUMBER_OFFSET-ceiling(MAGIC_NUMBER_OFFSET-currentTime+expirationInMs/UNIT_SIZE,bucketSizeMs/UNIT_SIZE)}var LOW_PRIORITY_EXPIRATION=5e3,LOW_PRIORITY_BATCH_SIZE=250;function computeAsyncExpiration(currentTime){return computeExpirationBucket(currentTime,LOW_PRIORITY_EXPIRATION,LOW_PRIORITY_BATCH_SIZE)}function computeSuspenseExpiration(currentTime,timeoutMs){return computeExpirationBucket(currentTime,timeoutMs,LOW_PRIORITY_BATCH_SIZE)}var HIGH_PRIORITY_EXPIRATION=500,HIGH_PRIORITY_BATCH_SIZE=100;function computeInteractiveExpiration(currentTime){return computeExpirationBucket(currentTime,HIGH_PRIORITY_EXPIRATION,HIGH_PRIORITY_BATCH_SIZE)}function inferPriorityFromExpirationTime(currentTime,expirationTime){if(expirationTime===Sync)return ImmediatePriority;if(expirationTime===Never||expirationTime===Idle)return IdlePriority;var msUntil=expirationTimeToMs(expirationTime)-expirationTimeToMs(currentTime);return msUntil<=0?ImmediatePriority:msUntil<=HIGH_PRIORITY_EXPIRATION+HIGH_PRIORITY_BATCH_SIZE?UserBlockingPriority$1:msUntil<=LOW_PRIORITY_EXPIRATION+LOW_PRIORITY_BATCH_SIZE?NormalPriority:IdlePriority}var ReactStrictModeWarnings={recordUnsafeLifecycleWarnings:function(fiber,instance){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(fiber,instance){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var findStrictRoot=function(fiber){for(var maybeStrictRoot=null,node=fiber;node!==null;)node.mode&StrictMode&&(maybeStrictRoot=node),node=node.return;return maybeStrictRoot},setToSortedString=function(set2){var array=[];return set2.forEach(function(value){array.push(value)}),array.sort().join(", ")},pendingComponentWillMountWarnings=[],pendingUNSAFE_ComponentWillMountWarnings=[],pendingComponentWillReceivePropsWarnings=[],pendingUNSAFE_ComponentWillReceivePropsWarnings=[],pendingComponentWillUpdateWarnings=[],pendingUNSAFE_ComponentWillUpdateWarnings=[],didWarnAboutUnsafeLifecycles=new Set;ReactStrictModeWarnings.recordUnsafeLifecycleWarnings=function(fiber,instance){didWarnAboutUnsafeLifecycles.has(fiber.type)||(typeof instance.componentWillMount=="function"&&instance.componentWillMount.__suppressDeprecationWarning!==!0&&pendingComponentWillMountWarnings.push(fiber),fiber.mode&StrictMode&&typeof instance.UNSAFE_componentWillMount=="function"&&pendingUNSAFE_ComponentWillMountWarnings.push(fiber),typeof instance.componentWillReceiveProps=="function"&&instance.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&pendingComponentWillReceivePropsWarnings.push(fiber),fiber.mode&StrictMode&&typeof instance.UNSAFE_componentWillReceiveProps=="function"&&pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber),typeof instance.componentWillUpdate=="function"&&instance.componentWillUpdate.__suppressDeprecationWarning!==!0&&pendingComponentWillUpdateWarnings.push(fiber),fiber.mode&StrictMode&&typeof instance.UNSAFE_componentWillUpdate=="function"&&pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber))},ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings=function(){var componentWillMountUniqueNames=new Set;pendingComponentWillMountWarnings.length>0&&(pendingComponentWillMountWarnings.forEach(function(fiber){componentWillMountUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingComponentWillMountWarnings=[]);var UNSAFE_componentWillMountUniqueNames=new Set;pendingUNSAFE_ComponentWillMountWarnings.length>0&&(pendingUNSAFE_ComponentWillMountWarnings.forEach(function(fiber){UNSAFE_componentWillMountUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingUNSAFE_ComponentWillMountWarnings=[]);var componentWillReceivePropsUniqueNames=new Set;pendingComponentWillReceivePropsWarnings.length>0&&(pendingComponentWillReceivePropsWarnings.forEach(function(fiber){componentWillReceivePropsUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingComponentWillReceivePropsWarnings=[]);var UNSAFE_componentWillReceivePropsUniqueNames=new Set;pendingUNSAFE_ComponentWillReceivePropsWarnings.length>0&&(pendingUNSAFE_ComponentWillReceivePropsWarnings.forEach(function(fiber){UNSAFE_componentWillReceivePropsUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingUNSAFE_ComponentWillReceivePropsWarnings=[]);var componentWillUpdateUniqueNames=new Set;pendingComponentWillUpdateWarnings.length>0&&(pendingComponentWillUpdateWarnings.forEach(function(fiber){componentWillUpdateUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingComponentWillUpdateWarnings=[]);var UNSAFE_componentWillUpdateUniqueNames=new Set;if(pendingUNSAFE_ComponentWillUpdateWarnings.length>0&&(pendingUNSAFE_ComponentWillUpdateWarnings.forEach(function(fiber){UNSAFE_componentWillUpdateUniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}),pendingUNSAFE_ComponentWillUpdateWarnings=[]),UNSAFE_componentWillMountUniqueNames.size>0){var sortedNames=setToSortedString(UNSAFE_componentWillMountUniqueNames);error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.
|
10
10
|
|
11
11
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
12
12
|
|