Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1/**2 * @license React3 * react-dom-profiling.development.js4 *5 * Copyright (c) Meta Platforms, Inc. and affiliates.6 *7 * This source code is licensed under the MIT license found in the8 * LICENSE file in the root directory of this source tree.9 */10 11/*12 Modernizr 3.0.0pre (Custom Build) | MIT13*/14"use strict";15"production" !== process.env.NODE_ENV &&16 (function () {17 function findHook(fiber, id) {18 for (fiber = fiber.memoizedState; null !== fiber && 0 < id; )19 (fiber = fiber.next), id--;20 return fiber;21 }22 function copyWithSetImpl(obj, path, index, value) {23 if (index >= path.length) return value;24 var key = path[index],25 updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);26 updated[key] = copyWithSetImpl(obj[key], path, index + 1, value);27 return updated;28 }29 function copyWithRename(obj, oldPath, newPath) {30 if (oldPath.length !== newPath.length)31 console.warn("copyWithRename() expects paths of the same length");32 else {33 for (var i = 0; i < newPath.length - 1; i++)34 if (oldPath[i] !== newPath[i]) {35 console.warn(36 "copyWithRename() expects paths to be the same except for the deepest key"37 );38 return;39 }40 return copyWithRenameImpl(obj, oldPath, newPath, 0);41 }42 }43 function copyWithRenameImpl(obj, oldPath, newPath, index) {44 var oldKey = oldPath[index],45 updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);46 index + 1 === oldPath.length47 ? ((updated[newPath[index]] = updated[oldKey]),48 isArrayImpl(updated)49 ? updated.splice(oldKey, 1)50 : delete updated[oldKey])51 : (updated[oldKey] = copyWithRenameImpl(52 obj[oldKey],53 oldPath,54 newPath,55 index + 156 ));57 return updated;58 }59 function copyWithDeleteImpl(obj, path, index) {60 var key = path[index],61 updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);62 if (index + 1 === path.length)63 return (64 isArrayImpl(updated) ? updated.splice(key, 1) : delete updated[key],65 updated66 );67 updated[key] = copyWithDeleteImpl(obj[key], path, index + 1);68 return updated;69 }70 function shouldSuspendImpl() {71 return !1;72 }73 function shouldErrorImpl() {74 return null;75 }76 function warnInvalidHookAccess() {77 console.error(78 "Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks"79 );80 }81 function warnInvalidContextAccess() {82 console.error(83 "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."84 );85 }86 function noop() {}87 function warnForMissingKey() {}88 function setToSortedString(set) {89 var array = [];90 set.forEach(function (value) {91 array.push(value);92 });93 return array.sort().join(", ");94 }95 function createFiber(tag, pendingProps, key, mode) {96 return new FiberNode(tag, pendingProps, key, mode);97 }98 function scheduleRoot(root, element) {99 root.context === emptyContextObject &&100 (updateContainerImpl(root.current, 2, element, root, null, null),101 flushSyncWork$1());102 }103 function scheduleRefresh(root, update) {104 if (null !== resolveFamily) {105 var staleFamilies = update.staleFamilies;106 update = update.updatedFamilies;107 flushPendingEffects();108 scheduleFibersWithFamiliesRecursively(109 root.current,110 update,111 staleFamilies112 );113 flushSyncWork$1();114 }115 }116 function setRefreshHandler(handler) {117 resolveFamily = handler;118 }119 function isValidContainer(node) {120 return !(121 !node ||122 (1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType)123 );124 }125 function getNearestMountedFiber(fiber) {126 var node = fiber,127 nearestMounted = fiber;128 if (fiber.alternate) for (; node.return; ) node = node.return;129 else {130 fiber = node;131 do132 (node = fiber),133 0 !== (node.flags & 4098) && (nearestMounted = node.return),134 (fiber = node.return);135 while (fiber);136 }137 return 3 === node.tag ? nearestMounted : null;138 }139 function getSuspenseInstanceFromFiber(fiber) {140 if (13 === fiber.tag) {141 var suspenseState = fiber.memoizedState;142 null === suspenseState &&143 ((fiber = fiber.alternate),144 null !== fiber && (suspenseState = fiber.memoizedState));145 if (null !== suspenseState) return suspenseState.dehydrated;146 }147 return null;148 }149 function getActivityInstanceFromFiber(fiber) {150 if (31 === fiber.tag) {151 var activityState = fiber.memoizedState;152 null === activityState &&153 ((fiber = fiber.alternate),154 null !== fiber && (activityState = fiber.memoizedState));155 if (null !== activityState) return activityState.dehydrated;156 }157 return null;158 }159 function assertIsMounted(fiber) {160 if (getNearestMountedFiber(fiber) !== fiber)161 throw Error("Unable to find node on an unmounted component.");162 }163 function findCurrentFiberUsingSlowPath(fiber) {164 var alternate = fiber.alternate;165 if (!alternate) {166 alternate = getNearestMountedFiber(fiber);167 if (null === alternate)168 throw Error("Unable to find node on an unmounted component.");169 return alternate !== fiber ? null : fiber;170 }171 for (var a = fiber, b = alternate; ; ) {172 var parentA = a.return;173 if (null === parentA) break;174 var parentB = parentA.alternate;175 if (null === parentB) {176 b = parentA.return;177 if (null !== b) {178 a = b;179 continue;180 }181 break;182 }183 if (parentA.child === parentB.child) {184 for (parentB = parentA.child; parentB; ) {185 if (parentB === a) return assertIsMounted(parentA), fiber;186 if (parentB === b) return assertIsMounted(parentA), alternate;187 parentB = parentB.sibling;188 }189 throw Error("Unable to find node on an unmounted component.");190 }191 if (a.return !== b.return) (a = parentA), (b = parentB);192 else {193 for (var didFindChild = !1, _child = parentA.child; _child; ) {194 if (_child === a) {195 didFindChild = !0;196 a = parentA;197 b = parentB;198 break;199 }200 if (_child === b) {201 didFindChild = !0;202 b = parentA;203 a = parentB;204 break;205 }206 _child = _child.sibling;207 }208 if (!didFindChild) {209 for (_child = parentB.child; _child; ) {210 if (_child === a) {211 didFindChild = !0;212 a = parentB;213 b = parentA;214 break;215 }216 if (_child === b) {217 didFindChild = !0;218 b = parentB;219 a = parentA;220 break;221 }222 _child = _child.sibling;223 }224 if (!didFindChild)225 throw Error(226 "Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue."227 );228 }229 }230 if (a.alternate !== b)231 throw Error(232 "Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue."233 );234 }235 if (3 !== a.tag)236 throw Error("Unable to find node on an unmounted component.");237 return a.stateNode.current === a ? fiber : alternate;238 }239 function findCurrentHostFiberImpl(node) {240 var tag = node.tag;241 if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;242 for (node = node.child; null !== node; ) {243 tag = findCurrentHostFiberImpl(node);244 if (null !== tag) return tag;245 node = node.sibling;246 }247 return null;248 }249 function getIteratorFn(maybeIterable) {250 if (null === maybeIterable || "object" !== typeof maybeIterable)251 return null;252 maybeIterable =253 (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||254 maybeIterable["@@iterator"];255 return "function" === typeof maybeIterable ? maybeIterable : null;256 }257 function getComponentNameFromType(type) {258 if (null == type) return null;259 if ("function" === typeof type)260 return type.$$typeof === REACT_CLIENT_REFERENCE261 ? null262 : type.displayName || type.name || null;263 if ("string" === typeof type) return type;264 switch (type) {265 case REACT_FRAGMENT_TYPE:266 return "Fragment";267 case REACT_PROFILER_TYPE:268 return "Profiler";269 case REACT_STRICT_MODE_TYPE:270 return "StrictMode";271 case REACT_SUSPENSE_TYPE:272 return "Suspense";273 case REACT_SUSPENSE_LIST_TYPE:274 return "SuspenseList";275 case REACT_ACTIVITY_TYPE:276 return "Activity";277 }278 if ("object" === typeof type)279 switch (280 ("number" === typeof type.tag &&281 console.error(282 "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."283 ),284 type.$$typeof)285 ) {286 case REACT_PORTAL_TYPE:287 return "Portal";288 case REACT_CONTEXT_TYPE:289 return type.displayName || "Context";290 case REACT_CONSUMER_TYPE:291 return (type._context.displayName || "Context") + ".Consumer";292 case REACT_FORWARD_REF_TYPE:293 var innerType = type.render;294 type = type.displayName;295 type ||296 ((type = innerType.displayName || innerType.name || ""),297 (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));298 return type;299 case REACT_MEMO_TYPE:300 return (301 (innerType = type.displayName || null),302 null !== innerType303 ? innerType304 : getComponentNameFromType(type.type) || "Memo"305 );306 case REACT_LAZY_TYPE:307 innerType = type._payload;308 type = type._init;309 try {310 return getComponentNameFromType(type(innerType));311 } catch (x) {}312 }313 return null;314 }315 function getComponentNameFromOwner(owner) {316 return "number" === typeof owner.tag317 ? getComponentNameFromFiber(owner)318 : "string" === typeof owner.name319 ? owner.name320 : null;321 }322 function getComponentNameFromFiber(fiber) {323 var type = fiber.type;324 switch (fiber.tag) {325 case 31:326 return "Activity";327 case 24:328 return "Cache";329 case 9:330 return (type._context.displayName || "Context") + ".Consumer";331 case 10:332 return type.displayName || "Context";333 case 18:334 return "DehydratedFragment";335 case 11:336 return (337 (fiber = type.render),338 (fiber = fiber.displayName || fiber.name || ""),339 type.displayName ||340 ("" !== fiber ? "ForwardRef(" + fiber + ")" : "ForwardRef")341 );342 case 7:343 return "Fragment";344 case 26:345 case 27:346 case 5:347 return type;348 case 4:349 return "Portal";350 case 3:351 return "Root";352 case 6:353 return "Text";354 case 16:355 return getComponentNameFromType(type);356 case 8:357 return type === REACT_STRICT_MODE_TYPE ? "StrictMode" : "Mode";358 case 22:359 return "Offscreen";360 case 12:361 return "Profiler";362 case 21:363 return "Scope";364 case 13:365 return "Suspense";366 case 19:367 return "SuspenseList";368 case 25:369 return "TracingMarker";370 case 1:371 case 0:372 case 14:373 case 15:374 if ("function" === typeof type)375 return type.displayName || type.name || null;376 if ("string" === typeof type) return type;377 break;378 case 29:379 type = fiber._debugInfo;380 if (null != type)381 for (var i = type.length - 1; 0 <= i; i--)382 if ("string" === typeof type[i].name) return type[i].name;383 if (null !== fiber.return)384 return getComponentNameFromFiber(fiber.return);385 }386 return null;387 }388 function resolveDispatcher() {389 var dispatcher = ReactSharedInternals.H;390 null === dispatcher &&391 console.error(392 "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."393 );394 return dispatcher;395 }396 function createCursor(defaultValue) {397 return { current: defaultValue };398 }399 function pop(cursor, fiber) {400 0 > index$jscomp$0401 ? console.error("Unexpected pop.")402 : (fiber !== fiberStack[index$jscomp$0] &&403 console.error("Unexpected Fiber popped."),404 (cursor.current = valueStack[index$jscomp$0]),405 (valueStack[index$jscomp$0] = null),406 (fiberStack[index$jscomp$0] = null),407 index$jscomp$0--);408 }409 function push(cursor, value, fiber) {410 index$jscomp$0++;411 valueStack[index$jscomp$0] = cursor.current;412 fiberStack[index$jscomp$0] = fiber;413 cursor.current = value;414 }415 function requiredContext(c) {416 null === c &&417 console.error(418 "Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."419 );420 return c;421 }422 function pushHostContainer(fiber, nextRootInstance) {423 push(rootInstanceStackCursor, nextRootInstance, fiber);424 push(contextFiberStackCursor, fiber, fiber);425 push(contextStackCursor, null, fiber);426 var nextRootContext = nextRootInstance.nodeType;427 switch (nextRootContext) {428 case 9:429 case 11:430 nextRootContext = 9 === nextRootContext ? "#document" : "#fragment";431 nextRootInstance = (nextRootInstance =432 nextRootInstance.documentElement)433 ? (nextRootInstance = nextRootInstance.namespaceURI)434 ? getOwnHostContext(nextRootInstance)435 : HostContextNamespaceNone436 : HostContextNamespaceNone;437 break;438 default:439 if (440 ((nextRootContext = nextRootInstance.tagName),441 (nextRootInstance = nextRootInstance.namespaceURI))442 )443 (nextRootInstance = getOwnHostContext(nextRootInstance)),444 (nextRootInstance = getChildHostContextProd(445 nextRootInstance,446 nextRootContext447 ));448 else449 switch (nextRootContext) {450 case "svg":451 nextRootInstance = HostContextNamespaceSvg;452 break;453 case "math":454 nextRootInstance = HostContextNamespaceMath;455 break;456 default:457 nextRootInstance = HostContextNamespaceNone;458 }459 }460 nextRootContext = nextRootContext.toLowerCase();461 nextRootContext = updatedAncestorInfoDev(null, nextRootContext);462 nextRootContext = {463 context: nextRootInstance,464 ancestorInfo: nextRootContext465 };466 pop(contextStackCursor, fiber);467 push(contextStackCursor, nextRootContext, fiber);468 }469 function popHostContainer(fiber) {470 pop(contextStackCursor, fiber);471 pop(contextFiberStackCursor, fiber);472 pop(rootInstanceStackCursor, fiber);473 }474 function getHostContext() {475 return requiredContext(contextStackCursor.current);476 }477 function pushHostContext(fiber) {478 null !== fiber.memoizedState &&479 push(hostTransitionProviderCursor, fiber, fiber);480 var context = requiredContext(contextStackCursor.current);481 var type = fiber.type;482 var nextContext = getChildHostContextProd(context.context, type);483 type = updatedAncestorInfoDev(context.ancestorInfo, type);484 nextContext = { context: nextContext, ancestorInfo: type };485 context !== nextContext &&486 (push(contextFiberStackCursor, fiber, fiber),487 push(contextStackCursor, nextContext, fiber));488 }489 function popHostContext(fiber) {490 contextFiberStackCursor.current === fiber &&491 (pop(contextStackCursor, fiber), pop(contextFiberStackCursor, fiber));492 hostTransitionProviderCursor.current === fiber &&493 (pop(hostTransitionProviderCursor, fiber),494 (HostTransitionContext._currentValue = NotPendingTransition));495 }496 function disabledLog() {}497 function disableLogs() {498 if (0 === disabledDepth) {499 prevLog = console.log;500 prevInfo = console.info;501 prevWarn = console.warn;502 prevError = console.error;503 prevGroup = console.group;504 prevGroupCollapsed = console.groupCollapsed;505 prevGroupEnd = console.groupEnd;506 var props = {507 configurable: !0,508 enumerable: !0,509 value: disabledLog,510 writable: !0511 };512 Object.defineProperties(console, {513 info: props,514 log: props,515 warn: props,516 error: props,517 group: props,518 groupCollapsed: props,519 groupEnd: props520 });521 }522 disabledDepth++;523 }524 function reenableLogs() {525 disabledDepth--;526 if (0 === disabledDepth) {527 var props = { configurable: !0, enumerable: !0, writable: !0 };528 Object.defineProperties(console, {529 log: assign({}, props, { value: prevLog }),530 info: assign({}, props, { value: prevInfo }),531 warn: assign({}, props, { value: prevWarn }),532 error: assign({}, props, { value: prevError }),533 group: assign({}, props, { value: prevGroup }),534 groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),535 groupEnd: assign({}, props, { value: prevGroupEnd })536 });537 }538 0 > disabledDepth &&539 console.error(540 "disabledDepth fell below zero. This is a bug in React. Please file an issue."541 );542 }543 function formatOwnerStack(error) {544 var prevPrepareStackTrace = Error.prepareStackTrace;545 Error.prepareStackTrace = void 0;546 error = error.stack;547 Error.prepareStackTrace = prevPrepareStackTrace;548 error.startsWith("Error: react-stack-top-frame\n") &&549 (error = error.slice(29));550 prevPrepareStackTrace = error.indexOf("\n");551 -1 !== prevPrepareStackTrace &&552 (error = error.slice(prevPrepareStackTrace + 1));553 prevPrepareStackTrace = error.indexOf("react_stack_bottom_frame");554 -1 !== prevPrepareStackTrace &&555 (prevPrepareStackTrace = error.lastIndexOf(556 "\n",557 prevPrepareStackTrace558 ));559 if (-1 !== prevPrepareStackTrace)560 error = error.slice(0, prevPrepareStackTrace);561 else return "";562 return error;563 }564 function describeBuiltInComponentFrame(name) {565 if (void 0 === prefix)566 try {567 throw Error();568 } catch (x) {569 var match = x.stack.trim().match(/\n( *(at )?)/);570 prefix = (match && match[1]) || "";571 suffix =572 -1 < x.stack.indexOf("\n at")573 ? " (<anonymous>)"574 : -1 < x.stack.indexOf("@")575 ? "@unknown:0:0"576 : "";577 }578 return "\n" + prefix + name + suffix;579 }580 function describeNativeComponentFrame(fn, construct) {581 if (!fn || reentry) return "";582 var frame = componentFrameCache.get(fn);583 if (void 0 !== frame) return frame;584 reentry = !0;585 frame = Error.prepareStackTrace;586 Error.prepareStackTrace = void 0;587 var previousDispatcher = null;588 previousDispatcher = ReactSharedInternals.H;589 ReactSharedInternals.H = null;590 disableLogs();591 try {592 var RunInRootFrame = {593 DetermineComponentFrameRoot: function () {594 try {595 if (construct) {596 var Fake = function () {597 throw Error();598 };599 Object.defineProperty(Fake.prototype, "props", {600 set: function () {601 throw Error();602 }603 });604 if ("object" === typeof Reflect && Reflect.construct) {605 try {606 Reflect.construct(Fake, []);607 } catch (x) {608 var control = x;609 }610 Reflect.construct(fn, [], Fake);611 } else {612 try {613 Fake.call();614 } catch (x$0) {615 control = x$0;616 }617 fn.call(Fake.prototype);618 }619 } else {620 try {621 throw Error();622 } catch (x$1) {623 control = x$1;624 }625 (Fake = fn()) &&626 "function" === typeof Fake.catch &&627 Fake.catch(function () {});628 }629 } catch (sample) {630 if (sample && control && "string" === typeof sample.stack)631 return [sample.stack, control.stack];632 }633 return [null, null];634 }635 };636 RunInRootFrame.DetermineComponentFrameRoot.displayName =637 "DetermineComponentFrameRoot";638 var namePropDescriptor = Object.getOwnPropertyDescriptor(639 RunInRootFrame.DetermineComponentFrameRoot,640 "name"641 );642 namePropDescriptor &&643 namePropDescriptor.configurable &&644 Object.defineProperty(645 RunInRootFrame.DetermineComponentFrameRoot,646 "name",647 { value: "DetermineComponentFrameRoot" }648 );649 var _RunInRootFrame$Deter =650 RunInRootFrame.DetermineComponentFrameRoot(),651 sampleStack = _RunInRootFrame$Deter[0],652 controlStack = _RunInRootFrame$Deter[1];653 if (sampleStack && controlStack) {654 var sampleLines = sampleStack.split("\n"),655 controlLines = controlStack.split("\n");656 for (657 _RunInRootFrame$Deter = namePropDescriptor = 0;658 namePropDescriptor < sampleLines.length &&659 !sampleLines[namePropDescriptor].includes(660 "DetermineComponentFrameRoot"661 );662 663 )664 namePropDescriptor++;665 for (666 ;667 _RunInRootFrame$Deter < controlLines.length &&668 !controlLines[_RunInRootFrame$Deter].includes(669 "DetermineComponentFrameRoot"670 );671 672 )673 _RunInRootFrame$Deter++;674 if (675 namePropDescriptor === sampleLines.length ||676 _RunInRootFrame$Deter === controlLines.length677 )678 for (679 namePropDescriptor = sampleLines.length - 1,680 _RunInRootFrame$Deter = controlLines.length - 1;681 1 <= namePropDescriptor &&682 0 <= _RunInRootFrame$Deter &&683 sampleLines[namePropDescriptor] !==684 controlLines[_RunInRootFrame$Deter];685 686 )687 _RunInRootFrame$Deter--;688 for (689 ;690 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;691 namePropDescriptor--, _RunInRootFrame$Deter--692 )693 if (694 sampleLines[namePropDescriptor] !==695 controlLines[_RunInRootFrame$Deter]696 ) {697 if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {698 do699 if (700 (namePropDescriptor--,701 _RunInRootFrame$Deter--,702 0 > _RunInRootFrame$Deter ||703 sampleLines[namePropDescriptor] !==704 controlLines[_RunInRootFrame$Deter])705 ) {706 var _frame =707 "\n" +708 sampleLines[namePropDescriptor].replace(709 " at new ",710 " at "711 );712 fn.displayName &&713 _frame.includes("<anonymous>") &&714 (_frame = _frame.replace("<anonymous>", fn.displayName));715 "function" === typeof fn &&716 componentFrameCache.set(fn, _frame);717 return _frame;718 }719 while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);720 }721 break;722 }723 }724 } finally {725 (reentry = !1),726 (ReactSharedInternals.H = previousDispatcher),727 reenableLogs(),728 (Error.prepareStackTrace = frame);729 }730 sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")731 ? describeBuiltInComponentFrame(sampleLines)732 : "";733 "function" === typeof fn && componentFrameCache.set(fn, sampleLines);734 return sampleLines;735 }736 function describeFiber(fiber, childFiber) {737 switch (fiber.tag) {738 case 26:739 case 27:740 case 5:741 return describeBuiltInComponentFrame(fiber.type);742 case 16:743 return describeBuiltInComponentFrame("Lazy");744 case 13:745 return fiber.child !== childFiber && null !== childFiber746 ? describeBuiltInComponentFrame("Suspense Fallback")747 : describeBuiltInComponentFrame("Suspense");748 case 19:749 return describeBuiltInComponentFrame("SuspenseList");750 case 0:751 case 15:752 return describeNativeComponentFrame(fiber.type, !1);753 case 11:754 return describeNativeComponentFrame(fiber.type.render, !1);755 case 1:756 return describeNativeComponentFrame(fiber.type, !0);757 case 31:758 return describeBuiltInComponentFrame("Activity");759 default:760 return "";761 }762 }763 function getStackByFiberInDevAndProd(workInProgress) {764 try {765 var info = "",766 previous = null;767 do {768 info += describeFiber(workInProgress, previous);769 var debugInfo = workInProgress._debugInfo;770 if (debugInfo)771 for (var i = debugInfo.length - 1; 0 <= i; i--) {772 var entry = debugInfo[i];773 if ("string" === typeof entry.name) {774 var JSCompiler_temp_const = info;775 a: {776 var name = entry.name,777 env = entry.env,778 location = entry.debugLocation;779 if (null != location) {780 var childStack = formatOwnerStack(location),781 idx = childStack.lastIndexOf("\n"),782 lastLine =783 -1 === idx ? childStack : childStack.slice(idx + 1);784 if (-1 !== lastLine.indexOf(name)) {785 var JSCompiler_inline_result = "\n" + lastLine;786 break a;787 }788 }789 JSCompiler_inline_result = describeBuiltInComponentFrame(790 name + (env ? " [" + env + "]" : "")791 );792 }793 info = JSCompiler_temp_const + JSCompiler_inline_result;794 }795 }796 previous = workInProgress;797 workInProgress = workInProgress.return;798 } while (workInProgress);799 return info;800 } catch (x) {801 return "\nError generating stack: " + x.message + "\n" + x.stack;802 }803 }804 function describeFunctionComponentFrameWithoutLineNumber(fn) {805 return (fn = fn ? fn.displayName || fn.name : "")806 ? describeBuiltInComponentFrame(fn)807 : "";808 }809 function getCurrentFiberOwnerNameInDevOrNull() {810 if (null === current) return null;811 var owner = current._debugOwner;812 return null != owner ? getComponentNameFromOwner(owner) : null;813 }814 function getCurrentFiberStackInDev() {815 if (null === current) return "";816 var workInProgress = current;817 try {818 var info = "";819 6 === workInProgress.tag && (workInProgress = workInProgress.return);820 switch (workInProgress.tag) {821 case 26:822 case 27:823 case 5:824 info += describeBuiltInComponentFrame(workInProgress.type);825 break;826 case 13:827 info += describeBuiltInComponentFrame("Suspense");828 break;829 case 19:830 info += describeBuiltInComponentFrame("SuspenseList");831 break;832 case 31:833 info += describeBuiltInComponentFrame("Activity");834 break;835 case 30:836 case 0:837 case 15:838 case 1:839 workInProgress._debugOwner ||840 "" !== info ||841 (info += describeFunctionComponentFrameWithoutLineNumber(842 workInProgress.type843 ));844 break;845 case 11:846 workInProgress._debugOwner ||847 "" !== info ||848 (info += describeFunctionComponentFrameWithoutLineNumber(849 workInProgress.type.render850 ));851 }852 for (; workInProgress; )853 if ("number" === typeof workInProgress.tag) {854 var fiber = workInProgress;855 workInProgress = fiber._debugOwner;856 var debugStack = fiber._debugStack;857 if (workInProgress && debugStack) {858 var formattedStack = formatOwnerStack(debugStack);859 "" !== formattedStack && (info += "\n" + formattedStack);860 }861 } else if (null != workInProgress.debugStack) {862 var ownerStack = workInProgress.debugStack;863 (workInProgress = workInProgress.owner) &&864 ownerStack &&865 (info += "\n" + formatOwnerStack(ownerStack));866 } else break;867 var JSCompiler_inline_result = info;868 } catch (x) {869 JSCompiler_inline_result =870 "\nError generating stack: " + x.message + "\n" + x.stack;871 }872 return JSCompiler_inline_result;873 }874 function runWithFiberInDEV(fiber, callback, arg0, arg1, arg2, arg3, arg4) {875 var previousFiber = current;876 setCurrentFiber(fiber);877 try {878 return null !== fiber && fiber._debugTask879 ? fiber._debugTask.run(880 callback.bind(null, arg0, arg1, arg2, arg3, arg4)881 )882 : callback(arg0, arg1, arg2, arg3, arg4);883 } finally {884 setCurrentFiber(previousFiber);885 }886 throw Error(887 "runWithFiberInDEV should never be called in production. This is a bug in React."888 );889 }890 function setCurrentFiber(fiber) {891 ReactSharedInternals.getCurrentStack =892 null === fiber ? null : getCurrentFiberStackInDev;893 isRendering = !1;894 current = fiber;895 }896 function typeName(value) {897 return (898 ("function" === typeof Symbol &&899 Symbol.toStringTag &&900 value[Symbol.toStringTag]) ||901 value.constructor.name ||902 "Object"903 );904 }905 function willCoercionThrow(value) {906 try {907 return testStringCoercion(value), !1;908 } catch (e) {909 return !0;910 }911 }912 function testStringCoercion(value) {913 return "" + value;914 }915 function checkAttributeStringCoercion(value, attributeName) {916 if (willCoercionThrow(value))917 return (918 console.error(919 "The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",920 attributeName,921 typeName(value)922 ),923 testStringCoercion(value)924 );925 }926 function checkCSSPropertyStringCoercion(value, propName) {927 if (willCoercionThrow(value))928 return (929 console.error(930 "The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",931 propName,932 typeName(value)933 ),934 testStringCoercion(value)935 );936 }937 function checkFormFieldValueStringCoercion(value) {938 if (willCoercionThrow(value))939 return (940 console.error(941 "Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",942 typeName(value)943 ),944 testStringCoercion(value)945 );946 }947 function injectInternals(internals) {948 if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;949 var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__;950 if (hook.isDisabled) return !0;951 if (!hook.supportsFiber)952 return (953 console.error(954 "The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"955 ),956 !0957 );958 try {959 (rendererID = hook.inject(internals)), (injectedHook = hook);960 } catch (err) {961 console.error("React instrumentation encountered an error: %o.", err);962 }963 return hook.checkDCE ? !0 : !1;964 }965 function setIsStrictModeForDevtools(newIsStrictMode) {966 "function" === typeof log$1 &&967 unstable_setDisableYieldValue(newIsStrictMode);968 if (injectedHook && "function" === typeof injectedHook.setStrictMode)969 try {970 injectedHook.setStrictMode(rendererID, newIsStrictMode);971 } catch (err) {972 hasLoggedError ||973 ((hasLoggedError = !0),974 console.error(975 "React instrumentation encountered an error: %o",976 err977 ));978 }979 }980 function clz32Fallback(x) {981 x >>>= 0;982 return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;983 }984 function getHighestPriorityLanes(lanes) {985 var pendingSyncLanes = lanes & 42;986 if (0 !== pendingSyncLanes) return pendingSyncLanes;987 switch (lanes & -lanes) {988 case 1:989 return 1;990 case 2:991 return 2;992 case 4:993 return 4;994 case 8:995 return 8;996 case 16:997 return 16;998 case 32:999 return 32;1000 case 64:1001 return 64;1002 case 128:1003 return 128;1004 case 256:1005 case 512:1006 case 1024:1007 case 2048:1008 case 4096:1009 case 8192:1010 case 16384:1011 case 32768:1012 case 65536:1013 case 131072:1014 return lanes & 261888;1015 case 262144:1016 case 524288:1017 case 1048576:1018 case 2097152:1019 return lanes & 3932160;1020 case 4194304:1021 case 8388608:1022 case 16777216:1023 case 33554432:1024 return lanes & 62914560;1025 case 67108864:1026 return 67108864;1027 case 134217728:1028 return 134217728;1029 case 268435456:1030 return 268435456;1031 case 536870912:1032 return 536870912;1033 case 1073741824:1034 return 0;1035 default:1036 return (1037 console.error(1038 "Should have found matching lanes. This is a bug in React."1039 ),1040 lanes1041 );1042 }1043 }1044 function getNextLanes(root, wipLanes, rootHasPendingCommit) {1045 var pendingLanes = root.pendingLanes;1046 if (0 === pendingLanes) return 0;1047 var nextLanes = 0,1048 suspendedLanes = root.suspendedLanes,1049 pingedLanes = root.pingedLanes;1050 root = root.warmLanes;1051 var nonIdlePendingLanes = pendingLanes & 134217727;1052 0 !== nonIdlePendingLanes1053 ? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),1054 0 !== pendingLanes1055 ? (nextLanes = getHighestPriorityLanes(pendingLanes))1056 : ((pingedLanes &= nonIdlePendingLanes),1057 0 !== pingedLanes1058 ? (nextLanes = getHighestPriorityLanes(pingedLanes))1059 : rootHasPendingCommit ||1060 ((rootHasPendingCommit = nonIdlePendingLanes & ~root),1061 0 !== rootHasPendingCommit &&1062 (nextLanes =1063 getHighestPriorityLanes(rootHasPendingCommit)))))1064 : ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),1065 0 !== nonIdlePendingLanes1066 ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))1067 : 0 !== pingedLanes1068 ? (nextLanes = getHighestPriorityLanes(pingedLanes))1069 : rootHasPendingCommit ||1070 ((rootHasPendingCommit = pendingLanes & ~root),1071 0 !== rootHasPendingCommit &&1072 (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));1073 return 0 === nextLanes1074 ? 01075 : 0 !== wipLanes &&1076 wipLanes !== nextLanes &&1077 0 === (wipLanes & suspendedLanes) &&1078 ((suspendedLanes = nextLanes & -nextLanes),1079 (rootHasPendingCommit = wipLanes & -wipLanes),1080 suspendedLanes >= rootHasPendingCommit ||1081 (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)))1082 ? wipLanes1083 : nextLanes;1084 }1085 function checkIfRootIsPrerendering(root, renderLanes) {1086 return (1087 0 ===1088 (root.pendingLanes &1089 ~(root.suspendedLanes & ~root.pingedLanes) &1090 renderLanes)1091 );1092 }1093 function computeExpirationTime(lane, currentTime) {1094 switch (lane) {1095 case 1:1096 case 2:1097 case 4:1098 case 8:1099 case 64:1100 return currentTime + 250;1101 case 16:1102 case 32:1103 case 128:1104 case 256:1105 case 512:1106 case 1024:1107 case 2048:1108 case 4096:1109 case 8192:1110 case 16384:1111 case 32768:1112 case 65536:1113 case 131072:1114 case 262144:1115 case 524288:1116 case 1048576:1117 case 2097152:1118 return currentTime + 5e3;1119 case 4194304:1120 case 8388608:1121 case 16777216:1122 case 33554432:1123 return -1;1124 case 67108864:1125 case 134217728:1126 case 268435456:1127 case 536870912:1128 case 1073741824:1129 return -1;1130 default:1131 return (1132 console.error(1133 "Should have found matching lanes. This is a bug in React."1134 ),1135 -11136 );1137 }1138 }1139 function claimNextRetryLane() {1140 var lane = nextRetryLane;1141 nextRetryLane <<= 1;1142 0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304);1143 return lane;1144 }1145 function createLaneMap(initial) {1146 for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);1147 return laneMap;1148 }1149 function markRootUpdated$1(root, updateLane) {1150 root.pendingLanes |= updateLane;1151 268435456 !== updateLane &&1152 ((root.suspendedLanes = 0),1153 (root.pingedLanes = 0),1154 (root.warmLanes = 0));1155 }1156 function markRootFinished(1157 root,1158 finishedLanes,1159 remainingLanes,1160 spawnedLane,1161 updatedLanes,1162 suspendedRetryLanes1163 ) {1164 var previouslyPendingLanes = root.pendingLanes;1165 root.pendingLanes = remainingLanes;1166 root.suspendedLanes = 0;1167 root.pingedLanes = 0;1168 root.warmLanes = 0;1169 root.expiredLanes &= remainingLanes;1170 root.entangledLanes &= remainingLanes;1171 root.errorRecoveryDisabledLanes &= remainingLanes;1172 root.shellSuspendCounter = 0;1173 var entanglements = root.entanglements,1174 expirationTimes = root.expirationTimes,1175 hiddenUpdates = root.hiddenUpdates;1176 for (1177 remainingLanes = previouslyPendingLanes & ~remainingLanes;1178 0 < remainingLanes;1179 1180 ) {1181 var index = 31 - clz32(remainingLanes),1182 lane = 1 << index;1183 entanglements[index] = 0;1184 expirationTimes[index] = -1;1185 var hiddenUpdatesForLane = hiddenUpdates[index];1186 if (null !== hiddenUpdatesForLane)1187 for (1188 hiddenUpdates[index] = null, index = 0;1189 index < hiddenUpdatesForLane.length;1190 index++1191 ) {1192 var update = hiddenUpdatesForLane[index];1193 null !== update && (update.lane &= -536870913);1194 }1195 remainingLanes &= ~lane;1196 }1197 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);1198 0 !== suspendedRetryLanes &&1199 0 === updatedLanes &&1200 0 !== root.tag &&