UNPKG

next

Version:

The React Framework

23 lines • 1.42 MB
(()=>{var __webpack_modules__={"(react-server)/./dist/compiled/react-dom/cjs/react-dom.react-server.development.js":/*!***************************************************************************!*\ !*** ./dist/compiled/react-dom/cjs/react-dom.react-server.development.js ***! \***************************************************************************/(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";/** * @license React * react-dom.react-server.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */!function(){function noop(){}function getCrossOriginStringAs(as,input){return"font"===as?"":"string"==typeof input?"use-credentials"===input?input:"":void 0}function getValueDescriptorExpectingObjectForWarning(thing){return null===thing?"`null`":void 0===thing?"`undefined`":""===thing?"an empty string":'something with type "'+typeof thing+'"'}function getValueDescriptorExpectingEnumForWarning(thing){return null===thing?"`null`":void 0===thing?"`undefined`":""===thing?"an empty string":"string"==typeof thing?JSON.stringify(thing):"number"==typeof thing?"`"+thing+"`":'something with type "'+typeof thing+'"'}var React=__webpack_require__(/*! next/dist/compiled/react */"(react-server)/./dist/compiled/react/react.react-server.js"),Internals={d:{f:noop,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:noop,C:noop,L:noop,m:noop,X:noop,S:noop,M:noop},p:0,findDOMNode:null};if(!React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Internals,exports.preconnect=function(href,options){"string"==typeof href&&href?null!=options&&"object"!=typeof options?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",getValueDescriptorExpectingEnumForWarning(options)):null!=options&&"string"!=typeof options.crossOrigin&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",getValueDescriptorExpectingObjectForWarning(options.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",getValueDescriptorExpectingObjectForWarning(href)),"string"==typeof href&&(options=options?"string"==typeof(options=options.crossOrigin)?"use-credentials"===options?options:"":void 0:null,Internals.d.C(href,options))},exports.prefetchDNS=function(href){if("string"==typeof href&&href){if(1<arguments.length){var options=arguments[1];"object"==typeof options&&options.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",getValueDescriptorExpectingEnumForWarning(options)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",getValueDescriptorExpectingEnumForWarning(options))}}else console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",getValueDescriptorExpectingObjectForWarning(href));"string"==typeof href&&Internals.d.D(href)},exports.preinit=function(href,options){if("string"==typeof href&&href?null==options||"object"!=typeof options?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",getValueDescriptorExpectingEnumForWarning(options)):"style"!==options.as&&"script"!==options.as&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',getValueDescriptorExpectingEnumForWarning(options.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",getValueDescriptorExpectingObjectForWarning(href)),"string"==typeof href&&options&&"string"==typeof options.as){var as=options.as,crossOrigin=getCrossOriginStringAs(as,options.crossOrigin),integrity="string"==typeof options.integrity?options.integrity:void 0,fetchPriority="string"==typeof options.fetchPriority?options.fetchPriority:void 0;"style"===as?Internals.d.S(href,"string"==typeof options.precedence?options.precedence:void 0,{crossOrigin:crossOrigin,integrity:integrity,fetchPriority:fetchPriority}):"script"===as&&Internals.d.X(href,{crossOrigin:crossOrigin,integrity:integrity,fetchPriority:fetchPriority,nonce:"string"==typeof options.nonce?options.nonce:void 0})}},exports.preinitModule=function(href,options){var encountered="";("string"==typeof href&&href||(encountered+=" The `href` argument encountered was "+getValueDescriptorExpectingObjectForWarning(href)+"."),void 0!==options&&"object"!=typeof options?encountered+=" The `options` argument encountered was "+getValueDescriptorExpectingObjectForWarning(options)+".":options&&"as"in options&&"script"!==options.as&&(encountered+=" The `as` option encountered was "+getValueDescriptorExpectingEnumForWarning(options.as)+"."),encountered)?console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",encountered):"script"===(encountered=options&&"string"==typeof options.as?options.as:"script")||console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',encountered=getValueDescriptorExpectingEnumForWarning(encountered),href),"string"==typeof href&&("object"==typeof options&&null!==options?(null==options.as||"script"===options.as)&&(encountered=getCrossOriginStringAs(options.as,options.crossOrigin),Internals.d.M(href,{crossOrigin:encountered,integrity:"string"==typeof options.integrity?options.integrity:void 0,nonce:"string"==typeof options.nonce?options.nonce:void 0})):null==options&&Internals.d.M(href))},exports.preload=function(href,options){var encountered="";if("string"==typeof href&&href||(encountered+=" The `href` argument encountered was "+getValueDescriptorExpectingObjectForWarning(href)+"."),null==options||"object"!=typeof options?encountered+=" The `options` argument encountered was "+getValueDescriptorExpectingObjectForWarning(options)+".":"string"==typeof options.as&&options.as||(encountered+=" The `as` option encountered was "+getValueDescriptorExpectingObjectForWarning(options.as)+"."),encountered&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',encountered),"string"==typeof href&&"object"==typeof options&&null!==options&&"string"==typeof options.as){var crossOrigin=getCrossOriginStringAs(encountered=options.as,options.crossOrigin);Internals.d.L(href,encountered,{crossOrigin:crossOrigin,integrity:"string"==typeof options.integrity?options.integrity:void 0,nonce:"string"==typeof options.nonce?options.nonce:void 0,type:"string"==typeof options.type?options.type:void 0,fetchPriority:"string"==typeof options.fetchPriority?options.fetchPriority:void 0,referrerPolicy:"string"==typeof options.referrerPolicy?options.referrerPolicy:void 0,imageSrcSet:"string"==typeof options.imageSrcSet?options.imageSrcSet:void 0,imageSizes:"string"==typeof options.imageSizes?options.imageSizes:void 0,media:"string"==typeof options.media?options.media:void 0})}},exports.preloadModule=function(href,options){var encountered="";"string"==typeof href&&href||(encountered+=" The `href` argument encountered was "+getValueDescriptorExpectingObjectForWarning(href)+"."),void 0!==options&&"object"!=typeof options?encountered+=" The `options` argument encountered was "+getValueDescriptorExpectingObjectForWarning(options)+".":options&&"as"in options&&"string"!=typeof options.as&&(encountered+=" The `as` option encountered was "+getValueDescriptorExpectingObjectForWarning(options.as)+"."),encountered&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',encountered),"string"==typeof href&&(options?(encountered=getCrossOriginStringAs(options.as,options.crossOrigin),Internals.d.m(href,{as:"string"==typeof options.as&&"script"!==options.as?options.as:void 0,crossOrigin:encountered,integrity:"string"==typeof options.integrity?options.integrity:void 0})):Internals.d.m(href))},exports.version="19.2.0-canary-3fbfb9ba-20250409"}()},"(react-server)/./dist/compiled/react-dom/react-dom.react-server.js":/*!***********************************************************!*\ !*** ./dist/compiled/react-dom/react-dom.react-server.js ***! \***********************************************************/(module1,__unused_webpack_exports,__webpack_require__)=>{"use strict";module1.exports=__webpack_require__(/*! ./cjs/react-dom.react-server.development.js */"(react-server)/./dist/compiled/react-dom/cjs/react-dom.react-server.development.js")},"(react-server)/./dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js":/*!********************************************************************************************************!*\ !*** ./dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js ***! \********************************************************************************************************/(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";/** * @license React * react-server-dom-webpack-server.edge.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */!function(){function voidHandler(){}function getIteratorFn(maybeIterable){return null===maybeIterable||"object"!=typeof maybeIterable?null:"function"==typeof(maybeIterable=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable["@@iterator"])?maybeIterable:null}function _defineProperty(obj,key,value1){a:if("object"==typeof key&&key){var e=key[Symbol.toPrimitive];if(void 0!==e){if("object"!=typeof(key=e.call(key,"string")))break a;throw TypeError("@@toPrimitive must return a primitive value.")}key=String(key)}return(key="symbol"==typeof key?key:key+"")in obj?Object.defineProperty(obj,key,{value:value1,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value1,obj}function handleErrorInNextTick(error){setTimeoutOrImmediate(function(){throw error})}function writeChunkAndReturn(destination,chunk){if(0!==chunk.byteLength){if(2048<chunk.byteLength)0<writtenBytes&&(destination.enqueue(new Uint8Array(currentView.buffer,0,writtenBytes)),currentView=new Uint8Array(2048),writtenBytes=0),destination.enqueue(chunk);else{var allowableBytes=currentView.length-writtenBytes;allowableBytes<chunk.byteLength&&(0===allowableBytes?destination.enqueue(currentView):(currentView.set(chunk.subarray(0,allowableBytes),writtenBytes),destination.enqueue(currentView),chunk=chunk.subarray(allowableBytes)),currentView=new Uint8Array(2048),writtenBytes=0),currentView.set(chunk,writtenBytes),writtenBytes+=chunk.byteLength}}return!0}function stringToChunk(content){return textEncoder.encode(content)}function byteLengthOfChunk(chunk){return chunk.byteLength}function closeWithError(destination,error){"function"==typeof destination.error?destination.error(error):destination.close()}function isClientReference(reference){return reference.$$typeof===CLIENT_REFERENCE_TAG$1}function registerClientReferenceImpl(proxyImplementation,id,async){return Object.defineProperties(proxyImplementation,{$$typeof:{value:CLIENT_REFERENCE_TAG$1},$$id:{value:id},$$async:{value:async}})}function bind(){var newFn=FunctionBind.apply(this,arguments);if(this.$$typeof===SERVER_REFERENCE_TAG){null!=arguments[0]&&console.error('Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().');var args=ArraySlice.call(arguments,1);return Object.defineProperties(newFn,{$$typeof:{value:SERVER_REFERENCE_TAG},$$id:{value:this.$$id},$$bound:args={value:this.$$bound?this.$$bound.concat(args):args},$$location:{value:this.$$location,configurable:!0},bind:{value:bind,configurable:!0}})}return newFn}function getReference(target,name){switch(name){case"$$typeof":return target.$$typeof;case"$$id":return target.$$id;case"$$async":return target.$$async;case"name":return target.name;case"defaultProps":case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"__esModule":var moduleId=target.$$id;return target.default=registerClientReferenceImpl(function(){throw Error("Attempted to call the default export of "+moduleId+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},target.$$id+"#",target.$$async),!0;case"then":if(target.then)return target.then;if(target.$$async)return;var clientReference=registerClientReferenceImpl({},target.$$id,!0),proxy=new Proxy(clientReference,proxyHandlers$1);return target.status="fulfilled",target.value=proxy,target.then=registerClientReferenceImpl(function(resolve){return Promise.resolve(resolve(proxy))},target.$$id+"#then",!1)}if("symbol"==typeof name)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");return(clientReference=target[name])||(Object.defineProperty(clientReference=registerClientReferenceImpl(function(){throw Error("Attempted to call "+String(name)+"() from the server but "+String(name)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},target.$$id+"#"+name,target.$$async),"name",{value:name}),clientReference=target[name]=new Proxy(clientReference,deepProxyHandlers)),clientReference}function trimOptions(options){if(null==options)return null;var key,hasProperties=!1,trimmed={};for(key in options)null!=options[key]&&(hasProperties=!0,trimmed[key]=options[key]);return hasProperties?trimmed:null}function prepareStackTrace(error,structuredStackTrace){error=(error.name||"Error")+": "+(error.message||"");for(var i=0;i<structuredStackTrace.length;i++)error+="\n at "+structuredStackTrace[i].toString();return error}function parseStackTrace(error,skipFrames){a:{var previousPrepare=Error.prepareStackTrace;Error.prepareStackTrace=prepareStackTrace;try{var stack=String(error.stack);break a}finally{Error.prepareStackTrace=previousPrepare}stack=void 0}for(stack.startsWith("Error: react-stack-top-frame\n")&&(stack=stack.slice(29)),-1!==(error=stack.indexOf("react-stack-bottom-frame"))&&(error=stack.lastIndexOf("\n",error)),-1!==error&&(stack=stack.slice(0,error)),stack=stack.split("\n"),error=[];skipFrames<stack.length;skipFrames++)if(previousPrepare=frameRegExp.exec(stack[skipFrames])){var name=previousPrepare[1]||"";"<anonymous>"===name&&(name="");var filename=previousPrepare[2]||previousPrepare[5]||"";"<anonymous>"===filename&&(filename=""),error.push([name,filename,+(previousPrepare[3]||previousPrepare[6]),+(previousPrepare[4]||previousPrepare[7])])}return error}function noop$1(){}function getSuspendedThenable(){if(null===suspendedThenable)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var thenable=suspendedThenable;return suspendedThenable=null,thenable}function getThenableStateAfterSuspending(){var state=thenableState||[];return state._componentDebugInfo=currentComponentDebugInfo,thenableState=currentComponentDebugInfo=null,state}function unsupportedHook(){throw Error("This Hook is not supported in Server Components.")}function unsupportedRefresh(){throw Error("Refreshing the cache is not supported in Server Components.")}function unsupportedContext(){throw Error("Cannot read a Client Context from a Server Component.")}function resolveOwner(){if(currentOwner)return currentOwner;if(supportsComponentStorage){var owner=componentStorage.getStore();if(owner)return owner}return null}function resetOwnerStackLimit(){var now=getCurrentTime();1e3<now-lastResetTime&&(ReactSharedInternalsServer.recentlyCreatedOwnerStacks=0,lastResetTime=now)}function objectName(object){return Object.prototype.toString.call(object).replace(/^\[object (.*)\]$/,function(m,p0){return p0})}function describeKeyForErrorMessage(key){var encodedKey=JSON.stringify(key);return'"'+key+'"'===encodedKey?key:encodedKey}function describeValueForErrorMessage(value1){switch(typeof value1){case"string":return JSON.stringify(10>=value1.length?value1:value1.slice(0,10)+"...");case"object":if(isArrayImpl(value1))return"[...]";if(null!==value1&&value1.$$typeof===CLIENT_REFERENCE_TAG)return"client";return"Object"===(value1=objectName(value1))?"{...}":value1;case"function":return value1.$$typeof===CLIENT_REFERENCE_TAG?"client":(value1=value1.displayName||value1.name)?"function "+value1:"function";default:return String(value1)}}function describeElementType(type){if("string"==typeof type)return type;switch(type){case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList"}if("object"==typeof type)switch(type.$$typeof){case REACT_FORWARD_REF_TYPE:return describeElementType(type.render);case REACT_MEMO_TYPE:return describeElementType(type.type);case REACT_LAZY_TYPE:var payload=type._payload;type=type._init;try{return describeElementType(type(payload))}catch(x){}}return""}function describeObjectForErrorMessage(objectOrArray,expandedName){var objKind=objectName(objectOrArray);if("Object"!==objKind&&"Array"!==objKind)return objKind;var start=-1,length=0;if(isArrayImpl(objectOrArray)){if(jsxChildrenParents.has(objectOrArray)){var type=jsxChildrenParents.get(objectOrArray);objKind="<"+describeElementType(type)+">";for(var i=0;i<objectOrArray.length;i++){var value1=objectOrArray[i];value1="string"==typeof value1?value1:"object"==typeof value1&&null!==value1?"{"+describeObjectForErrorMessage(value1)+"}":"{"+describeValueForErrorMessage(value1)+"}",""+i===expandedName?(start=objKind.length,length=value1.length,objKind+=value1):objKind=15>value1.length&&40>objKind.length+value1.length?objKind+value1:objKind+"{...}"}objKind+="</"+describeElementType(type)+">"}else{for(type=0,objKind="[";type<objectOrArray.length;type++)0<type&&(objKind+=", "),i="object"==typeof(i=objectOrArray[type])&&null!==i?describeObjectForErrorMessage(i):describeValueForErrorMessage(i),""+type===expandedName?(start=objKind.length,length=i.length,objKind+=i):objKind=10>i.length&&40>objKind.length+i.length?objKind+i:objKind+"...";objKind+="]"}}else if(objectOrArray.$$typeof===REACT_ELEMENT_TYPE)objKind="<"+describeElementType(objectOrArray.type)+"/>";else{if(objectOrArray.$$typeof===CLIENT_REFERENCE_TAG)return"client";if(jsxPropsParents.has(objectOrArray)){for(i=0,objKind="<"+(describeElementType(objKind=jsxPropsParents.get(objectOrArray))||"..."),type=Object.keys(objectOrArray);i<type.length;i++){objKind+=" ",objKind+=describeKeyForErrorMessage(value1=type[i])+"=";var _value2=objectOrArray[value1],_substr2=value1===expandedName&&"object"==typeof _value2&&null!==_value2?describeObjectForErrorMessage(_value2):describeValueForErrorMessage(_value2);"string"!=typeof _value2&&(_substr2="{"+_substr2+"}"),value1===expandedName?(start=objKind.length,length=_substr2.length,objKind+=_substr2):objKind=10>_substr2.length&&40>objKind.length+_substr2.length?objKind+_substr2:objKind+"..."}objKind+=">"}else{for(i=0,objKind="{",type=Object.keys(objectOrArray);i<type.length;i++)0<i&&(objKind+=", "),objKind+=describeKeyForErrorMessage(value1=type[i])+": ",_value2="object"==typeof(_value2=objectOrArray[value1])&&null!==_value2?describeObjectForErrorMessage(_value2):describeValueForErrorMessage(_value2),value1===expandedName?(start=objKind.length,length=_value2.length,objKind+=_value2):objKind=10>_value2.length&&40>objKind.length+_value2.length?objKind+_value2:objKind+"...";objKind+="}"}}return void 0===expandedName?objKind:-1<start&&0<length?"\n "+objKind+"\n "+(objectOrArray=" ".repeat(start)+"^".repeat(length)):"\n "+objKind}function defaultFilterStackFrame(filename){return""!==filename&&!filename.startsWith("node:")&&!filename.includes("node_modules")}function filterStackTrace(request,error,skipFrames){for(request=request.filterStackFrame,error=parseStackTrace(error,skipFrames),skipFrames=0;skipFrames<error.length;skipFrames++){var callsite=error[skipFrames],functionName=callsite[0],url=callsite[1];if(url.startsWith("rsc://React/")){var envIdx=url.indexOf("/",12),suffixIdx=url.lastIndexOf("?");-1<envIdx&&-1<suffixIdx&&(url=callsite[1]=url.slice(envIdx+1,suffixIdx))}request(url,functionName)||(error.splice(skipFrames,1),skipFrames--)}return error}function patchConsole(consoleInst,methodName){var descriptor=Object.getOwnPropertyDescriptor(consoleInst,methodName);if(descriptor&&(descriptor.configurable||descriptor.writable)&&"function"==typeof descriptor.value){var originalMethod=descriptor.value;descriptor=Object.getOwnPropertyDescriptor(originalMethod,"name");var wrapperMethod=function(){var request=resolveRequest();if(("assert"!==methodName||!arguments[0])&&null!==request){var stack=filterStackTrace(request,Error("react-stack-top-frame"),1);request.pendingChunks++,function(request,methodName,owner,stackTrace,args){function replacer(parentPropertyName,value1){try{return renderConsoleValue(request,counter,this,parentPropertyName,value1)}catch(x){return"Unknown Value: React could not send it from the server.\n"+x.message}}var counter={objectLimit:500};null!=owner&&outlineComponentInfo(request,owner);var env=(0,request.environmentName)(),payload=[methodName,stackTrace,owner,env];payload.push.apply(payload,args);try{var json=stringify(payload,replacer)}catch(x){json=stringify([methodName,stackTrace,owner,env,"Unknown Value: React could not send it from the server.",x],replacer)}methodName=stringToChunk(":W"+json+"\n"),request.completedRegularChunks.push(methodName)}(request,methodName,resolveOwner(),stack,arguments)}return originalMethod.apply(this,arguments)};descriptor&&Object.defineProperty(wrapperMethod,"name",descriptor),Object.defineProperty(consoleInst,methodName,{value:wrapperMethod})}}function getCurrentStackInDEV(){var owner=resolveOwner();if(null===owner)return"";try{var info="";if(owner.owner||"string"!=typeof owner.name){for(;owner;){var ownerStack=owner.debugStack;if(null!=ownerStack){if(owner=owner.owner){var JSCompiler_temp_const=info,error=ownerStack,prevPrepareStackTrace=Error.prepareStackTrace;Error.prepareStackTrace=prepareStackTrace;var stack=error.stack;Error.prepareStackTrace=prevPrepareStackTrace,stack.startsWith("Error: react-stack-top-frame\n")&&(stack=stack.slice(29));var idx=stack.indexOf("\n");-1!==idx&&(stack=stack.slice(idx+1)),idx=stack.indexOf("react-stack-bottom-frame"),-1!==idx&&(idx=stack.lastIndexOf("\n",idx));var JSCompiler_inline_result=-1!==idx?stack=stack.slice(0,idx):"";info=JSCompiler_temp_const+"\n"+JSCompiler_inline_result}}else break}var JSCompiler_inline_result$jscomp$0=info}else{if(JSCompiler_temp_const=owner.name,void 0===prefix)try{throw Error()}catch(x){prefix=(error=x.stack.trim().match(/\n( *(at )?)/))&&error[1]||"",suffix=-1<x.stack.indexOf("\n at")?" (<anonymous>)":-1<x.stack.indexOf("@")?"@unknown:0:0":""}JSCompiler_inline_result$jscomp$0="\n"+prefix+JSCompiler_temp_const+suffix}}catch(x){JSCompiler_inline_result$jscomp$0="\nError generating stack: "+x.message+"\n"+x.stack}return JSCompiler_inline_result$jscomp$0}function defaultErrorHandler(error){console.error(error)}function defaultPostponeHandler(){}function RequestInstance(type,model,bundlerConfig,onError,identifierPrefix,onPostpone,temporaryReferences,environmentName,filterStackFrame,onAllReady,onFatalError){if(null!==ReactSharedInternalsServer.A&&ReactSharedInternalsServer.A!==DefaultAsyncDispatcher)throw Error("Currently React only supports one RSC renderer at a time.");ReactSharedInternalsServer.A=DefaultAsyncDispatcher,ReactSharedInternalsServer.getCurrentStack=getCurrentStackInDEV;var abortSet=new Set,pingedTasks=[],hints=new Set;this.type=type,this.status=OPENING,this.flushScheduled=!1,this.destination=this.fatalError=null,this.bundlerConfig=bundlerConfig,this.cache=new Map,this.pendingChunks=this.nextChunkId=0,this.hints=hints,this.abortListeners=new Set,this.abortableTasks=abortSet,this.pingedTasks=pingedTasks,this.completedImportChunks=[],this.completedHintChunks=[],this.completedRegularChunks=[],this.completedErrorChunks=[],this.writtenSymbols=new Map,this.writtenClientReferences=new Map,this.writtenServerReferences=new Map,this.writtenObjects=new WeakMap,this.temporaryReferences=temporaryReferences,this.identifierPrefix=identifierPrefix||"",this.identifierCount=1,this.taintCleanupQueue=[],this.onError=void 0===onError?defaultErrorHandler:onError,this.onPostpone=void 0===onPostpone?defaultPostponeHandler:onPostpone,this.onAllReady=onAllReady,this.onFatalError=onFatalError,this.environmentName=void 0===environmentName?function(){return"Server"}:"function"!=typeof environmentName?function(){return environmentName}:environmentName,this.filterStackFrame=void 0===filterStackFrame?defaultFilterStackFrame:filterStackFrame,this.didWarnForKey=null,pingedTasks.push(type=createTask(this,model,null,!1,abortSet,null,null,null))}function noop(){}function resolveRequest(){if(currentRequest)return currentRequest;if(supportsRequestStorage){var store=requestStorage.getStore();if(store)return store}return null}function serializeThenable(request,task,thenable){var newTask=createTask(request,null,task.keyPath,task.implicitSlot,request.abortableTasks,task.debugOwner,task.debugStack,task.debugTask);switch((task=thenable._debugInfo)&&forwardDebugInfo(request,newTask.id,task),thenable.status){case"fulfilled":return newTask.model=thenable.value,pingTask(request,newTask),newTask.id;case"rejected":return erroredTask(request,newTask,thenable.reason),newTask.id;default:if(request.status===ABORTING)return request.abortableTasks.delete(newTask),newTask.status=ABORTED,task=stringify(serializeByValueID(request.fatalError)),emitModelChunk(request,newTask.id,task),newTask.id;"string"!=typeof thenable.status&&(thenable.status="pending",thenable.then(function(fulfilledValue){"pending"===thenable.status&&(thenable.status="fulfilled",thenable.value=fulfilledValue)},function(error){"pending"===thenable.status&&(thenable.status="rejected",thenable.reason=error)}))}return thenable.then(function(value1){newTask.model=value1,pingTask(request,newTask)},function(reason){newTask.status===PENDING$1&&(erroredTask(request,newTask,reason),enqueueFlush(request))}),newTask.id}function emitHint(request,code,model){code=stringToChunk(":H"+code+(model=stringify(model))+"\n"),request.completedHintChunks.push(code),enqueueFlush(request)}function readThenable(thenable){if("fulfilled"===thenable.status)return thenable.value;if("rejected"===thenable.status)throw thenable.reason;throw thenable}function callWithDebugContextInDEV(request,task,callback,arg){var componentDebugInfo={name:"",env:task.environmentName,key:null,owner:task.debugOwner};componentDebugInfo.stack=null===task.debugStack?null:filterStackTrace(request,task.debugStack,1),componentDebugInfo.debugStack=task.debugStack,request=componentDebugInfo.debugTask=task.debugTask,currentOwner=componentDebugInfo;try{return request?request.run(callback.bind(null,arg)):callback(arg)}finally{currentOwner=null}}function renderFunctionComponent(request,task,key,Component,props,validated){var prevThenableState=task.thenableState;if(task.thenableState=null,null===debugID)return outlineTask(request,task);if(null!==prevThenableState)var componentDebugInfo=prevThenableState._componentDebugInfo;else{var componentDebugID=debugID;componentDebugInfo=Component.displayName||Component.name||"";var componentEnv=(0,request.environmentName)();request.pendingChunks++,(componentDebugInfo={name:componentDebugInfo,env:componentEnv,key:key,owner:task.debugOwner}).stack=null===task.debugStack?null:filterStackTrace(request,task.debugStack,1),componentDebugInfo.props=props,componentDebugInfo.debugStack=task.debugStack,componentDebugInfo.debugTask=task.debugTask,outlineComponentInfo(request,componentDebugInfo),emitDebugChunk(request,componentDebugID,componentDebugInfo),task.environmentName=componentEnv,2===validated&&warnForMissingKey(request,key,componentDebugInfo,task.debugTask)}if(thenableIndexCounter=0,thenableState=prevThenableState,currentComponentDebugInfo=componentDebugInfo,props=supportsComponentStorage?task.debugTask?task.debugTask.run(componentStorage.run.bind(componentStorage,componentDebugInfo,callComponentInDEV,Component,props,componentDebugInfo)):componentStorage.run(componentDebugInfo,callComponentInDEV,Component,props,componentDebugInfo):task.debugTask?task.debugTask.run(callComponentInDEV.bind(null,Component,props,componentDebugInfo)):callComponentInDEV(Component,props,componentDebugInfo),request.status===ABORTING)throw"object"!=typeof props||null===props||"function"!=typeof props.then||isClientReference(props)||props.then(voidHandler,voidHandler),null;return props=function(request,task,Component,result){if("object"!=typeof result||null===result||isClientReference(result))return result;if("function"==typeof result.then)return result.then(function(resolvedValue){"object"==typeof resolvedValue&&null!==resolvedValue&&resolvedValue.$$typeof===REACT_ELEMENT_TYPE&&(resolvedValue._store.validated=1)},voidHandler),"fulfilled"===result.status?result.value:function(wakeable){switch(wakeable.status){case"fulfilled":case"rejected":break;default:"string"!=typeof wakeable.status&&(wakeable.status="pending",wakeable.then(function(fulfilledValue){"pending"===wakeable.status&&(wakeable.status="fulfilled",wakeable.value=fulfilledValue)},function(error){"pending"===wakeable.status&&(wakeable.status="rejected",wakeable.reason=error)}))}var lazyType={$$typeof:REACT_LAZY_TYPE,_payload:wakeable,_init:readThenable};return lazyType._debugInfo=wakeable._debugInfo||[],lazyType}(result);result.$$typeof===REACT_ELEMENT_TYPE&&(result._store.validated=1);var iteratorFn=getIteratorFn(result);if(iteratorFn){var multiShot=_defineProperty({},Symbol.iterator,function(){var iterator=iteratorFn.call(result);return iterator!==result||"[object GeneratorFunction]"===Object.prototype.toString.call(Component)&&"[object Generator]"===Object.prototype.toString.call(result)||callWithDebugContextInDEV(request,task,function(){console.error("Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. ")}),iterator});return multiShot._debugInfo=result._debugInfo,multiShot}return"function"!=typeof result[ASYNC_ITERATOR]||"function"==typeof ReadableStream&&result instanceof ReadableStream?result:((multiShot=_defineProperty({},ASYNC_ITERATOR,function(){var iterator=result[ASYNC_ITERATOR]();return iterator!==result||"[object AsyncGeneratorFunction]"===Object.prototype.toString.call(Component)&&"[object AsyncGenerator]"===Object.prototype.toString.call(result)||callWithDebugContextInDEV(request,task,function(){console.error("Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. ")}),iterator}))._debugInfo=result._debugInfo,multiShot)}(request,task,Component,props),Component=task.keyPath,validated=task.implicitSlot,null!==key?task.keyPath=null===Component?key:Component+","+key:null===Component&&(task.implicitSlot=!0),request=renderModelDestructive(request,task,emptyRoot,"",props),task.keyPath=Component,task.implicitSlot=validated,request}function warnForMissingKey(request,key,componentDebugInfo,debugTask){function logKeyError(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',"","")}if(null==(key=request.didWarnForKey)&&(key=request.didWarnForKey=new WeakSet),null!=(request=componentDebugInfo.owner)){if(key.has(request))return;key.add(request)}supportsComponentStorage?debugTask?debugTask.run(componentStorage.run.bind(componentStorage,componentDebugInfo,callComponentInDEV,logKeyError,null,componentDebugInfo)):componentStorage.run(componentDebugInfo,callComponentInDEV,logKeyError,null,componentDebugInfo):debugTask?debugTask.run(callComponentInDEV.bind(null,logKeyError,null,componentDebugInfo)):callComponentInDEV(logKeyError,null,componentDebugInfo)}function renderFragment(request,task,children){for(var i=0;i<children.length;i++){var child=children[i];null===child||"object"!=typeof child||child.$$typeof!==REACT_ELEMENT_TYPE||null!==child.key||child._store.validated||(child._store.validated=2)}if(null!==task.keyPath)return request=[REACT_ELEMENT_TYPE,REACT_FRAGMENT_TYPE,task.keyPath,{children:children},null,null,0],task.implicitSlot?[request]:request;if(i=children._debugInfo){if(null===debugID)return outlineTask(request,task);forwardDebugInfo(request,debugID,i),children=Array.from(children)}return children}function outlineTask(request,task){return task=createTask(request,task.model,task.keyPath,task.implicitSlot,request.abortableTasks,task.debugOwner,task.debugStack,task.debugTask),retryTask(request,task),task.status===COMPLETED?serializeByValueID(task.id):"$L"+task.id.toString(16)}function pingTask(request,task){var pingedTasks=request.pingedTasks;pingedTasks.push(task),1===pingedTasks.length&&(request.flushScheduled=null!==request.destination,request.type===PRERENDER||request.status===OPENING?scheduleMicrotask(function(){return performWork(request)}):setTimeoutOrImmediate(function(){return performWork(request)},0))}function createTask(request,model,keyPath,implicitSlot,abortSet,debugOwner,debugStack,debugTask){request.pendingChunks++;var id=request.nextChunkId++;"object"!=typeof model||null===model||null!==keyPath||implicitSlot||request.writtenObjects.set(model,serializeByValueID(id));var task={id:id,status:PENDING$1,model:model,keyPath:keyPath,implicitSlot:implicitSlot,ping:function(){return pingTask(request,task)},toJSON:function(parentPropertyName,value1){var parent=this,originalValue=parent[parentPropertyName];return"object"!=typeof originalValue||originalValue===value1||originalValue instanceof Date||callWithDebugContextInDEV(request,task,function(){"Object"!==objectName(originalValue)?"string"==typeof jsxChildrenParents.get(parent)?console.error("%s objects cannot be rendered as text children. Try formatting it using toString().%s",objectName(originalValue),describeObjectForErrorMessage(parent,parentPropertyName)):console.error("Only plain objects can be passed to Client Components from Server Components. %s objects are not supported.%s",objectName(originalValue),describeObjectForErrorMessage(parent,parentPropertyName)):console.error("Only plain objects can be passed to Client Components from Server Components. Objects with toJSON methods are not supported. Convert it manually to a simple value before passing it to props.%s",describeObjectForErrorMessage(parent,parentPropertyName))}),function(request,task,parent,key,value1){var prevKeyPath=task.keyPath,prevImplicitSlot=task.implicitSlot;try{return renderModelDestructive(request,task,parent,key,value1)}catch(thrownValue){if(parent="object"==typeof(parent=task.model)&&null!==parent&&(parent.$$typeof===REACT_ELEMENT_TYPE||parent.$$typeof===REACT_LAZY_TYPE),request.status===ABORTING)return task.status=ABORTED,task=request.fatalError,parent?"$L"+task.toString(16):serializeByValueID(task);if("object"==typeof(key=thrownValue===SuspenseException?getSuspendedThenable():thrownValue)&&null!==key&&"function"==typeof key.then)return value1=(request=createTask(request,task.model,task.keyPath,task.implicitSlot,request.abortableTasks,task.debugOwner,task.debugStack,task.debugTask)).ping,key.then(value1,value1),request.thenableState=getThenableStateAfterSuspending(),task.keyPath=prevKeyPath,task.implicitSlot=prevImplicitSlot,parent?"$L"+request.id.toString(16):serializeByValueID(request.id);return task.keyPath=prevKeyPath,task.implicitSlot=prevImplicitSlot,request.pendingChunks++,prevKeyPath=request.nextChunkId++,task=logRecoverableError(request,key,task),emitErrorChunk(request,prevKeyPath,task,key),parent?"$L"+prevKeyPath.toString(16):serializeByValueID(prevKeyPath)}}(request,task,parent,parentPropertyName,value1)},thenableState:null};return task.environmentName=request.environmentName(),task.debugOwner=debugOwner,task.debugStack=debugStack,task.debugTask=debugTask,abortSet.add(task),task}function serializeByValueID(id){return"$"+id.toString(16)}function serializeNumber(number){return Number.isFinite(number)?0===number&&-1/0==1/number?"$-0":number:1/0===number?"$Infinity":-1/0===number?"$-Infinity":"$NaN"}function encodeReferenceChunk(request,id,reference){return request=stringify(reference),stringToChunk(id=id.toString(16)+":"+request+"\n")}function serializeClientReference(request,parent,parentPropertyName,clientReference){var clientReferenceKey=clientReference.$$async?clientReference.$$id+"#async":clientReference.$$id,writtenClientReferences=request.writtenClientReferences,existingId=writtenClientReferences.get(clientReferenceKey);if(void 0!==existingId)return parent[0]===REACT_ELEMENT_TYPE&&"1"===parentPropertyName?"$L"+existingId.toString(16):serializeByValueID(existingId);try{var config=request.bundlerConfig,modulePath=clientReference.$$id;existingId="";var resolvedModuleData=config[modulePath];if(resolvedModuleData)existingId=resolvedModuleData.name;else{var idx=modulePath.lastIndexOf("#");if(-1!==idx&&(existingId=modulePath.slice(idx+1),resolvedModuleData=config[modulePath.slice(0,idx)]),!resolvedModuleData)throw Error('Could not find the module "'+modulePath+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.')}if(!0===resolvedModuleData.async&&!0===clientReference.$$async)throw Error('The module "'+modulePath+'" is marked as an async ESM module but was loaded as a CJS proxy. This is probably a bug in the React Server Components bundler.');var clientReferenceMetadata=!0===resolvedModuleData.async||!0===clientReference.$$async?[resolvedModuleData.id,resolvedModuleData.chunks,existingId,1]:[resolvedModuleData.id,resolvedModuleData.chunks,existingId];request.pendingChunks++;var importId=request.nextChunkId++,json=stringify(clientReferenceMetadata),row=importId.toString(16)+":I"+json+"\n",processedChunk=stringToChunk(row);return request.completedImportChunks.push(processedChunk),writtenClientReferences.set(clientReferenceKey,importId),parent[0]===REACT_ELEMENT_TYPE&&"1"===parentPropertyName?"$L"+importId.toString(16):serializeByValueID(importId)}catch(x){return request.pendingChunks++,parent=request.nextChunkId++,parentPropertyName=logRecoverableError(request,x,null),emitErrorChunk(request,parent,parentPropertyName,x),serializeByValueID(parent)}}function outlineModel(request,value1){return value1=createTask(request,value1,null,!1,request.abortableTasks,null,null,null),retryTask(request,value1),value1.id}function serializeLargeTextString(request,text){request.pendingChunks++;var textId=request.nextChunkId++;return emitTextChunk(request,textId,text),serializeByValueID(textId)}function serializeFormData(request,formData){return"$K"+outlineModel(request,formData=Array.from(formData.entries())).toString(16)}function serializeTypedArray(request,tag,typedArray){request.pendingChunks++;var bufferId=request.nextChunkId++;return emitTypedArrayChunk(request,bufferId,tag,typedArray),serializeByValueID(bufferId)}function serializeBlob(request,blob){function error(reason){aborted||(aborted=!0,request.abortListeners.delete(abortBlob),erroredTask(request,newTask,reason),enqueueFlush(request),reader.cancel(reason).then(error,error))}function abortBlob(reason){aborted||(aborted=!0,request.abortListeners.delete(abortBlob),erroredTask(request,newTask,reason),enqueueFlush(request),reader.cancel(reason).then(error,error))}var model=[blob.type],newTask=createTask(request,model,null,!1,request.abortableTasks,null,null,null),reader=blob.stream().getReader(),aborted=!1;return request.abortListeners.add(abortBlob),reader.read().then(function progress(entry){if(!aborted){if(!entry.done)return model.push(entry.value),reader.read().then(progress).catch(error);request.abortListeners.delete(abortBlob),aborted=!0,pingTask(request,newTask)}}).catch(error),"$B"+newTask.id.toString(16)}function renderModelDestructive(request,task,parent,parentPropertyName,value1){if(task.model=value1,value1===REACT_ELEMENT_TYPE)return"$";if(null===value1)return null;if("object"==typeof value1){switch(value1.$$typeof){case REACT_ELEMENT_TYPE:var request1,task1,getAsyncIterator,elementReference=null,_writtenObjects=request.writtenObjects;if(null===task.keyPath&&!task.implicitSlot){var _existingReference=_writtenObjects.get(value1);if(void 0!==_existingReference){if(modelRoot!==value1)return _existingReference;modelRoot=null}else -1===parentPropertyName.indexOf(":")&&void 0!==(_existingReference=_writtenObjects.get(parent))&&(elementReference=_existingReference+":"+parentPropertyName,_writtenObjects.set(value1,elementReference))}if(_existingReference=value1._debugInfo){if(null===debugID)return outlineTask(request,task);forwardDebugInfo(request,debugID,_existingReference)}var refProp=(_existingReference=value1.props).ref;return task.debugOwner=value1._owner,task.debugStack=value1._debugStack,task.debugTask=value1._debugTask,"object"==typeof(request=function renderElement(request,task,type,key,ref,props,validated){if(null!=ref)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if(jsxPropsParents.set(props,type),"object"==typeof props.children&&null!==props.children&&jsxChildrenParents.set(props.children,type),!("function"!=typeof type||isClientReference(type))&&type.$$typeof!==TEMPORARY_REFERENCE_TAG)return renderFunctionComponent(request,task,key,type,props,validated);if(type===REACT_FRAGMENT_TYPE&&null===key)return 2===validated&&(validated={name:"Fragment",env:(0,request.environmentName)(),key:key,owner:task.debugOwner,stack:null===task.debugStack?null:filterStackTrace(request,task.debugStack,1),props:props,debugStack:task.debugStack,debugTask:task.debugTask},warnForMissingKey(request,key,validated,task.debugTask)),validated=task.implicitSlot,null===task.keyPath&&(task.implicitSlot=!0),request=renderModelDestructive(request,task,emptyRoot,"",props.children),task.implicitSlot=validated,request;if(null!=type&&"object"==typeof type&&!isClientReference(type))switch(type.$$typeof){case REACT_LAZY_TYPE:if(type=callLazyInitInDEV(type),request.status===ABORTING)throw null;return renderElement(request,task,type,key,ref,props,validated);case REACT_FORWARD_REF_TYPE:return renderFunctionComponent(request,task,key,type.render,props,validated);case REACT_MEMO_TYPE:return renderElement(request,task,type.type,key,ref,props,validated);case REACT_ELEMENT_TYPE:type._store.validated=1}return ref=task.keyPath,null===key?key=ref:null!==ref&&(key=ref+","+key),null!==task.debugOwner&&outlineComponentInfo(request,task.debugOwner),request=[REACT_ELEMENT_TYPE,type,key,props,task.debugOwner,null===task.debugStack?null:filterStackTrace(request,task.debugStack,1),validated],task=task.implicitSlot&&null!==key?[request]:request}(request,task,value1.type,value1.key,void 0!==refProp?refProp:null,_existingReference,value1._store.validated))&&null!==request&&null!==elementReference&&(_writtenObjects.has(request)||_writtenObjects.set(request,elementReference)),request;case REACT_LAZY_TYPE:if(task.thenableState=null,elementReference=callLazyInitInDEV(value1),request.status===ABORTING)throw null;if(_writtenObjects=value1._debugInfo){if(null===debugID)return outlineTask(request,task);forwardDebugInfo(request,debugID,_writtenObjects)}return renderModelDestructive(request,task,emptyRoot,"",elementReference);case REACT_LEGACY_ELEMENT_TYPE:throw Error('A React Element from an older version of React was rendered. This is not supported. It can happen if:\n- Multiple copies of the "react" package is used.\n- A library pre-bundled an old copy of "react" or "react/jsx-runtime".\n- A compiler tries to "inline" JSX instead of using the runtime.')}if(isClientReference(value1))return serializeClientReference(request,parent,parentPropertyName,value1);if(void 0!==request.temporaryReferences&&void 0!==(elementReference=request.temporaryReferences.get(value1)))return"$T"+elementReference;if(_writtenObjects=(elementReference=request.writtenObjects).get(value1),"function"==typeof value1.then){if(void 0!==_writtenObjects){if(null!==task.keyPath||task.implicitSlot)return"$@"+serializeThenable(request,task,value1).toString(16);if(modelRoot!==value1)return _writtenObjects;modelRoot=null}return request="$@"+serializeThenable(request,task,value1).toString(16),elementReference.set(value1,request),request}if(void 0!==_writtenObjects){if(modelRoot!==value1)return _writtenObjects;modelRoot=null}else if(-1===parentPropertyName.indexOf(":")&&void 0!==(_writtenObjects=elementReference.get(parent))){if(_existingReference=parentPropertyName,isArrayImpl(parent)&&parent[0]===REACT_ELEMENT_TYPE)switch(parentPropertyName){case"1":_existingReference="type";break;case"2":_existingReference="key";break;case"3":_existingReference="props";break;case"4":_existingReference="_owner"}elementReference.set(value1,_writtenObjects+":"+_existingReference)}if(isArrayImpl(value1))return renderFragment(request,task,value1);if(value1 instanceof Map)return"$Q"+outlineModel(request,Array.from(value1)).toString(16);if(value1 instanceof Set)return"$W"+outlineModel(request,Array.from(value1)).toString(16);if("function"==typeof FormData&&value1 instanceof FormData)return serializeFormData(request,value1);if(value1 instanceof Error)return serializeErrorValue(request,value1);if(value1 instanceof ArrayBuffer)return serializeTypedArray(request,"A",new Uint8Array(value1));if(value1 instanceof Int8Array)return serializeTypedArray(request,"O",value1);if(value1 instanceof Uint8Array)return serializeTypedArray(request,"o",value1);if(value1 instanceof Uint8ClampedArray)return serializeTypedArray(request,"U",value1);if(value1 instanceof Int16Array)return serializeTypedArray(request,"S",value1);if(value1 instanceof Uint16Array)return serializeTypedArray(request,"s",value1);if(value1 instanceof Int32Array)return serializeTypedArray(request,"L",value1);if(value1 instanceof Uint32Array)return serializeTypedArray(request,"l",value1);if(value1 instanceof Float32Array)return serializeTypedArray(request,"G",value1);if(value1 instanceof Float64Array)return serializeTypedArray(request,"g",value1);if(value1 instanceof BigInt64Array)return serializeTypedArray(request,"M",value1);if(value1 instanceof BigUint64Array)return serializeTypedArray(request,"m",value1);if(value1 instanceof DataView)return serializeTypedArray(request,"V",value1);if("function"==typeof Blob&&value1 instanceof Blob)return serializeBlob(request,value1);if(elementReference=getIteratorFn(value1))return(elementReference=elementReference.call(value1))===value1?"$i"+outlineModel(request,Array.from(elementReference)).toString(16):renderFragment(request,task,Array.from(elementReference));if("function"==typeof ReadableStream&&value1 instanceof ReadableStream)return function(request,task,stream){function error(reason){aborted||(aborted=!0,request.abortListeners.delete(abortStream),erroredTask(request,streamTask,reason),enqueueFlush(request),reader.cancel(reason).then(error,error))}function abortStream(reason){aborted||(aborted=!0,request.abortListeners.delete(abortStream),erroredTask(request,streamTask,reason),enqueueFlush(request),reader.cancel(reason).then(error,error))}var supportsBYOB=stream.supportsBYOB;if(void 0===supportsBYOB)try{stream.getReader({mode:"byob"}).releaseLock(),supportsBYOB=!0}catch(x){supportsBYOB=!1}var reader=stream.getReader(),streamTask=createTask(request,task.model,task.keyPath,task.implicitSlot,request.abortableTasks,task.debugOwner,task.