@airporting/integrations-app 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/mf/110.js +18 -0
- package/dist/mf/110.js.LICENSE.txt +9 -0
- package/dist/mf/119.js +1 -0
- package/dist/mf/14.js +10 -0
- package/dist/mf/14.js.LICENSE.txt +9 -0
- package/dist/mf/153.js +10 -0
- package/dist/mf/153.js.LICENSE.txt +9 -0
- package/dist/mf/182.js +10 -0
- package/dist/mf/182.js.LICENSE.txt +9 -0
- package/dist/mf/186.js +1 -0
- package/dist/mf/193.js +29747 -0
- package/dist/mf/193.js.LICENSE.txt +6 -0
- package/dist/mf/260.js +1 -0
- package/dist/mf/364.js +14 -0
- package/dist/mf/378.js +10 -0
- package/dist/mf/378.js.LICENSE.txt +9 -0
- package/dist/mf/380.js +1 -0
- package/dist/mf/541.js +1 -0
- package/dist/mf/548.js +10 -0
- package/dist/mf/548.js.LICENSE.txt +9 -0
- package/dist/mf/588.js +10 -0
- package/dist/mf/588.js.LICENSE.txt +9 -0
- package/dist/mf/622.js +10 -0
- package/dist/mf/622.js.LICENSE.txt +9 -0
- package/dist/mf/659.js +1 -0
- package/dist/mf/724.js +1 -0
- package/dist/mf/732.js +10 -0
- package/dist/mf/732.js.LICENSE.txt +9 -0
- package/dist/mf/750.js +33 -0
- package/dist/mf/750.js.LICENSE.txt +40 -0
- package/dist/mf/80.js +1 -0
- package/dist/mf/832.js +10 -0
- package/dist/mf/832.js.LICENSE.txt +9 -0
- package/dist/mf/880.js +1 -0
- package/dist/mf/@mf-types/compiled-types/App.d.ts +1 -0
- package/dist/mf/@mf-types/compiled-types/connectors.d.ts +2 -0
- package/dist/mf/@mf-types/compiled-types/hooks/useAppConfig.d.ts +9 -0
- package/dist/mf/@mf-types/compiled-types/providers.d.ts +15 -0
- package/dist/mf/@mf-types/connectors.d.ts +2 -0
- package/dist/mf/@mf-types.d.ts +3 -0
- package/dist/mf/@mf-types.zip +0 -0
- package/dist/mf/__federation_expose_connectors.js +10 -0
- package/dist/mf/__federation_expose_connectors.js.LICENSE.txt +9 -0
- package/dist/mf/index.css +9568 -0
- package/dist/mf/index.js +30 -0
- package/dist/mf/index.js.LICENSE.txt +29 -0
- package/dist/mf/integrations_app.js +5 -0
- package/dist/mf/mf-manifest.json +336 -0
- package/dist/mf/mf-stats.json +402 -0
- package/dist/mf/static/font/HostGrotesk-VariableFont_wght.ttf +0 -0
- package/dist/mf/static/font/IBMPlexSans-VariableFont_wdth,wght.ttf +0 -0
- package/dist/mf/static/svg/ad.svg +150 -0
- package/dist/mf/static/svg/af.svg +81 -0
- package/dist/mf/static/svg/arab.svg +109 -0
- package/dist/mf/static/svg/as.svg +72 -0
- package/dist/mf/static/svg/aw.svg +186 -0
- package/dist/mf/static/svg/bm.svg +97 -0
- package/dist/mf/static/svg/bn.svg +36 -0
- package/dist/mf/static/svg/bo.svg +673 -0
- package/dist/mf/static/svg/br.svg +45 -0
- package/dist/mf/static/svg/bt.svg +89 -0
- package/dist/mf/static/svg/bz.svg +145 -0
- package/dist/mf/static/svg/cy.svg +6 -0
- package/dist/mf/static/svg/dg.svg +130 -0
- package/dist/mf/static/svg/dm.svg +152 -0
- package/dist/mf/static/svg/do.svg +122 -0
- package/dist/mf/static/svg/eac.svg +48 -0
- package/dist/mf/static/svg/ec.svg +138 -0
- package/dist/mf/static/svg/eg.svg +38 -0
- package/dist/mf/static/svg/es-ga.svg +187 -0
- package/dist/mf/static/svg/es.svg +544 -0
- package/dist/mf/static/svg/fj.svg +120 -0
- package/dist/mf/static/svg/fk.svg +90 -0
- package/dist/mf/static/svg/gb-nir.svg +132 -0
- package/dist/mf/static/svg/gb-wls.svg +9 -0
- package/dist/mf/static/svg/gq.svg +23 -0
- package/dist/mf/static/svg/gs.svg +133 -0
- package/dist/mf/static/svg/gt.svg +204 -0
- package/dist/mf/static/svg/gu.svg +19 -0
- package/dist/mf/static/svg/hr.svg +56 -0
- package/dist/mf/static/svg/ht.svg +116 -0
- package/dist/mf/static/svg/im.svg +36 -0
- package/dist/mf/static/svg/io.svg +130 -0
- package/dist/mf/static/svg/ir.svg +219 -0
- package/dist/mf/static/svg/je.svg +62 -0
- package/dist/mf/static/svg/kg.svg +4 -0
- package/dist/mf/static/svg/kh.svg +61 -0
- package/dist/mf/static/svg/ki.svg +36 -0
- package/dist/mf/static/svg/ky.svg +103 -0
- package/dist/mf/static/svg/kz.svg +36 -0
- package/dist/mf/static/svg/li.svg +43 -0
- package/dist/mf/static/svg/lk.svg +22 -0
- package/dist/mf/static/svg/md.svg +70 -0
- package/dist/mf/static/svg/me.svg +118 -0
- package/dist/mf/static/svg/mp.svg +86 -0
- package/dist/mf/static/svg/ms.svg +25 -0
- package/dist/mf/static/svg/mt.svg +56 -0
- package/dist/mf/static/svg/mx.svg +377 -0
- package/dist/mf/static/svg/nf.svg +11 -0
- package/dist/mf/static/svg/ni.svg +129 -0
- package/dist/mf/static/svg/om.svg +115 -0
- package/dist/mf/static/svg/pn.svg +53 -0
- package/dist/mf/static/svg/pt.svg +57 -0
- package/dist/mf/static/svg/py.svg +156 -0
- package/dist/mf/static/svg/rs.svg +296 -0
- package/dist/mf/static/svg/sa.svg +25 -0
- package/dist/mf/static/svg/sh-ac.svg +690 -0
- package/dist/mf/static/svg/sh-hl.svg +164 -0
- package/dist/mf/static/svg/sh-ta.svg +76 -0
- package/dist/mf/static/svg/sm.svg +73 -0
- package/dist/mf/static/svg/sv.svg +593 -0
- package/dist/mf/static/svg/sx.svg +56 -0
- package/dist/mf/static/svg/sz.svg +34 -0
- package/dist/mf/static/svg/tc.svg +50 -0
- package/dist/mf/static/svg/tm.svg +205 -0
- package/dist/mf/static/svg/un.svg +16 -0
- package/dist/mf/static/svg/va.svg +190 -0
- package/dist/mf/static/svg/vg.svg +59 -0
- package/dist/mf/static/svg/vi.svg +28 -0
- package/dist/mf/static/svg/xk.svg +5 -0
- package/dist/mf/static/svg/zm.svg +27 -0
- package/dist/mf/static/svg/zw.svg +21 -0
- package/package.json +85 -0
package/dist/mf/index.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
+
(()=>{"use strict";var __webpack_modules__={6787:function(__unused_webpack_module,exports,__webpack_require__){var __webpack_unused_export__;/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-dom-client.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var Scheduler=__webpack_require__(3840),React=__webpack_require__(9063),ReactDOM=__webpack_require__(7487);function formatProdErrorMessage(code){var url="https://react.dev/errors/"+code;if(1<arguments.length){url+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)url+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+code+"; visit "+url+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function isValidContainer(node){return!(!node||1!==node.nodeType&&9!==node.nodeType&&11!==node.nodeType)}function getNearestMountedFiber(fiber){var node=fiber,nearestMounted=fiber;if(fiber.alternate)for(;node.return;)node=node.return;else{fiber=node;do node=fiber,0!==(4098&node.flags)&&(nearestMounted=node.return),fiber=node.return;while(fiber)}return 3===node.tag?nearestMounted:null}function getSuspenseInstanceFromFiber(fiber){if(13===fiber.tag){var suspenseState=fiber.memoizedState;null===suspenseState&&(fiber=fiber.alternate,null!==fiber&&(suspenseState=fiber.memoizedState));if(null!==suspenseState)return suspenseState.dehydrated}return null}function assertIsMounted(fiber){if(getNearestMountedFiber(fiber)!==fiber)throw Error(formatProdErrorMessage(188))}function findCurrentFiberUsingSlowPath(fiber){var alternate=fiber.alternate;if(!alternate){alternate=getNearestMountedFiber(fiber);if(null===alternate)throw Error(formatProdErrorMessage(188));return alternate!==fiber?null:fiber}for(var a=fiber,b=alternate;;){var parentA=a.return;if(null===parentA)break;var parentB=parentA.alternate;if(null===parentB){b=parentA.return;if(null!==b){a=b;continue}break}if(parentA.child===parentB.child){for(parentB=parentA.child;parentB;){if(parentB===a)return assertIsMounted(parentA),fiber;if(parentB===b)return assertIsMounted(parentA),alternate;parentB=parentB.sibling}throw Error(formatProdErrorMessage(188))}if(a.return!==b.return)a=parentA,b=parentB;else{for(var didFindChild=!1,child$0=parentA.child;child$0;){if(child$0===a){didFindChild=!0;a=parentA;b=parentB;break}if(child$0===b){didFindChild=!0;b=parentA;a=parentB;break}child$0=child$0.sibling}if(!didFindChild){for(child$0=parentB.child;child$0;){if(child$0===a){didFindChild=!0;a=parentB;b=parentA;break}if(child$0===b){didFindChild=!0;b=parentB;a=parentA;break}child$0=child$0.sibling}if(!didFindChild)throw Error(formatProdErrorMessage(189))}}if(a.alternate!==b)throw Error(formatProdErrorMessage(190))}if(3!==a.tag)throw Error(formatProdErrorMessage(188));return a.stateNode.current===a?fiber:alternate}function findCurrentHostFiberImpl(node){var tag=node.tag;if(5===tag||26===tag||27===tag||6===tag)return node;for(node=node.child;null!==node;){tag=findCurrentHostFiberImpl(node);if(null!==tag)return tag;node=node.sibling}return null}var assign=Object.assign,REACT_LEGACY_ELEMENT_TYPE=Symbol.for("react.element"),REACT_ELEMENT_TYPE=Symbol.for("react.transitional.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_PROVIDER_TYPE=Symbol.for("react.provider"),REACT_CONSUMER_TYPE=Symbol.for("react.consumer"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy");Symbol.for("react.scope");var REACT_ACTIVITY_TYPE=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var REACT_MEMO_CACHE_SENTINEL=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var MAYBE_ITERATOR_SYMBOL=Symbol.iterator;function getIteratorFn(maybeIterable){if(null===maybeIterable||"object"!=typeof maybeIterable)return null;maybeIterable=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable["@@iterator"];return"function"==typeof maybeIterable?maybeIterable:null}var REACT_CLIENT_REFERENCE=Symbol.for("react.client.reference");function getComponentNameFromType(type){if(null==type)return null;if("function"==typeof type)return type.$$typeof===REACT_CLIENT_REFERENCE?null:type.displayName||type.name||null;if("string"==typeof type)return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";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";case REACT_ACTIVITY_TYPE:return"Activity"}if("object"==typeof type)switch(type.$$typeof){case REACT_PORTAL_TYPE:return"Portal";case REACT_CONTEXT_TYPE:return(type.displayName||"Context")+".Provider";case REACT_CONSUMER_TYPE:return(type._context.displayName||"Context")+".Consumer";case REACT_FORWARD_REF_TYPE:var innerType=type.render;type=type.displayName;type||(type=innerType.displayName||innerType.name||"",type=""!==type?"ForwardRef("+type+")":"ForwardRef");return type;case REACT_MEMO_TYPE:return innerType=type.displayName||null,null!==innerType?innerType:getComponentNameFromType(type.type)||"Memo";case REACT_LAZY_TYPE:innerType=type._payload;type=type._init;try{return getComponentNameFromType(type(innerType))}catch(x){}}return null}var isArrayImpl=Array.isArray,ReactSharedInternals=React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ReactDOMSharedInternals=ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,sharedNotPendingObject={pending:!1,data:null,method:null,action:null},valueStack=[],index=-1;function createCursor(defaultValue){return{current:defaultValue}}function pop(cursor){0>index||(cursor.current=valueStack[index],valueStack[index]=null,index--)}function push(cursor,value){index++;valueStack[index]=cursor.current;cursor.current=value}var contextStackCursor=createCursor(null),contextFiberStackCursor=createCursor(null),rootInstanceStackCursor=createCursor(null),hostTransitionProviderCursor=createCursor(null);function pushHostContainer(fiber,nextRootInstance){push(rootInstanceStackCursor,nextRootInstance);push(contextFiberStackCursor,fiber);push(contextStackCursor,null);switch(nextRootInstance.nodeType){case 9:case 11:fiber=(fiber=nextRootInstance.documentElement)?(fiber=fiber.namespaceURI)?getOwnHostContext(fiber):0:0;break;default:if(fiber=nextRootInstance.tagName,nextRootInstance=nextRootInstance.namespaceURI)nextRootInstance=getOwnHostContext(nextRootInstance),fiber=getChildHostContextProd(nextRootInstance,fiber);else switch(fiber){case"svg":fiber=1;break;case"math":fiber=2;break;default:fiber=0}}pop(contextStackCursor);push(contextStackCursor,fiber)}function popHostContainer(){pop(contextStackCursor);pop(contextFiberStackCursor);pop(rootInstanceStackCursor)}function pushHostContext(fiber){null!==fiber.memoizedState&&push(hostTransitionProviderCursor,fiber);var context=contextStackCursor.current;var JSCompiler_inline_result=getChildHostContextProd(context,fiber.type);context!==JSCompiler_inline_result&&(push(contextFiberStackCursor,fiber),push(contextStackCursor,JSCompiler_inline_result))}function popHostContext(fiber){contextFiberStackCursor.current===fiber&&(pop(contextStackCursor),pop(contextFiberStackCursor));hostTransitionProviderCursor.current===fiber&&(pop(hostTransitionProviderCursor),HostTransitionContext._currentValue=sharedNotPendingObject)}var hasOwnProperty=Object.prototype.hasOwnProperty,scheduleCallback$3=Scheduler.unstable_scheduleCallback,cancelCallback$1=Scheduler.unstable_cancelCallback,shouldYield=Scheduler.unstable_shouldYield,requestPaint=Scheduler.unstable_requestPaint,now=Scheduler.unstable_now,getCurrentPriorityLevel=Scheduler.unstable_getCurrentPriorityLevel,ImmediatePriority=Scheduler.unstable_ImmediatePriority,UserBlockingPriority=Scheduler.unstable_UserBlockingPriority,NormalPriority$1=Scheduler.unstable_NormalPriority,LowPriority=Scheduler.unstable_LowPriority,IdlePriority=Scheduler.unstable_IdlePriority,log$1=Scheduler.log,unstable_setDisableYieldValue=Scheduler.unstable_setDisableYieldValue,rendererID=null,injectedHook=null;function setIsStrictModeForDevtools(newIsStrictMode){"function"==typeof log$1&&unstable_setDisableYieldValue(newIsStrictMode);if(injectedHook&&"function"==typeof injectedHook.setStrictMode)try{injectedHook.setStrictMode(rendererID,newIsStrictMode)}catch(err){}}var clz32=Math.clz32?Math.clz32:clz32Fallback,log=Math.log,LN2=Math.LN2;function clz32Fallback(x){x>>>=0;return 0===x?32:31-(log(x)/LN2|0)|0}var nextTransitionLane=256,nextRetryLane=4194304;function getHighestPriorityLanes(lanes){var pendingSyncLanes=42&lanes;if(0!==pendingSyncLanes)return pendingSyncLanes;switch(lanes&-lanes){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194048&lanes;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&lanes;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return lanes}}function getNextLanes(root,wipLanes,rootHasPendingCommit){var pendingLanes=root.pendingLanes;if(0===pendingLanes)return 0;var nextLanes=0,suspendedLanes=root.suspendedLanes,pingedLanes=root.pingedLanes;root=root.warmLanes;var nonIdlePendingLanes=0x7ffffff&pendingLanes;0!==nonIdlePendingLanes?(pendingLanes=nonIdlePendingLanes&~suspendedLanes,0!==pendingLanes?nextLanes=getHighestPriorityLanes(pendingLanes):(pingedLanes&=nonIdlePendingLanes,0!==pingedLanes?nextLanes=getHighestPriorityLanes(pingedLanes):rootHasPendingCommit||(rootHasPendingCommit=nonIdlePendingLanes&~root,0!==rootHasPendingCommit&&(nextLanes=getHighestPriorityLanes(rootHasPendingCommit))))):(nonIdlePendingLanes=pendingLanes&~suspendedLanes,0!==nonIdlePendingLanes?nextLanes=getHighestPriorityLanes(nonIdlePendingLanes):0!==pingedLanes?nextLanes=getHighestPriorityLanes(pingedLanes):rootHasPendingCommit||(rootHasPendingCommit=pendingLanes&~root,0!==rootHasPendingCommit&&(nextLanes=getHighestPriorityLanes(rootHasPendingCommit))));return 0===nextLanes?0:0!==wipLanes&&wipLanes!==nextLanes&&0===(wipLanes&suspendedLanes)&&(suspendedLanes=nextLanes&-nextLanes,rootHasPendingCommit=wipLanes&-wipLanes,suspendedLanes>=rootHasPendingCommit||32===suspendedLanes&&0!==(4194048&rootHasPendingCommit))?wipLanes:nextLanes}function checkIfRootIsPrerendering(root,renderLanes){return 0===(root.pendingLanes&~(root.suspendedLanes&~root.pingedLanes)&renderLanes)}function computeExpirationTime(lane,currentTime){switch(lane){case 1:case 2:case 4:case 8:case 64:return currentTime+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return currentTime+5e3;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return -1;case 0x4000000:case 0x8000000:case 0x10000000:case 0x20000000:case 0x40000000:return -1;default:return -1}}function claimNextTransitionLane(){var lane=nextTransitionLane;nextTransitionLane<<=1;0===(4194048&nextTransitionLane)&&(nextTransitionLane=256);return lane}function claimNextRetryLane(){var lane=nextRetryLane;nextRetryLane<<=1;0===(0x3c00000&nextRetryLane)&&(nextRetryLane=4194304);return lane}function createLaneMap(initial){for(var laneMap=[],i=0;31>i;i++)laneMap.push(initial);return laneMap}function markRootUpdated$1(root,updateLane){root.pendingLanes|=updateLane;0x10000000!==updateLane&&(root.suspendedLanes=0,root.pingedLanes=0,root.warmLanes=0)}function markRootFinished(root,finishedLanes,remainingLanes,spawnedLane,updatedLanes,suspendedRetryLanes){var previouslyPendingLanes=root.pendingLanes;root.pendingLanes=remainingLanes;root.suspendedLanes=0;root.pingedLanes=0;root.warmLanes=0;root.expiredLanes&=remainingLanes;root.entangledLanes&=remainingLanes;root.errorRecoveryDisabledLanes&=remainingLanes;root.shellSuspendCounter=0;var entanglements=root.entanglements,expirationTimes=root.expirationTimes,hiddenUpdates=root.hiddenUpdates;for(remainingLanes=previouslyPendingLanes&~remainingLanes;0<remainingLanes;){var index$5=31-clz32(remainingLanes),lane=1<<index$5;entanglements[index$5]=0;expirationTimes[index$5]=-1;var hiddenUpdatesForLane=hiddenUpdates[index$5];if(null!==hiddenUpdatesForLane)for(hiddenUpdates[index$5]=null,index$5=0;index$5<hiddenUpdatesForLane.length;index$5++){var update=hiddenUpdatesForLane[index$5];null!==update&&(update.lane&=-0x20000001)}remainingLanes&=~lane}0!==spawnedLane&&markSpawnedDeferredLane(root,spawnedLane,0);0!==suspendedRetryLanes&&0===updatedLanes&&0!==root.tag&&(root.suspendedLanes|=suspendedRetryLanes&~(previouslyPendingLanes&~finishedLanes))}function markSpawnedDeferredLane(root,spawnedLane,entangledLanes){root.pendingLanes|=spawnedLane;root.suspendedLanes&=~spawnedLane;var spawnedLaneIndex=31-clz32(spawnedLane);root.entangledLanes|=spawnedLane;root.entanglements[spawnedLaneIndex]=0x40000000|root.entanglements[spawnedLaneIndex]|4194090&entangledLanes}function markRootEntangled(root,entangledLanes){var rootEntangledLanes=root.entangledLanes|=entangledLanes;for(root=root.entanglements;rootEntangledLanes;){var index$6=31-clz32(rootEntangledLanes),lane=1<<index$6;lane&entangledLanes|root[index$6]&entangledLanes&&(root[index$6]|=entangledLanes);rootEntangledLanes&=~lane}}function getBumpedLaneForHydrationByLane(lane){switch(lane){case 2:lane=1;break;case 8:lane=4;break;case 32:lane=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:lane=128;break;case 0x10000000:lane=0x8000000;break;default:lane=0}return lane}function lanesToEventPriority(lanes){lanes&=-lanes;return 2<lanes?8<lanes?0!==(0x7ffffff&lanes)?32:0x10000000:8:2}function resolveUpdatePriority(){var updatePriority=ReactDOMSharedInternals.p;if(0!==updatePriority)return updatePriority;updatePriority=window.event;return void 0===updatePriority?32:getEventPriority(updatePriority.type)}function runWithPriority(priority,fn){var previousPriority=ReactDOMSharedInternals.p;try{return ReactDOMSharedInternals.p=priority,fn()}finally{ReactDOMSharedInternals.p=previousPriority}}var randomKey=Math.random().toString(36).slice(2),internalInstanceKey="__reactFiber$"+randomKey,internalPropsKey="__reactProps$"+randomKey,internalContainerInstanceKey="__reactContainer$"+randomKey,internalEventHandlersKey="__reactEvents$"+randomKey,internalEventHandlerListenersKey="__reactListeners$"+randomKey,internalEventHandlesSetKey="__reactHandles$"+randomKey,internalRootNodeResourcesKey="__reactResources$"+randomKey,internalHoistableMarker="__reactMarker$"+randomKey;function detachDeletedInstance(node){delete node[internalInstanceKey];delete node[internalPropsKey];delete node[internalEventHandlersKey];delete node[internalEventHandlerListenersKey];delete node[internalEventHandlesSetKey]}function getClosestInstanceFromNode(targetNode){var targetInst=targetNode[internalInstanceKey];if(targetInst)return targetInst;for(var parentNode=targetNode.parentNode;parentNode;){if(targetInst=parentNode[internalContainerInstanceKey]||parentNode[internalInstanceKey]){parentNode=targetInst.alternate;if(null!==targetInst.child||null!==parentNode&&null!==parentNode.child)for(targetNode=getParentSuspenseInstance(targetNode);null!==targetNode;){if(parentNode=targetNode[internalInstanceKey])return parentNode;targetNode=getParentSuspenseInstance(targetNode)}return targetInst}targetNode=parentNode;parentNode=targetNode.parentNode}return null}function getInstanceFromNode(node){if(node=node[internalInstanceKey]||node[internalContainerInstanceKey]){var tag=node.tag;if(5===tag||6===tag||13===tag||26===tag||27===tag||3===tag)return node}return null}function getNodeFromInstance(inst){var tag=inst.tag;if(5===tag||26===tag||27===tag||6===tag)return inst.stateNode;throw Error(formatProdErrorMessage(33))}function getResourcesFromRoot(root){var resources=root[internalRootNodeResourcesKey];resources||(resources=root[internalRootNodeResourcesKey]={hoistableStyles:new Map,hoistableScripts:new Map});return resources}function markNodeAsHoistable(node){node[internalHoistableMarker]=!0}var allNativeEvents=new Set,registrationNameDependencies={};function registerTwoPhaseEvent(registrationName,dependencies){registerDirectEvent(registrationName,dependencies);registerDirectEvent(registrationName+"Capture",dependencies)}function registerDirectEvent(registrationName,dependencies){registrationNameDependencies[registrationName]=dependencies;for(registrationName=0;registrationName<dependencies.length;registrationName++)allNativeEvents.add(dependencies[registrationName])}var VALID_ATTRIBUTE_NAME_REGEX=RegExp("^[: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][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),illegalAttributeNameCache={},validatedAttributeNameCache={};function isAttributeNameSafe(attributeName){if(hasOwnProperty.call(validatedAttributeNameCache,attributeName))return!0;if(hasOwnProperty.call(illegalAttributeNameCache,attributeName))return!1;if(VALID_ATTRIBUTE_NAME_REGEX.test(attributeName))return validatedAttributeNameCache[attributeName]=!0;illegalAttributeNameCache[attributeName]=!0;return!1}function setValueForAttribute(node,name,value){if(isAttributeNameSafe(name))if(null===value)node.removeAttribute(name);else{switch(typeof value){case"undefined":case"function":case"symbol":node.removeAttribute(name);return;case"boolean":var prefix$8=name.toLowerCase().slice(0,5);if("data-"!==prefix$8&&"aria-"!==prefix$8)return void node.removeAttribute(name)}node.setAttribute(name,""+value)}}function setValueForKnownAttribute(node,name,value){if(null===value)node.removeAttribute(name);else{switch(typeof value){case"undefined":case"function":case"symbol":case"boolean":node.removeAttribute(name);return}node.setAttribute(name,""+value)}}function setValueForNamespacedAttribute(node,namespace,name,value){if(null===value)node.removeAttribute(name);else{switch(typeof value){case"undefined":case"function":case"symbol":case"boolean":node.removeAttribute(name);return}node.setAttributeNS(namespace,name,""+value)}}var prefix,suffix;function describeBuiltInComponentFrame(name){if(void 0===prefix)try{throw Error()}catch(x){var match=x.stack.trim().match(/\n( *(at )?)/);prefix=match&&match[1]||"";suffix=-1<x.stack.indexOf("\n at")?" (<anonymous>)":-1<x.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+prefix+name+suffix}var reentry=!1;function describeNativeComponentFrame(fn,construct){if(!fn||reentry)return"";reentry=!0;var previousPrepareStackTrace=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var RunInRootFrame={DetermineComponentFrameRoot:function(){try{if(construct){var Fake=function(){throw Error()};Object.defineProperty(Fake.prototype,"props",{set:function(){throw Error()}});if("object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(Fake,[])}catch(x){var control=x}Reflect.construct(fn,[],Fake)}else{try{Fake.call()}catch(x$9){control=x$9}fn.call(Fake.prototype)}}else{try{throw Error()}catch(x$10){control=x$10}(Fake=fn())&&"function"==typeof Fake.catch&&Fake.catch(function(){})}}catch(sample){if(sample&&control&&"string"==typeof sample.stack)return[sample.stack,control.stack]}return[null,null]}};RunInRootFrame.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var namePropDescriptor=Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot,"name");namePropDescriptor&&namePropDescriptor.configurable&&Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var _RunInRootFrame$Deter=RunInRootFrame.DetermineComponentFrameRoot(),sampleStack=_RunInRootFrame$Deter[0],controlStack=_RunInRootFrame$Deter[1];if(sampleStack&&controlStack){var sampleLines=sampleStack.split("\n"),controlLines=controlStack.split("\n");for(namePropDescriptor=RunInRootFrame=0;RunInRootFrame<sampleLines.length&&!sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");)RunInRootFrame++;for(;namePropDescriptor<controlLines.length&&!controlLines[namePropDescriptor].includes("DetermineComponentFrameRoot");)namePropDescriptor++;if(RunInRootFrame===sampleLines.length||namePropDescriptor===controlLines.length)for(RunInRootFrame=sampleLines.length-1,namePropDescriptor=controlLines.length-1;1<=RunInRootFrame&&0<=namePropDescriptor&&sampleLines[RunInRootFrame]!==controlLines[namePropDescriptor];)namePropDescriptor--;for(;1<=RunInRootFrame&&0<=namePropDescriptor;RunInRootFrame--,namePropDescriptor--)if(sampleLines[RunInRootFrame]!==controlLines[namePropDescriptor]){if(1!==RunInRootFrame||1!==namePropDescriptor)do if(RunInRootFrame--,namePropDescriptor--,0>namePropDescriptor||sampleLines[RunInRootFrame]!==controlLines[namePropDescriptor]){var frame="\n"+sampleLines[RunInRootFrame].replace(" at new "," at ");fn.displayName&&frame.includes("<anonymous>")&&(frame=frame.replace("<anonymous>",fn.displayName));return frame}while(1<=RunInRootFrame&&0<=namePropDescriptor);break}}}finally{reentry=!1,Error.prepareStackTrace=previousPrepareStackTrace}return(previousPrepareStackTrace=fn?fn.displayName||fn.name:"")?describeBuiltInComponentFrame(previousPrepareStackTrace):""}function describeFiber(fiber){switch(fiber.tag){case 26:case 27:case 5:return describeBuiltInComponentFrame(fiber.type);case 16:return describeBuiltInComponentFrame("Lazy");case 13:return describeBuiltInComponentFrame("Suspense");case 19:return describeBuiltInComponentFrame("SuspenseList");case 0:case 15:return describeNativeComponentFrame(fiber.type,!1);case 11:return describeNativeComponentFrame(fiber.type.render,!1);case 1:return describeNativeComponentFrame(fiber.type,!0);case 31:return describeBuiltInComponentFrame("Activity");default:return""}}function getStackByFiberInDevAndProd(workInProgress){try{var info="";do info+=describeFiber(workInProgress),workInProgress=workInProgress.return;while(workInProgress);return info}catch(x){return"\nError generating stack: "+x.message+"\n"+x.stack}}function getToStringValue(value){switch(typeof value){case"bigint":case"boolean":case"number":case"string":case"undefined":return value;case"object":return value;default:return""}}function isCheckable(elem){var type=elem.type;return(elem=elem.nodeName)&&"input"===elem.toLowerCase()&&("checkbox"===type||"radio"===type)}function trackValueOnNode(node){var valueField=isCheckable(node)?"checked":"value",descriptor=Object.getOwnPropertyDescriptor(node.constructor.prototype,valueField),currentValue=""+node[valueField];if(!node.hasOwnProperty(valueField)&&void 0!==descriptor&&"function"==typeof descriptor.get&&"function"==typeof descriptor.set){var get=descriptor.get,set=descriptor.set;Object.defineProperty(node,valueField,{configurable:!0,get:function(){return get.call(this)},set:function(value){currentValue=""+value;set.call(this,value)}});Object.defineProperty(node,valueField,{enumerable:descriptor.enumerable});return{getValue:function(){return currentValue},setValue:function(value){currentValue=""+value},stopTracking:function(){node._valueTracker=null;delete node[valueField]}}}}function track(node){node._valueTracker||(node._valueTracker=trackValueOnNode(node))}function updateValueIfChanged(node){if(!node)return!1;var tracker=node._valueTracker;if(!tracker)return!0;var lastValue=tracker.getValue();var value="";node&&(value=isCheckable(node)?node.checked?"true":"false":node.value);node=value;return node!==lastValue?(tracker.setValue(node),!0):!1}function getActiveElement(doc){doc=doc||("undefined"!=typeof document?document:void 0);if(void 0===doc)return null;try{return doc.activeElement||doc.body}catch(e){return doc.body}}var escapeSelectorAttributeValueInsideDoubleQuotesRegex=/[\n"\\]/g;function escapeSelectorAttributeValueInsideDoubleQuotes(value){return value.replace(escapeSelectorAttributeValueInsideDoubleQuotesRegex,function(ch){return"\\"+ch.charCodeAt(0).toString(16)+" "})}function updateInput(element,value,defaultValue,lastDefaultValue,checked,defaultChecked,type,name){element.name="";null!=type&&"function"!=typeof type&&"symbol"!=typeof type&&"boolean"!=typeof type?element.type=type:element.removeAttribute("type");if(null!=value)if("number"===type){if(0===value&&""===element.value||element.value!=value)element.value=""+getToStringValue(value)}else element.value!==""+getToStringValue(value)&&(element.value=""+getToStringValue(value));else"submit"!==type&&"reset"!==type||element.removeAttribute("value");null!=value?setDefaultValue(element,type,getToStringValue(value)):null!=defaultValue?setDefaultValue(element,type,getToStringValue(defaultValue)):null!=lastDefaultValue&&element.removeAttribute("value");null==checked&&null!=defaultChecked&&(element.defaultChecked=!!defaultChecked);null!=checked&&(element.checked=checked&&"function"!=typeof checked&&"symbol"!=typeof checked);null!=name&&"function"!=typeof name&&"symbol"!=typeof name&&"boolean"!=typeof name?element.name=""+getToStringValue(name):element.removeAttribute("name")}function initInput(element,value,defaultValue,checked,defaultChecked,type,name,isHydrating){null!=type&&"function"!=typeof type&&"symbol"!=typeof type&&"boolean"!=typeof type&&(element.type=type);if(null!=value||null!=defaultValue){if(!("submit"!==type&&"reset"!==type||null!=value))return;defaultValue=null!=defaultValue?""+getToStringValue(defaultValue):"";value=null!=value?""+getToStringValue(value):defaultValue;isHydrating||value===element.value||(element.value=value);element.defaultValue=value}checked=null!=checked?checked:defaultChecked;checked="function"!=typeof checked&&"symbol"!=typeof checked&&!!checked;element.checked=isHydrating?element.checked:!!checked;element.defaultChecked=!!checked;null!=name&&"function"!=typeof name&&"symbol"!=typeof name&&"boolean"!=typeof name&&(element.name=name)}function setDefaultValue(node,type,value){"number"===type&&getActiveElement(node.ownerDocument)===node||node.defaultValue===""+value||(node.defaultValue=""+value)}function updateOptions(node,multiple,propValue,setDefaultSelected){node=node.options;if(multiple){multiple={};for(var i=0;i<propValue.length;i++)multiple["$"+propValue[i]]=!0;for(propValue=0;propValue<node.length;propValue++)i=multiple.hasOwnProperty("$"+node[propValue].value),node[propValue].selected!==i&&(node[propValue].selected=i),i&&setDefaultSelected&&(node[propValue].defaultSelected=!0)}else{propValue=""+getToStringValue(propValue);multiple=null;for(i=0;i<node.length;i++){if(node[i].value===propValue){node[i].selected=!0;setDefaultSelected&&(node[i].defaultSelected=!0);return}null!==multiple||node[i].disabled||(multiple=node[i])}null!==multiple&&(multiple.selected=!0)}}function updateTextarea(element,value,defaultValue){if(null!=value&&(value=""+getToStringValue(value),value!==element.value&&(element.value=value),null==defaultValue)){element.defaultValue!==value&&(element.defaultValue=value);return}element.defaultValue=null!=defaultValue?""+getToStringValue(defaultValue):""}function initTextarea(element,value,defaultValue,children){if(null==value){if(null!=children){if(null!=defaultValue)throw Error(formatProdErrorMessage(92));if(isArrayImpl(children)){if(1<children.length)throw Error(formatProdErrorMessage(93));children=children[0]}defaultValue=children}null==defaultValue&&(defaultValue="");value=defaultValue}defaultValue=getToStringValue(value);element.defaultValue=defaultValue;children=element.textContent;children===defaultValue&&""!==children&&null!==children&&(element.value=children)}function setTextContent(node,text){if(text){var firstChild=node.firstChild;if(firstChild&&firstChild===node.lastChild&&3===firstChild.nodeType){firstChild.nodeValue=text;return}}node.textContent=text}var unitlessNumbers=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function setValueForStyle(style,styleName,value){var isCustomProperty=0===styleName.indexOf("--");null==value||"boolean"==typeof value||""===value?isCustomProperty?style.setProperty(styleName,""):"float"===styleName?style.cssFloat="":style[styleName]="":isCustomProperty?style.setProperty(styleName,value):"number"!=typeof value||0===value||unitlessNumbers.has(styleName)?"float"===styleName?style.cssFloat=value:style[styleName]=(""+value).trim():style[styleName]=value+"px"}function setValueForStyles(node,styles,prevStyles){if(null!=styles&&"object"!=typeof styles)throw Error(formatProdErrorMessage(62));node=node.style;if(null!=prevStyles){for(var styleName in prevStyles)!prevStyles.hasOwnProperty(styleName)||null!=styles&&styles.hasOwnProperty(styleName)||(0===styleName.indexOf("--")?node.setProperty(styleName,""):"float"===styleName?node.cssFloat="":node[styleName]="");for(var styleName$16 in styles)styleName=styles[styleName$16],styles.hasOwnProperty(styleName$16)&&prevStyles[styleName$16]!==styleName&&setValueForStyle(node,styleName$16,styleName)}else for(var styleName$17 in styles)styles.hasOwnProperty(styleName$17)&&setValueForStyle(node,styleName$17,styles[styleName$17])}function isCustomElement(tagName){if(-1===tagName.indexOf("-"))return!1;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 aliases=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),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;function sanitizeURL(url){return isJavaScriptProtocol.test(""+url)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":url}var currentReplayingEvent=null;function getEventTarget(nativeEvent){nativeEvent=nativeEvent.target||nativeEvent.srcElement||window;nativeEvent.correspondingUseElement&&(nativeEvent=nativeEvent.correspondingUseElement);return 3===nativeEvent.nodeType?nativeEvent.parentNode:nativeEvent}var restoreTarget=null,restoreQueue=null;function restoreStateOfTarget(target){var internalInstance=getInstanceFromNode(target);if(internalInstance&&(target=internalInstance.stateNode)){var props=target[internalPropsKey]||null;switch(target=internalInstance.stateNode,internalInstance.type){case"input":updateInput(target,props.value,props.defaultValue,props.defaultValue,props.checked,props.defaultChecked,props.type,props.name);internalInstance=props.name;if("radio"===props.type&&null!=internalInstance){for(props=target;props.parentNode;)props=props.parentNode;props=props.querySelectorAll('input[name="'+escapeSelectorAttributeValueInsideDoubleQuotes(""+internalInstance)+'"][type="radio"]');for(internalInstance=0;internalInstance<props.length;internalInstance++){var otherNode=props[internalInstance];if(otherNode!==target&&otherNode.form===target.form){var otherProps=otherNode[internalPropsKey]||null;if(!otherProps)throw Error(formatProdErrorMessage(90));updateInput(otherNode,otherProps.value,otherProps.defaultValue,otherProps.defaultValue,otherProps.checked,otherProps.defaultChecked,otherProps.type,otherProps.name)}}for(internalInstance=0;internalInstance<props.length;internalInstance++)otherNode=props[internalInstance],otherNode.form===target.form&&updateValueIfChanged(otherNode)}break;case"textarea":updateTextarea(target,props.value,props.defaultValue);break;case"select":internalInstance=props.value,null!=internalInstance&&updateOptions(target,!!props.multiple,internalInstance,!1)}}}var isInsideEventHandler=!1;function batchedUpdates$1(fn,a,b){if(isInsideEventHandler)return fn(a,b);isInsideEventHandler=!0;try{var JSCompiler_inline_result=fn(a);return JSCompiler_inline_result}finally{if(isInsideEventHandler=!1,null!==restoreTarget||null!==restoreQueue){if(flushSyncWork$1(),restoreTarget&&(a=restoreTarget,fn=restoreQueue,restoreQueue=restoreTarget=null,restoreStateOfTarget(a),fn))for(a=0;a<fn.length;a++)restoreStateOfTarget(fn[a])}}}function getListener(inst,registrationName){var stateNode=inst.stateNode;if(null===stateNode)return null;var props=stateNode[internalPropsKey]||null;if(null===props)return null;stateNode=props[registrationName];switch(registrationName){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(props=!props.disabled)||(inst=inst.type,props=!("button"===inst||"input"===inst||"select"===inst||"textarea"===inst));inst=!props;break;default:inst=!1}if(inst)return null;if(stateNode&&"function"!=typeof stateNode)throw Error(formatProdErrorMessage(231,registrationName,typeof stateNode));return stateNode}var canUseDOM=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),passiveBrowserEventsSupported=!1;if(canUseDOM)try{var options={};Object.defineProperty(options,"passive",{get:function(){passiveBrowserEventsSupported=!0}});window.addEventListener("test",options,options);window.removeEventListener("test",options,options)}catch(e){passiveBrowserEventsSupported=!1}var root=null,startText=null,fallbackText=null;function getData(){if(fallbackText)return fallbackText;var start,startValue=startText,startLength=startValue.length,end,endValue="value"in root?root.value:root.textContent,endLength=endValue.length;for(start=0;start<startLength&&startValue[start]===endValue[start];start++);var minEnd=startLength-start;for(end=1;end<=minEnd&&startValue[startLength-end]===endValue[endLength-end];end++);return fallbackText=endValue.slice(start,1<end?1-end:void 0)}function getEventCharCode(nativeEvent){var keyCode=nativeEvent.keyCode;"charCode"in nativeEvent?(nativeEvent=nativeEvent.charCode,0===nativeEvent&&13===keyCode&&(nativeEvent=13)):nativeEvent=keyCode;10===nativeEvent&&(nativeEvent=13);return 32<=nativeEvent||13===nativeEvent?nativeEvent:0}function functionThatReturnsTrue(){return!0}function functionThatReturnsFalse(){return!1}function createSyntheticEvent(Interface){function SyntheticBaseEvent(reactName,reactEventType,targetInst,nativeEvent,nativeEventTarget){this._reactName=reactName;this._targetInst=targetInst;this.type=reactEventType;this.nativeEvent=nativeEvent;this.target=nativeEventTarget;this.currentTarget=null;for(var propName in Interface)Interface.hasOwnProperty(propName)&&(reactName=Interface[propName],this[propName]=reactName?reactName(nativeEvent):nativeEvent[propName]);this.isDefaultPrevented=(null!=nativeEvent.defaultPrevented?nativeEvent.defaultPrevented:!1===nativeEvent.returnValue)?functionThatReturnsTrue:functionThatReturnsFalse;this.isPropagationStopped=functionThatReturnsFalse;return this}assign(SyntheticBaseEvent.prototype,{preventDefault:function(){this.defaultPrevented=!0;var event=this.nativeEvent;event&&(event.preventDefault?event.preventDefault():"unknown"!=typeof event.returnValue&&(event.returnValue=!1),this.isDefaultPrevented=functionThatReturnsTrue)},stopPropagation:function(){var event=this.nativeEvent;event&&(event.stopPropagation?event.stopPropagation():"unknown"!=typeof event.cancelBubble&&(event.cancelBubble=!0),this.isPropagationStopped=functionThatReturnsTrue)},persist:function(){},isPersistent:functionThatReturnsTrue});return SyntheticBaseEvent}var EventInterface={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(event){return event.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},SyntheticEvent=createSyntheticEvent(EventInterface),UIEventInterface=assign({},EventInterface,{view:0,detail:0}),SyntheticUIEvent=createSyntheticEvent(UIEventInterface),lastMovementX,lastMovementY,lastMouseEvent,MouseEventInterface=assign({},UIEventInterface,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:getEventModifierState,button:0,buttons:0,relatedTarget:function(event){return void 0===event.relatedTarget?event.fromElement===event.srcElement?event.toElement:event.fromElement:event.relatedTarget},movementX:function(event){if("movementX"in event)return event.movementX;event!==lastMouseEvent&&(lastMouseEvent&&"mousemove"===event.type?(lastMovementX=event.screenX-lastMouseEvent.screenX,lastMovementY=event.screenY-lastMouseEvent.screenY):lastMovementY=lastMovementX=0,lastMouseEvent=event);return lastMovementX},movementY:function(event){return"movementY"in event?event.movementY:lastMovementY}}),SyntheticMouseEvent=createSyntheticEvent(MouseEventInterface),DragEventInterface=assign({},MouseEventInterface,{dataTransfer:0}),SyntheticDragEvent=createSyntheticEvent(DragEventInterface),FocusEventInterface=assign({},UIEventInterface,{relatedTarget:0}),SyntheticFocusEvent=createSyntheticEvent(FocusEventInterface),AnimationEventInterface=assign({},EventInterface,{animationName:0,elapsedTime:0,pseudoElement:0}),SyntheticAnimationEvent=createSyntheticEvent(AnimationEventInterface),ClipboardEventInterface=assign({},EventInterface,{clipboardData:function(event){return"clipboardData"in event?event.clipboardData:window.clipboardData}}),SyntheticClipboardEvent=createSyntheticEvent(ClipboardEventInterface),CompositionEventInterface=assign({},EventInterface,{data:0}),SyntheticCompositionEvent=createSyntheticEvent(CompositionEventInterface),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"},modifierKeyToProp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function modifierStateGetter(keyArg){var nativeEvent=this.nativeEvent;return nativeEvent.getModifierState?nativeEvent.getModifierState(keyArg):(keyArg=modifierKeyToProp[keyArg])?!!nativeEvent[keyArg]:!1}function getEventModifierState(){return modifierStateGetter}var KeyboardEventInterface=assign({},UIEventInterface,{key:function(nativeEvent){if(nativeEvent.key){var key=normalizeKey[nativeEvent.key]||nativeEvent.key;if("Unidentified"!==key)return key}return"keypress"===nativeEvent.type?(nativeEvent=getEventCharCode(nativeEvent),13===nativeEvent?"Enter":String.fromCharCode(nativeEvent)):"keydown"===nativeEvent.type||"keyup"===nativeEvent.type?translateToKey[nativeEvent.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:getEventModifierState,charCode:function(event){return"keypress"===event.type?getEventCharCode(event):0},keyCode:function(event){return"keydown"===event.type||"keyup"===event.type?event.keyCode:0},which:function(event){return"keypress"===event.type?getEventCharCode(event):"keydown"===event.type||"keyup"===event.type?event.keyCode:0}}),SyntheticKeyboardEvent=createSyntheticEvent(KeyboardEventInterface),PointerEventInterface=assign({},MouseEventInterface,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),SyntheticPointerEvent=createSyntheticEvent(PointerEventInterface),TouchEventInterface=assign({},UIEventInterface,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:getEventModifierState}),SyntheticTouchEvent=createSyntheticEvent(TouchEventInterface),TransitionEventInterface=assign({},EventInterface,{propertyName:0,elapsedTime:0,pseudoElement:0}),SyntheticTransitionEvent=createSyntheticEvent(TransitionEventInterface),WheelEventInterface=assign({},MouseEventInterface,{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:0,deltaMode:0}),SyntheticWheelEvent=createSyntheticEvent(WheelEventInterface),ToggleEventInterface=assign({},EventInterface,{newState:0,oldState:0}),SyntheticToggleEvent=createSyntheticEvent(ToggleEventInterface),END_KEYCODES=[9,13,27,32],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&&8<documentMode&&11>=documentMode),SPACEBAR_CHAR=String.fromCharCode(32),hasSpaceKeypress=!1;function isFallbackCompositionEnd(domEventName,nativeEvent){switch(domEventName){case"keyup":return -1!==END_KEYCODES.indexOf(nativeEvent.keyCode);case"keydown":return 229!==nativeEvent.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function getDataFromCustomEvent(nativeEvent){nativeEvent=nativeEvent.detail;return"object"==typeof nativeEvent&&"data"in nativeEvent?nativeEvent.data:null}var isComposing=!1;function getNativeBeforeInputChars(domEventName,nativeEvent){switch(domEventName){case"compositionend":return getDataFromCustomEvent(nativeEvent);case"keypress":if(32!==nativeEvent.which)return null;hasSpaceKeypress=!0;return SPACEBAR_CHAR;case"textInput":return domEventName=nativeEvent.data,domEventName===SPACEBAR_CHAR&&hasSpaceKeypress?null:domEventName;default:return null}}function getFallbackBeforeInputChars(domEventName,nativeEvent){if(isComposing)return"compositionend"===domEventName||!canUseCompositionEvent&&isFallbackCompositionEnd(domEventName,nativeEvent)?(domEventName=getData(),fallbackText=startText=root=null,isComposing=!1,domEventName):null;switch(domEventName){case"paste":return null;case"keypress":if(!(nativeEvent.ctrlKey||nativeEvent.altKey||nativeEvent.metaKey)||nativeEvent.ctrlKey&&nativeEvent.altKey){if(nativeEvent.char&&1<nativeEvent.char.length)return nativeEvent.char;if(nativeEvent.which)return String.fromCharCode(nativeEvent.which)}return null;case"compositionend":return useFallbackCompositionData&&"ko"!==nativeEvent.locale?null:nativeEvent.data;default:return null}}var 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"input"===nodeName?!!supportedInputTypes[elem.type]:"textarea"===nodeName}function createAndAccumulateChangeEvent(dispatchQueue,inst,nativeEvent,target){restoreTarget?restoreQueue?restoreQueue.push(target):restoreQueue=[target]:restoreTarget=target;inst=accumulateTwoPhaseListeners(inst,"onChange");0<inst.length&&(nativeEvent=new SyntheticEvent("onChange","change",null,nativeEvent,target),dispatchQueue.push({event:nativeEvent,listeners:inst}))}var activeElement$1=null,activeElementInst$1=null;function runEventInBatch(dispatchQueue){processDispatchQueue(dispatchQueue,0)}function getInstIfValueChanged(targetInst){var targetNode=getNodeFromInstance(targetInst);if(updateValueIfChanged(targetNode))return targetInst}function getTargetInstForChangeEvent(domEventName,targetInst){if("change"===domEventName)return targetInst}var isInputEventSupported=!1;if(canUseDOM){var JSCompiler_inline_result$jscomp$282;if(canUseDOM){var isSupported$jscomp$inline_417="oninput"in document;if(!isSupported$jscomp$inline_417){var element$jscomp$inline_418=document.createElement("div");element$jscomp$inline_418.setAttribute("oninput","return;");isSupported$jscomp$inline_417="function"==typeof element$jscomp$inline_418.oninput}JSCompiler_inline_result$jscomp$282=isSupported$jscomp$inline_417}else JSCompiler_inline_result$jscomp$282=!1;isInputEventSupported=JSCompiler_inline_result$jscomp$282&&(!document.documentMode||9<document.documentMode)}function stopWatchingForValueChange(){activeElement$1&&(activeElement$1.detachEvent("onpropertychange",handlePropertyChange),activeElementInst$1=activeElement$1=null)}function handlePropertyChange(nativeEvent){if("value"===nativeEvent.propertyName&&getInstIfValueChanged(activeElementInst$1)){var dispatchQueue=[];createAndAccumulateChangeEvent(dispatchQueue,activeElementInst$1,nativeEvent,getEventTarget(nativeEvent));batchedUpdates$1(runEventInBatch,dispatchQueue)}}function handleEventsForInputEventPolyfill(domEventName,target,targetInst){"focusin"===domEventName?(stopWatchingForValueChange(),activeElement$1=target,activeElementInst$1=targetInst,activeElement$1.attachEvent("onpropertychange",handlePropertyChange)):"focusout"===domEventName&&stopWatchingForValueChange()}function getTargetInstForInputEventPolyfill(domEventName){if("selectionchange"===domEventName||"keyup"===domEventName||"keydown"===domEventName)return getInstIfValueChanged(activeElementInst$1)}function getTargetInstForClickEvent(domEventName,targetInst){if("click"===domEventName)return getInstIfValueChanged(targetInst)}function getTargetInstForInputOrChangeEvent(domEventName,targetInst){if("input"===domEventName||"change"===domEventName)return getInstIfValueChanged(targetInst)}function is(x,y){return x===y&&(0!==x||1/x===1/y)||x!==x&&y!==y}var objectIs="function"==typeof Object.is?Object.is:is;function shallowEqual(objA,objB){if(objectIs(objA,objB))return!0;if("object"!=typeof objA||null===objA||"object"!=typeof objB||null===objB)return!1;var keysA=Object.keys(objA),keysB=Object.keys(objB);if(keysA.length!==keysB.length)return!1;for(keysB=0;keysB<keysA.length;keysB++){var currentKey=keysA[keysB];if(!hasOwnProperty.call(objB,currentKey)||!objectIs(objA[currentKey],objB[currentKey]))return!1}return!0}function getLeafNode(node){for(;node&&node.firstChild;)node=node.firstChild;return node}function getNodeForCharacterOffset(root,offset){var node=getLeafNode(root);root=0;for(var nodeEnd;node;){if(3===node.nodeType){nodeEnd=root+node.textContent.length;if(root<=offset&&nodeEnd>=offset)return{node:node,offset:offset-root};root=nodeEnd}a:{for(;node;){if(node.nextSibling){node=node.nextSibling;break a}node=node.parentNode}node=void 0}node=getLeafNode(node)}}function containsNode(outerNode,innerNode){return outerNode&&innerNode?outerNode===innerNode?!0:outerNode&&3===outerNode.nodeType?!1:innerNode&&3===innerNode.nodeType?containsNode(outerNode,innerNode.parentNode):"contains"in outerNode?outerNode.contains(innerNode):outerNode.compareDocumentPosition?!!(16&outerNode.compareDocumentPosition(innerNode)):!1:!1}function getActiveElementDeep(containerInfo){containerInfo=null!=containerInfo&&null!=containerInfo.ownerDocument&&null!=containerInfo.ownerDocument.defaultView?containerInfo.ownerDocument.defaultView:window;for(var element=getActiveElement(containerInfo.document);element instanceof containerInfo.HTMLIFrameElement;){try{var JSCompiler_inline_result="string"==typeof element.contentWindow.location.href}catch(err){JSCompiler_inline_result=!1}if(JSCompiler_inline_result)containerInfo=element.contentWindow;else break;element=getActiveElement(containerInfo.document)}return element}function hasSelectionCapabilities(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return nodeName&&("input"===nodeName&&("text"===elem.type||"search"===elem.type||"tel"===elem.type||"url"===elem.type||"password"===elem.type)||"textarea"===nodeName||"true"===elem.contentEditable)}var skipSelectionChangeEvent=canUseDOM&&"documentMode"in document&&11>=document.documentMode,activeElement=null,activeElementInst=null,lastSelection=null,mouseDown=!1;function constructSelectEvent(dispatchQueue,nativeEvent,nativeEventTarget){var doc=nativeEventTarget.window===nativeEventTarget?nativeEventTarget.document:9===nativeEventTarget.nodeType?nativeEventTarget:nativeEventTarget.ownerDocument;mouseDown||null==activeElement||activeElement!==getActiveElement(doc)||(doc=activeElement,"selectionStart"in doc&&hasSelectionCapabilities(doc)?doc={start:doc.selectionStart,end:doc.selectionEnd}:(doc=(doc.ownerDocument&&doc.ownerDocument.defaultView||window).getSelection(),doc={anchorNode:doc.anchorNode,anchorOffset:doc.anchorOffset,focusNode:doc.focusNode,focusOffset:doc.focusOffset}),lastSelection&&shallowEqual(lastSelection,doc)||(lastSelection=doc,doc=accumulateTwoPhaseListeners(activeElementInst,"onSelect"),0<doc.length&&(nativeEvent=new SyntheticEvent("onSelect","select",null,nativeEvent,nativeEventTarget),dispatchQueue.push({event:nativeEvent,listeners:doc}),nativeEvent.target=activeElement)))}function makePrefixMap(styleProp,eventName){var prefixes={};prefixes[styleProp.toLowerCase()]=eventName.toLowerCase();prefixes["Webkit"+styleProp]="webkit"+eventName;prefixes["Moz"+styleProp]="moz"+eventName;return prefixes}var vendorPrefixes={animationend:makePrefixMap("Animation","AnimationEnd"),animationiteration:makePrefixMap("Animation","AnimationIteration"),animationstart:makePrefixMap("Animation","AnimationStart"),transitionrun:makePrefixMap("Transition","TransitionRun"),transitionstart:makePrefixMap("Transition","TransitionStart"),transitioncancel:makePrefixMap("Transition","TransitionCancel"),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],styleProp;for(styleProp in prefixMap)if(prefixMap.hasOwnProperty(styleProp)&&styleProp in style)return prefixedEventNames[eventName]=prefixMap[styleProp];return eventName}var ANIMATION_END=getVendorPrefixedEventName("animationend"),ANIMATION_ITERATION=getVendorPrefixedEventName("animationiteration"),ANIMATION_START=getVendorPrefixedEventName("animationstart"),TRANSITION_RUN=getVendorPrefixedEventName("transitionrun"),TRANSITION_START=getVendorPrefixedEventName("transitionstart"),TRANSITION_CANCEL=getVendorPrefixedEventName("transitioncancel"),TRANSITION_END=getVendorPrefixedEventName("transitionend"),topLevelEventsToReactNames=new Map,simpleEventPluginEvents="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");simpleEventPluginEvents.push("scrollEnd");function registerSimpleEvent(domEventName,reactName){topLevelEventsToReactNames.set(domEventName,reactName);registerTwoPhaseEvent(reactName,[domEventName])}var CapturedStacks=new WeakMap;function createCapturedValueAtFiber(value,source){if("object"==typeof value&&null!==value){var existing=CapturedStacks.get(value);if(void 0!==existing)return existing;source={value:value,source:source,stack:getStackByFiberInDevAndProd(source)};CapturedStacks.set(value,source);return source}return{value:value,source:source,stack:getStackByFiberInDevAndProd(source)}}var concurrentQueues=[],concurrentQueuesIndex=0,concurrentlyUpdatedLanes=0;function finishQueueingConcurrentUpdates(){for(var endIndex=concurrentQueuesIndex,i=concurrentlyUpdatedLanes=concurrentQueuesIndex=0;i<endIndex;){var fiber=concurrentQueues[i];concurrentQueues[i++]=null;var queue=concurrentQueues[i];concurrentQueues[i++]=null;var update=concurrentQueues[i];concurrentQueues[i++]=null;var lane=concurrentQueues[i];concurrentQueues[i++]=null;if(null!==queue&&null!==update){var pending=queue.pending;null===pending?update.next=update:(update.next=pending.next,pending.next=update);queue.pending=update}0!==lane&&markUpdateLaneFromFiberToRoot(fiber,update,lane)}}function enqueueUpdate$1(fiber,queue,update,lane){concurrentQueues[concurrentQueuesIndex++]=fiber;concurrentQueues[concurrentQueuesIndex++]=queue;concurrentQueues[concurrentQueuesIndex++]=update;concurrentQueues[concurrentQueuesIndex++]=lane;concurrentlyUpdatedLanes|=lane;fiber.lanes|=lane;fiber=fiber.alternate;null!==fiber&&(fiber.lanes|=lane)}function enqueueConcurrentHookUpdate(fiber,queue,update,lane){enqueueUpdate$1(fiber,queue,update,lane);return getRootForUpdatedFiber(fiber)}function enqueueConcurrentRenderForLane(fiber,lane){enqueueUpdate$1(fiber,null,null,lane);return getRootForUpdatedFiber(fiber)}function markUpdateLaneFromFiberToRoot(sourceFiber,update,lane){sourceFiber.lanes|=lane;var alternate=sourceFiber.alternate;null!==alternate&&(alternate.lanes|=lane);for(var isHidden=!1,parent=sourceFiber.return;null!==parent;)parent.childLanes|=lane,alternate=parent.alternate,null!==alternate&&(alternate.childLanes|=lane),22===parent.tag&&(sourceFiber=parent.stateNode,null===sourceFiber||1&sourceFiber._visibility||(isHidden=!0)),sourceFiber=parent,parent=parent.return;return 3===sourceFiber.tag?(parent=sourceFiber.stateNode,isHidden&&null!==update&&(isHidden=31-clz32(lane),sourceFiber=parent.hiddenUpdates,alternate=sourceFiber[isHidden],null===alternate?sourceFiber[isHidden]=[update]:alternate.push(update),update.lane=0x20000000|lane),parent):null}function getRootForUpdatedFiber(sourceFiber){if(50<nestedUpdateCount)throw nestedUpdateCount=0,rootWithNestedUpdates=null,Error(formatProdErrorMessage(185));for(var parent=sourceFiber.return;null!==parent;)sourceFiber=parent,parent=sourceFiber.return;return 3===sourceFiber.tag?sourceFiber.stateNode:null}var emptyContextObject={};function FiberNode(tag,pendingProps,key,mode){this.tag=tag;this.key=key;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=pendingProps;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=mode;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function createFiberImplClass(tag,pendingProps,key,mode){return new FiberNode(tag,pendingProps,key,mode)}function shouldConstruct(Component){Component=Component.prototype;return!(!Component||!Component.isReactComponent)}function createWorkInProgress(current,pendingProps){var workInProgress=current.alternate;null===workInProgress?(workInProgress=createFiberImplClass(current.tag,pendingProps,current.key,current.mode),workInProgress.elementType=current.elementType,workInProgress.type=current.type,workInProgress.stateNode=current.stateNode,workInProgress.alternate=current,current.alternate=workInProgress):(workInProgress.pendingProps=pendingProps,workInProgress.type=current.type,workInProgress.flags=0,workInProgress.subtreeFlags=0,workInProgress.deletions=null);workInProgress.flags=0x3e00000¤t.flags;workInProgress.childLanes=current.childLanes;workInProgress.lanes=current.lanes;workInProgress.child=current.child;workInProgress.memoizedProps=current.memoizedProps;workInProgress.memoizedState=current.memoizedState;workInProgress.updateQueue=current.updateQueue;pendingProps=current.dependencies;workInProgress.dependencies=null===pendingProps?null:{lanes:pendingProps.lanes,firstContext:pendingProps.firstContext};workInProgress.sibling=current.sibling;workInProgress.index=current.index;workInProgress.ref=current.ref;workInProgress.refCleanup=current.refCleanup;return workInProgress}function resetWorkInProgress(workInProgress,renderLanes){workInProgress.flags&=0x3e00002;var current=workInProgress.alternate;null===current?(workInProgress.childLanes=0,workInProgress.lanes=renderLanes,workInProgress.child=null,workInProgress.subtreeFlags=0,workInProgress.memoizedProps=null,workInProgress.memoizedState=null,workInProgress.updateQueue=null,workInProgress.dependencies=null,workInProgress.stateNode=null):(workInProgress.childLanes=current.childLanes,workInProgress.lanes=current.lanes,workInProgress.child=current.child,workInProgress.subtreeFlags=0,workInProgress.deletions=null,workInProgress.memoizedProps=current.memoizedProps,workInProgress.memoizedState=current.memoizedState,workInProgress.updateQueue=current.updateQueue,workInProgress.type=current.type,renderLanes=current.dependencies,workInProgress.dependencies=null===renderLanes?null:{lanes:renderLanes.lanes,firstContext:renderLanes.firstContext});return workInProgress}function createFiberFromTypeAndProps(type,key,pendingProps,owner,mode,lanes){var fiberTag=0;owner=type;if("function"==typeof type)shouldConstruct(type)&&(fiberTag=1);else if("string"==typeof type)fiberTag=isHostHoistableType(type,pendingProps,contextStackCursor.current)?26:"html"===type||"head"===type||"body"===type?27:5;else a:switch(type){case REACT_ACTIVITY_TYPE:return type=createFiberImplClass(31,pendingProps,key,mode),type.elementType=REACT_ACTIVITY_TYPE,type.lanes=lanes,type;case REACT_FRAGMENT_TYPE:return createFiberFromFragment(pendingProps.children,mode,lanes,key);case REACT_STRICT_MODE_TYPE:fiberTag=8;mode|=24;break;case REACT_PROFILER_TYPE:return type=createFiberImplClass(12,pendingProps,key,2|mode),type.elementType=REACT_PROFILER_TYPE,type.lanes=lanes,type;case REACT_SUSPENSE_TYPE:return type=createFiberImplClass(13,pendingProps,key,mode),type.elementType=REACT_SUSPENSE_TYPE,type.lanes=lanes,type;case REACT_SUSPENSE_LIST_TYPE:return type=createFiberImplClass(19,pendingProps,key,mode),type.elementType=REACT_SUSPENSE_LIST_TYPE,type.lanes=lanes,type;default:if("object"==typeof type&&null!==type)switch(type.$$typeof){case REACT_PROVIDER_TYPE:case REACT_CONTEXT_TYPE:fiberTag=10;break a;case REACT_CONSUMER_TYPE:fiberTag=9;break a;case REACT_FORWARD_REF_TYPE:fiberTag=11;break a;case REACT_MEMO_TYPE:fiberTag=14;break a;case REACT_LAZY_TYPE:fiberTag=16;owner=null;break a}fiberTag=29;pendingProps=Error(formatProdErrorMessage(130,null===type?"null":typeof type,""));owner=null}key=createFiberImplClass(fiberTag,pendingProps,key,mode);key.elementType=type;key.type=owner;key.lanes=lanes;return key}function createFiberFromFragment(elements,mode,lanes,key){elements=createFiberImplClass(7,elements,key,mode);elements.lanes=lanes;return elements}function createFiberFromText(content,mode,lanes){content=createFiberImplClass(6,content,null,mode);content.lanes=lanes;return content}function createFiberFromPortal(portal,mode,lanes){mode=createFiberImplClass(4,null!==portal.children?portal.children:[],portal.key,mode);mode.lanes=lanes;mode.stateNode={containerInfo:portal.containerInfo,pendingChildren:null,implementation:portal.implementation};return mode}var forkStack=[],forkStackIndex=0,treeForkProvider=null,treeForkCount=0,idStack=[],idStackIndex=0,treeContextProvider=null,treeContextId=1,treeContextOverflow="";function pushTreeFork(workInProgress,totalChildren){forkStack[forkStackIndex++]=treeForkCount;forkStack[forkStackIndex++]=treeForkProvider;treeForkProvider=workInProgress;treeForkCount=totalChildren}function pushTreeId(workInProgress,totalChildren,index){idStack[idStackIndex++]=treeContextId;idStack[idStackIndex++]=treeContextOverflow;idStack[idStackIndex++]=treeContextProvider;treeContextProvider=workInProgress;var baseIdWithLeadingBit=treeContextId;workInProgress=treeContextOverflow;var baseLength=32-clz32(baseIdWithLeadingBit)-1;baseIdWithLeadingBit&=~(1<<baseLength);index+=1;var length=32-clz32(totalChildren)+baseLength;if(30<length){var numberOfOverflowBits=baseLength-baseLength%5;length=(baseIdWithLeadingBit&(1<<numberOfOverflowBits)-1).toString(32);baseIdWithLeadingBit>>=numberOfOverflowBits;baseLength-=numberOfOverflowBits;treeContextId=1<<32-clz32(totalChildren)+baseLength|index<<baseLength|baseIdWithLeadingBit;treeContextOverflow=length+workInProgress}else treeContextId=1<<length|index<<baseLength|baseIdWithLeadingBit,treeContextOverflow=workInProgress}function pushMaterializedTreeId(workInProgress){null!==workInProgress.return&&(pushTreeFork(workInProgress,1),pushTreeId(workInProgress,1,0))}function popTreeContext(workInProgress){for(;workInProgress===treeForkProvider;)treeForkProvider=forkStack[--forkStackIndex],forkStack[forkStackIndex]=null,treeForkCount=forkStack[--forkStackIndex],forkStack[forkStackIndex]=null;for(;workInProgress===treeContextProvider;)treeContextProvider=idStack[--idStackIndex],idStack[idStackIndex]=null,treeContextOverflow=idStack[--idStackIndex],idStack[idStackIndex]=null,treeContextId=idStack[--idStackIndex],idStack[idStackIndex]=null}var hydrationParentFiber=null,nextHydratableInstance=null,isHydrating=!1,hydrationErrors=null,rootOrSingletonContext=!1,HydrationMismatchException=Error(formatProdErrorMessage(519));function throwOnHydrationMismatch(fiber){var error=Error(formatProdErrorMessage(418,""));queueHydrationError(createCapturedValueAtFiber(error,fiber));throw HydrationMismatchException}function prepareToHydrateHostInstance(fiber){var instance=fiber.stateNode,type=fiber.type,props=fiber.memoizedProps;instance[internalInstanceKey]=fiber;instance[internalPropsKey]=props;switch(type){case"dialog":listenToNonDelegatedEvent("cancel",instance);listenToNonDelegatedEvent("close",instance);break;case"iframe":case"object":case"embed":listenToNonDelegatedEvent("load",instance);break;case"video":case"audio":for(type=0;type<mediaEventTypes.length;type++)listenToNonDelegatedEvent(mediaEventTypes[type],instance);break;case"source":listenToNonDelegatedEvent("error",instance);break;case"img":case"image":case"link":listenToNonDelegatedEvent("error",instance);listenToNonDelegatedEvent("load",instance);break;case"details":listenToNonDelegatedEvent("toggle",instance);break;case"input":listenToNonDelegatedEvent("invalid",instance);initInput(instance,props.value,props.defaultValue,props.checked,props.defaultChecked,props.type,props.name,!0);track(instance);break;case"select":listenToNonDelegatedEvent("invalid",instance);break;case"textarea":listenToNonDelegatedEvent("invalid",instance),initTextarea(instance,props.value,props.defaultValue,props.children),track(instance)}type=props.children;"string"!=typeof type&&"number"!=typeof type&&"bigint"!=typeof type||instance.textContent===""+type||!0===props.suppressHydrationWarning||checkForUnmatchedText(instance.textContent,type)?(null!=props.popover&&(listenToNonDelegatedEvent("beforetoggle",instance),listenToNonDelegatedEvent("toggle",instance)),null!=props.onScroll&&listenToNonDelegatedEvent("scroll",instance),null!=props.onScrollEnd&&listenToNonDelegatedEvent("scrollend",instance),null!=props.onClick&&(instance.onclick=noop$1),instance=!0):instance=!1;instance||throwOnHydrationMismatch(fiber)}function popToNextHostParent(fiber){for(hydrationParentFiber=fiber.return;hydrationParentFiber;)switch(hydrationParentFiber.tag){case 5:case 13:rootOrSingletonContext=!1;return;case 27:case 3:rootOrSingletonContext=!0;return;default:hydrationParentFiber=hydrationParentFiber.return}}function popHydrationState(fiber){if(fiber!==hydrationParentFiber)return!1;if(!isHydrating)return popToNextHostParent(fiber),isHydrating=!0,!1;var tag=fiber.tag,JSCompiler_temp;if(JSCompiler_temp=3!==tag&&27!==tag){if(JSCompiler_temp=5===tag)JSCompiler_temp=fiber.type,JSCompiler_temp=!("form"!==JSCompiler_temp&&"button"!==JSCompiler_temp)||shouldSetTextContent(fiber.type,fiber.memoizedProps);JSCompiler_temp=!JSCompiler_temp}JSCompiler_temp&&nextHydratableInstance&&throwOnHydrationMismatch(fiber);popToNextHostParent(fiber);if(13===tag){fiber=fiber.memoizedState;fiber=null!==fiber?fiber.dehydrated:null;if(!fiber)throw Error(formatProdErrorMessage(317));a:{fiber=fiber.nextSibling;for(tag=0;fiber;){if(8===fiber.nodeType)if(JSCompiler_temp=fiber.data,"/$"===JSCompiler_temp){if(0===tag){nextHydratableInstance=getNextHydratable(fiber.nextSibling);break a}tag--}else"$"!==JSCompiler_temp&&"$!"!==JSCompiler_temp&&"$?"!==JSCompiler_temp||tag++;fiber=fiber.nextSibling}nextHydratableInstance=null}}else 27===tag?(tag=nextHydratableInstance,isSingletonScope(fiber.type)?(fiber=previousHydratableOnEnteringScopedSingleton,previousHydratableOnEnteringScopedSingleton=null,nextHydratableInstance=fiber):nextHydratableInstance=tag):nextHydratableInstance=hydrationParentFiber?getNextHydratable(fiber.stateNode.nextSibling):null;return!0}function resetHydrationState(){nextHydratableInstance=hydrationParentFiber=null;isHydrating=!1}function upgradeHydrationErrorsToRecoverable(){var queuedErrors=hydrationErrors;null!==queuedErrors&&(null===workInProgressRootRecoverableErrors?workInProgressRootRecoverableErrors=queuedErrors:workInProgressRootRecoverableErrors.push.apply(workInProgressRootRecoverableErrors,queuedErrors),hydrationErrors=null);return queuedErrors}function queueHydrationError(error){null===hydrationErrors?hydrationErrors=[error]:hydrationErrors.push(error)}var valueCursor=createCursor(null),currentlyRenderingFiber$1=null,lastContextDependency=null;function pushProvider(providerFiber,context,nextValue){push(valueCursor,context._currentValue);context._currentValue=nextValue}function popProvider(context){context._currentValue=valueCursor.current;pop(valueCursor)}function scheduleContextWorkOnParentPath(parent,renderLanes,propagationRoot){for(;null!==parent;){var alternate=parent.alternate;(parent.childLanes&renderLanes)!==renderLanes?(parent.childLanes|=renderLanes,null!==alternate&&(alternate.childLanes|=renderLanes)):null!==alternate&&(alternate.childLanes&renderLanes)!==renderLanes&&(alternate.childLanes|=renderLanes);if(parent===propagationRoot)break;parent=parent.return}}function propagateContextChanges(workInProgress,contexts,renderLanes,forcePropagateEntireTree){var fiber=workInProgress.child;null!==fiber&&(fiber.return=workInProgress);for(;null!==fiber;){var list=fiber.dependencies;if(null!==list){var nextFiber=fiber.child;list=list.firstContext;a:for(;null!==list;){var dependency=list;list=fiber;for(var i=0;i<contexts.length;i++)if(dependency.context===contexts[i]){list.lanes|=renderLanes;dependency=list.alternate;null!==dependency&&(dependency.lanes|=renderLanes);scheduleContextWorkOnParentPath(list.return,renderLanes,workInProgress);forcePropagateEntireTree||(nextFiber=null);break a}list=dependency.next}}else if(18===fiber.tag){nextFiber=fiber.return;if(null===nextFiber)throw Error(formatProdErrorMessage(341));nextFiber.lanes|=renderLanes;list=nextFiber.alternate;null!==list&&(list.lanes|=renderLanes);scheduleContextWorkOnParentPath(nextFiber,renderLanes,workInProgress);nextFiber=null}else nextFiber=fiber.child;if(null!==nextFiber)nextFiber.return=fiber;else for(nextFiber=fiber;null!==nextFiber;){if(nextFiber===workInProgress){nextFiber=null;break}fiber=nextFiber.sibling;if(null!==fiber){fiber.return=nextFiber.return;nextFiber=fiber;break}nextFiber=nextFiber.return}fiber=nextFiber}}function propagateParentContextChanges(current,workInProgress,renderLanes,forcePropagateEntireTree){current=null;for(var parent=workInProgress,isInsidePropagationBailout=!1;null!==parent;){if(!isInsidePropagationBailout){if(0!==(524288&parent.flags))isInsidePropagationBailout=!0;else if(0!==(262144&parent.flags))break}if(10===parent.tag){var currentParent=parent.alternate;if(null===currentParent)throw Error(formatProdErrorMessage(387));currentParent=currentParent.memoizedProps;if(null!==currentParent){var context=parent.type;objectIs(parent.pendingProps.value,currentParent.value)||(null!==current?current.push(context):current=[context])}}else if(parent===hostTransitionProviderCursor.current){currentParent=parent.alternate;if(null===currentParent)throw Error(formatProdErrorMessage(387));currentParent.memoizedState.memoizedState!==parent.memoizedState.memoizedState&&(null!==current?current.push(HostTransitionContext):current=[HostTransitionContext])}parent=parent.return}null!==current&&propagateContextChanges(workInProgress,current,renderLanes,forcePropagateEntireTree);workInProgress.flags|=262144}function checkIfContextChanged(currentDependencies){for(currentDependencies=currentDependencies.firstContext;null!==currentDependencies;){if(!objectIs(currentDependencies.context._currentValue,currentDependencies.memoizedValue))return!0;currentDependencies=currentDependencies.next}return!1}function prepareToReadContext(workInProgress){currentlyRenderingFiber$1=workInProgress;lastContextDependency=null;workInProgress=workInProgress.dependencies;null!==workInProgress&&(workInProgress.firstContext=null)}function readContext(context){return readContextForConsumer(currentlyRenderingFiber$1,context)}function readContextDuringReconciliation(consumer,context){null===currentlyRenderingFiber$1&&prepareToReadContext(consumer);return readContextForConsumer(consumer,context)}function readContextForConsumer(consumer,context){var value=context._currentValue;context={context:context,memoizedValue:value,next:null};if(null===lastContextDependency){if(null===consumer)throw Error(formatProdErrorMessage(308));lastContextDependency=context;consumer.dependencies={lanes:0,firstContext:context};consumer.flags|=524288}else lastContextDependency=lastContextDependency.next=context;return value}var AbortControllerLocal="undefined"!=typeof AbortController?AbortController:function(){var listeners=[],signal=this.signal={aborted:!1,addEventListener:function(type,listener){listeners.push(listener)}};this.abort=function(){signal.aborted=!0;listeners.forEach(function(listener){return listener()})}},scheduleCallback$2=Scheduler.unstable_scheduleCallback,NormalPriority=Scheduler.unstable_NormalPriority,CacheContext={$$typeof:REACT_CONTEXT_TYPE,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function createCache(){return{controller:new AbortControllerLocal,data:new Map,refCount:0}}function releaseCache(cache){cache.refCount--;0===cache.refCount&&scheduleCallback$2(NormalPriority,function(){cache.controller.abort()})}var currentEntangledListeners=null,currentEntangledPendingCount=0,currentEntangledLane=0,currentEntangledActionThenable=null;function entangleAsyncAction(transition,thenable){if(null===currentEntangledListeners){var entangledListeners=currentEntangledListeners=[];currentEntangledPendingCount=0;currentEntangledLane=requestTransitionLane();currentEntangledActionThenable={status:"pending",value:void 0,then:function(resolve){entangledListeners.push(resolve)}}}currentEntangledPendingCount++;thenable.then(pingEngtangledActionScope,pingEngtangledActionScope);return thenable}function pingEngtangledActionScope(){if(0===--currentEntangledPendingCount&&null!==currentEntangledListeners){null!==currentEntangledActionThenable&&(currentEntangledActionThenable.status="fulfilled");var listeners=currentEntangledListeners;currentEntangledListeners=null;currentEntangledLane=0;currentEntangledActionThenable=null;for(var i=0;i<listeners.length;i++)(0,listeners[i])()}}function chainThenableValue(thenable,result){var listeners=[],thenableWithOverride={status:"pending",value:null,reason:null,then:function(resolve){listeners.push(resolve)}};thenable.then(function(){thenableWithOverride.status="fulfilled";thenableWithOverride.value=result;for(var i=0;i<listeners.length;i++)(0,listeners[i])(result)},function(error){thenableWithOverride.status="rejected";thenableWithOverride.reason=error;for(error=0;error<listeners.length;error++)(0,listeners[error])(void 0)});return thenableWithOverride}var prevOnStartTransitionFinish=ReactSharedInternals.S;ReactSharedInternals.S=function(transition,returnValue){"object"==typeof returnValue&&null!==returnValue&&"function"==typeof returnValue.then&&entangleAsyncAction(transition,returnValue);null!==prevOnStartTransitionFinish&&prevOnStartTransitionFinish(transition,returnValue)};var resumedCache=createCursor(null);function peekCacheFromPool(){var cacheResumedFromPreviousRender=resumedCache.current;return null!==cacheResumedFromPreviousRender?cacheResumedFromPreviousRender:workInProgressRoot.pooledCache}function pushTransition(offscreenWorkInProgress,prevCachePool){null===prevCachePool?push(resumedCache,resumedCache.current):push(resumedCache,prevCachePool.pool)}function getSuspendedCache(){var cacheFromPool=peekCacheFromPool();return null===cacheFromPool?null:{parent:CacheContext._currentValue,pool:cacheFromPool}}var SuspenseException=Error(formatProdErrorMessage(460)),SuspenseyCommitException=Error(formatProdErrorMessage(474)),SuspenseActionException=Error(formatProdErrorMessage(542)),noopSuspenseyCommitThenable={then:function(){}};function isThenableResolved(thenable){thenable=thenable.status;return"fulfilled"===thenable||"rejected"===thenable}function noop$3(){}function trackUsedThenable(thenableState,thenable,index){index=thenableState[index];void 0===index?thenableState.push(thenable):index!==thenable&&(thenable.then(noop$3,noop$3),thenable=index);switch(thenable.status){case"fulfilled":return thenable.value;case"rejected":throw thenableState=thenable.reason,checkIfUseWrappedInAsyncCatch(thenableState),thenableState;default:if("string"==typeof thenable.status)thenable.then(noop$3,noop$3);else{thenableState=workInProgressRoot;if(null!==thenableState&&100<thenableState.shellSuspendCounter)throw Error(formatProdErrorMessage(482));thenableState=thenable;thenableState.status="pending";thenableState.then(function(fulfilledValue){if("pending"===thenable.status){var fulfilledThenable=thenable;fulfilledThenable.status="fulfilled";fulfilledThenable.value=fulfilledValue}},function(error){if("pending"===thenable.status){var rejectedThenable=thenable;rejectedThenable.status="rejected";rejectedThenable.reason=error}})}switch(thenable.status){case"fulfilled":return thenable.value;case"rejected":throw thenableState=thenable.reason,checkIfUseWrappedInAsyncCatch(thenableState),thenableState}suspendedThenable=thenable;throw SuspenseException}}var suspendedThenable=null;function getSuspendedThenable(){if(null===suspendedThenable)throw Error(formatProdErrorMessage(459));var thenable=suspendedThenable;suspendedThenable=null;return thenable}function checkIfUseWrappedInAsyncCatch(rejectedReason){if(rejectedReason===SuspenseException||rejectedReason===SuspenseActionException)throw Error(formatProdErrorMessage(483))}var hasForceUpdate=!1;function initializeUpdateQueue(fiber){fiber.updateQueue={baseState:fiber.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function cloneUpdateQueue(current,workInProgress){current=current.updateQueue;workInProgress.updateQueue===current&&(workInProgress.updateQueue={baseState:current.baseState,firstBaseUpdate:current.firstBaseUpdate,lastBaseUpdate:current.lastBaseUpdate,shared:current.shared,callbacks:null})}function createUpdate(lane){return{lane:lane,tag:0,payload:null,callback:null,next:null}}function enqueueUpdate(fiber,update,lane){var updateQueue=fiber.updateQueue;if(null===updateQueue)return null;updateQueue=updateQueue.shared;if(0!==(2&executionContext)){var pending=updateQueue.pending;null===pending?update.next=update:(update.next=pending.next,pending.next=update);updateQueue.pending=update;update=getRootForUpdatedFiber(fiber);markUpdateLaneFromFiberToRoot(fiber,null,lane);return update}enqueueUpdate$1(fiber,updateQueue,update,lane);return getRootForUpdatedFiber(fiber)}function entangleTransitions(root,fiber,lane){fiber=fiber.updateQueue;if(null!==fiber&&(fiber=fiber.shared,0!==(4194048&lane))){var queueLanes=fiber.lanes;queueLanes&=root.pendingLanes;lane|=queueLanes;fiber.lanes=lane;markRootEntangled(root,lane)}}function enqueueCapturedUpdate(workInProgress,capturedUpdate){var queue=workInProgress.updateQueue,current=workInProgress.alternate;if(null!==current&&(current=current.updateQueue,queue===current)){var newFirst=null,newLast=null;queue=queue.firstBaseUpdate;if(null!==queue){do{var clone={lane:queue.lane,tag:queue.tag,payload:queue.payload,callback:null,next:null};null===newLast?newFirst=newLast=clone:newLast=newLast.next=clone;queue=queue.next}while(null!==queue);null===newLast?newFirst=newLast=capturedUpdate:newLast=newLast.next=capturedUpdate}else newFirst=newLast=capturedUpdate;queue={baseState:current.baseState,firstBaseUpdate:newFirst,lastBaseUpdate:newLast,shared:current.shared,callbacks:current.callbacks};workInProgress.updateQueue=queue;return}workInProgress=queue.lastBaseUpdate;null===workInProgress?queue.firstBaseUpdate=capturedUpdate:workInProgress.next=capturedUpdate;queue.lastBaseUpdate=capturedUpdate}var didReadFromEntangledAsyncAction=!1;function suspendIfUpdateReadFromEntangledAsyncAction(){if(didReadFromEntangledAsyncAction){var entangledActionThenable=currentEntangledActionThenable;if(null!==entangledActionThenable)throw entangledActionThenable}}function processUpdateQueue(workInProgress$jscomp$0,props,instance$jscomp$0,renderLanes){didReadFromEntangledAsyncAction=!1;var queue=workInProgress$jscomp$0.updateQueue;hasForceUpdate=!1;var firstBaseUpdate=queue.firstBaseUpdate,lastBaseUpdate=queue.lastBaseUpdate,pendingQueue=queue.shared.pending;if(null!==pendingQueue){queue.shared.pending=null;var lastPendingUpdate=pendingQueue,firstPendingUpdate=lastPendingUpdate.next;lastPendingUpdate.next=null;null===lastBaseUpdate?firstBaseUpdate=firstPendingUpdate:lastBaseUpdate.next=firstPendingUpdate;lastBaseUpdate=lastPendingUpdate;var current=workInProgress$jscomp$0.alternate;null!==current&&(current=current.updateQueue,pendingQueue=current.lastBaseUpdate,pendingQueue!==lastBaseUpdate&&(null===pendingQueue?current.firstBaseUpdate=firstPendingUpdate:pendingQueue.next=firstPendingUpdate,current.lastBaseUpdate=lastPendingUpdate))}if(null!==firstBaseUpdate){var newState=queue.baseState;lastBaseUpdate=0;current=firstPendingUpdate=lastPendingUpdate=null;pendingQueue=firstBaseUpdate;do{var updateLane=-0x20000001&pendingQueue.lane,isHiddenUpdate=updateLane!==pendingQueue.lane;if(isHiddenUpdate?(workInProgressRootRenderLanes&updateLane)===updateLane:(renderLanes&updateLane)===updateLane){0!==updateLane&&updateLane===currentEntangledLane&&(didReadFromEntangledAsyncAction=!0);null!==current&&(current=current.next={lane:0,tag:pendingQueue.tag,payload:pendingQueue.payload,callback:null,next:null});a:{var workInProgress=workInProgress$jscomp$0,update=pendingQueue;updateLane=props;var instance=instance$jscomp$0;switch(update.tag){case 1:workInProgress=update.payload;if("function"==typeof workInProgress){newState=workInProgress.call(instance,newState,updateLane);break a}newState=workInProgress;break a;case 3:workInProgress.flags=-65537&workInProgress.flags|128;case 0:workInProgress=update.payload;updateLane="function"==typeof workInProgress?workInProgress.call(instance,newState,updateLane):workInProgress;if(null==updateLane)break a;newState=assign({},newState,updateLane);break a;case 2:hasForceUpdate=!0}}updateLane=pendingQueue.callback;null!==updateLane&&(workInProgress$jscomp$0.flags|=64,isHiddenUpdate&&(workInProgress$jscomp$0.flags|=8192),isHiddenUpdate=queue.callbacks,null===isHiddenUpdate?queue.callbacks=[updateLane]:isHiddenUpdate.push(updateLane))}else isHiddenUpdate={lane:updateLane,tag:pendingQueue.tag,payload:pendingQueue.payload,callback:pendingQueue.callback,next:null},null===current?(firstPendingUpdate=current=isHiddenUpdate,lastPendingUpdate=newState):current=current.next=isHiddenUpdate,lastBaseUpdate|=updateLane;pendingQueue=pendingQueue.next;if(null===pendingQueue)if(pendingQueue=queue.shared.pending,null===pendingQueue)break;else isHiddenUpdate=pendingQueue,pendingQueue=isHiddenUpdate.next,isHiddenUpdate.next=null,queue.lastBaseUpdate=isHiddenUpdate,queue.shared.pending=null}while(1);null===current&&(lastPendingUpdate=newState);queue.baseState=lastPendingUpdate;queue.firstBaseUpdate=firstPendingUpdate;queue.lastBaseUpdate=current;null===firstBaseUpdate&&(queue.shared.lanes=0);workInProgressRootSkippedLanes|=lastBaseUpdate;workInProgress$jscomp$0.lanes=lastBaseUpdate;workInProgress$jscomp$0.memoizedState=newState}}function callCallback(callback,context){if("function"!=typeof callback)throw Error(formatProdErrorMessage(191,callback));callback.call(context)}function commitCallbacks(updateQueue,context){var callbacks=updateQueue.callbacks;if(null!==callbacks)for(updateQueue.callbacks=null,updateQueue=0;updateQueue<callbacks.length;updateQueue++)callCallback(callbacks[updateQueue],context)}var currentTreeHiddenStackCursor=createCursor(null),prevEntangledRenderLanesCursor=createCursor(0);function pushHiddenContext(fiber,context){fiber=entangledRenderLanes;push(prevEntangledRenderLanesCursor,fiber);push(currentTreeHiddenStackCursor,context);entangledRenderLanes=fiber|context.baseLanes}function reuseHiddenContextOnStack(){push(prevEntangledRenderLanesCursor,entangledRenderLanes);push(currentTreeHiddenStackCursor,currentTreeHiddenStackCursor.current)}function popHiddenContext(){entangledRenderLanes=prevEntangledRenderLanesCursor.current;pop(currentTreeHiddenStackCursor);pop(prevEntangledRenderLanesCursor)}var renderLanes=0,currentlyRenderingFiber=null,currentHook=null,workInProgressHook=null,didScheduleRenderPhaseUpdate=!1,didScheduleRenderPhaseUpdateDuringThisPass=!1,shouldDoubleInvokeUserFnsInHooksDEV=!1,localIdCounter=0,thenableIndexCounter$1=0,thenableState$1=null,globalClientIdCounter=0;function throwInvalidHookError(){throw Error(formatProdErrorMessage(321))}function areHookInputsEqual(nextDeps,prevDeps){if(null===prevDeps)return!1;for(var i=0;i<prevDeps.length&&i<nextDeps.length;i++)if(!objectIs(nextDeps[i],prevDeps[i]))return!1;return!0}function renderWithHooks(current,workInProgress,Component,props,secondArg,nextRenderLanes){renderLanes=nextRenderLanes;currentlyRenderingFiber=workInProgress;workInProgress.memoizedState=null;workInProgress.updateQueue=null;workInProgress.lanes=0;ReactSharedInternals.H=null===current||null===current.memoizedState?HooksDispatcherOnMount:HooksDispatcherOnUpdate;shouldDoubleInvokeUserFnsInHooksDEV=!1;nextRenderLanes=Component(props,secondArg);shouldDoubleInvokeUserFnsInHooksDEV=!1;didScheduleRenderPhaseUpdateDuringThisPass&&(nextRenderLanes=renderWithHooksAgain(workInProgress,Component,props,secondArg));finishRenderingHooks(current);return nextRenderLanes}function finishRenderingHooks(current){ReactSharedInternals.H=ContextOnlyDispatcher;var didRenderTooFewHooks=null!==currentHook&&null!==currentHook.next;renderLanes=0;workInProgressHook=currentHook=currentlyRenderingFiber=null;didScheduleRenderPhaseUpdate=!1;thenableIndexCounter$1=0;thenableState$1=null;if(didRenderTooFewHooks)throw Error(formatProdErrorMessage(300));null===current||didReceiveUpdate||(current=current.dependencies,null!==current&&checkIfContextChanged(current)&&(didReceiveUpdate=!0))}function renderWithHooksAgain(workInProgress,Component,props,secondArg){currentlyRenderingFiber=workInProgress;var numberOfReRenders=0;do{didScheduleRenderPhaseUpdateDuringThisPass&&(thenableState$1=null);thenableIndexCounter$1=0;didScheduleRenderPhaseUpdateDuringThisPass=!1;if(25<=numberOfReRenders)throw Error(formatProdErrorMessage(301));numberOfReRenders+=1;workInProgressHook=currentHook=null;if(null!=workInProgress.updateQueue){var children=workInProgress.updateQueue;children.lastEffect=null;children.events=null;children.stores=null;null!=children.memoCache&&(children.memoCache.index=0)}ReactSharedInternals.H=HooksDispatcherOnRerender;children=Component(props,secondArg)}while(didScheduleRenderPhaseUpdateDuringThisPass);return children}function TransitionAwareHostComponent(){var dispatcher=ReactSharedInternals.H,maybeThenable=dispatcher.useState()[0];maybeThenable="function"==typeof maybeThenable.then?useThenable(maybeThenable):maybeThenable;dispatcher=dispatcher.useState()[0];(null!==currentHook?currentHook.memoizedState:null)!==dispatcher&&(currentlyRenderingFiber.flags|=1024);return maybeThenable}function checkDidRenderIdHook(){var didRenderIdHook=0!==localIdCounter;localIdCounter=0;return didRenderIdHook}function bailoutHooks(current,workInProgress,lanes){workInProgress.updateQueue=current.updateQueue;workInProgress.flags&=-2053;current.lanes&=~lanes}function resetHooksOnUnwind(workInProgress){if(didScheduleRenderPhaseUpdate){for(workInProgress=workInProgress.memoizedState;null!==workInProgress;){var queue=workInProgress.queue;null!==queue&&(queue.pending=null);workInProgress=workInProgress.next}didScheduleRenderPhaseUpdate=!1}renderLanes=0;workInProgressHook=currentHook=currentlyRenderingFiber=null;didScheduleRenderPhaseUpdateDuringThisPass=!1;thenableIndexCounter$1=localIdCounter=0;thenableState$1=null}function mountWorkInProgressHook(){var hook={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===workInProgressHook?currentlyRenderingFiber.memoizedState=workInProgressHook=hook:workInProgressHook=workInProgressHook.next=hook;return workInProgressHook}function updateWorkInProgressHook(){if(null===currentHook){var nextCurrentHook=currentlyRenderingFiber.alternate;nextCurrentHook=null!==nextCurrentHook?nextCurrentHook.memoizedState:null}else nextCurrentHook=currentHook.next;var nextWorkInProgressHook=null===workInProgressHook?currentlyRenderingFiber.memoizedState:workInProgressHook.next;if(null!==nextWorkInProgressHook)workInProgressHook=nextWorkInProgressHook,currentHook=nextCurrentHook;else{if(null===nextCurrentHook){if(null===currentlyRenderingFiber.alternate)throw Error(formatProdErrorMessage(467));throw Error(formatProdErrorMessage(310))}currentHook=nextCurrentHook;nextCurrentHook={memoizedState:currentHook.memoizedState,baseState:currentHook.baseState,baseQueue:currentHook.baseQueue,queue:currentHook.queue,next:null};null===workInProgressHook?currentlyRenderingFiber.memoizedState=workInProgressHook=nextCurrentHook:workInProgressHook=workInProgressHook.next=nextCurrentHook}return workInProgressHook}function createFunctionComponentUpdateQueue(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function useThenable(thenable){var index=thenableIndexCounter$1;thenableIndexCounter$1+=1;null===thenableState$1&&(thenableState$1=[]);thenable=trackUsedThenable(thenableState$1,thenable,index);index=currentlyRenderingFiber;null===(null===workInProgressHook?index.memoizedState:workInProgressHook.next)&&(index=index.alternate,ReactSharedInternals.H=null===index||null===index.memoizedState?HooksDispatcherOnMount:HooksDispatcherOnUpdate);return thenable}function use(usable){if(null!==usable&&"object"==typeof usable){if("function"==typeof usable.then)return useThenable(usable);if(usable.$$typeof===REACT_CONTEXT_TYPE)return readContext(usable)}throw Error(formatProdErrorMessage(438,String(usable)))}function useMemoCache(size){var memoCache=null,updateQueue=currentlyRenderingFiber.updateQueue;null!==updateQueue&&(memoCache=updateQueue.memoCache);if(null==memoCache){var current=currentlyRenderingFiber.alternate;null!==current&&(current=current.updateQueue,null!==current&&(current=current.memoCache,null!=current&&(memoCache={data:current.data.map(function(array){return array.slice()}),index:0})))}null==memoCache&&(memoCache={data:[],index:0});null===updateQueue&&(updateQueue=createFunctionComponentUpdateQueue(),currentlyRenderingFiber.updateQueue=updateQueue);updateQueue.memoCache=memoCache;updateQueue=memoCache.data[memoCache.index];if(void 0===updateQueue)for(updateQueue=memoCache.data[memoCache.index]=Array(size),current=0;current<size;current++)updateQueue[current]=REACT_MEMO_CACHE_SENTINEL;memoCache.index++;return updateQueue}function basicStateReducer(state,action){return"function"==typeof action?action(state):action}function updateReducer(reducer){var hook=updateWorkInProgressHook();return updateReducerImpl(hook,currentHook,reducer)}function updateReducerImpl(hook,current,reducer){var queue=hook.queue;if(null===queue)throw Error(formatProdErrorMessage(311));queue.lastRenderedReducer=reducer;var baseQueue=hook.baseQueue,pendingQueue=queue.pending;if(null!==pendingQueue){if(null!==baseQueue){var baseFirst=baseQueue.next;baseQueue.next=pendingQueue.next;pendingQueue.next=baseFirst}current.baseQueue=baseQueue=pendingQueue;queue.pending=null}pendingQueue=hook.baseState;if(null===baseQueue)hook.memoizedState=pendingQueue;else{current=baseQueue.next;var newBaseQueueFirst=baseFirst=null,newBaseQueueLast=null,update=current,didReadFromEntangledAsyncAction$32=!1;do{var updateLane=-0x20000001&update.lane;if(updateLane!==update.lane?(workInProgressRootRenderLanes&updateLane)===updateLane:(renderLanes&updateLane)===updateLane){var revertLane=update.revertLane;if(0===revertLane)null!==newBaseQueueLast&&(newBaseQueueLast=newBaseQueueLast.next={lane:0,revertLane:0,action:update.action,hasEagerState:update.hasEagerState,eagerState:update.eagerState,next:null}),updateLane===currentEntangledLane&&(didReadFromEntangledAsyncAction$32=!0);else if((renderLanes&revertLane)===revertLane){update=update.next;revertLane===currentEntangledLane&&(didReadFromEntangledAsyncAction$32=!0);continue}else updateLane={lane:0,revertLane:update.revertLane,action:update.action,hasEagerState:update.hasEagerState,eagerState:update.eagerState,next:null},null===newBaseQueueLast?(newBaseQueueFirst=newBaseQueueLast=updateLane,baseFirst=pendingQueue):newBaseQueueLast=newBaseQueueLast.next=updateLane,currentlyRenderingFiber.lanes|=revertLane,workInProgressRootSkippedLanes|=revertLane;updateLane=update.action;shouldDoubleInvokeUserFnsInHooksDEV&&reducer(pendingQueue,updateLane);pendingQueue=update.hasEagerState?update.eagerState:reducer(pendingQueue,updateLane)}else revertLane={lane:updateLane,revertLane:update.revertLane,action:update.action,hasEagerState:update.hasEagerState,eagerState:update.eagerState,next:null},null===newBaseQueueLast?(newBaseQueueFirst=newBaseQueueLast=revertLane,baseFirst=pendingQueue):newBaseQueueLast=newBaseQueueLast.next=revertLane,currentlyRenderingFiber.lanes|=updateLane,workInProgressRootSkippedLanes|=updateLane;update=update.next}while(null!==update&&update!==current);null===newBaseQueueLast?baseFirst=pendingQueue:newBaseQueueLast.next=newBaseQueueFirst;if(!objectIs(pendingQueue,hook.memoizedState)&&(didReceiveUpdate=!0,didReadFromEntangledAsyncAction$32&&(reducer=currentEntangledActionThenable,null!==reducer)))throw reducer;hook.memoizedState=pendingQueue;hook.baseState=baseFirst;hook.baseQueue=newBaseQueueLast;queue.lastRenderedState=pendingQueue}null===baseQueue&&(queue.lanes=0);return[hook.memoizedState,queue.dispatch]}function rerenderReducer(reducer){var hook=updateWorkInProgressHook(),queue=hook.queue;if(null===queue)throw Error(formatProdErrorMessage(311));queue.lastRenderedReducer=reducer;var dispatch=queue.dispatch,lastRenderPhaseUpdate=queue.pending,newState=hook.memoizedState;if(null!==lastRenderPhaseUpdate){queue.pending=null;var update=lastRenderPhaseUpdate=lastRenderPhaseUpdate.next;do newState=reducer(newState,update.action),update=update.next;while(update!==lastRenderPhaseUpdate);objectIs(newState,hook.memoizedState)||(didReceiveUpdate=!0);hook.memoizedState=newState;null===hook.baseQueue&&(hook.baseState=newState);queue.lastRenderedState=newState}return[newState,dispatch]}function updateSyncExternalStore(subscribe,getSnapshot,getServerSnapshot){var fiber=currentlyRenderingFiber,hook=updateWorkInProgressHook(),isHydrating$jscomp$0=isHydrating;if(isHydrating$jscomp$0){if(void 0===getServerSnapshot)throw Error(formatProdErrorMessage(407));getServerSnapshot=getServerSnapshot()}else getServerSnapshot=getSnapshot();var snapshotChanged=!objectIs((currentHook||hook).memoizedState,getServerSnapshot);snapshotChanged&&(hook.memoizedState=getServerSnapshot,didReceiveUpdate=!0);hook=hook.queue;var create=subscribeToStore.bind(null,fiber,hook,subscribe);updateEffectImpl(2048,8,create,[subscribe]);if(hook.getSnapshot!==getSnapshot||snapshotChanged||null!==workInProgressHook&&1&workInProgressHook.memoizedState.tag){fiber.flags|=2048;pushSimpleEffect(9,createEffectInstance(),updateStoreInstance.bind(null,fiber,hook,getServerSnapshot,getSnapshot),null);if(null===workInProgressRoot)throw Error(formatProdErrorMessage(349));isHydrating$jscomp$0||0!==(124&renderLanes)||pushStoreConsistencyCheck(fiber,getSnapshot,getServerSnapshot)}return getServerSnapshot}function pushStoreConsistencyCheck(fiber,getSnapshot,renderedSnapshot){fiber.flags|=16384;fiber={getSnapshot:getSnapshot,value:renderedSnapshot};getSnapshot=currentlyRenderingFiber.updateQueue;null===getSnapshot?(getSnapshot=createFunctionComponentUpdateQueue(),currentlyRenderingFiber.updateQueue=getSnapshot,getSnapshot.stores=[fiber]):(renderedSnapshot=getSnapshot.stores,null===renderedSnapshot?getSnapshot.stores=[fiber]:renderedSnapshot.push(fiber))}function updateStoreInstance(fiber,inst,nextSnapshot,getSnapshot){inst.value=nextSnapshot;inst.getSnapshot=getSnapshot;checkIfSnapshotChanged(inst)&&forceStoreRerender(fiber)}function subscribeToStore(fiber,inst,subscribe){return subscribe(function(){checkIfSnapshotChanged(inst)&&forceStoreRerender(fiber)})}function checkIfSnapshotChanged(inst){var latestGetSnapshot=inst.getSnapshot;inst=inst.value;try{var nextValue=latestGetSnapshot();return!objectIs(inst,nextValue)}catch(error){return!0}}function forceStoreRerender(fiber){var root=enqueueConcurrentRenderForLane(fiber,2);null!==root&&scheduleUpdateOnFiber(root,fiber,2)}function mountStateImpl(initialState){var hook=mountWorkInProgressHook();if("function"==typeof initialState){var initialStateInitializer=initialState;initialState=initialStateInitializer();if(shouldDoubleInvokeUserFnsInHooksDEV){setIsStrictModeForDevtools(!0);try{initialStateInitializer()}finally{setIsStrictModeForDevtools(!1)}}}hook.memoizedState=hook.baseState=initialState;hook.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:basicStateReducer,lastRenderedState:initialState};return hook}function updateOptimisticImpl(hook,current,passthrough,reducer){hook.baseState=passthrough;return updateReducerImpl(hook,currentHook,"function"==typeof reducer?reducer:basicStateReducer)}function dispatchActionState(fiber,actionQueue,setPendingState,setState,payload){if(isRenderPhaseUpdate(fiber))throw Error(formatProdErrorMessage(485));fiber=actionQueue.action;if(null!==fiber){var actionNode={payload:payload,action:fiber,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(listener){actionNode.listeners.push(listener)}};null!==ReactSharedInternals.T?setPendingState(!0):actionNode.isTransition=!1;setState(actionNode);setPendingState=actionQueue.pending;null===setPendingState?(actionNode.next=actionQueue.pending=actionNode,runActionStateAction(actionQueue,actionNode)):(actionNode.next=setPendingState.next,actionQueue.pending=setPendingState.next=actionNode)}}function runActionStateAction(actionQueue,node){var action=node.action,payload=node.payload,prevState=actionQueue.state;if(node.isTransition){var prevTransition=ReactSharedInternals.T,currentTransition={};ReactSharedInternals.T=currentTransition;try{var returnValue=action(prevState,payload),onStartTransitionFinish=ReactSharedInternals.S;null!==onStartTransitionFinish&&onStartTransitionFinish(currentTransition,returnValue);handleActionReturnValue(actionQueue,node,returnValue)}catch(error){onActionError(actionQueue,node,error)}finally{ReactSharedInternals.T=prevTransition}}else try{prevTransition=action(prevState,payload),handleActionReturnValue(actionQueue,node,prevTransition)}catch(error$38){onActionError(actionQueue,node,error$38)}}function handleActionReturnValue(actionQueue,node,returnValue){null!==returnValue&&"object"==typeof returnValue&&"function"==typeof returnValue.then?returnValue.then(function(nextState){onActionSuccess(actionQueue,node,nextState)},function(error){return onActionError(actionQueue,node,error)}):onActionSuccess(actionQueue,node,returnValue)}function onActionSuccess(actionQueue,actionNode,nextState){actionNode.status="fulfilled";actionNode.value=nextState;notifyActionListeners(actionNode);actionQueue.state=nextState;actionNode=actionQueue.pending;null!==actionNode&&(nextState=actionNode.next,nextState===actionNode?actionQueue.pending=null:(nextState=nextState.next,actionNode.next=nextState,runActionStateAction(actionQueue,nextState)))}function onActionError(actionQueue,actionNode,error){var last=actionQueue.pending;actionQueue.pending=null;if(null!==last){last=last.next;do actionNode.status="rejected",actionNode.reason=error,notifyActionListeners(actionNode),actionNode=actionNode.next;while(actionNode!==last)}actionQueue.action=null}function notifyActionListeners(actionNode){actionNode=actionNode.listeners;for(var i=0;i<actionNode.length;i++)(0,actionNode[i])()}function actionStateReducer(oldState,newState){return newState}function mountActionState(action,initialStateProp){if(isHydrating){var ssrFormState=workInProgressRoot.formState;if(null!==ssrFormState){a:{var JSCompiler_inline_result=currentlyRenderingFiber;if(isHydrating){if(nextHydratableInstance){b:{var JSCompiler_inline_result$jscomp$0=nextHydratableInstance;for(var inRootOrSingleton=rootOrSingletonContext;8!==JSCompiler_inline_result$jscomp$0.nodeType;){if(!inRootOrSingleton){JSCompiler_inline_result$jscomp$0=null;break b}JSCompiler_inline_result$jscomp$0=getNextHydratable(JSCompiler_inline_result$jscomp$0.nextSibling);if(null===JSCompiler_inline_result$jscomp$0){JSCompiler_inline_result$jscomp$0=null;break b}}inRootOrSingleton=JSCompiler_inline_result$jscomp$0.data;JSCompiler_inline_result$jscomp$0="F!"===inRootOrSingleton||"F"===inRootOrSingleton?JSCompiler_inline_result$jscomp$0:null}if(JSCompiler_inline_result$jscomp$0){nextHydratableInstance=getNextHydratable(JSCompiler_inline_result$jscomp$0.nextSibling);JSCompiler_inline_result="F!"===JSCompiler_inline_result$jscomp$0.data;break a}}throwOnHydrationMismatch(JSCompiler_inline_result)}JSCompiler_inline_result=!1}JSCompiler_inline_result&&(initialStateProp=ssrFormState[0])}}ssrFormState=mountWorkInProgressHook();ssrFormState.memoizedState=ssrFormState.baseState=initialStateProp;JSCompiler_inline_result={pending:null,lanes:0,dispatch:null,lastRenderedReducer:actionStateReducer,lastRenderedState:initialStateProp};ssrFormState.queue=JSCompiler_inline_result;ssrFormState=dispatchSetState.bind(null,currentlyRenderingFiber,JSCompiler_inline_result);JSCompiler_inline_result.dispatch=ssrFormState;JSCompiler_inline_result=mountStateImpl(!1);inRootOrSingleton=dispatchOptimisticSetState.bind(null,currentlyRenderingFiber,!1,JSCompiler_inline_result.queue);JSCompiler_inline_result=mountWorkInProgressHook();JSCompiler_inline_result$jscomp$0={state:initialStateProp,dispatch:null,action:action,pending:null};JSCompiler_inline_result.queue=JSCompiler_inline_result$jscomp$0;ssrFormState=dispatchActionState.bind(null,currentlyRenderingFiber,JSCompiler_inline_result$jscomp$0,inRootOrSingleton,ssrFormState);JSCompiler_inline_result$jscomp$0.dispatch=ssrFormState;JSCompiler_inline_result.memoizedState=action;return[initialStateProp,ssrFormState,!1]}function updateActionState(action){var stateHook=updateWorkInProgressHook();return updateActionStateImpl(stateHook,currentHook,action)}function updateActionStateImpl(stateHook,currentStateHook,action){currentStateHook=updateReducerImpl(stateHook,currentStateHook,actionStateReducer)[0];stateHook=updateReducer(basicStateReducer)[0];if("object"==typeof currentStateHook&&null!==currentStateHook&&"function"==typeof currentStateHook.then)try{var state=useThenable(currentStateHook)}catch(x){if(x===SuspenseException)throw SuspenseActionException;throw x}else state=currentStateHook;currentStateHook=updateWorkInProgressHook();var actionQueue=currentStateHook.queue,dispatch=actionQueue.dispatch;action!==currentStateHook.memoizedState&&(currentlyRenderingFiber.flags|=2048,pushSimpleEffect(9,createEffectInstance(),actionStateActionEffect.bind(null,actionQueue,action),null));return[state,dispatch,stateHook]}function actionStateActionEffect(actionQueue,action){actionQueue.action=action}function rerenderActionState(action){var stateHook=updateWorkInProgressHook(),currentStateHook=currentHook;if(null!==currentStateHook)return updateActionStateImpl(stateHook,currentStateHook,action);updateWorkInProgressHook();stateHook=stateHook.memoizedState;currentStateHook=updateWorkInProgressHook();var dispatch=currentStateHook.queue.dispatch;currentStateHook.memoizedState=action;return[stateHook,dispatch,!1]}function pushSimpleEffect(tag,inst,create,createDeps){tag={tag:tag,create:create,deps:createDeps,inst:inst,next:null};inst=currentlyRenderingFiber.updateQueue;null===inst&&(inst=createFunctionComponentUpdateQueue(),currentlyRenderingFiber.updateQueue=inst);create=inst.lastEffect;null===create?inst.lastEffect=tag.next=tag:(createDeps=create.next,create.next=tag,tag.next=createDeps,inst.lastEffect=tag);return tag}function createEffectInstance(){return{destroy:void 0,resource:void 0}}function updateRef(){return updateWorkInProgressHook().memoizedState}function mountEffectImpl(fiberFlags,hookFlags,create,createDeps){var hook=mountWorkInProgressHook();createDeps=void 0===createDeps?null:createDeps;currentlyRenderingFiber.flags|=fiberFlags;hook.memoizedState=pushSimpleEffect(1|hookFlags,createEffectInstance(),create,createDeps)}function updateEffectImpl(fiberFlags,hookFlags,create,deps){var hook=updateWorkInProgressHook();deps=void 0===deps?null:deps;var inst=hook.memoizedState.inst;null!==currentHook&&null!==deps&&areHookInputsEqual(deps,currentHook.memoizedState.deps)?hook.memoizedState=pushSimpleEffect(hookFlags,inst,create,deps):(currentlyRenderingFiber.flags|=fiberFlags,hook.memoizedState=pushSimpleEffect(1|hookFlags,inst,create,deps))}function mountEffect(create,createDeps){mountEffectImpl(8390656,8,create,createDeps)}function updateEffect(create,createDeps){updateEffectImpl(2048,8,create,createDeps)}function updateInsertionEffect(create,deps){return updateEffectImpl(4,2,create,deps)}function updateLayoutEffect(create,deps){return updateEffectImpl(4,4,create,deps)}function imperativeHandleEffect(create,ref){if("function"==typeof ref){create=create();var refCleanup=ref(create);return function(){"function"==typeof refCleanup?refCleanup():ref(null)}}if(null!=ref)return create=create(),ref.current=create,function(){ref.current=null}}function updateImperativeHandle(ref,create,deps){deps=null!=deps?deps.concat([ref]):null;updateEffectImpl(4,4,imperativeHandleEffect.bind(null,create,ref),deps)}function mountDebugValue(){}function updateCallback(callback,deps){var hook=updateWorkInProgressHook();deps=void 0===deps?null:deps;var prevState=hook.memoizedState;if(null!==deps&&areHookInputsEqual(deps,prevState[1]))return prevState[0];hook.memoizedState=[callback,deps];return callback}function updateMemo(nextCreate,deps){var hook=updateWorkInProgressHook();deps=void 0===deps?null:deps;var prevState=hook.memoizedState;if(null!==deps&&areHookInputsEqual(deps,prevState[1]))return prevState[0];prevState=nextCreate();if(shouldDoubleInvokeUserFnsInHooksDEV){setIsStrictModeForDevtools(!0);try{nextCreate()}finally{setIsStrictModeForDevtools(!1)}}hook.memoizedState=[prevState,deps];return prevState}function mountDeferredValueImpl(hook,value,initialValue){if(void 0===initialValue||0!==(0x40000000&renderLanes))return hook.memoizedState=value;hook.memoizedState=initialValue;hook=requestDeferredLane();currentlyRenderingFiber.lanes|=hook;workInProgressRootSkippedLanes|=hook;return initialValue}function updateDeferredValueImpl(hook,prevValue,value,initialValue){if(objectIs(value,prevValue))return value;if(null!==currentTreeHiddenStackCursor.current)return hook=mountDeferredValueImpl(hook,value,initialValue),objectIs(hook,prevValue)||(didReceiveUpdate=!0),hook;if(0===(42&renderLanes))return didReceiveUpdate=!0,hook.memoizedState=value;hook=requestDeferredLane();currentlyRenderingFiber.lanes|=hook;workInProgressRootSkippedLanes|=hook;return prevValue}function startTransition(fiber,queue,pendingState,finishedState,callback){var previousPriority=ReactDOMSharedInternals.p;ReactDOMSharedInternals.p=0!==previousPriority&&8>previousPriority?previousPriority:8;var prevTransition=ReactSharedInternals.T,currentTransition={};ReactSharedInternals.T=currentTransition;dispatchOptimisticSetState(fiber,!1,queue,pendingState);try{var returnValue=callback(),onStartTransitionFinish=ReactSharedInternals.S;null!==onStartTransitionFinish&&onStartTransitionFinish(currentTransition,returnValue);if(null!==returnValue&&"object"==typeof returnValue&&"function"==typeof returnValue.then){var thenableForFinishedState=chainThenableValue(returnValue,finishedState);dispatchSetStateInternal(fiber,queue,thenableForFinishedState,requestUpdateLane(fiber))}else dispatchSetStateInternal(fiber,queue,finishedState,requestUpdateLane(fiber))}catch(error){dispatchSetStateInternal(fiber,queue,{then:function(){},status:"rejected",reason:error},requestUpdateLane())}finally{ReactDOMSharedInternals.p=previousPriority,ReactSharedInternals.T=prevTransition}}function noop$2(){}function startHostTransition(formFiber,pendingState,action,formData){if(5!==formFiber.tag)throw Error(formatProdErrorMessage(476));var queue=ensureFormComponentIsStateful(formFiber).queue;startTransition(formFiber,queue,pendingState,sharedNotPendingObject,null===action?noop$2:function(){requestFormReset$1(formFiber);return action(formData)})}function ensureFormComponentIsStateful(formFiber){var existingStateHook=formFiber.memoizedState;if(null!==existingStateHook)return existingStateHook;existingStateHook={memoizedState:sharedNotPendingObject,baseState:sharedNotPendingObject,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:basicStateReducer,lastRenderedState:sharedNotPendingObject},next:null};var initialResetState={};existingStateHook.next={memoizedState:initialResetState,baseState:initialResetState,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:basicStateReducer,lastRenderedState:initialResetState},next:null};formFiber.memoizedState=existingStateHook;formFiber=formFiber.alternate;null!==formFiber&&(formFiber.memoizedState=existingStateHook);return existingStateHook}function requestFormReset$1(formFiber){var resetStateQueue=ensureFormComponentIsStateful(formFiber).next.queue;dispatchSetStateInternal(formFiber,resetStateQueue,{},requestUpdateLane())}function useHostTransitionStatus(){return readContext(HostTransitionContext)}function updateId(){return updateWorkInProgressHook().memoizedState}function updateRefresh(){return updateWorkInProgressHook().memoizedState}function refreshCache(fiber){for(var provider=fiber.return;null!==provider;){switch(provider.tag){case 24:case 3:var lane=requestUpdateLane();fiber=createUpdate(lane);var root$41=enqueueUpdate(provider,fiber,lane);null!==root$41&&(scheduleUpdateOnFiber(root$41,provider,lane),entangleTransitions(root$41,provider,lane));provider={cache:createCache()};fiber.payload=provider;return}provider=provider.return}}function dispatchReducerAction(fiber,queue,action){var lane=requestUpdateLane();action={lane:lane,revertLane:0,action:action,hasEagerState:!1,eagerState:null,next:null};isRenderPhaseUpdate(fiber)?enqueueRenderPhaseUpdate(queue,action):(action=enqueueConcurrentHookUpdate(fiber,queue,action,lane),null!==action&&(scheduleUpdateOnFiber(action,fiber,lane),entangleTransitionUpdate(action,queue,lane)))}function dispatchSetState(fiber,queue,action){var lane=requestUpdateLane();dispatchSetStateInternal(fiber,queue,action,lane)}function dispatchSetStateInternal(fiber,queue,action,lane){var update={lane:lane,revertLane:0,action:action,hasEagerState:!1,eagerState:null,next:null};if(isRenderPhaseUpdate(fiber))enqueueRenderPhaseUpdate(queue,update);else{var alternate=fiber.alternate;if(0===fiber.lanes&&(null===alternate||0===alternate.lanes)&&(alternate=queue.lastRenderedReducer,null!==alternate))try{var currentState=queue.lastRenderedState,eagerState=alternate(currentState,action);update.hasEagerState=!0;update.eagerState=eagerState;if(objectIs(eagerState,currentState))return enqueueUpdate$1(fiber,queue,update,0),null===workInProgressRoot&&finishQueueingConcurrentUpdates(),!1}catch(error){}finally{}action=enqueueConcurrentHookUpdate(fiber,queue,update,lane);if(null!==action)return scheduleUpdateOnFiber(action,fiber,lane),entangleTransitionUpdate(action,queue,lane),!0}return!1}function dispatchOptimisticSetState(fiber,throwIfDuringRender,queue,action){action={lane:2,revertLane:requestTransitionLane(),action:action,hasEagerState:!1,eagerState:null,next:null};if(isRenderPhaseUpdate(fiber)){if(throwIfDuringRender)throw Error(formatProdErrorMessage(479))}else throwIfDuringRender=enqueueConcurrentHookUpdate(fiber,queue,action,2),null!==throwIfDuringRender&&scheduleUpdateOnFiber(throwIfDuringRender,fiber,2)}function isRenderPhaseUpdate(fiber){var alternate=fiber.alternate;return fiber===currentlyRenderingFiber||null!==alternate&&alternate===currentlyRenderingFiber}function enqueueRenderPhaseUpdate(queue,update){didScheduleRenderPhaseUpdateDuringThisPass=didScheduleRenderPhaseUpdate=!0;var pending=queue.pending;null===pending?update.next=update:(update.next=pending.next,pending.next=update);queue.pending=update}function entangleTransitionUpdate(root,queue,lane){if(0!==(4194048&lane)){var queueLanes=queue.lanes;queueLanes&=root.pendingLanes;lane|=queueLanes;queue.lanes=lane;markRootEntangled(root,lane)}}var ContextOnlyDispatcher={readContext:readContext,use:use,useCallback:throwInvalidHookError,useContext:throwInvalidHookError,useEffect:throwInvalidHookError,useImperativeHandle:throwInvalidHookError,useLayoutEffect:throwInvalidHookError,useInsertionEffect:throwInvalidHookError,useMemo:throwInvalidHookError,useReducer:throwInvalidHookError,useRef:throwInvalidHookError,useState:throwInvalidHookError,useDebugValue:throwInvalidHookError,useDeferredValue:throwInvalidHookError,useTransition:throwInvalidHookError,useSyncExternalStore:throwInvalidHookError,useId:throwInvalidHookError,useHostTransitionStatus:throwInvalidHookError,useFormState:throwInvalidHookError,useActionState:throwInvalidHookError,useOptimistic:throwInvalidHookError,useMemoCache:throwInvalidHookError,useCacheRefresh:throwInvalidHookError},HooksDispatcherOnMount={readContext:readContext,use:use,useCallback:function(callback,deps){mountWorkInProgressHook().memoizedState=[callback,void 0===deps?null:deps];return callback},useContext:readContext,useEffect:mountEffect,useImperativeHandle:function(ref,create,deps){deps=null!=deps?deps.concat([ref]):null;mountEffectImpl(4194308,4,imperativeHandleEffect.bind(null,create,ref),deps)},useLayoutEffect:function(create,deps){return mountEffectImpl(4194308,4,create,deps)},useInsertionEffect:function(create,deps){mountEffectImpl(4,2,create,deps)},useMemo:function(nextCreate,deps){var hook=mountWorkInProgressHook();deps=void 0===deps?null:deps;var nextValue=nextCreate();if(shouldDoubleInvokeUserFnsInHooksDEV){setIsStrictModeForDevtools(!0);try{nextCreate()}finally{setIsStrictModeForDevtools(!1)}}hook.memoizedState=[nextValue,deps];return nextValue},useReducer:function(reducer,initialArg,init){var hook=mountWorkInProgressHook();if(void 0!==init){var initialState=init(initialArg);if(shouldDoubleInvokeUserFnsInHooksDEV){setIsStrictModeForDevtools(!0);try{init(initialArg)}finally{setIsStrictModeForDevtools(!1)}}}else initialState=initialArg;hook.memoizedState=hook.baseState=initialState;reducer={pending:null,lanes:0,dispatch:null,lastRenderedReducer:reducer,lastRenderedState:initialState};hook.queue=reducer;reducer=reducer.dispatch=dispatchReducerAction.bind(null,currentlyRenderingFiber,reducer);return[hook.memoizedState,reducer]},useRef:function(initialValue){var hook=mountWorkInProgressHook();initialValue={current:initialValue};return hook.memoizedState=initialValue},useState:function(initialState){initialState=mountStateImpl(initialState);var queue=initialState.queue,dispatch=dispatchSetState.bind(null,currentlyRenderingFiber,queue);queue.dispatch=dispatch;return[initialState.memoizedState,dispatch]},useDebugValue:mountDebugValue,useDeferredValue:function(value,initialValue){var hook=mountWorkInProgressHook();return mountDeferredValueImpl(hook,value,initialValue)},useTransition:function(){var stateHook=mountStateImpl(!1);stateHook=startTransition.bind(null,currentlyRenderingFiber,stateHook.queue,!0,!1);mountWorkInProgressHook().memoizedState=stateHook;return[!1,stateHook]},useSyncExternalStore:function(subscribe,getSnapshot,getServerSnapshot){var fiber=currentlyRenderingFiber,hook=mountWorkInProgressHook();if(isHydrating){if(void 0===getServerSnapshot)throw Error(formatProdErrorMessage(407));getServerSnapshot=getServerSnapshot()}else{getServerSnapshot=getSnapshot();if(null===workInProgressRoot)throw Error(formatProdErrorMessage(349));0!==(124&workInProgressRootRenderLanes)||pushStoreConsistencyCheck(fiber,getSnapshot,getServerSnapshot)}hook.memoizedState=getServerSnapshot;var inst={value:getServerSnapshot,getSnapshot:getSnapshot};hook.queue=inst;mountEffect(subscribeToStore.bind(null,fiber,inst,subscribe),[subscribe]);fiber.flags|=2048;pushSimpleEffect(9,createEffectInstance(),updateStoreInstance.bind(null,fiber,inst,getServerSnapshot,getSnapshot),null);return getServerSnapshot},useId:function(){var hook=mountWorkInProgressHook(),identifierPrefix=workInProgressRoot.identifierPrefix;if(isHydrating){var JSCompiler_inline_result=treeContextOverflow;var idWithLeadingBit=treeContextId;JSCompiler_inline_result=(idWithLeadingBit&~(1<<32-clz32(idWithLeadingBit)-1)).toString(32)+JSCompiler_inline_result;identifierPrefix="\xab"+identifierPrefix+"R"+JSCompiler_inline_result;JSCompiler_inline_result=localIdCounter++;0<JSCompiler_inline_result&&(identifierPrefix+="H"+JSCompiler_inline_result.toString(32));identifierPrefix+="\xbb"}else JSCompiler_inline_result=globalClientIdCounter++,identifierPrefix="\xab"+identifierPrefix+"r"+JSCompiler_inline_result.toString(32)+"\xbb";return hook.memoizedState=identifierPrefix},useHostTransitionStatus:useHostTransitionStatus,useFormState:mountActionState,useActionState:mountActionState,useOptimistic:function(passthrough){var hook=mountWorkInProgressHook();hook.memoizedState=hook.baseState=passthrough;var queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};hook.queue=queue;hook=dispatchOptimisticSetState.bind(null,currentlyRenderingFiber,!0,queue);queue.dispatch=hook;return[passthrough,hook]},useMemoCache:useMemoCache,useCacheRefresh:function(){return mountWorkInProgressHook().memoizedState=refreshCache.bind(null,currentlyRenderingFiber)}},HooksDispatcherOnUpdate={readContext:readContext,use:use,useCallback:updateCallback,useContext:readContext,useEffect:updateEffect,useImperativeHandle:updateImperativeHandle,useInsertionEffect:updateInsertionEffect,useLayoutEffect:updateLayoutEffect,useMemo:updateMemo,useReducer:updateReducer,useRef:updateRef,useState:function(){return updateReducer(basicStateReducer)},useDebugValue:mountDebugValue,useDeferredValue:function(value,initialValue){var hook=updateWorkInProgressHook();return updateDeferredValueImpl(hook,currentHook.memoizedState,value,initialValue)},useTransition:function(){var booleanOrThenable=updateReducer(basicStateReducer)[0],start=updateWorkInProgressHook().memoizedState;return["boolean"==typeof booleanOrThenable?booleanOrThenable:useThenable(booleanOrThenable),start]},useSyncExternalStore:updateSyncExternalStore,useId:updateId,useHostTransitionStatus:useHostTransitionStatus,useFormState:updateActionState,useActionState:updateActionState,useOptimistic:function(passthrough,reducer){var hook=updateWorkInProgressHook();return updateOptimisticImpl(hook,currentHook,passthrough,reducer)},useMemoCache:useMemoCache,useCacheRefresh:updateRefresh},HooksDispatcherOnRerender={readContext:readContext,use:use,useCallback:updateCallback,useContext:readContext,useEffect:updateEffect,useImperativeHandle:updateImperativeHandle,useInsertionEffect:updateInsertionEffect,useLayoutEffect:updateLayoutEffect,useMemo:updateMemo,useReducer:rerenderReducer,useRef:updateRef,useState:function(){return rerenderReducer(basicStateReducer)},useDebugValue:mountDebugValue,useDeferredValue:function(value,initialValue){var hook=updateWorkInProgressHook();return null===currentHook?mountDeferredValueImpl(hook,value,initialValue):updateDeferredValueImpl(hook,currentHook.memoizedState,value,initialValue)},useTransition:function(){var booleanOrThenable=rerenderReducer(basicStateReducer)[0],start=updateWorkInProgressHook().memoizedState;return["boolean"==typeof booleanOrThenable?booleanOrThenable:useThenable(booleanOrThenable),start]},useSyncExternalStore:updateSyncExternalStore,useId:updateId,useHostTransitionStatus:useHostTransitionStatus,useFormState:rerenderActionState,useActionState:rerenderActionState,useOptimistic:function(passthrough,reducer){var hook=updateWorkInProgressHook();if(null!==currentHook)return updateOptimisticImpl(hook,currentHook,passthrough,reducer);hook.baseState=passthrough;return[passthrough,hook.queue.dispatch]},useMemoCache:useMemoCache,useCacheRefresh:updateRefresh},thenableState=null,thenableIndexCounter=0;function unwrapThenable(thenable){var index=thenableIndexCounter;thenableIndexCounter+=1;null===thenableState&&(thenableState=[]);return trackUsedThenable(thenableState,thenable,index)}function coerceRef(workInProgress,element){element=element.props.ref;workInProgress.ref=void 0!==element?element:null}function throwOnInvalidObjectType(returnFiber,newChild){if(newChild.$$typeof===REACT_LEGACY_ELEMENT_TYPE)throw Error(formatProdErrorMessage(525));returnFiber=Object.prototype.toString.call(newChild);throw Error(formatProdErrorMessage(31,"[object Object]"===returnFiber?"object with keys {"+Object.keys(newChild).join(", ")+"}":returnFiber))}function resolveLazy(lazyType){var init=lazyType._init;return init(lazyType._payload)}function createChildReconciler(shouldTrackSideEffects){function deleteChild(returnFiber,childToDelete){if(shouldTrackSideEffects){var deletions=returnFiber.deletions;null===deletions?(returnFiber.deletions=[childToDelete],returnFiber.flags|=16):deletions.push(childToDelete)}}function deleteRemainingChildren(returnFiber,currentFirstChild){if(!shouldTrackSideEffects)return null;for(;null!==currentFirstChild;)deleteChild(returnFiber,currentFirstChild),currentFirstChild=currentFirstChild.sibling;return null}function mapRemainingChildren(currentFirstChild){for(var existingChildren=new Map;null!==currentFirstChild;)null!==currentFirstChild.key?existingChildren.set(currentFirstChild.key,currentFirstChild):existingChildren.set(currentFirstChild.index,currentFirstChild),currentFirstChild=currentFirstChild.sibling;return existingChildren}function useFiber(fiber,pendingProps){fiber=createWorkInProgress(fiber,pendingProps);fiber.index=0;fiber.sibling=null;return fiber}function placeChild(newFiber,lastPlacedIndex,newIndex){newFiber.index=newIndex;if(!shouldTrackSideEffects)return newFiber.flags|=1048576,lastPlacedIndex;newIndex=newFiber.alternate;if(null!==newIndex)return newIndex=newIndex.index,newIndex<lastPlacedIndex?(newFiber.flags|=0x4000002,lastPlacedIndex):newIndex;newFiber.flags|=0x4000002;return lastPlacedIndex}function placeSingleChild(newFiber){shouldTrackSideEffects&&null===newFiber.alternate&&(newFiber.flags|=0x4000002);return newFiber}function updateTextNode(returnFiber,current,textContent,lanes){if(null===current||6!==current.tag)return current=createFiberFromText(textContent,returnFiber.mode,lanes),current.return=returnFiber,current;current=useFiber(current,textContent);current.return=returnFiber;return current}function updateElement(returnFiber,current,element,lanes){var elementType=element.type;if(elementType===REACT_FRAGMENT_TYPE)return updateFragment(returnFiber,current,element.props.children,lanes,element.key);if(null!==current&&(current.elementType===elementType||"object"==typeof elementType&&null!==elementType&&elementType.$$typeof===REACT_LAZY_TYPE&&resolveLazy(elementType)===current.type))return current=useFiber(current,element.props),coerceRef(current,element),current.return=returnFiber,current;current=createFiberFromTypeAndProps(element.type,element.key,element.props,null,returnFiber.mode,lanes);coerceRef(current,element);current.return=returnFiber;return current}function updatePortal(returnFiber,current,portal,lanes){if(null===current||4!==current.tag||current.stateNode.containerInfo!==portal.containerInfo||current.stateNode.implementation!==portal.implementation)return current=createFiberFromPortal(portal,returnFiber.mode,lanes),current.return=returnFiber,current;current=useFiber(current,portal.children||[]);current.return=returnFiber;return current}function updateFragment(returnFiber,current,fragment,lanes,key){if(null===current||7!==current.tag)return current=createFiberFromFragment(fragment,returnFiber.mode,lanes,key),current.return=returnFiber,current;current=useFiber(current,fragment);current.return=returnFiber;return current}function createChild(returnFiber,newChild,lanes){if("string"==typeof newChild&&""!==newChild||"number"==typeof newChild||"bigint"==typeof newChild)return newChild=createFiberFromText(""+newChild,returnFiber.mode,lanes),newChild.return=returnFiber,newChild;if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:return lanes=createFiberFromTypeAndProps(newChild.type,newChild.key,newChild.props,null,returnFiber.mode,lanes),coerceRef(lanes,newChild),lanes.return=returnFiber,lanes;case REACT_PORTAL_TYPE:return newChild=createFiberFromPortal(newChild,returnFiber.mode,lanes),newChild.return=returnFiber,newChild;case REACT_LAZY_TYPE:var init=newChild._init;newChild=init(newChild._payload);return createChild(returnFiber,newChild,lanes)}if(isArrayImpl(newChild)||getIteratorFn(newChild))return newChild=createFiberFromFragment(newChild,returnFiber.mode,lanes,null),newChild.return=returnFiber,newChild;if("function"==typeof newChild.then)return createChild(returnFiber,unwrapThenable(newChild),lanes);if(newChild.$$typeof===REACT_CONTEXT_TYPE)return createChild(returnFiber,readContextDuringReconciliation(returnFiber,newChild),lanes);throwOnInvalidObjectType(returnFiber,newChild)}return null}function updateSlot(returnFiber,oldFiber,newChild,lanes){var key=null!==oldFiber?oldFiber.key:null;if("string"==typeof newChild&&""!==newChild||"number"==typeof newChild||"bigint"==typeof newChild)return null!==key?null:updateTextNode(returnFiber,oldFiber,""+newChild,lanes);if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:return newChild.key===key?updateElement(returnFiber,oldFiber,newChild,lanes):null;case REACT_PORTAL_TYPE:return newChild.key===key?updatePortal(returnFiber,oldFiber,newChild,lanes):null;case REACT_LAZY_TYPE:return key=newChild._init,newChild=key(newChild._payload),updateSlot(returnFiber,oldFiber,newChild,lanes)}if(isArrayImpl(newChild)||getIteratorFn(newChild))return null!==key?null:updateFragment(returnFiber,oldFiber,newChild,lanes,null);if("function"==typeof newChild.then)return updateSlot(returnFiber,oldFiber,unwrapThenable(newChild),lanes);if(newChild.$$typeof===REACT_CONTEXT_TYPE)return updateSlot(returnFiber,oldFiber,readContextDuringReconciliation(returnFiber,newChild),lanes);throwOnInvalidObjectType(returnFiber,newChild)}return null}function updateFromMap(existingChildren,returnFiber,newIdx,newChild,lanes){if("string"==typeof newChild&&""!==newChild||"number"==typeof newChild||"bigint"==typeof newChild)return existingChildren=existingChildren.get(newIdx)||null,updateTextNode(returnFiber,existingChildren,""+newChild,lanes);if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:return existingChildren=existingChildren.get(null===newChild.key?newIdx:newChild.key)||null,updateElement(returnFiber,existingChildren,newChild,lanes);case REACT_PORTAL_TYPE:return existingChildren=existingChildren.get(null===newChild.key?newIdx:newChild.key)||null,updatePortal(returnFiber,existingChildren,newChild,lanes);case REACT_LAZY_TYPE:var init=newChild._init;newChild=init(newChild._payload);return updateFromMap(existingChildren,returnFiber,newIdx,newChild,lanes)}if(isArrayImpl(newChild)||getIteratorFn(newChild))return existingChildren=existingChildren.get(newIdx)||null,updateFragment(returnFiber,existingChildren,newChild,lanes,null);if("function"==typeof newChild.then)return updateFromMap(existingChildren,returnFiber,newIdx,unwrapThenable(newChild),lanes);if(newChild.$$typeof===REACT_CONTEXT_TYPE)return updateFromMap(existingChildren,returnFiber,newIdx,readContextDuringReconciliation(returnFiber,newChild),lanes);throwOnInvalidObjectType(returnFiber,newChild)}return null}function reconcileChildrenArray(returnFiber,currentFirstChild,newChildren,lanes){for(var resultingFirstChild=null,previousNewFiber=null,oldFiber=currentFirstChild,newIdx=currentFirstChild=0,nextOldFiber=null;null!==oldFiber&&newIdx<newChildren.length;newIdx++){oldFiber.index>newIdx?(nextOldFiber=oldFiber,oldFiber=null):nextOldFiber=oldFiber.sibling;var newFiber=updateSlot(returnFiber,oldFiber,newChildren[newIdx],lanes);if(null===newFiber){null===oldFiber&&(oldFiber=nextOldFiber);break}shouldTrackSideEffects&&oldFiber&&null===newFiber.alternate&&deleteChild(returnFiber,oldFiber);currentFirstChild=placeChild(newFiber,currentFirstChild,newIdx);null===previousNewFiber?resultingFirstChild=newFiber:previousNewFiber.sibling=newFiber;previousNewFiber=newFiber;oldFiber=nextOldFiber}if(newIdx===newChildren.length)return deleteRemainingChildren(returnFiber,oldFiber),isHydrating&&pushTreeFork(returnFiber,newIdx),resultingFirstChild;if(null===oldFiber){for(;newIdx<newChildren.length;newIdx++)oldFiber=createChild(returnFiber,newChildren[newIdx],lanes),null!==oldFiber&&(currentFirstChild=placeChild(oldFiber,currentFirstChild,newIdx),null===previousNewFiber?resultingFirstChild=oldFiber:previousNewFiber.sibling=oldFiber,previousNewFiber=oldFiber);isHydrating&&pushTreeFork(returnFiber,newIdx);return resultingFirstChild}for(oldFiber=mapRemainingChildren(oldFiber);newIdx<newChildren.length;newIdx++)nextOldFiber=updateFromMap(oldFiber,returnFiber,newIdx,newChildren[newIdx],lanes),null!==nextOldFiber&&(shouldTrackSideEffects&&null!==nextOldFiber.alternate&&oldFiber.delete(null===nextOldFiber.key?newIdx:nextOldFiber.key),currentFirstChild=placeChild(nextOldFiber,currentFirstChild,newIdx),null===previousNewFiber?resultingFirstChild=nextOldFiber:previousNewFiber.sibling=nextOldFiber,previousNewFiber=nextOldFiber);shouldTrackSideEffects&&oldFiber.forEach(function(child){return deleteChild(returnFiber,child)});isHydrating&&pushTreeFork(returnFiber,newIdx);return resultingFirstChild}function reconcileChildrenIterator(returnFiber,currentFirstChild,newChildren,lanes){if(null==newChildren)throw Error(formatProdErrorMessage(151));for(var resultingFirstChild=null,previousNewFiber=null,oldFiber=currentFirstChild,newIdx=currentFirstChild=0,nextOldFiber=null,step=newChildren.next();null!==oldFiber&&!step.done;newIdx++,step=newChildren.next()){oldFiber.index>newIdx?(nextOldFiber=oldFiber,oldFiber=null):nextOldFiber=oldFiber.sibling;var newFiber=updateSlot(returnFiber,oldFiber,step.value,lanes);if(null===newFiber){null===oldFiber&&(oldFiber=nextOldFiber);break}shouldTrackSideEffects&&oldFiber&&null===newFiber.alternate&&deleteChild(returnFiber,oldFiber);currentFirstChild=placeChild(newFiber,currentFirstChild,newIdx);null===previousNewFiber?resultingFirstChild=newFiber:previousNewFiber.sibling=newFiber;previousNewFiber=newFiber;oldFiber=nextOldFiber}if(step.done)return deleteRemainingChildren(returnFiber,oldFiber),isHydrating&&pushTreeFork(returnFiber,newIdx),resultingFirstChild;if(null===oldFiber){for(;!step.done;newIdx++,step=newChildren.next())step=createChild(returnFiber,step.value,lanes),null!==step&&(currentFirstChild=placeChild(step,currentFirstChild,newIdx),null===previousNewFiber?resultingFirstChild=step:previousNewFiber.sibling=step,previousNewFiber=step);isHydrating&&pushTreeFork(returnFiber,newIdx);return resultingFirstChild}for(oldFiber=mapRemainingChildren(oldFiber);!step.done;newIdx++,step=newChildren.next())step=updateFromMap(oldFiber,returnFiber,newIdx,step.value,lanes),null!==step&&(shouldTrackSideEffects&&null!==step.alternate&&oldFiber.delete(null===step.key?newIdx:step.key),currentFirstChild=placeChild(step,currentFirstChild,newIdx),null===previousNewFiber?resultingFirstChild=step:previousNewFiber.sibling=step,previousNewFiber=step);shouldTrackSideEffects&&oldFiber.forEach(function(child){return deleteChild(returnFiber,child)});isHydrating&&pushTreeFork(returnFiber,newIdx);return resultingFirstChild}function reconcileChildFibersImpl(returnFiber,currentFirstChild,newChild,lanes){"object"==typeof newChild&&null!==newChild&&newChild.type===REACT_FRAGMENT_TYPE&&null===newChild.key&&(newChild=newChild.props.children);if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:a:{for(var key=newChild.key;null!==currentFirstChild;){if(currentFirstChild.key===key){key=newChild.type;if(key===REACT_FRAGMENT_TYPE){if(7===currentFirstChild.tag){deleteRemainingChildren(returnFiber,currentFirstChild.sibling);lanes=useFiber(currentFirstChild,newChild.props.children);lanes.return=returnFiber;returnFiber=lanes;break a}}else if(currentFirstChild.elementType===key||"object"==typeof key&&null!==key&&key.$$typeof===REACT_LAZY_TYPE&&resolveLazy(key)===currentFirstChild.type){deleteRemainingChildren(returnFiber,currentFirstChild.sibling);lanes=useFiber(currentFirstChild,newChild.props);coerceRef(lanes,newChild);lanes.return=returnFiber;returnFiber=lanes;break a}deleteRemainingChildren(returnFiber,currentFirstChild);break}deleteChild(returnFiber,currentFirstChild);currentFirstChild=currentFirstChild.sibling}newChild.type===REACT_FRAGMENT_TYPE?(lanes=createFiberFromFragment(newChild.props.children,returnFiber.mode,lanes,newChild.key),lanes.return=returnFiber,returnFiber=lanes):(lanes=createFiberFromTypeAndProps(newChild.type,newChild.key,newChild.props,null,returnFiber.mode,lanes),coerceRef(lanes,newChild),lanes.return=returnFiber,returnFiber=lanes)}return placeSingleChild(returnFiber);case REACT_PORTAL_TYPE:a:{for(key=newChild.key;null!==currentFirstChild;){if(currentFirstChild.key===key)if(4===currentFirstChild.tag&¤tFirstChild.stateNode.containerInfo===newChild.containerInfo&¤tFirstChild.stateNode.implementation===newChild.implementation){deleteRemainingChildren(returnFiber,currentFirstChild.sibling);lanes=useFiber(currentFirstChild,newChild.children||[]);lanes.return=returnFiber;returnFiber=lanes;break a}else{deleteRemainingChildren(returnFiber,currentFirstChild);break}deleteChild(returnFiber,currentFirstChild);currentFirstChild=currentFirstChild.sibling}lanes=createFiberFromPortal(newChild,returnFiber.mode,lanes);lanes.return=returnFiber;returnFiber=lanes}return placeSingleChild(returnFiber);case REACT_LAZY_TYPE:return key=newChild._init,newChild=key(newChild._payload),reconcileChildFibersImpl(returnFiber,currentFirstChild,newChild,lanes)}if(isArrayImpl(newChild))return reconcileChildrenArray(returnFiber,currentFirstChild,newChild,lanes);if(getIteratorFn(newChild)){key=getIteratorFn(newChild);if("function"!=typeof key)throw Error(formatProdErrorMessage(150));newChild=key.call(newChild);return reconcileChildrenIterator(returnFiber,currentFirstChild,newChild,lanes)}if("function"==typeof newChild.then)return reconcileChildFibersImpl(returnFiber,currentFirstChild,unwrapThenable(newChild),lanes);if(newChild.$$typeof===REACT_CONTEXT_TYPE)return reconcileChildFibersImpl(returnFiber,currentFirstChild,readContextDuringReconciliation(returnFiber,newChild),lanes);throwOnInvalidObjectType(returnFiber,newChild)}return"string"==typeof newChild&&""!==newChild||"number"==typeof newChild||"bigint"==typeof newChild?(newChild=""+newChild,null!==currentFirstChild&&6===currentFirstChild.tag?(deleteRemainingChildren(returnFiber,currentFirstChild.sibling),lanes=useFiber(currentFirstChild,newChild),lanes.return=returnFiber,returnFiber=lanes):(deleteRemainingChildren(returnFiber,currentFirstChild),lanes=createFiberFromText(newChild,returnFiber.mode,lanes),lanes.return=returnFiber,returnFiber=lanes),placeSingleChild(returnFiber)):deleteRemainingChildren(returnFiber,currentFirstChild)}return function(returnFiber,currentFirstChild,newChild,lanes){try{thenableIndexCounter=0;var firstChildFiber=reconcileChildFibersImpl(returnFiber,currentFirstChild,newChild,lanes);thenableState=null;return firstChildFiber}catch(x){if(x===SuspenseException||x===SuspenseActionException)throw x;var fiber=createFiberImplClass(29,x,null,returnFiber.mode);fiber.lanes=lanes;fiber.return=returnFiber;return fiber}finally{}}}var reconcileChildFibers=createChildReconciler(!0),mountChildFibers=createChildReconciler(!1),suspenseHandlerStackCursor=createCursor(null),shellBoundary=null;function pushPrimaryTreeSuspenseHandler(handler){var current=handler.alternate;push(suspenseStackCursor,1&suspenseStackCursor.current);push(suspenseHandlerStackCursor,handler);null===shellBoundary&&(null===current||null!==currentTreeHiddenStackCursor.current?shellBoundary=handler:null!==current.memoizedState&&(shellBoundary=handler))}function pushOffscreenSuspenseHandler(fiber){if(22===fiber.tag){if(push(suspenseStackCursor,suspenseStackCursor.current),push(suspenseHandlerStackCursor,fiber),null===shellBoundary){var current=fiber.alternate;null!==current&&null!==current.memoizedState&&(shellBoundary=fiber)}}else reuseSuspenseHandlerOnStack(fiber)}function reuseSuspenseHandlerOnStack(){push(suspenseStackCursor,suspenseStackCursor.current);push(suspenseHandlerStackCursor,suspenseHandlerStackCursor.current)}function popSuspenseHandler(fiber){pop(suspenseHandlerStackCursor);shellBoundary===fiber&&(shellBoundary=null);pop(suspenseStackCursor)}var suspenseStackCursor=createCursor(0);function findFirstSuspended(row){for(var node=row;null!==node;){if(13===node.tag){var state=node.memoizedState;if(null!==state&&(state=state.dehydrated,null===state||"$?"===state.data||isSuspenseInstanceFallback(state)))return node}else if(19===node.tag&&void 0!==node.memoizedProps.revealOrder){if(0!==(128&node.flags))return node}else if(null!==node.child){node.child.return=node;node=node.child;continue}if(node===row)break;for(;null===node.sibling;){if(null===node.return||node.return===row)return null;node=node.return}node.sibling.return=node.return;node=node.sibling}return null}function applyDerivedStateFromProps(workInProgress,ctor,getDerivedStateFromProps,nextProps){ctor=workInProgress.memoizedState;getDerivedStateFromProps=getDerivedStateFromProps(nextProps,ctor);getDerivedStateFromProps=null==getDerivedStateFromProps?ctor:assign({},ctor,getDerivedStateFromProps);workInProgress.memoizedState=getDerivedStateFromProps;0===workInProgress.lanes&&(workInProgress.updateQueue.baseState=getDerivedStateFromProps)}var classComponentUpdater={enqueueSetState:function(inst,payload,callback){inst=inst._reactInternals;var lane=requestUpdateLane(),update=createUpdate(lane);update.payload=payload;null!=callback&&(update.callback=callback);payload=enqueueUpdate(inst,update,lane);null!==payload&&(scheduleUpdateOnFiber(payload,inst,lane),entangleTransitions(payload,inst,lane))},enqueueReplaceState:function(inst,payload,callback){inst=inst._reactInternals;var lane=requestUpdateLane(),update=createUpdate(lane);update.tag=1;update.payload=payload;null!=callback&&(update.callback=callback);payload=enqueueUpdate(inst,update,lane);null!==payload&&(scheduleUpdateOnFiber(payload,inst,lane),entangleTransitions(payload,inst,lane))},enqueueForceUpdate:function(inst,callback){inst=inst._reactInternals;var lane=requestUpdateLane(),update=createUpdate(lane);update.tag=2;null!=callback&&(update.callback=callback);callback=enqueueUpdate(inst,update,lane);null!==callback&&(scheduleUpdateOnFiber(callback,inst,lane),entangleTransitions(callback,inst,lane))}};function checkShouldComponentUpdate(workInProgress,ctor,oldProps,newProps,oldState,newState,nextContext){workInProgress=workInProgress.stateNode;return"function"==typeof workInProgress.shouldComponentUpdate?workInProgress.shouldComponentUpdate(newProps,newState,nextContext):ctor.prototype&&ctor.prototype.isPureReactComponent?!shallowEqual(oldProps,newProps)||!shallowEqual(oldState,newState):!0}function callComponentWillReceiveProps(workInProgress,instance,newProps,nextContext){workInProgress=instance.state;"function"==typeof instance.componentWillReceiveProps&&instance.componentWillReceiveProps(newProps,nextContext);"function"==typeof instance.UNSAFE_componentWillReceiveProps&&instance.UNSAFE_componentWillReceiveProps(newProps,nextContext);instance.state!==workInProgress&&classComponentUpdater.enqueueReplaceState(instance,instance.state,null)}function resolveClassComponentProps(Component,baseProps){var newProps=baseProps;if("ref"in baseProps){newProps={};for(var propName in baseProps)"ref"!==propName&&(newProps[propName]=baseProps[propName])}if(Component=Component.defaultProps){newProps===baseProps&&(newProps=assign({},newProps));for(var propName$73 in Component)void 0===newProps[propName$73]&&(newProps[propName$73]=Component[propName$73])}return newProps}var reportGlobalError="function"==typeof reportError?reportError:function(error){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var event=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof error&&null!==error&&"string"==typeof error.message?String(error.message):String(error),error:error});if(!window.dispatchEvent(event))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",error);console.error(error)};function defaultOnUncaughtError(error){reportGlobalError(error)}function defaultOnCaughtError(error){console.error(error)}function defaultOnRecoverableError(error){reportGlobalError(error)}function logUncaughtError(root,errorInfo){try{var onUncaughtError=root.onUncaughtError;onUncaughtError(errorInfo.value,{componentStack:errorInfo.stack})}catch(e$74){setTimeout(function(){throw e$74})}}function logCaughtError(root,boundary,errorInfo){try{var onCaughtError=root.onCaughtError;onCaughtError(errorInfo.value,{componentStack:errorInfo.stack,errorBoundary:1===boundary.tag?boundary.stateNode:null})}catch(e$75){setTimeout(function(){throw e$75})}}function createRootErrorUpdate(root,errorInfo,lane){lane=createUpdate(lane);lane.tag=3;lane.payload={element:null};lane.callback=function(){logUncaughtError(root,errorInfo)};return lane}function createClassErrorUpdate(lane){lane=createUpdate(lane);lane.tag=3;return lane}function initializeClassErrorUpdate(update,root,fiber,errorInfo){var getDerivedStateFromError=fiber.type.getDerivedStateFromError;if("function"==typeof getDerivedStateFromError){var error=errorInfo.value;update.payload=function(){return getDerivedStateFromError(error)};update.callback=function(){logCaughtError(root,fiber,errorInfo)}}var inst=fiber.stateNode;null!==inst&&"function"==typeof inst.componentDidCatch&&(update.callback=function(){logCaughtError(root,fiber,errorInfo);"function"!=typeof getDerivedStateFromError&&(null===legacyErrorBoundariesThatAlreadyFailed?legacyErrorBoundariesThatAlreadyFailed=new Set([this]):legacyErrorBoundariesThatAlreadyFailed.add(this));var stack=errorInfo.stack;this.componentDidCatch(errorInfo.value,{componentStack:null!==stack?stack:""})})}function throwException(root,returnFiber,sourceFiber,value,rootRenderLanes){sourceFiber.flags|=32768;if(null!==value&&"object"==typeof value&&"function"==typeof value.then){returnFiber=sourceFiber.alternate;null!==returnFiber&&propagateParentContextChanges(returnFiber,sourceFiber,rootRenderLanes,!0);sourceFiber=suspenseHandlerStackCursor.current;if(null!==sourceFiber){switch(sourceFiber.tag){case 13:return null===shellBoundary?renderDidSuspendDelayIfPossible():null===sourceFiber.alternate&&0===workInProgressRootExitStatus&&(workInProgressRootExitStatus=3),sourceFiber.flags&=-257,sourceFiber.flags|=65536,sourceFiber.lanes=rootRenderLanes,value===noopSuspenseyCommitThenable?sourceFiber.flags|=16384:(returnFiber=sourceFiber.updateQueue,null===returnFiber?sourceFiber.updateQueue=new Set([value]):returnFiber.add(value),attachPingListener(root,value,rootRenderLanes)),!1;case 22:return sourceFiber.flags|=65536,value===noopSuspenseyCommitThenable?sourceFiber.flags|=16384:(returnFiber=sourceFiber.updateQueue,null===returnFiber?(returnFiber={transitions:null,markerInstances:null,retryQueue:new Set([value])},sourceFiber.updateQueue=returnFiber):(sourceFiber=returnFiber.retryQueue,null===sourceFiber?returnFiber.retryQueue=new Set([value]):sourceFiber.add(value)),attachPingListener(root,value,rootRenderLanes)),!1}throw Error(formatProdErrorMessage(435,sourceFiber.tag))}attachPingListener(root,value,rootRenderLanes);renderDidSuspendDelayIfPossible();return!1}if(isHydrating)return returnFiber=suspenseHandlerStackCursor.current,null!==returnFiber?(0===(65536&returnFiber.flags)&&(returnFiber.flags|=256),returnFiber.flags|=65536,returnFiber.lanes=rootRenderLanes,value!==HydrationMismatchException&&(root=Error(formatProdErrorMessage(422),{cause:value}),queueHydrationError(createCapturedValueAtFiber(root,sourceFiber)))):(value!==HydrationMismatchException&&(returnFiber=Error(formatProdErrorMessage(423),{cause:value}),queueHydrationError(createCapturedValueAtFiber(returnFiber,sourceFiber))),root=root.current.alternate,root.flags|=65536,rootRenderLanes&=-rootRenderLanes,root.lanes|=rootRenderLanes,value=createCapturedValueAtFiber(value,sourceFiber),rootRenderLanes=createRootErrorUpdate(root.stateNode,value,rootRenderLanes),enqueueCapturedUpdate(root,rootRenderLanes),4!==workInProgressRootExitStatus&&(workInProgressRootExitStatus=2)),!1;var wrapperError=Error(formatProdErrorMessage(520),{cause:value});wrapperError=createCapturedValueAtFiber(wrapperError,sourceFiber);null===workInProgressRootConcurrentErrors?workInProgressRootConcurrentErrors=[wrapperError]:workInProgressRootConcurrentErrors.push(wrapperError);4!==workInProgressRootExitStatus&&(workInProgressRootExitStatus=2);if(null===returnFiber)return!0;value=createCapturedValueAtFiber(value,sourceFiber);sourceFiber=returnFiber;do{switch(sourceFiber.tag){case 3:return sourceFiber.flags|=65536,root=rootRenderLanes&-rootRenderLanes,sourceFiber.lanes|=root,root=createRootErrorUpdate(sourceFiber.stateNode,value,root),enqueueCapturedUpdate(sourceFiber,root),!1;case 1:if(returnFiber=sourceFiber.type,wrapperError=sourceFiber.stateNode,0===(128&sourceFiber.flags)&&("function"==typeof returnFiber.getDerivedStateFromError||null!==wrapperError&&"function"==typeof wrapperError.componentDidCatch&&(null===legacyErrorBoundariesThatAlreadyFailed||!legacyErrorBoundariesThatAlreadyFailed.has(wrapperError))))return sourceFiber.flags|=65536,rootRenderLanes&=-rootRenderLanes,sourceFiber.lanes|=rootRenderLanes,rootRenderLanes=createClassErrorUpdate(rootRenderLanes),initializeClassErrorUpdate(rootRenderLanes,root,sourceFiber,value),enqueueCapturedUpdate(sourceFiber,rootRenderLanes),!1}sourceFiber=sourceFiber.return}while(null!==sourceFiber);return!1}var SelectiveHydrationException=Error(formatProdErrorMessage(461)),didReceiveUpdate=!1;function reconcileChildren(current,workInProgress,nextChildren,renderLanes){workInProgress.child=null===current?mountChildFibers(workInProgress,null,nextChildren,renderLanes):reconcileChildFibers(workInProgress,current.child,nextChildren,renderLanes)}function updateForwardRef(current,workInProgress,Component,nextProps,renderLanes){Component=Component.render;var ref=workInProgress.ref;if("ref"in nextProps){var propsWithoutRef={};for(var key in nextProps)"ref"!==key&&(propsWithoutRef[key]=nextProps[key])}else propsWithoutRef=nextProps;prepareToReadContext(workInProgress);nextProps=renderWithHooks(current,workInProgress,Component,propsWithoutRef,ref,renderLanes);key=checkDidRenderIdHook();if(null!==current&&!didReceiveUpdate)return bailoutHooks(current,workInProgress,renderLanes),bailoutOnAlreadyFinishedWork(current,workInProgress,renderLanes);isHydrating&&key&&pushMaterializedTreeId(workInProgress);workInProgress.flags|=1;reconcileChildren(current,workInProgress,nextProps,renderLanes);return workInProgress.child}function updateMemoComponent(current,workInProgress,Component,nextProps,renderLanes){if(null===current){var type=Component.type;if("function"==typeof type&&!shouldConstruct(type)&&void 0===type.defaultProps&&null===Component.compare)return workInProgress.tag=15,workInProgress.type=type,updateSimpleMemoComponent(current,workInProgress,type,nextProps,renderLanes);current=createFiberFromTypeAndProps(Component.type,null,nextProps,workInProgress,workInProgress.mode,renderLanes);current.ref=workInProgress.ref;current.return=workInProgress;return workInProgress.child=current}type=current.child;if(!checkScheduledUpdateOrContext(current,renderLanes)){var prevProps=type.memoizedProps;Component=Component.compare;Component=null!==Component?Component:shallowEqual;if(Component(prevProps,nextProps)&¤t.ref===workInProgress.ref)return bailoutOnAlreadyFinishedWork(current,workInProgress,renderLanes)}workInProgress.flags|=1;current=createWorkInProgress(type,nextProps);current.ref=workInProgress.ref;current.return=workInProgress;return workInProgress.child=current}function updateSimpleMemoComponent(current,workInProgress,Component,nextProps,renderLanes){if(null!==current){var prevProps=current.memoizedProps;if(shallowEqual(prevProps,nextProps)&¤t.ref===workInProgress.ref)if(didReceiveUpdate=!1,workInProgress.pendingProps=nextProps=prevProps,!checkScheduledUpdateOrContext(current,renderLanes))return workInProgress.lanes=current.lanes,bailoutOnAlreadyFinishedWork(current,workInProgress,renderLanes);else 0!==(131072¤t.flags)&&(didReceiveUpdate=!0)}return updateFunctionComponent(current,workInProgress,Component,nextProps,renderLanes)}function updateOffscreenComponent(current,workInProgress,renderLanes){var nextProps=workInProgress.pendingProps,nextChildren=nextProps.children,prevState=null!==current?current.memoizedState:null;if("hidden"===nextProps.mode){if(0!==(128&workInProgress.flags)){nextProps=null!==prevState?prevState.baseLanes|renderLanes:renderLanes;if(null!==current){nextChildren=workInProgress.child=current.child;for(prevState=0;null!==nextChildren;)prevState=prevState|nextChildren.lanes|nextChildren.childLanes,nextChildren=nextChildren.sibling;workInProgress.childLanes=prevState&~nextProps}else workInProgress.childLanes=0,workInProgress.child=null;return deferHiddenOffscreenComponent(current,workInProgress,nextProps,renderLanes)}if(0===(0x20000000&renderLanes))return workInProgress.lanes=workInProgress.childLanes=0x20000000,deferHiddenOffscreenComponent(current,workInProgress,null!==prevState?prevState.baseLanes|renderLanes:renderLanes,renderLanes);workInProgress.memoizedState={baseLanes:0,cachePool:null},null!==current&&pushTransition(workInProgress,null!==prevState?prevState.cachePool:null),null!==prevState?pushHiddenContext(workInProgress,prevState):reuseHiddenContextOnStack(),pushOffscreenSuspenseHandler(workInProgress)}else null!==prevState?(pushTransition(workInProgress,prevState.cachePool),pushHiddenContext(workInProgress,prevState),reuseSuspenseHandlerOnStack(workInProgress),workInProgress.memoizedState=null):(null!==current&&pushTransition(workInProgress,null),reuseHiddenContextOnStack(),reuseSuspenseHandlerOnStack(workInProgress));reconcileChildren(current,workInProgress,nextChildren,renderLanes);return workInProgress.child}function deferHiddenOffscreenComponent(current,workInProgress,nextBaseLanes,renderLanes){var JSCompiler_inline_result=peekCacheFromPool();JSCompiler_inline_result=null===JSCompiler_inline_result?null:{parent:CacheContext._currentValue,pool:JSCompiler_inline_result};workInProgress.memoizedState={baseLanes:nextBaseLanes,cachePool:JSCompiler_inline_result};null!==current&&pushTransition(workInProgress,null);reuseHiddenContextOnStack();pushOffscreenSuspenseHandler(workInProgress);null!==current&&propagateParentContextChanges(current,workInProgress,renderLanes,!0);return null}function markRef(current,workInProgress){var ref=workInProgress.ref;if(null===ref)null!==current&&null!==current.ref&&(workInProgress.flags|=4194816);else{if("function"!=typeof ref&&"object"!=typeof ref)throw Error(formatProdErrorMessage(284));if(null===current||current.ref!==ref)workInProgress.flags|=4194816}}function updateFunctionComponent(current,workInProgress,Component,nextProps,renderLanes){prepareToReadContext(workInProgress);Component=renderWithHooks(current,workInProgress,Component,nextProps,void 0,renderLanes);nextProps=checkDidRenderIdHook();if(null!==current&&!didReceiveUpdate)return bailoutHooks(current,workInProgress,renderLanes),bailoutOnAlreadyFinishedWork(current,workInProgress,renderLanes);isHydrating&&nextProps&&pushMaterializedTreeId(workInProgress);workInProgress.flags|=1;reconcileChildren(current,workInProgress,Component,renderLanes);return workInProgress.child}function replayFunctionComponent(current,workInProgress,nextProps,Component,secondArg,renderLanes){prepareToReadContext(workInProgress);workInProgress.updateQueue=null;nextProps=renderWithHooksAgain(workInProgress,Component,nextProps,secondArg);finishRenderingHooks(current);Component=checkDidRenderIdHook();if(null!==current&&!didReceiveUpdate)return bailoutHooks(current,workInProgress,renderLanes),bailoutOnAlreadyFinishedWork(current,workInProgress,renderLanes);isHydrating&&Component&&pushMaterializedTreeId(workInProgress);workInProgress.flags|=1;reconcileChildren(current,workInProgress,nextProps,renderLanes);return workInProgress.child}function updateClassComponent(current,workInProgress,Component,nextProps,renderLanes){prepareToReadContext(workInProgress);if(null===workInProgress.stateNode){var context=emptyContextObject,contextType=Component.contextType;"object"==typeof contextType&&null!==contextType&&(context=readContext(contextType));context=new Component(nextProps,context);workInProgress.memoizedState=null!==context.state&&void 0!==context.state?context.state:null;context.updater=classComponentUpdater;workInProgress.stateNode=context;context._reactInternals=workInProgress;context=workInProgress.stateNode;context.props=nextProps;context.state=workInProgress.memoizedState;context.refs={};initializeUpdateQueue(workInProgress);contextType=Component.contextType;context.context="object"==typeof contextType&&null!==contextType?readContext(contextType):emptyContextObject;context.state=workInProgress.memoizedState;contextType=Component.getDerivedStateFromProps;"function"==typeof contextType&&(applyDerivedStateFromProps(workInProgress,Component,contextType,nextProps),context.state=workInProgress.memoizedState);"function"==typeof Component.getDerivedStateFromProps||"function"==typeof context.getSnapshotBeforeUpdate||"function"!=typeof context.UNSAFE_componentWillMount&&"function"!=typeof context.componentWillMount||(contextType=context.state,"function"==typeof context.componentWillMount&&context.componentWillMount(),"function"==typeof context.UNSAFE_componentWillMount&&context.UNSAFE_componentWillMount(),contextType!==context.state&&classComponentUpdater.enqueueReplaceState(context,context.state,null),processUpdateQueue(workInProgress,nextProps,context,renderLanes),suspendIfUpdateReadFromEntangledAsyncAction(),context.state=workInProgress.memoizedState);"function"==typeof context.componentDidMount&&(workInProgress.flags|=4194308);nextProps=!0}else if(null===current){context=workInProgress.stateNode;var unresolvedOldProps=workInProgress.memoizedProps,oldProps=resolveClassComponentProps(Component,unresolvedOldProps);context.props=oldProps;var oldContext=context.context,contextType$jscomp$0=Component.contextType;contextType=emptyContextObject;"object"==typeof contextType$jscomp$0&&null!==contextType$jscomp$0&&(contextType=readContext(contextType$jscomp$0));var getDerivedStateFromProps=Component.getDerivedStateFromProps;contextType$jscomp$0="function"==typeof getDerivedStateFromProps||"function"==typeof context.getSnapshotBeforeUpdate;unresolvedOldProps=workInProgress.pendingProps!==unresolvedOldProps;contextType$jscomp$0||"function"!=typeof context.UNSAFE_componentWillReceiveProps&&"function"!=typeof context.componentWillReceiveProps||(unresolvedOldProps||oldContext!==contextType)&&callComponentWillReceiveProps(workInProgress,context,nextProps,contextType);hasForceUpdate=!1;var oldState=workInProgress.memoizedState;context.state=oldState;processUpdateQueue(workInProgress,nextProps,context,renderLanes);suspendIfUpdateReadFromEntangledAsyncAction();oldContext=workInProgress.memoizedState;unresolvedOldProps||oldState!==oldContext||hasForceUpdate?("function"==typeof getDerivedStateFromProps&&(applyDerivedStateFromProps(workInProgress,Component,getDerivedStateFromProps,nextProps),oldContext=workInProgress.memoizedState),(oldProps=hasForceUpdate||checkShouldComponentUpdate(workInProgress,Component,oldProps,nextProps,oldState,oldContext,contextType))?(contextType$jscomp$0||"function"!=typeof context.UNSAFE_componentWillMount&&"function"!=typeof context.componentWillMount||("function"==typeof context.componentWillMount&&context.componentWillMount(),"function"==typeof context.UNSAFE_componentWillMount&&context.UNSAFE_componentWillMount()),"function"==typeof context.componentDidMount&&(workInProgress.flags|=4194308)):("function"==typeof context.componentDidMount&&(workInProgress.flags|=4194308),workInProgress.memoizedProps=nextProps,workInProgress.memoizedState=oldContext),context.props=nextProps,context.state=oldContext,context.context=contextType,nextProps=oldProps):("function"==typeof context.componentDidMount&&(workInProgress.flags|=4194308),nextProps=!1)}else{context=workInProgress.stateNode;cloneUpdateQueue(current,workInProgress);contextType=workInProgress.memoizedProps;contextType$jscomp$0=resolveClassComponentProps(Component,contextType);context.props=contextType$jscomp$0;getDerivedStateFromProps=workInProgress.pendingProps;oldState=context.context;oldContext=Component.contextType;oldProps=emptyContextObject;"object"==typeof oldContext&&null!==oldContext&&(oldProps=readContext(oldContext));unresolvedOldProps=Component.getDerivedStateFromProps;(oldContext="function"==typeof unresolvedOldProps||"function"==typeof context.getSnapshotBeforeUpdate)||"function"!=typeof context.UNSAFE_componentWillReceiveProps&&"function"!=typeof context.componentWillReceiveProps||(contextType!==getDerivedStateFromProps||oldState!==oldProps)&&callComponentWillReceiveProps(workInProgress,context,nextProps,oldProps);hasForceUpdate=!1;oldState=workInProgress.memoizedState;context.state=oldState;processUpdateQueue(workInProgress,nextProps,context,renderLanes);suspendIfUpdateReadFromEntangledAsyncAction();var newState=workInProgress.memoizedState;contextType!==getDerivedStateFromProps||oldState!==newState||hasForceUpdate||null!==current&&null!==current.dependencies&&checkIfContextChanged(current.dependencies)?("function"==typeof unresolvedOldProps&&(applyDerivedStateFromProps(workInProgress,Component,unresolvedOldProps,nextProps),newState=workInProgress.memoizedState),(contextType$jscomp$0=hasForceUpdate||checkShouldComponentUpdate(workInProgress,Component,contextType$jscomp$0,nextProps,oldState,newState,oldProps)||null!==current&&null!==current.dependencies&&checkIfContextChanged(current.dependencies))?(oldContext||"function"!=typeof context.UNSAFE_componentWillUpdate&&"function"!=typeof context.componentWillUpdate||("function"==typeof context.componentWillUpdate&&context.componentWillUpdate(nextProps,newState,oldProps),"function"==typeof context.UNSAFE_componentWillUpdate&&context.UNSAFE_componentWillUpdate(nextProps,newState,oldProps)),"function"==typeof context.componentDidUpdate&&(workInProgress.flags|=4),"function"==typeof context.getSnapshotBeforeUpdate&&(workInProgress.flags|=1024)):("function"!=typeof context.componentDidUpdate||contextType===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.flags|=4),"function"!=typeof context.getSnapshotBeforeUpdate||contextType===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.flags|=1024),workInProgress.memoizedProps=nextProps,workInProgress.memoizedState=newState),context.props=nextProps,context.state=newState,context.context=oldProps,nextProps=contextType$jscomp$0):("function"!=typeof context.componentDidUpdate||contextType===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.flags|=4),"function"!=typeof context.getSnapshotBeforeUpdate||contextType===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.flags|=1024),nextProps=!1)}context=nextProps;markRef(current,workInProgress);nextProps=0!==(128&workInProgress.flags);context||nextProps?(context=workInProgress.stateNode,Component=nextProps&&"function"!=typeof Component.getDerivedStateFromError?null:context.render(),workInProgress.flags|=1,null!==current&&nextProps?(workInProgress.child=reconcileChildFibers(workInProgress,current.child,null,renderLanes),workInProgress.child=reconcileChildFibers(workInProgress,null,Component,renderLanes)):reconcileChildren(current,workInProgress,Component,renderLanes),workInProgress.memoizedState=context.state,current=workInProgress.child):current=bailoutOnAlreadyFinishedWork(current,workInProgress,renderLanes);return current}function mountHostRootWithoutHydrating(current,workInProgress,nextChildren,renderLanes){resetHydrationState();workInProgress.flags|=256;reconcileChildren(current,workInProgress,nextChildren,renderLanes);return workInProgress.child}var SUSPENDED_MARKER={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function mountSuspenseOffscreenState(renderLanes){return{baseLanes:renderLanes,cachePool:getSuspendedCache()}}function getRemainingWorkInPrimaryTree(current,primaryTreeDidDefer,renderLanes){current=null!==current?current.childLanes&~renderLanes:0;primaryTreeDidDefer&&(current|=workInProgressDeferredLane);return current}function updateSuspenseComponent(current,workInProgress,renderLanes){var nextProps=workInProgress.pendingProps,showFallback=!1,didSuspend=0!==(128&workInProgress.flags),JSCompiler_temp;(JSCompiler_temp=didSuspend)||(JSCompiler_temp=null!==current&&null===current.memoizedState?!1:0!==(2&suspenseStackCursor.current));JSCompiler_temp&&(showFallback=!0,workInProgress.flags&=-129);JSCompiler_temp=0!==(32&workInProgress.flags);workInProgress.flags&=-33;if(null===current){if(isHydrating){showFallback?pushPrimaryTreeSuspenseHandler(workInProgress):reuseSuspenseHandlerOnStack(workInProgress);if(isHydrating){var nextInstance=nextHydratableInstance,JSCompiler_temp$jscomp$0;if(JSCompiler_temp$jscomp$0=nextInstance){c:{JSCompiler_temp$jscomp$0=nextInstance;for(nextInstance=rootOrSingletonContext;8!==JSCompiler_temp$jscomp$0.nodeType;){if(!nextInstance){nextInstance=null;break c}JSCompiler_temp$jscomp$0=getNextHydratable(JSCompiler_temp$jscomp$0.nextSibling);if(null===JSCompiler_temp$jscomp$0){nextInstance=null;break c}}nextInstance=JSCompiler_temp$jscomp$0}null!==nextInstance?(workInProgress.memoizedState={dehydrated:nextInstance,treeContext:null!==treeContextProvider?{id:treeContextId,overflow:treeContextOverflow}:null,retryLane:0x20000000,hydrationErrors:null},JSCompiler_temp$jscomp$0=createFiberImplClass(18,null,null,0),JSCompiler_temp$jscomp$0.stateNode=nextInstance,JSCompiler_temp$jscomp$0.return=workInProgress,workInProgress.child=JSCompiler_temp$jscomp$0,hydrationParentFiber=workInProgress,nextHydratableInstance=null,JSCompiler_temp$jscomp$0=!0):JSCompiler_temp$jscomp$0=!1}JSCompiler_temp$jscomp$0||throwOnHydrationMismatch(workInProgress)}nextInstance=workInProgress.memoizedState;if(null!==nextInstance&&(nextInstance=nextInstance.dehydrated,null!==nextInstance))return isSuspenseInstanceFallback(nextInstance)?workInProgress.lanes=32:workInProgress.lanes=0x20000000,null;popSuspenseHandler(workInProgress)}nextInstance=nextProps.children;nextProps=nextProps.fallback;if(showFallback)return reuseSuspenseHandlerOnStack(workInProgress),showFallback=workInProgress.mode,nextInstance=mountWorkInProgressOffscreenFiber({mode:"hidden",children:nextInstance},showFallback),nextProps=createFiberFromFragment(nextProps,showFallback,renderLanes,null),nextInstance.return=workInProgress,nextProps.return=workInProgress,nextInstance.sibling=nextProps,workInProgress.child=nextInstance,showFallback=workInProgress.child,showFallback.memoizedState=mountSuspenseOffscreenState(renderLanes),showFallback.childLanes=getRemainingWorkInPrimaryTree(current,JSCompiler_temp,renderLanes),workInProgress.memoizedState=SUSPENDED_MARKER,nextProps;pushPrimaryTreeSuspenseHandler(workInProgress);return mountSuspensePrimaryChildren(workInProgress,nextInstance)}JSCompiler_temp$jscomp$0=current.memoizedState;if(null!==JSCompiler_temp$jscomp$0&&(nextInstance=JSCompiler_temp$jscomp$0.dehydrated,null!==nextInstance)){if(didSuspend)256&workInProgress.flags?(pushPrimaryTreeSuspenseHandler(workInProgress),workInProgress.flags&=-257,workInProgress=retrySuspenseComponentWithoutHydrating(current,workInProgress,renderLanes)):null!==workInProgress.memoizedState?(reuseSuspenseHandlerOnStack(workInProgress),workInProgress.child=current.child,workInProgress.flags|=128,workInProgress=null):(reuseSuspenseHandlerOnStack(workInProgress),showFallback=nextProps.fallback,nextInstance=workInProgress.mode,nextProps=mountWorkInProgressOffscreenFiber({mode:"visible",children:nextProps.children},nextInstance),showFallback=createFiberFromFragment(showFallback,nextInstance,renderLanes,null),showFallback.flags|=2,nextProps.return=workInProgress,showFallback.return=workInProgress,nextProps.sibling=showFallback,workInProgress.child=nextProps,reconcileChildFibers(workInProgress,current.child,null,renderLanes),nextProps=workInProgress.child,nextProps.memoizedState=mountSuspenseOffscreenState(renderLanes),nextProps.childLanes=getRemainingWorkInPrimaryTree(current,JSCompiler_temp,renderLanes),workInProgress.memoizedState=SUSPENDED_MARKER,workInProgress=showFallback);else if(pushPrimaryTreeSuspenseHandler(workInProgress),isSuspenseInstanceFallback(nextInstance)){JSCompiler_temp=nextInstance.nextSibling&&nextInstance.nextSibling.dataset;if(JSCompiler_temp)var digest=JSCompiler_temp.dgst;JSCompiler_temp=digest;nextProps=Error(formatProdErrorMessage(419));nextProps.stack="";nextProps.digest=JSCompiler_temp;queueHydrationError({value:nextProps,source:null,stack:null});workInProgress=retrySuspenseComponentWithoutHydrating(current,workInProgress,renderLanes)}else if(didReceiveUpdate||propagateParentContextChanges(current,workInProgress,renderLanes,!1),JSCompiler_temp=0!==(renderLanes¤t.childLanes),didReceiveUpdate||JSCompiler_temp){JSCompiler_temp=workInProgressRoot;if(null!==JSCompiler_temp&&(nextProps=renderLanes&-renderLanes,nextProps=0!==(42&nextProps)?1:getBumpedLaneForHydrationByLane(nextProps),nextProps=0!==(nextProps&(JSCompiler_temp.suspendedLanes|renderLanes))?0:nextProps,0!==nextProps&&nextProps!==JSCompiler_temp$jscomp$0.retryLane))throw JSCompiler_temp$jscomp$0.retryLane=nextProps,enqueueConcurrentRenderForLane(current,nextProps),scheduleUpdateOnFiber(JSCompiler_temp,current,nextProps),SelectiveHydrationException;"$?"===nextInstance.data||renderDidSuspendDelayIfPossible();workInProgress=retrySuspenseComponentWithoutHydrating(current,workInProgress,renderLanes)}else"$?"===nextInstance.data?(workInProgress.flags|=192,workInProgress.child=current.child,workInProgress=null):(current=JSCompiler_temp$jscomp$0.treeContext,nextHydratableInstance=getNextHydratable(nextInstance.nextSibling),hydrationParentFiber=workInProgress,isHydrating=!0,hydrationErrors=null,rootOrSingletonContext=!1,null!==current&&(idStack[idStackIndex++]=treeContextId,idStack[idStackIndex++]=treeContextOverflow,idStack[idStackIndex++]=treeContextProvider,treeContextId=current.id,treeContextOverflow=current.overflow,treeContextProvider=workInProgress),workInProgress=mountSuspensePrimaryChildren(workInProgress,nextProps.children),workInProgress.flags|=4096);return workInProgress}if(showFallback)return reuseSuspenseHandlerOnStack(workInProgress),showFallback=nextProps.fallback,nextInstance=workInProgress.mode,JSCompiler_temp$jscomp$0=current.child,digest=JSCompiler_temp$jscomp$0.sibling,nextProps=createWorkInProgress(JSCompiler_temp$jscomp$0,{mode:"hidden",children:nextProps.children}),nextProps.subtreeFlags=0x3e00000&JSCompiler_temp$jscomp$0.subtreeFlags,null!==digest?showFallback=createWorkInProgress(digest,showFallback):(showFallback=createFiberFromFragment(showFallback,nextInstance,renderLanes,null),showFallback.flags|=2),showFallback.return=workInProgress,nextProps.return=workInProgress,nextProps.sibling=showFallback,workInProgress.child=nextProps,nextProps=showFallback,showFallback=workInProgress.child,nextInstance=current.child.memoizedState,null===nextInstance?nextInstance=mountSuspenseOffscreenState(renderLanes):(JSCompiler_temp$jscomp$0=nextInstance.cachePool,null!==JSCompiler_temp$jscomp$0?(digest=CacheContext._currentValue,JSCompiler_temp$jscomp$0=JSCompiler_temp$jscomp$0.parent!==digest?{parent:digest,pool:digest}:JSCompiler_temp$jscomp$0):JSCompiler_temp$jscomp$0=getSuspendedCache(),nextInstance={baseLanes:nextInstance.baseLanes|renderLanes,cachePool:JSCompiler_temp$jscomp$0}),showFallback.memoizedState=nextInstance,showFallback.childLanes=getRemainingWorkInPrimaryTree(current,JSCompiler_temp,renderLanes),workInProgress.memoizedState=SUSPENDED_MARKER,nextProps;pushPrimaryTreeSuspenseHandler(workInProgress);renderLanes=current.child;current=renderLanes.sibling;renderLanes=createWorkInProgress(renderLanes,{mode:"visible",children:nextProps.children});renderLanes.return=workInProgress;renderLanes.sibling=null;null!==current&&(JSCompiler_temp=workInProgress.deletions,null===JSCompiler_temp?(workInProgress.deletions=[current],workInProgress.flags|=16):JSCompiler_temp.push(current));workInProgress.child=renderLanes;workInProgress.memoizedState=null;return renderLanes}function mountSuspensePrimaryChildren(workInProgress,primaryChildren){primaryChildren=mountWorkInProgressOffscreenFiber({mode:"visible",children:primaryChildren},workInProgress.mode);primaryChildren.return=workInProgress;return workInProgress.child=primaryChildren}function mountWorkInProgressOffscreenFiber(offscreenProps,mode){offscreenProps=createFiberImplClass(22,offscreenProps,null,mode);offscreenProps.lanes=0;offscreenProps.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null};return offscreenProps}function retrySuspenseComponentWithoutHydrating(current,workInProgress,renderLanes){reconcileChildFibers(workInProgress,current.child,null,renderLanes);current=mountSuspensePrimaryChildren(workInProgress,workInProgress.pendingProps.children);current.flags|=2;workInProgress.memoizedState=null;return current}function scheduleSuspenseWorkOnFiber(fiber,renderLanes,propagationRoot){fiber.lanes|=renderLanes;var alternate=fiber.alternate;null!==alternate&&(alternate.lanes|=renderLanes);scheduleContextWorkOnParentPath(fiber.return,renderLanes,propagationRoot)}function initSuspenseListRenderState(workInProgress,isBackwards,tail,lastContentRow,tailMode){var renderState=workInProgress.memoizedState;null===renderState?workInProgress.memoizedState={isBackwards:isBackwards,rendering:null,renderingStartTime:0,last:lastContentRow,tail:tail,tailMode:tailMode}:(renderState.isBackwards=isBackwards,renderState.rendering=null,renderState.renderingStartTime=0,renderState.last=lastContentRow,renderState.tail=tail,renderState.tailMode=tailMode)}function updateSuspenseListComponent(current,workInProgress,renderLanes){var nextProps=workInProgress.pendingProps,revealOrder=nextProps.revealOrder,tailMode=nextProps.tail;reconcileChildren(current,workInProgress,nextProps.children,renderLanes);nextProps=suspenseStackCursor.current;if(0!==(2&nextProps))nextProps=1&nextProps|2,workInProgress.flags|=128;else{if(null!==current&&0!==(128¤t.flags))a:for(current=workInProgress.child;null!==current;){if(13===current.tag)null!==current.memoizedState&&scheduleSuspenseWorkOnFiber(current,renderLanes,workInProgress);else if(19===current.tag)scheduleSuspenseWorkOnFiber(current,renderLanes,workInProgress);else if(null!==current.child){current.child.return=current;current=current.child;continue}if(current===workInProgress)break;for(;null===current.sibling;){if(null===current.return||current.return===workInProgress)break a;current=current.return}current.sibling.return=current.return;current=current.sibling}nextProps&=1}push(suspenseStackCursor,nextProps);switch(revealOrder){case"forwards":renderLanes=workInProgress.child;for(revealOrder=null;null!==renderLanes;)current=renderLanes.alternate,null!==current&&null===findFirstSuspended(current)&&(revealOrder=renderLanes),renderLanes=renderLanes.sibling;renderLanes=revealOrder;null===renderLanes?(revealOrder=workInProgress.child,workInProgress.child=null):(revealOrder=renderLanes.sibling,renderLanes.sibling=null);initSuspenseListRenderState(workInProgress,!1,revealOrder,renderLanes,tailMode);break;case"backwards":renderLanes=null;revealOrder=workInProgress.child;for(workInProgress.child=null;null!==revealOrder;){current=revealOrder.alternate;if(null!==current&&null===findFirstSuspended(current)){workInProgress.child=revealOrder;break}current=revealOrder.sibling;revealOrder.sibling=renderLanes;renderLanes=revealOrder;revealOrder=current}initSuspenseListRenderState(workInProgress,!0,renderLanes,null,tailMode);break;case"together":initSuspenseListRenderState(workInProgress,!1,null,null,void 0);break;default:workInProgress.memoizedState=null}return workInProgress.child}function bailoutOnAlreadyFinishedWork(current,workInProgress,renderLanes){null!==current&&(workInProgress.dependencies=current.dependencies);workInProgressRootSkippedLanes|=workInProgress.lanes;if(0===(renderLanes&workInProgress.childLanes)){if(null===current)return null;else if(propagateParentContextChanges(current,workInProgress,renderLanes,!1),0===(renderLanes&workInProgress.childLanes))return null}if(null!==current&&workInProgress.child!==current.child)throw Error(formatProdErrorMessage(153));if(null!==workInProgress.child){current=workInProgress.child;renderLanes=createWorkInProgress(current,current.pendingProps);workInProgress.child=renderLanes;for(renderLanes.return=workInProgress;null!==current.sibling;)current=current.sibling,renderLanes=renderLanes.sibling=createWorkInProgress(current,current.pendingProps),renderLanes.return=workInProgress;renderLanes.sibling=null}return workInProgress.child}function checkScheduledUpdateOrContext(current,renderLanes){if(0!==(current.lanes&renderLanes))return!0;current=current.dependencies;return!!(null!==current&&checkIfContextChanged(current))}function attemptEarlyBailoutIfNoScheduledUpdate(current,workInProgress,renderLanes){switch(workInProgress.tag){case 3:pushHostContainer(workInProgress,workInProgress.stateNode.containerInfo);pushProvider(workInProgress,CacheContext,current.memoizedState.cache);resetHydrationState();break;case 27:case 5:pushHostContext(workInProgress);break;case 4:pushHostContainer(workInProgress,workInProgress.stateNode.containerInfo);break;case 10:pushProvider(workInProgress,workInProgress.type,workInProgress.memoizedProps.value);break;case 13:var state=workInProgress.memoizedState;if(null!==state){if(null!==state.dehydrated)return pushPrimaryTreeSuspenseHandler(workInProgress),workInProgress.flags|=128,null;if(0!==(renderLanes&workInProgress.child.childLanes))return updateSuspenseComponent(current,workInProgress,renderLanes);pushPrimaryTreeSuspenseHandler(workInProgress);current=bailoutOnAlreadyFinishedWork(current,workInProgress,renderLanes);return null!==current?current.sibling:null}pushPrimaryTreeSuspenseHandler(workInProgress);break;case 19:var didSuspendBefore=0!==(128¤t.flags);state=0!==(renderLanes&workInProgress.childLanes);state||(propagateParentContextChanges(current,workInProgress,renderLanes,!1),state=0!==(renderLanes&workInProgress.childLanes));if(didSuspendBefore){if(state)return updateSuspenseListComponent(current,workInProgress,renderLanes);workInProgress.flags|=128}didSuspendBefore=workInProgress.memoizedState;null!==didSuspendBefore&&(didSuspendBefore.rendering=null,didSuspendBefore.tail=null,didSuspendBefore.lastEffect=null);push(suspenseStackCursor,suspenseStackCursor.current);if(!state)return null;break;case 22:case 23:return workInProgress.lanes=0,updateOffscreenComponent(current,workInProgress,renderLanes);case 24:pushProvider(workInProgress,CacheContext,current.memoizedState.cache)}return bailoutOnAlreadyFinishedWork(current,workInProgress,renderLanes)}function beginWork(current,workInProgress,renderLanes){if(null!==current)if(current.memoizedProps!==workInProgress.pendingProps)didReceiveUpdate=!0;else{if(!checkScheduledUpdateOrContext(current,renderLanes)&&0===(128&workInProgress.flags))return didReceiveUpdate=!1,attemptEarlyBailoutIfNoScheduledUpdate(current,workInProgress,renderLanes);didReceiveUpdate=0!==(131072¤t.flags)}else didReceiveUpdate=!1,isHydrating&&0!==(1048576&workInProgress.flags)&&pushTreeId(workInProgress,treeForkCount,workInProgress.index);workInProgress.lanes=0;switch(workInProgress.tag){case 16:a:{current=workInProgress.pendingProps;var lazyComponent=workInProgress.elementType,init=lazyComponent._init;lazyComponent=init(lazyComponent._payload);workInProgress.type=lazyComponent;if("function"==typeof lazyComponent)shouldConstruct(lazyComponent)?(current=resolveClassComponentProps(lazyComponent,current),workInProgress.tag=1,workInProgress=updateClassComponent(null,workInProgress,lazyComponent,current,renderLanes)):(workInProgress.tag=0,workInProgress=updateFunctionComponent(null,workInProgress,lazyComponent,current,renderLanes));else{if(null!=lazyComponent){if(init=lazyComponent.$$typeof,init===REACT_FORWARD_REF_TYPE){workInProgress.tag=11;workInProgress=updateForwardRef(null,workInProgress,lazyComponent,current,renderLanes);break a}else if(init===REACT_MEMO_TYPE){workInProgress.tag=14;workInProgress=updateMemoComponent(null,workInProgress,lazyComponent,current,renderLanes);break a}}workInProgress=getComponentNameFromType(lazyComponent)||lazyComponent;throw Error(formatProdErrorMessage(306,workInProgress,""))}}return workInProgress;case 0:return updateFunctionComponent(current,workInProgress,workInProgress.type,workInProgress.pendingProps,renderLanes);case 1:return lazyComponent=workInProgress.type,init=resolveClassComponentProps(lazyComponent,workInProgress.pendingProps),updateClassComponent(current,workInProgress,lazyComponent,init,renderLanes);case 3:a:{pushHostContainer(workInProgress,workInProgress.stateNode.containerInfo);if(null===current)throw Error(formatProdErrorMessage(387));lazyComponent=workInProgress.pendingProps;var prevState=workInProgress.memoizedState;init=prevState.element;cloneUpdateQueue(current,workInProgress);processUpdateQueue(workInProgress,lazyComponent,null,renderLanes);var nextState=workInProgress.memoizedState;lazyComponent=nextState.cache;pushProvider(workInProgress,CacheContext,lazyComponent);lazyComponent!==prevState.cache&&propagateContextChanges(workInProgress,[CacheContext],renderLanes,!0);suspendIfUpdateReadFromEntangledAsyncAction();lazyComponent=nextState.element;if(prevState.isDehydrated)if(prevState={element:lazyComponent,isDehydrated:!1,cache:nextState.cache},workInProgress.updateQueue.baseState=prevState,workInProgress.memoizedState=prevState,256&workInProgress.flags){workInProgress=mountHostRootWithoutHydrating(current,workInProgress,lazyComponent,renderLanes);break a}else if(lazyComponent!==init){init=createCapturedValueAtFiber(Error(formatProdErrorMessage(424)),workInProgress);queueHydrationError(init);workInProgress=mountHostRootWithoutHydrating(current,workInProgress,lazyComponent,renderLanes);break a}else{current=workInProgress.stateNode.containerInfo;switch(current.nodeType){case 9:current=current.body;break;default:current="HTML"===current.nodeName?current.ownerDocument.body:current}nextHydratableInstance=getNextHydratable(current.firstChild);hydrationParentFiber=workInProgress;isHydrating=!0;hydrationErrors=null;rootOrSingletonContext=!0;renderLanes=mountChildFibers(workInProgress,null,lazyComponent,renderLanes);for(workInProgress.child=renderLanes;renderLanes;)renderLanes.flags=-3&renderLanes.flags|4096,renderLanes=renderLanes.sibling}else{resetHydrationState();if(lazyComponent===init){workInProgress=bailoutOnAlreadyFinishedWork(current,workInProgress,renderLanes);break a}reconcileChildren(current,workInProgress,lazyComponent,renderLanes)}workInProgress=workInProgress.child}return workInProgress;case 26:return markRef(current,workInProgress),null===current?(renderLanes=getResource(workInProgress.type,null,workInProgress.pendingProps,null))?workInProgress.memoizedState=renderLanes:isHydrating||(renderLanes=workInProgress.type,current=workInProgress.pendingProps,lazyComponent=getOwnerDocumentFromRootContainer(rootInstanceStackCursor.current).createElement(renderLanes),lazyComponent[internalInstanceKey]=workInProgress,lazyComponent[internalPropsKey]=current,setInitialProperties(lazyComponent,renderLanes,current),markNodeAsHoistable(lazyComponent),workInProgress.stateNode=lazyComponent):workInProgress.memoizedState=getResource(workInProgress.type,current.memoizedProps,workInProgress.pendingProps,current.memoizedState),null;case 27:return pushHostContext(workInProgress),null===current&&isHydrating&&(lazyComponent=workInProgress.stateNode=resolveSingletonInstance(workInProgress.type,workInProgress.pendingProps,rootInstanceStackCursor.current),hydrationParentFiber=workInProgress,rootOrSingletonContext=!0,init=nextHydratableInstance,isSingletonScope(workInProgress.type)?(previousHydratableOnEnteringScopedSingleton=init,nextHydratableInstance=getNextHydratable(lazyComponent.firstChild)):nextHydratableInstance=init),reconcileChildren(current,workInProgress,workInProgress.pendingProps.children,renderLanes),markRef(current,workInProgress),null===current&&(workInProgress.flags|=4194304),workInProgress.child;case 5:if(null===current&&isHydrating){if(init=lazyComponent=nextHydratableInstance)lazyComponent=canHydrateInstance(lazyComponent,workInProgress.type,workInProgress.pendingProps,rootOrSingletonContext),null!==lazyComponent?(workInProgress.stateNode=lazyComponent,hydrationParentFiber=workInProgress,nextHydratableInstance=getNextHydratable(lazyComponent.firstChild),rootOrSingletonContext=!1,init=!0):init=!1;init||throwOnHydrationMismatch(workInProgress)}pushHostContext(workInProgress);init=workInProgress.type;prevState=workInProgress.pendingProps;nextState=null!==current?current.memoizedProps:null;lazyComponent=prevState.children;shouldSetTextContent(init,prevState)?lazyComponent=null:null!==nextState&&shouldSetTextContent(init,nextState)&&(workInProgress.flags|=32);null!==workInProgress.memoizedState&&(init=renderWithHooks(current,workInProgress,TransitionAwareHostComponent,null,null,renderLanes),HostTransitionContext._currentValue=init);markRef(current,workInProgress);reconcileChildren(current,workInProgress,lazyComponent,renderLanes);return workInProgress.child;case 6:if(null===current&&isHydrating){if(current=renderLanes=nextHydratableInstance)renderLanes=canHydrateTextInstance(renderLanes,workInProgress.pendingProps,rootOrSingletonContext),null!==renderLanes?(workInProgress.stateNode=renderLanes,hydrationParentFiber=workInProgress,nextHydratableInstance=null,current=!0):current=!1;current||throwOnHydrationMismatch(workInProgress)}return null;case 13:return updateSuspenseComponent(current,workInProgress,renderLanes);case 4:return pushHostContainer(workInProgress,workInProgress.stateNode.containerInfo),lazyComponent=workInProgress.pendingProps,null===current?workInProgress.child=reconcileChildFibers(workInProgress,null,lazyComponent,renderLanes):reconcileChildren(current,workInProgress,lazyComponent,renderLanes),workInProgress.child;case 11:return updateForwardRef(current,workInProgress,workInProgress.type,workInProgress.pendingProps,renderLanes);case 7:return reconcileChildren(current,workInProgress,workInProgress.pendingProps,renderLanes),workInProgress.child;case 8:return reconcileChildren(current,workInProgress,workInProgress.pendingProps.children,renderLanes),workInProgress.child;case 12:return reconcileChildren(current,workInProgress,workInProgress.pendingProps.children,renderLanes),workInProgress.child;case 10:return lazyComponent=workInProgress.pendingProps,pushProvider(workInProgress,workInProgress.type,lazyComponent.value),reconcileChildren(current,workInProgress,lazyComponent.children,renderLanes),workInProgress.child;case 9:return init=workInProgress.type._context,lazyComponent=workInProgress.pendingProps.children,prepareToReadContext(workInProgress),init=readContext(init),lazyComponent=lazyComponent(init),workInProgress.flags|=1,reconcileChildren(current,workInProgress,lazyComponent,renderLanes),workInProgress.child;case 14:return updateMemoComponent(current,workInProgress,workInProgress.type,workInProgress.pendingProps,renderLanes);case 15:return updateSimpleMemoComponent(current,workInProgress,workInProgress.type,workInProgress.pendingProps,renderLanes);case 19:return updateSuspenseListComponent(current,workInProgress,renderLanes);case 31:return lazyComponent=workInProgress.pendingProps,renderLanes=workInProgress.mode,lazyComponent={mode:lazyComponent.mode,children:lazyComponent.children},null===current?(renderLanes=mountWorkInProgressOffscreenFiber(lazyComponent,renderLanes),renderLanes.ref=workInProgress.ref,workInProgress.child=renderLanes,renderLanes.return=workInProgress,workInProgress=renderLanes):(renderLanes=createWorkInProgress(current.child,lazyComponent),renderLanes.ref=workInProgress.ref,workInProgress.child=renderLanes,renderLanes.return=workInProgress,workInProgress=renderLanes),workInProgress;case 22:return updateOffscreenComponent(current,workInProgress,renderLanes);case 24:return prepareToReadContext(workInProgress),lazyComponent=readContext(CacheContext),null===current?(init=peekCacheFromPool(),null===init&&(init=workInProgressRoot,prevState=createCache(),init.pooledCache=prevState,prevState.refCount++,null!==prevState&&(init.pooledCacheLanes|=renderLanes),init=prevState),workInProgress.memoizedState={parent:lazyComponent,cache:init},initializeUpdateQueue(workInProgress),pushProvider(workInProgress,CacheContext,init)):(0!==(current.lanes&renderLanes)&&(cloneUpdateQueue(current,workInProgress),processUpdateQueue(workInProgress,null,null,renderLanes),suspendIfUpdateReadFromEntangledAsyncAction()),init=current.memoizedState,prevState=workInProgress.memoizedState,init.parent!==lazyComponent?(init={parent:lazyComponent,cache:lazyComponent},workInProgress.memoizedState=init,0===workInProgress.lanes&&(workInProgress.memoizedState=workInProgress.updateQueue.baseState=init),pushProvider(workInProgress,CacheContext,lazyComponent)):(lazyComponent=prevState.cache,pushProvider(workInProgress,CacheContext,lazyComponent),lazyComponent!==init.cache&&propagateContextChanges(workInProgress,[CacheContext],renderLanes,!0))),reconcileChildren(current,workInProgress,workInProgress.pendingProps.children,renderLanes),workInProgress.child;case 29:throw workInProgress.pendingProps}throw Error(formatProdErrorMessage(156,workInProgress.tag))}function markUpdate(workInProgress){workInProgress.flags|=4}function preloadResourceAndSuspendIfNeeded(workInProgress,resource){if("stylesheet"!==resource.type||0!==(4&resource.state.loading))workInProgress.flags&=-0x1000001;else if(workInProgress.flags|=0x1000000,!preloadResource(resource)){resource=suspenseHandlerStackCursor.current;if(null!==resource&&((4194048&workInProgressRootRenderLanes)===workInProgressRootRenderLanes?null!==shellBoundary:(0x3c00000&workInProgressRootRenderLanes)!==workInProgressRootRenderLanes&&0===(0x20000000&workInProgressRootRenderLanes)||resource!==shellBoundary))throw suspendedThenable=noopSuspenseyCommitThenable,SuspenseyCommitException;workInProgress.flags|=8192}}function scheduleRetryEffect(workInProgress,retryQueue){null!==retryQueue&&(workInProgress.flags|=4);16384&workInProgress.flags&&(retryQueue=22!==workInProgress.tag?claimNextRetryLane():0x20000000,workInProgress.lanes|=retryQueue,workInProgressSuspendedRetryLanes|=retryQueue)}function cutOffTailIfNeeded(renderState,hasRenderedATailFallback){if(!isHydrating)switch(renderState.tailMode){case"hidden":hasRenderedATailFallback=renderState.tail;for(var lastTailNode=null;null!==hasRenderedATailFallback;)null!==hasRenderedATailFallback.alternate&&(lastTailNode=hasRenderedATailFallback),hasRenderedATailFallback=hasRenderedATailFallback.sibling;null===lastTailNode?renderState.tail=null:lastTailNode.sibling=null;break;case"collapsed":lastTailNode=renderState.tail;for(var lastTailNode$113=null;null!==lastTailNode;)null!==lastTailNode.alternate&&(lastTailNode$113=lastTailNode),lastTailNode=lastTailNode.sibling;null===lastTailNode$113?hasRenderedATailFallback||null===renderState.tail?renderState.tail=null:renderState.tail.sibling=null:lastTailNode$113.sibling=null}}function bubbleProperties(completedWork){var didBailout=null!==completedWork.alternate&&completedWork.alternate.child===completedWork.child,newChildLanes=0,subtreeFlags=0;if(didBailout)for(var child$114=completedWork.child;null!==child$114;)newChildLanes|=child$114.lanes|child$114.childLanes,subtreeFlags|=0x3e00000&child$114.subtreeFlags,subtreeFlags|=0x3e00000&child$114.flags,child$114.return=completedWork,child$114=child$114.sibling;else for(child$114=completedWork.child;null!==child$114;)newChildLanes|=child$114.lanes|child$114.childLanes,subtreeFlags|=child$114.subtreeFlags,subtreeFlags|=child$114.flags,child$114.return=completedWork,child$114=child$114.sibling;completedWork.subtreeFlags|=subtreeFlags;completedWork.childLanes=newChildLanes;return didBailout}function completeWork(current,workInProgress,renderLanes){var newProps=workInProgress.pendingProps;popTreeContext(workInProgress);switch(workInProgress.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return bubbleProperties(workInProgress),null;case 1:return bubbleProperties(workInProgress),null;case 3:renderLanes=workInProgress.stateNode;newProps=null;null!==current&&(newProps=current.memoizedState.cache);workInProgress.memoizedState.cache!==newProps&&(workInProgress.flags|=2048);popProvider(CacheContext);popHostContainer();renderLanes.pendingContext&&(renderLanes.context=renderLanes.pendingContext,renderLanes.pendingContext=null);if(null===current||null===current.child)popHydrationState(workInProgress)?markUpdate(workInProgress):null===current||current.memoizedState.isDehydrated&&0===(256&workInProgress.flags)||(workInProgress.flags|=1024,upgradeHydrationErrorsToRecoverable());bubbleProperties(workInProgress);return null;case 26:return renderLanes=workInProgress.memoizedState,null===current?(markUpdate(workInProgress),null!==renderLanes?(bubbleProperties(workInProgress),preloadResourceAndSuspendIfNeeded(workInProgress,renderLanes)):(bubbleProperties(workInProgress),workInProgress.flags&=-0x1000001)):renderLanes?renderLanes!==current.memoizedState?(markUpdate(workInProgress),bubbleProperties(workInProgress),preloadResourceAndSuspendIfNeeded(workInProgress,renderLanes)):(bubbleProperties(workInProgress),workInProgress.flags&=-0x1000001):(current.memoizedProps!==newProps&&markUpdate(workInProgress),bubbleProperties(workInProgress),workInProgress.flags&=-0x1000001),null;case 27:popHostContext(workInProgress);renderLanes=rootInstanceStackCursor.current;var type=workInProgress.type;if(null!==current&&null!=workInProgress.stateNode)current.memoizedProps!==newProps&&markUpdate(workInProgress);else{if(!newProps){if(null===workInProgress.stateNode)throw Error(formatProdErrorMessage(166));bubbleProperties(workInProgress);return null}current=contextStackCursor.current;popHydrationState(workInProgress)?prepareToHydrateHostInstance(workInProgress,current):(current=resolveSingletonInstance(type,newProps,renderLanes),workInProgress.stateNode=current,markUpdate(workInProgress))}bubbleProperties(workInProgress);return null;case 5:popHostContext(workInProgress);renderLanes=workInProgress.type;if(null!==current&&null!=workInProgress.stateNode)current.memoizedProps!==newProps&&markUpdate(workInProgress);else{if(!newProps){if(null===workInProgress.stateNode)throw Error(formatProdErrorMessage(166));bubbleProperties(workInProgress);return null}current=contextStackCursor.current;if(popHydrationState(workInProgress))prepareToHydrateHostInstance(workInProgress,current);else{type=getOwnerDocumentFromRootContainer(rootInstanceStackCursor.current);switch(current){case 1:current=type.createElementNS("http://www.w3.org/2000/svg",renderLanes);break;case 2:current=type.createElementNS("http://www.w3.org/1998/Math/MathML",renderLanes);break;default:switch(renderLanes){case"svg":current=type.createElementNS("http://www.w3.org/2000/svg",renderLanes);break;case"math":current=type.createElementNS("http://www.w3.org/1998/Math/MathML",renderLanes);break;case"script":current=type.createElement("div");current.innerHTML="<script><\/script>";current=current.removeChild(current.firstChild);break;case"select":current="string"==typeof newProps.is?type.createElement("select",{is:newProps.is}):type.createElement("select");newProps.multiple?current.multiple=!0:newProps.size&&(current.size=newProps.size);break;default:current="string"==typeof newProps.is?type.createElement(renderLanes,{is:newProps.is}):type.createElement(renderLanes)}}current[internalInstanceKey]=workInProgress;current[internalPropsKey]=newProps;a:for(type=workInProgress.child;null!==type;){if(5===type.tag||6===type.tag)current.appendChild(type.stateNode);else if(4!==type.tag&&27!==type.tag&&null!==type.child){type.child.return=type;type=type.child;continue}if(type===workInProgress)break;for(;null===type.sibling;){if(null===type.return||type.return===workInProgress)break a;type=type.return}type.sibling.return=type.return;type=type.sibling}workInProgress.stateNode=current;switch(setInitialProperties(current,renderLanes,newProps),renderLanes){case"button":case"input":case"select":case"textarea":current=!!newProps.autoFocus;break;case"img":current=!0;break;default:current=!1}current&&markUpdate(workInProgress)}}bubbleProperties(workInProgress);workInProgress.flags&=-0x1000001;return null;case 6:if(current&&null!=workInProgress.stateNode)current.memoizedProps!==newProps&&markUpdate(workInProgress);else{if("string"!=typeof newProps&&null===workInProgress.stateNode)throw Error(formatProdErrorMessage(166));current=rootInstanceStackCursor.current;if(popHydrationState(workInProgress)){current=workInProgress.stateNode;renderLanes=workInProgress.memoizedProps;newProps=null;type=hydrationParentFiber;if(null!==type)switch(type.tag){case 27:case 5:newProps=type.memoizedProps}current[internalInstanceKey]=workInProgress;current=!!(current.nodeValue===renderLanes||null!==newProps&&!0===newProps.suppressHydrationWarning||checkForUnmatchedText(current.nodeValue,renderLanes));current||throwOnHydrationMismatch(workInProgress)}else current=getOwnerDocumentFromRootContainer(current).createTextNode(newProps),current[internalInstanceKey]=workInProgress,workInProgress.stateNode=current}bubbleProperties(workInProgress);return null;case 13:newProps=workInProgress.memoizedState;if(null===current||null!==current.memoizedState&&null!==current.memoizedState.dehydrated){type=popHydrationState(workInProgress);if(null!==newProps&&null!==newProps.dehydrated){if(null===current){if(!type)throw Error(formatProdErrorMessage(318));type=workInProgress.memoizedState;type=null!==type?type.dehydrated:null;if(!type)throw Error(formatProdErrorMessage(317));type[internalInstanceKey]=workInProgress}else resetHydrationState(),0===(128&workInProgress.flags)&&(workInProgress.memoizedState=null),workInProgress.flags|=4;bubbleProperties(workInProgress);type=!1}else type=upgradeHydrationErrorsToRecoverable(),null!==current&&null!==current.memoizedState&&(current.memoizedState.hydrationErrors=type),type=!0;if(!type){if(256&workInProgress.flags)return popSuspenseHandler(workInProgress),workInProgress;popSuspenseHandler(workInProgress);return null}}popSuspenseHandler(workInProgress);if(0!==(128&workInProgress.flags))return workInProgress.lanes=renderLanes,workInProgress;renderLanes=null!==newProps;current=null!==current&&null!==current.memoizedState;if(renderLanes){newProps=workInProgress.child;type=null;null!==newProps.alternate&&null!==newProps.alternate.memoizedState&&null!==newProps.alternate.memoizedState.cachePool&&(type=newProps.alternate.memoizedState.cachePool.pool);var cache$127=null;null!==newProps.memoizedState&&null!==newProps.memoizedState.cachePool&&(cache$127=newProps.memoizedState.cachePool.pool);cache$127!==type&&(newProps.flags|=2048)}renderLanes!==current&&renderLanes&&(workInProgress.child.flags|=8192);scheduleRetryEffect(workInProgress,workInProgress.updateQueue);bubbleProperties(workInProgress);return null;case 4:return popHostContainer(),null===current&&listenToAllSupportedEvents(workInProgress.stateNode.containerInfo),bubbleProperties(workInProgress),null;case 10:return popProvider(workInProgress.type),bubbleProperties(workInProgress),null;case 19:pop(suspenseStackCursor);type=workInProgress.memoizedState;if(null===type)return bubbleProperties(workInProgress),null;newProps=0!==(128&workInProgress.flags);cache$127=type.rendering;if(null===cache$127)if(newProps)cutOffTailIfNeeded(type,!1);else{if(0!==workInProgressRootExitStatus||null!==current&&0!==(128¤t.flags))for(current=workInProgress.child;null!==current;){cache$127=findFirstSuspended(current);if(null!==cache$127){workInProgress.flags|=128;cutOffTailIfNeeded(type,!1);current=cache$127.updateQueue;workInProgress.updateQueue=current;scheduleRetryEffect(workInProgress,current);workInProgress.subtreeFlags=0;current=renderLanes;for(renderLanes=workInProgress.child;null!==renderLanes;)resetWorkInProgress(renderLanes,current),renderLanes=renderLanes.sibling;push(suspenseStackCursor,1&suspenseStackCursor.current|2);return workInProgress.child}current=current.sibling}null!==type.tail&&now()>workInProgressRootRenderTargetTime&&(workInProgress.flags|=128,newProps=!0,cutOffTailIfNeeded(type,!1),workInProgress.lanes=4194304)}else{if(!newProps)if(current=findFirstSuspended(cache$127),null!==current){if(workInProgress.flags|=128,newProps=!0,current=current.updateQueue,workInProgress.updateQueue=current,scheduleRetryEffect(workInProgress,current),cutOffTailIfNeeded(type,!0),null===type.tail&&"hidden"===type.tailMode&&!cache$127.alternate&&!isHydrating)return bubbleProperties(workInProgress),null}else 2*now()-type.renderingStartTime>workInProgressRootRenderTargetTime&&0x20000000!==renderLanes&&(workInProgress.flags|=128,newProps=!0,cutOffTailIfNeeded(type,!1),workInProgress.lanes=4194304);type.isBackwards?(cache$127.sibling=workInProgress.child,workInProgress.child=cache$127):(current=type.last,null!==current?current.sibling=cache$127:workInProgress.child=cache$127,type.last=cache$127)}if(null!==type.tail)return workInProgress=type.tail,type.rendering=workInProgress,type.tail=workInProgress.sibling,type.renderingStartTime=now(),workInProgress.sibling=null,current=suspenseStackCursor.current,push(suspenseStackCursor,newProps?1¤t|2:1¤t),workInProgress;bubbleProperties(workInProgress);return null;case 22:case 23:return popSuspenseHandler(workInProgress),popHiddenContext(),newProps=null!==workInProgress.memoizedState,null!==current?null!==current.memoizedState!==newProps&&(workInProgress.flags|=8192):newProps&&(workInProgress.flags|=8192),newProps?0!==(0x20000000&renderLanes)&&0===(128&workInProgress.flags)&&(bubbleProperties(workInProgress),6&workInProgress.subtreeFlags&&(workInProgress.flags|=8192)):bubbleProperties(workInProgress),renderLanes=workInProgress.updateQueue,null!==renderLanes&&scheduleRetryEffect(workInProgress,renderLanes.retryQueue),renderLanes=null,null!==current&&null!==current.memoizedState&&null!==current.memoizedState.cachePool&&(renderLanes=current.memoizedState.cachePool.pool),newProps=null,null!==workInProgress.memoizedState&&null!==workInProgress.memoizedState.cachePool&&(newProps=workInProgress.memoizedState.cachePool.pool),newProps!==renderLanes&&(workInProgress.flags|=2048),null!==current&&pop(resumedCache),null;case 24:return renderLanes=null,null!==current&&(renderLanes=current.memoizedState.cache),workInProgress.memoizedState.cache!==renderLanes&&(workInProgress.flags|=2048),popProvider(CacheContext),bubbleProperties(workInProgress),null;case 25:return null;case 30:return null}throw Error(formatProdErrorMessage(156,workInProgress.tag))}function unwindWork(current,workInProgress){popTreeContext(workInProgress);switch(workInProgress.tag){case 1:return current=workInProgress.flags,65536¤t?(workInProgress.flags=-65537¤t|128,workInProgress):null;case 3:return popProvider(CacheContext),popHostContainer(),current=workInProgress.flags,0!==(65536¤t)&&0===(128¤t)?(workInProgress.flags=-65537¤t|128,workInProgress):null;case 26:case 27:case 5:return popHostContext(workInProgress),null;case 13:popSuspenseHandler(workInProgress);current=workInProgress.memoizedState;if(null!==current&&null!==current.dehydrated){if(null===workInProgress.alternate)throw Error(formatProdErrorMessage(340));resetHydrationState()}current=workInProgress.flags;return 65536¤t?(workInProgress.flags=-65537¤t|128,workInProgress):null;case 19:return pop(suspenseStackCursor),null;case 4:return popHostContainer(),null;case 10:return popProvider(workInProgress.type),null;case 22:case 23:return popSuspenseHandler(workInProgress),popHiddenContext(),null!==current&&pop(resumedCache),current=workInProgress.flags,65536¤t?(workInProgress.flags=-65537¤t|128,workInProgress):null;case 24:return popProvider(CacheContext),null;case 25:return null;default:return null}}function unwindInterruptedWork(current,interruptedWork){popTreeContext(interruptedWork);switch(interruptedWork.tag){case 3:popProvider(CacheContext);popHostContainer();break;case 26:case 27:case 5:popHostContext(interruptedWork);break;case 4:popHostContainer();break;case 13:popSuspenseHandler(interruptedWork);break;case 19:pop(suspenseStackCursor);break;case 10:popProvider(interruptedWork.type);break;case 22:case 23:popSuspenseHandler(interruptedWork);popHiddenContext();null!==current&&pop(resumedCache);break;case 24:popProvider(CacheContext)}}function commitHookEffectListMount(flags,finishedWork){try{var updateQueue=finishedWork.updateQueue,lastEffect=null!==updateQueue?updateQueue.lastEffect:null;if(null!==lastEffect){var firstEffect=lastEffect.next;updateQueue=firstEffect;do{if((updateQueue.tag&flags)===flags){lastEffect=void 0;var create=updateQueue.create,inst=updateQueue.inst;lastEffect=create();inst.destroy=lastEffect}updateQueue=updateQueue.next}while(updateQueue!==firstEffect)}}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}}function commitHookEffectListUnmount(flags,finishedWork,nearestMountedAncestor$jscomp$0){try{var updateQueue=finishedWork.updateQueue,lastEffect=null!==updateQueue?updateQueue.lastEffect:null;if(null!==lastEffect){var firstEffect=lastEffect.next;updateQueue=firstEffect;do{if((updateQueue.tag&flags)===flags){var inst=updateQueue.inst,destroy=inst.destroy;if(void 0!==destroy){inst.destroy=void 0;lastEffect=finishedWork;var nearestMountedAncestor=nearestMountedAncestor$jscomp$0,destroy_=destroy;try{destroy_()}catch(error){captureCommitPhaseError(lastEffect,nearestMountedAncestor,error)}}}updateQueue=updateQueue.next}while(updateQueue!==firstEffect)}}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}}function commitClassCallbacks(finishedWork){var updateQueue=finishedWork.updateQueue;if(null!==updateQueue){var instance=finishedWork.stateNode;try{commitCallbacks(updateQueue,instance)}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}}}function safelyCallComponentWillUnmount(current,nearestMountedAncestor,instance){instance.props=resolveClassComponentProps(current.type,current.memoizedProps);instance.state=current.memoizedState;try{instance.componentWillUnmount()}catch(error){captureCommitPhaseError(current,nearestMountedAncestor,error)}}function safelyAttachRef(current,nearestMountedAncestor){try{var ref=current.ref;if(null!==ref){switch(current.tag){case 26:case 27:case 5:var instanceToUse=current.stateNode;break;case 30:instanceToUse=current.stateNode;break;default:instanceToUse=current.stateNode}"function"==typeof ref?current.refCleanup=ref(instanceToUse):ref.current=instanceToUse}}catch(error){captureCommitPhaseError(current,nearestMountedAncestor,error)}}function safelyDetachRef(current,nearestMountedAncestor){var ref=current.ref,refCleanup=current.refCleanup;if(null!==ref)if("function"==typeof refCleanup)try{refCleanup()}catch(error){captureCommitPhaseError(current,nearestMountedAncestor,error)}finally{current.refCleanup=null,current=current.alternate,null!=current&&(current.refCleanup=null)}else if("function"==typeof ref)try{ref(null)}catch(error$143){captureCommitPhaseError(current,nearestMountedAncestor,error$143)}else ref.current=null}function commitHostMount(finishedWork){var type=finishedWork.type,props=finishedWork.memoizedProps,instance=finishedWork.stateNode;try{switch(type){case"button":case"input":case"select":case"textarea":props.autoFocus&&instance.focus();break;case"img":props.src?instance.src=props.src:props.srcSet&&(instance.srcset=props.srcSet)}}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}}function commitHostUpdate(finishedWork,newProps,oldProps){try{var domElement=finishedWork.stateNode;updateProperties(domElement,finishedWork.type,oldProps,newProps);domElement[internalPropsKey]=newProps}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}}function isHostParent(fiber){return 5===fiber.tag||3===fiber.tag||26===fiber.tag||27===fiber.tag&&isSingletonScope(fiber.type)||4===fiber.tag}function getHostSibling(fiber){a:for(;;){for(;null===fiber.sibling;){if(null===fiber.return||isHostParent(fiber.return))return null;fiber=fiber.return}fiber.sibling.return=fiber.return;for(fiber=fiber.sibling;5!==fiber.tag&&6!==fiber.tag&&18!==fiber.tag;){if(27===fiber.tag&&isSingletonScope(fiber.type))continue a;if(2&fiber.flags)continue a;if(null===fiber.child||4===fiber.tag)continue a;fiber.child.return=fiber,fiber=fiber.child}if(!(2&fiber.flags))return fiber.stateNode}}function insertOrAppendPlacementNodeIntoContainer(node,before,parent){var tag=node.tag;if(5===tag||6===tag)node=node.stateNode,before?(9===parent.nodeType?parent.body:"HTML"===parent.nodeName?parent.ownerDocument.body:parent).insertBefore(node,before):(before=9===parent.nodeType?parent.body:"HTML"===parent.nodeName?parent.ownerDocument.body:parent,before.appendChild(node),parent=parent._reactRootContainer,null!=parent||null!==before.onclick||(before.onclick=noop$1));else if(4!==tag&&(27===tag&&isSingletonScope(node.type)&&(parent=node.stateNode,before=null),node=node.child,null!==node))for(insertOrAppendPlacementNodeIntoContainer(node,before,parent),node=node.sibling;null!==node;)insertOrAppendPlacementNodeIntoContainer(node,before,parent),node=node.sibling}function insertOrAppendPlacementNode(node,before,parent){var tag=node.tag;if(5===tag||6===tag)node=node.stateNode,before?parent.insertBefore(node,before):parent.appendChild(node);else if(4!==tag&&(27===tag&&isSingletonScope(node.type)&&(parent=node.stateNode),node=node.child,null!==node))for(insertOrAppendPlacementNode(node,before,parent),node=node.sibling;null!==node;)insertOrAppendPlacementNode(node,before,parent),node=node.sibling}function commitHostSingletonAcquisition(finishedWork){var singleton=finishedWork.stateNode,props=finishedWork.memoizedProps;try{for(var type=finishedWork.type,attributes=singleton.attributes;attributes.length;)singleton.removeAttributeNode(attributes[0]);setInitialProperties(singleton,type,props);singleton[internalInstanceKey]=finishedWork;singleton[internalPropsKey]=props}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}}var offscreenSubtreeIsHidden=!1,offscreenSubtreeWasHidden=!1,needsFormReset=!1,PossiblyWeakSet="function"==typeof WeakSet?WeakSet:Set,nextEffect=null;function commitBeforeMutationEffects(root,firstChild){root=root.containerInfo;eventsEnabled=_enabled;root=getActiveElementDeep(root);if(hasSelectionCapabilities(root)){if("selectionStart"in root)var JSCompiler_temp={start:root.selectionStart,end:root.selectionEnd};else a:{JSCompiler_temp=(JSCompiler_temp=root.ownerDocument)&&JSCompiler_temp.defaultView||window;var selection=JSCompiler_temp.getSelection&&JSCompiler_temp.getSelection();if(selection&&0!==selection.rangeCount){JSCompiler_temp=selection.anchorNode;var anchorOffset=selection.anchorOffset,focusNode=selection.focusNode;selection=selection.focusOffset;try{JSCompiler_temp.nodeType,focusNode.nodeType}catch(e$20){JSCompiler_temp=null;break a}var length=0,start=-1,end=-1,indexWithinAnchor=0,indexWithinFocus=0,node=root,parentNode=null;b:for(;;){for(var next;;){node!==JSCompiler_temp||0!==anchorOffset&&3!==node.nodeType||(start=length+anchorOffset);node!==focusNode||0!==selection&&3!==node.nodeType||(end=length+selection);3===node.nodeType&&(length+=node.nodeValue.length);if(null===(next=node.firstChild))break;parentNode=node;node=next}for(;;){if(node===root)break b;parentNode===JSCompiler_temp&&++indexWithinAnchor===anchorOffset&&(start=length);parentNode===focusNode&&++indexWithinFocus===selection&&(end=length);if(null!==(next=node.nextSibling))break;node=parentNode;parentNode=node.parentNode}node=next}JSCompiler_temp=-1===start||-1===end?null:{start:start,end:end}}else JSCompiler_temp=null}JSCompiler_temp=JSCompiler_temp||{start:0,end:0}}else JSCompiler_temp=null;selectionInformation={focusedElem:root,selectionRange:JSCompiler_temp};_enabled=!1;for(nextEffect=firstChild;null!==nextEffect;)if(firstChild=nextEffect,root=firstChild.child,0!==(1024&firstChild.subtreeFlags)&&null!==root)root.return=firstChild,nextEffect=root;else for(;null!==nextEffect;){firstChild=nextEffect;focusNode=firstChild.alternate;root=firstChild.flags;switch(firstChild.tag){case 0:break;case 11:case 15:break;case 1:if(0!==(1024&root)&&null!==focusNode){root=void 0;JSCompiler_temp=firstChild;anchorOffset=focusNode.memoizedProps;focusNode=focusNode.memoizedState;selection=JSCompiler_temp.stateNode;try{var resolvedPrevProps=resolveClassComponentProps(JSCompiler_temp.type,anchorOffset,JSCompiler_temp.elementType===JSCompiler_temp.type);root=selection.getSnapshotBeforeUpdate(resolvedPrevProps,focusNode);selection.__reactInternalSnapshotBeforeUpdate=root}catch(error){captureCommitPhaseError(JSCompiler_temp,JSCompiler_temp.return,error)}}break;case 3:if(0!==(1024&root)){if(root=firstChild.stateNode.containerInfo,JSCompiler_temp=root.nodeType,9===JSCompiler_temp)clearContainerSparingly(root);else if(1===JSCompiler_temp)switch(root.nodeName){case"HEAD":case"HTML":case"BODY":clearContainerSparingly(root);break;default:root.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(1024&root))throw Error(formatProdErrorMessage(163))}root=firstChild.sibling;if(null!==root){root.return=firstChild.return;nextEffect=root;break}nextEffect=firstChild.return}}function commitLayoutEffectOnFiber(finishedRoot,current,finishedWork){var flags=finishedWork.flags;switch(finishedWork.tag){case 0:case 11:case 15:recursivelyTraverseLayoutEffects(finishedRoot,finishedWork);4&flags&&commitHookEffectListMount(5,finishedWork);break;case 1:recursivelyTraverseLayoutEffects(finishedRoot,finishedWork);if(4&flags)if(finishedRoot=finishedWork.stateNode,null===current)try{finishedRoot.componentDidMount()}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}else{var prevProps=resolveClassComponentProps(finishedWork.type,current.memoizedProps);current=current.memoizedState;try{finishedRoot.componentDidUpdate(prevProps,current,finishedRoot.__reactInternalSnapshotBeforeUpdate)}catch(error$142){captureCommitPhaseError(finishedWork,finishedWork.return,error$142)}}64&flags&&commitClassCallbacks(finishedWork);512&flags&&safelyAttachRef(finishedWork,finishedWork.return);break;case 3:recursivelyTraverseLayoutEffects(finishedRoot,finishedWork);if(64&flags&&(finishedRoot=finishedWork.updateQueue,null!==finishedRoot)){current=null;if(null!==finishedWork.child)switch(finishedWork.child.tag){case 27:case 5:current=finishedWork.child.stateNode;break;case 1:current=finishedWork.child.stateNode}try{commitCallbacks(finishedRoot,current)}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}}break;case 27:null===current&&4&flags&&commitHostSingletonAcquisition(finishedWork);case 26:case 5:recursivelyTraverseLayoutEffects(finishedRoot,finishedWork);null===current&&4&flags&&commitHostMount(finishedWork);512&flags&&safelyAttachRef(finishedWork,finishedWork.return);break;case 12:recursivelyTraverseLayoutEffects(finishedRoot,finishedWork);break;case 13:recursivelyTraverseLayoutEffects(finishedRoot,finishedWork);4&flags&&commitSuspenseHydrationCallbacks(finishedRoot,finishedWork);64&flags&&(finishedRoot=finishedWork.memoizedState,null!==finishedRoot&&(finishedRoot=finishedRoot.dehydrated,null!==finishedRoot&&(finishedWork=retryDehydratedSuspenseBoundary.bind(null,finishedWork),registerSuspenseInstanceRetry(finishedRoot,finishedWork))));break;case 22:flags=null!==finishedWork.memoizedState||offscreenSubtreeIsHidden;if(!flags){current=null!==current&&null!==current.memoizedState||offscreenSubtreeWasHidden;prevProps=offscreenSubtreeIsHidden;var prevOffscreenSubtreeWasHidden=offscreenSubtreeWasHidden;offscreenSubtreeIsHidden=flags;(offscreenSubtreeWasHidden=current)&&!prevOffscreenSubtreeWasHidden?recursivelyTraverseReappearLayoutEffects(finishedRoot,finishedWork,0!==(8772&finishedWork.subtreeFlags)):recursivelyTraverseLayoutEffects(finishedRoot,finishedWork);offscreenSubtreeIsHidden=prevProps;offscreenSubtreeWasHidden=prevOffscreenSubtreeWasHidden}break;case 30:break;default:recursivelyTraverseLayoutEffects(finishedRoot,finishedWork)}}function detachFiberAfterEffects(fiber){var alternate=fiber.alternate;null!==alternate&&(fiber.alternate=null,detachFiberAfterEffects(alternate));fiber.child=null;fiber.deletions=null;fiber.sibling=null;5===fiber.tag&&(alternate=fiber.stateNode,null!==alternate&&detachDeletedInstance(alternate));fiber.stateNode=null;fiber.return=null;fiber.dependencies=null;fiber.memoizedProps=null;fiber.memoizedState=null;fiber.pendingProps=null;fiber.stateNode=null;fiber.updateQueue=null}var hostParent=null,hostParentIsContainer=!1;function recursivelyTraverseDeletionEffects(finishedRoot,nearestMountedAncestor,parent){for(parent=parent.child;null!==parent;)commitDeletionEffectsOnFiber(finishedRoot,nearestMountedAncestor,parent),parent=parent.sibling}function commitDeletionEffectsOnFiber(finishedRoot,nearestMountedAncestor,deletedFiber){if(injectedHook&&"function"==typeof injectedHook.onCommitFiberUnmount)try{injectedHook.onCommitFiberUnmount(rendererID,deletedFiber)}catch(err){}switch(deletedFiber.tag){case 26:offscreenSubtreeWasHidden||safelyDetachRef(deletedFiber,nearestMountedAncestor);recursivelyTraverseDeletionEffects(finishedRoot,nearestMountedAncestor,deletedFiber);deletedFiber.memoizedState?deletedFiber.memoizedState.count--:deletedFiber.stateNode&&(deletedFiber=deletedFiber.stateNode,deletedFiber.parentNode.removeChild(deletedFiber));break;case 27:offscreenSubtreeWasHidden||safelyDetachRef(deletedFiber,nearestMountedAncestor);var prevHostParent=hostParent,prevHostParentIsContainer=hostParentIsContainer;isSingletonScope(deletedFiber.type)&&(hostParent=deletedFiber.stateNode,hostParentIsContainer=!1);recursivelyTraverseDeletionEffects(finishedRoot,nearestMountedAncestor,deletedFiber);releaseSingletonInstance(deletedFiber.stateNode);hostParent=prevHostParent;hostParentIsContainer=prevHostParentIsContainer;break;case 5:offscreenSubtreeWasHidden||safelyDetachRef(deletedFiber,nearestMountedAncestor);case 6:prevHostParent=hostParent;prevHostParentIsContainer=hostParentIsContainer;hostParent=null;recursivelyTraverseDeletionEffects(finishedRoot,nearestMountedAncestor,deletedFiber);hostParent=prevHostParent;hostParentIsContainer=prevHostParentIsContainer;if(null!==hostParent)if(hostParentIsContainer)try{(9===hostParent.nodeType?hostParent.body:"HTML"===hostParent.nodeName?hostParent.ownerDocument.body:hostParent).removeChild(deletedFiber.stateNode)}catch(error){captureCommitPhaseError(deletedFiber,nearestMountedAncestor,error)}else try{hostParent.removeChild(deletedFiber.stateNode)}catch(error){captureCommitPhaseError(deletedFiber,nearestMountedAncestor,error)}break;case 18:null!==hostParent&&(hostParentIsContainer?(finishedRoot=hostParent,clearSuspenseBoundary(9===finishedRoot.nodeType?finishedRoot.body:"HTML"===finishedRoot.nodeName?finishedRoot.ownerDocument.body:finishedRoot,deletedFiber.stateNode),retryIfBlockedOn(finishedRoot)):clearSuspenseBoundary(hostParent,deletedFiber.stateNode));break;case 4:prevHostParent=hostParent;prevHostParentIsContainer=hostParentIsContainer;hostParent=deletedFiber.stateNode.containerInfo;hostParentIsContainer=!0;recursivelyTraverseDeletionEffects(finishedRoot,nearestMountedAncestor,deletedFiber);hostParent=prevHostParent;hostParentIsContainer=prevHostParentIsContainer;break;case 0:case 11:case 14:case 15:offscreenSubtreeWasHidden||commitHookEffectListUnmount(2,deletedFiber,nearestMountedAncestor);offscreenSubtreeWasHidden||commitHookEffectListUnmount(4,deletedFiber,nearestMountedAncestor);recursivelyTraverseDeletionEffects(finishedRoot,nearestMountedAncestor,deletedFiber);break;case 1:offscreenSubtreeWasHidden||(safelyDetachRef(deletedFiber,nearestMountedAncestor),prevHostParent=deletedFiber.stateNode,"function"==typeof prevHostParent.componentWillUnmount&&safelyCallComponentWillUnmount(deletedFiber,nearestMountedAncestor,prevHostParent));recursivelyTraverseDeletionEffects(finishedRoot,nearestMountedAncestor,deletedFiber);break;case 21:recursivelyTraverseDeletionEffects(finishedRoot,nearestMountedAncestor,deletedFiber);break;case 22:offscreenSubtreeWasHidden=(prevHostParent=offscreenSubtreeWasHidden)||null!==deletedFiber.memoizedState;recursivelyTraverseDeletionEffects(finishedRoot,nearestMountedAncestor,deletedFiber);offscreenSubtreeWasHidden=prevHostParent;break;default:recursivelyTraverseDeletionEffects(finishedRoot,nearestMountedAncestor,deletedFiber)}}function commitSuspenseHydrationCallbacks(finishedRoot,finishedWork){if(null===finishedWork.memoizedState&&(finishedRoot=finishedWork.alternate,null!==finishedRoot&&(finishedRoot=finishedRoot.memoizedState,null!==finishedRoot&&(finishedRoot=finishedRoot.dehydrated,null!==finishedRoot))))try{retryIfBlockedOn(finishedRoot)}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}}function getRetryCache(finishedWork){switch(finishedWork.tag){case 13:case 19:var retryCache=finishedWork.stateNode;null===retryCache&&(retryCache=finishedWork.stateNode=new PossiblyWeakSet);return retryCache;case 22:return finishedWork=finishedWork.stateNode,retryCache=finishedWork._retryCache,null===retryCache&&(retryCache=finishedWork._retryCache=new PossiblyWeakSet),retryCache;default:throw Error(formatProdErrorMessage(435,finishedWork.tag))}}function attachSuspenseRetryListeners(finishedWork,wakeables){var retryCache=getRetryCache(finishedWork);wakeables.forEach(function(wakeable){var retry=resolveRetryWakeable.bind(null,finishedWork,wakeable);retryCache.has(wakeable)||(retryCache.add(wakeable),wakeable.then(retry,retry))})}function recursivelyTraverseMutationEffects(root$jscomp$0,parentFiber){var deletions=parentFiber.deletions;if(null!==deletions)for(var i=0;i<deletions.length;i++){var childToDelete=deletions[i],root=root$jscomp$0,returnFiber=parentFiber,parent=returnFiber;a:for(;null!==parent;){switch(parent.tag){case 27:if(isSingletonScope(parent.type)){hostParent=parent.stateNode;hostParentIsContainer=!1;break a}break;case 5:hostParent=parent.stateNode;hostParentIsContainer=!1;break a;case 3:case 4:hostParent=parent.stateNode.containerInfo;hostParentIsContainer=!0;break a}parent=parent.return}if(null===hostParent)throw Error(formatProdErrorMessage(160));commitDeletionEffectsOnFiber(root,returnFiber,childToDelete);hostParent=null;hostParentIsContainer=!1;root=childToDelete.alternate;null!==root&&(root.return=null);childToDelete.return=null}if(13878&parentFiber.subtreeFlags)for(parentFiber=parentFiber.child;null!==parentFiber;)commitMutationEffectsOnFiber(parentFiber,root$jscomp$0),parentFiber=parentFiber.sibling}var currentHoistableRoot=null;function commitMutationEffectsOnFiber(finishedWork,root){var current=finishedWork.alternate,flags=finishedWork.flags;switch(finishedWork.tag){case 0:case 11:case 14:case 15:recursivelyTraverseMutationEffects(root,finishedWork);commitReconciliationEffects(finishedWork);4&flags&&(commitHookEffectListUnmount(3,finishedWork,finishedWork.return),commitHookEffectListMount(3,finishedWork),commitHookEffectListUnmount(5,finishedWork,finishedWork.return));break;case 1:recursivelyTraverseMutationEffects(root,finishedWork);commitReconciliationEffects(finishedWork);512&flags&&(offscreenSubtreeWasHidden||null===current||safelyDetachRef(current,current.return));64&flags&&offscreenSubtreeIsHidden&&(finishedWork=finishedWork.updateQueue,null!==finishedWork&&(flags=finishedWork.callbacks,null!==flags&&(current=finishedWork.shared.hiddenCallbacks,finishedWork.shared.hiddenCallbacks=null===current?flags:current.concat(flags))));break;case 26:var hoistableRoot=currentHoistableRoot;recursivelyTraverseMutationEffects(root,finishedWork);commitReconciliationEffects(finishedWork);512&flags&&(offscreenSubtreeWasHidden||null===current||safelyDetachRef(current,current.return));if(4&flags){var currentResource=null!==current?current.memoizedState:null;flags=finishedWork.memoizedState;if(null===current)if(null===flags)if(null===finishedWork.stateNode){a:{flags=finishedWork.type;current=finishedWork.memoizedProps;hoistableRoot=hoistableRoot.ownerDocument||hoistableRoot;b:switch(flags){case"title":currentResource=hoistableRoot.getElementsByTagName("title")[0];if(!currentResource||currentResource[internalHoistableMarker]||currentResource[internalInstanceKey]||"http://www.w3.org/2000/svg"===currentResource.namespaceURI||currentResource.hasAttribute("itemprop"))currentResource=hoistableRoot.createElement(flags),hoistableRoot.head.insertBefore(currentResource,hoistableRoot.querySelector("head > title"));setInitialProperties(currentResource,flags,current);currentResource[internalInstanceKey]=finishedWork;markNodeAsHoistable(currentResource);flags=currentResource;break a;case"link":var maybeNodes=getHydratableHoistableCache("link","href",hoistableRoot).get(flags+(current.href||""));if(maybeNodes){for(var i=0;i<maybeNodes.length;i++)if(currentResource=maybeNodes[i],currentResource.getAttribute("href")===(null==current.href||""===current.href?null:current.href)&¤tResource.getAttribute("rel")===(null==current.rel?null:current.rel)&¤tResource.getAttribute("title")===(null==current.title?null:current.title)&¤tResource.getAttribute("crossorigin")===(null==current.crossOrigin?null:current.crossOrigin)){maybeNodes.splice(i,1);break b}}currentResource=hoistableRoot.createElement(flags);setInitialProperties(currentResource,flags,current);hoistableRoot.head.appendChild(currentResource);break;case"meta":if(maybeNodes=getHydratableHoistableCache("meta","content",hoistableRoot).get(flags+(current.content||""))){for(i=0;i<maybeNodes.length;i++)if(currentResource=maybeNodes[i],currentResource.getAttribute("content")===(null==current.content?null:""+current.content)&¤tResource.getAttribute("name")===(null==current.name?null:current.name)&¤tResource.getAttribute("property")===(null==current.property?null:current.property)&¤tResource.getAttribute("http-equiv")===(null==current.httpEquiv?null:current.httpEquiv)&¤tResource.getAttribute("charset")===(null==current.charSet?null:current.charSet)){maybeNodes.splice(i,1);break b}}currentResource=hoistableRoot.createElement(flags);setInitialProperties(currentResource,flags,current);hoistableRoot.head.appendChild(currentResource);break;default:throw Error(formatProdErrorMessage(468,flags))}currentResource[internalInstanceKey]=finishedWork;markNodeAsHoistable(currentResource);flags=currentResource}finishedWork.stateNode=flags}else mountHoistable(hoistableRoot,finishedWork.type,finishedWork.stateNode);else finishedWork.stateNode=acquireResource(hoistableRoot,flags,finishedWork.memoizedProps);else currentResource!==flags?(null===currentResource?null!==current.stateNode&&(current=current.stateNode,current.parentNode.removeChild(current)):currentResource.count--,null===flags?mountHoistable(hoistableRoot,finishedWork.type,finishedWork.stateNode):acquireResource(hoistableRoot,flags,finishedWork.memoizedProps)):null===flags&&null!==finishedWork.stateNode&&commitHostUpdate(finishedWork,finishedWork.memoizedProps,current.memoizedProps)}break;case 27:recursivelyTraverseMutationEffects(root,finishedWork);commitReconciliationEffects(finishedWork);512&flags&&(offscreenSubtreeWasHidden||null===current||safelyDetachRef(current,current.return));null!==current&&4&flags&&commitHostUpdate(finishedWork,finishedWork.memoizedProps,current.memoizedProps);break;case 5:recursivelyTraverseMutationEffects(root,finishedWork);commitReconciliationEffects(finishedWork);512&flags&&(offscreenSubtreeWasHidden||null===current||safelyDetachRef(current,current.return));if(32&finishedWork.flags){hoistableRoot=finishedWork.stateNode;try{setTextContent(hoistableRoot,"")}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}}4&flags&&null!=finishedWork.stateNode&&(hoistableRoot=finishedWork.memoizedProps,commitHostUpdate(finishedWork,hoistableRoot,null!==current?current.memoizedProps:hoistableRoot));1024&flags&&(needsFormReset=!0);break;case 6:recursivelyTraverseMutationEffects(root,finishedWork);commitReconciliationEffects(finishedWork);if(4&flags){if(null===finishedWork.stateNode)throw Error(formatProdErrorMessage(162));flags=finishedWork.memoizedProps;current=finishedWork.stateNode;try{current.nodeValue=flags}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}}break;case 3:tagCaches=null;hoistableRoot=currentHoistableRoot;currentHoistableRoot=getHoistableRoot(root.containerInfo);recursivelyTraverseMutationEffects(root,finishedWork);currentHoistableRoot=hoistableRoot;commitReconciliationEffects(finishedWork);if(4&flags&&null!==current&¤t.memoizedState.isDehydrated)try{retryIfBlockedOn(root.containerInfo)}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}needsFormReset&&(needsFormReset=!1,recursivelyResetForms(finishedWork));break;case 4:flags=currentHoistableRoot;currentHoistableRoot=getHoistableRoot(finishedWork.stateNode.containerInfo);recursivelyTraverseMutationEffects(root,finishedWork);commitReconciliationEffects(finishedWork);currentHoistableRoot=flags;break;case 12:recursivelyTraverseMutationEffects(root,finishedWork);commitReconciliationEffects(finishedWork);break;case 13:recursivelyTraverseMutationEffects(root,finishedWork);commitReconciliationEffects(finishedWork);8192&finishedWork.child.flags&&null!==finishedWork.memoizedState!==(null!==current&&null!==current.memoizedState)&&(globalMostRecentFallbackTime=now());4&flags&&(flags=finishedWork.updateQueue,null!==flags&&(finishedWork.updateQueue=null,attachSuspenseRetryListeners(finishedWork,flags)));break;case 22:hoistableRoot=null!==finishedWork.memoizedState;var wasHidden=null!==current&&null!==current.memoizedState,prevOffscreenSubtreeIsHidden=offscreenSubtreeIsHidden,prevOffscreenSubtreeWasHidden=offscreenSubtreeWasHidden;offscreenSubtreeIsHidden=prevOffscreenSubtreeIsHidden||hoistableRoot;offscreenSubtreeWasHidden=prevOffscreenSubtreeWasHidden||wasHidden;recursivelyTraverseMutationEffects(root,finishedWork);offscreenSubtreeWasHidden=prevOffscreenSubtreeWasHidden;offscreenSubtreeIsHidden=prevOffscreenSubtreeIsHidden;commitReconciliationEffects(finishedWork);if(8192&flags)a:for(root=finishedWork.stateNode,root._visibility=hoistableRoot?-2&root._visibility:1|root._visibility,hoistableRoot&&(null===current||wasHidden||offscreenSubtreeIsHidden||offscreenSubtreeWasHidden||recursivelyTraverseDisappearLayoutEffects(finishedWork)),current=null,root=finishedWork;;){if(5===root.tag||26===root.tag){if(null===current){wasHidden=current=root;try{if(currentResource=wasHidden.stateNode,hoistableRoot)maybeNodes=currentResource.style,"function"==typeof maybeNodes.setProperty?maybeNodes.setProperty("display","none","important"):maybeNodes.display="none";else{i=wasHidden.stateNode;var styleProp=wasHidden.memoizedProps.style,display=null!=styleProp&&styleProp.hasOwnProperty("display")?styleProp.display:null;i.style.display=null==display||"boolean"==typeof display?"":(""+display).trim()}}catch(error){captureCommitPhaseError(wasHidden,wasHidden.return,error)}}}else if(6===root.tag){if(null===current){wasHidden=root;try{wasHidden.stateNode.nodeValue=hoistableRoot?"":wasHidden.memoizedProps}catch(error){captureCommitPhaseError(wasHidden,wasHidden.return,error)}}}else if((22!==root.tag&&23!==root.tag||null===root.memoizedState||root===finishedWork)&&null!==root.child){root.child.return=root;root=root.child;continue}if(root===finishedWork)break;for(;null===root.sibling;){if(null===root.return||root.return===finishedWork)break a;current===root&&(current=null);root=root.return}current===root&&(current=null);root.sibling.return=root.return;root=root.sibling}4&flags&&(flags=finishedWork.updateQueue,null!==flags&&(current=flags.retryQueue,null!==current&&(flags.retryQueue=null,attachSuspenseRetryListeners(finishedWork,current))));break;case 19:recursivelyTraverseMutationEffects(root,finishedWork);commitReconciliationEffects(finishedWork);4&flags&&(flags=finishedWork.updateQueue,null!==flags&&(finishedWork.updateQueue=null,attachSuspenseRetryListeners(finishedWork,flags)));break;case 30:break;case 21:break;default:recursivelyTraverseMutationEffects(root,finishedWork),commitReconciliationEffects(finishedWork)}}function commitReconciliationEffects(finishedWork){var flags=finishedWork.flags;if(2&flags){try{for(var hostParentFiber,parentFiber=finishedWork.return;null!==parentFiber;){if(isHostParent(parentFiber)){hostParentFiber=parentFiber;break}parentFiber=parentFiber.return}if(null==hostParentFiber)throw Error(formatProdErrorMessage(160));switch(hostParentFiber.tag){case 27:var parent=hostParentFiber.stateNode,before=getHostSibling(finishedWork);insertOrAppendPlacementNode(finishedWork,before,parent);break;case 5:var parent$144=hostParentFiber.stateNode;32&hostParentFiber.flags&&(setTextContent(parent$144,""),hostParentFiber.flags&=-33);var before$145=getHostSibling(finishedWork);insertOrAppendPlacementNode(finishedWork,before$145,parent$144);break;case 3:case 4:var parent$146=hostParentFiber.stateNode.containerInfo,before$147=getHostSibling(finishedWork);insertOrAppendPlacementNodeIntoContainer(finishedWork,before$147,parent$146);break;default:throw Error(formatProdErrorMessage(161))}}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}finishedWork.flags&=-3}4096&flags&&(finishedWork.flags&=-4097)}function recursivelyResetForms(parentFiber){if(1024&parentFiber.subtreeFlags)for(parentFiber=parentFiber.child;null!==parentFiber;){var fiber=parentFiber;recursivelyResetForms(fiber);5===fiber.tag&&1024&fiber.flags&&fiber.stateNode.reset();parentFiber=parentFiber.sibling}}function recursivelyTraverseLayoutEffects(root,parentFiber){if(8772&parentFiber.subtreeFlags)for(parentFiber=parentFiber.child;null!==parentFiber;)commitLayoutEffectOnFiber(root,parentFiber.alternate,parentFiber),parentFiber=parentFiber.sibling}function recursivelyTraverseDisappearLayoutEffects(parentFiber){for(parentFiber=parentFiber.child;null!==parentFiber;){var finishedWork=parentFiber;switch(finishedWork.tag){case 0:case 11:case 14:case 15:commitHookEffectListUnmount(4,finishedWork,finishedWork.return);recursivelyTraverseDisappearLayoutEffects(finishedWork);break;case 1:safelyDetachRef(finishedWork,finishedWork.return);var instance=finishedWork.stateNode;"function"==typeof instance.componentWillUnmount&&safelyCallComponentWillUnmount(finishedWork,finishedWork.return,instance);recursivelyTraverseDisappearLayoutEffects(finishedWork);break;case 27:releaseSingletonInstance(finishedWork.stateNode);case 26:case 5:safelyDetachRef(finishedWork,finishedWork.return);recursivelyTraverseDisappearLayoutEffects(finishedWork);break;case 22:null===finishedWork.memoizedState&&recursivelyTraverseDisappearLayoutEffects(finishedWork);break;case 30:recursivelyTraverseDisappearLayoutEffects(finishedWork);break;default:recursivelyTraverseDisappearLayoutEffects(finishedWork)}parentFiber=parentFiber.sibling}}function recursivelyTraverseReappearLayoutEffects(finishedRoot$jscomp$0,parentFiber,includeWorkInProgressEffects){includeWorkInProgressEffects=includeWorkInProgressEffects&&0!==(8772&parentFiber.subtreeFlags);for(parentFiber=parentFiber.child;null!==parentFiber;){var current=parentFiber.alternate,finishedRoot=finishedRoot$jscomp$0,finishedWork=parentFiber,flags=finishedWork.flags;switch(finishedWork.tag){case 0:case 11:case 15:recursivelyTraverseReappearLayoutEffects(finishedRoot,finishedWork,includeWorkInProgressEffects);commitHookEffectListMount(4,finishedWork);break;case 1:recursivelyTraverseReappearLayoutEffects(finishedRoot,finishedWork,includeWorkInProgressEffects);current=finishedWork;finishedRoot=current.stateNode;if("function"==typeof finishedRoot.componentDidMount)try{finishedRoot.componentDidMount()}catch(error){captureCommitPhaseError(current,current.return,error)}current=finishedWork;finishedRoot=current.updateQueue;if(null!==finishedRoot){var instance=current.stateNode;try{var hiddenCallbacks=finishedRoot.shared.hiddenCallbacks;if(null!==hiddenCallbacks)for(finishedRoot.shared.hiddenCallbacks=null,finishedRoot=0;finishedRoot<hiddenCallbacks.length;finishedRoot++)callCallback(hiddenCallbacks[finishedRoot],instance)}catch(error){captureCommitPhaseError(current,current.return,error)}}includeWorkInProgressEffects&&64&flags&&commitClassCallbacks(finishedWork);safelyAttachRef(finishedWork,finishedWork.return);break;case 27:commitHostSingletonAcquisition(finishedWork);case 26:case 5:recursivelyTraverseReappearLayoutEffects(finishedRoot,finishedWork,includeWorkInProgressEffects);includeWorkInProgressEffects&&null===current&&4&flags&&commitHostMount(finishedWork);safelyAttachRef(finishedWork,finishedWork.return);break;case 12:recursivelyTraverseReappearLayoutEffects(finishedRoot,finishedWork,includeWorkInProgressEffects);break;case 13:recursivelyTraverseReappearLayoutEffects(finishedRoot,finishedWork,includeWorkInProgressEffects);includeWorkInProgressEffects&&4&flags&&commitSuspenseHydrationCallbacks(finishedRoot,finishedWork);break;case 22:null===finishedWork.memoizedState&&recursivelyTraverseReappearLayoutEffects(finishedRoot,finishedWork,includeWorkInProgressEffects);safelyAttachRef(finishedWork,finishedWork.return);break;case 30:break;default:recursivelyTraverseReappearLayoutEffects(finishedRoot,finishedWork,includeWorkInProgressEffects)}parentFiber=parentFiber.sibling}}function commitOffscreenPassiveMountEffects(current,finishedWork){var previousCache=null;null!==current&&null!==current.memoizedState&&null!==current.memoizedState.cachePool&&(previousCache=current.memoizedState.cachePool.pool);current=null;null!==finishedWork.memoizedState&&null!==finishedWork.memoizedState.cachePool&&(current=finishedWork.memoizedState.cachePool.pool);current!==previousCache&&(null!=current&¤t.refCount++,null!=previousCache&&releaseCache(previousCache))}function commitCachePassiveMountEffect(current,finishedWork){current=null;null!==finishedWork.alternate&&(current=finishedWork.alternate.memoizedState.cache);finishedWork=finishedWork.memoizedState.cache;finishedWork!==current&&(finishedWork.refCount++,null!=current&&releaseCache(current))}function recursivelyTraversePassiveMountEffects(root,parentFiber,committedLanes,committedTransitions){if(10256&parentFiber.subtreeFlags)for(parentFiber=parentFiber.child;null!==parentFiber;)commitPassiveMountOnFiber(root,parentFiber,committedLanes,committedTransitions),parentFiber=parentFiber.sibling}function commitPassiveMountOnFiber(finishedRoot,finishedWork,committedLanes,committedTransitions){var flags=finishedWork.flags;switch(finishedWork.tag){case 0:case 11:case 15:recursivelyTraversePassiveMountEffects(finishedRoot,finishedWork,committedLanes,committedTransitions);2048&flags&&commitHookEffectListMount(9,finishedWork);break;case 1:recursivelyTraversePassiveMountEffects(finishedRoot,finishedWork,committedLanes,committedTransitions);break;case 3:recursivelyTraversePassiveMountEffects(finishedRoot,finishedWork,committedLanes,committedTransitions);2048&flags&&(finishedRoot=null,null!==finishedWork.alternate&&(finishedRoot=finishedWork.alternate.memoizedState.cache),finishedWork=finishedWork.memoizedState.cache,finishedWork!==finishedRoot&&(finishedWork.refCount++,null!=finishedRoot&&releaseCache(finishedRoot)));break;case 12:if(2048&flags){recursivelyTraversePassiveMountEffects(finishedRoot,finishedWork,committedLanes,committedTransitions);finishedRoot=finishedWork.stateNode;try{var _finishedWork$memoize2=finishedWork.memoizedProps,id=_finishedWork$memoize2.id,onPostCommit=_finishedWork$memoize2.onPostCommit;"function"==typeof onPostCommit&&onPostCommit(id,null===finishedWork.alternate?"mount":"update",finishedRoot.passiveEffectDuration,-0)}catch(error){captureCommitPhaseError(finishedWork,finishedWork.return,error)}}else recursivelyTraversePassiveMountEffects(finishedRoot,finishedWork,committedLanes,committedTransitions);break;case 13:recursivelyTraversePassiveMountEffects(finishedRoot,finishedWork,committedLanes,committedTransitions);break;case 23:break;case 22:_finishedWork$memoize2=finishedWork.stateNode;id=finishedWork.alternate;null!==finishedWork.memoizedState?2&_finishedWork$memoize2._visibility?recursivelyTraversePassiveMountEffects(finishedRoot,finishedWork,committedLanes,committedTransitions):recursivelyTraverseAtomicPassiveEffects(finishedRoot,finishedWork):2&_finishedWork$memoize2._visibility?recursivelyTraversePassiveMountEffects(finishedRoot,finishedWork,committedLanes,committedTransitions):(_finishedWork$memoize2._visibility|=2,recursivelyTraverseReconnectPassiveEffects(finishedRoot,finishedWork,committedLanes,committedTransitions,0!==(10256&finishedWork.subtreeFlags)));2048&flags&&commitOffscreenPassiveMountEffects(id,finishedWork);break;case 24:recursivelyTraversePassiveMountEffects(finishedRoot,finishedWork,committedLanes,committedTransitions);2048&flags&&commitCachePassiveMountEffect(finishedWork.alternate,finishedWork);break;default:recursivelyTraversePassiveMountEffects(finishedRoot,finishedWork,committedLanes,committedTransitions)}}function recursivelyTraverseReconnectPassiveEffects(finishedRoot$jscomp$0,parentFiber,committedLanes$jscomp$0,committedTransitions$jscomp$0,includeWorkInProgressEffects){includeWorkInProgressEffects=includeWorkInProgressEffects&&0!==(10256&parentFiber.subtreeFlags);for(parentFiber=parentFiber.child;null!==parentFiber;){var finishedRoot=finishedRoot$jscomp$0,finishedWork=parentFiber,committedLanes=committedLanes$jscomp$0,committedTransitions=committedTransitions$jscomp$0,flags=finishedWork.flags;switch(finishedWork.tag){case 0:case 11:case 15:recursivelyTraverseReconnectPassiveEffects(finishedRoot,finishedWork,committedLanes,committedTransitions,includeWorkInProgressEffects);commitHookEffectListMount(8,finishedWork);break;case 23:break;case 22:var instance=finishedWork.stateNode;null!==finishedWork.memoizedState?2&instance._visibility?recursivelyTraverseReconnectPassiveEffects(finishedRoot,finishedWork,committedLanes,committedTransitions,includeWorkInProgressEffects):recursivelyTraverseAtomicPassiveEffects(finishedRoot,finishedWork):(instance._visibility|=2,recursivelyTraverseReconnectPassiveEffects(finishedRoot,finishedWork,committedLanes,committedTransitions,includeWorkInProgressEffects));includeWorkInProgressEffects&&2048&flags&&commitOffscreenPassiveMountEffects(finishedWork.alternate,finishedWork);break;case 24:recursivelyTraverseReconnectPassiveEffects(finishedRoot,finishedWork,committedLanes,committedTransitions,includeWorkInProgressEffects);includeWorkInProgressEffects&&2048&flags&&commitCachePassiveMountEffect(finishedWork.alternate,finishedWork);break;default:recursivelyTraverseReconnectPassiveEffects(finishedRoot,finishedWork,committedLanes,committedTransitions,includeWorkInProgressEffects)}parentFiber=parentFiber.sibling}}function recursivelyTraverseAtomicPassiveEffects(finishedRoot$jscomp$0,parentFiber){if(10256&parentFiber.subtreeFlags)for(parentFiber=parentFiber.child;null!==parentFiber;){var finishedRoot=finishedRoot$jscomp$0,finishedWork=parentFiber,flags=finishedWork.flags;switch(finishedWork.tag){case 22:recursivelyTraverseAtomicPassiveEffects(finishedRoot,finishedWork);2048&flags&&commitOffscreenPassiveMountEffects(finishedWork.alternate,finishedWork);break;case 24:recursivelyTraverseAtomicPassiveEffects(finishedRoot,finishedWork);2048&flags&&commitCachePassiveMountEffect(finishedWork.alternate,finishedWork);break;default:recursivelyTraverseAtomicPassiveEffects(finishedRoot,finishedWork)}parentFiber=parentFiber.sibling}}var suspenseyCommitFlag=8192;function recursivelyAccumulateSuspenseyCommit(parentFiber){if(parentFiber.subtreeFlags&suspenseyCommitFlag)for(parentFiber=parentFiber.child;null!==parentFiber;)accumulateSuspenseyCommitOnFiber(parentFiber),parentFiber=parentFiber.sibling}function accumulateSuspenseyCommitOnFiber(fiber){switch(fiber.tag){case 26:recursivelyAccumulateSuspenseyCommit(fiber);fiber.flags&suspenseyCommitFlag&&null!==fiber.memoizedState&&suspendResource(currentHoistableRoot,fiber.memoizedState,fiber.memoizedProps);break;case 5:recursivelyAccumulateSuspenseyCommit(fiber);break;case 3:case 4:var previousHoistableRoot=currentHoistableRoot;currentHoistableRoot=getHoistableRoot(fiber.stateNode.containerInfo);recursivelyAccumulateSuspenseyCommit(fiber);currentHoistableRoot=previousHoistableRoot;break;case 22:null===fiber.memoizedState&&(previousHoistableRoot=fiber.alternate,null!==previousHoistableRoot&&null!==previousHoistableRoot.memoizedState?(previousHoistableRoot=suspenseyCommitFlag,suspenseyCommitFlag=0x1000000,recursivelyAccumulateSuspenseyCommit(fiber),suspenseyCommitFlag=previousHoistableRoot):recursivelyAccumulateSuspenseyCommit(fiber));break;default:recursivelyAccumulateSuspenseyCommit(fiber)}}function detachAlternateSiblings(parentFiber){var previousFiber=parentFiber.alternate;if(null!==previousFiber&&(parentFiber=previousFiber.child,null!==parentFiber)){previousFiber.child=null;do previousFiber=parentFiber.sibling,parentFiber.sibling=null,parentFiber=previousFiber;while(null!==parentFiber)}}function recursivelyTraversePassiveUnmountEffects(parentFiber){var deletions=parentFiber.deletions;if(0!==(16&parentFiber.flags)){if(null!==deletions)for(var i=0;i<deletions.length;i++){var childToDelete=deletions[i];nextEffect=childToDelete;commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete,parentFiber)}detachAlternateSiblings(parentFiber)}if(10256&parentFiber.subtreeFlags)for(parentFiber=parentFiber.child;null!==parentFiber;)commitPassiveUnmountOnFiber(parentFiber),parentFiber=parentFiber.sibling}function commitPassiveUnmountOnFiber(finishedWork){switch(finishedWork.tag){case 0:case 11:case 15:recursivelyTraversePassiveUnmountEffects(finishedWork);2048&finishedWork.flags&&commitHookEffectListUnmount(9,finishedWork,finishedWork.return);break;case 3:recursivelyTraversePassiveUnmountEffects(finishedWork);break;case 12:recursivelyTraversePassiveUnmountEffects(finishedWork);break;case 22:var instance=finishedWork.stateNode;null!==finishedWork.memoizedState&&2&instance._visibility&&(null===finishedWork.return||13!==finishedWork.return.tag)?(instance._visibility&=-3,recursivelyTraverseDisconnectPassiveEffects(finishedWork)):recursivelyTraversePassiveUnmountEffects(finishedWork);break;default:recursivelyTraversePassiveUnmountEffects(finishedWork)}}function recursivelyTraverseDisconnectPassiveEffects(parentFiber){var deletions=parentFiber.deletions;if(0!==(16&parentFiber.flags)){if(null!==deletions)for(var i=0;i<deletions.length;i++){var childToDelete=deletions[i];nextEffect=childToDelete;commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete,parentFiber)}detachAlternateSiblings(parentFiber)}for(parentFiber=parentFiber.child;null!==parentFiber;){deletions=parentFiber;switch(deletions.tag){case 0:case 11:case 15:commitHookEffectListUnmount(8,deletions,deletions.return);recursivelyTraverseDisconnectPassiveEffects(deletions);break;case 22:i=deletions.stateNode;2&i._visibility&&(i._visibility&=-3,recursivelyTraverseDisconnectPassiveEffects(deletions));break;default:recursivelyTraverseDisconnectPassiveEffects(deletions)}parentFiber=parentFiber.sibling}}function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSubtreeRoot,nearestMountedAncestor){for(;null!==nextEffect;){var fiber=nextEffect;switch(fiber.tag){case 0:case 11:case 15:commitHookEffectListUnmount(8,fiber,nearestMountedAncestor);break;case 23:case 22:if(null!==fiber.memoizedState&&null!==fiber.memoizedState.cachePool){var cache=fiber.memoizedState.cachePool.pool;null!=cache&&cache.refCount++}break;case 24:releaseCache(fiber.memoizedState.cache)}cache=fiber.child;if(null!==cache)cache.return=fiber,nextEffect=cache;else for(fiber=deletedSubtreeRoot;null!==nextEffect;){cache=nextEffect;var sibling=cache.sibling,returnFiber=cache.return;detachFiberAfterEffects(cache);if(cache===fiber){nextEffect=null;break}if(null!==sibling){sibling.return=returnFiber;nextEffect=sibling;break}nextEffect=returnFiber}}}var DefaultAsyncDispatcher={getCacheForType:function(resourceType){var cache=readContext(CacheContext),cacheForType=cache.data.get(resourceType);void 0===cacheForType&&(cacheForType=resourceType(),cache.data.set(resourceType,cacheForType));return cacheForType}},PossiblyWeakMap="function"==typeof WeakMap?WeakMap:Map,executionContext=0,workInProgressRoot=null,workInProgress=null,workInProgressRootRenderLanes=0,workInProgressSuspendedReason=0,workInProgressThrownValue=null,workInProgressRootDidSkipSuspendedSiblings=!1,workInProgressRootIsPrerendering=!1,workInProgressRootDidAttachPingListener=!1,entangledRenderLanes=0,workInProgressRootExitStatus=0,workInProgressRootSkippedLanes=0,workInProgressRootInterleavedUpdatedLanes=0,workInProgressRootPingedLanes=0,workInProgressDeferredLane=0,workInProgressSuspendedRetryLanes=0,workInProgressRootConcurrentErrors=null,workInProgressRootRecoverableErrors=null,workInProgressRootDidIncludeRecursiveRenderUpdate=!1,globalMostRecentFallbackTime=0,workInProgressRootRenderTargetTime=1/0,workInProgressTransitions=null,legacyErrorBoundariesThatAlreadyFailed=null,pendingEffectsStatus=0,pendingEffectsRoot=null,pendingFinishedWork=null,pendingEffectsLanes=0,pendingEffectsRemainingLanes=0,pendingPassiveTransitions=null,pendingRecoverableErrors=null,nestedUpdateCount=0,rootWithNestedUpdates=null;function requestUpdateLane(){if(0!==(2&executionContext)&&0!==workInProgressRootRenderLanes)return workInProgressRootRenderLanes&-workInProgressRootRenderLanes;if(null!==ReactSharedInternals.T){var actionScopeLane=currentEntangledLane;return 0!==actionScopeLane?actionScopeLane:requestTransitionLane()}return resolveUpdatePriority()}function requestDeferredLane(){0===workInProgressDeferredLane&&(workInProgressDeferredLane=0===(0x20000000&workInProgressRootRenderLanes)||isHydrating?claimNextTransitionLane():0x20000000);var suspenseHandler=suspenseHandlerStackCursor.current;null!==suspenseHandler&&(suspenseHandler.flags|=32);return workInProgressDeferredLane}function scheduleUpdateOnFiber(root,fiber,lane){if(root===workInProgressRoot&&(2===workInProgressSuspendedReason||9===workInProgressSuspendedReason)||null!==root.cancelPendingCommit)prepareFreshStack(root,0),markRootSuspended(root,workInProgressRootRenderLanes,workInProgressDeferredLane,!1);markRootUpdated$1(root,lane);if(0===(2&executionContext)||root!==workInProgressRoot)root===workInProgressRoot&&(0===(2&executionContext)&&(workInProgressRootInterleavedUpdatedLanes|=lane),4===workInProgressRootExitStatus&&markRootSuspended(root,workInProgressRootRenderLanes,workInProgressDeferredLane,!1)),ensureRootIsScheduled(root)}function performWorkOnRoot(root$jscomp$0,lanes,forceSync){if(0!==(6&executionContext))throw Error(formatProdErrorMessage(327));var shouldTimeSlice=!forceSync&&0===(124&lanes)&&0===(lanes&root$jscomp$0.expiredLanes)||checkIfRootIsPrerendering(root$jscomp$0,lanes),exitStatus=shouldTimeSlice?renderRootConcurrent(root$jscomp$0,lanes):renderRootSync(root$jscomp$0,lanes,!0),renderWasConcurrent=shouldTimeSlice;do{if(0===exitStatus)workInProgressRootIsPrerendering&&!shouldTimeSlice&&markRootSuspended(root$jscomp$0,lanes,0,!1);else{forceSync=root$jscomp$0.current.alternate;if(renderWasConcurrent&&!isRenderConsistentWithExternalStores(forceSync)){exitStatus=renderRootSync(root$jscomp$0,lanes,!1);renderWasConcurrent=!1;continue}if(2===exitStatus){renderWasConcurrent=lanes;if(root$jscomp$0.errorRecoveryDisabledLanes&renderWasConcurrent)var JSCompiler_inline_result=0;else JSCompiler_inline_result=-0x20000001&root$jscomp$0.pendingLanes,JSCompiler_inline_result=0!==JSCompiler_inline_result?JSCompiler_inline_result:0x20000000&JSCompiler_inline_result?0x20000000:0;if(0!==JSCompiler_inline_result){lanes=JSCompiler_inline_result;a:{var root=root$jscomp$0;exitStatus=workInProgressRootConcurrentErrors;var wasRootDehydrated=root.current.memoizedState.isDehydrated;wasRootDehydrated&&(prepareFreshStack(root,JSCompiler_inline_result).flags|=256);JSCompiler_inline_result=renderRootSync(root,JSCompiler_inline_result,!1);if(2!==JSCompiler_inline_result){if(workInProgressRootDidAttachPingListener&&!wasRootDehydrated){root.errorRecoveryDisabledLanes|=renderWasConcurrent;workInProgressRootInterleavedUpdatedLanes|=renderWasConcurrent;exitStatus=4;break a}renderWasConcurrent=workInProgressRootRecoverableErrors;workInProgressRootRecoverableErrors=exitStatus;null!==renderWasConcurrent&&(null===workInProgressRootRecoverableErrors?workInProgressRootRecoverableErrors=renderWasConcurrent:workInProgressRootRecoverableErrors.push.apply(workInProgressRootRecoverableErrors,renderWasConcurrent))}exitStatus=JSCompiler_inline_result}renderWasConcurrent=!1;if(2!==exitStatus)continue}}if(1===exitStatus){prepareFreshStack(root$jscomp$0,0);markRootSuspended(root$jscomp$0,lanes,0,!0);break}a:{shouldTimeSlice=root$jscomp$0;renderWasConcurrent=exitStatus;switch(renderWasConcurrent){case 0:case 1:throw Error(formatProdErrorMessage(345));case 4:if((4194048&lanes)!==lanes)break;case 6:markRootSuspended(shouldTimeSlice,lanes,workInProgressDeferredLane,!workInProgressRootDidSkipSuspendedSiblings);break a;case 2:workInProgressRootRecoverableErrors=null;break;case 3:case 5:break;default:throw Error(formatProdErrorMessage(329))}if((0x3c00000&lanes)===lanes&&(exitStatus=globalMostRecentFallbackTime+300-now(),10<exitStatus)){markRootSuspended(shouldTimeSlice,lanes,workInProgressDeferredLane,!workInProgressRootDidSkipSuspendedSiblings);if(0!==getNextLanes(shouldTimeSlice,0,!0))break a;shouldTimeSlice.timeoutHandle=scheduleTimeout(commitRootWhenReady.bind(null,shouldTimeSlice,forceSync,workInProgressRootRecoverableErrors,workInProgressTransitions,workInProgressRootDidIncludeRecursiveRenderUpdate,lanes,workInProgressDeferredLane,workInProgressRootInterleavedUpdatedLanes,workInProgressSuspendedRetryLanes,workInProgressRootDidSkipSuspendedSiblings,renderWasConcurrent,2,-0,0),exitStatus);break a}commitRootWhenReady(shouldTimeSlice,forceSync,workInProgressRootRecoverableErrors,workInProgressTransitions,workInProgressRootDidIncludeRecursiveRenderUpdate,lanes,workInProgressDeferredLane,workInProgressRootInterleavedUpdatedLanes,workInProgressSuspendedRetryLanes,workInProgressRootDidSkipSuspendedSiblings,renderWasConcurrent,0,-0,0)}}break}while(1);ensureRootIsScheduled(root$jscomp$0)}function commitRootWhenReady(root,finishedWork,recoverableErrors,transitions,didIncludeRenderPhaseUpdate,lanes,spawnedLane,updatedLanes,suspendedRetryLanes,didSkipSuspendedSiblings,exitStatus,suspendedCommitReason,completedRenderStartTime,completedRenderEndTime){root.timeoutHandle=-1;suspendedCommitReason=finishedWork.subtreeFlags;if(8192&suspendedCommitReason||0x1002000===(0x1002000&suspendedCommitReason)){if(suspendedState={stylesheets:null,count:0,unsuspend:noop},accumulateSuspenseyCommitOnFiber(finishedWork),suspendedCommitReason=waitForCommitToBeReady(),null!==suspendedCommitReason){root.cancelPendingCommit=suspendedCommitReason(commitRoot.bind(null,root,finishedWork,lanes,recoverableErrors,transitions,didIncludeRenderPhaseUpdate,spawnedLane,updatedLanes,suspendedRetryLanes,exitStatus,1,completedRenderStartTime,completedRenderEndTime));markRootSuspended(root,lanes,spawnedLane,!didSkipSuspendedSiblings);return}}commitRoot(root,finishedWork,lanes,recoverableErrors,transitions,didIncludeRenderPhaseUpdate,spawnedLane,updatedLanes,suspendedRetryLanes)}function isRenderConsistentWithExternalStores(finishedWork){for(var node=finishedWork;;){var tag=node.tag;if((0===tag||11===tag||15===tag)&&16384&node.flags&&(tag=node.updateQueue,null!==tag&&(tag=tag.stores,null!==tag)))for(var i=0;i<tag.length;i++){var check=tag[i],getSnapshot=check.getSnapshot;check=check.value;try{if(!objectIs(getSnapshot(),check))return!1}catch(error){return!1}}tag=node.child;if(16384&node.subtreeFlags&&null!==tag)tag.return=node,node=tag;else{if(node===finishedWork)break;for(;null===node.sibling;){if(null===node.return||node.return===finishedWork)return!0;node=node.return}node.sibling.return=node.return;node=node.sibling}}return!0}function markRootSuspended(root,suspendedLanes,spawnedLane,didAttemptEntireTree){suspendedLanes&=~workInProgressRootPingedLanes;suspendedLanes&=~workInProgressRootInterleavedUpdatedLanes;root.suspendedLanes|=suspendedLanes;root.pingedLanes&=~suspendedLanes;didAttemptEntireTree&&(root.warmLanes|=suspendedLanes);didAttemptEntireTree=root.expirationTimes;for(var lanes=suspendedLanes;0<lanes;){var index$4=31-clz32(lanes),lane=1<<index$4;didAttemptEntireTree[index$4]=-1;lanes&=~lane}0!==spawnedLane&&markSpawnedDeferredLane(root,spawnedLane,suspendedLanes)}function flushSyncWork$1(){return 0===(6&executionContext)?(flushSyncWorkAcrossRoots_impl(0,!1),!1):!0}function resetWorkInProgressStack(){if(null!==workInProgress){if(0===workInProgressSuspendedReason)var interruptedWork=workInProgress.return;else interruptedWork=workInProgress,lastContextDependency=currentlyRenderingFiber$1=null,resetHooksOnUnwind(interruptedWork),thenableState=null,thenableIndexCounter=0,interruptedWork=workInProgress;for(;null!==interruptedWork;)unwindInterruptedWork(interruptedWork.alternate,interruptedWork),interruptedWork=interruptedWork.return;workInProgress=null}}function prepareFreshStack(root,lanes){var timeoutHandle=root.timeoutHandle;-1!==timeoutHandle&&(root.timeoutHandle=-1,cancelTimeout(timeoutHandle));timeoutHandle=root.cancelPendingCommit;null!==timeoutHandle&&(root.cancelPendingCommit=null,timeoutHandle());resetWorkInProgressStack();workInProgressRoot=root;workInProgress=timeoutHandle=createWorkInProgress(root.current,null);workInProgressRootRenderLanes=lanes;workInProgressSuspendedReason=0;workInProgressThrownValue=null;workInProgressRootDidSkipSuspendedSiblings=!1;workInProgressRootIsPrerendering=checkIfRootIsPrerendering(root,lanes);workInProgressRootDidAttachPingListener=!1;workInProgressSuspendedRetryLanes=workInProgressDeferredLane=workInProgressRootPingedLanes=workInProgressRootInterleavedUpdatedLanes=workInProgressRootSkippedLanes=workInProgressRootExitStatus=0;workInProgressRootRecoverableErrors=workInProgressRootConcurrentErrors=null;workInProgressRootDidIncludeRecursiveRenderUpdate=!1;0!==(8&lanes)&&(lanes|=32&lanes);var allEntangledLanes=root.entangledLanes;if(0!==allEntangledLanes)for(root=root.entanglements,allEntangledLanes&=lanes;0<allEntangledLanes;){var index$2=31-clz32(allEntangledLanes),lane=1<<index$2;lanes|=root[index$2];allEntangledLanes&=~lane}entangledRenderLanes=lanes;finishQueueingConcurrentUpdates();return timeoutHandle}function handleThrow(root,thrownValue){currentlyRenderingFiber=null;ReactSharedInternals.H=ContextOnlyDispatcher;thrownValue===SuspenseException||thrownValue===SuspenseActionException?(thrownValue=getSuspendedThenable(),workInProgressSuspendedReason=3):thrownValue===SuspenseyCommitException?(thrownValue=getSuspendedThenable(),workInProgressSuspendedReason=4):workInProgressSuspendedReason=thrownValue===SelectiveHydrationException?8:null!==thrownValue&&"object"==typeof thrownValue&&"function"==typeof thrownValue.then?6:1;workInProgressThrownValue=thrownValue;null===workInProgress&&(workInProgressRootExitStatus=1,logUncaughtError(root,createCapturedValueAtFiber(thrownValue,root.current)))}function pushDispatcher(){var prevDispatcher=ReactSharedInternals.H;ReactSharedInternals.H=ContextOnlyDispatcher;return null===prevDispatcher?ContextOnlyDispatcher:prevDispatcher}function pushAsyncDispatcher(){var prevAsyncDispatcher=ReactSharedInternals.A;ReactSharedInternals.A=DefaultAsyncDispatcher;return prevAsyncDispatcher}function renderDidSuspendDelayIfPossible(){workInProgressRootExitStatus=4;workInProgressRootDidSkipSuspendedSiblings||(4194048&workInProgressRootRenderLanes)!==workInProgressRootRenderLanes&&null!==suspenseHandlerStackCursor.current||(workInProgressRootIsPrerendering=!0);0===(0x7ffffff&workInProgressRootSkippedLanes)&&0===(0x7ffffff&workInProgressRootInterleavedUpdatedLanes)||null===workInProgressRoot||markRootSuspended(workInProgressRoot,workInProgressRootRenderLanes,workInProgressDeferredLane,!1)}function renderRootSync(root,lanes,shouldYieldForPrerendering){var prevExecutionContext=executionContext;executionContext|=2;var prevDispatcher=pushDispatcher(),prevAsyncDispatcher=pushAsyncDispatcher();if(workInProgressRoot!==root||workInProgressRootRenderLanes!==lanes)workInProgressTransitions=null,prepareFreshStack(root,lanes);lanes=!1;var exitStatus=workInProgressRootExitStatus;a:do try{if(0!==workInProgressSuspendedReason&&null!==workInProgress){var unitOfWork=workInProgress,thrownValue=workInProgressThrownValue;switch(workInProgressSuspendedReason){case 8:resetWorkInProgressStack();exitStatus=6;break a;case 3:case 2:case 9:case 6:null===suspenseHandlerStackCursor.current&&(lanes=!0);var reason=workInProgressSuspendedReason;workInProgressSuspendedReason=0;workInProgressThrownValue=null;throwAndUnwindWorkLoop(root,unitOfWork,thrownValue,reason);if(shouldYieldForPrerendering&&workInProgressRootIsPrerendering){exitStatus=0;break a}break;default:reason=workInProgressSuspendedReason,workInProgressSuspendedReason=0,workInProgressThrownValue=null,throwAndUnwindWorkLoop(root,unitOfWork,thrownValue,reason)}}workLoopSync();exitStatus=workInProgressRootExitStatus;break}catch(thrownValue$167){handleThrow(root,thrownValue$167)}while(1);lanes&&root.shellSuspendCounter++;lastContextDependency=currentlyRenderingFiber$1=null;executionContext=prevExecutionContext;ReactSharedInternals.H=prevDispatcher;ReactSharedInternals.A=prevAsyncDispatcher;null===workInProgress&&(workInProgressRoot=null,workInProgressRootRenderLanes=0,finishQueueingConcurrentUpdates());return exitStatus}function workLoopSync(){for(;null!==workInProgress;)performUnitOfWork(workInProgress)}function renderRootConcurrent(root,lanes){var prevExecutionContext=executionContext;executionContext|=2;var prevDispatcher=pushDispatcher(),prevAsyncDispatcher=pushAsyncDispatcher();workInProgressRoot!==root||workInProgressRootRenderLanes!==lanes?(workInProgressTransitions=null,workInProgressRootRenderTargetTime=now()+500,prepareFreshStack(root,lanes)):workInProgressRootIsPrerendering=checkIfRootIsPrerendering(root,lanes);a:do try{if(0!==workInProgressSuspendedReason&&null!==workInProgress){lanes=workInProgress;var thrownValue=workInProgressThrownValue;b:switch(workInProgressSuspendedReason){case 1:workInProgressSuspendedReason=0;workInProgressThrownValue=null;throwAndUnwindWorkLoop(root,lanes,thrownValue,1);break;case 2:case 9:if(isThenableResolved(thrownValue)){workInProgressSuspendedReason=0;workInProgressThrownValue=null;replaySuspendedUnitOfWork(lanes);break}lanes=function(){2!==workInProgressSuspendedReason&&9!==workInProgressSuspendedReason||workInProgressRoot!==root||(workInProgressSuspendedReason=7);ensureRootIsScheduled(root)};thrownValue.then(lanes,lanes);break a;case 3:workInProgressSuspendedReason=7;break a;case 4:workInProgressSuspendedReason=5;break a;case 7:isThenableResolved(thrownValue)?(workInProgressSuspendedReason=0,workInProgressThrownValue=null,replaySuspendedUnitOfWork(lanes)):(workInProgressSuspendedReason=0,workInProgressThrownValue=null,throwAndUnwindWorkLoop(root,lanes,thrownValue,7));break;case 5:var resource=null;switch(workInProgress.tag){case 26:resource=workInProgress.memoizedState;case 5:case 27:var hostFiber=workInProgress;if(resource?preloadResource(resource):1){workInProgressSuspendedReason=0;workInProgressThrownValue=null;var sibling=hostFiber.sibling;if(null!==sibling)workInProgress=sibling;else{var returnFiber=hostFiber.return;null!==returnFiber?(workInProgress=returnFiber,completeUnitOfWork(returnFiber)):workInProgress=null}break b}}workInProgressSuspendedReason=0;workInProgressThrownValue=null;throwAndUnwindWorkLoop(root,lanes,thrownValue,5);break;case 6:workInProgressSuspendedReason=0;workInProgressThrownValue=null;throwAndUnwindWorkLoop(root,lanes,thrownValue,6);break;case 8:resetWorkInProgressStack();workInProgressRootExitStatus=6;break a;default:throw Error(formatProdErrorMessage(462))}}workLoopConcurrentByScheduler();break}catch(thrownValue$169){handleThrow(root,thrownValue$169)}while(1);lastContextDependency=currentlyRenderingFiber$1=null;ReactSharedInternals.H=prevDispatcher;ReactSharedInternals.A=prevAsyncDispatcher;executionContext=prevExecutionContext;if(null!==workInProgress)return 0;workInProgressRoot=null;workInProgressRootRenderLanes=0;finishQueueingConcurrentUpdates();return workInProgressRootExitStatus}function workLoopConcurrentByScheduler(){for(;null!==workInProgress&&!shouldYield();)performUnitOfWork(workInProgress)}function performUnitOfWork(unitOfWork){var next=beginWork(unitOfWork.alternate,unitOfWork,entangledRenderLanes);unitOfWork.memoizedProps=unitOfWork.pendingProps;null===next?completeUnitOfWork(unitOfWork):workInProgress=next}function replaySuspendedUnitOfWork(unitOfWork){var next=unitOfWork;var current=next.alternate;switch(next.tag){case 15:case 0:next=replayFunctionComponent(current,next,next.pendingProps,next.type,void 0,workInProgressRootRenderLanes);break;case 11:next=replayFunctionComponent(current,next,next.pendingProps,next.type.render,next.ref,workInProgressRootRenderLanes);break;case 5:resetHooksOnUnwind(next);default:unwindInterruptedWork(current,next),next=workInProgress=resetWorkInProgress(next,entangledRenderLanes),next=beginWork(current,next,entangledRenderLanes)}unitOfWork.memoizedProps=unitOfWork.pendingProps;null===next?completeUnitOfWork(unitOfWork):workInProgress=next}function throwAndUnwindWorkLoop(root,unitOfWork,thrownValue,suspendedReason){lastContextDependency=currentlyRenderingFiber$1=null;resetHooksOnUnwind(unitOfWork);thenableState=null;thenableIndexCounter=0;var returnFiber=unitOfWork.return;try{if(throwException(root,returnFiber,unitOfWork,thrownValue,workInProgressRootRenderLanes)){workInProgressRootExitStatus=1;logUncaughtError(root,createCapturedValueAtFiber(thrownValue,root.current));workInProgress=null;return}}catch(error){if(null!==returnFiber)throw workInProgress=returnFiber,error;workInProgressRootExitStatus=1;logUncaughtError(root,createCapturedValueAtFiber(thrownValue,root.current));workInProgress=null;return}if(32768&unitOfWork.flags){if(isHydrating||1===suspendedReason)root=!0;else if(workInProgressRootIsPrerendering||0!==(0x20000000&workInProgressRootRenderLanes))root=!1;else if(workInProgressRootDidSkipSuspendedSiblings=root=!0,2===suspendedReason||9===suspendedReason||3===suspendedReason||6===suspendedReason)suspendedReason=suspenseHandlerStackCursor.current,null!==suspendedReason&&13===suspendedReason.tag&&(suspendedReason.flags|=16384);unwindUnitOfWork(unitOfWork,root)}else completeUnitOfWork(unitOfWork)}function completeUnitOfWork(unitOfWork){var completedWork=unitOfWork;do{if(0!==(32768&completedWork.flags))return void unwindUnitOfWork(completedWork,workInProgressRootDidSkipSuspendedSiblings);unitOfWork=completedWork.return;var next=completeWork(completedWork.alternate,completedWork,entangledRenderLanes);if(null!==next){workInProgress=next;return}completedWork=completedWork.sibling;if(null!==completedWork){workInProgress=completedWork;return}workInProgress=completedWork=unitOfWork}while(null!==completedWork);0===workInProgressRootExitStatus&&(workInProgressRootExitStatus=5)}function unwindUnitOfWork(unitOfWork,skipSiblings){do{var next=unwindWork(unitOfWork.alternate,unitOfWork);if(null!==next){next.flags&=32767;workInProgress=next;return}next=unitOfWork.return;null!==next&&(next.flags|=32768,next.subtreeFlags=0,next.deletions=null);if(!skipSiblings&&(unitOfWork=unitOfWork.sibling,null!==unitOfWork)){workInProgress=unitOfWork;return}workInProgress=unitOfWork=next}while(null!==unitOfWork);workInProgressRootExitStatus=6;workInProgress=null}function commitRoot(root,finishedWork,lanes,recoverableErrors,transitions,didIncludeRenderPhaseUpdate,spawnedLane,updatedLanes,suspendedRetryLanes){root.cancelPendingCommit=null;do flushPendingEffects();while(0!==pendingEffectsStatus);if(0!==(6&executionContext))throw Error(formatProdErrorMessage(327));if(null!==finishedWork){if(finishedWork===root.current)throw Error(formatProdErrorMessage(177));didIncludeRenderPhaseUpdate=finishedWork.lanes|finishedWork.childLanes;didIncludeRenderPhaseUpdate|=concurrentlyUpdatedLanes;markRootFinished(root,lanes,didIncludeRenderPhaseUpdate,spawnedLane,updatedLanes,suspendedRetryLanes);root===workInProgressRoot&&(workInProgress=workInProgressRoot=null,workInProgressRootRenderLanes=0);pendingFinishedWork=finishedWork;pendingEffectsRoot=root;pendingEffectsLanes=lanes;pendingEffectsRemainingLanes=didIncludeRenderPhaseUpdate;pendingPassiveTransitions=transitions;pendingRecoverableErrors=recoverableErrors;0!==(10256&finishedWork.subtreeFlags)||0!==(10256&finishedWork.flags)?(root.callbackNode=null,root.callbackPriority=0,scheduleCallback$1(NormalPriority$1,function(){flushPassiveEffects(!0);return null})):(root.callbackNode=null,root.callbackPriority=0);recoverableErrors=0!==(13878&finishedWork.flags);if(0!==(13878&finishedWork.subtreeFlags)||recoverableErrors){recoverableErrors=ReactSharedInternals.T;ReactSharedInternals.T=null;transitions=ReactDOMSharedInternals.p;ReactDOMSharedInternals.p=2;spawnedLane=executionContext;executionContext|=4;try{commitBeforeMutationEffects(root,finishedWork,lanes)}finally{executionContext=spawnedLane,ReactDOMSharedInternals.p=transitions,ReactSharedInternals.T=recoverableErrors}}pendingEffectsStatus=1;flushMutationEffects();flushLayoutEffects();flushSpawnedWork()}}function flushMutationEffects(){if(1===pendingEffectsStatus){pendingEffectsStatus=0;var root=pendingEffectsRoot,finishedWork=pendingFinishedWork,rootMutationHasEffect=0!==(13878&finishedWork.flags);if(0!==(13878&finishedWork.subtreeFlags)||rootMutationHasEffect){rootMutationHasEffect=ReactSharedInternals.T;ReactSharedInternals.T=null;var previousPriority=ReactDOMSharedInternals.p;ReactDOMSharedInternals.p=2;var prevExecutionContext=executionContext;executionContext|=4;try{commitMutationEffectsOnFiber(finishedWork,root);var priorSelectionInformation=selectionInformation,curFocusedElem=getActiveElementDeep(root.containerInfo),priorFocusedElem=priorSelectionInformation.focusedElem,priorSelectionRange=priorSelectionInformation.selectionRange;if(curFocusedElem!==priorFocusedElem&&priorFocusedElem&&priorFocusedElem.ownerDocument&&containsNode(priorFocusedElem.ownerDocument.documentElement,priorFocusedElem)){if(null!==priorSelectionRange&&hasSelectionCapabilities(priorFocusedElem)){var start=priorSelectionRange.start,end=priorSelectionRange.end;void 0===end&&(end=start);if("selectionStart"in priorFocusedElem)priorFocusedElem.selectionStart=start,priorFocusedElem.selectionEnd=Math.min(end,priorFocusedElem.value.length);else{var doc=priorFocusedElem.ownerDocument||document,win=doc&&doc.defaultView||window;if(win.getSelection){var selection=win.getSelection(),length=priorFocusedElem.textContent.length,start$jscomp$0=Math.min(priorSelectionRange.start,length),end$jscomp$0=void 0===priorSelectionRange.end?start$jscomp$0:Math.min(priorSelectionRange.end,length);!selection.extend&&start$jscomp$0>end$jscomp$0&&(curFocusedElem=end$jscomp$0,end$jscomp$0=start$jscomp$0,start$jscomp$0=curFocusedElem);var startMarker=getNodeForCharacterOffset(priorFocusedElem,start$jscomp$0),endMarker=getNodeForCharacterOffset(priorFocusedElem,end$jscomp$0);if(startMarker&&endMarker&&(1!==selection.rangeCount||selection.anchorNode!==startMarker.node||selection.anchorOffset!==startMarker.offset||selection.focusNode!==endMarker.node||selection.focusOffset!==endMarker.offset)){var range=doc.createRange();range.setStart(startMarker.node,startMarker.offset);selection.removeAllRanges();start$jscomp$0>end$jscomp$0?(selection.addRange(range),selection.extend(endMarker.node,endMarker.offset)):(range.setEnd(endMarker.node,endMarker.offset),selection.addRange(range))}}}}doc=[];for(selection=priorFocusedElem;selection=selection.parentNode;)1===selection.nodeType&&doc.push({element:selection,left:selection.scrollLeft,top:selection.scrollTop});"function"==typeof priorFocusedElem.focus&&priorFocusedElem.focus();for(priorFocusedElem=0;priorFocusedElem<doc.length;priorFocusedElem++){var info=doc[priorFocusedElem];info.element.scrollLeft=info.left;info.element.scrollTop=info.top}}_enabled=!!eventsEnabled;selectionInformation=eventsEnabled=null}finally{executionContext=prevExecutionContext,ReactDOMSharedInternals.p=previousPriority,ReactSharedInternals.T=rootMutationHasEffect}}root.current=finishedWork;pendingEffectsStatus=2}}function flushLayoutEffects(){if(2===pendingEffectsStatus){pendingEffectsStatus=0;var root=pendingEffectsRoot,finishedWork=pendingFinishedWork,rootHasLayoutEffect=0!==(8772&finishedWork.flags);if(0!==(8772&finishedWork.subtreeFlags)||rootHasLayoutEffect){rootHasLayoutEffect=ReactSharedInternals.T;ReactSharedInternals.T=null;var previousPriority=ReactDOMSharedInternals.p;ReactDOMSharedInternals.p=2;var prevExecutionContext=executionContext;executionContext|=4;try{commitLayoutEffectOnFiber(root,finishedWork.alternate,finishedWork)}finally{executionContext=prevExecutionContext,ReactDOMSharedInternals.p=previousPriority,ReactSharedInternals.T=rootHasLayoutEffect}}pendingEffectsStatus=3}}function flushSpawnedWork(){if(4===pendingEffectsStatus||3===pendingEffectsStatus){pendingEffectsStatus=0;requestPaint();var root=pendingEffectsRoot,finishedWork=pendingFinishedWork,lanes=pendingEffectsLanes,recoverableErrors=pendingRecoverableErrors;0!==(10256&finishedWork.subtreeFlags)||0!==(10256&finishedWork.flags)?pendingEffectsStatus=5:(pendingEffectsStatus=0,pendingFinishedWork=pendingEffectsRoot=null,releaseRootPooledCache(root,root.pendingLanes));var remainingLanes=root.pendingLanes;0===remainingLanes&&(legacyErrorBoundariesThatAlreadyFailed=null);lanesToEventPriority(lanes);finishedWork=finishedWork.stateNode;if(injectedHook&&"function"==typeof injectedHook.onCommitFiberRoot)try{injectedHook.onCommitFiberRoot(rendererID,finishedWork,void 0,128===(128&finishedWork.current.flags))}catch(err){}if(null!==recoverableErrors){finishedWork=ReactSharedInternals.T;remainingLanes=ReactDOMSharedInternals.p;ReactDOMSharedInternals.p=2;ReactSharedInternals.T=null;try{for(var onRecoverableError=root.onRecoverableError,i=0;i<recoverableErrors.length;i++){var recoverableError=recoverableErrors[i];onRecoverableError(recoverableError.value,{componentStack:recoverableError.stack})}}finally{ReactSharedInternals.T=finishedWork,ReactDOMSharedInternals.p=remainingLanes}}0!==(3&pendingEffectsLanes)&&flushPendingEffects();ensureRootIsScheduled(root);remainingLanes=root.pendingLanes;0!==(4194090&lanes)&&0!==(42&remainingLanes)?root===rootWithNestedUpdates?nestedUpdateCount++:(nestedUpdateCount=0,rootWithNestedUpdates=root):nestedUpdateCount=0;flushSyncWorkAcrossRoots_impl(0,!1)}}function releaseRootPooledCache(root,remainingLanes){0===(root.pooledCacheLanes&=remainingLanes)&&(remainingLanes=root.pooledCache,null!=remainingLanes&&(root.pooledCache=null,releaseCache(remainingLanes)))}function flushPendingEffects(wasDelayedCommit){flushMutationEffects();flushLayoutEffects();flushSpawnedWork();return flushPassiveEffects(wasDelayedCommit)}function flushPassiveEffects(){if(5!==pendingEffectsStatus)return!1;var root=pendingEffectsRoot,remainingLanes=pendingEffectsRemainingLanes;pendingEffectsRemainingLanes=0;var renderPriority=lanesToEventPriority(pendingEffectsLanes),prevTransition=ReactSharedInternals.T,previousPriority=ReactDOMSharedInternals.p;try{ReactDOMSharedInternals.p=32>renderPriority?32:renderPriority;ReactSharedInternals.T=null;renderPriority=pendingPassiveTransitions;pendingPassiveTransitions=null;var root$jscomp$0=pendingEffectsRoot,lanes=pendingEffectsLanes;pendingEffectsStatus=0;pendingFinishedWork=pendingEffectsRoot=null;pendingEffectsLanes=0;if(0!==(6&executionContext))throw Error(formatProdErrorMessage(331));var prevExecutionContext=executionContext;executionContext|=4;commitPassiveUnmountOnFiber(root$jscomp$0.current);commitPassiveMountOnFiber(root$jscomp$0,root$jscomp$0.current,lanes,renderPriority);executionContext=prevExecutionContext;flushSyncWorkAcrossRoots_impl(0,!1);if(injectedHook&&"function"==typeof injectedHook.onPostCommitFiberRoot)try{injectedHook.onPostCommitFiberRoot(rendererID,root$jscomp$0)}catch(err){}return!0}finally{ReactDOMSharedInternals.p=previousPriority,ReactSharedInternals.T=prevTransition,releaseRootPooledCache(root,remainingLanes)}}function captureCommitPhaseErrorOnRoot(rootFiber,sourceFiber,error){sourceFiber=createCapturedValueAtFiber(error,sourceFiber);sourceFiber=createRootErrorUpdate(rootFiber.stateNode,sourceFiber,2);rootFiber=enqueueUpdate(rootFiber,sourceFiber,2);null!==rootFiber&&(markRootUpdated$1(rootFiber,2),ensureRootIsScheduled(rootFiber))}function captureCommitPhaseError(sourceFiber,nearestMountedAncestor,error){if(3===sourceFiber.tag)captureCommitPhaseErrorOnRoot(sourceFiber,sourceFiber,error);else for(;null!==nearestMountedAncestor;){if(3===nearestMountedAncestor.tag){captureCommitPhaseErrorOnRoot(nearestMountedAncestor,sourceFiber,error);break}if(1===nearestMountedAncestor.tag){var instance=nearestMountedAncestor.stateNode;if("function"==typeof nearestMountedAncestor.type.getDerivedStateFromError||"function"==typeof instance.componentDidCatch&&(null===legacyErrorBoundariesThatAlreadyFailed||!legacyErrorBoundariesThatAlreadyFailed.has(instance))){sourceFiber=createCapturedValueAtFiber(error,sourceFiber);error=createClassErrorUpdate(2);instance=enqueueUpdate(nearestMountedAncestor,error,2);null!==instance&&(initializeClassErrorUpdate(error,instance,nearestMountedAncestor,sourceFiber),markRootUpdated$1(instance,2),ensureRootIsScheduled(instance));break}}nearestMountedAncestor=nearestMountedAncestor.return}}function attachPingListener(root,wakeable,lanes){var pingCache=root.pingCache;if(null===pingCache){pingCache=root.pingCache=new PossiblyWeakMap;var threadIDs=new Set;pingCache.set(wakeable,threadIDs)}else threadIDs=pingCache.get(wakeable),void 0===threadIDs&&(threadIDs=new Set,pingCache.set(wakeable,threadIDs));threadIDs.has(lanes)||(workInProgressRootDidAttachPingListener=!0,threadIDs.add(lanes),root=pingSuspendedRoot.bind(null,root,wakeable,lanes),wakeable.then(root,root))}function pingSuspendedRoot(root,wakeable,pingedLanes){var pingCache=root.pingCache;null!==pingCache&&pingCache.delete(wakeable);root.pingedLanes|=root.suspendedLanes&pingedLanes;root.warmLanes&=~pingedLanes;workInProgressRoot===root&&(workInProgressRootRenderLanes&pingedLanes)===pingedLanes&&(4===workInProgressRootExitStatus||3===workInProgressRootExitStatus&&(0x3c00000&workInProgressRootRenderLanes)===workInProgressRootRenderLanes&&300>now()-globalMostRecentFallbackTime?0===(2&executionContext)&&prepareFreshStack(root,0):workInProgressRootPingedLanes|=pingedLanes,workInProgressSuspendedRetryLanes===workInProgressRootRenderLanes&&(workInProgressSuspendedRetryLanes=0));ensureRootIsScheduled(root)}function retryTimedOutBoundary(boundaryFiber,retryLane){0===retryLane&&(retryLane=claimNextRetryLane());boundaryFiber=enqueueConcurrentRenderForLane(boundaryFiber,retryLane);null!==boundaryFiber&&(markRootUpdated$1(boundaryFiber,retryLane),ensureRootIsScheduled(boundaryFiber))}function retryDehydratedSuspenseBoundary(boundaryFiber){var suspenseState=boundaryFiber.memoizedState,retryLane=0;null!==suspenseState&&(retryLane=suspenseState.retryLane);retryTimedOutBoundary(boundaryFiber,retryLane)}function resolveRetryWakeable(boundaryFiber,wakeable){var retryLane=0;switch(boundaryFiber.tag){case 13:var retryCache=boundaryFiber.stateNode;var suspenseState=boundaryFiber.memoizedState;null!==suspenseState&&(retryLane=suspenseState.retryLane);break;case 19:retryCache=boundaryFiber.stateNode;break;case 22:retryCache=boundaryFiber.stateNode._retryCache;break;default:throw Error(formatProdErrorMessage(314))}null!==retryCache&&retryCache.delete(wakeable);retryTimedOutBoundary(boundaryFiber,retryLane)}function scheduleCallback$1(priorityLevel,callback){return scheduleCallback$3(priorityLevel,callback)}var firstScheduledRoot=null,lastScheduledRoot=null,didScheduleMicrotask=!1,mightHavePendingSyncWork=!1,isFlushingWork=!1,currentEventTransitionLane=0;function ensureRootIsScheduled(root){root!==lastScheduledRoot&&null===root.next&&(null===lastScheduledRoot?firstScheduledRoot=lastScheduledRoot=root:lastScheduledRoot=lastScheduledRoot.next=root);mightHavePendingSyncWork=!0;didScheduleMicrotask||(didScheduleMicrotask=!0,scheduleImmediateRootScheduleTask())}function flushSyncWorkAcrossRoots_impl(syncTransitionLanes,onlyLegacy){if(!isFlushingWork&&mightHavePendingSyncWork){isFlushingWork=!0;do{var didPerformSomeWork=!1;for(var root$174=firstScheduledRoot;null!==root$174;){if(!onlyLegacy)if(0!==syncTransitionLanes){var pendingLanes=root$174.pendingLanes;if(0===pendingLanes)var JSCompiler_inline_result=0;else{var suspendedLanes=root$174.suspendedLanes,pingedLanes=root$174.pingedLanes;JSCompiler_inline_result=(1<<31-clz32(42|syncTransitionLanes)+1)-1;JSCompiler_inline_result&=pendingLanes&~(suspendedLanes&~pingedLanes);JSCompiler_inline_result=0xc000095&JSCompiler_inline_result?0xc000095&JSCompiler_inline_result|1:JSCompiler_inline_result?2|JSCompiler_inline_result:0}0!==JSCompiler_inline_result&&(didPerformSomeWork=!0,performSyncWorkOnRoot(root$174,JSCompiler_inline_result))}else JSCompiler_inline_result=workInProgressRootRenderLanes,JSCompiler_inline_result=getNextLanes(root$174,root$174===workInProgressRoot?JSCompiler_inline_result:0,null!==root$174.cancelPendingCommit||-1!==root$174.timeoutHandle),0===(3&JSCompiler_inline_result)||checkIfRootIsPrerendering(root$174,JSCompiler_inline_result)||(didPerformSomeWork=!0,performSyncWorkOnRoot(root$174,JSCompiler_inline_result));root$174=root$174.next}}while(didPerformSomeWork);isFlushingWork=!1}}function processRootScheduleInImmediateTask(){processRootScheduleInMicrotask()}function processRootScheduleInMicrotask(){mightHavePendingSyncWork=didScheduleMicrotask=!1;var syncTransitionLanes=0;0!==currentEventTransitionLane&&(shouldAttemptEagerTransition()&&(syncTransitionLanes=currentEventTransitionLane),currentEventTransitionLane=0);for(var currentTime=now(),prev=null,root=firstScheduledRoot;null!==root;){var next=root.next,nextLanes=scheduleTaskForRootDuringMicrotask(root,currentTime);if(0===nextLanes)root.next=null,null===prev?firstScheduledRoot=next:prev.next=next,null===next&&(lastScheduledRoot=prev);else if(prev=root,0!==syncTransitionLanes||0!==(3&nextLanes))mightHavePendingSyncWork=!0;root=next}flushSyncWorkAcrossRoots_impl(syncTransitionLanes,!1)}function scheduleTaskForRootDuringMicrotask(root,currentTime){for(var suspendedLanes=root.suspendedLanes,pingedLanes=root.pingedLanes,expirationTimes=root.expirationTimes,lanes=-0x3c00001&root.pendingLanes;0<lanes;){var index$3=31-clz32(lanes),lane=1<<index$3,expirationTime=expirationTimes[index$3];if(-1===expirationTime){if(0===(lane&suspendedLanes)||0!==(lane&pingedLanes))expirationTimes[index$3]=computeExpirationTime(lane,currentTime)}else expirationTime<=currentTime&&(root.expiredLanes|=lane);lanes&=~lane}currentTime=workInProgressRoot;suspendedLanes=workInProgressRootRenderLanes;suspendedLanes=getNextLanes(root,root===currentTime?suspendedLanes:0,null!==root.cancelPendingCommit||-1!==root.timeoutHandle);pingedLanes=root.callbackNode;if(0===suspendedLanes||root===currentTime&&(2===workInProgressSuspendedReason||9===workInProgressSuspendedReason)||null!==root.cancelPendingCommit)return null!==pingedLanes&&null!==pingedLanes&&cancelCallback$1(pingedLanes),root.callbackNode=null,root.callbackPriority=0;if(0===(3&suspendedLanes)||checkIfRootIsPrerendering(root,suspendedLanes)){currentTime=suspendedLanes&-suspendedLanes;if(currentTime===root.callbackPriority)return currentTime;null!==pingedLanes&&cancelCallback$1(pingedLanes);switch(lanesToEventPriority(suspendedLanes)){case 2:case 8:suspendedLanes=UserBlockingPriority;break;case 32:suspendedLanes=NormalPriority$1;break;case 0x10000000:suspendedLanes=IdlePriority;break;default:suspendedLanes=NormalPriority$1}pingedLanes=performWorkOnRootViaSchedulerTask.bind(null,root);suspendedLanes=scheduleCallback$3(suspendedLanes,pingedLanes);root.callbackPriority=currentTime;root.callbackNode=suspendedLanes;return currentTime}null!==pingedLanes&&null!==pingedLanes&&cancelCallback$1(pingedLanes);root.callbackPriority=2;root.callbackNode=null;return 2}function performWorkOnRootViaSchedulerTask(root,didTimeout){if(0!==pendingEffectsStatus&&5!==pendingEffectsStatus)return root.callbackNode=null,root.callbackPriority=0,null;var originalCallbackNode=root.callbackNode;if(flushPendingEffects(!0)&&root.callbackNode!==originalCallbackNode)return null;var workInProgressRootRenderLanes$jscomp$0=workInProgressRootRenderLanes;workInProgressRootRenderLanes$jscomp$0=getNextLanes(root,root===workInProgressRoot?workInProgressRootRenderLanes$jscomp$0:0,null!==root.cancelPendingCommit||-1!==root.timeoutHandle);if(0===workInProgressRootRenderLanes$jscomp$0)return null;performWorkOnRoot(root,workInProgressRootRenderLanes$jscomp$0,didTimeout);scheduleTaskForRootDuringMicrotask(root,now());return null!=root.callbackNode&&root.callbackNode===originalCallbackNode?performWorkOnRootViaSchedulerTask.bind(null,root):null}function performSyncWorkOnRoot(root,lanes){if(flushPendingEffects())return null;performWorkOnRoot(root,lanes,!0)}function scheduleImmediateRootScheduleTask(){scheduleMicrotask(function(){0!==(6&executionContext)?scheduleCallback$3(ImmediatePriority,processRootScheduleInImmediateTask):processRootScheduleInMicrotask()})}function requestTransitionLane(){0===currentEventTransitionLane&&(currentEventTransitionLane=claimNextTransitionLane());return currentEventTransitionLane}function coerceFormActionProp(actionProp){return null==actionProp||"symbol"==typeof actionProp||"boolean"==typeof actionProp?null:"function"==typeof actionProp?actionProp:sanitizeURL(""+actionProp)}function createFormDataWithSubmitter(form,submitter){var temp=submitter.ownerDocument.createElement("input");temp.name=submitter.name;temp.value=submitter.value;form.id&&temp.setAttribute("form",form.id);submitter.parentNode.insertBefore(temp,submitter);form=new FormData(form);temp.parentNode.removeChild(temp);return form}function extractEvents$1(dispatchQueue,domEventName,maybeTargetInst,nativeEvent,nativeEventTarget){if("submit"===domEventName&&maybeTargetInst&&maybeTargetInst.stateNode===nativeEventTarget){var action=coerceFormActionProp((nativeEventTarget[internalPropsKey]||null).action),submitter=nativeEvent.submitter;submitter&&(domEventName=(domEventName=submitter[internalPropsKey]||null)?coerceFormActionProp(domEventName.formAction):submitter.getAttribute("formAction"),null!==domEventName&&(action=domEventName,submitter=null));var event=new SyntheticEvent("action","action",null,nativeEvent,nativeEventTarget);dispatchQueue.push({event:event,listeners:[{instance:null,listener:function(){if(nativeEvent.defaultPrevented){if(0!==currentEventTransitionLane){var formData=submitter?createFormDataWithSubmitter(nativeEventTarget,submitter):new FormData(nativeEventTarget);startHostTransition(maybeTargetInst,{pending:!0,data:formData,method:nativeEventTarget.method,action:action},null,formData)}}else"function"==typeof action&&(event.preventDefault(),formData=submitter?createFormDataWithSubmitter(nativeEventTarget,submitter):new FormData(nativeEventTarget),startHostTransition(maybeTargetInst,{pending:!0,data:formData,method:nativeEventTarget.method,action:action},action,formData))},currentTarget:nativeEventTarget}]})}}for(var i$jscomp$inline_1528=0;i$jscomp$inline_1528<simpleEventPluginEvents.length;i$jscomp$inline_1528++){var eventName$jscomp$inline_1529=simpleEventPluginEvents[i$jscomp$inline_1528],domEventName$jscomp$inline_1530=eventName$jscomp$inline_1529.toLowerCase(),capitalizedEvent$jscomp$inline_1531=eventName$jscomp$inline_1529[0].toUpperCase()+eventName$jscomp$inline_1529.slice(1);registerSimpleEvent(domEventName$jscomp$inline_1530,"on"+capitalizedEvent$jscomp$inline_1531)}registerSimpleEvent(ANIMATION_END,"onAnimationEnd");registerSimpleEvent(ANIMATION_ITERATION,"onAnimationIteration");registerSimpleEvent(ANIMATION_START,"onAnimationStart");registerSimpleEvent("dblclick","onDoubleClick");registerSimpleEvent("focusin","onFocus");registerSimpleEvent("focusout","onBlur");registerSimpleEvent(TRANSITION_RUN,"onTransitionRun");registerSimpleEvent(TRANSITION_START,"onTransitionStart");registerSimpleEvent(TRANSITION_CANCEL,"onTransitionCancel");registerSimpleEvent(TRANSITION_END,"onTransitionEnd");registerDirectEvent("onMouseEnter",["mouseout","mouseover"]);registerDirectEvent("onMouseLeave",["mouseout","mouseover"]);registerDirectEvent("onPointerEnter",["pointerout","pointerover"]);registerDirectEvent("onPointerLeave",["pointerout","pointerover"]);registerTwoPhaseEvent("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));registerTwoPhaseEvent("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));registerTwoPhaseEvent("onBeforeInput",["compositionend","keypress","textInput","paste"]);registerTwoPhaseEvent("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));registerTwoPhaseEvent("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));registerTwoPhaseEvent("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mediaEventTypes="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),nonDelegatedEvents=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mediaEventTypes));function processDispatchQueue(dispatchQueue,eventSystemFlags){eventSystemFlags=0!==(4&eventSystemFlags);for(var i=0;i<dispatchQueue.length;i++){var _dispatchQueue$i=dispatchQueue[i],event=_dispatchQueue$i.event;_dispatchQueue$i=_dispatchQueue$i.listeners;a:{var previousInstance=void 0;if(eventSystemFlags)for(var i$jscomp$0=_dispatchQueue$i.length-1;0<=i$jscomp$0;i$jscomp$0--){var _dispatchListeners$i=_dispatchQueue$i[i$jscomp$0],instance=_dispatchListeners$i.instance,currentTarget=_dispatchListeners$i.currentTarget;_dispatchListeners$i=_dispatchListeners$i.listener;if(instance!==previousInstance&&event.isPropagationStopped())break a;previousInstance=_dispatchListeners$i;event.currentTarget=currentTarget;try{previousInstance(event)}catch(error){reportGlobalError(error)}event.currentTarget=null;previousInstance=instance}else for(i$jscomp$0=0;i$jscomp$0<_dispatchQueue$i.length;i$jscomp$0++){_dispatchListeners$i=_dispatchQueue$i[i$jscomp$0];instance=_dispatchListeners$i.instance;currentTarget=_dispatchListeners$i.currentTarget;_dispatchListeners$i=_dispatchListeners$i.listener;if(instance!==previousInstance&&event.isPropagationStopped())break a;previousInstance=_dispatchListeners$i;event.currentTarget=currentTarget;try{previousInstance(event)}catch(error){reportGlobalError(error)}event.currentTarget=null;previousInstance=instance}}}}function listenToNonDelegatedEvent(domEventName,targetElement){var JSCompiler_inline_result=targetElement[internalEventHandlersKey];void 0===JSCompiler_inline_result&&(JSCompiler_inline_result=targetElement[internalEventHandlersKey]=new Set);var listenerSetKey=domEventName+"__bubble";JSCompiler_inline_result.has(listenerSetKey)||(addTrappedEventListener(targetElement,domEventName,2,!1),JSCompiler_inline_result.add(listenerSetKey))}function listenToNativeEvent(domEventName,isCapturePhaseListener,target){var eventSystemFlags=0;isCapturePhaseListener&&(eventSystemFlags|=4);addTrappedEventListener(target,domEventName,eventSystemFlags,isCapturePhaseListener)}var listeningMarker="_reactListening"+Math.random().toString(36).slice(2);function listenToAllSupportedEvents(rootContainerElement){if(!rootContainerElement[listeningMarker]){rootContainerElement[listeningMarker]=!0;allNativeEvents.forEach(function(domEventName){"selectionchange"!==domEventName&&(nonDelegatedEvents.has(domEventName)||listenToNativeEvent(domEventName,!1,rootContainerElement),listenToNativeEvent(domEventName,!0,rootContainerElement))});var ownerDocument=9===rootContainerElement.nodeType?rootContainerElement:rootContainerElement.ownerDocument;null===ownerDocument||ownerDocument[listeningMarker]||(ownerDocument[listeningMarker]=!0,listenToNativeEvent("selectionchange",!1,ownerDocument))}}function addTrappedEventListener(targetContainer,domEventName,eventSystemFlags,isCapturePhaseListener){switch(getEventPriority(domEventName)){case 2:var listenerWrapper=dispatchDiscreteEvent;break;case 8:listenerWrapper=dispatchContinuousEvent;break;default:listenerWrapper=dispatchEvent}eventSystemFlags=listenerWrapper.bind(null,domEventName,eventSystemFlags,targetContainer);listenerWrapper=void 0;passiveBrowserEventsSupported&&("touchstart"===domEventName||"touchmove"===domEventName||"wheel"===domEventName)&&(listenerWrapper=!0);isCapturePhaseListener?void 0!==listenerWrapper?targetContainer.addEventListener(domEventName,eventSystemFlags,{capture:!0,passive:listenerWrapper}):targetContainer.addEventListener(domEventName,eventSystemFlags,!0):void 0!==listenerWrapper?targetContainer.addEventListener(domEventName,eventSystemFlags,{passive:listenerWrapper}):targetContainer.addEventListener(domEventName,eventSystemFlags,!1)}function dispatchEventForPluginEventSystem(domEventName,eventSystemFlags,nativeEvent,targetInst$jscomp$0,targetContainer){var ancestorInst=targetInst$jscomp$0;if(0===(1&eventSystemFlags)&&0===(2&eventSystemFlags)&&null!==targetInst$jscomp$0)a:for(;;){if(null===targetInst$jscomp$0)return;var nodeTag=targetInst$jscomp$0.tag;if(3===nodeTag||4===nodeTag){var container=targetInst$jscomp$0.stateNode.containerInfo;if(container===targetContainer)break;if(4===nodeTag)for(nodeTag=targetInst$jscomp$0.return;null!==nodeTag;){var grandTag=nodeTag.tag;if((3===grandTag||4===grandTag)&&nodeTag.stateNode.containerInfo===targetContainer)return;nodeTag=nodeTag.return}for(;null!==container;){nodeTag=getClosestInstanceFromNode(container);if(null===nodeTag)return;grandTag=nodeTag.tag;if(5===grandTag||6===grandTag||26===grandTag||27===grandTag){targetInst$jscomp$0=ancestorInst=nodeTag;continue a}container=container.parentNode}}targetInst$jscomp$0=targetInst$jscomp$0.return}batchedUpdates$1(function(){var targetInst=ancestorInst,nativeEventTarget=getEventTarget(nativeEvent),dispatchQueue=[];a:{var reactName=topLevelEventsToReactNames.get(domEventName);if(void 0!==reactName){var SyntheticEventCtor=SyntheticEvent,reactEventType=domEventName;switch(domEventName){case"keypress":if(0===getEventCharCode(nativeEvent))break a;case"keydown":case"keyup":SyntheticEventCtor=SyntheticKeyboardEvent;break;case"focusin":reactEventType="focus";SyntheticEventCtor=SyntheticFocusEvent;break;case"focusout":reactEventType="blur";SyntheticEventCtor=SyntheticFocusEvent;break;case"beforeblur":case"afterblur":SyntheticEventCtor=SyntheticFocusEvent;break;case"click":if(2===nativeEvent.button)break a;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":SyntheticEventCtor=SyntheticMouseEvent;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":SyntheticEventCtor=SyntheticDragEvent;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":SyntheticEventCtor=SyntheticTouchEvent;break;case ANIMATION_END:case ANIMATION_ITERATION:case ANIMATION_START:SyntheticEventCtor=SyntheticAnimationEvent;break;case TRANSITION_END:SyntheticEventCtor=SyntheticTransitionEvent;break;case"scroll":case"scrollend":SyntheticEventCtor=SyntheticUIEvent;break;case"wheel":SyntheticEventCtor=SyntheticWheelEvent;break;case"copy":case"cut":case"paste":SyntheticEventCtor=SyntheticClipboardEvent;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":SyntheticEventCtor=SyntheticPointerEvent;break;case"toggle":case"beforetoggle":SyntheticEventCtor=SyntheticToggleEvent}var inCapturePhase=0!==(4&eventSystemFlags),accumulateTargetOnly=!inCapturePhase&&("scroll"===domEventName||"scrollend"===domEventName),reactEventName=inCapturePhase?null!==reactName?reactName+"Capture":null:reactName;inCapturePhase=[];for(var instance=targetInst,lastHostComponent;null!==instance;){var _instance=instance;lastHostComponent=_instance.stateNode;_instance=_instance.tag;5!==_instance&&26!==_instance&&27!==_instance||null===lastHostComponent||null===reactEventName||(_instance=getListener(instance,reactEventName),null!=_instance&&inCapturePhase.push(createDispatchListener(instance,_instance,lastHostComponent)));if(accumulateTargetOnly)break;instance=instance.return}0<inCapturePhase.length&&(reactName=new SyntheticEventCtor(reactName,reactEventType,null,nativeEvent,nativeEventTarget),dispatchQueue.push({event:reactName,listeners:inCapturePhase}))}}if(0===(7&eventSystemFlags)){a:{reactName="mouseover"===domEventName||"pointerover"===domEventName;SyntheticEventCtor="mouseout"===domEventName||"pointerout"===domEventName;if(reactName&&nativeEvent!==currentReplayingEvent&&(reactEventType=nativeEvent.relatedTarget||nativeEvent.fromElement)&&(getClosestInstanceFromNode(reactEventType)||reactEventType[internalContainerInstanceKey]))break a;if(SyntheticEventCtor||reactName){reactName=nativeEventTarget.window===nativeEventTarget?nativeEventTarget:(reactName=nativeEventTarget.ownerDocument)?reactName.defaultView||reactName.parentWindow:window;if(SyntheticEventCtor){if(reactEventType=nativeEvent.relatedTarget||nativeEvent.toElement,SyntheticEventCtor=targetInst,reactEventType=reactEventType?getClosestInstanceFromNode(reactEventType):null,null!==reactEventType&&(accumulateTargetOnly=getNearestMountedFiber(reactEventType),inCapturePhase=reactEventType.tag,reactEventType!==accumulateTargetOnly||5!==inCapturePhase&&27!==inCapturePhase&&6!==inCapturePhase))reactEventType=null}else SyntheticEventCtor=null,reactEventType=targetInst;if(SyntheticEventCtor!==reactEventType){inCapturePhase=SyntheticMouseEvent;_instance="onMouseLeave";reactEventName="onMouseEnter";instance="mouse";if("pointerout"===domEventName||"pointerover"===domEventName)inCapturePhase=SyntheticPointerEvent,_instance="onPointerLeave",reactEventName="onPointerEnter",instance="pointer";accumulateTargetOnly=null==SyntheticEventCtor?reactName:getNodeFromInstance(SyntheticEventCtor);lastHostComponent=null==reactEventType?reactName:getNodeFromInstance(reactEventType);reactName=new inCapturePhase(_instance,instance+"leave",SyntheticEventCtor,nativeEvent,nativeEventTarget);reactName.target=accumulateTargetOnly;reactName.relatedTarget=lastHostComponent;_instance=null;getClosestInstanceFromNode(nativeEventTarget)===targetInst&&(inCapturePhase=new inCapturePhase(reactEventName,instance+"enter",reactEventType,nativeEvent,nativeEventTarget),inCapturePhase.target=lastHostComponent,inCapturePhase.relatedTarget=accumulateTargetOnly,_instance=inCapturePhase);accumulateTargetOnly=_instance;if(SyntheticEventCtor&&reactEventType)b:{inCapturePhase=SyntheticEventCtor;reactEventName=reactEventType;instance=0;for(lastHostComponent=inCapturePhase;lastHostComponent;lastHostComponent=getParent(lastHostComponent))instance++;lastHostComponent=0;for(_instance=reactEventName;_instance;_instance=getParent(_instance))lastHostComponent++;for(;0<instance-lastHostComponent;)inCapturePhase=getParent(inCapturePhase),instance--;for(;0<lastHostComponent-instance;)reactEventName=getParent(reactEventName),lastHostComponent--;for(;instance--;){if(inCapturePhase===reactEventName||null!==reactEventName&&inCapturePhase===reactEventName.alternate)break b;inCapturePhase=getParent(inCapturePhase);reactEventName=getParent(reactEventName)}inCapturePhase=null}else inCapturePhase=null;null!==SyntheticEventCtor&&accumulateEnterLeaveListenersForEvent(dispatchQueue,reactName,SyntheticEventCtor,inCapturePhase,!1);null!==reactEventType&&null!==accumulateTargetOnly&&accumulateEnterLeaveListenersForEvent(dispatchQueue,accumulateTargetOnly,reactEventType,inCapturePhase,!0)}}}a:{reactName=targetInst?getNodeFromInstance(targetInst):window;SyntheticEventCtor=reactName.nodeName&&reactName.nodeName.toLowerCase();if("select"===SyntheticEventCtor||"input"===SyntheticEventCtor&&"file"===reactName.type)var getTargetInstFunc=getTargetInstForChangeEvent;else if(isTextInputElement(reactName))if(isInputEventSupported)getTargetInstFunc=getTargetInstForInputOrChangeEvent;else{getTargetInstFunc=getTargetInstForInputEventPolyfill;var handleEventFunc=handleEventsForInputEventPolyfill}else SyntheticEventCtor=reactName.nodeName,SyntheticEventCtor&&"input"===SyntheticEventCtor.toLowerCase()&&("checkbox"===reactName.type||"radio"===reactName.type)?getTargetInstFunc=getTargetInstForClickEvent:targetInst&&isCustomElement(targetInst.elementType)&&(getTargetInstFunc=getTargetInstForChangeEvent);if(getTargetInstFunc&&(getTargetInstFunc=getTargetInstFunc(domEventName,targetInst))){createAndAccumulateChangeEvent(dispatchQueue,getTargetInstFunc,nativeEvent,nativeEventTarget);break a}handleEventFunc&&handleEventFunc(domEventName,reactName,targetInst);"focusout"===domEventName&&targetInst&&"number"===reactName.type&&null!=targetInst.memoizedProps.value&&setDefaultValue(reactName,"number",reactName.value)}handleEventFunc=targetInst?getNodeFromInstance(targetInst):window;switch(domEventName){case"focusin":if(isTextInputElement(handleEventFunc)||"true"===handleEventFunc.contentEditable)activeElement=handleEventFunc,activeElementInst=targetInst,lastSelection=null;break;case"focusout":lastSelection=activeElementInst=activeElement=null;break;case"mousedown":mouseDown=!0;break;case"contextmenu":case"mouseup":case"dragend":mouseDown=!1;constructSelectEvent(dispatchQueue,nativeEvent,nativeEventTarget);break;case"selectionchange":if(skipSelectionChangeEvent)break;case"keydown":case"keyup":constructSelectEvent(dispatchQueue,nativeEvent,nativeEventTarget)}var fallbackData;if(canUseCompositionEvent)b:{switch(domEventName){case"compositionstart":var eventType="onCompositionStart";break b;case"compositionend":eventType="onCompositionEnd";break b;case"compositionupdate":eventType="onCompositionUpdate";break b}eventType=void 0}else isComposing?isFallbackCompositionEnd(domEventName,nativeEvent)&&(eventType="onCompositionEnd"):"keydown"===domEventName&&229===nativeEvent.keyCode&&(eventType="onCompositionStart");eventType&&(useFallbackCompositionData&&"ko"!==nativeEvent.locale&&(isComposing||"onCompositionStart"!==eventType?"onCompositionEnd"===eventType&&isComposing&&(fallbackData=getData()):(root=nativeEventTarget,startText="value"in root?root.value:root.textContent,isComposing=!0)),handleEventFunc=accumulateTwoPhaseListeners(targetInst,eventType),0<handleEventFunc.length&&(eventType=new SyntheticCompositionEvent(eventType,domEventName,null,nativeEvent,nativeEventTarget),dispatchQueue.push({event:eventType,listeners:handleEventFunc}),fallbackData?eventType.data=fallbackData:(fallbackData=getDataFromCustomEvent(nativeEvent),null!==fallbackData&&(eventType.data=fallbackData))));if(fallbackData=canUseTextInputEvent?getNativeBeforeInputChars(domEventName,nativeEvent):getFallbackBeforeInputChars(domEventName,nativeEvent))eventType=accumulateTwoPhaseListeners(targetInst,"onBeforeInput"),0<eventType.length&&(handleEventFunc=new SyntheticCompositionEvent("onBeforeInput","beforeinput",null,nativeEvent,nativeEventTarget),dispatchQueue.push({event:handleEventFunc,listeners:eventType}),handleEventFunc.data=fallbackData);extractEvents$1(dispatchQueue,domEventName,targetInst,nativeEvent,nativeEventTarget)}processDispatchQueue(dispatchQueue,eventSystemFlags)})}function createDispatchListener(instance,listener,currentTarget){return{instance:instance,listener:listener,currentTarget:currentTarget}}function accumulateTwoPhaseListeners(targetFiber,reactName){for(var captureName=reactName+"Capture",listeners=[];null!==targetFiber;){var _instance2=targetFiber,stateNode=_instance2.stateNode;_instance2=_instance2.tag;5!==_instance2&&26!==_instance2&&27!==_instance2||null===stateNode||(_instance2=getListener(targetFiber,captureName),null!=_instance2&&listeners.unshift(createDispatchListener(targetFiber,_instance2,stateNode)),_instance2=getListener(targetFiber,reactName),null!=_instance2&&listeners.push(createDispatchListener(targetFiber,_instance2,stateNode)));if(3===targetFiber.tag)return listeners;targetFiber=targetFiber.return}return[]}function getParent(inst){if(null===inst)return null;do inst=inst.return;while(inst&&5!==inst.tag&&27!==inst.tag);return inst?inst:null}function accumulateEnterLeaveListenersForEvent(dispatchQueue,event,target,common,inCapturePhase){for(var registrationName=event._reactName,listeners=[];null!==target&&target!==common;){var _instance3=target,alternate=_instance3.alternate,stateNode=_instance3.stateNode;_instance3=_instance3.tag;if(null!==alternate&&alternate===common)break;5!==_instance3&&26!==_instance3&&27!==_instance3||null===stateNode||(alternate=stateNode,inCapturePhase?(stateNode=getListener(target,registrationName),null!=stateNode&&listeners.unshift(createDispatchListener(target,stateNode,alternate))):inCapturePhase||(stateNode=getListener(target,registrationName),null!=stateNode&&listeners.push(createDispatchListener(target,stateNode,alternate))));target=target.return}0!==listeners.length&&dispatchQueue.push({event:event,listeners:listeners})}var NORMALIZE_NEWLINES_REGEX=/\r\n?/g,NORMALIZE_NULL_AND_REPLACEMENT_REGEX=/\u0000|\uFFFD/g;function normalizeMarkupForTextOrAttribute(markup){return("string"==typeof markup?markup:""+markup).replace(NORMALIZE_NEWLINES_REGEX,"\n").replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX,"")}function checkForUnmatchedText(serverText,clientText){clientText=normalizeMarkupForTextOrAttribute(clientText);return normalizeMarkupForTextOrAttribute(serverText)===clientText}function noop$1(){}function setProp(domElement,tag,key,value,props,prevValue){switch(key){case"children":"string"==typeof value?"body"===tag||"textarea"===tag&&""===value||setTextContent(domElement,value):("number"==typeof value||"bigint"==typeof value)&&"body"!==tag&&setTextContent(domElement,""+value);break;case"className":setValueForKnownAttribute(domElement,"class",value);break;case"tabIndex":setValueForKnownAttribute(domElement,"tabindex",value);break;case"dir":case"role":case"viewBox":case"width":case"height":setValueForKnownAttribute(domElement,key,value);break;case"style":setValueForStyles(domElement,value,prevValue);break;case"data":if("object"!==tag){setValueForKnownAttribute(domElement,"data",value);break}case"src":case"href":if(""===value&&("a"!==tag||"href"!==key)){domElement.removeAttribute(key);break}if(null==value||"function"==typeof value||"symbol"==typeof value||"boolean"==typeof value){domElement.removeAttribute(key);break}value=sanitizeURL(""+value);domElement.setAttribute(key,value);break;case"action":case"formAction":if("function"==typeof value){domElement.setAttribute(key,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}"function"==typeof prevValue&&("formAction"===key?("input"!==tag&&setProp(domElement,tag,"name",props.name,props,null),setProp(domElement,tag,"formEncType",props.formEncType,props,null),setProp(domElement,tag,"formMethod",props.formMethod,props,null),setProp(domElement,tag,"formTarget",props.formTarget,props,null)):(setProp(domElement,tag,"encType",props.encType,props,null),setProp(domElement,tag,"method",props.method,props,null),setProp(domElement,tag,"target",props.target,props,null)));if(null==value||"symbol"==typeof value||"boolean"==typeof value){domElement.removeAttribute(key);break}value=sanitizeURL(""+value);domElement.setAttribute(key,value);break;case"onClick":null!=value&&(domElement.onclick=noop$1);break;case"onScroll":null!=value&&listenToNonDelegatedEvent("scroll",domElement);break;case"onScrollEnd":null!=value&&listenToNonDelegatedEvent("scrollend",domElement);break;case"dangerouslySetInnerHTML":if(null!=value){if("object"!=typeof value||!("__html"in value))throw Error(formatProdErrorMessage(61));key=value.__html;if(null!=key){if(null!=props.children)throw Error(formatProdErrorMessage(60));domElement.innerHTML=key}}break;case"multiple":domElement.multiple=value&&"function"!=typeof value&&"symbol"!=typeof value;break;case"muted":domElement.muted=value&&"function"!=typeof value&&"symbol"!=typeof value;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(null==value||"function"==typeof value||"boolean"==typeof value||"symbol"==typeof value){domElement.removeAttribute("xlink:href");break}key=sanitizeURL(""+value);domElement.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",key);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=value&&"function"!=typeof value&&"symbol"!=typeof value?domElement.setAttribute(key,""+value):domElement.removeAttribute(key);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":value&&"function"!=typeof value&&"symbol"!=typeof value?domElement.setAttribute(key,""):domElement.removeAttribute(key);break;case"capture":case"download":!0===value?domElement.setAttribute(key,""):!1!==value&&null!=value&&"function"!=typeof value&&"symbol"!=typeof value?domElement.setAttribute(key,value):domElement.removeAttribute(key);break;case"cols":case"rows":case"size":case"span":null!=value&&"function"!=typeof value&&"symbol"!=typeof value&&!isNaN(value)&&1<=value?domElement.setAttribute(key,value):domElement.removeAttribute(key);break;case"rowSpan":case"start":null==value||"function"==typeof value||"symbol"==typeof value||isNaN(value)?domElement.removeAttribute(key):domElement.setAttribute(key,value);break;case"popover":listenToNonDelegatedEvent("beforetoggle",domElement);listenToNonDelegatedEvent("toggle",domElement);setValueForAttribute(domElement,"popover",value);break;case"xlinkActuate":setValueForNamespacedAttribute(domElement,"http://www.w3.org/1999/xlink","xlink:actuate",value);break;case"xlinkArcrole":setValueForNamespacedAttribute(domElement,"http://www.w3.org/1999/xlink","xlink:arcrole",value);break;case"xlinkRole":setValueForNamespacedAttribute(domElement,"http://www.w3.org/1999/xlink","xlink:role",value);break;case"xlinkShow":setValueForNamespacedAttribute(domElement,"http://www.w3.org/1999/xlink","xlink:show",value);break;case"xlinkTitle":setValueForNamespacedAttribute(domElement,"http://www.w3.org/1999/xlink","xlink:title",value);break;case"xlinkType":setValueForNamespacedAttribute(domElement,"http://www.w3.org/1999/xlink","xlink:type",value);break;case"xmlBase":setValueForNamespacedAttribute(domElement,"http://www.w3.org/XML/1998/namespace","xml:base",value);break;case"xmlLang":setValueForNamespacedAttribute(domElement,"http://www.w3.org/XML/1998/namespace","xml:lang",value);break;case"xmlSpace":setValueForNamespacedAttribute(domElement,"http://www.w3.org/XML/1998/namespace","xml:space",value);break;case"is":setValueForAttribute(domElement,"is",value);break;case"innerText":case"textContent":break;default:if(!(2<key.length)||"o"!==key[0]&&"O"!==key[0]||"n"!==key[1]&&"N"!==key[1])key=aliases.get(key)||key,setValueForAttribute(domElement,key,value)}}function setPropOnCustomElement(domElement,tag,key,value,props,prevValue){switch(key){case"style":setValueForStyles(domElement,value,prevValue);break;case"dangerouslySetInnerHTML":if(null!=value){if("object"!=typeof value||!("__html"in value))throw Error(formatProdErrorMessage(61));key=value.__html;if(null!=key){if(null!=props.children)throw Error(formatProdErrorMessage(60));domElement.innerHTML=key}}break;case"children":"string"==typeof value?setTextContent(domElement,value):("number"==typeof value||"bigint"==typeof value)&&setTextContent(domElement,""+value);break;case"onScroll":null!=value&&listenToNonDelegatedEvent("scroll",domElement);break;case"onScrollEnd":null!=value&&listenToNonDelegatedEvent("scrollend",domElement);break;case"onClick":null!=value&&(domElement.onclick=noop$1);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!registrationNameDependencies.hasOwnProperty(key))a:{if("o"===key[0]&&"n"===key[1]&&(props=key.endsWith("Capture"),tag=key.slice(2,props?key.length-7:void 0),prevValue=domElement[internalPropsKey]||null,prevValue=null!=prevValue?prevValue[key]:null,"function"==typeof prevValue&&domElement.removeEventListener(tag,prevValue,props),"function"==typeof value)){"function"!=typeof prevValue&&null!==prevValue&&(key in domElement?domElement[key]=null:domElement.hasAttribute(key)&&domElement.removeAttribute(key));domElement.addEventListener(tag,value,props);break a}key in domElement?domElement[key]=value:!0===value?domElement.setAttribute(key,""):setValueForAttribute(domElement,key,value)}}}function setInitialProperties(domElement,tag,props){switch(tag){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":listenToNonDelegatedEvent("error",domElement);listenToNonDelegatedEvent("load",domElement);var hasSrc=!1,hasSrcSet=!1,propKey;for(propKey in props)if(props.hasOwnProperty(propKey)){var propValue=props[propKey];if(null!=propValue)switch(propKey){case"src":hasSrc=!0;break;case"srcSet":hasSrcSet=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(formatProdErrorMessage(137,tag));default:setProp(domElement,tag,propKey,propValue,props,null)}}hasSrcSet&&setProp(domElement,tag,"srcSet",props.srcSet,props,null);hasSrc&&setProp(domElement,tag,"src",props.src,props,null);return;case"input":listenToNonDelegatedEvent("invalid",domElement);var defaultValue=propKey=propValue=hasSrcSet=null,checked=null,defaultChecked=null;for(hasSrc in props)if(props.hasOwnProperty(hasSrc)){var propValue$188=props[hasSrc];if(null!=propValue$188)switch(hasSrc){case"name":hasSrcSet=propValue$188;break;case"type":propValue=propValue$188;break;case"checked":checked=propValue$188;break;case"defaultChecked":defaultChecked=propValue$188;break;case"value":propKey=propValue$188;break;case"defaultValue":defaultValue=propValue$188;break;case"children":case"dangerouslySetInnerHTML":if(null!=propValue$188)throw Error(formatProdErrorMessage(137,tag));break;default:setProp(domElement,tag,hasSrc,propValue$188,props,null)}}initInput(domElement,propKey,defaultValue,checked,defaultChecked,propValue,hasSrcSet,!1);track(domElement);return;case"select":listenToNonDelegatedEvent("invalid",domElement);hasSrc=propValue=propKey=null;for(hasSrcSet in props)if(props.hasOwnProperty(hasSrcSet)&&(defaultValue=props[hasSrcSet],null!=defaultValue))switch(hasSrcSet){case"value":propKey=defaultValue;break;case"defaultValue":propValue=defaultValue;break;case"multiple":hasSrc=defaultValue;default:setProp(domElement,tag,hasSrcSet,defaultValue,props,null)}tag=propKey;props=propValue;domElement.multiple=!!hasSrc;null!=tag?updateOptions(domElement,!!hasSrc,tag,!1):null!=props&&updateOptions(domElement,!!hasSrc,props,!0);return;case"textarea":listenToNonDelegatedEvent("invalid",domElement);propKey=hasSrcSet=hasSrc=null;for(propValue in props)if(props.hasOwnProperty(propValue)&&(defaultValue=props[propValue],null!=defaultValue))switch(propValue){case"value":hasSrc=defaultValue;break;case"defaultValue":hasSrcSet=defaultValue;break;case"children":propKey=defaultValue;break;case"dangerouslySetInnerHTML":if(null!=defaultValue)throw Error(formatProdErrorMessage(91));break;default:setProp(domElement,tag,propValue,defaultValue,props,null)}initTextarea(domElement,hasSrc,hasSrcSet,propKey);track(domElement);return;case"option":for(checked in props)if(props.hasOwnProperty(checked)&&(hasSrc=props[checked],null!=hasSrc))switch(checked){case"selected":domElement.selected=hasSrc&&"function"!=typeof hasSrc&&"symbol"!=typeof hasSrc;break;default:setProp(domElement,tag,checked,hasSrc,props,null)}return;case"dialog":listenToNonDelegatedEvent("beforetoggle",domElement);listenToNonDelegatedEvent("toggle",domElement);listenToNonDelegatedEvent("cancel",domElement);listenToNonDelegatedEvent("close",domElement);break;case"iframe":case"object":listenToNonDelegatedEvent("load",domElement);break;case"video":case"audio":for(hasSrc=0;hasSrc<mediaEventTypes.length;hasSrc++)listenToNonDelegatedEvent(mediaEventTypes[hasSrc],domElement);break;case"image":listenToNonDelegatedEvent("error",domElement);listenToNonDelegatedEvent("load",domElement);break;case"details":listenToNonDelegatedEvent("toggle",domElement);break;case"embed":case"source":case"link":listenToNonDelegatedEvent("error",domElement),listenToNonDelegatedEvent("load",domElement);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(defaultChecked in props)if(props.hasOwnProperty(defaultChecked)&&(hasSrc=props[defaultChecked],null!=hasSrc))switch(defaultChecked){case"children":case"dangerouslySetInnerHTML":throw Error(formatProdErrorMessage(137,tag));default:setProp(domElement,tag,defaultChecked,hasSrc,props,null)}return;default:if(isCustomElement(tag)){for(propValue$188 in props)props.hasOwnProperty(propValue$188)&&(hasSrc=props[propValue$188],void 0!==hasSrc&&setPropOnCustomElement(domElement,tag,propValue$188,hasSrc,props,void 0));return}}for(defaultValue in props)props.hasOwnProperty(defaultValue)&&(hasSrc=props[defaultValue],null!=hasSrc&&setProp(domElement,tag,defaultValue,hasSrc,props,null))}function updateProperties(domElement,tag,lastProps,nextProps){switch(tag){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var name=null,type=null,value=null,defaultValue=null,lastDefaultValue=null,checked=null,defaultChecked=null;for(propKey in lastProps){var lastProp=lastProps[propKey];if(lastProps.hasOwnProperty(propKey)&&null!=lastProp)switch(propKey){case"checked":break;case"value":break;case"defaultValue":lastDefaultValue=lastProp;default:nextProps.hasOwnProperty(propKey)||setProp(domElement,tag,propKey,null,nextProps,lastProp)}}for(var propKey$205 in nextProps){var propKey=nextProps[propKey$205];lastProp=lastProps[propKey$205];if(nextProps.hasOwnProperty(propKey$205)&&(null!=propKey||null!=lastProp))switch(propKey$205){case"type":type=propKey;break;case"name":name=propKey;break;case"checked":checked=propKey;break;case"defaultChecked":defaultChecked=propKey;break;case"value":value=propKey;break;case"defaultValue":defaultValue=propKey;break;case"children":case"dangerouslySetInnerHTML":if(null!=propKey)throw Error(formatProdErrorMessage(137,tag));break;default:propKey!==lastProp&&setProp(domElement,tag,propKey$205,propKey,nextProps,lastProp)}}updateInput(domElement,value,defaultValue,lastDefaultValue,checked,defaultChecked,type,name);return;case"select":propKey=value=defaultValue=propKey$205=null;for(type in lastProps)if(lastDefaultValue=lastProps[type],lastProps.hasOwnProperty(type)&&null!=lastDefaultValue)switch(type){case"value":break;case"multiple":propKey=lastDefaultValue;default:nextProps.hasOwnProperty(type)||setProp(domElement,tag,type,null,nextProps,lastDefaultValue)}for(name in nextProps)if(type=nextProps[name],lastDefaultValue=lastProps[name],nextProps.hasOwnProperty(name)&&(null!=type||null!=lastDefaultValue))switch(name){case"value":propKey$205=type;break;case"defaultValue":defaultValue=type;break;case"multiple":value=type;default:type!==lastDefaultValue&&setProp(domElement,tag,name,type,nextProps,lastDefaultValue)}tag=defaultValue;lastProps=value;nextProps=propKey;null!=propKey$205?updateOptions(domElement,!!lastProps,propKey$205,!1):!!nextProps!==!!lastProps&&(null!=tag?updateOptions(domElement,!!lastProps,tag,!0):updateOptions(domElement,!!lastProps,lastProps?[]:"",!1));return;case"textarea":propKey=propKey$205=null;for(defaultValue in lastProps)if(name=lastProps[defaultValue],lastProps.hasOwnProperty(defaultValue)&&null!=name&&!nextProps.hasOwnProperty(defaultValue))switch(defaultValue){case"value":break;case"children":break;default:setProp(domElement,tag,defaultValue,null,nextProps,name)}for(value in nextProps)if(name=nextProps[value],type=lastProps[value],nextProps.hasOwnProperty(value)&&(null!=name||null!=type))switch(value){case"value":propKey$205=name;break;case"defaultValue":propKey=name;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=name)throw Error(formatProdErrorMessage(91));break;default:name!==type&&setProp(domElement,tag,value,name,nextProps,type)}updateTextarea(domElement,propKey$205,propKey);return;case"option":for(var propKey$221 in lastProps)if(propKey$205=lastProps[propKey$221],lastProps.hasOwnProperty(propKey$221)&&null!=propKey$205&&!nextProps.hasOwnProperty(propKey$221))switch(propKey$221){case"selected":domElement.selected=!1;break;default:setProp(domElement,tag,propKey$221,null,nextProps,propKey$205)}for(lastDefaultValue in nextProps)if(propKey$205=nextProps[lastDefaultValue],propKey=lastProps[lastDefaultValue],nextProps.hasOwnProperty(lastDefaultValue)&&propKey$205!==propKey&&(null!=propKey$205||null!=propKey))switch(lastDefaultValue){case"selected":domElement.selected=propKey$205&&"function"!=typeof propKey$205&&"symbol"!=typeof propKey$205;break;default:setProp(domElement,tag,lastDefaultValue,propKey$205,nextProps,propKey)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var propKey$226 in lastProps)propKey$205=lastProps[propKey$226],lastProps.hasOwnProperty(propKey$226)&&null!=propKey$205&&!nextProps.hasOwnProperty(propKey$226)&&setProp(domElement,tag,propKey$226,null,nextProps,propKey$205);for(checked in nextProps)if(propKey$205=nextProps[checked],propKey=lastProps[checked],nextProps.hasOwnProperty(checked)&&propKey$205!==propKey&&(null!=propKey$205||null!=propKey))switch(checked){case"children":case"dangerouslySetInnerHTML":if(null!=propKey$205)throw Error(formatProdErrorMessage(137,tag));break;default:setProp(domElement,tag,checked,propKey$205,nextProps,propKey)}return;default:if(isCustomElement(tag)){for(var propKey$231 in lastProps)propKey$205=lastProps[propKey$231],lastProps.hasOwnProperty(propKey$231)&&void 0!==propKey$205&&!nextProps.hasOwnProperty(propKey$231)&&setPropOnCustomElement(domElement,tag,propKey$231,void 0,nextProps,propKey$205);for(defaultChecked in nextProps)propKey$205=nextProps[defaultChecked],propKey=lastProps[defaultChecked],nextProps.hasOwnProperty(defaultChecked)&&propKey$205!==propKey&&(void 0!==propKey$205||void 0!==propKey)&&setPropOnCustomElement(domElement,tag,defaultChecked,propKey$205,nextProps,propKey);return}}for(var propKey$236 in lastProps)propKey$205=lastProps[propKey$236],lastProps.hasOwnProperty(propKey$236)&&null!=propKey$205&&!nextProps.hasOwnProperty(propKey$236)&&setProp(domElement,tag,propKey$236,null,nextProps,propKey$205);for(lastProp in nextProps)propKey$205=nextProps[lastProp],propKey=lastProps[lastProp],nextProps.hasOwnProperty(lastProp)&&propKey$205!==propKey&&(null!=propKey$205||null!=propKey)&&setProp(domElement,tag,lastProp,propKey$205,nextProps,propKey)}var eventsEnabled=null,selectionInformation=null;function getOwnerDocumentFromRootContainer(rootContainerElement){return 9===rootContainerElement.nodeType?rootContainerElement:rootContainerElement.ownerDocument}function getOwnHostContext(namespaceURI){switch(namespaceURI){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function getChildHostContextProd(parentNamespace,type){if(0===parentNamespace)switch(type){case"svg":return 1;case"math":return 2;default:return 0}return 1===parentNamespace&&"foreignObject"===type?0:parentNamespace}function shouldSetTextContent(type,props){return"textarea"===type||"noscript"===type||"string"==typeof props.children||"number"==typeof props.children||"bigint"==typeof props.children||"object"==typeof props.dangerouslySetInnerHTML&&null!==props.dangerouslySetInnerHTML&&null!=props.dangerouslySetInnerHTML.__html}var currentPopstateTransitionEvent=null;function shouldAttemptEagerTransition(){var event=window.event;if(event&&"popstate"===event.type){if(event===currentPopstateTransitionEvent)return!1;currentPopstateTransitionEvent=event;return!0}currentPopstateTransitionEvent=null;return!1}var scheduleTimeout="function"==typeof setTimeout?setTimeout:void 0,cancelTimeout="function"==typeof clearTimeout?clearTimeout:void 0,localPromise="function"==typeof Promise?Promise:void 0,scheduleMicrotask="function"==typeof queueMicrotask?queueMicrotask:void 0!==localPromise?function(callback){return localPromise.resolve(null).then(callback).catch(handleErrorInNextTick)}:scheduleTimeout;function handleErrorInNextTick(error){setTimeout(function(){throw error})}function isSingletonScope(type){return"head"===type}function clearSuspenseBoundary(parentInstance,suspenseInstance){var node=suspenseInstance,possiblePreambleContribution=0,depth=0;do{var nextNode=node.nextSibling;parentInstance.removeChild(node);if(nextNode&&8===nextNode.nodeType)if(node=nextNode.data,"/$"===node){if(0<possiblePreambleContribution&&8>possiblePreambleContribution){node=possiblePreambleContribution;var ownerDocument=parentInstance.ownerDocument;1&node&&releaseSingletonInstance(ownerDocument.documentElement);2&node&&releaseSingletonInstance(ownerDocument.body);if(4&node)for(node=ownerDocument.head,releaseSingletonInstance(node),ownerDocument=node.firstChild;ownerDocument;){var nextNode$jscomp$0=ownerDocument.nextSibling,nodeName=ownerDocument.nodeName;ownerDocument[internalHoistableMarker]||"SCRIPT"===nodeName||"STYLE"===nodeName||"LINK"===nodeName&&"stylesheet"===ownerDocument.rel.toLowerCase()||node.removeChild(ownerDocument);ownerDocument=nextNode$jscomp$0}}if(0===depth){parentInstance.removeChild(nextNode);retryIfBlockedOn(suspenseInstance);return}depth--}else"$"===node||"$?"===node||"$!"===node?depth++:possiblePreambleContribution=node.charCodeAt(0)-48;else possiblePreambleContribution=0;node=nextNode}while(node);retryIfBlockedOn(suspenseInstance)}function clearContainerSparingly(container){var nextNode=container.firstChild;nextNode&&10===nextNode.nodeType&&(nextNode=nextNode.nextSibling);for(;nextNode;){var node=nextNode;nextNode=nextNode.nextSibling;switch(node.nodeName){case"HTML":case"HEAD":case"BODY":clearContainerSparingly(node);detachDeletedInstance(node);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===node.rel.toLowerCase())continue}container.removeChild(node)}}function canHydrateInstance(instance,type,props,inRootOrSingleton){for(;1===instance.nodeType;){var anyProps=props;if(instance.nodeName.toLowerCase()!==type.toLowerCase()){if(!inRootOrSingleton&&("INPUT"!==instance.nodeName||"hidden"!==instance.type))break}else if(inRootOrSingleton){if(!instance[internalHoistableMarker])switch(type){case"meta":if(!instance.hasAttribute("itemprop"))break;return instance;case"link":name=instance.getAttribute("rel");if("stylesheet"===name&&instance.hasAttribute("data-precedence"))break;if(name!==anyProps.rel||instance.getAttribute("href")!==(null==anyProps.href||""===anyProps.href?null:anyProps.href)||instance.getAttribute("crossorigin")!==(null==anyProps.crossOrigin?null:anyProps.crossOrigin)||instance.getAttribute("title")!==(null==anyProps.title?null:anyProps.title))break;return instance;case"style":if(instance.hasAttribute("data-precedence"))break;return instance;case"script":name=instance.getAttribute("src");if((name!==(null==anyProps.src?null:anyProps.src)||instance.getAttribute("type")!==(null==anyProps.type?null:anyProps.type)||instance.getAttribute("crossorigin")!==(null==anyProps.crossOrigin?null:anyProps.crossOrigin))&&name&&instance.hasAttribute("async")&&!instance.hasAttribute("itemprop"))break;return instance;default:return instance}}else{if("input"!==type||"hidden"!==instance.type)return instance;var name=null==anyProps.name?null:""+anyProps.name;if("hidden"===anyProps.type&&instance.getAttribute("name")===name)return instance}instance=getNextHydratable(instance.nextSibling);if(null===instance)break}return null}function canHydrateTextInstance(instance,text,inRootOrSingleton){if(""===text)return null;for(;3!==instance.nodeType;){if((1!==instance.nodeType||"INPUT"!==instance.nodeName||"hidden"!==instance.type)&&!inRootOrSingleton)return null;instance=getNextHydratable(instance.nextSibling);if(null===instance)return null}return instance}function isSuspenseInstanceFallback(instance){return"$!"===instance.data||"$?"===instance.data&&"complete"===instance.ownerDocument.readyState}function registerSuspenseInstanceRetry(instance,callback){var ownerDocument=instance.ownerDocument;if("$?"!==instance.data||"complete"===ownerDocument.readyState)callback();else{var listener=function(){callback();ownerDocument.removeEventListener("DOMContentLoaded",listener)};ownerDocument.addEventListener("DOMContentLoaded",listener);instance._reactRetry=listener}}function getNextHydratable(node){for(;null!=node;node=node.nextSibling){var nodeType=node.nodeType;if(1===nodeType||3===nodeType)break;if(8===nodeType){nodeType=node.data;if("$"===nodeType||"$!"===nodeType||"$?"===nodeType||"F!"===nodeType||"F"===nodeType)break;if("/$"===nodeType)return null}}return node}var previousHydratableOnEnteringScopedSingleton=null;function getParentSuspenseInstance(targetInstance){targetInstance=targetInstance.previousSibling;for(var depth=0;targetInstance;){if(8===targetInstance.nodeType){var data=targetInstance.data;if("$"===data||"$!"===data||"$?"===data){if(0===depth)return targetInstance;depth--}else"/$"===data&&depth++}targetInstance=targetInstance.previousSibling}return null}function resolveSingletonInstance(type,props,rootContainerInstance){props=getOwnerDocumentFromRootContainer(rootContainerInstance);switch(type){case"html":type=props.documentElement;if(!type)throw Error(formatProdErrorMessage(452));return type;case"head":type=props.head;if(!type)throw Error(formatProdErrorMessage(453));return type;case"body":type=props.body;if(!type)throw Error(formatProdErrorMessage(454));return type;default:throw Error(formatProdErrorMessage(451))}}function releaseSingletonInstance(instance){for(var attributes=instance.attributes;attributes.length;)instance.removeAttributeNode(attributes[0]);detachDeletedInstance(instance)}var preloadPropsMap=new Map,preconnectsSet=new Set;function getHoistableRoot(container){return"function"==typeof container.getRootNode?container.getRootNode():9===container.nodeType?container:container.ownerDocument}var previousDispatcher=ReactDOMSharedInternals.d;ReactDOMSharedInternals.d={f:flushSyncWork,r:requestFormReset,D:prefetchDNS,C:preconnect,L:preload,m:preloadModule,X:preinitScript,S:preinitStyle,M:preinitModuleScript};function flushSyncWork(){var previousWasRendering=previousDispatcher.f(),wasRendering=flushSyncWork$1();return previousWasRendering||wasRendering}function requestFormReset(form){var formInst=getInstanceFromNode(form);null!==formInst&&5===formInst.tag&&"form"===formInst.type?requestFormReset$1(formInst):previousDispatcher.r(form)}var globalDocument="undefined"==typeof document?null:document;function preconnectAs(rel,href,crossOrigin){var ownerDocument=globalDocument;if(ownerDocument&&"string"==typeof href&&href){var limitedEscapedHref=escapeSelectorAttributeValueInsideDoubleQuotes(href);limitedEscapedHref='link[rel="'+rel+'"][href="'+limitedEscapedHref+'"]';"string"==typeof crossOrigin&&(limitedEscapedHref+='[crossorigin="'+crossOrigin+'"]');preconnectsSet.has(limitedEscapedHref)||(preconnectsSet.add(limitedEscapedHref),rel={rel:rel,crossOrigin:crossOrigin,href:href},null===ownerDocument.querySelector(limitedEscapedHref)&&(href=ownerDocument.createElement("link"),setInitialProperties(href,"link",rel),markNodeAsHoistable(href),ownerDocument.head.appendChild(href)))}}function prefetchDNS(href){previousDispatcher.D(href);preconnectAs("dns-prefetch",href,null)}function preconnect(href,crossOrigin){previousDispatcher.C(href,crossOrigin);preconnectAs("preconnect",href,crossOrigin)}function preload(href,as,options){previousDispatcher.L(href,as,options);var ownerDocument=globalDocument;if(ownerDocument&&href&&as){var preloadSelector='link[rel="preload"][as="'+escapeSelectorAttributeValueInsideDoubleQuotes(as)+'"]';"image"===as?options&&options.imageSrcSet?(preloadSelector+='[imagesrcset="'+escapeSelectorAttributeValueInsideDoubleQuotes(options.imageSrcSet)+'"]',"string"==typeof options.imageSizes&&(preloadSelector+='[imagesizes="'+escapeSelectorAttributeValueInsideDoubleQuotes(options.imageSizes)+'"]')):preloadSelector+='[href="'+escapeSelectorAttributeValueInsideDoubleQuotes(href)+'"]':preloadSelector+='[href="'+escapeSelectorAttributeValueInsideDoubleQuotes(href)+'"]';var key=preloadSelector;switch(as){case"style":key=getStyleKey(href);break;case"script":key=getScriptKey(href)}preloadPropsMap.has(key)||(href=assign({rel:"preload",href:"image"===as&&options&&options.imageSrcSet?void 0:href,as:as},options),preloadPropsMap.set(key,href),null!==ownerDocument.querySelector(preloadSelector)||"style"===as&&ownerDocument.querySelector(getStylesheetSelectorFromKey(key))||"script"===as&&ownerDocument.querySelector(getScriptSelectorFromKey(key))||(as=ownerDocument.createElement("link"),setInitialProperties(as,"link",href),markNodeAsHoistable(as),ownerDocument.head.appendChild(as)))}}function preloadModule(href,options){previousDispatcher.m(href,options);var ownerDocument=globalDocument;if(ownerDocument&&href){var as=options&&"string"==typeof options.as?options.as:"script",preloadSelector='link[rel="modulepreload"][as="'+escapeSelectorAttributeValueInsideDoubleQuotes(as)+'"][href="'+escapeSelectorAttributeValueInsideDoubleQuotes(href)+'"]',key=preloadSelector;switch(as){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":key=getScriptKey(href)}if(!preloadPropsMap.has(key)&&(href=assign({rel:"modulepreload",href:href},options),preloadPropsMap.set(key,href),null===ownerDocument.querySelector(preloadSelector))){switch(as){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(ownerDocument.querySelector(getScriptSelectorFromKey(key)))return}as=ownerDocument.createElement("link");setInitialProperties(as,"link",href);markNodeAsHoistable(as);ownerDocument.head.appendChild(as)}}}function preinitStyle(href,precedence,options){previousDispatcher.S(href,precedence,options);var ownerDocument=globalDocument;if(ownerDocument&&href){var styles=getResourcesFromRoot(ownerDocument).hoistableStyles,key=getStyleKey(href);precedence=precedence||"default";var resource=styles.get(key);if(!resource){var state={loading:0,preload:null};if(resource=ownerDocument.querySelector(getStylesheetSelectorFromKey(key)))state.loading=5;else{href=assign({rel:"stylesheet",href:href,"data-precedence":precedence},options);(options=preloadPropsMap.get(key))&&adoptPreloadPropsForStylesheet(href,options);var link=resource=ownerDocument.createElement("link");markNodeAsHoistable(link);setInitialProperties(link,"link",href);link._p=new Promise(function(resolve,reject){link.onload=resolve;link.onerror=reject});link.addEventListener("load",function(){state.loading|=1});link.addEventListener("error",function(){state.loading|=2});state.loading|=4;insertStylesheet(resource,precedence,ownerDocument)}resource={type:"stylesheet",instance:resource,count:1,state:state};styles.set(key,resource)}}}function preinitScript(src,options){previousDispatcher.X(src,options);var ownerDocument=globalDocument;if(ownerDocument&&src){var scripts=getResourcesFromRoot(ownerDocument).hoistableScripts,key=getScriptKey(src),resource=scripts.get(key);resource||(resource=ownerDocument.querySelector(getScriptSelectorFromKey(key)),resource||(src=assign({src:src,async:!0},options),(options=preloadPropsMap.get(key))&&adoptPreloadPropsForScript(src,options),resource=ownerDocument.createElement("script"),markNodeAsHoistable(resource),setInitialProperties(resource,"link",src),ownerDocument.head.appendChild(resource)),resource={type:"script",instance:resource,count:1,state:null},scripts.set(key,resource))}}function preinitModuleScript(src,options){previousDispatcher.M(src,options);var ownerDocument=globalDocument;if(ownerDocument&&src){var scripts=getResourcesFromRoot(ownerDocument).hoistableScripts,key=getScriptKey(src),resource=scripts.get(key);resource||(resource=ownerDocument.querySelector(getScriptSelectorFromKey(key)),resource||(src=assign({src:src,async:!0,type:"module"},options),(options=preloadPropsMap.get(key))&&adoptPreloadPropsForScript(src,options),resource=ownerDocument.createElement("script"),markNodeAsHoistable(resource),setInitialProperties(resource,"link",src),ownerDocument.head.appendChild(resource)),resource={type:"script",instance:resource,count:1,state:null},scripts.set(key,resource))}}function getResource(type,currentProps,pendingProps,currentResource){var JSCompiler_inline_result=(JSCompiler_inline_result=rootInstanceStackCursor.current)?getHoistableRoot(JSCompiler_inline_result):null;if(!JSCompiler_inline_result)throw Error(formatProdErrorMessage(446));switch(type){case"meta":case"title":return null;case"style":return"string"==typeof pendingProps.precedence&&"string"==typeof pendingProps.href?(currentProps=getStyleKey(pendingProps.href),pendingProps=getResourcesFromRoot(JSCompiler_inline_result).hoistableStyles,currentResource=pendingProps.get(currentProps),currentResource||(currentResource={type:"style",instance:null,count:0,state:null},pendingProps.set(currentProps,currentResource)),currentResource):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===pendingProps.rel&&"string"==typeof pendingProps.href&&"string"==typeof pendingProps.precedence){type=getStyleKey(pendingProps.href);var styles$244=getResourcesFromRoot(JSCompiler_inline_result).hoistableStyles,resource$245=styles$244.get(type);resource$245||(JSCompiler_inline_result=JSCompiler_inline_result.ownerDocument||JSCompiler_inline_result,resource$245={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},styles$244.set(type,resource$245),(styles$244=JSCompiler_inline_result.querySelector(getStylesheetSelectorFromKey(type)))&&!styles$244._p&&(resource$245.instance=styles$244,resource$245.state.loading=5),preloadPropsMap.has(type)||(pendingProps={rel:"preload",as:"style",href:pendingProps.href,crossOrigin:pendingProps.crossOrigin,integrity:pendingProps.integrity,media:pendingProps.media,hrefLang:pendingProps.hrefLang,referrerPolicy:pendingProps.referrerPolicy},preloadPropsMap.set(type,pendingProps),styles$244||preloadStylesheet(JSCompiler_inline_result,type,pendingProps,resource$245.state)));if(currentProps&&null===currentResource)throw Error(formatProdErrorMessage(528,""));return resource$245}if(currentProps&&null!==currentResource)throw Error(formatProdErrorMessage(529,""));return null;case"script":return currentProps=pendingProps.async,pendingProps=pendingProps.src,"string"==typeof pendingProps&¤tProps&&"function"!=typeof currentProps&&"symbol"!=typeof currentProps?(currentProps=getScriptKey(pendingProps),pendingProps=getResourcesFromRoot(JSCompiler_inline_result).hoistableScripts,currentResource=pendingProps.get(currentProps),currentResource||(currentResource={type:"script",instance:null,count:0,state:null},pendingProps.set(currentProps,currentResource)),currentResource):{type:"void",instance:null,count:0,state:null};default:throw Error(formatProdErrorMessage(444,type))}}function getStyleKey(href){return'href="'+escapeSelectorAttributeValueInsideDoubleQuotes(href)+'"'}function getStylesheetSelectorFromKey(key){return'link[rel="stylesheet"]['+key+"]"}function stylesheetPropsFromRawProps(rawProps){return assign({},rawProps,{"data-precedence":rawProps.precedence,precedence:null})}function preloadStylesheet(ownerDocument,key,preloadProps,state){ownerDocument.querySelector('link[rel="preload"][as="style"]['+key+"]")?state.loading=1:(key=ownerDocument.createElement("link"),state.preload=key,key.addEventListener("load",function(){return state.loading|=1}),key.addEventListener("error",function(){return state.loading|=2}),setInitialProperties(key,"link",preloadProps),markNodeAsHoistable(key),ownerDocument.head.appendChild(key))}function getScriptKey(src){return'[src="'+escapeSelectorAttributeValueInsideDoubleQuotes(src)+'"]'}function getScriptSelectorFromKey(key){return"script[async]"+key}function acquireResource(hoistableRoot,resource,props){resource.count++;if(null===resource.instance)switch(resource.type){case"style":var instance=hoistableRoot.querySelector('style[data-href~="'+escapeSelectorAttributeValueInsideDoubleQuotes(props.href)+'"]');if(instance)return resource.instance=instance,markNodeAsHoistable(instance),instance;var styleProps=assign({},props,{"data-href":props.href,"data-precedence":props.precedence,href:null,precedence:null});instance=(hoistableRoot.ownerDocument||hoistableRoot).createElement("style");markNodeAsHoistable(instance);setInitialProperties(instance,"style",styleProps);insertStylesheet(instance,props.precedence,hoistableRoot);return resource.instance=instance;case"stylesheet":styleProps=getStyleKey(props.href);var instance$250=hoistableRoot.querySelector(getStylesheetSelectorFromKey(styleProps));if(instance$250)return resource.state.loading|=4,resource.instance=instance$250,markNodeAsHoistable(instance$250),instance$250;instance=stylesheetPropsFromRawProps(props);(styleProps=preloadPropsMap.get(styleProps))&&adoptPreloadPropsForStylesheet(instance,styleProps);instance$250=(hoistableRoot.ownerDocument||hoistableRoot).createElement("link");markNodeAsHoistable(instance$250);var linkInstance=instance$250;linkInstance._p=new Promise(function(resolve,reject){linkInstance.onload=resolve;linkInstance.onerror=reject});setInitialProperties(instance$250,"link",instance);resource.state.loading|=4;insertStylesheet(instance$250,props.precedence,hoistableRoot);return resource.instance=instance$250;case"script":instance$250=getScriptKey(props.src);if(styleProps=hoistableRoot.querySelector(getScriptSelectorFromKey(instance$250)))return resource.instance=styleProps,markNodeAsHoistable(styleProps),styleProps;instance=props;if(styleProps=preloadPropsMap.get(instance$250))instance=assign({},props),adoptPreloadPropsForScript(instance,styleProps);hoistableRoot=hoistableRoot.ownerDocument||hoistableRoot;styleProps=hoistableRoot.createElement("script");markNodeAsHoistable(styleProps);setInitialProperties(styleProps,"link",instance);hoistableRoot.head.appendChild(styleProps);return resource.instance=styleProps;case"void":return null;default:throw Error(formatProdErrorMessage(443,resource.type))}"stylesheet"===resource.type&&0===(4&resource.state.loading)&&(instance=resource.instance,resource.state.loading|=4,insertStylesheet(instance,props.precedence,hoistableRoot));return resource.instance}function insertStylesheet(instance,precedence,root){for(var nodes=root.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),last=nodes.length?nodes[nodes.length-1]:null,prior=last,i=0;i<nodes.length;i++){var node=nodes[i];if(node.dataset.precedence===precedence)prior=node;else if(prior!==last)break}prior?prior.parentNode.insertBefore(instance,prior.nextSibling):(precedence=9===root.nodeType?root.head:root,precedence.insertBefore(instance,precedence.firstChild))}function adoptPreloadPropsForStylesheet(stylesheetProps,preloadProps){null==stylesheetProps.crossOrigin&&(stylesheetProps.crossOrigin=preloadProps.crossOrigin);null==stylesheetProps.referrerPolicy&&(stylesheetProps.referrerPolicy=preloadProps.referrerPolicy);null==stylesheetProps.title&&(stylesheetProps.title=preloadProps.title)}function adoptPreloadPropsForScript(scriptProps,preloadProps){null==scriptProps.crossOrigin&&(scriptProps.crossOrigin=preloadProps.crossOrigin);null==scriptProps.referrerPolicy&&(scriptProps.referrerPolicy=preloadProps.referrerPolicy);null==scriptProps.integrity&&(scriptProps.integrity=preloadProps.integrity)}var tagCaches=null;function getHydratableHoistableCache(type,keyAttribute,ownerDocument){if(null===tagCaches){var cache=new Map;var caches=tagCaches=new Map;caches.set(ownerDocument,cache)}else caches=tagCaches,cache=caches.get(ownerDocument),cache||(cache=new Map,caches.set(ownerDocument,cache));if(cache.has(type))return cache;cache.set(type,null);ownerDocument=ownerDocument.getElementsByTagName(type);for(caches=0;caches<ownerDocument.length;caches++){var node=ownerDocument[caches];if(!(node[internalHoistableMarker]||node[internalInstanceKey]||"link"===type&&"stylesheet"===node.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==node.namespaceURI){var nodeKey=node.getAttribute(keyAttribute)||"";nodeKey=type+nodeKey;var existing=cache.get(nodeKey);existing?existing.push(node):cache.set(nodeKey,[node])}}return cache}function mountHoistable(hoistableRoot,type,instance){hoistableRoot=hoistableRoot.ownerDocument||hoistableRoot;hoistableRoot.head.insertBefore(instance,"title"===type?hoistableRoot.querySelector("head > title"):null)}function isHostHoistableType(type,props,hostContext){if(1===hostContext||null!=props.itemProp)return!1;switch(type){case"meta":case"title":return!0;case"style":if("string"!=typeof props.precedence||"string"!=typeof props.href||""===props.href)break;return!0;case"link":if("string"!=typeof props.rel||"string"!=typeof props.href||""===props.href||props.onLoad||props.onError)break;switch(props.rel){case"stylesheet":return type=props.disabled,"string"==typeof props.precedence&&null==type;default:return!0}case"script":if(props.async&&"function"!=typeof props.async&&"symbol"!=typeof props.async&&!props.onLoad&&!props.onError&&props.src&&"string"==typeof props.src)return!0}return!1}function preloadResource(resource){return"stylesheet"!==resource.type||0!==(3&resource.state.loading)}var suspendedState=null;function noop(){}function suspendResource(hoistableRoot,resource,props){if(null===suspendedState)throw Error(formatProdErrorMessage(475));var state=suspendedState;if("stylesheet"===resource.type&&("string"!=typeof props.media||!1!==matchMedia(props.media).matches)&&0===(4&resource.state.loading)){if(null===resource.instance){var key=getStyleKey(props.href),instance=hoistableRoot.querySelector(getStylesheetSelectorFromKey(key));if(instance){hoistableRoot=instance._p;null!==hoistableRoot&&"object"==typeof hoistableRoot&&"function"==typeof hoistableRoot.then&&(state.count++,state=onUnsuspend.bind(state),hoistableRoot.then(state,state));resource.state.loading|=4;resource.instance=instance;markNodeAsHoistable(instance);return}instance=hoistableRoot.ownerDocument||hoistableRoot;props=stylesheetPropsFromRawProps(props);(key=preloadPropsMap.get(key))&&adoptPreloadPropsForStylesheet(props,key);instance=instance.createElement("link");markNodeAsHoistable(instance);var linkInstance=instance;linkInstance._p=new Promise(function(resolve,reject){linkInstance.onload=resolve;linkInstance.onerror=reject});setInitialProperties(instance,"link",props);resource.instance=instance}null===state.stylesheets&&(state.stylesheets=new Map);state.stylesheets.set(resource,hoistableRoot);(hoistableRoot=resource.state.preload)&&0===(3&resource.state.loading)&&(state.count++,resource=onUnsuspend.bind(state),hoistableRoot.addEventListener("load",resource),hoistableRoot.addEventListener("error",resource))}}function waitForCommitToBeReady(){if(null===suspendedState)throw Error(formatProdErrorMessage(475));var state=suspendedState;state.stylesheets&&0===state.count&&insertSuspendedStylesheets(state,state.stylesheets);return 0<state.count?function(commit){var stylesheetTimer=setTimeout(function(){state.stylesheets&&insertSuspendedStylesheets(state,state.stylesheets);if(state.unsuspend){var unsuspend=state.unsuspend;state.unsuspend=null;unsuspend()}},6e4);state.unsuspend=commit;return function(){state.unsuspend=null;clearTimeout(stylesheetTimer)}}:null}function onUnsuspend(){this.count--;if(0===this.count){if(this.stylesheets)insertSuspendedStylesheets(this,this.stylesheets);else if(this.unsuspend){var unsuspend=this.unsuspend;this.unsuspend=null;unsuspend()}}}var precedencesByRoot=null;function insertSuspendedStylesheets(state,resources){state.stylesheets=null;null!==state.unsuspend&&(state.count++,precedencesByRoot=new Map,resources.forEach(insertStylesheetIntoRoot,state),precedencesByRoot=null,onUnsuspend.call(state))}function insertStylesheetIntoRoot(root,resource){if(!(4&resource.state.loading)){var precedences=precedencesByRoot.get(root);if(precedences)var last=precedences.get(null);else{precedences=new Map;precedencesByRoot.set(root,precedences);for(var nodes=root.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<nodes.length;i++){var node=nodes[i];if("LINK"===node.nodeName||"not all"!==node.getAttribute("media"))precedences.set(node.dataset.precedence,node),last=node}last&&precedences.set(null,last)}nodes=resource.instance;node=nodes.getAttribute("data-precedence");i=precedences.get(node)||last;i===last&&precedences.set(null,nodes);precedences.set(node,nodes);this.count++;last=onUnsuspend.bind(this);nodes.addEventListener("load",last);nodes.addEventListener("error",last);i?i.parentNode.insertBefore(nodes,i.nextSibling):(root=9===root.nodeType?root.head:root,root.insertBefore(nodes,root.firstChild));resource.state.loading|=4}}var HostTransitionContext={$$typeof:REACT_CONTEXT_TYPE,Provider:null,Consumer:null,_currentValue:sharedNotPendingObject,_currentValue2:sharedNotPendingObject,_threadCount:0};function FiberRootNode(containerInfo,tag,hydrate,identifierPrefix,onUncaughtError,onCaughtError,onRecoverableError,formState){this.tag=1;this.containerInfo=containerInfo;this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=createLaneMap(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=createLaneMap(0);this.hiddenUpdates=createLaneMap(null);this.identifierPrefix=identifierPrefix;this.onUncaughtError=onUncaughtError;this.onCaughtError=onCaughtError;this.onRecoverableError=onRecoverableError;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=formState;this.incompleteTransitions=new Map}function createFiberRoot(containerInfo,tag,hydrate,initialChildren,hydrationCallbacks,isStrictMode,identifierPrefix,onUncaughtError,onCaughtError,onRecoverableError,transitionCallbacks,formState){containerInfo=new FiberRootNode(containerInfo,tag,hydrate,identifierPrefix,onUncaughtError,onCaughtError,onRecoverableError,formState);tag=1;!0===isStrictMode&&(tag|=24);isStrictMode=createFiberImplClass(3,null,null,tag);containerInfo.current=isStrictMode;isStrictMode.stateNode=containerInfo;tag=createCache();tag.refCount++;containerInfo.pooledCache=tag;tag.refCount++;isStrictMode.memoizedState={element:initialChildren,isDehydrated:hydrate,cache:tag};initializeUpdateQueue(isStrictMode);return containerInfo}function getContextForSubtree(parentComponent){if(!parentComponent)return emptyContextObject;parentComponent=emptyContextObject;return parentComponent}function updateContainerImpl(rootFiber,lane,element,container,parentComponent,callback){parentComponent=getContextForSubtree(parentComponent);null===container.context?container.context=parentComponent:container.pendingContext=parentComponent;container=createUpdate(lane);container.payload={element:element};callback=void 0===callback?null:callback;null!==callback&&(container.callback=callback);element=enqueueUpdate(rootFiber,container,lane);null!==element&&(scheduleUpdateOnFiber(element,rootFiber,lane),entangleTransitions(element,rootFiber,lane))}function markRetryLaneImpl(fiber,retryLane){fiber=fiber.memoizedState;if(null!==fiber&&null!==fiber.dehydrated){var a=fiber.retryLane;fiber.retryLane=0!==a&&a<retryLane?a:retryLane}}function markRetryLaneIfNotHydrated(fiber,retryLane){markRetryLaneImpl(fiber,retryLane);(fiber=fiber.alternate)&&markRetryLaneImpl(fiber,retryLane)}function attemptContinuousHydration(fiber){if(13===fiber.tag){var root=enqueueConcurrentRenderForLane(fiber,0x4000000);null!==root&&scheduleUpdateOnFiber(root,fiber,0x4000000);markRetryLaneIfNotHydrated(fiber,0x4000000)}}var _enabled=!0;function dispatchDiscreteEvent(domEventName,eventSystemFlags,container,nativeEvent){var prevTransition=ReactSharedInternals.T;ReactSharedInternals.T=null;var previousPriority=ReactDOMSharedInternals.p;try{ReactDOMSharedInternals.p=2,dispatchEvent(domEventName,eventSystemFlags,container,nativeEvent)}finally{ReactDOMSharedInternals.p=previousPriority,ReactSharedInternals.T=prevTransition}}function dispatchContinuousEvent(domEventName,eventSystemFlags,container,nativeEvent){var prevTransition=ReactSharedInternals.T;ReactSharedInternals.T=null;var previousPriority=ReactDOMSharedInternals.p;try{ReactDOMSharedInternals.p=8,dispatchEvent(domEventName,eventSystemFlags,container,nativeEvent)}finally{ReactDOMSharedInternals.p=previousPriority,ReactSharedInternals.T=prevTransition}}function dispatchEvent(domEventName,eventSystemFlags,targetContainer,nativeEvent){if(_enabled){var blockedOn=findInstanceBlockingEvent(nativeEvent);if(null===blockedOn)dispatchEventForPluginEventSystem(domEventName,eventSystemFlags,nativeEvent,return_targetInst,targetContainer),clearIfContinuousEvent(domEventName,nativeEvent);else if(queueIfContinuousEvent(blockedOn,domEventName,eventSystemFlags,targetContainer,nativeEvent))nativeEvent.stopPropagation();else if(clearIfContinuousEvent(domEventName,nativeEvent),4&eventSystemFlags&&-1<discreteReplayableEvents.indexOf(domEventName)){for(;null!==blockedOn;){var fiber=getInstanceFromNode(blockedOn);if(null!==fiber)switch(fiber.tag){case 3:fiber=fiber.stateNode;if(fiber.current.memoizedState.isDehydrated){var lanes=getHighestPriorityLanes(fiber.pendingLanes);if(0!==lanes){var root=fiber;root.pendingLanes|=2;for(root.entangledLanes|=2;lanes;){var lane=1<<31-clz32(lanes);root.entanglements[1]|=lane;lanes&=~lane}ensureRootIsScheduled(fiber);0===(6&executionContext)&&(workInProgressRootRenderTargetTime=now()+500,flushSyncWorkAcrossRoots_impl(0,!1))}}break;case 13:root=enqueueConcurrentRenderForLane(fiber,2),null!==root&&scheduleUpdateOnFiber(root,fiber,2),flushSyncWork$1(),markRetryLaneIfNotHydrated(fiber,2)}fiber=findInstanceBlockingEvent(nativeEvent);null===fiber&&dispatchEventForPluginEventSystem(domEventName,eventSystemFlags,nativeEvent,return_targetInst,targetContainer);if(fiber===blockedOn)break;blockedOn=fiber}null!==blockedOn&&nativeEvent.stopPropagation()}else dispatchEventForPluginEventSystem(domEventName,eventSystemFlags,nativeEvent,null,targetContainer)}}function findInstanceBlockingEvent(nativeEvent){nativeEvent=getEventTarget(nativeEvent);return findInstanceBlockingTarget(nativeEvent)}var return_targetInst=null;function findInstanceBlockingTarget(targetNode){return_targetInst=null;targetNode=getClosestInstanceFromNode(targetNode);if(null!==targetNode){var nearestMounted=getNearestMountedFiber(targetNode);if(null===nearestMounted)targetNode=null;else{var tag=nearestMounted.tag;if(13===tag){targetNode=getSuspenseInstanceFromFiber(nearestMounted);if(null!==targetNode)return targetNode;targetNode=null}else if(3===tag){if(nearestMounted.stateNode.current.memoizedState.isDehydrated)return 3===nearestMounted.tag?nearestMounted.stateNode.containerInfo:null;targetNode=null}else nearestMounted!==targetNode&&(targetNode=null)}}return_targetInst=targetNode;return null}function getEventPriority(domEventName){switch(domEventName){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(getCurrentPriorityLevel()){case ImmediatePriority:return 2;case UserBlockingPriority:return 8;case NormalPriority$1:case LowPriority:return 32;case IdlePriority:return 0x10000000;default:return 32}default:return 32}}var hasScheduledReplayAttempt=!1,queuedFocus=null,queuedDrag=null,queuedMouse=null,queuedPointers=new Map,queuedPointerCaptures=new Map,queuedExplicitHydrationTargets=[],discreteReplayableEvents="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function clearIfContinuousEvent(domEventName,nativeEvent){switch(domEventName){case"focusin":case"focusout":queuedFocus=null;break;case"dragenter":case"dragleave":queuedDrag=null;break;case"mouseover":case"mouseout":queuedMouse=null;break;case"pointerover":case"pointerout":queuedPointers.delete(nativeEvent.pointerId);break;case"gotpointercapture":case"lostpointercapture":queuedPointerCaptures.delete(nativeEvent.pointerId)}}function accumulateOrCreateContinuousQueuedReplayableEvent(existingQueuedEvent,blockedOn,domEventName,eventSystemFlags,targetContainer,nativeEvent){if(null===existingQueuedEvent||existingQueuedEvent.nativeEvent!==nativeEvent)return existingQueuedEvent={blockedOn:blockedOn,domEventName:domEventName,eventSystemFlags:eventSystemFlags,nativeEvent:nativeEvent,targetContainers:[targetContainer]},null!==blockedOn&&(blockedOn=getInstanceFromNode(blockedOn),null!==blockedOn&&attemptContinuousHydration(blockedOn)),existingQueuedEvent;existingQueuedEvent.eventSystemFlags|=eventSystemFlags;blockedOn=existingQueuedEvent.targetContainers;null!==targetContainer&&-1===blockedOn.indexOf(targetContainer)&&blockedOn.push(targetContainer);return existingQueuedEvent}function queueIfContinuousEvent(blockedOn,domEventName,eventSystemFlags,targetContainer,nativeEvent){switch(domEventName){case"focusin":return queuedFocus=accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus,blockedOn,domEventName,eventSystemFlags,targetContainer,nativeEvent),!0;case"dragenter":return queuedDrag=accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag,blockedOn,domEventName,eventSystemFlags,targetContainer,nativeEvent),!0;case"mouseover":return queuedMouse=accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse,blockedOn,domEventName,eventSystemFlags,targetContainer,nativeEvent),!0;case"pointerover":var pointerId=nativeEvent.pointerId;queuedPointers.set(pointerId,accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointers.get(pointerId)||null,blockedOn,domEventName,eventSystemFlags,targetContainer,nativeEvent));return!0;case"gotpointercapture":return pointerId=nativeEvent.pointerId,queuedPointerCaptures.set(pointerId,accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointerCaptures.get(pointerId)||null,blockedOn,domEventName,eventSystemFlags,targetContainer,nativeEvent)),!0}return!1}function attemptExplicitHydrationTarget(queuedTarget){var targetInst=getClosestInstanceFromNode(queuedTarget.target);if(null!==targetInst){var nearestMounted=getNearestMountedFiber(targetInst);if(null!==nearestMounted){if(targetInst=nearestMounted.tag,13===targetInst){if(targetInst=getSuspenseInstanceFromFiber(nearestMounted),null!==targetInst){queuedTarget.blockedOn=targetInst;runWithPriority(queuedTarget.priority,function(){if(13===nearestMounted.tag){var lane=requestUpdateLane();lane=getBumpedLaneForHydrationByLane(lane);var root=enqueueConcurrentRenderForLane(nearestMounted,lane);null!==root&&scheduleUpdateOnFiber(root,nearestMounted,lane);markRetryLaneIfNotHydrated(nearestMounted,lane)}});return}}else if(3===targetInst&&nearestMounted.stateNode.current.memoizedState.isDehydrated){queuedTarget.blockedOn=3===nearestMounted.tag?nearestMounted.stateNode.containerInfo:null;return}}}queuedTarget.blockedOn=null}function attemptReplayContinuousQueuedEvent(queuedEvent){if(null!==queuedEvent.blockedOn)return!1;for(var targetContainers=queuedEvent.targetContainers;0<targetContainers.length;){var nextBlockedOn=findInstanceBlockingEvent(queuedEvent.nativeEvent);if(null!==nextBlockedOn)return targetContainers=getInstanceFromNode(nextBlockedOn),null!==targetContainers&&attemptContinuousHydration(targetContainers),queuedEvent.blockedOn=nextBlockedOn,!1;nextBlockedOn=queuedEvent.nativeEvent;var nativeEventClone=new nextBlockedOn.constructor(nextBlockedOn.type,nextBlockedOn);currentReplayingEvent=nativeEventClone;nextBlockedOn.target.dispatchEvent(nativeEventClone);currentReplayingEvent=null;targetContainers.shift()}return!0}function attemptReplayContinuousQueuedEventInMap(queuedEvent,key,map){attemptReplayContinuousQueuedEvent(queuedEvent)&&map.delete(key)}function replayUnblockedEvents(){hasScheduledReplayAttempt=!1;null!==queuedFocus&&attemptReplayContinuousQueuedEvent(queuedFocus)&&(queuedFocus=null);null!==queuedDrag&&attemptReplayContinuousQueuedEvent(queuedDrag)&&(queuedDrag=null);null!==queuedMouse&&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)))}var lastScheduledReplayQueue=null;function scheduleReplayQueueIfNeeded(formReplayingQueue){lastScheduledReplayQueue!==formReplayingQueue&&(lastScheduledReplayQueue=formReplayingQueue,Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority,function(){lastScheduledReplayQueue===formReplayingQueue&&(lastScheduledReplayQueue=null);for(var i=0;i<formReplayingQueue.length;i+=3){var form=formReplayingQueue[i],submitterOrAction=formReplayingQueue[i+1],formData=formReplayingQueue[i+2];if("function"!=typeof submitterOrAction)if(null===findInstanceBlockingTarget(submitterOrAction||form))continue;else break;var formInst=getInstanceFromNode(form);null!==formInst&&(formReplayingQueue.splice(i,3),i-=3,startHostTransition(formInst,{pending:!0,data:formData,method:form.method,action:submitterOrAction},submitterOrAction,formData))}}))}function retryIfBlockedOn(unblocked){function unblock(queuedEvent){return scheduleCallbackIfUnblocked(queuedEvent,unblocked)}null!==queuedFocus&&scheduleCallbackIfUnblocked(queuedFocus,unblocked);null!==queuedDrag&&scheduleCallbackIfUnblocked(queuedDrag,unblocked);null!==queuedMouse&&scheduleCallbackIfUnblocked(queuedMouse,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(;0<queuedExplicitHydrationTargets.length&&(i=queuedExplicitHydrationTargets[0],null===i.blockedOn);)attemptExplicitHydrationTarget(i),null===i.blockedOn&&queuedExplicitHydrationTargets.shift();i=(unblocked.ownerDocument||unblocked).$$reactFormReplay;if(null!=i)for(queuedTarget=0;queuedTarget<i.length;queuedTarget+=3){var form=i[queuedTarget],submitterOrAction=i[queuedTarget+1],formProps=form[internalPropsKey]||null;if("function"==typeof submitterOrAction)formProps||scheduleReplayQueueIfNeeded(i);else if(formProps){var action=null;if(submitterOrAction&&submitterOrAction.hasAttribute("formAction")){if(form=submitterOrAction,formProps=submitterOrAction[internalPropsKey]||null)action=formProps.formAction;else if(null!==findInstanceBlockingTarget(form))continue}else action=formProps.action;"function"==typeof action?i[queuedTarget+1]=action:(i.splice(queuedTarget,3),queuedTarget-=3);scheduleReplayQueueIfNeeded(i)}}}function ReactDOMRoot(internalRoot){this._internalRoot=internalRoot}ReactDOMHydrationRoot.prototype.render=ReactDOMRoot.prototype.render=function(children){var root=this._internalRoot;if(null===root)throw Error(formatProdErrorMessage(409));var current=root.current,lane=requestUpdateLane();updateContainerImpl(current,lane,children,root,null,null)};ReactDOMHydrationRoot.prototype.unmount=ReactDOMRoot.prototype.unmount=function(){var root=this._internalRoot;if(null!==root){this._internalRoot=null;var container=root.containerInfo;updateContainerImpl(root.current,2,null,root,null,null);flushSyncWork$1();container[internalContainerInstanceKey]=null}};function ReactDOMHydrationRoot(internalRoot){this._internalRoot=internalRoot}ReactDOMHydrationRoot.prototype.unstable_scheduleHydration=function(target){if(target){var updatePriority=resolveUpdatePriority();target={blockedOn:null,target:target,priority:updatePriority};for(var i=0;i<queuedExplicitHydrationTargets.length&&0!==updatePriority&&updatePriority<queuedExplicitHydrationTargets[i].priority;i++);queuedExplicitHydrationTargets.splice(i,0,target);0===i&&attemptExplicitHydrationTarget(target)}};var isomorphicReactPackageVersion$jscomp$inline_1785=React.version;if("19.1.1"!==isomorphicReactPackageVersion$jscomp$inline_1785)throw Error(formatProdErrorMessage(527,isomorphicReactPackageVersion$jscomp$inline_1785,"19.1.1"));ReactDOMSharedInternals.findDOMNode=function(componentOrElement){var fiber=componentOrElement._reactInternals;if(void 0===fiber){if("function"==typeof componentOrElement.render)throw Error(formatProdErrorMessage(188));componentOrElement=Object.keys(componentOrElement).join(",");throw Error(formatProdErrorMessage(268,componentOrElement))}componentOrElement=findCurrentFiberUsingSlowPath(fiber);componentOrElement=null!==componentOrElement?findCurrentHostFiberImpl(componentOrElement):null;componentOrElement=null===componentOrElement?null:componentOrElement.stateNode;return componentOrElement};var internals$jscomp$inline_2256={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:ReactSharedInternals,reconcilerVersion:"19.1.1"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var hook$jscomp$inline_2257=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!hook$jscomp$inline_2257.isDisabled&&hook$jscomp$inline_2257.supportsFiber)try{rendererID=hook$jscomp$inline_2257.inject(internals$jscomp$inline_2256),injectedHook=hook$jscomp$inline_2257}catch(err){}}exports.createRoot=function(container,options){if(!isValidContainer(container))throw Error(formatProdErrorMessage(299));var isStrictMode=!1,identifierPrefix="",onUncaughtError=defaultOnUncaughtError,onCaughtError=defaultOnCaughtError,onRecoverableError=defaultOnRecoverableError,transitionCallbacks=null;null!=options&&(!0===options.unstable_strictMode&&(isStrictMode=!0),void 0!==options.identifierPrefix&&(identifierPrefix=options.identifierPrefix),void 0!==options.onUncaughtError&&(onUncaughtError=options.onUncaughtError),void 0!==options.onCaughtError&&(onCaughtError=options.onCaughtError),void 0!==options.onRecoverableError&&(onRecoverableError=options.onRecoverableError),void 0!==options.unstable_transitionCallbacks&&(transitionCallbacks=options.unstable_transitionCallbacks));options=createFiberRoot(container,1,!1,null,null,isStrictMode,identifierPrefix,onUncaughtError,onCaughtError,onRecoverableError,transitionCallbacks,null);container[internalContainerInstanceKey]=options.current;listenToAllSupportedEvents(container);return new ReactDOMRoot(options)};__webpack_unused_export__=function(container,initialChildren,options){if(!isValidContainer(container))throw Error(formatProdErrorMessage(299));var isStrictMode=!1,identifierPrefix="",onUncaughtError=defaultOnUncaughtError,onCaughtError=defaultOnCaughtError,onRecoverableError=defaultOnRecoverableError,transitionCallbacks=null,formState=null;null!=options&&(!0===options.unstable_strictMode&&(isStrictMode=!0),void 0!==options.identifierPrefix&&(identifierPrefix=options.identifierPrefix),void 0!==options.onUncaughtError&&(onUncaughtError=options.onUncaughtError),void 0!==options.onCaughtError&&(onCaughtError=options.onCaughtError),void 0!==options.onRecoverableError&&(onRecoverableError=options.onRecoverableError),void 0!==options.unstable_transitionCallbacks&&(transitionCallbacks=options.unstable_transitionCallbacks),void 0!==options.formState&&(formState=options.formState));initialChildren=createFiberRoot(container,1,!0,initialChildren,null!=options?options:null,isStrictMode,identifierPrefix,onUncaughtError,onCaughtError,onRecoverableError,transitionCallbacks,formState);initialChildren.context=getContextForSubtree(null);options=initialChildren.current;isStrictMode=requestUpdateLane();isStrictMode=getBumpedLaneForHydrationByLane(isStrictMode);identifierPrefix=createUpdate(isStrictMode);identifierPrefix.callback=null;enqueueUpdate(options,identifierPrefix,isStrictMode);options=isStrictMode;initialChildren.current.lanes=options;markRootUpdated$1(initialChildren,options);ensureRootIsScheduled(initialChildren);container[internalContainerInstanceKey]=initialChildren.current;listenToAllSupportedEvents(container);return new ReactDOMHydrationRoot(initialChildren)};__webpack_unused_export__="19.1.1"},745:function(module,__unused_webpack_exports,__webpack_require__){function checkDCE(){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(err){console.error(err)}}checkDCE();module.exports=__webpack_require__(6787)},631:function(__unused_webpack_module,exports){/**
|
|
11
|
+
* @license React
|
|
12
|
+
* react-jsx-runtime.production.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/var REACT_ELEMENT_TYPE=Symbol.for("react.transitional.element"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment");function jsxProd(type,config,maybeKey){var key=null;void 0!==maybeKey&&(key=""+maybeKey);void 0!==config.key&&(key=""+config.key);if("key"in config){maybeKey={};for(var propName in config)"key"!==propName&&(maybeKey[propName]=config[propName])}else maybeKey=config;config=maybeKey.ref;return{$$typeof:REACT_ELEMENT_TYPE,type:type,key:key,ref:void 0!==config?config:null,props:maybeKey}}exports.Fragment=REACT_FRAGMENT_TYPE;exports.jsx=jsxProd;exports.jsxs=jsxProd},5893:function(module,__unused_webpack_exports,__webpack_require__){module.exports=__webpack_require__(631)},6152:function(__unused_webpack_module,exports){/**
|
|
19
|
+
* @license React
|
|
20
|
+
* scheduler.production.js
|
|
21
|
+
*
|
|
22
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the MIT license found in the
|
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/function push(heap,node){var index=heap.length;heap.push(node);for(;0<index;){var parentIndex=index-1>>>1,parent=heap[parentIndex];if(0<compare(parent,node))heap[parentIndex]=node,heap[index]=parent,index=parentIndex;else break}}function peek(heap){return 0===heap.length?null:heap[0]}function pop(heap){if(0===heap.length)return null;var first=heap[0],last=heap.pop();if(last!==first){heap[0]=last;for(var index=0,length=heap.length,halfLength=length>>>1;index<halfLength;){var leftIndex=2*(index+1)-1,left=heap[leftIndex],rightIndex=leftIndex+1,right=heap[rightIndex];if(0>compare(left,last))rightIndex<length&&0>compare(right,left)?(heap[index]=right,heap[rightIndex]=last,index=rightIndex):(heap[index]=left,heap[leftIndex]=last,index=leftIndex);else if(rightIndex<length&&0>compare(right,last))heap[index]=right,heap[rightIndex]=last,index=rightIndex;else break}}return first}function compare(a,b){var diff=a.sortIndex-b.sortIndex;return 0!==diff?diff:a.id-b.id}exports.unstable_now=void 0;if("object"==typeof performance&&"function"==typeof performance.now){var localPerformance=performance;exports.unstable_now=function(){return localPerformance.now()}}else{var localDate=Date,initialTime=localDate.now();exports.unstable_now=function(){return localDate.now()-initialTime}}var taskQueue=[],timerQueue=[],taskIdCounter=1,currentTask=null,currentPriorityLevel=3,isPerformingWork=!1,isHostCallbackScheduled=!1,isHostTimeoutScheduled=!1,needsPaint=!1,localSetTimeout="function"==typeof setTimeout?setTimeout:null,localClearTimeout="function"==typeof clearTimeout?clearTimeout:null,localSetImmediate="undefined"!=typeof setImmediate?setImmediate:null;function advanceTimers(currentTime){for(var timer=peek(timerQueue);null!==timer;){if(null===timer.callback)pop(timerQueue);else if(timer.startTime<=currentTime)pop(timerQueue),timer.sortIndex=timer.expirationTime,push(taskQueue,timer);else break;timer=peek(timerQueue)}}function handleTimeout(currentTime){isHostTimeoutScheduled=!1;advanceTimers(currentTime);if(!isHostCallbackScheduled)if(null!==peek(taskQueue))isHostCallbackScheduled=!0,isMessageLoopRunning||(isMessageLoopRunning=!0,schedulePerformWorkUntilDeadline());else{var firstTimer=peek(timerQueue);null!==firstTimer&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime)}}var isMessageLoopRunning=!1,taskTimeoutID=-1,frameInterval=5,startTime=-1;function shouldYieldToHost(){return needsPaint?!0:!(exports.unstable_now()-startTime<frameInterval)}function performWorkUntilDeadline(){needsPaint=!1;if(isMessageLoopRunning){var currentTime=exports.unstable_now();startTime=currentTime;var hasMoreWork=!0;try{a:{isHostCallbackScheduled=!1;isHostTimeoutScheduled&&(isHostTimeoutScheduled=!1,localClearTimeout(taskTimeoutID),taskTimeoutID=-1);isPerformingWork=!0;var previousPriorityLevel=currentPriorityLevel;try{b:{advanceTimers(currentTime);for(currentTask=peek(taskQueue);null!==currentTask&&!(currentTask.expirationTime>currentTime&&shouldYieldToHost());){var callback=currentTask.callback;if("function"==typeof callback){currentTask.callback=null;currentPriorityLevel=currentTask.priorityLevel;var continuationCallback=callback(currentTask.expirationTime<=currentTime);currentTime=exports.unstable_now();if("function"==typeof continuationCallback){currentTask.callback=continuationCallback;advanceTimers(currentTime);hasMoreWork=!0;break b}currentTask===peek(taskQueue)&&pop(taskQueue);advanceTimers(currentTime)}else pop(taskQueue);currentTask=peek(taskQueue)}if(null!==currentTask)hasMoreWork=!0;else{var firstTimer=peek(timerQueue);null!==firstTimer&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime);hasMoreWork=!1}}break a}finally{currentTask=null,currentPriorityLevel=previousPriorityLevel,isPerformingWork=!1}}}finally{hasMoreWork?schedulePerformWorkUntilDeadline():isMessageLoopRunning=!1}}}var schedulePerformWorkUntilDeadline;if("function"==typeof localSetImmediate)schedulePerformWorkUntilDeadline=function(){localSetImmediate(performWorkUntilDeadline)};else if("undefined"!=typeof MessageChannel){var channel=new MessageChannel,port=channel.port2;channel.port1.onmessage=performWorkUntilDeadline;schedulePerformWorkUntilDeadline=function(){port.postMessage(null)}}else schedulePerformWorkUntilDeadline=function(){localSetTimeout(performWorkUntilDeadline,0)};function requestHostTimeout(callback,ms){taskTimeoutID=localSetTimeout(function(){callback(exports.unstable_now())},ms)}exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(task){task.callback=null};exports.unstable_forceFrameRate=function(fps){0>fps||125<fps?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):frameInterval=0<fps?Math.floor(1e3/fps):5};exports.unstable_getCurrentPriorityLevel=function(){return currentPriorityLevel};exports.unstable_next=function(eventHandler){switch(currentPriorityLevel){case 1:case 2:case 3:var priorityLevel=3;break;default:priorityLevel=currentPriorityLevel}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}};exports.unstable_requestPaint=function(){needsPaint=!0};exports.unstable_runWithPriority=function(priorityLevel,eventHandler){switch(priorityLevel){case 1:case 2:case 3:case 4:case 5:break;default:priorityLevel=3}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}};exports.unstable_scheduleCallback=function(priorityLevel,callback,options){var currentTime=exports.unstable_now();"object"==typeof options&&null!==options?(options=options.delay,options="number"==typeof options&&0<options?currentTime+options:currentTime):options=currentTime;switch(priorityLevel){case 1:var timeout=-1;break;case 2:timeout=250;break;case 5:timeout=0x3fffffff;break;case 4:timeout=1e4;break;default:timeout=5e3}timeout=options+timeout;priorityLevel={id:taskIdCounter++,callback:callback,priorityLevel:priorityLevel,startTime:options,expirationTime:timeout,sortIndex:-1};options>currentTime?(priorityLevel.sortIndex=options,push(timerQueue,priorityLevel),null===peek(taskQueue)&&priorityLevel===peek(timerQueue)&&(isHostTimeoutScheduled?(localClearTimeout(taskTimeoutID),taskTimeoutID=-1):isHostTimeoutScheduled=!0,requestHostTimeout(handleTimeout,options-currentTime))):(priorityLevel.sortIndex=timeout,push(taskQueue,priorityLevel),isHostCallbackScheduled||isPerformingWork||(isHostCallbackScheduled=!0,isMessageLoopRunning||(isMessageLoopRunning=!0,schedulePerformWorkUntilDeadline())));return priorityLevel};exports.unstable_shouldYield=shouldYieldToHost;exports.unstable_wrapCallback=function(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=parentPriorityLevel;try{return callback.apply(this,arguments)}finally{currentPriorityLevel=previousPriorityLevel}}}},3840:function(module,__unused_webpack_exports,__webpack_require__){module.exports=__webpack_require__(6152)},8051:function(__unused_webpack_module,exports){const RUNTIME_001="RUNTIME-001";const RUNTIME_002="RUNTIME-002";const RUNTIME_003="RUNTIME-003";const RUNTIME_004="RUNTIME-004";const RUNTIME_005="RUNTIME-005";const RUNTIME_006="RUNTIME-006";const RUNTIME_007="RUNTIME-007";const RUNTIME_008="RUNTIME-008";const RUNTIME_009="RUNTIME-009";const TYPE_001="TYPE-001";const BUILD_001="BUILD-001";const BUILD_002="BUILD-002";const getDocsUrl=errorCode=>{const type=errorCode.split("-")[0].toLowerCase();return`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${type}/${errorCode}`};const getShortErrorMsg=(errorCode,errorDescMap,args,originalErrorMsg)=>{const msg=[`${[errorDescMap[errorCode]]} #${errorCode}`];args&&msg.push(`args: ${JSON.stringify(args)}`);msg.push(getDocsUrl(errorCode));originalErrorMsg&&msg.push(`Original Error Message:
|
|
27
|
+
${originalErrorMsg}`);return msg.join("\n")};function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)if(Object.prototype.hasOwnProperty.call(source,key))target[key]=source[key]}return target};return _extends.apply(this,arguments)}const runtimeDescMap={[RUNTIME_001]:"Failed to get remoteEntry exports.",[RUNTIME_002]:'The remote entry interface does not contain "init"',[RUNTIME_003]:"Failed to get manifest.",[RUNTIME_004]:"Failed to locate remote.",[RUNTIME_005]:"Invalid loadShareSync function call from bundler runtime",[RUNTIME_006]:"Invalid loadShareSync function call from runtime",[RUNTIME_007]:"Failed to get remote snapshot.",[RUNTIME_008]:"Failed to load script resources.",[RUNTIME_009]:"Please call createInstance first."};const typeDescMap={[TYPE_001]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."};const buildDescMap={[BUILD_001]:"Failed to find expose module.",[BUILD_002]:"PublicPath is required in prod mode."};const errorDescMap=_extends({},runtimeDescMap,typeDescMap,buildDescMap);exports.BUILD_001=BUILD_001;exports.BUILD_002=BUILD_002;exports.RUNTIME_001=RUNTIME_001;exports.RUNTIME_002=RUNTIME_002;exports.RUNTIME_003=RUNTIME_003;exports.RUNTIME_004=RUNTIME_004;exports.RUNTIME_005=RUNTIME_005;exports.RUNTIME_006=RUNTIME_006;exports.RUNTIME_007=RUNTIME_007;exports.RUNTIME_008=RUNTIME_008;exports.RUNTIME_009=RUNTIME_009;exports.TYPE_001=TYPE_001;exports.buildDescMap=buildDescMap;exports.errorDescMap=errorDescMap;exports.getShortErrorMsg=getShortErrorMsg;exports.runtimeDescMap=runtimeDescMap;exports.typeDescMap=typeDescMap},2921:function(__unused_webpack_module,exports,__webpack_require__){var polyfills=__webpack_require__(4538);var sdk=__webpack_require__(1322);var errorCodes=__webpack_require__(8051);const LOG_CATEGORY="[ Federation Runtime ]";const logger=sdk.createLogger(LOG_CATEGORY);function assert(condition,msg){if(!condition)error(msg)}function error(msg){if(msg instanceof Error){if(!msg.message.startsWith(LOG_CATEGORY))msg.message=`${LOG_CATEGORY}: ${msg.message}`;throw msg}throw new Error(`${LOG_CATEGORY}: ${msg}`)}function warn(msg){if(msg instanceof Error){if(!msg.message.startsWith(LOG_CATEGORY))msg.message=`${LOG_CATEGORY}: ${msg.message}`;logger.warn(msg)}else logger.warn(msg)}function addUniqueItem(arr,item){if(-1===arr.findIndex(name=>name===item))arr.push(item);return arr}function getFMId(remoteInfo){if("version"in remoteInfo&&remoteInfo.version)return`${remoteInfo.name}:${remoteInfo.version}`;if("entry"in remoteInfo&&remoteInfo.entry)return`${remoteInfo.name}:${remoteInfo.entry}`;return`${remoteInfo.name}`}function isRemoteInfoWithEntry(remote){return void 0!==remote.entry}function isPureRemoteEntry(remote){return!remote.entry.includes(".json")}async function safeWrapper(callback,disableWarn){try{const res=await callback();return res}catch(e){disableWarn||warn(e);return}}function isObject(val){return val&&"object"==typeof val}const objectToString=Object.prototype.toString;function isPlainObject(val){return"[object Object]"===objectToString.call(val)}function isStaticResourcesEqual(url1,url2){const REG_EXP=/^(https?:)?\/\//i;const relativeUrl1=url1.replace(REG_EXP,"").replace(/\/$/,"");const relativeUrl2=url2.replace(REG_EXP,"").replace(/\/$/,"");return relativeUrl1===relativeUrl2}function arrayOptions(options){return Array.isArray(options)?options:[options]}function getRemoteEntryInfoFromSnapshot(snapshot){const defaultRemoteEntryInfo={url:"",type:"global",globalName:""};if(sdk.isBrowserEnv()||sdk.isReactNativeEnv())return"remoteEntry"in snapshot?{url:snapshot.remoteEntry,type:snapshot.remoteEntryType,globalName:snapshot.globalName}:defaultRemoteEntryInfo;if("ssrRemoteEntry"in snapshot)return{url:snapshot.ssrRemoteEntry||defaultRemoteEntryInfo.url,type:snapshot.ssrRemoteEntryType||defaultRemoteEntryInfo.type,globalName:snapshot.globalName};return defaultRemoteEntryInfo}const processModuleAlias=(name,subPath)=>{let moduleName;moduleName=name.endsWith("/")?name.slice(0,-1):name;if(subPath.startsWith("."))subPath=subPath.slice(1);moduleName+=subPath;return moduleName};const CurrentGlobal="object"==typeof globalThis?globalThis:window;const nativeGlobal=(()=>{try{return document.defaultView}catch(e){return CurrentGlobal}})();const Global=nativeGlobal;function definePropertyGlobalVal(target,key,val){Object.defineProperty(target,key,{value:val,configurable:false,writable:true})}function includeOwnProperty(target,key){return Object.hasOwnProperty.call(target,key)}if(!includeOwnProperty(CurrentGlobal,"__GLOBAL_LOADING_REMOTE_ENTRY__"))definePropertyGlobalVal(CurrentGlobal,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});const globalLoading=CurrentGlobal.__GLOBAL_LOADING_REMOTE_ENTRY__;function setGlobalDefaultVal(target){var _target___FEDERATION__,_target___FEDERATION__1,_target___FEDERATION__2,_target___FEDERATION__3,_target___FEDERATION__4,_target___FEDERATION__5;if(includeOwnProperty(target,"__VMOK__")&&!includeOwnProperty(target,"__FEDERATION__"))definePropertyGlobalVal(target,"__FEDERATION__",target.__VMOK__);if(!includeOwnProperty(target,"__FEDERATION__")){definePropertyGlobalVal(target,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map});definePropertyGlobalVal(target,"__VMOK__",target.__FEDERATION__)}var ___GLOBAL_PLUGIN__;null!=(___GLOBAL_PLUGIN__=(_target___FEDERATION__=target.__FEDERATION__).__GLOBAL_PLUGIN__)||(_target___FEDERATION__.__GLOBAL_PLUGIN__=[]);var ___INSTANCES__;null!=(___INSTANCES__=(_target___FEDERATION__1=target.__FEDERATION__).__INSTANCES__)||(_target___FEDERATION__1.__INSTANCES__=[]);var _moduleInfo;null!=(_moduleInfo=(_target___FEDERATION__2=target.__FEDERATION__).moduleInfo)||(_target___FEDERATION__2.moduleInfo={});var ___SHARE__;null!=(___SHARE__=(_target___FEDERATION__3=target.__FEDERATION__).__SHARE__)||(_target___FEDERATION__3.__SHARE__={});var ___MANIFEST_LOADING__;null!=(___MANIFEST_LOADING__=(_target___FEDERATION__4=target.__FEDERATION__).__MANIFEST_LOADING__)||(_target___FEDERATION__4.__MANIFEST_LOADING__={});var ___PRELOADED_MAP__;null!=(___PRELOADED_MAP__=(_target___FEDERATION__5=target.__FEDERATION__).__PRELOADED_MAP__)||(_target___FEDERATION__5.__PRELOADED_MAP__=new Map)}setGlobalDefaultVal(CurrentGlobal);setGlobalDefaultVal(nativeGlobal);function resetFederationGlobalInfo(){CurrentGlobal.__FEDERATION__.__GLOBAL_PLUGIN__=[];CurrentGlobal.__FEDERATION__.__INSTANCES__=[];CurrentGlobal.__FEDERATION__.moduleInfo={};CurrentGlobal.__FEDERATION__.__SHARE__={};CurrentGlobal.__FEDERATION__.__MANIFEST_LOADING__={};Object.keys(globalLoading).forEach(key=>{delete globalLoading[key]})}function setGlobalFederationInstance(FederationInstance){CurrentGlobal.__FEDERATION__.__INSTANCES__.push(FederationInstance)}function getGlobalFederationConstructor(){return CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function setGlobalFederationConstructor(FederationConstructor,isDebug=sdk.isDebugMode()){if(isDebug){CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__=FederationConstructor;CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.17.1"}}function getInfoWithoutType(target,key){if("string"==typeof key){const keyRes=target[key];if(keyRes)return{value:target[key],key:key};{const targetKeys=Object.keys(target);for(const targetKey of targetKeys){const[targetTypeOrName,_]=targetKey.split(":");const nKey=`${targetTypeOrName}:${key}`;const typeWithKeyRes=target[nKey];if(typeWithKeyRes)return{value:typeWithKeyRes,key:nKey}}return{value:void 0,key:key}}}throw new Error("key must be string")}const getGlobalSnapshot=()=>nativeGlobal.__FEDERATION__.moduleInfo;const getTargetSnapshotInfoByModuleInfo=(moduleInfo,snapshot)=>{const moduleKey=getFMId(moduleInfo);const getModuleInfo=getInfoWithoutType(snapshot,moduleKey).value;if(getModuleInfo&&!getModuleInfo.version&&"version"in moduleInfo&&moduleInfo["version"])getModuleInfo.version=moduleInfo["version"];if(getModuleInfo)return getModuleInfo;if("version"in moduleInfo&&moduleInfo["version"]){const{version}=moduleInfo,resModuleInfo=polyfills._object_without_properties_loose(moduleInfo,["version"]);const moduleKeyWithoutVersion=getFMId(resModuleInfo);const getModuleInfoWithoutVersion=getInfoWithoutType(nativeGlobal.__FEDERATION__.moduleInfo,moduleKeyWithoutVersion).value;if((null==getModuleInfoWithoutVersion?void 0:getModuleInfoWithoutVersion.version)===version)return getModuleInfoWithoutVersion}};const getGlobalSnapshotInfoByModuleInfo=moduleInfo=>getTargetSnapshotInfoByModuleInfo(moduleInfo,nativeGlobal.__FEDERATION__.moduleInfo);const setGlobalSnapshotInfoByModuleInfo=(remoteInfo,moduleDetailInfo)=>{const moduleKey=getFMId(remoteInfo);nativeGlobal.__FEDERATION__.moduleInfo[moduleKey]=moduleDetailInfo;return nativeGlobal.__FEDERATION__.moduleInfo};const addGlobalSnapshot=moduleInfos=>{nativeGlobal.__FEDERATION__.moduleInfo=polyfills._extends({},nativeGlobal.__FEDERATION__.moduleInfo,moduleInfos);return()=>{const keys=Object.keys(moduleInfos);for(const key of keys)delete nativeGlobal.__FEDERATION__.moduleInfo[key]}};const getRemoteEntryExports=(name,globalName)=>{const remoteEntryKey=globalName||`__FEDERATION_${name}:custom__`;const entryExports=CurrentGlobal[remoteEntryKey];return{remoteEntryKey,entryExports}};const registerGlobalPlugins=plugins=>{const{__GLOBAL_PLUGIN__}=nativeGlobal.__FEDERATION__;plugins.forEach(plugin=>{if(-1===__GLOBAL_PLUGIN__.findIndex(p=>p.name===plugin.name))__GLOBAL_PLUGIN__.push(plugin);else warn(`The plugin ${plugin.name} has been registered.`)})};const getGlobalHostPlugins=()=>nativeGlobal.__FEDERATION__.__GLOBAL_PLUGIN__;const getPreloaded=id=>CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.get(id);const setPreloaded=id=>CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.set(id,true);const DEFAULT_SCOPE="default";const DEFAULT_REMOTE_TYPE="global";const buildIdentifier="[0-9A-Za-z-]+";const build=`(?:\\+(${buildIdentifier}(?:\\.${buildIdentifier})*))`;const numericIdentifier="0|[1-9]\\d*";const numericIdentifierLoose="[0-9]+";const nonNumericIdentifier="\\d*[a-zA-Z-][a-zA-Z0-9-]*";const preReleaseIdentifierLoose=`(?:${numericIdentifierLoose}|${nonNumericIdentifier})`;const preReleaseLoose=`(?:-?(${preReleaseIdentifierLoose}(?:\\.${preReleaseIdentifierLoose})*))`;const preReleaseIdentifier=`(?:${numericIdentifier}|${nonNumericIdentifier})`;const preRelease=`(?:-(${preReleaseIdentifier}(?:\\.${preReleaseIdentifier})*))`;const xRangeIdentifier=`${numericIdentifier}|x|X|\\*`;const xRangePlain=`[v=\\s]*(${xRangeIdentifier})(?:\\.(${xRangeIdentifier})(?:\\.(${xRangeIdentifier})(?:${preRelease})?${build}?)?)?`;const hyphenRange=`^\\s*(${xRangePlain})\\s+-\\s+(${xRangePlain})\\s*$`;const mainVersionLoose=`(${numericIdentifierLoose})\\.(${numericIdentifierLoose})\\.(${numericIdentifierLoose})`;const loosePlain=`[v=\\s]*${mainVersionLoose}${preReleaseLoose}?${build}?`;const gtlt="((?:<|>)?=?)";const comparatorTrim=`(\\s*)${gtlt}\\s*(${loosePlain}|${xRangePlain})`;const loneTilde="(?:~>?)";const tildeTrim=`(\\s*)${loneTilde}\\s+`;const loneCaret="(?:\\^)";const caretTrim=`(\\s*)${loneCaret}\\s+`;const star="(<|>)?=?\\s*\\*";const caret=`^${loneCaret}${xRangePlain}$`;const mainVersion=`(${numericIdentifier})\\.(${numericIdentifier})\\.(${numericIdentifier})`;const fullPlain=`v?${mainVersion}${preRelease}?${build}?`;const tilde=`^${loneTilde}${xRangePlain}$`;const xRange=`^${gtlt}\\s*${xRangePlain}$`;const comparator=`^${gtlt}\\s*(${fullPlain})$|^$`;const gte0="^\\s*>=\\s*0.0.0\\s*$";function parseRegex(source){return new RegExp(source)}function isXVersion(version){return!version||"x"===version.toLowerCase()||"*"===version}function pipe(...fns){return x=>fns.reduce((v,f)=>f(v),x)}function extractComparator(comparatorString){return comparatorString.match(parseRegex(comparator))}function combineVersion(major,minor,patch,preRelease){const mainVersion=`${major}.${minor}.${patch}`;if(preRelease)return`${mainVersion}-${preRelease}`;return mainVersion}function parseHyphen(range){return range.replace(parseRegex(hyphenRange),(_range,from,fromMajor,fromMinor,fromPatch,_fromPreRelease,_fromBuild,to,toMajor,toMinor,toPatch,toPreRelease)=>{from=isXVersion(fromMajor)?"":isXVersion(fromMinor)?`>=${fromMajor}.0.0`:isXVersion(fromPatch)?`>=${fromMajor}.${fromMinor}.0`:`>=${from}`;to=isXVersion(toMajor)?"":isXVersion(toMinor)?`<${Number(toMajor)+1}.0.0-0`:isXVersion(toPatch)?`<${toMajor}.${Number(toMinor)+1}.0-0`:toPreRelease?`<=${toMajor}.${toMinor}.${toPatch}-${toPreRelease}`:`<=${to}`;return`${from} ${to}`.trim()})}function parseComparatorTrim(range){return range.replace(parseRegex(comparatorTrim),"$1$2$3")}function parseTildeTrim(range){return range.replace(parseRegex(tildeTrim),"$1~")}function parseCaretTrim(range){return range.replace(parseRegex(caretTrim),"$1^")}function parseCarets(range){return range.trim().split(/\s+/).map(rangeVersion=>rangeVersion.replace(parseRegex(caret),(_,major,minor,patch,preRelease)=>{if(isXVersion(major))return"";if(isXVersion(minor))return`>=${major}.0.0 <${Number(major)+1}.0.0-0`;if(isXVersion(patch))if("0"===major)return`>=${major}.${minor}.0 <${major}.${Number(minor)+1}.0-0`;else return`>=${major}.${minor}.0 <${Number(major)+1}.0.0-0`;if(preRelease)if("0"!==major)return`>=${major}.${minor}.${patch}-${preRelease} <${Number(major)+1}.0.0-0`;else if("0"===minor)return`>=${major}.${minor}.${patch}-${preRelease} <${major}.${minor}.${Number(patch)+1}-0`;else return`>=${major}.${minor}.${patch}-${preRelease} <${major}.${Number(minor)+1}.0-0`;if("0"===major)if("0"===minor)return`>=${major}.${minor}.${patch} <${major}.${minor}.${Number(patch)+1}-0`;else return`>=${major}.${minor}.${patch} <${major}.${Number(minor)+1}.0-0`;return`>=${major}.${minor}.${patch} <${Number(major)+1}.0.0-0`})).join(" ")}function parseTildes(range){return range.trim().split(/\s+/).map(rangeVersion=>rangeVersion.replace(parseRegex(tilde),(_,major,minor,patch,preRelease)=>{if(isXVersion(major))return"";if(isXVersion(minor))return`>=${major}.0.0 <${Number(major)+1}.0.0-0`;if(isXVersion(patch))return`>=${major}.${minor}.0 <${major}.${Number(minor)+1}.0-0`;if(preRelease)return`>=${major}.${minor}.${patch}-${preRelease} <${major}.${Number(minor)+1}.0-0`;return`>=${major}.${minor}.${patch} <${major}.${Number(minor)+1}.0-0`})).join(" ")}function parseXRanges(range){return range.split(/\s+/).map(rangeVersion=>rangeVersion.trim().replace(parseRegex(xRange),(ret,gtlt,major,minor,patch,preRelease)=>{const isXMajor=isXVersion(major);const isXMinor=isXMajor||isXVersion(minor);const isXPatch=isXMinor||isXVersion(patch);if("="===gtlt&&isXPatch)gtlt="";preRelease="";if(isXMajor)if(">"===gtlt||"<"===gtlt)return"<0.0.0-0";else return"*";if(gtlt&&isXPatch){if(isXMinor)minor=0;patch=0;if(">"===gtlt){gtlt=">=";if(isXMinor){major=Number(major)+1;minor=0;patch=0}else{minor=Number(minor)+1;patch=0}}else if("<="===gtlt){gtlt="<";if(isXMinor)major=Number(major)+1;else minor=Number(minor)+1}if("<"===gtlt)preRelease="-0";return`${gtlt+major}.${minor}.${patch}${preRelease}`}if(isXMinor)return`>=${major}.0.0${preRelease} <${Number(major)+1}.0.0-0`;if(isXPatch)return`>=${major}.${minor}.0${preRelease} <${major}.${Number(minor)+1}.0-0`;return ret})).join(" ")}function parseStar(range){return range.trim().replace(parseRegex(star),"")}function parseGTE0(comparatorString){return comparatorString.trim().replace(parseRegex(gte0),"")}function compareAtom(rangeAtom,versionAtom){rangeAtom=Number(rangeAtom)||rangeAtom;versionAtom=Number(versionAtom)||versionAtom;if(rangeAtom>versionAtom)return 1;if(rangeAtom===versionAtom)return 0;return -1}function comparePreRelease(rangeAtom,versionAtom){const{preRelease:rangePreRelease}=rangeAtom;const{preRelease:versionPreRelease}=versionAtom;if(void 0===rangePreRelease&&Boolean(versionPreRelease))return 1;if(Boolean(rangePreRelease)&&void 0===versionPreRelease)return -1;if(void 0===rangePreRelease&&void 0===versionPreRelease)return 0;for(let i=0,n=rangePreRelease.length;i<=n;i++){const rangeElement=rangePreRelease[i];const versionElement=versionPreRelease[i];if(rangeElement!==versionElement){if(void 0===rangeElement&&void 0===versionElement)return 0;if(!rangeElement)return 1;if(!versionElement)return -1;return compareAtom(rangeElement,versionElement)}}return 0}function compareVersion(rangeAtom,versionAtom){return compareAtom(rangeAtom.major,versionAtom.major)||compareAtom(rangeAtom.minor,versionAtom.minor)||compareAtom(rangeAtom.patch,versionAtom.patch)||comparePreRelease(rangeAtom,versionAtom)}function eq(rangeAtom,versionAtom){return rangeAtom.version===versionAtom.version}function compare(rangeAtom,versionAtom){switch(rangeAtom.operator){case"":case"=":return eq(rangeAtom,versionAtom);case">":return compareVersion(rangeAtom,versionAtom)<0;case">=":return eq(rangeAtom,versionAtom)||compareVersion(rangeAtom,versionAtom)<0;case"<":return compareVersion(rangeAtom,versionAtom)>0;case"<=":return eq(rangeAtom,versionAtom)||compareVersion(rangeAtom,versionAtom)>0;case void 0:return true;default:return false}}function parseComparatorString(range){return pipe(parseCarets,parseTildes,parseXRanges,parseStar)(range)}function parseRange(range){return pipe(parseHyphen,parseComparatorTrim,parseTildeTrim,parseCaretTrim)(range.trim()).split(/\s+/).join(" ")}function satisfy(version,range){if(!version)return false;const extractedVersion=extractComparator(version);if(!extractedVersion)return false;const[,versionOperator,,versionMajor,versionMinor,versionPatch,versionPreRelease]=extractedVersion;const versionAtom={operator:versionOperator,version:combineVersion(versionMajor,versionMinor,versionPatch,versionPreRelease),major:versionMajor,minor:versionMinor,patch:versionPatch,preRelease:null==versionPreRelease?void 0:versionPreRelease.split(".")};const orRanges=range.split("||");for(const orRange of orRanges){const trimmedOrRange=orRange.trim();if(!trimmedOrRange)return true;if("*"===trimmedOrRange||"x"===trimmedOrRange)return true;try{const parsedSubRange=parseRange(trimmedOrRange);if(!parsedSubRange.trim())return true;const parsedComparatorString=parsedSubRange.split(" ").map(rangeVersion=>parseComparatorString(rangeVersion)).join(" ");if(!parsedComparatorString.trim())return true;const comparators=parsedComparatorString.split(/\s+/).map(comparator=>parseGTE0(comparator)).filter(Boolean);if(0===comparators.length)continue;let subRangeSatisfied=true;for(const comparator of comparators){const extractedComparator=extractComparator(comparator);if(!extractedComparator){subRangeSatisfied=false;break}const[,rangeOperator,,rangeMajor,rangeMinor,rangePatch,rangePreRelease]=extractedComparator;const rangeAtom={operator:rangeOperator,version:combineVersion(rangeMajor,rangeMinor,rangePatch,rangePreRelease),major:rangeMajor,minor:rangeMinor,patch:rangePatch,preRelease:null==rangePreRelease?void 0:rangePreRelease.split(".")};if(!compare(rangeAtom,versionAtom)){subRangeSatisfied=false;break}}if(subRangeSatisfied)return true}catch(e){console.error(`[semver] Error processing range part "${trimmedOrRange}":`,e);continue}}return false}function formatShare(shareArgs,from,name,shareStrategy){let get;get="get"in shareArgs?shareArgs.get:"lib"in shareArgs?()=>Promise.resolve(shareArgs.lib):()=>Promise.resolve(()=>{throw new Error(`Can not get shared '${name}'!`)});var _shareArgs_version,_shareArgs_scope,_shareArgs_strategy;return polyfills._extends({deps:[],useIn:[],from,loading:null},shareArgs,{shareConfig:polyfills._extends({requiredVersion:`^${shareArgs.version}`,singleton:false,eager:false,strictVersion:false},shareArgs.shareConfig),get,loaded:(null==shareArgs?void 0:shareArgs.loaded)||"lib"in shareArgs?true:void 0,version:null!=(_shareArgs_version=shareArgs.version)?_shareArgs_version:"0",scope:Array.isArray(shareArgs.scope)?shareArgs.scope:[null!=(_shareArgs_scope=shareArgs.scope)?_shareArgs_scope:"default"],strategy:(null!=(_shareArgs_strategy=shareArgs.strategy)?_shareArgs_strategy:shareStrategy)||"version-first"})}function formatShareConfigs(globalOptions,userOptions){const shareArgs=userOptions.shared||{};const from=userOptions.name;const shareInfos=Object.keys(shareArgs).reduce((res,pkgName)=>{const arrayShareArgs=arrayOptions(shareArgs[pkgName]);res[pkgName]=res[pkgName]||[];arrayShareArgs.forEach(shareConfig=>{res[pkgName].push(formatShare(shareConfig,from,pkgName,userOptions.shareStrategy))});return res},{});const shared=polyfills._extends({},globalOptions.shared);Object.keys(shareInfos).forEach(shareKey=>{if(shared[shareKey])shareInfos[shareKey].forEach(newUserSharedOptions=>{const isSameVersion=shared[shareKey].find(sharedVal=>sharedVal.version===newUserSharedOptions.version);if(!isSameVersion)shared[shareKey].push(newUserSharedOptions)});else shared[shareKey]=shareInfos[shareKey]});return{shared,shareInfos}}function versionLt(a,b){const transformInvalidVersion=version=>{const isNumberVersion=!Number.isNaN(Number(version));if(isNumberVersion){const splitArr=version.split(".");let validVersion=version;for(let i=0;i<3-splitArr.length;i++)validVersion+=".0";return validVersion}return version};if(satisfy(transformInvalidVersion(a),`<=${transformInvalidVersion(b)}`))return true;return false}const findVersion=(shareVersionMap,cb)=>{const callback=cb||function(prev,cur){return versionLt(prev,cur)};return Object.keys(shareVersionMap).reduce((prev,cur)=>{if(!prev)return cur;if(callback(prev,cur))return cur;if("0"===prev)return cur;return prev},0)};const isLoaded=shared=>Boolean(shared.loaded)||"function"==typeof shared.lib;const isLoading=shared=>Boolean(shared.loading);function findSingletonVersionOrderByVersion(shareScopeMap,scope,pkgName){const versions=shareScopeMap[scope][pkgName];const callback=function(prev,cur){return!isLoaded(versions[prev])&&versionLt(prev,cur)};return findVersion(shareScopeMap[scope][pkgName],callback)}function findSingletonVersionOrderByLoaded(shareScopeMap,scope,pkgName){const versions=shareScopeMap[scope][pkgName];const callback=function(prev,cur){const isLoadingOrLoaded=shared=>isLoaded(shared)||isLoading(shared);if(isLoadingOrLoaded(versions[cur]))if(isLoadingOrLoaded(versions[prev]))return Boolean(versionLt(prev,cur));else return true;if(isLoadingOrLoaded(versions[prev]))return false;return versionLt(prev,cur)};return findVersion(shareScopeMap[scope][pkgName],callback)}function getFindShareFunction(strategy){if("loaded-first"===strategy)return findSingletonVersionOrderByLoaded;return findSingletonVersionOrderByVersion}function getRegisteredShare(localShareScopeMap,pkgName,shareInfo,resolveShare){if(!localShareScopeMap)return;const{shareConfig,scope=DEFAULT_SCOPE,strategy}=shareInfo;const scopes=Array.isArray(scope)?scope:[scope];for(const sc of scopes)if(shareConfig&&localShareScopeMap[sc]&&localShareScopeMap[sc][pkgName]){const{requiredVersion}=shareConfig;const findShareFunction=getFindShareFunction(strategy);const maxOrSingletonVersion=findShareFunction(localShareScopeMap,sc,pkgName);const defaultResolver=()=>{if(shareConfig.singleton){if("string"==typeof requiredVersion&&!satisfy(maxOrSingletonVersion,requiredVersion)){const msg=`Version ${maxOrSingletonVersion} from ${maxOrSingletonVersion&&localShareScopeMap[sc][pkgName][maxOrSingletonVersion].from} of shared singleton module ${pkgName} does not satisfy the requirement of ${shareInfo.from} which needs ${requiredVersion})`;if(shareConfig.strictVersion)error(msg);else warn(msg)}return localShareScopeMap[sc][pkgName][maxOrSingletonVersion]}if(false===requiredVersion||"*"===requiredVersion)return localShareScopeMap[sc][pkgName][maxOrSingletonVersion];if(satisfy(maxOrSingletonVersion,requiredVersion))return localShareScopeMap[sc][pkgName][maxOrSingletonVersion];for(const[versionKey,versionValue]of Object.entries(localShareScopeMap[sc][pkgName]))if(satisfy(versionKey,requiredVersion))return versionValue};const params={shareScopeMap:localShareScopeMap,scope:sc,pkgName,version:maxOrSingletonVersion,GlobalFederation:Global.__FEDERATION__,resolver:defaultResolver};const resolveShared=resolveShare.emit(params)||params;return resolveShared.resolver()}}function getGlobalShareScope(){return Global.__FEDERATION__.__SHARE__}function getTargetSharedOptions(options){const{pkgName,extraOptions,shareInfos}=options;const defaultResolver=sharedOptions=>{if(!sharedOptions)return;const shareVersionMap={};sharedOptions.forEach(shared=>{shareVersionMap[shared.version]=shared});const callback=function(prev,cur){return!isLoaded(shareVersionMap[prev])&&versionLt(prev,cur)};const maxVersion=findVersion(shareVersionMap,callback);return shareVersionMap[maxVersion]};var _extraOptions_resolver;const resolver=null!=(_extraOptions_resolver=null==extraOptions?void 0:extraOptions.resolver)?_extraOptions_resolver:defaultResolver;return Object.assign({},resolver(shareInfos[pkgName]),null==extraOptions?void 0:extraOptions.customShareInfo)}function getBuilderId(){return"integrations_app:0.1.0"}function matchRemoteWithNameAndExpose(remotes,id){for(const remote of remotes){const isNameMatched=id.startsWith(remote.name);let expose=id.replace(remote.name,"");if(isNameMatched){if(expose.startsWith("/")){const pkgNameOrAlias=remote.name;expose=`.${expose}`;return{pkgNameOrAlias,expose,remote}}else if(""===expose)return{pkgNameOrAlias:remote.name,expose:".",remote}}const isAliasMatched=remote.alias&&id.startsWith(remote.alias);let exposeWithAlias=remote.alias&&id.replace(remote.alias,"");if(remote.alias&&isAliasMatched){if(exposeWithAlias&&exposeWithAlias.startsWith("/")){const pkgNameOrAlias=remote.alias;exposeWithAlias=`.${exposeWithAlias}`;return{pkgNameOrAlias,expose:exposeWithAlias,remote}}else if(""===exposeWithAlias)return{pkgNameOrAlias:remote.alias,expose:".",remote}}}}function matchRemote(remotes,nameOrAlias){for(const remote of remotes){const isNameMatched=nameOrAlias===remote.name;if(isNameMatched)return remote;const isAliasMatched=remote.alias&&nameOrAlias===remote.alias;if(isAliasMatched)return remote}}function registerPlugins(plugins,instance){const globalPlugins=getGlobalHostPlugins();const hookInstances=[instance.hooks,instance.remoteHandler.hooks,instance.sharedHandler.hooks,instance.snapshotHandler.hooks,instance.loaderHook,instance.bridgeHook];if(globalPlugins.length>0)globalPlugins.forEach(plugin=>{if(null==plugins?void 0:plugins.find(item=>item.name!==plugin.name))plugins.push(plugin)});if(plugins&&plugins.length>0)plugins.forEach(plugin=>{hookInstances.forEach(hookInstance=>{hookInstance.applyPlugin(plugin,instance)})});return plugins}const importCallback=".then(callbacks[0]).catch(callbacks[1])";async function loadEsmEntry({entry,remoteEntryExports}){return new Promise((resolve,reject)=>{try{if(remoteEntryExports)resolve(remoteEntryExports);else if("undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION)new Function("callbacks",`import("${entry}")${importCallback}`)([resolve,reject]);else import(/* @vite-ignore */entry).then(resolve).catch(reject)}catch(e){reject(e)}})}async function loadSystemJsEntry({entry,remoteEntryExports}){return new Promise((resolve,reject)=>{try{if(remoteEntryExports)resolve(remoteEntryExports);else new Function("callbacks",`System.import("${entry}")${importCallback}`)([resolve,reject])}catch(e){reject(e)}})}function handleRemoteEntryLoaded(name,globalName,entry){const{remoteEntryKey,entryExports}=getRemoteEntryExports(name,globalName);assert(entryExports,errorCodes.getShortErrorMsg(errorCodes.RUNTIME_001,errorCodes.runtimeDescMap,{remoteName:name,remoteEntryUrl:entry,remoteEntryKey}));return entryExports}async function loadEntryScript({name,globalName,entry,loaderHook}){const{entryExports:remoteEntryExports}=getRemoteEntryExports(name,globalName);if(remoteEntryExports)return remoteEntryExports;return sdk.loadScript(entry,{attrs:{},createScriptHook:(url,attrs)=>{const res=loaderHook.lifecycle.createScript.emit({url,attrs});if(!res)return;if(res instanceof HTMLScriptElement)return res;if("script"in res||"timeout"in res)return res}}).then(()=>handleRemoteEntryLoaded(name,globalName,entry)).catch(e=>{assert(void 0,errorCodes.getShortErrorMsg(errorCodes.RUNTIME_008,errorCodes.runtimeDescMap,{remoteName:name,resourceUrl:entry}));throw e})}async function loadEntryDom({remoteInfo,remoteEntryExports,loaderHook}){const{entry,entryGlobalName:globalName,name,type}=remoteInfo;switch(type){case"esm":case"module":return loadEsmEntry({entry,remoteEntryExports});case"system":return loadSystemJsEntry({entry,remoteEntryExports});default:return loadEntryScript({entry,globalName,name,loaderHook})}}async function loadEntryNode({remoteInfo,loaderHook}){const{entry,entryGlobalName:globalName,name,type}=remoteInfo;const{entryExports:remoteEntryExports}=getRemoteEntryExports(name,globalName);if(remoteEntryExports)return remoteEntryExports;return sdk.loadScriptNode(entry,{attrs:{name,globalName,type},loaderHook:{createScriptHook:(url,attrs={})=>{const res=loaderHook.lifecycle.createScript.emit({url,attrs});if(!res)return;if("url"in res)return res}}}).then(()=>handleRemoteEntryLoaded(name,globalName,entry)).catch(e=>{throw e})}function getRemoteEntryUniqueKey(remoteInfo){const{entry,name}=remoteInfo;return sdk.composeKeyWithSeparator(name,entry)}async function getRemoteEntry({origin,remoteEntryExports,remoteInfo}){const uniqueKey=getRemoteEntryUniqueKey(remoteInfo);if(remoteEntryExports)return remoteEntryExports;if(!globalLoading[uniqueKey]){const loadEntryHook=origin.remoteHandler.hooks.lifecycle.loadEntry;const loaderHook=origin.loaderHook;globalLoading[uniqueKey]=loadEntryHook.emit({loaderHook,remoteInfo,remoteEntryExports}).then(res=>{if(res)return res;const isWebEnvironment="undefined"!=typeof ENV_TARGET?"web"===ENV_TARGET:sdk.isBrowserEnv();return isWebEnvironment?loadEntryDom({remoteInfo,remoteEntryExports,loaderHook}):loadEntryNode({remoteInfo,loaderHook})})}return globalLoading[uniqueKey]}function getRemoteInfo(remote){return polyfills._extends({},remote,{entry:"entry"in remote?remote.entry:"",type:remote.type||DEFAULT_REMOTE_TYPE,entryGlobalName:remote.entryGlobalName||remote.name,shareScope:remote.shareScope||DEFAULT_SCOPE})}function defaultPreloadArgs(preloadConfig){return polyfills._extends({resourceCategory:"sync",share:true,depsRemote:true,prefetchInterface:false},preloadConfig)}function formatPreloadArgs(remotes,preloadArgs){return preloadArgs.map(args=>{const remoteInfo=matchRemote(remotes,args.nameOrAlias);assert(remoteInfo,`Unable to preload ${args.nameOrAlias} as it is not included in ${!remoteInfo&&sdk.safeToString({remoteInfo,remotes})}`);return{remote:remoteInfo,preloadConfig:defaultPreloadArgs(args)}})}function normalizePreloadExposes(exposes){if(!exposes)return[];return exposes.map(expose=>{if("."===expose)return expose;if(expose.startsWith("./"))return expose.replace("./","");return expose})}function preloadAssets(remoteInfo,host,assets,useLinkPreload=true){const{cssAssets,jsAssetsWithoutEntry,entryAssets}=assets;if(host.options.inBrowser){entryAssets.forEach(asset=>{const{moduleInfo}=asset;const module=host.moduleCache.get(remoteInfo.name);module?getRemoteEntry({origin:host,remoteInfo:moduleInfo,remoteEntryExports:module.remoteEntryExports}):getRemoteEntry({origin:host,remoteInfo:moduleInfo,remoteEntryExports:void 0})});if(useLinkPreload){const defaultAttrs={rel:"preload",as:"style"};cssAssets.forEach(cssUrl=>{const{link:cssEl,needAttach}=sdk.createLink({url:cssUrl,cb:()=>{},attrs:defaultAttrs,createLinkHook:(url,attrs)=>{const res=host.loaderHook.lifecycle.createLink.emit({url,attrs});if(res instanceof HTMLLinkElement)return res}});needAttach&&document.head.appendChild(cssEl)})}else{const defaultAttrs={rel:"stylesheet",type:"text/css"};cssAssets.forEach(cssUrl=>{const{link:cssEl,needAttach}=sdk.createLink({url:cssUrl,cb:()=>{},attrs:defaultAttrs,createLinkHook:(url,attrs)=>{const res=host.loaderHook.lifecycle.createLink.emit({url,attrs});if(res instanceof HTMLLinkElement)return res},needDeleteLink:false});needAttach&&document.head.appendChild(cssEl)})}if(useLinkPreload){const defaultAttrs={rel:"preload",as:"script"};jsAssetsWithoutEntry.forEach(jsUrl=>{const{link:linkEl,needAttach}=sdk.createLink({url:jsUrl,cb:()=>{},attrs:defaultAttrs,createLinkHook:(url,attrs)=>{const res=host.loaderHook.lifecycle.createLink.emit({url,attrs});if(res instanceof HTMLLinkElement)return res}});needAttach&&document.head.appendChild(linkEl)})}else{const defaultAttrs={fetchpriority:"high",type:(null==remoteInfo?void 0:remoteInfo.type)==="module"?"module":"text/javascript"};jsAssetsWithoutEntry.forEach(jsUrl=>{const{script:scriptEl,needAttach}=sdk.createScript({url:jsUrl,cb:()=>{},attrs:defaultAttrs,createScriptHook:(url,attrs)=>{const res=host.loaderHook.lifecycle.createScript.emit({url,attrs});if(res instanceof HTMLScriptElement)return res},needDeleteScript:true});needAttach&&document.head.appendChild(scriptEl)})}}}const ShareUtils={getRegisteredShare,getGlobalShareScope};const GlobalUtils={Global,nativeGlobal,resetFederationGlobalInfo,setGlobalFederationInstance,getGlobalFederationConstructor,setGlobalFederationConstructor,getInfoWithoutType,getGlobalSnapshot,getTargetSnapshotInfoByModuleInfo,getGlobalSnapshotInfoByModuleInfo,setGlobalSnapshotInfoByModuleInfo,addGlobalSnapshot,getRemoteEntryExports,registerGlobalPlugins,getGlobalHostPlugins,getPreloaded,setPreloaded};var helpers={global:GlobalUtils,share:ShareUtils,utils:{matchRemoteWithNameAndExpose,preloadAssets,getRemoteInfo}};let Module=class{async getEntry(){if(this.remoteEntryExports)return this.remoteEntryExports;let remoteEntryExports;try{remoteEntryExports=await getRemoteEntry({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})}catch(err){const uniqueKey=getRemoteEntryUniqueKey(this.remoteInfo);remoteEntryExports=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading,uniqueKey})}assert(remoteEntryExports,`remoteEntryExports is undefined
|
|
28
|
+
${sdk.safeToString(this.remoteInfo)}`);this.remoteEntryExports=remoteEntryExports;return this.remoteEntryExports}async get(id,expose,options,remoteSnapshot){const{loadFactory=true}=options||{loadFactory:true};const remoteEntryExports=await this.getEntry();if(!this.inited){const localShareScopeMap=this.host.shareScopeMap;const shareScopeKeys=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];if(!shareScopeKeys.length)shareScopeKeys.push("default");shareScopeKeys.forEach(shareScopeKey=>{if(!localShareScopeMap[shareScopeKey])localShareScopeMap[shareScopeKey]={}});const shareScope=localShareScopeMap[shareScopeKeys[0]];const initScope=[];const remoteEntryInitOptions={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?shareScopeKeys:this.remoteInfo.shareScope||"default"};Object.defineProperty(remoteEntryInitOptions,"shareScopeMap",{value:localShareScopeMap,enumerable:false});const initContainerOptions=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope,remoteEntryInitOptions,initScope,remoteInfo:this.remoteInfo,origin:this.host});if(void 0===(null==remoteEntryExports?void 0:remoteEntryExports.init))error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_002,errorCodes.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName}));await remoteEntryExports.init(initContainerOptions.shareScope,initContainerOptions.initScope,initContainerOptions.remoteEntryInitOptions);await this.host.hooks.lifecycle.initContainer.emit(polyfills._extends({},initContainerOptions,{id,remoteSnapshot,remoteEntryExports}))}this.lib=remoteEntryExports;this.inited=true;let moduleFactory;moduleFactory=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports,expose,moduleInfo:this.remoteInfo});if(!moduleFactory)moduleFactory=await remoteEntryExports.get(expose);assert(moduleFactory,`${getFMId(this.remoteInfo)} remote don't export ${expose}.`);const symbolName=processModuleAlias(this.remoteInfo.name,expose);const wrapModuleFactory=this.wraperFactory(moduleFactory,symbolName);if(!loadFactory)return wrapModuleFactory;const exposeContent=await wrapModuleFactory();return exposeContent}wraperFactory(moduleFactory,id){function defineModuleId(res,id){if(res&&"object"==typeof res&&Object.isExtensible(res)&&!Object.getOwnPropertyDescriptor(res,Symbol.for("mf_module_id")))Object.defineProperty(res,Symbol.for("mf_module_id"),{value:id,enumerable:false})}if(moduleFactory instanceof Promise)return async()=>{const res=await moduleFactory();defineModuleId(res,id);return res};return()=>{const res=moduleFactory();defineModuleId(res,id);return res}}constructor({remoteInfo,host}){this.inited=false;this.lib=void 0;this.remoteInfo=remoteInfo;this.host=host}};class SyncHook{on(fn){if("function"==typeof fn)this.listeners.add(fn)}once(fn){const self=this;this.on(function wrapper(...args){self.remove(wrapper);return fn.apply(null,args)})}emit(...data){let result;if(this.listeners.size>0)this.listeners.forEach(fn=>{result=fn(...data)});return result}remove(fn){this.listeners.delete(fn)}removeAll(){this.listeners.clear()}constructor(type){this.type="";this.listeners=new Set;if(type)this.type=type}}class AsyncHook extends SyncHook{emit(...data){let result;const ls=Array.from(this.listeners);if(ls.length>0){let i=0;const call=prev=>{if(false===prev)return false;if(i<ls.length)return Promise.resolve(ls[i++].apply(null,data)).then(call);return prev};result=call()}return Promise.resolve(result)}}function checkReturnData(originalData,returnedData){if(!isObject(returnedData))return false;if(originalData!==returnedData){for(const key in originalData)if(!(key in returnedData))return false}return true}class SyncWaterfallHook extends SyncHook{emit(data){if(!isObject(data))error(`The data for the "${this.type}" hook should be an object.`);for(const fn of this.listeners)try{const tempData=fn(data);if(checkReturnData(data,tempData))data=tempData;else{this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}}catch(e){warn(e);this.onerror(e)}return data}constructor(type){super();this.onerror=error;this.type=type}}class AsyncWaterfallHook extends SyncHook{emit(data){if(!isObject(data))error(`The response data for the "${this.type}" hook must be an object.`);const ls=Array.from(this.listeners);if(ls.length>0){let i=0;const processError=e=>{warn(e);this.onerror(e);return data};const call=prevData=>{if(checkReturnData(data,prevData)){data=prevData;if(i<ls.length)try{return Promise.resolve(ls[i++](data)).then(call,processError)}catch(e){return processError(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return data};return Promise.resolve(call(data))}return Promise.resolve(data)}constructor(type){super();this.onerror=error;this.type=type}}class PluginSystem{applyPlugin(plugin,instance){assert(isPlainObject(plugin),"Plugin configuration is invalid.");const pluginName=plugin.name;assert(pluginName,"A name must be provided by the plugin.");if(!this.registerPlugins[pluginName]){this.registerPlugins[pluginName]=plugin;null==plugin.apply||plugin.apply.call(plugin,instance);Object.keys(this.lifecycle).forEach(key=>{const pluginLife=plugin[key];if(pluginLife)this.lifecycle[key].on(pluginLife)})}}removePlugin(pluginName){assert(pluginName,"A name is required.");const plugin=this.registerPlugins[pluginName];assert(plugin,`The plugin "${pluginName}" is not registered.`);Object.keys(plugin).forEach(key=>{if("name"!==key)this.lifecycle[key].remove(plugin[key])})}constructor(lifecycle){this.registerPlugins={};this.lifecycle=lifecycle;this.lifecycleKeys=Object.keys(lifecycle)}}function assignRemoteInfo(remoteInfo,remoteSnapshot){const remoteEntryInfo=getRemoteEntryInfoFromSnapshot(remoteSnapshot);if(!remoteEntryInfo.url)error(`The attribute remoteEntry of ${remoteInfo.name} must not be undefined.`);let entryUrl=sdk.getResourceUrl(remoteSnapshot,remoteEntryInfo.url);if(!sdk.isBrowserEnv()&&!entryUrl.startsWith("http"))entryUrl=`https:${entryUrl}`;remoteInfo.type=remoteEntryInfo.type;remoteInfo.entryGlobalName=remoteEntryInfo.globalName;remoteInfo.entry=entryUrl;remoteInfo.version=remoteSnapshot.version;remoteInfo.buildVersion=remoteSnapshot.buildVersion}function snapshotPlugin(){return{name:"snapshot-plugin",async afterResolve(args){const{remote,pkgNameOrAlias,expose,origin,remoteInfo,id}=args;if(!isRemoteInfoWithEntry(remote)||!isPureRemoteEntry(remote)){const{remoteSnapshot,globalSnapshot}=await origin.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:remote,id});assignRemoteInfo(remoteInfo,remoteSnapshot);const preloadOptions={remote,preloadConfig:{nameOrAlias:pkgNameOrAlias,exposes:[expose],resourceCategory:"sync",share:false,depsRemote:false}};const assets=await origin.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin,preloadOptions,remoteInfo,remote,remoteSnapshot,globalSnapshot});if(assets)preloadAssets(remoteInfo,origin,assets,false);return polyfills._extends({},args,{remoteSnapshot})}return args}}}function splitId(id){const splitInfo=id.split(":");if(1===splitInfo.length)return{name:splitInfo[0],version:void 0};if(2===splitInfo.length)return{name:splitInfo[0],version:splitInfo[1]};return{name:splitInfo[1],version:splitInfo[2]}}function traverseModuleInfo(globalSnapshot,remoteInfo,traverse,isRoot,memo={},remoteSnapshot){const id=getFMId(remoteInfo);const{value:snapshotValue}=getInfoWithoutType(globalSnapshot,id);const effectiveRemoteSnapshot=remoteSnapshot||snapshotValue;if(effectiveRemoteSnapshot&&!sdk.isManifestProvider(effectiveRemoteSnapshot)){traverse(effectiveRemoteSnapshot,remoteInfo,isRoot);if(effectiveRemoteSnapshot.remotesInfo){const remoteKeys=Object.keys(effectiveRemoteSnapshot.remotesInfo);for(const key of remoteKeys){if(memo[key])continue;memo[key]=true;const subRemoteInfo=splitId(key);const remoteValue=effectiveRemoteSnapshot.remotesInfo[key];traverseModuleInfo(globalSnapshot,{name:subRemoteInfo.name,version:remoteValue.matchedVersion},traverse,false,memo,void 0)}}}}const isExisted=(type,url)=>document.querySelector(`${type}[${"link"===type?"href":"src"}="${url}"]`);function generatePreloadAssets(origin,preloadOptions,remote,globalSnapshot,remoteSnapshot){const cssAssets=[];const jsAssets=[];const entryAssets=[];const loadedSharedJsAssets=new Set;const loadedSharedCssAssets=new Set;const{options}=origin;const{preloadConfig:rootPreloadConfig}=preloadOptions;const{depsRemote}=rootPreloadConfig;const memo={};traverseModuleInfo(globalSnapshot,remote,(moduleInfoSnapshot,remoteInfo,isRoot)=>{let preloadConfig;if(isRoot)preloadConfig=rootPreloadConfig;else if(Array.isArray(depsRemote)){const findPreloadConfig=depsRemote.find(remoteConfig=>{if(remoteConfig.nameOrAlias===remoteInfo.name||remoteConfig.nameOrAlias===remoteInfo.alias)return true;return false});if(!findPreloadConfig)return;preloadConfig=defaultPreloadArgs(findPreloadConfig)}else{if(true!==depsRemote)return;preloadConfig=rootPreloadConfig}const remoteEntryUrl=sdk.getResourceUrl(moduleInfoSnapshot,getRemoteEntryInfoFromSnapshot(moduleInfoSnapshot).url);if(remoteEntryUrl)entryAssets.push({name:remoteInfo.name,moduleInfo:{name:remoteInfo.name,entry:remoteEntryUrl,type:"remoteEntryType"in moduleInfoSnapshot?moduleInfoSnapshot.remoteEntryType:"global",entryGlobalName:"globalName"in moduleInfoSnapshot?moduleInfoSnapshot.globalName:remoteInfo.name,shareScope:"",version:"version"in moduleInfoSnapshot?moduleInfoSnapshot.version:void 0},url:remoteEntryUrl});let moduleAssetsInfo="modules"in moduleInfoSnapshot?moduleInfoSnapshot.modules:[];const normalizedPreloadExposes=normalizePreloadExposes(preloadConfig.exposes);if(normalizedPreloadExposes.length&&"modules"in moduleInfoSnapshot){var _moduleInfoSnapshot_modules;moduleAssetsInfo=null==moduleInfoSnapshot?void 0:null==(_moduleInfoSnapshot_modules=moduleInfoSnapshot.modules)?void 0:_moduleInfoSnapshot_modules.reduce((assets,moduleAssetInfo)=>{if((null==normalizedPreloadExposes?void 0:normalizedPreloadExposes.indexOf(moduleAssetInfo.moduleName))!==-1)assets.push(moduleAssetInfo);return assets},[])}function handleAssets(assets){const assetsRes=assets.map(asset=>sdk.getResourceUrl(moduleInfoSnapshot,asset));if(preloadConfig.filter)return assetsRes.filter(preloadConfig.filter);return assetsRes}if(moduleAssetsInfo){const assetsLength=moduleAssetsInfo.length;for(let index=0;index<assetsLength;index++){const assetsInfo=moduleAssetsInfo[index];const exposeFullPath=`${remoteInfo.name}/${assetsInfo.moduleName}`;origin.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===assetsInfo.moduleName?remoteInfo.name:exposeFullPath,name:remoteInfo.name,remoteSnapshot:moduleInfoSnapshot,preloadConfig,remote:remoteInfo,origin});const preloaded=getPreloaded(exposeFullPath);if(!preloaded){if("all"===preloadConfig.resourceCategory){cssAssets.push(...handleAssets(assetsInfo.assets.css.async));cssAssets.push(...handleAssets(assetsInfo.assets.css.sync));jsAssets.push(...handleAssets(assetsInfo.assets.js.async));jsAssets.push(...handleAssets(assetsInfo.assets.js.sync))}else if(preloadConfig.resourceCategory="sync"){cssAssets.push(...handleAssets(assetsInfo.assets.css.sync));jsAssets.push(...handleAssets(assetsInfo.assets.js.sync))}setPreloaded(exposeFullPath)}}}},true,memo,remoteSnapshot);if(remoteSnapshot.shared&&remoteSnapshot.shared.length>0){const collectSharedAssets=(shareInfo,snapshotShared)=>{const registeredShared=getRegisteredShare(origin.shareScopeMap,snapshotShared.sharedName,shareInfo,origin.sharedHandler.hooks.lifecycle.resolveShare);if(registeredShared&&"function"==typeof registeredShared.lib){snapshotShared.assets.js.sync.forEach(asset=>{loadedSharedJsAssets.add(asset)});snapshotShared.assets.css.sync.forEach(asset=>{loadedSharedCssAssets.add(asset)})}};remoteSnapshot.shared.forEach(shared=>{var _options_shared;const shareInfos=null==(_options_shared=options.shared)?void 0:_options_shared[shared.sharedName];if(!shareInfos)return;const sharedOptions=shared.version?shareInfos.find(s=>s.version===shared.version):shareInfos;if(!sharedOptions)return;const arrayShareInfo=arrayOptions(sharedOptions);arrayShareInfo.forEach(s=>{collectSharedAssets(s,shared)})})}const needPreloadJsAssets=jsAssets.filter(asset=>!loadedSharedJsAssets.has(asset)&&!isExisted("script",asset));const needPreloadCssAssets=cssAssets.filter(asset=>!loadedSharedCssAssets.has(asset)&&!isExisted("link",asset));return{cssAssets:needPreloadCssAssets,jsAssetsWithoutEntry:needPreloadJsAssets,entryAssets:entryAssets.filter(entry=>!isExisted("script",entry.url))}}const generatePreloadAssetsPlugin=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(args){const{origin,preloadOptions,remoteInfo,remote,globalSnapshot,remoteSnapshot}=args;if(!sdk.isBrowserEnv())return{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]};if(isRemoteInfoWithEntry(remote)&&isPureRemoteEntry(remote))return{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:remote.name,url:remote.entry,moduleInfo:{name:remoteInfo.name,entry:remote.entry,type:remoteInfo.type||"global",entryGlobalName:"",shareScope:""}}]};assignRemoteInfo(remoteInfo,remoteSnapshot);const assets=generatePreloadAssets(origin,preloadOptions,remoteInfo,globalSnapshot,remoteSnapshot);return assets}}};function getGlobalRemoteInfo(moduleInfo,origin){const hostGlobalSnapshot=getGlobalSnapshotInfoByModuleInfo({name:origin.name,version:origin.options.version});const globalRemoteInfo=hostGlobalSnapshot&&"remotesInfo"in hostGlobalSnapshot&&hostGlobalSnapshot.remotesInfo&&getInfoWithoutType(hostGlobalSnapshot.remotesInfo,moduleInfo.name).value;if(globalRemoteInfo&&globalRemoteInfo.matchedVersion)return{hostGlobalSnapshot,globalSnapshot:getGlobalSnapshot(),remoteSnapshot:getGlobalSnapshotInfoByModuleInfo({name:moduleInfo.name,version:globalRemoteInfo.matchedVersion})};return{hostGlobalSnapshot:void 0,globalSnapshot:getGlobalSnapshot(),remoteSnapshot:getGlobalSnapshotInfoByModuleInfo({name:moduleInfo.name,version:"version"in moduleInfo?moduleInfo.version:void 0})}}class SnapshotHandler{async loadRemoteSnapshotInfo({moduleInfo,id,expose}){const{options}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options,moduleInfo});let hostSnapshot=getGlobalSnapshotInfoByModuleInfo({name:this.HostInstance.options.name,version:this.HostInstance.options.version});if(!hostSnapshot){hostSnapshot={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}};addGlobalSnapshot({[this.HostInstance.options.name]:hostSnapshot})}if(hostSnapshot&&"remotesInfo"in hostSnapshot&&!getInfoWithoutType(hostSnapshot.remotesInfo,moduleInfo.name).value){if("version"in moduleInfo||"entry"in moduleInfo)hostSnapshot.remotesInfo=polyfills._extends({},null==hostSnapshot?void 0:hostSnapshot.remotesInfo,{[moduleInfo.name]:{matchedVersion:"version"in moduleInfo?moduleInfo.version:moduleInfo.entry}})}const{hostGlobalSnapshot,remoteSnapshot,globalSnapshot}=this.getGlobalRemoteInfo(moduleInfo);const{remoteSnapshot:globalRemoteSnapshot,globalSnapshot:globalSnapshotRes}=await this.hooks.lifecycle.loadSnapshot.emit({options,moduleInfo,hostGlobalSnapshot,remoteSnapshot,globalSnapshot});let mSnapshot;let gSnapshot;if(globalRemoteSnapshot)if(sdk.isManifestProvider(globalRemoteSnapshot)){const remoteEntry=sdk.isBrowserEnv()?globalRemoteSnapshot.remoteEntry:globalRemoteSnapshot.ssrRemoteEntry||globalRemoteSnapshot.remoteEntry||"";const moduleSnapshot=await this.getManifestJson(remoteEntry,moduleInfo,{});const globalSnapshotRes=setGlobalSnapshotInfoByModuleInfo(polyfills._extends({},moduleInfo,{entry:remoteEntry}),moduleSnapshot);mSnapshot=moduleSnapshot;gSnapshot=globalSnapshotRes}else{const{remoteSnapshot:remoteSnapshotRes}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo,remoteSnapshot:globalRemoteSnapshot,from:"global"});mSnapshot=remoteSnapshotRes;gSnapshot=globalSnapshotRes}else if(isRemoteInfoWithEntry(moduleInfo)){const moduleSnapshot=await this.getManifestJson(moduleInfo.entry,moduleInfo,{});const globalSnapshotRes=setGlobalSnapshotInfoByModuleInfo(moduleInfo,moduleSnapshot);const{remoteSnapshot:remoteSnapshotRes}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo,remoteSnapshot:moduleSnapshot,from:"global"});mSnapshot=remoteSnapshotRes;gSnapshot=globalSnapshotRes}else error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_007,errorCodes.runtimeDescMap,{hostName:moduleInfo.name,hostVersion:moduleInfo.version,globalSnapshot:JSON.stringify(globalSnapshotRes)}));await this.hooks.lifecycle.afterLoadSnapshot.emit({id,host:this.HostInstance,options,moduleInfo,remoteSnapshot:mSnapshot});return{remoteSnapshot:mSnapshot,globalSnapshot:gSnapshot}}getGlobalRemoteInfo(moduleInfo){return getGlobalRemoteInfo(moduleInfo,this.HostInstance)}async getManifestJson(manifestUrl,moduleInfo,extraOptions){const getManifest=async()=>{let manifestJson=this.manifestCache.get(manifestUrl);if(manifestJson)return manifestJson;try{let res=await this.loaderHook.lifecycle.fetch.emit(manifestUrl,{});if(!res||!(res instanceof Response))res=await fetch(manifestUrl,{});manifestJson=await res.json()}catch(err){manifestJson=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:manifestUrl,error:err,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance});if(!manifestJson){delete this.manifestLoading[manifestUrl];error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_003,errorCodes.runtimeDescMap,{manifestUrl,moduleName:moduleInfo.name,hostName:this.HostInstance.options.name},`${err}`))}}assert(manifestJson.metaData&&manifestJson.exposes&&manifestJson.shared,`${manifestUrl} is not a federation manifest`);this.manifestCache.set(manifestUrl,manifestJson);return manifestJson};const asyncLoadProcess=async()=>{const manifestJson=await getManifest();const remoteSnapshot=sdk.generateSnapshotFromManifest(manifestJson,{version:manifestUrl});const{remoteSnapshot:remoteSnapshotRes}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo,manifestJson,remoteSnapshot,manifestUrl,from:"manifest"});return remoteSnapshotRes};if(!this.manifestLoading[manifestUrl])this.manifestLoading[manifestUrl]=asyncLoadProcess().then(res=>res);return this.manifestLoading[manifestUrl]}constructor(HostInstance){this.loadingHostSnapshot=null;this.manifestCache=new Map;this.hooks=new PluginSystem({beforeLoadRemoteSnapshot:new AsyncHook("beforeLoadRemoteSnapshot"),loadSnapshot:new AsyncWaterfallHook("loadGlobalSnapshot"),loadRemoteSnapshot:new AsyncWaterfallHook("loadRemoteSnapshot"),afterLoadSnapshot:new AsyncWaterfallHook("afterLoadSnapshot")});this.manifestLoading=Global.__FEDERATION__.__MANIFEST_LOADING__;this.HostInstance=HostInstance;this.loaderHook=HostInstance.loaderHook}}class SharedHandler{registerShared(globalOptions,userOptions){const{shareInfos,shared}=formatShareConfigs(globalOptions,userOptions);const sharedKeys=Object.keys(shareInfos);sharedKeys.forEach(sharedKey=>{const sharedVals=shareInfos[sharedKey];sharedVals.forEach(sharedVal=>{const registeredShared=getRegisteredShare(this.shareScopeMap,sharedKey,sharedVal,this.hooks.lifecycle.resolveShare);if(!registeredShared&&sharedVal&&sharedVal.lib)this.setShared({pkgName:sharedKey,lib:sharedVal.lib,get:sharedVal.get,loaded:true,shared:sharedVal,from:userOptions.name})})});return{shareInfos,shared}}async loadShare(pkgName,extraOptions){const{host}=this;const shareInfo=getTargetSharedOptions({pkgName,extraOptions,shareInfos:host.options.shared});if(null==shareInfo?void 0:shareInfo.scope)await Promise.all(shareInfo.scope.map(async shareScope=>{await Promise.all(this.initializeSharing(shareScope,{strategy:shareInfo.strategy}))}));const loadShareRes=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName,shareInfo,shared:host.options.shared,origin:host});const{shareInfo:shareInfoRes}=loadShareRes;assert(shareInfoRes,`Cannot find ${pkgName} Share in the ${host.options.name}. Please ensure that the ${pkgName} Share parameters have been injected`);const registeredShared=getRegisteredShare(this.shareScopeMap,pkgName,shareInfoRes,this.hooks.lifecycle.resolveShare);const addUseIn=shared=>{if(!shared.useIn)shared.useIn=[];addUniqueItem(shared.useIn,host.options.name)};if(registeredShared&®isteredShared.lib){addUseIn(registeredShared);return registeredShared.lib}if(registeredShared&®isteredShared.loading&&!registeredShared.loaded){const factory=await registeredShared.loading;registeredShared.loaded=true;if(!registeredShared.lib)registeredShared.lib=factory;addUseIn(registeredShared);return factory}if(registeredShared){const asyncLoadProcess=async()=>{const factory=await registeredShared.get();shareInfoRes.lib=factory;shareInfoRes.loaded=true;addUseIn(shareInfoRes);const gShared=getRegisteredShare(this.shareScopeMap,pkgName,shareInfoRes,this.hooks.lifecycle.resolveShare);if(gShared){gShared.lib=factory;gShared.loaded=true;addUseIn(gShared)}return factory};const loading=asyncLoadProcess();this.setShared({pkgName,loaded:false,shared:registeredShared,from:host.options.name,lib:null,loading});return loading}{if(null==extraOptions?void 0:extraOptions.customShareInfo)return false;const asyncLoadProcess=async()=>{const factory=await shareInfoRes.get();shareInfoRes.lib=factory;shareInfoRes.loaded=true;addUseIn(shareInfoRes);const gShared=getRegisteredShare(this.shareScopeMap,pkgName,shareInfoRes,this.hooks.lifecycle.resolveShare);if(gShared){gShared.lib=factory;gShared.loaded=true}return factory};const loading=asyncLoadProcess();this.setShared({pkgName,loaded:false,shared:shareInfoRes,from:host.options.name,lib:null,loading});return loading}}initializeSharing(shareScopeName=DEFAULT_SCOPE,extraOptions){const{host}=this;const from=null==extraOptions?void 0:extraOptions.from;const strategy=null==extraOptions?void 0:extraOptions.strategy;let initScope=null==extraOptions?void 0:extraOptions.initScope;const promises=[];if("build"!==from){const{initTokens}=this;if(!initScope)initScope=[];let initToken=initTokens[shareScopeName];if(!initToken)initToken=initTokens[shareScopeName]={from:this.host.name};if(initScope.indexOf(initToken)>=0)return promises;initScope.push(initToken)}const shareScope=this.shareScopeMap;const hostName=host.options.name;if(!shareScope[shareScopeName])shareScope[shareScopeName]={};const scope=shareScope[shareScopeName];const register=(name,shared)=>{var _activeVersion_shareConfig;const{version,eager}=shared;scope[name]=scope[name]||{};const versions=scope[name];const activeVersion=versions[version];const activeVersionEager=Boolean(activeVersion&&(activeVersion.eager||(null==(_activeVersion_shareConfig=activeVersion.shareConfig)?void 0:_activeVersion_shareConfig.eager)));if(!activeVersion||"loaded-first"!==activeVersion.strategy&&!activeVersion.loaded&&(Boolean(!eager)!==!activeVersionEager?eager:hostName>activeVersion.from))versions[version]=shared};const initFn=mod=>mod&&mod.init&&mod.init(shareScope[shareScopeName],initScope);const initRemoteModule=async key=>{const{module}=await host.remoteHandler.getRemoteModuleAndOptions({id:key});if(module.getEntry){let remoteEntryExports;try{remoteEntryExports=await module.getEntry()}catch(error){remoteEntryExports=await host.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:key,error,from:"runtime",lifecycle:"beforeLoadShare",origin:host})}if(!module.inited){await initFn(remoteEntryExports);module.inited=true}}};Object.keys(host.options.shared).forEach(shareName=>{const sharedArr=host.options.shared[shareName];sharedArr.forEach(shared=>{if(shared.scope.includes(shareScopeName))register(shareName,shared)})});if("version-first"===host.options.shareStrategy||"version-first"===strategy)host.options.remotes.forEach(remote=>{if(remote.shareScope===shareScopeName)promises.push(initRemoteModule(remote.name))});return promises}loadShareSync(pkgName,extraOptions){const{host}=this;const shareInfo=getTargetSharedOptions({pkgName,extraOptions,shareInfos:host.options.shared});if(null==shareInfo?void 0:shareInfo.scope)shareInfo.scope.forEach(shareScope=>{this.initializeSharing(shareScope,{strategy:shareInfo.strategy})});const registeredShared=getRegisteredShare(this.shareScopeMap,pkgName,shareInfo,this.hooks.lifecycle.resolveShare);const addUseIn=shared=>{if(!shared.useIn)shared.useIn=[];addUniqueItem(shared.useIn,host.options.name)};if(registeredShared){if("function"==typeof registeredShared.lib){addUseIn(registeredShared);if(!registeredShared.loaded){registeredShared.loaded=true;if(registeredShared.from===host.options.name)shareInfo.loaded=true}return registeredShared.lib}if("function"==typeof registeredShared.get){const module=registeredShared.get();if(!(module instanceof Promise)){addUseIn(registeredShared);this.setShared({pkgName,loaded:true,from:host.options.name,lib:module,shared:registeredShared});return module}}}if(shareInfo.lib){if(!shareInfo.loaded)shareInfo.loaded=true;return shareInfo.lib}if(shareInfo.get){const module=shareInfo.get();if(module instanceof Promise){const errorCode=(null==extraOptions?void 0:extraOptions.from)==="build"?errorCodes.RUNTIME_005:errorCodes.RUNTIME_006;throw new Error(errorCodes.getShortErrorMsg(errorCode,errorCodes.runtimeDescMap,{hostName:host.options.name,sharedPkgName:pkgName}))}shareInfo.lib=module;this.setShared({pkgName,loaded:true,from:host.options.name,lib:shareInfo.lib,shared:shareInfo});return shareInfo.lib}throw new Error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_006,errorCodes.runtimeDescMap,{hostName:host.options.name,sharedPkgName:pkgName}))}initShareScopeMap(scopeName,shareScope,extraOptions={}){const{host}=this;this.shareScopeMap[scopeName]=shareScope;this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope,options:host.options,origin:host,scopeName,hostShareScopeMap:extraOptions.hostShareScopeMap})}setShared({pkgName,shared,from,lib,loading,loaded,get}){const{version,scope="default"}=shared,shareInfo=polyfills._object_without_properties_loose(shared,["version","scope"]);const scopes=Array.isArray(scope)?scope:[scope];scopes.forEach(sc=>{if(!this.shareScopeMap[sc])this.shareScopeMap[sc]={};if(!this.shareScopeMap[sc][pkgName])this.shareScopeMap[sc][pkgName]={};if(!this.shareScopeMap[sc][pkgName][version]){this.shareScopeMap[sc][pkgName][version]=polyfills._extends({version,scope:["default"]},shareInfo,{lib,loaded,loading});if(get)this.shareScopeMap[sc][pkgName][version].get=get;return}const registeredShared=this.shareScopeMap[sc][pkgName][version];if(loading&&!registeredShared.loading)registeredShared.loading=loading})}_setGlobalShareScopeMap(hostOptions){const globalShareScopeMap=getGlobalShareScope();const identifier=hostOptions.id||hostOptions.name;if(identifier&&!globalShareScopeMap[identifier])globalShareScopeMap[identifier]=this.shareScopeMap}constructor(host){this.hooks=new PluginSystem({afterResolve:new AsyncWaterfallHook("afterResolve"),beforeLoadShare:new AsyncWaterfallHook("beforeLoadShare"),loadShare:new AsyncHook,resolveShare:new SyncWaterfallHook("resolveShare"),initContainerShareScopeMap:new SyncWaterfallHook("initContainerShareScopeMap")});this.host=host;this.shareScopeMap={};this.initTokens={};this._setGlobalShareScopeMap(host.options)}}class RemoteHandler{formatAndRegisterRemote(globalOptions,userOptions){const userRemotes=userOptions.remotes||[];return userRemotes.reduce((res,remote)=>{this.registerRemote(remote,res,{force:false});return res},globalOptions.remotes)}setIdToRemoteMap(id,remoteMatchInfo){const{remote,expose}=remoteMatchInfo;const{name,alias}=remote;this.idToRemoteMap[id]={name:remote.name,expose};if(alias&&id.startsWith(name)){const idWithAlias=id.replace(name,alias);this.idToRemoteMap[idWithAlias]={name:remote.name,expose};return}if(alias&&id.startsWith(alias)){const idWithName=id.replace(alias,name);this.idToRemoteMap[idWithName]={name:remote.name,expose}}}async loadRemote(id,options){const{host}=this;try{const{loadFactory=true}=options||{loadFactory:true};const{module,moduleOptions,remoteMatchInfo}=await this.getRemoteModuleAndOptions({id});const{pkgNameOrAlias,remote,expose,id:idRes,remoteSnapshot}=remoteMatchInfo;const moduleOrFactory=await module.get(idRes,expose,options,remoteSnapshot);const moduleWrapper=await this.hooks.lifecycle.onLoad.emit({id:idRes,pkgNameOrAlias,expose,exposeModule:loadFactory?moduleOrFactory:void 0,exposeModuleFactory:loadFactory?void 0:moduleOrFactory,remote,options:moduleOptions,moduleInstance:module,origin:host});this.setIdToRemoteMap(id,remoteMatchInfo);if("function"==typeof moduleWrapper)return moduleWrapper;return moduleOrFactory}catch(error){const{from="runtime"}=options||{from:"runtime"};const failOver=await this.hooks.lifecycle.errorLoadRemote.emit({id,error,from,lifecycle:"onLoad",origin:host});if(!failOver)throw error;return failOver}}async preloadRemote(preloadOptions){const{host}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:preloadOptions,options:host.options,origin:host});const preloadOps=formatPreloadArgs(host.options.remotes,preloadOptions);await Promise.all(preloadOps.map(async ops=>{const{remote}=ops;const remoteInfo=getRemoteInfo(remote);const{globalSnapshot,remoteSnapshot}=await host.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:remote});const assets=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:host,preloadOptions:ops,remote,remoteInfo,globalSnapshot,remoteSnapshot});if(!assets)return;preloadAssets(remoteInfo,host,assets)}))}registerRemotes(remotes,options){const{host}=this;remotes.forEach(remote=>{this.registerRemote(remote,host.options.remotes,{force:null==options?void 0:options.force})})}async getRemoteModuleAndOptions(options){const{host}=this;const{id}=options;let loadRemoteArgs;try{loadRemoteArgs=await this.hooks.lifecycle.beforeRequest.emit({id,options:host.options,origin:host})}catch(error){loadRemoteArgs=await this.hooks.lifecycle.errorLoadRemote.emit({id,options:host.options,origin:host,from:"runtime",error,lifecycle:"beforeRequest"});if(!loadRemoteArgs)throw error}const{id:idRes}=loadRemoteArgs;const remoteSplitInfo=matchRemoteWithNameAndExpose(host.options.remotes,idRes);assert(remoteSplitInfo,errorCodes.getShortErrorMsg(errorCodes.RUNTIME_004,errorCodes.runtimeDescMap,{hostName:host.options.name,requestId:idRes}));const{remote:rawRemote}=remoteSplitInfo;const remoteInfo=getRemoteInfo(rawRemote);const matchInfo=await host.sharedHandler.hooks.lifecycle.afterResolve.emit(polyfills._extends({id:idRes},remoteSplitInfo,{options:host.options,origin:host,remoteInfo}));const{remote,expose}=matchInfo;assert(remote&&expose,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${idRes}.`);let module=host.moduleCache.get(remote.name);const moduleOptions={host:host,remoteInfo};if(!module){module=new Module(moduleOptions);host.moduleCache.set(remote.name,module)}return{module,moduleOptions,remoteMatchInfo:matchInfo}}registerRemote(remote,targetRemotes,options){const{host}=this;const normalizeRemote=()=>{if(remote.alias){const findEqual=targetRemotes.find(item=>{var _item_alias;return remote.alias&&(item.name.startsWith(remote.alias)||(null==(_item_alias=item.alias)?void 0:_item_alias.startsWith(remote.alias)))});assert(!findEqual,`The alias ${remote.alias} of remote ${remote.name} is not allowed to be the prefix of ${findEqual&&findEqual.name} name or alias`)}if("entry"in remote){if(sdk.isBrowserEnv()&&!remote.entry.startsWith("http"))remote.entry=new URL(remote.entry,window.location.origin).href}if(!remote.shareScope)remote.shareScope=DEFAULT_SCOPE;if(!remote.type)remote.type=DEFAULT_REMOTE_TYPE};this.hooks.lifecycle.beforeRegisterRemote.emit({remote,origin:host});const registeredRemote=targetRemotes.find(item=>item.name===remote.name);if(registeredRemote){const messages=[`The remote "${remote.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];if(null==options?void 0:options.force){this.removeRemote(registeredRemote);normalizeRemote();targetRemotes.push(remote);this.hooks.lifecycle.registerRemote.emit({remote,origin:host});sdk.warn(messages.join(" "))}}else{normalizeRemote();targetRemotes.push(remote);this.hooks.lifecycle.registerRemote.emit({remote,origin:host})}}removeRemote(remote){try{const{host}=this;const{name}=remote;const remoteIndex=host.options.remotes.findIndex(item=>item.name===name);if(-1!==remoteIndex)host.options.remotes.splice(remoteIndex,1);const loadedModule=host.moduleCache.get(remote.name);if(loadedModule){const remoteInfo=loadedModule.remoteInfo;const key=remoteInfo.entryGlobalName;if(CurrentGlobal[key]){var _Object_getOwnPropertyDescriptor;if(null==(_Object_getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor(CurrentGlobal,key))?void 0:_Object_getOwnPropertyDescriptor.configurable)delete CurrentGlobal[key];else CurrentGlobal[key]=void 0}const remoteEntryUniqueKey=getRemoteEntryUniqueKey(loadedModule.remoteInfo);if(globalLoading[remoteEntryUniqueKey])delete globalLoading[remoteEntryUniqueKey];host.snapshotHandler.manifestCache.delete(remoteInfo.entry);let remoteInsId=remoteInfo.buildVersion?sdk.composeKeyWithSeparator(remoteInfo.name,remoteInfo.buildVersion):remoteInfo.name;const remoteInsIndex=CurrentGlobal.__FEDERATION__.__INSTANCES__.findIndex(ins=>{if(remoteInfo.buildVersion)return ins.options.id===remoteInsId;return ins.name===remoteInsId});if(-1!==remoteInsIndex){const remoteIns=CurrentGlobal.__FEDERATION__.__INSTANCES__[remoteInsIndex];remoteInsId=remoteIns.options.id||remoteInsId;const globalShareScopeMap=getGlobalShareScope();let isAllSharedNotUsed=true;const needDeleteKeys=[];Object.keys(globalShareScopeMap).forEach(instId=>{const shareScopeMap=globalShareScopeMap[instId];shareScopeMap&&Object.keys(shareScopeMap).forEach(shareScope=>{const shareScopeVal=shareScopeMap[shareScope];shareScopeVal&&Object.keys(shareScopeVal).forEach(shareName=>{const sharedPkgs=shareScopeVal[shareName];sharedPkgs&&Object.keys(sharedPkgs).forEach(shareVersion=>{const shared=sharedPkgs[shareVersion];if(shared&&"object"==typeof shared&&shared.from===remoteInfo.name)if(shared.loaded||shared.loading){shared.useIn=shared.useIn.filter(usedHostName=>usedHostName!==remoteInfo.name);if(shared.useIn.length)isAllSharedNotUsed=false;else needDeleteKeys.push([instId,shareScope,shareName,shareVersion])}else needDeleteKeys.push([instId,shareScope,shareName,shareVersion])})})})});if(isAllSharedNotUsed){remoteIns.shareScopeMap={};delete globalShareScopeMap[remoteInsId]}needDeleteKeys.forEach(([insId,shareScope,shareName,shareVersion])=>{var _globalShareScopeMap_insId_shareScope_shareName,_globalShareScopeMap_insId_shareScope,_globalShareScopeMap_insId;null==(_globalShareScopeMap_insId=globalShareScopeMap[insId])||null==(_globalShareScopeMap_insId_shareScope=_globalShareScopeMap_insId[shareScope])||null==(_globalShareScopeMap_insId_shareScope_shareName=_globalShareScopeMap_insId_shareScope[shareName])||delete _globalShareScopeMap_insId_shareScope_shareName[shareVersion]});CurrentGlobal.__FEDERATION__.__INSTANCES__.splice(remoteInsIndex,1)}const{hostGlobalSnapshot}=getGlobalRemoteInfo(remote,host);if(hostGlobalSnapshot){const remoteKey=hostGlobalSnapshot&&"remotesInfo"in hostGlobalSnapshot&&hostGlobalSnapshot.remotesInfo&&getInfoWithoutType(hostGlobalSnapshot.remotesInfo,remote.name).key;if(remoteKey){delete hostGlobalSnapshot.remotesInfo[remoteKey];if(Boolean(Global.__FEDERATION__.__MANIFEST_LOADING__[remoteKey]))delete Global.__FEDERATION__.__MANIFEST_LOADING__[remoteKey]}}host.moduleCache.delete(remote.name)}}catch(err){logger.log("removeRemote fail: ",err)}}constructor(host){this.hooks=new PluginSystem({beforeRegisterRemote:new SyncWaterfallHook("beforeRegisterRemote"),registerRemote:new SyncWaterfallHook("registerRemote"),beforeRequest:new AsyncWaterfallHook("beforeRequest"),onLoad:new AsyncHook("onLoad"),handlePreloadModule:new SyncHook("handlePreloadModule"),errorLoadRemote:new AsyncHook("errorLoadRemote"),beforePreloadRemote:new AsyncHook("beforePreloadRemote"),generatePreloadAssets:new AsyncHook("generatePreloadAssets"),afterPreloadRemote:new AsyncHook,loadEntry:new AsyncHook});this.host=host;this.idToRemoteMap={}}}const USE_SNAPSHOT=true;class ModuleFederation{initOptions(userOptions){this.registerPlugins(userOptions.plugins);const options=this.formatOptions(this.options,userOptions);this.options=options;return options}async loadShare(pkgName,extraOptions){return this.sharedHandler.loadShare(pkgName,extraOptions)}loadShareSync(pkgName,extraOptions){return this.sharedHandler.loadShareSync(pkgName,extraOptions)}initializeSharing(shareScopeName=DEFAULT_SCOPE,extraOptions){return this.sharedHandler.initializeSharing(shareScopeName,extraOptions)}initRawContainer(name,url,container){const remoteInfo=getRemoteInfo({name,entry:url});const module=new Module({host:this,remoteInfo});module.remoteEntryExports=container;this.moduleCache.set(name,module);return module}async loadRemote(id,options){return this.remoteHandler.loadRemote(id,options)}async preloadRemote(preloadOptions){return this.remoteHandler.preloadRemote(preloadOptions)}initShareScopeMap(scopeName,shareScope,extraOptions={}){this.sharedHandler.initShareScopeMap(scopeName,shareScope,extraOptions)}formatOptions(globalOptions,userOptions){const{shared}=formatShareConfigs(globalOptions,userOptions);const{userOptions:userOptionsRes,options:globalOptionsRes}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions,options:globalOptions,shareInfo:shared});const remotes=this.remoteHandler.formatAndRegisterRemote(globalOptionsRes,userOptionsRes);const{shared:handledShared}=this.sharedHandler.registerShared(globalOptionsRes,userOptionsRes);const plugins=[...globalOptionsRes.plugins];if(userOptionsRes.plugins)userOptionsRes.plugins.forEach(plugin=>{if(!plugins.includes(plugin))plugins.push(plugin)});const optionsRes=polyfills._extends({},globalOptions,userOptions,{plugins,remotes,shared:handledShared});this.hooks.lifecycle.init.emit({origin:this,options:optionsRes});return optionsRes}registerPlugins(plugins){const pluginRes=registerPlugins(plugins,this);this.options.plugins=this.options.plugins.reduce((res,plugin)=>{if(!plugin)return res;if(res&&!res.find(item=>item.name===plugin.name))res.push(plugin);return res},pluginRes||[])}registerRemotes(remotes,options){return this.remoteHandler.registerRemotes(remotes,options)}registerShared(shared){this.sharedHandler.registerShared(this.options,polyfills._extends({},this.options,{shared}))}constructor(userOptions){this.hooks=new PluginSystem({beforeInit:new SyncWaterfallHook("beforeInit"),init:new SyncHook,beforeInitContainer:new AsyncWaterfallHook("beforeInitContainer"),initContainer:new AsyncWaterfallHook("initContainer")});this.version="0.17.1";this.moduleCache=new Map;this.loaderHook=new PluginSystem({getModuleInfo:new SyncHook,createScript:new SyncHook,createLink:new SyncHook,fetch:new AsyncHook,loadEntryError:new AsyncHook,getModuleFactory:new AsyncHook});this.bridgeHook=new PluginSystem({beforeBridgeRender:new SyncHook,afterBridgeRender:new SyncHook,beforeBridgeDestroy:new SyncHook,afterBridgeDestroy:new SyncHook});const plugins=USE_SNAPSHOT?[snapshotPlugin(),generatePreloadAssetsPlugin()]:[];const defaultOptions={id:getBuilderId(),name:userOptions.name,plugins,remotes:[],shared:{},inBrowser:sdk.isBrowserEnv()};this.name=userOptions.name;this.options=defaultOptions;this.snapshotHandler=new SnapshotHandler(this);this.sharedHandler=new SharedHandler(this);this.remoteHandler=new RemoteHandler(this);this.shareScopeMap=this.sharedHandler.shareScopeMap;this.registerPlugins([...defaultOptions.plugins,...userOptions.plugins||[]]);this.options=this.formatOptions(defaultOptions,userOptions)}}var index=/*#__PURE__*/Object.freeze({__proto__:null});exports.loadScript=sdk.loadScript;exports.loadScriptNode=sdk.loadScriptNode;exports.CurrentGlobal=CurrentGlobal;exports.Global=Global;exports.Module=Module;exports.ModuleFederation=ModuleFederation;exports.addGlobalSnapshot=addGlobalSnapshot;exports.assert=assert;exports.getGlobalFederationConstructor=getGlobalFederationConstructor;exports.getGlobalSnapshot=getGlobalSnapshot;exports.getInfoWithoutType=getInfoWithoutType;exports.getRegisteredShare=getRegisteredShare;exports.getRemoteEntry=getRemoteEntry;exports.getRemoteInfo=getRemoteInfo;exports.helpers=helpers;exports.isStaticResourcesEqual=isStaticResourcesEqual;exports.matchRemoteWithNameAndExpose=matchRemoteWithNameAndExpose;exports.registerGlobalPlugins=registerGlobalPlugins;exports.resetFederationGlobalInfo=resetFederationGlobalInfo;exports.safeWrapper=safeWrapper;exports.satisfy=satisfy;exports.setGlobalFederationConstructor=setGlobalFederationConstructor;exports.setGlobalFederationInstance=setGlobalFederationInstance;exports.types=index},4538:function(__unused_webpack_module,exports){function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)if(Object.prototype.hasOwnProperty.call(source,key))target[key]=source[key]}return target};return _extends.apply(this,arguments)}function _object_without_properties_loose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(!(excluded.indexOf(key)>=0))target[key]=source[key]}return target}exports._extends=_extends;exports._object_without_properties_loose=_object_without_properties_loose},3364:function(__unused_webpack_module,exports,__webpack_require__){var runtimeCore=__webpack_require__(2921);var errorCodes=__webpack_require__(8051);var utils=__webpack_require__(1858);function createInstance(options){const ModuleFederationConstructor=runtimeCore.getGlobalFederationConstructor()||runtimeCore.ModuleFederation;return new ModuleFederationConstructor(options)}let FederationInstance=null;function init(options){const instance=utils.getGlobalFederationInstance(options.name,options.version);if(instance){instance.initOptions(options);if(!FederationInstance)FederationInstance=instance;return instance}FederationInstance=createInstance(options);runtimeCore.setGlobalFederationInstance(FederationInstance);return FederationInstance}function loadRemote(...args){runtimeCore.assert(FederationInstance,errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009,errorCodes.runtimeDescMap));const loadRemote1=FederationInstance.loadRemote;return loadRemote1.apply(FederationInstance,args)}function loadShare(...args){runtimeCore.assert(FederationInstance,errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009,errorCodes.runtimeDescMap));const loadShare1=FederationInstance.loadShare;return loadShare1.apply(FederationInstance,args)}function loadShareSync(...args){runtimeCore.assert(FederationInstance,errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009,errorCodes.runtimeDescMap));const loadShareSync1=FederationInstance.loadShareSync;return loadShareSync1.apply(FederationInstance,args)}function preloadRemote(...args){runtimeCore.assert(FederationInstance,errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009,errorCodes.runtimeDescMap));return FederationInstance.preloadRemote.apply(FederationInstance,args)}function registerRemotes(...args){runtimeCore.assert(FederationInstance,errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009,errorCodes.runtimeDescMap));return FederationInstance.registerRemotes.apply(FederationInstance,args)}function registerPlugins(...args){runtimeCore.assert(FederationInstance,errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009,errorCodes.runtimeDescMap));return FederationInstance.registerPlugins.apply(FederationInstance,args)}function getInstance(){return FederationInstance}function registerShared(...args){runtimeCore.assert(FederationInstance,errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009,errorCodes.runtimeDescMap));return FederationInstance.registerShared.apply(FederationInstance,args)}runtimeCore.setGlobalFederationConstructor(runtimeCore.ModuleFederation);exports.Module=runtimeCore.Module;exports.ModuleFederation=runtimeCore.ModuleFederation;exports.getRemoteEntry=runtimeCore.getRemoteEntry;exports.getRemoteInfo=runtimeCore.getRemoteInfo;exports.loadScript=runtimeCore.loadScript;exports.loadScriptNode=runtimeCore.loadScriptNode;exports.registerGlobalPlugins=runtimeCore.registerGlobalPlugins;exports.createInstance=createInstance;exports.getInstance=getInstance;exports.init=init;exports.loadRemote=loadRemote;exports.loadShare=loadShare;exports.loadShareSync=loadShareSync;exports.preloadRemote=preloadRemote;exports.registerPlugins=registerPlugins;exports.registerRemotes=registerRemotes;exports.registerShared=registerShared},1858:function(__unused_webpack_module,exports,__webpack_require__){var runtimeCore=__webpack_require__(2921);function getBuilderId(){return"integrations_app:0.1.0"}function getGlobalFederationInstance(name,version){const buildId=getBuilderId();return runtimeCore.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(GMInstance=>{if(buildId&&GMInstance.options.id===buildId)return true;if(GMInstance.options.name===name&&!GMInstance.options.version&&!version)return true;if(GMInstance.options.name===name&&version&&GMInstance.options.version===version)return true;return false})}exports.getGlobalFederationInstance=getGlobalFederationInstance},1322:function(__unused_webpack_module,exports,__webpack_require__){var polyfills=__webpack_require__(5877);const FederationModuleManifest="federation-manifest.json";const MANIFEST_EXT=".json";const BROWSER_LOG_KEY="FEDERATION_DEBUG";const NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"};const NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"};const EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH};const SEPARATOR=":";const ManifestFileName="mf-manifest.json";const StatsFileName="mf-stats.json";const MFModuleType={NPM:"npm",APP:"app"};const MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__";const ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX";const TEMP_DIR=".federation";const MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=/*#__PURE__*/Object.freeze({__proto__:null});var ContainerReferencePlugin=/*#__PURE__*/Object.freeze({__proto__:null});var ModuleFederationPlugin=/*#__PURE__*/Object.freeze({__proto__:null});var SharePlugin=/*#__PURE__*/Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var _navigator;return"undefined"!=typeof navigator&&(null==(_navigator=navigator)?void 0:_navigator.product)==="ReactNative"}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return Boolean(localStorage.getItem(BROWSER_LOG_KEY))}catch(error1){}return false}function isDebugMode(){if("undefined"!=typeof process&&process.env&&process.env["FEDERATION_DEBUG"])return Boolean(process.env["FEDERATION_DEBUG"]);if("undefined"!=typeof FEDERATION_DEBUG&&Boolean(FEDERATION_DEBUG))return true;return isBrowserDebug()}const getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}};const LOG_CATEGORY="[ Federation Runtime ]";const parseEntry=(str,devVerOrUrl,separator=SEPARATOR)=>{const strSplit=str.split(separator);const devVersionOrUrl="development"===getProcessEnv()["NODE_ENV"]&&devVerOrUrl;const defaultVersion="*";const isEntry=s=>s.startsWith("http")||s.includes(MANIFEST_EXT);if(strSplit.length>=2){let[name,...versionOrEntryArr]=strSplit;if(str.startsWith(separator)){name=strSplit.slice(0,2).join(separator);versionOrEntryArr=[devVersionOrUrl||strSplit.slice(2).join(separator)]}let versionOrEntry=devVersionOrUrl||versionOrEntryArr.join(separator);if(isEntry(versionOrEntry))return{name,entry:versionOrEntry};return{name,version:versionOrEntry||defaultVersion}}if(1===strSplit.length){const[name]=strSplit;if(devVersionOrUrl&&isEntry(devVersionOrUrl))return{name,entry:devVersionOrUrl};return{name,version:devVersionOrUrl||defaultVersion}}throw`Invalid entry value: ${str}`};const composeKeyWithSeparator=function(...args){if(!args.length)return"";return args.reduce((sum,cur)=>{if(!cur)return sum;if(!sum)return cur;return`${sum}${SEPARATOR}${cur}`},"")};const encodeName=function(name,prefix="",withExt=false){try{const ext=withExt?".js":"";return`${prefix}${name.replace(new RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(new RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(new RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${ext}`}catch(err){throw err}};const decodeName=function(name,prefix,withExt){try{let decodedName=name;if(prefix){if(!decodedName.startsWith(prefix))return decodedName;decodedName=decodedName.replace(new RegExp(prefix,"g"),"")}decodedName=decodedName.replace(new RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(new RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(new RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]);if(withExt)decodedName=decodedName.replace(".js","");return decodedName}catch(err){throw err}};const generateExposeFilename=(exposeName,withExt)=>{if(!exposeName)return"";let expose=exposeName;if("."===expose)expose="default_export";if(expose.startsWith("./"))expose=expose.replace("./","");return encodeName(expose,"__federation_expose_",withExt)};const generateShareFilename=(pkgName,withExt)=>{if(!pkgName)return"";return encodeName(pkgName,"__federation_shared_",withExt)};const getResourceUrl=(module,sourceUrl)=>{if("getPublicPath"in module){let publicPath;publicPath=module.getPublicPath.startsWith("function")?new Function("return "+module.getPublicPath)()():new Function(module.getPublicPath)();return`${publicPath}${sourceUrl}`}if("publicPath"in module){if(!isBrowserEnv()&&!isReactNativeEnv()&&"ssrPublicPath"in module)return`${module.ssrPublicPath}${sourceUrl}`;return`${module.publicPath}${sourceUrl}`}console.warn("Cannot get resource URL. If in debug mode, please ignore.",module,sourceUrl);return""};const assert=(condition,msg)=>{if(!condition)error(msg)};const error=msg=>{throw new Error(`${LOG_CATEGORY}: ${msg}`)};const warn=msg=>{console.warn(`${LOG_CATEGORY}: ${msg}`)};function safeToString(info){try{return JSON.stringify(info,null,2)}catch(e){return""}}const VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(str){return VERSION_PATTERN_REGEXP.test(str)}const simpleJoinRemoteEntry=(rPath,rName)=>{if(!rPath)return rName;const transformPath=str=>{if("."===str)return"";if(str.startsWith("./"))return str.replace("./","");if(str.startsWith("/")){const strWithoutSlash=str.slice(1);if(strWithoutSlash.endsWith("/"))return strWithoutSlash.slice(0,-1);return strWithoutSlash}return str};const transformedPath=transformPath(rPath);if(!transformedPath)return rName;if(transformedPath.endsWith("/"))return`${transformedPath}${rName}`;return`${transformedPath}/${rName}`};function inferAutoPublicPath(url){return url.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(manifest,options={}){var _manifest_metaData,_manifest_metaData1;const{remotes={},overrides={},version}=options;let remoteSnapshot;const getPublicPath=()=>{if(!("publicPath"in manifest.metaData))return manifest.metaData.getPublicPath;if("auto"===manifest.metaData.publicPath&&version)return inferAutoPublicPath(version);return manifest.metaData.publicPath};const overridesKeys=Object.keys(overrides);let remotesInfo={};if(!Object.keys(remotes).length){var _manifest_remotes;remotesInfo=(null==(_manifest_remotes=manifest.remotes)?void 0:_manifest_remotes.reduce((res,next)=>{let matchedVersion;const name=next.federationContainerName;matchedVersion=overridesKeys.includes(name)?overrides[name]:"version"in next?next.version:next.entry;res[name]={matchedVersion};return res},{}))||{}}Object.keys(remotes).forEach(key=>remotesInfo[key]={matchedVersion:overridesKeys.includes(key)?overrides[key]:remotes[key]});const{remoteEntry:{path:remoteEntryPath,name:remoteEntryName,type:remoteEntryType},types:remoteTypes,buildInfo:{buildVersion},globalName,ssrRemoteEntry}=manifest.metaData;const{exposes}=manifest;let basicRemoteSnapshot={version:version?version:"",buildVersion,globalName,remoteEntry:simpleJoinRemoteEntry(remoteEntryPath,remoteEntryName),remoteEntryType,remoteTypes:simpleJoinRemoteEntry(remoteTypes.path,remoteTypes.name),remoteTypesZip:remoteTypes.zip||"",remoteTypesAPI:remoteTypes.api||"",remotesInfo,shared:null==manifest?void 0:manifest.shared.map(item=>({assets:item.assets,sharedName:item.name,version:item.version})),modules:null==exposes?void 0:exposes.map(expose=>({moduleName:expose.name,modulePath:expose.path,assets:expose.assets}))};if(null==(_manifest_metaData=manifest.metaData)?void 0:_manifest_metaData.prefetchInterface){const prefetchInterface=manifest.metaData.prefetchInterface;basicRemoteSnapshot=polyfills._({},basicRemoteSnapshot,{prefetchInterface})}if(null==(_manifest_metaData1=manifest.metaData)?void 0:_manifest_metaData1.prefetchEntry){const{path,name,type}=manifest.metaData.prefetchEntry;basicRemoteSnapshot=polyfills._({},basicRemoteSnapshot,{prefetchEntry:simpleJoinRemoteEntry(path,name),prefetchEntryType:type})}remoteSnapshot="publicPath"in manifest.metaData?polyfills._({},basicRemoteSnapshot,{publicPath:getPublicPath(),ssrPublicPath:manifest.metaData.ssrPublicPath}):polyfills._({},basicRemoteSnapshot,{getPublicPath:getPublicPath()});if(ssrRemoteEntry){const fullSSRRemoteEntry=simpleJoinRemoteEntry(ssrRemoteEntry.path,ssrRemoteEntry.name);remoteSnapshot.ssrRemoteEntry=fullSSRRemoteEntry;remoteSnapshot.ssrRemoteEntryType=ssrRemoteEntry.type||"commonjs-module"}return remoteSnapshot}function isManifestProvider(moduleInfo){if("remoteEntry"in moduleInfo&&moduleInfo.remoteEntry.includes(MANIFEST_EXT))return true;return false}const PREFIX="[ Module Federation ]";let Logger=class{setPrefix(prefix){this.prefix=prefix}log(...args){console.log(this.prefix,...args)}warn(...args){console.log(this.prefix,...args)}error(...args){console.log(this.prefix,...args)}success(...args){console.log(this.prefix,...args)}info(...args){console.log(this.prefix,...args)}ready(...args){console.log(this.prefix,...args)}debug(...args){if(isDebugMode())console.log(this.prefix,...args)}constructor(prefix){this.prefix=prefix}};function createLogger(prefix){return new Logger(prefix)}const logger=createLogger(PREFIX);async function safeWrapper(callback,disableWarn){try{const res=await callback();return res}catch(e){disableWarn||warn(e);return}}function isStaticResourcesEqual(url1,url2){const REG_EXP=/^(https?:)?\/\//i;const relativeUrl1=url1.replace(REG_EXP,"").replace(/\/$/,"");const relativeUrl2=url2.replace(REG_EXP,"").replace(/\/$/,"");return relativeUrl1===relativeUrl2}function createScript(info){let script=null;let needAttach=true;let timeout=2e4;let timeoutId;const scripts=document.getElementsByTagName("script");for(let i=0;i<scripts.length;i++){const s=scripts[i];const scriptSrc=s.getAttribute("src");if(scriptSrc&&isStaticResourcesEqual(scriptSrc,info.url)){script=s;needAttach=false;break}}if(!script){const attrs=info.attrs;script=document.createElement("script");script.type=(null==attrs?void 0:attrs["type"])==="module"?"module":"text/javascript";let createScriptRes;if(info.createScriptHook){createScriptRes=info.createScriptHook(info.url,info.attrs);if(createScriptRes instanceof HTMLScriptElement)script=createScriptRes;else if("object"==typeof createScriptRes){if("script"in createScriptRes&&createScriptRes.script)script=createScriptRes.script;if("timeout"in createScriptRes&&createScriptRes.timeout)timeout=createScriptRes.timeout}}if(!script.src)script.src=info.url;if(attrs&&!createScriptRes)Object.keys(attrs).forEach(name=>{if(script){if("async"===name||"defer"===name)script[name]=attrs[name];else if(!script.getAttribute(name))script.setAttribute(name,attrs[name])}})}const onScriptComplete=async(prev,event)=>{clearTimeout(timeoutId);const onScriptCompleteCallback=()=>{if((null==event?void 0:event.type)==="error")(null==info?void 0:info.onErrorCallback)&&(null==info||info.onErrorCallback(event));else(null==info?void 0:info.cb)&&(null==info||info.cb())};if(script){script.onerror=null;script.onload=null;safeWrapper(()=>{const{needDeleteScript=true}=info;if(needDeleteScript)(null==script?void 0:script.parentNode)&&script.parentNode.removeChild(script)});if(prev&&"function"==typeof prev){const result=prev(event);if(result instanceof Promise){const res=await result;onScriptCompleteCallback();return res}onScriptCompleteCallback();return result}}onScriptCompleteCallback()};script.onerror=onScriptComplete.bind(null,script.onerror);script.onload=onScriptComplete.bind(null,script.onload);timeoutId=setTimeout(()=>{onScriptComplete(null,new Error(`Remote script "${info.url}" time-outed.`))},timeout);return{script,needAttach}}function createLink(info){let link=null;let needAttach=true;const links=document.getElementsByTagName("link");for(let i=0;i<links.length;i++){const l=links[i];const linkHref=l.getAttribute("href");const linkRel=l.getAttribute("rel");if(linkHref&&isStaticResourcesEqual(linkHref,info.url)&&linkRel===info.attrs["rel"]){link=l;needAttach=false;break}}if(!link){link=document.createElement("link");link.setAttribute("href",info.url);let createLinkRes;const attrs=info.attrs;if(info.createLinkHook){createLinkRes=info.createLinkHook(info.url,attrs);if(createLinkRes instanceof HTMLLinkElement)link=createLinkRes}if(attrs&&!createLinkRes)Object.keys(attrs).forEach(name=>{if(link&&!link.getAttribute(name))link.setAttribute(name,attrs[name])})}const onLinkComplete=(prev,event)=>{const onLinkCompleteCallback=()=>{if((null==event?void 0:event.type)==="error")(null==info?void 0:info.onErrorCallback)&&(null==info||info.onErrorCallback(event));else(null==info?void 0:info.cb)&&(null==info||info.cb())};if(link){link.onerror=null;link.onload=null;safeWrapper(()=>{const{needDeleteLink=true}=info;if(needDeleteLink)(null==link?void 0:link.parentNode)&&link.parentNode.removeChild(link)});if(prev){const res=prev(event);onLinkCompleteCallback();return res}}onLinkCompleteCallback()};link.onerror=onLinkComplete.bind(null,link.onerror);link.onload=onLinkComplete.bind(null,link.onload);return{link,needAttach}}function loadScript(url,info){const{attrs={},createScriptHook}=info;return new Promise((resolve,reject)=>{const{script,needAttach}=createScript({url,cb:resolve,onErrorCallback:reject,attrs:polyfills._({fetchpriority:"high"},attrs),createScriptHook,needDeleteScript:true});needAttach&&document.head.appendChild(script)})}function importNodeModule(name){if(!name)throw new Error("import specifier is required");const importModule=new Function("name","return import(name)");return importModule(name).then(res=>res).catch(error1=>{console.error(`Error importing module ${name}:`,error1);throw error1})}const loadNodeFetch=async()=>{const fetchModule=await importNodeModule("node-fetch");return fetchModule.default||fetchModule};const lazyLoaderHookFetch=async(input,init,loaderHook)=>{const hook=(url,init)=>loaderHook.lifecycle.fetch.emit(url,init);const res=await hook(input,init||{});if(!res||!(res instanceof Response)){const fetchFunction="undefined"==typeof fetch?await loadNodeFetch():fetch;return fetchFunction(input,init||{})}return res};const createScriptNode="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(url,cb,attrs,loaderHook)=>{if(null==loaderHook?void 0:loaderHook.createScriptHook){const hookResult=loaderHook.createScriptHook(url);if(hookResult&&"object"==typeof hookResult&&"url"in hookResult)url=hookResult.url}let urlObj;try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e);cb(new Error(`Invalid URL: ${e}`));return}const getFetch=async()=>{if(null==loaderHook?void 0:loaderHook.fetch)return(input,init)=>lazyLoaderHookFetch(input,init,loaderHook);return"undefined"==typeof fetch?loadNodeFetch():fetch};const handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants;const res=await f(urlObj.href);const data=await res.text();const[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]);const scriptContext={exports:{},module:{exports:{}}};const urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/");const filename=path.basename(urlObj.pathname);var _vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;const script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}
|
|
29
|
+
})`,{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);const exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs["globalName"]){const container=exportedInterface[attrs["globalName"]]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:new Error(`Script execution error: ${e}`))}};getFetch().then(async f=>{if((null==attrs?void 0:attrs["type"])==="esm"||(null==attrs?void 0:attrs["type"])==="module")return loadModule(urlObj.href,{fetch:f,vm:await importNodeModule("vm")}).then(async module=>{await module.evaluate();cb(void 0,module.namespace)}).catch(e=>{cb(e instanceof Error?e:new Error(`Script execution error: ${e}`))});handleScriptFetch(f,urlObj)}).catch(err=>{cb(err)})}:(url,cb,attrs,loaderHook)=>{cb(new Error("createScriptNode is disabled in non-Node.js environment"))};const loadScriptNode="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(url,info)=>new Promise((resolve,reject)=>{createScriptNode(url,(error1,scriptContext)=>{if(error1)reject(error1);else{var _info_attrs,_info_attrs1;const remoteEntryKey=(null==info?void 0:null==(_info_attrs=info.attrs)?void 0:_info_attrs["globalName"])||`__FEDERATION_${null==info?void 0:null==(_info_attrs1=info.attrs)?void 0:_info_attrs1["name"]}:custom__`;const entryExports=globalThis[remoteEntryKey]=scriptContext;resolve(entryExports)}},info.attrs,info.loaderHook)}):(url,info)=>{throw new Error("loadScriptNode is disabled in non-Node.js environment")};async function loadModule(url,options){const{fetch:fetch1,vm}=options;const response=await fetch1(url);const code=await response.text();const module=new vm.SourceTextModule(code,{importModuleDynamically:async(specifier,script)=>{const resolvedUrl=new URL(specifier,url).href;return loadModule(resolvedUrl,options)}});await module.link(async specifier=>{const resolvedUrl=new URL(specifier,url).href;const module=await loadModule(resolvedUrl,options);return module});return module}function normalizeOptions(enableDefault,defaultOptions,key){return function(options){if(false===options)return false;if(void 0===options)if(enableDefault)return defaultOptions;else return false;if(true===options)return defaultOptions;if(options&&"object"==typeof options)return polyfills._({},defaultOptions,options);throw new Error(`Unexpected type for \`${key}\`, expect boolean/undefined/object, got: ${typeof options}`)}}const createModuleFederationConfig=options=>options;exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY;exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX;exports.EncodedNameTransformMap=EncodedNameTransformMap;exports.FederationModuleManifest=FederationModuleManifest;exports.MANIFEST_EXT=MANIFEST_EXT;exports.MFModuleType=MFModuleType;exports.MFPrefetchCommon=MFPrefetchCommon;exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER;exports.ManifestFileName=ManifestFileName;exports.NameTransformMap=NameTransformMap;exports.NameTransformSymbol=NameTransformSymbol;exports.SEPARATOR=SEPARATOR;exports.StatsFileName=StatsFileName;exports.TEMP_DIR=TEMP_DIR;exports.assert=assert;exports.composeKeyWithSeparator=composeKeyWithSeparator;exports.containerPlugin=ContainerPlugin;exports.containerReferencePlugin=ContainerReferencePlugin;exports.createLink=createLink;exports.createLogger=createLogger;exports.createModuleFederationConfig=createModuleFederationConfig;exports.createScript=createScript;exports.createScriptNode=createScriptNode;exports.decodeName=decodeName;exports.encodeName=encodeName;exports.error=error;exports.generateExposeFilename=generateExposeFilename;exports.generateShareFilename=generateShareFilename;exports.generateSnapshotFromManifest=generateSnapshotFromManifest;exports.getProcessEnv=getProcessEnv;exports.getResourceUrl=getResourceUrl;exports.inferAutoPublicPath=inferAutoPublicPath;exports.isBrowserEnv=isBrowserEnv;exports.isDebugMode=isDebugMode;exports.isManifestProvider=isManifestProvider;exports.isReactNativeEnv=isReactNativeEnv;exports.isRequiredVersion=isRequiredVersion;exports.isStaticResourcesEqual=isStaticResourcesEqual;exports.loadScript=loadScript;exports.loadScriptNode=loadScriptNode;exports.logger=logger;exports.moduleFederationPlugin=ModuleFederationPlugin;exports.normalizeOptions=normalizeOptions;exports.parseEntry=parseEntry;exports.safeToString=safeToString;exports.safeWrapper=safeWrapper;exports.sharePlugin=SharePlugin;exports.simpleJoinRemoteEntry=simpleJoinRemoteEntry;exports.warn=warn},5877:function(__unused_webpack_module,exports){function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)if(Object.prototype.hasOwnProperty.call(source,key))target[key]=source[key]}return target};return _extends.apply(this,arguments)}exports._=_extends},3510:function(__unused_webpack_module,exports){const FEDERATION_SUPPORTED_TYPES=["script"];exports.FEDERATION_SUPPORTED_TYPES=FEDERATION_SUPPORTED_TYPES},950:function(module,__unused_webpack_exports,__webpack_require__){var runtime=__webpack_require__(3364);var constant=__webpack_require__(3510);var sdk=__webpack_require__(1322);function _interopNamespaceDefault(e){var n=Object.create(null);if(e)for(var k in e)n[k]=e[k];n.default=e;return Object.freeze(n)}var runtime__namespace=/*#__PURE__*/_interopNamespaceDefault(runtime);function attachShareScopeMap(webpackRequire){if(!webpackRequire.S||webpackRequire.federation.hasAttachShareScopeMap||!webpackRequire.federation.instance||!webpackRequire.federation.instance.shareScopeMap)return;webpackRequire.S=webpackRequire.federation.instance.shareScopeMap;webpackRequire.federation.hasAttachShareScopeMap=true}function remotes(options){const{chunkId,promises,chunkMapping,idToExternalAndNameMapping,webpackRequire,idToRemoteMap}=options;attachShareScopeMap(webpackRequire);if(webpackRequire.o(chunkMapping,chunkId))chunkMapping[chunkId].forEach(id=>{let getScope=webpackRequire.R;if(!getScope)getScope=[];const data=idToExternalAndNameMapping[id];const remoteInfos=idToRemoteMap[id];if(getScope.indexOf(data)>=0)return;getScope.push(data);if(data.p)return promises.push(data.p);const onError=error=>{if(!error)error=new Error("Container missing");if("string"==typeof error.message)error.message+=`
|
|
30
|
+
while loading "${data[1]}" from ${data[2]}`;webpackRequire.m[id]=()=>{throw error};data.p=0};const handleFunction=(fn,arg1,arg2,d,next,first)=>{try{const promise=fn(arg1,arg2);if(!promise||!promise.then)return next(promise,d,first);{const p=promise.then(result=>next(result,d),onError);if(!first)return p;promises.push(data.p=p)}}catch(error){onError(error)}};const onExternal=(external,_,first)=>external?handleFunction(webpackRequire.I,data[0],0,external,onInitialized,first):onError();var onInitialized=(_,external,first)=>handleFunction(external.get,data[1],getScope,0,onFactory,first);var onFactory=factory=>{data.p=1;webpackRequire.m[id]=module1=>{module1.exports=factory()}};const onRemoteLoaded=()=>{try{const remoteName=sdk.decodeName(remoteInfos[0].name,sdk.ENCODE_NAME_PREFIX);const remoteModuleName=remoteName+data[1].slice(1);const instance=webpackRequire.federation.instance;const loadRemote=()=>webpackRequire.federation.instance.loadRemote(remoteModuleName,{loadFactory:false,from:"build"});if("version-first"===instance.options.shareStrategy)return Promise.all(instance.sharedHandler.initializeSharing(data[0])).then(()=>loadRemote());return loadRemote()}catch(error){onError(error)}};const useRuntimeLoad=1===remoteInfos.length&&constant.FEDERATION_SUPPORTED_TYPES.includes(remoteInfos[0].externalType)&&remoteInfos[0].name;useRuntimeLoad?handleFunction(onRemoteLoaded,data[2],0,0,onFactory,1):handleFunction(webpackRequire,data[2],0,0,onExternal,1)})}function consumes(options){const{chunkId,promises,chunkMapping,installedModules,moduleToHandlerMapping,webpackRequire}=options;attachShareScopeMap(webpackRequire);if(webpackRequire.o(chunkMapping,chunkId))chunkMapping[chunkId].forEach(id=>{if(webpackRequire.o(installedModules,id))return promises.push(installedModules[id]);const onFactory=factory=>{installedModules[id]=0;webpackRequire.m[id]=module1=>{delete webpackRequire.c[id];module1.exports=factory()}};const onError=error=>{delete installedModules[id];webpackRequire.m[id]=module1=>{delete webpackRequire.c[id];throw error}};try{const federationInstance=webpackRequire.federation.instance;if(!federationInstance)throw new Error("Federation instance not found!");const{shareKey,getter,shareInfo}=moduleToHandlerMapping[id];const promise=federationInstance.loadShare(shareKey,{customShareInfo:shareInfo}).then(factory=>{if(false===factory)return getter();return factory});if(promise.then)promises.push(installedModules[id]=promise.then(onFactory).catch(onError));else onFactory(promise)}catch(e){onError(e)}})}function initializeSharing({shareScopeName,webpackRequire,initPromises,initTokens,initScope}){const shareScopeKeys=Array.isArray(shareScopeName)?shareScopeName:[shareScopeName];var initializeSharingPromises=[];var _initializeSharing=function(shareScopeKey){if(!initScope)initScope=[];const mfInstance=webpackRequire.federation.instance;var initToken=initTokens[shareScopeKey];if(!initToken)initToken=initTokens[shareScopeKey]={from:mfInstance.name};if(initScope.indexOf(initToken)>=0)return;initScope.push(initToken);const promise=initPromises[shareScopeKey];if(promise)return promise;var warn=msg=>"undefined"!=typeof console&&console.warn&&console.warn(msg);var initExternal=id=>{var handleError=err=>warn("Initialization of sharing external failed: "+err);try{var module1=webpackRequire(id);if(!module1)return;var initFn=module1=>module1&&module1.init&&module1.init(webpackRequire.S[shareScopeKey],initScope,{shareScopeMap:webpackRequire.S||{},shareScopeKeys:shareScopeName});if(module1.then)return promises.push(module1.then(initFn,handleError));var initResult=initFn(module1);if(initResult&&"boolean"!=typeof initResult&&initResult.then)return promises.push(initResult["catch"](handleError))}catch(err){handleError(err)}};const promises=mfInstance.initializeSharing(shareScopeKey,{strategy:mfInstance.options.shareStrategy,initScope,from:"build"});attachShareScopeMap(webpackRequire);const bundlerRuntimeRemotesOptions=webpackRequire.federation.bundlerRuntimeOptions.remotes;if(bundlerRuntimeRemotesOptions)Object.keys(bundlerRuntimeRemotesOptions.idToRemoteMap).forEach(moduleId=>{const info=bundlerRuntimeRemotesOptions.idToRemoteMap[moduleId];const externalModuleId=bundlerRuntimeRemotesOptions.idToExternalAndNameMapping[moduleId][2];if(info.length>1)initExternal(externalModuleId);else if(1===info.length){const remoteInfo=info[0];if(!constant.FEDERATION_SUPPORTED_TYPES.includes(remoteInfo.externalType))initExternal(externalModuleId)}});if(!promises.length)return initPromises[shareScopeKey]=true;return initPromises[shareScopeKey]=Promise.all(promises).then(()=>initPromises[shareScopeKey]=true)};shareScopeKeys.forEach(key=>{initializeSharingPromises.push(_initializeSharing(key))});return Promise.all(initializeSharingPromises).then(()=>true)}function handleInitialConsumes(options){const{moduleId,moduleToHandlerMapping,webpackRequire}=options;const federationInstance=webpackRequire.federation.instance;if(!federationInstance)throw new Error("Federation instance not found!");const{shareKey,shareInfo}=moduleToHandlerMapping[moduleId];try{return federationInstance.loadShareSync(shareKey,{customShareInfo:shareInfo})}catch(err){console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.');console.error("The original error message is as follows: ");throw err}}function installInitialConsumes(options){const{moduleToHandlerMapping,webpackRequire,installedModules,initialConsumes}=options;initialConsumes.forEach(id=>{webpackRequire.m[id]=module1=>{installedModules[id]=0;delete webpackRequire.c[id];const factory=handleInitialConsumes({moduleId:id,moduleToHandlerMapping,webpackRequire});if("function"!=typeof factory)throw new Error(`Shared module is not available for eager consumption: ${id}`);module1.exports=factory()}})}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)if(Object.prototype.hasOwnProperty.call(source,key))target[key]=source[key]}return target};return _extends.apply(this,arguments)}function initContainerEntry(options){const{webpackRequire,shareScope,initScope,shareScopeKey,remoteEntryInitOptions}=options;if(!webpackRequire.S)return;if(!webpackRequire.federation||!webpackRequire.federation.instance||!webpackRequire.federation.initOptions)return;const federationInstance=webpackRequire.federation.instance;federationInstance.initOptions(_extends({name:webpackRequire.federation.initOptions.name,remotes:[]},remoteEntryInitOptions));const hostShareScopeKeys=null==remoteEntryInitOptions?void 0:remoteEntryInitOptions.shareScopeKeys;const hostShareScopeMap=null==remoteEntryInitOptions?void 0:remoteEntryInitOptions.shareScopeMap;if(shareScopeKey&&"string"!=typeof shareScopeKey)shareScopeKey.forEach(key=>{if(!hostShareScopeKeys||!hostShareScopeMap)return void federationInstance.initShareScopeMap(key,shareScope,{hostShareScopeMap:(null==remoteEntryInitOptions?void 0:remoteEntryInitOptions.shareScopeMap)||{}});if(!hostShareScopeMap[key])hostShareScopeMap[key]={};const sc=hostShareScopeMap[key];federationInstance.initShareScopeMap(key,sc,{hostShareScopeMap:(null==remoteEntryInitOptions?void 0:remoteEntryInitOptions.shareScopeMap)||{}})});else{const key=shareScopeKey||"default";if(Array.isArray(hostShareScopeKeys))hostShareScopeKeys.forEach(hostKey=>{if(!hostShareScopeMap[hostKey])hostShareScopeMap[hostKey]={};const sc=hostShareScopeMap[hostKey];federationInstance.initShareScopeMap(hostKey,sc,{hostShareScopeMap:(null==remoteEntryInitOptions?void 0:remoteEntryInitOptions.shareScopeMap)||{}})});else federationInstance.initShareScopeMap(key,shareScope,{hostShareScopeMap:(null==remoteEntryInitOptions?void 0:remoteEntryInitOptions.shareScopeMap)||{}})}if(webpackRequire.federation.attachShareScopeMap)webpackRequire.federation.attachShareScopeMap(webpackRequire);if("function"==typeof webpackRequire.federation.prefetch)webpackRequire.federation.prefetch();if(!Array.isArray(shareScopeKey))return webpackRequire.I(shareScopeKey||"default",initScope);var proxyInitializeSharing=Boolean(webpackRequire.federation.initOptions.shared);if(proxyInitializeSharing)return webpackRequire.I(shareScopeKey,initScope);return Promise.all(shareScopeKey.map(key=>webpackRequire.I(key,initScope))).then(()=>true)}const federation={runtime:runtime__namespace,instance:void 0,initOptions:void 0,bundlerRuntime:{remotes,consumes,I:initializeSharing,S:{},installInitialConsumes,initContainerEntry},attachShareScopeMap,bundlerRuntimeOptions:{}};module.exports=federation},5497:function(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){var jsx_runtime=__webpack_require__(5893);var index_js_=__webpack_require__(7483);var react_index_js_=__webpack_require__(9063);var client=__webpack_require__(745);var index_mjs_=__webpack_require__(3215);function App(){return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("h1",{children:"Hello"}),/*#__PURE__*/(0,jsx_runtime.jsx)(index_mjs_.Title,{order:2,children:"Nos connecteurs"}),/*#__PURE__*/(0,jsx_runtime.jsx)(index_mjs_.Title,{order:3,children:"Synchronisez vos comptes bancaires et outils comptables facilement."}),/*#__PURE__*/(0,jsx_runtime.jsx)(index_mjs_.SegmentedControl,{data:["Connecteurs actifs","Connecteurs \xe0 configurer","Connecteurs en maintenance","Tous les connecteurs"]})]})}var package_namespaceObject={i8:"0.1.0"};function migrations(){const latest=localStorage.getItem("integrations:version");if(is(latest).lt("0.0.1")){for(const key of Object.keys(localStorage))if(key.startsWith("query:["))localStorage.removeItem(key)}localStorage.setItem("integrations:version",package_namespaceObject.i8)}function is(version){return{gt:than=>{if(!than)return true;if(!version)return false;return version.localeCompare(than,void 0,{numeric:true})>0},lt:than=>{if(!than)return false;if(!version)return true;return version.localeCompare(than,void 0,{numeric:true})<0}}}var esm_index_mjs_=__webpack_require__(3519);var notifications_esm_index_mjs_=__webpack_require__(225);var modern_index_js_=__webpack_require__(2760);var dist_esm_index_mjs_=__webpack_require__(3040);const AppConfigCtx=/*#__PURE__*/(0,react_index_js_.createContext)(null);const AppConfigProvider=AppConfigCtx.Provider;const theme=(0,index_mjs_.createTheme)((0,dist_esm_index_mjs_.assign)(index_js_.theme,{components:{}}));const cssVarResolver=x=>(0,dist_esm_index_mjs_.assign)(index_js_.cssVarResolver(x),{dark:{},light:{},variables:{}});function Providers(props){const{children,config,mantine,tanstack}=props;return/*#__PURE__*/(0,jsx_runtime.jsx)(AppConfigProvider,{value:config,children:/*#__PURE__*/(0,jsx_runtime.jsx)(modern_index_js_.QueryClientProvider,{client:tanstack?.queryClient??new modern_index_js_.QueryClient,children:/*#__PURE__*/(0,jsx_runtime.jsx)(index_mjs_.MantineProvider,{theme:theme,cssVariablesResolver:cssVarResolver,defaultColorScheme:mantine?.defaultColorScheme,forceColorScheme:mantine?.forceColorScheme,children:/*#__PURE__*/(0,jsx_runtime.jsxs)(esm_index_mjs_.ModalsProvider,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(notifications_esm_index_mjs_.Notifications,{}),children]})})})})}const integrations=document.getElementById((void 0).PUBLIC_APP_NAME);if(!integrations)throw new Error(`#${(void 0).PUBLIC_APP_NAME} element not found`);const get=(name,def)=>{const value=integrations.dataset[name];if(!value&&!def)throw new Error(`Missing ${name} in #${(void 0).PUBLIC_APP_NAME} dataset`);return value??def};migrations();(0,client.createRoot)(integrations).render(/*#__PURE__*/(0,jsx_runtime.jsx)(react_index_js_.StrictMode,{children:/*#__PURE__*/(0,jsx_runtime.jsxs)(Providers,{config:{owner:localStorage.getItem("integrations:owner")||get("owner"),company:get("company"),token:localStorage.getItem("integrations:token")||get("token"),colorScheme:get("colorScheme","auto"),api:get("apiVercel","http://localhost:3001/")},mantine:{forceColorScheme:get("colorScheme","dark")},children:[/*#__PURE__*/(0,jsx_runtime.jsx)(index_js_.BlurSpot,{pos:"top"}),/*#__PURE__*/(0,jsx_runtime.jsx)(App,{})]})}))},2880:function(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){var _home_runner_work_integrations_app_integrations_app_node_modules_module_federation_webpack_bundler_runtime_dist_index_cjs_cjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(950);var _home_runner_work_integrations_app_integrations_app_node_modules_module_federation_webpack_bundler_runtime_dist_index_cjs_cjs__WEBPACK_IMPORTED_MODULE_0___default=/*#__PURE__*/__webpack_require__.n(_home_runner_work_integrations_app_integrations_app_node_modules_module_federation_webpack_bundler_runtime_dist_index_cjs_cjs__WEBPACK_IMPORTED_MODULE_0__);const __module_federation_runtime_plugins__=[];const __module_federation_remote_infos__={};const __module_federation_container_name__="integrations_app";const __module_federation_share_strategy__="version-first";if((__webpack_require__.initializeSharingData||__webpack_require__.initializeExposesData)&&__webpack_require__.federation){var __webpack_require___remotesLoadingData,__webpack_require___remotesLoadingData1,__webpack_require___initializeSharingData,__webpack_require___consumesLoadingData,__webpack_require___consumesLoadingData1,__webpack_require___initializeExposesData,__webpack_require___consumesLoadingData2;const override=(obj,key,value)=>{if(!obj)return;if(obj[key])obj[key]=value};const merge=(obj,key,fn)=>{const value=fn();if(Array.isArray(value)){var _obj,_key;var _;null!=(_=(_obj=obj)[_key=key])||(_obj[_key]=[]);obj[key].push(...value)}else if("object"==typeof value&&null!==value){var _obj1,_key1;var _1;null!=(_1=(_obj1=obj)[_key1=key])||(_obj1[_key1]={});Object.assign(obj[key],value)}};const early=(obj,key,initial)=>{var _obj,_key;var _;null!=(_=(_obj=obj)[_key=key])||(_obj[_key]=initial())};var __webpack_require___remotesLoadingData_chunkMapping;const remotesLoadingChunkMapping=null!=(__webpack_require___remotesLoadingData_chunkMapping=null==(__webpack_require___remotesLoadingData=__webpack_require__.remotesLoadingData)?void 0:__webpack_require___remotesLoadingData.chunkMapping)?__webpack_require___remotesLoadingData_chunkMapping:{};var __webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping;const remotesLoadingModuleIdToRemoteDataMapping=null!=(__webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping=null==(__webpack_require___remotesLoadingData1=__webpack_require__.remotesLoadingData)?void 0:__webpack_require___remotesLoadingData1.moduleIdToRemoteDataMapping)?__webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping:{};var __webpack_require___initializeSharingData_scopeToSharingDataMapping;const initializeSharingScopeToInitDataMapping=null!=(__webpack_require___initializeSharingData_scopeToSharingDataMapping=null==(__webpack_require___initializeSharingData=__webpack_require__.initializeSharingData)?void 0:__webpack_require___initializeSharingData.scopeToSharingDataMapping)?__webpack_require___initializeSharingData_scopeToSharingDataMapping:{};var __webpack_require___consumesLoadingData_chunkMapping;const consumesLoadingChunkMapping=null!=(__webpack_require___consumesLoadingData_chunkMapping=null==(__webpack_require___consumesLoadingData=__webpack_require__.consumesLoadingData)?void 0:__webpack_require___consumesLoadingData.chunkMapping)?__webpack_require___consumesLoadingData_chunkMapping:{};var __webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping;const consumesLoadingModuleToConsumeDataMapping=null!=(__webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping=null==(__webpack_require___consumesLoadingData1=__webpack_require__.consumesLoadingData)?void 0:__webpack_require___consumesLoadingData1.moduleIdToConsumeDataMapping)?__webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping:{};const consumesLoadinginstalledModules={};const initializeSharingInitPromises=[];const initializeSharingInitTokens={};const containerShareScope=null==(__webpack_require___initializeExposesData=__webpack_require__.initializeExposesData)?void 0:__webpack_require___initializeExposesData.shareScope;for(const key in _home_runner_work_integrations_app_integrations_app_node_modules_module_federation_webpack_bundler_runtime_dist_index_cjs_cjs__WEBPACK_IMPORTED_MODULE_0___default())__webpack_require__.federation[key]=_home_runner_work_integrations_app_integrations_app_node_modules_module_federation_webpack_bundler_runtime_dist_index_cjs_cjs__WEBPACK_IMPORTED_MODULE_0___default()[key];early(__webpack_require__.federation,"consumesLoadingModuleToHandlerMapping",()=>{const consumesLoadingModuleToHandlerMapping={};for(let[moduleId,data]of Object.entries(consumesLoadingModuleToConsumeDataMapping))consumesLoadingModuleToHandlerMapping[moduleId]={getter:data.fallback,shareInfo:{shareConfig:{fixedDependencies:false,requiredVersion:data.requiredVersion,strictVersion:data.strictVersion,singleton:data.singleton,eager:data.eager},scope:[data.shareScope]},shareKey:data.shareKey};return consumesLoadingModuleToHandlerMapping});early(__webpack_require__.federation,"initOptions",()=>({}));early(__webpack_require__.federation.initOptions,"name",()=>__module_federation_container_name__);early(__webpack_require__.federation.initOptions,"shareStrategy",()=>__module_federation_share_strategy__);early(__webpack_require__.federation.initOptions,"shared",()=>{const shared={};for(let[scope,stages]of Object.entries(initializeSharingScopeToInitDataMapping))for(let stage of stages)if("object"==typeof stage&&null!==stage){const{name,version,factory,eager,singleton,requiredVersion,strictVersion}=stage;const shareConfig={};const isValidValue=function(val){return void 0!==val};if(isValidValue(singleton))shareConfig.singleton=singleton;if(isValidValue(requiredVersion))shareConfig.requiredVersion=requiredVersion;if(isValidValue(eager))shareConfig.eager=eager;if(isValidValue(strictVersion))shareConfig.strictVersion=strictVersion;const options={version,scope:[scope],shareConfig,get:factory};if(shared[name])shared[name].push(options);else shared[name]=[options]}return shared});merge(__webpack_require__.federation.initOptions,"remotes",()=>Object.values(__module_federation_remote_infos__).flat().filter(remote=>"script"===remote.externalType));merge(__webpack_require__.federation.initOptions,"plugins",()=>__module_federation_runtime_plugins__);early(__webpack_require__.federation,"bundlerRuntimeOptions",()=>({}));early(__webpack_require__.federation.bundlerRuntimeOptions,"remotes",()=>({}));early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>remotesLoadingChunkMapping);early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{const remotesLoadingIdToExternalAndNameMappingMapping={};for(let[moduleId,data]of Object.entries(remotesLoadingModuleIdToRemoteDataMapping))remotesLoadingIdToExternalAndNameMappingMapping[moduleId]=[data.shareScope,data.name,data.externalModuleId,data.remoteName];return remotesLoadingIdToExternalAndNameMappingMapping});early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>__webpack_require__);merge(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{const idToRemoteMap={};for(let[id,remoteData]of Object.entries(remotesLoadingModuleIdToRemoteDataMapping)){const info=__module_federation_remote_infos__[remoteData.remoteName];if(info)idToRemoteMap[id]=info}return idToRemoteMap});override(__webpack_require__,"S",__webpack_require__.federation.bundlerRuntime.S);if(__webpack_require__.federation.attachShareScopeMap)__webpack_require__.federation.attachShareScopeMap(__webpack_require__);override(__webpack_require__.f,"remotes",(chunkId,promises)=>__webpack_require__.federation.bundlerRuntime.remotes({chunkId,promises,chunkMapping:remotesLoadingChunkMapping,idToExternalAndNameMapping:__webpack_require__.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:__webpack_require__.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:__webpack_require__}));override(__webpack_require__.f,"consumes",(chunkId,promises)=>__webpack_require__.federation.bundlerRuntime.consumes({chunkId,promises,chunkMapping:consumesLoadingChunkMapping,moduleToHandlerMapping:__webpack_require__.federation.consumesLoadingModuleToHandlerMapping,installedModules:consumesLoadinginstalledModules,webpackRequire:__webpack_require__}));override(__webpack_require__,"I",(name,initScope)=>__webpack_require__.federation.bundlerRuntime.I({shareScopeName:name,initScope,initPromises:initializeSharingInitPromises,initTokens:initializeSharingInitTokens,webpackRequire:__webpack_require__}));override(__webpack_require__,"initContainer",(shareScope,initScope,remoteEntryInitOptions)=>__webpack_require__.federation.bundlerRuntime.initContainerEntry({shareScope,initScope,remoteEntryInitOptions,shareScopeKey:containerShareScope,webpackRequire:__webpack_require__}));override(__webpack_require__,"getContainer",(module1,getScope)=>{var moduleMap=__webpack_require__.initializeExposesData.moduleMap;__webpack_require__.R=getScope;getScope=Object.prototype.hasOwnProperty.call(moduleMap,module1)?moduleMap[module1]():Promise.resolve().then(()=>{throw new Error('Module "'+module1+'" does not exist in container.')});__webpack_require__.R=void 0;return getScope});__webpack_require__.federation.instance=__webpack_require__.federation.runtime.init(__webpack_require__.federation.initOptions);if(null==(__webpack_require___consumesLoadingData2=__webpack_require__.consumesLoadingData)?void 0:__webpack_require___consumesLoadingData2.initialConsumes)__webpack_require__.federation.bundlerRuntime.installInitialConsumes({webpackRequire:__webpack_require__,installedModules:consumesLoadinginstalledModules,initialConsumes:__webpack_require__.consumesLoadingData.initialConsumes,moduleToHandlerMapping:__webpack_require__.federation.consumesLoadingModuleToHandlerMapping})}}};var __webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={exports:{}};__webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__);return module.exports}__webpack_require__.m=__webpack_modules__;__webpack_require__.c=__webpack_module_cache__;__webpack_require__.x=()=>{var __webpack_exports__=__webpack_require__(5497);return __webpack_exports__};(()=>{if(!__webpack_require__.federation)__webpack_require__.federation={chunkMatcher:function(chunkId){return!/^(163|219|332|345|534|841|99)$/.test(chunkId)},rootOutputDir:""}})();(()=>{__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module["default"]:()=>module;__webpack_require__.d(getter,{a:getter});return getter}})();(()=>{var getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__;var leafPrototypes;__webpack_require__.t=function(value,mode){if(1&mode)value=this(value);if(8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;"object"==typeof current&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach(key=>{def[key]=()=>value[key]});def["default"]=()=>value;__webpack_require__.d(ns,def);return ns}})();(()=>{__webpack_require__.d=(exports,definition)=>{for(var key in definition)if(__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key))Object.defineProperty(exports,key,{enumerable:true,get:definition[key]})}})();(()=>{var prevStartup=__webpack_require__.x;var hasRun=false;__webpack_require__.x=function(){if(!hasRun){hasRun=true;__webpack_require__(2880)}if("function"==typeof prevStartup)return prevStartup();console.warn("[MF] Invalid prevStartup")}})();(()=>{__webpack_require__.f={};__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce((promises,key)=>{__webpack_require__.f[key](chunkId,promises);return promises},[]))})();(()=>{__webpack_require__.u=chunkId=>""+chunkId+".js"})();(()=>{__webpack_require__.miniCssF=chunkId=>""+chunkId+".css"})();(()=>{__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop)})();(()=>{var inProgress={};var dataWebpackPrefix="@airporting/integrations-app:";__webpack_require__.l=function(url,done,key,chunkId){if(inProgress[url])return void inProgress[url].push(done);var script,needAttach;if(void 0!==key){var scripts=document.getElementsByTagName("script");for(var i=0;i<scripts.length;i++){var s=scripts[i];if(s.getAttribute("src")==url||s.getAttribute("data-webpack")==dataWebpackPrefix+key){script=s;break}}}if(!script){needAttach=true;script=document.createElement("script");script.charset="utf-8";script.timeout=120;if(__webpack_require__.nc)script.setAttribute("nonce",__webpack_require__.nc);script.setAttribute("data-webpack",dataWebpackPrefix+key);script.src=url}inProgress[url]=[done];var onScriptComplete=function(prev,event){script.onerror=script.onload=null;clearTimeout(timeout);var doneFns=inProgress[url];delete inProgress[url];script.parentNode&&script.parentNode.removeChild(script);doneFns&&doneFns.forEach(function(fn){return fn(event)});if(prev)return prev(event)};var timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror);script.onload=onScriptComplete.bind(null,script.onload);needAttach&&document.head.appendChild(script)}})();(()=>{__webpack_require__.r=exports=>{if("undefined"!=typeof Symbol&&Symbol.toStringTag)Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});Object.defineProperty(exports,"__esModule",{value:true})}})();(()=>{__webpack_require__.nc=void 0})();(()=>{__webpack_require__.p="https://unpkg.com/@airporting/integrations-app@latest/dist/mf/"})();(()=>{__webpack_require__.S={};__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@airporting/app-front",version:"1.0.48",factory:()=>Promise.all([__webpack_require__.e("380"),__webpack_require__.e("345"),__webpack_require__.e("219"),__webpack_require__.e("332"),__webpack_require__.e("534"),__webpack_require__.e("841"),__webpack_require__.e("378")]).then(()=>()=>__webpack_require__(1469)),eager:0,singleton:1,requiredVersion:"1.0.48",strictVersion:0},{name:"@mantine/charts",version:"8.2.5",factory:()=>Promise.all([__webpack_require__.e("119"),__webpack_require__.e("345"),__webpack_require__.e("219"),__webpack_require__.e("332"),__webpack_require__.e("99"),__webpack_require__.e("588")]).then(()=>()=>__webpack_require__(2985)),eager:0,singleton:1,requiredVersion:"8.2.5",strictVersion:0},{name:"@mantine/core",version:"8.2.5",factory:()=>Promise.all([__webpack_require__.e("364"),__webpack_require__.e("345"),__webpack_require__.e("219"),__webpack_require__.e("163"),__webpack_require__.e("732")]).then(()=>()=>__webpack_require__(4865)),eager:0,singleton:1,requiredVersion:"8.2.5",strictVersion:0},{name:"@mantine/hooks",version:"8.2.5",factory:()=>Promise.all([__webpack_require__.e("541"),__webpack_require__.e("345")]).then(()=>()=>__webpack_require__(281)),eager:0,singleton:1,requiredVersion:"8.2.5",strictVersion:0},{name:"@mantine/modals",version:"8.2.5",factory:()=>Promise.all([__webpack_require__.e("345"),__webpack_require__.e("219"),__webpack_require__.e("332"),__webpack_require__.e("548")]).then(()=>()=>__webpack_require__(3308)),eager:0,singleton:1,requiredVersion:"8.2.5",strictVersion:0},{name:"@mantine/notifications",version:"8.2.5",factory:()=>Promise.all([__webpack_require__.e("724"),__webpack_require__.e("345"),__webpack_require__.e("219"),__webpack_require__.e("163"),__webpack_require__.e("332"),__webpack_require__.e("14")]).then(()=>()=>__webpack_require__(544)),eager:0,singleton:1,requiredVersion:"8.2.5",strictVersion:0},{name:"@tabler/icons-react",version:"3.34.1",factory:()=>Promise.all([__webpack_require__.e("193"),__webpack_require__.e("345")]).then(()=>()=>__webpack_require__(7399)),eager:0,singleton:1,requiredVersion:"^3.34.1",strictVersion:0},{name:"@tanstack/react-query",version:"5.87.4",factory:()=>Promise.all([__webpack_require__.e("659"),__webpack_require__.e("345"),__webpack_require__.e("832")]).then(()=>()=>__webpack_require__(6714)),eager:0,singleton:1,requiredVersion:"^5.83.0",strictVersion:0},{name:"date-fns",version:"4.1.0",factory:()=>__webpack_require__.e("186").then(()=>()=>__webpack_require__(6635)),eager:0,singleton:1,requiredVersion:"^4.1.0",strictVersion:0},{name:"lodash-es",version:"4.17.21",factory:()=>__webpack_require__.e("110").then(()=>()=>__webpack_require__(5913)),eager:0,singleton:1,requiredVersion:"^4.17.21",strictVersion:0},{name:"radash",version:"12.1.1",factory:()=>__webpack_require__.e("260").then(()=>()=>__webpack_require__(7730)),eager:0,singleton:1,requiredVersion:"^12.1.1",strictVersion:0},{name:"react-dom",version:"19.1.1",factory:()=>Promise.all([__webpack_require__.e("345"),__webpack_require__.e("182")]).then(()=>()=>__webpack_require__(5970)),eager:0,singleton:1,requiredVersion:"^19.1.0",strictVersion:0},{name:"react-i18next",version:"15.7.1",factory:()=>Promise.all([__webpack_require__.e("80"),__webpack_require__.e("345")]).then(()=>()=>__webpack_require__(9439)),eager:0,singleton:1,requiredVersion:"15.7.1",strictVersion:0},{name:"react",version:"19.1.1",factory:()=>__webpack_require__.e("153").then(()=>()=>__webpack_require__(2861)),eager:0,singleton:1,requiredVersion:"^19.1.0",strictVersion:0},{name:"recharts",version:"3.2.0",factory:()=>Promise.all([__webpack_require__.e("750"),__webpack_require__.e("345"),__webpack_require__.e("163")]).then(()=>()=>__webpack_require__(9834)),eager:0,singleton:1,requiredVersion:"^3.0.2",strictVersion:0}]},uniqueName:"@airporting/integrations-app"};__webpack_require__.I=__webpack_require__.I||function(){throw new Error("should have __webpack_require__.I")}})();(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{980:["3040","7483","225","2760","3519","9063","7487","3215"],99:["1572"],163:["7487"],345:["9063"],841:["3040","2760"],219:["3828"],332:["3215"],534:["4002","4828","8269","5865","4099"]},moduleIdToConsumeDataMapping:{9063:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"^19.1.0",strictVersion:false,singleton:true,eager:false,fallback:()=>__webpack_require__.e("153").then(()=>()=>__webpack_require__(2861))},4099:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"15.7.1",strictVersion:false,singleton:true,eager:false,fallback:()=>__webpack_require__.e("80").then(()=>()=>__webpack_require__(9439))},5865:{shareScope:"default",shareKey:"@tabler/icons-react",import:"@tabler/icons-react",requiredVersion:"^3.34.1",strictVersion:false,singleton:true,eager:false,fallback:()=>__webpack_require__.e("193").then(()=>()=>__webpack_require__(7399))},3215:{shareScope:"default",shareKey:"@mantine/core",import:"@mantine/core",requiredVersion:"8.2.5",strictVersion:false,singleton:true,eager:false,fallback:()=>Promise.all([__webpack_require__.e("364"),__webpack_require__.e("219"),__webpack_require__.e("163")]).then(()=>()=>__webpack_require__(4865))},7483:{shareScope:"default",shareKey:"@airporting/app-front",import:"@airporting/app-front",requiredVersion:"1.0.48",strictVersion:false,singleton:true,eager:false,fallback:()=>Promise.all([__webpack_require__.e("380"),__webpack_require__.e("219"),__webpack_require__.e("534")]).then(()=>()=>__webpack_require__(1469))},2760:{shareScope:"default",shareKey:"@tanstack/react-query",import:"@tanstack/react-query",requiredVersion:"^5.83.0",strictVersion:false,singleton:true,eager:false,fallback:()=>__webpack_require__.e("659").then(()=>()=>__webpack_require__(6714))},3828:{shareScope:"default",shareKey:"@mantine/hooks",import:"@mantine/hooks",requiredVersion:"8.2.5",strictVersion:false,singleton:true,eager:false,fallback:()=>__webpack_require__.e("541").then(()=>()=>__webpack_require__(281))},225:{shareScope:"default",shareKey:"@mantine/notifications",import:"@mantine/notifications",requiredVersion:"8.2.5",strictVersion:false,singleton:true,eager:false,fallback:()=>Promise.all([__webpack_require__.e("724"),__webpack_require__.e("219"),__webpack_require__.e("163")]).then(()=>()=>__webpack_require__(544))},1572:{shareScope:"default",shareKey:"recharts",import:"recharts",requiredVersion:"^3.0.2",strictVersion:false,singleton:true,eager:false,fallback:()=>Promise.all([__webpack_require__.e("750"),__webpack_require__.e("163")]).then(()=>()=>__webpack_require__(9834))},3040:{shareScope:"default",shareKey:"radash",import:"radash",requiredVersion:"^12.1.1",strictVersion:false,singleton:true,eager:false,fallback:()=>__webpack_require__.e("260").then(()=>()=>__webpack_require__(7730))},7487:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"^19.1.0",strictVersion:false,singleton:true,eager:false,fallback:()=>__webpack_require__.e("622").then(()=>()=>__webpack_require__(5970))},4002:{shareScope:"default",shareKey:"@mantine/charts",import:"@mantine/charts",requiredVersion:"8.2.5",strictVersion:false,singleton:true,eager:false,fallback:()=>Promise.all([__webpack_require__.e("119"),__webpack_require__.e("99")]).then(()=>()=>__webpack_require__(2985))},3519:{shareScope:"default",shareKey:"@mantine/modals",import:"@mantine/modals",requiredVersion:"8.2.5",strictVersion:false,singleton:true,eager:false,fallback:()=>Promise.all([__webpack_require__.e("219"),__webpack_require__.e("880")]).then(()=>()=>__webpack_require__(3308))},4828:{shareScope:"default",shareKey:"date-fns",import:"date-fns",requiredVersion:"^4.1.0",strictVersion:false,singleton:true,eager:false,fallback:()=>__webpack_require__.e("186").then(()=>()=>__webpack_require__(6635))},8269:{shareScope:"default",shareKey:"lodash-es",import:"lodash-es",requiredVersion:"^4.17.21",strictVersion:false,singleton:true,eager:false,fallback:()=>__webpack_require__.e("110").then(()=>()=>__webpack_require__(5913))}},initialConsumes:["3040","7483","225","2760","3519","9063","7487","3215"]};__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw new Error("should have __webpack_require__.f.consumes")}})();(()=>{var installedChunks={980:0};__webpack_require__.f.j=function(chunkId,promises){var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(/^(163|219|332|345|534|841|99)$/.test(chunkId))installedChunks[chunkId]=0;else{var promise=new Promise((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]);promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId);var error=new Error;var loadingEnded=function(event){if(__webpack_require__.o(installedChunks,chunkId)){installedChunkData=installedChunks[chunkId];if(0!==installedChunkData)installedChunks[chunkId]=void 0;if(installedChunkData){var errorType=event&&("load"===event.type?"missing":event.type);var realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")";error.name="ChunkLoadError";error.type=errorType;error.request=realSrc;installedChunkData[1](error)}}};__webpack_require__.l(url,loadingEnded,"chunk-"+chunkId,chunkId)}};var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var[chunkIds,moreModules,runtime]=data;var moduleId,chunkId,i=0;if(chunkIds.some(id=>0!==installedChunks[id])){for(moduleId in moreModules)if(__webpack_require__.o(moreModules,moduleId))__webpack_require__.m[moduleId]=moreModules[moduleId];if(runtime)runtime(__webpack_require__)}if(parentChunkLoadingFunction)parentChunkLoadingFunction(data);for(;i<chunkIds.length;i++){chunkId=chunkIds[i];if(__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId])installedChunks[chunkId][0]();installedChunks[chunkId]=0}};var chunkLoadingGlobal=globalThis["chunk_integrations_app"]=globalThis["chunk_integrations_app"]||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0));chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})();var __webpack_exports__=__webpack_require__.x()})();
|