diff --git a/LICENSE b/LICENSE index cdda5ef..ad5aece 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Dillon Skaggs +Copyright (c) 2021 Dillon Skaggs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 4a960b0..2b296e7 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ You can access the state with `Player(source).state['state bag here']` | [proximity](docs/state-getters/stateBagGetters.md) | Returns a table with the mode index, distance, and mode name | table | | [radioChannel](docs/state-getters/stateBagGetters.md) | Returns the players current radio channel, or 0 for none | int | | [callChannel](docs/state-getters/stateBagGetters.md) | Returns the players current call channel, or 0 for none | int | - +| [voiceIntent](docs/state-getters/stateBagGetters.md) | Returns the players current voice intent, either 'speech' or 'music' | string | ###### Exports diff --git a/TODO.md b/TODO.md index a098d94..cca1dd8 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,4 @@ ## TODO -- [ ] Add the ability to override proximity with exports - [ ] Rename everything that uses 'phone' to 'call' for consistency. - [ ] Ability to display radio members on the client - [ ] Use commands to define voiceModes in shared.lua and only leave debug logs in shared.lua @@ -7,4 +6,5 @@ - [ ] Multiple radio channels ## DONE -- [ x ] Implement a easy way to get the players current radio channel on the server \ No newline at end of file +- [ x ] Implement a easy way to get the players current radio channel on the server +- [ x ] Add the ability to override proximity with exports \ No newline at end of file diff --git a/client/commands.lua b/client/commands.lua index b85484a..197c2e2 100644 --- a/client/commands.lua +++ b/client/commands.lua @@ -1,3 +1,5 @@ +local wasProximityDisabledFromOverride = false +disableProximityCycle = false RegisterCommand('setvoiceintent', function(source, args) if GetConvarInt('voice_allowSetIntent', 1) == 1 then local intent = args[1] @@ -6,37 +8,67 @@ RegisterCommand('setvoiceintent', function(source, args) elseif intent == 'music' then MumbleSetAudioInputIntent(GetHashKey('music')) end + LocalPlayer.state:set('voiceIntent', intent, true) end end) -- TODO: Better implementation of this? RegisterCommand('vol', function(_, args) if not args[1] then return end - setVolume(args[1]) + setVolume(tonumber(args[1])) end) -RegisterCommand('cycleproximity', function() - if GetConvarInt('voice_enableProximity', 1) ~= 1 then return end - if playerMuted then return end - - local voiceMode = mode - local newMode = voiceMode + 1 +exports('setAllowProximityCycleState', function(state) + type_check({state, "boolean"}) + disableProximityCycle = state +end) - voiceMode = (newMode <= #Cfg.voiceModes and newMode) or 1 - local voiceModeData = Cfg.voiceModes[voiceMode] - MumbleSetTalkerProximity(voiceModeData[1] + 0.0) - mode = voiceMode +function setProximityState(proximityRange, isCustom) + local voiceModeData = Cfg.voiceModes[mode] + MumbleSetTalkerProximity(proximityRange + 0.0) LocalPlayer.state:set('proximity', { - index = voiceMode, - distance = voiceModeData[1], - mode = voiceModeData[2], + index = mode, + distance = proximityRange, + mode = isCustom and "Custom" or voiceModeData[2], }, true) - -- make sure we update the UI to the latest voice mode - SendNUIMessage({ - voiceMode = voiceMode - 1 + sendUIMessage({ + -- JS expects this value to be - 1, "custom" voice is on the last index + voiceMode = isCustom and #Cfg.voiceModes or mode - 1 }) - TriggerEvent('pma-voice:setTalkingMode', voiceMode) +end + +exports("overrideProximityRange", function(range, disableCycle) + type_check({range, "number"}) + setProximityState(range, true) + if disableCycle then + disableProximityCycle = true + wasProximityDisabledFromOverride = true + end +end) + +exports("clearProximityOverride", function() + local voiceModeData = Cfg.voiceModes[mode] + setProximityState(voiceModeData[1], false) + if wasProximityDisabledFromOverride then + disableProximityCycle = false + end +end) + +RegisterCommand('cycleproximity', function() + -- Proximity is either disabled, or manually overwritten. + if GetConvarInt('voice_enableProximityCycle', 1) ~= 1 or disableProximityCycle then return end + local newMode = mode + 1 + + -- If we're within the range of our voice modes, allow the increase, otherwise reset to the first state + if newMode <= #Cfg.voiceModes then + mode = newMode + else + mode = 1 + end + + setProximityState(Cfg.voiceModes[mode][1], false) + TriggerEvent('pma-voice:setTalkingMode', mode) end, false) if gameVersion == 'fivem' then RegisterKeyMapping('cycleproximity', 'Cycle Proximity', 'keyboard', GetConvar('voice_defaultCycle', 'F11')) -end \ No newline at end of file +end diff --git a/client/events.lua b/client/events.lua index 599bd36..c76dbfd 100644 --- a/client/events.lua +++ b/client/events.lua @@ -1,17 +1,5 @@ -AddEventHandler('mumbleConnected', function(address, isReconnecting) - logger.info('Connected to mumble server with address of %s, is this a reconnect %s', GetConvarInt('voice_hideEndpoints', 1) == 1 and 'HIDDEN' or address, isReconnecting) - - logger.log('Connecting to mumble, setting targets.') - -- don't try to set channel instantly, we're still getting data. +function handleInitialState() local voiceModeData = Cfg.voiceModes[mode] - -- sets how far the player can talk - MumbleSetAudioInputDistance(voiceModeData[1] + 0.0) - LocalPlayer.state:set('proximity', { - index = mode, - distance = voiceModeData[1], - mode = voiceModeData[2], - }, true) - MumbleSetTalkerProximity(voiceModeData[1] + 0.0) MumbleClearVoiceTarget(voiceTarget) MumbleSetVoiceTarget(voiceTarget) @@ -24,6 +12,21 @@ AddEventHandler('mumbleConnected', function(address, isReconnecting) MumbleAddVoiceTargetChannel(voiceTarget, playerServerId) addNearbyPlayers() +end + +AddEventHandler('mumbleConnected', function(address, isReconnecting) + logger.info('Connected to mumble server with address of %s, is this a reconnect %s', GetConvarInt('voice_hideEndpoints', 1) == 1 and 'HIDDEN' or address, isReconnecting) + + logger.log('Connecting to mumble, setting targets.') + -- don't try to set channel instantly, we're still getting data. + local voiceModeData = Cfg.voiceModes[mode] + LocalPlayer.state:set('proximity', { + index = mode, + distance = voiceModeData[1], + mode = voiceModeData[2], + }, true) + + handleInitialState() logger.log('Finished connection logic') end) diff --git a/client/init/init.lua b/client/init/init.lua index d61778c..3b6805e 100644 --- a/client/init/init.lua +++ b/client/init/init.lua @@ -24,12 +24,9 @@ AddEventHandler('onClientResourceStart', function(resource) SetResourceKvp('pma-voice_enableMicClicks', tostring(true)) micClicks = 'true' end - Wait(1000) - if GetConvarInt('voice_enableUi', 1) == 1 then - SendNUIMessage({ - voiceModes = json.encode(Cfg.voiceModes), - voiceMode = mode - 1 - }) - end + sendUIMessage({ + voiceModes = json.encode(Cfg.voiceModes), + voiceMode = mode - 1 + }, true) print('Script initialization finished.') end) \ No newline at end of file diff --git a/client/init/main.lua b/client/init/main.lua index a3ee168..7081dbe 100644 --- a/client/init/main.lua +++ b/client/init/main.lua @@ -7,7 +7,7 @@ local volumes = { ['phone'] = tonumber(GetConvar('voice_defaultPhoneVolume', '0.6')) + 0.0, } -radioEnabled, radioPressed, mode = false, false, Cfg.defaultProximityMode +radioEnabled, radioPressed, mode = true, false, GetConvarInt('voice_defaultVoiceMode', 2) radioData = {} callData = {} @@ -59,9 +59,7 @@ end) -- o_freq_lo = 348.0 -- 0_freq_hi = 4900.0 - if gameVersion == 'fivem' then - -- radio submix radioEffectId = CreateAudioSubmix('Radio') SetAudioSubmixEffectRadioFx(radioEffectId, 0) SetAudioSubmixEffectParamInt(radioEffectId, 0, GetHashKey('default'), 1) @@ -150,7 +148,7 @@ end ---@param clickType boolean whether to play the 'on' or 'off' click. function playMicClicks(clickType) if micClicks ~= 'true' then return end - SendNUIMessage({ + sendUIMessage({ sound = (clickType and "audio_on" or "audio_off"), volume = (clickType and (volumes["radio"]) or 0.05) }) @@ -176,7 +174,7 @@ exports('toggleMutePlayer', toggleMutePlayer) function setVoiceProperty(type, value) if type == "radioEnabled" then radioEnabled = value - SendNUIMessage({ + sendUIMessage({ radioEnabled = value }) elseif type == "micClicks" then diff --git a/client/init/proximity.lua b/client/init/proximity.lua index 56fe7e8..5d31bcc 100644 --- a/client/init/proximity.lua +++ b/client/init/proximity.lua @@ -1,13 +1,30 @@ -- used when muted local disableUpdates = false local isListenerEnabled = false +local plyCoords = GetEntityCoords(PlayerPedId()) -function addNearbyPlayers() - if disableUpdates then return end - local coords = GetEntityCoords(PlayerPedId()) +function orig_addProximityCheck(ply) + local tgtPed = GetPlayerPed(ply) local voiceModeData = Cfg.voiceModes[mode] local distance = GetConvar('voice_useNativeAudio', 'false') == 'true' and voiceModeData[1] * 3 or voiceModeData[1] + return #(plyCoords - GetEntityCoords(tgtPed)) < distance +end +local addProximityCheck = orig_addProximityCheck + +exports("overrideProximityCheck", function(fn) + addProximityCheck = fn +end) + +exports("resetProximityCheck", function() + addProximityCheck = orig_addProximityCheck +end) + +function addNearbyPlayers() + if disableUpdates then return end + -- update here so we don't have to update every call of addProximityCheck + plyCoords = GetEntityCoords(PlayerPedId()) + MumbleClearVoiceTargetChannels(voiceTarget) local players = GetActivePlayers() for i = 1, #players do @@ -16,8 +33,7 @@ function addNearbyPlayers() if serverId == playerServerId then goto skip_loop end - local ped = GetPlayerPed(ply) - if #(coords - GetEntityCoords(ped)) < distance then + if addProximityCheck(ply) then if isTarget then goto skip_loop end logger.verbose('Added %s as a voice target', serverId) @@ -70,6 +86,7 @@ end) -- cache talking status so we only send a nui message when its not the same as what it was before local lastTalkingStatus = false local lastRadioStatus = false +local voiceState = "proximity" Citizen.CreateThread(function() TriggerEvent('chat:addSuggestion', '/muteply', 'Mutes the player with the specified id', { { name = "player id", help = "the player to toggle mute" }, @@ -80,24 +97,62 @@ Citizen.CreateThread(function() while not MumbleIsConnected() do Wait(100) end + -- Leave the check here as we don't want to do any of this logic if GetConvarInt('voice_enableUi', 1) == 1 then - if lastRadioStatus ~= radioPressed or lastTalkingStatus ~= (MumbleIsPlayerTalking(PlayerId()) == 1) then + local curTalkingStatus = MumbleIsPlayerTalking(PlayerId()) == 1 + if lastRadioStatus ~= radioPressed or lastTalkingStatus ~= curTalkingStatus then lastRadioStatus = radioPressed - lastTalkingStatus = MumbleIsPlayerTalking(PlayerId()) == 1 - SendNUIMessage({ + lastTalkingStatus = curTalkingStatus + sendUIMessage({ usingRadio = lastRadioStatus, talking = lastTalkingStatus }) end end - addNearbyPlayers() - local isSpectating = NetworkIsInSpectatorMode() - if isSpectating and not isListenerEnabled then - setSpectatorMode(true) - elseif not isSpectating and isListenerEnabled then - setSpectatorMode(false) + + if voiceState == "proximity" then + addNearbyPlayers() + local isSpectating = NetworkIsInSpectatorMode() + if isSpectating and not isListenerEnabled then + setSpectatorMode(true) + elseif not isSpectating and isListenerEnabled then + setSpectatorMode(false) + end end Wait(GetConvarInt('voice_refreshRate', 200)) end end) + +exports("setVoiceState", function(_voiceState, channel) + if _voiceState ~= "proximity" and _voiceState ~= "channel" then + logger.error("Didn't get a proper voice state, expected proximity or channel, got %s", _voiceState) + end + voiceState = _voiceState + if voiceState == "channel" then + type_check({channel, "number"}) + -- 65535 is the highest a client id can go, so we add that to the base channel so we don't manage to get onto a players channel + channel = channel + 65535 + MumbleSetVoiceChannel(channel) + while MumbleGetVoiceChannelFromServerId(playerServerId) ~= channel do + Wait(250) + end + MumbleAddVoiceTargetChannel(voiceTarget, channel) + elseif voiceState == "proximity" then + handleInitialState() + end +end) + + +AddEventHandler("onClientResourceStop", function(resource) + if type(addProximityCheck) == "table" then + local proximityCheckRef = addProximityCheck.__cfx_functionReference + if proximityCheckRef then + local isResource = string.match(proximityCheckRef, resource) + if isResource then + addProximityCheck = orig_addProximityCheck + logger.warn('Reset proximity check to default, the original resource [%s] which provided the function restarted', resource) + end + end + end +end) \ No newline at end of file diff --git a/client/module/phone.lua b/client/module/phone.lua index ed40046..efd3667 100644 --- a/client/module/phone.lua +++ b/client/module/phone.lua @@ -65,11 +65,9 @@ function setCallChannel(channel) if GetConvarInt('voice_enablePhones', 1) ~= 1 then return end TriggerServerEvent('pma-voice:setPlayerCall', channel) callChannel = channel - if GetConvarInt('voice_enableUi', 1) == 1 then - SendNUIMessage({ - callInfo = channel - }) - end + sendUIMessage({ + callInfo = channel + }, true) createPhoneThread() end diff --git a/client/module/radio.lua b/client/module/radio.lua index 7cac41f..e7de510 100644 --- a/client/module/radio.lua +++ b/client/module/radio.lua @@ -1,9 +1,11 @@ local radioChannel = 0 +local radioNames = {} --- event syncRadioData --- syncs the current players on the radio to the client ---@param radioTable table the table of the current players on the radio -function syncRadioData(radioTable) +---@param localPlyRadioName string the local players name +function syncRadioData(radioTable, localPlyRadioName) radioData = radioTable logger.info('[radio] Syncing radio table.') if GetConvarInt('voice_debugMode', 0) >= 4 then @@ -16,6 +18,9 @@ function syncRadioData(radioTable) toggleVoice(tgt, enabled, 'radio') end end + if GetConvarInt("voice_syncPlayerNames", 0) == 1 then + radioNames[playerServerId] = localPlyRadioName + end end RegisterNetEvent('pma-voice:syncRadioData', syncRadioData) @@ -33,8 +38,11 @@ RegisterNetEvent('pma-voice:setTalkingOnRadio', setTalkingOnRadio) --- event addPlayerToRadio --- adds a player onto the radio. ---@param plySource number the players server id to add to the radio. -function addPlayerToRadio(plySource) +function addPlayerToRadio(plySource, plyRadioName) radioData[plySource] = false + if GetConvarInt("voice_syncPlayerNames", 0) == 1 then + radioNames[plySource] = plyRadioName + end if radioPressed then logger.info('[radio] %s joined radio %s while we were talking, adding them to targets', plySource, radioChannel) playerTargets(radioData, MumbleIsPlayerTalking(PlayerId()) and callData or {}) @@ -55,10 +63,10 @@ function removePlayerFromRadio(plySource) toggleVoice(tgt, false, 'radio') end end + radioNames = {} radioData = {} playerTargets(MumbleIsPlayerTalking(PlayerId()) and callData or {}) else - radioData[plySource] = nil toggleVoice(plySource, false) if radioPressed then logger.info('[radio] %s left radio %s while we were talking, updating targets.', plySource, radioChannel) @@ -66,6 +74,10 @@ function removePlayerFromRadio(plySource) else logger.info('[radio] %s has left radio %s', plySource, radioChannel) end + radioData[plySource] = nil + if GetConvarInt("voice_syncPlayerNames", 0) == 1 then + radioNames[plySource] = nil + end end end RegisterNetEvent('pma-voice:removePlayerFromRadio', removePlayerFromRadio) @@ -75,14 +87,13 @@ RegisterNetEvent('pma-voice:removePlayerFromRadio', removePlayerFromRadio) ---@param channel number the channel to set the player to, or 0 to remove them. function setRadioChannel(channel) if GetConvarInt('voice_enableRadios', 1) ~= 1 then return end + type_check({channel, "number"}) TriggerServerEvent('pma-voice:setPlayerRadio', channel) radioChannel = channel - if GetConvarInt('voice_enableUi', 1) == 1 then - SendNUIMessage({ - radioChannel = channel, - radioEnabled = radioEnabled - }) - end + sendUIMessage({ + radioChannel = channel, + radioEnabled = radioEnabled + }, true) end --- exports setRadioChannel diff --git a/client/utils/Nui.lua b/client/utils/Nui.lua new file mode 100644 index 0000000..15c62e9 --- /dev/null +++ b/client/utils/Nui.lua @@ -0,0 +1,12 @@ +local uiReady = promise.new() +function sendUIMessage(message, respectConvar) + Citizen.Await(uiReady) + if respectConvar and GetConvarInt('voice_enableUi', 1) ~= 1 then return end + SendNUIMessage(message) +end + +RegisterNUICallback("uiReady", function(data, cb) + uiReady:resolve(true) + + cb('ok') +end) \ No newline at end of file diff --git a/fxmanifest.lua b/fxmanifest.lua index 8da40b3..8339197 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -1,6 +1,4 @@ -game {'gta5', 'rdr3'} - -rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' +game 'common' fx_version 'cerulean' author 'AvarianKnight' @@ -15,6 +13,7 @@ lua54 'yes' shared_script 'shared.lua' client_scripts { + 'client/utils/*', 'client/init/proximity.lua', 'client/init/init.lua', 'client/init/main.lua', @@ -38,7 +37,6 @@ ui_page 'ui/index.html' provides { 'mumble-voip', - -- why does it use so many different names 'tokovoip', 'toko-voip', 'tokovoip_script' diff --git a/server/main.lua b/server/main.lua index c761ca6..9a9cbbe 100644 --- a/server/main.lua +++ b/server/main.lua @@ -19,6 +19,7 @@ function handleStateBagInitilization(source) plyState:set('proximity', {}, true) plyState:set('callChannel', 0, true) plyState:set('radioChannel', 0, true) + plyState:set('voiceIntent', 'speech', true) end -- temp fix before an actual fix is added diff --git a/server/module/radio.lua b/server/module/radio.lua index 4a083a6..ca87920 100644 --- a/server/module/radio.lua +++ b/server/module/radio.lua @@ -1,30 +1,5 @@ local radioChecks = {} -AddEventHandler("onResourceStop", function(resource) - for channel, cfxFunctionRef in pairs(radioChecks) do - local functionRef = cfxFunctionRef.__cfx_functionReference - local functionResource = string.match(functionRef, resource) - if functionResource then - radioChecks[channel] = nil - logger.warn('Channel %s had its radio check removed because the resource that gave the checks stopped', channel) - end - end -end) - ---- removes a player from the specified channel ----@param source number the player to remove ----@param radioChannel number the current channel to remove them from -function removePlayerFromRadio(source, radioChannel) - logger.verbose('[radio] Removed %s from radio %s', source, radioChannel) - radioData[radioChannel] = radioData[radioChannel] or {} - for player, _ in pairs(radioData[radioChannel]) do - TriggerClientEvent('pma-voice:removePlayerFromRadio', player, source) - end - radioData[radioChannel][source] = nil - voiceData[source] = voiceData[source] or defaultTable(source) - voiceData[source].radio = 0 -end - --- checks if the player can join the channel specified --- @param source number the source of the player --- @param radioChannel number the channel they're trying to join @@ -53,6 +28,23 @@ function addChannelCheck(channel, cb) end exports('addChannelCheck', addChannelCheck) +local function radioNameGetter_orig(source) + return GetPlayerName(source) +end +local radioNameGetter = radioNameGetter_orig + +--- adds a check to the channel, function is expected to return a boolean of true or false +---@param cb function the function to execute the check on +function overrideRadioNameGetter(channel, cb) + local cbType = type(cb) + if cbType == 'table' and not cb.__cfx_functionReference then + error(("'cb' expected 'function' got '%s'"):format(cbType)) + end + radioNameGetter = cb + logger.info("%s added a check to channel %s", GetInvokingResource(), channel) +end +exports('overrideRadioNameGetter', overrideRadioNameGetter) + --- adds a player to the specified radion channel ---@param source number the player to add to the channel ---@param radioChannel number the channel to set them to @@ -66,14 +58,28 @@ function addPlayerToRadio(source, radioChannel) -- check if the channel exists, if it does set the varaible to it -- if not create it (basically if not radiodata make radiodata) radioData[radioChannel] = radioData[radioChannel] or {} + local plyName = radioNameGetter(source) for player, _ in pairs(radioData[radioChannel]) do - TriggerClientEvent('pma-voice:addPlayerToRadio', player, source) + TriggerClientEvent('pma-voice:addPlayerToRadio', player, source, plyName) end voiceData[source] = voiceData[source] or defaultTable(source) - voiceData[source].radio = radioChannel radioData[radioChannel][source] = false - TriggerClientEvent('pma-voice:syncRadioData', source, radioData[radioChannel]) + TriggerClientEvent('pma-voice:syncRadioData', source, radioData[radioChannel], GetConvarInt("voice_syncPlayerNames", 0) == 1 and plyName) +end + +--- removes a player from the specified channel +---@param source number the player to remove +---@param radioChannel number the current channel to remove them from +function removePlayerFromRadio(source, radioChannel) + logger.verbose('[radio] Removed %s from radio %s', source, radioChannel) + radioData[radioChannel] = radioData[radioChannel] or {} + for player, _ in pairs(radioData[radioChannel]) do + TriggerClientEvent('pma-voice:removePlayerFromRadio', player, source) + end + radioData[radioChannel][source] = nil + voiceData[source] = voiceData[source] or defaultTable(source) + voiceData[source].radio = 0 end -- TODO: Implement this in a way that allows players to be on multiple channels @@ -123,6 +129,7 @@ function setTalkingOnRadio(talking) local plyVoice = voiceData[source] local radioTbl = radioData[plyVoice.radio] if radioTbl then + radioTbl[source] = talking logger.verbose('[radio] Set %s to talking: %s on radio %s',source, talking, plyVoice.radio) for player, _ in pairs(radioTbl) do if player ~= source then @@ -134,3 +141,25 @@ function setTalkingOnRadio(talking) end RegisterNetEvent('pma-voice:setTalkingOnRadio', setTalkingOnRadio) +AddEventHandler("onResourceStop", function(resource) + for channel, cfxFunctionRef in pairs(radioChecks) do + local functionRef = cfxFunctionRef.__cfx_functionReference + local functionResource = string.match(functionRef, resource) + if functionResource then + radioChecks[channel] = nil + logger.warn('Channel %s had its radio check removed because the resource that gave the checks stopped', channel) + end + end + + if type(radioNameGetter) == "table" then + local radioRef = radioNameGetter.__cfx_functionReference + if radioRef then + local isResource = string.match(functionRef, resource) + if isResource then + radioNameGetter = radioNameGetter_orig + logger.warn('Radio name getter is resetting to default because the resource that gave the cb got turned off') + end + end + end + +end) \ No newline at end of file diff --git a/shared.lua b/shared.lua index 4353556..b4cc744 100644 --- a/shared.lua +++ b/shared.lua @@ -1,8 +1,6 @@ Cfg = {} voiceTarget = 1 -radioTarget = 2 -callTarget = 3 gameVersion = GetGameName() @@ -29,8 +27,6 @@ else } end -Cfg.defaultProximityMode = GetConvarInt('voice_defaultVoiceMode', 2) - logger = { ['log'] = function(message, ...) print((message):format(...)) diff --git a/ui/js/app.js b/ui/js/app.js index 18820bd..9e10c33 100644 --- a/ui/js/app.js +++ b/ui/js/app.js @@ -1 +1,2 @@ -(function(e){function o(o){for(var t,c,r=o[0],l=o[1],d=o[2],s=0,f=[];s{})}})),{voice:e}}};n("ba00");l.render=r;var d=l;Object(t["a"])(d).mount("#app")},ba00:function(e,o,n){"use strict";n("2a08")}}); \ No newline at end of file +(function(e){function o(o){for(var t,a,r=o[0],d=o[1],l=o[2],s=0,f=[];s{})}})),fetch(`https://${GetParentResourceName()}/uiReady`,{method:"POST"}),{voice:e}}},l=(n("62f8"),n("85dd")),u=n.n(l);const s=u()(d,[["render",r]]);var f=s;Object(t["a"])(f).mount("#app")},"62f8":function(e,o,n){"use strict";n("3a32")}}); +//# sourceMappingURL=app.js.map \ No newline at end of file diff --git a/ui/js/app.js.map b/ui/js/app.js.map new file mode 100644 index 0000000..0e754d0 --- /dev/null +++ b/ui/js/app.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue","webpack:///./src/App.vue?52ba","webpack:///./src/main.js","webpack:///./src/App.vue?ec5c"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","id","src","class","voice","callInfo","talking","radioEnabled","radioChannel","usingRadio","voiceModes","voiceMode","addEventListener","event","undefined","JSON","parse","sound","click","document","getElementById","load","volume","play","catch","e","fetch","GetParentResourceName","method","__exports__","render","App","mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,G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BAGHK,IAAjB1E,EAAKkE,SAA2BF,EAAMK,aAC1CL,EAAME,QAAUlE,EAAKkE,SAGlBlE,EAAK6E,OAASb,EAAMG,cAAuC,IAAvBH,EAAMI,aAAoB,CACjE,IAAIU,EAAQC,SAASC,eAAehF,EAAK6E,OAEzCC,EAAMG,OACNH,EAAMI,OAASlF,EAAKkF,OACpBJ,EAAMK,OAAOC,MAAOC,WAItBC,MAAM,WAAWC,kCAAmC,CAAEC,OAAQ,SAEvD,CAAExB,W,iCCzEX,MAAMyB,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASC,KAErD,QCNf,eAAUC,GAAKC,MAAM,S,oCCHrB","file":"js/app.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","\r\n\r\n\r\n\r\n\r\n","import { render } from \"./App.vue?vue&type=template&id=31f5733e\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=31f5733e&lang=css\"\n\nimport exportComponent from \"C:\\\\FXServer\\\\server-data\\\\resources\\\\pma-voice\\\\voice-ui\\\\node_modules\\\\.pnpm\\\\vue-loader@16.8.3_webpack@4.46.0\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createApp } from 'vue'\r\nimport App from './App.vue'\r\n\r\ncreateApp(App).mount('#app')\r\n","export * from \"-!../node_modules/.pnpm/mini-css-extract-plugin@0.9.0_webpack@4.46.0/node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/.pnpm/vue-loader@16.8.3_webpack@4.46.0/node_modules/vue-loader/dist/stylePostLoader.js!../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/.pnpm/vue-loader@16.8.3_webpack@4.46.0/node_modules/vue-loader/dist/index.js??ref--1-1!./App.vue?vue&type=style&index=0&id=31f5733e&lang=css\""],"sourceRoot":""} \ No newline at end of file diff --git a/ui/js/chunk-vendors.js b/ui/js/chunk-vendors.js index 0053803..6d94442 100644 --- a/ui/js/chunk-vendors.js +++ b/ui/js/chunk-vendors.js @@ -1 +1,2 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"7a23":function(e,t,n){"use strict";n.d(t,"f",(function(){return ae})),n.d(t,"g",(function(){return o["J"]})),n.d(t,"b",(function(){return Wn})),n.d(t,"c",(function(){return eo})),n.d(t,"d",(function(){return Zn})),n.d(t,"e",(function(){return Vn})),n.d(t,"a",(function(){return Rr}));var o=n("9ff4");const r=new WeakMap,c=[];let s;const i=Symbol(""),l=Symbol("");function u(e){return e&&!0===e._isEffect}function a(e,t=o["b"]){u(e)&&(e=e.raw);const n=p(e,t);return t.lazy||n(),n}function f(e){e.active&&(h(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let d=0;function p(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!c.includes(n)){h(n);try{return v(),c.push(n),s=n,e()}finally{c.pop(),y(),s=c[c.length-1]}}};return n.id=d++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}function h(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach(e=>{(e!==s||e.allowRecurse)&&d.add(e)})};if("clear"===t)f.forEach(p);else if("length"===n&&Object(o["n"])(e))f.forEach((e,t)=>{("length"===t||t>=c)&&p(e)});else switch(void 0!==n&&p(f.get(n)),t){case"add":Object(o["n"])(e)?Object(o["r"])(n)&&p(f.get("length")):(p(f.get(i)),Object(o["s"])(e)&&p(f.get(l)));break;case"delete":Object(o["n"])(e)||(p(f.get(i)),Object(o["s"])(e)&&p(f.get(l)));break;case"set":Object(o["s"])(e)&&p(f.get(i));break}const h=e=>{e.options.scheduler?e.options.scheduler(e):e()};d.forEach(h)}const _=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(o["C"])),x=F(),w=F(!1,!0),C=F(!0),k=F(!0,!0),S={};function F(e=!1,t=!1){return function(n,r,c){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&c===(e?ie:se).get(n))return n;const s=Object(o["n"])(n);if(!e&&s&&Object(o["k"])(S,r))return Reflect.get(S,r,c);const i=Reflect.get(n,r,c);if(Object(o["C"])(r)?_.has(r):"__proto__"===r||"__v_isRef"===r)return i;if(e||O(n,"get",r),t)return i;if(ve(i)){const e=!s||!Object(o["r"])(r);return e?i.value:i}return Object(o["u"])(i)?e?de(i):ae(i):i}}["includes","indexOf","lastIndexOf"].forEach(e=>{const t=Array.prototype[e];S[e]=function(...e){const n=me(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];S[e]=function(...e){m();const n=t.apply(this,e);return y(),n}});const E=T(),A=T(!0);function T(e=!1){return function(t,n,r,c){const s=t[n];if(!e&&(r=me(r),!Object(o["n"])(t)&&ve(s)&&!ve(r)))return s.value=r,!0;const i=Object(o["n"])(t)&&Object(o["r"])(n)?Number(n)Object(o["u"])(e)?ae(e):e),U=e=>Object(o["u"])(e)?de(e):e,$=e=>e,V=e=>Reflect.getPrototypeOf(e);function D(e,t,n=!1,o=!1){e=e["__v_raw"];const r=me(e),c=me(t);t!==c&&!n&&O(r,"get",t),!n&&O(r,"get",c);const{has:s}=V(r),i=n?U:o?$:I;return s.call(r,t)?i(e.get(t)):s.call(r,c)?i(e.get(c)):void 0}function z(e,t=!1){const n=this["__v_raw"],o=me(n),r=me(e);return e!==r&&!t&&O(o,"has",e),!t&&O(o,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function W(e,t=!1){return e=e["__v_raw"],!t&&O(me(e),"iterate",i),Reflect.get(e,"size",e)}function H(e){e=me(e);const t=me(this),n=V(t),o=n.has.call(t,e);return t.add(e),o||j(t,"add",e,e),this}function q(e,t){t=me(t);const n=me(this),{has:r,get:c}=V(n);let s=r.call(n,e);s||(e=me(e),s=r.call(n,e));const i=c.call(n,e);return n.set(e,t),s?Object(o["j"])(t,i)&&j(n,"set",e,t,i):j(n,"add",e,t),this}function G(e){const t=me(this),{has:n,get:o}=V(t);let r=n.call(t,e);r||(e=me(e),r=n.call(t,e));const c=o?o.call(t,e):void 0,s=t.delete(e);return r&&j(t,"delete",e,void 0,c),s}function K(){const e=me(this),t=0!==e.size,n=void 0,o=e.clear();return t&&j(e,"clear",void 0,void 0,n),o}function J(e,t){return function(n,o){const r=this,c=r["__v_raw"],s=me(c),l=e?U:t?$:I;return!e&&O(s,"iterate",i),c.forEach((e,t)=>n.call(o,l(e),l(t),r))}}function Z(e,t,n){return function(...r){const c=this["__v_raw"],s=me(c),u=Object(o["s"])(s),a="entries"===e||e===Symbol.iterator&&u,f="keys"===e&&u,d=c[e](...r),p=t?U:n?$:I;return!t&&O(s,"iterate",f?l:i),{next(){const{value:e,done:t}=d.next();return t?{value:e,done:t}:{value:a?[p(e[0]),p(e[1])]:p(e),done:t}},[Symbol.iterator](){return this}}}}function Q(e){return function(...t){return"delete"!==e&&this}}const X={get(e){return D(this,e)},get size(){return W(this)},has:z,add:H,set:q,delete:G,clear:K,forEach:J(!1,!1)},Y={get(e){return D(this,e,!1,!0)},get size(){return W(this)},has:z,add:H,set:q,delete:G,clear:K,forEach:J(!1,!0)},ee={get(e){return D(this,e,!0)},get size(){return W(this,!0)},has(e){return z.call(this,e,!0)},add:Q("add"),set:Q("set"),delete:Q("delete"),clear:Q("clear"),forEach:J(!0,!1)},te=["keys","values","entries",Symbol.iterator];function ne(e,t){const n=t?Y:e?ee:X;return(t,r,c)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(Object(o["k"])(n,r)&&r in t?n:t,r,c)}te.forEach(e=>{X[e]=Z(e,!1,!1),ee[e]=Z(e,!0,!1),Y[e]=Z(e,!1,!0)});const oe={get:ne(!1,!1)},re={get:ne(!1,!0)},ce={get:ne(!0,!1)};const se=new WeakMap,ie=new WeakMap;function le(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ue(e){return e["__v_skip"]||!Object.isExtensible(e)?0:le(Object(o["M"])(e))}function ae(e){return e&&e["__v_isReadonly"]?e:pe(e,!1,B,oe)}function fe(e){return pe(e,!1,N,re)}function de(e){return pe(e,!0,R,ce)}function pe(e,t,n,r){if(!Object(o["u"])(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const c=t?ie:se,s=c.get(e);if(s)return s;const i=ue(e);if(0===i)return e;const l=new Proxy(e,2===i?r:n);return c.set(e,l),l}function he(e){return be(e)?he(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function be(e){return!(!e||!e["__v_isReadonly"])}function ge(e){return he(e)||be(e)}function me(e){return e&&me(e["__v_raw"])||e}function ve(e){return Boolean(e&&!0===e.__v_isRef)}function ye(e){return ve(e)?e.value:e}const Oe={get:(e,t,n)=>ye(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ve(r)&&!ve(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function je(e){return he(e)?e:new Proxy(e,Oe)}class _e{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}function xe(e,t){return ve(e[t])?e[t]:new _e(e,t)}class we{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=a(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,j(me(this),"set","value"))}}),this["__v_isReadonly"]=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),O(me(this),"get","value"),this._value}set value(e){this._setter(e)}}function Ce(e){let t,n;return Object(o["o"])(e)?(t=e,n=o["d"]):(t=e.get,n=e.set),new we(t,n,Object(o["o"])(e)||!e.set)}function ke(e,t,n,o){let r;try{r=o?e(...o):e()}catch(c){Fe(c,t,n)}return r}function Se(e,t,n,r){if(Object(o["o"])(e)){const c=ke(e,t,n,r);return c&&Object(o["w"])(c)&&c.catch(e=>{Fe(e,t,n)}),c}const c=[];for(let o=0;o-1&&Me.splice(t,1)}function Ge(e,t,n,r){Object(o["n"])(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?r+1:r)||n.push(e),He()}function Ke(e){Ge(e,Be,Pe,Re)}function Je(e){Ge(e,Ie,Ne,Ue)}function Ze(e,t=null){if(Pe.length){for(De=t,Be=[...new Set(Pe)],Pe.length=0,Re=0;ReXe(e)-Xe(t)),Ue=0;Uenull==e.id?1/0:e.id;function Ye(e){Te=!1,Ae=!0,Ze(e),Me.sort((e,t)=>Xe(e)-Xe(t));try{for(Le=0;Lee.trim()):t&&(c=n.map(o["L"]))}let l=Object(o["K"])(Object(o["e"])(t)),u=r[l];!u&&s&&(l=Object(o["K"])(Object(o["l"])(t)),u=r[l]),u&&Se(u,e,6,c);const a=r[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Se(a,e,6,c)}}function tt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const r=e.emits;let c={},s=!1;if(!Object(o["o"])(e)){const r=e=>{s=!0,Object(o["h"])(c,tt(e,t,!0))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return r||s?(Object(o["n"])(r)?r.forEach(e=>c[e]=null):Object(o["h"])(c,r),e.__emits=c):e.__emits=null}function nt(e,t){return!(!e||!Object(o["v"])(t))&&(t=t.slice(2).replace(/Once$/,""),Object(o["k"])(e,t[0].toLowerCase()+t.slice(1))||Object(o["k"])(e,Object(o["l"])(t))||Object(o["k"])(e,t))}let ot=null;function rt(e){ot=e}function ct(e){const{type:t,vnode:n,proxy:r,withProxy:c,props:s,propsOptions:[i],slots:l,attrs:u,emit:a,render:f,renderCache:d,data:p,setupState:h,ctx:b}=e;let g;ot=e;try{let e;if(4&n.shapeFlag){const t=c||r;g=to(f.call(t,t,d,s,h,p,b)),e=u}else{const n=t;0,g=to(n.length>1?n(s,{attrs:u,slots:l,emit:a}):n(s,null)),e=t.props?u:it(u)}let m=g;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=m;t.length&&(1&n||6&n)&&(i&&t.some(o["t"])&&(e=lt(e,i)),m=Xn(m,e))}n.dirs&&(m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(m.transition=n.transition),g=m}catch(m){Fe(m,e,1),g=Zn(Nn)}return ot=null,g}function st(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||Object(o["v"])(n))&&((t||(t={}))[n]=e[n]);return t},lt=(e,t)=>{const n={};for(const r in e)Object(o["t"])(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function ut(e,t,n){const{props:o,children:r,component:c}=e,{props:s,children:i,patchFlag:l}=t,u=c.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!i||i&&i.$stable)||o!==s&&(o?!s||at(o,s,u):!!s);if(1024&l)return!0;if(16&l)return o?at(o,s,u):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function pt(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=ht(n.default),r=ht(n.fallback)):(o=ht(n),r=to(null)),{content:o,fallback:r}}function ht(e){if(Object(o["o"])(e)&&(e=e()),Object(o["n"])(e)){const t=st(e);0,e=t}return to(e)}function bt(e,t){t&&t.pendingBranch?Object(o["n"])(e)?t.effects.push(...e):t.effects.push(e):Je(e)}let gt=0;const mt=e=>gt+=e;function vt(e,t=ot){if(!t)return e;const n=(...n)=>{gt||Vn(!0);const o=ot;rt(t);const r=e(...n);return rt(o),gt||Dn(),r};return n._c=!0,n}let yt=null;function Ot(e,t,n,r=!1){const c={},s={};Object(o["g"])(s,Gn,1),_t(e,t,c,s),n?e.props=r?c:fe(c):e.type.props?e.props=c:e.props=s,e.attrs=s}function jt(e,t,n,r){const{props:c,attrs:s,vnode:{patchFlag:i}}=e,l=me(c),[u]=e.propsOptions;if(!(r||i>0)||16&i){let r;_t(e,t,c,s);for(const s in l)t&&(Object(o["k"])(t,s)||(r=Object(o["l"])(s))!==s&&Object(o["k"])(t,r))||(u?!n||void 0===n[s]&&void 0===n[r]||(c[s]=xt(u,t||o["b"],s,void 0,e)):delete c[s]);if(s!==l)for(const e in s)t&&Object(o["k"])(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let r=0;r{i=!0;const[n,r]=wt(e,t,!0);Object(o["h"])(c,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!r&&!i)return e.__props=o["a"];if(Object(o["n"])(r))for(let l=0;l-1,i[1]=n<0||e-1||Object(o["k"])(i,"default"))&&s.push(t)}}}}return e.__props=[c,s]}function Ct(e){return"$"!==e[0]}function kt(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function St(e,t){return kt(e)===kt(t)}function Ft(e,t){if(Object(o["n"])(t)){for(let n=0,o=t.length;n{if(n.isUnmounted)return;m(),Fo(n);const r=Se(t,n,e,o);return Fo(null),y(),r});return o?r.unshift(c):r.push(c),c}}const At=e=>(t,n=ko)=>!Ao&&Et(e,t,n),Tt=At("bm"),Mt=At("m"),Lt=At("bu"),Pt=At("u"),Bt=At("bum"),Rt=At("um"),Nt=At("rtg"),It=At("rtc"),Ut=(e,t=ko)=>{Et("ec",e,t)};const $t={};function Vt(e,t,n){return Dt(e,t,n)}function Dt(e,t,{immediate:n,deep:r,flush:c,onTrack:s,onTrigger:i}=o["b"],l=ko){let u,d,p=!1;if(ve(e)?(u=()=>e.value,p=!!e._shallow):he(e)?(u=()=>e,r=!0):u=Object(o["n"])(e)?()=>e.map(e=>ve(e)?e.value:he(e)?Wt(e):Object(o["o"])(e)?ke(e,l,2):void 0):Object(o["o"])(e)?t?()=>ke(e,l,2):()=>{if(!l||!l.isUnmounted)return d&&d(),ke(e,l,3,[h])}:o["d"],t&&r){const e=u;u=()=>Wt(e())}const h=e=>{d=v.options.onStop=()=>{ke(e,l,4)}};let b=Object(o["n"])(e)?[]:$t;const g=()=>{if(v.active)if(t){const e=v();(r||p||Object(o["j"])(e,b))&&(d&&d(),Se(t,l,3,[e,b===$t?void 0:b,h]),b=e)}else v()};let m;g.allowRecurse=!!t,m="sync"===c?g:"post"===c?()=>Cn(g,l&&l.suspense):()=>{!l||l.isMounted?Ke(g):g()};const v=a(u,{lazy:!0,onTrack:s,onTrigger:i,scheduler:m});return Ro(v,l),t?n?g():b=v():"post"===c?Cn(v,l&&l.suspense):v(),()=>{f(v),l&&Object(o["I"])(l.effects,v)}}function zt(e,t,n){const r=this.proxy,c=Object(o["B"])(e)?()=>r[e]:e.bind(r);return Dt(c,t.bind(r),n,this)}function Wt(e,t=new Set){if(!Object(o["u"])(e)||t.has(e))return e;if(t.add(e),ve(e))Wt(e.value,t);else if(Object(o["n"])(e))for(let n=0;n{Wt(e,t)});else for(const n in e)Wt(e[n],t);return e}function Ht(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Mt(()=>{e.isMounted=!0}),Bt(()=>{e.isUnmounting=!0}),e}const qt=[Function,Array],Gt={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qt,onEnter:qt,onAfterEnter:qt,onEnterCancelled:qt,onBeforeLeave:qt,onLeave:qt,onAfterLeave:qt,onLeaveCancelled:qt,onBeforeAppear:qt,onAppear:qt,onAfterAppear:qt,onAppearCancelled:qt},setup(e,{slots:t}){const n=So(),o=Ht();let r;return()=>{const c=t.default&&en(t.default(),!0);if(!c||!c.length)return;const s=me(e),{mode:i}=s;const l=c[0];if(o.isLeaving)return Qt(l);const u=Xt(l);if(!u)return Qt(l);const a=Zt(u,s,o,n);Yt(u,a);const f=n.subTree,d=f&&Xt(f);let p=!1;const{getTransitionKey:h}=u.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,p=!0)}if(d&&d.type!==Nn&&(!qn(u,d)||p)){const e=Zt(d,s,o,n);if(Yt(d,e),"out-in"===i)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},Qt(l);"in-out"===i&&(e.delayLeave=(e,t,n)=>{const r=Jt(o,d);r[String(d.key)]=d,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=n})}return l}}},Kt=Gt;function Jt(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Zt(e,t,n,o){const{appear:r,mode:c,persisted:s=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:b,onAppear:g,onAfterAppear:m,onAppearCancelled:v}=t,y=String(e.key),O=Jt(n,e),j=(e,t)=>{e&&Se(e,o,9,t)},_={mode:c,persisted:s,beforeEnter(t){let o=i;if(!n.isMounted){if(!r)return;o=b||i}t._leaveCb&&t._leaveCb(!0);const c=O[y];c&&qn(e,c)&&c.el._leaveCb&&c.el._leaveCb(),j(o,[t])},enter(e){let t=l,o=u,c=a;if(!n.isMounted){if(!r)return;t=g||l,o=m||u,c=v||a}let s=!1;const i=e._enterCb=t=>{s||(s=!0,j(t?c:o,[e]),_.delayedLeave&&_.delayedLeave(),e._enterCb=void 0)};t?(t(e,i),t.length<=1&&i()):i()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();j(f,[t]);let c=!1;const s=t._leaveCb=n=>{c||(c=!0,o(),j(n?h:p,[t]),t._leaveCb=void 0,O[r]===e&&delete O[r])};O[r]=e,d?(d(t,s),d.length<=1&&s()):s()},clone(e){return Zt(e,t,n,o)}};return _}function Qt(e){if(tn(e))return e=Xn(e),e.children=null,e}function Xt(e){return tn(e)?e.children?e.children[0]:void 0:e}function Yt(e,t){6&e.shapeFlag&&e.component?Yt(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function en(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive;RegExp,RegExp;function nn(e){return e.displayName||e.name}function on(e,t){return Object(o["n"])(e)?e.some(e=>on(e,t)):Object(o["B"])(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function rn(e,t){sn(e,"a",t)}function cn(e,t){sn(e,"da",t)}function sn(e,t,n=ko){const o=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}e()});if(Et(t,o,n),n){let e=n.parent;while(e&&e.parent)tn(e.parent.vnode)&&ln(o,t,n,e),e=e.parent}}function ln(e,t,n,r){const c=Et(t,e,r,!0);Rt(()=>{Object(o["I"])(r[t],c)},n)}function un(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function an(e){return 128&e.shapeFlag?e.ssContent:e}const fn=e=>"_"===e[0]||"$stable"===e,dn=e=>Object(o["n"])(e)?e.map(to):[to(e)],pn=(e,t,n)=>vt(e=>dn(t(e)),n),hn=(e,t)=>{const n=e._ctx;for(const r in e){if(fn(r))continue;const c=e[r];if(Object(o["o"])(c))t[r]=pn(r,c,n);else if(null!=c){0;const e=dn(c);t[r]=()=>e}}},bn=(e,t)=>{const n=dn(t);e.slots.default=()=>n},gn=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,Object(o["g"])(t,"_",n)):hn(t,e.slots={})}else e.slots={},t&&bn(e,t);Object(o["g"])(e.slots,Gn,1)},mn=(e,t)=>{const{vnode:n,slots:r}=e;let c=!0,s=o["b"];if(32&n.shapeFlag){const e=t._;e?1===e?c=!1:Object(o["h"])(r,t):(c=!t.$stable,hn(t,r)),s=t}else t&&(bn(e,t),s={default:1});if(c)for(const o in r)fn(o)||o in s||delete r[o]};function vn(e,t,n,o){const r=e.dirs,c=t&&t.dirs;for(let s=0;s!!e.type.__asyncLoader;const wn={scheduler:We,allowRecurse:!0};const Cn=bt,kn=(e,t,n,r)=>{if(Object(o["n"])(e))return void e.forEach((e,c)=>kn(e,t&&(Object(o["n"])(t)?t[c]:t),n,r));let c;c=!r||xn(r)?null:4&r.shapeFlag?r.component.exposed||r.component.proxy:r.el;const{i:s,r:i}=e;const l=t&&t.r,u=s.refs===o["b"]?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(Object(o["B"])(l)?(u[l]=null,Object(o["k"])(a,l)&&(a[l]=null)):ve(l)&&(l.value=null)),Object(o["B"])(i)){const e=()=>{u[i]=c,Object(o["k"])(a,i)&&(a[i]=c)};c?(e.id=-1,Cn(e,n)):e()}else if(ve(i)){const e=()=>{i.value=c};c?(e.id=-1,Cn(e,n)):e()}else Object(o["o"])(i)&&ke(i,s,12,[c,u])};function Sn(e){return Fn(e)}function Fn(e,t){_n();const{insert:n,remove:r,patchProp:c,forcePatchProp:s,createElement:i,createText:l,createComment:u,setText:d,setElementText:p,parentNode:h,nextSibling:b,setScopeId:g=o["d"],cloneNode:m,insertStaticContent:v}=e,y=(e,t,n,o=null,r=null,c=null,s=!1,i=!1)=>{e&&!qn(e,t)&&(o=G(e),D(e,r,c,!0),e=null),-2===t.patchFlag&&(i=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:a}=t;switch(l){case Rn:O(e,t,n,o);break;case Nn:j(e,t,n,o);break;case In:null==e&&_(t,n,o,s);break;case Bn:M(e,t,n,o,r,c,s,i);break;default:1&a?C(e,t,n,o,r,c,s,i):6&a?L(e,t,n,o,r,c,s,i):(64&a||128&a)&&l.process(e,t,n,o,r,c,s,i,J)}null!=u&&r&&kn(u,e&&e.ref,c,t)},O=(e,t,o,r)=>{if(null==e)n(t.el=l(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},j=(e,t,o,r)=>{null==e?n(t.el=u(t.children||""),o,r):t.el=e.el},_=(e,t,n,o)=>{[e.el,e.anchor]=v(e.children,t,n,o)},x=({el:e,anchor:t},o,r)=>{let c;while(e&&e!==t)c=b(e),n(e,o,r),e=c;n(t,o,r)},w=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=b(e),r(e),e=n;r(t)},C=(e,t,n,o,r,c,s,i)=>{s=s||"svg"===t.type,null==e?k(t,n,o,r,c,s,i):E(e,t,r,c,s,i)},k=(e,t,r,s,l,u,a)=>{let f,d;const{type:h,props:b,shapeFlag:g,transition:v,scopeId:y,patchFlag:O,dirs:j}=e;if(e.el&&void 0!==m&&-1===O)f=e.el=m(e.el);else{if(f=e.el=i(e.type,u,b&&b.is),8&g?p(f,e.children):16&g&&F(e.children,f,null,s,l,u&&"foreignObject"!==h,a||!!e.dynamicChildren),j&&vn(e,null,s,"created"),b){for(const t in b)Object(o["x"])(t)||c(f,t,null,b[t],u,e.children,s,l,q);(d=b.onVnodeBeforeMount)&&En(d,s,e)}S(f,y,e,s)}j&&vn(e,null,s,"beforeMount");const _=(!l||l&&!l.pendingBranch)&&v&&!v.persisted;_&&v.beforeEnter(f),n(f,t,r),((d=b&&b.onVnodeMounted)||_||j)&&Cn(()=>{d&&En(d,s,e),_&&v.enter(f),j&&vn(e,null,s,"mounted")},l)},S=(e,t,n,o)=>{if(t&&g(e,t),o){const r=o.type.__scopeId;r&&r!==t&&g(e,r+"-s");let c=o.subTree;0,n===c&&S(e,o.vnode.scopeId,o.vnode,o.parent)}},F=(e,t,n,o,r,c,s,i=0)=>{for(let l=i;l{const u=t.el=e.el;let{patchFlag:a,dynamicChildren:f,dirs:d}=t;a|=16&e.patchFlag;const h=e.props||o["b"],b=t.props||o["b"];let g;if((g=b.onVnodeBeforeUpdate)&&En(g,n,t,e),d&&vn(t,e,n,"beforeUpdate"),a>0){if(16&a)T(u,t,h,b,n,r,i);else if(2&a&&h.class!==b.class&&c(u,"class",null,b.class,i),4&a&&c(u,"style",h.style,b.style,i),8&a){const o=t.dynamicProps;for(let t=0;t{g&&En(g,n,t,e),d&&vn(t,e,n,"updated")},r)},A=(e,t,n,o,r,c)=>{for(let s=0;s{if(n!==r){for(const a in r){if(Object(o["x"])(a))continue;const f=r[a],d=n[a];(f!==d||s&&s(e,a))&&c(e,a,d,f,u,t.children,i,l,q)}if(n!==o["b"])for(const s in n)Object(o["x"])(s)||s in r||c(e,s,n[s],null,u,t.children,i,l,q)}},M=(e,t,o,r,c,s,i,u)=>{const a=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:p}=t;d>0&&(u=!0),null==e?(n(a,o,r),n(f,o,r),F(t.children,o,f,c,s,i,u)):d>0&&64&d&&p?(A(e.dynamicChildren,p,o,c,s,i),(null!=t.key||c&&t===c.subTree)&&An(e,t,!0)):I(e,t,o,f,c,s,i,u)},L=(e,t,n,o,r,c,s,i)=>{null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,i):P(t,n,o,r,c,s,i):B(e,t,i)},P=(e,t,n,o,r,c,s)=>{const i=e.component=Co(e,o,r);if(tn(e)&&(i.ctx.renderer=J),To(i),i.asyncDep){if(r&&r.registerDep(i,R),!e.el){const e=i.subTree=Zn(Nn);j(null,e,t,n)}}else R(i,e,t,n,r,c,s)},B=(e,t,n)=>{const o=t.component=e.component;if(ut(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void N(o,t,n);o.next=t,qe(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},R=(e,t,n,r,c,s,i)=>{e.update=a((function(){if(e.isMounted){let t,{next:n,bu:r,u:l,parent:u,vnode:a}=e,f=n;0,n?(n.el=a.el,N(e,n,i)):n=a,r&&Object(o["m"])(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&En(t,u,n,a);const d=ct(e);0;const p=e.subTree;e.subTree=d,y(p,d,h(p.el),G(p),e,c,s),n.el=d.el,null===f&&ft(e,d.el),l&&Cn(l,c),(t=n.props&&n.props.onVnodeUpdated)&&Cn(()=>{En(t,u,n,a)},c)}else{let i;const{el:l,props:u}=t,{bm:a,m:f,parent:d}=e;a&&Object(o["m"])(a),(i=u&&u.onVnodeBeforeMount)&&En(i,d,t);const p=e.subTree=ct(e);0,l&&Q?Q(t.el,p,e,c):(y(null,p,n,r,e,c,s),t.el=p.el),f&&Cn(f,c),(i=u&&u.onVnodeMounted)&&Cn(()=>{En(i,d,t)},c);const{a:h}=e;h&&256&t.shapeFlag&&Cn(h,c),e.isMounted=!0}}),wn)},N=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,jt(e,t.props,o,n),mn(e,t.children),Ze(void 0,e.update)},I=(e,t,n,o,r,c,s,i=!1)=>{const l=e&&e.children,u=e?e.shapeFlag:0,a=t.children,{patchFlag:f,shapeFlag:d}=t;if(f>0){if(128&f)return void $(l,a,n,o,r,c,s,i);if(256&f)return void U(l,a,n,o,r,c,s,i)}8&d?(16&u&&q(l,r,c),a!==l&&p(n,a)):16&u?16&d?$(l,a,n,o,r,c,s,i):q(l,r,c,!0):(8&u&&p(n,""),16&d&&F(a,n,o,r,c,s,i))},U=(e,t,n,r,c,s,i,l)=>{e=e||o["a"],t=t||o["a"];const u=e.length,a=t.length,f=Math.min(u,a);let d;for(d=0;da?q(e,c,s,!0,!1,f):F(t,n,r,c,s,i,l,f)},$=(e,t,n,r,c,s,i,l)=>{let u=0;const a=t.length;let f=e.length-1,d=a-1;while(u<=f&&u<=d){const o=e[u],r=t[u]=l?no(t[u]):to(t[u]);if(!qn(o,r))break;y(o,r,n,null,c,s,i,l),u++}while(u<=f&&u<=d){const o=e[f],r=t[d]=l?no(t[d]):to(t[d]);if(!qn(o,r))break;y(o,r,n,null,c,s,i,l),f--,d--}if(u>f){if(u<=d){const e=d+1,o=ed)while(u<=f)D(e[u],c,s,!0),u++;else{const p=u,h=u,b=new Map;for(u=h;u<=d;u++){const e=t[u]=l?no(t[u]):to(t[u]);null!=e.key&&b.set(e.key,u)}let g,m=0;const v=d-h+1;let O=!1,j=0;const _=new Array(v);for(u=0;u=v){D(o,c,s,!0);continue}let r;if(null!=o.key)r=b.get(o.key);else for(g=h;g<=d;g++)if(0===_[g-h]&&qn(o,t[g])){r=g;break}void 0===r?D(o,c,s,!0):(_[r-h]=u+1,r>=j?j=r:O=!0,y(o,t[r],n,null,c,s,i,l),m++)}const x=O?Tn(_):o["a"];for(g=x.length-1,u=v-1;u>=0;u--){const e=h+u,o=t[e],l=e+1{const{el:s,type:i,transition:l,children:u,shapeFlag:a}=e;if(6&a)return void V(e.component.subTree,t,o,r);if(128&a)return void e.suspense.move(t,o,r);if(64&a)return void i.move(e,t,o,J);if(i===Bn){n(s,t,o);for(let e=0;el.enter(s),c);else{const{leave:e,delayLeave:r,afterLeave:c}=l,i=()=>n(s,t,o),u=()=>{e(s,()=>{i(),c&&c()})};r?r(s,i,u):u()}else n(s,t,o)},D=(e,t,n,o=!1,r=!1)=>{const{type:c,props:s,ref:i,children:l,dynamicChildren:u,shapeFlag:a,patchFlag:f,dirs:d}=e;if(null!=i&&kn(i,null,n,null),256&a)return void t.ctx.deactivate(e);const p=1&a&&d;let h;if((h=s&&s.onVnodeBeforeUnmount)&&En(h,t,e),6&a)H(e.component,n,o);else{if(128&a)return void e.suspense.unmount(n,o);p&&vn(e,null,t,"beforeUnmount"),u&&(c!==Bn||f>0&&64&f)?q(u,t,n,!1,!0):(c===Bn&&(128&f||256&f)||!r&&16&a)&&q(l,t,n),64&a&&(o||!Ln(e.props))&&e.type.remove(e,J),o&&z(e)}((h=s&&s.onVnodeUnmounted)||p)&&Cn(()=>{h&&En(h,t,e),p&&vn(e,null,t,"unmounted")},n)},z=e=>{const{type:t,el:n,anchor:o,transition:c}=e;if(t===Bn)return void W(n,o);if(t===In)return void w(e);const s=()=>{r(n),c&&!c.persisted&&c.afterLeave&&c.afterLeave()};if(1&e.shapeFlag&&c&&!c.persisted){const{leave:t,delayLeave:o}=c,r=()=>t(n,s);o?o(e.el,s,r):r()}else s()},W=(e,t)=>{let n;while(e!==t)n=b(e),r(e),e=n;r(t)},H=(e,t,n)=>{const{bum:r,effects:c,update:s,subTree:i,um:l}=e;if(r&&Object(o["m"])(r),c)for(let o=0;o{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},q=(e,t,n,o=!1,r=!1,c=0)=>{for(let s=c;s6&e.shapeFlag?G(e.component.subTree):128&e.shapeFlag?e.suspense.next():b(e.anchor||e.el),K=(e,t)=>{null==e?t._vnode&&D(t._vnode,null,null,!0):y(t._vnode||null,e,t),Qe(),t._vnode=e},J={p:y,um:D,m:V,r:z,mt:P,mc:F,pc:I,pbc:A,n:G,o:e};let Z,Q;return t&&([Z,Q]=t(J)),{render:K,hydrate:Z,createApp:jn(K,Z)}}function En(e,t,n,o=null){Se(e,t,7,[n,o])}function An(e,t,n=!1){const r=e.children,c=t.children;if(Object(o["n"])(r)&&Object(o["n"])(c))for(let o=0;o0&&(t[o]=n[c-1]),n[c]=o)}}c=n.length,s=n[c-1];while(c-- >0)n[c]=s,s=t[s];return n}const Mn=e=>e.__isTeleport,Ln=e=>e&&(e.disabled||""===e.disabled);const Pn=Symbol();const Bn=Symbol(void 0),Rn=Symbol(void 0),Nn=Symbol(void 0),In=Symbol(void 0),Un=[];let $n=null;function Vn(e=!1){Un.push($n=e?null:[])}function Dn(){Un.pop(),$n=Un[Un.length-1]||null}let zn=1;function Wn(e,t,n,r,c){const s=Zn(e,t,n,r,c,!0);return s.dynamicChildren=$n||o["a"],Dn(),zn>0&&$n&&$n.push(s),s}function Hn(e){return!!e&&!0===e.__v_isVNode}function qn(e,t){return e.type===t.type&&e.key===t.key}const Gn="__vInternal",Kn=({key:e})=>null!=e?e:null,Jn=({ref:e})=>null!=e?Object(o["B"])(e)||ve(e)||Object(o["o"])(e)?{i:ot,r:e}:e:null,Zn=Qn;function Qn(e,t=null,n=null,r=0,c=null,s=!1){if(e&&e!==Pn||(e=Nn),Hn(e)){const o=Xn(e,t,!0);return n&&oo(o,n),o}if(No(e)&&(e=e.__vccOpts),t){(ge(t)||Gn in t)&&(t=Object(o["h"])({},t));let{class:e,style:n}=t;e&&!Object(o["B"])(e)&&(t.class=Object(o["G"])(e)),Object(o["u"])(n)&&(ge(n)&&!Object(o["n"])(n)&&(n=Object(o["h"])({},n)),t.style=Object(o["H"])(n))}const i=Object(o["B"])(e)?1:dt(e)?128:Mn(e)?64:Object(o["u"])(e)?4:Object(o["o"])(e)?2:0;const l={__v_isVNode:!0,["__v_skip"]:!0,type:e,props:t,key:t&&Kn(t),ref:t&&Jn(t),scopeId:yt,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:c,dynamicChildren:null,appContext:null};if(oo(l,n),128&i){const{content:e,fallback:t}=pt(l);l.ssContent=e,l.ssFallback=t}return zn>0&&!s&&$n&&(r>0||6&i)&&32!==r&&$n.push(l),l}function Xn(e,t,n=!1){const{props:r,ref:c,patchFlag:s}=e,i=t?ro(r||{},t):r;return{__v_isVNode:!0,["__v_skip"]:!0,type:e.type,props:i,key:i&&Kn(i),ref:t&&t.ref?n&&c?Object(o["n"])(c)?c.concat(Jn(t)):[c,Jn(t)]:Jn(t):c,scopeId:e.scopeId,children:e.children,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Bn?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Xn(e.ssContent),ssFallback:e.ssFallback&&Xn(e.ssFallback),el:e.el,anchor:e.anchor}}function Yn(e=" ",t=0){return Zn(Rn,null,e,t)}function eo(e="",t=!1){return t?(Vn(),Wn(Nn,null,e)):Zn(Nn,null,e)}function to(e){return null==e||"boolean"===typeof e?Zn(Nn):Object(o["n"])(e)?Zn(Bn,null,e):"object"===typeof e?null===e.el?e:Xn(e):Zn(Rn,null,String(e))}function no(e){return null===e.el?e:Xn(e)}function oo(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(Object(o["n"])(t))n=16;else if("object"===typeof t){if(1&r||64&r){const n=t.default;return void(n&&(n._c&&mt(1),oo(e,n()),n._c&&mt(-1)))}{n=32;const o=t._;o||Gn in t?3===o&&ot&&(1024&ot.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=ot}}else Object(o["o"])(t)?(t={default:t,_ctx:ot},n=32):(t=String(t),64&r?(n=16,t=[Yn(t)]):n=8);e.children=t,e.shapeFlag|=n}function ro(...e){const t=Object(o["h"])({},e[0]);for(let n=1;n1)return n&&Object(o["o"])(t)?t():t}else 0}let io=!1;function lo(e,t,n=[],r=[],c=[],s=!1){const{mixins:i,extends:l,data:u,computed:a,methods:f,watch:d,provide:p,inject:h,components:b,directives:g,beforeMount:m,mounted:v,beforeUpdate:y,updated:O,activated:j,deactivated:_,beforeDestroy:x,beforeUnmount:w,destroyed:C,unmounted:k,render:S,renderTracked:F,renderTriggered:E,errorCaptured:A,expose:T}=t,M=e.proxy,L=e.ctx,P=e.appContext.mixins;s&&S&&e.render===o["d"]&&(e.render=S),s||(io=!0,uo("beforeCreate","bc",t,e,P),io=!1,po(e,P,n,r,c)),l&&lo(e,l,n,r,c,!0),i&&po(e,i,n,r,c);if(h)if(Object(o["n"])(h))for(let o=0;oho(e,t,M)),u&&ho(e,u,M)),a)for(const B in a){const e=a[B],t=Object(o["o"])(e)?e.bind(M,M):Object(o["o"])(e.get)?e.get.bind(M,M):o["d"];0;const n=!Object(o["o"])(e)&&Object(o["o"])(e.set)?e.set.bind(M):o["d"],r=Io({get:t,set:n});Object.defineProperty(L,B,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e})}if(d&&r.push(d),!s&&r.length&&r.forEach(e=>{for(const t in e)bo(e[t],L,M,t)}),p&&c.push(p),!s&&c.length&&c.forEach(e=>{const t=Object(o["o"])(e)?e.call(M):e;Reflect.ownKeys(t).forEach(e=>{co(e,t[e])})}),s&&(b&&Object(o["h"])(e.components||(e.components=Object(o["h"])({},e.type.components)),b),g&&Object(o["h"])(e.directives||(e.directives=Object(o["h"])({},e.type.directives)),g)),s||uo("created","c",t,e,P),m&&Tt(m.bind(M)),v&&Mt(v.bind(M)),y&&Lt(y.bind(M)),O&&Pt(O.bind(M)),j&&rn(j.bind(M)),_&&cn(_.bind(M)),A&&Ut(A.bind(M)),F&&It(F.bind(M)),E&&Nt(E.bind(M)),w&&Bt(w.bind(M)),k&&Rt(k.bind(M)),Object(o["n"])(T))if(s)0;else if(T.length){const t=e.exposed||(e.exposed=je({}));T.forEach(e=>{t[e]=xe(M,e)})}else e.exposed||(e.exposed=o["b"])}function uo(e,t,n,o,r){fo(e,t,r,o);const{extends:c,mixins:s}=n;c&&ao(e,t,c,o),s&&fo(e,t,s,o);const i=n[e];i&&Se(i.bind(o.proxy),o,t)}function ao(e,t,n,o){n.extends&&ao(e,t,n.extends,o);const r=n[e];r&&Se(r.bind(o.proxy),o,t)}function fo(e,t,n,o){for(let r=0;rn[r];if(Object(o["B"])(e)){const n=t[e];Object(o["o"])(n)&&Vt(c,n)}else if(Object(o["o"])(e))Vt(c,e.bind(n));else if(Object(o["u"])(e))if(Object(o["n"])(e))e.forEach(e=>bo(e,t,n,r));else{const r=Object(o["o"])(e.handler)?e.handler.bind(n):t[e.handler];Object(o["o"])(r)&&Vt(c,r,e)}else 0}function go(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;evo(s,t,e)),vo(s,t,e),t.__merged=s}function vo(e,t,n){const r=n.appContext.config.optionMergeStrategies,{mixins:c,extends:s}=t;s&&vo(e,s,n),c&&c.forEach(t=>vo(e,t,n));for(const i in t)r&&Object(o["k"])(r,i)?e[i]=r[i](e[i],t[i],n.proxy,i):e[i]=t[i]}const yo=e=>e&&(e.proxy?e.proxy:yo(e.parent)),Oo=Object(o["h"])(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>yo(e.parent),$root:e=>e.root&&e.root.proxy,$emit:e=>e.emit,$options:e=>mo(e),$forceUpdate:e=>()=>We(e.update),$nextTick:e=>ze.bind(e.proxy),$watch:e=>zt.bind(e)}),jo={get({_:e},t){const{ctx:n,setupState:r,data:c,props:s,accessCache:i,type:l,appContext:u}=e;if("__v_skip"===t)return!0;let a;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 0:return r[t];case 1:return c[t];case 3:return n[t];case 2:return s[t]}else{if(r!==o["b"]&&Object(o["k"])(r,t))return i[t]=0,r[t];if(c!==o["b"]&&Object(o["k"])(c,t))return i[t]=1,c[t];if((a=e.propsOptions[0])&&Object(o["k"])(a,t))return i[t]=2,s[t];if(n!==o["b"]&&Object(o["k"])(n,t))return i[t]=3,n[t];io||(i[t]=4)}}const f=Oo[t];let d,p;return f?("$attrs"===t&&O(e,"get",t),f(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==o["b"]&&Object(o["k"])(n,t)?(i[t]=3,n[t]):(p=u.config.globalProperties,Object(o["k"])(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:c,ctx:s}=e;if(c!==o["b"]&&Object(o["k"])(c,t))c[t]=n;else if(r!==o["b"]&&Object(o["k"])(r,t))r[t]=n;else if(t in e.props)return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:c,propsOptions:s}},i){let l;return void 0!==n[i]||e!==o["b"]&&Object(o["k"])(e,i)||t!==o["b"]&&Object(o["k"])(t,i)||(l=s[0])&&Object(o["k"])(l,i)||Object(o["k"])(r,i)||Object(o["k"])(Oo,i)||Object(o["k"])(c.config.globalProperties,i)}};const _o=Object(o["h"])({},jo,{get(e,t){if(t!==Symbol.unscopables)return jo.get(e,t,e)},has(e,t){const n="_"!==t[0]&&!Object(o["p"])(t);return n}});const xo=yn();let wo=0;function Co(e,t,n){const r=e.type,c=(t?t.appContext:e.appContext)||xo,s={uid:wo++,vnode:e,type:r,parent:t,appContext:c,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(c.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wt(r,c),emitsOptions:tt(r,c),emit:null,emitted:null,ctx:o["b"],data:o["b"],props:o["b"],attrs:o["b"],slots:o["b"],refs:o["b"],setupState:o["b"],setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=et.bind(null,s),s}let ko=null;const So=()=>ko||ot,Fo=e=>{ko=e};let Eo,Ao=!1;function To(e,t=!1){Ao=t;const{props:n,children:o,shapeFlag:r}=e.vnode,c=4&r;Ot(e,n,c,t),gn(e,o);const s=c?Mo(e,t):void 0;return Ao=!1,s}function Mo(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jo);const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?Bo(e):null;ko=e,m();const c=ke(r,e,0,[e.props,n]);if(y(),ko=null,Object(o["w"])(c)){if(t)return c.then(t=>{Lo(e,t)});e.asyncDep=c}else Lo(e,c)}else Po(e)}function Lo(e,t,n){Object(o["o"])(t)?e.render=t:Object(o["u"])(t)&&(e.setupState=je(t)),Po(e)}function Po(e,t){const n=e.type;e.render||(Eo&&n.template&&!n.render&&(n.render=Eo(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||o["d"],e.render._rc&&(e.withProxy=new Proxy(e.ctx,_o))),ko=e,m(),lo(e,n),y(),ko=null}function Bo(e){const t=t=>{e.exposed=je(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Ro(e,t=ko){t&&(t.effects||(t.effects=[])).push(e)}function No(e){return Object(o["o"])(e)&&"__vccOpts"in e}function Io(e){const t=Ce(e);return Ro(t.effect),t}function Uo(e,t,n){const r=arguments.length;return 2===r?Object(o["u"])(t)&&!Object(o["n"])(t)?Hn(t)?Zn(e,null,[t]):Zn(e,t):Zn(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Hn(n)&&(n=[n]),Zn(e,t,n))}Symbol("");const $o="3.0.4",Vo="http://www.w3.org/2000/svg",Do="undefined"!==typeof document?document:null;let zo,Wo;const Ho={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n)=>t?Do.createElementNS(Vo,e):Do.createElement(e,n?{is:n}:void 0),createText:e=>Do.createTextNode(e),createComment:e=>Do.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Do.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){return e.cloneNode(!0)},insertStaticContent(e,t,n,o){const r=o?Wo||(Wo=Do.createElementNS(Vo,"svg")):zo||(zo=Do.createElement("div"));r.innerHTML=e;const c=r.firstChild;let s=c,i=s;while(s)i=s,Ho.insert(s,t,n),s=r.firstChild;return[c,i]}};function qo(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),e.className=t}}function Go(e,t,n){const r=e.style;if(n)if(Object(o["B"])(n))t!==n&&(r.cssText=n);else{for(const e in n)Jo(r,e,n[e]);if(t&&!Object(o["B"])(t))for(const e in t)null==n[e]&&Jo(r,e,"")}else e.removeAttribute("style")}const Ko=/\s*!important$/;function Jo(e,t,n){if(Object(o["n"])(n))n.forEach(n=>Jo(e,t,n));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=Xo(e,t);Ko.test(n)?e.setProperty(Object(o["l"])(r),n.replace(Ko,""),"important"):e[r]=n}}const Zo=["Webkit","Moz","ms"],Qo={};function Xo(e,t){const n=Qo[t];if(n)return n;let r=Object(o["e"])(t);if("filter"!==r&&r in e)return Qo[t]=r;r=Object(o["f"])(r);for(let o=0;odocument.createEvent("Event").timeStamp&&(nr=()=>performance.now());let or=0;const rr=Promise.resolve(),cr=()=>{or=0},sr=()=>or||(rr.then(cr),or=nr());function ir(e,t,n,o){e.addEventListener(t,n,o)}function lr(e,t,n,o){e.removeEventListener(t,n,o)}function ur(e,t,n,o,r=null){const c=e._vei||(e._vei={}),s=c[t];if(o&&s)s.value=o;else{const[n,i]=fr(t);if(o){const s=c[t]=dr(o,r);ir(e,n,s,i)}else s&&(lr(e,n,s,i),c[t]=void 0)}}const ar=/(?:Once|Passive|Capture)$/;function fr(e){let t;if(ar.test(e)){let n;t={};while(n=e.match(ar))e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),t]}function dr(e,t){const n=e=>{const o=e.timeStamp||nr();o>=n.attached-1&&Se(pr(e,n.value),t,5,[e])};return n.value=e,n.attached=sr(),n}function pr(e,t){if(Object(o["n"])(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e(t))}return t}const hr=/^on[a-z]/,br=(e,t)=>"value"===t,gr=(e,t,n,r,c=!1,s,i,l,u)=>{switch(t){case"class":qo(e,r,c);break;case"style":Go(e,n,r);break;default:Object(o["v"])(t)?Object(o["t"])(t)||ur(e,t,n,r,i):mr(e,t,r,c)?tr(e,t,r,s,i,l,u):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),er(e,t,r,c));break}};function mr(e,t,n,r){return r?"innerHTML"===t||!!(t in e&&hr.test(t)&&Object(o["o"])(n)):"spellcheck"!==t&&"draggable"!==t&&(("form"!==t||"string"!==typeof n)&&(("list"!==t||"INPUT"!==e.tagName)&&((!hr.test(t)||!Object(o["B"])(n))&&t in e)))}const vr="transition",yr="animation",Or=(e,{slots:t})=>Uo(Kt,_r(e),t);Or.displayName="Transition";const jr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Or.props=Object(o["h"])({},Kt.props,jr);function _r(e){let{name:t="v",type:n,css:r=!0,duration:c,enterFromClass:s=t+"-enter-from",enterActiveClass:i=t+"-enter-active",enterToClass:l=t+"-enter-to",appearFromClass:u=s,appearActiveClass:a=i,appearToClass:f=l,leaveFromClass:d=t+"-leave-from",leaveActiveClass:p=t+"-leave-active",leaveToClass:h=t+"-leave-to"}=e;const b={};for(const o in e)o in jr||(b[o]=e[o]);if(!r)return b;const g=xr(c),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:O,onEnterCancelled:j,onLeave:_,onLeaveCancelled:x,onBeforeAppear:w=y,onAppear:C=O,onAppearCancelled:k=j}=b,S=(e,t,n)=>{kr(e,t?f:l),kr(e,t?a:i),n&&n()},F=(e,t)=>{kr(e,h),kr(e,p),t&&t()},E=e=>(t,o)=>{const r=e?C:O,c=()=>S(t,e,o);r&&r(t,c),Sr(()=>{kr(t,e?u:s),Cr(t,e?f:l),r&&r.length>1||Er(t,n,m,c)})};return Object(o["h"])(b,{onBeforeEnter(e){y&&y(e),Cr(e,i),Cr(e,s)},onBeforeAppear(e){w&&w(e),Cr(e,a),Cr(e,u)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){const o=()=>F(e,t);Cr(e,p),Cr(e,d);const r=e.style.transitionProperty;e.style.transitionProperty="none",Sr(()=>{e.style.transitionProperty=r,kr(e,d),Cr(e,h),_&&_.length>1||Er(e,n,v,o)}),_&&_(e,o)},onEnterCancelled(e){S(e,!1),j&&j(e)},onAppearCancelled(e){S(e,!0),k&&k(e)},onLeaveCancelled(e){F(e),x&&x(e)}})}function xr(e){if(null==e)return null;if(Object(o["u"])(e))return[wr(e.enter),wr(e.leave)];{const t=wr(e);return[t,t]}}function wr(e){const t=Object(o["L"])(e);return t}function Cr(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e._vtc||(e._vtc=new Set)).add(t)}function kr(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Sr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Fr=0;function Er(e,t,n,o){const r=e._endId=++Fr,c=()=>{r===e._endId&&o()};if(n)return setTimeout(c,n);const{type:s,timeout:i,propCount:l}=Ar(e,t);if(!s)return o();const u=s+"end";let a=0;const f=()=>{e.removeEventListener(u,d),c()},d=t=>{t.target===e&&++a>=l&&f()};setTimeout(()=>{a(n[e]||"").split(", "),r=o(vr+"Delay"),c=o(vr+"Duration"),s=Tr(r,c),i=o(yr+"Delay"),l=o(yr+"Duration"),u=Tr(i,l);let a=null,f=0,d=0;t===vr?s>0&&(a=vr,f=s,d=c.length):t===yr?u>0&&(a=yr,f=u,d=l.length):(f=Math.max(s,u),a=f>0?s>u?vr:yr:null,d=a?a===vr?c.length:l.length:0);const p=a===vr&&/\b(transform|all)(,|$)/.test(n[vr+"Property"]);return{type:a,timeout:f,propCount:d,hasTransform:p}}function Tr(e,t){while(e.lengthMr(t)+Mr(e[n])))}function Mr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}new WeakMap,new WeakMap;const Lr=Object(o["h"])({patchProp:gr,forcePatchProp:br},Ho);let Pr;function Br(){return Pr||(Pr=Sn(Lr))}const Rr=(...e)=>{const t=Br().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=Nr(e);if(!r)return;const c=t._component;Object(o["o"])(c)||c.render||c.template||(c.template=r.innerHTML),r.innerHTML="";const s=n(r);return r.removeAttribute("v-cloak"),r.setAttribute("data-v-app",""),s},t};function Nr(e){if(Object(o["B"])(e)){const t=document.querySelector(e);return t}return e}},"9ff4":function(e,t,n){"use strict";(function(e){function o(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return _})),n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return Z})),n.d(t,"f",(function(){return Y})),n.d(t,"g",(function(){return oe})),n.d(t,"h",(function(){return E})),n.d(t,"i",(function(){return se})),n.d(t,"j",(function(){return te})),n.d(t,"k",(function(){return M})),n.d(t,"l",(function(){return X})),n.d(t,"m",(function(){return ne})),n.d(t,"n",(function(){return L})),n.d(t,"o",(function(){return N})),n.d(t,"p",(function(){return c})),n.d(t,"q",(function(){return b})),n.d(t,"r",(function(){return q})),n.d(t,"s",(function(){return P})),n.d(t,"t",(function(){return F})),n.d(t,"u",(function(){return $})),n.d(t,"v",(function(){return S})),n.d(t,"w",(function(){return V})),n.d(t,"x",(function(){return G})),n.d(t,"y",(function(){return g})),n.d(t,"z",(function(){return B})),n.d(t,"A",(function(){return i})),n.d(t,"B",(function(){return I})),n.d(t,"C",(function(){return U})),n.d(t,"D",(function(){return v})),n.d(t,"E",(function(){return y})),n.d(t,"F",(function(){return o})),n.d(t,"G",(function(){return d})),n.d(t,"H",(function(){return l})),n.d(t,"I",(function(){return A})),n.d(t,"J",(function(){return O})),n.d(t,"K",(function(){return ee})),n.d(t,"L",(function(){return re})),n.d(t,"M",(function(){return W}));const r="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl",c=o(r);const s="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",i=o(s);function l(e){if(L(e)){const t={};for(let n=0;n{if(e){const n=e.split(a);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function d(e){let t="";if(I(e))t=e;else if(L(e))for(let n=0;nv(e,t))}const O=e=>null==e?"":$(e)?JSON.stringify(e,j,2):String(e),j=(e,t)=>P(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n])=>(e[t+" =>"]=n,e),{})}:B(t)?{[`Set(${t.size})`]:[...t.values()]}:!$(t)||L(t)||H(t)?t:String(t),_={},x=[],w=()=>{},C=()=>!1,k=/^on[^a-z]/,S=e=>k.test(e),F=e=>e.startsWith("onUpdate:"),E=Object.assign,A=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},T=Object.prototype.hasOwnProperty,M=(e,t)=>T.call(e,t),L=Array.isArray,P=e=>"[object Map]"===z(e),B=e=>"[object Set]"===z(e),R=e=>e instanceof Date,N=e=>"function"===typeof e,I=e=>"string"===typeof e,U=e=>"symbol"===typeof e,$=e=>null!==e&&"object"===typeof e,V=e=>$(e)&&N(e.then)&&N(e.catch),D=Object.prototype.toString,z=e=>D.call(e),W=e=>z(e).slice(8,-1),H=e=>"[object Object]"===z(e),q=e=>I(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,G=o(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),K=e=>{const t=Object.create(null);return n=>{const o=t[n];return o||(t[n]=e(n))}},J=/-(\w)/g,Z=K(e=>e.replace(J,(e,t)=>t?t.toUpperCase():"")),Q=/\B([A-Z])/g,X=K(e=>e.replace(Q,"-$1").toLowerCase()),Y=K(e=>e.charAt(0).toUpperCase()+e.slice(1)),ee=K(e=>e?"on"+Y(e):""),te=(e,t)=>e!==t&&(e===e||t===t),ne=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},re=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ce;const se=()=>ce||(ce="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{})}).call(this,n("c8ba"))},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(o){"object"===typeof window&&(n=window)}e.exports=n}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"7edb":function(e,t,n){"use strict";n.d(t,"g",(function(){return we})),n.d(t,"e",(function(){return o["I"]})),n.d(t,"h",(function(){return o["L"]})),n.d(t,"b",(function(){return Zn})),n.d(t,"c",(function(){return Dn})),n.d(t,"d",(function(){return Hn})),n.d(t,"f",(function(){return Ln})),n.d(t,"a",(function(){return is}));var o=n("e99b");let r;const s=[];class c{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&r&&(this.parent=r,this.index=(r.scopes||(r.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}else 0}on(){this.active&&(s.push(this),r=this)}off(){this.active&&(s.pop(),r=s[s.length-1])}stop(e){if(this.active){if(this.effects.forEach(e=>e.stop()),this.cleanups.forEach(e=>e()),this.scopes&&this.scopes.forEach(e=>e.stop(!0)),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function i(e,t){t=t||r,t&&t.active&&t.effects.push(e)}const l=e=>{const t=new Set(e);return t.w=0,t.n=0,t},u=e=>(e.w&b)>0,a=e=>(e.n&b)>0,f=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o0?g[e-1]:void 0}}stop(){this.active&&(_(this),this.onStop&&this.onStop(),this.active=!1)}}function _(e){const{deps:t}=e;if(t.length){for(let n=0;n{("length"===t||t>=r)&&u.push(e)});else switch(void 0!==n&&u.push(i.get(n)),t){case"add":Object(o["o"])(e)?Object(o["s"])(n)&&u.push(i.get("length")):(u.push(i.get(O)),Object(o["t"])(e)&&u.push(i.get(j)));break;case"delete":Object(o["o"])(e)||(u.push(i.get(O)),Object(o["t"])(e)&&u.push(i.get(j)));break;case"set":Object(o["t"])(e)&&u.push(i.get(O));break}if(1===u.length)u[0]&&T(u[0]);else{const e=[];for(const t of u)t&&e.push(...t);T(l(e))}}function T(e,t){for(const n of Object(o["o"])(e)?e:[...e])(n!==m||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const L=Object(o["H"])("__proto__,__v_isRef,__isVue"),P=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(o["E"])),N=U(),R=U(!1,!0),I=U(!0),D=B();function B(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=Ae(this);for(let t=0,r=this.length;t{e[t]=function(...e){C();const n=Ae(this)[t].apply(this,e);return S(),n}}),e}function U(e=!1,t=!1){return function(n,r,s){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&s===(e?t?je:Oe:t?me:ge).get(n))return n;const c=Object(o["o"])(n);if(!e&&c&&Object(o["k"])(D,r))return Reflect.get(D,r,s);const i=Reflect.get(n,r,s);if(Object(o["E"])(r)?P.has(r):L(r))return i;if(e||E(n,"get",r),t)return i;if(Re(i)){const e=!c||!Object(o["s"])(r);return e?i.value:i}return Object(o["v"])(i)?e?Ce(i):we(i):i}}const $=z(),V=z(!0);function z(e=!1){return function(t,n,r,s){let c=t[n];if(!e&&!Ee(r)&&(r=Ae(r),c=Ae(c),!Object(o["o"])(t)&&Re(c)&&!Re(r)))return c.value=r,!0;const i=Object(o["o"])(t)&&Object(o["s"])(n)?Number(n)e,Z=e=>Reflect.getPrototypeOf(e);function Q(e,t,n=!1,o=!1){e=e["__v_raw"];const r=Ae(e),s=Ae(t);t!==s&&!n&&E(r,"get",t),!n&&E(r,"get",s);const{has:c}=Z(r),i=o?X:n?Le:Te;return c.call(r,t)?i(e.get(t)):c.call(r,s)?i(e.get(s)):void(e!==r&&e.get(t))}function Y(e,t=!1){const n=this["__v_raw"],o=Ae(n),r=Ae(e);return e!==r&&!t&&E(o,"has",e),!t&&E(o,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function ee(e,t=!1){return e=e["__v_raw"],!t&&E(Ae(e),"iterate",O),Reflect.get(e,"size",e)}function te(e){e=Ae(e);const t=Ae(this),n=Z(t),o=n.has.call(t,e);return o||(t.add(e),M(t,"add",e,e)),this}function ne(e,t){t=Ae(t);const n=Ae(this),{has:r,get:s}=Z(n);let c=r.call(n,e);c||(e=Ae(e),c=r.call(n,e));const i=s.call(n,e);return n.set(e,t),c?Object(o["j"])(t,i)&&M(n,"set",e,t,i):M(n,"add",e,t),this}function oe(e){const t=Ae(this),{has:n,get:o}=Z(t);let r=n.call(t,e);r||(e=Ae(e),r=n.call(t,e));const s=o?o.call(t,e):void 0,c=t.delete(e);return r&&M(t,"delete",e,void 0,s),c}function re(){const e=Ae(this),t=0!==e.size,n=void 0,o=e.clear();return t&&M(e,"clear",void 0,void 0,n),o}function se(e,t){return function(n,o){const r=this,s=r["__v_raw"],c=Ae(s),i=t?X:e?Le:Te;return!e&&E(c,"iterate",O),s.forEach((e,t)=>n.call(o,i(e),i(t),r))}}function ce(e,t,n){return function(...r){const s=this["__v_raw"],c=Ae(s),i=Object(o["t"])(c),l="entries"===e||e===Symbol.iterator&&i,u="keys"===e&&i,a=s[e](...r),f=n?X:t?Le:Te;return!t&&E(c,"iterate",u?j:O),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[f(e[0]),f(e[1])]:f(e),done:t}},[Symbol.iterator](){return this}}}}function ie(e){return function(...t){return"delete"!==e&&this}}function le(){const e={get(e){return Q(this,e)},get size(){return ee(this)},has:Y,add:te,set:ne,delete:oe,clear:re,forEach:se(!1,!1)},t={get(e){return Q(this,e,!1,!0)},get size(){return ee(this)},has:Y,add:te,set:ne,delete:oe,clear:re,forEach:se(!1,!0)},n={get(e){return Q(this,e,!0)},get size(){return ee(this,!0)},has(e){return Y.call(this,e,!0)},add:ie("add"),set:ie("set"),delete:ie("delete"),clear:ie("clear"),forEach:se(!0,!1)},o={get(e){return Q(this,e,!0,!0)},get size(){return ee(this,!0)},has(e){return Y.call(this,e,!0)},add:ie("add"),set:ie("set"),delete:ie("delete"),clear:ie("clear"),forEach:se(!0,!0)},r=["keys","values","entries",Symbol.iterator];return r.forEach(r=>{e[r]=ce(r,!1,!1),n[r]=ce(r,!0,!1),t[r]=ce(r,!1,!0),o[r]=ce(r,!0,!0)}),[e,n,t,o]}const[ue,ae,fe,pe]=le();function de(e,t){const n=t?e?pe:fe:e?ae:ue;return(t,r,s)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(Object(o["k"])(n,r)&&r in t?n:t,r,s)}const he={get:de(!1,!1)},be={get:de(!1,!0)},ve={get:de(!0,!1)};const ge=new WeakMap,me=new WeakMap,Oe=new WeakMap,je=new WeakMap;function ye(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _e(e){return e["__v_skip"]||!Object.isExtensible(e)?0:ye(Object(o["O"])(e))}function we(e){return e&&e["__v_isReadonly"]?e:ke(e,!1,q,he,ge)}function xe(e){return ke(e,!1,J,be,me)}function Ce(e){return ke(e,!0,G,ve,Oe)}function ke(e,t,n,r,s){if(!Object(o["v"])(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const c=s.get(e);if(c)return c;const i=_e(e);if(0===i)return e;const l=new Proxy(e,2===i?r:n);return s.set(e,l),l}function Se(e){return Ee(e)?Se(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function Ee(e){return!(!e||!e["__v_isReadonly"])}function Fe(e){return Se(e)||Ee(e)}function Ae(e){const t=e&&e["__v_raw"];return t?Ae(t):e}function Me(e){return Object(o["g"])(e,"__v_skip",!0),e}const Te=e=>Object(o["v"])(e)?we(e):e,Le=e=>Object(o["v"])(e)?Ce(e):e;function Pe(e){F()&&(e=Ae(e),e.dep||(e.dep=l()),A(e.dep))}function Ne(e,t){e=Ae(e),e.dep&&T(e.dep)}function Re(e){return Boolean(e&&!0===e.__v_isRef)}function Ie(e){return Re(e)?e.value:e}const De={get:(e,t,n)=>Ie(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Re(r)&&!Re(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Be(e){return Se(e)?e:new Proxy(e,De)}class Ue{constructor(e,t,n){this._setter=t,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new y(e,()=>{this._dirty||(this._dirty=!0,Ne(this))}),this["__v_isReadonly"]=n}get value(){const e=Ae(this);return Pe(e),e._dirty&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function $e(e,t){let n,r;const s=Object(o["p"])(e);s?(n=e,r=o["d"]):(n=e.get,r=e.set);const c=new Ue(n,r,s||!r);return c}Promise.resolve();new Set;new Map;function Ve(e,t,...n){const r=e.vnode.props||o["b"];let s=n;const c=t.startsWith("update:"),i=c&&t.slice(7);if(i&&i in r){const e=("modelValue"===i?"model":i)+"Modifiers",{number:t,trim:c}=r[e]||o["b"];c?s=n.map(e=>e.trim()):t&&(s=n.map(o["N"]))}let l;let u=r[l=Object(o["M"])(t)]||r[l=Object(o["M"])(Object(o["e"])(t))];!u&&c&&(u=r[l=Object(o["M"])(Object(o["l"])(t))]),u&&Eo(u,e,6,s);const a=r[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,Eo(a,e,6,s)}}function ze(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(void 0!==s)return s;const c=e.emits;let i={},l=!1;if(!Object(o["p"])(e)){const r=e=>{const n=ze(e,t,!0);n&&(l=!0,Object(o["h"])(i,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return c||l?(Object(o["o"])(c)?c.forEach(e=>i[e]=null):Object(o["h"])(i,c),r.set(e,i),i):(r.set(e,null),null)}function We(e,t){return!(!e||!Object(o["w"])(t))&&(t=t.slice(2).replace(/Once$/,""),Object(o["k"])(e,t[0].toLowerCase()+t.slice(1))||Object(o["k"])(e,Object(o["l"])(t))||Object(o["k"])(e,t))}let He=null,Ke=null;function qe(e){const t=He;return He=e,Ke=e&&e.type.__scopeId||null,t}function Ge(e,t=He,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Rn(-1);const r=qe(t),s=e(...n);return qe(r),o._d&&Rn(1),s};return o._n=!0,o._c=!0,o._d=!0,o}function Je(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:c,propsOptions:[i],slots:l,attrs:u,emit:a,render:f,renderCache:p,data:d,setupState:h,ctx:b,inheritAttrs:v}=e;let g,m;const O=qe(e);try{if(4&n.shapeFlag){const e=s||r;g=Qn(f.call(e,e,p,c,h,d,b)),m=u}else{const e=t;0,g=Qn(e.length>1?e(c,{attrs:u,slots:l,emit:a}):e(c,null)),m=t.props?u:Xe(u)}}catch(y){Mn.length=0,Fo(y,e,1),g=Kn(Fn)}let j=g;if(m&&!1!==v){const e=Object.keys(m),{shapeFlag:t}=j;e.length&&7&t&&(i&&e.some(o["u"])&&(m=Ze(m,i)),j=Jn(j,m))}return n.dirs&&(j.dirs=j.dirs?j.dirs.concat(n.dirs):n.dirs),n.transition&&(j.transition=n.transition),g=j,qe(O),g}const Xe=e=>{let t;for(const n in e)("class"===n||"style"===n||Object(o["w"])(n))&&((t||(t={}))[n]=e[n]);return t},Ze=(e,t)=>{const n={};for(const r in e)Object(o["u"])(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Qe(e,t,n){const{props:o,children:r,component:s}=e,{props:c,children:i,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!i||i&&i.$stable)||o!==c&&(o?!c||Ye(o,c,u):!!c);if(1024&l)return!0;if(16&l)return o?Ye(o,c,u):!!c;if(8&l){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function nt(e,t){t&&t.pendingBranch?Object(o["o"])(e)?t.effects.push(...e):t.effects.push(e):Zo(e)}function ot(e,t){if(uo){let n=uo.provides;const o=uo.parent&&uo.parent.provides;o===n&&(n=uo.provides=Object.create(o)),n[e]=t}else 0}function rt(e,t,n=!1){const r=uo||He;if(r){const s=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Object(o["p"])(t)?t.call(r.proxy):t}else 0}function st(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return St(()=>{e.isMounted=!0}),At(()=>{e.isUnmounting=!0}),e}const ct=[Function,Array],it={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ct,onEnter:ct,onAfterEnter:ct,onEnterCancelled:ct,onBeforeLeave:ct,onLeave:ct,onAfterLeave:ct,onLeaveCancelled:ct,onBeforeAppear:ct,onAppear:ct,onAfterAppear:ct,onAppearCancelled:ct},setup(e,{slots:t}){const n=ao(),o=st();let r;return()=>{const s=t.default&&ht(t.default(),!0);if(!s||!s.length)return;const c=Ae(e),{mode:i}=c;const l=s[0];if(o.isLeaving)return ft(l);const u=pt(l);if(!u)return ft(l);const a=at(u,c,o,n);dt(u,a);const f=n.subTree,p=f&&pt(f);let d=!1;const{getTransitionKey:h}=u.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(p&&p.type!==Fn&&(!$n(u,p)||d)){const e=at(p,c,o,n);if(dt(p,e),"out-in"===i)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},ft(l);"in-out"===i&&u.type!==Fn&&(e.delayLeave=(e,t,n)=>{const r=ut(o,p);r[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=n})}return l}}},lt=it;function ut(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function at(e,t,n,o){const{appear:r,mode:s,persisted:c=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:b,onAppear:v,onAfterAppear:g,onAppearCancelled:m}=t,O=String(e.key),j=ut(n,e),y=(e,t)=>{e&&Eo(e,o,9,t)},_={mode:s,persisted:c,beforeEnter(t){let o=i;if(!n.isMounted){if(!r)return;o=b||i}t._leaveCb&&t._leaveCb(!0);const s=j[O];s&&$n(e,s)&&s.el._leaveCb&&s.el._leaveCb(),y(o,[t])},enter(e){let t=l,o=u,s=a;if(!n.isMounted){if(!r)return;t=v||l,o=g||u,s=m||a}let c=!1;const i=e._enterCb=t=>{c||(c=!0,y(t?s:o,[e]),_.delayedLeave&&_.delayedLeave(),e._enterCb=void 0)};t?(t(e,i),t.length<=1&&i()):i()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();y(f,[t]);let s=!1;const c=t._leaveCb=n=>{s||(s=!0,o(),y(n?h:d,[t]),t._leaveCb=void 0,j[r]===e&&delete j[r])};j[r]=e,p?(p(t,c),p.length<=1&&c()):c()},clone(e){return at(e,t,n,o)}};return _}function ft(e){if(vt(e))return e=Jn(e),e.children=null,e}function pt(e){return vt(e)?e.children?e.children[0]:void 0:e}function dt(e,t){6&e.shapeFlag&&e.component?dt(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ht(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader;const vt=e=>e.type.__isKeepAlive;RegExp,RegExp;function gt(e,t){return Object(o["o"])(e)?e.some(e=>gt(e,t)):Object(o["D"])(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function mt(e,t){jt(e,"a",t)}function Ot(e,t){jt(e,"da",t)}function jt(e,t,n=uo){const o=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(xt(t,o,n),n){let e=n.parent;while(e&&e.parent)vt(e.parent.vnode)&&yt(o,t,n,e),e=e.parent}}function yt(e,t,n,r){const s=xt(t,e,r,!0);Mt(()=>{Object(o["K"])(r[t],s)},n)}function _t(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function wt(e){return 128&e.shapeFlag?e.ssContent:e}function xt(e,t,n=uo,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;C(),fo(n);const r=Eo(t,n,e,o);return po(),S(),r});return o?r.unshift(s):r.push(s),s}}const Ct=e=>(t,n=uo)=>(!go||"sp"===e)&&xt(e,t,n),kt=Ct("bm"),St=Ct("m"),Et=Ct("bu"),Ft=Ct("u"),At=Ct("bum"),Mt=Ct("um"),Tt=Ct("sp"),Lt=Ct("rtg"),Pt=Ct("rtc");function Nt(e,t=uo){xt("ec",e,t)}let Rt=!0;function It(e){const t=$t(e),n=e.proxy,r=e.ctx;Rt=!1,t.beforeCreate&&Bt(t.beforeCreate,e,"bc");const{data:s,computed:c,methods:i,watch:l,provide:u,inject:a,created:f,beforeMount:p,mounted:d,beforeUpdate:h,updated:b,activated:v,deactivated:g,beforeDestroy:m,beforeUnmount:O,destroyed:j,unmounted:y,render:_,renderTracked:w,renderTriggered:x,errorCaptured:C,serverPrefetch:k,expose:S,inheritAttrs:E,components:F,directives:A,filters:M}=t,T=null;if(a&&Dt(a,r,T,e.appContext.config.unwrapInjectedRef),i)for(const P in i){const e=i[P];Object(o["p"])(e)&&(r[P]=e.bind(n))}if(s){0;const t=s.call(n,n);0,Object(o["v"])(t)&&(e.data=we(t))}if(Rt=!0,c)for(const P in c){const e=c[P],t=Object(o["p"])(e)?e.bind(n,n):Object(o["p"])(e.get)?e.get.bind(n,n):o["d"];0;const s=!Object(o["p"])(e)&&Object(o["p"])(e.set)?e.set.bind(n):o["d"],i=$e({get:t,set:s});Object.defineProperty(r,P,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(l)for(const o in l)Ut(l[o],r,n,o);if(u){const e=Object(o["p"])(u)?u.call(n):u;Reflect.ownKeys(e).forEach(t=>{ot(t,e[t])})}function L(e,t){Object(o["o"])(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&Bt(f,e,"c"),L(kt,p),L(St,d),L(Et,h),L(Ft,b),L(mt,v),L(Ot,g),L(Nt,C),L(Pt,w),L(Lt,x),L(At,O),L(Mt,y),L(Tt,k),Object(o["o"])(S))if(S.length){const t=e.exposed||(e.exposed={});S.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});_&&e.render===o["d"]&&(e.render=_),null!=E&&(e.inheritAttrs=E),F&&(e.components=F),A&&(e.directives=A)}function Dt(e,t,n=o["d"],r=!1){Object(o["o"])(e)&&(e=Kt(e));for(const s in e){const n=e[s];let c;c=Object(o["v"])(n)?"default"in n?rt(n.from||s,n.default,!0):rt(n.from||s):rt(n),Re(c)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>c.value,set:e=>c.value=e}):t[s]=c}}function Bt(e,t,n){Eo(Object(o["o"])(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ut(e,t,n,r){const s=r.includes(".")?cr(n,r):()=>n[r];if(Object(o["D"])(e)){const n=t[e];Object(o["p"])(n)&&or(s,n)}else if(Object(o["p"])(e))or(s,e.bind(n));else if(Object(o["v"])(e))if(Object(o["o"])(e))e.forEach(e=>Ut(e,t,n,r));else{const r=Object(o["p"])(e.handler)?e.handler.bind(n):t[e.handler];Object(o["p"])(r)&&or(s,r,e)}else 0}function $t(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:c}}=e.appContext,i=s.get(t);let l;return i?l=i:r.length||n||o?(l={},r.length&&r.forEach(e=>Vt(l,e,c,!0)),Vt(l,t,c)):l=t,s.set(t,l),l}function Vt(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Vt(e,s,n,!0),r&&r.forEach(t=>Vt(e,t,n,!0));for(const c in t)if(o&&"expose"===c);else{const o=zt[c]||n&&n[c];e[c]=o?o(e[c],t[c]):t[c]}return e}const zt={data:Wt,props:Gt,emits:Gt,methods:Gt,computed:Gt,beforeCreate:qt,created:qt,beforeMount:qt,mounted:qt,beforeUpdate:qt,updated:qt,beforeDestroy:qt,beforeUnmount:qt,destroyed:qt,unmounted:qt,activated:qt,deactivated:qt,errorCaptured:qt,serverPrefetch:qt,components:Gt,directives:Gt,watch:Jt,provide:Wt,inject:Ht};function Wt(e,t){return t?e?function(){return Object(o["h"])(Object(o["p"])(e)?e.call(this,this):e,Object(o["p"])(t)?t.call(this,this):t)}:t:e}function Ht(e,t){return Gt(Kt(e),Kt(t))}function Kt(e){if(Object(o["o"])(e)){const t={};for(let n=0;n0)||16&i){let r;Qt(e,t,s,c)&&(a=!0);for(const c in l)t&&(Object(o["k"])(t,c)||(r=Object(o["l"])(c))!==c&&Object(o["k"])(t,r))||(u?!n||void 0===n[c]&&void 0===n[r]||(s[c]=Yt(u,l,c,void 0,e,!0)):delete s[c]);if(c!==l)for(const e in c)t&&Object(o["k"])(t,e)||(delete c[e],a=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let r=0;r{u=!0;const[n,r]=en(e,t,!0);Object(o["h"])(i,n),r&&l.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!c&&!u)return r.set(e,o["a"]),o["a"];if(Object(o["o"])(c))for(let f=0;f-1,r[1]=n<0||e-1||Object(o["k"])(r,"default"))&&l.push(t)}}}}const a=[i,l];return r.set(e,a),a}function tn(e){return"$"!==e[0]}function nn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function on(e,t){return nn(e)===nn(t)}function rn(e,t){return Object(o["o"])(t)?t.findIndex(t=>on(t,e)):Object(o["p"])(t)&&on(t,e)?0:-1}const sn=e=>"_"===e[0]||"$stable"===e,cn=e=>Object(o["o"])(e)?e.map(Qn):[Qn(e)],ln=(e,t,n)=>{const o=Ge((...e)=>cn(t(...e)),n);return o._c=!1,o},un=(e,t,n)=>{const r=e._ctx;for(const s in e){if(sn(s))continue;const n=e[s];if(Object(o["p"])(n))t[s]=ln(s,n,r);else if(null!=n){0;const e=cn(n);t[s]=()=>e}}},an=(e,t)=>{const n=cn(t);e.slots.default=()=>n},fn=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Ae(t),Object(o["g"])(t,"_",n)):un(t,e.slots={})}else e.slots={},t&&an(e,t);Object(o["g"])(e.slots,Vn,1)},pn=(e,t,n)=>{const{vnode:r,slots:s}=e;let c=!0,i=o["b"];if(32&r.shapeFlag){const e=t._;e?n&&1===e?c=!1:(Object(o["h"])(s,t),n||1!==e||delete s._):(c=!t.$stable,un(t,s)),i=t}else t&&(an(e,t),i={default:1});if(c)for(const o in s)sn(o)||o in i||delete s[o]};function dn(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let c=0;cgn(e,t&&(Object(o["o"])(t)?t[c]:t),n,r,s));if(bt(r)&&!s)return;const c=4&r.shapeFlag?xo(r.component)||r.component.proxy:r.el,i=s?null:c,{i:l,r:u}=e;const a=t&&t.r,f=l.refs===o["b"]?l.refs={}:l.refs,p=l.setupState;if(null!=a&&a!==u&&(Object(o["D"])(a)?(f[a]=null,Object(o["k"])(p,a)&&(p[a]=null)):Re(a)&&(a.value=null)),Object(o["p"])(u))So(u,l,12,[i,f]);else{const t=Object(o["D"])(u),r=Re(u);if(t||r){const r=()=>{if(e.f){const n=t?f[u]:u.value;s?Object(o["o"])(n)&&Object(o["K"])(n,c):Object(o["o"])(n)?n.includes(c)||n.push(c):t?f[u]=[c]:(u.value=[c],e.k&&(f[e.k]=u.value))}else t?(f[u]=i,Object(o["k"])(p,u)&&(p[u]=i)):Re(u)&&(u.value=i,e.k&&(f[e.k]=i))};i?(r.id=-1,On(r,n)):r()}else 0}}function mn(){}const On=nt;function jn(e){return yn(e)}function yn(e,t){mn();const n=Object(o["i"])();n.__VUE__=!0;const{insert:r,remove:s,patchProp:c,createElement:i,createText:l,createComment:u,setText:a,setElementText:f,parentNode:p,nextSibling:d,setScopeId:h=o["d"],cloneNode:b,insertStaticContent:v}=e,g=(e,t,n,o=null,r=null,s=null,c=!1,i=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!$n(e,t)&&(o=G(e),z(e,r,s,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:u,ref:a,shapeFlag:f}=t;switch(u){case En:m(e,t,n,o);break;case Fn:O(e,t,n,o);break;case An:null==e&&j(t,n,o,c);break;case Sn:L(e,t,n,o,r,s,c,i,l);break;default:1&f?x(e,t,n,o,r,s,c,i,l):6&f?P(e,t,n,o,r,s,c,i,l):(64&f||128&f)&&u.process(e,t,n,o,r,s,c,i,l,X)}null!=a&&r&&gn(a,e&&e.ref,s,t||e,!t)},m=(e,t,n,o)=>{if(null==e)r(t.el=l(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&a(n,t.children)}},O=(e,t,n,o)=>{null==e?r(t.el=u(t.children||""),n,o):t.el=e.el},j=(e,t,n,o)=>{[e.el,e.anchor]=v(e.children,t,n,o)},_=({el:e,anchor:t},n,o)=>{let s;while(e&&e!==t)s=d(e),r(e,n,o),e=s;r(t,n,o)},w=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=d(e),s(e),e=n;s(t)},x=(e,t,n,o,r,s,c,i,l)=>{c=c||"svg"===t.type,null==e?k(t,n,o,r,s,c,i,l):A(e,t,r,s,c,i,l)},k=(e,t,n,s,l,u,a,p)=>{let d,h;const{type:v,props:g,shapeFlag:m,transition:O,patchFlag:j,dirs:y}=e;if(e.el&&void 0!==b&&-1===j)d=e.el=b(e.el);else{if(d=e.el=i(e.type,u,g&&g.is,g),8&m?f(d,e.children):16&m&&F(e.children,d,null,s,l,u&&"foreignObject"!==v,a,p),y&&dn(e,null,s,"created"),g){for(const t in g)"value"===t||Object(o["z"])(t)||c(d,t,null,g[t],u,e.children,s,l,q);"value"in g&&c(d,"value",null,g.value),(h=g.onVnodeBeforeMount)&&no(h,s,e)}E(d,e,e.scopeId,a,s)}y&&dn(e,null,s,"beforeMount");const _=(!l||l&&!l.pendingBranch)&&O&&!O.persisted;_&&O.beforeEnter(d),r(d,t,n),((h=g&&g.onVnodeMounted)||_||y)&&On(()=>{h&&no(h,s,e),_&&O.enter(d),y&&dn(e,null,s,"mounted")},l)},E=(e,t,n,o,r)=>{if(n&&h(e,n),o)for(let s=0;s{for(let u=l;u{const u=t.el=e.el;let{patchFlag:a,dynamicChildren:p,dirs:d}=t;a|=16&e.patchFlag;const h=e.props||o["b"],b=t.props||o["b"];let v;n&&_n(n,!1),(v=b.onVnodeBeforeUpdate)&&no(v,n,t,e),d&&dn(t,e,n,"beforeUpdate"),n&&_n(n,!0);const g=s&&"foreignObject"!==t.type;if(p?M(e.dynamicChildren,p,u,n,r,g,i):l||B(e,t,u,null,n,r,g,i,!1),a>0){if(16&a)T(u,t,h,b,n,r,s);else if(2&a&&h.class!==b.class&&c(u,"class",null,b.class,s),4&a&&c(u,"style",h.style,b.style,s),8&a){const o=t.dynamicProps;for(let t=0;t{v&&no(v,n,t,e),d&&dn(t,e,n,"updated")},r)},M=(e,t,n,o,r,s,c)=>{for(let i=0;i{if(n!==r){for(const u in r){if(Object(o["z"])(u))continue;const a=r[u],f=n[u];a!==f&&"value"!==u&&c(e,u,f,a,l,t.children,s,i,q)}if(n!==o["b"])for(const u in n)Object(o["z"])(u)||u in r||c(e,u,n[u],null,l,t.children,s,i,q);"value"in r&&c(e,"value",n.value,r.value)}},L=(e,t,n,o,s,c,i,u,a)=>{const f=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:b}=t;b&&(u=u?u.concat(b):b),null==e?(r(f,n,o),r(p,n,o),F(t.children,n,p,s,c,i,u,a)):d>0&&64&d&&h&&e.dynamicChildren?(M(e.dynamicChildren,h,n,s,c,i,u),(null!=t.key||s&&t===s.subTree)&&wn(e,t,!0)):B(e,t,n,p,s,c,i,u,a)},P=(e,t,n,o,r,s,c,i,l)=>{t.slotScopeIds=i,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,c,l):N(t,n,o,r,s,c,l):R(e,t,l)},N=(e,t,n,o,r,s,c)=>{const i=e.component=lo(e,o,r);if(vt(e)&&(i.ctx.renderer=X),mo(i),i.asyncDep){if(r&&r.registerDep(i,I),!e.el){const e=i.subTree=Kn(Fn);O(null,e,t,n)}}else I(i,e,t,n,r,s,c)},R=(e,t,n)=>{const o=t.component=e.component;if(Qe(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void D(o,t,n);o.next=t,Go(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},I=(e,t,n,r,s,c,i)=>{const l=()=>{if(e.isMounted){let t,{next:n,bu:r,u:l,parent:u,vnode:a}=e,f=n;0,_n(e,!1),n?(n.el=a.el,D(e,n,i)):n=a,r&&Object(o["n"])(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&no(t,u,n,a),_n(e,!0);const d=Je(e);0;const h=e.subTree;e.subTree=d,g(h,d,p(h.el),G(h),e,s,c),n.el=d.el,null===f&&et(e,d.el),l&&On(l,s),(t=n.props&&n.props.onVnodeUpdated)&&On(()=>no(t,u,n,a),s)}else{let i;const{el:l,props:u}=t,{bm:a,m:f,parent:p}=e,d=bt(t);if(_n(e,!1),a&&Object(o["n"])(a),!d&&(i=u&&u.onVnodeBeforeMount)&&no(i,p,t),_n(e,!0),l&&Q){const n=()=>{e.subTree=Je(e),Q(l,e.subTree,e,s,null)};d?t.type.__asyncLoader().then(()=>!e.isUnmounted&&n()):n()}else{0;const o=e.subTree=Je(e);0,g(null,o,n,r,e,s,c),t.el=o.el}if(f&&On(f,s),!d&&(i=u&&u.onVnodeMounted)){const e=t;On(()=>no(i,p,e),s)}256&t.shapeFlag&&e.a&&On(e.a,s),e.isMounted=!0,t=n=r=null}},u=e.effect=new y(l,()=>Ko(e.update),e.scope),a=e.update=u.run.bind(u);a.id=e.uid,_n(e,!0),a()},D=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,Zt(e,t.props,o,n),pn(e,t.children,n),C(),Qo(void 0,e.update),S()},B=(e,t,n,o,r,s,c,i,l=!1)=>{const u=e&&e.children,a=e?e.shapeFlag:0,p=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void $(u,p,n,o,r,s,c,i,l);if(256&d)return void U(u,p,n,o,r,s,c,i,l)}8&h?(16&a&&q(u,r,s),p!==u&&f(n,p)):16&a?16&h?$(u,p,n,o,r,s,c,i,l):q(u,r,s,!0):(8&a&&f(n,""),16&h&&F(p,n,o,r,s,c,i,l))},U=(e,t,n,r,s,c,i,l,u)=>{e=e||o["a"],t=t||o["a"];const a=e.length,f=t.length,p=Math.min(a,f);let d;for(d=0;df?q(e,s,c,!0,!1,p):F(t,n,r,s,c,i,l,u,p)},$=(e,t,n,r,s,c,i,l,u)=>{let a=0;const f=t.length;let p=e.length-1,d=f-1;while(a<=p&&a<=d){const o=e[a],r=t[a]=u?Yn(t[a]):Qn(t[a]);if(!$n(o,r))break;g(o,r,n,null,s,c,i,l,u),a++}while(a<=p&&a<=d){const o=e[p],r=t[d]=u?Yn(t[d]):Qn(t[d]);if(!$n(o,r))break;g(o,r,n,null,s,c,i,l,u),p--,d--}if(a>p){if(a<=d){const e=d+1,o=ed)while(a<=p)z(e[a],s,c,!0),a++;else{const h=a,b=a,v=new Map;for(a=b;a<=d;a++){const e=t[a]=u?Yn(t[a]):Qn(t[a]);null!=e.key&&v.set(e.key,a)}let m,O=0;const j=d-b+1;let y=!1,_=0;const w=new Array(j);for(a=0;a=j){z(o,s,c,!0);continue}let r;if(null!=o.key)r=v.get(o.key);else for(m=b;m<=d;m++)if(0===w[m-b]&&$n(o,t[m])){r=m;break}void 0===r?z(o,s,c,!0):(w[r-b]=a+1,r>=_?_=r:y=!0,g(o,t[r],n,null,s,c,i,l,u),O++)}const x=y?xn(w):o["a"];for(m=x.length-1,a=j-1;a>=0;a--){const e=b+a,o=t[e],p=e+1{const{el:c,type:i,transition:l,children:u,shapeFlag:a}=e;if(6&a)return void V(e.component.subTree,t,n,o);if(128&a)return void e.suspense.move(t,n,o);if(64&a)return void i.move(e,t,n,X);if(i===Sn){r(c,t,n);for(let e=0;el.enter(c),s);else{const{leave:e,delayLeave:o,afterLeave:s}=l,i=()=>r(c,t,n),u=()=>{e(c,()=>{i(),s&&s()})};o?o(c,i,u):u()}else r(c,t,n)},z=(e,t,n,o=!1,r=!1)=>{const{type:s,props:c,ref:i,children:l,dynamicChildren:u,shapeFlag:a,patchFlag:f,dirs:p}=e;if(null!=i&&gn(i,null,n,e,!0),256&a)return void t.ctx.deactivate(e);const d=1&a&&p,h=!bt(e);let b;if(h&&(b=c&&c.onVnodeBeforeUnmount)&&no(b,t,e),6&a)K(e.component,n,o);else{if(128&a)return void e.suspense.unmount(n,o);d&&dn(e,null,t,"beforeUnmount"),64&a?e.type.remove(e,t,n,r,X,o):u&&(s!==Sn||f>0&&64&f)?q(u,t,n,!1,!0):(s===Sn&&384&f||!r&&16&a)&&q(l,t,n),o&&W(e)}(h&&(b=c&&c.onVnodeUnmounted)||d)&&On(()=>{b&&no(b,t,e),d&&dn(e,null,t,"unmounted")},n)},W=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Sn)return void H(n,o);if(t===An)return void w(e);const c=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,c);o?o(e.el,c,s):s()}else c()},H=(e,t)=>{let n;while(e!==t)n=d(e),s(e),e=n;s(t)},K=(e,t,n)=>{const{bum:r,scope:s,update:c,subTree:i,um:l}=e;r&&Object(o["n"])(r),s.stop(),c&&(c.active=!1,z(i,e,t,n)),l&&On(l,t),On(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},q=(e,t,n,o=!1,r=!1,s=0)=>{for(let c=s;c6&e.shapeFlag?G(e.component.subTree):128&e.shapeFlag?e.suspense.next():d(e.anchor||e.el),J=(e,t,n)=>{null==e?t._vnode&&z(t._vnode,null,null,!0):g(t._vnode||null,e,t,null,null,null,n),Yo(),t._vnode=e},X={p:g,um:z,m:V,r:W,mt:N,mc:F,pc:B,pbc:M,n:G,o:e};let Z,Q;return t&&([Z,Q]=t(X)),{render:J,hydrate:Z,createApp:vn(J,Z)}}function _n({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function wn(e,t,n=!1){const r=e.children,s=t.children;if(Object(o["o"])(r)&&Object(o["o"])(s))for(let o=0;o>1,e[n[i]]0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,c=n[s-1];while(s-- >0)n[s]=c,c=t[c];return n}const Cn=e=>e.__isTeleport;const kn=Symbol();const Sn=Symbol(void 0),En=Symbol(void 0),Fn=Symbol(void 0),An=Symbol(void 0),Mn=[];let Tn=null;function Ln(e=!1){Mn.push(Tn=e?null:[])}function Pn(){Mn.pop(),Tn=Mn[Mn.length-1]||null}let Nn=1;function Rn(e){Nn+=e}function In(e){return e.dynamicChildren=Nn>0?Tn||o["a"]:null,Pn(),Nn>0&&Tn&&Tn.push(e),e}function Dn(e,t,n,o,r,s){return In(Hn(e,t,n,o,r,s,!0))}function Bn(e,t,n,o,r){return In(Kn(e,t,n,o,r,!0))}function Un(e){return!!e&&!0===e.__v_isVNode}function $n(e,t){return e.type===t.type&&e.key===t.key}const Vn="__vInternal",zn=({key:e})=>null!=e?e:null,Wn=({ref:e,ref_key:t,ref_for:n})=>null!=e?Object(o["D"])(e)||Re(e)||Object(o["p"])(e)?{i:He,r:e,k:t,f:!!n}:e:null;function Hn(e,t=null,n=null,r=0,s=null,c=(e===Sn?0:1),i=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zn(t),ref:t&&Wn(t),scopeId:Ke,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:c,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};return l?(eo(u,n),128&c&&e.normalize(u)):n&&(u.shapeFlag|=Object(o["D"])(n)?8:16),Nn>0&&!i&&Tn&&(u.patchFlag>0||6&c)&&32!==u.patchFlag&&Tn.push(u),u}const Kn=qn;function qn(e,t=null,n=null,r=0,s=null,c=!1){if(e&&e!==kn||(e=Fn),Un(e)){const o=Jn(e,t,!0);return n&&eo(o,n),o}if(ko(e)&&(e=e.__vccOpts),t){t=Gn(t);let{class:e,style:n}=t;e&&!Object(o["D"])(e)&&(t.class=Object(o["I"])(e)),Object(o["v"])(n)&&(Fe(n)&&!Object(o["o"])(n)&&(n=Object(o["h"])({},n)),t.style=Object(o["J"])(n))}const i=Object(o["D"])(e)?1:tt(e)?128:Cn(e)?64:Object(o["v"])(e)?4:Object(o["p"])(e)?2:0;return Hn(e,t,n,r,s,i,c,!0)}function Gn(e){return e?Fe(e)||Vn in e?Object(o["h"])({},e):e:null}function Jn(e,t,n=!1){const{props:r,ref:s,patchFlag:c,children:i}=e,l=t?to(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&zn(l),ref:t&&t.ref?n&&s?Object(o["o"])(s)?s.concat(Wn(t)):[s,Wn(t)]:Wn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Sn?-1===c?16:16|c:c,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jn(e.ssContent),ssFallback:e.ssFallback&&Jn(e.ssFallback),el:e.el,anchor:e.anchor};return u}function Xn(e=" ",t=0){return Kn(En,null,e,t)}function Zn(e="",t=!1){return t?(Ln(),Bn(Fn,null,e)):Kn(Fn,null,e)}function Qn(e){return null==e||"boolean"===typeof e?Kn(Fn):Object(o["o"])(e)?Kn(Sn,null,e.slice()):"object"===typeof e?Yn(e):Kn(En,null,String(e))}function Yn(e){return null===e.el||e.memo?e:Jn(e)}function eo(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(Object(o["o"])(t))n=16;else if("object"===typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),eo(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Vn in t?3===o&&He&&(1===He.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=He}}else Object(o["p"])(t)?(t={default:t,_ctx:He},n=32):(t=String(t),64&r?(n=16,t=[Xn(t)]):n=8);e.children=t,e.shapeFlag|=n}function to(...e){const t={};for(let n=0;ne?ho(e)?xo(e)||e.proxy:oo(e.parent):null,ro=Object(o["h"])(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>oo(e.parent),$root:e=>oo(e.root),$emit:e=>e.emit,$options:e=>$t(e),$forceUpdate:e=>()=>Ko(e.update),$nextTick:e=>Wo.bind(e.proxy),$watch:e=>sr.bind(e)}),so={get({_:e},t){const{ctx:n,setupState:r,data:s,props:c,accessCache:i,type:l,appContext:u}=e;let a;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return c[t]}else{if(r!==o["b"]&&Object(o["k"])(r,t))return i[t]=1,r[t];if(s!==o["b"]&&Object(o["k"])(s,t))return i[t]=2,s[t];if((a=e.propsOptions[0])&&Object(o["k"])(a,t))return i[t]=3,c[t];if(n!==o["b"]&&Object(o["k"])(n,t))return i[t]=4,n[t];Rt&&(i[t]=0)}}const f=ro[t];let p,d;return f?("$attrs"===t&&E(e,"get",t),f(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o["b"]&&Object(o["k"])(n,t)?(i[t]=4,n[t]):(d=u.config.globalProperties,Object(o["k"])(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:r,setupState:s,ctx:c}=e;if(s!==o["b"]&&Object(o["k"])(s,t))s[t]=n;else if(r!==o["b"]&&Object(o["k"])(r,t))r[t]=n;else if(Object(o["k"])(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(c[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:c}},i){let l;return!!n[i]||e!==o["b"]&&Object(o["k"])(e,i)||t!==o["b"]&&Object(o["k"])(t,i)||(l=c[0])&&Object(o["k"])(l,i)||Object(o["k"])(r,i)||Object(o["k"])(ro,i)||Object(o["k"])(s.config.globalProperties,i)}};const co=hn();let io=0;function lo(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||co,i={uid:io++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new c(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:en(r,s),emitsOptions:ze(r,s),emit:null,emitted:null,propsDefaults:o["b"],inheritAttrs:r.inheritAttrs,ctx:o["b"],data:o["b"],props:o["b"],attrs:o["b"],slots:o["b"],refs:o["b"],setupState:o["b"],setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Ve.bind(null,i),e.ce&&e.ce(i),i}let uo=null;const ao=()=>uo||He,fo=e=>{uo=e,e.scope.on()},po=()=>{uo&&uo.scope.off(),uo=null};function ho(e){return 4&e.vnode.shapeFlag}let bo,vo,go=!1;function mo(e,t=!1){go=t;const{props:n,children:o}=e.vnode,r=ho(e);Xt(e,n,r,t),fn(e,o);const s=r?Oo(e,t):void 0;return go=!1,s}function Oo(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Me(new Proxy(e.ctx,so));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?wo(e):null;fo(e),C();const s=So(r,e,0,[e.props,n]);if(S(),po(),Object(o["y"])(s)){if(s.then(po,po),t)return s.then(n=>{jo(e,n,t)}).catch(t=>{Fo(t,e,0)});e.asyncDep=s}else jo(e,s,t)}else yo(e,t)}function jo(e,t,n){Object(o["p"])(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Object(o["v"])(t)&&(e.setupState=Be(t)),yo(e,n)}function yo(e,t,n){const r=e.type;if(!e.render){if(!t&&bo&&!r.render){const t=r.template;if(t){0;const{isCustomElement:n,compilerOptions:s}=e.appContext.config,{delimiters:c,compilerOptions:i}=r,l=Object(o["h"])(Object(o["h"])({isCustomElement:n,delimiters:c},s),i);r.render=bo(t,l)}}e.render=r.render||o["d"],vo&&vo(e)}fo(e),C(),It(e),S(),po()}function _o(e){return new Proxy(e.attrs,{get(t,n){return E(e,"get","$attrs"),t[n]}})}function wo(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=_o(e))},slots:e.slots,emit:e.emit,expose:t}}function xo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Be(Me(e.exposed)),{get(t,n){return n in t?t[n]:n in ro?ro[n](e):void 0}}))}function Co(e){return Object(o["p"])(e)&&e.displayName||e.name}function ko(e){return Object(o["p"])(e)&&"__vccOpts"in e}function So(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){Fo(s,t,n)}return r}function Eo(e,t,n,r){if(Object(o["p"])(e)){const s=So(e,t,n,r);return s&&Object(o["y"])(s)&&s.catch(e=>{Fo(e,t,n)}),s}const s=[];for(let o=0;o>>1,r=er(Lo[o]);rPo&&Lo.splice(t,1)}function Jo(e,t,n,r){Object(o["o"])(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?r+1:r)||n.push(e),qo()}function Xo(e){Jo(e,Ro,No,Io)}function Zo(e){Jo(e,Bo,Do,Uo)}function Qo(e,t=null){if(No.length){for(zo=t,Ro=[...new Set(No)],No.length=0,Io=0;Ioer(e)-er(t)),Uo=0;Uonull==e.id?1/0:e.id;function tr(e){To=!1,Mo=!0,Qo(e),Lo.sort((e,t)=>er(e)-er(t));o["d"];try{for(Po=0;Poe.value,f=!!e._shallow):Se(e)?(u=()=>e,r=!0):Object(o["o"])(e)?(p=!0,f=e.some(Se),u=()=>e.map(e=>Re(e)?e.value:Se(e)?ir(e):Object(o["p"])(e)?So(e,l,2):void 0)):u=Object(o["p"])(e)?t?()=>So(e,l,2):()=>{if(!l||!l.isUnmounted)return a&&a(),Eo(e,l,3,[d])}:o["d"],t&&r){const e=u;u=()=>ir(e())}let d=e=>{a=g.onStop=()=>{So(e,l,4)}};if(go)return d=o["d"],t?n&&Eo(t,l,3,[u(),p?[]:void 0,d]):u(),o["d"];let h=p?[]:nr;const b=()=>{if(g.active)if(t){const e=g.run();(r||f||(p?e.some((e,t)=>Object(o["j"])(e,h[t])):Object(o["j"])(e,h)))&&(a&&a(),Eo(t,l,3,[e,h===nr?void 0:h,d]),h=e)}else g.run()};let v;b.allowRecurse=!!t,v="sync"===s?b:"post"===s?()=>On(b,l&&l.suspense):()=>{!l||l.isMounted?Xo(b):b()};const g=new y(u,v);return t?n?b():h=g.run():"post"===s?On(g.run.bind(g),l&&l.suspense):g.run(),()=>{g.stop(),l&&l.scope&&Object(o["K"])(l.scope.effects,g)}}function sr(e,t,n){const r=this.proxy,s=Object(o["D"])(e)?e.includes(".")?cr(r,e):()=>r[e]:e.bind(r,r);let c;Object(o["p"])(t)?c=t:(c=t.handler,n=t);const i=uo;fo(this);const l=rr(s,c.bind(r),n);return i?fo(i):po(),l}function cr(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{ir(e,t)});else if(Object(o["x"])(e))for(const n in e)ir(e[n],t);return e}function lr(e,t,n){const r=arguments.length;return 2===r?Object(o["v"])(t)&&!Object(o["o"])(t)?Un(t)?Kn(e,null,[t]):Kn(e,t):Kn(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Un(n)&&(n=[n]),Kn(e,t,n))}Symbol("");const ur="3.2.26",ar="http://www.w3.org/2000/svg",fr="undefined"!==typeof document?document:null,pr=new Map,dr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?fr.createElementNS(ar,e):fr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>fr.createTextNode(e),createComment:e=>fr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>fr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o){const r=n?n.previousSibling:t.lastChild;let s=pr.get(e);if(!s){const t=fr.createElement("template");if(t.innerHTML=o?`${e}`:e,s=t.content,o){const e=s.firstChild;while(e.firstChild)s.appendChild(e.firstChild);s.removeChild(e)}pr.set(e,s)}return t.insertBefore(s.cloneNode(!0),n),[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function hr(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function br(e,t,n){const r=e.style,s=Object(o["D"])(n);if(n&&!s){for(const e in n)gr(r,e,n[e]);if(t&&!Object(o["D"])(t))for(const e in t)null==n[e]&&gr(r,e,"")}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const vr=/\s*!important$/;function gr(e,t,n){if(Object(o["o"])(n))n.forEach(n=>gr(e,t,n));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=jr(e,t);vr.test(n)?e.setProperty(Object(o["l"])(r),n.replace(vr,""),"important"):e[r]=n}}const mr=["Webkit","Moz","ms"],Or={};function jr(e,t){const n=Or[t];if(n)return n;let r=Object(o["e"])(t);if("filter"!==r&&r in e)return Or[t]=r;r=Object(o["f"])(r);for(let o=0;odocument.createEvent("Event").timeStamp&&(xr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Cr=!!(e&&Number(e[1])<=53)}let kr=0;const Sr=Promise.resolve(),Er=()=>{kr=0},Fr=()=>kr||(Sr.then(Er),kr=xr());function Ar(e,t,n,o){e.addEventListener(t,n,o)}function Mr(e,t,n,o){e.removeEventListener(t,n,o)}function Tr(e,t,n,o,r=null){const s=e._vei||(e._vei={}),c=s[t];if(o&&c)c.value=o;else{const[n,i]=Pr(t);if(o){const c=s[t]=Nr(o,r);Ar(e,n,c,i)}else c&&(Mr(e,n,c,i),s[t]=void 0)}}const Lr=/(?:Once|Passive|Capture)$/;function Pr(e){let t;if(Lr.test(e)){let n;t={};while(n=e.match(Lr))e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Object(o["l"])(e.slice(2)),t]}function Nr(e,t){const n=e=>{const o=e.timeStamp||xr();(Cr||o>=n.attached-1)&&Eo(Rr(e,n.value),t,5,[e])};return n.value=e,n.attached=Fr(),n}function Rr(e,t){if(Object(o["o"])(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e(t))}return t}const Ir=/^on[a-z]/,Dr=(e,t,n,r,s=!1,c,i,l,u)=>{"class"===t?hr(e,r,s):"style"===t?br(e,n,r):Object(o["w"])(t)?Object(o["u"])(t)||Tr(e,t,n,r,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):Br(e,t,r,s))?wr(e,t,r,c,i,l,u):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),_r(e,t,r,s))};function Br(e,t,n,r){return r?"innerHTML"===t||"textContent"===t||!!(t in e&&Ir.test(t)&&Object(o["p"])(n)):"spellcheck"!==t&&"draggable"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!Ir.test(t)||!Object(o["D"])(n))&&t in e))))}"undefined"!==typeof HTMLElement&&HTMLElement;const Ur="transition",$r="animation",Vr=(e,{slots:t})=>lr(lt,Kr(e),t);Vr.displayName="Transition";const zr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Wr=(Vr.props=Object(o["h"])({},lt.props,zr),(e,t=[])=>{Object(o["o"])(e)?e.forEach(e=>e(...t)):e&&e(...t)}),Hr=e=>!!e&&(Object(o["o"])(e)?e.some(e=>e.length>1):e.length>1);function Kr(e){const t={};for(const o in e)o in zr||(t[o]=e[o]);if(!1===e.css)return t;const{name:n="v",type:r,duration:s,enterFromClass:c=n+"-enter-from",enterActiveClass:i=n+"-enter-active",enterToClass:l=n+"-enter-to",appearFromClass:u=c,appearActiveClass:a=i,appearToClass:f=l,leaveFromClass:p=n+"-leave-from",leaveActiveClass:d=n+"-leave-active",leaveToClass:h=n+"-leave-to"}=e,b=qr(s),v=b&&b[0],g=b&&b[1],{onBeforeEnter:m,onEnter:O,onEnterCancelled:j,onLeave:y,onLeaveCancelled:_,onBeforeAppear:w=m,onAppear:x=O,onAppearCancelled:C=j}=t,k=(e,t,n)=>{Xr(e,t?f:l),Xr(e,t?a:i),n&&n()},S=(e,t)=>{Xr(e,h),Xr(e,d),t&&t()},E=e=>(t,n)=>{const o=e?x:O,s=()=>k(t,e,n);Wr(o,[t,s]),Zr(()=>{Xr(t,e?u:c),Jr(t,e?f:l),Hr(o)||Yr(t,r,v,s)})};return Object(o["h"])(t,{onBeforeEnter(e){Wr(m,[e]),Jr(e,c),Jr(e,i)},onBeforeAppear(e){Wr(w,[e]),Jr(e,u),Jr(e,a)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){const n=()=>S(e,t);Jr(e,p),os(),Jr(e,d),Zr(()=>{Xr(e,p),Jr(e,h),Hr(y)||Yr(e,r,g,n)}),Wr(y,[e,n])},onEnterCancelled(e){k(e,!1),Wr(j,[e])},onAppearCancelled(e){k(e,!0),Wr(C,[e])},onLeaveCancelled(e){S(e),Wr(_,[e])}})}function qr(e){if(null==e)return null;if(Object(o["v"])(e))return[Gr(e.enter),Gr(e.leave)];{const t=Gr(e);return[t,t]}}function Gr(e){const t=Object(o["N"])(e);return t}function Jr(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e._vtc||(e._vtc=new Set)).add(t)}function Xr(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Zr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Qr=0;function Yr(e,t,n,o){const r=e._endId=++Qr,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:c,timeout:i,propCount:l}=es(e,t);if(!c)return o();const u=c+"end";let a=0;const f=()=>{e.removeEventListener(u,p),s()},p=t=>{t.target===e&&++a>=l&&f()};setTimeout(()=>{a(n[e]||"").split(", "),r=o(Ur+"Delay"),s=o(Ur+"Duration"),c=ts(r,s),i=o($r+"Delay"),l=o($r+"Duration"),u=ts(i,l);let a=null,f=0,p=0;t===Ur?c>0&&(a=Ur,f=c,p=s.length):t===$r?u>0&&(a=$r,f=u,p=l.length):(f=Math.max(c,u),a=f>0?c>u?Ur:$r:null,p=a?a===Ur?s.length:l.length:0);const d=a===Ur&&/\b(transform|all)(,|$)/.test(n[Ur+"Property"]);return{type:a,timeout:f,propCount:p,hasTransform:d}}function ts(e,t){while(e.lengthns(t)+ns(e[n])))}function ns(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function os(){return document.body.offsetHeight}new WeakMap,new WeakMap;const rs=Object(o["h"])({patchProp:Dr},dr);let ss;function cs(){return ss||(ss=jn(rs))}const is=(...e)=>{const t=cs().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=ls(e);if(!r)return;const s=t._component;Object(o["p"])(s)||s.render||s.template||(s.template=r.innerHTML),r.innerHTML="";const c=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),c},t};function ls(e){if(Object(o["D"])(e)){const t=document.querySelector(e);return t}return e}},"85dd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n}},d8fc:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(o){"object"===typeof window&&(n=window)}e.exports=n},e99b:function(e,t,n){"use strict";(function(e){function o(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return C})),n.d(t,"e",(function(){return Z})),n.d(t,"f",(function(){return ee})),n.d(t,"g",(function(){return re})),n.d(t,"h",(function(){return A})),n.d(t,"i",(function(){return ie})),n.d(t,"j",(function(){return ne})),n.d(t,"k",(function(){return L})),n.d(t,"l",(function(){return Y})),n.d(t,"m",(function(){return l})),n.d(t,"n",(function(){return oe})),n.d(t,"o",(function(){return P})),n.d(t,"p",(function(){return D})),n.d(t,"q",(function(){return s})),n.d(t,"r",(function(){return v})),n.d(t,"s",(function(){return q})),n.d(t,"t",(function(){return N})),n.d(t,"u",(function(){return F})),n.d(t,"v",(function(){return $})),n.d(t,"w",(function(){return E})),n.d(t,"x",(function(){return K})),n.d(t,"y",(function(){return V})),n.d(t,"z",(function(){return G})),n.d(t,"A",(function(){return g})),n.d(t,"B",(function(){return R})),n.d(t,"C",(function(){return i})),n.d(t,"D",(function(){return B})),n.d(t,"E",(function(){return U})),n.d(t,"F",(function(){return O})),n.d(t,"G",(function(){return j})),n.d(t,"H",(function(){return o})),n.d(t,"I",(function(){return d})),n.d(t,"J",(function(){return u})),n.d(t,"K",(function(){return M})),n.d(t,"L",(function(){return y})),n.d(t,"M",(function(){return te})),n.d(t,"N",(function(){return se})),n.d(t,"O",(function(){return H}));const r="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",s=o(r);const c="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",i=o(c);function l(e){return!!e||""===e}function u(e){if(P(e)){const t={};for(let n=0;n{if(e){const n=e.split(f);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function d(e){let t="";if(B(e))t=e;else if(P(e))for(let n=0;nO(e,t))}const y=e=>null==e?"":P(e)||$(e)&&(e.toString===z||!D(e.toString))?JSON.stringify(e,_,2):String(e),_=(e,t)=>t&&t.__v_isRef?_(e,t.value):N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n])=>(e[t+" =>"]=n,e),{})}:R(t)?{[`Set(${t.size})`]:[...t.values()]}:!$(t)||P(t)||K(t)?t:String(t),w={},x=[],C=()=>{},k=()=>!1,S=/^on[^a-z]/,E=e=>S.test(e),F=e=>e.startsWith("onUpdate:"),A=Object.assign,M=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},T=Object.prototype.hasOwnProperty,L=(e,t)=>T.call(e,t),P=Array.isArray,N=e=>"[object Map]"===W(e),R=e=>"[object Set]"===W(e),I=e=>e instanceof Date,D=e=>"function"===typeof e,B=e=>"string"===typeof e,U=e=>"symbol"===typeof e,$=e=>null!==e&&"object"===typeof e,V=e=>$(e)&&D(e.then)&&D(e.catch),z=Object.prototype.toString,W=e=>z.call(e),H=e=>W(e).slice(8,-1),K=e=>"[object Object]"===W(e),q=e=>B(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,G=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),J=e=>{const t=Object.create(null);return n=>{const o=t[n];return o||(t[n]=e(n))}},X=/-(\w)/g,Z=J(e=>e.replace(X,(e,t)=>t?t.toUpperCase():"")),Q=/\B([A-Z])/g,Y=J(e=>e.replace(Q,"-$1").toLowerCase()),ee=J(e=>e.charAt(0).toUpperCase()+e.slice(1)),te=J(e=>e?"on"+ee(e):""),ne=(e,t)=>!Object.is(e,t),oe=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},se=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ce;const ie=()=>ce||(ce="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{})}).call(this,n("d8fc"))}}]); +//# sourceMappingURL=chunk-vendors.js.map \ No newline at end of file diff --git a/ui/js/chunk-vendors.js.map b/ui/js/chunk-vendors.js.map new file mode 100644 index 0000000..83f8c67 --- /dev/null +++ b/ui/js/chunk-vendors.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./node_modules/.pnpm/@vue+reactivity@3.2.26/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","webpack:///./node_modules/.pnpm/@vue+runtime-core@3.2.26/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","webpack:///./node_modules/.pnpm/@vue+runtime-dom@3.2.26/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","webpack:///./node_modules/.pnpm/vue-loader@16.8.3_webpack@4.46.0/node_modules/vue-loader/dist/exportHelper.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/.pnpm/@vue+shared@3.2.26/node_modules/@vue/shared/dist/shared.esm-bundler.js"],"names":["activeEffectScope","effectScopeStack","EffectScope","detached","this","active","effects","cleanups","parent","index","scopes","push","fn","on","off","pop","length","fromParent","forEach","e","stop","cleanup","last","recordEffectScope","effect","scope","createDep","dep","Set","w","n","wasTracked","trackOpBit","newTracked","initDepMarkers","deps","i","finalizeDepMarkers","ptr","delete","targetMap","WeakMap","effectTrackDepth","maxMarkerBits","effectStack","activeEffect","ITERATE_KEY","Symbol","MAP_KEY_ITERATE_KEY","ReactiveEffect","scheduler","includes","enableTracking","cleanupEffect","resetTracking","undefined","onStop","shouldTrack","trackStack","pauseTracking","track","target","type","key","isTracking","depsMap","get","set","Map","eventInfo","trackEffects","debuggerEventExtraInfo","has","add","trigger","newValue","oldValue","oldTarget","values","triggerEffects","allowRecurse","run","isNonTrackableKeys","builtInSymbols","Object","getOwnPropertyNames","map","filter","createGetter","shallowGet","readonlyGet","arrayInstrumentations","createArrayInstrumentations","instrumentations","args","arr","toRaw","l","res","apply","isReadonly","shallow","receiver","shallowReadonlyMap","readonlyMap","shallowReactiveMap","reactiveMap","targetIsArray","Reflect","isRef","shouldUnwrap","value","readonly","reactive","createSetter","shallowSet","hadKey","Number","result","deleteProperty","ownKeys","mutableHandlers","readonlyHandlers","shallowReactiveHandlers","toShallow","getProto","v","getPrototypeOf","get$1","isShallow","rawTarget","rawKey","wrap","toReadonly","toReactive","call","has$1","size","proto","set$1","deleteEntry","clear","hadItems","createForEach","callback","thisArg","observed","createIterableMethod","method","targetIsMap","isPair","iterator","isKeyOnly","innerIterator","done","next","createReadonlyMethod","createInstrumentations","mutableInstrumentations","shallowInstrumentations","readonlyInstrumentations","shallowReadonlyInstrumentations","iteratorMethods","createInstrumentationGetter","mutableCollectionHandlers","shallowCollectionHandlers","readonlyCollectionHandlers","targetTypeMap","rawType","getTargetType","isExtensible","createReactiveObject","shallowReactive","baseHandlers","collectionHandlers","proxyMap","existingProxy","targetType","proxy","Proxy","isReactive","isProxy","raw","markRaw","trackRefValue","ref","triggerRefValue","newVal","r","Boolean","__v_isRef","unref","shallowUnwrapHandlers","proxyRefs","objectWithRefs","ComputedRefImpl","getter","_setter","_dirty","self","_value","getterOrOptions","debugOptions","setter","onlyGetter","cRef","Promise","resolve","emit$1","instance","event","rawArgs","props","vnode","isModelListener","startsWith","modelArg","slice","modifiersKey","number","trim","a","handlerName","handler","callWithAsyncErrorHandling","onceHandler","emitted","normalizeEmitsOptions","comp","appContext","asMixin","cache","emitsCache","cached","emits","normalized","hasExtends","extendEmits","normalizedFromExtend","mixins","extends","isEmitListener","options","replace","toLowerCase","currentRenderingInstance","currentScopeId","setCurrentRenderingInstance","prev","__scopeId","withCtx","ctx","isNonScopedSlot","_n","renderFnWithContext","_d","setBlockTracking","prevInstance","_c","renderComponentRoot","Component","withProxy","propsOptions","slots","attrs","emit","render","renderCache","data","setupState","inheritAttrs","fallthroughAttrs","shapeFlag","proxyToUse","normalizeVNode","getFunctionalFallthrough","err","blockStack","handleError","createVNode","Comment","root","keys","some","filterModelListeners","cloneVNode","dirs","concat","transition","shouldUpdateComponent","prevVNode","nextVNode","optimized","prevProps","children","prevChildren","component","nextProps","nextChildren","patchFlag","emitsOptions","$stable","hasPropsChanged","dynamicProps","nextKeys","updateHOCHostEl","el","subTree","isSuspense","__isSuspense","queueEffectWithSuspense","suspense","pendingBranch","queuePostFlushCb","provide","currentInstance","provides","parentProvides","create","inject","defaultValue","treatDefaultAsFactory","arguments","useTransitionState","state","isMounted","isLeaving","isUnmounting","leavingVNodes","onMounted","onBeforeUnmount","TransitionHookValidator","Function","Array","BaseTransitionImpl","name","mode","String","appear","persisted","onBeforeEnter","onEnter","onAfterEnter","onEnterCancelled","onBeforeLeave","onLeave","onAfterLeave","onLeaveCancelled","onBeforeAppear","onAppear","onAfterAppear","onAppearCancelled","getCurrentInstance","prevTransitionKey","default","getTransitionRawChildren","rawProps","child","emptyPlaceholder","innerChild","getKeepAliveChild","enterHooks","resolveTransitionHooks","setTransitionHooks","oldChild","oldInnerChild","transitionKeyChanged","getTransitionKey","isSameVNodeType","leavingHooks","afterLeave","update","delayLeave","earlyRemove","delayedLeave","leavingVNodesCache","getLeavingNodesForType","_leaveCb","BaseTransition","callHook","hook","hooks","leavingVNode","afterHook","cancelHook","called","_enterCb","cancelled","remove","isKeepAlive","ssContent","clone","ssFallback","keepComment","ret","keyedFragmentCount","Fragment","isAsyncWrapper","__asyncLoader","__isKeepAlive","RegExp","matches","pattern","p","split","indexOf","test","onActivated","registerKeepAliveHook","onDeactivated","wrappedHook","__wdc","current","isDeactivated","injectHook","injectToKeepAliveRoot","keepAliveRoot","injected","onUnmounted","resetShapeFlag","getInnerChild","prepend","__weh","isUnmounted","setCurrentInstance","unsetCurrentInstance","unshift","createHook","lifecycle","isInSSRComponentSetup","onBeforeMount","onBeforeUpdate","onUpdated","onServerPrefetch","onRenderTriggered","onRenderTracked","onErrorCaptured","shouldCacheAccess","applyOptions","resolveMergedOptions","publicThis","beforeCreate","dataOptions","computed","computedOptions","methods","watch","watchOptions","provideOptions","injectOptions","created","beforeMount","mounted","beforeUpdate","updated","activated","deactivated","beforeDestroy","beforeUnmount","destroyed","unmounted","renderTracked","renderTriggered","errorCaptured","serverPrefetch","expose","components","directives","filters","checkDuplicateProperties","resolveInjections","config","unwrapInjectedRef","methodHandler","bind","opt","c","defineProperty","enumerable","configurable","createWatcher","registerLifecycleHook","register","_hook","exposed","val","unwrapRef","normalizeInject","from","h","createPathGetter","base","extendsOptions","globalMixins","optionsCache","optionMergeStrategies","resolved","m","mergeOptions","to","strats","strat","internalOptionMergeStrats","mergeDataFn","mergeObjectOptions","mergeAsArray","mergeWatchOptions","mergeInject","merged","initProps","isStateful","isSSR","InternalObjectKey","propsDefaults","setFullProps","updateProps","rawPrevProps","rawCurrentProps","hasAttrsChanged","kebabKey","resolvePropValue","propsToUpdate","camelizedKey","needCastKeys","rawCastValues","camelKey","castValues","isAbsent","hasDefault","normalizePropsOptions","propsCache","extendProps","normalizedKey","validatePropName","prop","booleanIndex","getTypeIndex","stringIndex","getType","ctor","match","toString","isSameType","b","expectedTypes","findIndex","t","isInternalKey","normalizeSlotValue","normalizeSlot","rawSlot","normalizeObjectSlots","rawSlots","_ctx","normalizeVNodeSlots","initSlots","_","updateSlots","needDeletionCheck","deletionComparisonTarget","invokeDirectiveHook","bindings","oldBindings","binding","dir","createAppContext","app","isNativeTag","performance","globalProperties","errorHandler","warnHandler","compilerOptions","uid","createAppAPI","hydrate","rootComponent","rootProps","context","installedPlugins","_uid","_component","_props","_container","_context","_instance","version","plugin","install","mixin","directive","rootContainer","isHydrate","isSVG","__vue_app__","getExposeProxy","setRef","rawRef","oldRawRef","parentSuspense","isUnmount","refValue","owner","oldRef","refs","callWithErrorHandling","_isString","_isRef","doSet","f","existing","k","id","queuePostRenderEffect","initFeatureFlags","createRenderer","baseCreateRenderer","createHydrationFns","__VUE__","insert","hostInsert","hostRemove","patchProp","hostPatchProp","createElement","hostCreateElement","createText","hostCreateText","createComment","hostCreateComment","setText","hostSetText","setElementText","hostSetElementText","parentNode","hostParentNode","nextSibling","hostNextSibling","setScopeId","hostSetScopeId","cloneNode","hostCloneNode","insertStaticContent","hostInsertStaticContent","patch","n1","n2","container","anchor","parentComponent","slotScopeIds","dynamicChildren","getNextHostNode","unmount","Text","processText","processCommentNode","Static","mountStaticNode","processFragment","processElement","processComponent","process","internals","moveStaticNode","removeStaticNode","mountElement","patchElement","vnodeHook","is","mountChildren","unmountChildren","onVnodeBeforeMount","invokeVNodeHook","scopeId","needCallTransitionHooks","beforeEnter","onVnodeMounted","enter","parentVNode","start","cloneIfMounted","oldProps","newProps","toggleRecurse","onVnodeBeforeUpdate","areChildrenSVG","patchBlockChildren","patchChildren","patchProps","class","style","onVnodeUpdated","oldChildren","newChildren","fallbackContainer","oldVNode","newVNode","fragmentStartAnchor","fragmentEndAnchor","fragmentSlotScopeIds","traverseStaticChildren","activate","mountComponent","updateComponent","initialVNode","createComponentInstance","renderer","setupComponent","asyncDep","registerDep","setupRenderEffect","placeholder","asyncResolved","updateComponentPreRender","invalidateJob","componentUpdateFn","bu","u","originNext","nextTree","prevTree","bm","isAsyncWrapperVNode","hydrateNode","hydrateSubTree","then","scopedInitialVNode","queueJob","flushPreFlushCbs","c1","prevShapeFlag","c2","patchKeyedChildren","patchUnkeyedChildren","oldLength","newLength","commonLength","Math","min","nextChild","parentAnchor","l2","e1","e2","nextPos","s1","s2","keyToNewIndexMap","j","patched","toBePatched","moved","maxNewIndexSoFar","newIndexToOldIndexMap","prevChild","newIndex","increasingNewIndexSequence","getSequence","nextIndex","move","moveType","needTransition","leave","performLeave","doRemove","deactivate","shouldInvokeDirs","shouldInvokeVnodeHook","onVnodeBeforeUnmount","unmountComponent","onVnodeUnmounted","removeFragment","performRemove","cur","end","bum","um","suspenseId","pendingId","_vnode","flushPostFlushCbs","mt","mc","pc","pbc","o","createApp","allowed","ch1","ch2","len","arrI","isTeleport","__isTeleport","NULL_DYNAMIC_COMPONENT","currentBlock","openBlock","disableTracking","closeBlock","isBlockTreeEnabled","setupBlock","createElementBlock","createBaseVNode","createBlock","isVNode","__v_isVNode","normalizeKey","normalizeRef","ref_key","ref_for","isBlockNode","needFullChildrenNormalization","__v_skip","targetAnchor","staticCount","normalizeChildren","normalize","_createVNode","cloned","isClassComponent","__vccOpts","guardReactiveProps","klass","extraProps","mergeRef","mergedProps","mergeProps","createTextVNode","text","flag","createCommentVNode","asBlock","memo","slot","slotFlag","toMerge","incoming","getPublicInstance","isStatefulComponent","publicPropertiesMap","$","$el","$data","$props","$attrs","$slots","$refs","$parent","$root","$emit","$options","$forceUpdate","$nextTick","nextTick","$watch","instanceWatch","PublicInstanceProxyHandlers","accessCache","normalizedProps","publicGetter","cssModule","__cssModules","emptyAppContext","uid$1","exposeProxy","setupContext","bc","da","rtg","rtc","ec","sp","ce","compile","installWithProxy","setupResult","setupStatefulComponent","setup","createSetupContext","resolvedResult","handleSetupResult","catch","finishComponentSetup","__ssrInlineRender","ssrRender","skipOptions","template","isCustomElement","delimiters","componentCompilerOptions","finalCompilerOptions","createAttrsProxy","getComponentName","displayName","throwInDev","contextVNode","exposedInstance","errorInfo","errorCapturedHooks","appErrorHandler","logError","console","error","isFlushing","isFlushPending","flushIndex","pendingPreFlushCbs","activePreFlushCbs","preFlushIndex","pendingPostFlushCbs","activePostFlushCbs","postFlushIndex","resolvedPromise","currentFlushPromise","currentPreFlushParentJob","findInsertionIndex","middle","middleJobId","getId","job","splice","queueFlush","flushJobs","queueCb","cb","activeQueue","pendingQueue","queuePreFlushCb","seen","parentJob","deduped","sort","Infinity","INITIAL_WATCHER_VALUE","source","doWatch","immediate","deep","flush","onTrack","onTrigger","forceTrigger","isMultiSource","_shallow","s","traverse","onInvalidate","baseGetter","path","segments","propsOrChildren","prototype","svgNS","doc","document","staticTemplateCache","nodeOps","insertBefore","removeChild","tag","createElementNS","multiple","setAttribute","createTextNode","node","nodeValue","textContent","querySelector","selector","content","before","previousSibling","lastChild","innerHTML","wrapper","firstChild","appendChild","patchClass","transitionClasses","_vtc","join","removeAttribute","className","patchStyle","isCssString","setStyle","currentDisplay","display","cssText","importantRE","setProperty","prefixed","autoPrefix","prefixes","prefixCache","rawName","xlinkNS","patchAttr","removeAttributeNS","setAttributeNS","isBoolean","patchDOMProp","tagName","_a","_getNow","Date","now","skipTimestampCheck","window","createEvent","timeStamp","ffMatch","navigator","userAgent","cachedNow","getNow","addEventListener","removeEventListener","patchEvent","prevValue","nextValue","invokers","_vei","existingInvoker","parseName","invoker","createInvoker","optionsModifierRE","initialValue","attached","patchStopImmediatePropagation","originalStop","stopImmediatePropagation","_stopped","nativeOnRE","shouldSetAsProp","_trueValue","_falseValue","HTMLElement","TRANSITION","ANIMATION","Transition","resolveTransitionProps","DOMTransitionPropsValidators","css","duration","enterFromClass","enterActiveClass","enterToClass","appearFromClass","appearActiveClass","appearToClass","leaveFromClass","leaveActiveClass","leaveToClass","hasExplicitCallback","baseProps","durations","normalizeDuration","enterDuration","leaveDuration","finishEnter","isAppear","removeTransitionClass","finishLeave","makeEnterHook","nextFrame","addTransitionClass","whenTransitionEnds","forceReflow","NumberOf","cls","classList","requestAnimationFrame","endId","expectedType","explicitTimeout","_endId","resolveIfNotStale","setTimeout","timeout","propCount","getTransitionInfo","endEvent","ended","onEnd","styles","getComputedStyle","getStyleProperties","transitionDelays","transitionDurations","transitionTimeout","getTimeout","animationDelays","animationDurations","animationTimeout","max","hasTransform","delays","d","toMs","body","offsetHeight","rendererOptions","ensureRenderer","mount","containerOrSelector","normalizeContainer","SVGElement","Element","exports","sfc","g","module","makeMap","str","expectsLowerCase","list","GLOBALS_WHITE_LISTED","isGloballyWhitelisted","specialBooleanAttrs","isSpecialBooleanAttr","includeBooleanAttr","normalizeStyle","isArray","item","isString","parseStringStyle","isObject","listDelimiterRE","propertyDelimiterRE","tmp","normalizeClass","HTML_TAGS","SVG_TAGS","isHTMLTag","isSVGTag","looseCompareArrays","equal","looseEqual","aValidType","isDate","bValidType","getTime","aKeysCount","bKeysCount","aHasKey","hasOwnProperty","bHasKey","looseIndexOf","toDisplayString","objectToString","isFunction","JSON","stringify","replacer","_key","isMap","entries","reduce","isSet","isPlainObject","EMPTY_OBJ","EMPTY_ARR","NOOP","NO","onRE","isOn","extend","assign","hasOwn","toTypeString","isSymbol","isPromise","toRawType","isIntegerKey","parseInt","isReservedProp","cacheStringFunction","hit","camelizeRE","camelize","toUpperCase","hyphenateRE","hyphenate","capitalize","charAt","toHandlerKey","hasChanged","invokeArrayFns","fns","arg","def","obj","toNumber","parseFloat","isNaN","_globalThis","getGlobalThis","globalThis","global"],"mappings":"iaAMA,IAAIA,EACJ,MAAMC,EAAmB,GACzB,MAAMC,EACF,YAAYC,GAAW,GACnBC,KAAKC,QAAS,EACdD,KAAKE,QAAU,GACfF,KAAKG,SAAW,IACXJ,GAAYH,IACbI,KAAKI,OAASR,EACdI,KAAKK,OACAT,EAAkBU,SAAWV,EAAkBU,OAAS,KAAKC,KAAKP,MAAQ,GAGvF,IAAIQ,GACA,GAAIR,KAAKC,OACL,IAE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AAqB/D,GAAQA,EAAIz2B,QAAQ66B,EAAa,OAAO56B,eAIzE86B,GAAaP,EAAqB/D,GAAQA,EAAIuE,OAAO,GAAGJ,cAAgBnE,EAAIn4B,MAAM,IAIlF28B,GAAeT,EAAqB/D,GAAQA,EAAM,KAAKsE,GAAWtE,GAAS,IAE3EyE,GAAa,CAACtjC,EAAOnC,KAAcQ,OAAOykB,GAAG9iB,EAAOnC,GACpD0lC,GAAiB,CAACC,EAAKC,KACzB,IAAK,IAAIpoC,EAAI,EAAGA,EAAImoC,EAAIvpC,OAAQoB,IAC5BmoC,EAAInoC,GAAGooC,IAGTC,GAAM,CAACC,EAAK3mC,EAAKgD,KACnB3B,OAAOyY,eAAe6sB,EAAK3mC,EAAK,CAC5Bga,cAAc,EACdD,YAAY,EACZ/W,WAGF4jC,GAAYtsB,IACd,MAAMvc,EAAI8oC,WAAWvsB,GACrB,OAAOwsB,MAAM/oC,GAAKuc,EAAMvc,GAE5B,IAAIgpC,GACJ,MAAMC,GAAgB,IACVD,KACHA,GACyB,qBAAfE,WACDA,WACgB,qBAATz+B,KACHA,KACkB,qBAAX0yB,OACHA,OACkB,qBAAXgM,EACHA,EACA,M","file":"js/chunk-vendors.js","sourcesContent":["import { extend, isArray, isMap, isIntegerKey, isSymbol, hasOwn, isObject, hasChanged, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\r\n console.warn(`[Vue warn] ${msg}`, ...args);\r\n}\n\nlet activeEffectScope;\r\nconst effectScopeStack = [];\r\nclass EffectScope {\r\n constructor(detached = false) {\r\n this.active = true;\r\n this.effects = [];\r\n this.cleanups = [];\r\n if (!detached && activeEffectScope) {\r\n this.parent = activeEffectScope;\r\n this.index =\r\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\r\n }\r\n }\r\n run(fn) {\r\n if (this.active) {\r\n try {\r\n this.on();\r\n return fn();\r\n }\r\n finally {\r\n this.off();\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`cannot run an inactive effect scope.`);\r\n }\r\n }\r\n on() {\r\n if (this.active) {\r\n effectScopeStack.push(this);\r\n activeEffectScope = this;\r\n }\r\n }\r\n off() {\r\n if (this.active) {\r\n effectScopeStack.pop();\r\n activeEffectScope = effectScopeStack[effectScopeStack.length - 1];\r\n }\r\n }\r\n stop(fromParent) {\r\n if (this.active) {\r\n this.effects.forEach(e => e.stop());\r\n this.cleanups.forEach(cleanup => cleanup());\r\n if (this.scopes) {\r\n this.scopes.forEach(e => e.stop(true));\r\n }\r\n // nested scope, dereference from parent to avoid memory leaks\r\n if (this.parent && !fromParent) {\r\n // optimized O(1) removal\r\n const last = this.parent.scopes.pop();\r\n if (last && last !== this) {\r\n this.parent.scopes[this.index] = last;\r\n last.index = this.index;\r\n }\r\n }\r\n this.active = false;\r\n }\r\n }\r\n}\r\nfunction effectScope(detached) {\r\n return new EffectScope(detached);\r\n}\r\nfunction recordEffectScope(effect, scope) {\r\n scope = scope || activeEffectScope;\r\n if (scope && scope.active) {\r\n scope.effects.push(effect);\r\n }\r\n}\r\nfunction getCurrentScope() {\r\n return activeEffectScope;\r\n}\r\nfunction onScopeDispose(fn) {\r\n if (activeEffectScope) {\r\n activeEffectScope.cleanups.push(fn);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`onScopeDispose() is called when there is no active effect scope` +\r\n ` to be associated with.`);\r\n }\r\n}\n\nconst createDep = (effects) => {\r\n const dep = new Set(effects);\r\n dep.w = 0;\r\n dep.n = 0;\r\n return dep;\r\n};\r\nconst wasTracked = (dep) => (dep.w & trackOpBit) > 0;\r\nconst newTracked = (dep) => (dep.n & trackOpBit) > 0;\r\nconst initDepMarkers = ({ deps }) => {\r\n if (deps.length) {\r\n for (let i = 0; i < deps.length; i++) {\r\n deps[i].w |= trackOpBit; // set was tracked\r\n }\r\n }\r\n};\r\nconst finalizeDepMarkers = (effect) => {\r\n const { deps } = effect;\r\n if (deps.length) {\r\n let ptr = 0;\r\n for (let i = 0; i < deps.length; i++) {\r\n const dep = deps[i];\r\n if (wasTracked(dep) && !newTracked(dep)) {\r\n dep.delete(effect);\r\n }\r\n else {\r\n deps[ptr++] = dep;\r\n }\r\n // clear bits\r\n dep.w &= ~trackOpBit;\r\n dep.n &= ~trackOpBit;\r\n }\r\n deps.length = ptr;\r\n }\r\n};\n\nconst targetMap = new WeakMap();\r\n// The number of effects currently being tracked recursively.\r\nlet effectTrackDepth = 0;\r\nlet trackOpBit = 1;\r\n/**\r\n * The bitwise track markers support at most 30 levels of recursion.\r\n * This value is chosen to enable modern JS engines to use a SMI on all platforms.\r\n * When recursion depth is greater, fall back to using a full cleanup.\r\n */\r\nconst maxMarkerBits = 30;\r\nconst effectStack = [];\r\nlet activeEffect;\r\nconst ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'iterate' : '');\r\nconst MAP_KEY_ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'Map key iterate' : '');\r\nclass ReactiveEffect {\r\n constructor(fn, scheduler = null, scope) {\r\n this.fn = fn;\r\n this.scheduler = scheduler;\r\n this.active = true;\r\n this.deps = [];\r\n recordEffectScope(this, scope);\r\n }\r\n run() {\r\n if (!this.active) {\r\n return this.fn();\r\n }\r\n if (!effectStack.includes(this)) {\r\n try {\r\n effectStack.push((activeEffect = this));\r\n enableTracking();\r\n trackOpBit = 1 << ++effectTrackDepth;\r\n if (effectTrackDepth <= maxMarkerBits) {\r\n initDepMarkers(this);\r\n }\r\n else {\r\n cleanupEffect(this);\r\n }\r\n return this.fn();\r\n }\r\n finally {\r\n if (effectTrackDepth <= maxMarkerBits) {\r\n finalizeDepMarkers(this);\r\n }\r\n trackOpBit = 1 << --effectTrackDepth;\r\n resetTracking();\r\n effectStack.pop();\r\n const n = effectStack.length;\r\n activeEffect = n > 0 ? effectStack[n - 1] : undefined;\r\n }\r\n }\r\n }\r\n stop() {\r\n if (this.active) {\r\n cleanupEffect(this);\r\n if (this.onStop) {\r\n this.onStop();\r\n }\r\n this.active = false;\r\n }\r\n }\r\n}\r\nfunction cleanupEffect(effect) {\r\n const { deps } = effect;\r\n if (deps.length) {\r\n for (let i = 0; i < deps.length; i++) {\r\n deps[i].delete(effect);\r\n }\r\n deps.length = 0;\r\n }\r\n}\r\nfunction effect(fn, options) {\r\n if (fn.effect) {\r\n fn = fn.effect.fn;\r\n }\r\n const _effect = new ReactiveEffect(fn);\r\n if (options) {\r\n extend(_effect, options);\r\n if (options.scope)\r\n recordEffectScope(_effect, options.scope);\r\n }\r\n if (!options || !options.lazy) {\r\n _effect.run();\r\n }\r\n const runner = _effect.run.bind(_effect);\r\n runner.effect = _effect;\r\n return runner;\r\n}\r\nfunction stop(runner) {\r\n runner.effect.stop();\r\n}\r\nlet shouldTrack = true;\r\nconst trackStack = [];\r\nfunction pauseTracking() {\r\n trackStack.push(shouldTrack);\r\n shouldTrack = false;\r\n}\r\nfunction enableTracking() {\r\n trackStack.push(shouldTrack);\r\n shouldTrack = true;\r\n}\r\nfunction resetTracking() {\r\n const last = trackStack.pop();\r\n shouldTrack = last === undefined ? true : last;\r\n}\r\nfunction track(target, type, key) {\r\n if (!isTracking()) {\r\n return;\r\n }\r\n let depsMap = targetMap.get(target);\r\n if (!depsMap) {\r\n targetMap.set(target, (depsMap = new Map()));\r\n }\r\n let dep = depsMap.get(key);\r\n if (!dep) {\r\n depsMap.set(key, (dep = createDep()));\r\n }\r\n const eventInfo = (process.env.NODE_ENV !== 'production')\r\n ? { effect: activeEffect, target, type, key }\r\n : undefined;\r\n trackEffects(dep, eventInfo);\r\n}\r\nfunction isTracking() {\r\n return shouldTrack && activeEffect !== undefined;\r\n}\r\nfunction trackEffects(dep, debuggerEventExtraInfo) {\r\n let shouldTrack = false;\r\n if (effectTrackDepth <= maxMarkerBits) {\r\n if (!newTracked(dep)) {\r\n dep.n |= trackOpBit; // set newly tracked\r\n shouldTrack = !wasTracked(dep);\r\n }\r\n }\r\n else {\r\n // Full cleanup mode.\r\n shouldTrack = !dep.has(activeEffect);\r\n }\r\n if (shouldTrack) {\r\n dep.add(activeEffect);\r\n activeEffect.deps.push(dep);\r\n if ((process.env.NODE_ENV !== 'production') && activeEffect.onTrack) {\r\n activeEffect.onTrack(Object.assign({\r\n effect: activeEffect\r\n }, debuggerEventExtraInfo));\r\n }\r\n }\r\n}\r\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\r\n const depsMap = targetMap.get(target);\r\n if (!depsMap) {\r\n // never been tracked\r\n return;\r\n }\r\n let deps = [];\r\n if (type === \"clear\" /* CLEAR */) {\r\n // collection being cleared\r\n // trigger all effects for target\r\n deps = [...depsMap.values()];\r\n }\r\n else if (key === 'length' && isArray(target)) {\r\n depsMap.forEach((dep, key) => {\r\n if (key === 'length' || key >= newValue) {\r\n deps.push(dep);\r\n }\r\n });\r\n }\r\n else {\r\n // schedule runs for SET | ADD | DELETE\r\n if (key !== void 0) {\r\n deps.push(depsMap.get(key));\r\n }\r\n // also run for iteration key on ADD | DELETE | Map.SET\r\n switch (type) {\r\n case \"add\" /* ADD */:\r\n if (!isArray(target)) {\r\n deps.push(depsMap.get(ITERATE_KEY));\r\n if (isMap(target)) {\r\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\r\n }\r\n }\r\n else if (isIntegerKey(key)) {\r\n // new index added to array -> length changes\r\n deps.push(depsMap.get('length'));\r\n }\r\n break;\r\n case \"delete\" /* DELETE */:\r\n if (!isArray(target)) {\r\n deps.push(depsMap.get(ITERATE_KEY));\r\n if (isMap(target)) {\r\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\r\n }\r\n }\r\n break;\r\n case \"set\" /* SET */:\r\n if (isMap(target)) {\r\n deps.push(depsMap.get(ITERATE_KEY));\r\n }\r\n break;\r\n }\r\n }\r\n const eventInfo = (process.env.NODE_ENV !== 'production')\r\n ? { target, type, key, newValue, oldValue, oldTarget }\r\n : undefined;\r\n if (deps.length === 1) {\r\n if (deps[0]) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n triggerEffects(deps[0], eventInfo);\r\n }\r\n else {\r\n triggerEffects(deps[0]);\r\n }\r\n }\r\n }\r\n else {\r\n const effects = [];\r\n for (const dep of deps) {\r\n if (dep) {\r\n effects.push(...dep);\r\n }\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n triggerEffects(createDep(effects), eventInfo);\r\n }\r\n else {\r\n triggerEffects(createDep(effects));\r\n }\r\n }\r\n}\r\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\r\n // spread into array for stabilization\r\n for (const effect of isArray(dep) ? dep : [...dep]) {\r\n if (effect !== activeEffect || effect.allowRecurse) {\r\n if ((process.env.NODE_ENV !== 'production') && effect.onTrigger) {\r\n effect.onTrigger(extend({ effect }, debuggerEventExtraInfo));\r\n }\r\n if (effect.scheduler) {\r\n effect.scheduler();\r\n }\r\n else {\r\n effect.run();\r\n }\r\n }\r\n }\r\n}\n\nconst isNonTrackableKeys = /*#__PURE__*/ makeMap(`__proto__,__v_isRef,__isVue`);\r\nconst builtInSymbols = new Set(Object.getOwnPropertyNames(Symbol)\r\n .map(key => Symbol[key])\r\n .filter(isSymbol));\r\nconst get = /*#__PURE__*/ createGetter();\r\nconst shallowGet = /*#__PURE__*/ createGetter(false, true);\r\nconst readonlyGet = /*#__PURE__*/ createGetter(true);\r\nconst shallowReadonlyGet = /*#__PURE__*/ createGetter(true, true);\r\nconst arrayInstrumentations = /*#__PURE__*/ createArrayInstrumentations();\r\nfunction createArrayInstrumentations() {\r\n const instrumentations = {};\r\n ['includes', 'indexOf', 'lastIndexOf'].forEach(key => {\r\n instrumentations[key] = function (...args) {\r\n const arr = toRaw(this);\r\n for (let i = 0, l = this.length; i < l; i++) {\r\n track(arr, \"get\" /* GET */, i + '');\r\n }\r\n // we run the method using the original args first (which may be reactive)\r\n const res = arr[key](...args);\r\n if (res === -1 || res === false) {\r\n // if that didn't work, run it again using raw values.\r\n return arr[key](...args.map(toRaw));\r\n }\r\n else {\r\n return res;\r\n }\r\n };\r\n });\r\n ['push', 'pop', 'shift', 'unshift', 'splice'].forEach(key => {\r\n instrumentations[key] = function (...args) {\r\n pauseTracking();\r\n const res = toRaw(this)[key].apply(this, args);\r\n resetTracking();\r\n return res;\r\n };\r\n });\r\n return instrumentations;\r\n}\r\nfunction createGetter(isReadonly = false, shallow = false) {\r\n return function get(target, key, receiver) {\r\n if (key === \"__v_isReactive\" /* IS_REACTIVE */) {\r\n return !isReadonly;\r\n }\r\n else if (key === \"__v_isReadonly\" /* IS_READONLY */) {\r\n return isReadonly;\r\n }\r\n else if (key === \"__v_raw\" /* RAW */ &&\r\n receiver ===\r\n (isReadonly\r\n ? shallow\r\n ? shallowReadonlyMap\r\n : readonlyMap\r\n : shallow\r\n ? shallowReactiveMap\r\n : reactiveMap).get(target)) {\r\n return target;\r\n }\r\n const targetIsArray = isArray(target);\r\n if (!isReadonly && targetIsArray && hasOwn(arrayInstrumentations, key)) {\r\n return Reflect.get(arrayInstrumentations, key, receiver);\r\n }\r\n const res = Reflect.get(target, key, receiver);\r\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\r\n return res;\r\n }\r\n if (!isReadonly) {\r\n track(target, \"get\" /* GET */, key);\r\n }\r\n if (shallow) {\r\n return res;\r\n }\r\n if (isRef(res)) {\r\n // ref unwrapping - does not apply for Array + integer key.\r\n const shouldUnwrap = !targetIsArray || !isIntegerKey(key);\r\n return shouldUnwrap ? res.value : res;\r\n }\r\n if (isObject(res)) {\r\n // Convert returned value into a proxy as well. we do the isObject check\r\n // here to avoid invalid value warning. Also need to lazy access readonly\r\n // and reactive here to avoid circular dependency.\r\n return isReadonly ? readonly(res) : reactive(res);\r\n }\r\n return res;\r\n };\r\n}\r\nconst set = /*#__PURE__*/ createSetter();\r\nconst shallowSet = /*#__PURE__*/ createSetter(true);\r\nfunction createSetter(shallow = false) {\r\n return function set(target, key, value, receiver) {\r\n let oldValue = target[key];\r\n if (!shallow && !isReadonly(value)) {\r\n value = toRaw(value);\r\n oldValue = toRaw(oldValue);\r\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\r\n oldValue.value = value;\r\n return true;\r\n }\r\n }\r\n const hadKey = isArray(target) && isIntegerKey(key)\r\n ? Number(key) < target.length\r\n : hasOwn(target, key);\r\n const result = Reflect.set(target, key, value, receiver);\r\n // don't trigger if target is something up in the prototype chain of original\r\n if (target === toRaw(receiver)) {\r\n if (!hadKey) {\r\n trigger(target, \"add\" /* ADD */, key, value);\r\n }\r\n else if (hasChanged(value, oldValue)) {\r\n trigger(target, \"set\" /* SET */, key, value, oldValue);\r\n }\r\n }\r\n return result;\r\n };\r\n}\r\nfunction deleteProperty(target, key) {\r\n const hadKey = hasOwn(target, key);\r\n const oldValue = target[key];\r\n const result = Reflect.deleteProperty(target, key);\r\n if (result && hadKey) {\r\n trigger(target, \"delete\" /* DELETE */, key, undefined, oldValue);\r\n }\r\n return result;\r\n}\r\nfunction has(target, key) {\r\n const result = Reflect.has(target, key);\r\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\r\n track(target, \"has\" /* HAS */, key);\r\n }\r\n return result;\r\n}\r\nfunction ownKeys(target) {\r\n track(target, \"iterate\" /* ITERATE */, isArray(target) ? 'length' : ITERATE_KEY);\r\n return Reflect.ownKeys(target);\r\n}\r\nconst mutableHandlers = {\r\n get,\r\n set,\r\n deleteProperty,\r\n has,\r\n ownKeys\r\n};\r\nconst readonlyHandlers = {\r\n get: readonlyGet,\r\n set(target, key) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n console.warn(`Set operation on key \"${String(key)}\" failed: target is readonly.`, target);\r\n }\r\n return true;\r\n },\r\n deleteProperty(target, key) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n console.warn(`Delete operation on key \"${String(key)}\" failed: target is readonly.`, target);\r\n }\r\n return true;\r\n }\r\n};\r\nconst shallowReactiveHandlers = /*#__PURE__*/ extend({}, mutableHandlers, {\r\n get: shallowGet,\r\n set: shallowSet\r\n});\r\n// Props handlers are special in the sense that it should not unwrap top-level\r\n// refs (in order to allow refs to be explicitly passed down), but should\r\n// retain the reactivity of the normal readonly object.\r\nconst shallowReadonlyHandlers = /*#__PURE__*/ extend({}, readonlyHandlers, {\r\n get: shallowReadonlyGet\r\n});\n\nconst toShallow = (value) => value;\r\nconst getProto = (v) => Reflect.getPrototypeOf(v);\r\nfunction get$1(target, key, isReadonly = false, isShallow = false) {\r\n // #1772: readonly(reactive(Map)) should return readonly + reactive version\r\n // of the value\r\n target = target[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const rawKey = toRaw(key);\r\n if (key !== rawKey) {\r\n !isReadonly && track(rawTarget, \"get\" /* GET */, key);\r\n }\r\n !isReadonly && track(rawTarget, \"get\" /* GET */, rawKey);\r\n const { has } = getProto(rawTarget);\r\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n if (has.call(rawTarget, key)) {\r\n return wrap(target.get(key));\r\n }\r\n else if (has.call(rawTarget, rawKey)) {\r\n return wrap(target.get(rawKey));\r\n }\r\n else if (target !== rawTarget) {\r\n // #3602 readonly(reactive(Map))\r\n // ensure that the nested reactive `Map` can do tracking for itself\r\n target.get(key);\r\n }\r\n}\r\nfunction has$1(key, isReadonly = false) {\r\n const target = this[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const rawKey = toRaw(key);\r\n if (key !== rawKey) {\r\n !isReadonly && track(rawTarget, \"has\" /* HAS */, key);\r\n }\r\n !isReadonly && track(rawTarget, \"has\" /* HAS */, rawKey);\r\n return key === rawKey\r\n ? target.has(key)\r\n : target.has(key) || target.has(rawKey);\r\n}\r\nfunction size(target, isReadonly = false) {\r\n target = target[\"__v_raw\" /* RAW */];\r\n !isReadonly && track(toRaw(target), \"iterate\" /* ITERATE */, ITERATE_KEY);\r\n return Reflect.get(target, 'size', target);\r\n}\r\nfunction add(value) {\r\n value = toRaw(value);\r\n const target = toRaw(this);\r\n const proto = getProto(target);\r\n const hadKey = proto.has.call(target, value);\r\n if (!hadKey) {\r\n target.add(value);\r\n trigger(target, \"add\" /* ADD */, value, value);\r\n }\r\n return this;\r\n}\r\nfunction set$1(key, value) {\r\n value = toRaw(value);\r\n const target = toRaw(this);\r\n const { has, get } = getProto(target);\r\n let hadKey = has.call(target, key);\r\n if (!hadKey) {\r\n key = toRaw(key);\r\n hadKey = has.call(target, key);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n checkIdentityKeys(target, has, key);\r\n }\r\n const oldValue = get.call(target, key);\r\n target.set(key, value);\r\n if (!hadKey) {\r\n trigger(target, \"add\" /* ADD */, key, value);\r\n }\r\n else if (hasChanged(value, oldValue)) {\r\n trigger(target, \"set\" /* SET */, key, value, oldValue);\r\n }\r\n return this;\r\n}\r\nfunction deleteEntry(key) {\r\n const target = toRaw(this);\r\n const { has, get } = getProto(target);\r\n let hadKey = has.call(target, key);\r\n if (!hadKey) {\r\n key = toRaw(key);\r\n hadKey = has.call(target, key);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n checkIdentityKeys(target, has, key);\r\n }\r\n const oldValue = get ? get.call(target, key) : undefined;\r\n // forward the operation before queueing reactions\r\n const result = target.delete(key);\r\n if (hadKey) {\r\n trigger(target, \"delete\" /* DELETE */, key, undefined, oldValue);\r\n }\r\n return result;\r\n}\r\nfunction clear() {\r\n const target = toRaw(this);\r\n const hadItems = target.size !== 0;\r\n const oldTarget = (process.env.NODE_ENV !== 'production')\r\n ? isMap(target)\r\n ? new Map(target)\r\n : new Set(target)\r\n : undefined;\r\n // forward the operation before queueing reactions\r\n const result = target.clear();\r\n if (hadItems) {\r\n trigger(target, \"clear\" /* CLEAR */, undefined, undefined, oldTarget);\r\n }\r\n return result;\r\n}\r\nfunction createForEach(isReadonly, isShallow) {\r\n return function forEach(callback, thisArg) {\r\n const observed = this;\r\n const target = observed[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n !isReadonly && track(rawTarget, \"iterate\" /* ITERATE */, ITERATE_KEY);\r\n return target.forEach((value, key) => {\r\n // important: make sure the callback is\r\n // 1. invoked with the reactive map as `this` and 3rd arg\r\n // 2. the value received should be a corresponding reactive/readonly.\r\n return callback.call(thisArg, wrap(value), wrap(key), observed);\r\n });\r\n };\r\n}\r\nfunction createIterableMethod(method, isReadonly, isShallow) {\r\n return function (...args) {\r\n const target = this[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const targetIsMap = isMap(rawTarget);\r\n const isPair = method === 'entries' || (method === Symbol.iterator && targetIsMap);\r\n const isKeyOnly = method === 'keys' && targetIsMap;\r\n const innerIterator = target[method](...args);\r\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n !isReadonly &&\r\n track(rawTarget, \"iterate\" /* ITERATE */, isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);\r\n // return a wrapped iterator which returns observed versions of the\r\n // values emitted from the real iterator\r\n return {\r\n // iterator protocol\r\n next() {\r\n const { value, done } = innerIterator.next();\r\n return done\r\n ? { value, done }\r\n : {\r\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\r\n done\r\n };\r\n },\r\n // iterable protocol\r\n [Symbol.iterator]() {\r\n return this;\r\n }\r\n };\r\n };\r\n}\r\nfunction createReadonlyMethod(type) {\r\n return function (...args) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\r\n console.warn(`${capitalize(type)} operation ${key}failed: target is readonly.`, toRaw(this));\r\n }\r\n return type === \"delete\" /* DELETE */ ? false : this;\r\n };\r\n}\r\nfunction createInstrumentations() {\r\n const mutableInstrumentations = {\r\n get(key) {\r\n return get$1(this, key);\r\n },\r\n get size() {\r\n return size(this);\r\n },\r\n has: has$1,\r\n add,\r\n set: set$1,\r\n delete: deleteEntry,\r\n clear,\r\n forEach: createForEach(false, false)\r\n };\r\n const shallowInstrumentations = {\r\n get(key) {\r\n return get$1(this, key, false, true);\r\n },\r\n get size() {\r\n return size(this);\r\n },\r\n has: has$1,\r\n add,\r\n set: set$1,\r\n delete: deleteEntry,\r\n clear,\r\n forEach: createForEach(false, true)\r\n };\r\n const readonlyInstrumentations = {\r\n get(key) {\r\n return get$1(this, key, true);\r\n },\r\n get size() {\r\n return size(this, true);\r\n },\r\n has(key) {\r\n return has$1.call(this, key, true);\r\n },\r\n add: createReadonlyMethod(\"add\" /* ADD */),\r\n set: createReadonlyMethod(\"set\" /* SET */),\r\n delete: createReadonlyMethod(\"delete\" /* DELETE */),\r\n clear: createReadonlyMethod(\"clear\" /* CLEAR */),\r\n forEach: createForEach(true, false)\r\n };\r\n const shallowReadonlyInstrumentations = {\r\n get(key) {\r\n return get$1(this, key, true, true);\r\n },\r\n get size() {\r\n return size(this, true);\r\n },\r\n has(key) {\r\n return has$1.call(this, key, true);\r\n },\r\n add: createReadonlyMethod(\"add\" /* ADD */),\r\n set: createReadonlyMethod(\"set\" /* SET */),\r\n delete: createReadonlyMethod(\"delete\" /* DELETE */),\r\n clear: createReadonlyMethod(\"clear\" /* CLEAR */),\r\n forEach: createForEach(true, true)\r\n };\r\n const iteratorMethods = ['keys', 'values', 'entries', Symbol.iterator];\r\n iteratorMethods.forEach(method => {\r\n mutableInstrumentations[method] = createIterableMethod(method, false, false);\r\n readonlyInstrumentations[method] = createIterableMethod(method, true, false);\r\n shallowInstrumentations[method] = createIterableMethod(method, false, true);\r\n shallowReadonlyInstrumentations[method] = createIterableMethod(method, true, true);\r\n });\r\n return [\r\n mutableInstrumentations,\r\n readonlyInstrumentations,\r\n shallowInstrumentations,\r\n shallowReadonlyInstrumentations\r\n ];\r\n}\r\nconst [mutableInstrumentations, readonlyInstrumentations, shallowInstrumentations, shallowReadonlyInstrumentations] = /* #__PURE__*/ createInstrumentations();\r\nfunction createInstrumentationGetter(isReadonly, shallow) {\r\n const instrumentations = shallow\r\n ? isReadonly\r\n ? shallowReadonlyInstrumentations\r\n : shallowInstrumentations\r\n : isReadonly\r\n ? readonlyInstrumentations\r\n : mutableInstrumentations;\r\n return (target, key, receiver) => {\r\n if (key === \"__v_isReactive\" /* IS_REACTIVE */) {\r\n return !isReadonly;\r\n }\r\n else if (key === \"__v_isReadonly\" /* IS_READONLY */) {\r\n return isReadonly;\r\n }\r\n else if (key === \"__v_raw\" /* RAW */) {\r\n return target;\r\n }\r\n return Reflect.get(hasOwn(instrumentations, key) && key in target\r\n ? instrumentations\r\n : target, key, receiver);\r\n };\r\n}\r\nconst mutableCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(false, false)\r\n};\r\nconst shallowCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(false, true)\r\n};\r\nconst readonlyCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(true, false)\r\n};\r\nconst shallowReadonlyCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(true, true)\r\n};\r\nfunction checkIdentityKeys(target, has, key) {\r\n const rawKey = toRaw(key);\r\n if (rawKey !== key && has.call(target, rawKey)) {\r\n const type = toRawType(target);\r\n console.warn(`Reactive ${type} contains both the raw and reactive ` +\r\n `versions of the same object${type === `Map` ? ` as keys` : ``}, ` +\r\n `which can lead to inconsistencies. ` +\r\n `Avoid differentiating between the raw and reactive versions ` +\r\n `of an object and only use the reactive version if possible.`);\r\n }\r\n}\n\nconst reactiveMap = new WeakMap();\r\nconst shallowReactiveMap = new WeakMap();\r\nconst readonlyMap = new WeakMap();\r\nconst shallowReadonlyMap = new WeakMap();\r\nfunction targetTypeMap(rawType) {\r\n switch (rawType) {\r\n case 'Object':\r\n case 'Array':\r\n return 1 /* COMMON */;\r\n case 'Map':\r\n case 'Set':\r\n case 'WeakMap':\r\n case 'WeakSet':\r\n return 2 /* COLLECTION */;\r\n default:\r\n return 0 /* INVALID */;\r\n }\r\n}\r\nfunction getTargetType(value) {\r\n return value[\"__v_skip\" /* SKIP */] || !Object.isExtensible(value)\r\n ? 0 /* INVALID */\r\n : targetTypeMap(toRawType(value));\r\n}\r\nfunction reactive(target) {\r\n // if trying to observe a readonly proxy, return the readonly version.\r\n if (target && target[\"__v_isReadonly\" /* IS_READONLY */]) {\r\n return target;\r\n }\r\n return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);\r\n}\r\n/**\r\n * Return a shallowly-reactive copy of the original object, where only the root\r\n * level properties are reactive. It also does not auto-unwrap refs (even at the\r\n * root level).\r\n */\r\nfunction shallowReactive(target) {\r\n return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);\r\n}\r\n/**\r\n * Creates a readonly copy of the original object. Note the returned copy is not\r\n * made reactive, but `readonly` can be called on an already reactive object.\r\n */\r\nfunction readonly(target) {\r\n return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);\r\n}\r\n/**\r\n * Returns a reactive-copy of the original object, where only the root level\r\n * properties are readonly, and does NOT unwrap refs nor recursively convert\r\n * returned properties.\r\n * This is used for creating the props proxy object for stateful components.\r\n */\r\nfunction shallowReadonly(target) {\r\n return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);\r\n}\r\nfunction createReactiveObject(target, isReadonly, baseHandlers, collectionHandlers, proxyMap) {\r\n if (!isObject(target)) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n console.warn(`value cannot be made reactive: ${String(target)}`);\r\n }\r\n return target;\r\n }\r\n // target is already a Proxy, return it.\r\n // exception: calling readonly() on a reactive object\r\n if (target[\"__v_raw\" /* RAW */] &&\r\n !(isReadonly && target[\"__v_isReactive\" /* IS_REACTIVE */])) {\r\n return target;\r\n }\r\n // target already has corresponding Proxy\r\n const existingProxy = proxyMap.get(target);\r\n if (existingProxy) {\r\n return existingProxy;\r\n }\r\n // only a whitelist of value types can be observed.\r\n const targetType = getTargetType(target);\r\n if (targetType === 0 /* INVALID */) {\r\n return target;\r\n }\r\n const proxy = new Proxy(target, targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers);\r\n proxyMap.set(target, proxy);\r\n return proxy;\r\n}\r\nfunction isReactive(value) {\r\n if (isReadonly(value)) {\r\n return isReactive(value[\"__v_raw\" /* RAW */]);\r\n }\r\n return !!(value && value[\"__v_isReactive\" /* IS_REACTIVE */]);\r\n}\r\nfunction isReadonly(value) {\r\n return !!(value && value[\"__v_isReadonly\" /* IS_READONLY */]);\r\n}\r\nfunction isProxy(value) {\r\n return isReactive(value) || isReadonly(value);\r\n}\r\nfunction toRaw(observed) {\r\n const raw = observed && observed[\"__v_raw\" /* RAW */];\r\n return raw ? toRaw(raw) : observed;\r\n}\r\nfunction markRaw(value) {\r\n def(value, \"__v_skip\" /* SKIP */, true);\r\n return value;\r\n}\r\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\r\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nfunction trackRefValue(ref) {\r\n if (isTracking()) {\r\n ref = toRaw(ref);\r\n if (!ref.dep) {\r\n ref.dep = createDep();\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n trackEffects(ref.dep, {\r\n target: ref,\r\n type: \"get\" /* GET */,\r\n key: 'value'\r\n });\r\n }\r\n else {\r\n trackEffects(ref.dep);\r\n }\r\n }\r\n}\r\nfunction triggerRefValue(ref, newVal) {\r\n ref = toRaw(ref);\r\n if (ref.dep) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n triggerEffects(ref.dep, {\r\n target: ref,\r\n type: \"set\" /* SET */,\r\n key: 'value',\r\n newValue: newVal\r\n });\r\n }\r\n else {\r\n triggerEffects(ref.dep);\r\n }\r\n }\r\n}\r\nfunction isRef(r) {\r\n return Boolean(r && r.__v_isRef === true);\r\n}\r\nfunction ref(value) {\r\n return createRef(value, false);\r\n}\r\nfunction shallowRef(value) {\r\n return createRef(value, true);\r\n}\r\nfunction createRef(rawValue, shallow) {\r\n if (isRef(rawValue)) {\r\n return rawValue;\r\n }\r\n return new RefImpl(rawValue, shallow);\r\n}\r\nclass RefImpl {\r\n constructor(value, _shallow) {\r\n this._shallow = _shallow;\r\n this.dep = undefined;\r\n this.__v_isRef = true;\r\n this._rawValue = _shallow ? value : toRaw(value);\r\n this._value = _shallow ? value : toReactive(value);\r\n }\r\n get value() {\r\n trackRefValue(this);\r\n return this._value;\r\n }\r\n set value(newVal) {\r\n newVal = this._shallow ? newVal : toRaw(newVal);\r\n if (hasChanged(newVal, this._rawValue)) {\r\n this._rawValue = newVal;\r\n this._value = this._shallow ? newVal : toReactive(newVal);\r\n triggerRefValue(this, newVal);\r\n }\r\n }\r\n}\r\nfunction triggerRef(ref) {\r\n triggerRefValue(ref, (process.env.NODE_ENV !== 'production') ? ref.value : void 0);\r\n}\r\nfunction unref(ref) {\r\n return isRef(ref) ? ref.value : ref;\r\n}\r\nconst shallowUnwrapHandlers = {\r\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\r\n set: (target, key, value, receiver) => {\r\n const oldValue = target[key];\r\n if (isRef(oldValue) && !isRef(value)) {\r\n oldValue.value = value;\r\n return true;\r\n }\r\n else {\r\n return Reflect.set(target, key, value, receiver);\r\n }\r\n }\r\n};\r\nfunction proxyRefs(objectWithRefs) {\r\n return isReactive(objectWithRefs)\r\n ? objectWithRefs\r\n : new Proxy(objectWithRefs, shallowUnwrapHandlers);\r\n}\r\nclass CustomRefImpl {\r\n constructor(factory) {\r\n this.dep = undefined;\r\n this.__v_isRef = true;\r\n const { get, set } = factory(() => trackRefValue(this), () => triggerRefValue(this));\r\n this._get = get;\r\n this._set = set;\r\n }\r\n get value() {\r\n return this._get();\r\n }\r\n set value(newVal) {\r\n this._set(newVal);\r\n }\r\n}\r\nfunction customRef(factory) {\r\n return new CustomRefImpl(factory);\r\n}\r\nfunction toRefs(object) {\r\n if ((process.env.NODE_ENV !== 'production') && !isProxy(object)) {\r\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\r\n }\r\n const ret = isArray(object) ? new Array(object.length) : {};\r\n for (const key in object) {\r\n ret[key] = toRef(object, key);\r\n }\r\n return ret;\r\n}\r\nclass ObjectRefImpl {\r\n constructor(_object, _key, _defaultValue) {\r\n this._object = _object;\r\n this._key = _key;\r\n this._defaultValue = _defaultValue;\r\n this.__v_isRef = true;\r\n }\r\n get value() {\r\n const val = this._object[this._key];\r\n return val === undefined ? this._defaultValue : val;\r\n }\r\n set value(newVal) {\r\n this._object[this._key] = newVal;\r\n }\r\n}\r\nfunction toRef(object, key, defaultValue) {\r\n const val = object[key];\r\n return isRef(val)\r\n ? val\r\n : new ObjectRefImpl(object, key, defaultValue);\r\n}\n\nclass ComputedRefImpl {\r\n constructor(getter, _setter, isReadonly) {\r\n this._setter = _setter;\r\n this.dep = undefined;\r\n this._dirty = true;\r\n this.__v_isRef = true;\r\n this.effect = new ReactiveEffect(getter, () => {\r\n if (!this._dirty) {\r\n this._dirty = true;\r\n triggerRefValue(this);\r\n }\r\n });\r\n this[\"__v_isReadonly\" /* IS_READONLY */] = isReadonly;\r\n }\r\n get value() {\r\n // the computed ref may get wrapped by other proxies e.g. readonly() #3376\r\n const self = toRaw(this);\r\n trackRefValue(self);\r\n if (self._dirty) {\r\n self._dirty = false;\r\n self._value = self.effect.run();\r\n }\r\n return self._value;\r\n }\r\n set value(newValue) {\r\n this._setter(newValue);\r\n }\r\n}\r\nfunction computed(getterOrOptions, debugOptions) {\r\n let getter;\r\n let setter;\r\n const onlyGetter = isFunction(getterOrOptions);\r\n if (onlyGetter) {\r\n getter = getterOrOptions;\r\n setter = (process.env.NODE_ENV !== 'production')\r\n ? () => {\r\n console.warn('Write operation failed: computed value is readonly');\r\n }\r\n : NOOP;\r\n }\r\n else {\r\n getter = getterOrOptions.get;\r\n setter = getterOrOptions.set;\r\n }\r\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter);\r\n if ((process.env.NODE_ENV !== 'production') && debugOptions) {\r\n cRef.effect.onTrack = debugOptions.onTrack;\r\n cRef.effect.onTrigger = debugOptions.onTrigger;\r\n }\r\n return cRef;\r\n}\n\nvar _a;\r\nconst tick = Promise.resolve();\r\nconst queue = [];\r\nlet queued = false;\r\nconst scheduler = (fn) => {\r\n queue.push(fn);\r\n if (!queued) {\r\n queued = true;\r\n tick.then(flush);\r\n }\r\n};\r\nconst flush = () => {\r\n for (let i = 0; i < queue.length; i++) {\r\n queue[i]();\r\n }\r\n queue.length = 0;\r\n queued = false;\r\n};\r\nclass DeferredComputedRefImpl {\r\n constructor(getter) {\r\n this.dep = undefined;\r\n this._dirty = true;\r\n this.__v_isRef = true;\r\n this[_a] = true;\r\n let compareTarget;\r\n let hasCompareTarget = false;\r\n let scheduled = false;\r\n this.effect = new ReactiveEffect(getter, (computedTrigger) => {\r\n if (this.dep) {\r\n if (computedTrigger) {\r\n compareTarget = this._value;\r\n hasCompareTarget = true;\r\n }\r\n else if (!scheduled) {\r\n const valueToCompare = hasCompareTarget ? compareTarget : this._value;\r\n scheduled = true;\r\n hasCompareTarget = false;\r\n scheduler(() => {\r\n if (this.effect.active && this._get() !== valueToCompare) {\r\n triggerRefValue(this);\r\n }\r\n scheduled = false;\r\n });\r\n }\r\n // chained upstream computeds are notified synchronously to ensure\r\n // value invalidation in case of sync access; normal effects are\r\n // deferred to be triggered in scheduler.\r\n for (const e of this.dep) {\r\n if (e.computed) {\r\n e.scheduler(true /* computedTrigger */);\r\n }\r\n }\r\n }\r\n this._dirty = true;\r\n });\r\n this.effect.computed = true;\r\n }\r\n _get() {\r\n if (this._dirty) {\r\n this._dirty = false;\r\n return (this._value = this.effect.run());\r\n }\r\n return this._value;\r\n }\r\n get value() {\r\n trackRefValue(this);\r\n // the computed ref may get wrapped by other proxies e.g. readonly() #3376\r\n return toRaw(this)._get();\r\n }\r\n}\r\n_a = \"__v_isReadonly\" /* IS_READONLY */;\r\nfunction deferredComputed(getter) {\r\n return new DeferredComputedRefImpl(getter);\r\n}\n\nexport { EffectScope, ITERATE_KEY, ReactiveEffect, computed, customRef, deferredComputed, effect, effectScope, enableTracking, getCurrentScope, isProxy, isReactive, isReadonly, isRef, markRaw, onScopeDispose, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, track, trigger, triggerRef, unref };\n","import { toRaw, ref, pauseTracking, resetTracking, reactive, computed, isRef, shallowReactive, trigger, ReactiveEffect, isProxy, shallowReadonly, track, EffectScope, markRaw, proxyRefs, isReactive, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, computed, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, triggerRef, unref } from '@vue/reactivity';\nimport { getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, isFunction, toNumber, hyphenate, camelize, isArray, isOn, hasOwn, isModelListener, isObject, remove, isString, invokeArrayFns, isPromise, NOOP, def, isReservedProp, EMPTY_ARR, capitalize, toRawType, makeMap, NO, normalizeClass, normalizeStyle, isGloballyWhitelisted, hasChanged, isSet, isMap, isPlainObject } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\n/* eslint-disable no-restricted-globals */\r\nlet isHmrUpdating = false;\r\nconst hmrDirtyComponents = new Set();\r\n// Expose the HMR runtime on the global object\r\n// This makes it entirely tree-shakable without polluting the exports and makes\r\n// it easier to be used in toolings like vue-loader\r\n// Note: for a component to be eligible for HMR it also needs the __hmrId option\r\n// to be set so that its instances can be registered / removed.\r\nif ((process.env.NODE_ENV !== 'production')) {\r\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\r\n createRecord: tryWrap(createRecord),\r\n rerender: tryWrap(rerender),\r\n reload: tryWrap(reload)\r\n };\r\n}\r\nconst map = new Map();\r\nfunction registerHMR(instance) {\r\n const id = instance.type.__hmrId;\r\n let record = map.get(id);\r\n if (!record) {\r\n createRecord(id, instance.type);\r\n record = map.get(id);\r\n }\r\n record.instances.add(instance);\r\n}\r\nfunction unregisterHMR(instance) {\r\n map.get(instance.type.__hmrId).instances.delete(instance);\r\n}\r\nfunction createRecord(id, initialDef) {\r\n if (map.has(id)) {\r\n return false;\r\n }\r\n map.set(id, {\r\n initialDef: normalizeClassComponent(initialDef),\r\n instances: new Set()\r\n });\r\n return true;\r\n}\r\nfunction normalizeClassComponent(component) {\r\n return isClassComponent(component) ? component.__vccOpts : component;\r\n}\r\nfunction rerender(id, newRender) {\r\n const record = map.get(id);\r\n if (!record) {\r\n return;\r\n }\r\n // update initial record (for not-yet-rendered component)\r\n record.initialDef.render = newRender;\r\n [...record.instances].forEach(instance => {\r\n if (newRender) {\r\n instance.render = newRender;\r\n normalizeClassComponent(instance.type).render = newRender;\r\n }\r\n instance.renderCache = [];\r\n // this flag forces child components with slot content to update\r\n isHmrUpdating = true;\r\n instance.update();\r\n isHmrUpdating = false;\r\n });\r\n}\r\nfunction reload(id, newComp) {\r\n const record = map.get(id);\r\n if (!record)\r\n return;\r\n newComp = normalizeClassComponent(newComp);\r\n // update initial def (for not-yet-rendered components)\r\n updateComponentDef(record.initialDef, newComp);\r\n // create a snapshot which avoids the set being mutated during updates\r\n const instances = [...record.instances];\r\n for (const instance of instances) {\r\n const oldComp = normalizeClassComponent(instance.type);\r\n if (!hmrDirtyComponents.has(oldComp)) {\r\n // 1. Update existing comp definition to match new one\r\n if (oldComp !== record.initialDef) {\r\n updateComponentDef(oldComp, newComp);\r\n }\r\n // 2. mark definition dirty. This forces the renderer to replace the\r\n // component on patch.\r\n hmrDirtyComponents.add(oldComp);\r\n }\r\n // 3. invalidate options resolution cache\r\n instance.appContext.optionsCache.delete(instance.type);\r\n // 4. actually update\r\n if (instance.ceReload) {\r\n // custom element\r\n hmrDirtyComponents.add(oldComp);\r\n instance.ceReload(newComp.styles);\r\n hmrDirtyComponents.delete(oldComp);\r\n }\r\n else if (instance.parent) {\r\n // 4. Force the parent instance to re-render. This will cause all updated\r\n // components to be unmounted and re-mounted. Queue the update so that we\r\n // don't end up forcing the same parent to re-render multiple times.\r\n queueJob(instance.parent.update);\r\n // instance is the inner component of an async custom element\r\n // invoke to reset styles\r\n if (instance.parent.type.__asyncLoader &&\r\n instance.parent.ceReload) {\r\n instance.parent.ceReload(newComp.styles);\r\n }\r\n }\r\n else if (instance.appContext.reload) {\r\n // root instance mounted via createApp() has a reload method\r\n instance.appContext.reload();\r\n }\r\n else if (typeof window !== 'undefined') {\r\n // root instance inside tree created via raw render(). Force reload.\r\n window.location.reload();\r\n }\r\n else {\r\n console.warn('[HMR] Root or manually mounted instance modified. Full reload required.');\r\n }\r\n }\r\n // 5. make sure to cleanup dirty hmr components after update\r\n queuePostFlushCb(() => {\r\n for (const instance of instances) {\r\n hmrDirtyComponents.delete(normalizeClassComponent(instance.type));\r\n }\r\n });\r\n}\r\nfunction updateComponentDef(oldComp, newComp) {\r\n extend(oldComp, newComp);\r\n for (const key in oldComp) {\r\n if (key !== '__file' && !(key in newComp)) {\r\n delete oldComp[key];\r\n }\r\n }\r\n}\r\nfunction tryWrap(fn) {\r\n return (id, arg) => {\r\n try {\r\n return fn(id, arg);\r\n }\r\n catch (e) {\r\n console.error(e);\r\n console.warn(`[HMR] Something went wrong during Vue component hot-reload. ` +\r\n `Full reload required.`);\r\n }\r\n };\r\n}\n\nlet devtools;\r\nlet buffer = [];\r\nlet devtoolsNotInstalled = false;\r\nfunction emit(event, ...args) {\r\n if (devtools) {\r\n devtools.emit(event, ...args);\r\n }\r\n else if (!devtoolsNotInstalled) {\r\n buffer.push({ event, args });\r\n }\r\n}\r\nfunction setDevtoolsHook(hook, target) {\r\n var _a, _b;\r\n devtools = hook;\r\n if (devtools) {\r\n devtools.enabled = true;\r\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\r\n buffer = [];\r\n }\r\n else if (\r\n // handle late devtools injection - only do this if we are in an actual\r\n // browser environment to avoid the timer handle stalling test runner exit\r\n // (#4815)\r\n // eslint-disable-next-line no-restricted-globals\r\n typeof window !== 'undefined' &&\r\n // some envs mock window but not fully\r\n window.HTMLElement &&\r\n // also exclude jsdom\r\n !((_b = (_a = window.navigator) === null || _a === void 0 ? void 0 : _a.userAgent) === null || _b === void 0 ? void 0 : _b.includes('jsdom'))) {\r\n const replay = (target.__VUE_DEVTOOLS_HOOK_REPLAY__ =\r\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []);\r\n replay.push((newHook) => {\r\n setDevtoolsHook(newHook, target);\r\n });\r\n // clear buffer after 3s - the user probably doesn't have devtools installed\r\n // at all, and keeping the buffer will cause memory leaks (#4738)\r\n setTimeout(() => {\r\n if (!devtools) {\r\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\r\n devtoolsNotInstalled = true;\r\n buffer = [];\r\n }\r\n }, 3000);\r\n }\r\n else {\r\n // non-browser env, assume not installed\r\n devtoolsNotInstalled = true;\r\n buffer = [];\r\n }\r\n}\r\nfunction devtoolsInitApp(app, version) {\r\n emit(\"app:init\" /* APP_INIT */, app, version, {\r\n Fragment,\r\n Text,\r\n Comment,\r\n Static\r\n });\r\n}\r\nfunction devtoolsUnmountApp(app) {\r\n emit(\"app:unmount\" /* APP_UNMOUNT */, app);\r\n}\r\nconst devtoolsComponentAdded = /*#__PURE__*/ createDevtoolsComponentHook(\"component:added\" /* COMPONENT_ADDED */);\r\nconst devtoolsComponentUpdated = \r\n/*#__PURE__*/ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\r\nconst devtoolsComponentRemoved = \r\n/*#__PURE__*/ createDevtoolsComponentHook(\"component:removed\" /* COMPONENT_REMOVED */);\r\nfunction createDevtoolsComponentHook(hook) {\r\n return (component) => {\r\n emit(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : undefined, component);\r\n };\r\n}\r\nconst devtoolsPerfStart = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:start\" /* PERFORMANCE_START */);\r\nconst devtoolsPerfEnd = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:end\" /* PERFORMANCE_END */);\r\nfunction createDevtoolsPerformanceHook(hook) {\r\n return (component, type, time) => {\r\n emit(hook, component.appContext.app, component.uid, component, type, time);\r\n };\r\n}\r\nfunction devtoolsComponentEmit(component, event, params) {\r\n emit(\"component:emit\" /* COMPONENT_EMIT */, component.appContext.app, component, event, params);\r\n}\n\nfunction emit$1(instance, event, ...rawArgs) {\r\n const props = instance.vnode.props || EMPTY_OBJ;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const { emitsOptions, propsOptions: [propsOptions] } = instance;\r\n if (emitsOptions) {\r\n if (!(event in emitsOptions) &&\r\n !(false )) {\r\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\r\n warn(`Component emitted event \"${event}\" but it is neither declared in ` +\r\n `the emits option nor as an \"${toHandlerKey(event)}\" prop.`);\r\n }\r\n }\r\n else {\r\n const validator = emitsOptions[event];\r\n if (isFunction(validator)) {\r\n const isValid = validator(...rawArgs);\r\n if (!isValid) {\r\n warn(`Invalid event arguments: event validation failed for event \"${event}\".`);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n let args = rawArgs;\r\n const isModelListener = event.startsWith('update:');\r\n // for v-model update:xxx events, apply modifiers on args\r\n const modelArg = isModelListener && event.slice(7);\r\n if (modelArg && modelArg in props) {\r\n const modifiersKey = `${modelArg === 'modelValue' ? 'model' : modelArg}Modifiers`;\r\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\r\n if (trim) {\r\n args = rawArgs.map(a => a.trim());\r\n }\r\n else if (number) {\r\n args = rawArgs.map(toNumber);\r\n }\r\n }\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n devtoolsComponentEmit(instance, event, args);\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const lowerCaseEvent = event.toLowerCase();\r\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\r\n warn(`Event \"${lowerCaseEvent}\" is emitted in component ` +\r\n `${formatComponentName(instance, instance.type)} but the handler is registered for \"${event}\". ` +\r\n `Note that HTML attributes are case-insensitive and you cannot use ` +\r\n `v-on to listen to camelCase events when using in-DOM templates. ` +\r\n `You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`);\r\n }\r\n }\r\n let handlerName;\r\n let handler = props[(handlerName = toHandlerKey(event))] ||\r\n // also try camelCase event handler (#2249)\r\n props[(handlerName = toHandlerKey(camelize(event)))];\r\n // for v-model update:xxx events, also trigger kebab-case equivalent\r\n // for props passed via kebab-case\r\n if (!handler && isModelListener) {\r\n handler = props[(handlerName = toHandlerKey(hyphenate(event)))];\r\n }\r\n if (handler) {\r\n callWithAsyncErrorHandling(handler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);\r\n }\r\n const onceHandler = props[handlerName + `Once`];\r\n if (onceHandler) {\r\n if (!instance.emitted) {\r\n instance.emitted = {};\r\n }\r\n else if (instance.emitted[handlerName]) {\r\n return;\r\n }\r\n instance.emitted[handlerName] = true;\r\n callWithAsyncErrorHandling(onceHandler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);\r\n }\r\n}\r\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\r\n const cache = appContext.emitsCache;\r\n const cached = cache.get(comp);\r\n if (cached !== undefined) {\r\n return cached;\r\n }\r\n const raw = comp.emits;\r\n let normalized = {};\r\n // apply mixin/extends props\r\n let hasExtends = false;\r\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\r\n const extendEmits = (raw) => {\r\n const normalizedFromExtend = normalizeEmitsOptions(raw, appContext, true);\r\n if (normalizedFromExtend) {\r\n hasExtends = true;\r\n extend(normalized, normalizedFromExtend);\r\n }\r\n };\r\n if (!asMixin && appContext.mixins.length) {\r\n appContext.mixins.forEach(extendEmits);\r\n }\r\n if (comp.extends) {\r\n extendEmits(comp.extends);\r\n }\r\n if (comp.mixins) {\r\n comp.mixins.forEach(extendEmits);\r\n }\r\n }\r\n if (!raw && !hasExtends) {\r\n cache.set(comp, null);\r\n return null;\r\n }\r\n if (isArray(raw)) {\r\n raw.forEach(key => (normalized[key] = null));\r\n }\r\n else {\r\n extend(normalized, raw);\r\n }\r\n cache.set(comp, normalized);\r\n return normalized;\r\n}\r\n// Check if an incoming prop key is a declared emit event listener.\r\n// e.g. With `emits: { click: null }`, props named `onClick` and `onclick` are\r\n// both considered matched listeners.\r\nfunction isEmitListener(options, key) {\r\n if (!options || !isOn(key)) {\r\n return false;\r\n }\r\n key = key.slice(2).replace(/Once$/, '');\r\n return (hasOwn(options, key[0].toLowerCase() + key.slice(1)) ||\r\n hasOwn(options, hyphenate(key)) ||\r\n hasOwn(options, key));\r\n}\n\n/**\r\n * mark the current rendering instance for asset resolution (e.g.\r\n * resolveComponent, resolveDirective) during render\r\n */\r\nlet currentRenderingInstance = null;\r\nlet currentScopeId = null;\r\n/**\r\n * Note: rendering calls maybe nested. The function returns the parent rendering\r\n * instance if present, which should be restored after the render is done:\r\n *\r\n * ```js\r\n * const prev = setCurrentRenderingInstance(i)\r\n * // ...render\r\n * setCurrentRenderingInstance(prev)\r\n * ```\r\n */\r\nfunction setCurrentRenderingInstance(instance) {\r\n const prev = currentRenderingInstance;\r\n currentRenderingInstance = instance;\r\n currentScopeId = (instance && instance.type.__scopeId) || null;\r\n return prev;\r\n}\r\n/**\r\n * Set scope id when creating hoisted vnodes.\r\n * @private compiler helper\r\n */\r\nfunction pushScopeId(id) {\r\n currentScopeId = id;\r\n}\r\n/**\r\n * Technically we no longer need this after 3.0.8 but we need to keep the same\r\n * API for backwards compat w/ code generated by compilers.\r\n * @private\r\n */\r\nfunction popScopeId() {\r\n currentScopeId = null;\r\n}\r\n/**\r\n * Only for backwards compat\r\n * @private\r\n */\r\nconst withScopeId = (_id) => withCtx;\r\n/**\r\n * Wrap a slot function to memoize current rendering instance\r\n * @private compiler helper\r\n */\r\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot // false only\r\n) {\r\n if (!ctx)\r\n return fn;\r\n // already normalized\r\n if (fn._n) {\r\n return fn;\r\n }\r\n const renderFnWithContext = (...args) => {\r\n // If a user calls a compiled slot inside a template expression (#1745), it\r\n // can mess up block tracking, so by default we disable block tracking and\r\n // force bail out when invoking a compiled slot (indicated by the ._d flag).\r\n // This isn't necessary if rendering a compiled ``, so we flip the\r\n // ._d flag off when invoking the wrapped fn inside `renderSlot`.\r\n if (renderFnWithContext._d) {\r\n setBlockTracking(-1);\r\n }\r\n const prevInstance = setCurrentRenderingInstance(ctx);\r\n const res = fn(...args);\r\n setCurrentRenderingInstance(prevInstance);\r\n if (renderFnWithContext._d) {\r\n setBlockTracking(1);\r\n }\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n devtoolsComponentUpdated(ctx);\r\n }\r\n return res;\r\n };\r\n // mark normalized to avoid duplicated wrapping\r\n renderFnWithContext._n = true;\r\n // mark this as compiled by default\r\n // this is used in vnode.ts -> normalizeChildren() to set the slot\r\n // rendering flag.\r\n renderFnWithContext._c = true;\r\n // disable block tracking by default\r\n renderFnWithContext._d = true;\r\n return renderFnWithContext;\r\n}\n\n/**\r\n * dev only flag to track whether $attrs was used during render.\r\n * If $attrs was used during render then the warning for failed attrs\r\n * fallthrough can be suppressed.\r\n */\r\nlet accessedAttrs = false;\r\nfunction markAttrsAccessed() {\r\n accessedAttrs = true;\r\n}\r\nfunction renderComponentRoot(instance) {\r\n const { type: Component, vnode, proxy, withProxy, props, propsOptions: [propsOptions], slots, attrs, emit, render, renderCache, data, setupState, ctx, inheritAttrs } = instance;\r\n let result;\r\n let fallthroughAttrs;\r\n const prev = setCurrentRenderingInstance(instance);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n accessedAttrs = false;\r\n }\r\n try {\r\n if (vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */) {\r\n // withProxy is a proxy with a different `has` trap only for\r\n // runtime-compiled render functions using `with` block.\r\n const proxyToUse = withProxy || proxy;\r\n result = normalizeVNode(render.call(proxyToUse, proxyToUse, renderCache, props, setupState, data, ctx));\r\n fallthroughAttrs = attrs;\r\n }\r\n else {\r\n // functional\r\n const render = Component;\r\n // in dev, mark attrs accessed if optional props (attrs === props)\r\n if ((process.env.NODE_ENV !== 'production') && attrs === props) {\r\n markAttrsAccessed();\r\n }\r\n result = normalizeVNode(render.length > 1\r\n ? render(props, (process.env.NODE_ENV !== 'production')\r\n ? {\r\n get attrs() {\r\n markAttrsAccessed();\r\n return attrs;\r\n },\r\n slots,\r\n emit\r\n }\r\n : { attrs, slots, emit })\r\n : render(props, null /* we know it doesn't need it */));\r\n fallthroughAttrs = Component.props\r\n ? attrs\r\n : getFunctionalFallthrough(attrs);\r\n }\r\n }\r\n catch (err) {\r\n blockStack.length = 0;\r\n handleError(err, instance, 1 /* RENDER_FUNCTION */);\r\n result = createVNode(Comment);\r\n }\r\n // attr merging\r\n // in dev mode, comments are preserved, and it's possible for a template\r\n // to have comments along side the root element which makes it a fragment\r\n let root = result;\r\n let setRoot = undefined;\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n result.patchFlag > 0 &&\r\n result.patchFlag & 2048 /* DEV_ROOT_FRAGMENT */) {\r\n [root, setRoot] = getChildRoot(result);\r\n }\r\n if (fallthroughAttrs && inheritAttrs !== false) {\r\n const keys = Object.keys(fallthroughAttrs);\r\n const { shapeFlag } = root;\r\n if (keys.length) {\r\n if (shapeFlag & (1 /* ELEMENT */ | 6 /* COMPONENT */)) {\r\n if (propsOptions && keys.some(isModelListener)) {\r\n // If a v-model listener (onUpdate:xxx) has a corresponding declared\r\n // prop, it indicates this component expects to handle v-model and\r\n // it should not fallthrough.\r\n // related: #1543, #1643, #1989\r\n fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);\r\n }\r\n root = cloneVNode(root, fallthroughAttrs);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production') && !accessedAttrs && root.type !== Comment) {\r\n const allAttrs = Object.keys(attrs);\r\n const eventAttrs = [];\r\n const extraAttrs = [];\r\n for (let i = 0, l = allAttrs.length; i < l; i++) {\r\n const key = allAttrs[i];\r\n if (isOn(key)) {\r\n // ignore v-model handlers when they fail to fallthrough\r\n if (!isModelListener(key)) {\r\n // remove `on`, lowercase first letter to reflect event casing\r\n // accurately\r\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\r\n }\r\n }\r\n else {\r\n extraAttrs.push(key);\r\n }\r\n }\r\n if (extraAttrs.length) {\r\n warn(`Extraneous non-props attributes (` +\r\n `${extraAttrs.join(', ')}) ` +\r\n `were passed to component but could not be automatically inherited ` +\r\n `because component renders fragment or text root nodes.`);\r\n }\r\n if (eventAttrs.length) {\r\n warn(`Extraneous non-emits event listeners (` +\r\n `${eventAttrs.join(', ')}) ` +\r\n `were passed to component but could not be automatically inherited ` +\r\n `because component renders fragment or text root nodes. ` +\r\n `If the listener is intended to be a component custom event listener only, ` +\r\n `declare it using the \"emits\" option.`);\r\n }\r\n }\r\n }\r\n }\r\n // inherit directives\r\n if (vnode.dirs) {\r\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\r\n warn(`Runtime directive used on component with non-element root node. ` +\r\n `The directives will not function as intended.`);\r\n }\r\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\r\n }\r\n // inherit transition data\r\n if (vnode.transition) {\r\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\r\n warn(`Component inside renders non-element root node ` +\r\n `that cannot be animated.`);\r\n }\r\n root.transition = vnode.transition;\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && setRoot) {\r\n setRoot(root);\r\n }\r\n else {\r\n result = root;\r\n }\r\n setCurrentRenderingInstance(prev);\r\n return result;\r\n}\r\n/**\r\n * dev only\r\n * In dev mode, template root level comments are rendered, which turns the\r\n * template into a fragment root, but we need to locate the single element\r\n * root for attrs and scope id processing.\r\n */\r\nconst getChildRoot = (vnode) => {\r\n const rawChildren = vnode.children;\r\n const dynamicChildren = vnode.dynamicChildren;\r\n const childRoot = filterSingleRoot(rawChildren);\r\n if (!childRoot) {\r\n return [vnode, undefined];\r\n }\r\n const index = rawChildren.indexOf(childRoot);\r\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\r\n const setRoot = (updatedRoot) => {\r\n rawChildren[index] = updatedRoot;\r\n if (dynamicChildren) {\r\n if (dynamicIndex > -1) {\r\n dynamicChildren[dynamicIndex] = updatedRoot;\r\n }\r\n else if (updatedRoot.patchFlag > 0) {\r\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\r\n }\r\n }\r\n };\r\n return [normalizeVNode(childRoot), setRoot];\r\n};\r\nfunction filterSingleRoot(children) {\r\n let singleRoot;\r\n for (let i = 0; i < children.length; i++) {\r\n const child = children[i];\r\n if (isVNode(child)) {\r\n // ignore user comment\r\n if (child.type !== Comment || child.children === 'v-if') {\r\n if (singleRoot) {\r\n // has more than 1 non-comment child, return now\r\n return;\r\n }\r\n else {\r\n singleRoot = child;\r\n }\r\n }\r\n }\r\n else {\r\n return;\r\n }\r\n }\r\n return singleRoot;\r\n}\r\nconst getFunctionalFallthrough = (attrs) => {\r\n let res;\r\n for (const key in attrs) {\r\n if (key === 'class' || key === 'style' || isOn(key)) {\r\n (res || (res = {}))[key] = attrs[key];\r\n }\r\n }\r\n return res;\r\n};\r\nconst filterModelListeners = (attrs, props) => {\r\n const res = {};\r\n for (const key in attrs) {\r\n if (!isModelListener(key) || !(key.slice(9) in props)) {\r\n res[key] = attrs[key];\r\n }\r\n }\r\n return res;\r\n};\r\nconst isElementRoot = (vnode) => {\r\n return (vnode.shapeFlag & (6 /* COMPONENT */ | 1 /* ELEMENT */) ||\r\n vnode.type === Comment // potential v-if branch switch\r\n );\r\n};\r\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\r\n const { props: prevProps, children: prevChildren, component } = prevVNode;\r\n const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\r\n const emits = component.emitsOptions;\r\n // Parent component's render function was hot-updated. Since this may have\r\n // caused the child component's slots content to have changed, we need to\r\n // force the child to update as well.\r\n if ((process.env.NODE_ENV !== 'production') && (prevChildren || nextChildren) && isHmrUpdating) {\r\n return true;\r\n }\r\n // force child update for runtime directive or transition on component vnode.\r\n if (nextVNode.dirs || nextVNode.transition) {\r\n return true;\r\n }\r\n if (optimized && patchFlag >= 0) {\r\n if (patchFlag & 1024 /* DYNAMIC_SLOTS */) {\r\n // slot content that references values that might have changed,\r\n // e.g. in a v-for\r\n return true;\r\n }\r\n if (patchFlag & 16 /* FULL_PROPS */) {\r\n if (!prevProps) {\r\n return !!nextProps;\r\n }\r\n // presence of this flag indicates props are always non-null\r\n return hasPropsChanged(prevProps, nextProps, emits);\r\n }\r\n else if (patchFlag & 8 /* PROPS */) {\r\n const dynamicProps = nextVNode.dynamicProps;\r\n for (let i = 0; i < dynamicProps.length; i++) {\r\n const key = dynamicProps[i];\r\n if (nextProps[key] !== prevProps[key] &&\r\n !isEmitListener(emits, key)) {\r\n return true;\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n // this path is only taken by manually written render functions\r\n // so presence of any children leads to a forced update\r\n if (prevChildren || nextChildren) {\r\n if (!nextChildren || !nextChildren.$stable) {\r\n return true;\r\n }\r\n }\r\n if (prevProps === nextProps) {\r\n return false;\r\n }\r\n if (!prevProps) {\r\n return !!nextProps;\r\n }\r\n if (!nextProps) {\r\n return true;\r\n }\r\n return hasPropsChanged(prevProps, nextProps, emits);\r\n }\r\n return false;\r\n}\r\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\r\n const nextKeys = Object.keys(nextProps);\r\n if (nextKeys.length !== Object.keys(prevProps).length) {\r\n return true;\r\n }\r\n for (let i = 0; i < nextKeys.length; i++) {\r\n const key = nextKeys[i];\r\n if (nextProps[key] !== prevProps[key] &&\r\n !isEmitListener(emitsOptions, key)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n}\r\nfunction updateHOCHostEl({ vnode, parent }, el // HostNode\r\n) {\r\n while (parent && parent.subTree === vnode) {\r\n (vnode = parent.vnode).el = el;\r\n parent = parent.parent;\r\n }\r\n}\n\nconst isSuspense = (type) => type.__isSuspense;\r\n// Suspense exposes a component-like API, and is treated like a component\r\n// in the compiler, but internally it's a special built-in type that hooks\r\n// directly into the renderer.\r\nconst SuspenseImpl = {\r\n name: 'Suspense',\r\n // In order to make Suspense tree-shakable, we need to avoid importing it\r\n // directly in the renderer. The renderer checks for the __isSuspense flag\r\n // on a vnode's type and calls the `process` method, passing in renderer\r\n // internals.\r\n __isSuspense: true,\r\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, \r\n // platform-specific impl passed from renderer\r\n rendererInternals) {\r\n if (n1 == null) {\r\n mountSuspense(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals);\r\n }\r\n else {\r\n patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, rendererInternals);\r\n }\r\n },\r\n hydrate: hydrateSuspense,\r\n create: createSuspenseBoundary,\r\n normalize: normalizeSuspenseChildren\r\n};\r\n// Force-casted public typing for h and TSX props inference\r\nconst Suspense = (SuspenseImpl );\r\nfunction triggerEvent(vnode, name) {\r\n const eventListener = vnode.props && vnode.props[name];\r\n if (isFunction(eventListener)) {\r\n eventListener();\r\n }\r\n}\r\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\r\n const { p: patch, o: { createElement } } = rendererInternals;\r\n const hiddenContainer = createElement('div');\r\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals));\r\n // start mounting the content subtree in an off-dom container\r\n patch(null, (suspense.pendingBranch = vnode.ssContent), hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds);\r\n // now check if we have encountered any async deps\r\n if (suspense.deps > 0) {\r\n // has async\r\n // invoke @fallback event\r\n triggerEvent(vnode, 'onPending');\r\n triggerEvent(vnode, 'onFallback');\r\n // mount the fallback tree\r\n patch(null, vnode.ssFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds);\r\n setActiveBranch(suspense, vnode.ssFallback);\r\n }\r\n else {\r\n // Suspense has no async deps. Just resolve.\r\n suspense.resolve();\r\n }\r\n}\r\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\r\n const suspense = (n2.suspense = n1.suspense);\r\n suspense.vnode = n2;\r\n n2.el = n1.el;\r\n const newBranch = n2.ssContent;\r\n const newFallback = n2.ssFallback;\r\n const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\r\n if (pendingBranch) {\r\n suspense.pendingBranch = newBranch;\r\n if (isSameVNodeType(newBranch, pendingBranch)) {\r\n // same root type but content may have changed.\r\n patch(pendingBranch, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n suspense.resolve();\r\n }\r\n else if (isInFallback) {\r\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, newFallback);\r\n }\r\n }\r\n else {\r\n // toggled before pending tree is resolved\r\n suspense.pendingId++;\r\n if (isHydrating) {\r\n // if toggled before hydration is finished, the current DOM tree is\r\n // no longer valid. set it as the active branch so it will be unmounted\r\n // when resolved\r\n suspense.isHydrating = false;\r\n suspense.activeBranch = pendingBranch;\r\n }\r\n else {\r\n unmount(pendingBranch, parentComponent, suspense);\r\n }\r\n // increment pending ID. this is used to invalidate async callbacks\r\n // reset suspense state\r\n suspense.deps = 0;\r\n // discard effects from pending branch\r\n suspense.effects.length = 0;\r\n // discard previous container\r\n suspense.hiddenContainer = createElement('div');\r\n if (isInFallback) {\r\n // already in fallback state\r\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n suspense.resolve();\r\n }\r\n else {\r\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, newFallback);\r\n }\r\n }\r\n else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\r\n // toggled \"back\" to current active branch\r\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n // force resolve\r\n suspense.resolve(true);\r\n }\r\n else {\r\n // switched to a 3rd branch\r\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n suspense.resolve();\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\r\n // root did not change, just normal patch\r\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, newBranch);\r\n }\r\n else {\r\n // root node toggled\r\n // invoke @pending event\r\n triggerEvent(n2, 'onPending');\r\n // mount pending branch in off-dom container\r\n suspense.pendingBranch = newBranch;\r\n suspense.pendingId++;\r\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n // incoming branch has no async deps, resolve now.\r\n suspense.resolve();\r\n }\r\n else {\r\n const { timeout, pendingId } = suspense;\r\n if (timeout > 0) {\r\n setTimeout(() => {\r\n if (suspense.pendingId === pendingId) {\r\n suspense.fallback(newFallback);\r\n }\r\n }, timeout);\r\n }\r\n else if (timeout === 0) {\r\n suspense.fallback(newFallback);\r\n }\r\n }\r\n }\r\n }\r\n}\r\nlet hasWarned = false;\r\nfunction createSuspenseBoundary(vnode, parent, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\r\n /* istanbul ignore if */\r\n if ((process.env.NODE_ENV !== 'production') && !false && !hasWarned) {\r\n hasWarned = true;\r\n // @ts-ignore `console.info` cannot be null error\r\n console[console.info ? 'info' : 'log'](` is an experimental feature and its API will likely change.`);\r\n }\r\n const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove } } = rendererInternals;\r\n const timeout = toNumber(vnode.props && vnode.props.timeout);\r\n const suspense = {\r\n vnode,\r\n parent,\r\n parentComponent,\r\n isSVG,\r\n container,\r\n hiddenContainer,\r\n anchor,\r\n deps: 0,\r\n pendingId: 0,\r\n timeout: typeof timeout === 'number' ? timeout : -1,\r\n activeBranch: null,\r\n pendingBranch: null,\r\n isInFallback: true,\r\n isHydrating,\r\n isUnmounted: false,\r\n effects: [],\r\n resolve(resume = false) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n if (!resume && !suspense.pendingBranch) {\r\n throw new Error(`suspense.resolve() is called without a pending branch.`);\r\n }\r\n if (suspense.isUnmounted) {\r\n throw new Error(`suspense.resolve() is called on an already unmounted suspense boundary.`);\r\n }\r\n }\r\n const { vnode, activeBranch, pendingBranch, pendingId, effects, parentComponent, container } = suspense;\r\n if (suspense.isHydrating) {\r\n suspense.isHydrating = false;\r\n }\r\n else if (!resume) {\r\n const delayEnter = activeBranch &&\r\n pendingBranch.transition &&\r\n pendingBranch.transition.mode === 'out-in';\r\n if (delayEnter) {\r\n activeBranch.transition.afterLeave = () => {\r\n if (pendingId === suspense.pendingId) {\r\n move(pendingBranch, container, anchor, 0 /* ENTER */);\r\n }\r\n };\r\n }\r\n // this is initial anchor on mount\r\n let { anchor } = suspense;\r\n // unmount current active tree\r\n if (activeBranch) {\r\n // if the fallback tree was mounted, it may have been moved\r\n // as part of a parent suspense. get the latest anchor for insertion\r\n anchor = next(activeBranch);\r\n unmount(activeBranch, parentComponent, suspense, true);\r\n }\r\n if (!delayEnter) {\r\n // move content from off-dom container to actual container\r\n move(pendingBranch, container, anchor, 0 /* ENTER */);\r\n }\r\n }\r\n setActiveBranch(suspense, pendingBranch);\r\n suspense.pendingBranch = null;\r\n suspense.isInFallback = false;\r\n // flush buffered effects\r\n // check if there is a pending parent suspense\r\n let parent = suspense.parent;\r\n let hasUnresolvedAncestor = false;\r\n while (parent) {\r\n if (parent.pendingBranch) {\r\n // found a pending parent suspense, merge buffered post jobs\r\n // into that parent\r\n parent.effects.push(...effects);\r\n hasUnresolvedAncestor = true;\r\n break;\r\n }\r\n parent = parent.parent;\r\n }\r\n // no pending parent suspense, flush all jobs\r\n if (!hasUnresolvedAncestor) {\r\n queuePostFlushCb(effects);\r\n }\r\n suspense.effects = [];\r\n // invoke @resolve event\r\n triggerEvent(vnode, 'onResolve');\r\n },\r\n fallback(fallbackVNode) {\r\n if (!suspense.pendingBranch) {\r\n return;\r\n }\r\n const { vnode, activeBranch, parentComponent, container, isSVG } = suspense;\r\n // invoke @fallback event\r\n triggerEvent(vnode, 'onFallback');\r\n const anchor = next(activeBranch);\r\n const mountFallback = () => {\r\n if (!suspense.isInFallback) {\r\n return;\r\n }\r\n // mount the fallback tree\r\n patch(null, fallbackVNode, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, fallbackVNode);\r\n };\r\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === 'out-in';\r\n if (delayEnter) {\r\n activeBranch.transition.afterLeave = mountFallback;\r\n }\r\n suspense.isInFallback = true;\r\n // unmount current active branch\r\n unmount(activeBranch, parentComponent, null, // no suspense so unmount hooks fire now\r\n true // shouldRemove\r\n );\r\n if (!delayEnter) {\r\n mountFallback();\r\n }\r\n },\r\n move(container, anchor, type) {\r\n suspense.activeBranch &&\r\n move(suspense.activeBranch, container, anchor, type);\r\n suspense.container = container;\r\n },\r\n next() {\r\n return suspense.activeBranch && next(suspense.activeBranch);\r\n },\r\n registerDep(instance, setupRenderEffect) {\r\n const isInPendingSuspense = !!suspense.pendingBranch;\r\n if (isInPendingSuspense) {\r\n suspense.deps++;\r\n }\r\n const hydratedEl = instance.vnode.el;\r\n instance\r\n .asyncDep.catch(err => {\r\n handleError(err, instance, 0 /* SETUP_FUNCTION */);\r\n })\r\n .then(asyncSetupResult => {\r\n // retry when the setup() promise resolves.\r\n // component may have been unmounted before resolve.\r\n if (instance.isUnmounted ||\r\n suspense.isUnmounted ||\r\n suspense.pendingId !== instance.suspenseId) {\r\n return;\r\n }\r\n // retry from this component\r\n instance.asyncResolved = true;\r\n const { vnode } = instance;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n pushWarningContext(vnode);\r\n }\r\n handleSetupResult(instance, asyncSetupResult, false);\r\n if (hydratedEl) {\r\n // vnode may have been replaced if an update happened before the\r\n // async dep is resolved.\r\n vnode.el = hydratedEl;\r\n }\r\n const placeholder = !hydratedEl && instance.subTree.el;\r\n setupRenderEffect(instance, vnode, \r\n // component may have been moved before resolve.\r\n // if this is not a hydration, instance.subTree will be the comment\r\n // placeholder.\r\n parentNode(hydratedEl || instance.subTree.el), \r\n // anchor will not be used if this is hydration, so only need to\r\n // consider the comment placeholder case.\r\n hydratedEl ? null : next(instance.subTree), suspense, isSVG, optimized);\r\n if (placeholder) {\r\n remove(placeholder);\r\n }\r\n updateHOCHostEl(instance, vnode.el);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n popWarningContext();\r\n }\r\n // only decrease deps count if suspense is not already resolved\r\n if (isInPendingSuspense && --suspense.deps === 0) {\r\n suspense.resolve();\r\n }\r\n });\r\n },\r\n unmount(parentSuspense, doRemove) {\r\n suspense.isUnmounted = true;\r\n if (suspense.activeBranch) {\r\n unmount(suspense.activeBranch, parentComponent, parentSuspense, doRemove);\r\n }\r\n if (suspense.pendingBranch) {\r\n unmount(suspense.pendingBranch, parentComponent, parentSuspense, doRemove);\r\n }\r\n }\r\n };\r\n return suspense;\r\n}\r\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\r\n /* eslint-disable no-restricted-globals */\r\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, node.parentNode, document.createElement('div'), null, isSVG, slotScopeIds, optimized, rendererInternals, true /* hydrating */));\r\n // there are two possible scenarios for server-rendered suspense:\r\n // - success: ssr content should be fully resolved\r\n // - failure: ssr content should be the fallback branch.\r\n // however, on the client we don't really know if it has failed or not\r\n // attempt to hydrate the DOM assuming it has succeeded, but we still\r\n // need to construct a suspense boundary first\r\n const result = hydrateNode(node, (suspense.pendingBranch = vnode.ssContent), parentComponent, suspense, slotScopeIds, optimized);\r\n if (suspense.deps === 0) {\r\n suspense.resolve();\r\n }\r\n return result;\r\n /* eslint-enable no-restricted-globals */\r\n}\r\nfunction normalizeSuspenseChildren(vnode) {\r\n const { shapeFlag, children } = vnode;\r\n const isSlotChildren = shapeFlag & 32 /* SLOTS_CHILDREN */;\r\n vnode.ssContent = normalizeSuspenseSlot(isSlotChildren ? children.default : children);\r\n vnode.ssFallback = isSlotChildren\r\n ? normalizeSuspenseSlot(children.fallback)\r\n : createVNode(Comment);\r\n}\r\nfunction normalizeSuspenseSlot(s) {\r\n let block;\r\n if (isFunction(s)) {\r\n const trackBlock = isBlockTreeEnabled && s._c;\r\n if (trackBlock) {\r\n // disableTracking: false\r\n // allow block tracking for compiled slots\r\n // (see ./componentRenderContext.ts)\r\n s._d = false;\r\n openBlock();\r\n }\r\n s = s();\r\n if (trackBlock) {\r\n s._d = true;\r\n block = currentBlock;\r\n closeBlock();\r\n }\r\n }\r\n if (isArray(s)) {\r\n const singleChild = filterSingleRoot(s);\r\n if ((process.env.NODE_ENV !== 'production') && !singleChild) {\r\n warn(` slots expect a single root node.`);\r\n }\r\n s = singleChild;\r\n }\r\n s = normalizeVNode(s);\r\n if (block && !s.dynamicChildren) {\r\n s.dynamicChildren = block.filter(c => c !== s);\r\n }\r\n return s;\r\n}\r\nfunction queueEffectWithSuspense(fn, suspense) {\r\n if (suspense && suspense.pendingBranch) {\r\n if (isArray(fn)) {\r\n suspense.effects.push(...fn);\r\n }\r\n else {\r\n suspense.effects.push(fn);\r\n }\r\n }\r\n else {\r\n queuePostFlushCb(fn);\r\n }\r\n}\r\nfunction setActiveBranch(suspense, branch) {\r\n suspense.activeBranch = branch;\r\n const { vnode, parentComponent } = suspense;\r\n const el = (vnode.el = branch.el);\r\n // in case suspense is the root node of a component,\r\n // recursively update the HOC el\r\n if (parentComponent && parentComponent.subTree === vnode) {\r\n parentComponent.vnode.el = el;\r\n updateHOCHostEl(parentComponent, el);\r\n }\r\n}\n\nfunction provide(key, value) {\r\n if (!currentInstance) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`provide() can only be used inside setup().`);\r\n }\r\n }\r\n else {\r\n let provides = currentInstance.provides;\r\n // by default an instance inherits its parent's provides object\r\n // but when it needs to provide values of its own, it creates its\r\n // own provides object using parent provides object as prototype.\r\n // this way in `inject` we can simply look up injections from direct\r\n // parent and let the prototype chain do the work.\r\n const parentProvides = currentInstance.parent && currentInstance.parent.provides;\r\n if (parentProvides === provides) {\r\n provides = currentInstance.provides = Object.create(parentProvides);\r\n }\r\n // TS doesn't allow symbol as index type\r\n provides[key] = value;\r\n }\r\n}\r\nfunction inject(key, defaultValue, treatDefaultAsFactory = false) {\r\n // fallback to `currentRenderingInstance` so that this can be called in\r\n // a functional component\r\n const instance = currentInstance || currentRenderingInstance;\r\n if (instance) {\r\n // #2400\r\n // to support `app.use` plugins,\r\n // fallback to appContext's `provides` if the intance is at root\r\n const provides = instance.parent == null\r\n ? instance.vnode.appContext && instance.vnode.appContext.provides\r\n : instance.parent.provides;\r\n if (provides && key in provides) {\r\n // TS doesn't allow symbol as index type\r\n return provides[key];\r\n }\r\n else if (arguments.length > 1) {\r\n return treatDefaultAsFactory && isFunction(defaultValue)\r\n ? defaultValue.call(instance.proxy)\r\n : defaultValue;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`injection \"${String(key)}\" not found.`);\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`inject() can only be used inside setup() or functional components.`);\r\n }\r\n}\n\nfunction useTransitionState() {\r\n const state = {\r\n isMounted: false,\r\n isLeaving: false,\r\n isUnmounting: false,\r\n leavingVNodes: new Map()\r\n };\r\n onMounted(() => {\r\n state.isMounted = true;\r\n });\r\n onBeforeUnmount(() => {\r\n state.isUnmounting = true;\r\n });\r\n return state;\r\n}\r\nconst TransitionHookValidator = [Function, Array];\r\nconst BaseTransitionImpl = {\r\n name: `BaseTransition`,\r\n props: {\r\n mode: String,\r\n appear: Boolean,\r\n persisted: Boolean,\r\n // enter\r\n onBeforeEnter: TransitionHookValidator,\r\n onEnter: TransitionHookValidator,\r\n onAfterEnter: TransitionHookValidator,\r\n onEnterCancelled: TransitionHookValidator,\r\n // leave\r\n onBeforeLeave: TransitionHookValidator,\r\n onLeave: TransitionHookValidator,\r\n onAfterLeave: TransitionHookValidator,\r\n onLeaveCancelled: TransitionHookValidator,\r\n // appear\r\n onBeforeAppear: TransitionHookValidator,\r\n onAppear: TransitionHookValidator,\r\n onAfterAppear: TransitionHookValidator,\r\n onAppearCancelled: TransitionHookValidator\r\n },\r\n setup(props, { slots }) {\r\n const instance = getCurrentInstance();\r\n const state = useTransitionState();\r\n let prevTransitionKey;\r\n return () => {\r\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\r\n if (!children || !children.length) {\r\n return;\r\n }\r\n // warn multiple elements\r\n if ((process.env.NODE_ENV !== 'production') && children.length > 1) {\r\n warn(' can only be used on a single element or component. Use ' +\r\n ' for lists.');\r\n }\r\n // there's no need to track reactivity for these props so use the raw\r\n // props for a bit better perf\r\n const rawProps = toRaw(props);\r\n const { mode } = rawProps;\r\n // check mode\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n mode &&\r\n mode !== 'in-out' && mode !== 'out-in' && mode !== 'default') {\r\n warn(`invalid mode: ${mode}`);\r\n }\r\n // at this point children has a guaranteed length of 1.\r\n const child = children[0];\r\n if (state.isLeaving) {\r\n return emptyPlaceholder(child);\r\n }\r\n // in the case of , we need to\r\n // compare the type of the kept-alive children.\r\n const innerChild = getKeepAliveChild(child);\r\n if (!innerChild) {\r\n return emptyPlaceholder(child);\r\n }\r\n const enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance);\r\n setTransitionHooks(innerChild, enterHooks);\r\n const oldChild = instance.subTree;\r\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\r\n let transitionKeyChanged = false;\r\n const { getTransitionKey } = innerChild.type;\r\n if (getTransitionKey) {\r\n const key = getTransitionKey();\r\n if (prevTransitionKey === undefined) {\r\n prevTransitionKey = key;\r\n }\r\n else if (key !== prevTransitionKey) {\r\n prevTransitionKey = key;\r\n transitionKeyChanged = true;\r\n }\r\n }\r\n // handle mode\r\n if (oldInnerChild &&\r\n oldInnerChild.type !== Comment &&\r\n (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\r\n const leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);\r\n // update old tree's hooks in case of dynamic transition\r\n setTransitionHooks(oldInnerChild, leavingHooks);\r\n // switching between different views\r\n if (mode === 'out-in') {\r\n state.isLeaving = true;\r\n // return placeholder node and queue update when leave finishes\r\n leavingHooks.afterLeave = () => {\r\n state.isLeaving = false;\r\n instance.update();\r\n };\r\n return emptyPlaceholder(child);\r\n }\r\n else if (mode === 'in-out' && innerChild.type !== Comment) {\r\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\r\n const leavingVNodesCache = getLeavingNodesForType(state, oldInnerChild);\r\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\r\n // early removal callback\r\n el._leaveCb = () => {\r\n earlyRemove();\r\n el._leaveCb = undefined;\r\n delete enterHooks.delayedLeave;\r\n };\r\n enterHooks.delayedLeave = delayedLeave;\r\n };\r\n }\r\n }\r\n return child;\r\n };\r\n }\r\n};\r\n// export the public type for h/tsx inference\r\n// also to avoid inline import() in generated d.ts files\r\nconst BaseTransition = BaseTransitionImpl;\r\nfunction getLeavingNodesForType(state, vnode) {\r\n const { leavingVNodes } = state;\r\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\r\n if (!leavingVNodesCache) {\r\n leavingVNodesCache = Object.create(null);\r\n leavingVNodes.set(vnode.type, leavingVNodesCache);\r\n }\r\n return leavingVNodesCache;\r\n}\r\n// The transition hooks are attached to the vnode as vnode.transition\r\n// and will be called at appropriate timing in the renderer.\r\nfunction resolveTransitionHooks(vnode, props, state, instance) {\r\n const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;\r\n const key = String(vnode.key);\r\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\r\n const callHook = (hook, args) => {\r\n hook &&\r\n callWithAsyncErrorHandling(hook, instance, 9 /* TRANSITION_HOOK */, args);\r\n };\r\n const hooks = {\r\n mode,\r\n persisted,\r\n beforeEnter(el) {\r\n let hook = onBeforeEnter;\r\n if (!state.isMounted) {\r\n if (appear) {\r\n hook = onBeforeAppear || onBeforeEnter;\r\n }\r\n else {\r\n return;\r\n }\r\n }\r\n // for same element (v-show)\r\n if (el._leaveCb) {\r\n el._leaveCb(true /* cancelled */);\r\n }\r\n // for toggled element with same key (v-if)\r\n const leavingVNode = leavingVNodesCache[key];\r\n if (leavingVNode &&\r\n isSameVNodeType(vnode, leavingVNode) &&\r\n leavingVNode.el._leaveCb) {\r\n // force early removal (not cancelled)\r\n leavingVNode.el._leaveCb();\r\n }\r\n callHook(hook, [el]);\r\n },\r\n enter(el) {\r\n let hook = onEnter;\r\n let afterHook = onAfterEnter;\r\n let cancelHook = onEnterCancelled;\r\n if (!state.isMounted) {\r\n if (appear) {\r\n hook = onAppear || onEnter;\r\n afterHook = onAfterAppear || onAfterEnter;\r\n cancelHook = onAppearCancelled || onEnterCancelled;\r\n }\r\n else {\r\n return;\r\n }\r\n }\r\n let called = false;\r\n const done = (el._enterCb = (cancelled) => {\r\n if (called)\r\n return;\r\n called = true;\r\n if (cancelled) {\r\n callHook(cancelHook, [el]);\r\n }\r\n else {\r\n callHook(afterHook, [el]);\r\n }\r\n if (hooks.delayedLeave) {\r\n hooks.delayedLeave();\r\n }\r\n el._enterCb = undefined;\r\n });\r\n if (hook) {\r\n hook(el, done);\r\n if (hook.length <= 1) {\r\n done();\r\n }\r\n }\r\n else {\r\n done();\r\n }\r\n },\r\n leave(el, remove) {\r\n const key = String(vnode.key);\r\n if (el._enterCb) {\r\n el._enterCb(true /* cancelled */);\r\n }\r\n if (state.isUnmounting) {\r\n return remove();\r\n }\r\n callHook(onBeforeLeave, [el]);\r\n let called = false;\r\n const done = (el._leaveCb = (cancelled) => {\r\n if (called)\r\n return;\r\n called = true;\r\n remove();\r\n if (cancelled) {\r\n callHook(onLeaveCancelled, [el]);\r\n }\r\n else {\r\n callHook(onAfterLeave, [el]);\r\n }\r\n el._leaveCb = undefined;\r\n if (leavingVNodesCache[key] === vnode) {\r\n delete leavingVNodesCache[key];\r\n }\r\n });\r\n leavingVNodesCache[key] = vnode;\r\n if (onLeave) {\r\n onLeave(el, done);\r\n if (onLeave.length <= 1) {\r\n done();\r\n }\r\n }\r\n else {\r\n done();\r\n }\r\n },\r\n clone(vnode) {\r\n return resolveTransitionHooks(vnode, props, state, instance);\r\n }\r\n };\r\n return hooks;\r\n}\r\n// the placeholder really only handles one special case: KeepAlive\r\n// in the case of a KeepAlive in a leave phase we need to return a KeepAlive\r\n// placeholder with empty content to avoid the KeepAlive instance from being\r\n// unmounted.\r\nfunction emptyPlaceholder(vnode) {\r\n if (isKeepAlive(vnode)) {\r\n vnode = cloneVNode(vnode);\r\n vnode.children = null;\r\n return vnode;\r\n }\r\n}\r\nfunction getKeepAliveChild(vnode) {\r\n return isKeepAlive(vnode)\r\n ? vnode.children\r\n ? vnode.children[0]\r\n : undefined\r\n : vnode;\r\n}\r\nfunction setTransitionHooks(vnode, hooks) {\r\n if (vnode.shapeFlag & 6 /* COMPONENT */ && vnode.component) {\r\n setTransitionHooks(vnode.component.subTree, hooks);\r\n }\r\n else if (vnode.shapeFlag & 128 /* SUSPENSE */) {\r\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\r\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\r\n }\r\n else {\r\n vnode.transition = hooks;\r\n }\r\n}\r\nfunction getTransitionRawChildren(children, keepComment = false) {\r\n let ret = [];\r\n let keyedFragmentCount = 0;\r\n for (let i = 0; i < children.length; i++) {\r\n const child = children[i];\r\n // handle fragment children case, e.g. v-for\r\n if (child.type === Fragment) {\r\n if (child.patchFlag & 128 /* KEYED_FRAGMENT */)\r\n keyedFragmentCount++;\r\n ret = ret.concat(getTransitionRawChildren(child.children, keepComment));\r\n }\r\n // comment placeholders should be skipped, e.g. v-if\r\n else if (keepComment || child.type !== Comment) {\r\n ret.push(child);\r\n }\r\n }\r\n // #1126 if a transition children list contains multiple sub fragments, these\r\n // fragments will be merged into a flat children array. Since each v-for\r\n // fragment may contain different static bindings inside, we need to de-op\r\n // these children to force full diffs to ensure correct behavior.\r\n if (keyedFragmentCount > 1) {\r\n for (let i = 0; i < ret.length; i++) {\r\n ret[i].patchFlag = -2 /* BAIL */;\r\n }\r\n }\r\n return ret;\r\n}\n\n// implementation, close to no-op\r\nfunction defineComponent(options) {\r\n return isFunction(options) ? { setup: options, name: options.name } : options;\r\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\r\nfunction defineAsyncComponent(source) {\r\n if (isFunction(source)) {\r\n source = { loader: source };\r\n }\r\n const { loader, loadingComponent, errorComponent, delay = 200, timeout, // undefined = never times out\r\n suspensible = true, onError: userOnError } = source;\r\n let pendingRequest = null;\r\n let resolvedComp;\r\n let retries = 0;\r\n const retry = () => {\r\n retries++;\r\n pendingRequest = null;\r\n return load();\r\n };\r\n const load = () => {\r\n let thisRequest;\r\n return (pendingRequest ||\r\n (thisRequest = pendingRequest =\r\n loader()\r\n .catch(err => {\r\n err = err instanceof Error ? err : new Error(String(err));\r\n if (userOnError) {\r\n return new Promise((resolve, reject) => {\r\n const userRetry = () => resolve(retry());\r\n const userFail = () => reject(err);\r\n userOnError(err, userRetry, userFail, retries + 1);\r\n });\r\n }\r\n else {\r\n throw err;\r\n }\r\n })\r\n .then((comp) => {\r\n if (thisRequest !== pendingRequest && pendingRequest) {\r\n return pendingRequest;\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && !comp) {\r\n warn(`Async component loader resolved to undefined. ` +\r\n `If you are using retry(), make sure to return its return value.`);\r\n }\r\n // interop module default\r\n if (comp &&\r\n (comp.__esModule || comp[Symbol.toStringTag] === 'Module')) {\r\n comp = comp.default;\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && comp && !isObject(comp) && !isFunction(comp)) {\r\n throw new Error(`Invalid async component load result: ${comp}`);\r\n }\r\n resolvedComp = comp;\r\n return comp;\r\n })));\r\n };\r\n return defineComponent({\r\n name: 'AsyncComponentWrapper',\r\n __asyncLoader: load,\r\n get __asyncResolved() {\r\n return resolvedComp;\r\n },\r\n setup() {\r\n const instance = currentInstance;\r\n // already resolved\r\n if (resolvedComp) {\r\n return () => createInnerComp(resolvedComp, instance);\r\n }\r\n const onError = (err) => {\r\n pendingRequest = null;\r\n handleError(err, instance, 13 /* ASYNC_COMPONENT_LOADER */, !errorComponent /* do not throw in dev if user provided error component */);\r\n };\r\n // suspense-controlled or SSR.\r\n if ((suspensible && instance.suspense) ||\r\n (isInSSRComponentSetup)) {\r\n return load()\r\n .then(comp => {\r\n return () => createInnerComp(comp, instance);\r\n })\r\n .catch(err => {\r\n onError(err);\r\n return () => errorComponent\r\n ? createVNode(errorComponent, {\r\n error: err\r\n })\r\n : null;\r\n });\r\n }\r\n const loaded = ref(false);\r\n const error = ref();\r\n const delayed = ref(!!delay);\r\n if (delay) {\r\n setTimeout(() => {\r\n delayed.value = false;\r\n }, delay);\r\n }\r\n if (timeout != null) {\r\n setTimeout(() => {\r\n if (!loaded.value && !error.value) {\r\n const err = new Error(`Async component timed out after ${timeout}ms.`);\r\n onError(err);\r\n error.value = err;\r\n }\r\n }, timeout);\r\n }\r\n load()\r\n .then(() => {\r\n loaded.value = true;\r\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\r\n // parent is keep-alive, force update so the loaded component's\r\n // name is taken into account\r\n queueJob(instance.parent.update);\r\n }\r\n })\r\n .catch(err => {\r\n onError(err);\r\n error.value = err;\r\n });\r\n return () => {\r\n if (loaded.value && resolvedComp) {\r\n return createInnerComp(resolvedComp, instance);\r\n }\r\n else if (error.value && errorComponent) {\r\n return createVNode(errorComponent, {\r\n error: error.value\r\n });\r\n }\r\n else if (loadingComponent && !delayed.value) {\r\n return createVNode(loadingComponent);\r\n }\r\n };\r\n }\r\n });\r\n}\r\nfunction createInnerComp(comp, { vnode: { ref, props, children } }) {\r\n const vnode = createVNode(comp, props, children);\r\n // ensure inner component inherits the async wrapper's ref owner\r\n vnode.ref = ref;\r\n return vnode;\r\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\r\nconst KeepAliveImpl = {\r\n name: `KeepAlive`,\r\n // Marker for special handling inside the renderer. We are not using a ===\r\n // check directly on KeepAlive in the renderer, because importing it directly\r\n // would prevent it from being tree-shaken.\r\n __isKeepAlive: true,\r\n props: {\r\n include: [String, RegExp, Array],\r\n exclude: [String, RegExp, Array],\r\n max: [String, Number]\r\n },\r\n setup(props, { slots }) {\r\n const instance = getCurrentInstance();\r\n // KeepAlive communicates with the instantiated renderer via the\r\n // ctx where the renderer passes in its internals,\r\n // and the KeepAlive instance exposes activate/deactivate implementations.\r\n // The whole point of this is to avoid importing KeepAlive directly in the\r\n // renderer to facilitate tree-shaking.\r\n const sharedContext = instance.ctx;\r\n // if the internal renderer is not registered, it indicates that this is server-side rendering,\r\n // for KeepAlive, we just need to render its children\r\n if (!sharedContext.renderer) {\r\n return slots.default;\r\n }\r\n const cache = new Map();\r\n const keys = new Set();\r\n let current = null;\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n instance.__v_cache = cache;\r\n }\r\n const parentSuspense = instance.suspense;\r\n const { renderer: { p: patch, m: move, um: _unmount, o: { createElement } } } = sharedContext;\r\n const storageContainer = createElement('div');\r\n sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {\r\n const instance = vnode.component;\r\n move(vnode, container, anchor, 0 /* ENTER */, parentSuspense);\r\n // in case props have changed\r\n patch(instance.vnode, vnode, container, anchor, instance, parentSuspense, isSVG, vnode.slotScopeIds, optimized);\r\n queuePostRenderEffect(() => {\r\n instance.isDeactivated = false;\r\n if (instance.a) {\r\n invokeArrayFns(instance.a);\r\n }\r\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\r\n if (vnodeHook) {\r\n invokeVNodeHook(vnodeHook, instance.parent, vnode);\r\n }\r\n }, parentSuspense);\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n // Update components tree\r\n devtoolsComponentAdded(instance);\r\n }\r\n };\r\n sharedContext.deactivate = (vnode) => {\r\n const instance = vnode.component;\r\n move(vnode, storageContainer, null, 1 /* LEAVE */, parentSuspense);\r\n queuePostRenderEffect(() => {\r\n if (instance.da) {\r\n invokeArrayFns(instance.da);\r\n }\r\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\r\n if (vnodeHook) {\r\n invokeVNodeHook(vnodeHook, instance.parent, vnode);\r\n }\r\n instance.isDeactivated = true;\r\n }, parentSuspense);\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n // Update components tree\r\n devtoolsComponentAdded(instance);\r\n }\r\n };\r\n function unmount(vnode) {\r\n // reset the shapeFlag so it can be properly unmounted\r\n resetShapeFlag(vnode);\r\n _unmount(vnode, instance, parentSuspense);\r\n }\r\n function pruneCache(filter) {\r\n cache.forEach((vnode, key) => {\r\n const name = getComponentName(vnode.type);\r\n if (name && (!filter || !filter(name))) {\r\n pruneCacheEntry(key);\r\n }\r\n });\r\n }\r\n function pruneCacheEntry(key) {\r\n const cached = cache.get(key);\r\n if (!current || cached.type !== current.type) {\r\n unmount(cached);\r\n }\r\n else if (current) {\r\n // current active instance should no longer be kept-alive.\r\n // we can't unmount it now but it might be later, so reset its flag now.\r\n resetShapeFlag(current);\r\n }\r\n cache.delete(key);\r\n keys.delete(key);\r\n }\r\n // prune cache on include/exclude prop change\r\n watch(() => [props.include, props.exclude], ([include, exclude]) => {\r\n include && pruneCache(name => matches(include, name));\r\n exclude && pruneCache(name => !matches(exclude, name));\r\n }, \r\n // prune post-render after `current` has been updated\r\n { flush: 'post', deep: true });\r\n // cache sub tree after render\r\n let pendingCacheKey = null;\r\n const cacheSubtree = () => {\r\n // fix #1621, the pendingCacheKey could be 0\r\n if (pendingCacheKey != null) {\r\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\r\n }\r\n };\r\n onMounted(cacheSubtree);\r\n onUpdated(cacheSubtree);\r\n onBeforeUnmount(() => {\r\n cache.forEach(cached => {\r\n const { subTree, suspense } = instance;\r\n const vnode = getInnerChild(subTree);\r\n if (cached.type === vnode.type) {\r\n // current instance will be unmounted as part of keep-alive's unmount\r\n resetShapeFlag(vnode);\r\n // but invoke its deactivated hook here\r\n const da = vnode.component.da;\r\n da && queuePostRenderEffect(da, suspense);\r\n return;\r\n }\r\n unmount(cached);\r\n });\r\n });\r\n return () => {\r\n pendingCacheKey = null;\r\n if (!slots.default) {\r\n return null;\r\n }\r\n const children = slots.default();\r\n const rawVNode = children[0];\r\n if (children.length > 1) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`KeepAlive should contain exactly one component child.`);\r\n }\r\n current = null;\r\n return children;\r\n }\r\n else if (!isVNode(rawVNode) ||\r\n (!(rawVNode.shapeFlag & 4 /* STATEFUL_COMPONENT */) &&\r\n !(rawVNode.shapeFlag & 128 /* SUSPENSE */))) {\r\n current = null;\r\n return rawVNode;\r\n }\r\n let vnode = getInnerChild(rawVNode);\r\n const comp = vnode.type;\r\n // for async components, name check should be based in its loaded\r\n // inner component if available\r\n const name = getComponentName(isAsyncWrapper(vnode)\r\n ? vnode.type.__asyncResolved || {}\r\n : comp);\r\n const { include, exclude, max } = props;\r\n if ((include && (!name || !matches(include, name))) ||\r\n (exclude && name && matches(exclude, name))) {\r\n current = vnode;\r\n return rawVNode;\r\n }\r\n const key = vnode.key == null ? comp : vnode.key;\r\n const cachedVNode = cache.get(key);\r\n // clone vnode if it's reused because we are going to mutate it\r\n if (vnode.el) {\r\n vnode = cloneVNode(vnode);\r\n if (rawVNode.shapeFlag & 128 /* SUSPENSE */) {\r\n rawVNode.ssContent = vnode;\r\n }\r\n }\r\n // #1513 it's possible for the returned vnode to be cloned due to attr\r\n // fallthrough or scopeId, so the vnode here may not be the final vnode\r\n // that is mounted. Instead of caching it directly, we store the pending\r\n // key and cache `instance.subTree` (the normalized vnode) in\r\n // beforeMount/beforeUpdate hooks.\r\n pendingCacheKey = key;\r\n if (cachedVNode) {\r\n // copy over mounted state\r\n vnode.el = cachedVNode.el;\r\n vnode.component = cachedVNode.component;\r\n if (vnode.transition) {\r\n // recursively update transition hooks on subTree\r\n setTransitionHooks(vnode, vnode.transition);\r\n }\r\n // avoid vnode being mounted as fresh\r\n vnode.shapeFlag |= 512 /* COMPONENT_KEPT_ALIVE */;\r\n // make this key the freshest\r\n keys.delete(key);\r\n keys.add(key);\r\n }\r\n else {\r\n keys.add(key);\r\n // prune oldest entry\r\n if (max && keys.size > parseInt(max, 10)) {\r\n pruneCacheEntry(keys.values().next().value);\r\n }\r\n }\r\n // avoid vnode being unmounted\r\n vnode.shapeFlag |= 256 /* COMPONENT_SHOULD_KEEP_ALIVE */;\r\n current = vnode;\r\n return rawVNode;\r\n };\r\n }\r\n};\r\n// export the public type for h/tsx inference\r\n// also to avoid inline import() in generated d.ts files\r\nconst KeepAlive = KeepAliveImpl;\r\nfunction matches(pattern, name) {\r\n if (isArray(pattern)) {\r\n return pattern.some((p) => matches(p, name));\r\n }\r\n else if (isString(pattern)) {\r\n return pattern.split(',').indexOf(name) > -1;\r\n }\r\n else if (pattern.test) {\r\n return pattern.test(name);\r\n }\r\n /* istanbul ignore next */\r\n return false;\r\n}\r\nfunction onActivated(hook, target) {\r\n registerKeepAliveHook(hook, \"a\" /* ACTIVATED */, target);\r\n}\r\nfunction onDeactivated(hook, target) {\r\n registerKeepAliveHook(hook, \"da\" /* DEACTIVATED */, target);\r\n}\r\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\r\n // cache the deactivate branch check wrapper for injected hooks so the same\r\n // hook can be properly deduped by the scheduler. \"__wdc\" stands for \"with\r\n // deactivation check\".\r\n const wrappedHook = hook.__wdc ||\r\n (hook.__wdc = () => {\r\n // only fire the hook if the target instance is NOT in a deactivated branch.\r\n let current = target;\r\n while (current) {\r\n if (current.isDeactivated) {\r\n return;\r\n }\r\n current = current.parent;\r\n }\r\n return hook();\r\n });\r\n injectHook(type, wrappedHook, target);\r\n // In addition to registering it on the target instance, we walk up the parent\r\n // chain and register it on all ancestor instances that are keep-alive roots.\r\n // This avoids the need to walk the entire component tree when invoking these\r\n // hooks, and more importantly, avoids the need to track child components in\r\n // arrays.\r\n if (target) {\r\n let current = target.parent;\r\n while (current && current.parent) {\r\n if (isKeepAlive(current.parent.vnode)) {\r\n injectToKeepAliveRoot(wrappedHook, type, target, current);\r\n }\r\n current = current.parent;\r\n }\r\n }\r\n}\r\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\r\n // injectHook wraps the original for error handling, so make sure to remove\r\n // the wrapped version.\r\n const injected = injectHook(type, hook, keepAliveRoot, true /* prepend */);\r\n onUnmounted(() => {\r\n remove(keepAliveRoot[type], injected);\r\n }, target);\r\n}\r\nfunction resetShapeFlag(vnode) {\r\n let shapeFlag = vnode.shapeFlag;\r\n if (shapeFlag & 256 /* COMPONENT_SHOULD_KEEP_ALIVE */) {\r\n shapeFlag -= 256 /* COMPONENT_SHOULD_KEEP_ALIVE */;\r\n }\r\n if (shapeFlag & 512 /* COMPONENT_KEPT_ALIVE */) {\r\n shapeFlag -= 512 /* COMPONENT_KEPT_ALIVE */;\r\n }\r\n vnode.shapeFlag = shapeFlag;\r\n}\r\nfunction getInnerChild(vnode) {\r\n return vnode.shapeFlag & 128 /* SUSPENSE */ ? vnode.ssContent : vnode;\r\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\r\n if (target) {\r\n const hooks = target[type] || (target[type] = []);\r\n // cache the error handling wrapper for injected hooks so the same hook\r\n // can be properly deduped by the scheduler. \"__weh\" stands for \"with error\r\n // handling\".\r\n const wrappedHook = hook.__weh ||\r\n (hook.__weh = (...args) => {\r\n if (target.isUnmounted) {\r\n return;\r\n }\r\n // disable tracking inside all lifecycle hooks\r\n // since they can potentially be called inside effects.\r\n pauseTracking();\r\n // Set currentInstance during hook invocation.\r\n // This assumes the hook does not synchronously trigger other hooks, which\r\n // can only be false when the user does something really funky.\r\n setCurrentInstance(target);\r\n const res = callWithAsyncErrorHandling(hook, target, type, args);\r\n unsetCurrentInstance();\r\n resetTracking();\r\n return res;\r\n });\r\n if (prepend) {\r\n hooks.unshift(wrappedHook);\r\n }\r\n else {\r\n hooks.push(wrappedHook);\r\n }\r\n return wrappedHook;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, ''));\r\n warn(`${apiName} is called when there is no active component instance to be ` +\r\n `associated with. ` +\r\n `Lifecycle injection APIs can only be used during execution of setup().` +\r\n (` If you are using async setup(), make sure to register lifecycle ` +\r\n `hooks before the first await statement.`\r\n ));\r\n }\r\n}\r\nconst createHook = (lifecycle) => (hook, target = currentInstance) => \r\n// post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\r\n(!isInSSRComponentSetup || lifecycle === \"sp\" /* SERVER_PREFETCH */) &&\r\n injectHook(lifecycle, hook, target);\r\nconst onBeforeMount = createHook(\"bm\" /* BEFORE_MOUNT */);\r\nconst onMounted = createHook(\"m\" /* MOUNTED */);\r\nconst onBeforeUpdate = createHook(\"bu\" /* BEFORE_UPDATE */);\r\nconst onUpdated = createHook(\"u\" /* UPDATED */);\r\nconst onBeforeUnmount = createHook(\"bum\" /* BEFORE_UNMOUNT */);\r\nconst onUnmounted = createHook(\"um\" /* UNMOUNTED */);\r\nconst onServerPrefetch = createHook(\"sp\" /* SERVER_PREFETCH */);\r\nconst onRenderTriggered = createHook(\"rtg\" /* RENDER_TRIGGERED */);\r\nconst onRenderTracked = createHook(\"rtc\" /* RENDER_TRACKED */);\r\nfunction onErrorCaptured(hook, target = currentInstance) {\r\n injectHook(\"ec\" /* ERROR_CAPTURED */, hook, target);\r\n}\n\nfunction createDuplicateChecker() {\r\n const cache = Object.create(null);\r\n return (type, key) => {\r\n if (cache[key]) {\r\n warn(`${type} property \"${key}\" is already defined in ${cache[key]}.`);\r\n }\r\n else {\r\n cache[key] = type;\r\n }\r\n };\r\n}\r\nlet shouldCacheAccess = true;\r\nfunction applyOptions(instance) {\r\n const options = resolveMergedOptions(instance);\r\n const publicThis = instance.proxy;\r\n const ctx = instance.ctx;\r\n // do not cache property access on public proxy during state initialization\r\n shouldCacheAccess = false;\r\n // call beforeCreate first before accessing other options since\r\n // the hook may mutate resolved options (#2791)\r\n if (options.beforeCreate) {\r\n callHook(options.beforeCreate, instance, \"bc\" /* BEFORE_CREATE */);\r\n }\r\n const { \r\n // state\r\n data: dataOptions, computed: computedOptions, methods, watch: watchOptions, provide: provideOptions, inject: injectOptions, \r\n // lifecycle\r\n created, beforeMount, mounted, beforeUpdate, updated, activated, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch, \r\n // public API\r\n expose, inheritAttrs, \r\n // assets\r\n components, directives, filters } = options;\r\n const checkDuplicateProperties = (process.env.NODE_ENV !== 'production') ? createDuplicateChecker() : null;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const [propsOptions] = instance.propsOptions;\r\n if (propsOptions) {\r\n for (const key in propsOptions) {\r\n checkDuplicateProperties(\"Props\" /* PROPS */, key);\r\n }\r\n }\r\n }\r\n // options initialization order (to be consistent with Vue 2):\r\n // - props (already done outside of this function)\r\n // - inject\r\n // - methods\r\n // - data (deferred since it relies on `this` access)\r\n // - computed\r\n // - watch (deferred since it relies on `this` access)\r\n if (injectOptions) {\r\n resolveInjections(injectOptions, ctx, checkDuplicateProperties, instance.appContext.config.unwrapInjectedRef);\r\n }\r\n if (methods) {\r\n for (const key in methods) {\r\n const methodHandler = methods[key];\r\n if (isFunction(methodHandler)) {\r\n // In dev mode, we use the `createRenderContext` function to define\r\n // methods to the proxy target, and those are read-only but\r\n // reconfigurable, so it needs to be redefined here\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n Object.defineProperty(ctx, key, {\r\n value: methodHandler.bind(publicThis),\r\n configurable: true,\r\n enumerable: true,\r\n writable: true\r\n });\r\n }\r\n else {\r\n ctx[key] = methodHandler.bind(publicThis);\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n checkDuplicateProperties(\"Methods\" /* METHODS */, key);\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Method \"${key}\" has type \"${typeof methodHandler}\" in the component definition. ` +\r\n `Did you reference the function correctly?`);\r\n }\r\n }\r\n }\r\n if (dataOptions) {\r\n if ((process.env.NODE_ENV !== 'production') && !isFunction(dataOptions)) {\r\n warn(`The data option must be a function. ` +\r\n `Plain object usage is no longer supported.`);\r\n }\r\n const data = dataOptions.call(publicThis, publicThis);\r\n if ((process.env.NODE_ENV !== 'production') && isPromise(data)) {\r\n warn(`data() returned a Promise - note data() cannot be async; If you ` +\r\n `intend to perform data fetching before component renders, use ` +\r\n `async setup() + .`);\r\n }\r\n if (!isObject(data)) {\r\n (process.env.NODE_ENV !== 'production') && warn(`data() should return an object.`);\r\n }\r\n else {\r\n instance.data = reactive(data);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n for (const key in data) {\r\n checkDuplicateProperties(\"Data\" /* DATA */, key);\r\n // expose data on ctx during dev\r\n if (key[0] !== '$' && key[0] !== '_') {\r\n Object.defineProperty(ctx, key, {\r\n configurable: true,\r\n enumerable: true,\r\n get: () => data[key],\r\n set: NOOP\r\n });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n // state initialization complete at this point - start caching access\r\n shouldCacheAccess = true;\r\n if (computedOptions) {\r\n for (const key in computedOptions) {\r\n const opt = computedOptions[key];\r\n const get = isFunction(opt)\r\n ? opt.bind(publicThis, publicThis)\r\n : isFunction(opt.get)\r\n ? opt.get.bind(publicThis, publicThis)\r\n : NOOP;\r\n if ((process.env.NODE_ENV !== 'production') && get === NOOP) {\r\n warn(`Computed property \"${key}\" has no getter.`);\r\n }\r\n const set = !isFunction(opt) && isFunction(opt.set)\r\n ? opt.set.bind(publicThis)\r\n : (process.env.NODE_ENV !== 'production')\r\n ? () => {\r\n warn(`Write operation failed: computed property \"${key}\" is readonly.`);\r\n }\r\n : NOOP;\r\n const c = computed({\r\n get,\r\n set\r\n });\r\n Object.defineProperty(ctx, key, {\r\n enumerable: true,\r\n configurable: true,\r\n get: () => c.value,\r\n set: v => (c.value = v)\r\n });\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n checkDuplicateProperties(\"Computed\" /* COMPUTED */, key);\r\n }\r\n }\r\n }\r\n if (watchOptions) {\r\n for (const key in watchOptions) {\r\n createWatcher(watchOptions[key], ctx, publicThis, key);\r\n }\r\n }\r\n if (provideOptions) {\r\n const provides = isFunction(provideOptions)\r\n ? provideOptions.call(publicThis)\r\n : provideOptions;\r\n Reflect.ownKeys(provides).forEach(key => {\r\n provide(key, provides[key]);\r\n });\r\n }\r\n if (created) {\r\n callHook(created, instance, \"c\" /* CREATED */);\r\n }\r\n function registerLifecycleHook(register, hook) {\r\n if (isArray(hook)) {\r\n hook.forEach(_hook => register(_hook.bind(publicThis)));\r\n }\r\n else if (hook) {\r\n register(hook.bind(publicThis));\r\n }\r\n }\r\n registerLifecycleHook(onBeforeMount, beforeMount);\r\n registerLifecycleHook(onMounted, mounted);\r\n registerLifecycleHook(onBeforeUpdate, beforeUpdate);\r\n registerLifecycleHook(onUpdated, updated);\r\n registerLifecycleHook(onActivated, activated);\r\n registerLifecycleHook(onDeactivated, deactivated);\r\n registerLifecycleHook(onErrorCaptured, errorCaptured);\r\n registerLifecycleHook(onRenderTracked, renderTracked);\r\n registerLifecycleHook(onRenderTriggered, renderTriggered);\r\n registerLifecycleHook(onBeforeUnmount, beforeUnmount);\r\n registerLifecycleHook(onUnmounted, unmounted);\r\n registerLifecycleHook(onServerPrefetch, serverPrefetch);\r\n if (isArray(expose)) {\r\n if (expose.length) {\r\n const exposed = instance.exposed || (instance.exposed = {});\r\n expose.forEach(key => {\r\n Object.defineProperty(exposed, key, {\r\n get: () => publicThis[key],\r\n set: val => (publicThis[key] = val)\r\n });\r\n });\r\n }\r\n else if (!instance.exposed) {\r\n instance.exposed = {};\r\n }\r\n }\r\n // options that are handled when creating the instance but also need to be\r\n // applied from mixins\r\n if (render && instance.render === NOOP) {\r\n instance.render = render;\r\n }\r\n if (inheritAttrs != null) {\r\n instance.inheritAttrs = inheritAttrs;\r\n }\r\n // asset options.\r\n if (components)\r\n instance.components = components;\r\n if (directives)\r\n instance.directives = directives;\r\n}\r\nfunction resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP, unwrapRef = false) {\r\n if (isArray(injectOptions)) {\r\n injectOptions = normalizeInject(injectOptions);\r\n }\r\n for (const key in injectOptions) {\r\n const opt = injectOptions[key];\r\n let injected;\r\n if (isObject(opt)) {\r\n if ('default' in opt) {\r\n injected = inject(opt.from || key, opt.default, true /* treat default function as factory */);\r\n }\r\n else {\r\n injected = inject(opt.from || key);\r\n }\r\n }\r\n else {\r\n injected = inject(opt);\r\n }\r\n if (isRef(injected)) {\r\n // TODO remove the check in 3.3\r\n if (unwrapRef) {\r\n Object.defineProperty(ctx, key, {\r\n enumerable: true,\r\n configurable: true,\r\n get: () => injected.value,\r\n set: v => (injected.value = v)\r\n });\r\n }\r\n else {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`injected property \"${key}\" is a ref and will be auto-unwrapped ` +\r\n `and no longer needs \\`.value\\` in the next minor release. ` +\r\n `To opt-in to the new behavior now, ` +\r\n `set \\`app.config.unwrapInjectedRef = true\\` (this config is ` +\r\n `temporary and will not be needed in the future.)`);\r\n }\r\n ctx[key] = injected;\r\n }\r\n }\r\n else {\r\n ctx[key] = injected;\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n checkDuplicateProperties(\"Inject\" /* INJECT */, key);\r\n }\r\n }\r\n}\r\nfunction callHook(hook, instance, type) {\r\n callWithAsyncErrorHandling(isArray(hook)\r\n ? hook.map(h => h.bind(instance.proxy))\r\n : hook.bind(instance.proxy), instance, type);\r\n}\r\nfunction createWatcher(raw, ctx, publicThis, key) {\r\n const getter = key.includes('.')\r\n ? createPathGetter(publicThis, key)\r\n : () => publicThis[key];\r\n if (isString(raw)) {\r\n const handler = ctx[raw];\r\n if (isFunction(handler)) {\r\n watch(getter, handler);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Invalid watch handler specified by key \"${raw}\"`, handler);\r\n }\r\n }\r\n else if (isFunction(raw)) {\r\n watch(getter, raw.bind(publicThis));\r\n }\r\n else if (isObject(raw)) {\r\n if (isArray(raw)) {\r\n raw.forEach(r => createWatcher(r, ctx, publicThis, key));\r\n }\r\n else {\r\n const handler = isFunction(raw.handler)\r\n ? raw.handler.bind(publicThis)\r\n : ctx[raw.handler];\r\n if (isFunction(handler)) {\r\n watch(getter, handler, raw);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Invalid watch handler specified by key \"${raw.handler}\"`, handler);\r\n }\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Invalid watch option: \"${key}\"`, raw);\r\n }\r\n}\r\n/**\r\n * Resolve merged options and cache it on the component.\r\n * This is done only once per-component since the merging does not involve\r\n * instances.\r\n */\r\nfunction resolveMergedOptions(instance) {\r\n const base = instance.type;\r\n const { mixins, extends: extendsOptions } = base;\r\n const { mixins: globalMixins, optionsCache: cache, config: { optionMergeStrategies } } = instance.appContext;\r\n const cached = cache.get(base);\r\n let resolved;\r\n if (cached) {\r\n resolved = cached;\r\n }\r\n else if (!globalMixins.length && !mixins && !extendsOptions) {\r\n {\r\n resolved = base;\r\n }\r\n }\r\n else {\r\n resolved = {};\r\n if (globalMixins.length) {\r\n globalMixins.forEach(m => mergeOptions(resolved, m, optionMergeStrategies, true));\r\n }\r\n mergeOptions(resolved, base, optionMergeStrategies);\r\n }\r\n cache.set(base, resolved);\r\n return resolved;\r\n}\r\nfunction mergeOptions(to, from, strats, asMixin = false) {\r\n const { mixins, extends: extendsOptions } = from;\r\n if (extendsOptions) {\r\n mergeOptions(to, extendsOptions, strats, true);\r\n }\r\n if (mixins) {\r\n mixins.forEach((m) => mergeOptions(to, m, strats, true));\r\n }\r\n for (const key in from) {\r\n if (asMixin && key === 'expose') {\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(`\"expose\" option is ignored when declared in mixins or extends. ` +\r\n `It should only be declared in the base component itself.`);\r\n }\r\n else {\r\n const strat = internalOptionMergeStrats[key] || (strats && strats[key]);\r\n to[key] = strat ? strat(to[key], from[key]) : from[key];\r\n }\r\n }\r\n return to;\r\n}\r\nconst internalOptionMergeStrats = {\r\n data: mergeDataFn,\r\n props: mergeObjectOptions,\r\n emits: mergeObjectOptions,\r\n // objects\r\n methods: mergeObjectOptions,\r\n computed: mergeObjectOptions,\r\n // lifecycle\r\n beforeCreate: mergeAsArray,\r\n created: mergeAsArray,\r\n beforeMount: mergeAsArray,\r\n mounted: mergeAsArray,\r\n beforeUpdate: mergeAsArray,\r\n updated: mergeAsArray,\r\n beforeDestroy: mergeAsArray,\r\n beforeUnmount: mergeAsArray,\r\n destroyed: mergeAsArray,\r\n unmounted: mergeAsArray,\r\n activated: mergeAsArray,\r\n deactivated: mergeAsArray,\r\n errorCaptured: mergeAsArray,\r\n serverPrefetch: mergeAsArray,\r\n // assets\r\n components: mergeObjectOptions,\r\n directives: mergeObjectOptions,\r\n // watch\r\n watch: mergeWatchOptions,\r\n // provide / inject\r\n provide: mergeDataFn,\r\n inject: mergeInject\r\n};\r\nfunction mergeDataFn(to, from) {\r\n if (!from) {\r\n return to;\r\n }\r\n if (!to) {\r\n return from;\r\n }\r\n return function mergedDataFn() {\r\n return (extend)(isFunction(to) ? to.call(this, this) : to, isFunction(from) ? from.call(this, this) : from);\r\n };\r\n}\r\nfunction mergeInject(to, from) {\r\n return mergeObjectOptions(normalizeInject(to), normalizeInject(from));\r\n}\r\nfunction normalizeInject(raw) {\r\n if (isArray(raw)) {\r\n const res = {};\r\n for (let i = 0; i < raw.length; i++) {\r\n res[raw[i]] = raw[i];\r\n }\r\n return res;\r\n }\r\n return raw;\r\n}\r\nfunction mergeAsArray(to, from) {\r\n return to ? [...new Set([].concat(to, from))] : from;\r\n}\r\nfunction mergeObjectOptions(to, from) {\r\n return to ? extend(extend(Object.create(null), to), from) : from;\r\n}\r\nfunction mergeWatchOptions(to, from) {\r\n if (!to)\r\n return from;\r\n if (!from)\r\n return to;\r\n const merged = extend(Object.create(null), to);\r\n for (const key in from) {\r\n merged[key] = mergeAsArray(to[key], from[key]);\r\n }\r\n return merged;\r\n}\n\nfunction initProps(instance, rawProps, isStateful, // result of bitwise flag comparison\r\nisSSR = false) {\r\n const props = {};\r\n const attrs = {};\r\n def(attrs, InternalObjectKey, 1);\r\n instance.propsDefaults = Object.create(null);\r\n setFullProps(instance, rawProps, props, attrs);\r\n // ensure all declared prop keys are present\r\n for (const key in instance.propsOptions[0]) {\r\n if (!(key in props)) {\r\n props[key] = undefined;\r\n }\r\n }\r\n // validation\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n validateProps(rawProps || {}, props, instance);\r\n }\r\n if (isStateful) {\r\n // stateful\r\n instance.props = isSSR ? props : shallowReactive(props);\r\n }\r\n else {\r\n if (!instance.type.props) {\r\n // functional w/ optional props, props === attrs\r\n instance.props = attrs;\r\n }\r\n else {\r\n // functional w/ declared props\r\n instance.props = props;\r\n }\r\n }\r\n instance.attrs = attrs;\r\n}\r\nfunction updateProps(instance, rawProps, rawPrevProps, optimized) {\r\n const { props, attrs, vnode: { patchFlag } } = instance;\r\n const rawCurrentProps = toRaw(props);\r\n const [options] = instance.propsOptions;\r\n let hasAttrsChanged = false;\r\n if (\r\n // always force full diff in dev\r\n // - #1942 if hmr is enabled with sfc component\r\n // - vite#872 non-sfc component used by sfc component\r\n !((process.env.NODE_ENV !== 'production') &&\r\n (instance.type.__hmrId ||\r\n (instance.parent && instance.parent.type.__hmrId))) &&\r\n (optimized || patchFlag > 0) &&\r\n !(patchFlag & 16 /* FULL_PROPS */)) {\r\n if (patchFlag & 8 /* PROPS */) {\r\n // Compiler-generated props & no keys change, just set the updated\r\n // the props.\r\n const propsToUpdate = instance.vnode.dynamicProps;\r\n for (let i = 0; i < propsToUpdate.length; i++) {\r\n let key = propsToUpdate[i];\r\n // PROPS flag guarantees rawProps to be non-null\r\n const value = rawProps[key];\r\n if (options) {\r\n // attr / props separation was done on init and will be consistent\r\n // in this code path, so just check if attrs have it.\r\n if (hasOwn(attrs, key)) {\r\n if (value !== attrs[key]) {\r\n attrs[key] = value;\r\n hasAttrsChanged = true;\r\n }\r\n }\r\n else {\r\n const camelizedKey = camelize(key);\r\n props[camelizedKey] = resolvePropValue(options, rawCurrentProps, camelizedKey, value, instance, false /* isAbsent */);\r\n }\r\n }\r\n else {\r\n if (value !== attrs[key]) {\r\n attrs[key] = value;\r\n hasAttrsChanged = true;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n // full props update.\r\n if (setFullProps(instance, rawProps, props, attrs)) {\r\n hasAttrsChanged = true;\r\n }\r\n // in case of dynamic props, check if we need to delete keys from\r\n // the props object\r\n let kebabKey;\r\n for (const key in rawCurrentProps) {\r\n if (!rawProps ||\r\n // for camelCase\r\n (!hasOwn(rawProps, key) &&\r\n // it's possible the original props was passed in as kebab-case\r\n // and converted to camelCase (#955)\r\n ((kebabKey = hyphenate(key)) === key || !hasOwn(rawProps, kebabKey)))) {\r\n if (options) {\r\n if (rawPrevProps &&\r\n // for camelCase\r\n (rawPrevProps[key] !== undefined ||\r\n // for kebab-case\r\n rawPrevProps[kebabKey] !== undefined)) {\r\n props[key] = resolvePropValue(options, rawCurrentProps, key, undefined, instance, true /* isAbsent */);\r\n }\r\n }\r\n else {\r\n delete props[key];\r\n }\r\n }\r\n }\r\n // in the case of functional component w/o props declaration, props and\r\n // attrs point to the same object so it should already have been updated.\r\n if (attrs !== rawCurrentProps) {\r\n for (const key in attrs) {\r\n if (!rawProps || !hasOwn(rawProps, key)) {\r\n delete attrs[key];\r\n hasAttrsChanged = true;\r\n }\r\n }\r\n }\r\n }\r\n // trigger updates for $attrs in case it's used in component slots\r\n if (hasAttrsChanged) {\r\n trigger(instance, \"set\" /* SET */, '$attrs');\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n validateProps(rawProps || {}, props, instance);\r\n }\r\n}\r\nfunction setFullProps(instance, rawProps, props, attrs) {\r\n const [options, needCastKeys] = instance.propsOptions;\r\n let hasAttrsChanged = false;\r\n let rawCastValues;\r\n if (rawProps) {\r\n for (let key in rawProps) {\r\n // key, ref are reserved and never passed down\r\n if (isReservedProp(key)) {\r\n continue;\r\n }\r\n const value = rawProps[key];\r\n // prop option names are camelized during normalization, so to support\r\n // kebab -> camel conversion here we need to camelize the key.\r\n let camelKey;\r\n if (options && hasOwn(options, (camelKey = camelize(key)))) {\r\n if (!needCastKeys || !needCastKeys.includes(camelKey)) {\r\n props[camelKey] = value;\r\n }\r\n else {\r\n (rawCastValues || (rawCastValues = {}))[camelKey] = value;\r\n }\r\n }\r\n else if (!isEmitListener(instance.emitsOptions, key)) {\r\n if (!(key in attrs) || value !== attrs[key]) {\r\n attrs[key] = value;\r\n hasAttrsChanged = true;\r\n }\r\n }\r\n }\r\n }\r\n if (needCastKeys) {\r\n const rawCurrentProps = toRaw(props);\r\n const castValues = rawCastValues || EMPTY_OBJ;\r\n for (let i = 0; i < needCastKeys.length; i++) {\r\n const key = needCastKeys[i];\r\n props[key] = resolvePropValue(options, rawCurrentProps, key, castValues[key], instance, !hasOwn(castValues, key));\r\n }\r\n }\r\n return hasAttrsChanged;\r\n}\r\nfunction resolvePropValue(options, props, key, value, instance, isAbsent) {\r\n const opt = options[key];\r\n if (opt != null) {\r\n const hasDefault = hasOwn(opt, 'default');\r\n // default values\r\n if (hasDefault && value === undefined) {\r\n const defaultValue = opt.default;\r\n if (opt.type !== Function && isFunction(defaultValue)) {\r\n const { propsDefaults } = instance;\r\n if (key in propsDefaults) {\r\n value = propsDefaults[key];\r\n }\r\n else {\r\n setCurrentInstance(instance);\r\n value = propsDefaults[key] = defaultValue.call(null, props);\r\n unsetCurrentInstance();\r\n }\r\n }\r\n else {\r\n value = defaultValue;\r\n }\r\n }\r\n // boolean casting\r\n if (opt[0 /* shouldCast */]) {\r\n if (isAbsent && !hasDefault) {\r\n value = false;\r\n }\r\n else if (opt[1 /* shouldCastTrue */] &&\r\n (value === '' || value === hyphenate(key))) {\r\n value = true;\r\n }\r\n }\r\n }\r\n return value;\r\n}\r\nfunction normalizePropsOptions(comp, appContext, asMixin = false) {\r\n const cache = appContext.propsCache;\r\n const cached = cache.get(comp);\r\n if (cached) {\r\n return cached;\r\n }\r\n const raw = comp.props;\r\n const normalized = {};\r\n const needCastKeys = [];\r\n // apply mixin/extends props\r\n let hasExtends = false;\r\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\r\n const extendProps = (raw) => {\r\n hasExtends = true;\r\n const [props, keys] = normalizePropsOptions(raw, appContext, true);\r\n extend(normalized, props);\r\n if (keys)\r\n needCastKeys.push(...keys);\r\n };\r\n if (!asMixin && appContext.mixins.length) {\r\n appContext.mixins.forEach(extendProps);\r\n }\r\n if (comp.extends) {\r\n extendProps(comp.extends);\r\n }\r\n if (comp.mixins) {\r\n comp.mixins.forEach(extendProps);\r\n }\r\n }\r\n if (!raw && !hasExtends) {\r\n cache.set(comp, EMPTY_ARR);\r\n return EMPTY_ARR;\r\n }\r\n if (isArray(raw)) {\r\n for (let i = 0; i < raw.length; i++) {\r\n if ((process.env.NODE_ENV !== 'production') && !isString(raw[i])) {\r\n warn(`props must be strings when using array syntax.`, raw[i]);\r\n }\r\n const normalizedKey = camelize(raw[i]);\r\n if (validatePropName(normalizedKey)) {\r\n normalized[normalizedKey] = EMPTY_OBJ;\r\n }\r\n }\r\n }\r\n else if (raw) {\r\n if ((process.env.NODE_ENV !== 'production') && !isObject(raw)) {\r\n warn(`invalid props options`, raw);\r\n }\r\n for (const key in raw) {\r\n const normalizedKey = camelize(key);\r\n if (validatePropName(normalizedKey)) {\r\n const opt = raw[key];\r\n const prop = (normalized[normalizedKey] =\r\n isArray(opt) || isFunction(opt) ? { type: opt } : opt);\r\n if (prop) {\r\n const booleanIndex = getTypeIndex(Boolean, prop.type);\r\n const stringIndex = getTypeIndex(String, prop.type);\r\n prop[0 /* shouldCast */] = booleanIndex > -1;\r\n prop[1 /* shouldCastTrue */] =\r\n stringIndex < 0 || booleanIndex < stringIndex;\r\n // if the prop needs boolean casting or default value\r\n if (booleanIndex > -1 || hasOwn(prop, 'default')) {\r\n needCastKeys.push(normalizedKey);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n const res = [normalized, needCastKeys];\r\n cache.set(comp, res);\r\n return res;\r\n}\r\nfunction validatePropName(key) {\r\n if (key[0] !== '$') {\r\n return true;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Invalid prop name: \"${key}\" is a reserved property.`);\r\n }\r\n return false;\r\n}\r\n// use function string name to check type constructors\r\n// so that it works across vms / iframes.\r\nfunction getType(ctor) {\r\n const match = ctor && ctor.toString().match(/^\\s*function (\\w+)/);\r\n return match ? match[1] : ctor === null ? 'null' : '';\r\n}\r\nfunction isSameType(a, b) {\r\n return getType(a) === getType(b);\r\n}\r\nfunction getTypeIndex(type, expectedTypes) {\r\n if (isArray(expectedTypes)) {\r\n return expectedTypes.findIndex(t => isSameType(t, type));\r\n }\r\n else if (isFunction(expectedTypes)) {\r\n return isSameType(expectedTypes, type) ? 0 : -1;\r\n }\r\n return -1;\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction validateProps(rawProps, props, instance) {\r\n const resolvedValues = toRaw(props);\r\n const options = instance.propsOptions[0];\r\n for (const key in options) {\r\n let opt = options[key];\r\n if (opt == null)\r\n continue;\r\n validateProp(key, resolvedValues[key], opt, !hasOwn(rawProps, key) && !hasOwn(rawProps, hyphenate(key)));\r\n }\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction validateProp(name, value, prop, isAbsent) {\r\n const { type, required, validator } = prop;\r\n // required!\r\n if (required && isAbsent) {\r\n warn('Missing required prop: \"' + name + '\"');\r\n return;\r\n }\r\n // missing but optional\r\n if (value == null && !prop.required) {\r\n return;\r\n }\r\n // type check\r\n if (type != null && type !== true) {\r\n let isValid = false;\r\n const types = isArray(type) ? type : [type];\r\n const expectedTypes = [];\r\n // value is valid as long as one of the specified types match\r\n for (let i = 0; i < types.length && !isValid; i++) {\r\n const { valid, expectedType } = assertType(value, types[i]);\r\n expectedTypes.push(expectedType || '');\r\n isValid = valid;\r\n }\r\n if (!isValid) {\r\n warn(getInvalidTypeMessage(name, value, expectedTypes));\r\n return;\r\n }\r\n }\r\n // custom validator\r\n if (validator && !validator(value)) {\r\n warn('Invalid prop: custom validator check failed for prop \"' + name + '\".');\r\n }\r\n}\r\nconst isSimpleType = /*#__PURE__*/ makeMap('String,Number,Boolean,Function,Symbol,BigInt');\r\n/**\r\n * dev only\r\n */\r\nfunction assertType(value, type) {\r\n let valid;\r\n const expectedType = getType(type);\r\n if (isSimpleType(expectedType)) {\r\n const t = typeof value;\r\n valid = t === expectedType.toLowerCase();\r\n // for primitive wrapper objects\r\n if (!valid && t === 'object') {\r\n valid = value instanceof type;\r\n }\r\n }\r\n else if (expectedType === 'Object') {\r\n valid = isObject(value);\r\n }\r\n else if (expectedType === 'Array') {\r\n valid = isArray(value);\r\n }\r\n else if (expectedType === 'null') {\r\n valid = value === null;\r\n }\r\n else {\r\n valid = value instanceof type;\r\n }\r\n return {\r\n valid,\r\n expectedType\r\n };\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction getInvalidTypeMessage(name, value, expectedTypes) {\r\n let message = `Invalid prop: type check failed for prop \"${name}\".` +\r\n ` Expected ${expectedTypes.map(capitalize).join(' | ')}`;\r\n const expectedType = expectedTypes[0];\r\n const receivedType = toRawType(value);\r\n const expectedValue = styleValue(value, expectedType);\r\n const receivedValue = styleValue(value, receivedType);\r\n // check if we need to specify expected value\r\n if (expectedTypes.length === 1 &&\r\n isExplicable(expectedType) &&\r\n !isBoolean(expectedType, receivedType)) {\r\n message += ` with value ${expectedValue}`;\r\n }\r\n message += `, got ${receivedType} `;\r\n // check if we need to specify received value\r\n if (isExplicable(receivedType)) {\r\n message += `with value ${receivedValue}.`;\r\n }\r\n return message;\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction styleValue(value, type) {\r\n if (type === 'String') {\r\n return `\"${value}\"`;\r\n }\r\n else if (type === 'Number') {\r\n return `${Number(value)}`;\r\n }\r\n else {\r\n return `${value}`;\r\n }\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction isExplicable(type) {\r\n const explicitTypes = ['string', 'number', 'boolean'];\r\n return explicitTypes.some(elem => type.toLowerCase() === elem);\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction isBoolean(...args) {\r\n return args.some(elem => elem.toLowerCase() === 'boolean');\r\n}\n\nconst isInternalKey = (key) => key[0] === '_' || key === '$stable';\r\nconst normalizeSlotValue = (value) => isArray(value)\r\n ? value.map(normalizeVNode)\r\n : [normalizeVNode(value)];\r\nconst normalizeSlot = (key, rawSlot, ctx) => {\r\n const normalized = withCtx((...args) => {\r\n if ((process.env.NODE_ENV !== 'production') && currentInstance) {\r\n warn(`Slot \"${key}\" invoked outside of the render function: ` +\r\n `this will not track dependencies used in the slot. ` +\r\n `Invoke the slot function inside the render function instead.`);\r\n }\r\n return normalizeSlotValue(rawSlot(...args));\r\n }, ctx);\r\n normalized._c = false;\r\n return normalized;\r\n};\r\nconst normalizeObjectSlots = (rawSlots, slots, instance) => {\r\n const ctx = rawSlots._ctx;\r\n for (const key in rawSlots) {\r\n if (isInternalKey(key))\r\n continue;\r\n const value = rawSlots[key];\r\n if (isFunction(value)) {\r\n slots[key] = normalizeSlot(key, value, ctx);\r\n }\r\n else if (value != null) {\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n !(false )) {\r\n warn(`Non-function value encountered for slot \"${key}\". ` +\r\n `Prefer function slots for better performance.`);\r\n }\r\n const normalized = normalizeSlotValue(value);\r\n slots[key] = () => normalized;\r\n }\r\n }\r\n};\r\nconst normalizeVNodeSlots = (instance, children) => {\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n !isKeepAlive(instance.vnode) &&\r\n !(false )) {\r\n warn(`Non-function value encountered for default slot. ` +\r\n `Prefer function slots for better performance.`);\r\n }\r\n const normalized = normalizeSlotValue(children);\r\n instance.slots.default = () => normalized;\r\n};\r\nconst initSlots = (instance, children) => {\r\n if (instance.vnode.shapeFlag & 32 /* SLOTS_CHILDREN */) {\r\n const type = children._;\r\n if (type) {\r\n // users can get the shallow readonly version of the slots object through `this.$slots`,\r\n // we should avoid the proxy object polluting the slots of the internal instance\r\n instance.slots = toRaw(children);\r\n // make compiler marker non-enumerable\r\n def(children, '_', type);\r\n }\r\n else {\r\n normalizeObjectSlots(children, (instance.slots = {}));\r\n }\r\n }\r\n else {\r\n instance.slots = {};\r\n if (children) {\r\n normalizeVNodeSlots(instance, children);\r\n }\r\n }\r\n def(instance.slots, InternalObjectKey, 1);\r\n};\r\nconst updateSlots = (instance, children, optimized) => {\r\n const { vnode, slots } = instance;\r\n let needDeletionCheck = true;\r\n let deletionComparisonTarget = EMPTY_OBJ;\r\n if (vnode.shapeFlag & 32 /* SLOTS_CHILDREN */) {\r\n const type = children._;\r\n if (type) {\r\n // compiled slots.\r\n if ((process.env.NODE_ENV !== 'production') && isHmrUpdating) {\r\n // Parent was HMR updated so slot content may have changed.\r\n // force update slots and mark instance for hmr as well\r\n extend(slots, children);\r\n }\r\n else if (optimized && type === 1 /* STABLE */) {\r\n // compiled AND stable.\r\n // no need to update, and skip stale slots removal.\r\n needDeletionCheck = false;\r\n }\r\n else {\r\n // compiled but dynamic (v-if/v-for on slots) - update slots, but skip\r\n // normalization.\r\n extend(slots, children);\r\n // #2893\r\n // when rendering the optimized slots by manually written render function,\r\n // we need to delete the `slots._` flag if necessary to make subsequent updates reliable,\r\n // i.e. let the `renderSlot` create the bailed Fragment\r\n if (!optimized && type === 1 /* STABLE */) {\r\n delete slots._;\r\n }\r\n }\r\n }\r\n else {\r\n needDeletionCheck = !children.$stable;\r\n normalizeObjectSlots(children, slots);\r\n }\r\n deletionComparisonTarget = children;\r\n }\r\n else if (children) {\r\n // non slot object children (direct value) passed to a component\r\n normalizeVNodeSlots(instance, children);\r\n deletionComparisonTarget = { default: 1 };\r\n }\r\n // delete stale slots\r\n if (needDeletionCheck) {\r\n for (const key in slots) {\r\n if (!isInternalKey(key) && !(key in deletionComparisonTarget)) {\r\n delete slots[key];\r\n }\r\n }\r\n }\r\n};\n\n/**\r\nRuntime helper for applying directives to a vnode. Example usage:\r\n\nconst comp = resolveComponent('comp')\r\nconst foo = resolveDirective('foo')\r\nconst bar = resolveDirective('bar')\r\n\nreturn withDirectives(h(comp), [\r\n [foo, this.x],\r\n [bar, this.y]\r\n])\r\n*/\r\nconst isBuiltInDirective = /*#__PURE__*/ makeMap('bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo');\r\nfunction validateDirectiveName(name) {\r\n if (isBuiltInDirective(name)) {\r\n warn('Do not use built-in directive ids as custom directive id: ' + name);\r\n }\r\n}\r\n/**\r\n * Adds directives to a VNode.\r\n */\r\nfunction withDirectives(vnode, directives) {\r\n const internalInstance = currentRenderingInstance;\r\n if (internalInstance === null) {\r\n (process.env.NODE_ENV !== 'production') && warn(`withDirectives can only be used inside render functions.`);\r\n return vnode;\r\n }\r\n const instance = internalInstance.proxy;\r\n const bindings = vnode.dirs || (vnode.dirs = []);\r\n for (let i = 0; i < directives.length; i++) {\r\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\r\n if (isFunction(dir)) {\r\n dir = {\r\n mounted: dir,\r\n updated: dir\r\n };\r\n }\r\n if (dir.deep) {\r\n traverse(value);\r\n }\r\n bindings.push({\r\n dir,\r\n instance,\r\n value,\r\n oldValue: void 0,\r\n arg,\r\n modifiers\r\n });\r\n }\r\n return vnode;\r\n}\r\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\r\n const bindings = vnode.dirs;\r\n const oldBindings = prevVNode && prevVNode.dirs;\r\n for (let i = 0; i < bindings.length; i++) {\r\n const binding = bindings[i];\r\n if (oldBindings) {\r\n binding.oldValue = oldBindings[i].value;\r\n }\r\n let hook = binding.dir[name];\r\n if (hook) {\r\n // disable tracking inside all lifecycle hooks\r\n // since they can potentially be called inside effects.\r\n pauseTracking();\r\n callWithAsyncErrorHandling(hook, instance, 8 /* DIRECTIVE_HOOK */, [\r\n vnode.el,\r\n binding,\r\n vnode,\r\n prevVNode\r\n ]);\r\n resetTracking();\r\n }\r\n }\r\n}\n\nfunction createAppContext() {\r\n return {\r\n app: null,\r\n config: {\r\n isNativeTag: NO,\r\n performance: false,\r\n globalProperties: {},\r\n optionMergeStrategies: {},\r\n errorHandler: undefined,\r\n warnHandler: undefined,\r\n compilerOptions: {}\r\n },\r\n mixins: [],\r\n components: {},\r\n directives: {},\r\n provides: Object.create(null),\r\n optionsCache: new WeakMap(),\r\n propsCache: new WeakMap(),\r\n emitsCache: new WeakMap()\r\n };\r\n}\r\nlet uid = 0;\r\nfunction createAppAPI(render, hydrate) {\r\n return function createApp(rootComponent, rootProps = null) {\r\n if (rootProps != null && !isObject(rootProps)) {\r\n (process.env.NODE_ENV !== 'production') && warn(`root props passed to app.mount() must be an object.`);\r\n rootProps = null;\r\n }\r\n const context = createAppContext();\r\n const installedPlugins = new Set();\r\n let isMounted = false;\r\n const app = (context.app = {\r\n _uid: uid++,\r\n _component: rootComponent,\r\n _props: rootProps,\r\n _container: null,\r\n _context: context,\r\n _instance: null,\r\n version,\r\n get config() {\r\n return context.config;\r\n },\r\n set config(v) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`app.config cannot be replaced. Modify individual options instead.`);\r\n }\r\n },\r\n use(plugin, ...options) {\r\n if (installedPlugins.has(plugin)) {\r\n (process.env.NODE_ENV !== 'production') && warn(`Plugin has already been applied to target app.`);\r\n }\r\n else if (plugin && isFunction(plugin.install)) {\r\n installedPlugins.add(plugin);\r\n plugin.install(app, ...options);\r\n }\r\n else if (isFunction(plugin)) {\r\n installedPlugins.add(plugin);\r\n plugin(app, ...options);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`A plugin must either be a function or an object with an \"install\" ` +\r\n `function.`);\r\n }\r\n return app;\r\n },\r\n mixin(mixin) {\r\n if (__VUE_OPTIONS_API__) {\r\n if (!context.mixins.includes(mixin)) {\r\n context.mixins.push(mixin);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn('Mixin has already been applied to target app' +\r\n (mixin.name ? `: ${mixin.name}` : ''));\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn('Mixins are only available in builds supporting Options API');\r\n }\r\n return app;\r\n },\r\n component(name, component) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n validateComponentName(name, context.config);\r\n }\r\n if (!component) {\r\n return context.components[name];\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && context.components[name]) {\r\n warn(`Component \"${name}\" has already been registered in target app.`);\r\n }\r\n context.components[name] = component;\r\n return app;\r\n },\r\n directive(name, directive) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n validateDirectiveName(name);\r\n }\r\n if (!directive) {\r\n return context.directives[name];\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && context.directives[name]) {\r\n warn(`Directive \"${name}\" has already been registered in target app.`);\r\n }\r\n context.directives[name] = directive;\r\n return app;\r\n },\r\n mount(rootContainer, isHydrate, isSVG) {\r\n if (!isMounted) {\r\n const vnode = createVNode(rootComponent, rootProps);\r\n // store app context on the root VNode.\r\n // this will be set on the root instance on initial mount.\r\n vnode.appContext = context;\r\n // HMR root reload\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n context.reload = () => {\r\n render(cloneVNode(vnode), rootContainer, isSVG);\r\n };\r\n }\r\n if (isHydrate && hydrate) {\r\n hydrate(vnode, rootContainer);\r\n }\r\n else {\r\n render(vnode, rootContainer, isSVG);\r\n }\r\n isMounted = true;\r\n app._container = rootContainer;\r\n rootContainer.__vue_app__ = app;\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n app._instance = vnode.component;\r\n devtoolsInitApp(app, version);\r\n }\r\n return getExposeProxy(vnode.component) || vnode.component.proxy;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`App has already been mounted.\\n` +\r\n `If you want to remount the same app, move your app creation logic ` +\r\n `into a factory function and create fresh app instances for each ` +\r\n `mount - e.g. \\`const createMyApp = () => createApp(App)\\``);\r\n }\r\n },\r\n unmount() {\r\n if (isMounted) {\r\n render(null, app._container);\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n app._instance = null;\r\n devtoolsUnmountApp(app);\r\n }\r\n delete app._container.__vue_app__;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Cannot unmount an app that is not mounted.`);\r\n }\r\n },\r\n provide(key, value) {\r\n if ((process.env.NODE_ENV !== 'production') && key in context.provides) {\r\n warn(`App already provides property with key \"${String(key)}\". ` +\r\n `It will be overwritten with the new value.`);\r\n }\r\n // TypeScript doesn't allow symbols as index type\r\n // https://github.com/Microsoft/TypeScript/issues/24587\r\n context.provides[key] = value;\r\n return app;\r\n }\r\n });\r\n return app;\r\n };\r\n}\n\n/**\r\n * Function for handling a template ref\r\n */\r\nfunction setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {\r\n if (isArray(rawRef)) {\r\n rawRef.forEach((r, i) => setRef(r, oldRawRef && (isArray(oldRawRef) ? oldRawRef[i] : oldRawRef), parentSuspense, vnode, isUnmount));\r\n return;\r\n }\r\n if (isAsyncWrapper(vnode) && !isUnmount) {\r\n // when mounting async components, nothing needs to be done,\r\n // because the template ref is forwarded to inner component\r\n return;\r\n }\r\n const refValue = vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */\r\n ? getExposeProxy(vnode.component) || vnode.component.proxy\r\n : vnode.el;\r\n const value = isUnmount ? null : refValue;\r\n const { i: owner, r: ref } = rawRef;\r\n if ((process.env.NODE_ENV !== 'production') && !owner) {\r\n warn(`Missing ref owner context. ref cannot be used on hoisted vnodes. ` +\r\n `A vnode with ref must be created inside the render function.`);\r\n return;\r\n }\r\n const oldRef = oldRawRef && oldRawRef.r;\r\n const refs = owner.refs === EMPTY_OBJ ? (owner.refs = {}) : owner.refs;\r\n const setupState = owner.setupState;\r\n // dynamic ref changed. unset old ref\r\n if (oldRef != null && oldRef !== ref) {\r\n if (isString(oldRef)) {\r\n refs[oldRef] = null;\r\n if (hasOwn(setupState, oldRef)) {\r\n setupState[oldRef] = null;\r\n }\r\n }\r\n else if (isRef(oldRef)) {\r\n oldRef.value = null;\r\n }\r\n }\r\n if (isFunction(ref)) {\r\n callWithErrorHandling(ref, owner, 12 /* FUNCTION_REF */, [value, refs]);\r\n }\r\n else {\r\n const _isString = isString(ref);\r\n const _isRef = isRef(ref);\r\n if (_isString || _isRef) {\r\n const doSet = () => {\r\n if (rawRef.f) {\r\n const existing = _isString ? refs[ref] : ref.value;\r\n if (isUnmount) {\r\n isArray(existing) && remove(existing, refValue);\r\n }\r\n else {\r\n if (!isArray(existing)) {\r\n if (_isString) {\r\n refs[ref] = [refValue];\r\n }\r\n else {\r\n ref.value = [refValue];\r\n if (rawRef.k)\r\n refs[rawRef.k] = ref.value;\r\n }\r\n }\r\n else if (!existing.includes(refValue)) {\r\n existing.push(refValue);\r\n }\r\n }\r\n }\r\n else if (_isString) {\r\n refs[ref] = value;\r\n if (hasOwn(setupState, ref)) {\r\n setupState[ref] = value;\r\n }\r\n }\r\n else if (isRef(ref)) {\r\n ref.value = value;\r\n if (rawRef.k)\r\n refs[rawRef.k] = value;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn('Invalid template ref type:', ref, `(${typeof ref})`);\r\n }\r\n };\r\n if (value) {\r\n doSet.id = -1;\r\n queuePostRenderEffect(doSet, parentSuspense);\r\n }\r\n else {\r\n doSet();\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn('Invalid template ref type:', ref, `(${typeof ref})`);\r\n }\r\n }\r\n}\n\nlet hasMismatch = false;\r\nconst isSVGContainer = (container) => /svg/.test(container.namespaceURI) && container.tagName !== 'foreignObject';\r\nconst isComment = (node) => node.nodeType === 8 /* COMMENT */;\r\n// Note: hydration is DOM-specific\r\n// But we have to place it in core due to tight coupling with core - splitting\r\n// it out creates a ton of unnecessary complexity.\r\n// Hydration also depends on some renderer internal logic which needs to be\r\n// passed in via arguments.\r\nfunction createHydrationFunctions(rendererInternals) {\r\n const { mt: mountComponent, p: patch, o: { patchProp, nextSibling, parentNode, remove, insert, createComment } } = rendererInternals;\r\n const hydrate = (vnode, container) => {\r\n if (!container.hasChildNodes()) {\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(`Attempting to hydrate existing markup but container is empty. ` +\r\n `Performing full mount instead.`);\r\n patch(null, vnode, container);\r\n flushPostFlushCbs();\r\n return;\r\n }\r\n hasMismatch = false;\r\n hydrateNode(container.firstChild, vnode, null, null, null);\r\n flushPostFlushCbs();\r\n if (hasMismatch && !false) {\r\n // this error should show up in production\r\n console.error(`Hydration completed but contains mismatches.`);\r\n }\r\n };\r\n const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {\r\n const isFragmentStart = isComment(node) && node.data === '[';\r\n const onMismatch = () => handleMismatch(node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragmentStart);\r\n const { type, ref, shapeFlag } = vnode;\r\n const domType = node.nodeType;\r\n vnode.el = node;\r\n let nextNode = null;\r\n switch (type) {\r\n case Text:\r\n if (domType !== 3 /* TEXT */) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n if (node.data !== vnode.children) {\r\n hasMismatch = true;\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(`Hydration text mismatch:` +\r\n `\\n- Client: ${JSON.stringify(node.data)}` +\r\n `\\n- Server: ${JSON.stringify(vnode.children)}`);\r\n node.data = vnode.children;\r\n }\r\n nextNode = nextSibling(node);\r\n }\r\n break;\r\n case Comment:\r\n if (domType !== 8 /* COMMENT */ || isFragmentStart) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n nextNode = nextSibling(node);\r\n }\r\n break;\r\n case Static:\r\n if (domType !== 1 /* ELEMENT */) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n // determine anchor, adopt content\r\n nextNode = node;\r\n // if the static vnode has its content stripped during build,\r\n // adopt it from the server-rendered HTML.\r\n const needToAdoptContent = !vnode.children.length;\r\n for (let i = 0; i < vnode.staticCount; i++) {\r\n if (needToAdoptContent)\r\n vnode.children += nextNode.outerHTML;\r\n if (i === vnode.staticCount - 1) {\r\n vnode.anchor = nextNode;\r\n }\r\n nextNode = nextSibling(nextNode);\r\n }\r\n return nextNode;\r\n }\r\n break;\r\n case Fragment:\r\n if (!isFragmentStart) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n nextNode = hydrateFragment(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n }\r\n break;\r\n default:\r\n if (shapeFlag & 1 /* ELEMENT */) {\r\n if (domType !== 1 /* ELEMENT */ ||\r\n vnode.type.toLowerCase() !==\r\n node.tagName.toLowerCase()) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n nextNode = hydrateElement(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n }\r\n }\r\n else if (shapeFlag & 6 /* COMPONENT */) {\r\n // when setting up the render effect, if the initial vnode already\r\n // has .el set, the component will perform hydration instead of mount\r\n // on its sub-tree.\r\n vnode.slotScopeIds = slotScopeIds;\r\n const container = parentNode(node);\r\n mountComponent(vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), optimized);\r\n // component may be async, so in the case of fragments we cannot rely\r\n // on component's rendered output to determine the end of the fragment\r\n // instead, we do a lookahead to find the end anchor node.\r\n nextNode = isFragmentStart\r\n ? locateClosingAsyncAnchor(node)\r\n : nextSibling(node);\r\n // #3787\r\n // if component is async, it may get moved / unmounted before its\r\n // inner component is loaded, so we need to give it a placeholder\r\n // vnode that matches its adopted DOM.\r\n if (isAsyncWrapper(vnode)) {\r\n let subTree;\r\n if (isFragmentStart) {\r\n subTree = createVNode(Fragment);\r\n subTree.anchor = nextNode\r\n ? nextNode.previousSibling\r\n : container.lastChild;\r\n }\r\n else {\r\n subTree =\r\n node.nodeType === 3 ? createTextVNode('') : createVNode('div');\r\n }\r\n subTree.el = node;\r\n vnode.component.subTree = subTree;\r\n }\r\n }\r\n else if (shapeFlag & 64 /* TELEPORT */) {\r\n if (domType !== 8 /* COMMENT */) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, rendererInternals, hydrateChildren);\r\n }\r\n }\r\n else if (shapeFlag & 128 /* SUSPENSE */) {\r\n nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, isSVGContainer(parentNode(node)), slotScopeIds, optimized, rendererInternals, hydrateNode);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn('Invalid HostVNode type:', type, `(${typeof type})`);\r\n }\r\n }\r\n if (ref != null) {\r\n setRef(ref, null, parentSuspense, vnode);\r\n }\r\n return nextNode;\r\n };\r\n const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\r\n optimized = optimized || !!vnode.dynamicChildren;\r\n const { type, props, patchFlag, shapeFlag, dirs } = vnode;\r\n // #4006 for form elements with non-string v-model value bindings\r\n // e.g.