{"version":3,"file":"blazor.web.js","sources":["../../../../JSInterop/Microsoft.JSInterop.JS/src/dist/src/Microsoft.JSInterop.js","../../src/Environment.ts","../../src/Rendering/RenderBatch/RenderBatch.ts","../../src/Rendering/Events/EventFieldInfo.ts","../../src/Rendering/Events/EventTypes.ts","../../src/Rendering/JSRootComponents.ts","../../src/Rendering/WebRendererInteropMethods.ts","../../src/Rendering/Events/EventDelegator.ts","../../src/Rendering/LogicalElements.ts","../../src/Rendering/ElementReferenceCapture.ts","../../src/Rendering/DomSpecialPropertyUtil.ts","../../src/Rendering/BrowserRenderer.ts","../../src/Services/NavigationManager.ts","../../src/Rendering/Renderer.ts","../../src/Services/NavigationUtils.ts","../../src/DomWrapper.ts","../../src/Virtualize.ts","../../src/PageTitle.ts","../../src/InputFile.ts","../../src/NavigationLock.ts","../../src/StreamingInterop.ts","../../src/GlobalExports.ts","../../src/Platform/Logging/Logger.ts","../../src/Platform/Logging/Loggers.ts","../../src/Services/ComponentDescriptorDiscovery.ts","../../../../SignalR/clients/ts/signalr/dist/esm/Errors.js","../../../../SignalR/clients/ts/signalr/dist/esm/HttpClient.js","../../../../SignalR/clients/ts/signalr/dist/esm/ILogger.js","../../../../SignalR/clients/ts/signalr/dist/esm/IHubProtocol.js","../../../../SignalR/clients/ts/signalr/dist/esm/HubConnection.js","../../../../SignalR/clients/ts/signalr/dist/esm/Loggers.js","../../../../SignalR/clients/ts/signalr/dist/esm/Utils.js","../../../../SignalR/clients/ts/signalr/dist/esm/pkg-version.js","../../../../SignalR/clients/ts/signalr/dist/esm/FetchHttpClient.js","../../../../SignalR/clients/ts/signalr/dist/esm/XhrHttpClient.js","../../../../SignalR/clients/ts/signalr/dist/esm/DefaultHttpClient.js","../../../../SignalR/clients/ts/signalr/dist/esm/TextMessageFormat.js","../../../../SignalR/clients/ts/signalr/dist/esm/HandshakeProtocol.js","../../../../SignalR/clients/ts/signalr/dist/esm/Subject.js","../../../../SignalR/clients/ts/signalr/dist/esm/MessageBuffer.js","../../../../SignalR/clients/ts/signalr/dist/esm/DefaultReconnectPolicy.js","../../../../SignalR/clients/ts/signalr/dist/esm/HeaderNames.js","../../../../SignalR/clients/ts/signalr/dist/esm/AccessTokenHttpClient.js","../../../../SignalR/clients/ts/signalr/dist/esm/ITransport.js","../../../../SignalR/clients/ts/signalr/dist/esm/AbortController.js","../../../../SignalR/clients/ts/signalr/dist/esm/LongPollingTransport.js","../../../../SignalR/clients/ts/signalr/dist/esm/ServerSentEventsTransport.js","../../../../SignalR/clients/ts/signalr/dist/esm/WebSocketTransport.js","../../../../SignalR/clients/ts/signalr/dist/esm/HttpConnection.js","../../../../SignalR/clients/ts/signalr/dist/esm/JsonHubProtocol.js","../../../../SignalR/clients/ts/signalr/dist/esm/HubConnectionBuilder.js","../../src/Rendering/WebRendererId.ts","../../../../../node_modules/@msgpack/msgpack/dist.es5+esm/utils/int.mjs","../../../../../node_modules/@msgpack/msgpack/dist.es5+esm/utils/utf8.mjs","../../../../../node_modules/@msgpack/msgpack/dist.es5+esm/DecodeError.mjs","../../../../../node_modules/@msgpack/msgpack/dist.es5+esm/ExtData.mjs","../../../../../node_modules/@msgpack/msgpack/dist.es5+esm/timestamp.mjs","../../../../../node_modules/@msgpack/msgpack/dist.es5+esm/ExtensionCodec.mjs","../../../../../node_modules/@msgpack/msgpack/dist.es5+esm/utils/typedArrays.mjs","../../../../../node_modules/@msgpack/msgpack/dist.es5+esm/Encoder.mjs","../../../../../node_modules/@msgpack/msgpack/dist.es5+esm/utils/prettyByte.mjs","../../../../../node_modules/@msgpack/msgpack/dist.es5+esm/CachedKeyDecoder.mjs","../../../../../node_modules/@msgpack/msgpack/dist.es5+esm/Decoder.mjs","../../../../SignalR/clients/ts/signalr-protocol-msgpack/dist/esm/BinaryMessageFormat.js","../../../../SignalR/clients/ts/signalr-protocol-msgpack/dist/esm/MessagePackHubProtocol.js","../../../../SignalR/clients/ts/signalr-protocol-msgpack/dist/esm/Utils.js","../../src/Utf8Decoder.ts","../../src/BinaryDecoder.ts","../../src/Rendering/RenderBatch/OutOfProcessRenderBatch.ts","../../src/Platform/Circuits/RenderQueue.ts","../../src/BootErrors.ts","../../src/Platform/Circuits/CircuitManager.ts","../../src/Platform/Circuits/CircuitStreamingInterop.ts","../../src/Platform/Circuits/CircuitStartOptions.ts","../../src/Platform/Circuits/DefaultReconnectDisplay.ts","../../src/Platform/Circuits/UserSpecifiedDisplay.ts","../../src/Platform/Circuits/DefaultReconnectionHandler.ts","../../src/JSInitializers/JSInitializers.ts","../../src/Boot.Server.Common.ts","../../src/JSInitializers/JSInitializers.Server.ts","../../src/Platform/Mono/MonoDebugger.ts","../../src/Platform/Mono/MonoPlatform.ts","../../src/JSInitializers/JSInitializers.WebAssembly.ts","../../src/Rendering/RenderBatch/SharedMemoryRenderBatch.ts","../../src/Platform/WebAssemblyComponentAttacher.ts","../../src/Boot.WebAssembly.Common.ts","../../src/Rendering/DomMerging/AttributeSync.ts","../../src/Rendering/DomMerging/DataPermanentElementSync.ts","../../src/Rendering/DomMerging/EditScript.ts","../../src/Rendering/DomMerging/DomSync.ts","../../src/Services/NavigationEnhancement.ts","../../src/Rendering/StreamingRendering.ts","../../src/Services/WebRootComponentManager.ts","../../src/Services/JSEventRegistry.ts","../../src/Rendering/FocusOnNavigate.ts","../../src/Boot.Web.ts","../../src/JSInitializers/JSInitializers.Web.ts","../../src/BootCommon.ts"],"sourcesContent":["// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n// This is a single-file self-contained module to avoid the need for a Webpack build\nexport var DotNet;\n(function (DotNet) {\n const jsonRevivers = [];\n const jsObjectIdKey = \"__jsObjectId\";\n const dotNetObjectRefKey = \"__dotNetObject\";\n const byteArrayRefKey = \"__byte[]\";\n const dotNetStreamRefKey = \"__dotNetStream\";\n const jsStreamReferenceLengthKey = \"__jsStreamReferenceLength\";\n // If undefined, no dispatcher has been attached yet.\n // If null, this means more than one dispatcher was attached, so no default can be determined.\n // Otherwise, there was only one dispatcher registered. We keep track of this instance to keep legacy APIs working.\n let defaultCallDispatcher;\n // Provides access to the \"current\" call dispatcher without having to flow it through nested function calls.\n let currentCallDispatcher;\n class JSObject {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n constructor(_jsObject) {\n this._jsObject = _jsObject;\n this._cachedFunctions = new Map();\n }\n findFunction(identifier) {\n const cachedFunction = this._cachedFunctions.get(identifier);\n if (cachedFunction) {\n return cachedFunction;\n }\n let result = this._jsObject;\n let lastSegmentValue;\n identifier.split(\".\").forEach(segment => {\n if (segment in result) {\n lastSegmentValue = result;\n result = result[segment];\n }\n else {\n throw new Error(`Could not find '${identifier}' ('${segment}' was undefined).`);\n }\n });\n if (result instanceof Function) {\n result = result.bind(lastSegmentValue);\n this._cachedFunctions.set(identifier, result);\n return result;\n }\n throw new Error(`The value '${identifier}' is not a function.`);\n }\n getWrappedObject() {\n return this._jsObject;\n }\n }\n const windowJSObjectId = 0;\n const cachedJSObjectsById = {\n [windowJSObjectId]: new JSObject(window)\n };\n cachedJSObjectsById[windowJSObjectId]._cachedFunctions.set(\"import\", (url) => {\n // In most cases developers will want to resolve dynamic imports relative to the base HREF.\n // However since we're the one calling the import keyword, they would be resolved relative to\n // this framework bundle URL. Fix this by providing an absolute URL.\n if (typeof url === \"string\" && url.startsWith(\"./\")) {\n url = new URL(url.substring(2), document.baseURI).toString();\n }\n return import(/* webpackIgnore: true */ url);\n });\n let nextJsObjectId = 1; // Start at 1 because zero is reserved for \"window\"\n /**\n * Creates a .NET call dispatcher to use for handling invocations between JavaScript and a .NET runtime.\n *\n * @param dotNetCallDispatcher An object that can dispatch calls from JavaScript to a .NET runtime.\n */\n function attachDispatcher(dotNetCallDispatcher) {\n const result = new CallDispatcher(dotNetCallDispatcher);\n if (defaultCallDispatcher === undefined) {\n // This was the first dispatcher registered, so it becomes the default. This exists purely for\n // backwards compatibility.\n defaultCallDispatcher = result;\n }\n else if (defaultCallDispatcher) {\n // There is already a default dispatcher. Now that there are multiple to choose from, there can\n // be no acceptable default, so we nullify the default dispatcher.\n defaultCallDispatcher = null;\n }\n return result;\n }\n DotNet.attachDispatcher = attachDispatcher;\n /**\n * Adds a JSON reviver callback that will be used when parsing arguments received from .NET.\n * @param reviver The reviver to add.\n */\n function attachReviver(reviver) {\n jsonRevivers.push(reviver);\n }\n DotNet.attachReviver = attachReviver;\n /**\n * Invokes the specified .NET public method synchronously. Not all hosting scenarios support\n * synchronous invocation, so if possible use invokeMethodAsync instead.\n *\n * @deprecated Use DotNetObject to invoke instance methods instead.\n * @param assemblyName The short name (without key/version or .dll extension) of the .NET assembly containing the method.\n * @param methodIdentifier The identifier of the method to invoke. The method must have a [JSInvokable] attribute specifying this identifier.\n * @param args Arguments to pass to the method, each of which must be JSON-serializable.\n * @returns The result of the operation.\n */\n function invokeMethod(assemblyName, methodIdentifier, ...args) {\n const dispatcher = getDefaultCallDispatcher();\n return dispatcher.invokeDotNetStaticMethod(assemblyName, methodIdentifier, ...args);\n }\n DotNet.invokeMethod = invokeMethod;\n /**\n * Invokes the specified .NET public method asynchronously.\n *\n * @deprecated Use DotNetObject to invoke instance methods instead.\n * @param assemblyName The short name (without key/version or .dll extension) of the .NET assembly containing the method.\n * @param methodIdentifier The identifier of the method to invoke. The method must have a [JSInvokable] attribute specifying this identifier.\n * @param args Arguments to pass to the method, each of which must be JSON-serializable.\n * @returns A promise representing the result of the operation.\n */\n function invokeMethodAsync(assemblyName, methodIdentifier, ...args) {\n const dispatcher = getDefaultCallDispatcher();\n return dispatcher.invokeDotNetStaticMethodAsync(assemblyName, methodIdentifier, ...args);\n }\n DotNet.invokeMethodAsync = invokeMethodAsync;\n /**\n * Creates a JavaScript object reference that can be passed to .NET via interop calls.\n *\n * @param jsObject The JavaScript Object used to create the JavaScript object reference.\n * @returns The JavaScript object reference (this will be the same instance as the given object).\n * @throws Error if the given value is not an Object.\n */\n function createJSObjectReference(jsObject) {\n if (jsObject && typeof jsObject === \"object\") {\n cachedJSObjectsById[nextJsObjectId] = new JSObject(jsObject);\n const result = {\n [jsObjectIdKey]: nextJsObjectId\n };\n nextJsObjectId++;\n return result;\n }\n throw new Error(`Cannot create a JSObjectReference from the value '${jsObject}'.`);\n }\n DotNet.createJSObjectReference = createJSObjectReference;\n /**\n * Creates a JavaScript data reference that can be passed to .NET via interop calls.\n *\n * @param streamReference The ArrayBufferView or Blob used to create the JavaScript stream reference.\n * @returns The JavaScript data reference (this will be the same instance as the given object).\n * @throws Error if the given value is not an Object or doesn't have a valid byteLength.\n */\n function createJSStreamReference(streamReference) {\n let length = -1;\n // If we're given a raw Array Buffer, we interpret it as a `Uint8Array` as\n // ArrayBuffers' aren't directly readable.\n if (streamReference instanceof ArrayBuffer) {\n streamReference = new Uint8Array(streamReference);\n }\n if (streamReference instanceof Blob) {\n length = streamReference.size;\n }\n else if (streamReference.buffer instanceof ArrayBuffer) {\n if (streamReference.byteLength === undefined) {\n throw new Error(`Cannot create a JSStreamReference from the value '${streamReference}' as it doesn't have a byteLength.`);\n }\n length = streamReference.byteLength;\n }\n else {\n throw new Error(\"Supplied value is not a typed array or blob.\");\n }\n const result = {\n [jsStreamReferenceLengthKey]: length\n };\n try {\n const jsObjectReference = createJSObjectReference(streamReference);\n result[jsObjectIdKey] = jsObjectReference[jsObjectIdKey];\n }\n catch (error) {\n throw new Error(`Cannot create a JSStreamReference from the value '${streamReference}'.`);\n }\n return result;\n }\n DotNet.createJSStreamReference = createJSStreamReference;\n /**\n * Disposes the given JavaScript object reference.\n *\n * @param jsObjectReference The JavaScript Object reference.\n */\n function disposeJSObjectReference(jsObjectReference) {\n const id = jsObjectReference && jsObjectReference[jsObjectIdKey];\n if (typeof id === \"number\") {\n disposeJSObjectReferenceById(id);\n }\n }\n DotNet.disposeJSObjectReference = disposeJSObjectReference;\n function parseJsonWithRevivers(callDispatcher, json) {\n currentCallDispatcher = callDispatcher;\n const result = json ? JSON.parse(json, (key, initialValue) => {\n // Invoke each reviver in order, passing the output from the previous reviver,\n // so that each one gets a chance to transform the value\n return jsonRevivers.reduce((latestValue, reviver) => reviver(key, latestValue), initialValue);\n }) : null;\n currentCallDispatcher = undefined;\n return result;\n }\n function getDefaultCallDispatcher() {\n if (defaultCallDispatcher === undefined) {\n throw new Error(\"No call dispatcher has been set.\");\n }\n else if (defaultCallDispatcher === null) {\n throw new Error(\"There are multiple .NET runtimes present, so a default dispatcher could not be resolved. Use DotNetObject to invoke .NET instance methods.\");\n }\n else {\n return defaultCallDispatcher;\n }\n }\n /**\n * Represents the type of result expected from a JS interop call.\n */\n // eslint-disable-next-line no-shadow\n let JSCallResultType;\n (function (JSCallResultType) {\n JSCallResultType[JSCallResultType[\"Default\"] = 0] = \"Default\";\n JSCallResultType[JSCallResultType[\"JSObjectReference\"] = 1] = \"JSObjectReference\";\n JSCallResultType[JSCallResultType[\"JSStreamReference\"] = 2] = \"JSStreamReference\";\n JSCallResultType[JSCallResultType[\"JSVoidResult\"] = 3] = \"JSVoidResult\";\n })(JSCallResultType = DotNet.JSCallResultType || (DotNet.JSCallResultType = {}));\n class CallDispatcher {\n // eslint-disable-next-line no-empty-function\n constructor(_dotNetCallDispatcher) {\n this._dotNetCallDispatcher = _dotNetCallDispatcher;\n this._byteArraysToBeRevived = new Map();\n this._pendingDotNetToJSStreams = new Map();\n this._pendingAsyncCalls = {};\n this._nextAsyncCallId = 1; // Start at 1 because zero signals \"no response needed\"\n }\n getDotNetCallDispatcher() {\n return this._dotNetCallDispatcher;\n }\n invokeJSFromDotNet(identifier, argsJson, resultType, targetInstanceId) {\n const args = parseJsonWithRevivers(this, argsJson);\n const jsFunction = findJSFunction(identifier, targetInstanceId);\n const returnValue = jsFunction(...(args || []));\n const result = createJSCallResult(returnValue, resultType);\n return result === null || result === undefined\n ? null\n : stringifyArgs(this, result);\n }\n beginInvokeJSFromDotNet(asyncHandle, identifier, argsJson, resultType, targetInstanceId) {\n // Coerce synchronous functions into async ones, plus treat\n // synchronous exceptions the same as async ones\n const promise = new Promise(resolve => {\n const args = parseJsonWithRevivers(this, argsJson);\n const jsFunction = findJSFunction(identifier, targetInstanceId);\n const synchronousResultOrPromise = jsFunction(...(args || []));\n resolve(synchronousResultOrPromise);\n });\n // We only listen for a result if the caller wants to be notified about it\n if (asyncHandle) {\n // On completion, dispatch result back to .NET\n // Not using \"await\" because it codegens a lot of boilerplate\n promise.\n then(result => stringifyArgs(this, [\n asyncHandle,\n true,\n createJSCallResult(result, resultType)\n ])).\n then(result => this._dotNetCallDispatcher.endInvokeJSFromDotNet(asyncHandle, true, result), error => this._dotNetCallDispatcher.endInvokeJSFromDotNet(asyncHandle, false, JSON.stringify([\n asyncHandle,\n false,\n formatError(error)\n ])));\n }\n }\n endInvokeDotNetFromJS(asyncCallId, success, resultJsonOrExceptionMessage) {\n const resultOrError = success\n ? parseJsonWithRevivers(this, resultJsonOrExceptionMessage)\n : new Error(resultJsonOrExceptionMessage);\n this.completePendingCall(parseInt(asyncCallId, 10), success, resultOrError);\n }\n invokeDotNetStaticMethod(assemblyName, methodIdentifier, ...args) {\n return this.invokeDotNetMethod(assemblyName, methodIdentifier, null, args);\n }\n invokeDotNetStaticMethodAsync(assemblyName, methodIdentifier, ...args) {\n return this.invokeDotNetMethodAsync(assemblyName, methodIdentifier, null, args);\n }\n invokeDotNetMethod(assemblyName, methodIdentifier, dotNetObjectId, args) {\n if (this._dotNetCallDispatcher.invokeDotNetFromJS) {\n const argsJson = stringifyArgs(this, args);\n const resultJson = this._dotNetCallDispatcher.invokeDotNetFromJS(assemblyName, methodIdentifier, dotNetObjectId, argsJson);\n return resultJson ? parseJsonWithRevivers(this, resultJson) : null;\n }\n throw new Error(\"The current dispatcher does not support synchronous calls from JS to .NET. Use invokeDotNetMethodAsync instead.\");\n }\n invokeDotNetMethodAsync(assemblyName, methodIdentifier, dotNetObjectId, args) {\n if (assemblyName && dotNetObjectId) {\n throw new Error(`For instance method calls, assemblyName should be null. Received '${assemblyName}'.`);\n }\n const asyncCallId = this._nextAsyncCallId++;\n const resultPromise = new Promise((resolve, reject) => {\n this._pendingAsyncCalls[asyncCallId] = { resolve, reject };\n });\n try {\n const argsJson = stringifyArgs(this, args);\n this._dotNetCallDispatcher.beginInvokeDotNetFromJS(asyncCallId, assemblyName, methodIdentifier, dotNetObjectId, argsJson);\n }\n catch (ex) {\n // Synchronous failure\n this.completePendingCall(asyncCallId, false, ex);\n }\n return resultPromise;\n }\n receiveByteArray(id, data) {\n this._byteArraysToBeRevived.set(id, data);\n }\n processByteArray(id) {\n const result = this._byteArraysToBeRevived.get(id);\n if (!result) {\n return null;\n }\n this._byteArraysToBeRevived.delete(id);\n return result;\n }\n supplyDotNetStream(streamId, stream) {\n if (this._pendingDotNetToJSStreams.has(streamId)) {\n // The receiver is already waiting, so we can resolve the promise now and stop tracking this\n const pendingStream = this._pendingDotNetToJSStreams.get(streamId);\n this._pendingDotNetToJSStreams.delete(streamId);\n pendingStream.resolve(stream);\n }\n else {\n // The receiver hasn't started waiting yet, so track a pre-completed entry it can attach to later\n const pendingStream = new PendingStream();\n pendingStream.resolve(stream);\n this._pendingDotNetToJSStreams.set(streamId, pendingStream);\n }\n }\n getDotNetStreamPromise(streamId) {\n // We might already have started receiving the stream, or maybe it will come later.\n // We have to handle both possible orderings, but we can count on it coming eventually because\n // it's not something the developer gets to control, and it would be an error if it doesn't.\n let result;\n if (this._pendingDotNetToJSStreams.has(streamId)) {\n // We've already started receiving the stream, so no longer need to track it as pending\n result = this._pendingDotNetToJSStreams.get(streamId).streamPromise;\n this._pendingDotNetToJSStreams.delete(streamId);\n }\n else {\n // We haven't started receiving it yet, so add an entry to track it as pending\n const pendingStream = new PendingStream();\n this._pendingDotNetToJSStreams.set(streamId, pendingStream);\n result = pendingStream.streamPromise;\n }\n return result;\n }\n completePendingCall(asyncCallId, success, resultOrError) {\n if (!this._pendingAsyncCalls.hasOwnProperty(asyncCallId)) {\n throw new Error(`There is no pending async call with ID ${asyncCallId}.`);\n }\n const asyncCall = this._pendingAsyncCalls[asyncCallId];\n delete this._pendingAsyncCalls[asyncCallId];\n if (success) {\n asyncCall.resolve(resultOrError);\n }\n else {\n asyncCall.reject(resultOrError);\n }\n }\n }\n function formatError(error) {\n if (error instanceof Error) {\n return `${error.message}\\n${error.stack}`;\n }\n return error ? error.toString() : \"null\";\n }\n function findJSFunction(identifier, targetInstanceId) {\n const targetInstance = cachedJSObjectsById[targetInstanceId];\n if (targetInstance) {\n return targetInstance.findFunction(identifier);\n }\n throw new Error(`JS object instance with ID ${targetInstanceId} does not exist (has it been disposed?).`);\n }\n DotNet.findJSFunction = findJSFunction;\n function disposeJSObjectReferenceById(id) {\n delete cachedJSObjectsById[id];\n }\n DotNet.disposeJSObjectReferenceById = disposeJSObjectReferenceById;\n class DotNetObject {\n // eslint-disable-next-line no-empty-function\n constructor(_id, _callDispatcher) {\n this._id = _id;\n this._callDispatcher = _callDispatcher;\n }\n invokeMethod(methodIdentifier, ...args) {\n return this._callDispatcher.invokeDotNetMethod(null, methodIdentifier, this._id, args);\n }\n invokeMethodAsync(methodIdentifier, ...args) {\n return this._callDispatcher.invokeDotNetMethodAsync(null, methodIdentifier, this._id, args);\n }\n dispose() {\n const promise = this._callDispatcher.invokeDotNetMethodAsync(null, \"__Dispose\", this._id, null);\n promise.catch(error => console.error(error));\n }\n serializeAsArg() {\n return { [dotNetObjectRefKey]: this._id };\n }\n }\n DotNet.DotNetObject = DotNetObject;\n attachReviver(function reviveReference(key, value) {\n if (value && typeof value === \"object\") {\n if (value.hasOwnProperty(dotNetObjectRefKey)) {\n return new DotNetObject(value[dotNetObjectRefKey], currentCallDispatcher);\n }\n else if (value.hasOwnProperty(jsObjectIdKey)) {\n const id = value[jsObjectIdKey];\n const jsObject = cachedJSObjectsById[id];\n if (jsObject) {\n return jsObject.getWrappedObject();\n }\n throw new Error(`JS object instance with Id '${id}' does not exist. It may have been disposed.`);\n }\n else if (value.hasOwnProperty(byteArrayRefKey)) {\n const index = value[byteArrayRefKey];\n const byteArray = currentCallDispatcher.processByteArray(index);\n if (byteArray === undefined) {\n throw new Error(`Byte array index '${index}' does not exist.`);\n }\n return byteArray;\n }\n else if (value.hasOwnProperty(dotNetStreamRefKey)) {\n const streamId = value[dotNetStreamRefKey];\n const streamPromise = currentCallDispatcher.getDotNetStreamPromise(streamId);\n return new DotNetStream(streamPromise);\n }\n }\n // Unrecognized - let another reviver handle it\n return value;\n });\n class DotNetStream {\n // eslint-disable-next-line no-empty-function\n constructor(_streamPromise) {\n this._streamPromise = _streamPromise;\n }\n /**\n * Supplies a readable stream of data being sent from .NET.\n */\n stream() {\n return this._streamPromise;\n }\n /**\n * Supplies a array buffer of data being sent from .NET.\n * Note there is a JavaScript limit on the size of the ArrayBuffer equal to approximately 2GB.\n */\n async arrayBuffer() {\n return new Response(await this.stream()).arrayBuffer();\n }\n }\n class PendingStream {\n constructor() {\n this.streamPromise = new Promise((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n }\n }\n function createJSCallResult(returnValue, resultType) {\n switch (resultType) {\n case JSCallResultType.Default:\n return returnValue;\n case JSCallResultType.JSObjectReference:\n return createJSObjectReference(returnValue);\n case JSCallResultType.JSStreamReference:\n return createJSStreamReference(returnValue);\n case JSCallResultType.JSVoidResult:\n return null;\n default:\n throw new Error(`Invalid JS call result type '${resultType}'.`);\n }\n }\n let nextByteArrayIndex = 0;\n function stringifyArgs(callDispatcher, args) {\n nextByteArrayIndex = 0;\n currentCallDispatcher = callDispatcher;\n const result = JSON.stringify(args, argReplacer);\n currentCallDispatcher = undefined;\n return result;\n }\n function argReplacer(key, value) {\n if (value instanceof DotNetObject) {\n return value.serializeAsArg();\n }\n else if (value instanceof Uint8Array) {\n const dotNetCallDispatcher = currentCallDispatcher.getDotNetCallDispatcher();\n dotNetCallDispatcher.sendByteArray(nextByteArrayIndex, value);\n const jsonValue = { [byteArrayRefKey]: nextByteArrayIndex };\n nextByteArrayIndex++;\n return jsonValue;\n }\n return value;\n }\n})(DotNet || (DotNet = {}));\n//# sourceMappingURL=Microsoft.JSInterop.js.map","// Licensed to the .NET Foundation under one or more agreements.\r\n// The .NET Foundation licenses this file to you under the MIT license.\r\n\r\n// Expose an export called 'platform' of the interface type 'Platform',\r\n// so that consumers can be agnostic about which implementation they use.\r\n// Basic alternative to having an actual DI container.\r\nimport { Platform } from './Platform/Platform';\r\n\r\nexport let platform: Platform;\r\n\r\nexport function setPlatform(platformInstance: Platform): Platform {\r\n platform = platformInstance;\r\n return platform;\r\n}\r\n","// Licensed to the .NET Foundation under one or more agreements.\r\n// The .NET Foundation licenses this file to you under the MIT license.\r\n\r\nexport interface RenderBatch {\r\n updatedComponents(): ArrayRange;\r\n referenceFrames(): ArrayRange;\r\n disposedComponentIds(): ArrayRange;\r\n disposedEventHandlerIds(): ArrayRange;\r\n\r\n updatedComponentsEntry(values: ArrayValues, index: number): RenderTreeDiff;\r\n referenceFramesEntry(values: ArrayValues, index: number): RenderTreeFrame;\r\n disposedComponentIdsEntry(values: ArrayValues, index: number): number;\r\n disposedEventHandlerIdsEntry(values: ArrayValues, index: number): number;\r\n\r\n diffReader: RenderTreeDiffReader;\r\n editReader: RenderTreeEditReader;\r\n frameReader: RenderTreeFrameReader;\r\n arrayRangeReader: ArrayRangeReader;\r\n arrayBuilderSegmentReader: ArrayBuilderSegmentReader;\r\n}\r\n\r\nexport interface ArrayRangeReader {\r\n count(arrayRange: ArrayRange): number;\r\n values(arrayRange: ArrayRange): ArrayValues;\r\n}\r\n\r\nexport interface ArrayBuilderSegmentReader {\r\n offset(arrayBuilderSegment: ArrayBuilderSegment): number;\r\n count(arrayBuilderSegment: ArrayBuilderSegment): number;\r\n values(arrayBuilderSegment: ArrayBuilderSegment): ArrayValues;\r\n}\r\n\r\nexport interface RenderTreeDiffReader {\r\n componentId(diff: RenderTreeDiff): number;\r\n edits(diff: RenderTreeDiff): ArrayBuilderSegment;\r\n editsEntry(values: ArrayValues, index: number): RenderTreeEdit;\r\n}\r\n\r\nexport interface RenderTreeEditReader {\r\n editType(edit: RenderTreeEdit): EditType;\r\n siblingIndex(edit: RenderTreeEdit): number;\r\n newTreeIndex(edit: RenderTreeEdit): number;\r\n moveToSiblingIndex(edit: RenderTreeEdit): number;\r\n removedAttributeName(edit: RenderTreeEdit): string | null;\r\n}\r\n\r\nexport interface RenderTreeFrameReader {\r\n frameType(frame: RenderTreeFrame): FrameType;\r\n subtreeLength(frame: RenderTreeFrame): number;\r\n elementReferenceCaptureId(frame: RenderTreeFrame): string | null;\r\n componentId(frame: RenderTreeFrame): number;\r\n elementName(frame: RenderTreeFrame): string | null;\r\n textContent(frame: RenderTreeFrame): string | null;\r\n markupContent(frame: RenderTreeFrame): string;\r\n attributeName(frame: RenderTreeFrame): string | null;\r\n attributeValue(frame: RenderTreeFrame): string | null;\r\n attributeEventHandlerId(frame: RenderTreeFrame): number;\r\n}\r\n\r\nexport interface ArrayRange { ArrayRange__DO_NOT_IMPLEMENT: unknown }\r\nexport interface ArrayBuilderSegment { ArrayBuilderSegment__DO_NOT_IMPLEMENT: unknown }\r\nexport interface ArrayValues { ArrayValues__DO_NOT_IMPLEMENT: unknown }\r\n\r\nexport interface RenderTreeDiff { RenderTreeDiff__DO_NOT_IMPLEMENT: unknown }\r\nexport interface RenderTreeFrame { RenderTreeFrame__DO_NOT_IMPLEMENT: unknown }\r\nexport interface RenderTreeEdit { RenderTreeEdit__DO_NOT_IMPLEMENT: unknown }\r\n\r\nexport enum EditType {\r\n // The values must be kept in sync with the .NET equivalent in RenderTreeEditType.cs\r\n prependFrame = 1,\r\n removeFrame = 2,\r\n setAttribute = 3,\r\n removeAttribute = 4,\r\n updateText = 5,\r\n stepIn = 6,\r\n stepOut = 7,\r\n updateMarkup = 8,\r\n permutationListEntry = 9,\r\n permutationListEnd = 10,\r\n}\r\n\r\nexport enum FrameType {\r\n // The values must be kept in sync with the .NET equivalent in RenderTreeFrameType.cs\r\n element = 1,\r\n text = 2,\r\n attribute = 3,\r\n component = 4,\r\n region = 5,\r\n elementReferenceCapture = 6,\r\n markup = 8,\r\n namedEvent = 10,\r\n}\r\n","// Licensed to the .NET Foundation under one or more agreements.\r\n// The .NET Foundation licenses this file to you under the MIT license.\r\n\r\nexport class EventFieldInfo {\r\n constructor(public componentId: number, public fieldValue: string | boolean) {\r\n }\r\n\r\n public static fromEvent(componentId: number, event: Event): EventFieldInfo | null {\r\n const elem = event.target;\r\n if (elem instanceof Element) {\r\n const fieldData = getFormFieldData(elem);\r\n if (fieldData) {\r\n return new EventFieldInfo(componentId, fieldData.value);\r\n }\r\n }\r\n\r\n // This event isn't happening on a form field that we can reverse-map back to some incoming attribute\r\n return null;\r\n }\r\n}\r\n\r\nfunction getFormFieldData(elem: Element) {\r\n // The logic in here should be the inverse of the logic in BrowserRenderer's tryApplySpecialProperty.\r\n // That is, we're doing the reverse mapping, starting from an HTML property and reconstructing which\r\n // \"special\" attribute would have been mapped to that property.\r\n if (elem instanceof HTMLInputElement) {\r\n return (elem.type && elem.type.toLowerCase() === 'checkbox')\r\n ? { value: elem.checked }\r\n : { value: elem.value };\r\n }\r\n\r\n if (elem instanceof HTMLSelectElement || elem instanceof HTMLTextAreaElement) {\r\n return { value: elem.value };\r\n }\r\n\r\n return null;\r\n}\r\n","// Licensed to the .NET Foundation under one or more agreements.\r\n// The .NET Foundation licenses this file to you under the MIT license.\r\n\r\nexport interface EventTypeOptions {\r\n browserEventName?: string;\r\n createEventArgs?: (event: Event) => unknown;\r\n}\r\n\r\nconst eventTypeRegistry: Map = new Map();\r\nconst browserEventNamesToAliases: Map = new Map();\r\nconst createBlankEventArgsOptions: EventTypeOptions = { createEventArgs: () => ({}) };\r\n\r\nexport const eventNameAliasRegisteredCallbacks: ((aliasEventName: string, browserEventName) => void)[] = [];\r\n\r\nexport function registerCustomEventType(eventName: string, options: EventTypeOptions): void {\r\n if (!options) {\r\n throw new Error('The options parameter is required.');\r\n }\r\n\r\n // There can't be more than one registration for the same event name because then we wouldn't\r\n // know which eventargs data to supply.\r\n if (eventTypeRegistry.has(eventName)) {\r\n throw new Error(`The event '${eventName}' is already registered.`);\r\n }\r\n\r\n // If applicable, register this as an alias of the given browserEventName\r\n if (options.browserEventName) {\r\n const aliasGroup = browserEventNamesToAliases.get(options.browserEventName);\r\n if (aliasGroup) {\r\n aliasGroup.push(eventName);\r\n } else {\r\n browserEventNamesToAliases.set(options.browserEventName, [eventName]);\r\n }\r\n\r\n // For developer convenience, it's allowed to register the custom event type *after*\r\n // some listeners for it are already present. Once the event name alias gets registered,\r\n // we have to notify any existing event delegators so they can update their delegated\r\n // events list.\r\n eventNameAliasRegisteredCallbacks.forEach(callback => callback(eventName, options.browserEventName));\r\n }\r\n\r\n eventTypeRegistry.set(eventName, options);\r\n}\r\n\r\nexport function getEventTypeOptions(eventName: string): EventTypeOptions | undefined {\r\n return eventTypeRegistry.get(eventName);\r\n}\r\n\r\nexport function getEventNameAliases(eventName: string): string[] | undefined {\r\n return browserEventNamesToAliases.get(eventName);\r\n}\r\n\r\nexport function getBrowserEventName(possibleAliasEventName: string): string {\r\n const eventOptions = eventTypeRegistry.get(possibleAliasEventName);\r\n return eventOptions?.browserEventName || possibleAliasEventName;\r\n}\r\n\r\nfunction registerBuiltInEventType(eventNames: string[], options: EventTypeOptions) {\r\n eventNames.forEach(eventName => eventTypeRegistry.set(eventName, options));\r\n}\r\n\r\nregisterBuiltInEventType(['input', 'change'], {\r\n createEventArgs: parseChangeEvent,\r\n});\r\n\r\nregisterBuiltInEventType([\r\n 'copy',\r\n 'cut',\r\n 'paste',\r\n], {\r\n createEventArgs: e => parseClipboardEvent(e as ClipboardEvent),\r\n});\r\n\r\nregisterBuiltInEventType([\r\n 'drag',\r\n 'dragend',\r\n 'dragenter',\r\n 'dragleave',\r\n 'dragover',\r\n 'dragstart',\r\n 'drop',\r\n], {\r\n createEventArgs: e => parseDragEvent(e as DragEvent),\r\n});\r\n\r\nregisterBuiltInEventType([\r\n 'focus',\r\n 'blur',\r\n 'focusin',\r\n 'focusout',\r\n], {\r\n createEventArgs: e => parseFocusEvent(e as FocusEvent),\r\n});\r\n\r\nregisterBuiltInEventType([\r\n 'keydown',\r\n 'keyup',\r\n 'keypress',\r\n], {\r\n createEventArgs: e => parseKeyboardEvent(e as KeyboardEvent),\r\n});\r\n\r\nregisterBuiltInEventType([\r\n 'contextmenu',\r\n 'click',\r\n 'mouseover',\r\n 'mouseout',\r\n 'mousemove',\r\n 'mousedown',\r\n 'mouseup',\r\n 'mouseleave',\r\n 'mouseenter',\r\n 'dblclick',\r\n], {\r\n createEventArgs: e => parseMouseEvent(e as MouseEvent),\r\n});\r\n\r\nregisterBuiltInEventType(['error'], {\r\n createEventArgs: e => parseErrorEvent(e as ErrorEvent),\r\n});\r\n\r\nregisterBuiltInEventType([\r\n 'loadstart',\r\n 'timeout',\r\n 'abort',\r\n 'load',\r\n 'loadend',\r\n 'progress',\r\n], {\r\n createEventArgs: e => parseProgressEvent(e as ProgressEvent),\r\n});\r\n\r\nregisterBuiltInEventType([\r\n 'touchcancel',\r\n 'touchend',\r\n 'touchmove',\r\n 'touchenter',\r\n 'touchleave',\r\n 'touchstart',\r\n], {\r\n createEventArgs: e => parseTouchEvent(e as TouchEvent),\r\n});\r\n\r\nregisterBuiltInEventType([\r\n 'gotpointercapture',\r\n 'lostpointercapture',\r\n 'pointercancel',\r\n 'pointerdown',\r\n 'pointerenter',\r\n 'pointerleave',\r\n 'pointermove',\r\n 'pointerout',\r\n 'pointerover',\r\n 'pointerup',\r\n], {\r\n createEventArgs: e => parsePointerEvent(e as PointerEvent),\r\n});\r\n\r\nregisterBuiltInEventType(['wheel', 'mousewheel'], {\r\n createEventArgs: e => parseWheelEvent(e as WheelEvent),\r\n});\r\n\r\nregisterBuiltInEventType(['cancel', 'close', 'toggle'], createBlankEventArgsOptions);\r\n\r\nfunction parseChangeEvent(event: Event): ChangeEventArgs {\r\n const element = event.target as Element;\r\n if (isTimeBasedInput(element)) {\r\n const normalizedValue = normalizeTimeBasedValue(element);\r\n return { value: normalizedValue };\r\n } else if (isMultipleSelectInput(element)) {\r\n const selectElement = element as HTMLSelectElement;\r\n const selectedValues = Array.from(selectElement.options)\r\n .filter(option => option.selected)\r\n .map(option => option.value);\r\n return { value: selectedValues };\r\n } else {\r\n const targetIsCheckbox = isCheckbox(element);\r\n const newValue = targetIsCheckbox ? !!element['checked'] : element['value'];\r\n return { value: newValue };\r\n }\r\n}\r\n\r\nfunction parseWheelEvent(event: WheelEvent): WheelEventArgs {\r\n return {\r\n ...parseMouseEvent(event),\r\n deltaX: event.deltaX,\r\n deltaY: event.deltaY,\r\n deltaZ: event.deltaZ,\r\n deltaMode: event.deltaMode,\r\n };\r\n}\r\n\r\nfunction parsePointerEvent(event: PointerEvent): PointerEventArgs {\r\n return {\r\n ...parseMouseEvent(event),\r\n pointerId: event.pointerId,\r\n width: event.width,\r\n height: event.height,\r\n pressure: event.pressure,\r\n tiltX: event.tiltX,\r\n tiltY: event.tiltY,\r\n pointerType: event.pointerType,\r\n isPrimary: event.isPrimary,\r\n };\r\n}\r\n\r\nfunction parseTouchEvent(event: TouchEvent): TouchEventArgs {\r\n return {\r\n detail: event.detail,\r\n touches: parseTouch(event.touches),\r\n targetTouches: parseTouch(event.targetTouches),\r\n changedTouches: parseTouch(event.changedTouches),\r\n ctrlKey: event.ctrlKey,\r\n shiftKey: event.shiftKey,\r\n altKey: event.altKey,\r\n metaKey: event.metaKey,\r\n type: event.type,\r\n };\r\n}\r\n\r\nfunction parseFocusEvent(event: FocusEvent): FocusEventArgs {\r\n return {\r\n type: event.type,\r\n };\r\n}\r\n\r\nfunction parseClipboardEvent(event: ClipboardEvent): ClipboardEventArgs {\r\n return {\r\n type: event.type,\r\n };\r\n}\r\n\r\nfunction parseProgressEvent(event: ProgressEvent): ProgressEventArgs {\r\n return {\r\n lengthComputable: event.lengthComputable,\r\n loaded: event.loaded,\r\n total: event.total,\r\n type: event.type,\r\n };\r\n}\r\n\r\nfunction parseErrorEvent(event: ErrorEvent): ErrorEventArgs {\r\n return {\r\n message: event.message,\r\n filename: event.filename,\r\n lineno: event.lineno,\r\n colno: event.colno,\r\n type: event.type,\r\n };\r\n}\r\n\r\nfunction parseKeyboardEvent(event: KeyboardEvent): KeyboardEventArgs {\r\n return {\r\n key: event.key,\r\n code: event.code,\r\n location: event.location,\r\n repeat: event.repeat,\r\n ctrlKey: event.ctrlKey,\r\n shiftKey: event.shiftKey,\r\n altKey: event.altKey,\r\n metaKey: event.metaKey,\r\n type: event.type,\r\n isComposing: event.isComposing,\r\n };\r\n}\r\n\r\nfunction parseDragEvent(event: DragEvent): DragEventArgs {\r\n return {\r\n ...parseMouseEvent(event),\r\n dataTransfer: event.dataTransfer ? {\r\n dropEffect: event.dataTransfer.dropEffect,\r\n effectAllowed: event.dataTransfer.effectAllowed,\r\n files: Array.from(event.dataTransfer.files).map(f => f.name),\r\n items: Array.from(event.dataTransfer.items).map(i => ({ kind: i.kind, type: i.type })),\r\n types: event.dataTransfer.types,\r\n } : null,\r\n };\r\n}\r\n\r\nfunction parseTouch(touchList: TouchList): TouchPoint[] {\r\n const touches: TouchPoint[] = [];\r\n\r\n for (let i = 0; i < touchList.length; i++) {\r\n const touch = touchList[i];\r\n touches.push({\r\n identifier: touch.identifier,\r\n clientX: touch.clientX,\r\n clientY: touch.clientY,\r\n screenX: touch.screenX,\r\n screenY: touch.screenY,\r\n pageX: touch.pageX,\r\n pageY: touch.pageY,\r\n });\r\n }\r\n return touches;\r\n}\r\n\r\nfunction parseMouseEvent(event: MouseEvent): MouseEventArgs {\r\n return {\r\n detail: event.detail,\r\n screenX: event.screenX,\r\n screenY: event.screenY,\r\n clientX: event.clientX,\r\n clientY: event.clientY,\r\n offsetX: event.offsetX,\r\n offsetY: event.offsetY,\r\n pageX: event.pageX,\r\n pageY: event.pageY,\r\n movementX: event.movementX,\r\n movementY: event.movementY,\r\n button: event.button,\r\n buttons: event.buttons,\r\n ctrlKey: event.ctrlKey,\r\n shiftKey: event.shiftKey,\r\n altKey: event.altKey,\r\n metaKey: event.metaKey,\r\n type: event.type,\r\n };\r\n}\r\n\r\nfunction isCheckbox(element: Element | null): boolean {\r\n return !!element && element.tagName === 'INPUT' && element.getAttribute('type') === 'checkbox';\r\n}\r\n\r\nconst timeBasedInputs = [\r\n 'date',\r\n 'datetime-local',\r\n 'month',\r\n 'time',\r\n 'week',\r\n];\r\n\r\nfunction isTimeBasedInput(element: Element): element is HTMLInputElement {\r\n return timeBasedInputs.indexOf(element.getAttribute('type')!) !== -1;\r\n}\r\n\r\nfunction isMultipleSelectInput(element: Element): element is HTMLSelectElement {\r\n return element instanceof HTMLSelectElement && element.type === 'select-multiple';\r\n}\r\n\r\nfunction normalizeTimeBasedValue(element: HTMLInputElement): string {\r\n const value = element.value;\r\n const type = element.type;\r\n switch (type) {\r\n case 'date':\r\n case 'month':\r\n return value;\r\n case 'datetime-local':\r\n return value.length === 16 ? value + ':00' : value; // Convert yyyy-MM-ddTHH:mm to yyyy-MM-ddTHH:mm:00\r\n case 'time':\r\n return value.length === 5 ? value + ':00' : value; // Convert hh:mm to hh:mm:00\r\n case 'week':\r\n // For now we are not going to normalize input type week as it is not trivial\r\n return value;\r\n }\r\n\r\n throw new Error(`Invalid element type '${type}'.`);\r\n}\r\n\r\n// The following interfaces must be kept in sync with the EventArgs C# classes\r\n\r\ninterface ChangeEventArgs {\r\n value: string | boolean | string[];\r\n}\r\n\r\ninterface DragEventArgs {\r\n detail: number;\r\n dataTransfer: DataTransferEventArgs | null;\r\n screenX: number;\r\n screenY: number;\r\n clientX: number;\r\n clientY: number;\r\n button: number;\r\n buttons: number;\r\n ctrlKey: boolean;\r\n shiftKey: boolean;\r\n altKey: boolean;\r\n metaKey: boolean;\r\n}\r\n\r\ninterface DataTransferEventArgs {\r\n dropEffect: string;\r\n effectAllowed: string;\r\n files: readonly string[];\r\n items: readonly DataTransferItem[];\r\n types: readonly string[];\r\n}\r\n\r\ninterface DataTransferItem {\r\n kind: string;\r\n type: string;\r\n}\r\n\r\ninterface ErrorEventArgs {\r\n message: string;\r\n filename: string;\r\n lineno: number;\r\n colno: number;\r\n type: string;\r\n\r\n // omitting 'error' here since we'd have to serialize it, and it's not clear we will want to\r\n // do that. https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent\r\n}\r\n\r\ninterface KeyboardEventArgs {\r\n key: string;\r\n code: string;\r\n location: number;\r\n repeat: boolean;\r\n ctrlKey: boolean;\r\n shiftKey: boolean;\r\n altKey: boolean;\r\n metaKey: boolean;\r\n type: string;\r\n isComposing: boolean;\r\n}\r\n\r\ninterface MouseEventArgs {\r\n detail: number;\r\n screenX: number;\r\n screenY: number;\r\n clientX: number;\r\n clientY: number;\r\n offsetX: number;\r\n offsetY: number;\r\n pageX: number;\r\n pageY: number;\r\n movementX: number;\r\n movementY: number;\r\n button: number;\r\n buttons: number;\r\n ctrlKey: boolean;\r\n shiftKey: boolean;\r\n altKey: boolean;\r\n metaKey: boolean;\r\n type: string;\r\n}\r\n\r\ninterface PointerEventArgs extends MouseEventArgs {\r\n pointerId: number;\r\n width: number;\r\n height: number;\r\n pressure: number;\r\n tiltX: number;\r\n tiltY: number;\r\n pointerType: string;\r\n isPrimary: boolean;\r\n}\r\n\r\ninterface ProgressEventArgs {\r\n lengthComputable: boolean;\r\n loaded: number;\r\n total: number;\r\n type: string;\r\n}\r\n\r\ninterface TouchEventArgs {\r\n detail: number;\r\n touches: TouchPoint[];\r\n targetTouches: TouchPoint[];\r\n changedTouches: TouchPoint[];\r\n ctrlKey: boolean;\r\n shiftKey: boolean;\r\n altKey: boolean;\r\n metaKey: boolean;\r\n type: string;\r\n}\r\n\r\ninterface TouchPoint {\r\n identifier: number;\r\n screenX: number;\r\n screenY: number;\r\n clientX: number;\r\n clientY: number;\r\n pageX: number;\r\n pageY: number;\r\n}\r\n\r\ninterface WheelEventArgs extends MouseEventArgs {\r\n deltaX: number;\r\n deltaY: number;\r\n deltaZ: number;\r\n deltaMode: number;\r\n}\r\n\r\ninterface FocusEventArgs {\r\n type: string;\r\n}\r\n\r\ninterface ClipboardEventArgs {\r\n type: string;\r\n}\r\n","// Licensed to the .NET Foundation under one or more agreements.\r\n// The .NET Foundation licenses this file to you under the MIT license.\r\n\r\nimport { DotNet } from '@microsoft/dotnet-js-interop';\r\n\r\nconst pendingRootComponentContainerNamePrefix = '__bl-dynamic-root:';\r\nconst pendingRootComponentContainers = new Map();\r\nlet nextPendingDynamicRootComponentIdentifier = 0;\r\n\r\ntype ComponentParameters = object | null | undefined;\r\n\r\nlet manager: DotNet.DotNetObject | undefined;\r\nlet jsComponentParametersByIdentifier: JSComponentParametersByIdentifier;\r\n\r\n// These are the public APIs at Blazor.rootComponents.*\r\nexport const RootComponentsFunctions = {\r\n async add(toElement: Element, componentIdentifier: string, initialParameters: ComponentParameters): Promise {\r\n if (!initialParameters) {\r\n throw new Error('initialParameters must be an object, even if empty.');\r\n }\r\n\r\n // Track the container so we can use it when the component gets attached to the document via a selector\r\n const containerIdentifier = pendingRootComponentContainerNamePrefix + (++nextPendingDynamicRootComponentIdentifier).toString();\r\n pendingRootComponentContainers.set(containerIdentifier, toElement);\r\n\r\n // Instruct .NET to add and render the new root component\r\n const componentId = await getRequiredManager().invokeMethodAsync('AddRootComponent', componentIdentifier, containerIdentifier);\r\n const component = new DynamicRootComponent(componentId, jsComponentParametersByIdentifier[componentIdentifier]);\r\n await component.setParameters(initialParameters);\r\n return component;\r\n },\r\n};\r\n\r\nexport function getAndRemovePendingRootComponentContainer(containerIdentifier: string): Element | undefined {\r\n const container = pendingRootComponentContainers.get(containerIdentifier);\r\n if (container) {\r\n pendingRootComponentContainers.delete(containerIdentifier);\r\n return container;\r\n }\r\n}\r\n\r\nclass EventCallbackWrapper {\r\n private _callback: any;\r\n\r\n private _selfJSObjectReference: unknown;\r\n\r\n invoke(arg: unknown) {\r\n return this._callback(arg);\r\n }\r\n\r\n setCallback(callback: unknown): void {\r\n if (!this._selfJSObjectReference) {\r\n this._selfJSObjectReference = DotNet.createJSObjectReference(this);\r\n }\r\n\r\n this._callback = callback;\r\n }\r\n\r\n getJSObjectReference() {\r\n return this._selfJSObjectReference;\r\n }\r\n\r\n dispose() {\r\n if (this._selfJSObjectReference) {\r\n DotNet.disposeJSObjectReference(this._selfJSObjectReference);\r\n }\r\n }\r\n}\r\n\r\nclass DynamicRootComponent {\r\n private _componentId: number | null;\r\n\r\n private readonly _jsEventCallbackWrappers = new Map();\r\n\r\n constructor(componentId: number, parameters: JSComponentParameter[]) {\r\n this._componentId = componentId;\r\n\r\n for (const parameter of parameters) {\r\n if (parameter.type === 'eventcallback') {\r\n this._jsEventCallbackWrappers.set(parameter.name.toLowerCase(), new EventCallbackWrapper());\r\n }\r\n }\r\n }\r\n\r\n setParameters(parameters: ComponentParameters) {\r\n const mappedParameters = {};\r\n const entries = Object.entries(parameters || {});\r\n const parameterCount = entries.length;\r\n\r\n for (const [key, value] of entries) {\r\n const callbackWrapper = this._jsEventCallbackWrappers.get(key.toLowerCase());\r\n\r\n if (!callbackWrapper || !value) {\r\n mappedParameters[key] = value;\r\n continue;\r\n }\r\n\r\n callbackWrapper.setCallback(value);\r\n mappedParameters[key] = callbackWrapper.getJSObjectReference();\r\n }\r\n\r\n return getRequiredManager().invokeMethodAsync('SetRootComponentParameters', this._componentId, parameterCount, mappedParameters);\r\n }\r\n\r\n async dispose() {\r\n if (this._componentId !== null) {\r\n await getRequiredManager().invokeMethodAsync('RemoveRootComponent', this._componentId);\r\n this._componentId = null; // Ensure it can't be used again\r\n\r\n for (const jsEventCallbackWrapper of this._jsEventCallbackWrappers.values()) {\r\n jsEventCallbackWrapper.dispose();\r\n }\r\n }\r\n }\r\n}\r\n\r\n// Called by the framework\r\nexport function enableJSRootComponents(\r\n managerInstance: DotNet.DotNetObject,\r\n jsComponentParameters: JSComponentParametersByIdentifier,\r\n jsComponentInitializers: JSComponentIdentifiersByInitializer\r\n): void {\r\n if (manager) {\r\n // This will only happen in very nonstandard cases where someone has multiple hosts.\r\n // It's up to the developer to ensure that only one of them enables dynamic root components.\r\n throw new Error('Dynamic root components have already been enabled.');\r\n }\r\n\r\n manager = managerInstance;\r\n jsComponentParametersByIdentifier = jsComponentParameters;\r\n\r\n // Call the registered initializers. This is an arbitrary subset of the JS component types that are registered\r\n // on the .NET side - just those of them that require some JS-side initialization (e.g., to register them\r\n // as custom elements).\r\n for (const [initializerIdentifier, componentIdentifiers] of Object.entries(jsComponentInitializers)) {\r\n const initializerFunc = DotNet.findJSFunction(initializerIdentifier, 0) as JSComponentInitializerCallback;\r\n for (const componentIdentifier of componentIdentifiers) {\r\n const parameters = jsComponentParameters[componentIdentifier];\r\n initializerFunc(componentIdentifier, parameters);\r\n }\r\n }\r\n}\r\n\r\nfunction getRequiredManager(): DotNet.DotNetObject {\r\n if (!manager) {\r\n throw new Error('Dynamic root components have not been enabled in this application.');\r\n }\r\n\r\n return manager;\r\n}\r\n\r\n// Keep in sync with equivalent in JSComponentConfigurationStore.cs\r\n// These are an internal implementation detail not exposed in the registration APIs.\r\nexport type JSComponentParametersByIdentifier = { [identifier: string]: JSComponentParameter[] };\r\nexport type JSComponentIdentifiersByInitializer = { [initializer: string]: string[] };\r\n\r\n// The following is public API\r\nexport interface JSComponentInitializerCallback {\r\n (identifier: string, parameters: JSComponentParameter[]): void;\r\n}\r\n\r\nexport interface JSComponentParameter {\r\n name: string;\r\n type: JSComponentParameterType;\r\n}\r\n\r\n// JSON-primitive types, plus for those whose .NET equivalent isn't nullable, a '?' to indicate nullability\r\n// This allows custom element authors to coerce attribute strings into the appropriate type\r\nexport type JSComponentParameterType = 'string' | 'boolean' | 'boolean?' | 'number' | 'number?' | 'object' | 'eventcallback';\r\n","// Licensed to the .NET Foundation under one or more agreements.\r\n// The .NET Foundation licenses this file to you under the MIT license.\r\n\r\nimport { DotNet } from '@microsoft/dotnet-js-interop';\r\nimport { EventDescriptor } from './Events/EventDelegator';\r\nimport { enableJSRootComponents, JSComponentParametersByIdentifier, JSComponentIdentifiersByInitializer } from './JSRootComponents';\r\n\r\nconst interopMethodsByRenderer = new Map();\r\nconst rendererAttachedListeners: ((browserRendererId: number) => void)[] = [];\r\nconst rendererByIdResolverMap: Map void | undefined, Promise | undefined]> = new Map();\r\n\r\nexport function attachRendererIdResolver(rendererId: number, resolver: () => void | undefined, promise: Promise | undefined) {\r\n rendererByIdResolverMap.set(rendererId, [resolver, promise]);\r\n}\r\n\r\nexport function getRendererAttachedPromise(rendererId: number): Promise | undefined {\r\n return rendererByIdResolverMap.get(rendererId)?.[1];\r\n}\r\n\r\nexport function attachWebRendererInterop(\r\n rendererId: number,\r\n interopMethods: DotNet.DotNetObject,\r\n jsComponentParameters?: JSComponentParametersByIdentifier,\r\n jsComponentInitializers?: JSComponentIdentifiersByInitializer,\r\n): void {\r\n if (interopMethodsByRenderer.has(rendererId)) {\r\n throw new Error(`Interop methods are already registered for renderer ${rendererId}`);\r\n }\r\n\r\n interopMethodsByRenderer.set(rendererId, interopMethods);\r\n\r\n if (jsComponentParameters && jsComponentInitializers && Object.keys(jsComponentParameters).length > 0) {\r\n const manager = getInteropMethods(rendererId);\r\n enableJSRootComponents(manager, jsComponentParameters, jsComponentInitializers);\r\n }\r\n\r\n rendererByIdResolverMap.get(rendererId)?.[0]?.();\r\n\r\n invokeRendererAttachedListeners(rendererId);\r\n}\r\n\r\nexport function detachWebRendererInterop(rendererId: number): DotNet.DotNetObject {\r\n const interopMethods = interopMethodsByRenderer.get(rendererId);\r\n if (!interopMethods) {\r\n throw new Error(`Interop methods are not registered for renderer ${rendererId}`);\r\n }\r\n\r\n interopMethodsByRenderer.delete(rendererId);\r\n return interopMethods;\r\n}\r\n\r\nexport function isRendererAttached(browserRendererId: number): boolean {\r\n return interopMethodsByRenderer.has(browserRendererId);\r\n}\r\n\r\nexport function registerRendererAttachedListener(listener: (browserRendererId: number) => void) {\r\n rendererAttachedListeners.push(listener);\r\n}\r\n\r\nfunction invokeRendererAttachedListeners(browserRendererId: number) {\r\n for (const listener of rendererAttachedListeners) {\r\n listener(browserRendererId);\r\n }\r\n}\r\n\r\nexport function dispatchEvent(browserRendererId: number, eventDescriptor: EventDescriptor, eventArgs: any): void {\r\n return dispatchEventMiddleware(browserRendererId, eventDescriptor.eventHandlerId, () => {\r\n const interopMethods = getInteropMethods(browserRendererId);\r\n return interopMethods.invokeMethodAsync('DispatchEventAsync', eventDescriptor, eventArgs);\r\n });\r\n}\r\n\r\nexport function updateRootComponents(browserRendererId: number, operationsJson: string): Promise {\r\n const interopMethods = getInteropMethods(browserRendererId);\r\n return interopMethods.invokeMethodAsync('UpdateRootComponents', operationsJson);\r\n}\r\n\r\nfunction getInteropMethods(rendererId: number): DotNet.DotNetObject {\r\n const interopMethods = interopMethodsByRenderer.get(rendererId);\r\n if (!interopMethods) {\r\n throw new Error(`No interop methods are registered for renderer ${rendererId}`);\r\n }\r\n\r\n return interopMethods;\r\n}\r\n\r\n// On some hosting platforms, we may need to defer the event dispatch, so they can register this middleware to do so\r\ntype DispatchEventMiddlware = (browserRendererId: number, eventHandlerId: number, continuation: () => void) => void;\r\n\r\nlet dispatchEventMiddleware: DispatchEventMiddlware = (browserRendererId, eventHandlerId, continuation) => continuation();\r\nexport function addDispatchEventMiddleware(middleware: DispatchEventMiddlware): void {\r\n const next = dispatchEventMiddleware;\r\n dispatchEventMiddleware = (browserRendererId, eventHandlerId, continuation) => {\r\n middleware(browserRendererId, eventHandlerId, () => next(browserRendererId, eventHandlerId, continuation));\r\n };\r\n}\r\n","// Licensed to the .NET Foundation under one or more agreements.\r\n// The .NET Foundation licenses this file to you under the MIT license.\r\n\r\nimport { EventFieldInfo } from './EventFieldInfo';\r\nimport { eventNameAliasRegisteredCallbacks, getBrowserEventName, getEventNameAliases, getEventTypeOptions } from './EventTypes';\r\nimport { dispatchEvent } from '../WebRendererInteropMethods';\r\n\r\nconst nonBubblingEvents = toLookup([\r\n 'abort',\r\n 'blur',\r\n 'cancel',\r\n 'canplay',\r\n 'canplaythrough',\r\n 'change',\r\n 'close',\r\n 'cuechange',\r\n 'durationchange',\r\n 'emptied',\r\n 'ended',\r\n 'error',\r\n 'focus',\r\n 'load',\r\n 'loadeddata',\r\n 'loadedmetadata',\r\n 'loadend',\r\n 'loadstart',\r\n 'mouseenter',\r\n 'mouseleave',\r\n 'pointerenter',\r\n 'pointerleave',\r\n 'pause',\r\n 'play',\r\n 'playing',\r\n 'progress',\r\n 'ratechange',\r\n 'reset',\r\n 'scroll',\r\n 'seeked',\r\n 'seeking',\r\n 'stalled',\r\n 'submit',\r\n 'suspend',\r\n 'timeupdate',\r\n 'toggle',\r\n 'unload',\r\n 'volumechange',\r\n 'waiting',\r\n 'DOMNodeInsertedIntoDocument',\r\n 'DOMNodeRemovedFromDocument',\r\n]);\r\n\r\nconst alwaysPreventDefaultEvents: { [eventType: string]: boolean } = { submit: true };\r\n\r\nconst disableableEventNames = toLookup([\r\n 'click',\r\n 'dblclick',\r\n 'mousedown',\r\n 'mousemove',\r\n 'mouseup',\r\n]);\r\n\r\n// Responsible for adding/removing the eventInfo on an expando property on DOM elements, and\r\n// calling an EventInfoStore that deals with registering/unregistering the underlying delegated\r\n// event listeners as required (and also maps actual events back to the given callback).\r\nexport class EventDelegator {\r\n private static nextEventDelegatorId = 0;\r\n\r\n private readonly eventsCollectionKey: string;\r\n\r\n private readonly afterClickCallbacks: ((event: MouseEvent) => void)[] = [];\r\n\r\n private eventInfoStore: EventInfoStore;\r\n\r\n constructor(private browserRendererId: number) {\r\n const eventDelegatorId = ++EventDelegator.nextEventDelegatorId;\r\n this.eventsCollectionKey = `_blazorEvents_${eventDelegatorId}`;\r\n this.eventInfoStore = new EventInfoStore(this.onGlobalEvent.bind(this));\r\n }\r\n\r\n public setListener(element: Element, eventName: string, eventHandlerId: number, renderingComponentId: number): void {\r\n const infoForElement = this.getEventHandlerInfosForElement(element, true)!;\r\n const existingHandler = infoForElement.getHandler(eventName);\r\n\r\n if (existingHandler) {\r\n // We can cheaply update the info on the existing object and don't need any other housekeeping\r\n // Note that this also takes care of updating the eventHandlerId on the existing handler object\r\n this.eventInfoStore.update(existingHandler.eventHandlerId, eventHandlerId);\r\n } else {\r\n // Go through the whole flow which might involve registering a new global handler\r\n const newInfo = { element, eventName, eventHandlerId, renderingComponentId };\r\n this.eventInfoStore.add(newInfo);\r\n infoForElement.setHandler(eventName, newInfo);\r\n }\r\n }\r\n\r\n public getHandler(eventHandlerId: number): EventHandlerInfo {\r\n return this.eventInfoStore.get(eventHandlerId);\r\n }\r\n\r\n public removeListener(eventHandlerId: number): void {\r\n // This method gets called whenever the .NET-side code reports that a certain event handler\r\n // has been disposed. However we will already have disposed the info about that handler if\r\n // the eventHandlerId for the (element,eventName) pair was replaced during diff application.\r\n const info = this.eventInfoStore.remove(eventHandlerId);\r\n if (info) {\r\n // Looks like this event handler wasn't already disposed\r\n // Remove the associated data from the DOM element\r\n const element = info.element;\r\n const elementEventInfos = this.getEventHandlerInfosForElement(element, false);\r\n if (elementEventInfos) {\r\n elementEventInfos.removeHandler(info.eventName);\r\n }\r\n }\r\n }\r\n\r\n public notifyAfterClick(callback: (event: MouseEvent) => void): void {\r\n // This is extremely special-case. It's needed so that navigation link click interception\r\n // can be sure to run *after* our synthetic bubbling process. If a need arises, we can\r\n // generalise this, but right now it's a purely internal detail.\r\n this.afterClickCallbacks.push(callback);\r\n this.eventInfoStore.addGlobalListener('click'); // Ensure we always listen for this\r\n }\r\n\r\n public setStopPropagation(element: Element, eventName: string, value: boolean): void {\r\n const infoForElement = this.getEventHandlerInfosForElement(element, true)!;\r\n infoForElement.stopPropagation(eventName, value);\r\n }\r\n\r\n public setPreventDefault(element: Element, eventName: string, value: boolean): void {\r\n const infoForElement = this.getEventHandlerInfosForElement(element, true)!;\r\n infoForElement.preventDefault(eventName, value);\r\n }\r\n\r\n private onGlobalEvent(evt: Event) {\r\n if (!(evt.target instanceof Element)) {\r\n return;\r\n }\r\n\r\n // Always dispatch to any listeners for the original underlying browser event name\r\n this.dispatchGlobalEventToAllElements(evt.type, evt);\r\n\r\n // If this event name has aliases, dispatch for those listeners too\r\n const eventNameAliases = getEventNameAliases(evt.type);\r\n eventNameAliases && eventNameAliases.forEach(alias =>\r\n this.dispatchGlobalEventToAllElements(alias, evt));\r\n\r\n // Special case for navigation interception\r\n if (evt.type === 'click') {\r\n this.afterClickCallbacks.forEach(callback => callback(evt as MouseEvent));\r\n }\r\n }\r\n\r\n private dispatchGlobalEventToAllElements(eventName: string, browserEvent: Event) {\r\n // Note that 'eventName' can be an alias. For example, eventName may be 'click.special'\r\n // while browserEvent.type may be 'click'.\r\n\r\n // Use the event's 'path' rather than the chain of parent nodes, since the path gives\r\n // visibility into shadow roots.\r\n const path = browserEvent.composedPath();\r\n\r\n // Scan up the element hierarchy, looking for any matching registered event handlers\r\n let candidateEventTarget = path.shift();\r\n let eventArgs: unknown = null; // Populate lazily\r\n let eventArgsIsPopulated = false;\r\n const eventIsNonBubbling = Object.prototype.hasOwnProperty.call(nonBubblingEvents, eventName);\r\n let stopPropagationWasRequested = false;\r\n while (candidateEventTarget) {\r\n const candidateElement = candidateEventTarget as Element;\r\n const handlerInfos = this.getEventHandlerInfosForElement(candidateElement, false);\r\n if (handlerInfos) {\r\n const handlerInfo = handlerInfos.getHandler(eventName);\r\n if (handlerInfo && !eventIsDisabledOnElement(candidateElement, browserEvent.type)) {\r\n // We are going to raise an event for this element, so prepare info needed by the .NET code\r\n if (!eventArgsIsPopulated) {\r\n const eventOptionsIfRegistered = getEventTypeOptions(eventName);\r\n // For back-compat, if there's no registered createEventArgs, we supply empty event args (not null).\r\n // But if there is a registered createEventArgs, it can supply anything (including null).\r\n eventArgs = eventOptionsIfRegistered?.createEventArgs\r\n ? eventOptionsIfRegistered.createEventArgs(browserEvent)\r\n : {};\r\n eventArgsIsPopulated = true;\r\n }\r\n\r\n // For certain built-in events, having any .NET handler implicitly means we will prevent\r\n // the browser's default behavior. This has to be based on the original browser event type name,\r\n // not any alias (e.g., if you create a custom 'submit' variant, it should still preventDefault).\r\n if (Object.prototype.hasOwnProperty.call(alwaysPreventDefaultEvents, browserEvent.type)) {\r\n browserEvent.preventDefault();\r\n }\r\n\r\n dispatchEvent(this.browserRendererId, {\r\n eventHandlerId: handlerInfo.eventHandlerId,\r\n eventName: eventName,\r\n eventFieldInfo: EventFieldInfo.fromEvent(handlerInfo.renderingComponentId, browserEvent),\r\n }, eventArgs);\r\n }\r\n\r\n if (handlerInfos.stopPropagation(eventName)) {\r\n stopPropagationWasRequested = true;\r\n }\r\n\r\n if (handlerInfos.preventDefault(eventName)) {\r\n browserEvent.preventDefault();\r\n }\r\n }\r\n\r\n candidateEventTarget = (eventIsNonBubbling || stopPropagationWasRequested) ? undefined : path.shift();\r\n }\r\n }\r\n\r\n private getEventHandlerInfosForElement(element: Element, createIfNeeded: boolean): EventHandlerInfosForElement | null {\r\n if (Object.prototype.hasOwnProperty.call(element, this.eventsCollectionKey)) {\r\n return element[this.eventsCollectionKey];\r\n } else if (createIfNeeded) {\r\n return (element[this.eventsCollectionKey] = new EventHandlerInfosForElement());\r\n } else {\r\n return null;\r\n }\r\n }\r\n}\r\n\r\n// Responsible for adding and removing the global listener when the number of listeners\r\n// for a given event name changes between zero and nonzero\r\nclass EventInfoStore {\r\n private infosByEventHandlerId: { [eventHandlerId: number]: EventHandlerInfo } = {};\r\n\r\n private countByEventName: { [eventName: string]: number } = {};\r\n\r\n constructor(private globalListener: EventListener) {\r\n eventNameAliasRegisteredCallbacks.push(this.handleEventNameAliasAdded.bind(this));\r\n }\r\n\r\n public add(info: EventHandlerInfo) {\r\n if (this.infosByEventHandlerId[info.eventHandlerId]) {\r\n // Should never happen, but we want to know if it does\r\n throw new Error(`Event ${info.eventHandlerId} is already tracked`);\r\n }\r\n\r\n this.infosByEventHandlerId[info.eventHandlerId] = info;\r\n\r\n this.addGlobalListener(info.eventName);\r\n }\r\n\r\n public get(eventHandlerId: number) {\r\n return this.infosByEventHandlerId[eventHandlerId];\r\n }\r\n\r\n public addGlobalListener(eventName: string) {\r\n // If this event name is an alias, update the global listener for the corresponding browser event\r\n eventName = getBrowserEventName(eventName);\r\n\r\n if (Object.prototype.hasOwnProperty.call(this.countByEventName, eventName)) {\r\n this.countByEventName[eventName]++;\r\n } else {\r\n this.countByEventName[eventName] = 1;\r\n\r\n // To make delegation work with non-bubbling events, register a 'capture' listener.\r\n // We preserve the non-bubbling behavior by only dispatching such events to the targeted element.\r\n const useCapture = Object.prototype.hasOwnProperty.call(nonBubblingEvents, eventName);\r\n document.addEventListener(eventName, this.globalListener, useCapture);\r\n }\r\n }\r\n\r\n public update(oldEventHandlerId: number, newEventHandlerId: number) {\r\n if (Object.prototype.hasOwnProperty.call(this.infosByEventHandlerId, newEventHandlerId)) {\r\n // Should never happen, but we want to know if it does\r\n throw new Error(`Event ${newEventHandlerId} is already tracked`);\r\n }\r\n\r\n // Since we're just updating the event handler ID, there's no need to update the global counts\r\n const info = this.infosByEventHandlerId[oldEventHandlerId];\r\n delete this.infosByEventHandlerId[oldEventHandlerId];\r\n info.eventHandlerId = newEventHandlerId;\r\n this.infosByEventHandlerId[newEventHandlerId] = info;\r\n }\r\n\r\n public remove(eventHandlerId: number): EventHandlerInfo {\r\n const info = this.infosByEventHandlerId[eventHandlerId];\r\n if (info) {\r\n delete this.infosByEventHandlerId[eventHandlerId];\r\n\r\n // If this event name is an alias, update the global listener for the corresponding browser event\r\n const eventName = getBrowserEventName(info.eventName);\r\n\r\n if (--this.countByEventName[eventName] === 0) {\r\n delete this.countByEventName[eventName];\r\n document.removeEventListener(eventName, this.globalListener);\r\n }\r\n }\r\n\r\n return info;\r\n }\r\n\r\n private handleEventNameAliasAdded(aliasEventName, browserEventName) {\r\n // If an event name alias gets registered later, we need to update the global listener\r\n // registrations to match. This makes it equivalent to the alias having been registered\r\n // before the elements with event handlers got rendered.\r\n if (Object.prototype.hasOwnProperty.call(this.countByEventName, aliasEventName)) {\r\n // Delete old\r\n const countByAliasEventName = this.countByEventName[aliasEventName];\r\n delete this.countByEventName[aliasEventName];\r\n document.removeEventListener(aliasEventName, this.globalListener);\r\n\r\n // Ensure corresponding count is added to new\r\n this.addGlobalListener(browserEventName);\r\n this.countByEventName[browserEventName] += countByAliasEventName - 1;\r\n }\r\n }\r\n}\r\n\r\nclass EventHandlerInfosForElement {\r\n // Although we *could* track multiple event handlers per (element, eventName) pair\r\n // (since they have distinct eventHandlerId values), there's no point doing so because\r\n // our programming model is that you declare event handlers as attributes. An element\r\n // can only have one attribute with a given name, hence only one event handler with\r\n // that name at any one time.\r\n // So to keep things simple, only track one EventHandlerInfo per (element, eventName)\r\n private handlers: { [eventName: string]: EventHandlerInfo } = {};\r\n\r\n private preventDefaultFlags: { [eventName: string]: boolean } | null = null;\r\n\r\n private stopPropagationFlags: { [eventName: string]: boolean } | null = null;\r\n\r\n public getHandler(eventName: string): EventHandlerInfo | null {\r\n return Object.prototype.hasOwnProperty.call(this.handlers, eventName) ? this.handlers[eventName] : null;\r\n }\r\n\r\n public setHandler(eventName: string, handler: EventHandlerInfo) {\r\n this.handlers[eventName] = handler;\r\n }\r\n\r\n public removeHandler(eventName: string) {\r\n delete this.handlers[eventName];\r\n }\r\n\r\n public preventDefault(eventName: string, setValue?: boolean): boolean {\r\n if (setValue !== undefined) {\r\n this.preventDefaultFlags = this.preventDefaultFlags || {};\r\n this.preventDefaultFlags[eventName] = setValue;\r\n }\r\n\r\n return this.preventDefaultFlags ? this.preventDefaultFlags[eventName] : false;\r\n }\r\n\r\n public stopPropagation(eventName: string, setValue?: boolean): boolean {\r\n if (setValue !== undefined) {\r\n this.stopPropagationFlags = this.stopPropagationFlags || {};\r\n this.stopPropagationFlags[eventName] = setValue;\r\n }\r\n\r\n return this.stopPropagationFlags ? this.stopPropagationFlags[eventName] : false;\r\n }\r\n}\r\n\r\nexport interface EventDescriptor {\r\n eventHandlerId: number;\r\n eventName: string;\r\n eventFieldInfo: EventFieldInfo | null;\r\n}\r\n\r\ninterface EventHandlerInfo {\r\n element: Element;\r\n eventName: string;\r\n eventHandlerId: number;\r\n\r\n // The component whose tree includes the event handler attribute frame, *not* necessarily the\r\n // same component that will be re-rendered after the event is handled (since we re-render the\r\n // component that supplied the delegate, not the one that rendered the event handler frame)\r\n renderingComponentId: number;\r\n}\r\n\r\nfunction toLookup(items: string[]): { [key: string]: boolean } {\r\n const result = {};\r\n items.forEach(value => {\r\n result[value] = true;\r\n });\r\n return result;\r\n}\r\n\r\nfunction eventIsDisabledOnElement(element: Element, rawBrowserEventName: string): boolean {\r\n // We want to replicate the normal DOM event behavior that, for 'interactive' elements\r\n // with a 'disabled' attribute, certain mouse events are suppressed\r\n return (element instanceof HTMLButtonElement || element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement || element instanceof HTMLSelectElement)\r\n && Object.prototype.hasOwnProperty.call(disableableEventNames, rawBrowserEventName)\r\n && element.disabled;\r\n}\r\n","// Licensed to the .NET Foundation under one or more agreements.\r\n// The .NET Foundation licenses this file to you under the MIT license.\r\n\r\nimport { ComponentDescriptor } from '../Services/ComponentDescriptorDiscovery';\r\n\r\n/*\r\n A LogicalElement plays the same role as an Element instance from the point of view of the\r\n API consumer. Inserting and removing logical elements updates the browser DOM just the same.\r\n\r\n The difference is that, unlike regular DOM mutation APIs, the LogicalElement APIs don't use\r\n the underlying DOM structure as the data storage for the element hierarchy. Instead, the\r\n LogicalElement APIs take care of tracking hierarchical relationships separately. The point\r\n of this is to permit a logical tree structure in which parent/child relationships don't\r\n have to be materialized in terms of DOM element parent/child relationships. And the reason\r\n why we want that is so that hierarchies of Razor components can be tracked even when those\r\n components' render output need not be a single literal DOM element.\r\n\r\n Consumers of the API don't need to know about the implementation, but how it's done is:\r\n - Each LogicalElement is materialized in the DOM as either:\r\n - A Node instance, for actual Node instances inserted using 'insertLogicalChild' or\r\n for Element instances promoted to LogicalElement via 'toLogicalElement'\r\n - A Comment instance, for 'logical container' instances inserted using 'createAndInsertLogicalContainer'\r\n - Then, on that instance (i.e., the Node or Comment), we store an array of 'logical children'\r\n instances, e.g.,\r\n [firstChild, secondChild, thirdChild, ...]\r\n ... plus we store a reference to the 'logical parent' (if any)\r\n - The 'logical children' array means we can look up in O(1):\r\n - The number of logical children (not currently implemented because not required, but trivial)\r\n - The logical child at any given index\r\n - Whenever a logical child is added or removed, we update the parent's array of logical children\r\n*/\r\n\r\nconst logicalChildrenPropname = Symbol();\r\nconst logicalParentPropname = Symbol();\r\nconst logicalRootDescriptorPropname = Symbol();\r\n\r\nexport function toLogicalRootCommentElement(descriptor: ComponentDescriptor): LogicalElement {\r\n // Now that we support start/end comments as component delimiters we are going to be setting up\r\n // adding the components rendered output as siblings of the start/end tags (between).\r\n // For that to work, we need to appropriately configure the parent element to be a logical element\r\n // with all their children being the child elements.\r\n // For example, imagine you have\r\n // \r\n //

Static content

\r\n // `))\r\n .pipeTo(new WritableStream({\r\n write(chunk) {\r\n // Inside here, we know the chunks correspond precisely to frames within our message framing mechanism.\r\n // The first one is always the initial document that we will merge into the existing DOM. All subsequent ones\r\n // are blocks of ... markup whose insertion would trigger a streaming SSR DOM update.\r\n if (isFirstFramedChunk) {\r\n isFirstFramedChunk = false;\r\n onInitialDocument(response, chunk);\r\n } else {\r\n onStreamingElement(chunk);\r\n }\r\n }\r\n }));\r\n } catch (ex) {\r\n if ((ex as Error).name === 'AbortError' && abortSignal.aborted) {\r\n // Not an error. This happens if a different navigation started before this one completed.\r\n return;\r\n } else {\r\n throw ex;\r\n }\r\n }\r\n}\r\n\r\nexport function replaceDocumentWithPlainText(text: string) {\r\n document.documentElement.textContent = text;\r\n const docStyle = document.documentElement.style;\r\n docStyle.fontFamily = 'consolas, monospace';\r\n docStyle.whiteSpace = 'pre-wrap';\r\n docStyle.padding = '1rem';\r\n}\r\n\r\nfunction splitStream(frameBoundaryMarker: string) {\r\n let buffer = '';\r\n\r\n return new TransformStream({\r\n transform(chunk, controller) {\r\n buffer += chunk;\r\n\r\n // Only call 'split' if we can see at least one marker, and only look for it within the new content (allowing for it to split over chunks)\r\n if (buffer.indexOf(frameBoundaryMarker, buffer.length - chunk.length - frameBoundaryMarker.length) >= 0) {\r\n const frames = buffer.split(frameBoundaryMarker);\r\n frames.slice(0, -1).forEach(part => controller.enqueue(part));\r\n buffer = frames[frames.length - 1];\r\n }\r\n },\r\n flush(controller) {\r\n controller.enqueue(buffer);\r\n }\r\n });\r\n}\r\n\r\nfunction enhancedNavigationIsEnabledForElement(element: Element): boolean {\r\n // For links, they default to being enhanced, but you can override at any ancestor level (both positively and negatively)\r\n const closestOverride = element.closest('[data-enhance-nav]');\r\n if (closestOverride) {\r\n const attributeValue = closestOverride.getAttribute('data-enhance-nav')!;\r\n return attributeValue === '' || attributeValue.toLowerCase() === 'true';\r\n } else {\r\n return true;\r\n }\r\n}\r\n\r\nfunction enhancedNavigationIsEnabledForForm(form: HTMLFormElement): boolean {\r\n // For forms, they default *not* to being enhanced, and must be enabled explicitly on the form element itself (not an ancestor).\r\n const attributeValue = form.getAttribute('data-enhance');\r\n return typeof (attributeValue) === 'string'\r\n && attributeValue === '' || attributeValue?.toLowerCase() === 'true';\r\n}\r\n\r\nfunction retryEnhancedNavAsFullPageLoad(internalDestinationHref: string) {\r\n // The ? trick here is the same workaround as described in #10839, and without it, the user\r\n // would not be able to use the back button afterwards.\r\n history.replaceState(null, '', internalDestinationHref + '?');\r\n location.replace(internalDestinationHref);\r\n}\r\n","// Licensed to the .NET Foundation under one or more agreements.\r\n// The .NET Foundation licenses this file to you under the MIT license.\r\n\r\nimport { SsrStartOptions } from '../Platform/SsrStartOptions';\r\nimport { NavigationEnhancementCallbacks, hasNeverStartedAnyEnhancedPageLoad, performEnhancedPageLoad, replaceDocumentWithPlainText } from '../Services/NavigationEnhancement';\r\nimport { isWithinBaseUriSpace, toAbsoluteUri } from '../Services/NavigationUtils';\r\nimport { synchronizeDomContent } from './DomMerging/DomSync';\r\n\r\nlet enableDomPreservation = true;\r\nlet navigationEnhancementCallbacks: NavigationEnhancementCallbacks;\r\n\r\nexport function attachStreamingRenderingListener(options: SsrStartOptions | undefined, callbacks: NavigationEnhancementCallbacks) {\r\n navigationEnhancementCallbacks = callbacks;\r\n\r\n if (options?.disableDomPreservation) {\r\n enableDomPreservation = false;\r\n }\r\n\r\n // By the time is in the DOM, we know all the preceding content within the same is also there,\r\n // so it's time to process it. We can't simply listen for , because connectedCallback may fire before its content\r\n // is present, and even listening for a later slotchange event doesn't work because the presence of \r\nexport function shouldAutoStart(): boolean {\r\n return !!(document &&\r\n document.currentScript &&\r\n document.currentScript.getAttribute('autostart') !== 'false');\r\n}\r\n"],"names":["DotNet","platform","EditType","FrameType","jsonRevivers","jsObjectIdKey","dotNetObjectRefKey","byteArrayRefKey","dotNetStreamRefKey","jsStreamReferenceLengthKey","defaultCallDispatcher","currentCallDispatcher","JSObject","constructor","_jsObject","this","_cachedFunctions","Map","findFunction","identifier","cachedFunction","get","lastSegmentValue","result","split","forEach","segment","Error","Function","bind","set","getWrappedObject","windowJSObjectId","cachedJSObjectsById","window","url","startsWith","URL","substring","document","baseURI","toString","import","JSCallResultType","nextJsObjectId","attachReviver","reviver","push","createJSObjectReference","jsObject","createJSStreamReference","streamReference","length","ArrayBuffer","Uint8Array","Blob","size","buffer","undefined","byteLength","jsObjectReference","error","parseJsonWithRevivers","callDispatcher","json","JSON","parse","key","initialValue","reduce","latestValue","getDefaultCallDispatcher","attachDispatcher","dotNetCallDispatcher","CallDispatcher","invokeMethod","assemblyName","methodIdentifier","args","invokeDotNetStaticMethod","invokeMethodAsync","invokeDotNetStaticMethodAsync","disposeJSObjectReference","id","disposeJSObjectReferenceById","_dotNetCallDispatcher","_byteArraysToBeRevived","_pendingDotNetToJSStreams","_pendingAsyncCalls","_nextAsyncCallId","getDotNetCallDispatcher","invokeJSFromDotNet","argsJson","resultType","targetInstanceId","createJSCallResult","findJSFunction","jsFunction","stringifyArgs","beginInvokeJSFromDotNet","asyncHandle","promise","Promise","resolve","then","endInvokeJSFromDotNet","stringify","formatError","endInvokeDotNetFromJS","asyncCallId","success","resultJsonOrExceptionMessage","resultOrError","completePendingCall","parseInt","invokeDotNetMethod","invokeDotNetMethodAsync","dotNetObjectId","invokeDotNetFromJS","resultJson","resultPromise","reject","beginInvokeDotNetFromJS","ex","receiveByteArray","data","processByteArray","delete","supplyDotNetStream","streamId","stream","has","pendingStream","PendingStream","getDotNetStreamPromise","streamPromise","hasOwnProperty","asyncCall","message","stack","targetInstance","DotNetObject","_id","_callDispatcher","dispose","catch","console","serializeAsArg","value","index","byteArray","DotNetStream","_streamPromise","arrayBuffer","Response","returnValue","Default","JSObjectReference","JSStreamReference","JSVoidResult","nextByteArrayIndex","argReplacer","sendByteArray","jsonValue","EventFieldInfo","componentId","fieldValue","fromEvent","event","elem","target","Element","fieldData","HTMLInputElement","type","toLowerCase","checked","HTMLSelectElement","HTMLTextAreaElement","getFormFieldData","eventTypeRegistry","browserEventNamesToAliases","eventNameAliasRegisteredCallbacks","getEventTypeOptions","eventName","getBrowserEventName","possibleAliasEventName","eventOptions","browserEventName","registerBuiltInEventType","eventNames","options","parseTouch","touchList","touches","i","touch","clientX","clientY","screenX","screenY","pageX","pageY","parseMouseEvent","detail","offsetX","offsetY","movementX","movementY","button","buttons","ctrlKey","shiftKey","altKey","metaKey","createEventArgs","element","timeBasedInputs","indexOf","getAttribute","isTimeBasedInput","normalizedValue","normalizeTimeBasedValue","isMultipleSelectInput","selectElement","Array","from","filter","option","selected","map","targetIsCheckbox","tagName","isCheckbox","e","parseDragEvent","dataTransfer","dropEffect","effectAllowed","files","f","name","items","kind","types","parseKeyboardEvent","code","location","repeat","isComposing","parseErrorEvent","filename","lineno","colno","parseProgressEvent","lengthComputable","loaded","total","parseTouchEvent","targetTouches","changedTouches","parsePointerEvent","pointerId","width","height","pressure","tiltX","tiltY","pointerType","isPrimary","parseWheelEvent","deltaX","deltaY","deltaZ","deltaMode","pendingRootComponentContainers","manager","jsComponentParametersByIdentifier","nextPendingDynamicRootComponentIdentifier","RootComponentsFunctions","add","toElement","componentIdentifier","initialParameters","containerIdentifier","getRequiredManager","component","DynamicRootComponent","setParameters","getAndRemovePendingRootComponentContainer","container","EventCallbackWrapper","invoke","arg","_callback","setCallback","callback","_selfJSObjectReference","getJSObjectReference","parameters","_jsEventCallbackWrappers","_componentId","parameter","mappedParameters","entries","Object","parameterCount","callbackWrapper","jsEventCallbackWrapper","values","interopMethodsByRenderer","rendererAttachedListeners","rendererByIdResolverMap","attachWebRendererInterop","rendererId","interopMethods","jsComponentParameters","jsComponentInitializers","keys","managerInstance","initializerIdentifier","componentIdentifiers","initializerFunc","enableJSRootComponents","getInteropMethods","_b","_a","call","browserRendererId","listener","invokeRendererAttachedListeners","isRendererAttached","dispatchEvent","eventDescriptor","eventArgs","dispatchEventMiddleware","eventHandlerId","continuation","nonBubblingEvents","toLookup","alwaysPreventDefaultEvents","submit","disableableEventNames","EventDelegator","afterClickCallbacks","eventDelegatorId","nextEventDelegatorId","eventsCollectionKey","eventInfoStore","EventInfoStore","onGlobalEvent","setListener","renderingComponentId","infoForElement","getEventHandlerInfosForElement","existingHandler","getHandler","update","newInfo","setHandler","removeListener","info","remove","elementEventInfos","removeHandler","notifyAfterClick","addGlobalListener","setStopPropagation","stopPropagation","setPreventDefault","preventDefault","evt","dispatchGlobalEventToAllElements","eventNameAliases","alias","browserEvent","path","composedPath","candidateEventTarget","shift","eventArgsIsPopulated","eventIsNonBubbling","prototype","stopPropagationWasRequested","candidateElement","handlerInfos","handlerInfo","rawBrowserEventName","HTMLButtonElement","disabled","eventOptionsIfRegistered","eventFieldInfo","createIfNeeded","EventHandlerInfosForElement","globalListener","infosByEventHandlerId","countByEventName","handleEventNameAliasAdded","useCapture","addEventListener","oldEventHandlerId","newEventHandlerId","removeEventListener","aliasEventName","countByAliasEventName","handlers","preventDefaultFlags","stopPropagationFlags","handler","setValue","logicalChildrenPropname","Symbol","logicalParentPropname","logicalRootDescriptorPropname","toLogicalRootCommentElement","descriptor","start","end","existingDescriptor","parent","parentNode","textContent","parentLogicalElement","toLogicalElement","children","getLogicalChildrenArray","startLogicalElement","rootCommentChildren","startNextChildIndex","lastMovedChild","childToMove","splice","allowExistingContents","childrenArray","childNodes","child","childLogicalElement","emptyLogicalElement","removeLogicalChild","createAndInsertLogicalContainer","childIndex","containerElement","createComment","insertLogicalChild","childAsLogicalElement","nodeToInsert","Comment","existingGranchildren","lastNodeToInsert","findLastDomNodeInRange","range","Range","setStartBefore","setEndAfter","extractContents","existingLogicalParent","getLogicalParent","existingSiblingArray","existingChildIndex","newSiblings","nextSibling","insertBefore","appendDomNode","childToRemove","grandchildrenArray","domNodeToRemove","removeChild","getLogicalChild","getLogicalRootDescriptor","isSvgElement","closestElement","getClosestDomElement","namespaceURI","getLogicalNextSibling","siblings","isLogicalElement","permuteLogicalChildren","permutationList","listEntry","moveRangeStart","fromSiblingIndex","moveRangeEnd","marker","moveToBeforeMarker","insertBeforeNode","toSiblingIndex","parentDomNode","elementToMove","moveEndNode","nextToMove","nextNext","logicalElement","DocumentFragment","appendChild","parentLogicalNextSibling","previousSibling","logicalParent","lastChild","getCaptureIdAttributeName","referenceCaptureId","elementRefKey","selector","querySelector","getElementByCaptureId","deferredValuePropname","applyAnyDeferredValue","HTMLOptionElement","trySetSelectValueFromOptionElement","setDeferredElementValue","isMultipleSelectElement","setSingleSelectElementValue","setMultipleSelectElementValue","optionElement","selectElem","parentElement","findClosestAncestorSelectElement","isBlazorSelectElement","_blazorDeferredValue","sharedTemplateElemForParsing","createElement","sharedSvgElemForParsing","createElementNS","elementsToClearOnRootComponentRender","Set","interactiveRootComponentPropname","preserveContentOnDisposalPropname","BrowserRenderer","rootComponentIds","childComponentLocations","eventDelegator","hasInteractiveRouter","handleClickForNavigationInterception","absoluteInternalHref","performInternalNavigation","getRootComponentCount","attachRootComponentToLogicalElement","appendContent","isInteractiveRootComponentElement","markAsInteractiveRootComponentElement","attachComponentToElement","updateComponent","batch","edits","referenceFrames","ownerDocument","getRootNode","activeElementBefore","activeElement","applyEdits","HTMLElement","focus","disposeComponent","disposeEventHandler","currentDepth","childIndexAtCurrentDepth","arrayBuilderSegmentReader","editReader","frameReader","editsValues","editsOffset","offset","maxEditIndexExcl","count","editIndex","edit","diffReader","editsEntry","editType","prependFrame","frameIndex","newTreeIndex","frame","referenceFramesEntry","siblingIndex","insertFrame","removeFrame","setAttribute","applyAttribute","removeAttribute","attributeName","removedAttributeName","setOrRemoveAttributeOrProperty","updateText","textNode","Text","updateMarkup","insertMarkup","stepIn","stepOut","permutationListEntry","moveToSiblingIndex","permutationListEnd","frames","frameType","insertElement","text","insertText","attribute","insertComponent","region","insertFrameRange","subtreeLength","elementReferenceCapture","elementReferenceCaptureId","markup","namedEvent","elementName","newDomElementRaw","newElement","inserted","descendantsEndIndexExcl","descendantIndex","descendantFrame","childComponentId","textFrame","createTextNode","markupFrame","markupContainer","parsedMarkup","markupContent","innerHTML","content","querySelectorAll","oldScriptElem","newScriptElem","getAttributeNames","attribName","replaceChild","logicalSiblingIndex","firstChild","toDomElement","attributeFrame","attributeEventHandlerId","stripOnPrefix","attributeValue","startIndex","endIndexExcl","origChildIndex","countDescendantFrames","valueOrNullToRemove","endsWith","hasAttribute","normalizeInputValue","tryApplyValueProperty","tryApplyCheckedProperty","tryApplySpecialProperty","applyInternalAttribute","internalAttributeNamePrefix","internalAttributeName","eventStopPropagationAttributeNamePrefix","eventPreventDefaultAttributeNamePrefix","isInteractive","setShouldPreserveContentOnInteractiveComponentDisposal","shouldPreserve","browserRenderers","interactiveRouterRendererId","programmaticEnhancedNavigationHandler","enhancedNavigationListener","testAnchor","shouldResetScrollAfterNextBatch","browserRenderer","getRendererer","renderBatch","arrayRangeReader","updatedComponentsRange","updatedComponents","updatedComponentsValues","updatedComponentsLength","referenceFramesValues","diff","updatedComponentsEntry","disposedComponentIdsRange","disposedComponentIds","disposedComponentIdsValues","disposedComponentIdsLength","disposedComponentIdsEntry","disposedEventHandlerIdsRange","disposedEventHandlerIds","disposedEventHandlerIdsValues","disposedEventHandlerIdsLength","disposedEventHandlerIdsEntry","scrollTo","callbackIfIntercepted","eventHasSpecialKey","defaultPrevented","anchorTarget","candidate","HTMLAnchorElement","SVGAElement","findAnchorTarget","targetAttributeValue","canProcessAnchor","absoluteHref","toAbsoluteUri","isWithinBaseUriSpace","href","baseUriWithoutTrailingSlash","baseUri","lastIndexOf","nextChar","charAt","isSamePageWithHash","hash","origin","pathname","search","isForSamePath","url1","url2","parsedUrl1","parsedUrl2","protocol","host","port","performScrollToElementOnTheSamePage","hashIndex","scrollToElement","getElementById","scrollIntoView","hasProgrammaticEnhancedNavigationHandler","performProgrammaticEnhancedNavigation","replace","relativeUri","getInteractiveRouterRendererId","hasRegisteredNavigationEventListeners","currentHistoryIndex","currentLocationChangingCallId","navigationCallbacks","popStateCallback","async","state","ignorePendingNavigation","callbacks","getInteractiveRouterNavigationCallbacks","hasLocationChangingEventListeners","_index","userState","_c","delta","uri","navigateHistoryWithoutPopStateCallback","notifyLocationChanging","notifyLocationChanged","resolveCurrentNavigation","internalFunctions","listenForNavigationEvents","locationChangedCallback","locationChangingCallback","locationChanged","locationChanging","onPopState","history","internalDestinationHref","interceptedLink","enableNavigationInterception","setHasLocationChangingListeners","hasListeners","endLocationChanging","callId","shouldContinueNavigation","navigateTo","navigateToCore","refresh","forceReload","reload","getBaseURI","getLocationHref","skipLocationChangingCallback","absoluteUri","forceLoad","shouldUseClientSideRouting","replaceHistoryEntry","historyEntryState","temporaryUri","replaceState","performExternalNavigation","saveToBrowserHistory","pushState","oldPopStateCallback","go","intercepted","all","domFunctions","preventScroll","SVGElement","focusBySelector","tabIndex","Virtualize","dotNetHelper","spacerBefore","spacerAfter","rootMargin","scrollContainer","findClosestScrollContainer","documentElement","style","overflowAnchor","rangeBetweenSpacers","createRange","isValidTableElement","display","intersectionObserver","IntersectionObserver","entry","isIntersecting","setStartAfter","setEndBefore","spacerSeparation","getBoundingClientRect","containerSize","rootBounds","intersectionRect","top","boundingClientRect","offsetHeight","bottom","root","observe","mutationObserverBefore","createSpacerMutationObserver","mutationObserverAfter","observersByDotNetObjectId","getObserversMapEntry","spacer","observerOptions","attributes","mutationObserver","MutationObserver","mutations","observer","disconnect","unobserve","HTMLTableElement","HTMLTableSectionElement","observers","dispatcherObserversByDotNetIdPropname","body","getComputedStyle","overflowY","dotNetHelperDispatcher","dotNetHelperId","PageTitle","getAndRemoveExistingTitle","titleElements","head","getElementsByTagName","existingTitle","currentTitleElement","InputFile","init","_blazorInputFileNextFileId","_blazorFilesById","fileList","file","lastModified","Date","toISOString","contentType","readPromise","blob","toImageFile","fileId","format","maxWidth","maxHeight","originalFile","getFileById","loadedImage","originalFileImage","Image","onload","revokeObjectURL","src","onerror","createObjectURL","resizedImageBlob","desiredWidthRatio","Math","min","desiredHeightRatio","chosenSizeRatio","canvas","round","getContext","drawImage","toBlob","readFileData","registeredLocks","NavigationLock","enableNavigationPrompt","onBeforeUnload","disableNavigationPrompt","getNextChunk","position","nextChunkSize","chunkBlob","slice","getChunkFromBlob","byteOffset","getChunkFromArrayBufferView","transmittingDotNetToJSStreams","Blazor","forceLoadOrOptions","replaceIfUsingOldOverload","registerCustomEventType","aliasGroup","rootComponents","runtime","_internal","navigationManager","navigationManagerInternalFunctions","domWrapper","getJSDataStreamChunk","LogLevel","minimumLogLevel","minLevel","log","logLevel","msg","Critical","Warning","warn","Information","discoverComponents","resolveComponentComments","sort","a","b","sequence","discoverServerComponents","blazorServerStateCommentRegularExpression","blazorWebAssemblyStateCommentRegularExpression","blazorWebInitializerCommentRegularExpression","discoverServerPersistedState","node","discoverBlazorComment","comment","captureName","nodeType","Node","COMMENT_NODE","parsedState","exec","groups","hasChildNodes","nodes","childNodeIterator","ComponentCommentIterator","next","currentElement","componentComment","getComponentComment","childResults","j","childResult","blazorCommentRegularExpression","RegExp","commentNodeIterator","candidateStart","payload","definition","Document","assertNotDirectlyOnDocument","parseCommentPayload","candidateEnd","iterator","prerenderId","validateEndComponentPayload","getComponentEndComment","validateWebAssemblyComponentPayload","uniqueId","nextUniqueDescriptorId","validateServerComponentPayload","createServerComponentComment","createAutoComponentComment","Number","isInteger","assembly","typeName","parameterDefinitions","atob","parameterValues","prerenderEndId","currentIndex","descriptorToMarker","canMergeDescriptors","source","locationHash","formattedComponentKey","HttpError","errorMessage","statusCode","trueProto","super","__proto__","TimeoutError","AbortError","UnsupportedTransportError","transport","errorType","DisabledTransportError","FailedToStartTransportError","FailedToNegotiateWithServerError","AggregateErrors","innerErrors","HttpResponse","statusText","HttpClient","send","method","post","getCookieString","MessageType","HubConnectionState","NullLogger","_logLevel","_message","instance","Arg","isRequired","val","isNotEmpty","match","isIn","Platform","isBrowser","isWebWorker","self","isReactNative","isNode","process","release","getDataDetail","includeContent","isArrayBuffer","view","str","num","formatArrayBuffer","sendMessage","logger","transportName","httpClient","headers","getUserAgentHeader","Trace","logMessageContent","responseType","response","timeout","withCredentials","SubjectSubscription","subject","_subject","_observer","cancelCallback","_","ConsoleLogger","_minLevel","out","constructUserAgent","version","os","runtimeVersion","userAgent","majorAndMinor","getErrorString","FetchHttpClient","_logger","fetch","requireFunc","__webpack_require__","__non_webpack_require__","require","_jar","CookieJar","_fetchType","globalThis","global","getGlobalThis","AbortController","_abortControllerType","request","abortSignal","aborted","abortController","onabort","abort","timeoutId","msTimeout","setTimeout","cache","credentials","mode","redirect","signal","clearTimeout","ok","deserializeContent","status","XhrHttpClient","xhr","XMLHttpRequest","open","setRequestHeader","header","responseText","ontimeout","DefaultHttpClient","_httpClient","TextMessageFormat","write","output","RecordSeparator","input","messages","pop","RecordSeparatorCode","String","fromCharCode","HandshakeProtocol","writeHandshakeRequest","handshakeRequest","parseHandshakeResponse","messageData","remainingData","binaryData","separatorIndex","responseLength","apply","textData","Subject","item","err","complete","subscribe","MessageBuffer","connection","bufferSize","_bufferSize","_messages","_totalMessageCount","_waitForSequenceMessage","_nextReceivingSequenceId","_latestReceivedSequenceId","_bufferedByteCount","_reconnectInProgress","_protocol","_connection","_send","serializedMessage","writeMessage","backpressurePromise","_isInvocationMessage","backpressurePromiseResolver","backpressurePromiseRejector","BufferedItem","_disconnected","_ack","ackMessage","newestAckedMessage","sequenceId","_resolver","_shouldProcessMessage","Sequence","currentId","_ackTimer","_resetSequence","stop","_resend","_dispose","_rejector","Invocation","StreamItem","Completion","StreamInvocation","CancelInvocation","Close","Ping","Ack","_ackTimerHandle","resolver","rejector","HubConnection","create","reconnectPolicy","serverTimeoutInMilliseconds","keepAliveIntervalInMilliseconds","statefulReconnectBufferSize","_nextKeepAlive","_freezeEventListener","_statefulReconnectBufferSize","_reconnectPolicy","_handshakeProtocol","onreceive","_processIncomingData","onclose","_connectionClosed","_callbacks","_methods","_closedCallbacks","_reconnectingCallbacks","_reconnectedCallbacks","_invocationId","_receivedHandshakeResponse","_connectionState","Disconnected","_connectionStarted","_cachedPingMessage","connectionId","baseUrl","Reconnecting","_startPromise","_startWithStateTransitions","Connecting","Debug","_startInternal","Connected","_stopDuringStartError","handshakePromise","_handshakeResolver","_handshakeRejecter","transferFormat","features","reconnect","_sendMessage","_cleanupTimeout","_resetTimeoutPeriod","_resetKeepAliveInterval","_messageBuffer","disconnected","resend","inherentKeepAlive","_cleanupPingTimer","startPromise","_stopPromise","_stopInternal","Disconnecting","_reconnectDelayHandle","_completeClose","_sendCloseMessage","_sendWithProtocol","_createCloseMessage","methodName","streams","streamIds","_replaceStreamingParams","invocationDescriptor","_createStreamInvocation","promiseQueue","cancelInvocation","_createCancelInvocation","invocationId","invocationEvent","_launchStreams","sendPromise","_createInvocation","on","newMethod","off","removeIdx","onreconnecting","onreconnected","_processHandshakeResponse","parseMessages","_invokeClientMethod","allowReconnect","responseMessage","getTime","_timeoutHandle","serverTimeout","_pingServerHandle","nextPing","invocationMessage","methods","_createCompletionMessage","methodsCopy","expectsResponse","res","exception","completionMessage","m","prevRes","arguments","_cancelCallbacksWithError","_reconnect","c","reconnectStartTime","now","previousReconnectAttempts","retryError","nextRetryDelay","_getNextRetryDelay","previousRetryCount","elapsedMilliseconds","retryReason","nextRetryDelayInMilliseconds","nonblocking","_createStreamItemMessage","argument","_isObservable","DEFAULT_RETRY_DELAYS_IN_MILLISECONDS","DefaultReconnectPolicy","retryDelays","_retryDelays","retryContext","HeaderNames","Authorization","Cookie","AccessTokenHttpClient","innerClient","accessTokenFactory","_innerClient","_accessTokenFactory","allowRetry","_accessToken","_setAuthorizationHeader","HttpTransportType","TransferFormat","AbortController$1","_isAborted","LongPollingTransport","pollAborted","_pollAbort","_options","_running","connect","_url","Binary","pollOptions","pollUrl","_closeError","_receiving","_poll","_raiseOnClose","deleteOptions","logMessage","ServerSentEventsTransport","accessToken","encodeURIComponent","eventSource","opened","EventSource","cookies","onmessage","_close","onopen","_eventSource","close","WebSocketTransport","webSocketConstructor","_logMessageContent","_webSocketConstructor","_headers","token","webSocket","binaryType","_event","_webSocket","ErrorEvent","readyState","OPEN","_isCloseEvent","wasClean","reason","HttpConnection","_stopPromiseResolver","_negotiateVersion","createLogger","_resolveUrl","WebSocket","_startInternalPromise","_sendQueue","TransportSendQueue","_stopError","_stopConnection","skipNegotiation","WebSockets","_constructTransport","_startTransport","negotiateResponse","redirects","_getNegotiationResponse","ProtocolVersion","_createTransport","negotiateUrl","_resolveNegotiateUrl","negotiateVersion","connectionToken","useStatefulReconnect","_useStatefulReconnect","_createConnectUrl","requestedTransport","requestedTransferFormat","connectUrl","_isITransport","transportExceptions","transports","availableTransports","negotiate","endpoint","transportOrError","_resolveTransportOrError","join","ServerSentEvents","LongPolling","callStop","actualTransport","transportMatches","transferFormats","s","aTag","searchParams","URLSearchParams","append","_transport","_buffer","_executing","_sendBufferedData","PromiseSource","_transportResult","_sendLoopPromise","_sendLoop","_bufferData","transportResult","_concatBuffers","arrayBuffers","totalLength","_rejecter","JsonHubProtocol","hubMessages","parsedMessage","_isStreamItemMessage","_isCompletionMessage","_isAckMessage","_isSequenceMessage","_assertNotEmptyString","LogLevelNameMapping","trace","debug","information","warning","critical","none","None","HubConnectionBuilder","configureLogging","logging","isLogger","mapping","parseLogLevel","withUrl","transportTypeOrOptions","httpConnectionOptions","withHubProtocol","withAutomaticReconnect","retryDelaysOrReconnectPolicy","isArray","withServerTimeout","milliseconds","_serverTimeoutInMilliseconds","withKeepAliveInterval","_keepAliveIntervalInMilliseconds","withStatefulReconnect","build","WebRendererId","UINT32_MAX","setInt64","high","floor","low","setUint32","getInt64","getInt32","getUint32","TEXT_ENCODING_AVAILABLE","env","TextEncoder","TextDecoder","utf8Count","strLength","pos","charCodeAt","extra","sharedTextEncoder","TEXT_ENCODER_THRESHOLD","utf8EncodeTE","encodeInto","outputOffset","subarray","encode","utf8DecodeJs","bytes","inputOffset","units","byte1","byte2","byte3","unit","extendStatics","sharedTextDecoder","TEXT_DECODER_THRESHOLD","ExtData","__extends","d","setPrototypeOf","p","TypeError","__","DecodeError","_super","_this","proto","defineProperty","configurable","enumerable","timestampExtension","object","msec","sec","nsec","nsecInSec","rv","DataView","secHigh","secLow","encodeTimeSpecToTimestamp","decode","timeSpec","nsec30AndSecHigh2","concat","decodeTimestampToTimeSpec","ExtensionCodec","builtInEncoders","builtInDecoders","encoders","decoders","register","tryToEncode","context","encodeExt","decodeExt","defaultCodec","ensureUint8Array","isView","Encoder","extensionCodec","maxDepth","initialBufferSize","sortKeys","forceFloat32","ignoreUndefined","forceIntegerToFloat","reinitializeState","encodeSharedRef","doEncode","depth","encodeNil","encodeBoolean","encodeNumber","encodeString","encodeObject","ensureBufferSizeToWrite","sizeToWrite","requiredSize","resizeBuffer","newSize","newBuffer","newBytes","newView","writeU8","isSafeInteger","writeU16","writeU32","writeU64","writeI8","writeI16","writeI32","writeI64","writeF32","writeF64","writeStringHeader","utf8EncodeJs","ext","encodeExtension","encodeArray","encodeBinary","encodeMap","writeU8a","_i","object_1","countWithoutUndefined","keys_1","keys_2","setUint8","setInt8","setUint16","setInt16","setInt32","setFloat32","setFloat64","setUint64","prettyByte","byte","abs","padStart","CachedKeyDecoder","maxKeyLength","maxLengthPerKey","hit","miss","caches","canBeCached","find","FIND_CHUNK","records_1","record","recordBytes","store","records","random","cachedValue","slicedCopyOfBytes","__generator","thisArg","y","t","g","label","sent","trys","ops","verb","throw","return","n","v","op","done","step","__asyncValues","o","asyncIterator","__values","settle","__await","EMPTY_VIEW","EMPTY_BYTES","DataViewIndexOutOfBoundsError","getInt8","MORE_DATA","sharedCachedKeyDecoder","Decoder","maxStrLength","maxBinLength","maxArrayLength","maxMapLength","maxExtLength","keyDecoder","totalPos","headByte","setBuffer","bufferView","createDataView","appendBuffer","hasRemaining","newData","createExtraByteError","posToShow","RangeError","doDecodeSync","decodeMulti","decodeAsync","stream_1","stream_1_1","e_1","P","generator","decoded","e_1_1","fulfilled","rejected","decodeArrayStream","decodeMultiAsync","decodeStream","_arguments","isArrayHeaderRequired","arrayItemsLeft","stream_2","stream_2_1","e_2","e_3_1","e_3","readArraySize","q","resume","r","fulfill","__asyncGenerator","DECODE","readHeadByte","pushMapState","pushArrayState","decodeUtf8String","readF32","readF64","readU8","readU16","readU32","readU64","readI8","readI16","readI32","readI64","lookU8","lookU16","lookU32","decodeBinary","decodeExtension","array","keyType","readCount","headerOffset","stateIsMapKey","stringBytes","utf8DecodeTD","headOffset","extType","getUint8","getUint16","getInt16","getFloat32","getFloat64","BinaryMessageFormat","lenBuffer","sizePart","uint8Array","numBitsToShift","byteRead","numBytes","SERIALIZED_PING_MESSAGE","MessagePackHubProtocol","messagePackOptions","_errorResult","_voidResult","_nonVoidResult","_encoder","_decoder","_parseMessage","_writeInvocation","_writeStreamInvocation","_writeStreamItem","_writeCompletion","_writeCancelInvocation","_writeClose","_writeAck","_writeSequence","properties","messageType","_createInvocationMessage","_readHeaders","_createPingMessage","_createAckMessage","_createSequenceMessage","resultKind","streamInvocationMessage","streamItemMessage","cancelInvocationMessage","sequenceMessage","nativeDecoder","decodeUtf8","len","substrings","codepoint","uint64HighPartShift","pow","maxSafeNumberHighPart","readInt32LE","readUint32LE","readUint64LE","highPart","OutOfProcessRenderBatch","batchData","stringReader","OutOfProcessStringReader","OutOfProcessArrayRangeReader","OutOfProcessArrayBuilderSegmentReader","OutOfProcessRenderTreeDiffReader","OutOfProcessRenderTreeEditReader","OutOfProcessRenderTreeFrameReader","tableEntryPos","entryPos","batchDataUint8","stringIndex","readString","stringTableStartIndex","stringTableEntryPos","numUtf8Bytes","readLEB128","charsStart","utf8Data","arrayRange","_arrayBuilderSegment","arrayBuilderSegment","RenderQueue","nextBatchId","processBatch","receivedBatchId","completeBatch","fatalError","Server","getLastBatchid","batchId","hasFailed","showErrorNotification","errorUi","onclick","dismiss","CircuitManager","componentManager","appState","_firstUpdate","_renderingFailed","_disposed","_circuitId","_applicationState","_componentManager","_renderQueue","_dispatcher","isDisposedOrDisposing","startCore","updateRootComponents","operations","startConnection","componentsJson","initialComponents","navigationManagerFunctions","circuitHandlers","onCircuitOpened","hubProtocol","connectionBuilder","configureSignalR","resolveElement","readableStream","ReadableStream","controller","chunk","enqueue","onAfterRenderBatch","onAfterUpdateRootComponents","_interopMethodsForReconnection","detachWebRendererInterop","reconnectionHandler","onConnectionDown","reconnectionOptions","unhandledError","some","onConnectionUp","throwIfDispatchingWhenDisposed","succeeded","sendLocationChanged","sendLocationChanging","sendJsDataStream","chunkSize","numChunksUntilNextAck","lastAckTime","valueOf","chunkId","nextChunkData","timeNow","msSinceAck","max","sendJSDataStream","sequenceOrIdentifier","jsAddedComponentContainer","parsedSequence","isNaN","resolveRootComponent","getRootComponentManager","getDisconnectFormData","FormData","circuitId","didRenderingFail","_disposePromise","sendDisconnectBeacon","navigator","sendBeacon","disposeCore","formData","onCircuitClosed","resolveOptions","userOptions","defaultOptions","initializers","maxRetries","retryIntervalMilliseconds","previousAttempts","dialogId","DefaultReconnectDisplay","Css","overlay","className","ReconnectOverlayClassName","shadow","attachShadow","dialog","ReconnectDialogClassName","rejoiningAnimation","RejoiningAnimationClassName","AnimationRippleCount","ripple","reloadButton","retry","retryWhenDocumentBecomesVisible","visibilityState","show","contains","classList","ReconnectVisibleClassName","currentAttempt","secondsToNextAttempt","unitText","hide","failed","UserSpecifiedDisplay","maxRetriesElement","MaxRetriesId","innerText","removeClasses","ShowClassName","currentAttemptElement","CurrentAttemptId","secondsToNextAttemptElement","SecondsToNextAttemptId","HideClassName","FailedClassName","RejectedClassName","DefaultReconnectionHandler","overrideDisplay","reconnectCallback","_currentReconnectionProcess","_reconnectionDisplay","_reconnectCallback","_error","modal","ReconnectionProcess","isDisposed","reconnectDisplay","attemptPeriodicReconnection","retryInterval","computedRetryInterval","MaximumFirstRetryInterval","runTimer","remainingMs","totalTimeMs","intervalMs","resolveTimerPromise","lastTime","currentTime","deltaTime","simulatedSteps","simulatedTime","EPSILON","nextTimeout","stepIfDocumentIsVisible","JSInitializer","singleRuntime","afterstartedCallbacks","webRendererId","afterStartedCallbacks","importInitializersAsync","initializerFiles","initializerArguments","jsInitializer","adjustedPath","base","adjustPath","initializer","beforeStart","afterStarted","beforeWebAssemblyStart","afterWebAssemblyStarted","beforeServerStart","afterServerStarted","finalBeforeStart","WebAssembly","finalAfterStarted","runClassicInitializers","initializerModule","beforeWebStart","afterWebStarted","hasOnlyClassicInitializers","runLegacyInitializers","enableClassicInitializers","ensureInitializers","webAssembly","circuit","runMultiRuntimeInitializers","importAndInvokeInitializer","invokeAfterStartedCallbacks","blazor","attached","getRendererAttachedPromise","initializersPromise","serverStartPromise","circuitStarting","startServer","components","startServerCore","jsInitializersResponse","fetchAndInvokeInitializers","defaultReconnectionHandler","forceCloseConnection","cleanup","capture","once","startCircuit","circuitStartingPromise","clearCircuitStarting","updateServerRootComponents","scheduleWhenReady","navigatorUA","brands","userAgentData","currentBrowserIsChromeOrEdge","brand","chrome","hasDebuggingEnabled","config","debugLevel","includes","dispatcher","MONO_INTERNAL","currentHeapLock","monoPlatform","load","onConfigLoaded","dotnet","startOptions","validate","loadBootResource","resourceType","customSrc","absoluteSrc","importDotnetJs","moduleConfig","onConfigLoadedCallback","maxParallelDownloads","enableDownloadRetry","applicationEnvironment","environment","dotnetModuleConfig","loadedConfig","environmentVariables","globalizationMode","getApplicationEnvironment","resources","extensions","onDownloadResourceProgress","setProgress","print","printErr","prepareRuntimeConfig","applicationCulture","withApplicationCulture","withApplicationEnvironment","withResourceLoader","withModuleConfig","configureRuntime","createRuntimeInstance","setModuleImports","INTERNAL","mono_internal","getConfig","invokeLibraryInitializers","altKeyName","launchFirefoxDebugger","link","rel","click","launchDebugger","attachDebuggerHotkey","dotNetCriticalError","exports","getAssemblyExports","assign","dotNetExports","Microsoft","AspNetCore","Components","Services","DefaultWebAssemblyJSRuntime","assertHeapIsNotLocked","assemblyNameOrDotNetObjectId","BeginInvokeDotNet","serializedArgs","EndInvokeJS","ReceiveByteArrayFromJS","InvokeDotNet","configureRuntimeInstance","callEntryPoint","runMain","mainAssemblyName","getArrayEntryPtr","itemSize","address","getArrayDataPointer","getObjectFieldsBaseAddress","referenceTypedObject","readInt16Field","baseAddress","fieldOffset","getHeapI16","readInt32Field","getHeapI32","readUint64Field","getHeapU52","readObjectField","getHeapU32","readStringField","readBoolValueAsString","unboxedValue","monoObjectAsBoolOrNullUnsafe","monoStringToStringUnsafe","readStructField","beginHeapLock","MonoHeapLock","invokeWhenHeapUnlocked","enqueuePostReleaseAction","resourcesLoaded","totalResources","percentage","setProperty","suppressMessages","line","postReleaseActions","mono_wasm_gc_unlock","nextQueuedAction","mono_wasm_gc_lock","SharedMemoryRenderBatch","batchAddress","structLength","arrayValuesEntry","pointer","builder","builderFieldsAddress","arrayValues","WebAssemblyComponentAttacher","resolveRegisteredElement","parsedId","getParameterValues","getParameterDefinitions","getTypeName","getAssembly","getCount","platformLoadPromise","resolveBootConfigPromise","loadedWebAssemblyPlatform","started","firstUpdate","waitForRootComponents","bootConfigPromise","resolveInitialUpdatePromise","initialUpdatePromise","resolveInitializersPromise","setWebAssemblyOptions","initializersReady","configuredOptions","setOptions","startWebAssembly","opener","frameElement","settingsJson","sessionStorage","settings","redirect_uri","inAuthRedirectIframe","loadWebAssemblyPlatformIfNotStarted","renderer","middleware","addDispatchEventMiddleware","applyHotReload","metadataDelta","ilDelta","pdbDelta","updatedTypes","getApplyUpdateCapabilities","invokeJSJson","receiveWebAssemblyDotNetDataStream","heapLock","componentAttacher","registeredComponents","getRegisteredComponentsCount","getPersistedState","getInitialComponentsUpdate","UpdateRootComponentsCore","endUpdateRootComponents","attachRootComponentToElement","elementSelector","beforeElementSelector","afterElementSelector","finalOptions","existingConfig","withEnvironmentVariable","resultJsonOrErrorMessage","bytesRead","streamController","receiveDotNetDataStream","attr","setAttributeNS","dataPermanentAttributeName","UpdateCost","Operation","ItemListSubset","callbackfn","descriptorHandler","preprocessAndSynchronizeDomContent","destination","newContent","upgradeComponentCommentsToLogicalRootComments","synchronizeDomContentCore","destinationParent","startExclusive","isSynchronizingLogicalElements","originalNodesForDiff","newNodesForDiff","LogicalElementNodeList","SiblingSubsetNodeList","editScript","before","after","updateCost","commonPrefixLength","shorterLength","lengthOfCommonPrefix","skipCount","commonSuffixLength","beforeStartIndex","afterStartIndex","beforeIndex","afterIndex","lengthOfCommonSuffix","operation","Insert","Delete","unshift","Keep","Update","toEditScript","costs","beforeLength","afterLength","rowZero","comparisonResult","costAsDelete","costAsInsert","costAsRetain","Some","Infinite","MAX_VALUE","computeOperations","computeEditScript","domNodeComparer","destinationWalker","sourceWalker","LogicalElementEditWalker","DomNodeEditWalker","treatAsMatch","current","advance","editsLength","treatAsSubstitution","nodeToRemove","nodeToDelete","createDocumentFragment","treatAsInsertion","endAtNodeExclOrNull","endExclusive","TEXT_NODE","destinationAsLogicalElement","sourceAsLogicalElement","destinationRootDescriptor","sourceRootDescriptor","sourceWebAssemblyData","sourceServerData","mergeDescriptors","ELEMENT_NODE","editableElementValue","selectedIndex","destAttrs","sourceAttrs","destAttrsLength","sourceAttr","destAttr","attributeSetsAreIdentical","HTMLLinkElement","HTMLScriptElement","integrity","remainingDestAttrs","existingDestAttr","getAttributeNodeNS","localName","getAttributeNode","attrToDelete","removeAttributeNS","synchronizeAttributes","isDataPermanentElement","ensureEditableValueSynchronized","DOCUMENT_TYPE_NODE","nextNode","insertLogicalChildBefore","createNodeIterator","NodeFilter","SHOW_COMMENT","logicalRootDescriptor","referenceNode","registerComponent","rootDescriptorA","rootDescriptorB","elementB","serverDescriptors","webAssemblyDescriptors","autoDescriptors","allDescriptors","startNode","acceptHeader","currentEnhancedNavigationAbortController","navigationEnhancementCallbacks","performingEnhancedPageLoad","currentContentUrl","performEnhancedPageLoad","onDocumentClick","closestOverride","closest","enhancedNavigationIsEnabledForElement","shouldScrollToHash","onDocumentSubmit","formElem","HTMLFormElement","form","enhancedNavigationIsEnabledForForm","submitter","action","fetchOptions","submitterName","_d","submitterValue","urlSearchParams","enctype","_e","accept","treatAsRedirectionFromMethod","notifyEnhancedNavigationListeners","enhancedNavigationStarted","responsePromise","isNonRedirectedPostToADifferentUrlMessage","onInitialDocument","frameBoundary","allResponseText","isFirstFramedChunk","pipeThrough","TextDecoderStream","frameBoundaryMarker","TransformStream","transform","part","flush","splitStream","pipeTo","WritableStream","streamingElementMarkup","fragment","createContextualFragment","onStreamingElement","getResponsePartsWithFraming","initialContent","isGetRequest","isSuccessResponse","retryEnhancedNavAsFullPageLoad","redirected","externalRedirectionUrl","responseContentType","parsedHtml","DOMParser","parseFromString","synchronizeDomContent","documentUpdated","replaceDocumentWithPlainText","hashPosition","targetElem","enhancedNavigationCompleted","docStyle","fontFamily","whiteSpace","padding","enableDomPreservation","attachStreamingRenderingListener","disableDomPreservation","customElements","define","BlazorStreamingUpdate","connectedCallback","blazorSsrElement","HTMLTemplateElement","componentIdAsString","docFrag","markers","expectedStartText","startMarker","expectedEndText","endMarker","findStreamingMarkers","destinationRoot","existingContent","setStart","setEnd","deleteContents","insertStreamingContentIntoDocument","destinationUrl","isFormPost","WebRootComponentManager","_circuitInactivityTimeoutMs","_rootComponentsBySsrComponentId","_seenDescriptors","_pendingOperationBatches","_nextOperationBatchId","_nextSsrComponentId","_didWebAssemblyFailToLoadQuickly","_isComponentRefreshPending","rootComponentsMayRequireRefresh","circuitMayHaveNoRootComponents","onDocumentUpdated","onEnhancedNavigationCompleted","startLoadingWebAssemblyIfNotStarted","ssrComponentId","unregisterComponent","maxParallelDownloadsOverride","loadWebAssemblyPromise","bootConfig","cacheBootResources","getWebAssemblyResourceHash","existingHash","localStorage","getItem","areWebAssemblyResourcesLikelyCached","onWebAssemblyFailedToLoadQuickly","setItem","cacheWebAssemblyResourceHash","startCircutIfNotStarted","startWebAssemblyIfNotStarted","refreshRootComponents","rendererHasExistingOrPendingComponents","_circuitInactivityTimeoutId","disposeCircuit","rendererHasComponents","descriptorTypesToConsider","assignedRendererId","operationsByRendererId","determinePendingOperation","batchJson","updateWebAssemblyRootComponents","operationsJson","scheduleAfterStarted","resolveRendererIdForDescriptor","getAutoRenderMode","uniqueIdAtLastUpdate","hasPendingRemoveOperation","JSEventRegistry","_eventListeners","listenersForEventType","ev","currentFocusOnNavigateElement","locationOnLastNavigation","allowApplyFocusAfterEnhancedNavigation","onInitialPageLoad","tryApplyFocus","onEnhancedNavigationStart","onEnhancedNavigationEnd","onFocusIn","FocusOnNavigateElement","disconnectedCallback","rootComponentManager","boot","hotReloadApplied","ssr","circuitInactivityTimeoutMs","jsEventRegistry","enableFocusOnNavigate","onInitialDomContentLoaded","initialCircuitOptions","initializersElement","setCircuitOptions","resolveConfiguredOptions","descriptors","registerAllComponentDescriptors","callAfterStartedCallbacks","currentScript"],"mappings":"yBAGO,IAAIA,ECKJ,IAAIC,EC2DX,IAAYC,EAcAC,GF7EZ,SAAWH,GACP,MAAMI,EAAe,GACfC,EAAgB,eAChBC,EAAqB,iBACrBC,EAAkB,WAClBC,EAAqB,iBACrBC,EAA6B,4BAInC,IAAIC,EAEAC,EACJ,MAAMC,EAEF,WAAAC,CAAYC,GACRC,KAAKD,UAAYA,EACjBC,KAAKC,iBAAmB,IAAIC,GAC/B,CACD,YAAAC,CAAaC,GACT,MAAMC,EAAiBL,KAAKC,iBAAiBK,IAAIF,GACjD,GAAIC,EACA,OAAOA,EAEX,IACIE,EADAC,EAASR,KAAKD,UAWlB,GATAK,EAAWK,MAAM,KAAKC,SAAQC,IAC1B,KAAIA,KAAWH,GAKX,MAAM,IAAII,MAAM,mBAAmBR,QAAiBO,sBAJpDJ,EAAmBC,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