vsresources.dll

Company
Microsoft Corporation
Description

Html Developer Tools Resources

Version
14.0.25123.0
Architecture
32 bit
Threat Score
0 %
Original size
10583.2 Kb
Download size
1815.2 Kb
MD5
483e6f1123e9869c0b2e742aed7ec0fe
SHA1
a5b5cb5a77f376bfb947ca9e9ed006aab0360eba
SHA256
7b190e6b059341e1ca5a64c3ea2abb063435e0f51b742effe8fd2ec09bd2c700

				name: Console

                                        _this._socket.onerror = function (event) { return _this.onerror(event)

 }



                                        _this.debug(Unable

                                        hasMovedToStart = true



                                    // Ideally we would show an error message here but we are on string freeze right now. Add an error message here later.

                                    start += 2



                                    this._selectionStart = rowIndex



                                    throw new Error(Unable

                                    var start = chunkId * chunkSize



                                // If we were unable to get the time domain, start at 0.

                                // See if the column has explicitly said to always enable the tooltip. If so skip it.

                                // e.g.: error messages already were handled by remoteCode.createConsoleResult() via notificationCallbacks.

                                // unable to adjust.  Just return.

                                _this._logger.error(Error

                                _this.debug(Error

                                case 2 /* Error */:

                                if (this._selectionStart <

 0 || !keepSelectionStart) {

                                this._htmlStart = scriptEnd + 1



                                this._multiInputElement.setSelectionRange(start + 1, start + 1)

 // force the cursor to be after the inserted tab

                                this._selectionStart = rowIndex



                                triviaStart = i



                                value: inputId + #internal: + groupStart + : + (groupEnd - 1)

                                var sourceSpan = new FormatService.SourceSpanBuilder(this._htmlStart, scriptStart - 1, false)



                                var start = this._multiInputElement.selectionStart



                                var start = this._singleInputElement.selectionStart



                            // Case 1: Start of an element name

                            // Case 2: Start of an attribute name

                            // If no element is found, start at the main document.

                            // If shift key is pressed, selecting the rows starting from selection start until the row at rowIndex

                            // Only update status when start button is shown

                            // Re-enable features on for Chrome when no Designer attached.

                            // Re-enable features on for Trident when no Designer attached.

                            // Send a message to start the color picker palette collection.

                            // The error now has a call stack so we can report it

                            // The start of end tag will be handled by html tokenizer

                            // outerr.firstError should be in the form // input.js (line, col)

                            // try keeping start time the same and move end time

                            /// <

enable code=SA9005 />



                            Tools.Utility.Assert.hasValue(error, RPC

                            _this.writeMessage({ messageId: e.messageId, messageText: e.messageText, fileUrl: e.fileName, lineNumber: e.lineNumber, columnNumber: e.columnNumber }, e.engineId, 2 /* Error */)



                            _this.writeMessage({ messageId: info.messageId, messageText: info.messageText, fileUrl: info.fileName, lineNumber: info.lineNumber, columnNumber: info.columnNumber }, Console.IEBridge.ENGINE_ID, 2 /* Error */)



                            case 2 /* Error */:

                            consoleObject = { inputId: inputId, notifyType: Common.ObjectView.TreeViewUtils.ConsoleNotifyType.error }



                            filteredIndexStart = 0



                            if ((capabilities.canToggleStylePropertyEnable &

&

 selection.isProperty) || (capabilities.canToggleStyleSubpropertyEnable &

&

 selection.isSubProperty)) {

                            if (isScriptSupported &

&

 scriptStart <

 scriptEnd) {

                            if (this._selectionStart <

 0) {

                            if (typeof (dataIndex) !== number || start !== rowIndex) {

                            keepSelectionStart = false



                            lastIndex += range.end - range.start + 1



                            message = JSON.stringify({ id: result.id, error: error })



                            propertyName: [ + groupStart + ... + (groupEnd - 1) + ],

                            result += range.end - range.start + 1



                            returnValue.isError = true



                            script.onerror = function () {

                            this._error = true



                            this._firstCompilerError = Error:

                            this._multiInputElement.setSelectionRange(this._savedSelectionEnd, this._savedSelectionEnd)

 // setting start and end to the same value restores the insertion cursor position, but not a selection span

                            this._selectionStart = 0



                            this._selectionStart = rowIndex



                            this.canToggleComputedPropertyEnable = true



                            this.canToggleStylePropertyEnable = true



                            this.canToggleStyleSubpropertyEnable = true



                            this.debug(Unable

                            this.traceWriter.raiseEvent(541 /* Dom_EnterEditAsHtml_Start */)



                            unfilteredIndexStart = 0



                            var cursorPos = selection.start + pasteText.length



                            var cursorPos = selection.start + pasteText.length

 // set the new caret location to be the end of the pasted element

                            var end = Math.min(start + chunkSize, blob.size)



                            var error = new Error()



                            var hasMovedToStart = false



                            var start = Math.min(this._selectionStart, rowIndex)



                            var start = partId * chunkSize



                            window.__BROWSERTOOLS_CONSOLE_BREAKMODE_INVOKER.isError = true



                        // Construct the error message for localization

                        // Convert the property range to start and end indices inside the CSS text

                        // Convert the style range to start and end indice inside the CSS text

                        // Error values should be shown using a notification

                        // If error.number is E_ABORT, the user cancelled the dialog. We want to skip error showing.

                        // If shift key is pressed, selecting the rows starting from selection start until the row at rowIndex

                        // If the editor already has focus, we need to start the timer here

                        // If there is JavaScript coming after the HTML, start it on its own line.

                        // Ignore error thrown from setActive.

                        // Mark the start of the object creation

                        // Re-enable features always on for Trident

                        // Send a message to start the color picker palette collection.

                        // Set the start position

                        // Unable to find chain

                        // We don't return an error promise here, just log since we can recover. We just don't show the info bar.

                        // We have loaded the Data Warehouse, now clear out our handle so we can start getting updates

                        // We move the buffered start point to a new location that is a multiple of the current elapsed time.

                        // We must have a root element to start with, default to a div.

                        // animation. This ensures we don't lose the previous handle and start multiple loops.

                        // first try keeping end time the same and move start time

                        // if this is a new search expression, we need to move the menu to the start of the new expression

                        // to enable when they shouldn't.

                        // we will not receive a documentComplete event and browser.document is invalid.  At this point you must restart F12.

                        /// <

enable code=SA1008 />



                        /// <

enable code=SA9014 />



                        F12.Tools.Utility.Assert.isTrue(filteredIndexStart >

= 0)



                        F12.Tools.Utility.Assert.isTrue(unfilteredIndexStart >

= 0)



                        _this._logger.error(Cannot

                        _this._logger.error(Error

                        _this.traceWriter.raiseEvent(513 /* Dom_SelectElement_Start */)



                        case 0 /* Error */:

                        error = new Error(ScriptedHost.Resources.getString(ERRoutOfMemory))



                        error = new Error(part.data)



                        filteredIndexStart += (parentContext ? parentContext.expandedCount : 0)



                        filteredIndexStart -= 1



                        groupStart = groupEnd



                        if ((consoleItem.notifyType === 2 /* Error */ &

&

 !this._model.notificationFilters.errors) || (consoleItem.notifyType === 1 /* Assert */ &

&

 !this._model.notificationFilters.errors) || (consoleItem.notifyType === 5 /* Warn */ &

&

 !this._model.notificationFilters.warnings) || (consoleItem.notifyType === 3 /* Info */ &

&

 !this._model.notificationFilters.messages) || (consoleItem.notifyType === 4 /* Log */ &

&

 !this._model.notificationFilters.log)) {

                        if (filteredIndexStart >

= 0) {

                        if (filteredIndexStart <

 0) {

                        if (this._selectionStart <

 0 || !keepSelectionStart) {

                        if (this._selectionStart <

 0) {

                        if (triviaStart >

 -1) {

                        if (typeof (dataIndex) !== number || start !== rowIndex) {

                        if (unfilteredIndexStart <

 0) {

                        keepSelectionStart = false



                        lastIndex += range.end - range.start + 1



                        lineIndex = parseInt(fullId.substring(indexStart + 2), 10)



                        lines.push(containerStart + nodeNumber + header + inlineText + collapsedFooter + containerEnd)



                        newViewportStart = DiagnosticsHub.BigNumber.add(this._viewportTimeRange.begin, quarterViewportElapsed)



                        newViewportStart = DiagnosticsHub.BigNumber.subtract(selectionMid, quarterViewportElapsed)



                        newViewportStart = this._viewableTimeRange.begin



                        result += range.end - range.start + 1



                        return 2 /* Error */



                        start, // start index of the sub array

                        this._editor.setSelectionRange(this._editor.selectionStart, this._editor.selectionStart + value)



                        this._selectionStart = -1



                        this._selectionStart = 0



                        this._selectionStart = rowIndex



                        this.raiseTraceEvents(517 /* Dom_PasteElement_Start */)



                        this.showNotification(2 /* Error */, Common.ToolWindowHelpers.loadString(ConsoleObjectNotFoundError), engineId)



                        this.showNotification(2 /* Error */, errorMessage)



                        this.start = start



                        this.traceWriter.raiseEvent(407 /* Console_Input_Start */)



                        throw Unable

                        timeFromRangeStart = parseInt(DiagnosticsHub.BigNumber.subtract(time, timeRange.begin).value)



                        timeFromRangeStart = parseInt(DiagnosticsHub.BigNumber.subtract(timeRange.begin, time).value)



                        unfilteredIndexStart += (parentContext ? parentContext.descendantCount : 0)



                        unfilteredIndexStart -= 1



                        var bufferStart = DiagnosticsHub.BigNumber.subtract(_this._currentTimespan.begin, DiagnosticsHub.BigNumber.min(bufferTime, _this._currentTimespan.begin))



                        var cachingStart = Math.max(0, firstIndex - this._options.payloadSize)



                        var end = Math.min(start + count, dataSource.length)



                        var filterError = function (value) {

                        var keepSelectionStart = options &

&

 options.keepSelectionStart, doNotFireEvent = options &

&

 options.doNotFireEvent, toggle = options &

&

 options.toggle, sameRowSelected = false



                        var parameterStart = url.indexOf(?)



                        var slashIndex = url.lastIndexOf(/, (parameterStart >

= 0 ? parameterStart : url.length))



                        var snappedStart = DiagnosticsHub.BigNumber.multiply(DiagnosticsHub.BigNumber.divide(bufferStart, _this._currentTimespan.elapsed), _this._currentTimespan.elapsed)



                        var sourceSpan = new FormatService.SourceSpanBuilder(this._htmlStart, scriptStart - 1, false)



                        var stageStart = timing[stage.start]



                        var start = DiagnosticsHub.BigNumber.min(event.position.begin, this._viewableTimeRange.end)



                        var start = Math.min(this._selectionStart, rowIndex)



                        var start = this._textBox.selectionStart



                        var triviaStart = -1



                        worker.onerror = function (e) {

                        worker.onerror = function (err) {

                        worker.onerror = function (msg) {

                     * Highlights the rows beginning from the selection start until the row at the specified rowIndex

                     * Report exceptions occured during expression evaluation to Console as Error Notifications

                     * including the item itself. Throws an error for a non-existent item.

                    * @returns Openable path to the specified file or null if it cannot be opened

                    /** An event that fires when a user clicks the error span in summary bar */

                    /** An event that fires when a user tries to start the session */

                    // 1) error messages

                    // After logging the error we return it again so that if this

                    // All single-property edits come through here (name, value, priority and enable changes, new property adds and property deletes).

                    // Clear the non-fatal error message

                    // Construct the error message for localization

                    // DOM.enable is undocumented so ignore the result.

                    // Enable toolbar buttons

                    // Fire the script error handler

                    // If shift key is pressed, selecting the rows starting from selection start until the row at rowIndex

                    // Make sure there is nothing in the queue before we start the collection

                    // NOTE: start must be called first. When you are done, call stop to recycle any unused elements.

                    // ScriptErrors that occurred as the host was being loaded are then fired as scriptError events.

                    // Set our enable state as it was before

                    // Setup the error handling before initialization code has executed

                    // Start eyedropper

                    // Start listening for host reported errors.

                    // Start up the editor

                    // Start with the parsed list.

                    // This means this node didn't have children when discovered but now has one. We will start a chilren array

                    // Throws a SyntaxError exception if the string to parse does not follow the netjson format

                    // Throws a VersionError exception if the version of the imported data is not supported

                    // We must have a root element to start with, default to a div.

                    // We need to find our start and end index relative to a grouping point. That way when we

                    // We start with 60 here since our preferredWidth will need to be larger than

                    // [DQUOTE *cookie-octet DQUOTE] is a permitted format in RFC6265, so when a quote is seen at the start of

                    // make it difficult to ever reach 0. If we don't have at least 1 page, we don't need to enable the scrollbar.

                    // offset from the real start time (the timestamp on requestWillBeSent)

                    // or the current item itself. It's between the start (currentRelativeVisibleIndex) and

                    // propagate it to Network Tool, Network Tool needs to listen to this event to enable scenarios such as

                    // restart search if any part of our search has been refreshed

                    // the absolute start and end of the token, within the whole text string

                    // the use of DQUOTE, comma, and space. If we see an open brace at the start of a string, ignore the normal rules about

                    // want because if we got here then our script error is uncaught

                    // would start a new expression) or they have only just started typing

                    /// <

enable code=SA1513 />



                    ChromiumScriptEngine.prototype.start = function () {

                    CollectionResultUpdateService.prototype.start = function (updateInterval) {

                    ConsoleMessageLevels.Error = error

 // TODO: localization

                    CpuUsage.prototype.enabledAtStart = function (state) {

                    ElementRecyclerFactory.prototype.start = function () {

                    InputControl.prototype.enable = function () {

                    MemoryAnalyzer.Program.traceWriter.raiseEventWithKey(205 /* Memory_ViewSnapshot_Start */, snapshotId)



                    NetjsonNetworkProfiler.prototype.enable = function () {

                    PrototypeChannel.prototype.onerror = function (event) {

                    ScriptEngine.prototype.start = function () {

                    TridentScriptEngine.prototype.start = function () {

                    additionalInfo = Error

                    case 2 /* Error */:

                    error = e



                    errorInfo += rnError

                    expressionStart = startMatch[0]



                    filteredIndexStart = this._filteredList.length



                    filteredIndexStart = this.getIndexOfItem(this._filteredList, attachTo) + 1



                    if ((capabilities.canToggleStylePropertyEnable &

&

 selection.isProperty) || (capabilities.canToggleStyleSubpropertyEnable &

&

 selection.isSubProperty)) {

                    if (evaluatedReturnValue &

&

 (evaluatedReturnValue.isError || evaluatedReturnValue.result === consoleRemoteCode.suppressPostCode)) {

                    if (filteredIndexStart >

= 0) {

                    if (indexStart >

 -1) {

                    if (start <

 i) {

                    if (this._selectionStart <

 0 || !keepSelectionStart) {

                    if (this._selectionStart <

 0) {

                    if (this._sourceSpans[sourceSpanIndex].start <

= offset &

&

 this._sourceSpans[sourceSpanIndex].end >

= offset) {

                    if (typeof (dataIndex) !== number || start !== rowIndex) {

                    keepSelectionStart = false



                    lastIndex += range.end - range.start + 1



                    lines.push(containerStart + nodeNumber + header + collapsedFooter + containerEnd)



                    matchStart = start



                    message += rnError

                    newViewportStart = newViewportStart.greater(this._viewableTimeRange.begin) ? newViewportStart : this._viewableTimeRange.begin



                    result += range.end - range.start + 1



                    return sign * (timeFromRangeStart / parseInt(timeRange.elapsed.value)) * pixelRange



                    return this.indentIndexStart + this._selectedItem.visibleDescendantRowCount + 1



                    start = i + 1



                    text: expressionStart + expressionEnd,

                    this._currentSearchTokenStart = -1



                    this._currentSearchTokenStart = this._currentSearchTokenEnd - this._currentSearchToken.length



                    this._promiseTable[id] = { completed: completed, error: error }



                    this._selectionStart = -1



                    this._selectionStart = 0



                    this._traceWriter.raiseEvent(403 /* Console_Attach_Start */)



                    this._traceWriter.raiseEvent(547 /* Dom_ShowColorPicker_Start */)



                    this._traceWriter.raiseEvent(549 /* Dom_HideColorPicker_Start */)



                    this.onStart = new Common.EventSource()



                    this.onToggleFilter(111 /* Timeline_GridUpdatedForFilterBackground_Start */, 112 /* Timeline_GridUpdatedForFilterBackground_Stop */)



                    this.onToggleFilter(113 /* Timeline_GridUpdatedForFilterNetwork_Start */, 114 /* Timeline_GridUpdatedForFilterNetwork_Stop */)



                    this.onToggleFilter(115 /* Timeline_GridUpdatedForFilterMeasures_Start */, 116 /* Timeline_GridUpdatedForFilterMeasures_Stop */)



                    this.onToggleFilter(117 /* Timeline_GridUpdatedForFilterFrames_Start */, 118 /* Timeline_GridUpdatedForFilterFrames_Stop */)



                    this.start = start



                    this.traceWriter.raiseEvent(401 /* Console_Window_Create_Start */)



                    this.traceWriter.raiseEvent(409 /* Console_Output_Start */)



                    this.traceWriter.raiseEvent(411 /* Console_Output_Render_Start */)



                    this.traceWriter.raiseEvent(413 /* Console_Item_Toggle_Start */)



                    this.traceWriter.raiseEvent(415 /* Console_HtmlLines_Expand_Start */)



                    this.traceWriter.raiseEvent(417 /* Console_Context_Menu_Loading_Start */)



                    this.traceWriter.raiseEvent(419 /* Console_Scroll_Start */)



                    this.traceWriter.raiseEvent(537 /* Dom_Search_Start */)



                    this.traceWriter.raiseEvent(543 /* Dom_CommitEditAsHtml_Start */)



                    this.traceWriter.raiseEvent(545 /* Dom_CommitEditAttribute_Start */)



                    this.traceWriter.raiseEventWithKey(421 /* Console_Intellisense_ListBox_Build_Start */, etwKey)



                    this.traceWriter.raiseEventWithKey(423 /* Console_Intellisense_ListBox_Reset_Start */, etwKey)



                    this.traceWriter.raiseEventWithKey(425 /* Console_Intellisense_Menu_Filter_Start */, etwKey)



                    this.traceWriter.raiseEventWithKey(427 /* Console_Intellisense_Menu_Layout_Start */, etwKey)



                    this.traceWriter.raiseEventWithKey(429 /* Console_Intellisense_Provider_Get_Expression_Start */, etwKey)



                    this.traceWriter.raiseEventWithKey(431 /* Console_Intellisense_Provider_Update_Start */, etwKey)



                    this.traceWriter.raiseEventWithKey(433 /* Console_Intellisense_Provider_Get_Items_Start */, etwKey)



                    unfilteredIndexStart = this._unfilteredList.length



                    unfilteredIndexStart = this.getIndexOfItem(this._unfilteredList, attachTo) + 1



                    var cachingStart = Math.max(0, firstIndex - this._options.payloadSize)



                    var diffTimeFromStart = time - this._startLog



                    var end = Math.min(start + count, dataSource.length)



                    var error = new Error((message || Assert

                    var errorMessage = Script

                    var groupStart = startRange, groupEnd = startRange



                    var index = filteredIndexStart - 1



                    var indexStart = fullId.lastIndexOf(::)



                    var keepSelectionStart = options &

&

 options.keepSelectionStart, doNotFireEvent = options &

&

 options.doNotFireEvent, toggle = options &

&

 options.toggle



                    var newViewportStart = DiagnosticsHub.BigNumber.subtract(this._viewportTimeRange.begin, newViewportOneFourth)



                    var removed = this._unfilteredList.splice(start + 1 + lineCount, unfilteredRemoveCount)



                    var start = (i * limit)



                    var start = Math.min(this._selectionStart, rowIndex)



                    var start = this.getIndexOfItem(this._unfilteredList, item)



                 *  @returns {number} The character offset to the start of this span.

                 * @param additionalInfo Any additional information about the error such as callstack

                 * @param column The column on which the error occurred

                 * @param endPropertyIndex End index of the existing property to be replaced, same as start index if it is to be inserted.

                 * @param endStyleIndex Start index of style content inside the stylesheet

                 * @param file The file in which the error occurred

                 * @param line The line on which the error occurred

                 * @param message The error message

                 * @param messageText The error message to log

                 * @param pos The start position of the token in the source.

                 * @param result either { id: id, data: data } or { id: id, error: error } depending on if there was an error

                 * @param rootDocumemnt The document to start searching in

                 * @param start Beginning index

 inclusive

                 * @param start The test for the first character.

                 * @param startPropertyIndex Start index of the existing property to be replaced.

                 * @param startStyleIndex Start index of style content inside the stylesheet. A stylesheet can have multiple styles.

                 * @param unsafeWindow Window to start searching on

                 * @param viewStartX The x value at which to start the view

                 * @return True if this property includes a change since the start of this session.

                 * @return True if this rule includes a change since the start of this session.

                 * @returns Line column converted from the given index and offset start range.

                 * It will have either an error property or a data property.

                 * Logs an error message to the console, including an optional link to open

                 * Report exceptions occured during expression evaluation to Console as Error Notifications

                 * Shows a script error message in the console with information

                * @param {HTMLElement} element Element to start search from

                * Highlights the rows beginning from the selection start until the row at the specified rowIndex

                // 'TRUE' if end tag is encountered i.e. '/' char is found at start or end of the tag.

                // Attach the script error handler

                // Check if '/', '!', or '?' char is present at start of the tag

                // Clear Designer enable state.

                // Depending on the source, the error object will be different

                // Detach the script error handler when we have been detached from the 'debuggee'

                // Enable or Disable the style

                // Enable toolbar buttons if we are attached

                // Events could have happened while the view was detached (especially in VS where you can start and stop debugging). Sync button, filter, no results message.

                // Fire the script error handler

                // Get the start position

                // If error.number is E_ABORT, the user cancelled the dialog. We want to skip error showing.

                // If we are searching in the reverse direction and searching from the start element, we want to back track

                // Reset the resizer to the start position

                // Start the main controller

                // We don't want to mark an invalid property name as invalid, unless it either doesn't start with a hyphen or does start with

                // from the original session start state.

                // so we should start at the start or end depending on the direction.

                // start building our tree.

                /// <

enable code=SA1301 />



                /// <

enable code=SA9001 />



                /// <

enable code=SA9015/>



                /// <

summary>

Highlights the rows beginning from the selection start until the row at the specified rowIndex<

/summary>



                ConsoleWindow.prototype.onError = function (message, file, line, additionalInfo, column) {

                DiagnosticsHubRestWebHost.prototype.logError = function (error) {

                F12.Tools.Utility.Assert.hasValue(this._barPanel, Unable

                F12.Tools.Utility.Assert.hasValue(this._contentPane, Unable

                F12.Tools.Utility.Assert.hasValue(this._tabBarContainer, Unable

                F12.Tools.Utility.Assert.isTrue(index >

= 0, Unable

                F12.Tools.Utility.Assert.isTrue(start >

= 0, Invalid

                F12ProfilerProxy.prototype.start = function () {

                IEBridge.prototype.start = function () {

                Logger.prototype.error = function (message) {

                MemoryAnalyzer.Program.traceWriter.raiseEvent(211 /* Memory_ToolReady_Start */)



                Netjson.VersionError = VersionError



                NetworkApp.prototype.displayError = function (error) {

                NetworkProfiler.prototype.enable = function () {

                NetworkProfilerClient.prototype.enable = function () {

                ProfilerProxy.prototype.start = function () {

                RemoteDom.prototype.editStylePropertyEnable = function (propertyId, isEnabled) {

                RemotePage.prototype.enable = function () {

                Renderer.prototype.logExecuteError = function (error) {

                VSBridge.prototype.start = function () {

                VisualProfiler.Program.traceWriter.raiseEvent(109 /* Timeline_UserSelectedTimeSlice_Start */)



                VisualProfiler.Program.traceWriter.raiseEvent(119 /* Timeline_GridUpdatedForFilterName_Start */)



                VsProfilerProxy.prototype.start = function () {

                additionalInfo = Error

                if (indentIndexStart !== undefined &

&

 indentIndexStart <

 itemsCount &

&

 indentIndexEnd !== undefined &

&

 indentIndexEnd <

 itemsCount &

&

 this._firstVisibleItemIndex <

 indentIndexEnd &

&

 this._lastVisibleItemIndex >

 indentIndexStart) {

                if (indexStart >

 -1) {

                if (start <

 i) {

                if (this._filteredList.length === 0 || filteredIndexStart === this._filteredList.length) {

                if (this._unfilteredList.length === 0 || unfilteredIndexStart === this._unfilteredList.length) {

                if (unfilteredIndexStart >

= 0) {

                if (worker.error || !worker.formattedText) {

                name: Console

                result.push(this.createDetailInfo(Start

                start = element.selectionStart



                start = i + 1



                start, // start index of the sub array

                this._currentSearchTokenStart = -1



                this._data.start = start



                this._domExplorer.traceWriter.raiseEvent(511 /* Dom_Intellisense_Start */)



                this._domExplorer.traceWriter.raiseEvent(545 /* Dom_CommitEditAttribute_Start */)



                this._error = false



                this._firstCompilerError = 



                this._htmlStart = 0



                this._selectionStart = -1



                this._snapshotStart = 0



                this._start = sourceSpanData.start



                this._textBox.selectionEnd = match.start + newNum.length + match.extraLength



                this._textBox.selectionStart = match.start



                this._traceWriter.raiseEvent(523 /* Dom_StylesTab_Intellisense_Start */)



                this._traceWriter.raiseEvent(551 /* Dom_SetColorUsingColorPicker_Start */)



                this.canToggleComputedPropertyEnable = false



                this.canToggleStylePropertyEnable = false



                this.canToggleStyleSubpropertyEnable = false



                this.isStart = isStart



                this.raiseTraceEvents(515 /* Dom_CutElement_Start */)



                this.setValue(newNum, match.start, match.start + length)



                this.start = start



                this.traceWriter.raiseEvent(501 /* Dom_Window_Create_Start */)



                this.traceWriter.raiseEvent(505 /* Dom_UndoRedo_Start */)



                this.traceWriter.raiseEvent(539 /* Dom_RemoteInjection_Start */)



                var VersionError = (function () {

                var cachingStart = Math.max(0, range.start - this._options.payloadSize)



                var childIndexOffset = item.uid === #root ? 0 : 1

 // Always start after item (except for #root which is not displayed)

                var end = Math.min(start + count, dataSource.length)



                var end = start + Math.min(MessageThrottle.MAX_MESSAGE_LENGTH, length - start)



                var errorInfo = Error

                var expressionStart = 



                var filteredIndexStart = 0



                var filteredIndexStart = this.getIndexOfItem(this._filteredList, item)



                var indentIndexStart = itemGenerator.indentIndexStart



                var indexStart = fullId.lastIndexOf(::)



                var keepSelectionStart = options &

&

 options.keepSelectionStart, doNotFireEvent = options &

&

 options.doNotFireEvent, toggle = options &

&

 options.toggle



                var message = Error

                var resultText = expressionStart + expressionEnd



                var scriptStart = this._index



                var start = i * MessageThrottle.MAX_MESSAGE_LENGTH



                var unfilteredIndexStart = 0



                var unfilteredIndexStart = this.getIndexOfItem(this._unfilteredList, item)



                window.onerror = function (message, filename, lineno, colno, error) {

             * (start and end), with information about its parent scope, if any. The method linearly parses the string and generates that information.

             * @param ILoadingFailedParams containing request ID and error info

             * @param additionalInfo Any additional information about the error such as callstack

             * @param enable True to enable the styles, False to disable them

             * @param errorMessage The error message (if any) to report during as a result of the formatting

             * @param file The file in which the error occurred

             * @param line The line on which the error occurred

             * @param longhandEnabledStates Array of longhand enable states, which must match in length to number of

             * @param message The error message

             * @param startElement Start element of current search

             * @param startFromCurrentElement Parameter which states that we need to start search from the current element and not the next

             * @param startPrettyPrint True to start pretty printing immediately for quicker responsiveness

             * @param startSelectElementByClickCallback The callback to call when VS needs to start selecting an element by click (Used for Ctrl+B key)

             * Enable CSS module.

             * Enable Console.

             * Enable DOM module.

             * Enable Debugger.

             * Enable Inspector.

             * Enable Network.

             * Enable Page module.

             * Enable Runtime module.

             * Enable edit chaining (used to chain together multiple events as one undo transaction).

             * Enable or disable an existing style property.

             * Parses error objects returned from the remote code

             * Shows a script error message in the dom explorer with information

             * Start single edit mode (used to allow only the last change of a value to land on the undo stack).

             * Start single-edit mode in the undo/stack, so multiple edits of the

             * Tests whether a character code is a valid character for the start of an HTML tag name.

             * These assertions always be true unless there is a programming error or installation error.

             * User error should be tested with if and fail with a localized string.

            * @throws Will throw an error if a renderer has not been created and no arguments are specified

            * Diagnostics Hub error codes

            * Initializes error reporting. When an uncaught script error happens, this function

            .snapshotTab >

 .snapshotErrorProgress >

 .snapshotError >

 .snapshotProcessingErrorFrown {

            // After finding the last cached index, start with the next sibling

            // Attach the script error handler

            // Initialization step. To start get notifications from the managed code we need to be sure

            // Nothing found at all, so start a new-property add on the first rule (always the inline style rule).

            // Remove the substring from copy start to copy end

            // Set our start value in the edit box.

            // Start the edit.

            // The method here is to start at the selection caret and step backwards until we can

            // Would have been nice if MSDN documented this secret requirement in the dragstart handler.

            /// <

enable code=SA9015/>



            CSS.prototype.enable = function () {

            Console.prototype.enable = function () {

            CssParser.prototype.handleMediaQueryStart = function () {

            DOM.prototype.enable = function () {

            Debugger.prototype.enable = function () {

            DesignerHook.prototype.editStylePropertyEnable = function (propertyId, isEnabled) {

            DomExplorerWindow.prototype.onError = function (message, file, line, additionalInfo) {

            DomExplorerWindow.showMissingElementError = function () {

            Inspector.prototype.enable = function () {

            IntellisenseProviderBase.EVAL_ERROR = __IE_DEVTOOLBAR_CONSOLE_EVAL_ERROR



            MemoryAnalyzer.Program.traceWriter.raiseEvent(201 /* Memory_TakeSnapshot_Start */)



            MemoryAnalyzer.Program.traceWriter.raiseEvent(207 /* Memory_GridSort_Start */)



            MemoryAnalyzer.Program.traceWriter.raiseEvent(213 /* Memory_GridFilterResponse_Start */)



            MemoryAnalyzer.Program.traceWriter.raiseEvent(215 /* Memory_UpdateObjectReferenceGraph_Start */)



            MemoryAnalyzer.Program.traceWriter.raiseEventWithKey(203 /* Memory_CompareSnapshot_Start */, traceEventKey)



            MemoryAnalyzer.Program.traceWriter.raiseEventWithKey(217 /* Memory_ProcessingSnapshot_Start */, traceEventKey)



            MemoryAnalyzer.Program.traceWriter.raiseEventWithKey(219 /* Memory_ProcessingDiffSnapshot_Start */, traceEventKey)



            Network.prototype.enable = function () {

            Page.prototype.enable = function () {

            PaletteViewModel.prototype.onError = function () {

            RemoteDom.prototype.editStylePropertyEnable = function (propertyId, isEnabled) {

            Runtime.prototype.enable = function () {

            VisualProfiler.Program.traceWriter.raiseEvent(101 /* Timeline_Zoom_Start */)



            VisualProfiler.Program.traceWriter.raiseEvent(103 /* Timeline_GridSort_Start */)



            VisualProfiler.Program.traceWriter.raiseEvent(105 /* Timeline_LoadGraphs_Start */)



            VisualProfilerView.prototype.showError = function (error, helpUrl) {

            __BROWSERTOOLS_ErrorHandler.prototype.handleError = function (message, file, line, column) {

            __BROWSERTOOLS_ErrorHandler.prototype.onScriptError = function (errorDetails) {

            exitEditModeCallback, // Used to re-enable View updates.

            if (error instanceof Error &

&

 !(stack in error)) {

            if (start <

 i) {

            if (this._snapshotStart != 0) {

            if (traceEventStart !== undefined) {

            response.error = worker.error



            this._domExplorer.traceWriter.raiseEvent(511 /* Dom_Intellisense_Start */)



            this._shimDragStart = function (ev) { return _this.handleDragStart(ev)

 }



            this._snapshotError = this.findElement(snapshotError)



            this._snapshotProcessingError = this.findElement(snapshotProcessingError)



            this._snapshotStart = 0



            this._snapshotStart = Date.now()



            this._traceWriter.raiseEvent(405 /* Console_Message_Start */)



            this._undoLimit = 100

 // TODO: This number is up for debate. Unless we start looking at memory this has to be a hard coded number.

            this.model.latestSnapshotError = error



            this.raiseEvent(545 /* Dom_CommitEditAttribute_Start */)



            var cursorPos = selection.start + pasteText.length



            var error = this._model.latestSnapshotError



            var start = 0



            var start = this._textBox.selectionStart || 0



            window.onerror = function (e, url, line) {

            } while (start >

= 0 &

&

 (match &

&

 match[0].length || start === this._textBox.selectionStart - 1))



            }, 521 /* Dom_StylesTabLoad_Start */)



            }, 527 /* Dom_ComputedTabLoad_Start */)



            }, 529 /* Dom_ChangesTabLoad_Start */)



            }, 531 /* Dom_LayoutTabLoad_Start */)



            }, 533 /* Dom_EventsTabLoad_Start */)



         * @param Any HTMLElement that has .selectionStart and .selectionEnd

         * @param column The column which the error occurred

         * @param error The Error object.

         * @param errorDetails The error details object

         * @param errorDisplayHandler The function that should be called to display an error message to the

         * @param file The file in which the error occurred

         * @param line The line on which the error occurred

         * @param message The error message

         * @param obj is the object that we need to track to enable gleaming when gleam is called

         * @param selection Selectable item to start with

         * @param show true means start showing highlight, false means done showing highlight

         * @param start Starting position in string to insert new text.

         * @param window The window to start initializing engines from.

         * @return Description of matched number: start = starting position, length = length of

         * Add file:/// to urls that are UNC paths or that start with a drive letter.

         * Detach the script error handler when we have been detached from the 'debuggee'

         * Enable auto-commit at every change (not just at exit).

         * Enable gleaming behaviour only if gleam() was called on the given object and also within the context of the functor (f) call.

         * Enable number value changes with arrows and mouse wheel.

         * Enable strip delimiter mode, which will trim the first and last

         * Gathers error details and constructs an object for them

         * Parses error objects returned from the remote code

         * Similar to allowGleaming but it would only enable gleaming if the condition is true

         * Start edit-chaining mode in the undo/stack (makes a collection of edits become one

         * Start single-edit mode in the undo/stack (multiple edits of the same item appear as only a

         * Stores the component name and error handler function for non-fatal

         * error reporting

        .snapshotTab >

 .snapshotErrorProgress >

 .snapshotError {

        .summaryBarErrorSpan.badgeBackground.badgeError {

        // In IE11 GDR onwards, there is actually a 5th argument, for error - but the Typescript stubs aren't updated

        // NOTE: start must be called first. When you are doing, call stop to recycle any unused elements.

        // Plugin error reporting causes an error if any of these values are null

        // Update the view for change of enable state for a property.

        // fromTime: The start time in nano-seconds

        /// <

enable code=SA1301 />



        /// <

enable code=SA9016 />



        CommonConverters.JSONRegex = /^{.*}$/

 // Matches strings that start with '{' and end with '}', which could be JSON

        DragDropController.prototype.handleDragStart = function (ev) {

        ElementRecyclerFactory.prototype.start = function () {

        ElementStyleModel.prototype.togglePropertyEnable = function (property, isEnabled, callback) {

        ErrorHandlers.prototype.handleError = function (message, file, line, column) {

        ErrorHandlers.prototype.onScriptError = function (errorDetails) {

        ProgramMain.prototype.reportError = function (error, additionalInfo, source, line, column) {

        RemoteDom.EditStylePropertyEnable = EditStylePropertyEnable



        SnapshotView.prototype.updateSnapshotError = function () {

        StyleProperty.prototype.toggleEnable = function () {

        SummaryView.prototype.showSnapshotError = function (error) {

        VisualProfilerView.prototype.showError = function (error, helpUrl) {

        var EditStylePropertyEnable = (function () {

     * @param additionalInfo Any additional information about the error such as callstack

     * @param column The column on which the error occurred

     * @param columnNumber Optional column number on which the error occurred

     * @param file The file in which the error occurred

     * @param line The line on which the error occurred

     * @param message The error message

     * @return Returns true to mark the error as handled, False to display the default error dialog

    .snapshotTileBlank >

 .snapshotError {

    // to add the ability to report the error to the window.errorDisplayHandler before doing reportError

    /// <

enable code=SA1300 />



    /// <

enable code=SA1302 />



    /// <

enable code=SA9016 />



    Common.SelfTestError = SelfTestError



    var SelfTestError = (function () {

    window.onerror = function (message, file, line, columnNumber) {

    window.reportError = function (message, file, line, additionalInfo, column) {

!function(e){e[e.INFO=1]=INFO,e[e.WARNING=2]=WARNING,e[e.ERROR=3]=ERROR}(t.MessageType||(t.MessageType={}))

var l=t.MessageType,c=function(e){function t(t,i,o){var s=this

e.call(this),this.state=idle,this.contextViewProvider=i,this.=null,this.message=null,this.placeholder=o&

&

o.placeholder||,this.ariaLabel=o&

&

o.ariaLabel||,o&

&

o.validationOptions&

&

(this.validation=o.validationOptions.validation,this.showValidationMessage=o.validationOptions.showMessage||!1),this.=u(.monaco-inputbox.idle).appendTo(t)

var a=u(.wrapper).appendTo(this.),l={wrap:off,autocorrect:off,autocapitalize:off,spellcheck:false}

this.ariaLabel&

&

(l[aria-label]=this.ariaLabel),!n.browser.isIE11orEarlier&

&

this.placeholder&

&

(l.placeholder=this.placeholder),this.=u(input.input).type(o.type||text).attr(l).on(r.EventType.INPUT,function(){s.onValueChange()}).on(r.EventType.BLUR,function(){s._hideMessage()}).on(r.EventType.FOCUS,function(){s._showMessage()}),this.placeholder&

&

n.browser.isIE11orEarlier&

&

(this.=u(label.placeholder-shim).appendTo(a).attr({text:this.placeholder,for:input}).on(r.EventType.CLICK,function(e){r.EventHelper.stop(e,!0),s..domFocus()}),n.browser.isIE9&

&

this..on(keyup,function(){return s.onValueChange()})),this..appendTo(a)}return __extends(t,e),t.prototype.setContextViewProvider=function(e){this.contextViewProvider=e},Object.defineProperty(t.prototype,inputElement,{get:function(){return this..getHTMLElement()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,value,{get:function(){return this.inputElement.value},set:function(e){this.inputElement.value!==e&

&

(this.inputElement.value=e,this.onValueChange())},enumerable:!0,configurable:!0}),t.prototype.cursorIsAtBeginning=function(){var e=this.inputElement.selectionStart,t=this.inputElement.selectionEnd

return e===t&

&

0===e},t.prototype.cursorIsAtEnd=function(){var e=this.inputElement.selectionStart,t=this.inputElement.selectionEnd,n=this.inputElement.value.length

return e===t&

&

e===n},t.prototype.focus=function(){this..domFocus()},t.prototype.hasFocus=function(){return this..hasFocus()},t.prototype.select=function(e){void 0===e&

&

(e=null),this..domSelect(e)},t.prototype.enable=function(){this.inputElement.removeAttribute(disabled)},t.prototype.disable=function(){this..attr({disabled:!0}),this._hideMessage()},Object.defineProperty(t.prototype,width,{get:function(){return this..getTotalSize().width},set:function(e){this..size(e)},enumerable:!0,configurable:!0}),t.prototype.showMessage=function(e){this.message=e,this..removeClass(idle

#outputList .consoleItemError >

 .listview-grid-cell-icon {

#outputList .consoleItemError .listview-grid-cell-value {

#outputList .consoleItemScriptError >

 .listview-grid-cell-icon {

#outputList .consoleItemScriptError .listview-grid-cell-value {

.cellStyle-errorResponse { /*Error response is red*/

.hc-black .monaco-inputbox-container .monaco-inputbox-message.error {

.hc-black .monaco-inputbox.error {

.monaco-action-bar .progress-item .tag.error {

.monaco-inputbox-container .monaco-inputbox-message.error {

.monaco-inputbox.error {

.redirectionInfo >

 .redirectionError {

.status-error {

.vs-dark .monaco-inputbox-container .monaco-inputbox-message.error {

.vs-dark .monaco-inputbox.error {

/// <

disable code=SA9005 justification=Enable

/// <

enable code=SA1301 />



/// <

enable code=SA9016 />



Var o=1447,s=function(){function e(){this.m_changes=[],this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE,this.m_originalCount=0,this.m_modifiedCount=0}return e.prototype.MarkNextChange=function(){(this.m_originalCount>

0||this.m_modifiedCount>

0)&

&

this.m_changes.push(new n.DiffChange(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE},e.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>

0||this.m_modifiedCount>

0)&

&

this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>

0||this.m_modifiedCount>

0)&

&

this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),a=function(){function e(e,t,n){void 0===n&

&

(n=null),this.OriginalSequence=e,this.ModifiedSequence=t,this.ContinueProcessingPredicate=n,this.m_originalIds=[],this.m_modifiedIds=[],this.m_forwardHistory=[],this.m_reverseHistory=[],this.ComputeUniqueIdentifiers()}return e.prototype.ComputeUniqueIdentifiers=function(){var e=this.OriginalSequence.getLength(),t=this.ModifiedSequence.getLength()

this.m_originalIds=new Array(e),this.m_modifiedIds=new Array(t)

var n,r={},i=1

for(n=0

e>

n

n++){var o=this.OriginalSequence.getElementHash(n)

r.hasOwnProperty(o)?this.m_originalIds[n]=r[o]:(this.m_originalIds[n]=i++,r[o]=this.m_originalIds[n])}for(n=0

t>

n

n++){var s=this.ModifiedSequence.getElementHash(n)

r.hasOwnProperty(s)?this.m_modifiedIds[n]=r[s]:(this.m_modifiedIds[n]=i++,r[s]=this.m_modifiedIds[n])}},e.prototype.ElementsAreEqual=function(e,t){return this.m_originalIds[e]===this.m_modifiedIds[t]},e.prototype.ComputeDiff=function(){return this._ComputeDiff(0,this.OriginalSequence.getLength()-1,0,this.ModifiedSequence.getLength()-1)},e.prototype._ComputeDiff=function(e,t,n,r){var i=[!1]

return this.ComputeDiffRecursive(e,t,n,r,i)},e.prototype.ComputeDiffRecursive=function(e,t,i,o,s){for(s[0]=!1

t>

=e&

&

o>

=i&

&

this.ElementsAreEqual(e,i)

)e++,i++

for(

t>

=e&

&

o>

=i&

&

this.ElementsAreEqual(t,o)

)t--,o--

if(e>

t||i>

o){var a

return o>

=i?(r.Assert(e===t+1,originalStart

}function Pt(t,n){for(var r=0

r<

n.length

r++){var i=n[r]

e.hasProperty(t,i.name)||(t[i.name]=i)}}function Ot(t){var n=t.symbol.members,r=t.declaredCallSignatures,i=t.declaredConstructSignatures,o=t.declaredStringIndexType,s=t.declaredNumberIndexType

t.baseTypes.length&

&

(n=Nt(t.declaredProperties),e.forEach(t.baseTypes,function(t){Pt(n,zt(t)),r=e.concatenate(r,tn(t,0)),i=e.concatenate(i,tn(t,1)),o=o||rn(t,0),s=s||rn(t,1)})),U(t,n,r,i,o,s)}function It(t){var n=t.target,r=jn(n.typeParameters,t.typeArguments),i=Mt(n.declaredProperties,r),o=Gn(n.declaredCallSignatures,r,Zn),s=Gn(n.declaredConstructSignatures,r,Zn),a=n.declaredStringIndexType?nr(n.declaredStringIndexType,r):void 0,c=n.declaredNumberIndexType?nr(n.declaredNumberIndexType,r):void 0

e.forEach(n.baseTypes,function(t){var n=nr(t,r)

Pt(i,zt(n)),o=e.concatenate(o,tn(n,0)),s=e.concatenate(s,tn(n,1)),a=a||rn(n,0),c=c||rn(n,1)}),U(t,i,o,s,a,c)}function Rt(e,t,n,r,i,o,s){var a=new Na(Ra)

return a.declaration=e,a.typeParameters=t,a.parameters=n,a.resolvedReturnType=r,a.minArgumentCount=i,a.hasRestParameter=o,a.hasStringLiterals=s,a}function Dt(e){return Rt(e.declaration,e.typeParameters,e.parameters,e.resolvedReturnType,e.minArgumentCount,e.hasRestParameter,e.hasStringLiterals)}function Vt(t){if(t.baseTypes.length){var n=t.baseTypes[0],r=tn(_t(n.symbol),1)

return e.map(r,function(e){var r=4096&

n.flags?un(e,n.typeArguments):Dt(e)

return r.typeParameters=t.typeParameters,r.resolvedReturnType=t,r})}return[Rt(void 0,t.typeParameters,Pa,t,0,!1,!1)]}function Ft(e){for(var t={},n=0

n<

e.length

n++){var r=c(268435460,+n)

r.type=e[n],t[n]=r}return t}function Ht(e){var t=jt(xn(Dn(e.elementTypes))),n=Ft(e.elementTypes)

Pt(n,t.properties),U(e,n,t.callSignatures,t.constructSignatures,t.stringIndexType,t.numberIndexType)}function Bt(e,t){if(e.length!==t.length)return!1

for(var n=0

n<

e.length

n++)if(!gr(e[n],t[n],!1,ar))return!1

return!0}function (t,n){for(var r=e.map(t,function(e){return tn(e,n)}),i=r[0],o=0

o<

i.length

o++)if(i[o].typeParameters)return Pa

for(var o=1

o<

r.length

o++)if(!Bt(i,r[o]))return Pa

for(var s=e.map(i,Dt),o=0

o<

s.length

o++){var a=s[o]

a.resolvedReturnType=void 0,a.unionSignatures=e.map(r,function(e){return e[o]})}return s}function Gt(e,t){for(var n=[],r=0

r<

e.length

r++){var i=rn(e[r],t)

if(!i)return void 0

n.push(i)}return Dn(n)}function Ut(e){var t=(e.types,0),n=(e.types,1),r=Gt(e.types,0),i=Gt(e.types,1)

U(e,Oa,t,n,r,i)}function Wt(e){var t=e.symbol

if(2048&

t.flags)var n=t.members,r=an(n.__call),i=an(n.__new),o=fn(t,0),s=fn(t,1)

else{var n=Oa,r=Pa,i=Pa

if(1952&

t.flags&

&

(n=t.exports),8208&

t.flags&

&

(r=an(t)),32&

t.flags){var a=St(t)

i=an(t.members.__constructor),i.length||(i=Vt(a)),a.baseTypes.length&

&

(n=Nt(G(n)),Pt(n,zt(_t(a.baseTypes[0].symbol))))}var o=void 0,s=384&

t.flags?:void 0}U(e,n,r,i,o,s)}function jt(e){return e.members||(3072&

e.flags?Ot(e):32768&

e.flags?Wt(e):8192&

e.flags?Ht(e):16384&

e.flags?Ut(e):It(e)),e}function zt(e){return 48128&

e.flags?jt(e).properties:Pa}function qt(t,n){if(48128&

t.flags){var r=jt(t)

if(e.hasProperty(r.members,n)){var i=r.members[n]

if(D(i))return i}}}function Kt(t){var n=[]

return e.forEach(Yt(t.types[0]),function(e){var r=Jt(t,e.name)

r&

&

n.push(r)}),n}function Yt(e){return 16384&

e.flags?Kt(e):zt(Xt(e))}function Xt(e){if(512&

e.flags){do e=gn(e)

while(e&

&

512&

e.flags)

e||(e=Ya)}return 258&

e.flags?e=Ea:132&

e.flags?e=Sa:8&

e.flags&

&

(e=Ca),e}function Qt(e,t){for(var n,r=e.types,i=0

i<

r.length

i++){var o=Xt(r[i])

if(o!==qa){var s=Zt(o,t)

if(!s)return void 0

n?n.push(s):n=[s]}}for(var a=[],l=[],i=0

i<

n.length

i++){var s=n[i]

s.declarations&

&

l.push.apply(l,s.declarations),a.push(_t(s))}var u=c(1342177284,t)

return u.unionType=e,u.declarations=l,u.type=Dn(a),u}function Jt(t,n){var r=t.resolvedProperties||(t.resolvedProperties={})

if(e.hasProperty(r,n))return r[n]

var i=Qt(t,n)

return i&

&

(r[n]=i),i}function Zt(t,n){if(16384&

t.flags)return Jt(t,n)

if(!(48128&

t.flags||(t=Xt(t),48128&

t.flags)))return void 0

var r=jt(t)

if(e.hasProperty(r.members,n)){var i=r.members[n]

if(D(i))return i}if(r===Xa||r.callSignatures.length||r.constructSignatures.length){var i=qt(ba,n)

if(i)return i}return qt(_a,n)}function en(e,t){if(64512&

e.flags){var n=jt(e)

return 0===t?n.callSignatures:n.constructSignatures}return Pa}function tn(e,t){return en(Xt(e),t)}function nn(e,t){if(64512&

e.flags){var n=jt(e)

return 0===t?n.stringIndexType:n.numberIndexType}}function rn(e,t){return nn(Xt(e),t)}function on(t){var n=[]

return e.forEach(t,function(t){var r=wt(t.symbol)

e.contains(n,r)||n.push(r)}),n}function sn(t){var n=g(t)

if(!n.resolvedSignature){for(var r=126===t.kind?St(t.parent.symbol):void 0,i=r?r.typeParameters:t.typeParameters?on(t.typeParameters):void 0,o=[],s=!1,a=-1,c=0,l=t.parameters.length

l>

c

c++){var u=t.parameters[c]

o.push(u.symbol),u.type&

&

7===u.type.kind&

&

(s=!0),0>

a&

&

(u.initializer||u.questionToken||u.dotDotDotToken)&

&

(a=c)}0>

a&

&

(a=t.parameters.length)

var p

if(r)p=r

else if(t.type)p=(t.type)

else{if(127===t.kind&

&

!e.hasComputedNameButNotSymbol(t)){var d=e.getDeclarationOfKind(t.symbol,128)

p=dt(d)}p||t.body||(p=Ba)}n.resolvedSignature=Rt(t,i,o,p,a,e.hasRestParameters(t),s)}return n.resolvedSignature}function an(e){if(!e)return Pa

for(var t=[],n=0,r=e.declarations.length

r>

n

n++){var i=e.declarations[n]

switch(i.kind){case 133:case 134:case 184:case 125:case 126:case 129:case 130:case 131:case 127:case 128:case 150:case 151:if(n>

0&

&

i.body){var o=e.declarations[n-1]

if(i.parent===o.parent&

&

i.kind===o.kind&

&

i.pos===o.end)break}t.push(sn(i))}}return t}function cn(t){if(t.resolvedReturnType){if(t.resolvedReturnType===Ka&

&

(t.resolvedReturnType=Ba,Ia.noImplicitAny)){var n=t.declaration

n.name?a(n.name,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,e.declarationNameToString(n.name)):a(n,e.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}else{if(t.resolvedReturnType=Ka,t.target)var r=nr(cn(t.target),t.mapper)

else if(t.unionSignatures)var r=Dn(e.map(t.unionSignatures,cn))

else var r=(t.declaration)

t.resolvedReturnType===Ka&

&

(t.resolvedReturnType=r)}return t.resolvedReturnType}function ln(e){if(e.hasRestParameter){var t=_t(e.parameters[e.parameters.length-1])

if(4096&

t.flags&

&

t.target===Ta)return t.typeArguments[0]}return Ba}function un(e,t){return Zn(e,jn(e.typeParameters,t),!0)}function pn(e){return e.typeParameters?(e.erasedSignatureCache||(e.erasedSignatureCache=e.target?Zn(pn(e.target),e.mapper):Zn(e,Kn(e.typeParameters),!0)),e.erasedSignatureCache):e}function dn(e){if(!e.isolatedSignatureType){var t=126===e.declaration.kind||130===e.declaration.kind,n=B(98304)

n.members=Oa,n.properties=Pa,n.callSignatures=t?Pa:[e],n.constructSignatures=t?[e]:Pa,e.isolatedSignatureType=n}return e.isolatedSignatureType}function hn(e){return e.members.__index}function mn(e,t){var n=1===t?116:118,r=hn(e)

if(r)for(var i=r.declarations.length,o=0

i>

o

o++){var s=r.declarations[o]

if(1===s.parameters.length){var a=s.parameters[0]

if(a&

&

a.type&

&

a.type.kind===n)return s}}return void 0}function fn(e,t){var n=mn(e,t)

return n?n.type?(n.type):Ba:void 0}function gn(t){if(!t.constraint)if(t.target){var n=gn(t.target)

t.constraint=n?nr(n,t.mapper):Qa}else t.constraint=(e.getDeclarationOfKind(t.symbol,122).constraint)

return t.constraint===Qa?void 0:t.constraint}function vn(e){switch(e.length){case 1:return+e[0].id

case 2:return e[0].id+,+e[1].id

default:for(var t=,n=0

n<

e.length

n++)n>

0&

&

(t+=,),t+=e[n].id

return t}}function yn(e,t){var n=vn(t),r=e.instantiations[n]

return r||(r=e.instantiations[n]=B(4096,e.symbol),r.target=e,r.typeArguments=t),r}function _n(t,n){var r=g(t)

if(void 0!==r.isIllegalTypeReferenceInConstraint)return r.isIllegalTypeReferenceInConstraint

for(var i=t

!e.forEach(n.declarations,function(e){return e.parent===i.parent})

)i=i.parent

return r.isIllegalTypeReferenceInConstraint=122===i.kind,r.isIllegalTypeReferenceInConstraint}function bn(t){function n(r){if(132===r.kind&

&

63===r.typeName.kind){var i=g(r)

if(void 0===i.isIllegalTypeReferenceInConstraint){var o=T(t,r.typeName.text,3152352,void 0,void 0)

o&

&

1048576&

o.flags&

&

(i.isIllegalTypeReferenceInConstraint=e.forEach(o.declarations,function(e){return e.parent==t.parent}))}i.isIllegalTypeReferenceInConstraint&

&

a(t,e.Diagnostics.Constraint_of_a_type_parameter_cannot_reference_any_type_parameter_from_the_same_type_parameter_list)}e.forEachChild(r,n)}var r

t.constraint&

&

(r=O(t),n(t.constraint))}function Tn(t){var n=g(t)

if(!n.resolvedType){var r=k(t,t.typeName,3152352)

if(r){var i

if(1048576&

r.flags&

&

_n(t,r))i=qa

else if(i=At(r),3072&

i.flags&

&

4096&

i.flags){var o=i.typeParameters

t.typeArguments&

&

t.typeArguments.length===o.length?i=yn(i,e.map(t.typeArguments,)):(a(t,e.Diagnostics.Generic_type_0_requires_1_type_argument_s,it(i,void 0,1),o.length),i=void 0)}else t.typeArguments&

&

(a(t,e.Diagnostics.Type_0_is_not_generic,it(i)),i=void 0)}n.resolvedType=i||qa}return n.resolvedType}function En(e){var t=g(e)

return t.resolvedType||(t.resolvedType=Sr(fo(e.exprName))),t.resolvedType}function Sn(t,n){function r(e){for(var t=e.declarations,n=0

n<

t.length

n++){var r=t[n]

switch(r.kind){case 185:case 186:case 188:return r}}}if(!t)return Ya

var i=At(t)

return 48128&

i.flags?(i.typeParameters?i.typeParameters.length:0)!==n?(a(r(t),e.Diagnostics.Global_type_0_must_have_1_type_parameter_s,t.name,n),Ya):i:(a(r(t),e.Diagnostics.Global_type_0_must_be_a_class_or_interface_type,t.name),Ya)}function Cn(t){return T(void 0,t,3152352,e.Diagnostics.Cannot_find_global_type_0,t)}function kn(e){return Sn(Cn(e),0)}function xn(e){var t=Ta||At(ya)

return t!==Ya?yn(t,[e]):Ya}function wn(e){var t=g(e)

return t.resolvedType||(t.resolvedType=xn((e.elementType))),t.resolvedType}function Ln(e){var t=vn(e),n=nc[t]

return n||(n=nc[t]=B(8192),n.elementTypes=e),n}function An(t){var n=g(t)

return n.resolvedType||(n.resolvedType=Ln(e.map(t.elementTypes,))),n.resolvedType}function Nn(e,t){if(16384&

t.flags)Mn(e,t.types)

else{for(var n=0,r=t.id

n<

e.length&

&

e[n].id<

r

)n++

(n===e.length||e[n].id!==r)&

&

e.splice(n,0,t)}}function Mn(e,t){for(var n=0,r=t.length

r>

n

n++)Nn(e,t[n])}function Pn(e,t){for(var n=0,r=t.length

r>

n

n++)if(e!==t[n]&

&

cr(e,t[n]))return!0

return!1}function On(e){for(var t=e.length

t>

0

)t--,Pn(e[t],e)&

&

e.splice(t,1)}function In(e){for(var t=0

t<

e.length

t++)if(1&

e[t].flags)return!0

return!1}function Rn(e,t){for(var n=e.length

n>

0&

&

e.length>

1

)n--,e[n]===t&

&

e.splice(n,1)}function Dn(e,t){if(0===e.length)return Ya

var n=[]

if(Mn(n,e),t){if(In(n))return Ba

Rn(n,ja),Rn(n,za)}else On(n)

if(1===n.length)return n[0]

var r=vn(n),i=rc[r]

return i||(i=rc[r]=B(16384),i.types=n),i}function Vn(t){var n=g(t)

return n.resolvedType||(n.resolvedType=Dn(e.map(t.types,),!0)),n.resolvedType}function Fn(e){var t=g(e)

return t.resolvedType||(t.resolvedType=B(32768,e.symbol)),t.resolvedType}function Hn(t){if(e.hasProperty(ic,t.text))return ic[t.text]

var n=ic[t.text]=F(256)

return n.text=e.getTextOfNode(t),n}function Bn(e){var t=g(e)

return t.resolvedType||(t.resolvedType=Hn(e)),t.resolvedType}function (e){switch(e.kind){case 109:return Ba

case 118:return 

case 116:return Ga

case 110:return Ua

case 97:return Wa

case 7:return Bn(e)

case 132:return Tn(e)

case 135:return En(e)

case 137:return wn(e)

case 138:return An(e)

case 139:return Vn(e)

case 140:return (e.type)

case 133:case 134:case 136:return Fn(e)

case 63:case 120:var t=Us(e)

return t&

&

At(t)

default:return qa}}function Gn(e,t,n){if(e&

&

e.length){for(var r=[],i=0

i<

e.length

i++)r.push(n(e[i],t))

return r}return e}function Un(e,t){return function(n){return n===e?t:n}}function Wn(e,t,n,r){return function(i){return i===e?t:i===n?r:i}}function jn(e,t){switch(e.length){case 1:return Un(e[0],t[0])

case 2:return Wn(e[0],t[0],e[1],t[1])}return function(n){for(var r=0

r<

e.length

r++)if(n===e[r])return t[r]

return n}}function zn(e){r

Last update: 16/11/2024